// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';function B(){return function(){}}function G(h){return function(){return this[h]}}function L(h){return function(){return h}}var aa,ba,N,ca,da,P,ea,fa,ia,ja,ka,la,ma,na,oa,pa,ta,ua,va,wa,Aa,T,Ca,Da,Ea,Fa,Ha,Ia,Ja,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Ya,Za,$a,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,ob,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb={};
"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(h){return h.__proto__}:function(h){return h.constructor.prototype});
(function(){function h(g,a,b,c){this.set(g,a,b,c)}function m(){this.mb=this.lb=this.ob=this.nb=this.Eb=this.Db=this.Sa=this.Ra=0}function d(g,a,b,c){g<a?b<c?(t=g<b?g:b,l=a>c?a:c):(t=g<c?g:c,l=a>b?a:b):b<c?(t=a<b?a:b,l=g>c?g:c):(t=a<c?a:c,l=g>b?g:b)}function f(){this.Dc=this.Lc=null;this.Kf=0;q?this.Lc=new Set:this.Dc={};this.ue=[];this.Yd=!0}function e(g){u[s++]=g}function a(){this.Ga=this.Jh=this.y=this.di=0}function b(g){this.Te=[];this.vk=this.xk=this.yk=this.wk=0;this.ig(g)}function c(g,a){this.Hn=
g;this.Gn=a;this.cells={}}function k(g,a,b){var c;return p.length?(c=p.pop(),c.gp=g,c.x=a,c.y=b,c):new aa(g,a,b)}function n(g,a,b){this.gp=g;this.x=a;this.y=b;this.oh=new ba}N=function(g){window.console&&window.console.log&&window.console.log(g)};ca=function(g){return"undefined"===typeof g};da=function(g){return"number"===typeof g};P=function(g){return"string"===typeof g};ea=function(g){return 0<g&&0===(g-1&g)};fa=function(g){--g;for(var a=1;32>a;a<<=1)g|=g>>a;return g+1};ia=function(g){return 0>
g?-g:g};ja=function(g,a){return g<a?g:a};ka=Math.PI;la=function(g){return g+0.5|0};ma=function(g){return 0<=g?g|0:(g|0)-1};na=function(g){var a=g|0;return a===g?a:a+1};oa=function(g,a,b,c,p,q,k,u){var e,n,v,l;g<b?(n=g,e=b):(n=b,e=g);p<k?(l=p,v=k):(l=k,v=p);if(e<l||n>v)return!1;a<c?(n=a,e=c):(n=c,e=a);q<u?(l=q,v=u):(l=u,v=q);if(e<l||n>v)return!1;e=p-g+k-b;n=q-a+u-c;g=b-g;a=c-a;p=k-p;q=u-q;u=ia(a*p-q*g);return ia(p*n-q*e)>u?!1:ia(g*n-a*e)<=u};h.prototype.set=function(g,a,b,c){this.left=g;this.top=a;
this.right=b;this.bottom=c};h.prototype.copy=function(g){this.left=g.left;this.top=g.top;this.right=g.right;this.bottom=g.bottom};h.prototype.width=function(){return this.right-this.left};h.prototype.height=function(){return this.bottom-this.top};h.prototype.offset=function(g,a){this.left+=g;this.top+=a;this.right+=g;this.bottom+=a;return this};h.prototype.normalize=function(){var g=0;this.left>this.right&&(g=this.left,this.left=this.right,this.right=g);this.top>this.bottom&&(g=this.top,this.top=
this.bottom,this.bottom=g)};h.prototype.uc=function(g,a){return g>=this.left&&g<=this.right&&a>=this.top&&a<=this.bottom};h.prototype.eo=function(g){return this.left===g.left&&this.top===g.top&&this.right===g.right&&this.bottom===g.bottom};pa=h;m.prototype.Gh=function(g){this.Ra=g.left;this.Sa=g.top;this.Db=g.right;this.Eb=g.top;this.nb=g.right;this.ob=g.bottom;this.lb=g.left;this.mb=g.bottom};m.prototype.vm=function(g,a){if(0===a)this.Gh(g);else{var b=Math.sin(a),c=Math.cos(a),p=g.left*b,q=g.top*
b,k=g.right*b,b=g.bottom*b,u=g.left*c,e=g.top*c,n=g.right*c,c=g.bottom*c;this.Ra=u-q;this.Sa=e+p;this.Db=n-q;this.Eb=e+k;this.nb=n-b;this.ob=c+k;this.lb=u-b;this.mb=c+p}};m.prototype.offset=function(g,a){this.Ra+=g;this.Sa+=a;this.Db+=g;this.Eb+=a;this.nb+=g;this.ob+=a;this.lb+=g;this.mb+=a;return this};var t=0,l=0;m.prototype.Ak=function(g){d(this.Ra,this.Db,this.nb,this.lb);g.left=t;g.right=l;d(this.Sa,this.Eb,this.ob,this.mb);g.top=t;g.bottom=l};m.prototype.uc=function(g,a){var b=this.Db-this.Ra,
c=this.Eb-this.Sa,p=this.nb-this.Ra,q=this.ob-this.Sa,k=g-this.Ra,u=a-this.Sa,e=b*b+c*c,n=b*p+c*q,c=b*k+c*u,v=p*p+q*q,l=p*k+q*u,s=1/(e*v-n*n),b=(v*c-n*l)*s,e=(e*l-n*c)*s;if(0<=b&&0<e&&1>b+e)return!0;b=this.lb-this.Ra;c=this.mb-this.Sa;e=b*b+c*c;n=b*p+c*q;c=b*k+c*u;s=1/(e*v-n*n);b=(v*c-n*l)*s;e=(e*l-n*c)*s;return 0<=b&&0<e&&1>b+e};ta=m;ua=function(g,a){for(var b in a)a.hasOwnProperty(b)&&(g[b]=a[b]);return g};va=function(g,a){var b,c;a=ma(a);if(!(0>a||a>=g.length))if(0===a)g.shift();else if(a===g.length-
1)g.pop();else{b=a;for(c=g.length-1;b<c;b++)g[b]=g[b+1];g.length=c}};wa=function(g,a){g.length=a.length;var b,c;b=0;for(c=a.length;b<c;b++)g[b]=a[b]};Aa=function(g,a){var b=g.indexOf(a);-1!==b&&va(g,b)};T=function(g){return g/(180/ka)};Ca=function(g){return g*(180/ka)};Da=function(g){g%=360;0>g&&(g+=360);return g};Ea=function(g){g%=2*ka;0>g&&(g+=2*ka);return g};Fa=function(g){return Da(Ca(g))};Ha=function(g){return Ea(T(g))};Ia=function(g,a,b,c){return Math.atan2(c-a,b-g)};Ja=function(g,a){if(g===
a)return 0;var b=Math.sin(g),c=Math.cos(g),p=Math.sin(a),q=Math.cos(a),b=b*p+c*q;return 1<=b?0:-1>=b?ka:Math.acos(b)};Na=function(g,a,b){var c=Math.sin(g),p=Math.cos(g),q=Math.sin(a),k=Math.cos(a);return Math.acos(c*q+p*k)>b?0<p*q-c*k?Ea(g+b):Ea(g-b):Ea(a)};Oa=function(g,a){var b=Math.sin(g),c=Math.cos(g),p=Math.sin(a),q=Math.cos(a);return 0>=c*p-b*q};Pa=function(g,a,b,c,p,q){if(0===b)return q?g:a;var k=Math.sin(b);b=Math.cos(b);g-=c;a-=p;var u=g*k;g=g*b-a*k;a=a*b+u;return q?g+c:a+p};Qa=function(g,
a,b,c){g=b-g;a=c-a;return Math.sqrt(g*g+a*a)};Ra=function(g,a){return!g!==!a};Sa=function(g){for(var a in g)if(g.hasOwnProperty(a))return!0;return!1};Ta=function(g){for(var a in g)g.hasOwnProperty(a)&&delete g[a]};var g=+new Date;Ua=function(){if("undefined"!==typeof window.performance){var a=window.performance;if("undefined"!==typeof a.now)return a.now();if("undefined"!==typeof a.webkitNow)return a.webkitNow();if("undefined"!==typeof a.mozNow)return a.mozNow();if("undefined"!==typeof a.msNow)return a.msNow()}return Date.now()-
g};var q="undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;f.prototype.contains=function(g){return q?this.Lc.has(g):this.Dc.hasOwnProperty(g.toString())};f.prototype.add=function(g){if(q)this.Lc.has(g)||(this.Lc.add(g),this.Yd=!1);else{var a=g.toString();this.Dc.hasOwnProperty(a)||(this.Dc[a]=g,this.Kf++,this.Yd=!1)}return this};f.prototype.remove=function(g){q?this.Lc.has(g)&&(this.Lc["delete"](g),this.Yd=!1):(g=g.toString(),this.Dc.hasOwnProperty(g)&&(delete this.Dc[g],this.Kf--,
this.Yd=!1));return this};f.prototype.clear=function(){q?this.Lc.clear():(this.Dc={},this.Kf=0);this.ue.length=0;this.Yd=!0;return this};f.prototype.yd=function(){return q?0===this.Lc.size:0===this.Kf};var u=null,s=0;f.prototype.qq=function(){if(!this.Yd){if(q)this.ue.length=this.Lc.size,u=this.ue,s=0,this.Lc.forEach(e),u=null,s=0;else{this.ue.length=this.Kf;var g,a=0;for(g in this.Dc)this.Dc.hasOwnProperty(g)&&(this.ue[a++]=this.Dc[g])}this.Yd=!0}};f.prototype.ng=function(){this.qq();return this.ue};
ba=f;a.prototype.add=function(g){this.y=g-this.di;this.Jh=this.Ga+this.y;this.di=this.Jh-this.Ga-this.y;this.Ga=this.Jh};a.prototype.reset=function(){this.Ga=this.Jh=this.y=this.di=0};Va=a;Ya=function(g){return g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};b.prototype.ig=function(g){this.km=g;this.yh=g.length/2;this.Te.length=g.length;this.ei=this.fi=-1;this.Ck=0};b.prototype.up=function(){return!this.km.length};b.prototype.cb=function(){for(var g=this.Te,a=g[0],b=a,c=g[1],p=c,q,k,u=1,e=this.yh;u<
e;++u)k=2*u,q=g[k],k=g[k+1],q<a&&(a=q),q>b&&(b=q),k<c&&(c=k),k>p&&(p=k);this.wk=a;this.xk=b;this.yk=c;this.vk=p};b.prototype.Gh=function(g,a,b){this.Te.length=8;this.yh=4;var c=this.Te;c[0]=g.left-a;c[1]=g.top-b;c[2]=g.right-a;c[3]=g.top-b;c[4]=g.right-a;c[5]=g.bottom-b;c[6]=g.left-a;c[7]=g.bottom-b;this.fi=g.right-g.left;this.ei=g.bottom-g.top;this.cb()};b.prototype.En=function(g,a,b){if(this.fi!==g||this.ei!==a||this.Ck!==b){this.fi=g;this.ei=a;this.Ck=b;var c,p,q,k,u,e=0,n=1,v=this.km,l=this.Te;
0!==b&&(e=Math.sin(b),n=Math.cos(b));b=0;for(q=this.yh;b<q;b++)c=2*b,p=c+1,k=v[c]*g,u=v[p]*a,l[c]=k*n-u*e,l[p]=u*n+k*e;this.cb()}};b.prototype.uc=function(g,a){var b=this.Te;if(g===b[0]&&a===b[1])return!0;var c,p,q,k=this.yh,u=this.wk-110,e=this.yk-101,n=this.xk+131,v=this.vk+120,l,s,d=0,f=0;for(c=0;c<k;c++)p=2*c,q=2*((c+1)%k),l=b[p],p=b[p+1],s=b[q],q=b[q+1],oa(u,e,g,a,l,p,s,q)&&d++,oa(n,v,g,a,l,p,s,q)&&f++;return 1===d%2||1===f%2};Za=b;c.prototype.Yk=function(g,a,b){var c;c=this.cells[g];return c?
(c=c[a])?c:b?(c=k(this,g,a),this.cells[g][a]=c):null:b?(c=k(this,g,a),this.cells[g]={},this.cells[g][a]=c):null};c.prototype.lk=function(g){return ma(g/this.Hn)};c.prototype.mk=function(g){return ma(g/this.Gn)};c.prototype.update=function(g,a,b){var c,q,k,u,e;if(a)for(c=a.left,q=a.right;c<=q;++c)for(k=a.top,u=a.bottom;k<=u;++k)if(!b||!b.uc(c,k))if(e=this.Yk(c,k,!1))e.remove(g),e.yd()&&(e.oh.clear(),1E3>p.length&&p.push(e),this.cells[c][k]=null);if(b)for(c=b.left,q=b.right;c<=q;++c)for(k=b.top,u=b.bottom;k<=
u;++k)a&&a.uc(c,k)||this.Yk(c,k,!0).mp(g)};$a=c;var p=[];n.prototype.yd=function(){return this.oh.yd()};n.prototype.mp=function(g){this.oh.add(g)};n.prototype.remove=function(g){this.oh.remove(g)};aa=n;var v="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");ab=function(g){return 0>=g||11<=g?"source-over":v[g-1]};bb=function(g,a,b){if(b)switch(g.Xa=b.ONE,g.Wa=b.ONE_MINUS_SRC_ALPHA,a){case 1:g.Xa=b.ONE;g.Wa=b.ONE;break;case 3:g.Xa=
b.ONE;g.Wa=b.ZERO;break;case 4:g.Xa=b.ONE_MINUS_DST_ALPHA;g.Wa=b.ONE;break;case 5:g.Xa=b.DST_ALPHA;g.Wa=b.ZERO;break;case 6:g.Xa=b.ZERO;g.Wa=b.SRC_ALPHA;break;case 7:g.Xa=b.ONE_MINUS_DST_ALPHA;g.Wa=b.ZERO;break;case 8:g.Xa=b.ZERO;g.Wa=b.ONE_MINUS_SRC_ALPHA;break;case 9:g.Xa=b.DST_ALPHA;g.Wa=b.ONE_MINUS_SRC_ALPHA;break;case 10:g.Xa=b.ONE_MINUS_DST_ALPHA,g.Wa=b.SRC_ALPHA}};cb=function(g){return la(1E6*g)/1E6};db=function(g,a){return"string"!==typeof g||"string"!==typeof a||g.length!==a.length?!1:g===
a?!0:g.toLowerCase()===a.toLowerCase()}})();var Xb="undefined"!==typeof Float32Array?Float32Array:Array;function Yb(h){var m=new Xb(3);h&&(m[0]=h[0],m[1]=h[1],m[2]=h[2]);return m}function Zb(h){var m=new Xb(16);h&&(m[0]=h[0],m[1]=h[1],m[2]=h[2],m[3]=h[3],m[4]=h[4],m[5]=h[5],m[6]=h[6],m[7]=h[7],m[8]=h[8],m[9]=h[9],m[10]=h[10],m[11]=h[11],m[12]=h[12],m[13]=h[13],m[14]=h[14],m[15]=h[15]);return m}
function $b(h,m){m[0]=h[0];m[1]=h[1];m[2]=h[2];m[3]=h[3];m[4]=h[4];m[5]=h[5];m[6]=h[6];m[7]=h[7];m[8]=h[8];m[9]=h[9];m[10]=h[10];m[11]=h[11];m[12]=h[12];m[13]=h[13];m[14]=h[14];m[15]=h[15]}function ac(h,m){var d=m[0],f=m[1];m=m[2];h[0]*=d;h[1]*=d;h[2]*=d;h[3]*=d;h[4]*=f;h[5]*=f;h[6]*=f;h[7]*=f;h[8]*=m;h[9]*=m;h[10]*=m;h[11]*=m}
function bc(h,m,d,f){f||(f=Zb());var e,a,b,c,k,n,t,l,g=h[0],q=h[1];h=h[2];a=d[0];b=d[1];e=d[2];d=m[1];n=m[2];g===m[0]&&q===d&&h===n?(h=f,h[0]=1,h[1]=0,h[2]=0,h[3]=0,h[4]=0,h[5]=1,h[6]=0,h[7]=0,h[8]=0,h[9]=0,h[10]=1,h[11]=0,h[12]=0,h[13]=0,h[14]=0,h[15]=1):(d=g-m[0],n=q-m[1],t=h-m[2],l=1/Math.sqrt(d*d+n*n+t*t),d*=l,n*=l,t*=l,m=b*t-e*n,e=e*d-a*t,a=a*n-b*d,(l=Math.sqrt(m*m+e*e+a*a))?(l=1/l,m*=l,e*=l,a*=l):a=e=m=0,b=n*a-t*e,c=t*m-d*a,k=d*e-n*m,(l=Math.sqrt(b*b+c*c+k*k))?(l=1/l,b*=l,c*=l,k*=l):k=c=b=0,
f[0]=m,f[1]=b,f[2]=d,f[3]=0,f[4]=e,f[5]=c,f[6]=n,f[7]=0,f[8]=a,f[9]=k,f[10]=t,f[11]=0,f[12]=-(m*g+e*q+a*h),f[13]=-(b*g+c*q+k*h),f[14]=-(d*g+n*q+t*h),f[15]=1)}
(function(){function h(a){this.Vg=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.Dk=Yb([0,0,100]);this.Jl=Yb([0,0,0]);this.Om=Yb([0,1,0]);this.ek=Yb([1,1,1]);this.jj=Zb();this.Yb=Zb();this.Bl=Zb();this.mi=Zb();this.m=a;this.ll()}function m(a,b,c){this.m=a;this.jg=b;this.name=c;this.Xb=a.getAttribLocation(b,"aPos");this.Ed=a.getAttribLocation(b,"aTex");this.Hl=a.getUniformLocation(b,"matP");this.Me=a.getUniformLocation(b,"matMV");this.Ne=a.getUniformLocation(b,
"opacity");this.Il=a.getUniformLocation(b,"samplerFront");this.Uf=a.getUniformLocation(b,"samplerBack");this.ne=a.getUniformLocation(b,"destStart");this.me=a.getUniformLocation(b,"destEnd");this.gj=a.getUniformLocation(b,"seconds");this.fj=a.getUniformLocation(b,"pixelWidth");this.ej=a.getUniformLocation(b,"pixelHeight");this.Tf=a.getUniformLocation(b,"layerScale");this.Sf=a.getUniformLocation(b,"layerAngle");this.Vf=a.getUniformLocation(b,"viewOrigin");this.jp=!!(this.fj||this.ej||this.gj||this.Uf||
this.ne||this.me||this.Tf||this.Sf||this.Vf);this.Ne&&a.uniform1f(this.Ne,1);this.Il&&a.uniform1i(this.Il,0);this.Uf&&a.uniform1i(this.Uf,1);this.ne&&a.uniform2f(this.ne,0,0);this.me&&a.uniform2f(this.me,1,1);this.Tf&&a.uniform1f(this.Tf,1);this.Sf&&a.uniform1f(this.Sf,0);this.Vf&&a.uniform2f(this.Vf,0,0);this.fe=!1}function d(a,b){this.type=a;this.p=b;this.m=b.m;this.Ac=this.cc=this.Wl=0;this.U=this.qc=null;this.wm=[]}h.prototype.ll=function(){var a=this.m,b;this.Cl=1;this.ke=this.Cd=null;this.Kk=
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.Dl=a.ONE;this.Al=a.ONE_MINUS_SRC_ALPHA;this.uj=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.uj);this.qg=Array(4);this.mg=Array(4);for(b=0;4>b;b++)this.qg[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.qg[b]),this.mg[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.mg[b]);this.Zc=0;this.lp=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,
this.lp);this.ck=new Float32Array(16E3);this.Qj=new Float32Array(16E3);this.Mp=new Float32Array(32E3);for(var c=new Uint16Array(12E3),k=b=0;12E3>b;)c[b++]=k,c[b++]=k+1,c[b++]=k+2,c[b++]=k,c[b++]=k+2,c[b++]=k+3,k+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,c,a.STATIC_DRAW);this.vj=this.Qc=0;this.Fa=[];b=this.li({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.Fa.push(b);b=this.li({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.Fa.push(b);for(var e in cc)cc.hasOwnProperty(e)&&this.Fa.push(this.li(cc[e],"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}",e));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.rd=[];this.Xc=0;this.ub=!1;this.Lk=this.Lf=-1;this.sf=null;this.Do=a.createFramebuffer();this.nm=
null;this.Rd=Yb([0,0,0]);this.Nc(0)};h.prototype.li=function(a,b,c){var k=this.m,e=k.createShader(k.FRAGMENT_SHADER);k.shaderSource(e,a.src);k.compileShader(e);if(!k.getShaderParameter(e,k.COMPILE_STATUS))return k.deleteShader(e),null;var d=k.createShader(k.VERTEX_SHADER);k.shaderSource(d,b);k.compileShader(d);if(!k.getShaderParameter(d,k.COMPILE_STATUS))return k.deleteShader(e),k.deleteShader(d),null;b=k.createProgram();k.attachShader(b,e);k.attachShader(b,d);k.linkProgram(b);if(!k.getProgramParameter(b,
k.LINK_STATUS))return k.deleteShader(e),k.deleteShader(d),k.deleteProgram(b),null;k.useProgram(b);k.deleteShader(e);k.deleteShader(d);c=new m(k,b,c);c.ti=a.ti||0;c.vi=a.vi||0;c.Jk=!!a.Jk;c.rk=!!a.rk;c.r=a.r||[];a=0;for(e=c.r.length;a<e;a++)c.r[a][1]=k.getUniformLocation(b,c.r[a][0]),k.uniform1f(c.r[a][1],0);return c};h.prototype.Hi=function(a){var b,c;b=0;for(c=this.Fa.length;b<c;b++)if(this.Fa[b].name===a)return b;return-1};h.prototype.jm=function(a,b,c){var k=this.Yb,e=this.jj,d=[0,0,0,0,0,0,0,
0];d[0]=k[0]*a+k[4]*b+k[12];d[1]=k[1]*a+k[5]*b+k[13];d[2]=k[2]*a+k[6]*b+k[14];d[3]=k[3]*a+k[7]*b+k[15];d[4]=e[0]*d[0]+e[4]*d[1]+e[8]*d[2]+e[12]*d[3];d[5]=e[1]*d[0]+e[5]*d[1]+e[9]*d[2]+e[13]*d[3];d[6]=e[2]*d[0]+e[6]*d[1]+e[10]*d[2]+e[14]*d[3];d[7]=-d[2];0!==d[7]&&(d[7]=1/d[7],d[4]*=d[7],d[5]*=d[7],d[6]*=d[7],c[0]=(0.5*d[4]+0.5)*this.width,c[1]=(0.5*d[5]+0.5)*this.height)};h.prototype.We=function(a,b,c){if(this.width!==a||this.height!==b||c){this.vd();this.width=a;this.height=b;this.m.viewport(0,0,
a,b);b=a/b;var k=this.jj,e;e=1*Math.tan(45*Math.PI/360);b*=e;a=-b;c=-e;k||(k=Zb());var d=b-a,l=e-c;k[0]=2/d;k[1]=0;k[2]=0;k[3]=0;k[4]=0;k[5]=2/l;k[6]=0;k[7]=0;k[8]=(b+a)/d;k[9]=(e+c)/l;k[10]=-1001/999;k[11]=-1;k[12]=0;k[13]=0;k[14]=-2E3/999;k[15]=0;bc(this.Dk,this.Jl,this.Om,this.Yb);a=[0,0];b=[0,0];this.jm(0,0,a);this.jm(1,1,b);this.ek[0]=1/(b[0]-a[0]);this.ek[1]=-1/(b[1]-a[1]);a=0;for(b=this.Fa.length;a<b;a++)c=this.Fa[a],c.fe=!1,c.Hl&&(this.m.useProgram(c.jg),this.m.uniformMatrix4fv(c.Hl,!1,this.jj));
this.m.useProgram(this.Fa[this.Lf].jg);this.m.bindTexture(this.m.TEXTURE_2D,null);this.m.activeTexture(this.m.TEXTURE1);this.m.bindTexture(this.m.TEXTURE_2D,null);this.m.activeTexture(this.m.TEXTURE0);this.ke=this.Cd=null}};h.prototype.Kc=function(){bc(this.Dk,this.Jl,this.Om,this.Yb);ac(this.Yb,this.ek)};h.prototype.translate=function(a,b){if(0!==a||0!==b){this.Rd[0]=a;this.Rd[1]=b;this.Rd[2]=0;var c=this.Yb,k=this.Rd,e=k[0],d=k[1],k=k[2];c[12]=c[0]*e+c[4]*d+c[8]*k+c[12];c[13]=c[1]*e+c[5]*d+c[9]*
k+c[13];c[14]=c[2]*e+c[6]*d+c[10]*k+c[14];c[15]=c[3]*e+c[7]*d+c[11]*k+c[15]}};h.prototype.scale=function(a,b){if(1!==a||1!==b)this.Rd[0]=a,this.Rd[1]=b,this.Rd[2]=1,ac(this.Yb,this.Rd)};h.prototype.Gj=function(a){if(0!==a){var b=this.Yb,c,k=Math.sin(a);a=Math.cos(a);var e=b[0],d=b[1],l=b[2],g=b[3],q=b[4],u=b[5],s=b[6],p=b[7];c?b!==c&&(c[8]=b[8],c[9]=b[9],c[10]=b[10],c[11]=b[11],c[12]=b[12],c[13]=b[13],c[14]=b[14],c[15]=b[15]):c=b;c[0]=e*a+q*k;c[1]=d*a+u*k;c[2]=l*a+s*k;c[3]=g*a+p*k;c[4]=e*-k+q*a;c[5]=
d*-k+u*a;c[6]=l*-k+s*a;c[7]=g*-k+p*a}};h.prototype.Pc=function(){for(var a=!1,b=0;16>b;b++)if(this.Bl[b]!==this.Yb[b]){a=!0;break}a&&(a=this.oc(),a.type=5,a.U?$b(this.Yb,a.U):a.U=Zb(this.Yb),$b(this.Yb,this.Bl),this.ub=!1)};d.prototype.Yn=function(){this.m.bindTexture(this.m.TEXTURE_2D,this.qc)};d.prototype.Zn=function(){var a=this.m;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.qc);a.activeTexture(a.TEXTURE0)};d.prototype.Vn=function(){var a=this.Wl,b=this.p;b.Kk=a;b=b.sf;b.Ne&&this.m.uniform1f(b.Ne,
a)};d.prototype.Sn=function(){this.m.drawElements(this.m.TRIANGLES,this.Ac,this.m.UNSIGNED_SHORT,2*this.cc)};d.prototype.Un=function(){this.m.blendFunc(this.cc,this.Ac)};d.prototype.$n=function(){var a,b,c,k=this.p.Fa,e=this.p.Lk;a=0;for(b=k.length;a<b;a++)c=k[a],a===e&&c.Me?(this.m.uniformMatrix4fv(c.Me,!1,this.U),c.fe=!0):c.fe=!1;$b(this.U,this.p.mi)};d.prototype.Tn=function(){var a=this.m,b=this.p;this.qc?(b.ke===this.qc&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),b.ke=null,
a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,b.Do),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.qc,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};d.prototype.Qn=function(){var a=this.m;0===this.cc?(a.clearColor(this.U[0],this.U[1],this.U[2],this.U[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),a.scissor(this.U[0],this.U[1],this.U[2],this.U[3]),a.clearColor(0,0,0,0),
a.clear(this.m.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};d.prototype.Rn=function(){var a=this.m,b=this.p,c=b.Fa[1];a.useProgram(c.jg);!c.fe&&c.Me&&(a.uniformMatrix4fv(c.Me,!1,b.mi),c.fe=!0);a.enableVertexAttribArray(c.Xb);a.bindBuffer(a.ARRAY_BUFFER,b.uj);a.vertexAttribPointer(c.Xb,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.cc/4,this.Ac);c=b.sf;a.useProgram(c.jg);0<=c.Xb&&(a.enableVertexAttribArray(c.Xb),a.bindBuffer(a.ARRAY_BUFFER,b.qg[b.Zc]),a.vertexAttribPointer(c.Xb,2,a.FLOAT,!1,0,0));0<=
c.Ed&&(a.enableVertexAttribArray(c.Ed),a.bindBuffer(a.ARRAY_BUFFER,b.mg[b.Zc]),a.vertexAttribPointer(c.Ed,2,a.FLOAT,!1,0,0))};d.prototype.Wn=function(){var a=this.m,b=this.p,c=b.Fa[this.cc];b.Lk=this.cc;b.sf=c;a.useProgram(c.jg);!c.fe&&c.Me&&(a.uniformMatrix4fv(c.Me,!1,b.mi),c.fe=!0);c.Ne&&a.uniform1f(c.Ne,b.Kk);0<=c.Xb&&(a.enableVertexAttribArray(c.Xb),a.bindBuffer(a.ARRAY_BUFFER,b.qg[b.Zc]),a.vertexAttribPointer(c.Xb,2,a.FLOAT,!1,0,0));0<=c.Ed&&(a.enableVertexAttribArray(c.Ed),a.bindBuffer(a.ARRAY_BUFFER,
b.mg[b.Zc]),a.vertexAttribPointer(c.Ed,2,a.FLOAT,!1,0,0))};d.prototype.Xn=function(){var a,b,c=this.p.sf,e=this.m;a=this.U;c.Uf&&this.p.ke!==this.qc&&(e.activeTexture(e.TEXTURE1),e.bindTexture(e.TEXTURE_2D,this.qc),this.p.ke=this.qc,e.activeTexture(e.TEXTURE0));c.fj&&e.uniform1f(c.fj,a[0]);c.ej&&e.uniform1f(c.ej,a[1]);c.ne&&e.uniform2f(c.ne,a[2],a[3]);c.me&&e.uniform2f(c.me,a[4],a[5]);c.Tf&&e.uniform1f(c.Tf,a[6]);c.Sf&&e.uniform1f(c.Sf,a[7]);c.Vf&&e.uniform2f(c.Vf,a[8],a[9]);c.gj&&e.uniform1f(c.gj,
Ua()/1E3);if(c.r.length)for(a=0,b=c.r.length;a<b;a++)e.uniform1f(c.r[a][1],this.wm[a])};h.prototype.oc=function(){this.Xc===this.rd.length&&this.rd.push(new d(0,this));return this.rd[this.Xc++]};h.prototype.vd=function(){if(0!==this.Xc&&!this.m.isContextLost()){var a=this.m;0<this.vj&&(a.bindBuffer(a.ARRAY_BUFFER,this.uj),a.bufferData(a.ARRAY_BUFFER,this.Mp.subarray(0,this.vj),a.STREAM_DRAW),b&&0<=b.Xb&&"<point>"===b.name&&a.vertexAttribPointer(b.Xb,4,a.FLOAT,!1,0,0));if(0<this.Qc){var b=this.sf;
a.bindBuffer(a.ARRAY_BUFFER,this.qg[this.Zc]);a.bufferData(a.ARRAY_BUFFER,this.ck.subarray(0,this.Qc),a.STREAM_DRAW);b&&0<=b.Xb&&"<point>"!==b.name&&a.vertexAttribPointer(b.Xb,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.mg[this.Zc]);a.bufferData(a.ARRAY_BUFFER,this.Qj.subarray(0,this.Qc),a.STREAM_DRAW);b&&0<=b.Ed&&"<point>"!==b.name&&a.vertexAttribPointer(b.Ed,2,a.FLOAT,!1,0,0)}for(var c,a=0,b=this.Xc;a<b;a++)switch(c=this.rd[a],c.type){case 1:c.Sn();break;case 2:c.Yn();break;case 3:c.Vn();
break;case 4:c.Un();break;case 5:c.$n();break;case 6:c.Tn();break;case 7:c.Qn();break;case 8:c.Rn();break;case 9:c.Wn();break;case 10:c.Xn();break;case 11:c.Zn()}this.vj=this.Qc=this.Xc=0;this.ub=!1;this.Zc++;4<=this.Zc&&(this.Zc=0)}};h.prototype.se=function(a){if(a!==this.Cl){var b=this.oc();b.type=3;this.Cl=b.Wl=a;this.ub=!1}};h.prototype.Bb=function(a){if(a!==this.Cd){var b=this.oc();b.type=2;this.Cd=b.qc=a;this.ub=!1}};h.prototype.Ld=function(a,b){if(a!==this.Dl||b!==this.Al){var c=this.oc();
c.type=4;c.cc=a;c.Ac=b;this.Dl=a;this.Al=b;this.ub=!1}};h.prototype.tm=function(){this.Ld(this.m.ONE,this.m.ONE_MINUS_SRC_ALPHA)};h.prototype.zh=function(a,b,c,e,n,d,l,g){15992<=this.Qc&&this.vd();var q=this.Qc,u=this.ck,s=this.Qj;if(this.ub)this.rd[this.Xc-1].Ac+=6;else{var p=this.oc();p.type=1;p.cc=3*(q/4);p.Ac=6;this.ub=!0}u[q]=a;s[q++]=0;u[q]=b;s[q++]=0;u[q]=c;s[q++]=1;u[q]=e;s[q++]=0;u[q]=n;s[q++]=1;u[q]=d;s[q++]=1;u[q]=l;s[q++]=0;u[q]=g;s[q++]=1;this.Qc=q};h.prototype.Jc=function(a,b,c,e,n,
d,l,g,q){15992<=this.Qc&&this.vd();var u=this.Qc,s=this.ck,p=this.Qj;if(this.ub)this.rd[this.Xc-1].Ac+=6;else{var v=this.oc();v.type=1;v.cc=3*(u/4);v.Ac=6;this.ub=!0}var v=q.left,C=q.top,f=q.right;q=q.bottom;s[u]=a;p[u++]=v;s[u]=b;p[u++]=C;s[u]=c;p[u++]=f;s[u]=e;p[u++]=C;s[u]=n;p[u++]=f;s[u]=d;p[u++]=q;s[u]=l;p[u++]=v;s[u]=g;p[u++]=q;this.Qc=u};h.prototype.Nc=function(a){if(this.Lf!==a){if(!this.Fa[a]){if(0===this.Lf)return;a=0}var b=this.oc();b.type=9;this.Lf=b.cc=a;this.ub=!1}};h.prototype.dg=function(a){a=
this.Fa[a];return!(!a.ne&&!a.me)};h.prototype.xj=function(a){a=this.Fa[a];return!!(a.ne||a.me||a.Jk)};h.prototype.Rp=function(a){a=this.Fa[a];return 0!==a.ti||0!==a.vi};h.prototype.Qo=function(a){return this.Fa[a].ti};h.prototype.Ro=function(a){return this.Fa[a].vi};h.prototype.So=function(a,b){return this.Fa[a].r[b][2]};h.prototype.xh=function(a){return this.Fa[a].rk};h.prototype.Ve=function(a,b,c,e,n,d,l,g,q,u,s,p){var v=this.Fa[this.Lf],C,f;if(v.jp||p.length){C=this.oc();C.type=10;C.U?$b(this.Yb,
C.U):C.U=Zb();f=C.U;f[0]=b;f[1]=c;f[2]=e;f[3]=n;f[4]=d;f[5]=l;f[6]=g;f[7]=q;f[8]=u;f[9]=s;C.qc=v.Uf?a:null;if(p.length)for(c=C.wm,c.length=p.length,a=0,b=p.length;a<b;a++)c[a]=p[a];this.ub=!1}};h.prototype.clear=function(a,b,c,e){var n=this.oc();n.type=7;n.cc=0;n.U||(n.U=Zb());n.U[0]=a;n.U[1]=b;n.U[2]=c;n.U[3]=e;this.ub=!1};h.prototype.clearRect=function(a,b,c,e){var n=this.oc();n.type=7;n.cc=1;n.U||(n.U=Zb());n.U[0]=a;n.U[1]=b;n.U[2]=c;n.U[3]=e;this.ub=!1};h.prototype.Qp=function(){this.vd();this.m.flush()};
var f=[],e={};h.prototype.ih=function(a,b,c,k){b=!!b;c=!!c;var n=a.src+","+b+","+c+(b?",undefined":""),d=null;if("undefined"!==typeof a.src&&e.hasOwnProperty(n))return d=e[n],d.tg++,d;this.vd();var l=this.m,g=ea(a.width)&&ea(a.height),d=l.createTexture();l.bindTexture(l.TEXTURE_2D,d);l.pixelStorei(l.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var q=l.RGBA,u=l.RGBA,s=l.UNSIGNED_BYTE;if(k&&!this.Vg)switch(k){case 1:u=q=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:u=q=l.RGB,s=l.UNSIGNED_SHORT_5_6_5}!g&&b?(k=document.createElement("canvas"),k.width=fa(a.width),k.height=fa(a.height),k.getContext("2d").drawImage(a,0,0,a.width,a.height,0,0,k.width,k.height),l.texImage2D(l.TEXTURE_2D,0,q,u,s,k)):l.texImage2D(l.TEXTURE_2D,0,q,u,s,a);b?(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,l.REPEAT),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,l.REPEAT)):(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,l.CLAMP_TO_EDGE),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,
l.CLAMP_TO_EDGE));c?(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MAG_FILTER,l.LINEAR),g?(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.Cd=null;d.nf=a.width;d.mf=a.height;d.tg=1;d.Bk=n;f.push(d);return e[n]=d};h.prototype.Yc=
function(a,b,c,e){this.vd();var d=this.m;this.Vg&&(e=!1);var h=d.createTexture();d.bindTexture(d.TEXTURE_2D,h);d.texImage2D(d.TEXTURE_2D,0,d.RGBA,a,b,0,d.RGBA,e?d.UNSIGNED_SHORT_4_4_4_4:d.UNSIGNED_BYTE,null);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_S,d.CLAMP_TO_EDGE);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_T,d.CLAMP_TO_EDGE);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MAG_FILTER,c?d.LINEAR:d.NEAREST);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MIN_FILTER,c?d.LINEAR:d.NEAREST);d.bindTexture(d.TEXTURE_2D,
null);this.Cd=null;h.nf=a;h.mf=b;f.push(h);return h};h.prototype.tq=function(a,b,c){this.vd();var e=this.m;this.Vg&&(c=!1);e.bindTexture(e.TEXTURE_2D,b);e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,c?e.UNSIGNED_SHORT_4_4_4_4:e.UNSIGNED_BYTE,a);e.bindTexture(e.TEXTURE_2D,null);this.Cd=null};h.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.tg&&1<a.tg?a.tg--:(this.vd(),a===this.Cd&&(this.m.bindTexture(this.m.TEXTURE_2D,null),this.Cd=null),
a===this.ke&&(this.m.activeTexture(this.m.TEXTURE1),this.m.bindTexture(this.m.TEXTURE_2D,null),this.m.activeTexture(this.m.TEXTURE0),this.ke=null),Aa(f,a),"undefined"!==typeof a.Bk&&delete e[a.Bk],this.m.deleteTexture(a)))};h.prototype.Mc=function(a){if(a!==this.nm){var b=this.oc();b.type=6;this.nm=b.qc=a;this.ub=!1}};eb=h})();
(function(){function h(g){if(g&&(g.getContext||g.dc)&&!g.c2runtime){g.c2runtime=this;var a=this;this.Si=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk);this.Vi=!this.Si&&"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.wb=!!g.dc;this.ql="undefined"!==typeof window.AppMobi||this.wb;if(this.Bc=!!window.c2cocoonjs)CocoonJS.App.onSuspended.addEventListener(function(){a.setSuspended(!0)}),
CocoonJS.App.onActivated.addEventListener(function(){a.setSuspended(!1)});this.jb=this.wb||this.Bc;this.tl=/tizen/i.test(navigator.userAgent);this.Ug=/android/i.test(navigator.userAgent)&&!this.tl;this.Vg=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.Zi=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.yl=/ipad/i.test(navigator.userAgent);this.Yi=this.Zi||this.yl;this.vp=this.Zi&&/os\s6/i.test(navigator.userAgent);this.Ef=/chrome/i.test(navigator.userAgent)||
/chromium/i.test(navigator.userAgent);this.op=/amazonwebappplatform/i.test(navigator.userAgent);this.rl=/firefox/i.test(navigator.userAgent);this.sl=!this.Ef&&/safari/i.test(navigator.userAgent);this.sp=/windows/i.test(navigator.userAgent);this.Ad="undefined"!==typeof window.c2nodewebkit||/nodewebkit/i.test(navigator.userAgent);this.ul=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.wl=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.pp=!("undefined"===
typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.pl=this.Ug&&!this.Ef&&!this.rl&&!this.op&&!this.jb;this.devicePixelRatio=1;this.zd=this.Vi||this.Si||this.ql||this.Bc||this.Ug||this.Yi||this.wl||this.pp||this.tl;this.zd||(this.zd=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.Ad||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||(this.Ad=!0);this.qp="undefined"!==
typeof cr_is_preview&&-1<window.location.search.indexOf("debug");this.canvas=g;this.Ek=document.getElementById("c2canvasdiv");this.V=this.p=this.m=null;this.yi="";this.Ig=!1;this.Ul=this.Vl=0;this.canvas.oncontextmenu=function(g){g.preventDefault&&g.preventDefault();return!1};this.canvas.onselectstart=function(g){g.preventDefault&&g.preventDefault();return!1};this.wb&&(window.c2runtime=this);this.Ad&&(window.Lr=function(g){g.preventDefault();return!1},window.Mr=function(g){g.preventDefault();return!1},
require("nw.gui").App.clearCache());this.width=g.width;this.height=g.height;this.K=this.width;this.J=this.height;this.xg=this.width;this.wg=this.height;this.Nf=window.innerWidth;this.Mf=window.innerHeight;this.aa=!0;this.An=this.Gf=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.n=[];this.wa=[];this.bj={};this.mc=[];this.ri={};this.be=[];this.ff=[];this.Ph=[];this.wn=[];this.xn=[];this.vc=new ba;this.Ti=!1;this.jc=0;this.Wi=!1;this.qb=[];this.dd=this.ab=this.gh=
this.Lj="";this.kg=this.zm=!1;this.ki=this.Wf=this.ud=this.ae=0;this.bf=1;this.lc=new Va;this.ah=0;this.Kl=!0;this.nh=this.Kg=this.si=this.kd=this.Of=this.xi=0;this.of=null;this.oi=[];this.qi=[];this.Eg=-1;this.hj=[[]];this.Yj=this.kh=0;this.zj(null);this.uf=this.Pl=this.$f=0;this.lg=[];this.Mh=this.Ah=0;this.Jf=!0;this.Le=0;this.Ff=!1;this.gq=0;this.hp=!1;this.$i=0;this.Cc=this.Ki=this.Bj=!1;this.nj=new ba;this.Tl=new ba;this.Up=[];new Za([]);new Za([]);this.Ae=[];this.rg={};this.Ce={};this.ze={};
this.ef={};this.zk={};this.Gl=this.fh=this.xb=this.Ob=this.Fl=this.eh=this.X=null;this.df=this.Xi=!1;this.Ai=[null,null];this.ee=0;this.Tk="";this.Hd={};this.Hh=this.Ke=null;this.load();this.devicePixelRatio=(this.je=!this.jb&&this.rq&&!this.pl)?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.Va();var b,c=this.Zh&&!(this.Ad||this.ul||this.wl);0<this.rb&&this.setSize(window.innerWidth,window.innerHeight,!0);try{!this.bo||!this.Bc&&
this.jb||(b={alpha:c,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},this.m=g.getContext("webgl",b)||g.getContext("experimental-webgl",b))}catch(p){}if(this.m){this.jb||(this.Oa=document.createElement("canvas"),jQuery(this.Oa).appendTo(this.canvas.parentNode),this.Oa.oncontextmenu=L(!1),this.Oa.onselectstart=L(!1),this.Oa.width=this.xg,this.Oa.height=this.wg,jQuery(this.Oa).css({width:this.xg+"px",height:this.wg+"px"}),this.im(),this.sj=this.Oa.getContext("2d"));this.p=new eb(this.m,this.zd);
this.p.We(g.width,g.height);this.V=null;this.canvas.addEventListener("webglcontextlost",function(g){g.preventDefault();a.Ap();console.log("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){a.p.ll();a.p.We(a.p.width,a.p.height,!0);a.Ob=null;a.xb=null;a.Ai[0]=null;a.Ai[1]=null;a.Bp();a.aa=!0;console.log("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);var e,k,d,l,n,f;g=0;for(b=this.n.length;g<b;g++)for(k=
this.n[g],c=0,e=k.D.length;c<e;c++)l=k.D[c],l.Qa=this.p.Hi(l.id),this.df=this.df||this.p.dg(l.Qa);g=0;for(b=this.mc.length;g<b;g++){n=this.mc[g];c=0;for(e=n.D.length;c<e;c++)l=n.D[c],l.Qa=this.p.Hi(l.id);c=0;for(e=n.O.length;c<e;c++)for(f=n.O[c],k=0,d=f.D.length;k<d;k++)l=f.D[k],l.Qa=this.p.Hi(l.id),this.df=this.df||this.p.dg(l.Qa)}}else{if(0<this.rb&&this.wb){this.canvas=null;document.oncontextmenu=L(!1);document.onselectstart=L(!1);this.V=AppMobi.canvas.getContext("2d");try{this.V.samplingMode=
this.S?"smooth":"sharp",this.V.globalScale=1,this.V.HTML5CompatibilityMode=!0,this.V.imageSmoothingEnabled=this.S}catch(h){}0!==this.width&&0!==this.height&&(this.V.width=this.width,this.V.height=this.height)}this.V||(b=this.Bc?{antialias:!!this.S,alpha:c}:{alpha:c},this.V=g.getContext("2d",b),this.V.webkitImageSmoothingEnabled=this.S,this.V.mozImageSmoothingEnabled=this.S,this.V.msImageSmoothingEnabled=this.S,this.V.imageSmoothingEnabled=this.S);this.sj=this.Oa=null}this.Lh=function(){a.bb()};window==
window.top||this.jb||this.ul||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.Bc&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(N("Reloading for continuous preview"),this.gh="__c2_continuouspreview",this.kg=!0),this.Lp&&!this.zd&&(jQuery(window).focus(function(){a.setSuspended(!1)}),jQuery(window).blur(function(){a.setSuspended(!0)})));
0===this.rb&&this.je&&1<this.devicePixelRatio&&this.setSize(this.Ka,this.Ja,!0);this.Km();this.go();this.pa={}}}function m(g){g.target.result.createObjectStore("saves",{keyPath:"slot"})}function d(g,a,b,c){var p=indexedDB.open("_C2SaveStates");p.onupgradeneeded=m;p.onerror=c;p.onsuccess=function(p){p=p.target.result;p.onerror=c;p.transaction(["saves"],"readwrite").objectStore("saves").put({slot:g,data:a}).onsuccess=b}}function f(g,a,b){var c=indexedDB.open("_C2SaveStates");c.onupgradeneeded=m;c.onerror=
b;c.onsuccess=function(c){c=c.target.result;c.onerror=b;var e=c.transaction(["saves"]).objectStore("saves").get(g);e.onsuccess=function(){e.result?a(e.result.data):a(null)}}}function e(){N("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function a(g){var a,b={};for(a in g)!g.hasOwnProperty(a)||g[a]instanceof ba||g[a]&&"undefined"!==typeof g[a].Hr||(b[a]=g[a]);return b}
h.prototype.setSize=function(g,a,b){var c=0,p=0,e=0,k=0,k=0,d=this.vp&&this.sl&&!navigator.standalone&&!this.jb&&!this.Vi;d&&(a+=60);if(this.Nf!==g||this.Mf!==a||b){this.Nf=g;this.Mf=a;var l=this.rb,n=document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.Ff;if(n||0!==this.rb||b)n&&0<this.ee&&(l=this.ee),4<=l?(b=this.Ka/this.Ja,g/a>b?(e=a*b,5===l?(k=e/this.Ka,1<k?k=Math.floor(k):1>k&&(k=1/Math.ceil(1/k)),e=this.Ka*k,k*=this.Ja,c=(g-e)/2,p=(a-
k)/2,g=e,a=k):(c=(g-e)/2,g=e)):(k=g/b,5===l?(k/=this.Ja,1<k?k=Math.floor(k):1>k&&(k=1/Math.ceil(1/k)),e=this.Ka*k,k*=this.Ja,c=(g-e)/2,p=(a-k)/2,g=e):p=(a-k)/2,a=k),n&&!this.Ad&&(p=c=0),c=Math.floor(c),p=Math.floor(p),g=Math.floor(g),a=Math.floor(a)):this.Ad&&this.Ff&&0===this.Vk&&(c=Math.floor((g-this.Ka)/2),p=Math.floor((a-this.Ja)/2),g=this.Ka,a=this.Ja),2>l&&(this.lf=this.devicePixelRatio),this.je&&this.yl&&1<this.devicePixelRatio&&(1024<=g&&(g=1023),1024<=a&&(a=1023)),n=this.devicePixelRatio,
this.xg=g,this.wg=a,this.width=Math.round(g*n),this.height=Math.round(a*n),this.aa=!0,this.Tm?(this.K=this.width,this.J=this.height,this.Wb=!0):this.width<this.Ka&&this.height<this.Ja||1===l?(this.K=this.width,this.J=this.height,this.Wb=!0):(this.K=this.Ka,this.J=this.Ja,this.Wb=!1,2===l?(b=this.Ka/this.Ja,l=this.Nf/this.Mf,l<b?this.K=this.J*l:l>b&&(this.J=this.K/l)):3===l&&(b=this.Ka/this.Ja,l=this.Nf/this.Mf,l>b?this.K=this.J*l:l<b&&(this.J=this.K/l))),this.Ek&&!this.jb&&(jQuery(this.Ek).css({width:g+
"px",height:a+"px","margin-left":c,"margin-top":p}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:g+"px",height:a+"px"})),this.canvas&&(this.canvas.width=Math.round(g*n),this.canvas.height=Math.round(a*n),this.je&&jQuery(this.canvas).css({width:g+"px",height:a+"px"})),this.Oa&&(this.Oa.width=g,this.Oa.height=a,jQuery(this.Oa).css({width:g+"px",height:a+"px"})),this.p&&this.p.We(Math.round(g*n),Math.round(a*n)),this.wb&&this.V&&(this.V.width=g,this.V.height=a),this.V&&(this.V.webkitImageSmoothingEnabled=
this.S,this.V.mozImageSmoothingEnabled=this.S,this.V.msImageSmoothingEnabled=this.S,this.V.imageSmoothingEnabled=this.S),this.Km(),d&&window.setTimeout(function(){window.scrollTo(0,1)},100)}};h.prototype.Km=function(){if(this.yn&&0!==this.qj){var g="portrait";2===this.qj&&(g="landscape");screen.lockOrientation?screen.lockOrientation(g):screen.webkitLockOrientation?screen.webkitLockOrientation(g):screen.mozLockOrientation?screen.mozLockOrientation(g):screen.msLockOrientation&&screen.msLockOrientation(g)}};
h.prototype.Ap=function(){this.Xi=!0;var g,a,b;g=0;for(a=this.n.length;g<a;g++)b=this.n[g],b.qh&&b.qh()};h.prototype.Bp=function(){this.Xi=!1;var g,a,b;g=0;for(a=this.n.length;g<a;g++)b=this.n[g],b.pj&&b.pj()};h.prototype.im=function(){if(!this.jb){var g=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.Ff?jQuery(this.canvas).offset():jQuery(this.canvas).position();g.position="absolute";jQuery(this.Oa).css(g)}};var b=window.cancelAnimationFrame||
window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;h.prototype.setSuspended=function(g){var a;if(g&&!this.Gf&&!this.An)for(N("[Construct 2] Suspending"),this.Gf=!0,0!==this.Ah&&b&&b(this.Ah),0!==this.Mh&&clearTimeout(this.Mh),g=0,a=this.lg.length;g<a;g++)this.lg[g](!0);else if(!g&&this.Gf){N("[Construct 2] Resuming");this.Gf=!1;this.ah=Ua();this.Of=Ua();g=this.Wf=this.Kg=0;for(a=this.lg.length;g<a;g++)this.lg[g](!1);this.bb()}};
h.prototype.ok=function(g){this.lg.push(g)};h.prototype.load=function(){var g=dc();this.name=g[0];this.Uk=g[1];this.rb=g[11];this.Vk=g[11];this.Ka=g[9];this.Ja=g[10];this.dm=this.Ka/2;this.em=this.Ja/2;this.jb&&(4<=g[11]||0===g[11])&&(N("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.Vk=this.rb=3);this.ak=g[17];this.Rf=g[18];0===this.Rf&&(this.Ke=new Image,this.Ke.src="loading-logo.png");this.$f=g[20];this.Oc=new U(this);var a,
b,c,p,e,k,d,l,n;a=0;for(b=g[2].length;a<b;a++)d=g[2][a],fb(d),n=new d[0](this),n.Oj=d[1],n.Bd=d[2],n.Ml=d[9],n.la&&n.la(),this.plugins.push(n);g=dc();a=0;for(b=g[3].length;a<b;a++){d=g[3][a];e=d[1];n=null;c=0;for(p=this.plugins.length;c<p;c++)if(this.plugins[c]instanceof e){n=this.plugins[c];break}var f=new n.Jb(n);f.name=d[0];f.B=d[2];f.Ri=d[3].slice(0);f.sq=d[3].length;f.zn=d[4];f.Go=d[5];f.M=d[11];f.B?(f.lh=[],f.yc=this.uf++,f.ba=null):(f.lh=null,f.yc=-1,f.ba=[]);f.Gg=null;f.Ee=null;f.Pk=null;
f.Nb=!1;f.gb=null;d[6]?(f.Rj=d[6][0],f.Sj=d[6][1],f.Tj=d[6][2]):(f.Rj=null,f.Sj=0,f.Tj=0);f.kb=d[7]?d[7]:null;f.index=a;f.d=[];f.Ag=[];f.Od=[new gb(f)];f.$c=0;f.Tb=null;f.Nn=0;f.Ye=!0;f.Qh=hb;f.bl=ib;f.Po=jb;f.Y=kb;f.fg=ob;f.yj=pb;f.Se=qb;f.Mg=rb;f.Bi=sb;f.Di=tb;f.pd=ub;f.cl=vb;f.Fk=new $a(this.Ka,this.Ja);f.sk=!0;f.tk=!1;f.pa={};f.toString=wb;f.wa=[];c=0;for(p=d[8].length;c<p;c++){l=d[8][c];var h=l[1],t=null;e=0;for(k=this.wa.length;e<k;e++)if(this.wa[e]instanceof h){t=this.wa[e];break}t||(t=new h(this),
t.Nl=[],t.mj=new ba,t.la&&t.la(),this.wa.push(t));-1===t.Nl.indexOf(f)&&t.Nl.push(f);e=new t.Jb(t,f);e.name=l[0];e.M=l[2];e.la();f.wa.push(e)}f.global=d[9];f.Ui=d[10];f.D=[];c=0;for(p=d[12].length;c<p;c++)f.D.push({id:d[12][c][0],name:d[12][c][1],Qa:-1,Uc:!0,index:c});f.Rr=d[13];this.ak&&!f.B&&!f.Ui&&n.Bd||f.la();f.name&&(this.types[f.name]=f);this.n.push(f);n.Oj&&(c=new n.Ya(f),c.uid=this.$f++,c.lm=this.Pl++,c.ge=0,c.yf=xb,c.toString=yb,c.$=d[14],c.la(),f.d.push(c),this.Hd[c.uid.toString()]=c)}a=
0;for(b=g[4].length;a<b;a++)for(e=g[4][a],k=this.n[e[0]],c=1,p=e.length;c<p;c++)d=this.n[e[c]],d.ba.push(k),k.lh.push(d);a=0;for(b=g[23].length;a<b;a++){e=g[23][a];k=[];c=0;for(p=e.length;c<p;c++)k.push(this.n[e[c]]);c=0;for(p=k.length;c<p;c++)k[c].Nb=!0,k[c].gb=k}if(0<this.uf)for(a=0,b=this.n.length;a<b;a++)if(d=this.n[a],!d.B&&d.ba.length){d.Gg=Array(this.uf);d.Ee=Array(this.uf);d.Pk=Array(this.uf);f=[];c=t=h=l=0;for(p=d.ba.length;c<p;c++)for(n=d.ba[c],d.Gg[n.yc]=l,l+=n.sq,d.Ee[n.yc]=h,h+=n.zn,
d.Pk[n.yc]=t,t+=n.Go,e=0,k=n.D.length;e<k;e++)f.push(ua({},n.D[e]));d.D=f.concat(d.D);c=0;for(p=d.D.length;c<p;c++)d.D[c].index=c}a=0;for(b=g[5].length;a<b;a++)d=g[5][a],c=new zb(this,d),this.bj[c.name]=c,this.mc.push(c);a=0;for(b=g[6].length;a<b;a++)d=g[6][a],c=new Ab(this,d),this.ri[c.name]=c,this.be.push(c);a=0;for(b=this.be.length;a<b;a++)this.be[a].ta();a=0;for(b=this.Ph.length;a<b;a++)this.Ph[a].ta();this.Ph.length=0;this.Tk=g[7];this.Ic=g[8];this.lf=1;this.bo=g[12];this.S=g[13];this.Zh=g[14];
this.rq=g[16];this.qj=g[19];this.yn=0<this.qj;this.Lp=g[21];this.Wb=this.Tm=g[22];this.Ih=Date.now()};var c=!1;h.prototype.Sm=function(g){g.onerror=function(){c=g.Cn=!0};this.ff.push(g)};h.prototype.Eo=function(g){var a,b;a=0;for(b=this.ff.length;a<b;a++)if(this.ff[a].Jn===g)return this.ff[a];return null};h.prototype.uk=function(){var g=0,a=0,b=!0,c,e,k;c=0;for(e=this.ff.length;c<e;c++){k=this.ff[c];var d=k.Hk;if(!d||0>=d)d=5E4;g+=d;!k.complete&&!k.loaded||k.Cn?b=!1:a+=d}this.re=0==g?0:a/g;return b};
h.prototype.go=function(){if(this.V||this.p){var g=this.V||this.sj;this.Oa&&this.im();this.re=0;this.El=-1;if(this.uk())this.fp();else{var a=Date.now()-this.Ih;if(g){var b=this.width,e=this.height,p=this.devicePixelRatio;this.Oa&&(b=this.xg,e=this.wg,p=1);if(3!==this.Rf&&500<=a&&this.El!=this.re){g.clearRect(0,0,b,e);var a=b/2,e=e/2,b=0===this.Rf&&this.Ke.complete,k=40*p,d=0,l=80*p,f;b&&(l=this.Ke.width*p,f=this.Ke.height*p,k=l/2,d=f/2,g.drawImage(this.Ke,ma(a-k),ma(e-d),l,f));1>=this.Rf?(a=ma(a-
k)+0.5,e=ma(e+(d+(b?12*p:0)))+0.5,g.fillStyle=c?"red":"DodgerBlue",g.fillRect(a,e,Math.floor(l*this.re),6*p),g.strokeStyle="black",g.strokeRect(a,e,l,6*p),g.strokeStyle="white",g.strokeRect(a-1*p,e-1*p,l+2*p,8*p)):2===this.Rf&&(g.font="12pt Arial",g.fillStyle=c?"#f00":"#999",g.Qr="middle",p=Math.round(100*this.re)+"%",b=g.measureText?g.measureText(p):null,g.fillText(p,a-(b?b.width:0)/2,e))}this.El=this.re}setTimeout(function(g){return function(){g.go()}}(this),100)}}};h.prototype.fp=function(){this.Oa&&
(this.canvas.parentNode.removeChild(this.Oa),this.Oa=this.sj=null);this.Ih=Date.now();this.Of=Ua();var g,a,b;if(this.ak)for(g=0,a=this.n.length;g<a;g++)b=this.n[g],b.B||b.Ui||!b.ma.Bd||b.la();else this.Jf=!1;g=0;for(a=this.mc.length;g<a;g++)this.mc[g].Kn();2<=this.rb&&(g=this.Ka/this.Ja,a=this.width/this.height,this.lf=2!==this.rb&&a>g||2===this.rb&&a<g?this.height/this.Ja:this.width/this.Ka);this.Uk?this.bj[this.Uk].Pj():this.mc[0].Pj();this.ak||(this.Le=1,this.trigger(U.prototype.g.ik,null));navigator.splashscreen&&
navigator.splashscreen.hide&&navigator.splashscreen.hide();g=0;for(a=this.n.length;g<a;g++)b=this.n[g],b.zp&&b.zp();this.bb();this.wb&&AppMobi.webview.execute("onGameReady();")};var k=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;h.prototype.bb=function(){if(this.X){var g=Ua();if(this.hp&&this.Bj&&29>g-this.$i)this.Bj=!1,this.$i=g,k?this.Ah=k(this.Lh,this.canvas):this.Mh=setTimeout(this.Lh,
this.zd?1:16);else{this.Bj=!0;this.$i=g;var a=this.rb,b=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement;(b||this.Ff)&&0<this.ee&&(a=this.ee);if(0<a&&(!this.Zi||window.self!==window.top)){var a=window.innerWidth,c=window.innerHeight;this.Nf===a&&this.Mf===c||this.setSize(a,c)}this.jb||(b?(this.Ig||(this.yi=jQuery(this.canvas).css("margin")||"0",this.Ig=!0),this.Ef||this.Ad||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.Ig?(this.Ef||this.Ad||jQuery(this.canvas).css("margin",this.yi),this.yi="",this.Ig=!1,0===this.rb&&this.setSize(Math.round(this.Vl/this.devicePixelRatio),Math.round(this.Ul/this.devicePixelRatio),!0)):(this.Vl=this.width,this.Ul=this.height));this.Jf&&(b=this.uk(),this.Le=this.re,b&&(this.Jf=!1,this.re=1,this.trigger(U.prototype.g.ik,null)));this.yp();!this.aa&&!this.Bc||this.Xi||
this.kg||(this.aa=!1,this.p?this.Vb():this.wc(),this.Hh&&(this.canvas&&this.canvas.toDataURL&&(this.canvas.toDataURL(this.Hh[0],this.Hh[1]),this.trigger(U.prototype.g.$m,null)),this.Hh=null));this.Kr||(this.kd++,this.si++,this.Kg++);this.Wf+=Ua()-g;this.Gf||(k?this.Ah=k(this.Lh,this.canvas):this.Mh=setTimeout(this.Lh,this.zd?1:16))}}};h.prototype.yp=function(){var g,a,b,c,e,k,d,l,f;g=Ua();1E3<=g-this.Of&&(this.Of+=1E3,this.xi=this.Kg,this.Kg=0,this.ki=this.Wf,this.Wf=0);this.Kl&&(0!==this.ah&&(a=
g-this.ah,0!==a||this.qp?(this.ud=a/1E3,0.5<this.ud?this.ud=0:0.1<this.ud&&(this.ud=0.1)):(10<=this.Ur&&(this.Kl=!1),this.ud=1/60)),this.ah=g);this.ae=this.ud*this.bf;this.lc.add(this.ae);g=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.Ff;2<=this.rb||g&&0<this.ee?(a=this.Ka/this.Ja,b=this.width/this.height,c=this.rb,g&&0<this.ee&&(c=this.ee),this.lf=2!==c&&b>a||2===c&&b<a?this.height/this.Ja:this.width/this.Ka,this.X&&(this.X.qm(this.X.scrollX),
this.X.rm(this.X.scrollY))):this.lf=this.je?this.devicePixelRatio:1;this.Va();this.jc++;this.Oc.Wp();this.jc--;this.Va();this.jc++;g=0;for(a=this.n.length;g<a;g++)if(d=this.n[g],!d.B&&(d.wa.length||d.ba.length))for(b=0,c=d.d.length;b<c;b++)for(l=d.d[b],e=0,k=l.H.length;e<k;e++)l.H[e].bb();g=0;for(a=this.n.length;g<a;g++)if(d=this.n[g],!d.B&&(d.wa.length||d.ba.length))for(b=0,c=d.d.length;b<c;b++)for(l=d.d[b],e=0,k=l.H.length;e<k;e++)f=l.H[e],f.Pp&&f.Pp();b=this.nj.ng();g=0;for(a=b.length;g<a;g++)b[g].bb();
this.jc--;this.ip();for(g=0;this.of&&10>g++;)this.Nk(this.of);g=0;for(a=this.be.length;g<a;g++)this.be[g].Ni=!1;this.X.Dg&&this.X.Dg.Ea();this.Up.length=0;this.jc++;g=0;for(a=this.n.length;g<a;g++)if(d=this.n[g],!d.B&&(d.wa.length||d.ba.length))for(b=0,c=d.d.length;b<c;b++)for(l=d.d[b],e=0,k=l.H.length;e<k;e++)f=l.H[e],f.Fm&&f.Fm();b=this.Tl.ng();g=0;for(a=b.length;g<a;g++)b[g].Fm();this.jc--};h.prototype.Nk=function(g){var a=this.X;this.X.hq();var b,c,e,k,d,l,f;if(this.p)for(b=0,c=this.n.length;b<
c;b++)d=this.n[b],d.B||!d.$j||d.global&&0!==d.d.length||-1!==g.Cf.indexOf(d)||d.$j();a==g&&(this.Oc.Hb.length=0);g.Pj();b=0;for(c=this.n.length;b<c;b++)if(d=this.n[b],d.global||d.ma.Oj)for(g=0,a=d.d.length;g<a;g++)if(l=d.d[g],l.oj&&l.oj(),l.H)for(e=0,k=l.H.length;e<k;e++)f=l.H[e],f.oj&&f.oj();this.aa=!0;this.Va()};h.prototype.Vj=function(g){this.nj.add(g)};h.prototype.$k=function(g){return g&&-1!==g.Zf?this.ud*g.Zf:this.ae};h.prototype.wc=function(){this.X.wc(this.V);this.wb&&this.V.present()};h.prototype.Vb=
function(){this.X.Vb(this.p);this.p.Qp()};h.prototype.un=function(g){g&&this.oi.push(g)};h.prototype.Og=function(g){g=g.toString();return this.Hd.hasOwnProperty(g)?this.Hd[g]:null};h.prototype.Sd=function(g){var a,b;if(!this.vc.contains(g)){this.vc.add(g);if(g.Nb)for(a=0,b=g.siblings.length;a<b;a++)this.Sd(g.siblings[a]);this.Ti&&this.vc.ue.push(g);this.jc++;this.trigger(Object.getPrototypeOf(g.type.ma).g.an,g);this.jc--}};h.prototype.Va=function(){var g,a,b,c,e,d,k,l,f,n;this.Ti=!0;c=0;for(d=this.qb.length;c<
d;c++)for(g=this.qb[c],a=g.type,a.d.push(g),e=0,k=a.ba.length;e<k;e++)a.ba[e].d.push(g),a.ba[e].Ye=!0;this.qb.length=0;d=this.vc.ng();for(c=0;c<d.length;c++){g=d[c];a=g.type;b=a.d;e=0;for(k=this.oi.length;e<k;e++)this.oi[e](g);Aa(b,g);0===b.length&&(a.tk=!1);g.ug&&a.Fk.update(g,g.ug,null);g.e&&(va(g.e.d,g.Mb()),g.e.Ib=!0);e=0;for(k=a.ba.length;e<k;e++)Aa(a.ba[e].d,g),a.ba[e].Ye=!0;if(g.H)for(e=0,k=g.H.length;e<k;e++)b=g.H[e],b.ag&&b.ag(),b.Be.mj.remove(g);this.nj.remove(g);this.Tl.remove(g);e=0;for(k=
this.Oc.Hb.length;e<k;e++)if(f=this.Oc.Hb[e],f.Cb.hasOwnProperty(a.index)&&Aa(f.Cb[a.index].ie,g),!a.B)for(b=0,l=a.ba.length;b<l;b++)n=a.ba[b],f.Cb.hasOwnProperty(n.index)&&Aa(f.Cb[n.index].ie,g);g.ag&&g.ag();this.Hd.hasOwnProperty(g.uid.toString())&&delete this.Hd[g.uid.toString()];this.nh--;64>a.Ag.length&&a.Ag.push(g);a.Ye=!0}this.vc.yd()||(this.aa=!0);this.vc.clear();this.Ti=!1};h.prototype.Ik=function(a,b,c,e){if(a.B){var d=ma(Math.random()*a.lh.length);return this.Ik(a.lh[d],b,c,e)}return a.Tb?
this.td(a.Tb,b,!1,c,e,!1):null};var n=[];h.prototype.td=function(a,b,c,e,d,k){var l,f,h,t;if(!a)return null;var m=this.n[a[1]],Q=m.ma.Bd;if(this.Jf&&Q&&!m.Ui||Q&&!this.p&&11===a[0][11])return null;var ga=b;Q||(b=null);var r;m.Ag.length?(r=m.Ag.pop(),r.Zb=!0,m.ma.Ya.call(r,m)):(r=new m.ma.Ya(m),r.Zb=!1);r.uid=c&&!k?a[2]:this.$f++;this.Hd[r.uid.toString()]=r;r.lm=this.Pl++;r.ge=m.d.length;l=0;for(f=this.qb.length;l<f;++l)this.qb[l].type===m&&r.ge++;r.yf=xb;h=a[3];if(r.Zb)Ta(r.pa);else{r.pa={};if("undefined"!==
typeof cr_is_preview)for(r.ol=[],r.ol.length=h.length,l=0,f=h.length;l<f;l++)r.ol[l]=h[l][1];r.Ba=[];r.Ba.length=h.length}l=0;for(f=h.length;l<f;l++)r.Ba[l]=h[l][0];if(Q){var x=a[0];r.x=ca(e)?x[0]:e;r.y=ca(d)?x[1]:d;r.z=x[2];r.width=x[3];r.height=x[4];r.depth=x[5];r.j=x[6];r.opacity=x[7];r.hb=x[8];r.ib=x[9];r.eb=x[10];l=x[11];!this.p&&m.D.length&&(r.eb=l);r.qf=ab(r.eb);this.m&&bb(r,r.eb,this.m);if(r.Zb){l=0;for(f=x[12].length;l<f;l++)for(h=0,t=x[12][l].length;h<t;h++)r.ka[l][h]=x[12][l][h];r.Za.set(0,
0,0,0);r.ug.set(0,0,-1,-1);r.sd.Gh(r.Za);r.bi.length=0}else{r.ka=x[12].slice(0);l=0;for(f=r.ka.length;l<f;l++)r.ka[l]=x[12][l].slice(0);r.R=[];r.od=[];r.od.length=m.D.length;r.Za=new pa(0,0,0,0);r.ug=new pa(0,0,-1,-1);r.sd=new ta;r.bi=[];r.Pa=Bb;r.Gr=Cb;r.uc=Db;r.cb=Eb;r.Tr=Fb;r.Mb=Gb}r.kq=!1;r.mq=0;r.lq=0;r.jq=null;14===x.length&&(r.kq=!0,r.mq=x[13][0],r.lq=x[13][1],r.jq=x[13][2]);l=0;for(f=m.D.length;l<f;l++)r.od[l]=!0;r.md=Hb;r.md();r.Qm=!!r.R.length;r.ai=!0;r.gi=!0;m.sk=!0;r.visible=!0;r.Zf=-1;
r.e=b;r.ve=b.d.length;"undefined"===typeof r.tc&&(r.tc=null);this.aa=r.pf=!0}r.toString=yb;var D;l=n.length=0;for(f=m.ba.length;l<f;l++)n.push.apply(n,m.ba[l].wa);n.push.apply(n,m.wa);if(r.Zb)for(l=0,f=n.length;l<f;l++){var K=n[l];D=r.H[l];D.Zb=!0;K.Be.Ya.call(D,K,r);x=a[4][l];h=0;for(t=x.length;h<t;h++)D.$[h]=x[h];D.la();K.Be.mj.add(r)}else for(r.H=[],l=0,f=n.length;l<f;l++)K=n[l],D=new K.Be.Ya(K,r),D.Zb=!1,D.$=a[4][l].slice(0),D.la(),r.H.push(D),K.Be.mj.add(r);x=a[5];if(r.Zb)for(l=0,f=x.length;l<
f;l++)r.$[l]=x[l];else r.$=x.slice(0);this.qb.push(r);b&&(b.d.push(r),1!==b.fd||1!==b.gd)&&(m.tk=!0);this.nh++;if(m.Nb){if(r.Nb=!0,r.Zb?r.siblings.length=0:r.siblings=[],!c&&!k){l=0;for(f=m.gb.length;l<f;l++)if(m.gb[l]!==m){if(!m.gb[l].Tb)return null;r.siblings.push(this.td(m.gb[l].Tb,ga,!1,Q?r.x:e,Q?r.y:d,!0))}l=0;for(f=r.siblings.length;l<f;l++)for(r.siblings[l].siblings.push(r),h=0;h<f;h++)l!==h&&r.siblings[l].siblings.push(r.siblings[h])}}else r.Nb=!1,r.siblings=null;r.la();l=0;for(f=r.H.length;l<
f;l++)r.H[l].Op&&r.H[l].Op();return r};h.prototype.Fi=function(a){var b,c;b=0;for(c=this.X.O.length;b<c;b++){var e=this.X.O[b];if(db(e.name,a))return e}return null};h.prototype.wf=function(a){a=ma(a);0>a&&(a=0);a>=this.X.O.length&&(a=this.X.O.length-1);return this.X.O[a]};h.prototype.ji=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Y().da=!0};h.prototype.fg=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].fg()};h.prototype.yj=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].yj()};h.prototype.Se=
function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Se()};h.prototype.iq=function(a,b,c){var e=a.Y(),d,k,l,f,n,h;if(e.da)for(e.da=!1,d=e.d.length=0,f=a.d.length;d<f;d++)l=a.d[d],l.cb(),n=l.e.pb(b,c,!0),h=l.e.pb(b,c,!1),l.uc(n,h)&&e.d.push(l);else{d=k=0;for(f=e.d.length;d<f;d++)l=e.d[d],l.cb(),n=l.e.pb(b,c,!0),h=l.e.pb(b,c,!1),l.uc(n,h)&&(e.d[k]=e.d[d],k++);e.d.length=k}a.pd();return e.Mi()};new ta;new pa(0,0,0,0);h.prototype.Lm=function(a,b){if(!b)return!1;var c,e,d,k,l;c=0;for(e=a.wa.length;c<e;c++)if(a.wa[c].Be instanceof
b)return!0;if(!a.B)for(c=0,e=a.ba.length;c<e;c++)for(l=a.ba[c],d=0,k=l.wa.length;d<k;d++)if(l.wa[d].Be instanceof b)return!0;return!1};h.prototype.Mm=function(a){return this.Lm(a,Wb.Yq)};h.prototype.Zj=function(a){return this.Lm(a,Wb.Zq)};var t=[],l=-1;h.prototype.trigger=function(a,b,c){if(!this.X)return!1;var e=this.X.Dg;if(!e)return!1;l++;l===t.length?t.push(new ba):t[l].clear();a=this.Im(a,b,e,c);l--;return a};h.prototype.Im=function(a,b,c,e){var d=t[l];if(d.contains(c))return!1;d.add(c);var d=
c.kl.ng(),k=!1,f,n,h;f=0;for(n=d.length;f<n;f++)d[f].np()&&(h=this.Im(a,b,d[f].Bf,e),k=k||h);if(b)for(h=this.Xj(a,b,b.type.name,c,e),k=k||h,f=0,n=b.type.ba.length;f<n;f++)h=this.Xj(a,b,b.type.ba[f].name,c,e),k=k||h;else h=this.Xj(a,b,"system",c,e),k=k||h;return k};h.prototype.Xj=function(a,b,c,e,d){var k,l=!1,f=!1,f="undefined"!==typeof d,n=(f?e.Rk:e.Jm)[c];if(!n)return l;var h=null;e=0;for(k=n.length;e<k;e++)if(n[e].method==a){h=n[e].Fg;break}if(!h)return l;a=f?h[d]:h;if(!a)return null;e=0;for(k=
a.length;e<k;e++)d=a[e][0],f=a[e][1],f=this.Co(b,c,d,f),l=l||f;return l};h.prototype.Co=function(a,b,c,e){var d,k,f=!1;this.Yj++;var n=this.sb().ic;n&&this.fg(n.Md);var h=1<this.Yj;this.fg(c.Md);h&&this.Sp();var t=this.zj(c);t.ic=c;a&&(d=this.types[b].Y(),d.da=!1,d.d.length=1,d.d[0]=a,this.types[b].pd());a=!0;if(c.parent){b=t.Cm;for(d=c.parent;d;)b.push(d),d=d.parent;b.reverse();d=0;for(k=b.length;d<k;d++)if(!b[d].Yp()){a=!1;break}}a&&(this.si++,c.Gc?c.Xp(e):c.Ea(),f=f||t.le);this.hm();h&&this.Np();
this.Se(c.Md);n&&this.Se(n.Md);0!==this.jc||0!==l||this.Wi||this.vc.yd()&&!this.qb.length||this.Va();this.Yj--;return f};h.prototype.Ko=function(){var a=this.sb();return a.ic.na[a.fb]};h.prototype.Sp=function(){this.kh++;this.kh>=this.hj.length&&this.hj.push([])};h.prototype.Np=function(){this.kh--};h.prototype.Zk=function(){return this.hj[this.kh]};h.prototype.zj=function(a){this.Eg++;this.Eg>=this.qi.length&&this.qi.push(new Ib);var b=this.sb();b.reset(a);return b};h.prototype.hm=function(){this.Eg--};
h.prototype.sb=function(){return this.qi[this.Eg]};h.prototype.al=function(a,b){for(var c,e,d,k,l,f;b;){c=0;for(e=b.fc.length;c<e;c++)if(f=b.fc[c],f instanceof Jb&&db(a,f.name))return f;b=b.parent}c=0;for(e=this.be.length;c<e;c++)for(l=this.be[c],d=0,k=l.wd.length;d<k;d++)if(f=l.wd[d],f instanceof Jb&&db(a,f.name))return f;return null};h.prototype.dl=function(a){var b,c;b=0;for(c=this.mc.length;b<c;b++)if(this.mc[b].M===a)return this.mc[b];return null};h.prototype.Pg=function(a){var b,c;b=0;for(c=
this.n.length;b<c;b++)if(this.n[b].M===a)return this.n[b];return null};h.prototype.Lo=function(a){var b,c;b=0;for(c=this.Ae.length;b<c;b++)if(this.Ae[b].M===a)return this.Ae[b];return null};h.prototype.ip=function(){var a=this,b=this.Lj,c=this.dd,k=this.gh,l=!1;this.zm&&(l=!0,b="__c2_continuouspreview",this.zm=!1);if(b.length){this.Va();c=this.bq();if(window.indexedDB&&!this.Bc)d(b,c,function(){N("Saved state to IndexedDB storage ("+c.length+" bytes)");a.dd=c;a.trigger(U.prototype.g.Xh,null);a.dd=
"";l&&e()},function(d){try{localStorage.setItem("__c2save_"+b,c),N("Saved state to WebStorage ("+c.length+" bytes)"),a.dd=c,a.trigger(U.prototype.g.Xh,null),a.dd="",l&&e()}catch(k){N("Failed to save game state: "+d+"; "+k)}});else try{localStorage.setItem("__c2save_"+b,c),N("Saved state to WebStorage ("+c.length+" bytes)"),a.dd=c,this.trigger(U.prototype.g.Xh,null),a.dd="",l&&e()}catch(n){N("Error saving to WebStorage: "+n)}this.ab=this.gh=this.Lj=""}k.length&&(window.indexedDB&&!this.Bc?f(k,function(b){b?
(a.ab=b,N("Loaded state from IndexedDB storage ("+a.ab.length+" bytes)")):(a.ab=localStorage.getItem("__c2save_"+k)||"",N("Loaded state from WebStorage ("+a.ab.length+" bytes)"));a.kg=!1;a.ab.length||a.trigger(U.prototype.g.Wh,null)},function(){a.ab=localStorage.getItem("__c2save_"+k)||"";N("Loaded state from WebStorage ("+a.ab.length+" bytes)");a.kg=!1;a.ab.length||a.trigger(U.prototype.g.Wh,null)}):(this.ab=localStorage.getItem("__c2save_"+k)||"",N("Loaded state from WebStorage ("+this.ab.length+
" bytes)"),this.kg=!1,a.ab.length||a.trigger(U.prototype.g.Wh,null)),this.Lj=this.gh="");this.ab.length&&(this.Va(),this.xp(this.ab),this.dd=this.ab,this.trigger(U.prototype.g.dn,null),this.ab=this.dd="")};h.prototype.bq=function(){var b,c,e,d,k,l,f,n={c2save:!0,version:1,rt:{time:this.lc.Ga,timescale:this.bf,tickcount:this.kd,execcount:this.si,next_uid:this.$f,running_layout:this.X.M,start_time_offset:Date.now()-this.Ih},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};b=0;for(c=this.n.length;b<
c;b++)if(k=this.n[b],!k.B&&!this.Mm(k)){l={instances:[]};Sa(k.pa)&&(l.ex=a(k.pa));e=0;for(d=k.d.length;e<d;e++)l.instances.push(this.Kj(k.d[e]));n.types[k.M.toString()]=l}b=0;for(c=this.mc.length;b<c;b++)e=this.mc[b],n.layouts[e.M.toString()]=e.$b();d=n.events.groups;b=0;for(c=this.Ae.length;b<c;b++)e=this.Ae[b],d[e.M.toString()]=!!this.rg[e.zf];c=n.events.cnds;for(f in this.Ce)this.Ce.hasOwnProperty(f)&&(b=this.Ce[f],Sa(b.pa)&&(c[f]={ex:a(b.pa)}));c=n.events.acts;for(f in this.ze)this.ze.hasOwnProperty(f)&&
(b=this.ze[f],Sa(b.pa)&&(c[f]={ex:b.pa}));c=n.events.vars;for(f in this.ef)this.ef.hasOwnProperty(f)&&(b=this.ef[f],b.Wg||b.parent&&!b.If||(c[f]=b.data));n.system=this.Oc.$b();return JSON.stringify(n)};h.prototype.mm=function(){var a,b,c,e,d,k;this.Hd={};a=0;for(b=this.n.length;a<b;a++)if(c=this.n[a],!c.B)for(e=0,d=c.d.length;e<d;e++)k=c.d[e],this.Hd[k.uid.toString()]=k};h.prototype.xp=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var b=a.rt;this.lc.reset();this.lc.Ga=b.time;this.bf=b.timescale;
this.kd=b.tickcount;this.Ih=Date.now()-b.start_time_offset;var c=b.running_layout;if(c!==this.X.M)if(c=this.dl(c))this.Nk(c);else return;var e,d,k,l,f,n,h;n=a.types;for(d in n)if(n.hasOwnProperty(d)&&(l=this.Pg(parseInt(d,10)))&&!l.B&&!this.Mm(l)){n[d].ex?l.pa=n[d].ex:Ta(l.pa);f=l.d;k=n[d].instances;c=0;for(e=ja(f.length,k.length);c<e;c++)this.hh(f[c],k[c]);c=k.length;for(e=f.length;c<e;c++)this.Sd(f[c]);c=f.length;for(e=k.length;c<e;c++){f=null;if(l.ma.Bd&&(f=this.X.Ng(k[c].w.l),!f))continue;f=this.td(l.Tb,
f,!1,0,0,!0);this.hh(f,k[c])}l.Ye=!0}this.Va();this.mm();e=a.layouts;for(d in e)e.hasOwnProperty(d)&&(c=this.dl(parseInt(d,10)))&&c.Ec(e[d]);e=a.events.groups;for(d in e)e.hasOwnProperty(d)&&(c=this.Lo(parseInt(d,10)))&&(this.rg[c.zf]=e[d]);c=a.events.cnds;for(d in c)c.hasOwnProperty(d)&&this.Ce.hasOwnProperty(d)&&(this.Ce[d].pa=c[d].ex);c=a.events.acts;for(d in c)c.hasOwnProperty(d)&&this.ze.hasOwnProperty(d)&&(this.ze[d].pa=c[d].ex);c=a.events.vars;for(d in c)c.hasOwnProperty(d)&&this.ef.hasOwnProperty(d)&&
(this.ef[d].data=c[d]);this.$f=b.next_uid;this.Oc.Ec(a.system);c=0;for(e=this.n.length;c<e;c++)if(l=this.n[c],!l.B)for(d=0,a=l.d.length;d<a;d++){f=l.d[d];if(l.Nb)for(n=f.yf(),b=f.siblings.length=0,k=l.gb.length;b<k;b++)h=l.gb[b],l!==h&&f.siblings.push(h.d[n]);f.Vc&&f.Vc();if(f.H)for(b=0,k=f.H.length;b<k;b++)n=f.H[b],n.Vc&&n.Vc()}this.aa=!0}};h.prototype.Kj=function(b,c){var e,d,k,l,f;l=b.type;k=l.ma;var n={};c?n.c2=!0:n.uid=b.uid;Sa(b.pa)&&(n.ex=a(b.pa));if(b.Ba&&b.Ba.length)for(n.ivs={},e=0,d=b.Ba.length;e<
d;e++)n.ivs[b.type.Ri[e].toString()]=b.Ba[e];if(k.Bd){k={x:b.x,y:b.y,w:b.width,h:b.height,l:b.e.M,zi:b.Mb()};0!==b.j&&(k.a=b.j);1!==b.opacity&&(k.o=b.opacity);0.5!==b.hb&&(k.hX=b.hb);0.5!==b.ib&&(k.hY=b.ib);0!==b.eb&&(k.bm=b.eb);b.visible||(k.v=b.visible);b.pf||(k.ce=b.pf);-1!==b.Zf&&(k.mts=b.Zf);if(l.D.length)for(k.fx=[],e=0,d=l.D.length;e<d;e++)f=l.D[e],k.fx.push({name:f.name,active:b.od[f.index],params:b.ka[f.index]});n.w=k}if(b.H&&b.H.length)for(n.behs={},e=0,d=b.H.length;e<d;e++)l=b.H[e],l.$b&&
(n.behs[l.type.M.toString()]=l.$b());b.$b&&(n.data=b.$b());return n};h.prototype.No=function(a,b){var c,e;c=0;for(e=a.Ri.length;c<e;c++)if(a.Ri[c]===b)return c;return-1};h.prototype.Jo=function(a,b){var c,e;c=0;for(e=a.H.length;c<e;c++)if(a.H[c].type.M===b)return c;return-1};h.prototype.hh=function(a,b,c){var e,d,k,l,f;f=a.type;k=f.ma;if(c){if(!b.c2)return}else a.uid=b.uid;b.ex?a.pa=b.ex:Ta(a.pa);if(d=b.ivs)for(e in d)d.hasOwnProperty(e)&&(c=this.No(f,parseInt(e,10)),0>c||c>=a.Ba.length||(a.Ba[c]=
d[e]));if(k.Bd){k=b.w;a.e.M!==k.l&&(c=a.e,a.e=this.X.Ng(k.l),a.e?(a.e.d.push(a),a.e.Ib=!0,Aa(c.d,a),c.Ib=!0):(a.e=c,this.Sd(a)));a.x=k.x;a.y=k.y;a.width=k.w;a.height=k.h;a.ve=k.zi;a.j=k.hasOwnProperty("a")?k.a:0;a.opacity=k.hasOwnProperty("o")?k.o:1;a.hb=k.hasOwnProperty("hX")?k.hX:0.5;a.ib=k.hasOwnProperty("hY")?k.hY:0.5;a.visible=k.hasOwnProperty("v")?k.v:!0;a.pf=k.hasOwnProperty("ce")?k.ce:!0;a.Zf=k.hasOwnProperty("mts")?k.mts:-1;a.eb=k.hasOwnProperty("bm")?k.bm:0;a.qf=ab(a.eb);this.m&&bb(a,a.eb,
this.m);a.Pa();if(k.hasOwnProperty("fx"))for(c=0,d=k.fx.length;c<d;c++)l=f.Di(k.fx[c].name),0>l||(a.od[l]=k.fx[c].active,a.ka[l]=k.fx[c].params);a.md()}if(f=b.behs)for(e in f)f.hasOwnProperty(e)&&(k=this.Jo(a,parseInt(e,10)),0>k||a.H[k].Ec(f[e]));b.data&&a.Ec(b.data)};Kb=function(a){return new h(document.getElementById(a))};Lb=function(a,b){return new h({dc:!0,width:a,height:b})};window.cr_createRuntime=Kb;window.cr_createDCRuntime=Lb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var a=
document.createElement("screencanvas")||document.createElement("canvas");a.Pr=!0;document.body.appendChild(a);a=new h(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 h=document.getElementById("c2canvas");return h?h.c2runtime:window.c2runtime?window.c2runtime:null};
window.cr_sizeCanvas=function(h,m){if(0!==h&&0!==m){var d=window.cr_getC2Runtime();d&&d.setSize(h,m)}};window.cr_setSuspended=function(h){var m=window.cr_getC2Runtime();m&&m.setSuspended(h)};
(function(){function h(e,a){this.b=e;this.Dg=null;this.scrollX=this.b.Ka/2;this.scrollY=this.b.Ja/2;this.scale=1;this.j=0;this.vf=!0;this.name=a[0];this.width=a[1];this.height=a[2];this.Nm=a[3];this.xm=a[4];this.M=a[5];var b=a[6],c,k;this.O=[];this.Cf=[];c=0;for(k=b.length;c<k;c++){var d=new Mb(this,b[c]);d.Rl=c;this.O.push(d)}b=a[7];this.he=[];c=0;for(k=b.length;c<k;c++){var d=b[c],f=this.b.n[d[1]];f.Tb||(f.Tb=d);this.he.push(d);-1===this.Cf.indexOf(f)&&this.Cf.push(f)}this.D=[];this.R=[];this.ka=
[];c=0;for(k=a[8].length;c<k;c++)this.D.push({id:a[8][c][0],name:a[8][c][1],Qa:-1,Uc:!0,index:c}),this.ka.push(a[8][c][2].slice(0));this.md();this.Jd=new pa(0,0,1,1);this.Cj=new pa(0,0,1,1);this.Id={}}function m(e,a){this.Z=e;this.b=e.b;this.d=[];this.scale=1;this.j=0;this.$d=!1;this.ld=new pa(0,0,0,0);this.Gm=new ta;this.Fb=this.Ua=this.Gb=this.Ta=0;this.Ib=!1;this.name=a[0];this.index=a[1];this.M=a[2];this.visible=a[3];this.qd=a[4];this.te=a[5];this.fd=a[6];this.gd=a[7];this.opacity=a[8];this.wi=
a[9];this.nd=a[10];this.eb=a[11];this.ao=a[12];this.qf="source-over";this.Wa=this.Xa=0;this.Kd=!1;var b=a[13],c,d;this.Ge=[];c=0;for(d=b.length;c<d;c++){var f=b[c],h=this.b.n[f[1]];h.Tb||(h.Tb=f,h.Nn=this.index);this.Ge.push(f);-1===this.Z.Cf.indexOf(h)&&this.Z.Cf.push(h)}this.D=[];this.R=[];this.ka=[];c=0;for(d=a[14].length;c<d;c++)this.D.push({id:a[14][c][0],name:a[14][c][1],Qa:-1,Uc:!0,index:c}),this.ka.push(a[14][c][2].slice(0));this.md();this.Jd=new pa(0,0,1,1);this.Cj=new pa(0,0,1,1)}function d(e,
a){return e.ve-a.ve}h.prototype.aq=function(e){var a=e.type.M.toString();this.Id.hasOwnProperty(a)||(this.Id[a]=[]);this.Id[a].push(this.b.Kj(e))};h.prototype.hl=function(){var e=this.O[0];return!e.te&&1===e.opacity&&!e.wi&&e.visible};h.prototype.md=function(){this.R.length=0;var e,a,b;e=0;for(a=this.D.length;e<a;e++)b=this.D[e],b.Uc&&this.R.push(b)};h.prototype.Ci=function(e){var a,b,c;a=0;for(b=this.D.length;a<b;a++)if(c=this.D[a],c.name===e)return c;return null};var f=[];h.prototype.Pj=function(){this.xm&&
(this.Dg=this.b.ri[this.xm]);this.b.X=this;this.scrollX=this.b.Ka/2;this.scrollY=this.b.Ja/2;var e,a,b,c,k,n,h;e=0;for(b=this.b.n.length;e<b;e++)if(a=this.b.n[e],!a.B)for(k=a.d,a=0,c=k.length;a<c;a++)if(n=k[a],n.e){var l=n.e.Rl;l>=this.O.length&&(l=this.O.length-1);n.e=this.O[l];n.e.d.push(n);n.e.Ib=!0}f.length=0;this.Bn();e=0;for(b=this.O.length;e<b;e++)n=this.O[e],n.Ln(),n.$d=!0,a=n.pb(0,0,!0,!0),c=n.pb(0,0,!1,!0),n.$d=!1,this.b.Ic&&(a=a+0.5|0,c=c+0.5|0),n.Fj(a,c,null);k=!1;if(!this.vf){for(h in this.Id)if(this.Id.hasOwnProperty(h)&&
(a=this.b.Pg(parseInt(h,10)))&&!a.B&&this.b.Zj(a)){c=this.Id[h];e=0;for(b=c.length;e<b;e++){n=null;if(a.ma.Bd&&(n=this.Ng(c[e].w.l),!n))continue;n=this.b.td(a.Tb,n,!1,0,0,!0);this.b.hh(n,c[e]);k=!0;f.push(n)}c.length=0}e=0;for(b=this.O.length;e<b;e++)this.O[e].d.sort(d),this.O[e].Ib=!0}k&&(this.b.Va(),this.b.mm());for(e=0;e<f.length;e++)if(n=f[e],n.type.Nb)for(b=n.yf(),a=0,c=n.type.gb.length;a<c;a++)h=n.type.gb[a],n.type!==h&&(h.d.length>b?n.siblings.push(h.d[b]):h.Tb&&(k=this.b.td(h.Tb,n.e,!0,n.x,
n.y,!0),this.b.Va(),h.Qh(),n.siblings.push(k),f.push(k)));e=0;for(b=this.he.length;e<b;e++)this.b.td(this.he[e],null,!0);this.b.of=null;this.b.Va();if(this.b.V&&!this.b.jb)for(e=0,b=this.b.n.length;e<b;e++)h=this.b.n[e],!h.B&&h.d.length&&h.wj&&h.wj(this.b.V);e=0;for(b=f.length;e<b;e++)n=f[e],this.b.trigger(Object.getPrototypeOf(n.type.ma).g.Uh,n);f.length=0;this.b.trigger(U.prototype.g.cn,null);this.vf=!1};h.prototype.Kn=function(){var e,a,b,c,d;a=e=0;for(b=this.he.length;e<b;e++)c=this.he[e],d=this.b.n[c[1]],
d.global?this.b.td(c,null,!0):(this.he[a]=c,a++);this.he.length=a};h.prototype.hq=function(){this.b.trigger(U.prototype.g.bn,null);this.b.Oc.Hb.length=0;var e,a,b,c,d,f;e=0;for(a=this.O.length;e<a;e++){d=this.O[e].d;b=0;for(c=d.length;b<c;b++)f=d[b],f.type.global||(this.b.Zj(f.type)&&this.aq(f),this.b.Sd(f));this.b.Va();d.length=0;this.O[e].Ib=!0}e=0;for(a=this.b.n.length;e<a;e++)if(d=this.b.n[e],!(d.global||d.ma.Bd||d.ma.Oj||d.B)){b=0;for(c=d.d.length;b<c;b++)this.b.Sd(d.d[b]);this.b.Va()}};h.prototype.wc=
function(e){var a,b=e,c=!1,d=!this.b.Wb;d&&(this.b.fh||(this.b.fh=document.createElement("canvas"),a=this.b.fh,a.width=this.b.K,a.height=this.b.J,this.b.Gl=a.getContext("2d"),c=!0),a=this.b.fh,b=this.b.Gl,a.width!==this.b.K&&(a.width=this.b.K,c=!0),a.height!==this.b.J&&(a.height=this.b.J,c=!0),c&&(b.webkitImageSmoothingEnabled=this.b.S,b.mozImageSmoothingEnabled=this.b.S,b.msImageSmoothingEnabled=this.b.S,b.imageSmoothingEnabled=this.b.S));b.globalAlpha=1;b.globalCompositeOperation="source-over";
this.b.Zh&&!this.hl()&&b.clearRect(0,0,this.b.K,this.b.J);var f,h,c=0;for(f=this.O.length;c<f;c++)h=this.O[c],h.visible&&0<h.opacity&&11!==h.eb&&h.wc(b);d&&e.drawImage(a,0,0,this.b.width,this.b.height)};h.prototype.Vb=function(e){var a=0<this.R.length||this.b.df||!this.b.Wb;if(a){this.b.xb||(this.b.xb=e.Yc(this.b.K,this.b.J,this.b.S));if(this.b.xb.nf!==this.b.K||this.b.xb.mf!==this.b.J)e.deleteTexture(this.b.xb),this.b.xb=e.Yc(this.b.K,this.b.J,this.b.S);e.Mc(this.b.xb);this.b.Wb||e.We(this.b.K,this.b.J)}else this.b.xb&&
(e.Mc(null),e.deleteTexture(this.b.xb),this.b.xb=null);this.b.Zh&&!this.hl()&&e.clear(0,0,0,0);var b,c;b=0;for(c=this.O.length;b<c;b++)this.O[b].visible&&0<this.O[b].opacity&&this.O[b].Vb(e);a&&(0===this.R.length||1===this.R.length&&this.b.Wb?(1===this.R.length?(a=this.R[0].index,e.Nc(this.R[0].Qa),e.Ve(null,1/this.b.K,1/this.b.J,0,0,1,1,this.scale,this.j,0,0,this.ka[a]),e.xh(this.R[0].Qa)&&(this.b.aa=!0)):e.Nc(0),this.b.Wb||e.We(this.b.width,this.b.height),e.Mc(null),e.se(1),e.Bb(this.b.xb),e.tm(),
e.Kc(),e.Pc(),a=this.b.width/2,b=this.b.height/2,e.zh(-a,b,a,b,a,-b,-a,-b),e.Bb(null)):this.Dj(e,null,null,null))};h.prototype.xf=function(){return 0<this.R.length||this.b.df||!this.b.Wb?this.b.xb:null};h.prototype.el=function(){var e=this.O[0].tb(),a,b,c;a=1;for(b=this.O.length;a<b;a++)c=this.O[a],(0!==c.fd||0!==c.gd)&&c.tb()<e&&(e=c.tb());return e};h.prototype.qm=function(e){if(!this.Nm){var a=this.b.K*(1/this.el())/2;e>this.width-a&&(e=this.width-a);e<a&&(e=a)}this.scrollX!==e&&(this.scrollX=e,
this.b.aa=!0)};h.prototype.rm=function(e){if(!this.Nm){var a=this.b.J*(1/this.el())/2;e>this.height-a&&(e=this.height-a);e<a&&(e=a)}this.scrollY!==e&&(this.scrollY=e,this.b.aa=!0)};h.prototype.Bn=function(){this.qm(this.scrollX);this.rm(this.scrollY)};h.prototype.Dj=function(e,a,b,c){var d=b?b.R:a?a.R:this.R,f=1,h=0,l=0,g=0;b?(f=b.e.tb(),h=b.e.ga(),l=b.e.Ta,g=b.e.Ua):a&&(f=a.tb(),h=a.ga(),l=a.Ta,g=a.Ua);var q=this.b.Ai,m,s,p,v,C=0,R=1,W,A=this.b.K,E=this.b.J,Q=A/2,ga=E/2,r=a?a.Jd:this.Jd,x=a?a.Cj:
this.Cj,D=0,K=0,H=0,I=0,z=A,S=A,F=E,M=E,w=p=0,ha=b?b.e.ga():0;if(b){m=0;for(s=d.length;m<s;m++)p+=e.Qo(d[m].Qa),w+=e.Ro(d[m].Qa);v=b.Za;D=a.Ca(v.left,v.top,!0);H=a.Ca(v.left,v.top,!1);z=a.Ca(v.right,v.bottom,!0);F=a.Ca(v.right,v.bottom,!1);0!==ha&&(m=a.Ca(v.right,v.top,!0),s=a.Ca(v.right,v.top,!1),K=a.Ca(v.left,v.bottom,!0),I=a.Ca(v.left,v.bottom,!1),v=Math.min(D,z,m,K),z=Math.max(D,z,m,K),D=v,v=Math.min(H,F,s,I),F=Math.max(H,F,s,I),H=v);D-=p;H-=w;z+=p;F+=w;x.left=D/A;x.top=1-H/E;x.right=z/A;x.bottom=
1-F/E;K=D=ma(D);I=H=ma(H);S=z=na(z);M=F=na(F);K-=p;I-=w;S+=p;M+=w;0>D&&(D=0);0>H&&(H=0);z>A&&(z=A);F>E&&(F=E);0>K&&(K=0);0>I&&(I=0);S>A&&(S=A);M>E&&(M=E);r.left=D/A;r.top=1-H/E;r.right=z/A;r.bottom=1-F/E}else r.left=x.left=0,r.top=x.top=0,r.right=x.right=1,r.bottom=x.bottom=1;w=b&&((b.j||ha)&&e.dg(d[0].Qa)||0!==p||0!==w||1!==b.opacity||b.type.ma.Ml)||a&&!b&&1!==a.opacity;e.tm();if(w){q[C]||(q[C]=e.Yc(A,E,this.b.S));if(q[C].nf!==A||q[C].mf!==E)e.deleteTexture(q[C]),q[C]=e.Yc(A,E,this.b.S);e.Nc(0);
e.Mc(q[C]);W=M-I;e.clearRect(K,E-I-W,S-K,W);b?b.Vb(e):(e.Bb(this.b.Ob),e.se(a.opacity),e.Kc(),e.translate(-Q,-ga),e.Pc(),e.Jc(D,F,z,F,z,H,D,H,r));x.left=x.top=0;x.right=x.bottom=1;b&&(v=r.top,r.top=r.bottom,r.bottom=v);C=1;R=0}e.se(1);p=d.length-1;var ha=e.xj(d[p].Qa)||!a&&!b&&!this.b.Wb,J=0;m=0;for(s=d.length;m<s;m++){q[C]||(q[C]=e.Yc(A,E,this.b.S));if(q[C].nf!==A||q[C].mf!==E)e.deleteTexture(q[C]),q[C]=e.Yc(A,E,this.b.S);e.Nc(d[m].Qa);J=d[m].index;e.xh(d[m].Qa)&&(this.b.aa=!0);0!=m||w?(e.Ve(c,1/
A,1/E,x.left,x.top,x.right,x.bottom,f,h,l,g,b?b.ka[J]:a?a.ka[J]:this.ka[J]),e.Bb(null),m!==p||ha?(e.Mc(q[C]),W=M-I,v=E-I-W,e.clearRect(K,v,S-K,W)):(b?e.Ld(b.Xa,b.Wa):a&&e.Ld(a.Xa,a.Wa),e.Mc(c)),e.Bb(q[R]),e.Kc(),e.translate(-Q,-ga),e.Pc(),e.Jc(D,F,z,F,z,H,D,H,r),m!==p||ha||e.Bb(null)):(e.Mc(q[C]),W=M-I,v=E-I-W,e.clearRect(K,v,S-K,W),b?(e.Ve(c,1/b.width,1/b.height,x.left,x.top,x.right,x.bottom,f,h,l,g,b.ka[J]),b.Vb(e)):(e.Ve(c,1/A,1/E,0,0,1,1,f,h,l,g,a?a.ka[J]:this.ka[J]),e.Bb(a?this.b.Ob:this.b.xb),
e.Kc(),e.translate(-Q,-ga),e.Pc(),e.Jc(D,F,z,F,z,H,D,H,r)),x.left=x.top=0,x.right=x.bottom=1,b&&!ha&&(v=F,F=H,H=v));C=0===C?1:0;R=0===C?1:0}ha&&(e.Nc(0),b?e.Ld(b.Xa,b.Wa):a?e.Ld(a.Xa,a.Wa):this.b.Wb||(e.We(this.b.width,this.b.height),Q=this.b.width/2,ga=this.b.height/2,H=D=0,z=this.b.width,F=this.b.height),e.Mc(c),e.Bb(q[R]),e.Kc(),e.translate(-Q,-ga),e.Pc(),b&&1===d.length&&!w?e.Jc(D,H,z,H,z,F,D,F,r):e.Jc(D,F,z,F,z,H,D,H,r),e.Bb(null))};h.prototype.Ng=function(e){var a,b;a=0;for(b=this.O.length;a<
b;a++)if(this.O[a].M===e)return this.O[a];return null};h.prototype.$b=function(){var e,a,b,c={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.j,w:this.width,h:this.height,fv:this.vf,persist:this.Id,fx:[],layers:{}};e=0;for(a=this.D.length;e<a;e++)b=this.D[e],c.fx.push({name:b.name,active:b.Uc,params:this.ka[b.index]});e=0;for(a=this.O.length;e<a;e++)b=this.O[e],c.layers[b.M.toString()]=b.$b();return c};h.prototype.Ec=function(e){var a,b,c,d;this.scrollX=e.sx;this.scrollY=e.sy;this.scale=e.s;this.j=
e.a;this.width=e.w;this.height=e.h;this.Id=e.persist;"undefined"!==typeof e.fv&&(this.vf=e.fv);var f=e.fx;a=0;for(b=f.length;a<b;a++)if(c=this.Ci(f[a].name))c.Uc=f[a].active,this.ka[c.index]=f[a].params;this.md();a=e.layers;for(d in a)a.hasOwnProperty(d)&&(e=this.Ng(parseInt(d,10)))&&e.Ec(a[d])};zb=h;m.prototype.md=function(){this.R.length=0;var e,a,b;e=0;for(a=this.D.length;e<a;e++)b=this.D[e],b.Uc&&this.R.push(b)};m.prototype.Ci=function(e){var a,b,c;a=0;for(b=this.D.length;a<b;a++)if(c=this.D[a],
c.name===e)return c;return null};m.prototype.Ln=function(){var e,a,b,c,d,n;a=e=0;for(b=this.Ge.length;e<b;e++){c=this.Ge[e];d=this.b.n[c[1]];n=this.b.Zj(d);d=!0;if(!n||this.Z.vf)c=this.b.td(c,this,!0),f.push(c),c.type.global&&(d=!1);d&&(this.Ge[a]=this.Ge[e],a++)}this.Ge.length=a;this.b.Va();!this.b.p&&this.D.length&&(this.eb=this.ao);this.qf=ab(this.eb);this.b.m&&bb(this,this.eb,this.b.m)};m.prototype.pq=function(){if(this.Ib){var e,a;e=0;for(a=this.d.length;e<a;e++)this.d[e].ve=e;this.Ib=!1}};m.prototype.tb=
function(e){return this.Oo()*(this.b.Wb||e?this.b.lf:1)};m.prototype.Oo=function(){return(this.scale*this.Z.scale-1)*this.nd+1};m.prototype.ga=function(){return this.$d?0:Ea(this.Z.j+this.j)};m.prototype.wc=function(e){this.Kd=this.wi||1!==this.opacity||0!==this.eb;var a=this.b.canvas,b=e,c=!1;e.globalAlpha=1;e.globalCompositeOperation="source-over";this.Kd&&(this.b.eh||(this.b.eh=document.createElement("canvas"),a=this.b.eh,a.width=this.b.K,a.height=this.b.J,this.b.Fl=a.getContext("2d"),c=!0),a=
this.b.eh,b=this.b.Fl,a.width!==this.b.K&&(a.width=this.b.K,c=!0),a.height!==this.b.J&&(a.height=this.b.J,c=!0),c&&(b.webkitImageSmoothingEnabled=this.b.S,b.mozImageSmoothingEnabled=this.b.S,b.msImageSmoothingEnabled=this.b.S,b.imageSmoothingEnabled=this.b.S),this.te&&b.clearRect(0,0,this.b.K,this.b.J));this.te||(b.fillStyle="rgb("+this.qd[0]+","+this.qd[1]+","+this.qd[2]+")",b.fillRect(0,0,this.b.K,this.b.J));b.save();this.$d=!0;var c=this.pb(0,0,!0,!0),d=this.pb(0,0,!1,!0);this.$d=!1;this.b.Ic&&
(c=c+0.5|0,d=d+0.5|0);this.Fj(c,d,b);var f=this.tb();b.scale(f,f);b.translate(-c,-d);for(var h,c=0,d=this.d.length;c<d;c++)f=this.d[c],f.visible&&0!==f.width&&0!==f.height&&(f.cb(),h=f.Za,h.right<this.Ta||h.bottom<this.Ua||h.left>this.Gb||h.top>this.Fb||(b.globalCompositeOperation=f.qf,f.wc(b)));b.restore();this.Kd&&(e.globalCompositeOperation=this.qf,e.globalAlpha=this.opacity,e.drawImage(a,0,0))};m.prototype.Fj=function(e,a,b){var c=this.tb();this.Ta=e;this.Ua=a;this.Gb=e+this.b.K*(1/c);this.Fb=
a+this.b.J*(1/c);e=this.ga();0!==e&&(b&&(b.translate(this.b.K/2,this.b.J/2),b.rotate(-e),b.translate(this.b.K/-2,this.b.J/-2)),this.ld.set(this.Ta,this.Ua,this.Gb,this.Fb),this.ld.offset((this.Ta+this.Gb)/-2,(this.Ua+this.Fb)/-2),this.Gm.vm(this.ld,e),this.Gm.Ak(this.ld),this.ld.offset((this.Ta+this.Gb)/2,(this.Ua+this.Fb)/2),this.Ta=this.ld.left,this.Ua=this.ld.top,this.Gb=this.ld.right,this.Fb=this.ld.bottom)};m.prototype.Vb=function(e){var a=this.b.K,b=this.b.J,c=0,d=0;if(this.Kd=this.wi||1!==
this.opacity||0<this.R.length||0!==this.eb){this.b.Ob||(this.b.Ob=e.Yc(this.b.K,this.b.J,this.b.S));if(this.b.Ob.nf!==this.b.K||this.b.Ob.mf!==this.b.J)e.deleteTexture(this.b.Ob),this.b.Ob=e.Yc(this.b.K,this.b.J,this.b.S);e.Mc(this.b.Ob);this.te&&e.clear(0,0,0,0)}this.te||e.clear(this.qd[0]/255,this.qd[1]/255,this.qd[2]/255,1);this.$d=!0;var d=this.pb(0,0,!0,!0),f=this.pb(0,0,!1,!0);this.$d=!1;this.b.Ic&&(d=d+0.5|0,f=f+0.5|0);this.Fj(d,f,null);f=this.tb();e.Kc();e.scale(f,f);e.Gj(-this.ga());e.translate((this.Ta+
this.Gb)/-2,(this.Ua+this.Fb)/-2);e.Pc();var h,l,g;h=0;for(l=this.d.length;h<l;h++)if(g=this.d[h],g.visible&&0!==g.width&&0!==g.height&&(g.cb(),c=g.Za,!(c.right<this.Ta||c.bottom<this.Ua||c.left>this.Gb||c.top>this.Fb)))if(g.Qm)if(c=g.R[0].Qa,d=g.R[0].index,1!==g.R.length||e.xj(c)||e.Rp(c)||(g.j||g.e.ga())&&e.dg(c)||1!==g.opacity||g.type.ma.Ml)this.Z.Dj(e,this,g,this.Kd?this.b.Ob:this.Z.xf()),e.Kc(),e.scale(f,f),e.Gj(-this.ga()),e.translate((this.Ta+this.Gb)/-2,(this.Ua+this.Fb)/-2),e.Pc();else{e.Nc(c);
e.Ld(g.Xa,g.Wa);e.xh(c)&&(this.b.aa=!0);var q=0,m=0,s=0,p=0;e.dg(c)&&(c=g.Za,q=this.Ca(c.left,c.top,!0),m=this.Ca(c.left,c.top,!1),s=this.Ca(c.right,c.bottom,!0),c=this.Ca(c.right,c.bottom,!1),q/=a,m=1-m/b,s/=a,p=1-c/b);e.Ve(this.Kd?this.b.Ob:this.Z.xf(),1/g.width,1/g.height,q,m,s,p,this.tb(),this.ga(),this.Ta,this.Ua,g.ka[d]);g.Vb(e)}else e.Nc(0),e.Ld(g.Xa,g.Wa),g.Vb(e);this.Kd&&(c=this.R.length?this.R[0].Qa:0,d=this.R.length?this.R[0].index:0,0===this.R.length||1===this.R.length&&!e.xj(c)&&1===
this.opacity?(1===this.R.length?(e.Nc(c),e.Ve(this.Z.xf(),1/this.b.K,1/this.b.J,0,0,1,1,this.tb(),this.ga(),this.Ta,this.Ua,this.ka[d]),e.xh(c)&&(this.b.aa=!0)):e.Nc(0),e.Mc(this.Z.xf()),e.se(this.opacity),e.Bb(this.b.Ob),e.Ld(this.Xa,this.Wa),e.Kc(),e.Pc(),a=this.b.K/2,b=this.b.J/2,e.zh(-a,b,a,b,a,-b,-a,-b),e.Bb(null)):this.Z.Dj(e,this,null,this.Z.xf()))};m.prototype.pb=function(e,a,b,c){var d=this.b.devicePixelRatio;this.b.je&&(e*=d,a*=d);var d=this.b.dm,f=this.b.em,d=(this.Z.scrollX-d)*this.fd+
d,f=(this.Z.scrollY-f)*this.gd+f,h=1/this.tb(!c);c?(d-=this.b.K*h/2,f-=this.b.J*h/2):(d-=this.b.width*h/2,f-=this.b.height*h/2);d+=e*h;f+=a*h;a=this.ga();0!==a&&(d-=this.Z.scrollX,f-=this.Z.scrollY,e=Math.cos(a),a=Math.sin(a),c=d*e-f*a,f=f*e+d*a,d=c+this.Z.scrollX,f+=this.Z.scrollY);return b?d:f};m.prototype.Ca=function(e,a,b){var c=this.ga();if(0!==c){e-=this.Z.scrollX;a-=this.Z.scrollY;var d=Math.cos(-c),c=Math.sin(-c),f=e*d-a*c;a=a*d+e*c;e=f+this.Z.scrollX;a+=this.Z.scrollY}d=this.b.dm;c=this.b.em;
d=(this.Z.scrollX-d)*this.fd+d;c=(this.Z.scrollY-c)*this.gd+c;f=1/this.tb(!1);d-=this.b.K*f/2;c-=this.b.J*f/2;d=(e-d)/f;c=(a-c)/f;e=this.b.devicePixelRatio;this.b.je&&(d/=e,c/=e);return b?d:c};m.prototype.$b=function(){var e,a,b,c={s:this.scale,a:this.j,vl:this.Ta,vt:this.Ua,vr:this.Gb,vb:this.Fb,v:this.visible,bc:this.qd,t:this.te,px:this.fd,py:this.gd,o:this.opacity,zr:this.nd,fx:[],instances:[]};e=0;for(a=this.D.length;e<a;e++)b=this.D[e],c.fx.push({name:b.name,active:b.Uc,params:this.ka[b.index]});
return c};m.prototype.Ec=function(e){var a,b;this.scale=e.s;this.j=e.a;this.Ta=e.vl;this.Ua=e.vt;this.Gb=e.vr;this.Fb=e.vb;this.visible=e.v;this.qd=e.bc;this.te=e.t;this.fd=e.px;this.gd=e.py;this.opacity=e.o;this.nd=e.zr;var c=e.fx;e=0;for(a=c.length;e<a;e++)if(b=this.Ci(c[e].name))b.Uc=c[e].active,this.ka[b.index]=c[e].params;this.md();this.d.sort(d);this.Ib=!0};Mb=m})();
(function(){function h(a,b){var c,e=a.length;switch(e){case 0:return!0;case 1:return a[0]===b[0];case 2:return a[0]===b[0]&&a[1]===b[1];default:for(c=0;c<e;c++)if(a[c]!==b[c])return!1;return!0}}function m(a,b){return a.index-b.index}function d(a){var b,c,e,g;2===a.length?a[0].index>a[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2<a.length&&a.sort(m);a.length>=q.length&&(q.length=a.length+1);q[a.length]||(q[a.length]=[]);g=q[a.length];b=0;for(c=g.length;b<c;b++)if(e=g[b],h(a,e))return e;g.push(a);return a}
function f(a,b){this.b=a;this.Jm={};this.Rk={};this.Ni=!1;this.kl=new ba;this.name=b[0];var c=b[1];this.wd=[];var e,g;e=0;for(g=c.length;e<g;e++)this.ml(c[e],null,this.wd)}function e(a){this.type=a;this.d=[];this.T=[];this.da=!0}function a(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.ua=[];this.Md=[];this.il=this.Nh=this.Wj=this.Qi=this.group=this.Am=!1;this.na=[];this.gc=[];this.fc=[];c[1]?(this.zf=c[1][1].toLowerCase(),this.group=!0,this.Qi=!!c[1][0],this.b.Ae.push(this),this.b.rg[this.zf.toLowerCase()]=
this.Qi):(this.zf="",this.Qi=this.group=!1);this.Gc=c[2];this.M=c[4];this.group||(this.b.zk[this.M.toString()]=this);var e=c[5];a=0;for(b=e.length;a<b;a++){var g=new Nb(this,e[a]);g.index=a;this.na.push(g);this.nk(g.type)}e=c[6];a=0;for(b=e.length;a<b;a++)g=new Ob(this,e[a]),g.index=a,this.gc.push(g);if(8===c.length)for(c=c[7],a=0,b=c.length;a<b;a++)this.sheet.ml(c[a],this,this.fc);this.Xg=!1;this.na.length&&(this.Xg=null==this.na[0].type&&this.na[0].za==U.prototype.g.Wm)}function b(a,b){var c,e,
g;if(a&&(-1===b.indexOf(a)&&b.push(a),a.Nb))for(c=0,e=a.gb.length;c<e;c++)g=a.gb[c],a!==g&&-1===b.indexOf(g)&&b.push(g)}function c(a,b){this.Kb=a;this.sheet=a.sheet;this.b=a.b;this.r=[];this.F=[];this.pa={};this.index=-1;this.za=b[1];this.trigger=0<b[3];this.Qk=2===b[3];this.ed=b[4];this.Df=b[5];this.wp=b[6];this.M=b[7];this.b.Ce[this.M.toString()]=this;-1===b[0]?(this.type=null,this.Ea=this.Jj,this.Xd=null,this.Na=-1):(this.type=this.b.n[b[0]],this.Ea=this.wp?this.Zp:this.Ij,b[2]?(this.Xd=this.type.Mg(b[2]),
this.Na=this.type.Bi(b[2])):(this.Xd=null,this.Na=-1),this.Kb.parent&&this.Kb.parent.Eh());this.Qk&&(this.Ea=this.$p);if(10===b.length){var c,e,g=b[9];c=0;for(e=g.length;c<e;c++){var d=new Pb(this,g[c]);this.r.push(d)}this.F.length=g.length}}function k(a,b){this.Kb=a;this.sheet=a.sheet;this.b=a.b;this.r=[];this.F=[];this.pa={};this.index=-1;this.za=b[1];-1===b[0]?(this.type=null,this.Ea=this.Jj,this.Xd=null,this.Na=-1):(this.type=this.b.n[b[0]],this.Ea=this.Ij,b[2]?(this.Xd=this.type.Mg(b[2]),this.Na=
this.type.Bi(b[2])):(this.Xd=null,this.Na=-1));this.M=b[3];this.b.ze[this.M.toString()]=this;if(6===b.length){var c,e,g=b[5];c=0;for(e=g.length;c<e;c++){var d=new Pb(this,g[c]);this.r.push(d)}this.F.length=g.length}}function n(a,b){this.u=a;this.Kb=a.Kb;this.sheet=a.sheet;this.b=a.b;this.type=b[0];this.xc=null;this.Gk=this.Nd=0;this.Z=null;this.key=0;this.object=null;this.index=0;this.Sh=this.Ze=this.Sk=this.de=this.pg=null;var c,e,g;switch(b[0]){case 0:case 7:this.xc=new Qb(this,b[1]);this.Nd=0;
this.get=this.Wo;break;case 1:this.xc=new Qb(this,b[1]);this.Nd=0;this.get=this.Xo;break;case 5:this.xc=new Qb(this,b[1]);this.Nd=0;this.get=this.bp;break;case 3:case 8:this.Gk=b[1];this.get=this.Uo;break;case 6:this.Z=this.b.bj[b[1]];this.get=this.cp;break;case 9:this.key=b[1];this.get=this.$o;break;case 4:this.object=this.b.n[b[1]];this.get=this.dp;this.Kb.nk(this.object);this.u instanceof Ob?this.Kb.Eh():this.Kb.parent&&this.Kb.parent.Eh();break;case 10:this.index=b[1];this.get=a.type.B?this.Yo:
this.Zo;break;case 11:this.pg=b[1];this.de=null;this.get=this.Vo;break;case 2:case 12:this.Sk=b[1];this.get=this.To;break;case 13:for(this.get=this.ep,this.Ze=[],this.Sh=[],c=1,e=b.length;c<e;c++)g=new Pb(this.u,b[c]),this.Ze.push(g),this.Sh.push(0)}}function t(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.ua=[];this.name=c[1];this.Rm=c[2];this.Pi=c[3];this.If=!!c[4];this.Wg=!!c[5];this.M=c[6];this.b.ef[this.M.toString()]=this;this.data=this.Pi;this.parent?(this.oe=this.If||this.Wg?-1:this.b.gq++,
this.b.xn.push(this)):(this.oe=-1,this.b.wn.push(this))}function l(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.ua=[];this.Bf=null;this.kp=c[1]}function g(){this.Cm=[];this.reset(null)}var q=[];f.prototype.toString=G("name");f.prototype.ml=function(a,b,c){switch(a[0]){case 0:a=new Rb(this,b,a);if(a.Gc)for(c.push(a),c=0,b=a.na.length;c<b;c++)a.na[c].trigger&&this.nl(a,c);else a.xl()?this.nl(a,0):c.push(a);break;case 1:a=new Jb(this,b,a);c.push(a);break;case 2:a=new Sb(this,b,a),c.push(a)}};f.prototype.ta=
function(){var a,b;a=0;for(b=this.wd.length;a<b;a++)this.wd[a].ta(a<b-1&&this.wd[a+1].Xg)};f.prototype.Ea=function(a){this.b.Or||(this.Ni=!0,a||(this.b.Wi=!0));var b,c;b=0;for(c=this.wd.length;b<c;b++){var e=this.wd[b];e.Ea();this.b.ji(e.ua);this.b.vc.yd()&&!this.b.qb.length||this.b.Va()}a||(this.b.Wi=!1)};f.prototype.nl=function(a,b){a.Gc||this.b.Ph.push(a);var c,e,g=a.na[b],d;d=g.type?g.type.name:"system";var f=(c=g.Qk)?this.Rk:this.Jm;f[d]||(f[d]=[]);d=f[d];f=g.za;if(c){if(g.r.length&&(g=g.r[0],
1===g.type&&2===g.xc.type)){g=g.xc.value.toLowerCase();c=0;for(e=d.length;c<e;c++)if(d[c].method==f){c=d[c].Fg;c[g]?c[g].push([a,b]):c[g]=[[a,b]];return}c={};c[g]=[[a,b]];d.push({method:f,Fg:c})}}else{c=0;for(e=d.length;c<e;c++)if(d[c].method==f){d[c].Fg.push([a,b]);return}d.push({method:f,Fg:[[a,b]]})}};Ab=f;e.prototype.Mi=function(){return this.da?this.type.d.length:this.d.length};e.prototype.zc=function(){return this.da?this.type.d:this.d};e.prototype.cg=function(a){a&&(a.b.sb().ic.Gc?(this.da&&
(this.d.length=0,wa(this.T,a.type.d),this.da=!1),a=this.T.indexOf(a),-1!==a&&(this.d.push(this.T[a]),this.T.splice(a,1))):(this.da=!1,this.d.length=1,this.d[0]=a))};gb=e;window._c2hh_="";a.prototype.ta=function(a){var b,c=this.parent;if(this.group)for(this.Nh=!0;c;){if(!c.group){this.Nh=!1;break}c=c.parent}this.Wj=!this.xl()&&(!this.parent||this.parent.group&&this.parent.Nh);this.il=!!a;this.Md=this.ua.slice(0);for(c=this.parent;c;){a=0;for(b=c.ua.length;a<b;a++)this.vn(c.ua[a]);c=c.parent}this.ua=
d(this.ua);this.Md=d(this.Md);a=0;for(b=this.na.length;a<b;a++)this.na[a].ta();a=0;for(b=this.gc.length;a<b;a++)this.gc[a].ta();a=0;for(b=this.fc.length;a<b;a++)this.fc[a].ta(a<b-1&&this.fc[a+1].Xg)};a.prototype.nk=function(a){b(a,this.ua)};a.prototype.vn=function(a){b(a,this.Md)};a.prototype.Eh=function(){this.Am=!0;this.parent&&this.parent.Eh()};a.prototype.xl=function(){return this.na.length?this.na[0].trigger:!1};a.prototype.Ea=function(){var a,b=!1,c,g=this.b.sb();g.ic=this;this.Xg||(g.pi=!1);
if(this.Gc){0===this.na.length&&(b=!0);g.fb=0;for(a=this.na.length;g.fb<a;g.fb++)this.na[g.fb].trigger||(c=this.na[g.fb].Ea())&&(b=!0);(g.le=b)&&this.Hj()}else{g.fb=0;for(a=this.na.length;g.fb<a;g.fb++)if(c=this.na[g.fb].Ea(),!c){g.le=!1;!this.Wj||this.b.vc.yd()&&!this.b.qb.length||this.b.Va();return}g.le=!0;this.Hj()}this.co(g)};a.prototype.co=function(a){a.le&&this.il&&(a.pi=!0);!this.Wj||this.b.vc.yd()&&!this.b.qb.length||this.b.Va()};a.prototype.Xp=function(a){this.b.sb().ic=this;this.na[a].Ea()&&
(this.Hj(),this.b.sb().le=!0)};a.prototype.Hj=function(){var a=this.b.sb(),b;a.Qb=0;for(b=this.gc.length;a.Qb<b;a.Qb++)if(this.gc[a.Qb].Ea())return;this.om()};a.prototype.Vp=function(){var a=this.b.sb(),b;for(b=this.gc.length;a.Qb<b;a.Qb++)if(this.gc[a.Qb].Ea())return;this.om()};a.prototype.om=function(){if(this.fc.length){var a,b,c,g,e=this.fc.length-1;this.b.zj(this);if(this.Am)for(a=0,b=this.fc.length;a<b;a++)c=this.fc[a],(g=!this.Nh||!this.group&&a<e)&&this.b.yj(c.ua),c.Ea(),g?this.b.Se(c.ua):
this.b.ji(c.ua);else for(a=0,b=this.fc.length;a<b;a++)this.fc[a].Ea();this.b.hm()}};a.prototype.Yp=function(){var a=this.b.sb();a.ic=this;var b=!1,c;a.fb=0;for(c=this.na.length;a.fb<c;a.fb++)if(this.na[a.fb].Ea())b=!0;else if(!this.Gc)return!1;return this.Gc?b:!0};a.prototype.rp=function(a){var b=a.index;if(0===b)return!0;for(--b;0<=b;--b)if(this.na[b].type===a.type)return!1;return!0};Rb=a;c.prototype.ta=function(){var a,b;a=0;for(b=this.r.length;a<b;a++)this.r[a].ta()};c.prototype.$p=L(!0);c.prototype.Jj=
function(){var a,b;a=0;for(b=this.r.length;a<b;a++)this.F[a]=this.r[a].get();return Ra(this.za.apply(this.b.Oc,this.F),this.Df)};c.prototype.Zp=function(){var a,b;a=0;for(b=this.r.length;a<b;a++)this.F[a]=this.r[a].get(a);a=this.za.apply(this.Xd?this.Xd:this.type,this.F);this.type.pd();return a};c.prototype.Ij=function(){var a,b,c,g,e,d,f,l=this.type.Y(),k=this.Kb.Gc&&!this.trigger,n=0,h=this.type.Nb;if(l.da){l.d.length=0;a=l.T.length=0;for(c=this.type.d.length;a<c;a++){d=this.type.d[a];b=0;for(g=
this.r.length;b<g;b++)this.F[b]=this.r[b].get(a);-1<this.Na?(this.type.B&&(n=d.type.Ee[this.type.yc]),b=this.za.apply(d.H[this.Na+n],this.F)):b=this.za.apply(d,this.F);(e=Ra(b,this.Df))?l.d.push(d):k&&l.T.push(d)}this.type.finish&&this.type.finish(!0);l.da=!1;this.type.pd();return l.Mi()}var m=0,q=(e=k&&!this.Kb.rp(this))?l.T:l.d,t=!1;a=0;for(c=q.length;a<c;a++){d=q[a];b=0;for(g=this.r.length;b<g;b++)this.F[b]=this.r[b].get(a);-1<this.Na?(this.type.B&&(n=d.type.Ee[this.type.yc]),b=this.za.apply(d.H[this.Na+
n],this.F)):b=this.za.apply(d,this.F);if(Ra(b,this.Df))if(t=!0,e){if(l.d.push(d),h)for(b=0,g=d.siblings.length;b<g;b++)f=d.siblings[b],f.type.Y().d.push(f)}else{q[m]=d;if(h)for(b=0,g=d.siblings.length;b<g;b++)f=d.siblings[b],f.type.Y().d[m]=f;m++}else if(e){q[m]=d;if(h)for(b=0,g=d.siblings.length;b<g;b++)f=d.siblings[b],f.type.Y().T[m]=f;m++}else if(k&&(l.T.push(d),h))for(b=0,g=d.siblings.length;b<g;b++)f=d.siblings[b],f.type.Y().T.push(f)}q.length=m;if(h)for(a=0,c=this.type.gb.length;a<c;a++)d=this.type.gb[a].Y(),
e?d.T.length=m:d.d.length=m;n=t;if(e&&!t)for(a=0,c=l.d.length;a<c;a++){d=l.d[a];b=0;for(g=this.r.length;b<g;b++)this.F[b]=this.r[b].get(a);b=-1<this.Na?this.za.apply(d.H[this.Na],this.F):this.za.apply(d,this.F);if(Ra(b,this.Df)){t=!0;break}}this.type.finish&&this.type.finish(n||k);return k?t:l.Mi()};Nb=c;k.prototype.ta=function(){var a,b;a=0;for(b=this.r.length;a<b;a++)this.r[a].ta()};k.prototype.Jj=function(){var a,b;a=0;for(b=this.r.length;a<b;a++)this.F[a]=this.r[a].get();return this.za.apply(this.b.Oc,
this.F)};k.prototype.Ij=function(){var a=this.type.Y().zc(),b,c,g,e,d;b=0;for(g=a.length;b<g;b++){d=a[b];c=0;for(e=this.r.length;c<e;c++)this.F[c]=this.r[c].get(b);-1<this.Na?(c=0,this.type.B&&(c=d.type.Ee[this.type.yc]),this.za.apply(d.H[this.Na+c],this.F)):this.za.apply(d,this.F)}return!1};Ob=k;var u=[],s=-1;n.prototype.ta=function(){var a,b;if(11===this.type)this.de=this.b.al(this.pg,this.Kb.parent);else if(13===this.type)for(a=0,b=this.Ze.length;a<b;a++)this.Ze[a].ta();this.xc&&this.xc.ta()};
n.prototype.Da=function(){s++;u.length===s&&u.push(new Tb);return u[s]};n.prototype.Aa=function(){s--};n.prototype.Wo=function(a){this.Nd=a||0;a=this.Da();this.xc.get(a);this.Aa();return a.data};n.prototype.Xo=function(a){this.Nd=a||0;a=this.Da();this.xc.get(a);this.Aa();return P(a.data)?a.data:""};n.prototype.dp=G("object");n.prototype.Uo=G("Gk");n.prototype.bp=function(a){this.Nd=a||0;a=this.Da();this.xc.get(a);this.Aa();return a.Ia()?this.b.wf(a.data):this.b.Fi(a.data)};n.prototype.cp=G("Z");n.prototype.$o=
G("key");n.prototype.Zo=G("index");n.prototype.Yo=function(a){var b=this.u.type,c=null,c=b.Y(),g=c.zc(),c=g.length?g[a%g.length].type:c.T[a%c.T.length].type;return this.index+c.Gg[b.yc]};n.prototype.Vo=G("de");n.prototype.To=G("Sk");n.prototype.ep=function(){var a,b;a=0;for(b=this.Ze.length;a<b;a++)this.Sh[a]=this.Ze[a].get();return this.Sh};Pb=n;t.prototype.ta=function(){this.ua=d(this.ua)};t.prototype.Fh=function(a){var b=this.b.Zk();this.parent&&!this.If&&b?(this.oe>=b.length&&(b.length=this.oe+
1),b[this.oe]=a):this.data=a};t.prototype.gl=function(){var a=this.b.Zk();return!this.parent||this.If||!a||this.Wg?this.data:this.oe>=a.length||"undefined"===typeof a[this.oe]?this.Pi:a[this.oe]};t.prototype.Ea=function(){!this.parent||this.If||this.Wg||this.Fh(this.Pi)};Jb=t;l.prototype.toString=function(){return"include:"+this.Bf.toString()};l.prototype.ta=function(){this.Bf=this.b.ri[this.kp];this.sheet.kl.add(this);this.ua=d(this.ua)};l.prototype.Ea=function(){this.parent&&this.b.fg(this.b.n);
this.Bf.Ni||this.Bf.Ea(!0);this.parent&&this.b.Se(this.b.n)};l.prototype.np=function(){for(var a=this.parent;a;){if(a.group&&!this.b.rg[a.zf.toLowerCase()])return!1;a=a.parent}return!0};Sb=l;g.prototype.reset=function(a){this.ic=a;this.Qb=this.fb=0;this.Cm.length=0;this.pi=this.le=!1};Ib=g})();
(function(){function h(d,f){this.u=d;this.b=d.b;this.type=f[0];this.get=[this.qo,this.mo,this.yo,this.Bo,this.fo,this.zo,this.uo,this.jo,this.to,this.xo,this.ho,this.wo,this.ko,this.vo,this.ro,this.so,this.no,this.oo,this.io,this.Ao,this.Ok,this.po,this.Ok,this.lo][this.type];var e=null;this.zb=this.r=this.F=this.za=this.Kh=this.Ma=this.first=this.value=null;this.Na=-1;this.bd=null;this.bk=-1;this.de=this.pg=null;this.gg=!1;switch(this.type){case 0:case 1:case 2:this.value=f[1];break;case 3:this.first=
new Qb(d,f[1]);break;case 18:this.first=new Qb(d,f[1]);this.Ma=new Qb(d,f[2]);this.Kh=new Qb(d,f[3]);break;case 19:this.za=f[1];this.F=[];this.r=[];3===f.length?(e=f[2],this.F.length=e.length+1):this.F.length=1;break;case 20:this.zb=this.b.n[f[1]];this.Na=-1;this.za=f[2];this.gg=f[3];this.bd=f[4]?new Qb(d,f[4]):null;this.F=[];this.r=[];6===f.length?(e=f[5],this.F.length=e.length+1):this.F.length=1;break;case 21:this.zb=this.b.n[f[1]];this.gg=f[2];this.bd=f[3]?new Qb(d,f[3]):null;this.bk=f[4];break;
case 22:this.zb=this.b.n[f[1]];this.zb.Mg(f[2]);this.Na=this.zb.Bi(f[2]);this.za=f[3];this.gg=f[4];this.bd=f[5]?new Qb(d,f[5]):null;this.F=[];this.r=[];7===f.length?(e=f[6],this.F.length=e.length+1):this.F.length=1;break;case 23:this.pg=f[1],this.de=null}4<=this.type&&17>=this.type&&(this.first=new Qb(d,f[1]),this.Ma=new Qb(d,f[2]));if(e){var a,b;a=0;for(b=e.length;a<b;a++)this.r.push(new Qb(d,e[a]))}}function m(d,f){this.type=d||Ub.hf;this.data=f||0;this.Pe=null;this.type==Ub.hf&&(this.data=Math.floor(this.data))}
h.prototype.ta=function(){23===this.type&&(this.de=this.u.b.al(this.pg,this.u.Kb.parent));this.first&&this.first.ta();this.Ma&&this.Ma.ta();this.Kh&&this.Kh.ta();this.bd&&this.bd.ta();if(this.r){var d,f;d=0;for(f=this.r.length;d<f;d++)this.r[d].ta()}};h.prototype.Ao=function(d){this.F[0]=d;d=this.u.Da();var f,e;f=0;for(e=this.r.length;f<e;f++)this.r[f].get(d),this.F[f+1]=d.data;this.u.Aa();this.za.apply(this.b.Oc,this.F)};h.prototype.Ok=function(d){var f=this.zb.Y(),e=f.zc();if(!e.length)if(f.T.length)e=
f.T;else{this.gg?d.ac(""):d.ca(0);return}this.F[0]=d;d.Pe=this.zb;d=this.u.Da();var a,f=0;for(a=this.r.length;f<a;f++)this.r[f].get(d),this.F[f+1]=d.data;f=this.u.Nd;this.bd&&(this.bd.get(d),d.Ia()&&(f=d.data,e=this.zb.d));this.u.Aa();f%=e.length;0>f&&(f+=e.length);e=e[f];-1<this.Na?(d=0,this.zb.B&&(d=e.type.Ee[this.zb.yc]),this.za.apply(e.H[this.Na+d],this.F)):this.za.apply(e,this.F)};h.prototype.po=function(d){var f=this.zb.Y(),e=f.zc();if(!e.length)if(f.T.length)e=f.T;else{this.gg?d.ac(""):d.ca(0);
return}f=this.u.Nd;if(this.bd){var a=this.u.Da();this.bd.get(a);if(a.Ia()){f=a.data;e=this.zb.d;f%=e.length;0>f&&(f+=e.length);e=e[f].Ba[this.bk];P(e)?d.ac(e):d.G(e);this.u.Aa();return}this.u.Aa()}f%=e.length;0>f&&(f+=e.length);e=e[f];f=0;this.zb.B&&(f=e.type.Gg[this.zb.yc]);e=e.Ba[this.bk+f];P(e)?d.ac(e):d.G(e)};h.prototype.qo=function(d){d.type=Ub.hf;d.data=this.value};h.prototype.mo=function(d){d.type=Ub.gf;d.data=this.value};h.prototype.yo=function(d){d.type=Ub.Yh;d.data=this.value};h.prototype.Bo=
function(d){this.first.get(d);d.Ia()&&(d.data=-d.data)};h.prototype.fo=function(d){this.first.get(d);var f=this.u.Da();this.Ma.get(f);d.Ia()&&f.Ia()&&(d.data+=f.data,f.Ie()&&d.Oe());this.u.Aa()};h.prototype.zo=function(d){this.first.get(d);var f=this.u.Da();this.Ma.get(f);d.Ia()&&f.Ia()&&(d.data-=f.data,f.Ie()&&d.Oe());this.u.Aa()};h.prototype.uo=function(d){this.first.get(d);var f=this.u.Da();this.Ma.get(f);d.Ia()&&f.Ia()&&(d.data*=f.data,f.Ie()&&d.Oe());this.u.Aa()};h.prototype.jo=function(d){this.first.get(d);
var f=this.u.Da();this.Ma.get(f);d.Ia()&&f.Ia()&&(d.data/=f.data,d.Oe());this.u.Aa()};h.prototype.to=function(d){this.first.get(d);var f=this.u.Da();this.Ma.get(f);d.Ia()&&f.Ia()&&(d.data%=f.data,f.Ie()&&d.Oe());this.u.Aa()};h.prototype.xo=function(d){this.first.get(d);var f=this.u.Da();this.Ma.get(f);d.Ia()&&f.Ia()&&(d.data=Math.pow(d.data,f.data),f.Ie()&&d.Oe());this.u.Aa()};h.prototype.ho=function(d){this.first.get(d);var f=this.u.Da();this.Ma.get(f);d.Ia()?f.Yg()?d.ac(d.data.toString()+f.data):
d.data&&f.data?d.ca(1):d.ca(0):d.Yg()&&(d.data=f.Yg()?d.data+f.data:d.data+(Math.round(1E10*f.data)/1E10).toString());this.u.Aa()};h.prototype.wo=function(d){this.first.get(d);var f=this.u.Da();this.Ma.get(f);d.Ia()&&f.Ia()&&(d.data||f.data?d.ca(1):d.ca(0));this.u.Aa()};h.prototype.io=function(d){this.first.get(d);d.data?this.Ma.get(d):this.Kh.get(d)};h.prototype.ko=function(d){this.first.get(d);var f=this.u.Da();this.Ma.get(f);d.ca(d.data===f.data?1:0);this.u.Aa()};h.prototype.vo=function(d){this.first.get(d);
var f=this.u.Da();this.Ma.get(f);d.ca(d.data!==f.data?1:0);this.u.Aa()};h.prototype.ro=function(d){this.first.get(d);var f=this.u.Da();this.Ma.get(f);d.ca(d.data<f.data?1:0);this.u.Aa()};h.prototype.so=function(d){this.first.get(d);var f=this.u.Da();this.Ma.get(f);d.ca(d.data<=f.data?1:0);this.u.Aa()};h.prototype.no=function(d){this.first.get(d);var f=this.u.Da();this.Ma.get(f);d.ca(d.data>f.data?1:0);this.u.Aa()};h.prototype.oo=function(d){this.first.get(d);var f=this.u.Da();this.Ma.get(f);d.ca(d.data>=
f.data?1:0);this.u.Aa()};h.prototype.lo=function(d){var f=this.de.gl();da(f)?d.G(f):d.ac(f)};Qb=h;m.prototype.Ie=function(){return this.type===Ub.gf};m.prototype.Ia=function(){return this.type===Ub.hf||this.type===Ub.gf};m.prototype.Yg=function(){return this.type===Ub.Yh};m.prototype.Oe=function(){this.Ie()||(this.Yg()&&(this.data=parseFloat(this.data)),this.type=Ub.gf)};m.prototype.ca=function(d){this.type=Ub.hf;this.data=Math.floor(d)};m.prototype.G=function(d){this.type=Ub.gf;this.data=d};m.prototype.ac=
function(d){this.type=Ub.Yh;this.data=d};Tb=m;Ub={hf:0,gf:1,Yh:2}})();function U(h){this.b=h;this.Hb=[]}
U.prototype.$b=function(){var h={},m,d,f,e,a,b,c,k;h.waits=[];var n=h.waits,t;m=0;for(d=this.Hb.length;m<d;m++){b=this.Hb[m];t={t:b.time,ev:b.tf.M,sm:[],sols:{}};b.tf.gc[b.Qb]&&(t.act=b.tf.gc[b.Qb].M);f=0;for(e=b.ua.length;f<e;f++)t.sm.push(b.ua[f].M);for(a in b.Cb)if(b.Cb.hasOwnProperty(a)){c=this.b.n[parseInt(a,10)];k={sa:b.Cb[a].pm,insts:[]};f=0;for(e=b.Cb[a].ie.length;f<e;f++)k.insts.push(b.Cb[a].ie[f].uid);t.sols[c.M.toString()]=k}n.push(t)}return h};
U.prototype.Ec=function(h){h=h.waits;var m,d,f,e,a,b,c,k,n,t,l;m=this.Hb.length=0;for(d=h.length;m<d;m++)if(b=h[m],k=this.b.zk[b.ev.toString()]){n=-1;f=0;for(e=k.gc.length;f<e;f++)if(k.gc[f].M===b.act){n=f;break}if(-1!==n){c={Cb:{},ua:[],Mk:!1};c.time=b.t;c.tf=k;c.Qb=n;f=0;for(e=b.sm.length;f<e;f++)(k=this.b.Pg(b.sm[f]))&&c.ua.push(k);for(a in b.sols)if(b.sols.hasOwnProperty(a)&&(k=this.b.Pg(parseInt(a,10)))){n=b.sols[a];t={pm:n.sa,ie:[]};f=0;for(e=n.insts.length;f<e;f++)(l=this.b.Og(n.insts[f]))&&
t.ie.push(l);c.Cb[k.index.toString()]=t}this.Hb.push(c)}}};
(function(){function h(){}function m(){}function d(){}var f=U.prototype;h.prototype.cn=L(!0);h.prototype.bn=L(!0);h.prototype.Rc=function(a,c,e){return Vb(a.gl(),c,e)};h.prototype.Wm=function(){var a=this.b.sb();return a.pi?!1:!a.le};h.prototype.ik=L(!0);h.prototype.$m=L(!0);h.prototype.Xh=L(!0);h.prototype.dn=L(!0);h.prototype.Wh=L(!0);f.g=new h;m.prototype.Td=function(a){this.b.Jf||this.b.of||(this.b.of=a)};m.prototype.Sc=function(a,c,e,d){if(c&&a&&(c=this.b.Ik(a,c,e,d))){this.b.jc++;var f;this.b.trigger(Object.getPrototypeOf(a.ma).g.Uh,
c);if(c.Nb)for(e=0,d=c.siblings.length;e<d;e++)f=c.siblings[e],this.b.trigger(Object.getPrototypeOf(f.type.ma).g.Uh,f);this.b.jc--;a=a.Y();a.da=!1;a.d.length=1;a.d[0]=c;if(c.Nb)for(e=0,d=c.siblings.length;e<d;e++)f=c.siblings[e],a=f.type.Y(),a.da=!1,a.d.length=1,a.d[0]=f}};m.prototype.Tc=function(a,c){0===a.Rm?da(c)?a.Fh(c):a.Fh(parseFloat(c)):1===a.Rm&&a.Fh(c.toString())};var e=[],a=[];f.k=new m;d.prototype["int"]=function(a,c){P(c)?(a.ca(parseInt(c,10)),isNaN(a.data)&&(a.data=0)):a.ca(c)};d.prototype["float"]=
function(a,c){P(c)?(a.G(parseFloat(c)),isNaN(a.data)&&(a.data=0)):a.G(c)};d.prototype.random=function(a,c,e){void 0===e?a.G(Math.random()*c):a.G(Math.random()*(e-c)+c)};d.prototype.sqrt=function(a,c){a.G(Math.sqrt(c))};d.prototype.round=function(a,c){a.ca(Math.round(c))};d.prototype.floor=function(a,c){a.ca(Math.floor(c))};d.prototype.ceil=function(a,c){a.ca(Math.ceil(c))};d.prototype.sin=function(a,c){a.G(Math.sin(T(c)))};d.prototype.cos=function(a,c){a.G(Math.cos(T(c)))};d.prototype.tan=function(a,
c){a.G(Math.tan(T(c)))};d.prototype.acos=function(a,c){a.G(Ca(Math.acos(c)))};d.prototype.exp=function(a,c){a.G(Math.exp(c))};d.prototype.max=function(a){var c=arguments[1],e,d;e=2;for(d=arguments.length;e<d;e++)c<arguments[e]&&(c=arguments[e]);a.G(c)};d.prototype.min=function(a){var c=arguments[1],e,d;e=2;for(d=arguments.length;e<d;e++)c>arguments[e]&&(c=arguments[e]);a.G(c)};d.prototype.ae=function(a){a.G(this.b.ae)};d.prototype.bf=function(a){a.G(this.b.bf)};d.prototype.time=function(a){a.G(this.b.lc.Ga)};
d.prototype.kd=function(a){a.ca(this.b.kd)};d.prototype.nh=function(a){a.ca(this.b.nh)};d.prototype.xi=function(a){a.ca(this.b.xi)};d.prototype.j=function(a,c,e,d,f){a.G(Ca(Ia(c,e,d,f)))};d.prototype.left=function(a,c,e){a.ac(P(c)?c.substr(0,e):"")};d.prototype.right=function(a,c,e){a.ac(P(c)?c.substr(c.length-e):"")};d.prototype.replace=function(a,c,e,d){P(c)&&P(e)&&P(d)?a.ac(c.replace(RegExp(Ya(e),"gi"),d)):a.ac(P(c)?c:"")};d.prototype.ki=function(a){a.G(this.b.ki/1E3)};d.prototype.Le=function(a){a.G(this.b.Le)};
f.xa=new d;f.Wp=function(){var b,c,d,f,h,l,g=this.b.sb();b=0;for(d=this.Hb.length;b<d;b++)if(f=this.Hb[b],!(f.time>this.b.lc.Ga)){g.ic=f.tf;g.Qb=f.Qb;g.fb=0;for(c in f.Cb)f.Cb.hasOwnProperty(c)&&(h=this.b.n[parseInt(c,10)].Y(),l=f.Cb[c],h.da=l.pm,wa(h.d,l.ie),h=l,h.ie.length=0,a.push(h));f.tf.Vp();this.b.ji(f.ua);f.Mk=!0}c=b=0;for(d=this.Hb.length;b<d;b++)f=this.Hb[b],this.Hb[c]=f,f.Mk?(Ta(f.Cb),f.ua.length=0,e.push(f)):c++;this.Hb.length=c}})();
(function(){fb=function(h){var d=h[0].prototype,f=h[1],e=h[3],a=h[4],b=h[5],c=h[6],k=h[7];h=h[8];d.g||(d.g={});d.k||(d.k={});d.xa||(d.xa={});var n=d.g,t=d.k,d=d.xa;e&&(n.Fq=function(a,b){return Vb(this.x,a,b)},n.Gq=function(a,b){return Vb(this.y,a,b)},n.Oq=function(){var a=this.e;this.cb();var b=this.Za;return!(b.right<a.Ta||b.bottom<a.Ua||b.left>a.Gb||b.top>a.Fb)},n.Pq=function(){this.cb();var a=this.Za,b=this.b.X;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},n.br=function(a,b,c){var e=
this.Y(),d=e.zc();if(!d.length)return!1;var f=d[0],k=f,h=Qa(f.x,f.y,b,c),n,m,t;n=1;for(m=d.length;n<m;n++)if(f=d[n],t=Qa(f.x,f.y,b,c),0===a&&t<h||1===a&&t>h)h=t,k=f;e.cg(k);return!0},t.xr=function(a){this.x!==a&&(this.x=a,this.Pa())},t.yr=function(a){this.y!==a&&(this.y=a,this.Pa())},t.qr=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.Pa()},t.rr=function(a,b){var c=a.Po(this);if(c){var e;c.Ei?(e=c.Ei(b,!0),c=c.Ei(b,!1)):(e=c.x,c=c.y);if(this.x!==e||this.y!==c)this.x=e,this.y=c,this.Pa()}},
t.Uq=function(a){0!==a&&(this.x+=Math.cos(this.j)*a,this.y+=Math.sin(this.j)*a,this.Pa())},t.Tq=function(a,b){0!==b&&(this.x+=Math.cos(T(a))*b,this.y+=Math.sin(T(a))*b,this.Pa())},d.xe=function(a){a.G(this.x)},d.ye=function(a){a.G(this.y)},d.ae=function(a){a.G(this.b.$k(this))});a&&(n.Eq=function(a,b){return Vb(this.width,a,b)},n.Bq=function(a,b){return Vb(this.height,a,b)},t.on=function(a){this.width!==a&&(this.width=a,this.Pa())},t.nr=function(a){this.height!==a&&(this.height=a,this.Pa())},t.sr=
function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.Pa()},d.Dr=function(a){a.G(this.width)},d.Iq=function(a){a.G(this.height)},d.yq=function(a){this.cb();a.G(this.Za.left)},d.Aq=function(a){this.cb();a.G(this.Za.top)},d.zq=function(a){this.cb();a.G(this.Za.right)},d.xq=function(a){this.cb();a.G(this.Za.bottom)});b&&(n.wq=function(a,b){return Ja(this.j,T(b))<=T(a)},n.Mq=function(a){return Oa(this.j,T(a))},n.Kq=function(a,b){var c=Ha(a),e=Ha(b),d=Ea(this.j);return Oa(e,
c)?Oa(d,c)&&!Oa(d,e):!(!Oa(d,c)&&Oa(d,e))},t.jr=function(a){a=T(Da(a));isNaN(a)||this.j===a||(this.j=a,this.Pa())},t.fr=function(a){0===a||isNaN(a)||(this.j+=T(a),this.j=Ea(this.j),this.Pa())},t.gr=function(a){0===a||isNaN(a)||(this.j-=T(a),this.j=Ea(this.j),this.Pa())},t.hr=function(a,b){var c=Na(this.j,T(b),T(a));isNaN(c)||this.j===c||(this.j=c,this.Pa())},t.ir=function(a,b,c){a=Na(this.j,Math.atan2(c-this.y,b-this.x),T(a));isNaN(a)||this.j===a||(this.j=a,this.Pa())},t.tr=function(a,b){var c=Math.atan2(b-
this.y,a-this.x);isNaN(c)||this.j===c||(this.j=c,this.Pa())},d.vq=function(a){a.G(Fa(this.j))});f||(n.Cq=function(a,b,c){return Vb(this.Ba[a],b,c)},n.Lq=function(a){return this.Ba[a]},n.cr=function(a,b){var c=this.Y(),e=c.zc();if(!e.length)return!1;var d=e[0],f=d,k=d.Ba[b],h,n,m;h=1;for(n=e.length;h<n;h++)if(d=e[h],m=d.Ba[b],0===a&&m<k||1===a&&m>k)k=m,f=d;c.cg(f);return!0},n.$q=function(a){var b,c,e,d,f;if(this.b.Ko().Df){f=this.Y();if(f.da)for(f.da=!1,f.d.length=0,f.T.length=0,e=this.d,b=0,c=e.length;b<
c;b++)d=e[b],d.uid===a?f.T.push(d):f.d.push(d);else{e=b=0;for(c=f.d.length;b<c;b++)d=f.d[b],f.d[e]=d,d.uid===a?f.T.push(d):e++;f.d.length=e}this.pd();return!!f.d.length}d=this.b.Og(a);if(!d)return!1;f=this.Y();if(!f.da&&-1===f.d.indexOf(d))return!1;if(this.B)for(a=d.type.ba,b=0,c=a.length;b<c;b++){if(a[b]===this)return f.cg(d),this.pd(),!0}else if(d.type===this)return f.cg(d),this.pd(),!0;return!1},n.Uh=L(!0),n.an=L(!0),t.or=function(a,b){var c=this.Ba;da(c[a])?c[a]=da(b)?b:parseFloat(b):P(c[a])&&
(c[a]=P(b)?b:b.toString())},t.uq=function(a,b){var c=this.Ba;da(c[a])?c[a]=da(b)?c[a]+b:c[a]+parseFloat(b):P(c[a])&&(c[a]=P(b)?c[a]+b:c[a]+b.toString())},t.Ar=function(a,b){var c=this.Ba;da(c[a])&&(c[a]=da(b)?c[a]-b:c[a]-parseFloat(b))},t.kr=function(a,b){this.Ba[a]=b?1:0},t.Br=function(a){this.Ba[a]=1-this.Ba[a]},t.Pb=function(){this.b.Sd(this)},t.Xm||(t.Xm=function(a){var b,c;try{b=JSON.parse(a)}catch(e){return}this.b.hh(this,b,!0);this.Vc&&this.Vc();if(this.H)for(a=0,b=this.H.length;a<b;++a)c=
this.H[a],c.Vc&&c.Vc()}),d.Hq=function(a){var b=a.Pe.d.length,c,e,d;c=0;for(e=this.b.qb.length;c<e;c++)d=this.b.qb[c],a.Pe.B?0<=d.type.ba.indexOf(a.Pe)&&b++:d.type===a.Pe&&b++;a.ca(b)},d.er=function(a){a.ca(a.Pe.Y().zc().length)},d.Cr=function(a){a.ca(this.uid)},d.Jq=function(a){a.ca(this.yf())},d.Um||(d.Um=function(a){a.ac(JSON.stringify(this.b.Kj(this,!0)))}));c&&(n.Qq=G("visible"),t.ur=function(a){!a!==!this.visible&&(this.visible=a,this.b.aa=!0)},n.Dq=function(a,b){return Vb(cb(100*this.opacity),
a,b)},t.pr=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.aa=!0)},d.Opacity=function(a){a.G(cb(100*this.opacity))});k&&(n.Nq=function(a){return a?this.e===a:!1},n.dr=function(a){var b=this.Y(),c=b.zc();if(!c.length)return!1;var e=c[0],d=e,f,k;f=1;for(k=c.length;f<k;f++)if(e=c[f],0===a){if(e.e.index>d.e.index||e.e.index===d.e.index&&e.Mb()>d.Mb())d=e}else if(e.e.index<d.e.index||e.e.index===d.e.index&&e.Mb()<d.Mb())d=e;b.cg(d);return!0},t.Xq=function(){var a=this.Mb();
a!==this.e.d.length-1&&(va(this.e.d,a),this.e.d.push(this),this.b.aa=!0,this.e.Ib=!0)},t.Vq=function(){var a=this.Mb();0!==a&&(va(this.e.d,a),this.e.d.unshift(this),this.b.aa=!0,this.e.Ib=!0)},t.Wq=function(a){a&&a!=this.e&&(va(this.e.d,this.Mb()),this.e.Ib=!0,this.e=a,this.ve=a.d.length,a.d.push(this),this.b.aa=!0)},t.Fr=function(a,b){var c=0===a;if(b){var e=b.bl(this);if(e&&e.uid!==this.uid){this.e.index!==e.e.index&&(va(this.e.d,this.Mb()),this.e.Ib=!0,this.e=e.e,this.ve=e.e.d.length,e.e.d.push(this));
var d=this.Mb(),e=e.Mb();va(this.e.d,d);d<e&&e--;c&&e++;e===this.e.d.length?this.e.d.push(this):this.e.d.splice(e,0,this);this.e.Ib=!0;this.b.aa=!0}}},d.Sq=function(a){a.ca(this.e.Rl)},d.Rq=function(a){a.ac(this.e.name)},d.Er=function(a){a.ca(this.Mb())});h&&(t.lr=function(a,b){if(this.b.p){var c=this.type.Di(b);if(!(0>c)){var e=1===a;this.od[c]!==e&&(this.od[c]=e,this.md(),this.b.aa=!0)}}},t.mr=function(a,b,c){if(this.b.p){var e=this.type.Di(a);0>e||(a=this.type.D[e],e=this.ka[e],b=Math.floor(b),
0>b||b>=e.length||(1===this.b.p.So(a.Qa,b)&&(c/=100),e[b]!==c&&(e[b]=c,a.Uc&&(this.b.aa=!0))))}})};Bb=function(){this.gi=this.ai=!0;this.type.sk=!0;this.b.aa=!0;var h,d,f=this.bi;h=0;for(d=f.length;h<d;++h)f[h](this)};Cb=function(h){h&&this.bi.push(h)};Eb=function(){if(this.ai){var h=this.Za,d=this.sd;h.set(this.x,this.y,this.x+this.width,this.y+this.height);h.offset(-this.hb*this.width,-this.ib*this.height);this.j?(h.offset(-this.x,-this.y),d.vm(h,this.j),d.offset(this.x,this.y),d.Ak(h)):d.Gh(h);
h.normalize();this.ai=!1}};var h=new pa(0,0,0,0);Fb=function(){if(this.gi&&this.pf){this.cb();var m=this.type.Fk,d=this.ug,f=this.Za;h.set(m.lk(f.left),m.mk(f.top),m.lk(f.right),m.mk(f.bottom));d.eo(h)||(d.right<d.left?m.update(this,null,h):m.update(this,d,h),d.copy(h),this.gi=!1)}};Db=function(h,d){return this.Za.uc(h,d)&&this.sd.uc(h,d)?this.tc&&!this.tc.up()?(this.tc.En(this.width,this.height,this.j),this.tc.uc(h-this.x,d-this.y)):!0:!1};xb=function(){this.type.Qh();return this.ge};Gb=function(){this.e.pq();
return this.ve};Hb=function(){this.R.length=0;var h,d;h=0;for(d=this.od.length;h<d;h++)this.od[h]&&this.R.push(this.type.D[h]);this.Qm=!!this.R.length};yb=function(){return"Inst"+this.lm};ib=function(h){if(h&&h.Nb&&h.type!=this){var d,f,e;d=0;for(f=h.siblings.length;d<f;d++)if(e=h.siblings[d],e.type==this)return e}h=this.Y().zc();return h.length?h[0]:null};jb=function(h){var d=this.Y().zc();return d.length?d[h.yf()%d.length]:null};hb=function(){if(this.Ye&&!this.B){var h,d;h=0;for(d=this.d.length;h<
d;h++)this.d[h].ge=h;var f=h,e=this.b.qb;h=0;for(d=e.length;h<d;++h)e[h].type===this&&(e[h].ge=f++);this.Ye=!1}};vb=function(h){if(h<this.d.length)return this.d[h];h-=this.d.length;var d=this.b.qb,f,e;f=0;for(e=d.length;f<e;++f)if(d[f].type===this){if(0===h)return d[f];--h}return null};kb=function(){return this.Od[this.$c]};ob=function(){this.$c++;this.$c===this.Od.length?this.Od.push(new gb(this)):this.Od[this.$c].da=!0};pb=function(){this.$c++;this.$c===this.Od.length&&this.Od.push(new gb(this));
var h=this.Od[this.$c],d=this.Od[this.$c-1];d.da?h.da=!0:(h.da=!1,wa(h.d,d.d),wa(h.T,d.T))};qb=function(){this.$c--};rb=function(h){var d,f,e,a,b,c=0;if(!this.B)for(d=0,f=this.ba.length;d<f;d++)for(b=this.ba[d],e=0,a=b.wa.length;e<a;e++){if(h===b.wa[e].name)return this.pa.zl=c,b.wa[e];c++}d=0;for(f=this.wa.length;d<f;d++){if(h===this.wa[d].name)return this.pa.zl=c,this.wa[d];c++}return null};sb=function(h){return this.Mg(h)?this.pa.zl:-1};tb=function(h){var d,f;d=0;for(f=this.D.length;d<f;d++)if(this.D[d].name===
h)return d;return-1};ub=function(){if(this.Nb&&!this.B){var h,d,f,e,a,b,c;this.Qh();b=this.Y();var k=b.da,n=(h=this.b.sb())&&h.ic&&h.ic.Gc;h=0;for(d=this.gb.length;h<d;h++)if(a=this.gb[h],a!==this&&(a.Qh(),c=a.Y(),c.da=k,!k)){c.d.length=b.d.length;f=0;for(e=b.d.length;f<e;f++)c.d[f]=a.cl(b.d[f].ge);if(n)for(c.T.length=b.T.length,f=0,e=b.T.length;f<e;f++)c.T[f]=a.cl(b.T[f].ge)}}};wb=function(){return"Type"+this.M};Vb=function(h,d,f){if("undefined"===typeof h||"undefined"===typeof f)return!1;switch(d){case 0:return h===
f;case 1:return h!==f;case 2:return h<f;case 3:return h<=f;case 4:return h>f;case 5:return h>=f;default:return!1}}})();var cc={};function ec(h){this.b=h}
(function(){function h(a){a=Math.pow(10,a/20);0>a&&(a=0);1<a&&(a=1);return a}function m(a){0>a&&(a=0);1<a&&(a=1);return 20*(Math.log(a)/Math.log(10))}function d(a){a=a.toLowerCase();return O.hasOwnProperty(a)&&O[a].length?O[a][0].Lb():w.destination}function f(){return w.createGain?w.createGain():w.createGainNode()}function e(a){return w.createDelay?w.createDelay(a):w.createDelayNode(a)}function a(a){a.start?a.start(0):a.noteOn(0)}function b(a,b,c){a.start?a.start(0,b):a.noteGrainOn(0,b,c-b)}function c(a){try{a.stop?
a.stop(0):a.noteOff(0)}catch(b){}}function k(a,b,c,e,d,g){this.type="filter";this.nc=[a,b,c,e,d,g];this.N=f();this.C=f();this.C.gain.value=g;this.A=f();this.A.gain.value=1-g;this.ya=w.createBiquadFilter();this.ya.type="number"===typeof this.ya.type?a:kc[a];this.ya.frequency.value=b;this.ya.detune&&(this.ya.detune.value=c);this.ya.Q.value=e;this.ya.gain.value=d;this.N.connect(this.ya);this.N.connect(this.A);this.ya.connect(this.C)}function n(a,b,c){this.type="delay";this.nc=[a,b,c];this.N=f();this.C=
f();this.C.gain.value=c;this.A=f();this.A.gain.value=1-c;this.Xf=f();this.Ub=e(a);this.Ub.delayTime.value=a;this.Bg=f();this.Bg.gain.value=b;this.N.connect(this.Xf);this.N.connect(this.A);this.Xf.connect(this.C);this.Xf.connect(this.Ub);this.Ub.connect(this.Bg);this.Bg.connect(this.Xf)}function t(a,b,c,e){this.type="convolve";this.nc=[b,c,e];this.N=f();this.C=f();this.C.gain.value=c;this.A=f();this.A.gain.value=1-c;this.Zd=w.createConvolver();a&&(this.Zd.normalize=b,this.Zd.buffer=a);this.N.connect(this.Zd);
this.N.connect(this.A);this.Zd.connect(this.C)}function l(b,c,d,g,k){this.type="flanger";this.nc=[b,c,d,g,k];this.N=f();this.A=f();this.A.gain.value=1-k/2;this.C=f();this.C.gain.value=k/2;this.Hg=f();this.Hg.gain.value=g;this.Ub=e(b+c);this.Ub.delayTime.value=b;this.La=w.createOscillator();this.La.frequency.value=d;this.Ab=f();this.Ab.gain.value=c;this.N.connect(this.Ub);this.N.connect(this.A);this.Ub.connect(this.C);this.Ub.connect(this.Hg);this.Hg.connect(this.Ub);this.La.connect(this.Ab);this.Ab.connect(this.Ub.delayTime);
a(this.La)}function g(b,c,e,d,g,k){this.type="phaser";this.nc=[b,c,e,d,g,k];this.N=f();this.A=f();this.A.gain.value=1-k/2;this.C=f();this.C.gain.value=k/2;this.ya=w.createBiquadFilter();this.ya.type="number"===typeof this.ya.type?7:"allpass";this.ya.frequency.value=b;this.ya.detune&&(this.ya.detune.value=c);this.ya.Q.value=e;this.La=w.createOscillator();this.La.frequency.value=g;this.Ab=f();this.Ab.gain.value=d;this.N.connect(this.ya);this.N.connect(this.A);this.ya.connect(this.C);this.La.connect(this.Ab);
this.Ab.connect(this.ya.frequency);a(this.La)}function q(a){this.type="gain";this.nc=[a];this.P=f();this.P.gain.value=a}function u(b,c){this.type="tremolo";this.nc=[b,c];this.P=f();this.P.gain.value=1-c/2;this.La=w.createOscillator();this.La.frequency.value=b;this.Ab=f();this.Ab.gain.value=c/2;this.La.connect(this.Ab);this.Ab.connect(this.P.gain);a(this.La)}function s(b,c){this.type="ringmod";this.nc=[b,c];this.N=f();this.C=f();this.C.gain.value=c;this.A=f();this.A.gain.value=1-c;this.hg=f();this.hg.gain.value=
0;this.La=w.createOscillator();this.La.frequency.value=b;this.La.connect(this.hg.gain);a(this.La);this.N.connect(this.hg);this.N.connect(this.A);this.hg.connect(this.C)}function p(a,b,c,e,d){this.type="distortion";this.nc=[a,b,c,e,d];this.N=f();this.wh=f();this.vh=f();this.cq(c,Math.pow(10,e/20));this.C=f();this.C.gain.value=d;this.A=f();this.A.gain.value=1-d;this.Th=w.createWaveShaper();this.zg=new Float32Array(65536);this.Ho(a,b);this.Th.zg=this.zg;this.N.connect(this.wh);this.N.connect(this.A);
this.wh.connect(this.Th);this.Th.connect(this.vh);this.vh.connect(this.C)}function v(a,b,c,e,d){this.type="compressor";this.nc=[a,b,c,e,d];this.P=w.createDynamicsCompressor();try{this.P.threshold.value=a,this.P.knee.value=b,this.P.ratio.value=c,this.P.attack.value=e,this.P.release.value=d}catch(g){}}function C(a,b){this.type="analyser";this.nc=[a,b];this.P=w.createAnalyser();this.P.fftSize=a;this.P.smoothingTimeConstant=b;this.Fo=new Float32Array(this.P.frequencyBinCount);this.ym=new Uint8Array(a);
this.bg=0}function R(){this.I=null;this.jh=0;this.Pd=[];this.lj=this.$g=this.Zg=0}function W(a,b){this.src=a;this.W=M;this.kc=b;this.pk=!1;var c=this;this.kj=this.rj=null;this.qe=[];this.Ch=0;this.Bm=this.rh=!1;M===z&&b&&(this.W=I,this.rj=f());this.sg=this.fa=null;var e;switch(this.W){case I:this.fa=new Audio;M===z&&w.createMediaElementSource&&!x.rl&&(this.Bm=!0,this.fa.addEventListener("canplay",function(){c.kj||(c.kj=w.createMediaElementSource(c.fa),c.kj.connect(c.rj))}));this.fa.autoplay=!1;this.fa.Nr=
"auto";this.fa.src=a;break;case z:e=new XMLHttpRequest;e.open("GET",a,!0);e.responseType="arraybuffer";e.onload=function(){c.sg=e.response;c.Mn()};e.send();break;case S:this.fa=!0;break;case F:this.fa=!0}}function A(a,b){var c=this;this.Qd=b;this.ec=this.xd=!0;this.src=a.src;this.buffer=a;this.W=M;this.kc=a.kc;this.playbackRate=1;this.tj=!0;this.cd=this.hd=!1;this.pc=0;this.Hf=this.Je=this.ed=!1;this.Yf=this.volume=1;this.startTime=x.lc.Ga;this.ra=this.Ha=null;this.Hc=!1;this.qa=null;this.$l=this.Zl=
this.Yl=this.Xl=this.cm=this.am=0;this.i=null;var e=!1;this.W!==z||this.buffer.W!==I||this.buffer.Bm||(this.W=I);switch(this.W){case I:this.kc?(this.i=a.fa,e=!a.pk,a.pk=!0):(this.i=new Audio,this.i.autoplay=!1,this.i.src=a.fa.src,e=!0);e&&this.i.addEventListener("ended",function(){K=c.Qd;c.ec=!0;x.trigger(ec.prototype.g.Vh,D)});break;case z:this.Ha=f();this.Ha.connect(d(b));this.buffer.W===z?a.fa&&(this.i=w.createBufferSource(),this.i.buffer=a.fa,this.i.connect(this.Ha)):(this.i=this.buffer.fa,this.buffer.rj.connect(this.Ha));
break;case S:this.i=new window.Media(H+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(c.tj=!0,c.ec=!0,K=c.Qd,x.trigger(ec.prototype.g.Vh,D))});break;case F:this.i=!0}}function E(a,b){O.hasOwnProperty(a)?O[a].push(b):O[a]=[b];var c,e,d,g,f=w.destination;if(O.hasOwnProperty(a)&&(d=O[a],d.length))for(f=d[0].Lb(),c=0,e=d.length;c<e;c++)g=d[c],c+1===e?g.Rb(w.destination):g.Rb(d[c+1].Lb());Ga.length=0;if(a.length)for(c=0,e=J.length;c<e;c++)d=J[c],db(a,d.Qd)&&Ga.push(d);else xa&&!xa.Af()&&
(Ga.length=1,Ga[0]=xa);c=0;for(e=Ga.length;c<e;c++)Ga[c].Tp(f);Ba&&lb===a&&(Ba.disconnect(),Ba.connect(f))}function Q(){}function ga(){}var r=ec.prototype;r.Jb=function(a){this.ma=a;this.b=a.b};r.Jb.prototype.la=B();var x=null,D=null,K="",H="",I=0,z=1,S=2,F=3,M=I,w=null,ha=[],J=[],xa=null,Wa=!1,Xa=0,qa=!1,ra=1,ya=0,za=0,mb=1,nb=1,gc=10,hc=1E4,ic=1,Ba=null,lb="",Ka=!1,La=[],O={},kc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");k.prototype.Rb=function(a){this.C.disconnect();
this.C.connect(a);this.A.disconnect();this.A.connect(a)};k.prototype.remove=function(){this.N.disconnect();this.ya.disconnect();this.C.disconnect();this.A.disconnect()};k.prototype.Lb=G("N");n.prototype.Rb=function(a){this.C.disconnect();this.C.connect(a);this.A.disconnect();this.A.connect(a)};n.prototype.remove=function(){this.N.disconnect();this.Xf.disconnect();this.Ub.disconnect();this.Bg.disconnect();this.C.disconnect();this.A.disconnect()};n.prototype.Lb=G("N");t.prototype.Rb=function(a){this.C.disconnect();
this.C.connect(a);this.A.disconnect();this.A.connect(a)};t.prototype.remove=function(){this.N.disconnect();this.Zd.disconnect();this.C.disconnect();this.A.disconnect()};t.prototype.Lb=G("N");l.prototype.Rb=function(a){this.A.disconnect();this.A.connect(a);this.C.disconnect();this.C.connect(a)};l.prototype.remove=function(){this.N.disconnect();this.Ub.disconnect();this.La.disconnect();this.Ab.disconnect();this.A.disconnect();this.C.disconnect();this.Hg.disconnect()};l.prototype.Lb=G("N");g.prototype.Rb=
function(a){this.A.disconnect();this.A.connect(a);this.C.disconnect();this.C.connect(a)};g.prototype.remove=function(){this.N.disconnect();this.ya.disconnect();this.La.disconnect();this.Ab.disconnect();this.A.disconnect();this.C.disconnect()};g.prototype.Lb=G("N");q.prototype.Rb=function(a){this.P.disconnect();this.P.connect(a)};q.prototype.remove=function(){this.P.disconnect()};q.prototype.Lb=G("P");u.prototype.Rb=function(a){this.P.disconnect();this.P.connect(a)};u.prototype.remove=function(){this.La.disconnect();
this.Ab.disconnect();this.P.disconnect()};u.prototype.Lb=G("P");s.prototype.Rb=function(a){this.C.disconnect();this.C.connect(a);this.A.disconnect();this.A.connect(a)};s.prototype.remove=function(){this.La.disconnect();this.hg.disconnect();this.N.disconnect();this.C.disconnect();this.A.disconnect()};s.prototype.Lb=G("N");p.prototype.cq=function(a,b){0.01>a&&(a=0.01);this.wh.gain.value=a;this.vh.gain.value=Math.pow(1/a,0.6)*b};p.prototype.shape=function(a,b,c){var e=1.05*c*b-b;c=0>a?-1:1;a=0>a?-a:
a;b=a<b?a:b+e*(1-Math.exp(-(1/e)*(a-b)));return b*c};p.prototype.Ho=function(a,b){for(var c=Math.pow(10,a/20),e=Math.pow(10,b/20),d=0,g=0;32768>g;++g)d=g/32768,d=this.shape(d,c,e),this.zg[32768+g]=d,this.zg[32768-g-1]=-d};p.prototype.Rb=function(a){this.C.disconnect();this.C.connect(a);this.A.disconnect();this.A.connect(a)};p.prototype.remove=function(){this.N.disconnect();this.wh.disconnect();this.Th.disconnect();this.vh.disconnect();this.C.disconnect();this.A.disconnect()};p.prototype.Lb=G("N");
v.prototype.Rb=function(a){this.P.disconnect();this.P.connect(a)};v.prototype.remove=function(){this.P.disconnect()};v.prototype.Lb=G("P");C.prototype.bb=function(){this.P.getFloatFrequencyData(this.Fo);this.P.getByteTimeDomainData(this.ym);for(var a=this.P.fftSize,b=0,c=this.bg=0,e=0;b<a;b++)e=(this.ym[b]-128)/128,0>e&&(e=-e),this.bg<e&&(this.bg=e),c+=e*e;this.bg=m(this.bg);m(Math.sqrt(c/a))};C.prototype.Rb=function(a){this.P.disconnect();this.P.connect(a)};C.prototype.remove=function(){this.P.disconnect()};
C.prototype.Lb=G("P");R.prototype.Ue=function(a){if(this.I=a)this.Zg=this.I.x,this.$g=this.I.y;this.Pd.length=0};R.prototype.Rg=function(){return!!this.I};R.prototype.bb=function(a){this.I&&0!==a&&(this.lj=Ia(this.Zg,this.$g,this.I.x,this.I.y),a=Qa(this.Zg,this.$g,this.I.x,this.I.y)/a,4>this.Pd.length||this.Pd.shift(),this.Pd.push(a),this.Zg=this.I.x,this.$g=this.I.y)};R.prototype.fl=function(){if(!this.Pd.length)return 0;var a,b,c=0;a=0;for(b=this.Pd.length;a<b;a++)c+=this.Pd[a];return c/this.Pd.length};
R.prototype.Ii=function(){return Math.cos(this.lj)*this.fl()};R.prototype.Ji=function(){return Math.sin(this.lj)*this.fl()};var jc=!1;W.prototype.Mn=function(){if(!this.fa&&this.sg){var a=this;if(w.decodeAudioData)w.decodeAudioData(this.sg,function(b){a.fa=b;var c,e,d;if(ca(a.sh)||qa)ca(a.vg)||(c=a.vg.Zd,c.normalize=a.Ql,c.buffer=b);else if(a.qe.length){c=0;for(e=a.qe.length;c<e;c++){b=a.qe[c];d=new A(a,b.Uj);d.Mj(!0);if("undefined"!==typeof b.Sl&&(b.I=x.Og(b.Sl),!b.I))continue;if(b.I){var g=Pa(b.I.x,
b.I.y,-b.I.e.ga(),ya,za,!0),f=Pa(b.I.x,b.I.y,-b.I.e.ga(),ya,za,!1);d.Dh(g,f,Ca(b.I.j-b.I.e.ga()),b.Tg,b.mh,b.ph);d.Ue(b.I)}else d.Dh(b.x,b.y,b.tn,b.Tg,b.mh,b.ph);d.play(a.ij,a.dk,a.Ch);a.rh&&d.pause();J.push(d)}a.qe.length=0}else d=new A(a,a.sh),d.play(a.ij,a.dk,a.Ch),a.rh&&d.pause(),J.push(d)});else if(this.fa=w.createBuffer(this.sg,!1),ca(this.sh)||qa)ca(this.vg)||(b=this.vg.Zd,b.normalize=this.Ql,b.buffer=this.fa);else{var b=new A(this,this.sh);b.play(this.ij,this.dk,this.Ch);this.rh&&b.pause();
J.push(b)}}};A.prototype.Af=function(){switch(this.W){case I:return this.i.ended;case z:return this.buffer.W===z?!this.xd&&!this.ec&&this.i.loop||this.cd?!1:x.lc.Ga-this.startTime>this.buffer.fa.duration:this.i.ended;case S:return this.tj;case F:!0}return!0};A.prototype.Fn=function(){return this.xd||this.ec?!0:this.Af()};A.prototype.Mj=function(a){M===z&&(!this.Hc&&a?this.Ha&&(this.ra||(this.ra=w.createPanner(),this.ra.panningModel="number"===typeof this.ra.panningModel?mb:["equalpower","HRTF","soundfield"][mb],
this.ra.distanceModel="number"===typeof this.ra.distanceModel?nb:["linear","inverse","exponential"][nb],this.ra.refDistance=gc,this.ra.maxDistance=hc,this.ra.rolloffFactor=ic),this.Ha.disconnect(),this.Ha.connect(this.ra),this.ra.connect(d(this.Qd)),this.Hc=!0):this.Hc&&!a&&this.Ha&&(this.ra.disconnect(),this.Ha.disconnect(),this.Ha.connect(d(this.Qd)),this.Hc=!1))};A.prototype.Dh=function(a,b,c,e,d,g){this.Hc&&M===z&&(this.ra.setPosition(a,b,0),this.ra.setOrientation(Math.cos(T(c)),Math.sin(T(c)),
0),this.ra.coneInnerAngle=e,this.ra.coneOuterAngle=d,this.ra.coneOuterGain=g,this.am=a,this.cm=b,this.Xl=c,this.Yl=e,this.Zl=d,this.$l=g)};A.prototype.Ue=function(a){this.Hc&&M===z&&(this.qa||(this.qa=new R),this.qa.Ue(a))};A.prototype.bb=function(a){if(this.Hc&&M===z&&this.qa&&this.qa.Rg()&&this.He()){this.qa.bb(a);a=this.qa.I;var b=Pa(a.x,a.y,-a.e.ga(),ya,za,!0),c=Pa(a.x,a.y,-a.e.ga(),ya,za,!1);this.ra.setPosition(b,c,0);b=0;"undefined"!==typeof this.qa.I.j&&(b=a.j-a.e.ga(),this.ra.setOrientation(Math.cos(b),
Math.sin(b),0));b=Pa(this.qa.Ii(),this.qa.Ji(),-a.e.ga(),0,0,!0);c=Pa(this.qa.Ii(),this.qa.Ji(),-a.e.ga(),0,0,!1);this.ra.setVelocity(b,c,0)}};A.prototype.play=function(c,e,d){var g=this.i;this.ed=c;this.volume=e;d=d||0;switch(this.W){case I:1!==g.playbackRate&&(g.playbackRate=1);g.volume!==e*ra&&(g.volume=e*ra);g.loop!==c&&(g.loop=c);g.muted&&(g.muted=!1);if(g.currentTime!==d)try{g.currentTime=d}catch(f){}this.kc&&Ka&&!x.Cc?La.push(this):this.i.play();break;case z:this.muted=!1;this.Yf=1;if(this.buffer.W===
z)this.xd||(this.i=w.createBufferSource(),this.i.buffer=this.buffer.fa,this.i.connect(this.Ha)),this.i.loop=c,this.Ha.gain.value=e*ra,0===d?a(this.i):b(this.i,d,this.Fe());else{1!==g.playbackRate&&(g.playbackRate=1);g.loop!==c&&(g.loop=c);this.Ha.gain.value=e*ra;if(g.currentTime!==d)try{g.currentTime=d}catch(k){}this.kc&&Ka&&!x.Cc?La.push(this):g.play()}break;case S:(!this.xd&&this.ec||0!==d)&&g.seekTo(d);g.play();this.tj=!1;break;case F:x.wb?AppMobi.context.playSound(this.src,c):AppMobi.player.playSound(this.src,
c)}this.playbackRate=1;this.startTime=x.lc.Ga-d;this.cd=this.ec=this.xd=!1};A.prototype.stop=function(){switch(this.W){case I:this.i.paused||this.i.pause();break;case z:this.buffer.W===z?c(this.i):this.i.paused||this.i.pause();break;case S:this.i.stop();break;case F:x.wb&&AppMobi.context.stopSound(this.src)}this.ec=!0;this.cd=!1};A.prototype.pause=function(){if(!(this.xd||this.ec||this.Af()||this.cd)){switch(this.W){case I:this.i.paused||this.i.pause();break;case z:this.buffer.W===z?(this.pc=this.Gi(),
this.ed&&(this.pc%=this.Fe()),c(this.i)):this.i.paused||this.i.pause();break;case S:this.i.pause();break;case F:x.wb&&AppMobi.context.stopSound(this.src)}this.cd=!0}};A.prototype.Tp=function(a){this.W===z&&(this.Hc?(this.ra.disconnect(),this.ra.connect(a)):(this.Ha.disconnect(),this.Ha.connect(a)))};A.prototype.Fe=function(){switch(this.W){case I:if("undefined"!==typeof this.i.duration)return this.i.duration;break;case z:return this.buffer.fa.duration;case S:return this.i.getDuration();case F:if(x.wb)return AppMobi.context.getDurationSound(this.src)}return 0};
A.prototype.Gi=function(){var a=this.Fe(),b=0;switch(this.W){case I:"undefined"!==typeof this.i.currentTime&&(b=this.i.currentTime);break;case z:if(this.buffer.W===z){if(this.cd)return this.pc;b=x.lc.Ga-this.startTime}else"undefined"!==typeof this.i.currentTime&&(b=this.i.currentTime);break;case F:x.wb&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}!this.ed&&b>a&&(b=a);return b};A.prototype.He=function(){return!this.cd&&!this.xd&&!this.ec&&!this.Af()};A.prototype.oq=function(){var a=this.volume*
ra;switch(this.W){case I:this.i.volume&&this.i.volume!==a&&(this.i.volume=a);break;case z:this.Ha.gain.value=a*this.Yf}};A.prototype.Cg=function(a){switch(this.W){case I:this.i.muted!==!!a&&(this.i.muted=!!a);break;case z:this.Yf=a?0:1,this.Ha.gain.value=ra*this.volume*this.Yf}};A.prototype.dq=function(){this.Je=!0;this.Cg(this.Je||this.Hf)};A.prototype.um=function(a){this.Hf=!!a;this.Cg(this.Je||this.Hf)};A.prototype.Pm=function(){var a=this.playbackRate;if(1===Xa&&!this.kc||2===Xa)a*=x.bf;switch(this.W){case I:this.i.playbackRate!==
a&&(this.i.playbackRate=a);break;case z:this.buffer.W===z?this.i.playbackRate.value!==a&&(this.i.playbackRate.value=a):this.i.playbackRate!==a&&(this.i.playbackRate=a)}};A.prototype.fq=function(a){switch(this.W){case I:a?this.He()?(this.i.pause(),this.hd=!0):this.hd=!1:this.hd&&this.i.play();break;case z:a?this.He()?(this.buffer.W===z?(this.pc=this.Gi(),this.ed&&(this.pc%=this.Fe()),c(this.i)):this.i.pause(),this.hd=!0):this.hd=!1:this.hd&&(this.buffer.W===z?(this.i=w.createBufferSource(),this.i.buffer=
this.buffer.fa,this.i.connect(this.Ha),this.i.loop=this.ed,this.Ha.gain.value=ra*this.volume*this.Yf,this.startTime=x.lc.Ga-this.pc,b(this.i,this.pc,this.Fe())):this.i.play());break;case S:a?this.He()?(this.i.pause(),this.hd=!0):this.hd=!1:this.hd&&this.i.play()}};r.Ya=function(b){this.type=b;x=this.b=b.b;D=this;this.$a=null;this.Qf=-600;!(this.b.Yi||this.b.Ug&&(this.b.Ef||this.b.pl))||this.b.Si||this.b.jb||(Ka=!0);w=null;"undefined"!==typeof AudioContext?(M=z,w=new AudioContext):"undefined"!==typeof webkitAudioContext&&
(M=z,w=new webkitAudioContext);(this.b.Yi&&M===z||Ka)&&document.addEventListener("touchstart",function(){var b,c,e;!jc&&w&&(b=w.createBuffer(1,1,22050),c=w.createBufferSource(),c.buffer=b,c.connect(w.destination),a(c),jc=!0);if(Ka){if(!qa)for(b=0,c=La.length;b<c;++b)e=La[b],e.ec||e.cd||e.i.play();La.length=0}},!0);M!==z&&(this.b.Vi?M=S:this.b.ql&&(M=F));M===S&&(H=location.href,b=H.lastIndexOf("/"),-1<b&&(H=H.substr(0,b+1)),H=H.replace("file://",""));if(this.b.sl&&this.b.sp&&"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.Sd(this);else{if(this.b.wb)Wa=this.b.Ug;else try{Wa=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(c){Wa=!1}this.b.Vj(this)}};var sa=r.Ya.prototype;sa.la=function(){Xa=this.$[0];this.jd=this.$[1];mb=this.$[2];nb=this.$[3];this.Qf=-this.$[4];gc=this.$[5];hc=this.$[6];ic=this.$[7];this.$a=new R;M===z&&(w.listener.speedOfSound=this.$[8],w.listener.dopplerFactor=this.$[9],w.listener.setPosition(this.b.K/2,this.b.J/2,this.Qf),w.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=
function(a,b){Ba&&Ba.disconnect();lb=b.toLowerCase();Ba=w.createMediaStreamSource(a);Ba.connect(d(lb))});this.b.ok(function(a){D.Ip(a)});var a=this;this.b.un(function(b){a.Dp(b)})};sa.Dp=function(a){var b,c,e;b=0;for(c=J.length;b<c;b++)e=J[b],e.qa&&e.qa.I===a&&(e.qa.I=null,e.Hc&&e.He()&&e.ed&&e.stop());this.$a.I===a&&(this.$a.I=null)};sa.$b=function(){var a={silent:qa,masterVolume:ra,listenerZ:this.Qf,listenerUid:this.$a.Rg()?this.$a.I.uid:-1,playing:[],effects:{}},b=a.playing,c,e,d,g,f,k;c=0;for(e=
J.length;c<e;c++)d=J[c],!d.He()||3===this.jd||d.kc&&1===this.jd||!d.kc&&2===this.jd||(g=d.Gi(),d.ed&&(g%=d.Fe()),g={tag:d.Qd,buffersrc:d.buffer.src,is_music:d.kc,playbackTime:g,volume:d.volume,looping:d.ed,muted:d.Je,playbackRate:d.playbackRate,paused:d.cd,resume_position:d.pc},d.Hc&&(g.pan={},k=g.pan,d.qa&&d.qa.Rg()?k.objUid=d.qa.I.uid:(k.x=d.am,k.y=d.cm,k.a=d.Xl),k.ia=d.Yl,k.oa=d.Zl,k.og=d.$l),b.push(g));b=a.effects;for(f in O)if(O.hasOwnProperty(f)){d=[];c=0;for(e=O[f].length;c<e;c++)d.push({type:O[f][c].type,
params:O[f][c].nc});b[f]=d}return a};var Ma=[];sa.Ec=function(a){var b=a.silent;ra=a.masterVolume;this.Qf=a.listenerZ;this.$a.Ue(null);var c=a.listenerUid;-1!==c&&(this.$a.jh=c,Ma.push(this.$a));var c=a.playing,e,d,f,h,m,r,x,z,w,y,A;if(3!==this.jd)for(e=0,d=J.length;e<d;e++)w=J[e],w.kc&&1===this.jd||(w.kc||2!==this.jd)&&w.stop();for(m in O)if(O.hasOwnProperty(m))for(e=0,d=O[m].length;e<d;e++)O[m][e].remove();Ta(O);for(m in a.effects)if(a.effects.hasOwnProperty(m))for(r=a.effects[m],e=0,d=r.length;e<
d;e++)switch(f=r[e].type,y=r[e].params,f){case "filter":E(m,new k(y[0],y[1],y[2],y[3],y[4],y[5]));break;case "delay":E(m,new n(y[0],y[1],y[2]));break;case "convolve":f=y[2];w=this.Lg(f,!1);w.fa?f=new t(w.fa,y[0],y[1],f):(f=new t(null,y[0],y[1],f),w.Ql=y[0],w.vg=f);E(m,f);break;case "flanger":E(m,new l(y[0],y[1],y[2],y[3],y[4]));break;case "phaser":E(m,new g(y[0],y[1],y[2],y[3],y[4],y[5]));break;case "gain":E(m,new q(y[0]));break;case "tremolo":E(m,new u(y[0],y[1]));break;case "ringmod":E(m,new s(y[0],
y[1]));break;case "distortion":E(m,new p(y[0],y[1],y[2],y[3],y[4]));break;case "compressor":E(m,new v(y[0],y[1],y[2],y[3],y[4]));break;case "analyser":E(m,new C(y[0],y[1]))}e=0;for(d=c.length;e<d;e++)3===this.jd||(a=c[e],f=a.buffersrc,h=a.is_music,m=a.tag,r=a.playbackTime,x=a.looping,z=a.volume,A=(y=a.pan)&&y.hasOwnProperty("objUid")?y.objUid:-1,h&&1===this.jd)||!h&&2===this.jd||((w=this.Xk(f,m,h,x,z))?(w.pc=a.resume_position,w.Mj(!!y),w.play(x,z,r),w.Pm(),w.oq(),w.Cg(w.Je||w.Hf),a.paused&&w.pause(),
a.muted&&w.dq(),w.Cg(w.Je||w.Hf),y&&(-1!==A?(w.qa=w.qa||new R,w.qa.jh=A,Ma.push(w.qa)):w.Dh(y.x,y.y,y.a,y.ia,y.oa,y.og))):(w=this.Lg(f,h),w.Ch=r,w.rh=a.paused,y&&(-1!==A?w.qe.push({Sl:A,Tg:y.ia,mh:y.oa,ph:y.og,Uj:m}):w.qe.push({x:y.x,y:y.y,tn:y.a,Tg:y.ia,mh:y.oa,ph:y.og,Uj:m}))));if(b&&!qa){e=0;for(d=J.length;e<d;e++)J[e].um(!0);qa=!0}else if(!b&&qa){e=0;for(d=J.length;e<d;e++)J[e].um(!1);qa=!1}};sa.Vc=function(){var a,b,c,e;a=0;for(b=Ma.length;a<b;a++)c=Ma[a],e=this.b.Og(c.jh),c.Ue(e),c.jh=-1,e&&
(ya=e.x,za=e.y);Ma.length=0};sa.Ip=function(a){var b,c;b=0;for(c=J.length;b<c;b++)J[b].fq(a)};sa.bb=function(){var a=this.b.ae,b,c,e;b=0;for(c=J.length;b<c;b++)e=J[b],e.bb(a),e.W===I||e.W===F||e.xd||e.ec||!e.Af()||(e.ec=!0,K=e.Qd,x.trigger(ec.prototype.g.Vh,D)),0!==Xa&&e.Pm();var d,g;for(d in O)if(O.hasOwnProperty(d))for(e=O[d],b=0,c=e.length;b<c;b++)g=e[b],g.bb&&g.bb();M===z&&this.$a.Rg()&&(this.$a.bb(a),ya=this.$a.I.x,za=this.$a.I.y,w.listener.setPosition(this.$a.I.x,this.$a.I.y,this.Qf),w.listener.setVelocity(this.$a.Ii(),
this.$a.Ji(),0))};sa.Lg=function(a,b){var c,e,d,g=null;c=0;for(e=ha.length;c<e;c++)if(d=ha[c],d.src===a){g=d;break}g||(g=new W(a,b),ha.push(g));return g};sa.Xk=function(a,b,c,e,d){var g,f,k;g=0;for(f=J.length;g<f;g++)if(k=J[g],k.src===a&&(k.Fn()||c))return k.Qd=b,k;a=this.Lg(a,c);if(!a.fa)return"<preload>"!==b&&(a.sh=b,a.ij=e,a.dk=d),null;k=new A(a,b);J.push(k);return k};var Ga=[];Q.prototype.Vh=function(a){return db(K,a)};r.g=new Q;ga.prototype.kf=function(a,b,c,e,d,g,f,k,l){!qa&&d&&(d=d.bl())&&
(e=h(e),a=1===a,b=this.b.Tk+b.toLowerCase()+(Wa?".ogg":".m4a"),(xa=this.Xk(b,l,a,0!==c,e))?(xa.Mj(!0),l=Pa(d.x,d.y,-d.e.ga(),ya,za,!0),b=Pa(d.x,d.y,-d.e.ga(),ya,za,!1),xa.Dh(l,b,Ca(d.j-d.e.ga()),g,f,h(k)),xa.Ue(d),xa.play(0!==c,e)):this.Lg(b,a).qe.push({I:d,Tg:g,mh:f,ph:h(k),Uj:l}))};ga.prototype.pn=function(){var a,b;a=0;for(b=J.length;a<b;a++)J[a].stop()};r.k=new ga;r.xa=new (B())})();function V(h){this.b=h}
(function(){function h(){}function m(){}var d=V.prototype;d.Jb=function(d){this.ma=d;this.b=d.b};d.Jb.prototype.la=B();d.Ya=function(d){this.type=d;this.b=d.b};d.Ya.prototype.la=function(){var d=this;window.addEventListener("resize",function(){d.b.trigger(V.prototype.g.ln,d)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){d.b.trigger(V.prototype.g.gn,d)}),window.addEventListener("offline",function(){d.b.trigger(V.prototype.g.en,d)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){d.b.Le=1;d.b.trigger(V.prototype.g.kk,d)}),window.applicationCache.addEventListener("progress",function(e){d.b.Le=e.loaded/e.total}));this.b.wb||(document.addEventListener("appMobi.device.update.available",function(){d.b.trigger(V.prototype.g.kk,d)}),document.addEventListener("backbutton",function(){d.b.trigger(V.prototype.g.gk,d)}),document.addEventListener("menubutton",function(){d.b.trigger(V.prototype.g.jk,d)}),document.addEventListener("searchbutton",
function(){d.b.trigger(V.prototype.g.mn,d)}),document.addEventListener("tizenhwkey",function(e){var a;switch(e.keyName){case "back":a=d.b.trigger(V.prototype.g.gk,d);!a&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(a=d.b.trigger(V.prototype.g.jk,d))||e.preventDefault()}}));this.b.ok(function(e){e?d.b.trigger(V.prototype.g.hn,d):d.b.trigger(V.prototype.g.jn,d)});this.tp="undefined"!==typeof window.is_scirra_arcade};h.prototype.gn=L(!0);h.prototype.en=L(!0);
h.prototype.kk=L(!0);h.prototype.jn=L(!0);h.prototype.hn=L(!0);h.prototype.ln=L(!0);h.prototype.gk=L(!0);h.prototype.jk=L(!0);h.prototype.mn=L(!0);d.g=new h;m.prototype.Vm=function(){this.b.Bc?CocoonJS.App.forceToFinish():window.tizen?window.tizen.application.getCurrentApplication().exit():navigator.app&&navigator.app.exitApp?navigator.app.exitApp():navigator.device&&navigator.device.exitApp?navigator.device.exitApp():this.tp||this.b.jb||window.close()};m.prototype.we=function(d){try{var e=d.split(","),
a,b;a=0;for(b=e.length;a<b;a++)e[a]=parseInt(e[a],10);navigator.vibrate?navigator.vibrate(e):navigator.mozVibrate?navigator.mozVibrate(e):navigator.webkitVibrate?navigator.webkitVibrate(e):navigator.msVibrate&&navigator.msVibrate(e)}catch(c){}};d.k=new m;d.xa=new (B())})();function X(h){this.b=h}
(function(){function h(){}function m(){}var d=X.prototype;d.Jb=function(a){this.ma=a;this.b=a.b};d.Jb.prototype.la=B();d.Ya=function(a){this.type=a;this.b=a.b;this.ci=Array(4);this.Hm=this.Oh=this.cf=this.Gd=this.Fd=0;this.Li=!1};var f=d.Ya.prototype;f.la=function(){var a=this;if(!this.b.jb){jQuery(document).mousemove(function(b){a.Fp(b)});jQuery(document).mousedown(function(b){a.Ep(b)});jQuery(document).mouseup(function(b){a.Gp(b)});jQuery(document).dblclick(function(b){a.Cp(b)});var b=function(b){a.Jp(b)};
document.addEventListener("mousewheel",b,!1);document.addEventListener("DOMMouseScroll",b,!1)}};var e={left:0,top:0};f.Fp=function(a){var b=this.b.jb?e:jQuery(this.b.canvas).offset();this.Fd=a.pageX-b.left;this.Gd=a.pageY-b.top};f.Ll=function(){return 0<this.b.rb?!0:0<=this.Fd&&0<=this.Gd&&this.Fd<this.b.width&&this.Gd<this.b.height};f.Ep=function(a){this.Ll()&&(this.b.Ki&&a.preventDefault(),this.ci[a.which]=!0,this.b.Cc=!0,this.b.trigger(X.prototype.g.Ud,this),this.cf=a.which-1,this.Oh=0,this.b.trigger(X.prototype.g.hk,
this),this.b.trigger(X.prototype.g.rc,this),this.b.Cc=!1)};f.Gp=function(a){this.ci[a.which]&&(this.b.Ki&&a.preventDefault(),this.b.Ki=!0,this.ci[a.which]=!1,this.b.Cc=!0,this.cf=a.which-1,this.b.trigger(X.prototype.g.kn,this),this.b.Cc=!1)};f.Cp=function(a){this.Ll()&&(a.preventDefault(),this.b.Cc=!0,this.cf=a.which-1,this.Oh=1,this.b.trigger(X.prototype.g.hk,this),this.b.trigger(X.prototype.g.rc,this),this.b.Cc=!1)};f.Jp=function(a){this.Hm=0>(a.wheelDelta?a.wheelDelta:a.detail?-a.detail:0)?0:1;
this.Li=!1;this.b.Cc=!0;this.b.trigger(X.prototype.g.nn,this);this.b.Cc=!1;this.Li&&a.preventDefault()};h.prototype.hk=function(a,b){return a===this.cf&&b===this.Oh};h.prototype.Ud=L(!0);h.prototype.kn=function(a){return a===this.cf};h.prototype.rc=function(a,b,c){return a!==this.cf||b!==this.Oh?!1:this.b.iq(c,this.Fd,this.Gd)};h.prototype.nn=function(a){this.Li=!0;return a===this.Hm};d.g=new h;d.k=new (B());m.prototype.xe=function(a,b){var c,e,d,f,h;ca(b)?(c=this.b.wf(0),e=c.scale,d=c.nd,f=c.fd,
h=c.j,c.scale=this.b.X.scale,c.nd=1,c.fd=1,c.j=this.b.X.j,a.G(c.pb(this.Fd,this.Gd,!0)),c.scale=e,c.nd=d,c.fd=f,c.j=h):(c=da(b)?this.b.wf(b):this.b.Fi(b))?a.G(c.pb(this.Fd,this.Gd,!0)):a.G(0)};m.prototype.ye=function(a,b){var c,e,d,f,h;ca(b)?(c=this.b.wf(0),e=c.scale,d=c.nd,f=c.gd,h=c.j,c.scale=this.b.X.scale,c.nd=1,c.gd=1,c.j=this.b.X.j,a.G(c.pb(this.Fd,this.Gd,!1)),c.scale=e,c.nd=d,c.gd=f,c.j=h):(c=da(b)?this.b.wf(b):this.b.Fi(b))?a.G(c.pb(this.Fd,this.Gd,!1)):a.G(0)};d.xa=new m})();
function Y(h){this.b=h}
(function(){function h(){if(0===this.ni.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Xe?b.drawImage(this.L,this.Qe,this.Re,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.L,0,0,this.width,this.height);this.ni=a.toDataURL("image/png")}return this.ni}function m(){}var d=Y.prototype;d.Jb=function(a){this.ma=a;this.b=a.b};var f=d.Jb.prototype;f.la=function(){if(!this.B){var a,b,c,e,d,f,m,s,p;this.hc=[];this.Sg=
!1;a=0;for(b=this.kb.length;a<b;a++){d=this.kb[a];m={};m.name=d[0];m.speed=d[1];m.loop=d[2];m.Ej=d[3];m.Bh=d[4];m.fm=d[5];m.M=d[6];m.frames=[];c=0;for(e=d[7].length;c<e;c++)f=d[7][c],s={},s.Rj=f[0],s.Sj=f[1],s.Qe=f[2],s.Re=f[3],s.width=f[4],s.height=f[5],s.duration=f[6],s.hb=f[7],s.ib=f[8],s.Oi=f[9],s.uh=f[10],s.gm=f[11],s.Xe=0!==s.width,s.ni="",s.Ir=h,p={left:0,top:0,right:1,bottom:1},s.Nj=p,s.ea=null,(p=this.b.Eo(f[0]))?s.L=p:(s.L=new Image,s.L.idtkLoadDisposed=!0,s.L.src=f[0],s.L.Jn=f[0],s.L.Hk=
f[1],s.L.Dn=null,this.b.Sm(s.L)),m.frames.push(s),this.hc.push(s);this.kb[a]=m}}};f.nq=function(){var a,b,c;a=0;for(b=this.d.length;a<b;a++)c=this.d[a],c.yg=c.Sb.ea};f.qh=function(){if(!this.B){var a,b,c;a=0;for(b=this.hc.length;a<b;++a)c=this.hc[a],c.L.Dn=null,c.ea=null}};f.pj=function(){if(!this.B&&this.d.length){var a,b,c;a=0;for(b=this.hc.length;a<b;++a)c=this.hc[a],c.ea=this.b.p.ih(c.L,!1,this.b.S,c.gm);this.nq()}};f.dj=function(){if(!this.B&&!this.Sg&&this.b.p){var a,b,c;a=0;for(b=this.hc.length;a<
b;++a)c=this.hc[a],c.ea=this.b.p.ih(c.L,!1,this.b.S,c.gm);this.Sg=!0}};f.$j=function(){if(!this.B&&!this.d.length&&this.Sg){var a,b,c;a=0;for(b=this.hc.length;a<b;++a)c=this.hc[a],this.b.p.deleteTexture(c.ea);this.Sg=!1}};var e=[];f.wj=function(a){var b,c,d;b=e.length=0;for(c=this.hc.length;b<c;++b)d=this.hc[b].L,-1===e.indexOf(d)&&(a.drawImage(d,0,0),e.push(d))};d.Ya=function(a){this.type=a;this.b=a.b;a=this.type.kb[0].frames[0].uh;this.Zb?this.tc.ig(a):this.tc=new Za(a)};var a=d.Ya.prototype;a.la=
function(){this.visible=0===this.$[0];this.pf=0!==this.$[3];1===this.type.kb.length&&1===this.type.kb[0].frames.length||0===this.type.kb[0].speed||this.b.Vj(this);this.ja=this.Wk(this.$[1])||this.type.kb[0];this.q=this.$[2];0>this.q&&(this.q=0);this.q>=this.ja.frames.length&&(this.q=this.ja.frames.length-1);var a=this.ja.frames[this.q];this.tc.ig(a.uh);this.hb=a.hb;this.ib=a.ib;this.rf=this.ja.speed;this.Zb?this.sc.reset():this.sc=new Va;this.ad=this.sc.Ga;this.Wd=!0;this.Wc=0;this.Vd=!0;this.ii=
this.qk="";this.In=0;this.hi=-1;this.type.dj();var b,c,d,e,f,h,m,a=0;for(b=this.type.kb.length;a<b;a++)for(e=this.type.kb[a],c=0,d=e.frames.length;c<d;c++)f=e.frames[c],0===f.width&&(f.width=f.L.width,f.height=f.L.height),f.Xe&&(m=f.L,h=f.Nj,h.left=f.Qe/m.width,h.top=f.Re/m.height,h.right=(f.Qe+f.width)/m.width,h.bottom=(f.Re+f.height)/m.height,0===f.Qe&&0===f.Re&&f.width===m.width&&f.height===m.height&&(f.Xe=!1));this.Sb=this.ja.frames[this.q];this.yg=this.Sb.ea};a.$b=function(){var a={a:this.ja.M,
f:this.q,cas:this.rf,fs:this.ad,ar:this.Wc,at:this.sc.Ga};this.Wd||(a.ap=this.Wd);this.Vd||(a.af=this.Vd);return a};a.Ec=function(a){var b=this.Io(a.a);b&&(this.ja=b);this.q=a.f;0>this.q&&(this.q=0);this.q>=this.ja.frames.length&&(this.q=this.ja.frames.length-1);this.rf=a.cas;this.ad=a.fs;this.Wc=a.ar;this.sc.reset();this.sc.Ga=a.at;this.Wd=a.hasOwnProperty("ap")?a.ap:!0;this.Vd=a.hasOwnProperty("af")?a.af:!0;this.Sb=this.ja.frames[this.q];this.yg=this.Sb.ea;this.tc.ig(this.Sb.uh);this.hb=this.Sb.hb;
this.ib=this.Sb.ib};a.$h=function(a){this.q=a?0:this.ja.frames.length-1;this.Wd=!1;this.qk=this.ja.name;this.b.trigger(Y.prototype.g.Zm,this);this.b.trigger(Y.prototype.g.Ym,this);this.Wc=0};a.Jr=function(){return this.sc.Ga};a.bb=function(){this.sc.add(this.b.$k(this));this.ii.length&&this.On();0<=this.hi&&this.Pn();var a=this.sc.Ga,b=this.ja,c=b.frames[this.q],d=c.duration/this.rf;this.Wd&&a>=this.ad+d&&(this.Vd?this.q++:this.q--,this.ad+=d,this.q>=b.frames.length&&(b.fm?(this.Vd=!1,this.q=b.frames.length-
2):b.loop?this.q=b.Bh:(this.Wc++,this.Wc>=b.Ej?this.$h(!1):this.q=b.Bh)),0>this.q&&(b.fm?(this.q=1,this.Vd=!0,b.loop||(this.Wc++,this.Wc>=b.Ej&&this.$h(!0))):b.loop?this.q=b.Bh:(this.Wc++,this.Wc>=b.Ej?this.$h(!0):this.q=b.Bh)),0>this.q?this.q=0:this.q>=b.frames.length&&(this.q=b.frames.length-1),a>this.ad+b.frames[this.q].duration/this.rf&&(this.ad=a),a=b.frames[this.q],this.jf(c,a),this.b.aa=!0)};a.Wk=function(a){var b,c,d;b=0;for(c=this.type.kb.length;b<c;b++)if(d=this.type.kb[b],db(d.name,a))return d;
return null};a.Io=function(a){var b,c,d;b=0;for(c=this.type.kb.length;b<c;b++)if(d=this.type.kb[b],d.M===a)return d;return null};a.On=function(){var a=this.ja.frames[this.q],b=this.Wk(this.ii);this.ii="";!b||db(b.name,this.ja.name)&&this.Wd||(this.ja=b,this.rf=b.speed,0>this.q&&(this.q=0),this.q>=this.ja.frames.length&&(this.q=this.ja.frames.length-1),1===this.In&&(this.q=0),this.Wd=!0,this.ad=this.sc.Ga,this.Vd=!0,this.jf(a,this.ja.frames[this.q]),this.b.aa=!0)};a.Pn=function(){var a=this.ja.frames[this.q],
b=this.q;this.q=ma(this.hi);0>this.q&&(this.q=0);this.q>=this.ja.frames.length&&(this.q=this.ja.frames.length-1);b!==this.q&&(this.jf(a,this.ja.frames[this.q]),this.ad=this.sc.Ga,this.b.aa=!0);this.hi=-1};a.jf=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.hb=b.hb;this.ib=b.ib;this.tc.ig(b.uh);this.Pa();this.Sb=b;this.yg=b.ea;c=0;for(d=this.H.length;c<d;c++)e=this.H[c],e.Hp&&e.Hp(a,b);this.b.trigger(Y.prototype.g.jf,this)};a.wc=function(a){a.globalAlpha=
this.opacity;var b=this.Sb,c=b.Xe,d=b.L,e=this.x,f=this.y,h=this.width,m=this.height;if(0===this.j&&0<=h&&0<=m)e-=this.hb*h,f-=this.ib*m,this.b.Ic&&(e=e+0.5|0,f=f+0.5|0),c?a.drawImage(d,b.Qe,b.Re,b.width,b.height,e,f,h,m):a.drawImage(d,e,f,h,m);else{this.b.Ic&&(e=e+0.5|0,f=f+0.5|0);a.save();var p=0<h?1:-1,v=0<m?1:-1;a.translate(e,f);1===p&&1===v||a.scale(p,v);a.rotate(this.j*p*v);e=0-this.hb*ia(h);f=0-this.ib*ia(m);c?a.drawImage(d,b.Qe,b.Re,b.width,b.height,e,f,ia(h),ia(m)):a.drawImage(d,e,f,ia(h),
ia(m));a.restore()}};a.Vb=function(a){a.Bb(this.yg);a.se(this.opacity);var b=this.Sb,c=this.sd;if(this.b.Ic){var d=(this.x+0.5|0)-this.x,e=(this.y+0.5|0)-this.y;b.Xe?a.Jc(c.Ra+d,c.Sa+e,c.Db+d,c.Eb+e,c.nb+d,c.ob+e,c.lb+d,c.mb+e,b.Nj):a.zh(c.Ra+d,c.Sa+e,c.Db+d,c.Eb+e,c.nb+d,c.ob+e,c.lb+d,c.mb+e)}else b.Xe?a.Jc(c.Ra,c.Sa,c.Db,c.Eb,c.nb,c.ob,c.lb,c.mb,b.Nj):a.zh(c.Ra,c.Sa,c.Db,c.Eb,c.nb,c.ob,c.lb,c.mb)};a.Mo=function(a){var b=this.Sb,c,d;c=0;for(d=b.Oi.length;c<d;c++)if(db(a,b.Oi[c][0]))return c;return-1};
a.Ei=function(a,b){var c=this.Sb,d=c.Oi,e;e=P(a)?this.Mo(a):a-1;e=ma(e);if(0>e||e>=d.length)return b?this.x:this.y;var f=(d[e][1]-c.hb)*this.width,d=d[e][2],d=(d-c.ib)*this.height,c=Math.cos(this.j);e=Math.sin(this.j);var h=f*c-d*e,d=d*c+f*e,f=h+this.x,d=d+this.y;return b?f:d};var b=new ba,c=!1;f.finish=function(a){if(c){if(a){var d=this.b.sb().ic.Gc;a=null.Y();var e=b.ng(),f,g;if(a.da){a.da=!1;a.d.length=e.length;f=0;for(g=e.length;f<g;f++)a.d[f]=e[f];if(d)for(f=a.T.length=0,g=null.d.length;f<g;f++)e=
null.d[f],b.contains(e)||a.T.push(e)}else if(d)for(d=a.d.length,a.d.length=d+e.length,f=0,g=e.length;f<g;f++)a.d[d+f]=e[f],Aa(a.T,e[f]);else wa(a.d,e);null.pd()}b.clear();c=!1}};m.prototype.Ym=function(a){return db(this.qk,a)};m.prototype.Zm=L(!0);m.prototype.jf=L(!0);d.g=new m;d.k=new (B());d.xa=new (B())})();function fc(h){this.b=h}
(function(){function h(){return a.length?a.pop():{}}function m(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.la=function(){d.k.on=function(a){this.width!==a&&(this.width=a,this.$e=!0,this.Pa())}};d.Jb=function(a){this.ma=a;this.b=a.b};var f=d.Jb.prototype;f.la=B();f.qh=function(){if(!this.B){var a,c,d;a=0;for(c=this.d.length;a<c;a++)d=this.d[a],d.Fc=null,d.pe=null,d.yb=null}};d.Ya=function(a){this.type=a;this.b=a.b;this.Zb?this.Dd.length=0:this.Dd=[];this.$e=!0};
f=d.Ya.prototype;f.la=function(){this.text=this.$[0];this.visible=0===this.$[1];this.font=this.$[2];this.color=this.$[3];this.Qg=this.$[4];this.Rh=this.$[5];this.fk=0===this.$[7];this.aj=this.dh=this.width;this.bh=this.height;this.cj=this.$[8];this.Jg=this.De="";this.Dm=this.Em=this.eg=0;this.Kp();this.yb=this.pe=this.Fc=null;this.Ol=!1;this.Pf=this.b.kd;this.Zb?this.Jd.set(0,0,1,1):this.Jd=new pa(0,0,1,1);this.b.p&&this.b.Vj(this)};f.Kp=function(){var a=this.font.split(" "),c;for(c=0;c<a.length;c++)if("pt"===
a[c].substr(a[c].length-2,2)){this.eg=parseInt(a[c].substr(0,a[c].length-2));this.Aj=Math.ceil(96*(this.eg/72))+4;0<c&&(this.Jg=a[c-1]);this.De=a[c+1];for(c+=2;c<a.length;c++)this.De+=" "+a[c];break}};f.$b=function(){return{t:this.text,f:this.font,c:this.color,ha:this.Qg,va:this.Rh,wr:this.fk,lho:this.cj,fn:this.De,fs:this.Jg,ps:this.eg,pxh:this.Aj,tw:this.Em,th:this.Dm,lrt:this.Pf}};f.Ec=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.Qg=a.ha;this.Rh=a.va;this.fk=a.wr;this.cj=a.lho;this.De=
a.fn;this.Jg=a.fs;this.eg=a.ps;this.Aj=a.pxh;this.Em=a.tw;this.Dm=a.th;this.Pf=a.lrt;this.$e=!0;this.aj=this.dh=this.width;this.bh=this.height};f.bb=function(){if(this.b.p&&this.yb&&300<=this.b.kd-this.Pf){var a=this.e;this.cb();var c=this.Za;if(c.right<a.Ta||c.bottom<a.Ua||c.left>a.Gb||c.top>a.Fb)this.b.p.deleteTexture(this.yb),this.Fc=this.pe=this.yb=null}};f.ag=function(){this.Fc=this.pe=null;this.b.p&&this.yb&&this.b.p.deleteTexture(this.yb);this.yb=null};f.Sr=function(){this.font=this.Jg+" "+
this.eg.toString()+"pt "+this.De;this.$e=!0;this.b.aa=!0};f.wc=function(a,c){a.font=this.font;a.textBaseline="top";a.fillStyle=this.color;a.globalAlpha=c?1:this.opacity;var d=1;c&&(d=this.e.tb(),a.save(),a.scale(d,d));if(this.$e||this.width!==this.aj)this.type.ma.rn(this.text,this.Dd,a,this.width,this.fk),this.$e=!1,this.aj=this.width;this.cb();var d=c?0:this.sd.Ra,e=c?0:this.sd.Sa;this.b.Ic&&(d=d+0.5|0,e=e+0.5|0);0===this.j||c||(a.save(),a.translate(d,e),a.rotate(this.j),e=d=0);var f=e+this.height,
h=this.Aj,h=h+this.cj,g,m;1===this.Rh?e+=Math.max(this.height/2-this.Dd.length*h/2,0):2===this.Rh&&(e+=Math.max(this.height-this.Dd.length*h-2,0));for(m=0;m<this.Dd.length&&!(g=d,1===this.Qg?g=d+(this.width-this.Dd[m].width)/2:2===this.Qg&&(g=d+(this.width-this.Dd[m].width)),a.fillText(this.Dd[m].text,g,e),e+=h,e>=f-h);m++);(0!==this.j||c)&&a.restore();this.Pf=this.b.kd};f.Vb=function(a){if(!(1>this.width||1>this.height)){var c=this.$e||this.Ol;this.Ol=!1;var d=this.e.tb(),e=this.e.ga(),f=this.Jd,
h=d*this.width,g=d*this.height,m=Math.ceil(h),u=Math.ceil(g),s=this.b.K/2,p=this.b.J/2;this.pe||(this.Fc=document.createElement("canvas"),this.Fc.width=m,this.Fc.height=u,this.dh=m,this.bh=u,c=!0,this.pe=this.Fc.getContext("2d"));if(m!==this.dh||u!==this.bh)this.Fc.width=m,this.Fc.height=u,this.yb&&(a.deleteTexture(this.yb),this.yb=null),c=!0;c&&(this.pe.clearRect(0,0,m,u),this.wc(this.pe,!0),this.yb||(this.yb=a.Yc(m,u,this.b.S,this.b.zd)),a.tq(this.Fc,this.yb,this.b.zd));this.dh=m;this.bh=u;a.Bb(this.yb);
a.se(this.opacity);a.Kc();a.translate(-s,-p);a.Pc();var v=this.sd,C=this.b.devicePixelRatio;this.b.devicePixelRatio=1;var c=this.e.Ca(v.Ra,v.Sa,!0),s=this.e.Ca(v.Ra,v.Sa,!1),p=this.e.Ca(v.Db,v.Eb,!0),R=this.e.Ca(v.Db,v.Eb,!1),W=this.e.Ca(v.nb,v.ob,!0),A=this.e.Ca(v.nb,v.ob,!1),E=this.e.Ca(v.lb,v.mb,!0),v=this.e.Ca(v.lb,v.mb,!1);this.b.devicePixelRatio=C;if(this.b.Ic||0===this.j&&0===e)var C=(c+0.5|0)-c,Q=(s+0.5|0)-s,c=c+C,s=s+Q,p=p+C,R=R+Q,W=W+C,A=A+Q,E=E+C,v=v+Q;0===this.j&&0===e?(p=c+m,R=s,W=p,
A=s+u,E=c,v=A,f.right=1,f.bottom=1):(f.right=h/m,f.bottom=g/u);a.Jc(c,s,p,R,W,A,E,v,f);a.Kc();a.scale(d,d);a.Gj(-this.e.ga());a.translate((this.e.Ta+this.e.Gb)/-2,(this.e.Ua+this.e.Fb)/-2);a.Pc();this.Pf=this.b.kd}};var e=[];d.qn=function(a){e.length=0;for(var c="",d,f=0;f<a.length;)if(d=a.charAt(f),"\n"===d)c.length&&(e.push(c),c=""),e.push("\n"),++f;else if(" "===d||"\t"===d||"-"===d){do c+=a.charAt(f),f++;while(f<a.length&&(" "===a.charAt(f)||"\t"===a.charAt(f)));e.push(c);c=""}else f<a.length&&
(c+=d,f++);c.length&&e.push(c)};var a=[];d.rn=function(a,c,d,e,f){if(a&&a.length)if(2>=e)m(c);else{if(100>=a.length&&-1===a.indexOf("\n")){var l=d.measureText(a).width;if(l<=e){m(c);c.push(h());c[0].text=a;c[0].width=l;return}}this.sn(a,c,d,e,f)}else m(c)};d.sn=function(b,c,d,f,m){m&&(this.qn(b),b=e);var l="",g,q,u,s=0;for(u=0;u<b.length;u++)"\n"===b[u]?(s>=c.length&&c.push(h()),q=c[s],q.text=l,q.width=d.measureText(l).width,s++,l=""):(g=l,l+=b[u],q=d.measureText(l).width,q>=f&&(s>=c.length&&c.push(h()),
q=c[s],q.text=g,q.width=d.measureText(g).width,s++,l=b[u],m||" "!==l||(l="")));l.length&&(s>=c.length&&c.push(h()),q=c[s],q.text=l,q.width=d.measureText(l).width,s++);for(u=s;u<c.length;u++)a.push(c[u]);c.length=s};d.g=new (B());d.k=new (B());d.xa=new (B())})();function Z(h){this.b=h}
(function(){var h=Z.prototype;h.Jb=function(d){this.ma=d;this.b=d.b};var m=h.Jb.prototype;m.la=function(){this.B||(this.L=new Image,this.L.idtkLoadDisposed=!0,this.L.src=this.Rj,this.L.Hk=this.Sj,this.b.Sm(this.L),this.ea=this.pattern=null)};m.qh=function(){this.B||(this.ea=null)};m.pj=function(){if(!this.B&&this.d.length){this.ea||(this.ea=this.b.p.ih(this.L,!0,this.b.S,this.Tj));var d,f;d=0;for(f=this.d.length;d<f;d++)this.d[d].ea=this.ea}};m.dj=function(){this.B||this.ea||!this.b.p||(this.ea=this.b.p.ih(this.L,
!0,this.b.S,this.Tj))};m.$j=function(){this.B||this.d.length||!this.ea||(this.b.p.deleteTexture(this.ea),this.ea=null)};m.wj=function(d){d.drawImage(this.L,0,0)};h.Ya=function(d){this.type=d;this.b=d.b};m=h.Ya.prototype;m.la=function(){this.visible=0===this.$[0];this.Jd=new pa(0,0,0,0);this.jl=!1;this.L=this.type.L;this.b.p?(this.type.dj(),this.ea=this.type.ea):(this.type.pattern||(this.type.pattern=this.b.V.createPattern(this.type.L,"repeat")),this.pattern=this.type.pattern)};m.Vc=function(){this.jl=
!1;this.L=this.type.L};m.ag=function(){this.b.p&&this.jl&&this.ea&&(this.b.p.deleteTexture(this.ea),this.ea=null)};m.wc=function(d){d.globalAlpha=this.opacity;d.save();d.fillStyle=this.pattern;var f=this.x,e=this.y;this.b.Ic&&(f=f+0.5|0,e=e+0.5|0);var a=-(this.hb*this.width),b=-(this.ib*this.height),c=a%this.L.width,h=b%this.L.height;0>c&&(c+=this.L.width);0>h&&(h+=this.L.height);d.translate(f,e);d.rotate(this.j);d.translate(c,h);d.fillRect(a-c,b-h,this.width,this.height);d.restore()};m.Vb=function(d){d.Bb(this.ea);
d.se(this.opacity);var f=this.Jd;f.right=this.width/this.L.width;f.bottom=this.height/this.L.height;var e=this.sd;if(this.b.Ic){var a=(this.x+0.5|0)-this.x,b=(this.y+0.5|0)-this.y;d.Jc(e.Ra+a,e.Sa+b,e.Db+a,e.Eb+b,e.nb+a,e.ob+b,e.lb+a,e.mb+b,f)}else d.Jc(e.Ra,e.Sa,e.Db,e.Eb,e.nb,e.ob,e.lb,e.mb,f)};h.g=new (B());h.k=new (B());h.xa=new (B())})();
function dc(){return[null,"main",[[ec,!0,!1,!1,!1,!1,!1,!1,!1,!1],[V,!0,!1,!1,!1,!1,!1,!1,!1,!1],[X,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Y,!1,!0,!0,!0,!0,!0,!0,!0,!1],[fc,!1,!0,!0,!0,!0,!0,!0,!0,!1],[Z,!1,!0,!0,!0,!0,!0,!0,!0,!0]],[["t0",Z,!1,[],0,0,["images/screnn.png",88871,1],null,[],!1,!1,0x93689994087c4,[],null],["t1",Y,!1,[394835740812564],0,0,null,[["Default",5,!1,1,0,!1,0xe5a38f90e17f9,[["images/crack1-sheet0.png",5467,0,0,96,96,1,0.5,0.5,[],[-0.1666670143604279,-0.1666670143604279,0,-0.2291670143604279,
0.125,-0.125,0.1979169845581055,0,0.09375,0.09375,0,0.125,-0.21875,0.21875,-0.1354170143604279,0],0]]]],[],!1,!1,6668612560445414,[],null],["t2",Y,!1,[],0,0,null,[["Default",5,!1,1,0,!1,6770754882035942,[["images/crack2-sheet0.png",142433,0,0,420,420,1,0.5,0.5,[],[-0.1976189911365509,-0.1976189911365509,0,-0.0642859935760498,0.2023810148239136,-0.2023810148239136,0.3261899948120117,0,0.0642859935760498,0.0642859935760498,0,0.1119049787521362,-0.07381001114845276,0.07380998134613037,-0.07618999481201172,
0],0]]]],[],!1,!1,0x6dce14f9d1b07,[],null],["t3",Y,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7454175014382567,[["images/crack3-sheet0.png",13885,0,0,360,315,1,0.5,0.5015873312950134,[],[-0.1527779996395111,-0.1047623455524445,0,-0.3555553257465363,0.1611109972000122,-0.003174334764480591,0.2138890027999878,0.1714286804199219,-0.2222220003604889,0.1809526681900024,-0.1666670143604279,-0.003174334764480591],0]]]],[],!1,!1,798456045335659,[],null],["t4",Y,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7673299091600778,
[["images/crack4-sheet0.png",13770,0,0,295,225,1,0.501694917678833,0.5022222399711609,[],[-0.1728809177875519,-0.07111123204231262,0.4338980913162231,-0.4177778363227844,0.08813607692718506,-0.004444241523742676,0.2203390598297119,0.1333337426185608,-0.003389924764633179,0.1822217702865601,-0.2067799270153046,0.1111107468605042,-0.08813592791557312,-0.004444241523742676],0]]]],[],!1,!1,4955405465532293,[],null],["t5",Y,!1,[],0,0,null,[["Default",5,!1,1,0,!1,4889521653077316,[["images/crack5-sheet0.png",
11762,0,0,225,185,1,0.5022222399711609,0.5027027130126953,[],[0.02666676044464111,0.1405403017997742,-0.08000025153160095,-0.2054057121276856,0.0577777624130249,-0.1837837100028992],0]]]],[],!1,!1,9685595781447144,[],null],["t6",fc,!1,[],0,0,null,null,[],!1,!1,457572952317276,[],null],["t7",V,!1,[],0,0,null,null,[],!1,!1,4698711324710266,[],null,[]],["t8",Y,!1,[],0,0,null,[["Default",5,!1,1,0,!1,9775898019000852,[["images/buttin-sheet0.png",343,0,0,250,250,1,0.5,0.5,[],[],1]]]],[],!1,!1,7277635683281075,
[],null],["t9",fc,!1,[],0,0,null,null,[],!1,!0,7450889810782492,[],null],["t10",fc,!1,[],0,0,null,null,[],!1,!1,9458273558060748,[],null],["t11",fc,!1,[],0,0,null,null,[],!1,!0,4923402504554517,[],null],["t12",ec,!1,[],0,0,null,null,[],!1,!1,0xf03150bd44fb,[],null,[0,0,1,1,600,600,1E4,1,5E3,1]],["t13",Y,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7148358486412867,[["images/button-sheet0.png",452,0,0,196,70,1,0.5,0.5,[],[-0.4897958934307098,-0.4714286029338837,0,-0.5,0.489795982837677,-0.4714286029338837,
0.489795982837677,0.4714289903640747,0,0.5,-0.4897958934307098,0.4714289903640747],0]]]],[],!1,!0,0xfe5e8f21b48d6,[],null],["t14",Y,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7697442710109908,[["images/button-sheet0.png",452,0,0,196,70,1,0.5,0.5,[],[-0.4897958934307098,-0.4714286029338837,0,-0.5,0.489795982837677,-0.4714286029338837,0.489795982837677,0.4714289903640747,0,0.5,-0.4897958934307098,0.4714289903640747],0]]]],[],!1,!0,8167329688956703,[],null],["t15",Y,!1,[],0,0,null,[["Default",5,!1,1,0,!1,
6412717266240028,[["images/icon-sheet0.png",25449,0,0,128,128,1,0.5,0.5,[],[-0.3359369933605194,-0.3359369933605194,0,-0.4609375,0.328125,-0.328125,0.484375,0,0.34375,0.34375,0,0.484375,-0.3515619933605194,0.3515629768371582,-0.4921875,0],0]]]],[],!1,!0,5672543460722858,[],null],["t16",X,!1,[],0,0,null,null,[],!1,!1,0x546ad31f7917d,[],null,[]],["t17",fc,!1,[],0,0,null,null,[],!1,!0,5922928107930617,[],null],["t18",Y,!1,[],0,0,null,[["Default",5,!1,1,0,!1,9297364947857014,[["images/button-sheet0.png",
452,0,0,196,70,1,0.5,0.5,[],[-0.4897958934307098,-0.4714286029338837,0,-0.5,0.489795982837677,-0.4714286029338837,0.489795982837677,0.4714289903640747,0,0.5,-0.4897958934307098,0.4714289903640747],0]]]],[],!1,!0,4706164181584958,[],null],["t19",Z,!1,[],0,0,["images/screnn2.png",265538,0],null,[],!1,!1,6492628821068005,[],null],["t20",Z,!1,[],0,0,["images/screnn3.png",228453,0],null,[],!1,!1,5848117821609705,[],null],["t21",Z,!1,[],0,0,["images/screnn4.png",95440,0],null,[],!1,!1,8593130422327488,
[],null],["t22",fc,!1,[],0,0,null,null,[],!1,!1,5029906598149158,[],null],["t23",fc,!1,[],0,0,null,null,[],!1,!1,6927272358824132,[],null],["t24",fc,!1,[],0,0,null,null,[],!1,!1,8376459308982104,[],null],["t25",fc,!1,[],0,0,null,null,[],!1,!1,7025008145961087,[],null],["t26",Y,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0xaee744f635801,[["images/return-sheet0.png",140,0,0,205,169,1,0.507317066192627,0.4733727872371674,[],[],3]]]],[],!1,!1,9859017534774708,[],null]],[],[["Layout 1",960,1280,!1,"Event sheet 1",
8873350371196689,[["Layer 0",0,8722530541249526,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[0,0,0,480,640,0,0,1,0,0,0,0,[]],0,0,[],[],[0,0]]],[]],["Layer 1",1,7851764918954703,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[-140,344,0,96,96,0,0,1,0.5,0.5,0,0,[]],1,1,[[1]],[],[0,"Default",0,1]],[[-256,491,0,420,420,0,0,1,0.5,0.5,0,0,[]],2,2,[],[],[0,"Default",0,1]],[[-282,212,0,360,315,0,0,1,0.5,0.5015873312950134,0,0,[]],3,3,[],[],[0,"Default",0,1]],[[-243,308,0,295,225,0,0,1,0.501694917678833,0.5022222399711609,
0,0,[]],4,4,[],[],[0,"Default",0,1]],[[-185,301,0,225,185,0,0,1,0.5022222399711609,0.5027027130126953,0,0,[]],5,5,[],[],[0,"Default",0,1]],[[954,506,0,480,640,0,0,1,0,0,0,0,[]],19,16,[],[],[0,0]],[[1462,-449,0,480,640,0,0,1,0,0,0,0,[]],20,17,[],[],[0,0]],[[1885,476,0,480,640,0,0,1,0,0,0,0,[]],21,18,[],[],[0,0]],[[34.49118041992188,29.29264640808106,0,66,58,0,0,1,0.507317066192627,0.4733727872371674,0,0,[]],26,29,[],[],[0,"Default",0,1]]],[]]],[],[]],["main",1708,960,!1,"main",8967449168465258,[["Layer 0",
0,0xd52bfe7f2a7c9,!0,[60,60,60],!1,1,1,1,!1,1,0,0,[[[168,205,0,196,54,0,0,1,0.5,0.5,0,0,[]],18,15,[],[],[0,"Default",0,1]],[[167,351,0,196,50,0,0,1,0.5,0.5,0,0,[]],14,9,[],[],[0,"Default",0,1]],[[168,279,0,196,53,0,0,1,0.5,0.5,0,0,[]],13,7,[],[],[0,"Default",0,1]],[[79,184,0,180,34,0,0,1,0,0,0,0,[]],9,12,[],[],["Start",0,"bold 12pt Arial Black","rgb(255,255,255)",0,0,0,0,0]],[[78,331,0,179,32,0,0,1,0,0,0,0,[]],11,14,[],[],["Exit",0,"bold 12pt Arial Black","rgb(255,255,255)",0,0,0,0,0]],[[168,93,0,
128,128,0,0,1,0.5,0.5,0,0,[]],15,11,[],[],[0,"Default",0,1]],[[78,259,0,180,34,0,0,1,0,0,0,0,[]],17,6,[],[],["Choose Screen",0,"bold 12pt Arial Black","rgb(255,255,255)",0,0,0,0,0]]],[]]],[],[]],["screen",1708,960,!1,"Event sheet 2",0x9de0e27193fdc,[["Layer 0",0,5930747520204072,!0,[30,30,30],!1,1,1,1,!1,1,0,0,[[[162,120,0,196,53,0,0,1,0.5,0.5,0,0,[]],13,19,[],[],[0,"Default",0,1]],[[162,185,0,196,53,0,0,1,0.5,0.5,0,0,[]],13,20,[],[],[0,"Default",0,1]],[[161,249,0,196,53,0,0,1,0.5,0.5,0,0,[]],13,
21,[],[],[0,"Default",0,1]],[[162,312,0,196,53,0,0,1,0.5,0.5,0,0,[]],13,22,[],[],[0,"Default",0,1]],[[161,439,0,196,53,0,0,1,0.5,0.5,0,0,[]],13,23,[],[],[0,"Default",0,1]],[[72,420,0,179,32,0,0,1,0,0,0,0,[]],11,24,[],[],["Exit",0,"bold 12pt Arial Black","rgb(255,255,255)",0,0,0,0,0]],[[73,100,0,179,32,0,0,1,0,0,0,0,[]],22,25,[],[],["FireFox Os Screen",0,"bold 12pt Arial Black","rgb(255,255,255)",0,0,0,0,0]],[[73,165,0,179,32,0,0,1,0,0,0,0,[]],23,26,[],[],["IOS Screen ",0,"bold 12pt Arial Black","rgb(255,255,255)",
0,0,0,0,0]],[[72,231,0,179,32,0,0,1,0,0,0,0,[]],24,27,[],[],["Android Screen",0,"bold 12pt Arial Black","rgb(255,255,255)",0,0,0,0,0]],[[74,293,0,178,32,0,0,1,0,0,0,0,[]],25,28,[],[],["Windows Phone Screen",0,"bold 12pt Arial Black","rgb(255,255,255)",0,0,0,0,0]]],[]]],[],[]]],[["Event sheet 1",[[1,"cracknumb",0,1,!1,!1,6290029451610851,!1],[0,null,!1,null,766166922306742,[[16,X.prototype.g.Ud,null,1,!1,!1,!1,7251631740542229,!1]],[[-1,U.prototype.k.Tc,null,7121049991208106,!1,[[11,"cracknumb"],[7,
[19,U.prototype.xa.round,[[19,U.prototype.xa.random,[[0,1],[0,5]]]]]]]]]],[0,null,!1,null,7606736330647552,[[16,X.prototype.g.Ud,null,1,!1,!1,!1,6078328827270577,!1],[-1,U.prototype.g.Rc,null,0,!1,!1,!1,6889728638749725,!1,[[11,"cracknumb"],[8,0],[7,[0,1]]]]],[[7,V.prototype.k.we,null,5362676567399707,!1,[[1,[2,"200"]]]],[-1,U.prototype.k.Sc,null,0x9d44f4e79cacd,!1,[[4,1],[5,[0,0]],[0,[20,16,X.prototype.xa.xe,!1,null]],[0,[20,16,X.prototype.xa.ye,!1,null]]]],[12,ec.prototype.k.kf,null,0x9c5f5440ffe95,
!1,[[3,0],[1,[2,"2"]],[3,0],[0,[0,0]],[4,1],[0,[0,360]],[0,[0,0]],[0,[0,0]],[1,[2,""]]]]]],[0,null,!1,null,8584142762218968,[[16,X.prototype.g.Ud,null,1,!1,!1,!1,527556253349325,!1],[-1,U.prototype.g.Rc,null,0,!1,!1,!1,0x6f078ea9796c4,!1,[[11,"cracknumb"],[8,0],[7,[0,2]]]]],[[7,V.prototype.k.we,null,0x575f972354f17,!1,[[1,[2,"200"]]]],[-1,U.prototype.k.Sc,null,6313835343785174,!1,[[4,2],[5,[0,0]],[0,[20,16,X.prototype.xa.xe,!1,null]],[0,[20,16,X.prototype.xa.ye,!1,null]]]],[12,ec.prototype.k.kf,null,
985781441979029,!1,[[3,0],[1,[2,"2"]],[3,0],[0,[0,0]],[4,2],[0,[0,360]],[0,[0,0]],[0,[0,0]],[1,[2,""]]]]]],[0,null,!1,null,0xb4aaa4d57234e,[[16,X.prototype.g.Ud,null,1,!1,!1,!1,0xe43ad9c990e29,!1],[-1,U.prototype.g.Rc,null,0,!1,!1,!1,7983244242068308,!1,[[11,"cracknumb"],[8,0],[7,[0,3]]]]],[[7,V.prototype.k.we,null,0x80dfff69406ce,!1,[[1,[2,"200"]]]],[-1,U.prototype.k.Sc,null,8224574047663295,!1,[[4,3],[5,[0,0]],[0,[20,16,X.prototype.xa.xe,!1,null]],[0,[20,16,X.prototype.xa.ye,!1,null]]]],[12,ec.prototype.k.kf,
null,0xfe5c557e4ddd8,!1,[[3,0],[1,[2,"3"]],[3,0],[0,[0,0]],[4,3],[0,[0,360]],[0,[0,0]],[0,[0,0]],[1,[2,""]]]]]],[0,null,!1,null,0x69f5b7c424a2a,[[16,X.prototype.g.Ud,null,1,!1,!1,!1,7824347993851983,!1],[-1,U.prototype.g.Rc,null,0,!1,!1,!1,0x7940f698a4bd5,!1,[[11,"cracknumb"],[8,0],[7,[0,4]]]]],[[7,V.prototype.k.we,null,6095257353463065,!1,[[1,[2,"200"]]]],[-1,U.prototype.k.Sc,null,0xf0e9391692ee8,!1,[[4,4],[5,[0,0]],[0,[20,16,X.prototype.xa.xe,!1,null]],[0,[20,16,X.prototype.xa.ye,!1,null]]]],[12,
ec.prototype.k.kf,null,0xbf61909c7073e,!1,[[3,0],[1,[2,"5"]],[3,0],[0,[0,0]],[4,4],[0,[0,360]],[0,[0,0]],[0,[0,0]],[1,[2,""]]]]]],[0,null,!1,null,26315898324185,[[16,X.prototype.g.Ud,null,1,!1,!1,!1,9775863630069884,!1],[-1,U.prototype.g.Rc,null,0,!1,!1,!1,545472137017884,!1,[[11,"cracknumb"],[8,0],[7,[0,5]]]]],[[7,V.prototype.k.we,null,0x8e3ddd3bf889e,!1,[[1,[2,"200"]]]],[-1,U.prototype.k.Sc,null,4713171230556652,!1,[[4,5],[5,[0,0]],[0,[20,16,X.prototype.xa.xe,!1,null]],[0,[20,16,X.prototype.xa.ye,
!1,null]]]],[12,ec.prototype.k.kf,null,0x3a55b04eae0f7,!1,[[3,0],[1,[2,"5"]],[3,0],[0,[0,0]],[4,5],[0,[0,360]],[0,[0,0]],[0,[0,0]],[1,[2,""]]]]]],[0,null,!1,null,6890877067463022,[[-1,U.prototype.g.Rc,null,0,!1,!1,!1,7082456212774836,!1,[[11,"Screen"],[8,0],[7,[0,1]]]]],[[-1,U.prototype.k.Sc,null,8669201201098461,!1,[[4,0],[5,[0,0]],[0,[0,0]],[0,[0,0]]]],[-1,U.prototype.k.Tc,null,0x626f415c637e5,!1,[[11,"Screen"],[7,[0,0]]]],[19,Z.prototype.k.Pb,null,8469244398752754,!1],[20,Z.prototype.k.Pb,null,
7718839519418512,!1],[21,Z.prototype.k.Pb,null,330501078280821,!1]]],[0,null,!1,null,6224244431949645,[[-1,U.prototype.g.Rc,null,0,!1,!1,!1,0xb7170e40ce891,!1,[[11,"Screen"],[8,0],[7,[0,2]]]]],[[-1,U.prototype.k.Sc,null,9923065103926158,!1,[[4,19],[5,[0,0]],[0,[0,0]],[0,[0,0]]]],[-1,U.prototype.k.Tc,null,7085453589632221,!1,[[11,"Screen"],[7,[0,0]]]],[0,Z.prototype.k.Pb,null,8071368588165751,!1],[20,Z.prototype.k.Pb,null,0x8fabffeef03a5,!1],[21,Z.prototype.k.Pb,null,0x6c4d3a72e17d7,!1]]],[0,null,
!1,null,0xdb2eb1f07c3ea,[[-1,U.prototype.g.Rc,null,0,!1,!1,!1,4962540675577324,!1,[[11,"Screen"],[8,0],[7,[0,3]]]]],[[-1,U.prototype.k.Sc,null,0x4d0ac393faac7,!1,[[4,20],[5,[0,0]],[0,[0,0]],[0,[0,0]]]],[-1,U.prototype.k.Tc,null,7418711648481412,!1,[[11,"Screen"],[7,[0,0]]]],[0,Z.prototype.k.Pb,null,0xa1b9c26778a39,!1],[19,Z.prototype.k.Pb,null,8997406873743267,!1],[21,Z.prototype.k.Pb,null,4678076909852675,!1]]],[0,null,!1,null,6979409745972853,[[-1,U.prototype.g.Rc,null,0,!1,!1,!1,5127139387438044,
!1,[[11,"Screen"],[8,0],[7,[0,4]]]]],[[-1,U.prototype.k.Sc,null,0xcd4466b565220,!1,[[4,21],[5,[0,0]],[0,[0,0]],[0,[0,0]]]],[-1,U.prototype.k.Tc,null,6142795950517272,!1,[[11,"Screen"],[7,[0,0]]]],[0,Z.prototype.k.Pb,null,0xa8c7d1da0f581,!1],[19,Z.prototype.k.Pb,null,8380638746517766,!1],[20,Z.prototype.k.Pb,null,4922974322318568,!1]]],[0,null,!1,null,0x4ffd1b3af0564,[[16,X.prototype.g.rc,null,1,!1,!1,!1,0x55e8eb35a77ab,!1,[[3,0],[3,0],[4,26]]]],[[-1,U.prototype.k.Td,null,7835176718778201,!1,[[6,"screen"]]],
[12,ec.prototype.k.pn,null,5965901739850166,!1],[7,V.prototype.k.we,null,0x456ee0da704d6,!1,[[1,[2,""]]]]]]]],["main",[[0,null,!1,null,8768107162248021,[[16,X.prototype.g.rc,null,1,!1,!1,!1,7355030432241058,!1,[[3,0],[3,0],[4,9]]]],[[-1,U.prototype.k.Td,null,0xf9659ff74d081,!1,[[6,"Layout 1"]]]]],[0,null,!1,null,0xf5eb233f96b03,[[16,X.prototype.g.rc,null,1,!1,!1,!1,9942880364485116,!1,[[3,0],[3,0],[4,11]]]],[[7,V.prototype.k.Vm,null,0x9867c7ffeed2a,!1]]],[0,null,!1,null,7469357339919074,[[16,X.prototype.g.rc,
null,1,!1,!1,!1,902904636000078,!1,[[3,0],[3,0],[4,17]]]],[[-1,U.prototype.k.Td,null,4714042940698194,!1,[[6,"screen"]]]]]]],["Event sheet 2",[[1,"Screen",0,0,!1,!1,0xf3550e83d0533,!1],[0,null,!1,null,0xa12cf2a816211,[[16,X.prototype.g.rc,null,1,!1,!1,!1,5513791704857558,!1,[[3,0],[3,0],[4,22]]]],[[-1,U.prototype.k.Tc,null,8747277248489599,!1,[[11,"Screen"],[7,[0,1]]]],[-1,U.prototype.k.Td,null,0xbc2f29ecc7aee,!1,[[6,"Layout 1"]]]]],[0,null,!1,null,482115169828357,[[16,X.prototype.g.rc,null,1,!1,
!1,!1,9087510438190248,!1,[[3,0],[3,0],[4,23]]]],[[-1,U.prototype.k.Tc,null,0x715850919d30a,!1,[[11,"Screen"],[7,[0,2]]]],[-1,U.prototype.k.Td,null,9083372417965742,!1,[[6,"Layout 1"]]]]],[0,null,!1,null,6618452143290785,[[16,X.prototype.g.rc,null,1,!1,!1,!1,6952023811826223,!1,[[3,0],[3,0],[4,24]]]],[[-1,U.prototype.k.Tc,null,324004624162564,!1,[[11,"Screen"],[7,[0,3]]]],[-1,U.prototype.k.Td,null,9769941166448396,!1,[[6,"Layout 1"]]]]],[0,null,!1,null,0x820ea94e9bf20,[[16,X.prototype.g.rc,null,1,
!1,!1,!1,0xba24b2c2a5def,!1,[[3,0],[3,0],[4,25]]]],[[-1,U.prototype.k.Tc,null,0xf55dd234a03f9,!1,[[11,"Screen"],[7,[0,4]]]],[-1,U.prototype.k.Td,null,8827621120286524,!1,[[6,"Layout 1"]]]]]]]],"media/",!1,320,480,4,!0,!0,!0,"1.2",!0,!0,0,1,30,!1,!0,[]]};
