// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';function v(){return function(){}}function A(c){return function(){return this[c]}}function E(c){return function(){return c}}var H,aa,ba,J,ca,ea,fa,ga,ha,ja,ka,la,ma,na,oa,qa,ra,P,sa,ta,ua,va,wa,xa,ya,Ba,Ca,Da,Ea,Fa,Ha,Ia,Ja,La,Qa,Ra,Sa,Ta,Ua,Va,Wa,Za,$a,ab,bb,cb,db,eb,fb,gb,hb,ib,lb,mb,nb,ob,pb,S,qb={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(c){return c.__proto__}:function(c){return c.constructor.prototype});
(function(){function c(d,p,a,h){this.set(d,p,a,h)}function n(){this.jb=this.ib=this.lb=this.kb=this.pb=this.ob=this.Ja=this.Ia=0}function m(){l?this.Hd=new Set:(this.Bd={},this.Fg=0);this.hf=[];this.Be=!0}function k(d){e[f++]=d}function b(){this.Aa=this.Si=this.y=this.rj=0}function g(d){this.wb=[];this.mh(d)}H=function(d){window.console&&window.console.log&&window.console.log(d)};aa=function(d){return"undefined"===typeof d};ba=function(d){return"number"===typeof d};J=function(d){return"string"===
typeof d};ca=function(d){return 0<d&&0===(d-1&d)};ea=function(d){return 0>d?-d:d};fa=function(d,p){return d>p?d:p};ga=function(d,p){return d<p?d:p};ha=Math.PI;ja=function(d){return d|0};ka=function(d,p,a,h,b,q,t,e){if(fa(d,a)<ga(b,t)||ga(d,a)>fa(b,t)||fa(p,h)<ga(q,e)||ga(p,h)>fa(q,e))return!1;var l=b-d+t-a,f=q-p+e-h;d=a-d;p=h-p;b=t-b;q=e-q;e=ea(p*b-q*d);return ea(b*f-q*l)<=e&&ea(d*f-p*l)<=e};c.prototype.set=function(d,p,a,h){this.left=d;this.top=p;this.right=a;this.bottom=h};c.prototype.width=function(){return this.right-
this.left};c.prototype.height=function(){return this.bottom-this.top};c.prototype.offset=function(d,p){this.left+=d;this.top+=p;this.right+=d;this.bottom+=p;return this};c.prototype.Zq=function(d){return!(d.right<this.left||d.bottom<this.top||d.left>this.right||d.top>this.bottom)};c.prototype.vc=function(d,p){return d>=this.left&&d<=this.right&&p>=this.top&&p<=this.bottom};la=c;n.prototype.$k=function(d){this.Ia=d.left;this.Ja=d.top;this.ob=d.right;this.pb=d.top;this.kb=d.right;this.lb=d.bottom;this.ib=
d.left;this.jb=d.bottom};n.prototype.Xn=function(d,p){if(0===p)this.$k(d);else{var a=Math.sin(p),h=Math.cos(p),b=d.left*a,q=d.top*a,t=d.right*a,a=d.bottom*a,e=d.left*h,l=d.top*h,f=d.right*h,h=d.bottom*h;this.Ia=e-q;this.Ja=l+b;this.ob=f-q;this.pb=l+t;this.kb=f-a;this.lb=h+t;this.ib=e-a;this.jb=h+b}};n.prototype.offset=function(d,p){this.Ia+=d;this.Ja+=p;this.ob+=d;this.pb+=p;this.kb+=d;this.lb+=p;this.ib+=d;this.jb+=p;return this};n.prototype.gm=function(d){d.left=ga(ga(this.Ia,this.ob),ga(this.kb,
this.ib));d.top=ga(ga(this.Ja,this.pb),ga(this.lb,this.jb));d.right=fa(fa(this.Ia,this.ob),fa(this.kb,this.ib));d.bottom=fa(fa(this.Ja,this.pb),fa(this.lb,this.jb))};n.prototype.vc=function(d,p){var a=this.ob-this.Ia,h=this.pb-this.Ja,b=this.kb-this.Ia,q=this.lb-this.Ja,t=d-this.Ia,e=p-this.Ja,l=a*a+h*h,f=a*b+h*q,h=a*t+h*e,g=b*b+q*q,c=b*t+q*e,m=1/(l*g-f*f),a=(g*h-f*c)*m,l=(l*c-f*h)*m;if(0<=a&&0<l&&1>a+l)return!0;a=this.ib-this.Ia;h=this.jb-this.Ja;l=a*a+h*h;f=a*b+h*q;h=a*t+h*e;m=1/(l*g-f*f);a=(g*
h-f*c)*m;l=(l*c-f*h)*m;return 0<=a&&0<l&&1>a+l};n.prototype.Kc=function(d,p){switch(d){case 0:return p?this.Ia:this.Ja;case 1:return p?this.ob:this.pb;case 2:return p?this.kb:this.lb;case 3:return p?this.ib:this.jb;case 4:return p?this.Ia:this.Ja;default:return p?this.Ia:this.Ja}};n.prototype.on=function(){return(this.Ia+this.ob+this.kb+this.ib)/4};n.prototype.pn=function(){return(this.Ja+this.pb+this.lb+this.jb)/4};n.prototype.Yq=function(d){var p=d.on(),a=d.pn();if(this.vc(p,a))return!0;p=this.on();
a=this.pn();if(d.vc(p,a))return!0;var h,b,q,t,e,l,f,g;for(f=0;4>f;f++)for(g=0;4>g;g++)if(p=this.Kc(f,!0),a=this.Kc(f,!1),h=this.Kc(f+1,!0),b=this.Kc(f+1,!1),q=d.Kc(g,!0),t=d.Kc(g,!1),e=d.Kc(g+1,!0),l=d.Kc(g+1,!1),ka(p,a,h,b,q,t,e,l))return!0;return!1};ma=n;na=function(d,p){for(var a in p)p.hasOwnProperty(a)&&(d[a]=p[a]);return d};oa=function(d,p){var a,h;p=ja(p);if(!(0>p||p>=d.length))if(0===p)d.shift();else if(p===d.length-1)d.pop();else{a=p;for(h=d.length-1;a<h;a++)d[a]=d[a+1];d.length=h}};qa=function(d,
p){d.length=p.length;var a,h;a=0;for(h=p.length;a<h;a++)d[a]=p[a]};ra=function(d,p){var a=d.indexOf(p);-1!==a&&oa(d,a)};P=function(d){return d/(180/ha)};sa=function(d){return d*(180/ha)};ta=function(d){d%=360;0>d&&(d+=360);return d};ua=function(d){d%=2*ha;0>d&&(d+=2*ha);return d};va=function(d){return ta(sa(d))};wa=function(d){return ua(P(d))};xa=function(d,p,a,h){return Math.atan2(h-p,a-d)};ya=function(d,p){if(d===p)return 0;var a=Math.sin(d),h=Math.cos(d),b=Math.sin(p),q=Math.cos(p),a=a*b+h*q;return 1<=
a?0:-1>=a?ha:Math.acos(a)};Ba=function(d,p,a){var h=Math.sin(d),b=Math.cos(d),q=Math.sin(p),e=Math.cos(p);return Math.acos(h*q+b*e)>a?0<b*q-h*e?ua(d+a):ua(d-a):ua(p)};Ca=function(d,p){var a=Math.sin(d),h=Math.cos(d),b=Math.sin(p),q=Math.cos(p);return 0>=h*b-a*q};Da=function(d,p,a,h,b,q){if(0===a)return q?d:p;var e=Math.sin(a);a=Math.cos(a);d-=h;p-=b;var l=d*e;d=d*a-p*e;p=p*a+l;return q?d+h:p+b};Ea=function(d,p,a,h){d=a-d;p=h-p;return Math.sqrt(d*d+p*p)};Fa=function(d,p){return!d!==!p};Ha=function(d){for(var p in d)if(d.hasOwnProperty(p))return!0;
return!1};Ia=function(d){for(var p in d)d.hasOwnProperty(p)&&delete d[p]};var a=+new Date;Ja=function(){if("undefined"!==typeof window.performance){var d=window.performance;if("undefined"!==typeof d.now)return d.now();if("undefined"!==typeof d.webkitNow)return d.webkitNow();if("undefined"!==typeof d.msNow)return d.msNow()}return Date.now()-a};var l="undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;m.prototype.contains=function(d){return l?this.Hd.has(d):this.Bd.hasOwnProperty(d.toString())};
m.prototype.add=function(d){if(l)this.Hd.has(d)||(this.Hd.add(d),this.Be=!1);else{var p=d.toString();this.Bd.hasOwnProperty(p)||(this.Bd[p]=d,this.Fg++,this.Be=!1)}return this};m.prototype.remove=function(d){l?this.Hd.has(d)&&(this.Hd["delete"](d),this.Be=!1):(d=d.toString(),this.Bd.hasOwnProperty(d)&&(delete this.Bd[d],this.Fg--,this.Be=!1));return this};m.prototype.clear=function(){l?this.Hd.clear():(Ia(this.Bd),this.Fg=0);this.hf.length=0;this.Be=!0;return this};m.prototype.zg=function(){return l?
0===this.Hd.size:0===this.Fg};var e=null,f=0;m.prototype.ms=function(){if(!this.Be){if(l)this.hf.length=this.Hd.size,e=this.hf,f=0,this.Hd.forEach(k),e=null,f=0;else{this.hf.length=this.Fg;var d,p=0;for(d in this.Bd)this.Bd.hasOwnProperty(d)&&(this.hf[p++]=this.Bd[d])}this.Be=!0}};m.prototype.Zf=function(){this.ms();return this.hf};La=m;b.prototype.add=function(d){this.y=d-this.rj;this.Si=this.Aa+this.y;this.rj=this.Si-this.Aa-this.y;this.Aa=this.Si};b.prototype.reset=function(){this.Aa=this.Si=this.y=
this.rj=0};Qa=b;Ra=function(d){return d.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};g.prototype.mh=function(d){this.Ln=d;this.Fd=d.length/2;this.wb.length=d.length;this.sj=this.tj=-1;this.im=0};g.prototype.Dg=function(){return!this.Ln.length};g.prototype.Pi=function(d,p,a,h,b){this.wb.length=8;this.Fd=4;var q=this.wb;q[0]=d.Ia-p;q[1]=d.Ja-a;q[2]=d.ob-p;q[3]=d.pb-a;q[4]=d.kb-p;q[5]=d.lb-a;q[6]=d.ib-p;q[7]=d.jb-a;this.tj=h;this.sj=b};g.prototype.Wn=function(d){this.Fd=d.Fd;qa(this.wb,d.wb)};g.prototype.ig=
function(d,p,a){if(this.tj!==d||this.sj!==p||this.im!==a){this.tj=d;this.sj=p;this.im=a;var h,b,q,e=0,l=1,f=this.Ln,g=this.wb;0!==a&&(e=Math.sin(a),l=Math.cos(a));a=0;for(h=this.Fd;a<h;a++)b=f[2*a]*d,q=f[2*a+1]*p,g[2*a]=b*l-q*e,g[2*a+1]=q*l+b*e}};g.prototype.vc=function(d,p){var a=this.wb;if(d===a[0]&&p===a[1])return!0;var h,b,q,e=this.Fd,l=a[0],f=l,g=a[1],c=g;for(h=1;h<e;h++)b=a[2*h],q=a[2*h+1],b<l&&(l=b),b>f&&(f=b),q<g&&(g=q),q>c&&(c=q);b=l-110;var g=g-101,f=f+131,c=c+120,m,k,n=0,x=0;for(h=0;h<
e;h++)q=a[2*h],l=a[2*h+1],m=a[2*((h+1)%e)],k=a[2*((h+1)%e)+1],ka(b,g,d,p,q,l,m,k)&&n++,ka(f,c,d,p,q,l,m,k)&&x++;return 1===n%2||1===x%2};g.prototype.Wm=function(d,p,a){var h=d.wb,b=this.wb;if(this.vc(h[0]+p,h[1]+a)||d.vc(b[0]-p,b[1]-a))return!0;var q,e,l,f,g,c,m,k,n,x,u,K;q=0;for(e=this.Fd;q<e;q++)for(g=b[2*q],c=b[2*q+1],m=b[2*((q+1)%e)],k=b[2*((q+1)%e)+1],l=0,f=d.Fd;l<f;l++)if(n=h[2*l]+p,x=h[2*l+1]+a,u=h[2*((l+1)%f)]+p,K=h[2*((l+1)%f)+1]+a,ka(g,c,m,k,n,x,u,K))return!0;return!1};Sa=g;var h="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");
Ta=function(d){return 0>=d||11<=d?"source-over":h[d-1]};Ua=function(d,p,a){if(a)switch(d.xb=a.ONE,d.sb=a.ONE_MINUS_SRC_ALPHA,p){case 1:d.xb=a.ONE;d.sb=a.ONE;break;case 3:d.xb=a.ONE;d.sb=a.ZERO;break;case 4:d.xb=a.ONE_MINUS_DST_ALPHA;d.sb=a.ONE;break;case 5:d.xb=a.DST_ALPHA;d.sb=a.ZERO;break;case 6:d.xb=a.ZERO;d.sb=a.SRC_ALPHA;break;case 7:d.xb=a.ONE_MINUS_DST_ALPHA;d.sb=a.ZERO;break;case 8:d.xb=a.ZERO;d.sb=a.ONE_MINUS_SRC_ALPHA;break;case 9:d.xb=a.DST_ALPHA;d.sb=a.ONE_MINUS_SRC_ALPHA;break;case 10:d.xb=
a.ONE_MINUS_DST_ALPHA,d.sb=a.SRC_ALPHA}};Va=function(d){return Math.round(1E6*d)/1E6};Wa=function(d,p){return"string"!==typeof d||"string"!==typeof p||d.length!==p.length?!1:d===p?!0:d.toLowerCase()===p.toLowerCase()}})();var rb="undefined"!==typeof Float32Array?Float32Array:Array;function vb(c){var n=new rb(3);c&&(n[0]=c[0],n[1]=c[1],n[2]=c[2]);return n}
function wb(c){var n=new rb(16);c&&(n[0]=c[0],n[1]=c[1],n[2]=c[2],n[3]=c[3],n[4]=c[4],n[5]=c[5],n[6]=c[6],n[7]=c[7],n[8]=c[8],n[9]=c[9],n[10]=c[10],n[11]=c[11],n[12]=c[12],n[13]=c[13],n[14]=c[14],n[15]=c[15]);return n}function xb(c,n){n[0]=c[0];n[1]=c[1];n[2]=c[2];n[3]=c[3];n[4]=c[4];n[5]=c[5];n[6]=c[6];n[7]=c[7];n[8]=c[8];n[9]=c[9];n[10]=c[10];n[11]=c[11];n[12]=c[12];n[13]=c[13];n[14]=c[14];n[15]=c[15]}
function yb(c,n){var m=n[0],k=n[1];n=n[2];c[0]*=m;c[1]*=m;c[2]*=m;c[3]*=m;c[4]*=k;c[5]*=k;c[6]*=k;c[7]*=k;c[8]*=n;c[9]*=n;c[10]*=n;c[11]*=n}
function zb(c,n,m,k){k||(k=wb());var b,g,a,l,e,f,h,d,p=c[0],L=c[1];c=c[2];g=m[0];a=m[1];b=m[2];m=n[1];f=n[2];p===n[0]&&L===m&&c===f?(c=k,c[0]=1,c[1]=0,c[2]=0,c[3]=0,c[4]=0,c[5]=1,c[6]=0,c[7]=0,c[8]=0,c[9]=0,c[10]=1,c[11]=0,c[12]=0,c[13]=0,c[14]=0,c[15]=1):(m=p-n[0],f=L-n[1],h=c-n[2],d=1/Math.sqrt(m*m+f*f+h*h),m*=d,f*=d,h*=d,n=a*h-b*f,b=b*m-g*h,g=g*f-a*m,(d=Math.sqrt(n*n+b*b+g*g))?(d=1/d,n*=d,b*=d,g*=d):g=b=n=0,a=f*g-h*b,l=h*n-m*g,e=m*b-f*n,(d=Math.sqrt(a*a+l*l+e*e))?(d=1/d,a*=d,l*=d,e*=d):e=l=a=0,
k[0]=n,k[1]=a,k[2]=m,k[3]=0,k[4]=b,k[5]=l,k[6]=f,k[7]=0,k[8]=g,k[9]=e,k[10]=h,k[11]=0,k[12]=-(n*p+b*L+g*c),k[13]=-(a*p+l*L+e*c),k[14]=-(m*p+f*L+h*c),k[15]=1)}
(function(){function c(a){this.height=this.width=0;this.jm=vb([0,0,100]);this.ln=vb([0,0,0]);this.po=vb([0,1,0]);this.xl=vb([1,1,1]);this.vk=wb();this.Ec=wb();this.cn=wb();this.Bj=wb();this.H=a;this.Sm()}function n(a,b,e){this.H=a;this.nh=b;this.name=e;this.Dc=a.getAttribLocation(b,"aPos");this.ie=a.getAttribLocation(b,"aTex");this.jn=a.getUniformLocation(b,"matP");this.Kf=a.getUniformLocation(b,"matMV");this.Lf=a.getUniformLocation(b,"opacity");this.kn=a.getUniformLocation(b,"samplerFront");this.si=
a.getUniformLocation(b,"samplerBack");this.Jf=a.getUniformLocation(b,"destStart");this.If=a.getUniformLocation(b,"destEnd");this.sk=a.getUniformLocation(b,"seconds");this.rk=a.getUniformLocation(b,"pixelWidth");this.qk=a.getUniformLocation(b,"pixelHeight");this.pk=a.getUniformLocation(b,"layerScale");this.Lf&&a.uniform1f(this.Lf,1);this.kn&&a.uniform1i(this.kn,0);this.si&&a.uniform1i(this.si,1);this.Jf&&a.uniform2f(this.Jf,0,0);this.If&&a.uniform2f(this.If,1,1);this.Me=!1}function m(a,b){this.type=
a;this.F=b;this.H=b.H;this.cd=this.Hc=this.An=0;this.M=this.ef=null;this.al=[]}function k(a){--a;for(var b=1;32>b;b<<=1)a|=a>>b;return a+1}c.prototype.Sm=function(){var a=this.H,b;this.dn=1;this.Se=null;this.pm=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.en=a.ONE;this.bn=a.ONE_MINUS_SRC_ALPHA;this.Ik=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Ik);this.vh=Array(4);this.qh=Array(4);
for(b=0;4>b;b++)this.vh[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.vh[b]),this.qh[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.qh[b]);this.vd=0;this.Xq=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.Xq);this.tl=new Float32Array(16E3);this.gl=new Float32Array(16E3);this.Er=new Float32Array(32E3);for(var e=new Uint16Array(12E3),f=b=0;12E3>b;)e[b++]=f,e[b++]=f+1,e[b++]=f+2,e[b++]=f,e[b++]=f+2,e[b++]=f+3,f+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,e,a.STATIC_DRAW);this.Jk=this.pd=
0;this.$a=[];b=this.yj({src:"varying mediump vec2 vTex;\nuniform lowp float opacity;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex);\n\tgl_FragColor *= opacity;\n}"},"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}","<default>");this.$a.push(b);b=this.yj({src:"uniform mediump sampler2D samplerFront;\nvarying lowp float opacity;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, gl_PointCoord);\n\tgl_FragColor *= opacity;\n}"},
"attribute vec4 aPos;\nvarying float opacity;\nuniform mat4 matP;\nuniform mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tgl_PointSize = aPos.z;\n\topacity = aPos.w;\n}","<point>");this.$a.push(b);for(var h in Ab)Ab.hasOwnProperty(h)&&this.$a.push(this.yj(Ab[h],"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}",
h));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.Vd=[];this.td=0;this.Sb=!1;this.qm=this.Kg=-1;this.lg=null;this.pq=a.createFramebuffer();this.Pn=null;this.te=vb([0,0,0]);this.md(0)};c.prototype.yj=function(a,b,e){var f=this.H,h=f.createShader(f.FRAGMENT_SHADER);f.shaderSource(h,a.src);f.compileShader(h);if(!f.getShaderParameter(h,f.COMPILE_STATUS))return f.deleteShader(h),null;var d=f.createShader(f.VERTEX_SHADER);f.shaderSource(d,b);f.compileShader(d);if(!f.getShaderParameter(d,
f.COMPILE_STATUS))return f.deleteShader(h),f.deleteShader(d),null;b=f.createProgram();f.attachShader(b,h);f.attachShader(b,d);f.linkProgram(b);if(!f.getProgramParameter(b,f.LINK_STATUS))return f.deleteShader(h),f.deleteShader(d),f.deleteProgram(b),null;f.useProgram(b);f.deleteShader(h);f.deleteShader(d);e=new n(f,b,e);e.Ij=a.Ij||0;e.Jj=a.Jj||0;e.om=!!a.om;e.dm=!!a.dm;e.I=a.I||[];a=0;for(h=e.I.length;a<h;a++)e.I[a][1]=f.getUniformLocation(b,e.I[a][0]),f.uniform1f(e.I[a][1],0);return e};c.prototype.Uj=
function(a){var b,e;b=0;for(e=this.$a.length;b<e;b++)if(this.$a[b].name===a)return b;return-1};c.prototype.Kn=function(a,b,e){var f=[0,0,this.width,this.height],h=this.Ec,d=this.vk,p=[0,0,0,0,0,0,0,0];p[0]=h[0]*a+h[4]*b+h[12];p[1]=h[1]*a+h[5]*b+h[13];p[2]=h[2]*a+h[6]*b+h[14];p[3]=h[3]*a+h[7]*b+h[15];p[4]=d[0]*p[0]+d[4]*p[1]+d[8]*p[2]+d[12]*p[3];p[5]=d[1]*p[0]+d[5]*p[1]+d[9]*p[2]+d[13]*p[3];p[6]=d[2]*p[0]+d[6]*p[1]+d[10]*p[2]+d[14]*p[3];p[7]=-p[2];0!==p[7]&&(p[7]=1/p[7],p[4]*=p[7],p[5]*=p[7],p[6]*=
p[7],e[0]=(0.5*p[4]+0.5)*f[2]+f[0],e[1]=(0.5*p[5]+0.5)*f[3]+f[1])};c.prototype.lh=function(a,b,e){if(this.width!==a||this.height!==b||e){this.Zd();this.width=a;this.height=b;this.H.viewport(0,0,a,b);b=a/b;var f=this.vk,h;h=1*Math.tan(45*Math.PI/360);b*=h;a=-b;e=-h;f||(f=wb());var d=b-a,p=h-e;f[0]=2/d;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=2/p;f[6]=0;f[7]=0;f[8]=(b+a)/d;f[9]=(h+e)/p;f[10]=-1001/999;f[11]=-1;f[12]=0;f[13]=0;f[14]=-2E3/999;f[15]=0;zb(this.jm,this.ln,this.po,this.Ec);a=[0,0];b=[0,0];this.Kn(0,
0,a);this.Kn(1,1,b);this.xl[0]=1/(b[0]-a[0]);this.xl[1]=-1/(b[1]-a[1]);a=0;for(b=this.$a.length;a<b;a++)e=this.$a[a],e.Me=!1,e.jn&&(this.H.useProgram(e.nh),this.H.uniformMatrix4fv(e.jn,!1,this.vk));this.H.useProgram(this.$a[this.Kg].nh);this.H.bindTexture(this.H.TEXTURE_2D,null);this.Se=null}};c.prototype.ld=function(){zb(this.jm,this.ln,this.po,this.Ec);yb(this.Ec,this.xl)};c.prototype.translate=function(a,b){if(0!==a||0!==b){this.te[0]=a;this.te[1]=b;this.te[2]=0;var e=this.Ec,f=this.te,h=f[0],
d=f[1],f=f[2];e[12]=e[0]*h+e[4]*d+e[8]*f+e[12];e[13]=e[1]*h+e[5]*d+e[9]*f+e[13];e[14]=e[2]*h+e[6]*d+e[10]*f+e[14];e[15]=e[3]*h+e[7]*d+e[11]*f+e[15]}};c.prototype.scale=function(a,b){if(1!==a||1!==b)this.te[0]=a,this.te[1]=b,this.te[2]=1,yb(this.Ec,this.te)};c.prototype.Tk=function(a){if(0!==a){var b=this.Ec,e,f=Math.sin(a);a=Math.cos(a);var h=b[0],d=b[1],p=b[2],L=b[3],B=b[4],s=b[5],q=b[6],t=b[7];e?b!==e&&(e[8]=b[8],e[9]=b[9],e[10]=b[10],e[11]=b[11],e[12]=b[12],e[13]=b[13],e[14]=b[14],e[15]=b[15]):
e=b;e[0]=h*a+B*f;e[1]=d*a+s*f;e[2]=p*a+q*f;e[3]=L*a+t*f;e[4]=h*-f+B*a;e[5]=d*-f+s*a;e[6]=p*-f+q*a;e[7]=L*-f+t*a}};c.prototype.od=function(){for(var a=!1,b=0;16>b;b++)if(this.cn[b]!==this.Ec[b]){a=!0;break}a&&(a=this.Rc(),a.type=5,a.M?xb(this.Ec,a.M):a.M=wb(this.Ec),xb(this.Ec,this.cn),this.Sb=!1)};m.prototype.Np=function(){this.H.bindTexture(this.H.TEXTURE_2D,this.ef)};m.prototype.Kp=function(){var a=this.An,b=this.F;b.pm=a;b=b.lg;b.Lf&&this.H.uniform1f(b.Lf,a)};m.prototype.Hp=function(){this.H.drawElements(this.H.TRIANGLES,
this.cd,this.H.UNSIGNED_SHORT,2*this.Hc)};m.prototype.Jp=function(){this.H.blendFunc(this.Hc,this.cd)};m.prototype.Op=function(){var a,b,e,f=this.F.$a,h=this.F.qm;a=0;for(b=f.length;a<b;a++)e=f[a],a===h&&e.Kf?(this.H.uniformMatrix4fv(e.Kf,!1,this.M),e.Me=!0):e.Me=!1;xb(this.M,this.F.Bj)};m.prototype.Ip=function(){var a=this.H,b=this.F;this.ef?(a.bindFramebuffer(a.FRAMEBUFFER,b.pq),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.ef,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,
a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};m.prototype.Fp=function(){var a=this.H;0===this.Hc?(a.clearColor(this.M[0],this.M[1],this.M[2],this.M[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),a.scissor(this.M[0],this.M[1],this.M[2],this.M[3]),a.clearColor(0,0,0,0),a.clear(this.H.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};m.prototype.Gp=function(){var a=this.H,b=this.F,e=b.$a[1];a.useProgram(e.nh);!e.Me&&e.Kf&&(a.uniformMatrix4fv(e.Kf,!1,b.Bj),e.Me=
!0);a.enableVertexAttribArray(e.Dc);a.bindBuffer(a.ARRAY_BUFFER,b.Ik);a.vertexAttribPointer(e.Dc,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.Hc/4,this.cd);e=b.lg;a.useProgram(e.nh);0<=e.Dc&&(a.enableVertexAttribArray(e.Dc),a.bindBuffer(a.ARRAY_BUFFER,b.vh[b.vd]),a.vertexAttribPointer(e.Dc,2,a.FLOAT,!1,0,0));0<=e.ie&&(a.enableVertexAttribArray(e.ie),a.bindBuffer(a.ARRAY_BUFFER,b.qh[b.vd]),a.vertexAttribPointer(e.ie,2,a.FLOAT,!1,0,0))};m.prototype.Lp=function(){var a=this.H,b=this.F,e=b.$a[this.Hc];
b.qm=this.Hc;b.lg=e;a.useProgram(e.nh);!e.Me&&e.Kf&&(a.uniformMatrix4fv(e.Kf,!1,b.Bj),e.Me=!0);e.Lf&&a.uniform1f(e.Lf,b.pm);0<=e.Dc&&(a.enableVertexAttribArray(e.Dc),a.bindBuffer(a.ARRAY_BUFFER,b.vh[b.vd]),a.vertexAttribPointer(e.Dc,2,a.FLOAT,!1,0,0));0<=e.ie&&(a.enableVertexAttribArray(e.ie),a.bindBuffer(a.ARRAY_BUFFER,b.qh[b.vd]),a.vertexAttribPointer(e.ie,2,a.FLOAT,!1,0,0))};m.prototype.Mp=function(){var a,b,e=this.F.lg,f=this.H;e.si&&(f.activeTexture(f.TEXTURE1),f.bindTexture(f.TEXTURE_2D,this.ef),
f.activeTexture(f.TEXTURE0));e.rk&&f.uniform1f(e.rk,this.M[0]);e.qk&&f.uniform1f(e.qk,this.M[1]);e.Jf&&f.uniform2f(e.Jf,this.M[2],this.M[3]);e.If&&f.uniform2f(e.If,this.M[4],this.M[5]);e.pk&&f.uniform1f(e.pk,this.M[6]);e.sk&&f.uniform1f(e.sk,Ja()/1E3);if(e.I.length)for(a=0,b=e.I.length;a<b;a++)f.uniform1f(e.I[a][1],this.al[a])};c.prototype.Rc=function(){this.td===this.Vd.length&&this.Vd.push(new m(0,this));return this.Vd[this.td++]};c.prototype.Zd=function(){if(0!==this.td&&!this.H.isContextLost()){var a=
this.H;0<this.Jk&&(a.bindBuffer(a.ARRAY_BUFFER,this.Ik),a.bufferData(a.ARRAY_BUFFER,this.Er.subarray(0,this.Jk),a.STREAM_DRAW),b&&0<=b.Dc&&"<point>"===b.name&&a.vertexAttribPointer(b.Dc,4,a.FLOAT,!1,0,0));if(0<this.pd){var b=this.lg;a.bindBuffer(a.ARRAY_BUFFER,this.vh[this.vd]);a.bufferData(a.ARRAY_BUFFER,this.tl.subarray(0,this.pd),a.STREAM_DRAW);b&&0<=b.Dc&&"<point>"!==b.name&&a.vertexAttribPointer(b.Dc,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.qh[this.vd]);a.bufferData(a.ARRAY_BUFFER,
this.gl.subarray(0,this.pd),a.STREAM_DRAW);b&&0<=b.ie&&"<point>"!==b.name&&a.vertexAttribPointer(b.ie,2,a.FLOAT,!1,0,0)}for(var e,a=0,b=this.td;a<b;a++)switch(e=this.Vd[a],e.type){case 1:e.Hp();break;case 2:e.Np();break;case 3:e.Kp();break;case 4:e.Jp();break;case 5:e.Op();break;case 6:e.Ip();break;case 7:e.Fp();break;case 8:e.Gp();break;case 9:e.Lp();break;case 10:e.Mp()}this.Jk=this.pd=this.td=0;this.Sb=!1;this.vd++;4<=this.vd&&(this.vd=0)}};c.prototype.$e=function(a){if(a!==this.dn){var b=this.Rc();
b.type=3;this.dn=b.An=a;this.Sb=!1}};c.prototype.sc=function(a){if(a!==this.Se){var b=this.Rc();b.type=2;this.Se=b.ef=a;this.Sb=!1}};c.prototype.ne=function(a,b){if(a!==this.en||b!==this.bn){var e=this.Rc();e.type=4;e.Hc=a;e.cd=b;this.en=a;this.bn=b;this.Sb=!1}};c.prototype.Un=function(){this.ne(this.H.ONE,this.H.ONE_MINUS_SRC_ALPHA)};c.prototype.Ji=function(a,b,e,f,h,d,p,L){15992<=this.pd&&this.Zd();var B=this.pd,s=this.tl,q=this.gl;if(this.Sb)this.Vd[this.td-1].cd+=6;else{var t=this.Rc();t.type=
1;t.Hc=3*(B/4);t.cd=6;this.Sb=!0}s[B]=a;q[B++]=0;s[B]=b;q[B++]=0;s[B]=e;q[B++]=1;s[B]=f;q[B++]=0;s[B]=h;q[B++]=1;s[B]=d;q[B++]=1;s[B]=p;q[B++]=0;s[B]=L;q[B++]=1;this.pd=B};c.prototype.kd=function(a,b,e,f,h,d,p,L,B){15992<=this.pd&&this.Zd();var s=this.pd,q=this.tl,t=this.gl;if(this.Sb)this.Vd[this.td-1].cd+=6;else{var g=this.Rc();g.type=1;g.Hc=3*(s/4);g.cd=6;this.Sb=!0}q[s]=a;t[s++]=B.left;q[s]=b;t[s++]=B.top;q[s]=e;t[s++]=B.right;q[s]=f;t[s++]=B.top;q[s]=h;t[s++]=B.right;q[s]=d;t[s++]=B.bottom;q[s]=
p;t[s++]=B.left;q[s]=L;t[s++]=B.bottom;this.pd=s};c.prototype.md=function(a){if(this.Kg!==a){if(!this.$a[a]){if(0===this.Kg)return;a=0}var b=this.Rc();b.type=9;this.Kg=b.Hc=a;this.Sb=!1}};c.prototype.eh=function(a){a=this.$a[a];return!(!a.Jf&&!a.If)};c.prototype.Lk=function(a){return this.$a[a].om};c.prototype.Jr=function(a){a=this.$a[a];return 0!==a.Ij||0!==a.Jj};c.prototype.Dq=function(a){return this.$a[a].Ij};c.prototype.Eq=function(a){return this.$a[a].Jj};c.prototype.Fq=function(a,b){return this.$a[a].I[b][2]};
c.prototype.Gi=function(a){return this.$a[a].dm};c.prototype.Rf=function(a,b,e,f,h,d,p,L,B){var s=this.$a[this.Kg];if(s.rk||s.qk||s.sk||s.si||s.Jf||s.If||s.pk||B.length){s=this.Rc();s.type=10;s.M?xb(this.Ec,s.M):s.M=wb();s.M[0]=b;s.M[1]=e;s.M[2]=f;s.M[3]=h;s.M[4]=d;s.M[5]=p;s.M[6]=L;s.ef=a;if(B.length)for(s.al.length=B.length,a=0,b=B.length;a<b;a++)s.al[a]=B[a];this.Sb=!1}};c.prototype.clear=function(a,b,e,f){var h=this.Rc();h.type=7;h.Hc=0;h.M||(h.M=wb());h.M[0]=a;h.M[1]=b;h.M[2]=e;h.M[3]=f;this.Sb=
!1};c.prototype.clearRect=function(a,b,e,f){var h=this.Rc();h.type=7;h.Hc=1;h.M||(h.M=wb());h.M[0]=a;h.M[1]=b;h.M[2]=e;h.M[3]=f;this.Sb=!1};c.prototype.Ir=function(){this.Zd();this.H.flush()};var b=[],g={};c.prototype.qi=function(a,c,e,f){c=!!c;e=!!e;var h=a.src+","+c+","+e+(c?",undefined":""),d=null;if("undefined"!==typeof a.src&&g.hasOwnProperty(h))return d=g[h],d.Gh++,d;this.Zd();var p=this.H,L=ca(a.width)&&ca(a.height),d=p.createTexture();p.bindTexture(p.TEXTURE_2D,d);p.pixelStorei(p.UNPACK_PREMULTIPLY_ALPHA_WEBGL,
!0);var B=p.RGBA,s=p.RGBA,q=p.UNSIGNED_BYTE;if(f)switch(f){case 1:s=B=p.RGB;break;case 2:q=p.UNSIGNED_SHORT_4_4_4_4;break;case 3:q=p.UNSIGNED_SHORT_5_5_5_1;break;case 4:s=B=p.RGB,q=p.UNSIGNED_SHORT_5_6_5}!L&&c?(f=document.createElement("canvas"),f.width=k(a.width),f.height=k(a.height),f.getContext("2d").drawImage(a,0,0,a.width,a.height,0,0,f.width,f.height),p.texImage2D(p.TEXTURE_2D,0,B,s,q,f)):p.texImage2D(p.TEXTURE_2D,0,B,s,q,a);c?(p.texParameteri(p.TEXTURE_2D,p.TEXTURE_WRAP_S,p.REPEAT),p.texParameteri(p.TEXTURE_2D,
p.TEXTURE_WRAP_T,p.REPEAT)):(p.texParameteri(p.TEXTURE_2D,p.TEXTURE_WRAP_S,p.CLAMP_TO_EDGE),p.texParameteri(p.TEXTURE_2D,p.TEXTURE_WRAP_T,p.CLAMP_TO_EDGE));e?(p.texParameteri(p.TEXTURE_2D,p.TEXTURE_MAG_FILTER,p.LINEAR),L?(p.texParameteri(p.TEXTURE_2D,p.TEXTURE_MIN_FILTER,p.LINEAR_MIPMAP_LINEAR),p.generateMipmap(p.TEXTURE_2D)):p.texParameteri(p.TEXTURE_2D,p.TEXTURE_MIN_FILTER,p.LINEAR)):(p.texParameteri(p.TEXTURE_2D,p.TEXTURE_MAG_FILTER,p.NEAREST),p.texParameteri(p.TEXTURE_2D,p.TEXTURE_MIN_FILTER,
p.NEAREST));p.bindTexture(p.TEXTURE_2D,null);this.Se=null;d.hg=a.width;d.gg=a.height;d.Gh=1;d.hm=h;b.push(d);return g[h]=d};c.prototype.ud=function(a,g,e,f){this.Zd();var h=this.H,d=h.createTexture();h.bindTexture(h.TEXTURE_2D,d);h.texImage2D(h.TEXTURE_2D,0,h.RGBA,a,g,0,h.RGBA,f?h.UNSIGNED_SHORT_4_4_4_4:h.UNSIGNED_BYTE,null);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.CLAMP_TO_EDGE);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_T,h.CLAMP_TO_EDGE);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MAG_FILTER,
e?h.LINEAR:h.NEAREST);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MIN_FILTER,e?h.LINEAR:h.NEAREST);h.bindTexture(h.TEXTURE_2D,null);this.Se=null;d.hg=a;d.gg=g;b.push(d);return d};c.prototype.rs=function(a,b,e){this.Zd();var f=this.H;f.bindTexture(f.TEXTURE_2D,b);f.texImage2D(f.TEXTURE_2D,0,f.RGBA,f.RGBA,e?f.UNSIGNED_SHORT_4_4_4_4:f.UNSIGNED_BYTE,a);f.bindTexture(f.TEXTURE_2D,null);this.Se=null};c.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.Gh&&1<a.Gh?a.Gh--:(this.Zd(),this.H.bindTexture(this.H.TEXTURE_2D,
null),this.Se=null,ra(b,a),"undefined"!==typeof a.hm&&delete g[a.hm],this.H.deleteTexture(a)))};c.prototype.Jd=function(a){if(a!==this.Pn){var b=this.Rc();b.type=6;this.Pn=b.ef=a;this.Sb=!1}};Za=c})();
(function(){function c(d){if(d&&(d.getContext||d.dc)&&!d.c2runtime){d.c2runtime=this;var p=this;this.Qe="undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.oc=!!d.dc;this.zf="undefined"!==typeof window.AppMobi||this.oc;if(this.Cc=!!window.c2cocoonjs)CocoonJS.App.onSuspended.addEventListener(function(){p.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){p.setSuspended(!1)});this.wa=this.oc||this.Cc;
this.ei=/tizen/i.test(navigator.userAgent);this.bk=/android/i.test(navigator.userAgent)&&!this.ei;this.ii=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.$m=/ipad/i.test(navigator.userAgent);this.jk=this.ii||this.$m;this.Xm=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);this.er=!this.Xm&&/safari/i.test(navigator.userAgent);this.Ym=/windows/i.test(navigator.userAgent);this.be="undefined"!==typeof window.c2nodewebkit;this.gr=!("undefined"===typeof window.c2isWindows8||
!window.c2isWindows8);this.hr=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.br=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.devicePixelRatio=1;this.dd=this.Qe||this.zf||this.Cc||this.bk||this.jk||this.hr||this.br||this.ei;this.dd||(this.dd=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.be||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||
(this.be=!0);this.cr="undefined"!==typeof cr_is_preview&&-1<window.location.search.indexOf("debug");this.canvas=d;this.qf=document.getElementById("c2canvasdiv");this.ra=this.F=this.H=null;this.canvas.oncontextmenu=function(d){d.preventDefault&&d.preventDefault();return!1};this.canvas.onselectstart=function(d){d.preventDefault&&d.preventDefault();return!1};this.oc&&(window.c2runtime=this);this.be&&(window.It=function(d){d.preventDefault();return!1},window.Jt=function(d){d.preventDefault();return!1});
this.width=d.width;this.height=d.height;this.Ue=this.width;this.Te=this.height;this.ja=!0;this.Cg=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.D=[];this.Fa=[];this.lk={};this.Oc=[];this.Hj={};this.Ge=[];this.Od=[];this.Wi=[];this.sp=[];this.tp=[];this.Zc=new La;this.ck=!1;this.pc=0;this.ek=!1;this.kc=[];this.Cd=this.Bb=this.pi=this.Wk="";this.oh=this.$n=!1;this.wj=this.Tg=this.Yd=this.xd=0;this.Xf=1;this.qc=new Qa;this.mi=0;this.mn=!0;this.xi=this.Uh=this.Ie=
this.Ld=this.Pg=this.Lj=0;this.De=null;this.Ej=[];this.Gj=[];this.Oh=-1;this.tk=[[]];this.ol=this.ti=0;this.Ii(null);this.ng=this.sn=this.Yg=0;this.ph=[];this.ll=this.Ok=0;this.Df=!0;this.Hf=0;this.Ag=!1;this.cs=0;this.$h=!1;this.zk=new La;this.Ak=new La;this.On=[];this.bf=new Sa([]);this.fl=new Sa([]);this.Td=[];this.xe={};this.rf={};this.pf={};this.$f={};this.fm={};this.Nc=this.rc=this.hn=this.oi=this.ka=null;this.Yf=this.gk=!1;this.Mj=[null,null];this.Je=0;this.Dm="";this.Ye={};this.Qi=this.Gf=
null;this.load();this.devicePixelRatio=(this.Bg=!this.wa&&this.os&&(this.jk||this.ei))?window.devicePixelRatio||1:1;this.qb();var a;"undefined"!==typeof jQuery&&0<this.lc&&this.setSize(jQuery(window).width(),jQuery(window).height());try{if(this.Qp&&(this.Cc||!this.wa)){a={depth:!1,antialias:!this.dd};var b=!0;if(this.Xm&&this.Ym){var h=document.createElement("canvas");"OES_texture_float,OES_standard_derivatives,WEBKIT_WEBGL_lose_context"===(h.getContext("webgl",a)||h.getContext("experimental-webgl",
a)).getSupportedExtensions().toString()&&(b=!1)}b&&(this.H=d.getContext("webgl",a)||d.getContext("experimental-webgl",a))}}catch(e){}if(this.H){this.wa||(this.Nb=document.createElement("canvas"),jQuery(this.Nb).appendTo(this.canvas.parentNode),this.Nb.oncontextmenu=E(!1),this.Nb.onselectstart=E(!1),this.Nb.width=d.width,this.Nb.height=d.height,this.Jn(),this.Gk=this.Nb.getContext("2d"));this.F=new Za(this.H,this.dd);this.F.lh(d.width,d.height);this.ra=null;this.canvas.addEventListener("webglcontextlost",
function(d){d.preventDefault();p.or();window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){p.F.Sm();p.F.lh(p.F.width,p.F.height,!0);p.rc=null;p.Nc=null;p.Mj[0]=null;p.Mj[1]=null;p.pr();p.ja=!0;window.cr_setSuspended(!1)},!1);var t,f,g,c,l;d=0;for(a=this.D.length;d<a;d++)for(t=this.D[d],b=0,h=t.R.length;b<h;b++)g=t.R[b],g.nb=this.F.Uj(g.id),this.Yf=this.Yf||this.F.eh(g.nb);d=0;for(a=this.Oc.length;d<a;d++){c=this.Oc[d];b=0;for(h=c.R.length;b<h;b++)g=c.R[b],
g.nb=this.F.Uj(g.id);b=0;for(h=c.ea.length;b<h;b++)for(l=c.ea[b],t=0,f=l.R.length;t<f;t++)g=l.R[t],g.nb=this.F.Uj(g.id),this.Yf=this.Yf||this.F.eh(g.nb)}}else{if(0<this.lc&&this.oc){this.canvas=null;document.oncontextmenu=E(!1);document.onselectstart=E(!1);this.ra=AppMobi.canvas.getContext("2d");try{this.ra.samplingMode=this.Ha?"smooth":"sharp",this.ra.globalScale=1,this.ra.HTML5CompatibilityMode=!0,this.ra.imageSmoothingEnabled=this.Ha}catch(m){}0!==this.width&&0!==this.height&&(this.ra.width=this.width,
this.ra.height=this.height)}this.ra||(this.Cc?(a={antialias:!!this.Ha},this.ra=d.getContext("2d",a)):this.ra=d.getContext("2d"),this.ra.webkitImageSmoothingEnabled=this.Ha,this.ra.mozImageSmoothingEnabled=this.Ha,this.ra.msImageSmoothingEnabled=this.Ha,this.ra.imageSmoothingEnabled=this.Ha);this.Gk=this.Nb=null}this.ho=function(){p.Pa()};window==window.top||this.wa||this.gr||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},
!0));"undefined"!==typeof cr_is_preview&&(this.Cc&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(H("Reloading for continuous preview"),this.pi="__c2_continuouspreview",this.oh=!0),this.Dr&&!this.dd&&(jQuery(window).focus(function(){p.setSuspended(!1)}),jQuery(window).blur(function(){p.setSuspended(!0)})));this.go();this.ba={}}}function n(d){d.target.result.createObjectStore("saves",{keyPath:"slot"})}function m(d,a,b,h){var e=
indexedDB.open("_C2SaveStates");e.onupgradeneeded=n;e.onerror=h;e.onsuccess=function(e){e=e.target.result;e.onerror=h;e.transaction(["saves"],"readwrite").objectStore("saves").put({slot:d,data:a}).onsuccess=b}}function k(d,a,b){var h=indexedDB.open("_C2SaveStates");h.onupgradeneeded=n;h.onerror=b;h.onsuccess=function(h){h=h.target.result;h.onerror=b;var e=h.transaction(["saves"]).objectStore("saves").get(d);e.onsuccess=function(){e.result?a(e.result.data):a(null)}}}function b(){H("Reloading for continuous preview");
window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function g(d){var a,b={};for(a in d)!d.hasOwnProperty(a)||d[a]instanceof La||"undefined"===typeof d[a].yt&&(b[a]=d[a]);return b}c.prototype.setSize=function(d,a){var b=this.Vq&&this.ii&&!navigator.standalone&&!this.wa&&!this.Qe,h=0;b&&(this.ii?h=60:this.bk&&(h=56),a+=h);var e=0,q=0,t=0,f=0,g=0,g=this.lc,c=document.mozFullScreen||document.webkitIsFullScreen||
!!document.msFullscreenElement||document.fullScreen||this.Ag;c&&0<this.Je&&(g=this.Je);4<=g?(t=this.Xb/this.Wb,d/a>t?(t*=a,5===g?(g=t/this.Xb,1<g?g=Math.floor(g):1>g&&(g=1/Math.ceil(1/g)),t=this.Xb*g,f=this.Wb*g,e=(d-t)/2,q=(a-f)/2,d=t,a=f):(e=(d-t)/2,d=t)):(f=d/t,5===g?(g=f/this.Wb,1<g?g=Math.floor(g):1>g&&(g=1/Math.ceil(1/g)),t=this.Xb*g,f=this.Wb*g,e=(d-t)/2,q=(a-f)/2,d=t):q=(a-f)/2,a=f),c&&!this.be&&(q=e=0),e=Math.floor(e),q=Math.floor(q),d=Math.floor(d),a=Math.floor(a)):this.be&&this.Ag&&0===
this.Fm&&(e=Math.floor((d-this.Xb)/2),q=Math.floor((a-this.Wb)/2),d=this.Xb,a=this.Wb);this.Bg&&this.$m&&1<this.devicePixelRatio&&(1024<=d&&(d=1023),1024<=a&&(a=1023));c=this.devicePixelRatio;this.width=d*c;this.height=a*c;this.ja=!0;this.qf&&!this.wa&&(jQuery(this.qf).css({width:d+"px",height:a+"px","margin-left":e,"margin-top":q}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:d+"px",height:a+"px"}));this.canvas&&(this.canvas.width=d*c,this.canvas.height=a*c,this.Bg&&jQuery(this.canvas).css({width:d+
"px",height:a+"px"}));this.Nb&&(this.Nb.width=d,this.Nb.height=a);this.F&&this.F.lh(d,a);this.oc&&this.ra&&(this.ra.width=d,this.ra.height=a);this.ra&&(this.ra.webkitImageSmoothingEnabled=this.Ha,this.ra.mozImageSmoothingEnabled=this.Ha,this.ra.msImageSmoothingEnabled=this.Ha,this.ra.imageSmoothingEnabled=this.Ha);b&&0<h&&window.setTimeout(function(){window.scrollTo(0,1)},100)};c.prototype.or=function(){this.gk=!0;var d,a,b;d=0;for(a=this.D.length;d<a;d++)b=this.D[d],b.yi&&b.yi()};c.prototype.pr=
function(){this.gk=!1;var d,a,b;d=0;for(a=this.D.length;d<a;d++)b=this.D[d],b.Dk&&b.Dk()};c.prototype.Jn=function(){if(!this.wa){var d=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.Ag?jQuery(this.canvas).offset():jQuery(this.canvas).position();d.position="absolute";jQuery(this.Nb).css(d)}};var a=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;
c.prototype.setSuspended=function(d){var b;if(d&&!this.Cg)for(H("[Construct 2] Suspending"),this.Cg=!0,0!==this.Ok&&a&&a(this.Ok),0!==this.ll&&clearTimeout(this.ll),d=0,b=this.ph.length;d<b;d++)this.ph[d](!0);else if(!d&&this.Cg){H("[Construct 2] Resuming");this.Cg=!1;this.mi=Ja();this.Pg=Ja();d=this.Tg=this.Uh=0;for(b=this.ph.length;d<b;d++)this.ph[d](!1);this.Pa()}};c.prototype.$l=function(d){this.ph.push(d)};c.prototype.load=function(){var d=Bb();this.name=d[0];this.Em=d[1];this.lc=d[11];this.Fm=
d[11];this.wa&&(4<=d[11]||0===d[11])&&(H("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.Fm=this.lc=3);this.rl=d[17];this.Sg=d[18];0===this.Sg&&(this.Gf=new Image,this.Gf.src="loading-logo.png");this.Yg=d[20];this.nd=new T(this);var a,b,h,e,q,t,f,g,c;a=0;for(b=d[2].length;a<b;a++)f=d[2][a],Cb(f),c=new f[0](this),c.cl=f[1],c.ee=f[2],c.qn=f[9],c.K&&c.K(),this.plugins.push(c);d=Bb();a=0;for(b=d[3].length;a<b;a++){f=d[3][a];q=f[1];
c=null;h=0;for(e=this.plugins.length;h<e;h++)if(this.plugins[h]instanceof q){c=this.plugins[h];break}var l=new c.fa(c);l.name=f[0];l.O=f[2];l.ak=f[3].slice(0);l.qs=f[3].length;l.up=f[4];l.sq=f[5];l.Z=f[11];l.O?(l.vi=[],l.ad=this.ng++,l.Ca=null):(l.vi=null,l.ad=-1,l.Ca=[]);l.Rh=null;l.uf=null;l.zm=null;l.Lb=!1;l.Gb=null;f[6]?(l.hl=f[6][0],l.il=f[6][1],l.jl=f[6][2]):(l.hl=null,l.il=0,l.jl=0);l.Pb=f[7]?f[7]:null;l.index=a;l.d=[];l.Lh=[];l.qe=[new $a(l)];l.wd=0;l.yc=null;l.Tf=!0;l.Xi=Db;l.xq=Eb;l.Cq=
Fb;l.pa=Gb;l.gh=Hb;l.Hi=Ib;l.Ze=Jb;l.Wh=Kb;l.Oj=Lb;l.Rj=Mb;l.fg=Nb;l.ba={};l.toString=Ob;l.Fa=[];h=0;for(e=f[8].length;h<e;h++){g=f[8][h];var m=g[1],k=null;q=0;for(t=this.Fa.length;q<t;q++)if(this.Fa[q]instanceof m){k=this.Fa[q];break}k||(k=new m(this),k.wi=new La,k.K&&k.K(),this.Fa.push(k));q=new k.fa(k,l);q.name=g[0];q.Z=g[2];q.K();l.Fa.push(q)}l.global=f[9];l.dk=f[10];l.R=[];h=0;for(e=f[12].length;h<e;h++)l.R.push({id:f[12][h][0],name:f[12][h][1],nb:-1,ic:!0,index:h});this.rl&&!l.O&&!l.dk&&c.ee||
l.K();l.name&&(this.types[l.name]=l);this.D.push(l);c.cl&&(h=new c.U(l),h.uid=this.Yg++,h.Mn=this.sn++,h.Ne=0,h.vg=Pb,h.toString=Ub,h.A=f[13],h.K(),l.d.push(h),this.Ye[h.uid.toString()]=h)}a=0;for(b=d[4].length;a<b;a++)for(q=d[4][a],t=this.D[q[0]],h=1,e=q.length;h<e;h++)f=this.D[q[h]],f.Ca.push(t),t.vi.push(f);a=0;for(b=d[22].length;a<b;a++){q=d[22][a];t=[];h=0;for(e=q.length;h<e;h++)t.push(this.D[q[h]]);h=0;for(e=t.length;h<e;h++)t[h].Lb=!0,t[h].Gb=t}if(0<this.ng)for(a=0,b=this.D.length;a<b;a++)if(f=
this.D[a],!f.O&&f.Ca.length){f.Rh=Array(this.ng);f.uf=Array(this.ng);f.zm=Array(this.ng);l=[];h=k=m=g=0;for(e=f.Ca.length;h<e;h++)for(c=f.Ca[h],f.Rh[c.ad]=g,g+=c.qs,f.uf[c.ad]=m,m+=c.up,f.zm[c.ad]=k,k+=c.sq,q=0,t=c.R.length;q<t;q++)l.push(na({},c.R[q]));f.R=l.concat(f.R);h=0;for(e=f.R.length;h<e;h++)f.R[h].index=h}a=0;for(b=d[5].length;a<b;a++)f=d[5][a],h=new ab(this,f),this.lk[h.name]=h,this.Oc.push(h);a=0;for(b=d[6].length;a<b;a++)f=d[6][a],h=new bb(this,f),this.Hj[h.name]=h,this.Ge.push(h);a=0;
for(b=this.Ge.length;a<b;a++)this.Ge[a].Oa();a=0;for(b=this.Wi.length;a<b;a++)this.Wi[a].Oa();this.Wi.length=0;this.Dm=d[7];this.jd=d[8];this.Xb=d[9];this.Wb=d[10];this.Dh=1;this.Qp=d[12];this.Ha=d[13];this.lm=d[14];a=d[16];2===a&&(a=this.ii?1:0);this.os=0!==a;this.Vq=d[19];this.Dr=d[21];this.Ri=Date.now()};c.prototype.qq=function(d){var a,b;a=0;for(b=this.Od.length;a<b;a++)if(this.Od[a].Ap===d)return this.Od[a];return null};c.prototype.em=function(){var d=0,a=0,b=!0,h,e;h=0;for(e=this.Od.length;h<
e;h++){var q=this.Od[h].nm;if(!q||0>=q)q=5E4;d+=q;this.Od[h].complete||this.Od[h].loaded?a+=q:b=!1}this.Qc=0==d?0:a/d;return b};c.prototype.go=function(){if(this.ra||this.F){var d=this.ra||this.Gk;this.Nb&&this.Jn();this.Qc=0;this.gn=-1;if(this.em())this.Tq();else{var a=Date.now()-this.Ri,b=1;this.ei&&(b=this.devicePixelRatio);if(d){if(3!==this.Sg&&500<=a&&this.gn!=this.Qc){d.clearRect(0,0,this.width,this.height);var a=this.width/(2*b),b=this.height/(2*b),h=0===this.Sg&&this.Gf.complete,e=40,q=0,
f=80;h&&(f=this.Gf.width,e=f/2,q=this.Gf.height/2,d.drawImage(this.Gf,ja(a-e),ja(b-q)));1>=this.Sg?(a=ja(a-e)+0.5,b=ja(b+(q+(h?12:0)))+0.5,d.fillStyle="DodgerBlue",d.fillRect(a,b,Math.floor(f*this.Qc),6),d.strokeStyle="black",d.strokeRect(a,b,f,6),d.strokeStyle="white",d.strokeRect(a-1,b-1,f+2,8)):2===this.Sg&&(d.font="12pt Arial",d.fillStyle="#999",d.Nt="middle",h=Math.round(100*this.Qc)+"%",e=d.measureText?d.measureText(h):null,d.fillText(h,a-(e?e.width:0)/2,b))}this.gn=this.Qc}setTimeout(function(d){return function(){d.go()}}(this),
100)}}};c.prototype.Tq=function(){this.Nb&&(this.canvas.parentNode.removeChild(this.Nb),this.Nb=this.Gk=null);this.Ri=Date.now();this.Pg=Ja();var d,a,b;if(this.rl)for(d=0,a=this.D.length;d<a;d++)b=this.D[d],b.O||b.dk||!b.qa.ee||b.K();else this.Df=!1;d=0;for(a=this.Oc.length;d<a;d++)this.Oc[d].Bp();2<=this.lc&&(d=this.Xb/this.Wb,a=this.width/this.height,this.Dh=2!==this.lc&&a>d||2===this.lc&&a<d?this.height/this.Wb:this.width/this.Xb);this.Em?this.lk[this.Em].dl():this.Oc[0].dl();this.rl||(this.Hf=
1,this.trigger(T.prototype.j.Jl,null));this.Pa();this.oc&&AppMobi.webview.execute("onGameReady();")};var l=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;c.prototype.Pa=function(){if(this.ka){var d=Ja();if(!this.wa&&window!=window.top){var a=this.lc;(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.Ag)&&0<this.Je&&(a=this.Je);
if(0<a){var a=window.innerWidth,b=window.innerHeight;if(this.Ue!==a||this.Te!==b)this.Ue=a,this.Te=b,this.setSize(a,b)}}this.Df&&(a=this.em(),this.Hf=this.Qc,a&&(this.Df=!1,this.Qc=1,this.trigger(T.prototype.j.Jl,null)));this.nr();!this.ja&&!this.Cc||this.gk||this.oh||(this.ja=!1,this.F?this.Rb():this.Ac(),this.Qi&&(this.canvas&&this.canvas.toDataURL&&(this.canvas.toDataURL(this.Qi[0],this.Qi[1]),this.trigger(T.prototype.j.Go,null)),this.Qi=null));this.Gt||(this.Ld++,this.Ie++,this.Uh++);this.Tg+=
Ja()-d;this.Cg||(l?this.Ok=l(this.ho,this.canvas):this.ll=setTimeout(this.ho,this.dd?1:16))}};c.prototype.nr=function(){var d,a,b,h,e,q,f,g,c;d=Ja();1E3<=d-this.Pg&&(this.Pg+=1E3,this.Lj=this.Uh,this.Uh=0,this.wj=this.Tg,this.Tg=0);this.mn&&(0!==this.mi&&(a=d-this.mi,0!==a||this.cr?(this.Yd=a/1E3,0.5<this.Yd?this.Yd=0:0.1<this.Yd&&(this.Yd=0.1)):(10<=this.Pt&&(this.mn=!1),this.Yd=1/60)),this.mi=d);this.xd=this.Yd*this.Xf;this.qc.add(this.xd);d=document.mozFullScreen||document.webkitIsFullScreen||
document.fullScreen||!!document.msFullscreenElement||this.Ag;2<=this.lc||d&&0<this.Je?(a=this.Xb/this.Wb,b=this.width/this.height,h=this.lc,d&&0<this.Je&&(h=this.Je),this.Dh=2!==h&&b>a||2===h&&b<a?this.height/this.Wb:this.width/this.Xb,this.ka&&(this.ka.Sn(this.ka.scrollX),this.ka.Tn(this.ka.scrollY))):this.Dh=1;this.qb();this.pc++;this.nd.Sr();this.pc--;this.qb();this.pc++;d=0;for(a=this.D.length;d<a;d++)if(f=this.D[d],!f.O&&(f.Fa.length||f.Ca.length))for(b=0,h=f.d.length;b<h;b++)for(g=f.d[b],e=
0,q=g.aa.length;e<q;e++)g.aa[e].Pa();d=0;for(a=this.D.length;d<a;d++)if(f=this.D[d],!f.O&&(f.Fa.length||f.Ca.length))for(b=0,h=f.d.length;b<h;b++)for(g=f.d[b],e=0,q=g.aa.length;e<q;e++)c=g.aa[e],c.Hr&&c.Hr();b=this.zk.Zf();d=0;for(a=b.length;d<a;d++)b[d].Pa();this.pc--;this.Uq();for(d=0;this.De&&10>d++;)this.um(this.De);d=0;for(a=this.Ge.length;d<a;d++)this.Ge[d].Wj=!1;this.ka.Nh&&this.ka.Nh.Ta();this.On.length=0;this.pc++;d=0;for(a=this.D.length;d<a;d++)if(f=this.D[d],!f.O&&(f.Fa.length||f.Ca.length))for(b=
0,h=f.d.length;b<h;b++)for(g=f.d[b],e=0,q=g.aa.length;e<q;e++)c=g.aa[e],c.kl&&c.kl();b=this.Ak.Zf();d=0;for(a=b.length;d<a;d++)b[d].kl();this.pc--};c.prototype.um=function(d){var a=this.ka;this.ka.ds();var b,h,e,q,f,g,c;if(this.F)for(b=0,h=this.D.length;b<h;b++)f=this.D[b],f.O||!f.ql||f.global&&0!==f.d.length||-1!==d.yg.indexOf(f)||f.ql();a==d&&(this.nd.Ob.length=0);d.dl();b=0;for(h=this.D.length;b<h;b++)if(f=this.D[b],f.global||f.qa.cl)for(d=0,a=f.d.length;d<a;d++)if(g=f.d[d],g.Ck&&g.Ck(),g.aa)for(e=
0,q=g.aa.length;e<q;e++)c=g.aa[e],c.Ck&&c.Ck();this.ja=!0;this.qb()};c.prototype.Wf=function(d){this.zk.add(d)};c.prototype.gs=function(d){this.Ak.add(d)};c.prototype.Ke=function(d){return d&&-1!==d.Xg?this.Yd*d.Xg:this.xd};c.prototype.Ac=function(){this.ka.Ac(this.ra);this.oc&&this.ra.present()};c.prototype.Rb=function(){this.ka.Rb(this.F);this.F.Ir()};c.prototype.qp=function(d){d&&this.Ej.push(d)};c.prototype.Yh=function(d){return this.Ye[d.toString()]};c.prototype.Qd=function(d){var a,b;if(!this.Zc.contains(d)){this.Zc.add(d);
if(d.Lb)for(a=0,b=d.siblings.length;a<b;a++)this.Qd(d.siblings[a]);this.ck&&this.Zc.hf.push(d);this.pc++;this.trigger(Object.getPrototypeOf(d.type.qa).j.Ho,d);this.pc--}};c.prototype.qb=function(){var d,a,b,h,e,f,g,c,l,m;this.ck=!0;h=0;for(f=this.kc.length;h<f;h++)for(d=this.kc[h],a=d.type,a.d.push(d),e=0,g=a.Ca.length;e<g;e++)a.Ca[e].d.push(d),a.Ca[e].Tf=!0;this.kc.length=0;f=this.Zc.Zf();for(h=0;h<f.length;h++){d=f[h];a=d.type;b=a.d;e=0;for(g=this.Ej.length;e<g;e++)this.Ej[e](d);ra(b,d);d.n&&(oa(d.n.d,
d.nc()),d.n.hc=!0);e=0;for(g=a.Ca.length;e<g;e++)ra(a.Ca[e].d,d),a.Ca[e].Tf=!0;if(d.aa)for(e=0,g=d.aa.length;e<g;e++)b=d.aa[e],b.je&&b.je(),b.hb.wi.remove(d);this.zk.remove(d);this.Ak.remove(d);e=0;for(g=this.nd.Ob.length;e<g;e++)if(l=this.nd.Ob[e],l.Cb.hasOwnProperty(a.index)&&ra(l.Cb[a.index].Ad,d),!a.O)for(b=0,c=a.Ca.length;b<c;b++)m=a.Ca[b],l.Cb.hasOwnProperty(m.index)&&ra(l.Cb[m.index].Ad,d);d.je&&d.je();this.Ye.hasOwnProperty(d.uid.toString())&&delete this.Ye[d.uid.toString()];this.xi--;64>
a.Lh.length&&a.Lh.push(d);a.Tf=!0}this.Zc.zg()||(this.ja=!0);this.Zc.clear();this.ck=!1};c.prototype.xj=function(d,a,b,h){if(d.O){var e=ja(Math.random()*d.vi.length);return this.xj(d.vi[e],a,b,h)}return d.yc?this.Xd(d.yc,a,!1,b,h,!1):null};var e=[];c.prototype.Xd=function(d,a,b,h,f,q){var g,c,l,m;if(!d)return null;var k=this.D[d[1]],n=k.qa.ee;if(this.Df&&n&&!k.dk||n&&!this.F&&11===d[0][11])return null;var z=a;n||(a=null);var r;k.Lh.length?(r=k.Lh.pop(),r.Zb=!0,k.qa.U.call(r,k)):(r=new k.qa.U(k),r.Zb=
!1);r.uid=b&&!q?d[2]:this.Yg++;this.Ye[r.uid.toString()]=r;r.Mn=this.sn++;r.Ne=k.d.length;g=0;for(c=this.kc.length;g<c;++g)this.kc[g].type===k&&r.Ne++;r.vg=Pb;l=d[3];if(r.Zb)Ia(r.ba);else{r.ba={};if("undefined"!==typeof cr_is_preview)for(r.Vm=[],r.Vm.length=l.length,g=0,c=l.length;g<c;g++)r.Vm[g]=l[g][1];r.Xa=[];r.Xa.length=l.length}g=0;for(c=l.length;g<c;g++)r.Xa[g]=l[g][0];if(n){var x=d[0];r.x=aa(h)?x[0]:h;r.y=aa(f)?x[1]:f;r.z=x[2];r.width=x[3];r.height=x[4];r.depth=x[5];r.q=x[6];r.opacity=x[7];
r.Jb=x[8];r.Kb=x[9];r.Fb=x[10];g=x[11];!this.F&&k.R.length&&(r.Fb=g);r.jg=Ta(r.Fb);this.H&&Ua(r,r.Fb,this.H);if(r.Zb){g=0;for(c=x[12].length;g<c;g++)for(l=0,m=x[12][g].length;l<m;l++)r.La[g][l]=x[12][g][l];r.$.set(0,0,0,0);r.rb.$k(r.$);r.Fh.length=0}else{r.La=x[12].slice(0);g=0;for(c=r.La.length;g<c;g++)r.La[g]=x[12][g].slice(0);r.ma=[];r.Sd=[];r.Sd.length=k.R.length;r.$=new la(0,0,0,0);r.rb=new ma;r.Fh=[];r.W=Vb;r.xt=Wb;r.vc=Xb;r.ac=Yb;r.nc=Zb}g=0;for(c=k.R.length;g<c;g++)r.Sd[g]=!0;r.Nd=$b;r.Nd();
r.ro=!!r.ma.length;r.qj=!0;r.visible=!0;r.Xg=-1;r.n=a;r.jf=a.d.length;"undefined"===typeof r.Ba&&(r.Ba=null);this.ja=r.Wd=!0}r.toString=Ub;var u;g=e.length=0;for(c=k.Ca.length;g<c;g++)e.push.apply(e,k.Ca[g].Fa);e.push.apply(e,k.Fa);if(r.Zb)for(g=0,c=e.length;g<c;g++){var K=e[g];u=r.aa[g];u.Zb=!0;K.hb.U.call(u,K,r);x=d[4][g];l=0;for(m=x.length;l<m;l++)u.A[l]=x[l];u.K();K.hb.wi.add(r)}else for(r.aa=[],g=0,c=e.length;g<c;g++)K=e[g],u=new K.hb.U(K,r),u.Zb=!1,u.A=d[4][g].slice(0),u.K(),r.aa.push(u),K.hb.wi.add(r);
x=d[5];if(r.Zb)for(g=0,c=x.length;g<c;g++)r.A[g]=x[g];else r.A=x.slice(0);this.kc.push(r);a&&a.d.push(r);this.xi++;if(k.Lb){if(r.Lb=!0,r.Zb?r.siblings.length=0:r.siblings=[],!b&&!q){g=0;for(c=k.Gb.length;g<c;g++)if(k.Gb[g]!==k){if(!k.Gb[g].yc)return null;r.siblings.push(this.Xd(k.Gb[g].yc,z,!1,n?r.x:h,n?r.y:f,!0))}g=0;for(c=r.siblings.length;g<c;g++)for(r.siblings[g].siblings.push(r),l=0;l<c;l++)g!==l&&r.siblings[g].siblings.push(r.siblings[l])}}else r.Lb=!1,r.siblings=null;r.K();g=0;for(c=r.aa.length;g<
c;g++)r.aa[g].Gr&&r.aa[g].Gr();return r};c.prototype.Sj=function(d){var a,b;a=0;for(b=this.ka.ea.length;a<b;a++){var h=this.ka.ea[a];if(Wa(h.name,d))return h}return null};c.prototype.sg=function(d){d=ja(d);0>d&&(d=0);d>=this.ka.ea.length&&(d=this.ka.ea.length-1);return this.ka.ea[d]};c.prototype.vj=function(d){var a,b;a=0;for(b=d.length;a<b;a++)d[a].pa().ta=!0};c.prototype.gh=function(d){var a,b;a=0;for(b=d.length;a<b;a++)d[a].gh()};c.prototype.Hi=function(d){var a,b;a=0;for(b=d.length;a<b;a++)d[a].Hi()};
c.prototype.Ze=function(d){var a,b;a=0;for(b=d.length;a<b;a++)d[a].Ze()};c.prototype.es=function(d,a,b){var h=d.pa(),e,f,g,c,l,m;if(h.ta)for(h.ta=!1,e=h.d.length=0,c=d.d.length;e<c;e++)g=d.d[e],g.ac(),l=g.n.Qb(a,b,!0),m=g.n.Qb(a,b,!1),g.vc(l,m)&&h.d.push(g);else{e=f=0;for(c=h.d.length;e<c;e++)g=h.d[e],g.ac(),l=g.n.Qb(a,b,!0),m=g.n.Qb(a,b,!1),g.vc(l,m)&&(h.d[f]=h.d[e],f++);h.d.length=f}d.fg();return h.Vj()};c.prototype.cf=function(d,a){if(!(d&&a&&d!==a&&d.Wd&&a.Wd))return!1;d.ac();a.ac();var b=d.n,
h=a.n,e,g,f,c,l,m;if(b===h||b.gd===h.gd&&h.hd===h.hd&&b.scale===h.scale&&b.q===h.q&&b.Uc===h.Uc){if(!d.$.Zq(a.$)||!d.rb.Yq(a.rb))return!1;l=d.Ba&&!d.Ba.Dg();e=a.Ba&&!a.Ba.Dg();if(!l&&!e)return!0;l?(d.Ba.ig(d.width,d.height,d.q),l=d.Ba):(this.bf.Pi(d.rb,d.x,d.y,d.width,d.height),l=this.bf);e?(a.Ba.ig(a.width,a.height,a.q),m=a.Ba):(this.bf.Pi(a.rb,a.x,a.y,a.width,a.height),m=this.bf);return l.Wm(m,a.x-d.x,a.y-d.y)}l=d.Ba&&!d.Ba.Dg();e=a.Ba&&!a.Ba.Dg();l?(d.Ba.ig(d.width,d.height,d.q),this.bf.Wn(d.Ba)):
this.bf.Pi(d.rb,d.x,d.y,d.width,d.height);l=this.bf;e?(a.Ba.ig(a.width,a.height,a.q),this.fl.Wn(a.Ba)):this.fl.Pi(a.rb,a.x,a.y,a.width,a.height);m=this.fl;e=0;for(g=l.Fd;e<g;e++)f=l.wb[2*e],c=l.wb[2*e+1],l.wb[2*e]=b.la(f+d.x,c+d.y,!0),l.wb[2*e+1]=b.la(f+d.x,c+d.y,!1);e=0;for(g=m.Fd;e<g;e++)f=m.wb[2*e],c=m.wb[2*e+1],m.wb[2*e]=h.la(f+a.x,c+a.y,!0),m.wb[2*e+1]=h.la(f+a.x,c+a.y,!1);return l.Wm(m,0,0)};new ma;new la(0,0,0,0);c.prototype.lo=function(d,a){if(!a)return!1;var b,h,e,g,f;b=0;for(h=d.Fa.length;b<
h;b++)if(d.Fa[b].hb instanceof a)return!0;if(!d.O)for(b=0,h=d.Ca.length;b<h;b++)for(f=d.Ca[b],e=0,g=f.Fa.length;e<g;e++)if(f.Fa[e].hb instanceof a)return!0;return!1};c.prototype.no=function(d){return this.lo(d,qb.Ss)};c.prototype.pl=function(d){return this.lo(d,qb.Ts)};c.prototype.Gq=function(){if(!qb.bs)return null;var d,a;d=0;for(a=this.Fa.length;d<a;d++)if(this.Fa[d]instanceof qb.bs)return this.Fa[d];return null};c.prototype.df=function(d){var a=this.Gq();if(!a)return null;var b,h,e=a.wi.Zf(),
a=0;for(b=e.length;a<b;++a)if(h=e[a],h.ba.Mt&&this.cf(d,h))return h;return null};c.prototype.Mr=function(d,a,b,h){h=h||50;var e=d.x,g=d.y,f,c=null,l=null;for(f=0;f<h;f++)if(d.x=e+a*f,d.y=g+b*f,d.W(),!this.cf(d,c)&&((c=this.df(d))&&(l=c),!c&&!c))return l&&this.Kr(d,a,b,l),!0;d.x=e;d.y=g;d.W();return!1};c.prototype.Kr=function(d,a,b,h){var e=2,f,g=!1;f=!1;for(var c=d.x,l=d.y;16>=e;)f=1/e,e*=2,d.x+=a*f*(g?1:-1),d.y+=b*f*(g?1:-1),d.W(),this.cf(d,h)?f=g=!0:(f=g=!1,c=d.x,l=d.y);f&&(d.x=c,d.y=l,d.W())};
c.prototype.Nr=function(d){var a=0,b=d.x,h=d.y,e=0,f=0,g=0,c=this.df(d);if(c){for(;100>=a;){switch(e){case 0:f=0;g=-1;a++;break;case 1:f=1;g=-1;break;case 2:f=1;g=0;break;case 3:g=f=1;break;case 4:f=0;g=1;break;case 5:f=-1;g=1;break;case 6:f=-1;g=0;break;case 7:g=f=-1}e=(e+1)%8;d.x=ja(b+f*a);d.y=ja(h+g*a);d.W();if(!this.cf(d,c)&&(c=this.df(d),!c))return}d.x=b;d.y=h;d.W()}};c.prototype.Pr=function(d,a){d.Wd&&a.Wd&&this.On.push([d,a])};c.prototype.yp=function(d,a,b){var h=d.x,e=d.y,f=fa(10,Ea(a,b,h,
e)),g=xa(a,b,h,e),c=this.df(d);if(!c)return ua(g+ha);var l=c,m,k,n,z,r=P(5);for(m=1;36>m;m++)if(k=g-m*r,d.x=a+Math.cos(k)*f,d.y=b+Math.sin(k)*f,d.W(),!this.cf(d,l)&&(l=this.df(d),!l)){n=k;break}36===m&&(n=ua(g+ha));l=c;for(m=1;36>m;m++)if(k=g+m*r,d.x=a+Math.cos(k)*f,d.y=b+Math.sin(k)*f,d.W(),!this.cf(d,l)&&(l=this.df(d),!l)){z=k;break}36===m&&(z=ua(g+ha));d.x=h;d.y=e;d.W();if(z===n)return z;d=ya(z,n)/2;d=Ca(z,n)?ua(n+d+ha):ua(z+d);n=Math.cos(g);g=Math.sin(g);z=Math.cos(d);d=Math.sin(d);a=n*z+g*d;
return xa(0,0,n-2*a*z,g-2*a*d)};var f=[],h=-1;c.prototype.trigger=function(d,a,b){if(!this.ka)return!1;var e=this.ka.Nh;if(!e)return!1;h++;h===f.length?f.push(new La):f[h].clear();d=this.jo(d,a,e,b);h--;return d};c.prototype.jo=function(d,a,b,e){var g=f[h];if(g.contains(b))return!1;g.add(b);var g=b.Rm.Zf(),q=!1,c,l,m;c=0;for(l=g.length;c<l;c++)g[c].$q()&&(m=this.jo(d,a,g[c].xg,e),q=q||m);if(a)for(m=this.nl(d,a,a.type.name,b,e),q=q||m,c=0,l=a.type.Ca.length;c<l;c++)m=this.nl(d,a,a.type.Ca[c].name,
b,e),q=q||m;else m=this.nl(d,a,"system",b,e),q=q||m;return q};c.prototype.nl=function(d,a,b,h,e){var g,f=!1,c=!1,c="undefined"!==typeof e,l=(c?h.Bm:h.ko)[b];if(!l)return f;var m=null;h=0;for(g=l.length;h<g;h++)if(l[h].method==d){m=l[h].Ph;break}if(!m)return f;d=c?m[e]:m;if(!d)return null;h=0;for(g=d.length;h<g;h++)e=d[h][0],c=d[h][1],c=this.oq(a,b,e,c),f=f||c;return f};c.prototype.oq=function(d,a,b,e){var g,f,c=!1;this.ol++;var l=this.ub().Hb;l&&this.gh(l.oe);var m=1<this.ol;this.gh(b.oe);m&&this.Lr();
var k=this.Ii(b);k.Hb=b;d&&(g=this.types[a].pa(),g.ta=!1,g.d.length=1,g.d[0]=d,this.types[a].fg());d=!0;if(b.parent){a=k.bo;for(g=b.parent;g;)a.push(g),g=g.parent;a.reverse();g=0;for(f=a.length;g<f;g++)if(!a[g].Ur()){d=!1;break}}d&&(this.Ie++,b.Fc?b.Tr(e):b.Ta(),c=c||k.Ff);this.Di();m&&this.Fr();this.Ze(b.oe);l&&this.Ze(l.oe);0!==this.pc||0!==h||this.ek||this.Zc.zg()&&!this.kc.length||this.qb();this.ol--;return c};c.prototype.Pj=function(){var d=this.ub();return d.Hb.Ga[d.Va]};c.prototype.wq=function(){var d=
this.ub();return d.Hb.tc[d.Eb]};c.prototype.Lr=function(){this.ti++;this.ti>=this.tk.length&&this.tk.push([])};c.prototype.Fr=function(){this.ti--};c.prototype.Im=function(){return this.tk[this.ti]};c.prototype.Ii=function(d){this.Oh++;this.Oh>=this.Gj.length&&this.Gj.push(new cb);var a=this.ub();a.reset(d);return a};c.prototype.Di=function(){this.Oh--};c.prototype.ub=function(){return this.Gj[this.Oh]};c.prototype.Jm=function(d,a){for(var b,h,e,g,f,c;a;){b=0;for(h=a.Ic.length;b<h;b++)if(c=a.Ic[b],
c instanceof db&&Wa(d,c.name))return c;a=a.parent}b=0;for(h=this.Ge.length;b<h;b++)for(f=this.Ge[b],e=0,g=f.$d.length;e<g;e++)if(c=f.$d[e],c instanceof db&&Wa(d,c.name))return c;return null};c.prototype.Km=function(d){var a,b;a=0;for(b=this.Oc.length;a<b;a++)if(this.Oc[a].Z===d)return this.Oc[a];return null};c.prototype.Zh=function(d){var a,b;a=0;for(b=this.D.length;a<b;a++)if(this.D[a].Z===d)return this.D[a];return null};c.prototype.yq=function(d){var a,b;a=0;for(b=this.Td.length;a<b;a++)if(this.Td[a].Z===
d)return this.Td[a];return null};c.prototype.Uq=function(){var d=this,a=this.Wk,h=this.Cd,e=this.pi,g=!1;this.$n&&(g=!0,a="__c2_continuouspreview",this.$n=!1);if(a.length){this.qb();h=this.Yr();if(window.indexedDB&&!this.Cc)m(a,h,function(){H("Saved state to IndexedDB storage ("+h.length+" bytes)");d.Cd=h;d.trigger(T.prototype.j.kj,null);d.Cd="";g&&b()},function(e){try{localStorage.setItem("__c2save_"+a,h),H("Saved state to WebStorage ("+h.length+" bytes)"),d.Cd=h,d.trigger(T.prototype.j.kj,null),
d.Cd="",g&&b()}catch(f){H("Failed to save game state: "+e+"; "+f)}});else try{localStorage.setItem("__c2save_"+a,h),H("Saved state to WebStorage ("+h.length+" bytes)"),d.Cd=h,this.trigger(T.prototype.j.kj,null),d.Cd="",g&&b()}catch(f){H("Error saving to WebStorage: "+f)}this.Bb=this.pi=this.Wk=""}e.length&&(window.indexedDB&&!this.Cc?k(e,function(a){a?(d.Bb=a,H("Loaded state from IndexedDB storage ("+d.Bb.length+" bytes)")):(d.Bb=localStorage.getItem("__c2save_"+e)||"",H("Loaded state from WebStorage ("+
d.Bb.length+" bytes)"));d.oh=!1;d.Bb.length||d.trigger(T.prototype.j.jj,null)},function(){d.Bb=localStorage.getItem("__c2save_"+e)||"";H("Loaded state from WebStorage ("+d.Bb.length+" bytes)");d.oh=!1;d.Bb.length||d.trigger(T.prototype.j.jj,null)}):(this.Bb=localStorage.getItem("__c2save_"+e)||"",H("Loaded state from WebStorage ("+this.Bb.length+" bytes)"),this.oh=!1,d.Bb.length||d.trigger(T.prototype.j.jj,null)),this.Wk=this.pi="");this.Bb.length&&(this.qb(),this.mr(this.Bb),this.Cd=this.Bb,this.trigger(T.prototype.j.Oo,
null),this.Bb=this.Cd="")};c.prototype.Yr=function(){var d,a,b,h,e,f,c,l={c2save:!0,version:1,rt:{time:this.qc.Aa,timescale:this.Xf,tickcount:this.Ld,execcount:this.Ie,next_uid:this.Yg,running_layout:this.ka.Z,start_time_offset:Date.now()-this.Ri},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};d=0;for(a=this.D.length;d<a;d++)if(e=this.D[d],!e.O&&!this.no(e)){f={instances:[]};Ha(e.ba)&&(f.ex=g(e.ba));b=0;for(h=e.d.length;b<h;b++)f.instances.push(this.Rn(e.d[b]));l.types[e.Z.toString()]=
f}d=0;for(a=this.Oc.length;d<a;d++)b=this.Oc[d],l.layouts[b.Z.toString()]=b.Ua();h=l.events.groups;d=0;for(a=this.Td.length;d<a;d++)b=this.Td[d],h[b.Z.toString()]=!!this.xe[b.wf];a=l.events.cnds;for(c in this.rf)this.rf.hasOwnProperty(c)&&(d=this.rf[c],Ha(d.ba)&&(a[c]={ex:g(d.ba)}));a=l.events.acts;for(c in this.pf)this.pf.hasOwnProperty(c)&&(d=this.pf[c],Ha(d.ba)&&(a[c]={ex:d.ba}));a=l.events.vars;for(c in this.$f)this.$f.hasOwnProperty(c)&&(d=this.$f[c],d.fi||d.parent&&!d.Eg||(a[c]=d.data));l.system=
this.nd.Ua();return JSON.stringify(l)};c.prototype.Nn=function(){var d,a,b,h,e,g;this.Ye={};d=0;for(a=this.D.length;d<a;d++)if(b=this.D[d],!b.O)for(h=0,e=b.d.length;h<e;h++)g=b.d[h],this.Ye[g.uid.toString()]=g};c.prototype.mr=function(d){d=JSON.parse(d);if(d.c2save&&!(1<d.version)){var a=d.rt;this.qc.reset();this.qc.Aa=a.time;this.Xf=a.timescale;this.Ld=a.tickcount;this.Ie=a.execcount;this.Ri=Date.now()-a.start_time_offset;var b=a.running_layout;if(b!==this.ka.Z)if(b=this.Km(b))this.um(b);else return;
var h,e,g,f,c,l,m;l=d.types;for(e in l)if(l.hasOwnProperty(e)&&(f=this.Zh(parseInt(e,10)))&&!f.O&&!this.no(f)){l[e].ex?f.ba=l[e].ex:Ia(f.ba);c=f.d;g=l[e].instances;b=0;for(h=ga(c.length,g.length);b<h;b++)this.nk(c[b],g[b]);b=g.length;for(h=c.length;b<h;b++)this.Qd(c[b]);b=c.length;for(h=g.length;b<h;b++){c=null;if(f.qa.ee&&(c=this.ka.Xh(g[b].w.l),!c))continue;c=this.Xd(f.yc,c,!1,0,0,!0);this.nk(c,g[b])}f.Tf=!0}this.qb();this.Nn();h=d.layouts;for(e in h)h.hasOwnProperty(e)&&(b=this.Km(parseInt(e,10)))&&
b.bb(h[e]);h=d.events.groups;for(e in h)h.hasOwnProperty(e)&&(b=this.yq(parseInt(e,10)))&&(this.xe[b.wf]=h[e]);b=d.events.cnds;for(e in b)b.hasOwnProperty(e)&&this.rf.hasOwnProperty(e)&&(this.rf[e].ba=b[e].ex);b=d.events.acts;for(e in b)b.hasOwnProperty(e)&&this.pf.hasOwnProperty(e)&&(this.pf[e].ba=b[e].ex);b=d.events.vars;for(e in b)b.hasOwnProperty(e)&&this.$f.hasOwnProperty(e)&&(this.$f[e].data=b[e]);this.Yg=a.next_uid;this.nd.bb(d.system);b=0;for(h=this.D.length;b<h;b++)if(f=this.D[b],!f.O)for(e=
0,d=f.d.length;e<d;e++){c=f.d[e];if(f.Lb)for(l=c.vg(),a=c.siblings.length=0,g=f.Gb.length;a<g;a++)m=f.Gb[a],f!==m&&c.siblings.push(m.d[l]);c.eg&&c.eg();if(c.aa)for(a=0,g=c.aa.length;a<g;a++)l=c.aa[a],l.eg&&l.eg()}this.ja=!0}};c.prototype.Rn=function(a){var b,h,e,f,c;f=a.type;e=f.qa;var l={uid:a.uid};Ha(a.ba)&&(l.ex=g(a.ba));if(a.Xa&&a.Xa.length)for(l.ivs={},b=0,h=a.Xa.length;b<h;b++)l.ivs[a.type.ak[b].toString()]=a.Xa[b];if(e.ee){e={x:a.x,y:a.y,w:a.width,h:a.height,l:a.n.Z,zi:a.nc()};0!==a.q&&(e.a=
a.q);1!==a.opacity&&(e.o=a.opacity);0.5!==a.Jb&&(e.hX=a.Jb);0.5!==a.Kb&&(e.hY=a.Kb);0!==a.Fb&&(e.bm=a.Fb);a.visible||(e.v=a.visible);a.Wd||(e.ce=a.Wd);-1!==a.Xg&&(e.mts=a.Xg);if(f.R.length)for(e.fx=[],b=0,h=f.R.length;b<h;b++)c=f.R[b],e.fx.push({name:c.name,active:a.Sd[c.index],params:a.La[c.index]});l.w=e}if(a.aa&&a.aa.length)for(l.behs={},b=0,h=a.aa.length;b<h;b++)f=a.aa[b],f.Ua&&(l.behs[f.type.Z.toString()]=f.Ua());a.Ua&&(l.data=a.Ua());return l};c.prototype.Aq=function(a,b){var h,e;h=0;for(e=
a.ak.length;h<e;h++)if(a.ak[h]===b)return h;return-1};c.prototype.vq=function(a,b){var h,e;h=0;for(e=a.aa.length;h<e;h++)if(a.aa[h].type.Z===b)return h;return-1};c.prototype.nk=function(a,b){var h,e,g,f,c,l;l=a.type;g=l.qa;a.uid=b.uid;b.ex?a.ba=b.ex:Ia(a.ba);if(e=b.ivs)for(h in e)e.hasOwnProperty(h)&&(f=this.Aq(l,parseInt(h,10)),0>f||f>=a.Xa.length||(a.Xa[f]=e[h]));if(g.ee){f=b.w;a.n.Z!==f.l&&(e=a.n,a.n=this.ka.Xh(f.l),a.n?(a.n.d.push(a),a.n.hc=!0,ra(e.d,a),e.hc=!0):(a.n=e,this.Qd(a)));a.x=f.x;a.y=
f.y;a.width=f.w;a.height=f.h;a.jf=f.zi;a.q=f.hasOwnProperty("a")?f.a:0;a.opacity=f.hasOwnProperty("o")?f.o:1;a.Jb=f.hasOwnProperty("hX")?f.hX:0.5;a.Kb=f.hasOwnProperty("hY")?f.hY:0.5;a.visible=f.hasOwnProperty("v")?f.v:!0;a.Wd=f.hasOwnProperty("ce")?f.ce:!0;a.Xg=f.hasOwnProperty("mts")?f.mts:-1;a.Fb=f.hasOwnProperty("bm")?f.bm:0;a.jg=Ta(a.Fb);this.H&&Ua(a,a.Fb,this.H);a.W();if(f.hasOwnProperty("fx"))for(e=0,g=f.fx.length;e<g;e++)c=l.Rj(f.fx[e].name),0>c||(a.Sd[c]=f.fx[e].active,a.La[c]=f.fx[e].params);
a.Nd()}if(l=b.behs)for(h in l)l.hasOwnProperty(h)&&(f=this.vq(a,parseInt(h,10)),0>f||a.aa[f].bb(l[h]));b.data&&a.bb(b.data)};eb=function(a){return new c(document.getElementById(a))};fb=function(a,b){return new c({dc:!0,width:a,height:b})};window.cr_createRuntime=eb;window.cr_createDCRuntime=fb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var a=document.createElement("screencanvas")||document.createElement("canvas");document.body.appendChild(a);a=new c(a);window.c2runtime=a;window.addEventListener("orientationchange",
function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a}})();window.cr_getC2Runtime=function(){var c=document.getElementById("c2canvas");return c?c.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_sizeCanvas=function(c,n){if(0!==c&&0!==n){var m=window.cr_getC2Runtime();m&&m.setSize(c,n)}};window.cr_setSuspended=function(c){var n=window.cr_getC2Runtime();n&&n.setSuspended(c)};
(function(){function c(b,g){this.b=b;this.Nh=null;this.scrollX=this.b.Xb/2;this.scrollY=this.b.Wb/2;this.scale=1;this.q=0;this.qg=!0;this.name=g[0];this.width=g[1];this.height=g[2];this.oo=g[3];this.Yn=g[4];this.Z=g[5];var a=g[6],c,e;this.ea=[];this.yg=[];c=0;for(e=a.length;c<e;c++){var f=new gb(this,a[c]);f.un=c;this.ea.push(f)}a=g[7];this.Pe=[];c=0;for(e=a.length;c<e;c++){var f=a[c],h=this.b.D[f[1]];h.yc||(h.yc=f);this.Pe.push(f);-1===this.yg.indexOf(h)&&this.yg.push(h)}this.R=[];this.ma=[];this.La=
[];c=0;for(e=g[8].length;c<e;c++)this.R.push({id:g[8][c][0],name:g[8][c][1],nb:-1,ic:!0,index:c}),this.La.push(g[8][c][2].slice(0));this.Nd();this.le=new la(0,0,1,1);this.Pk=new la(0,0,1,1);this.ke={}}function n(b,g){this.ya=b;this.b=b.b;this.d=[];this.scale=1;this.q=0;this.Fe=!1;this.Md=new la(0,0,0,0);this.io=new ma;this.cc=this.gc=this.fc=this.ec=0;this.hc=!1;this.name=g[0];this.index=g[1];this.Z=g[2];this.visible=g[3];this.Ud=g[4];this.gf=g[5];this.gd=g[6];this.hd=g[7];this.opacity=g[8];this.Kj=
g[9];this.Uc=g[10];this.Fb=g[11];this.Pp=g[12];this.jg="source-over";this.sb=this.xb=0;this.me=!1;var a=g[13],c,e;this.xf=[];c=0;for(e=a.length;c<e;c++){var f=a[c],h=this.b.D[f[1]];h.yc||(h.yc=f);this.xf.push(f);-1===this.ya.yg.indexOf(h)&&this.ya.yg.push(h)}this.R=[];this.ma=[];this.La=[];c=0;for(e=g[14].length;c<e;c++)this.R.push({id:g[14][c][0],name:g[14][c][1],nb:-1,ic:!0,index:c}),this.La.push(g[14][c][2].slice(0));this.Nd();this.le=new la(0,0,1,1);this.Pk=new la(0,0,1,1)}function m(b,g){return b.jf-
g.jf}c.prototype.Xr=function(b){var g=b.type.Z.toString();this.ke.hasOwnProperty(g)||(this.ke[g]=[]);this.ke[g].push(this.b.Rn(b))};c.prototype.Om=function(){var b=this.ea[0];return!b.gf&&1===b.opacity&&!b.Kj&&b.visible};c.prototype.Nd=function(){this.ma.length=0;var b,g,a;b=0;for(g=this.R.length;b<g;b++)a=this.R[b],a.ic&&this.ma.push(a)};c.prototype.Qj=function(b){var g,a,c;g=0;for(a=this.R.length;g<a;g++)if(c=this.R[g],c.name===b)return c;return null};var k=[];c.prototype.dl=function(){this.Yn&&
(this.Nh=this.b.Hj[this.Yn]);this.b.ka=this;this.scrollX=this.b.Xb/2;this.scrollY=this.b.Wb/2;var b,g,a,c,e,f,h;b=0;for(a=this.b.D.length;b<a;b++)if(g=this.b.D[b],!g.O)for(e=g.d,g=0,c=e.length;g<c;g++)if(f=e[g],f.n){var d=f.n.un;d>=this.ea.length&&(d=this.ea.length-1);f.n=this.ea[d];f.n.d.push(f);f.n.hc=!0}k.length=0;this.wp();b=0;for(a=this.ea.length;b<a;b++)f=this.ea[b],f.Cp(),f.Fe=!0,g=f.Qb(0,0,!0),c=f.Qb(0,0,!1),f.Fe=!1,this.b.jd&&(g=g+0.5|0,c=c+0.5|0),f.Sk(g,c,null);e=!1;if(!this.qg){for(h in this.ke)if(this.ke.hasOwnProperty(h)&&
(g=this.b.Zh(parseInt(h,10)))&&!g.O&&this.b.pl(g)){c=this.ke[h];b=0;for(a=c.length;b<a;b++){f=null;if(g.qa.ee&&(f=this.Xh(c[b].w.l),!f))continue;f=this.b.Xd(g.yc,f,!1,0,0,!0);this.b.nk(f,c[b]);e=!0;k.push(f)}c.length=0}b=0;for(a=this.ea.length;b<a;b++)this.ea[b].d.sort(m),this.ea[b].hc=!0}e&&(this.b.qb(),this.b.Nn());for(b=0;b<k.length;b++)if(f=k[b],f.type.Lb)for(a=f.vg(),g=0,c=f.type.Gb.length;g<c;g++)h=f.type.Gb[g],f.type!==h&&(h.d.length>a?f.siblings.push(h.d[a]):h.yc&&(e=this.b.Xd(h.yc,f.n,!0,
f.x,f.y,!0),this.b.qb(),h.Xi(),f.siblings.push(e),k.push(e)));b=0;for(a=this.Pe.length;b<a;b++)this.b.Xd(this.Pe[b],null,!0);this.b.De=null;this.b.qb();if(this.b.ra&&!this.b.wa)for(b=0,a=this.b.D.length;b<a;b++)h=this.b.D[b],!h.O&&h.d.length&&h.Kk&&h.Kk(this.b.ra);b=0;for(a=k.length;b<a;b++)f=k[b],this.b.trigger(Object.getPrototypeOf(f.type.qa).j.cg,f);k.length=0;this.b.trigger(T.prototype.j.mf,null);this.qg=!1};c.prototype.Bp=function(){var b,g,a,c,e;g=b=0;for(a=this.Pe.length;b<a;b++)c=this.Pe[b],
e=this.b.D[c[1]],e.global?this.b.Xd(c,null,!0):(this.Pe[g]=c,g++);this.Pe.length=g};c.prototype.ds=function(){this.b.trigger(T.prototype.j.No,null);this.b.nd.Ob.length=0;var b,g,a,c,e,f;b=0;for(g=this.ea.length;b<g;b++){e=this.ea[b].d;a=0;for(c=e.length;a<c;a++)f=e[a],f.type.global||(this.b.pl(f.type)&&this.Xr(f),this.b.Qd(f));this.b.qb();e.length=0;this.ea[b].hc=!0}b=0;for(g=this.b.D.length;b<g;b++)if(e=this.b.D[b],!(e.global||e.qa.ee||e.qa.cl||e.O)){a=0;for(c=e.d.length;a<c;a++)this.b.Qd(e.d[a]);
this.b.qb()}};c.prototype.Ac=function(b){b.globalAlpha=1;b.globalCompositeOperation="source-over";this.b.lm&&!this.Om()&&b.clearRect(0,0,this.b.width,this.b.height);var g,a,c;g=0;for(a=this.ea.length;g<a;g++)c=this.ea[g],c.visible&&0<c.opacity&&11!==c.Fb&&c.Ac(b)};c.prototype.Rb=function(b){var g=0<this.ma.length||this.b.Yf;if(g){this.b.Nc||(this.b.Nc=b.ud(this.b.width,this.b.height,this.b.Ha));if(this.b.Nc.hg!==this.b.width||this.b.Nc.gg!==this.b.height)b.deleteTexture(this.b.Nc),this.b.Nc=b.ud(this.b.width,
this.b.height,this.b.Ha);b.Jd(this.b.Nc)}this.b.lm&&!this.Om()&&b.clear(0,0,0,0);var a,c;a=0;for(c=this.ea.length;a<c;a++)this.ea[a].visible&&0<this.ea[a].opacity&&this.ea[a].Rb(b);g&&(1>=this.ma.length?(1===this.ma.length?(g=this.ma[0].index,b.md(this.ma[0].nb),b.Rf(null,1/this.b.width,1/this.b.height,0,0,1,1,this.scale,this.La[g]),b.Gi(this.ma[0].nb)&&(this.b.ja=!0)):b.md(0),b.Jd(null),b.$e(1),b.sc(this.b.Nc),b.Un(),b.ld(),b.od(),g=this.b.width/2,a=this.b.height/2,b.Ji(-g,a,g,a,g,-a,-g,-a),b.sc(null)):
this.Qk(b,null,null,null))};c.prototype.tg=function(){return 0<this.ma.length||this.b.Yf?this.b.Nc:null};c.prototype.Lm=function(){var b=this.ea[0].zb(),g,a,c;g=1;for(a=this.ea.length;g<a;g++)c=this.ea[g],(0!==c.gd||0!==c.hd)&&c.zb()<b&&(b=c.zb());return b};c.prototype.Sn=function(b){if(!this.oo){var g=this.b.width*(1/this.Lm())/2;b>this.width-g&&(b=this.width-g);b<g&&(b=g)}this.scrollX!==b&&(this.scrollX=b,this.b.ja=!0)};c.prototype.Tn=function(b){if(!this.oo){var g=this.b.height*(1/this.Lm())/2;
b>this.height-g&&(b=this.height-g);b<g&&(b=g)}this.scrollY!==b&&(this.scrollY=b,this.b.ja=!0)};c.prototype.wp=function(){this.Sn(this.scrollX);this.Tn(this.scrollY)};c.prototype.Qk=function(b,g,a,c){var e=a?a.ma:g?g.ma:this.ma,f=a?a.n.zb():g?g.zb():1,h=this.b.Mj,d,p,m,k,s=0,q=1,t,n=this.b.width,y=this.b.height,C=n/2,pa=y/2,I=g?g.le:this.le,z=g?g.Pk:this.Pk,r=0,x=0,u=0,K=0,N=n,da=n,G=y,D=y,Q=m=0,ia=a?a.n.tb():0;if(a){d=0;for(p=e.length;d<p;d++)m+=b.Dq(e[d].nb),Q+=b.Eq(e[d].nb);k=a.$;r=g.la(k.left,
k.top,!0);u=g.la(k.left,k.top,!1);N=g.la(k.right,k.bottom,!0);G=g.la(k.right,k.bottom,!1);0!==ia&&(d=g.la(k.right,k.top,!0),p=g.la(k.right,k.top,!1),x=g.la(k.left,k.bottom,!0),K=g.la(k.left,k.bottom,!1),k=Math.min(r,N,d,x),N=Math.max(r,N,d,x),r=k,k=Math.min(u,G,p,K),G=Math.max(u,G,p,K),u=k);r-=m;u-=Q;N+=m;G+=Q;z.left=r/n;z.top=1-u/y;z.right=N/n;z.bottom=1-G/y;x=r=Math.floor(r);K=u=Math.floor(u);da=N=Math.ceil(N);D=G=Math.ceil(G);x-=m;K-=Q;da+=m;D+=Q;0>r&&(r=0);0>u&&(u=0);N>n&&(N=n);G>y&&(G=y);0>x&&
(x=0);0>K&&(K=0);da>n&&(da=n);D>y&&(D=y);I.left=r/n;I.top=1-u/y;I.right=N/n;I.bottom=1-G/y}else I.left=z.left=0,I.top=z.top=0,I.right=z.right=1,I.bottom=z.bottom=1;Q=a&&((a.q||ia)&&b.eh(e[0].nb)||0!==m||0!==Q||1!==a.opacity||a.type.qa.qn)||g&&!a&&1!==g.opacity;b.Un();if(Q){h[s]||(h[s]=b.ud(n,y,this.b.Ha));if(h[s].hg!==n||h[s].gg!==y)b.deleteTexture(h[s]),h[s]=b.ud(n,y,this.b.Ha);b.md(0);b.Jd(h[s]);t=D-K;b.clearRect(x,y-K-t,da-x,t);a?a.Rb(b):(b.sc(this.b.rc),b.$e(g.opacity),b.ld(),b.translate(-C,-pa),
b.od(),b.kd(r,G,N,G,N,u,r,u,I));z.left=z.top=0;z.right=z.bottom=1;a&&(k=I.top,I.top=I.bottom,I.bottom=k);s=1;q=0}b.$e(1);m=e.length-1;var ia=b.Lk(e[m].nb),O=0;d=0;for(p=e.length;d<p;d++){h[s]||(h[s]=b.ud(n,y,this.b.Ha));if(h[s].hg!==n||h[s].gg!==y)b.deleteTexture(h[s]),h[s]=b.ud(n,y,this.b.Ha);b.md(e[d].nb);O=e[d].index;b.Gi(e[d].nb)&&(this.b.ja=!0);0!=d||Q?(b.Rf(c,1/n,1/y,z.left,z.top,z.right,z.bottom,f,a?a.La[O]:g?g.La[O]:this.La[O]),d!==m||ia?(b.Jd(h[s]),t=D-K,k=y-K-t,b.clearRect(x,k,da-x,t)):
(a?b.ne(a.xb,a.sb):g&&b.ne(g.xb,g.sb),b.Jd(c)),b.sc(h[q]),b.ld(),b.translate(-C,-pa),b.od(),b.kd(r,G,N,G,N,u,r,u,I),d!==m||ia||b.sc(null)):(b.Jd(h[s]),t=D-K,k=y-K-t,b.clearRect(x,k,da-x,t),a?(b.Rf(c,1/a.width,1/a.height,z.left,z.top,z.right,z.bottom,f,a.La[O]),a.Rb(b)):(b.Rf(c,1/n,1/y,0,0,1,1,f,g?g.La[O]:this.La[O]),b.sc(g?this.b.rc:this.b.Nc),b.ld(),b.translate(-C,-pa),b.od(),b.kd(r,G,N,G,N,u,r,u,I)),z.left=z.top=0,z.right=z.bottom=1,a&&!ia&&(k=G,G=u,u=k));s=0===s?1:0;q=0===s?1:0}ia&&(b.md(0),a?
b.ne(a.xb,a.sb):g&&b.ne(g.xb,g.sb),b.Jd(c),b.sc(h[q]),b.ld(),b.translate(-C,-pa),b.od(),a&&1===e.length&&!Q?b.kd(r,u,N,u,N,G,r,G,I):b.kd(r,G,N,G,N,u,r,u,I),b.sc(null))};c.prototype.Xh=function(b){var g,a;g=0;for(a=this.ea.length;g<a;g++)if(this.ea[g].Z===b)return this.ea[g];return null};c.prototype.Ua=function(){var b,g,a,c={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.q,w:this.width,h:this.height,fv:this.qg,persist:this.ke,fx:[],layers:{}};b=0;for(g=this.R.length;b<g;b++)a=this.R[b],c.fx.push({name:a.name,
active:a.ic,params:this.La[a.index]});b=0;for(g=this.ea.length;b<g;b++)a=this.ea[b],c.layers[a.Z.toString()]=a.Ua();return c};c.prototype.bb=function(b){var g,a,c,e;this.scrollX=b.sx;this.scrollY=b.sy;this.scale=b.s;this.q=b.a;this.width=b.w;this.height=b.h;this.ke=b.persist;"undefined"!==typeof b.fv&&(this.qg=b.fv);var f=b.fx;g=0;for(a=f.length;g<a;g++)if(c=this.Qj(f[g].name))c.ic=f[g].active,this.La[c.index]=f[g].params;this.Nd();g=b.layers;for(e in g)g.hasOwnProperty(e)&&(b=this.Xh(parseInt(e,
10)))&&b.bb(g[e])};ab=c;n.prototype.Nd=function(){this.ma.length=0;var b,g,a;b=0;for(g=this.R.length;b<g;b++)a=this.R[b],a.ic&&this.ma.push(a)};n.prototype.Qj=function(b){var g,a,c;g=0;for(a=this.R.length;g<a;g++)if(c=this.R[g],c.name===b)return c;return null};n.prototype.Cp=function(){var b,c,a,l,e,f;c=b=0;for(a=this.xf.length;b<a;b++){l=this.xf[b];e=this.b.D[l[1]];f=this.b.pl(e);e=!0;if(!f||this.ya.qg)l=this.b.Xd(l,this,!0),k.push(l),l.type.global&&(e=!1);e&&(this.xf[c]=this.xf[b],c++)}this.xf.length=
c;this.b.qb();!this.b.F&&this.R.length&&(this.Fb=this.Pp);this.jg=Ta(this.Fb);this.b.H&&Ua(this,this.Fb,this.b.H)};n.prototype.ls=function(){if(this.hc){var b,c;b=0;for(c=this.d.length;b<c;b++)this.d[b].jf=b;this.hc=!1}};n.prototype.zb=function(){return this.Bq()*this.b.Dh};n.prototype.Bq=function(){return(this.scale*this.ya.scale-1)*this.Uc+1};n.prototype.tb=function(){return this.Fe?0:ua(this.ya.q+this.q)};n.prototype.Ac=function(b){this.me=this.Kj||1!==this.opacity||0!==this.Fb;var c=this.b.canvas,
a=b;b.globalAlpha=1;b.globalCompositeOperation="source-over";this.me&&(this.b.oi||(this.b.oi=document.createElement("canvas"),c=this.b.oi,c.width=this.b.width,c.height=this.b.height,this.b.hn=c.getContext("2d")),c=this.b.oi,a=this.b.hn,c.width!==this.b.width&&(c.width=this.b.width),c.height!==this.b.height&&(c.height=this.b.height),this.gf&&a.clearRect(0,0,this.b.width,this.b.height));this.gf||(a.fillStyle="rgb("+this.Ud[0]+","+this.Ud[1]+","+this.Ud[2]+")",a.fillRect(0,0,this.b.width,this.b.height));
a.save();this.Fe=!0;var l=this.Qb(0,0,!0),e=this.Qb(0,0,!1);this.Fe=!1;this.b.jd&&(l=l+0.5|0,e=e+0.5|0);this.Sk(l,e,a);var f=this.zb();a.scale(f,f);a.translate(-l,-e);for(var h,l=0,e=this.d.length;l<e;l++)f=this.d[l],f.visible&&0!==f.width&&0!==f.height&&(f.ac(),h=f.$,h.right<this.ec||h.bottom<this.gc||h.left>this.fc||h.top>this.cc||(a.globalCompositeOperation=f.jg,f.Ac(a)));a.restore();this.me&&(b.globalCompositeOperation=this.jg,b.globalAlpha=this.opacity,b.drawImage(c,0,0))};n.prototype.Sk=function(b,
c,a){var l=this.zb();this.ec=b;this.gc=c;this.fc=b+this.b.width*(1/l);this.cc=c+this.b.height*(1/l);b=this.tb();0!==b&&(a&&(a.translate(this.b.width/2,this.b.height/2),a.rotate(-b),a.translate(this.b.width/-2,this.b.height/-2)),this.Md.set(this.ec,this.gc,this.fc,this.cc),this.Md.offset((this.ec+this.fc)/-2,(this.gc+this.cc)/-2),this.io.Xn(this.Md,b),this.io.gm(this.Md),this.Md.offset((this.ec+this.fc)/2,(this.gc+this.cc)/2),this.ec=this.Md.left,this.gc=this.Md.top,this.fc=this.Md.right,this.cc=this.Md.bottom)};
n.prototype.Rb=function(b){var c=this.b.width,a=this.b.height,l=0,e=0;if(this.me=this.Kj||1!==this.opacity||0<this.ma.length||0!==this.Fb){this.b.rc||(this.b.rc=b.ud(this.b.width,this.b.height,this.b.Ha));if(this.b.rc.hg!==this.b.width||this.b.rc.gg!==this.b.height)b.deleteTexture(this.b.rc),this.b.rc=b.ud(this.b.width,this.b.height,this.b.Ha);b.Jd(this.b.rc);this.gf&&b.clear(0,0,0,0)}this.gf||b.clear(this.Ud[0]/255,this.Ud[1]/255,this.Ud[2]/255,1);this.Fe=!0;var e=this.Qb(0,0,!0),f=this.Qb(0,0,!1);
this.Fe=!1;this.b.jd&&(e=e+0.5|0,f=f+0.5|0);this.Sk(e,f,null);f=this.zb();b.ld();b.scale(f,f);b.Tk(-this.tb());b.translate((this.ec+this.fc)/-2,(this.gc+this.cc)/-2);b.od();var h,d,p;h=0;for(d=this.d.length;h<d;h++)if(p=this.d[h],p.visible&&0!==p.width&&0!==p.height&&(p.ac(),l=p.$,!(l.right<this.ec||l.bottom<this.gc||l.left>this.fc||l.top>this.cc)))if(p.ro)if(l=p.ma[0].nb,e=p.ma[0].index,1!==p.ma.length||b.Lk(l)||b.Jr(l)||(p.q||p.n.tb())&&b.eh(l)||1!==p.opacity||p.type.qa.qn)this.ya.Qk(b,this,p,this.me?
this.b.rc:this.ya.tg()),b.ld(),b.scale(f,f),b.Tk(-this.tb()),b.translate((this.ec+this.fc)/-2,(this.gc+this.cc)/-2),b.od();else{b.md(l);b.ne(p.xb,p.sb);b.Gi(l)&&(this.b.ja=!0);var m=0,k=0,s=0,q=0;b.eh(l)&&(l=p.$,m=this.la(l.left,l.top,!0),k=this.la(l.left,l.top,!1),s=this.la(l.right,l.bottom,!0),l=this.la(l.right,l.bottom,!1),m/=c,k=1-k/a,s/=c,q=1-l/a);b.Rf(this.me?this.b.rc:this.ya.tg(),1/p.width,1/p.height,m,k,s,q,this.zb(),p.La[e]);p.Rb(b)}else b.md(0),b.ne(p.xb,p.sb),p.Rb(b);this.me&&(l=this.ma.length?
this.ma[0].nb:0,e=this.ma.length?this.ma[0].index:0,0===this.ma.length||1===this.ma.length&&!b.Lk(l)&&1===this.opacity?(1===this.ma.length?(b.md(l),b.Rf(this.ya.tg(),1/this.b.width,1/this.b.height,0,0,1,1,this.zb(),this.La[e]),b.Gi(l)&&(this.b.ja=!0)):b.md(0),b.Jd(this.ya.tg()),b.$e(this.opacity),b.sc(this.b.rc),b.ne(this.xb,this.sb),b.ld(),b.od(),c=this.b.width/2,a=this.b.height/2,b.Ji(-c,a,c,a,c,-a,-c,-a),b.sc(null)):this.ya.Qk(b,this,null,this.ya.tg()))};n.prototype.Qb=function(b,c,a){var l=this.b.devicePixelRatio;
this.b.Bg&&0<this.b.lc&&(b*=l,c*=l);var l=this.b.Xb/2,e=this.b.Wb/2,l=(this.ya.scrollX-l)*this.gd+l,e=(this.ya.scrollY-e)*this.hd+e,f=1/this.zb(),l=l-this.b.width*f/2,e=e-this.b.height*f/2,l=l+b*f,e=e+c*f;c=this.tb();0!==c&&(l-=this.ya.scrollX,e-=this.ya.scrollY,b=Math.cos(c),c=Math.sin(c),f=l*b-e*c,e=e*b+l*c,l=f+this.ya.scrollX,e+=this.ya.scrollY);return a?l:e};n.prototype.la=function(b,c,a){var l=this.tb();if(0!==l){b-=this.ya.scrollX;c-=this.ya.scrollY;var e=Math.cos(-l),l=Math.sin(-l),f=b*e-c*
l;c=c*e+b*l;b=f+this.ya.scrollX;c+=this.ya.scrollY}e=this.b.Xb/2;l=this.b.Wb/2;e=(this.ya.scrollX-e)*this.gd+e;l=(this.ya.scrollY-l)*this.hd+l;f=1/this.zb();e-=this.b.width*f/2;l-=this.b.height*f/2;e=(b-e)/f;l=(c-l)/f;b=this.b.devicePixelRatio;this.b.Bg&&0<this.b.lc&&(e/=b,l/=b);return a?e:l};n.prototype.Ua=function(){var b,c,a,l={s:this.scale,a:this.q,vl:this.ec,vt:this.gc,vr:this.fc,vb:this.cc,v:this.visible,bc:this.Ud,t:this.gf,px:this.gd,py:this.hd,o:this.opacity,zr:this.Uc,fx:[],instances:[]};
b=0;for(c=this.R.length;b<c;b++)a=this.R[b],l.fx.push({name:a.name,active:a.ic,params:this.La[a.index]});return l};n.prototype.bb=function(b){var c,a;this.scale=b.s;this.q=b.a;this.ec=b.vl;this.gc=b.vt;this.fc=b.vr;this.cc=b.vb;this.visible=b.v;this.Ud=b.bc;this.gf=b.t;this.gd=b.px;this.hd=b.py;this.opacity=b.o;this.Uc=b.zr;var l=b.fx;b=0;for(c=l.length;b<c;b++)if(a=this.Qj(l[b].name))a.ic=l[b].active,this.La[a.index]=l[b].params;this.Nd();this.d.sort(m);this.hc=!0};gb=n})();
(function(){function c(a,d){var b,h=a.length;switch(h){case 0:return!0;case 1:return a[0]===d[0];case 2:return a[0]===d[0]&&a[1]===d[1];default:for(b=0;b<h;b++)if(a[b]!==d[b])return!1;return!0}}function n(a,d){return a.index-d.index}function m(a){var d,b,h,e;2===a.length?a[0].index>a[1].index&&(d=a[0],a[0]=a[1],a[1]=d):2<a.length&&a.sort(n);a.length>=L.length&&(L.length=a.length+1);L[a.length]||(L[a.length]=[]);e=L[a.length];d=0;for(b=e.length;d<b;d++)if(h=e[d],c(a,h))return h;e.push(a);return a}
function k(a,d){this.b=a;this.ko={};this.Bm={};this.Wj=!1;this.Rm=new La;this.name=d[0];var b=d[1];this.$d=[];var h,e;h=0;for(e=b.length;h<e;h++)this.Tm(b[h],null,this.$d)}function b(a){this.type=a;this.d=[];this.na=[];this.ta=!0}function g(a,d,b){this.sheet=a;this.parent=d;this.b=a.b;this.za=[];this.oe=[];this.Pm=this.Ui=this.ml=this.di=this.group=this.ao=!1;this.Ga=[];this.tc=[];this.Ic=[];b[1]?(this.wf=b[1][1].toLowerCase(),this.group=!0,this.di=!!b[1][0],this.b.Td.push(this),this.b.xe[this.wf.toLowerCase()]=
this.di):(this.wf="",this.di=this.group=!1);this.Fc=b[2];this.Z=b[4];this.group||(this.b.fm[this.Z.toString()]=this);var h=b[5];a=0;for(d=h.length;a<d;a++){var e=new hb(this,h[a]);e.index=a;this.Ga.push(e);this.Zl(e.type)}h=b[6];a=0;for(d=h.length;a<d;a++)e=new ib(this,h[a]),e.index=a,this.tc.push(e);if(8===b.length)for(b=b[7],a=0,d=b.length;a<d;a++)this.sheet.Tm(b[a],this,this.Ic);this.gi=!1;this.Ga.length&&(this.gi=null==this.Ga[0].type&&this.Ga[0].Ra==T.prototype.j.Bl)}function a(a,d){var b,h,
e;if(a&&(-1===d.indexOf(a)&&d.push(a),a.Lb))for(b=0,h=a.Gb.length;b<h;b++)e=a.Gb[b],a!==e&&-1===d.indexOf(e)&&d.push(e)}function l(a,d){this.jc=a;this.sheet=a.sheet;this.b=a.b;this.I=[];this.S=[];this.ba={};this.index=-1;this.Ra=d[1];this.trigger=0<d[3];this.Am=2===d[3];this.Dd=d[4];this.yf=d[5];this.jr=d[6];this.Z=d[7];this.b.rf[this.Z.toString()]=this;-1===d[0]?(this.type=null,this.Ta=this.Vk,this.Ae=null,this.gb=-1):(this.type=this.b.D[d[0]],this.Ta=this.jr?this.Vr:this.Uk,d[2]?(this.Ae=this.type.Wh(d[2]),
this.gb=this.type.Oj(d[2])):(this.Ae=null,this.gb=-1),this.jc.parent&&this.jc.parent.Oi());this.Am&&(this.Ta=this.Wr);if(10===d.length){var b,h,e=d[9];b=0;for(h=e.length;b<h;b++){var c=new lb(this,e[b]);this.I.push(c)}this.S.length=e.length}}function e(a,d){this.jc=a;this.sheet=a.sheet;this.b=a.b;this.I=[];this.S=[];this.ba={};this.index=-1;this.Ra=d[1];-1===d[0]?(this.type=null,this.Ta=this.Vk,this.Ae=null,this.gb=-1):(this.type=this.b.D[d[0]],this.Ta=this.Uk,d[2]?(this.Ae=this.type.Wh(d[2]),this.gb=
this.type.Oj(d[2])):(this.Ae=null,this.gb=-1));this.Z=d[3];this.b.pf[this.Z.toString()]=this;if(6===d.length){var b,h,e=d[5];b=0;for(h=e.length;b<h;b++){var c=new lb(this,e[b]);this.I.push(c)}this.S.length=e.length}}function f(a,d){this.L=a;this.jc=a.jc;this.sheet=a.sheet;this.b=a.b;this.type=d[0];this.$c=null;this.mm=this.pe=0;this.ya=null;this.key=0;this.object=null;this.index=0;this.$i=this.Vf=this.Cm=this.He=this.sh=null;var b,h,e;switch(d[0]){case 0:case 7:this.$c=new mb(this,d[1]);this.pe=0;
this.get=this.Kq;break;case 1:this.$c=new mb(this,d[1]);this.pe=0;this.get=this.Lq;break;case 5:this.$c=new mb(this,d[1]);this.pe=0;this.get=this.Pq;break;case 3:case 8:this.mm=d[1];this.get=this.Iq;break;case 6:this.ya=this.b.lk[d[1]];this.get=this.Qq;break;case 9:this.key=d[1];this.get=this.Oq;break;case 4:this.object=this.b.D[d[1]];this.get=this.Rq;this.jc.Zl(this.object);this.L instanceof ib?this.jc.Oi():this.jc.parent&&this.jc.parent.Oi();break;case 10:this.index=d[1];this.get=a.type.O?this.Mq:
this.Nq;break;case 11:this.sh=d[1];this.He=null;this.get=this.Jq;break;case 2:case 12:this.Cm=d[1];this.get=this.Hq;break;case 13:for(this.get=this.Sq,this.Vf=[],this.$i=[],b=1,h=d.length;b<h;b++)e=new lb(this.L,d[b]),this.Vf.push(e),this.$i.push(0)}}function h(a,d,b){this.sheet=a;this.parent=d;this.b=a.b;this.za=[];this.name=b[1];this.uh=b[2];this.$j=b[3];this.Eg=!!b[4];this.fi=!!b[5];this.Z=b[6];this.b.$f[this.Z.toString()]=this;this.data=this.$j;this.parent?(this.Ve=this.Eg||this.fi?-1:this.b.cs++,
this.b.tp.push(this)):(this.Ve=-1,this.b.sp.push(this))}function d(a,d,b){this.sheet=a;this.parent=d;this.b=a.b;this.za=[];this.xg=null;this.Wq=b[1]}function p(){this.bo=[];this.reset(null)}var L=[];k.prototype.toString=A("name");k.prototype.Tm=function(a,d,b){switch(a[0]){case 0:a=new nb(this,d,a);if(a.Fc)for(b.push(a),b=0,d=a.Ga.length;b<d;b++)a.Ga[b].trigger&&this.Um(a,b);else a.Zm()?this.Um(a,0):b.push(a);break;case 1:a=new db(this,d,a);b.push(a);break;case 2:a=new ob(this,d,a),b.push(a)}};k.prototype.Oa=
function(){var a,d;a=0;for(d=this.$d.length;a<d;a++)this.$d[a].Oa(a<d-1&&this.$d[a+1].gi)};k.prototype.Ta=function(a){this.b.Lt||(this.Wj=!0,a||(this.b.ek=!0));var d,b;d=0;for(b=this.$d.length;d<b;d++){var h=this.$d[d];h.Ta();this.b.vj(h.za);this.b.Zc.zg()&&!this.b.kc.length||this.b.qb()}a||(this.b.ek=!1)};k.prototype.Um=function(a,d){a.Fc||this.b.Wi.push(a);var b,h,e=a.Ga[d],c;c=e.type?e.type.name:"system";var f=(b=e.Am)?this.Bm:this.ko;f[c]||(f[c]=[]);c=f[c];f=e.Ra;if(b){if(e.I.length&&(e=e.I[0],
1===e.type&&2===e.$c.type)){e=e.$c.value.toLowerCase();b=0;for(h=c.length;b<h;b++)if(c[b].method==f){b=c[b].Ph;b[e]?b[e].push([a,d]):b[e]=[[a,d]];return}b={};b[e]=[[a,d]];c.push({method:f,Ph:b})}}else{b=0;for(h=c.length;b<h;b++)if(c[b].method==f){c[b].Ph.push([a,d]);return}c.push({method:f,Ph:[[a,d]]})}};bb=k;b.prototype.Vj=function(){return this.ta?this.type.d.length:this.d.length};b.prototype.bd=function(){return this.ta?this.type.d:this.d};b.prototype.dh=function(a){a&&(a.b.ub().Hb.Fc?(this.ta&&
(this.d.length=0,qa(this.na,a.type.d),this.ta=!1),a=this.na.indexOf(a),-1!==a&&(this.d.push(this.na[a]),this.na.splice(a,1))):(this.ta=!1,this.d.length=1,this.d[0]=a))};$a=b;g.prototype.Oa=function(a){var d,b=this.parent;if(this.group)for(this.Ui=!0;b;){if(!b.group){this.Ui=!1;break}b=b.parent}this.ml=!this.Zm()&&(!this.parent||this.parent.group&&this.parent.Ui);this.Pm=!!a;this.oe=this.za.slice(0);for(b=this.parent;b;){a=0;for(d=b.za.length;a<d;a++)this.rp(b.za[a]);b=b.parent}this.za=m(this.za);
this.oe=m(this.oe);a=0;for(d=this.Ga.length;a<d;a++)this.Ga[a].Oa();a=0;for(d=this.tc.length;a<d;a++)this.tc[a].Oa();a=0;for(d=this.Ic.length;a<d;a++)this.Ic[a].Oa(a<d-1&&this.Ic[a+1].gi)};g.prototype.Zl=function(d){a(d,this.za)};g.prototype.rp=function(d){a(d,this.oe)};g.prototype.Oi=function(){this.ao=!0;this.parent&&this.parent.Oi()};g.prototype.Zm=function(){return this.Ga.length?this.Ga[0].trigger:!1};g.prototype.Ta=function(){var a,d=!1,b,h=this.b.ub();h.Hb=this;this.gi||(h.Fj=!1);if(this.Fc){0===
this.Ga.length&&(d=!0);h.Va=0;for(a=this.Ga.length;h.Va<a;h.Va++)this.Ga[h.Va].trigger||(b=this.Ga[h.Va].Ta())&&(d=!0);(h.Ff=d)&&this.Li()}else{h.Va=0;for(a=this.Ga.length;h.Va<a;h.Va++)if(b=this.Ga[h.Va].Ta(),!b){h.Ff=!1;!this.ml||this.b.Zc.zg()&&!this.b.kc.length||this.b.qb();return}h.Ff=!0;this.Li()}this.Rp(h)};g.prototype.Rp=function(a){a.Ff&&this.Pm&&(a.Fj=!0);!this.ml||this.b.Zc.zg()&&!this.b.kc.length||this.b.qb()};g.prototype.Tr=function(a){this.b.ub().Hb=this;this.Ga[a].Ta()&&this.Li()};
g.prototype.Li=function(){var a=this.b.ub(),d;a.Eb=0;for(d=this.tc.length;a.Eb<d;a.Eb++)if(this.tc[a.Eb].Ta())return;this.Qn()};g.prototype.Qr=function(){var a=this.b.ub(),d;for(d=this.tc.length;a.Eb<d;a.Eb++)if(this.tc[a.Eb].Ta())return;this.Qn()};g.prototype.Qn=function(){if(this.Ic.length){var a,d,b,h,e=this.Ic.length-1;this.b.Ii(this);if(this.ao)for(a=0,d=this.Ic.length;a<d;a++)b=this.Ic[a],(h=!this.Ui||!this.group&&a<e)&&this.b.Hi(b.za),b.Ta(),h?this.b.Ze(b.za):this.b.vj(b.za);else for(a=0,d=
this.Ic.length;a<d;a++)this.Ic[a].Ta();this.b.Di()}};g.prototype.Ur=function(){var a=this.b.ub();a.Hb=this;var d=!1,b;a.Va=0;for(b=this.Ga.length;a.Va<b;a.Va++)if(this.Ga[a.Va].Ta())d=!0;else if(!this.Fc)return!1;return this.Fc?d:!0};g.prototype.Rr=function(){this.b.Ie++;var a=this.b.ub().Va,d=this.b.Ii(this);if(!this.Fc)for(d.Va=a+1,a=this.Ga.length;d.Va<a;d.Va++)if(!this.Ga[d.Va].Ta()){this.b.Di();return}this.Li();this.b.Di()};g.prototype.dr=function(a){var d=a.index;if(0===d)return!0;for(--d;0<=
d;--d)if(this.Ga[d].type===a.type)return!1;return!0};nb=g;l.prototype.Oa=function(){var a,d;a=0;for(d=this.I.length;a<d;a++)this.I[a].Oa()};l.prototype.Wr=E(!0);l.prototype.Vk=function(){var a,d;a=0;for(d=this.I.length;a<d;a++)this.S[a]=this.I[a].get();return Fa(this.Ra.apply(this.b.nd,this.S),this.yf)};l.prototype.Vr=function(){var a,d;a=0;for(d=this.I.length;a<d;a++)this.S[a]=this.I[a].get(a);a=this.Ra.apply(this.Ae?this.Ae:this.type,this.S);this.type.fg();return a};l.prototype.Uk=function(){var a,
d,b,h,e,c,f,g=this.type.pa(),l=this.jc.Fc&&!this.trigger,p=0,m=this.type.Lb;if(g.ta){g.d.length=0;a=g.na.length=0;for(b=this.type.d.length;a<b;a++){c=this.type.d[a];d=0;for(h=this.I.length;d<h;d++)this.S[d]=this.I[d].get(a);-1<this.gb?(this.type.O&&(p=c.type.uf[this.type.ad]),d=this.Ra.apply(c.aa[this.gb+p],this.S)):d=this.Ra.apply(c,this.S);(e=Fa(d,this.yf))?g.d.push(c):l&&g.na.push(c)}this.type.finish&&this.type.finish(!0);g.ta=!1;this.type.fg();return g.Vj()}var k=0,s=(e=l&&!this.jc.dr(this))?
g.na:g.d,n=!1;a=0;for(b=s.length;a<b;a++){c=s[a];d=0;for(h=this.I.length;d<h;d++)this.S[d]=this.I[d].get(a);-1<this.gb?(this.type.O&&(p=c.type.uf[this.type.ad]),d=this.Ra.apply(c.aa[this.gb+p],this.S)):d=this.Ra.apply(c,this.S);if(Fa(d,this.yf))if(n=!0,e){if(g.d.push(c),m)for(d=0,h=c.siblings.length;d<h;d++)f=c.siblings[d],f.type.pa().d.push(f)}else{s[k]=c;if(m)for(d=0,h=c.siblings.length;d<h;d++)f=c.siblings[d],f.type.pa().d[k]=f;k++}else if(e){s[k]=c;if(m)for(d=0,h=c.siblings.length;d<h;d++)f=c.siblings[d],
f.type.pa().na[k]=f;k++}else if(l&&(g.na.push(c),m))for(d=0,h=c.siblings.length;d<h;d++)f=c.siblings[d],f.type.pa().na.push(f)}s.length=k;if(m)for(a=0,b=this.type.Gb.length;a<b;a++)c=this.type.Gb[a].pa(),e?c.na.length=k:c.d.length=k;p=n;if(e&&!n)for(a=0,b=g.d.length;a<b;a++){c=g.d[a];d=0;for(h=this.I.length;d<h;d++)this.S[d]=this.I[d].get(a);d=-1<this.gb?this.Ra.apply(c.aa[this.gb],this.S):this.Ra.apply(c,this.S);if(Fa(d,this.yf)){n=!0;break}}this.type.finish&&this.type.finish(p||l);return l?n:g.Vj()};
hb=l;e.prototype.Oa=function(){var a,d;a=0;for(d=this.I.length;a<d;a++)this.I[a].Oa()};e.prototype.Vk=function(){var a,d;a=0;for(d=this.I.length;a<d;a++)this.S[a]=this.I[a].get();return this.Ra.apply(this.b.nd,this.S)};e.prototype.Uk=function(){var a=this.type.pa().bd(),d,b,h,e,c;d=0;for(h=a.length;d<h;d++){c=a[d];b=0;for(e=this.I.length;b<e;b++)this.S[b]=this.I[b].get(d);-1<this.gb?(b=0,this.type.O&&(b=c.type.uf[this.type.ad]),this.Ra.apply(c.aa[this.gb+b],this.S)):this.Ra.apply(c,this.S)}return!1};
ib=e;var B=[],s=-1;f.prototype.Oa=function(){var a,d;if(11===this.type)this.He=this.b.Jm(this.sh,this.jc.parent);else if(13===this.type)for(a=0,d=this.Vf.length;a<d;a++)this.Vf[a].Oa();this.$c&&this.$c.Oa()};f.prototype.Za=function(){s++;B.length===s&&B.push(new pb);return B[s]};f.prototype.Sa=function(){s--};f.prototype.Kq=function(a){this.pe=a||0;a=this.Za();this.$c.get(a);this.Sa();return a.data};f.prototype.Lq=function(a){this.pe=a||0;a=this.Za();this.$c.get(a);this.Sa();return J(a.data)?a.data:
""};f.prototype.Rq=A("object");f.prototype.Iq=A("mm");f.prototype.Pq=function(a){this.pe=a||0;a=this.Za();this.$c.get(a);this.Sa();return a.ab()?this.b.sg(a.data):this.b.Sj(a.data)};f.prototype.Qq=A("ya");f.prototype.Oq=A("key");f.prototype.Nq=A("index");f.prototype.Mq=function(a){var d=this.L.type,b=null,b=d.pa(),h=b.bd(),b=h.length?h[a%h.length].type:b.na[a%b.na.length].type;return this.index+b.Rh[d.ad]};f.prototype.Jq=A("He");f.prototype.Hq=A("Cm");f.prototype.Sq=function(){var a,d;a=0;for(d=this.Vf.length;a<
d;a++)this.$i[a]=this.Vf[a].get();return this.$i};lb=f;h.prototype.Oa=function(){this.za=m(this.za)};h.prototype.Kd=function(a){var d=this.b.Im();this.parent&&!this.Eg&&d?(this.Ve>=d.length&&(d.length=this.Ve+1),d[this.Ve]=a):this.data=a};h.prototype.Le=function(){var a=this.b.Im();return!this.parent||this.Eg||!a||this.fi?this.data:this.Ve>=a.length||"undefined"===typeof a[this.Ve]?this.$j:a[this.Ve]};h.prototype.Ta=function(){!this.parent||this.Eg||this.fi||this.Kd(this.$j)};db=h;d.prototype.toString=
function(){return"include:"+this.xg.toString()};d.prototype.Oa=function(){this.xg=this.b.Hj[this.Wq];this.sheet.Rm.add(this);this.za=m(this.za)};d.prototype.Ta=function(){this.parent&&this.b.gh(this.b.D);this.xg.Wj||this.xg.Ta(!0);this.parent&&this.b.Ze(this.b.D)};d.prototype.$q=function(){for(var a=this.parent;a;){if(a.group&&!this.b.xe[a.wf.toLowerCase()])return!1;a=a.parent}return!0};ob=d;p.prototype.reset=function(a){this.Hb=a;this.Eb=this.Va=0;this.bo.length=0;this.Fj=this.Ff=!1};cb=p})();
(function(){function c(c,k){this.L=c;this.b=c.b;this.type=k[0];this.get=[this.bq,this.Yp,this.kq,this.nq,this.Sp,this.lq,this.gq,this.Vp,this.fq,this.jq,this.Tp,this.iq,this.Wp,this.hq,this.cq,this.dq,this.Zp,this.$p,this.Up,this.mq,this.ym,this.aq,this.ym,this.Xp][this.type];var b=null;this.Vb=this.I=this.S=this.Ra=this.Ti=this.eb=this.first=this.value=null;this.gb=-1;this.zd=null;this.sl=-1;this.He=this.sh=null;this.ih=!1;switch(this.type){case 0:case 1:case 2:this.value=k[1];break;case 3:this.first=
new mb(c,k[1]);break;case 18:this.first=new mb(c,k[1]);this.eb=new mb(c,k[2]);this.Ti=new mb(c,k[3]);break;case 19:this.Ra=k[1];this.S=[];this.I=[];3===k.length?(b=k[2],this.S.length=b.length+1):this.S.length=1;break;case 20:this.Vb=this.b.D[k[1]];this.gb=-1;this.Ra=k[2];this.ih=k[3];this.zd=k[4]?new mb(c,k[4]):null;this.S=[];this.I=[];6===k.length?(b=k[5],this.S.length=b.length+1):this.S.length=1;break;case 21:this.Vb=this.b.D[k[1]];this.ih=k[2];this.zd=k[3]?new mb(c,k[3]):null;this.sl=k[4];break;
case 22:this.Vb=this.b.D[k[1]];this.Vb.Wh(k[2]);this.gb=this.Vb.Oj(k[2]);this.Ra=k[3];this.ih=k[4];this.zd=k[5]?new mb(c,k[5]):null;this.S=[];this.I=[];7===k.length?(b=k[6],this.S.length=b.length+1):this.S.length=1;break;case 23:this.sh=k[1],this.He=null}4<=this.type&&17>=this.type&&(this.first=new mb(c,k[1]),this.eb=new mb(c,k[2]));if(b){var g,a;g=0;for(a=b.length;g<a;g++)this.I.push(new mb(c,b[g]))}}function n(c,k){this.type=c||S.lf;this.data=k||0;this.Nf=null;this.type==S.lf&&(this.data=Math.floor(this.data))}
c.prototype.Oa=function(){23===this.type&&(this.He=this.L.b.Jm(this.sh,this.L.jc.parent));this.first&&this.first.Oa();this.eb&&this.eb.Oa();this.Ti&&this.Ti.Oa();this.zd&&this.zd.Oa();if(this.I){var c,k;c=0;for(k=this.I.length;c<k;c++)this.I[c].Oa()}};c.prototype.mq=function(c){this.S[0]=c;c=this.L.Za();var k,b;k=0;for(b=this.I.length;k<b;k++)this.I[k].get(c),this.S[k+1]=c.data;this.L.Sa();this.Ra.apply(this.b.nd,this.S)};c.prototype.ym=function(c){var k=this.Vb.pa(),b=k.bd();if(!b.length)if(k.na.length)b=
k.na;else{this.ih?c.fb(""):c.ua(0);return}this.S[0]=c;c.Nf=this.Vb;c=this.L.Za();var g,k=0;for(g=this.I.length;k<g;k++)this.I[k].get(c),this.S[k+1]=c.data;k=this.L.pe;this.zd&&(this.zd.get(c),c.ab()&&(k=c.data,b=this.Vb.d));this.L.Sa();k%=b.length;0>k&&(k+=b.length);b=b[k];-1<this.gb?(c=0,this.Vb.O&&(c=b.type.uf[this.Vb.ad]),this.Ra.apply(b.aa[this.gb+c],this.S)):this.Ra.apply(b,this.S)};c.prototype.aq=function(c){var k=this.Vb.pa(),b=k.bd();if(!b.length)if(k.na.length)b=k.na;else{this.ih?c.fb(""):
c.ua(0);return}k=this.L.pe;if(this.zd){var g=this.L.Za();this.zd.get(g);if(g.ab()){k=g.data;b=this.Vb.d;k%=b.length;0>k&&(k+=b.length);b=b[k].Xa[this.sl];J(b)?c.fb(b):c.J(b);this.L.Sa();return}this.L.Sa()}k%=b.length;0>k&&(k+=b.length);b=b[k];k=0;this.Vb.O&&(k=b.type.Rh[this.Vb.ad]);b=b.Xa[this.sl+k];J(b)?c.fb(b):c.J(b)};c.prototype.bq=function(c){c.type=S.lf;c.data=this.value};c.prototype.Yp=function(c){c.type=S.kf;c.data=this.value};c.prototype.kq=function(c){c.type=S.Bh;c.data=this.value};c.prototype.nq=
function(c){this.first.get(c);c.ab()&&(c.data=-c.data)};c.prototype.Sp=function(c){this.first.get(c);var k=this.L.Za();this.eb.get(k);c.ab()&&k.ab()&&(c.data+=k.data,k.Cf()&&c.Mf());this.L.Sa()};c.prototype.lq=function(c){this.first.get(c);var k=this.L.Za();this.eb.get(k);c.ab()&&k.ab()&&(c.data-=k.data,k.Cf()&&c.Mf());this.L.Sa()};c.prototype.gq=function(c){this.first.get(c);var k=this.L.Za();this.eb.get(k);c.ab()&&k.ab()&&(c.data*=k.data,k.Cf()&&c.Mf());this.L.Sa()};c.prototype.Vp=function(c){this.first.get(c);
var k=this.L.Za();this.eb.get(k);c.ab()&&k.ab()&&(c.data/=k.data,c.Mf());this.L.Sa()};c.prototype.fq=function(c){this.first.get(c);var k=this.L.Za();this.eb.get(k);c.ab()&&k.ab()&&(c.data%=k.data,k.Cf()&&c.Mf());this.L.Sa()};c.prototype.jq=function(c){this.first.get(c);var k=this.L.Za();this.eb.get(k);c.ab()&&k.ab()&&(c.data=Math.pow(c.data,k.data),k.Cf()&&c.Mf());this.L.Sa()};c.prototype.Tp=function(c){this.first.get(c);var k=this.L.Za();this.eb.get(k);c.ab()?k.hi()?c.fb(c.data.toString()+k.data):
c.data&&k.data?c.ua(1):c.ua(0):c.hi()&&(c.data=k.hi()?c.data+k.data:c.data+(Math.round(1E10*k.data)/1E10).toString());this.L.Sa()};c.prototype.iq=function(c){this.first.get(c);var k=this.L.Za();this.eb.get(k);c.ab()&&k.ab()&&(c.data||k.data?c.ua(1):c.ua(0));this.L.Sa()};c.prototype.Up=function(c){this.first.get(c);c.data?this.eb.get(c):this.Ti.get(c)};c.prototype.Wp=function(c){this.first.get(c);var k=this.L.Za();this.eb.get(k);c.ua(c.data===k.data?1:0);this.L.Sa()};c.prototype.hq=function(c){this.first.get(c);
var k=this.L.Za();this.eb.get(k);c.ua(c.data!==k.data?1:0);this.L.Sa()};c.prototype.cq=function(c){this.first.get(c);var k=this.L.Za();this.eb.get(k);c.ua(c.data<k.data?1:0);this.L.Sa()};c.prototype.dq=function(c){this.first.get(c);var k=this.L.Za();this.eb.get(k);c.ua(c.data<=k.data?1:0);this.L.Sa()};c.prototype.Zp=function(c){this.first.get(c);var k=this.L.Za();this.eb.get(k);c.ua(c.data>k.data?1:0);this.L.Sa()};c.prototype.$p=function(c){this.first.get(c);var k=this.L.Za();this.eb.get(k);c.ua(c.data>=
k.data?1:0);this.L.Sa()};c.prototype.Xp=function(c){var k=this.He.Le();ba(k)?c.J(k):c.fb(k)};mb=c;n.prototype.Cf=function(){return this.type===S.kf};n.prototype.ab=function(){return this.type===S.lf||this.type===S.kf};n.prototype.hi=function(){return this.type===S.Bh};n.prototype.Mf=function(){this.Cf()||(this.hi()&&(this.data=parseFloat(this.data)),this.type=S.kf)};n.prototype.ua=function(c){this.type=S.lf;this.data=Math.floor(c)};n.prototype.J=function(c){this.type=S.kf;this.data=c};n.prototype.fb=
function(c){this.type=S.Bh;this.data=c};n.prototype.as=function(c){ba(c)?(this.type=S.kf,this.data=c):J(c)?(this.type=S.Bh,this.data=c.toString()):(this.type=S.lf,this.data=0)};pb=n;S={lf:0,kf:1,Bh:2}})();function T(c){this.b=c;this.Ob=[]}
T.prototype.Ua=function(){var c={},n,m,k,b,g,a,l,e;c.waits=[];var f=c.waits,h;n=0;for(m=this.Ob.length;n<m;n++){a=this.Ob[n];h={t:a.time,ev:a.sf.Z,sm:[],sols:{}};a.sf.tc[a.Eb]&&(h.act=a.sf.tc[a.Eb].Z);k=0;for(b=a.za.length;k<b;k++)h.sm.push(a.za[k].Z);for(g in a.Cb)if(a.Cb.hasOwnProperty(g)){l=this.b.D[parseInt(g,10)];e={sa:a.Cb[g].Mi,insts:[]};k=0;for(b=a.Cb[g].Ad.length;k<b;k++)e.insts.push(a.Cb[g].Ad[k].uid);h.sols[l.Z.toString()]=e}f.push(h)}return c};
T.prototype.bb=function(c){c=c.waits;var n,m,k,b,g,a,l,e,f,h,d;n=this.Ob.length=0;for(m=c.length;n<m;n++)if(a=c[n],e=this.b.fm[a.ev.toString()]){f=-1;k=0;for(b=e.tc.length;k<b;k++)if(e.tc[k].Z===a.act){f=k;break}if(-1!==f){l={Cb:{},za:[],Dj:!1};l.time=a.t;l.sf=e;l.Eb=f;k=0;for(b=a.sm.length;k<b;k++)(e=this.b.Zh(a.sm[k]))&&l.za.push(e);for(g in a.sols)if(a.sols.hasOwnProperty(g)&&(e=this.b.Zh(parseInt(g,10)))){f=a.sols[g];h={Mi:f.sa,Ad:[]};k=0;for(b=f.insts.length;k<b;k++)(d=this.b.Yh(f.insts[k]))&&
h.Ad.push(d);l.Cb[e.index.toString()]=h}this.Ob.push(l)}}};
(function(){function c(){}function n(){}function m(){}var k=T.prototype;c.prototype.Dl=E(!0);c.prototype.mf=E(!0);c.prototype.No=E(!0);c.prototype.Al=function(a,b,c){return ac(a,b,c)};c.prototype.Gl=function(a){return a?a.visible:!1};c.prototype.Cl=function(a){var b=this.b.Pj(),c=b.ba.ej||0,f=this.b.qc.Aa;"undefined"===typeof b.ba.fj&&(b.ba.fj=a);var h=b.ba.fj;return f>=c+h?(b.ba.ej=c+h,f>=b.ba.ej+h&&(b.ba.ej=f),b.ba.fj=a,!0):!1};c.prototype.xh=function(a,b,c){return ac(a.Le(),b,c)};c.prototype.to=
function(a){return this.b.xe[a.toLowerCase()]};c.prototype.Bl=function(){var a=this.b.ub();return a.Fj?!1:!a.Ff};c.prototype.Jl=E(!0);c.prototype.Go=E(!0);c.prototype.kj=E(!0);c.prototype.Oo=E(!0);c.prototype.jj=E(!0);k.j=new c;n.prototype.ag=function(a){this.b.Df||this.b.De||(this.b.De=a)};n.prototype.cj=function(a,b,c,f){if(b&&a&&(b=this.b.xj(a,b,c,f))){this.b.pc++;var h;this.b.trigger(Object.getPrototypeOf(a.qa).j.cg,b);if(b.Lb)for(c=0,f=b.siblings.length;c<f;c++)h=b.siblings[c],this.b.trigger(Object.getPrototypeOf(h.type.qa).j.cg,
h);this.b.pc--;a=a.pa();a.ta=!1;a.d.length=1;a.d[0]=b;if(b.Lb)for(c=0,f=b.siblings.length;c<f;c++)h=b.siblings[c],a=h.type.pa(),a.ta=!1,a.d.length=1,a.d[0]=h}};n.prototype.lj=function(a,b){a&&a.visible!==b&&(a.visible=b,this.b.ja=!0)};n.prototype.Vc=function(a,b){0===a.uh?ba(b)?a.Kd(b):a.Kd(parseFloat(b)):1===a.uh&&a.Kd(b.toString())};n.prototype.bj=function(a,b){0===a.uh?ba(b)?a.Kd(a.Le()+b):a.Kd(a.Le()+parseFloat(b)):1===a.uh&&a.Kd(a.Le()+b.toString())};n.prototype.hp=function(a,b){0===a.uh&&(ba(b)?
a.Kd(a.Le()-b):a.Kd(a.Le()-parseFloat(b)))};n.prototype.Sl=function(a,b){var c=this.b.xe,f=a.toLowerCase();switch(b){case 0:c[f]=!1;break;case 1:c[f]=!0;break;case 2:c[f]=!c[f]}};var b=[],g=[];n.prototype.jp=function(a){if(!(0>a)){var c,e,f,h=this.b.ub(),d;d=b.length?b.pop():{Cb:{},za:[]};d.Dj=!1;d.time=this.b.qc.Aa+a;d.sf=h.Hb;d.Eb=h.Eb+1;a=0;for(c=this.b.D.length;a<c;a++)f=this.b.D[a],e=f.pa(),e.ta&&-1===h.Hb.za.indexOf(f)||(d.za.push(f),f=void 0,f=g.length?g.pop():{Ad:[]},f.Mi=!1,f.Mi=e.ta,qa(f.Ad,
e.d),d.Cb[a.toString()]=f);this.Ob.push(d);return!0}};n.prototype.Zo=function(){if(!this.b.Df&&!this.b.De&&this.b.ka){this.b.De=this.b.ka;var a,b,c;a=0;for(b=this.b.Td.length;a<b;a++)c=this.b.Td[a],this.b.xe[c.wf.toLowerCase()]=c.di}};k.k=new n;m.prototype["int"]=function(a,b){J(b)?(a.ua(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.ua(b)};m.prototype["float"]=function(a,b){J(b)?(a.J(parseFloat(b)),isNaN(a.data)&&(a.data=0)):a.J(b)};m.prototype.random=function(a,b,c){void 0===c?a.J(Math.random()*b):
a.J(Math.random()*(c-b)+b)};m.prototype.sqrt=function(a,b){a.J(Math.sqrt(b))};m.prototype.round=function(a,b){a.ua(Math.round(b))};m.prototype.floor=function(a,b){a.ua(Math.floor(b))};m.prototype.ceil=function(a,b){a.ua(Math.ceil(b))};m.prototype.sin=function(a,b){a.J(Math.sin(P(b)))};m.prototype.cos=function(a,b){a.J(Math.cos(P(b)))};m.prototype.tan=function(a,b){a.J(Math.tan(P(b)))};m.prototype.acos=function(a,b){a.J(sa(Math.acos(b)))};m.prototype.exp=function(a,b){a.J(Math.exp(b))};m.prototype.max=
function(a){var b=arguments[1],c,f;c=2;for(f=arguments.length;c<f;c++)b<arguments[c]&&(b=arguments[c]);a.J(b)};m.prototype.min=function(a){var b=arguments[1],c,f;c=2;for(f=arguments.length;c<f;c++)b>arguments[c]&&(b=arguments[c]);a.J(b)};m.prototype.xd=function(a){a.J(this.b.xd)};m.prototype.Xf=function(a){a.J(this.b.Xf)};m.prototype.time=function(a){a.J(this.b.qc.Aa)};m.prototype.Ld=function(a){a.ua(this.b.Ld)};m.prototype.xi=function(a){a.ua(this.b.xi)};m.prototype.Lj=function(a){a.ua(this.b.Lj)};
m.prototype.q=function(a,b,c,f,h){a.J(sa(xa(b,c,f,h)))};m.prototype.lr=function(a){a.ua(this.b.ka.width)};m.prototype.kr=function(a){a.ua(this.b.ka.height)};m.prototype.left=function(a,b,c){a.fb(J(b)?b.substr(0,c):"")};m.prototype.right=function(a,b,c){a.fb(J(b)?b.substr(b.length-c):"")};m.prototype.hs=function(a,b,c,f){J(b)&&J(f)?(b=b.split(f),c=ja(c),0>c||c>=b.length?a.fb(""):a.fb(b[c])):a.fb("")};m.prototype.replace=function(a,b,c,f){J(b)&&J(c)&&J(f)?a.fb(b.replace(RegExp(Ra(c),"gi"),f)):a.fb(J(b)?
b:"")};m.prototype.wj=function(a){a.J(this.b.wj/1E3)};m.prototype.Hf=function(a){a.J(this.b.Hf)};k.B=new m;k.Sr=function(){var a,c,e,f,h,d,p=this.b.ub();a=0;for(e=this.Ob.length;a<e;a++)if(f=this.Ob[a],!(f.time>this.b.qc.Aa)){p.Hb=f.sf;p.Eb=f.Eb;p.Va=0;for(c in f.Cb)f.Cb.hasOwnProperty(c)&&(h=this.b.D[parseInt(c,10)].pa(),d=f.Cb[c],h.ta=d.Mi,qa(h.d,d.Ad),h=d,h.Ad.length=0,g.push(h));f.sf.Qr();this.b.vj(f.za);f.Dj=!0}c=a=0;for(e=this.Ob.length;a<e;a++)f=this.Ob[a],this.Ob[c]=f,f.Dj?(Ia(f.Cb),f.za.length=
0,b.push(f)):c++;this.Ob.length=c}})();
function Cb(c){var n=c[0].prototype,m=c[1],k=c[3],b=c[4],g=c[5],a=c[6],l=c[7];c=c[8];n.j||(n.j={});n.k||(n.k={});n.B||(n.B={});var e=n.j,f=n.k,n=n.B;k&&(e.yh=function(a,b){return ac(this.x,a,b)},e.Ds=function(a,b){return ac(this.y,a,b)},e.wo=function(){var a=this.n;this.ac();var b=this.$;return!(b.right<a.ec||b.bottom<a.gc||b.left>a.fc||b.top>a.cc)},e.Ks=function(){this.ac();var a=this.$,b=this.b.ka;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},e.Vs=function(a,b,c){var e=this.pa(),
f=e.bd();if(!f.length)return!1;var g=f[0],l=g,k=Ea(g.x,g.y,b,c),m,n,C;m=1;for(n=f.length;m<n;m++)if(g=f[m],C=Ea(g.x,g.y,b,c),0===a&&C<k||1===a&&C>k)k=C,l=g;e.dh(l);return!0},f.mj=function(a){this.x!==a&&(this.x=a,this.W())},f.nt=function(a){this.y!==a&&(this.y=a,this.W())},f.kt=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.W()},f.lt=function(a,b){var c=a.Cq(this);if(c){var e;c.rg?(e=c.rg(b,!0),c=c.rg(b,!1)):(e=c.x,c=c.y);if(this.x!==e||this.y!==c)this.x=e,this.y=c,this.W()}},f.Ps=
function(a){0!==a&&(this.x+=Math.cos(this.q)*a,this.y+=Math.sin(this.q)*a,this.W())},f.Os=function(a,b){0!==b&&(this.x+=Math.cos(P(a))*b,this.y+=Math.sin(P(a))*b,this.W())},n.of=function(a){a.J(this.x)},n.we=function(a){a.J(this.y)},n.xd=function(a){a.J(this.b.Ke(this))});b&&(e.Cs=function(a,b){return ac(this.width,a,b)},e.zs=function(a,b){return ac(this.height,a,b)},f.dp=function(a){this.width!==a&&(this.width=a,this.W())},f.ht=function(a){this.height!==a&&(this.height=a,this.W())},f.cp=function(a,
b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.W()},n.nf=function(a){a.J(this.width)},n.El=function(a){a.J(this.height)},n.ws=function(a){this.ac();a.J(this.$.left)},n.ys=function(a){this.ac();a.J(this.$.top)},n.xs=function(a){this.ac();a.J(this.$.right)},n.vs=function(a){this.ac();a.J(this.$.bottom)});g&&(e.us=function(a,b){return ya(this.q,P(b))<=P(a)},e.Is=function(a){return Ca(this.q,P(a))},e.Gs=function(a,b){var c=wa(a),e=wa(b),f=ua(this.q);return Ca(e,c)?Ca(f,c)&&!Ca(f,
e):!(!Ca(f,c)&&Ca(f,e))},f.dt=function(a){a=P(ta(a));isNaN(a)||this.q===a||(this.q=a,this.W())},f.Zs=function(a){0===a||isNaN(a)||(this.q+=P(a),this.q=ua(this.q),this.W())},f.$s=function(a){0===a||isNaN(a)||(this.q-=P(a),this.q=ua(this.q),this.W())},f.bt=function(a,b){var c=Ba(this.q,P(b),P(a));isNaN(c)||this.q===c||(this.q=c,this.W())},f.ct=function(a,b,c){a=Ba(this.q,Math.atan2(c-this.y,b-this.x),P(a));isNaN(a)||this.q===a||(this.q=a,this.W())},f.mt=function(a,b){var c=Math.atan2(b-this.y,a-this.x);
isNaN(c)||this.q===c||(this.q=c,this.W())},n.ts=function(a){a.J(va(this.q))});m||(e.As=function(a,b,c){return ac(this.Xa[a],b,c)},e.Hs=function(a){return this.Xa[a]},e.Ws=function(a,b){var c=this.pa(),e=c.bd();if(!e.length)return!1;var f=e[0],g=f,l=f.Xa[b],k,m,n;k=1;for(m=e.length;k<m;k++)if(f=e[k],n=f.Xa[b],0===a&&n<l||1===a&&n>l)l=n,g=f;c.dh(g);return!0},e.Us=function(a){var b,c,e,f,g;if(this.b.Pj().yf){g=this.pa();if(g.ta)for(g.ta=!1,g.d.length=0,g.na.length=0,e=this.d,b=0,c=e.length;b<c;b++)f=
e[b],f.uid===a?g.na.push(f):g.d.push(f);else{e=b=0;for(c=g.d.length;b<c;b++)f=g.d[b],g.d[e]=f,f.uid===a?g.na.push(f):e++;g.d.length=e}return!!g.d.length}f=this.b.Yh(a);if(!f)return!1;g=this.pa();if(!g.ta&&-1===g.d.indexOf(f))return!1;if(this.O)for(a=f.type.Ca,b=0,c=a.length;b<c;b++){if(a[b]===this)return g.dh(f),!0}else if(f.type===this)return g.dh(f),!0;return!1},e.cg=E(!0),e.Ho=E(!0),f.it=function(a,b){var c=this.Xa;ba(c[a])?c[a]=ba(b)?b:parseFloat(b):J(c[a])&&(c[a]=J(b)?b:b.toString())},f.ss=function(a,
b){var c=this.Xa;ba(c[a])?c[a]=ba(b)?c[a]+b:c[a]+parseFloat(b):J(c[a])&&(c[a]=J(b)?c[a]+b:c[a]+b.toString())},f.ot=function(a,b){var c=this.Xa;ba(c[a])&&(c[a]=ba(b)?c[a]-b:c[a]-parseFloat(b))},f.et=function(a,b){this.Xa[a]=b?1:0},f.pt=function(a){this.Xa[a]=1-this.Xa[a]},f.dj=function(){this.b.Qd(this)},n.Es=function(a){var b=a.Nf.d.length,c,e,f;c=0;for(e=this.b.kc.length;c<e;c++)f=this.b.kc[c],a.Nf.O?0<=f.type.Ca.indexOf(a.Nf)&&b++:f.type===a.Nf&&b++;a.ua(b)},n.Ys=function(a){a.ua(a.Nf.pa().bd().length)},
n.qt=function(a){a.ua(this.uid)},n.Fs=function(a){a.ua(this.vg())});a&&(e.Ls=A("visible"),f.Db=function(a){!a!==!this.visible&&(this.visible=a,this.b.ja=!0)},e.Bs=function(a,b){return ac(Va(100*this.opacity),a,b)},f.jt=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ja=!0)},n.Opacity=function(a){a.J(Va(100*this.opacity))});l&&(e.Js=function(a){return a?this.n===a:!1},e.Xs=function(a){var b=this.pa(),c=b.bd();if(!c.length)return!1;var e=c[0],f=e,g,l;g=1;for(l=c.length;g<
l;g++)if(e=c[g],0===a){if(e.n.index>f.n.index||e.n.index===f.n.index&&e.nc()>f.nc())f=e}else if(e.n.index<f.n.index||e.n.index===f.n.index&&e.nc()<f.nc())f=e;b.dh(f);return!0},f.zo=function(){var a=this.nc();a!==this.n.d.length-1&&(oa(this.n.d,a),this.n.d.push(this),this.b.ja=!0,this.n.hc=!0)},f.Qs=function(){var a=this.nc();0!==a&&(oa(this.n.d,a),this.n.d.unshift(this),this.b.ja=!0,this.n.hc=!0)},f.Rs=function(a){a&&a!=this.n&&(oa(this.n.d,this.nc()),this.n.hc=!0,this.n=a,this.jf=a.d.length,a.d.push(this),
this.b.ja=!0)},f.ut=function(a,b){var c=0===a;if(b){var e=b.xq(this);if(e&&e.uid!==this.uid){this.n.index!==e.n.index&&(oa(this.n.d,this.nc()),this.n.hc=!0,this.n=e.n,this.jf=e.n.d.length,e.n.d.push(this));var f=this.nc(),e=e.nc();oa(this.n.d,f);f<e&&e--;c&&e++;e===this.n.d.length?this.n.d.push(this):this.n.d.splice(e,0,this);this.n.hc=!0;this.b.ja=!0}}},n.Ns=function(a){a.ua(this.n.un)},n.Ms=function(a){a.fb(this.n.name)},n.tt=function(a){a.ua(this.nc())});c&&(f.ft=function(a,b){if(this.b.F){var c=
this.type.Rj(b);if(!(0>c)){var e=1===a;this.Sd[c]!==e&&(this.Sd[c]=e,this.Nd(),this.b.ja=!0)}}},f.gt=function(a,b,c){if(this.b.F){var e=this.type.Rj(a);0>e||(a=this.type.R[e],e=this.La[e],b=Math.floor(b),0>b||b>=e.length||(1===this.b.F.Fq(a.nb,b)&&(c/=100),e[b]!==c&&(e[b]=c,a.ic&&(this.b.ja=!0))))}})}function Vb(){this.qj=!0;this.b.ja=!0;var c,n;c=0;for(n=this.Fh.length;c<n;c++)this.Fh[c](this)}function Wb(c){c&&this.Fh.push(c)}
function Yb(){if(this.qj){this.$.set(this.x,this.y,this.x+this.width,this.y+this.height);this.$.offset(-this.Jb*this.width,-this.Kb*this.height);this.q?(this.$.offset(-this.x,-this.y),this.rb.Xn(this.$,this.q),this.rb.offset(this.x,this.y),this.rb.gm(this.$)):this.rb.$k(this.$);var c=0;this.$.left>this.$.right&&(c=this.$.left,this.$.left=this.$.right,this.$.right=c);this.$.top>this.$.bottom&&(c=this.$.top,this.$.top=this.$.bottom,this.$.bottom=c);this.qj=!1}}
function Xb(c,n){return this.$.vc(c,n)&&this.rb.vc(c,n)?this.Ba&&!this.Ba.Dg()?(this.Ba.ig(this.width,this.height,this.q),this.Ba.vc(c-this.x,n-this.y)):!0:!1}function Pb(){this.type.Xi();return this.Ne}function Zb(){this.n.ls();return this.jf}function $b(){this.ma.length=0;var c,n;c=0;for(n=this.Sd.length;c<n;c++)this.Sd[c]&&this.ma.push(this.type.R[c]);this.ro=!!this.ma.length}function Ub(){return"Inst"+this.Mn}
function Eb(c){if(c&&c.Lb&&c.type!=this){var n,m,k;n=0;for(m=c.siblings.length;n<m;n++)if(k=c.siblings[n],k.type==this)return k}c=this.pa().bd();return c.length?c[0]:null}function Fb(c){var n=this.pa().bd();return n.length?n[c.vg()%n.length]:null}function Db(){if(this.Tf&&!this.O){var c,n;c=0;for(n=this.d.length;c<n;c++)this.d[c].Ne=c;var m=c,k=this.b.kc;c=0;for(n=k.length;c<n;++c)k[c].type===this&&(k[c].Ne=m++);this.Tf=!1}}function Gb(){return this.qe[this.wd]}
function Hb(){this.wd++;this.wd===this.qe.length?this.qe.push(new $a(this)):this.qe[this.wd].ta=!0}function Ib(){this.wd++;this.wd===this.qe.length&&this.qe.push(new $a(this));var c=this.qe[this.wd],n=this.qe[this.wd-1];n.ta?c.ta=!0:(c.ta=!1,qa(c.d,n.d),qa(c.na,n.na))}function Jb(){this.wd--}
function Kb(c){var n,m,k,b,g,a=0;if(!this.O)for(n=0,m=this.Ca.length;n<m;n++)for(g=this.Ca[n],k=0,b=g.Fa.length;k<b;k++){if(c===g.Fa[k].name)return this.ba.an=a,g.Fa[k];a++}n=0;for(m=this.Fa.length;n<m;n++){if(c===this.Fa[n].name)return this.ba.an=a,this.Fa[n];a++}return null}function Lb(c){return this.Wh(c)?this.ba.an:-1}function Mb(c){var n,m;n=0;for(m=this.R.length;n<m;n++)if(this.R[n].name===c)return n;return-1}
function Nb(){if(this.Lb&&!this.O){var c,n,m,k,b,g,a;this.Xi();g=this.pa();var l=g.ta,e=(c=this.b.ub())&&c.Hb&&c.Hb.Fc;c=0;for(n=this.Gb.length;c<n;c++)if(b=this.Gb[c],b!==this&&(b.Xi(),a=b.pa(),a.ta=l,!l)){a.d.length=g.d.length;m=0;for(k=g.d.length;m<k;m++)a.d[m]=b.d[g.d[m].Ne];if(e)for(a.na.length=g.na.length,m=0,k=g.na.length;m<k;m++)a.na[m]=b.d[g.na[m].Ne]}}}function Ob(){return"Type"+this.Z}
function ac(c,n,m){if("undefined"===typeof c||"undefined"===typeof m)return!1;switch(n){case 0:return c===m;case 1:return c!==m;case 2:return c<m;case 3:return c<=m;case 4:return c>m;case 5:return c>=m;default:return!1}}var Ab={};function bc(c){this.b=c}
(function(){function c(){}function n(){}function m(){}var k=!1,b=null,g=null,a="",l=bc.prototype;l.fa=function(a){this.qa=a;this.b=a.b};l.fa.prototype.K=v();l.U=function(c){this.type=c;this.b=c.b;this.Xc=this.Re="";this.Qc=0;if(k=this.b.be)b=require("path"),g=require("fs"),a=b.dirname(process.execPath)+"\\"};var e=l.U.prototype,f=null;window.C2_AJAX_DCSide=function(a,b,c){f&&("success"===a?(f.Xc=b,f.Re=c,f.b.trigger(bc.prototype.j.bg,f)):"error"===a?(f.Xc=b,f.b.trigger(bc.prototype.j.hj,f)):"progress"===
a&&(f.Qc=c,f.Xc=b,f.b.trigger(bc.prototype.j.Nl,f)))};e.K=function(){f=this};e.Ua=function(){return{lastData:this.Re}};e.bb=function(a){this.Re=a.lastData;this.Xc="";this.Qc=0};e.vm=function(b,d,c,e){if(this.b.oc)AppMobi.webview.execute('C2_AJAX_WebSide("'+b+'", "'+d+'", "'+c+'", '+(e?'"'+e+'"':"null")+");");else{var f=this,l=null,m=function(){f.Xc=b;f.b.trigger(bc.prototype.j.hj,f)},n=function(){if(k){var b=a+d;g.existsSync(b)?g.readFile(b,{encoding:"utf8"},function(a,b){a?m():(f.Re=b.replace(/\r\n/g,
"\n"),f.b.trigger(bc.prototype.j.bg,f))}):m()}else m()},X=function(a){a.lengthComputable&&(f.Qc=a.loaded/a.total,f.Xc=b,f.b.trigger(bc.prototype.j.Nl,f))};try{l=new XMLHttpRequest;l.onreadystatechange=function(){4!==l.readyState||!k&&0===l.status||(f.Xc=b,400<=l.status?f.b.trigger(bc.prototype.j.hj,f):(f.Re=l.responseText.replace(/\r\n/g,"\n"),k&&!f.Re.length||f.b.trigger(bc.prototype.j.bg,f)))};l.onerror=n;l.ontimeout=n;l.onabort=n;l.onprogress=X;l.open(c,d);try{l.responseType="text"}catch(y){}"POST"===
c&&e?(l.setRequestHeader&&l.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),l.send(e)):l.send()}catch(C){n()}}};c.prototype.bg=function(a){return Wa(a,this.Xc)};c.prototype.hj=function(a){return Wa(a,this.Xc)};c.prototype.Nl=function(a){return Wa(a,this.Xc)};l.j=new c;n.prototype.Rl=function(a,b){this.vm(a,b,"GET")};n.prototype.Xo=function(a,b,c){this.vm(a,b,"POST",c)};l.k=new n;m.prototype.xo=function(a){a.fb(this.Re)};l.B=new m})();function U(c){this.b=c}
(function(){function c(){return l.length?l.pop():[]}function n(a){var b,c;b=0;for(c=a.length;b<c;b++)Array.isArray(a[b])&&n(a[b]);a.length=0;l.push(a)}function m(){}function k(){}function b(){}var g=U.prototype;g.fa=function(a){this.qa=a;this.b=a.b};g.fa.prototype.K=v();g.U=function(a){this.type=a;this.b=a.b};var a=g.U.prototype,l=[];Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});a.K=function(){this.xc=this.A[0];this.Lc=this.A[1];this.Yc=this.A[2];
this.Zb||(this.sd=c());var a=this.sd;a.length=this.xc;var b,h,d;for(b=0;b<this.xc;b++)for(a[b]||(a[b]=c()),a[b].length=this.Lc,h=0;h<this.Lc;h++)for(a[b][h]||(a[b][h]=c()),a[b][h].length=this.Yc,d=0;d<this.Yc;d++)a[b][h][d]=0};a.je=function(){var a;for(a=0;a<this.xc;a++)n(this.sd[a]);this.sd.length=0};a.Kc=function(a,b,c){a=Math.floor(a);b=Math.floor(b);c=Math.floor(c);return isNaN(a)||0>a||a>this.xc-1||isNaN(b)||0>b||b>this.Lc-1||isNaN(c)||0>c||c>this.Yc-1?0:this.sd[a][b][c]};a.set=function(a,b,
c,d){a=Math.floor(a);b=Math.floor(b);c=Math.floor(c);isNaN(a)||0>a||a>this.xc-1||isNaN(b)||0>b||b>this.Lc-1||isNaN(c)||0>c||c>this.Yc-1||(this.sd[a][b][c]=d)};a.Bt=function(){return JSON.stringify({c2array:!0,size:[this.xc,this.Lc,this.Yc],data:this.sd})};a.Ua=function(){return{size:[this.xc,this.Lc,this.Yc],data:this.sd}};a.bb=function(a){var b=a.size;this.xc=b[0];this.Lc=b[1];this.Yc=b[2];this.sd=a.data};a.lh=function(a,b,h){0>a&&(a=0);0>b&&(b=0);0>h&&(h=0);if(this.xc!==a||this.Lc!==b||this.Yc!==
h){this.xc=a;this.Lc=b;this.Yc=h;var d,g,l=this.sd;l.length=a;for(a=0;a<this.xc;a++)for(aa(l[a])&&(l[a]=c()),l[a].length=b,d=0;d<this.Lc;d++)for(aa(l[a][d])&&(l[a][d]=c()),l[a][d].length=h,g=0;g<this.Yc;g++)aa(l[a][d][g])&&(l[a][d][g]=0)}};m.prototype.yh=function(a,b,c){return ac(this.Kc(a,0,0),b,c)};a.zt=function(a){this.b.Hi(a.za);a.Rr();this.b.Ze(a.za)};g.j=new m;k.prototype.cp=function(a,b,c){this.lh(a,b,c)};k.prototype.mj=function(a,b){this.set(a,0,0,b)};g.k=new k;b.prototype.yb=function(a,b,
c,d){a.as(this.Kc(b,c||0,d||0))};b.prototype.nf=function(a){a.ua(this.xc)};b.prototype.El=function(a){a.ua(this.Lc)};g.B=new b})();function cc(c){this.b=c}
(function(){function c(a){0>a&&(a=0);1<a&&(a=1);return 20*(Math.log(a)/Math.log(10))}function n(a){a=a.toLowerCase();return R.hasOwnProperty(a)&&R[a].length?R[a][0].mc():F.destination}function m(){return F.createGain?F.createGain():F.createGainNode()}function k(a){return F.createDelay?F.createDelay(a):F.createDelayNode(a)}function b(a){a.start?a.start(0):a.noteOn(0)}function g(a,b,d){a.start?a.start(0,b):a.noteGrainOn(0,b,d-b)}function a(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function l(a,
b,d,c,e,h){this.type="filter";this.Pc=[a,b,d,c,e,h];this.da=m();this.P=m();this.P.gain.value=h;this.N=m();this.N.gain.value=1-h;this.Qa=F.createBiquadFilter();this.Qa.type="number"===typeof this.Qa.type?a:mc[a];this.Qa.frequency.value=b;this.Qa.detune&&(this.Qa.detune.value=d);this.Qa.Q.value=c;this.Qa.gain.value=e;this.da.connect(this.Qa);this.da.connect(this.N);this.Qa.connect(this.P)}function e(a,b,d){this.type="delay";this.Pc=[a,b,d];this.da=m();this.P=m();this.P.gain.value=d;this.N=m();this.N.gain.value=
1-d;this.Ug=m();this.zc=k(a);this.zc.delayTime.value=a;this.Mh=m();this.Mh.gain.value=b;this.da.connect(this.Ug);this.da.connect(this.N);this.Ug.connect(this.P);this.Ug.connect(this.zc);this.zc.connect(this.Mh);this.Mh.connect(this.Ug)}function f(a,b,d,c){this.type="convolve";this.Pc=[b,d,c];this.da=m();this.P=m();this.P.gain.value=d;this.N=m();this.N.gain.value=1-d;this.Ee=F.createConvolver();a&&(this.Ee.normalize=b,this.Ee.buffer=a);this.da.connect(this.Ee);this.da.connect(this.N);this.Ee.connect(this.P)}
function h(a,d,c,e,h){this.type="flanger";this.Pc=[a,d,c,e,h];this.da=m();this.N=m();this.N.gain.value=1-h/2;this.P=m();this.P.gain.value=h/2;this.Sh=m();this.Sh.gain.value=e;this.zc=k(a+d);this.zc.delayTime.value=a;this.cb=F.createOscillator();this.cb.frequency.value=c;this.Yb=m();this.Yb.gain.value=d;this.da.connect(this.zc);this.da.connect(this.N);this.zc.connect(this.P);this.zc.connect(this.Sh);this.Sh.connect(this.zc);this.cb.connect(this.Yb);this.Yb.connect(this.zc.delayTime);b(this.cb)}function d(a,
d,c,e,h,f){this.type="phaser";this.Pc=[a,d,c,e,h,f];this.da=m();this.N=m();this.N.gain.value=1-f/2;this.P=m();this.P.gain.value=f/2;this.Qa=F.createBiquadFilter();this.Qa.type="number"===typeof this.Qa.type?7:"allpass";this.Qa.frequency.value=a;this.Qa.detune&&(this.Qa.detune.value=d);this.Qa.Q.value=c;this.cb=F.createOscillator();this.cb.frequency.value=h;this.Yb=m();this.Yb.gain.value=e;this.da.connect(this.Qa);this.da.connect(this.N);this.Qa.connect(this.P);this.cb.connect(this.Yb);this.Yb.connect(this.Qa.frequency);
b(this.cb)}function p(a){this.type="gain";this.Pc=[a];this.ga=m();this.ga.gain.value=a}function L(a,d){this.type="tremolo";this.Pc=[a,d];this.ga=m();this.ga.gain.value=1-d/2;this.cb=F.createOscillator();this.cb.frequency.value=a;this.Yb=m();this.Yb.gain.value=d/2;this.cb.connect(this.Yb);this.Yb.connect(this.ga.gain);b(this.cb)}function B(a,d){this.type="ringmod";this.Pc=[a,d];this.da=m();this.P=m();this.P.gain.value=d;this.N=m();this.N.gain.value=1-d;this.jh=m();this.jh.gain.value=0;this.cb=F.createOscillator();
this.cb.frequency.value=a;this.cb.connect(this.jh.gain);b(this.cb);this.da.connect(this.jh);this.da.connect(this.N);this.jh.connect(this.P)}function s(a,b,d,c,e){this.type="distortion";this.Pc=[a,b,d,c,e];this.da=m();this.Fi=m();this.Ei=m();this.Zr(d,Math.pow(10,c/20));this.P=m();this.P.gain.value=e;this.N=m();this.N.gain.value=1-e;this.aj=F.createWaveShaper();this.Kh=new Float32Array(65536);this.tq(a,b);this.aj.Kh=this.Kh;this.da.connect(this.Fi);this.da.connect(this.N);this.Fi.connect(this.aj);
this.aj.connect(this.Ei);this.Ei.connect(this.P)}function q(a,b,d,c,e){this.type="compressor";this.Pc=[a,b,d,c,e];this.ga=F.createDynamicsCompressor();this.ga.threshold.value=a;this.ga.knee.value=b;this.ga.ratio.value=d;this.ga.attack.value=c;this.ga.release.value=e}function t(a,b){this.type="analyser";this.Pc=[a,b];this.ga=F.createAnalyser();this.ga.fftSize=a;this.ga.smoothingTimeConstant=b;this.rq=new Float32Array(this.ga.frequencyBinCount);this.Zn=new Uint8Array(a);this.bh=0}function X(){this.V=
null;this.ri=0;this.re=[];this.xk=this.li=this.ki=0}function y(a,b){this.src=a;this.xa=O;this.Mc=b;this.am=!1;var d=this;this.nn=this.Fk=null;this.Qf=[];this.Ni=0;this.Ai=!1;O!==D||!b||u.dd||u.be||(this.xa=G,this.Fk=m());this.Eh=this.Da=null;var c;switch(this.xa){case G:this.Da=new Audio;O===D&&F.createMediaElementSource&&this.Da.addEventListener("canplay",function(){d.nn=F.createMediaElementSource(d.Da);d.nn.connect(d.Fk)});this.Da.autoplay=!1;this.Da.Kt="auto";this.Da.src=a;break;case D:c=new XMLHttpRequest;
c.open("GET",a,!0);c.responseType="arraybuffer";c.onload=function(){d.Eh=c.response;d.rm()};c.send();break;case Q:this.Da=!0;break;case ia:this.Da=!0}}function C(a,b){var d=this;this.se=b;this.Tc=this.ae=!0;this.src=a.src;this.buffer=a;this.xa=O;this.Mc=a.Mc;this.playbackRate=1;this.Hk=!0;this.de=this.Gd=!1;this.Sc=0;this.ik=this.hk=this.Dd=!1;this.Wg=this.volume=1;this.startTime=u.qc.Aa;this.Na=this.mb=null;this.fd=!1;this.Ya=null;this.En=this.Dn=this.Cn=this.Bn=this.Gn=this.Fn=0;this.C=null;var c=
!1;switch(this.xa){case G:this.Mc?(this.C=a.Da,c=!a.am,a.am=!0):(this.C=new Audio,this.C.autoplay=!1,this.C.src=a.Da.src,c=!0);c&&this.C.addEventListener("ended",function(){N=d.se;d.Tc=!0;u.trigger(cc.prototype.j.gj,K)});break;case D:this.mb=m();this.mb.connect(n(b));this.buffer.xa===D?a.Da&&(this.C=F.createBufferSource(),this.C.buffer=a.Da,this.C.connect(this.mb)):(this.C=this.buffer.Da,this.buffer.Fk.connect(this.mb));break;case Q:this.C=new window.Media(da+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&
(d.Hk=!0,d.Tc=!0,N=d.se,u.trigger(cc.prototype.j.gj,K))});break;case ia:this.C=!0}}function pa(a){Ga.length=0;if(a.length){var b,d,c;b=0;for(d=M.length;b<d;b++)c=M[b],Wa(a,c.se)&&Ga.push(c)}else Ma&&!Ma.wg()&&(Ga.length=1,Ga[0]=Ma)}function I(a,b){R.hasOwnProperty(a)?R[a].push(b):R[a]=[b];var d,c,e,h,f=F.destination;if(R.hasOwnProperty(a)&&(e=R[a],e.length))for(f=e[0].mc(),d=0,c=e.length;d<c;d++)h=e[d],d+1===c?h.uc(F.destination):h.uc(e[d+1].mc());pa(a);d=0;for(c=Ga.length;d<c;d++)Ga[d].Or(f);Ka&&
sb===a&&(Ka.disconnect(),Ka.connect(f))}function z(){}function r(){}var x=cc.prototype;x.fa=function(a){this.qa=a;this.b=a.b};x.fa.prototype.K=v();var u=null,K=null,N="",da="",G=0,D=1,Q=2,ia=3,O=G,F=null,Xa=[],M=[],Ma=null,jb=!1,kb=0,Na=!1,za=1,Oa=0,Pa=0,tb=1,ub=1,Qb=10,Rb=1E4,Sb=1,Ka=null,sb="",R={},mc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");l.prototype.uc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};l.prototype.remove=
function(){this.da.disconnect();this.Qa.disconnect();this.P.disconnect();this.N.disconnect()};l.prototype.mc=A("da");e.prototype.uc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};e.prototype.remove=function(){this.da.disconnect();this.Ug.disconnect();this.zc.disconnect();this.Mh.disconnect();this.P.disconnect();this.N.disconnect()};e.prototype.mc=A("da");f.prototype.uc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};
f.prototype.remove=function(){this.da.disconnect();this.Ee.disconnect();this.P.disconnect();this.N.disconnect()};f.prototype.mc=A("da");h.prototype.uc=function(a){this.N.disconnect();this.N.connect(a);this.P.disconnect();this.P.connect(a)};h.prototype.remove=function(){this.da.disconnect();this.zc.disconnect();this.cb.disconnect();this.Yb.disconnect();this.N.disconnect();this.P.disconnect();this.Sh.disconnect()};h.prototype.mc=A("da");d.prototype.uc=function(a){this.N.disconnect();this.N.connect(a);
this.P.disconnect();this.P.connect(a)};d.prototype.remove=function(){this.da.disconnect();this.Qa.disconnect();this.cb.disconnect();this.Yb.disconnect();this.N.disconnect();this.P.disconnect()};d.prototype.mc=A("da");p.prototype.uc=function(a){this.ga.disconnect();this.ga.connect(a)};p.prototype.remove=function(){this.ga.disconnect()};p.prototype.mc=A("ga");L.prototype.uc=function(a){this.ga.disconnect();this.ga.connect(a)};L.prototype.remove=function(){this.cb.disconnect();this.Yb.disconnect();this.ga.disconnect()};
L.prototype.mc=A("ga");B.prototype.uc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};B.prototype.remove=function(){this.cb.disconnect();this.jh.disconnect();this.da.disconnect();this.P.disconnect();this.N.disconnect()};B.prototype.mc=A("da");s.prototype.Zr=function(a,b){0.01>a&&(a=0.01);this.Fi.gain.value=a;this.Ei.gain.value=Math.pow(1/a,0.6)*b};s.prototype.shape=function(a,b,d){var c=1.05*d*b-b;d=0>a?-1:1;a=0>a?-a:a;b=a<b?a:b+c*(1-Math.exp(-(1/c)*(a-b)));
return b*d};s.prototype.tq=function(a,b){for(var d=Math.pow(10,a/20),c=Math.pow(10,b/20),e=0,h=0;32768>h;++h)e=h/32768,e=this.shape(e,d,c),this.Kh[32768+h]=e,this.Kh[32768-h-1]=-e};s.prototype.uc=function(a){this.P.disconnect();this.P.connect(a);this.N.disconnect();this.N.connect(a)};s.prototype.remove=function(){this.da.disconnect();this.Fi.disconnect();this.aj.disconnect();this.Ei.disconnect();this.P.disconnect();this.N.disconnect()};s.prototype.mc=A("da");q.prototype.uc=function(a){this.ga.disconnect();
this.ga.connect(a)};q.prototype.remove=function(){this.ga.disconnect()};q.prototype.mc=A("ga");t.prototype.Pa=function(){this.ga.getFloatFrequencyData(this.rq);this.ga.getByteTimeDomainData(this.Zn);for(var a=this.ga.fftSize,b=0,d=this.bh=0,e=0;b<a;b++)e=(this.Zn[b]-128)/128,0>e&&(e=-e),this.bh<e&&(this.bh=e),d+=e*e;this.bh=c(this.bh);c(Math.sqrt(d/a))};t.prototype.uc=function(a){this.ga.disconnect();this.ga.connect(a)};t.prototype.remove=function(){this.ga.disconnect()};t.prototype.mc=A("ga");X.prototype.kh=
function(a){if(this.V=a)this.ki=this.V.x,this.li=this.V.y;this.re.length=0};X.prototype.bi=function(){return!!this.V};X.prototype.Pa=function(a){this.V&&(this.xk=xa(this.ki,this.li,this.V.x,this.V.y),a=Ea(this.ki,this.li,this.V.x,this.V.y)/a,4>this.re.length||this.re.shift(),this.re.push(a),this.ki=this.V.x,this.li=this.V.y)};X.prototype.ug=function(){if(!this.re.length)return 0;var a,b,d=0;a=0;for(b=this.re.length;a<b;a++)d+=this.re[a];return d/this.re.length};X.prototype.Mm=function(){return Math.cos(this.xk)*
this.ug()};X.prototype.Nm=function(){return Math.sin(this.xk)*this.ug()};var Tb=!1;y.prototype.rm=function(){if(!this.Da&&this.Eh){var a=this;if(F.decodeAudioData)F.decodeAudioData(this.Eh,function(b){a.Da=b;var d,c,e;if(aa(a.Bi))aa(a.Ih)||(d=a.Ih.Ee,d.normalize=a.tn,d.buffer=b);else if(a.Qf.length){d=0;for(c=a.Qf.length;d<c;d++){b=a.Qf[d];e=new C(a,b.fo);e.Zk(!0);if("undefined"!==typeof b.vn&&(b.V=u.Yh(b.vn),!b.V))continue;if(b.V){var h=Da(b.V.x,b.V.y,-b.V.n.tb(),Oa,Pa,!0),f=Da(b.V.x,b.V.y,-b.V.n.tb(),
Oa,Pa,!1);e.Yk(h,f,sa(b.V.q-b.V.n.tb()),b.Xj,b.yk,b.Bk);e.kh(b.V)}else e.Yk(b.x,b.y,b.mp,b.Xj,b.yk,b.Bk);e.play(a.uk,a.ul,a.Ni);a.Ai&&e.pause();M.push(e)}a.Qf.length=0}else e=new C(a,a.Bi),e.play(a.uk,a.ul,a.Ni),a.Ai&&e.pause(),M.push(e)});else if(this.Da=F.createBuffer(this.Eh,!1),aa(this.Bi))aa(this.Ih)||(b=this.Ih.Ee,b.normalize=this.tn,b.buffer=this.Da);else{var b=new C(this,this.Bi);b.play(this.uk,this.ul,this.Ni);this.Ai&&b.pause();M.push(b)}}};C.prototype.wg=function(){switch(this.xa){case G:return this.C.ended;
case D:return this.buffer.xa===D?!this.ae&&!this.Tc&&this.C.loop||this.de?!1:u.qc.Aa-this.startTime>this.buffer.Da.duration:this.C.ended;case Q:return this.Hk;case ia:!0}return!0};C.prototype.zp=function(){return this.ae||this.Tc?!0:this.wg()};C.prototype.Zk=function(a){O===D&&(!this.fd&&a?(this.Na||(this.Na=F.createPanner(),this.Na.panningModel="number"===typeof this.Na.panningModel?tb:["equalpower","HRTF","soundfield"][tb],this.Na.distanceModel="number"===typeof this.Na.distanceModel?ub:["linear",
"inverse","exponential"][ub],this.Na.refDistance=Qb,this.Na.maxDistance=Rb,this.Na.rolloffFactor=Sb),this.mb.disconnect(),this.mb.connect(this.Na),this.Na.connect(n(this.se)),this.fd=!0):this.fd&&!a&&(this.Na.disconnect(),this.mb.disconnect(),this.mb.connect(n(this.se)),this.fd=!1))};C.prototype.Yk=function(a,b,d,c,e,h){this.fd&&O===D&&(this.Na.setPosition(a,b,0),this.Na.setOrientation(Math.cos(P(d)),Math.sin(P(d)),0),this.Na.coneInnerAngle=c,this.Na.coneOuterAngle=e,this.Na.coneOuterGain=h,this.Fn=
a,this.Gn=b,this.Bn=d,this.Cn=c,this.Dn=e,this.En=h)};C.prototype.kh=function(a){this.fd&&O===D&&(this.Ya||(this.Ya=new X),this.Ya.kh(a))};C.prototype.Pa=function(a){if(this.fd&&O===D&&this.Ya&&this.Ya.bi()&&this.Bf()){this.Ya.Pa(a);a=this.Ya.V;var b=Da(a.x,a.y,-a.n.tb(),Oa,Pa,!0),d=Da(a.x,a.y,-a.n.tb(),Oa,Pa,!1);this.Na.setPosition(b,d,0);b=0;"undefined"!==typeof this.Ya.V.q&&(b=a.q-a.n.tb(),this.Na.setOrientation(Math.cos(b),Math.sin(b),0));this.Na.setVelocity(this.Ya.Mm(),this.Ya.Nm(),0)}};C.prototype.play=
function(a,d,c){var e=this.C;this.Dd=a;this.volume=d;c=c||0;switch(this.xa){case G:1!==e.playbackRate&&(e.playbackRate=1);e.volume!==d*za&&(e.volume=d*za);e.loop!==a&&(e.loop=a);e.muted&&(e.muted=!1);if(e.currentTime!==c)try{e.currentTime=c}catch(h){}this.C.play();break;case D:this.muted=!1;this.Wg=1;if(this.buffer.xa===D)this.ae||(this.C=F.createBufferSource(),this.C.buffer=this.buffer.Da,this.C.connect(this.mb)),this.C.loop=a,this.mb.gain.value=d*za,0===c?b(this.C):g(this.C,c,this.vf());else{1!==
e.playbackRate&&(e.playbackRate=1);e.loop!==a&&(e.loop=a);this.mb.gain.value=d*za;if(e.currentTime!==c)try{e.currentTime=c}catch(f){}e.play()}break;case Q:(!this.ae&&this.Tc||0!==c)&&e.seekTo(c);e.play();this.Hk=!1;break;case ia:u.oc?AppMobi.context.playSound(this.src):AppMobi.player.playSound(this.src)}this.playbackRate=1;this.startTime=u.qc.Aa-c;this.de=this.Tc=this.ae=!1};C.prototype.stop=function(){switch(this.xa){case G:this.C.paused||this.C.pause();break;case D:this.buffer.xa===D?a(this.C):
this.C.paused||this.C.pause();break;case Q:this.C.stop()}this.Tc=!0;this.de=!1};C.prototype.pause=function(){if(!(this.ae||this.Tc||this.wg()||this.de)){switch(this.xa){case G:this.C.paused||this.C.pause();break;case D:this.buffer.xa===D?(this.Sc=this.Tj(),this.Dd&&(this.Sc%=this.vf()),a(this.C)):this.C.paused||this.C.pause();break;case Q:this.C.pause()}this.de=!0}};C.prototype.Or=function(a){this.xa===D&&(this.fd?(this.Na.disconnect(),this.Na.connect(a)):(this.mb.disconnect(),this.mb.connect(a)))};
C.prototype.vf=function(){switch(this.xa){case G:if("undefined"!==typeof this.C.duration)return this.C.duration;break;case D:return this.buffer.Da.duration;case Q:return this.C.getDuration()}return 0};C.prototype.Tj=function(){var a=this.vf(),b=0;switch(this.xa){case G:"undefined"!==typeof this.C.currentTime&&(b=this.C.currentTime);break;case D:if(this.buffer.xa===D){if(this.de)return this.Sc;b=u.qc.Aa-this.startTime}else"undefined"!==typeof this.C.currentTime&&(b=this.C.currentTime)}!this.Dd&&b>
a&&(b=a);return b};C.prototype.Bf=function(){return!this.de&&!this.ae&&!this.Tc&&!this.wg()};C.prototype.ks=function(){var a=this.volume*za;switch(this.xa){case G:this.C.volume&&this.C.volume!==a&&(this.C.volume=a);break;case D:this.mb.gain.value=a*this.Wg}};C.prototype.wm=function(a){switch(this.xa){case G:this.C.muted!==!!a&&(this.C.muted=!!a);break;case D:this.Wg=a?0:1,this.mb.gain.value=za*this.volume*this.Wg}};C.prototype.Vn=function(a){this.ik=!!a;this.wm(this.hk||this.ik)};C.prototype.qo=function(){var a=
this.playbackRate;if(1===kb&&!this.Mc||2===kb)a*=u.Xf;switch(this.xa){case G:this.C.playbackRate!==a&&(this.C.playbackRate=a);break;case D:this.buffer.xa===D?this.C.playbackRate.value!==a&&(this.C.playbackRate.value=a):this.C.playbackRate!==a&&(this.C.playbackRate=a)}};C.prototype.$r=function(b){switch(this.xa){case G:b?this.Bf()?(this.C.pause(),this.Gd=!0):this.Gd=!1:this.Gd&&this.C.play();break;case D:b?this.Bf()?(this.buffer.xa===D?(this.Sc=this.Tj(),this.Dd&&(this.Sc%=this.vf()),a(this.C)):this.C.pause(),
this.Gd=!0):this.Gd=!1:this.Gd&&(this.buffer.xa===D?(this.C=F.createBufferSource(),this.C.buffer=this.buffer.Da,this.C.connect(this.mb),this.C.loop=this.Dd,this.mb.gain.value=za*this.volume*this.Wg,this.startTime=u.qc.Aa-this.Sc,g(this.C,this.Sc,this.vf())):this.C.play());break;case Q:b?this.Bf()?(this.C.pause(),this.Gd=!0):this.Gd=!1:this.Gd&&this.C.play()}};x.U=function(a){this.type=a;u=this.b=a.b;K=this;this.Ab=null;this.Rg=-600;F=null;"undefined"!==typeof AudioContext?(O=D,F=new AudioContext):
"undefined"!==typeof webkitAudioContext&&(O=D,F=new webkitAudioContext);this.b.jk&&O===D&&document.addEventListener("touchstart",function(){if(!Tb){var a=F.createBuffer(1,1,22050),d=F.createBufferSource();d.buffer=a;d.connect(F.destination);b(d);Tb=!0}},!0);O!==D&&(this.b.Qe?O=Q:this.b.zf&&(O=ia));O===Q&&(da=location.href,a=da.lastIndexOf("/"),-1<a&&(da=da.substr(0,a+1)),da=da.replace("file://",""));if(this.b.er&&this.b.Ym&&"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.Qd(this);else{if(this.b.oc)jb=this.b.bk;else try{jb=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(d){jb=!1}this.b.Wf(this)}};var Aa=x.U.prototype;Aa.K=function(){kb=this.A[0];this.Id=this.A[1];tb=this.A[2];ub=this.A[3];this.Rg=-this.A[4];Qb=this.A[5];Rb=this.A[6];Sb=this.A[7];this.Ab=new X;O===D&&(F.listener.speedOfSound=this.A[8],F.listener.dopplerFactor=this.A[9],F.listener.setPosition(this.b.width/2,this.b.height/2,this.Rg),F.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=
function(a,b){Ka&&Ka.disconnect();sb=b.toLowerCase();Ka=F.createMediaStreamSource(a);Ka.connect(n(sb))});this.b.$l(function(a){K.Br(a)});var a=this;this.b.qp(function(b){a.qr(b)})};Aa.qr=function(a){var b,d,c;b=0;for(d=M.length;b<d;b++)c=M[b],c.Ya&&c.Ya.V===a&&(c.Ya.V=null,c.fd&&c.Bf()&&c.Dd&&c.stop());this.Ab.V===a&&(this.Ab.V=null)};Aa.Ua=function(){var a={silent:Na,masterVolume:za,listenerZ:this.Rg,listenerUid:this.Ab.bi()?this.Ab.V.uid:-1,playing:[],effects:{}},b=a.playing,d,c,e,h,f,g;d=0;for(c=
M.length;d<c;d++)e=M[d],!e.Bf()||3===this.Id||e.Mc&&1===this.Id||!e.Mc&&2===this.Id||(h=e.Tj(),e.Dd&&(h%=e.vf()),h={tag:e.se,buffersrc:e.buffer.src,is_music:e.Mc,playbackTime:h,volume:e.volume,looping:e.Dd,muted:e.hk,playbackRate:e.playbackRate,paused:e.de,resume_position:e.Sc},e.fd&&(h.pan={},g=h.pan,e.Ya&&e.Ya.bi()?g.objUid=e.Ya.V.uid:(g.x=e.Fn,g.y=e.Gn,g.a=e.Bn),g.ia=e.Cn,g.oa=e.Dn,g.og=e.En),b.push(h));b=a.effects;for(f in R)if(R.hasOwnProperty(f)){e=[];d=0;for(c=R[f].length;d<c;d++)e.push({type:R[f][d].type,
params:R[f][d].Pc});b[f]=e}return a};var Ya=[];Aa.bb=function(a){var b=a.silent;za=a.masterVolume;this.Rg=a.listenerZ;this.Ab.kh(null);var c=a.listenerUid;-1!==c&&(this.Ab.ri=c,Ya.push(this.Ab));var c=a.playing,g,k,m,n,r,C,y,x,u,w,z;if(3!==this.Id)for(g=0,k=M.length;g<k;g++)u=M[g],u.Mc&&1===this.Id||(u.Mc||2!==this.Id)&&u.stop();for(r in R)if(R.hasOwnProperty(r))for(g=0,k=R[r].length;g<k;g++)R[r][g].remove();Ia(R);for(r in a.effects)if(a.effects.hasOwnProperty(r))for(C=a.effects[r],g=0,k=C.length;g<
k;g++)switch(m=C[g].type,w=C[g].params,m){case "filter":I(r,new l(w[0],w[1],w[2],w[3],w[4],w[5]));break;case "delay":I(r,new e(w[0],w[1],w[2]));break;case "convolve":m=w[2];u=this.Nj(m,!1);u.Da?m=new f(u.Da,w[0],w[1],m):(m=new f(null,w[0],w[1],m),u.tn=w[0],u.Ih=m);I(r,m);break;case "flanger":I(r,new h(w[0],w[1],w[2],w[3],w[4]));break;case "phaser":I(r,new d(w[0],w[1],w[2],w[3],w[4],w[5]));break;case "gain":I(r,new p(w[0]));break;case "tremolo":I(r,new L(w[0],w[1]));break;case "ringmod":I(r,new B(w[0],
w[1]));break;case "distortion":I(r,new s(w[0],w[1],w[2],w[3],w[4]));break;case "compressor":I(r,new q(w[0],w[1],w[2],w[3],w[4]));break;case "analyser":I(r,new t(w[0],w[1]))}g=0;for(k=c.length;g<k;g++)3===this.Id||(a=c[g],m=a.buffersrc,n=a.is_music,r=a.tag,C=a.playbackTime,y=a.looping,x=a.volume,z=(w=a.pan)&&w.hasOwnProperty("objUid")?w.objUid:-1,n&&1===this.Id)||!n&&2===this.Id||((u=this.Hm(m,r,n,y,x))?(u.Sc=a.resume_position,u.Zk(!!w),u.play(y,x,C),u.qo(),u.ks(),u.wm(u.hk||u.ik),a.paused&&u.pause(),
a.muted&&u.Ht(),w&&(-1!==z?(u.Ya=u.Ya||new X,u.Ya.ri=z,Ya.push(u.Ya)):u.Yk(w.x,w.y,w.a,w.ia,w.oa,w.og))):(u=this.Nj(m,n),u.Ni=C,u.Ai=a.paused,w&&(-1!==z?u.Qf.push({vn:z,Xj:w.ia,yk:w.oa,Bk:w.og,fo:r}):u.Qf.push({x:w.x,y:w.y,mp:w.a,Xj:w.ia,yk:w.oa,Bk:w.og,fo:r}))));if(b&&!Na){g=0;for(k=M.length;g<k;g++)M[g].Vn(!0);Na=!0}else if(!b&&Na){g=0;for(k=M.length;g<k;g++)M[g].Vn(!1);Na=!1}};Aa.eg=function(){var a,b,d,c;a=0;for(b=Ya.length;a<b;a++)d=Ya[a],c=this.b.Yh(d.ri),d.kh(c),d.ri=-1,c&&(Oa=c.x,Pa=c.y);
Ya.length=0};Aa.Br=function(a){var b,d;b=0;for(d=M.length;b<d;b++)M[b].$r(a)};Aa.Pa=function(){var a=this.b.xd,b,d,c;b=0;for(d=M.length;b<d;b++)c=M[b],c.Pa(a),c.xa===G||c.xa===ia||c.ae||c.Tc||!c.wg()||(c.Tc=!0,N=c.se,u.trigger(cc.prototype.j.gj,K)),0!==kb&&c.qo();var e,h;for(e in R)if(R.hasOwnProperty(e))for(c=R[e],b=0,d=c.length;b<d;b++)h=c[b],h.Pa&&h.Pa();O===D&&this.Ab.bi()&&(this.Ab.Pa(a),Oa=this.Ab.V.x,Pa=this.Ab.V.y,F.listener.setPosition(this.Ab.V.x,this.Ab.V.y,this.Rg),F.listener.setVelocity(this.Ab.Mm(),
this.Ab.Nm(),0))};Aa.Nj=function(a,b){var d,c,e,h=null,f,g,l,k;d=0;for(c=Xa.length;d<c;d++)if(e=Xa[d],e.src===a){h=e;break}h||(h=new y(a,b),Xa.push(h));if(h.Mc&&(u.dd||u.be)){d=0;for(c=Xa.length;d<c;++d)if(e=Xa[d],e!==h&&e.Mc){e.Da=null;g=f=0;for(l=M.length;f<l;++f)k=M[f],M[g]=k,k.buffer===e&&k.xa===D?(k.mb.disconnect(),e.xa===D&&k.C.disconnect()):++g;M.length=g}h.rm()}return h};Aa.Hm=function(a,b,d,c,e){var h,f,g;h=0;for(f=M.length;h<f;h++)if(g=M[h],g.src===a&&(g.zp()||d))return g.se=b,g;a=this.Nj(a,
d);if(!a.Da)return"<preload>"!==b&&(a.Bi=b,a.uk=c,a.ul=e),null;g=new C(a,b);M.push(g);return g};var Ga=[];z.prototype.gj=function(a){return Wa(N,a)};x.j=new z;r.prototype.Play=function(a,b,d,c){!Na&&(d=Math.pow(10,d/20),0>d&&(d=0),1<d&&(d=1),Ma=this.Hm(this.b.Dm+a[0]+(jb?".ogg":".m4a"),c,a[1],0!==b,d))&&(Ma.Zk(!1),Ma.play(0!==b,d))};r.prototype.Ul=function(a){pa(a);var b;a=0;for(b=Ga.length;a<b;a++)Ga[a].stop()};r.prototype.Ah=function(){var a,b;a=0;for(b=M.length;a<b;a++)M[a].stop()};x.k=new r;x.B=
new (v())})();function dc(c){this.b=c}
(function(){function c(){}function n(){}var m=dc.prototype;m.fa=function(c){this.qa=c;this.b=c.b};m.fa.prototype.K=v();m.U=function(c){this.type=c;this.b=c.b};m.U.prototype.K=function(){var c=this;window.addEventListener("resize",function(){c.b.trigger(dc.prototype.j.Uo,c)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){c.b.trigger(dc.prototype.j.Qo,c)}),window.addEventListener("offline",function(){c.b.trigger(dc.prototype.j.Po,c)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){c.b.Hf=1;c.b.trigger(dc.prototype.j.Ql,c)}),window.applicationCache.addEventListener("progress",function(b){c.b.Hf=b.loaded/b.total}));this.b.oc||(document.addEventListener("appMobi.device.update.available",function(){c.b.trigger(dc.prototype.j.Ql,c)}),document.addEventListener("menubutton",function(){c.b.trigger(dc.prototype.j.Kl,c)}),document.addEventListener("searchbutton",function(){c.b.trigger(dc.prototype.j.Vo,c)}),document.addEventListener("tizenhwkey",
function(b){var g;switch(b.keyName){case "back":g=c.b.trigger(dc.prototype.j.Eo,c);!g&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(g=c.b.trigger(dc.prototype.j.Kl,c))||b.preventDefault()}}));this.b.$l(function(b){b?c.b.trigger(dc.prototype.j.Ro,c):c.b.trigger(dc.prototype.j.So,c)});this.ir="undefined"!==typeof window.is_scirra_arcade};c.prototype.Qo=E(!0);c.prototype.Po=E(!0);c.prototype.Ql=E(!0);c.prototype.So=E(!0);c.prototype.Ro=E(!0);c.prototype.Uo=
E(!0);c.prototype.Eo=E(!0);c.prototype.Kl=E(!0);c.prototype.Vo=E(!0);m.j=new c;n.prototype.so=function(c,b){this.b.Cc?CocoonJS.App.openURL(c):this.ir||this.b.wa||window.open(c,b)};m.k=new n;m.B=new (v())})();function ec(c){this.b=c}
(function(){function c(){}function n(){}var m=ec.prototype;m.fa=function(b){this.qa=b;this.b=b.b};m.fa.prototype.K=v();m.U=function(b){this.type=b;this.b=b.b};var k=m.U.prototype;k.K=function(){this.b.wa?H("[Construct 2] Button plugin not supported on this platform - the object will not be created"):(this.Af=1===this.A[0],this.Bc=document.createElement("input"),this.u=this.Af?document.createElement("label"):this.Bc,this.Gg=null,this.Bc.type=this.Af?"checkbox":"button",this.Bc.id=this.A[6],jQuery(this.u).appendTo(this.b.qf?
this.b.qf:"body"),this.Af?(jQuery(this.Bc).appendTo(this.u),this.Gg=document.createTextNode(this.A[1]),jQuery(this.u).append(this.Gg),this.Bc.checked=0!==this.A[7],jQuery(this.u).css("font-family","sans-serif"),jQuery(this.u).css("display","inline-block"),jQuery(this.u).css("color","black")):this.Bc.value=this.A[1],this.u.title=this.A[2],this.Bc.disabled=0===this.A[4],this.pj=0!==this.A[5],this.Ib=!1,0===this.A[3]&&(jQuery(this.u).hide(),this.visible=!1,this.Ib=!0),this.Bc.onclick=function(b){return function(c){c.stopPropagation();
b.b.trigger(ec.prototype.j.zh,b)}}(this),this.u.addEventListener("touchstart",function(b){b.stopPropagation()},!1),this.u.addEventListener("touchmove",function(b){b.stopPropagation()},!1),this.u.addEventListener("touchend",function(b){b.stopPropagation()},!1),jQuery(this.u).mousedown(function(b){b.stopPropagation()}),jQuery(this.u).mouseup(function(b){b.stopPropagation()}),jQuery(this.u).keydown(function(b){b.stopPropagation()}),jQuery(this.u).keyup(function(b){b.stopPropagation()}),this.Ng=this.Og=
this.Hg=this.Lg=this.Mg=this.Jg=0,this.rh(!0),this.b.Wf(this))};k.Ua=function(){var b={tooltip:this.u.title,disabled:!!this.Bc.disabled};this.Af?(b.checked=!!this.Bc.checked,b.text=this.Gg.nodeValue):b.text=this.u.value;return b};k.bb=function(b){this.u.title=b.tooltip;this.Bc.disabled=b.disabled;this.Af?(this.Bc.checked=b.checked,this.Gg.nodeValue=b.text):this.u.value=b.text};k.je=function(){this.b.wa||(jQuery(this.u).remove(),this.u=null)};k.Pa=function(){this.rh()};k.rh=function(b){if(!this.b.wa){var c=
this.n.la(this.x,this.y,!0),a=this.n.la(this.x,this.y,!1),l=this.n.la(this.x+this.width,this.y+this.height,!0),e=this.n.la(this.x+this.width,this.y+this.height,!1);if(!this.visible||!this.n.visible||0>=l||0>=e||c>=this.b.width||a>=this.b.height)this.Ib||jQuery(this.u).hide(),this.Ib=!0;else{1>c&&(c=1);1>a&&(a=1);l>=this.b.width&&(l=this.b.width-1);e>=this.b.height&&(e=this.b.height-1);var f=window.innerWidth,h=window.innerHeight;b||this.Jg!==c||this.Mg!==a||this.Lg!==l||this.Hg!==e||this.Og!==f||
this.Ng!==h?(this.Jg=c,this.Mg=a,this.Lg=l,this.Hg=e,this.Og=f,this.Ng=h,this.Ib&&(jQuery(this.u).show(),this.Ib=!1),b=Math.round(c)+jQuery(this.b.canvas).offset().left,f=Math.round(a)+jQuery(this.b.canvas).offset().top,jQuery(this.u).css("position","absolute"),jQuery(this.u).offset({left:b,top:f}),jQuery(this.u).width(Math.round(l-c)),jQuery(this.u).height(Math.round(e-a)),this.pj&&jQuery(this.u).css("font-size",this.n.zb()/this.b.devicePixelRatio-0.2+"em")):this.Ib&&(jQuery(this.u).show(),this.Ib=
!1)}}};k.Ac=v();k.Rb=v();c.prototype.zh=E(!0);m.j=new c;n.prototype.Ma=function(b){this.b.wa||(this.Af?this.Gg.nodeValue=b:this.u.value=b)};n.prototype.Db=function(b){this.b.wa||(this.visible=0!==b)};m.k=new n;m.B=new (v())})();function fc(c){this.b=c}
(function(){function c(){}var n=fc.prototype;n.fa=function(b){this.qa=b;this.b=b.b};n.fa.prototype.K=v();n.U=function(b){this.type=b;this.b=b.b;this.ji=Array(256);this.Yi=Array(256);this.ue=0};var m=n.U.prototype;m.K=function(){var b=this;this.b.wa||(jQuery(document).keydown(function(c){b.rr(c)}),jQuery(document).keyup(function(c){b.sr(c)}))};var k=[32,33,34,35,36,37,38,39,40,44];m.rr=function(b){var c=!1;window!=window.top&&-1<k.indexOf(b.which)&&(b.preventDefault(),c=!0,b.stopPropagation());if(this.ji[b.which])this.Yi[b.which]&&
!c&&b.preventDefault();else{this.ji[b.which]=!0;this.ue=b.which;this.b.trigger(fc.prototype.j.Co,this);var a=this.b.trigger(fc.prototype.j.Jo,this),l=this.b.trigger(fc.prototype.j.Ko,this);if(a||l)this.Yi[b.which]=!0,c||b.preventDefault()}};m.sr=function(b){this.ji[b.which]=!1;this.ue=b.which;this.b.trigger(fc.prototype.j.Do,this);var c=this.b.trigger(fc.prototype.j.Mo,this),a=this.b.trigger(fc.prototype.j.Lo,this);if(c||a||this.Yi[b.which])this.Yi[b.which]=!0,b.preventDefault()};m.Ua=function(){return{triggerKey:this.ue}};
m.bb=function(b){this.ue=b.triggerKey};c.prototype.vo=function(b){return this.ji[b]};c.prototype.Jo=function(b){return b===this.ue};c.prototype.Co=E(!0);c.prototype.Do=E(!0);c.prototype.Mo=function(b){return b===this.ue};c.prototype.Ko=function(b){return b===this.ue};c.prototype.Lo=function(b){return b===this.ue};n.j=new c;n.k=new (v());n.B=new (v())})();function V(c){this.b=c}
(function(){function c(){if(0===this.Cj.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Sf?b.drawImage(this.X,this.Of,this.Pf,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.X,0,0,this.width,this.height);this.Cj=a.toDataURL("image/png")}return this.Cj}function n(){}function m(){}var k=V.prototype;k.fa=function(a){this.qa=a;this.b=a.b};var b=k.fa.prototype;b.K=function(){if(!this.O){var a,b,e,f,g,l,k,m,n;this.Jc=
[];this.ci=!1;a=0;for(b=this.Pb.length;a<b;a++){g=this.Pb[a];k={};k.name=g[0];k.speed=g[1];k.loop=g[2];k.Rk=g[3];k.Ki=g[4];k.Hn=g[5];k.Z=g[6];k.frames=[];e=0;for(f=g[7].length;e<f;e++)l=g[7][e],m={},m.hl=l[0],m.il=l[1],m.Of=l[2],m.Pf=l[3],m.width=l[4],m.height=l[5],m.duration=l[6],m.Jb=l[7],m.Kb=l[8],m.Yj=l[9],m.Ci=l[10],m.In=l[11],m.Sf=0!==m.width,m.Cj="",m.Dt=c,n={left:0,top:0,right:1,bottom:1},m.bl=n,m.Ea=null,(n=this.b.qq(l[0]))?m.X=n:(m.X=new Image,m.X.idtkLoadDisposed=!0,m.X.src=l[0],m.X.Ap=
l[0],m.X.nm=l[1],m.X.xp=null,this.b.Od.push(m.X)),k.frames.push(m),this.Jc.push(m);this.Pb[a]=k}}};b.js=function(){var a,b,c;a=0;for(b=this.d.length;a<b;a++)c=this.d[a],c.Jh=c.wc.Ea};b.yi=function(){if(!this.O){var a,b,c;a=0;for(b=this.Jc.length;a<b;++a)c=this.Jc[a],c.X.xp=null,c.Ea=null}};b.Dk=function(){if(!this.O&&this.d.length){var a,b,c;a=0;for(b=this.Jc.length;a<b;++a)c=this.Jc[a],c.Ea=this.b.F.qi(c.X,!1,this.b.Ha,c.In);this.js()}};b.ok=function(){if(!this.O&&!this.ci&&this.b.F){var a,b,c;a=
0;for(b=this.Jc.length;a<b;++a)c=this.Jc[a],c.Ea=this.b.F.qi(c.X,!1,this.b.Ha,c.In);this.ci=!0}};b.ql=function(){if(!this.O&&!this.d.length&&this.ci){var a,b,c;a=0;for(b=this.Jc.length;a<b;++a)c=this.Jc[a],this.b.F.deleteTexture(c.Ea);this.ci=!1}};var g=[];b.Kk=function(a){var b,c,e;b=g.length=0;for(c=this.Jc.length;b<c;++b)e=this.Jc[b].X,-1===g.indexOf(e)&&(a.drawImage(e,0,0),g.push(e))};k.U=function(a){this.type=a;this.b=a.b;a=this.type.Pb[0].frames[0].Ci;this.Zb?this.Ba.mh(a):this.Ba=new Sa(a)};
var a=k.U.prototype;a.K=function(){this.visible=0===this.A[0];this.Zj=this.fk=!1;this.Wd=0!==this.A[3];1===this.type.Pb.length&&1===this.type.Pb[0].frames.length||0===this.type.Pb[0].speed||(this.b.Wf(this),this.fk=!0);this.Ka=this.Gm(this.A[1])||this.type.Pb[0];this.G=this.A[2];0>this.G&&(this.G=0);this.G>=this.Ka.frames.length&&(this.G=this.Ka.frames.length-1);var a=this.Ka.frames[this.G];this.Ba.mh(a.Ci);this.Jb=a.Jb;this.Kb=a.Kb;this.kg=this.Ka.speed;this.Zb?this.Wc.reset():this.Wc=new Qa;this.yd=
this.Wc.Aa;this.ze=!0;this.rd=0;this.ye=!0;this.Hh=this.cm="";this.km=0;this.uj=-1;this.type.ok();var b,c,e,f,g,l,k,a=0;for(b=this.type.Pb.length;a<b;a++)for(f=this.type.Pb[a],c=0,e=f.frames.length;c<e;c++)g=f.frames[c],0===g.width&&(g.width=g.X.width,g.height=g.X.height),g.Sf&&(k=g.X,l=g.bl,l.left=g.Of/k.width,l.top=g.Pf/k.height,l.right=(g.Of+g.width)/k.width,l.bottom=(g.Pf+g.height)/k.height,0===g.Of&&0===g.Pf&&g.width===k.width&&g.height===k.height&&(g.Sf=!1));this.wc=this.Ka.frames[this.G];this.Jh=
this.wc.Ea};a.Ua=function(){var a={a:this.Ka.Z,f:this.G,cas:this.kg,fs:this.yd,ar:this.rd,at:this.Wc.Aa};this.ze||(a.ap=this.ze);this.ye||(a.af=this.ye);return a};a.bb=function(a){var b=this.uq(a.a);b&&(this.Ka=b);this.G=a.f;0>this.G&&(this.G=0);this.G>=this.Ka.frames.length&&(this.G=this.Ka.frames.length-1);this.kg=a.cas;this.yd=a.fs;this.rd=a.ar;this.Wc.reset();this.Wc.Aa=a.at;this.ze=a.hasOwnProperty("ap")?a.ap:!0;this.ye=a.hasOwnProperty("af")?a.af:!0;this.wc=this.Ka.frames[this.G];this.Jh=this.wc.Ea;
this.Ba.mh(this.wc.Ci);this.Jb=this.wc.Jb;this.Kb=this.wc.Kb};a.oj=function(a){this.G=a?0:this.Ka.frames.length-1;this.ze=!1;this.cm=this.Ka.name;this.Zj=!0;this.b.trigger(V.prototype.j.Bo,this);this.b.trigger(V.prototype.j.Ao,this);this.Zj=!1;this.rd=0};a.Ft=function(){return this.Wc.Aa};a.Pa=function(){this.Wc.add(this.b.Ke(this));this.Hh.length&&this.tm();0<=this.uj&&this.Ep();var a=this.Wc.Aa,b=this.Ka,c=b.frames[this.G],e=c.duration/this.kg;this.ze&&a>=this.yd+e&&(this.ye?this.G++:this.G--,this.yd+=
e,this.G>=b.frames.length&&(b.Hn?(this.ye=!1,this.G=b.frames.length-2):b.loop?this.G=b.Ki:(this.rd++,this.rd>=b.Rk?this.oj(!1):this.G=b.Ki)),0>this.G&&(b.Hn?(this.G=1,this.ye=!0,b.loop||(this.rd++,this.rd>=b.Rk&&this.oj(!0))):b.loop?this.G=b.Ki:(this.rd++,this.rd>=b.Rk?this.oj(!0):this.G=b.Ki)),0>this.G?this.G=0:this.G>=b.frames.length&&(this.G=b.frames.length-1),a>this.yd+b.frames[this.G].duration/this.kg&&(this.yd=a),a=b.frames[this.G],this.dg(c,a),this.b.ja=!0)};a.Gm=function(a){var b,c,e;b=0;
for(c=this.type.Pb.length;b<c;b++)if(e=this.type.Pb[b],Wa(e.name,a))return e;return null};a.uq=function(a){var b,c,e;b=0;for(c=this.type.Pb.length;b<c;b++)if(e=this.type.Pb[b],e.Z===a)return e;return null};a.tm=function(){var a=this.Ka.frames[this.G],b=this.Gm(this.Hh);this.Hh="";!b||Wa(b.name,this.Ka.name)&&this.ze||(this.Ka=b,this.kg=b.speed,0>this.G&&(this.G=0),this.G>=this.Ka.frames.length&&(this.G=this.Ka.frames.length-1),1===this.km&&(this.G=0),this.ze=!0,this.yd=this.Wc.Aa,this.ye=!0,this.dg(a,
this.Ka.frames[this.G]),this.b.ja=!0)};a.Ep=function(){var a=this.Ka.frames[this.G],b=this.G;this.G=ja(this.uj);0>this.G&&(this.G=0);this.G>=this.Ka.frames.length&&(this.G=this.Ka.frames.length-1);b!==this.G&&(this.dg(a,this.Ka.frames[this.G]),this.yd=this.Wc.Aa,this.b.ja=!0);this.uj=-1};a.dg=function(a,b){var c=a.width,e=a.height,f=b.width,g=b.height;c!=f&&(this.width*=f/c);e!=g&&(this.height*=g/e);this.Jb=b.Jb;this.Kb=b.Kb;this.Ba.mh(b.Ci);this.W();this.wc=b;this.Jh=b.Ea;c=0;for(e=this.aa.length;c<
e;c++)f=this.aa[c],f.xn&&f.xn(a,b);this.b.trigger(V.prototype.j.dg,this)};a.Ac=function(a){a.globalAlpha=this.opacity;var b=this.wc,c=b.Sf,e=b.X,f=this.x,g=this.y,l=this.width,k=this.height;if(0===this.q&&0<=l&&0<=k)f-=this.Jb*l,g-=this.Kb*k,this.b.jd&&(f=f+0.5|0,g=g+0.5|0),c?a.drawImage(e,b.Of,b.Pf,b.width,b.height,f,g,l,k):a.drawImage(e,f,g,l,k);else{this.b.jd&&(f=f+0.5|0,g=g+0.5|0);a.save();var m=0<l?1:-1,n=0<k?1:-1;a.translate(f,g);1===m&&1===n||a.scale(m,n);a.rotate(this.q*m*n);f=0-this.Jb*ea(l);
g=0-this.Kb*ea(k);c?a.drawImage(e,b.Of,b.Pf,b.width,b.height,f,g,ea(l),ea(k)):a.drawImage(e,f,g,ea(l),ea(k));a.restore()}};a.Rb=function(a){a.sc(this.Jh);a.$e(this.opacity);var b=this.wc,c=this.rb;if(this.b.jd){var e=(this.x+0.5|0)-this.x,f=(this.y+0.5|0)-this.y;b.Sf?a.kd(c.Ia+e,c.Ja+f,c.ob+e,c.pb+f,c.kb+e,c.lb+f,c.ib+e,c.jb+f,b.bl):a.Ji(c.Ia+e,c.Ja+f,c.ob+e,c.pb+f,c.kb+e,c.lb+f,c.ib+e,c.jb+f)}else b.Sf?a.kd(c.Ia,c.Ja,c.ob,c.pb,c.kb,c.lb,c.ib,c.jb,b.bl):a.Ji(c.Ia,c.Ja,c.ob,c.pb,c.kb,c.lb,c.ib,c.jb)};
a.zq=function(a){var b=this.wc,c,e;c=0;for(e=b.Yj.length;c<e;c++)if(Wa(a,b.Yj[c][0]))return c;return-1};a.rg=function(a,b){var c=this.wc,e=c.Yj,f;f=J(a)?this.zq(a):a-1;f=ja(f);if(0>f||f>=e.length)return b?this.x:this.y;var g=(e[f][1]-c.Jb)*this.width,e=e[f][2],e=(e-c.Kb)*this.height,c=Math.cos(this.q);f=Math.sin(this.q);var l=g*c-e*f,e=e*c+g*f,g=l+this.x,e=e+this.y;return b?g:e};var l=null,e=new La,f=!1;b.finish=function(a){if(f){if(a){var b=this.b.ub().Hb.Fc;a=l.pa();var c=e.Zf(),g,k;if(a.ta){a.ta=
!1;a.d.length=c.length;g=0;for(k=c.length;g<k;g++)a.d[g]=c[g];if(b)for(g=a.na.length=0,k=l.d.length;g<k;g++)b=l.d[g],e.contains(b)||a.na.push(b)}else{var m=a.d.length;a.d.length=m+c.length;g=0;for(k=c.length;g<k;g++)a.d[m+g]=c[g],b&&ra(a.na,c[g])}l.fg()}e.clear();f=!1}};n.prototype.Fl=function(a){if(a){var b=!1,c,g,k,m=this.b.Pj(),n=m.type,m=m.yf;c=a.pa();g=this.b.ub().Hb.Fc;var t;t=c.ta?c.type.d:g?c.na:c.d;l=a;f=n!==a&&!m;c=0;for(g=t.length;c<g;c++)if(k=t[c],this.b.cf(this,k)){b=!0;if(m)break;n!==
a&&e.add(k)}a=b}else a=!1;return a};n.prototype.Ao=function(a){return Wa(this.cm,a)};n.prototype.Bo=E(!0);n.prototype.dg=E(!0);k.j=new n;m.prototype.ep=function(a,b,c){if(a&&b&&(b=this.b.xj(a,b,this.rg(c,!0),this.rg(c,!1)))){"undefined"!==typeof b.q&&(b.q=this.q,b.W());this.b.pc++;var e,f,g;this.b.trigger(Object.getPrototypeOf(a.qa).j.cg,b);if(b.Lb)for(e=0,f=b.siblings.length;e<f;e++)g=b.siblings[e],this.b.trigger(Object.getPrototypeOf(g.type.qa).j.cg,g);this.b.pc--;e=this.b.wq();c=!1;if(aa(e.ba.Tl)||
e.ba.Tl<this.b.Ie)c=!0,e.ba.Tl=this.b.Ie;if(a!=this.type&&(a=a.pa(),a.ta=!1,c?(a.d.length=1,a.d[0]=b):a.d.push(b),b.Lb))for(e=0,f=b.siblings.length;e<f;e++)g=b.siblings[e],a=g.type.pa(),a.ta=!1,c?(a.d.length=1,a.d[0]=g):a.d.push(g)}};m.prototype.bp=function(a,b){this.Hh=a;this.km=b;this.fk||(this.b.Wf(this),this.fk=!0);this.Zj||this.tm()};k.k=new m;k.B=new (v())})();function W(c){this.b=c}
(function(){function c(){return l.length?l.pop():{}}function n(a){var b,c;b=0;for(c=a.length;b<c;b++)l.push(a[b]);a.length=0}function m(){}function k(){}var b=W.prototype;b.K=function(){b.k.dp=function(a){this.width!==a&&(this.width=a,this.ff=!0,this.W())}};b.fa=function(a){this.qa=a;this.b=a.b};var g=b.fa.prototype;g.K=v();g.yi=function(){if(!this.O){var a,b,c;a=0;for(b=this.d.length;a<b;a++)c=this.d[a],c.ed=null,c.Xe=null,c.Ub=null}};b.U=function(a){this.type=a;this.b=a.b;this.Zb?this.he.length=
0:this.he=[];this.ff=!0};g=b.U.prototype;g.K=function(){this.text=this.A[0];this.visible=0===this.A[1];this.font=this.A[2];this.color=this.A[3];this.ai=this.A[4];this.Zi=this.A[5];this.yl=0===this.A[7];this.kk=this.Ue=this.width;this.Te=this.height;this.mk=this.A[8];this.Th=this.tf="";this.co=this.eo=this.fh=0;this.Cr();this.Ub=this.Xe=this.ed=null;this.rn=!1;this.Qg=this.b.Ld;this.Zb?this.le.set(0,0,1,1):this.le=new la(0,0,1,1);this.b.F&&this.b.Wf(this)};g.Cr=function(){var a=this.font.split(" "),
b;for(b=0;b<a.length;b++)if("pt"===a[b].substr(a[b].length-2,2)){this.fh=parseInt(a[b].substr(0,a[b].length-2));this.Mk=Math.ceil(96*(this.fh/72))+4;0<b&&(this.Th=a[b-1]);this.tf=a[b+1];for(b+=2;b<a.length;b++)this.tf+=" "+a[b];break}};g.Ua=function(){return{t:this.text,f:this.font,c:this.color,ha:this.ai,va:this.Zi,wr:this.yl,lho:this.mk,fn:this.tf,fs:this.Th,ps:this.fh,pxh:this.Mk,tw:this.eo,th:this.co,lrt:this.Qg}};g.bb=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.ai=a.ha;this.Zi=
a.va;this.yl=a.wr;this.mk=a.lho;this.tf=a.fn;this.Th=a.fs;this.fh=a.ps;this.Mk=a.pxh;this.eo=a.tw;this.co=a.th;this.Qg=a.lrt;this.ff=!0;this.kk=this.Ue=this.width;this.Te=this.height};g.Pa=function(){if(this.b.F&&this.Ub&&300<=this.b.Ld-this.Qg){var a=this.n;this.ac();var b=this.$;if(b.right<a.ec||b.bottom<a.gc||b.left>a.fc||b.top>a.cc)this.b.F.deleteTexture(this.Ub),this.ed=this.Xe=this.Ub=null}};g.je=function(){this.ed=this.Xe=null;this.b.F&&this.Ub&&this.b.F.deleteTexture(this.Ub);this.Ub=null};
g.Ot=function(){this.font=this.Th+" "+this.fh.toString()+"pt "+this.tf;this.ff=!0;this.b.ja=!0};g.Ac=function(a,b){a.font=this.font;a.textBaseline="top";a.fillStyle=this.color;a.globalAlpha=b?1:this.opacity;var c=1;b&&(c=this.n.zb(),a.save(),a.scale(c,c));if(this.ff||this.width!==this.kk)this.type.qa.kp(this.text,this.he,a,this.width,this.yl),this.ff=!1,this.kk=this.width;this.ac();var c=b?0:this.rb.Ia,d=b?0:this.rb.Ja;this.b.jd&&(c=c+0.5|0,d=d+0.5|0);0===this.q||b||(a.save(),a.translate(c,d),a.rotate(this.q),
d=c=0);var g=d+this.height,l=this.Mk,l=l+this.mk*this.b.devicePixelRatio,k,m;1===this.Zi?d+=Math.max(this.height/2-this.he.length*l/2,0):2===this.Zi&&(d+=Math.max(this.height-this.he.length*l-2,0));for(m=0;m<this.he.length&&!(k=c,1===this.ai?k=c+(this.width-this.he[m].width)/2:2===this.ai&&(k=c+(this.width-this.he[m].width)),a.fillText(this.he[m].text,k,d),d+=l,d>=g-l);m++);(0!==this.q||b)&&a.restore();this.Qg=this.b.Ld};g.Rb=function(a){if(!(1>this.width||1>this.height)){var b=this.ff||this.rn;this.rn=
!1;var c=this.n.zb(),d=this.n.tb(),g=this.le,l=c*this.width,k=c*this.height,m=Math.ceil(l),n=Math.ceil(k),t=this.b.width/2,X=this.b.height/2;this.Xe||(this.ed=document.createElement("canvas"),this.ed.width=m,this.ed.height=n,this.Ue=m,this.Te=n,b=!0,this.Xe=this.ed.getContext("2d"));if(m!==this.Ue||n!==this.Te)this.ed.width=m,this.ed.height=n,this.Ub&&(a.deleteTexture(this.Ub),this.Ub=null),b=!0;b&&(this.Xe.clearRect(0,0,m,n),this.Ac(this.Xe,!0),this.Ub||(this.Ub=a.ud(m,n,this.b.Ha,this.b.dd)),a.rs(this.ed,
this.Ub,this.b.dd));this.Ue=m;this.Te=n;a.sc(this.Ub);a.$e(this.opacity);a.ld();a.translate(-t,-X);a.od();var y=this.rb,b=this.n.la(y.Ia,y.Ja,!0),t=this.n.la(y.Ia,y.Ja,!1),X=this.n.la(y.ob,y.pb,!0),C=this.n.la(y.ob,y.pb,!1),pa=this.n.la(y.kb,y.lb,!0),I=this.n.la(y.kb,y.lb,!1),z=this.n.la(y.ib,y.jb,!0),y=this.n.la(y.ib,y.jb,!1);if(this.b.jd||0===this.q&&0===d)var r=(b+0.5|0)-b,x=(t+0.5|0)-t,b=b+r,t=t+x,X=X+r,C=C+x,pa=pa+r,I=I+x,z=z+r,y=y+x;0===this.q&&0===d?(X=b+m,C=t,pa=X,I=t+n,z=b,y=I,g.right=1,
g.bottom=1):(g.right=l/m,g.bottom=k/n);a.kd(b,t,X,C,pa,I,z,y,g);a.ld();a.scale(c,c);a.Tk(-this.n.tb());a.translate((this.n.ec+this.n.fc)/-2,(this.n.gc+this.n.cc)/-2);a.od();this.Qg=this.b.Ld}};var a=[];b.ip=function(b){a.length=0;for(var c="",g,d=0;d<b.length;)if(g=b.charAt(d),"\n"===g)c.length&&(a.push(c),c=""),a.push("\n"),++d;else if(" "===g||"\t"===g||"-"===g){do c+=b.charAt(d),d++;while(d<b.length&&(" "===b.charAt(d)||"\t"===b.charAt(d)));a.push(c);c=""}else d<b.length&&(c+=g,d++);c.length&&
a.push(c)};var l=[];b.kp=function(a,b,g,d,l){if(a&&a.length)if(2>=d)n(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var k=g.measureText(a).width;if(k<=d){n(b);b.push(c());b[0].text=a;b[0].width=k;return}}this.lp(a,b,g,d,l)}else n(b)};b.lp=function(b,g,h,d,k){k&&(this.ip(b),b=a);var m="",n,s,q,t=0;for(q=0;q<b.length;q++)"\n"===b[q]?(t>=g.length&&g.push(c()),s=g[t],s.text=m,s.width=h.measureText(m).width,t++,m=""):(n=m,m+=b[q],s=h.measureText(m).width,s>=d&&(t>=g.length&&g.push(c()),s=g[t],s.text=
n,s.width=h.measureText(n).width,t++,m=b[q],k||" "!==m||(m="")));m.length&&(t>=g.length&&g.push(c()),s=g[t],s.text=m,s.width=h.measureText(m).width,t++);for(q=t;q<g.length;q++)l.push(g[q]);g.length=t};b.j=new (v());m.prototype.Ma=function(a){ba(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.ff=!0,this.b.ja=!0)};b.k=new m;k.prototype.Vl=function(a){a.fb(this.text)};b.B=new k})();function gc(c){this.b=c}
(function(){function c(){}function n(){}function m(){}var k=gc.prototype;k.fa=function(a){this.qa=a;this.b=a.b};k.fa.prototype.K=v();k.U=function(a){this.type=a;this.b=a.b};var b=k.U.prototype,g="text password email number tel url".split(" ");-1<navigator.userAgent.indexOf("MSIE 9")&&(g[2]="text",g[3]="text",g[4]="text",g[5]="text");b.K=function(){if(this.b.wa)H("[Construct 2] Textbox plugin not supported on this platform - the object will not be created");else{6===this.A[7]?(this.u=document.createElement("textarea"),
jQuery(this.u).css("resize","none")):(this.u=document.createElement("input"),this.u.type=g[this.A[7]]);this.u.id=this.A[9];jQuery(this.u).appendTo(this.b.qf?this.b.qf:"body");this.u.autocomplete="off";this.u.value=this.A[0];this.u.placeholder=this.A[1];this.u.title=this.A[2];this.u.disabled=0===this.A[4];this.u.readOnly=1===this.A[5];this.u.spellcheck=1===this.A[6];this.pj=0!==this.A[8];this.Ib=!1;0===this.A[3]&&(jQuery(this.u).hide(),this.visible=!1,this.Ib=!0);var a=function(a){return function(){a.b.trigger(gc.prototype.j.Wo,
a)}}(this);this.u.oninput=a;-1!==navigator.userAgent.indexOf("MSIE")&&(this.u.oncut=a);this.u.onclick=function(a){return function(b){b.stopPropagation();a.b.trigger(gc.prototype.j.zh,a)}}(this);this.u.ondblclick=function(a){return function(b){b.stopPropagation();a.b.trigger(gc.prototype.j.Io,a)}}(this);this.u.addEventListener("touchstart",function(a){a.stopPropagation()},!1);this.u.addEventListener("touchmove",function(a){a.stopPropagation()},!1);this.u.addEventListener("touchend",function(a){a.stopPropagation()},
!1);jQuery(this.u).mousedown(function(a){a.stopPropagation()});jQuery(this.u).mouseup(function(a){a.stopPropagation()});jQuery(this.u).keydown(function(a){13!==a.which&&27!=a.which&&a.stopPropagation()});jQuery(this.u).keyup(function(a){13!==a.which&&27!=a.which&&a.stopPropagation()});this.Ng=this.Og=this.Hg=this.Lg=this.Mg=this.Jg=0;this.rh(!0);this.b.Wf(this)}};b.Ua=function(){return{text:this.u.value,placeholder:this.u.placeholder,tooltip:this.u.title,disabled:!!this.u.disabled,readonly:!!this.u.readOnly,
spellcheck:!!this.u.spellcheck}};b.bb=function(a){this.u.value=a.text;this.u.placeholder=a.placeholder;this.u.title=a.tooltip;this.u.disabled=a.disabled;this.u.readOnly=a.readonly;this.u.spellcheck=a.spellcheck};b.je=function(){this.b.wa||(jQuery(this.u).remove(),this.u=null)};b.Pa=function(){this.rh()};b.rh=function(a){if(!this.b.wa){var b=this.n.la(this.x,this.y,!0),c=this.n.la(this.x,this.y,!1),g=this.n.la(this.x+this.width,this.y+this.height,!0),h=this.n.la(this.x+this.width,this.y+this.height,
!1);if(!this.visible||!this.n.visible||0>=g||0>=h||b>=this.b.width||c>=this.b.height)this.Ib||jQuery(this.u).hide(),this.Ib=!0;else{1>b&&(b=1);1>c&&(c=1);g>=this.b.width&&(g=this.b.width-1);h>=this.b.height&&(h=this.b.height-1);var d=window.innerWidth,k=window.innerHeight;a||this.Jg!==b||this.Mg!==c||this.Lg!==g||this.Hg!==h||this.Og!==d||this.Ng!==k?(this.Jg=b,this.Mg=c,this.Lg=g,this.Hg=h,this.Og=d,this.Ng=k,this.Ib&&(jQuery(this.u).show(),this.Ib=!1),a=Math.round(b)+jQuery(this.b.canvas).offset().left,
d=Math.round(c)+jQuery(this.b.canvas).offset().top,jQuery(this.u).css("position","absolute"),jQuery(this.u).offset({left:a,top:d}),jQuery(this.u).width(Math.round(g-b)),jQuery(this.u).height(Math.round(h-c)),this.pj&&jQuery(this.u).css("font-size",this.n.zb()/this.b.devicePixelRatio-0.2+"em")):this.Ib&&(jQuery(this.u).show(),this.Ib=!1)}}};b.Ac=v();b.Rb=v();c.prototype.Wo=E(!0);c.prototype.zh=E(!0);c.prototype.Io=E(!0);k.j=new c;n.prototype.Ma=function(a){this.b.wa||(this.u.value=a)};n.prototype.Db=
function(a){this.b.wa||(this.visible=0!==a)};k.k=new n;m.prototype.Vl=function(a){this.b.wa?a.fb(""):a.fb(this.u.value)};k.B=new m})();function Y(c){this.b=c}
(function(){var c=Y.prototype;c.fa=function(c){this.qa=c;this.b=c.b};var n=c.fa.prototype;n.K=function(){this.O||(this.X=new Image,this.X.idtkLoadDisposed=!0,this.X.src=this.hl,this.X.nm=this.il,this.b.Od.push(this.X),this.Ea=this.pattern=null)};n.yi=function(){this.O||(this.Ea=null)};n.Dk=function(){if(!this.O&&this.d.length){this.Ea||(this.Ea=this.b.F.qi(this.X,!0,this.b.Ha,this.jl));var c,k;c=0;for(k=this.d.length;c<k;c++)this.d[c].Ea=this.Ea}};n.ok=function(){this.O||this.Ea||!this.b.F||(this.Ea=
this.b.F.qi(this.X,!0,this.b.Ha,this.jl))};n.ql=function(){this.O||this.d.length||!this.Ea||(this.b.F.deleteTexture(this.Ea),this.Ea=null)};n.Kk=function(c){c.drawImage(this.X,0,0)};c.U=function(c){this.type=c;this.b=c.b};n=c.U.prototype;n.K=function(){this.visible=0===this.A[0];this.le=new la(0,0,0,0);this.Qm=!1;this.X=this.type.X;this.b.F?(this.type.ok(),this.Ea=this.type.Ea):(this.type.pattern||(this.type.pattern=this.b.ra.createPattern(this.type.X,"repeat")),this.pattern=this.type.pattern)};n.eg=
function(){this.Qm=!1;this.X=this.type.X};n.je=function(){this.b.F&&this.Qm&&this.Ea&&(this.b.F.deleteTexture(this.Ea),this.Ea=null)};n.Ac=function(c){c.globalAlpha=this.opacity;c.save();c.fillStyle=this.pattern;var k=this.x,b=this.y;this.b.jd&&(k=k+0.5|0,b=b+0.5|0);var g=-(this.Jb*this.width),a=-(this.Kb*this.height),l=g%this.X.width,e=a%this.X.height;0>l&&(l+=this.X.width);0>e&&(e+=this.X.height);c.translate(k,b);c.rotate(this.q);c.translate(l,e);c.fillRect(g-l,a-e,this.width,this.height);c.restore()};
n.Rb=function(c){c.sc(this.Ea);c.$e(this.opacity);var k=this.le;k.right=this.width/this.X.width;k.bottom=this.height/this.X.height;var b=this.rb;if(this.b.jd){var g=(this.x+0.5|0)-this.x,a=(this.y+0.5|0)-this.y;c.kd(b.Ia+g,b.Ja+a,b.ob+g,b.pb+a,b.kb+g,b.lb+a,b.ib+g,b.jb+a,k)}else c.kd(b.Ia,b.Ja,b.ob,b.pb,b.kb,b.lb,b.ib,b.jb,k)};c.j=new (v());c.k=new (v());c.B=new (v())})();function Z(c){this.b=c}
(function(){function c(a){l=a.x;e=a.y;f=a.z}function n(a){h=a.x;d=a.y;p=a.z}function m(){}function k(){}var b=Z.prototype;b.fa=function(a){this.qa=a;this.b=a.b};b.fa.prototype.K=v();b.U=function(a){this.type=a;this.b=a.b;this.touches=[];this.wk=!1};var g=b.U.prototype,a={left:0,top:0};g.pg=function(a){var b,c;b=0;for(c=this.touches.length;b<c;b++)if(this.touches[b].id===a)return b;return-1};var l=0,e=0,f=0,h=0,d=0,p=0;g.K=function(){this.fr=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);
this.ve=this.Aj=this.zj=this.Yl=this.Xl=this.Wl=this.pp=this.op=this.np=this.ah=this.$g=this.Zg=0;this.ns=0!==this.A[0];var a=0<this.b.lc?document:this.b.canvas,b=document;this.b.oc?b=a=window.Canvas:this.b.Cc&&(b=a=window);var d=this;window.navigator.msPointerEnabled?(a.addEventListener("MSPointerDown",function(a){d.Ar(a)},!1),a.addEventListener("MSPointerMove",function(a){d.yr(a)},!1),b.addEventListener("MSPointerUp",function(a){d.wn(a)},!1),b.addEventListener("MSPointerCancel",function(a){d.wn(a)},
!1),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1))):(a.addEventListener("touchstart",function(a){d.zn(a)},!1),a.addEventListener("touchmove",function(a){d.yn(a)},!1),b.addEventListener("touchend",function(a){d.Ek(a)},!1),b.addEventListener("touchcancel",function(a){d.Ek(a)},!1));if(this.fr){var e=function(a){a=a.reading;d.Wl=a.accelerationX;d.Xl=a.accelerationY;d.Yl=a.accelerationZ},
g=function(a){a=a.reading;d.Zg=a.yawDegrees;d.$g=a.pitchDegrees;d.ah=a.rollDegrees},f=Windows.Devices.Sensors.Accelerometer.getDefault();f&&(f.reportInterval=Math.max(f.minimumReportInterval,16),f.addEventListener("readingchanged",e));var h=Windows.Devices.Sensors.Inclinometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",g));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(f&&f.removeEventListener("readingchanged",
e),h&&h.removeEventListener("readingchanged",g)):(f&&f.addEventListener("readingchanged",e),h&&h.addEventListener("readingchanged",g))},!1)}else window.addEventListener("deviceorientation",function(a){d.Zg=a.alpha||0;d.$g=a.beta||0;d.ah=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(d.np=a.accelerationIncludingGravity.x,d.op=a.accelerationIncludingGravity.y,d.pp=a.accelerationIncludingGravity.z);a.acceleration&&(d.Wl=a.acceleration.x,d.Xl=a.acceleration.y,
d.Yl=a.acceleration.z)},!1);this.ns&&!this.b.wa&&(jQuery(document).mousemove(function(a){d.ur(a)}),jQuery(document).mousedown(function(a){d.tr(a)}),jQuery(document).mouseup(function(a){d.xr(a)}));this.b.zf&&!this.b.oc&&AppMobi.accelerometer.watchAcceleration(c,{frequency:40,adjustForRotation:!0});this.b.Qe&&navigator.accelerometer.watchAcceleration(n,null,{frequency:40});this.b.gs(this)};g.yr=function(b){if(b.pointerType!==b.MSPOINTER_TYPE_MOUSE){b.preventDefault&&b.preventDefault();var c=this.pg(b.pointerId),
d=Ja();if(0<=c){var e=this.b.wa?a:jQuery(this.b.canvas).offset(),c=this.touches[c];2>d-c.time||(c.ni=c.time,c.fe=c.x,c.ge=c.y,c.time=d,c.x=b.pageX-e.left,c.y=b.pageY-e.top)}}};g.Ar=function(b){if(b.pointerType!==b.MSPOINTER_TYPE_MOUSE){b.preventDefault&&b.preventDefault();var c=this.b.wa?a:jQuery(this.b.canvas).offset(),d=b.pageX-c.left,c=b.pageY-c.top,e=Ja();this.ve=this.touches.length;this.touches.push({time:e,x:d,y:c,ni:e,fe:d,ge:c,id:b.pointerId,el:this.ve});this.b.trigger(Z.prototype.j.Ml,this);
this.b.trigger(Z.prototype.j.Pl,this);this.zj=d;this.Aj=c;this.b.trigger(Z.prototype.j.Rd,this)}};g.wn=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&(a.preventDefault&&a.preventDefault(),a=this.pg(a.pointerId),this.ve=0<=a?this.touches[a].el:-1,this.b.trigger(Z.prototype.j.Ll,this),this.b.trigger(Z.prototype.j.Ol,this),0<=a&&this.touches.splice(a,1))};g.yn=function(b){b.preventDefault&&b.preventDefault();var c=Ja(),d,e,g,f;d=0;for(e=b.changedTouches.length;d<e;d++)if(g=b.changedTouches[d],f=
this.pg(g.identifier),0<=f){var h=this.b.wa?a:jQuery(this.b.canvas).offset();f=this.touches[f];2>c-f.time||(f.ni=f.time,f.fe=f.x,f.ge=f.y,f.time=c,f.x=g.pageX-h.left,f.y=g.pageY-h.top)}};g.zn=function(b){b.preventDefault&&b.preventDefault();var c=this.b.wa?a:jQuery(this.b.canvas).offset(),d=Ja(),e,g,f,h;e=0;for(g=b.changedTouches.length;e<g;e++)if(f=b.changedTouches[e],h=this.pg(f.identifier),-1===h){h=f.pageX-c.left;var l=f.pageY-c.top;this.ve=this.touches.length;this.touches.push({time:d,x:h,y:l,
ni:d,fe:h,ge:l,id:f.identifier,el:this.ve});this.b.trigger(Z.prototype.j.Ml,this);this.b.trigger(Z.prototype.j.Pl,this);this.zj=h;this.Aj=l;this.b.trigger(Z.prototype.j.Rd,this)}};g.Ek=function(a){a.preventDefault&&a.preventDefault();var b,c,d;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],d=this.pg(d.identifier),0<=d&&(this.ve=this.touches[d].el,this.b.trigger(Z.prototype.j.Ll,this),this.b.trigger(Z.prototype.j.Ol,this),this.touches.splice(d,1))};g.At=function(){return this.b.zf&&
0===this.Zg&&0!==f?90*f:this.b.Qe&&0===this.Zg&&0!==p?90*p:this.Zg};g.Ct=function(){return this.b.zf&&0===this.$g&&0!==e?-90*e:this.b.Qe&&0===this.$g&&0!==d?-90*d:this.$g};g.Et=function(){return this.b.zf&&0===this.ah&&0!==l?90*l:this.b.Qe&&0===this.ah&&0!==h?90*h:this.ah};g.tr=function(a){a.preventDefault&&this.b.$h&&a.preventDefault();this.zn({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.wk=!0};g.ur=function(a){a.preventDefault&&this.b.$h&&a.preventDefault();this.wk&&this.yn({changedTouches:[{pageX:a.pageX,
pageY:a.pageY,identifier:0}]})};g.xr=function(a){a.preventDefault&&this.b.$h&&a.preventDefault();this.b.$h=!0;this.Ek({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.wk=!1};g.kl=function(){var a,b,c,d=Ja();a=0;for(b=this.touches.length;a<b;a++)c=this.touches[a],c.time<=d-50&&(c.ni=d)};m.prototype.Pl=E(!0);m.prototype.Ol=E(!0);m.prototype.uo=function(){return this.touches.length};m.prototype.Rd=function(a){return a?this.b.es(a,this.zj,this.Aj):!1};m.prototype.Ml=function(a){a=Math.floor(a);
return a===this.ve};m.prototype.Ll=function(a){a=Math.floor(a);return a===this.ve};b.j=new m;k.prototype.of=function(a,b){if(this.touches.length){var c,d,e,g,f;aa(b)?(c=this.b.sg(0),d=c.scale,e=c.Uc,g=c.gd,f=c.q,c.scale=this.b.ka.scale,c.Uc=1,c.gd=1,c.q=this.b.ka.q,a.J(c.Qb(this.touches[0].x,this.touches[0].y,!0)),c.scale=d,c.Uc=e,c.gd=g,c.q=f):(c=ba(b)?this.b.sg(b):this.b.Sj(b))?a.J(c.Qb(this.touches[0].x,this.touches[0].y,!0)):a.J(0)}else a.J(0)};k.prototype.we=function(a,b){if(this.touches.length){var c,
d,e,g,f;aa(b)?(c=this.b.sg(0),d=c.scale,e=c.Uc,g=c.hd,f=c.q,c.scale=this.b.ka.scale,c.Uc=1,c.hd=1,c.q=this.b.ka.q,a.J(c.Qb(this.touches[0].x,this.touches[0].y,!1)),c.scale=d,c.Uc=e,c.hd=g,c.q=f):(c=ba(b)?this.b.sg(b):this.b.Sj(b))?a.J(c.Qb(this.touches[0].x,this.touches[0].y,!1)):a.J(0)}else a.J(0)};b.B=new k})();function hc(c){this.b=c}
(function(){function c(){}function n(){}function m(){}var k=hc.prototype;k.fa=function(a){this.qa=a;this.b=a.b};k.fa.prototype.K=v();k.U=function(a){this.type=a;this.b=a.b};var b=k.U.prototype,g="";"undefined"!==typeof window.is_scirra_arcade&&(g="arcade"+window.scirra_arcade_id);var a=!1;b.K=v();c.prototype.$o=function(b){return this.b.Cc||!sessionStorage?(a||(H("[Construct 2] Webstorage plugin: session storage is not supported on this platform. Try using local storage or global variables instead."),
a=!0),!1):null!=sessionStorage.getItem(g+b)};c.prototype.To=E(!0);k.j=new c;n.prototype.gp=function(a,b){try{localStorage.setItem(g+a,b)}catch(c){this.b.trigger(hc.prototype.j.To,this)}};k.k=new n;m.prototype.yo=function(a,b){a.fb(localStorage.getItem(g+b)||"")};k.B=new m})();function ic(c){this.b=c}
(function(){function c(){}function n(){}var m=ic.prototype;m.fa=function(b){this.hb=b;this.b=b.b};m.fa.prototype.K=v();m.U=function(b,c){this.type=b;this.hb=b.hb;this.m=c;this.b=b.b};var k=m.U.prototype;k.K=function(){var b=this.A[0];this.Ch=this.A[1];this.Vh=this.A[2];this.vp=0!==this.A[3];this.Xk=0!==this.A[4];this.Y=Math.cos(this.m.q)*b;this.T=Math.sin(this.m.q)*b;this.fe=this.m.x;this.ge=this.m.y;this.Ef=this.m.q;this.Vi=0;this.enabled=0!==this.A[5]};k.Ua=function(){return{acc:this.Ch,g:this.Vh,
dx:this.Y,dy:this.T,lx:this.fe,ly:this.ge,lka:this.Ef,t:this.Vi,e:this.enabled}};k.bb=function(b){this.Ch=b.acc;this.Vh=b.g;this.Y=b.dx;this.T=b.dy;this.fe=b.lx;this.ge=b.ly;this.Ef=b.lka;this.Vi=b.t;this.enabled=b.e};k.Pa=function(){if(this.enabled){var b=this.b.Ke(this.m),c,a;this.m.q!==this.Ef&&(this.Xk&&(c=Ea(0,0,this.Y,this.T),this.Y=Math.cos(this.m.q)*c,this.T=Math.sin(this.m.q)*c),this.Ef=this.m.q);0!==this.Ch&&(c=Ea(0,0,this.Y,this.T),a=0===this.Y&&0===this.T?this.m.q:xa(0,0,this.Y,this.T),
c+=this.Ch*b,0>c&&(c=0),this.Y=Math.cos(a)*c,this.T=Math.sin(a)*c);0!==this.Vh&&(this.T+=this.Vh*b);this.fe=this.m.x;this.ge=this.m.y;if(0!==this.Y||0!==this.T)if(this.m.x+=this.Y*b,this.m.y+=this.T*b,this.Vi+=Ea(0,0,this.Y*b,this.T*b),this.Xk&&(this.m.q=xa(0,0,this.Y,this.T),this.m.W(),this.Ef=this.m.q),this.m.W(),this.vp&&(c=this.b.df(this.m)))this.b.Pr(this.m,c),c=Ea(0,0,this.Y,this.T),a=this.b.yp(this.m,this.fe,this.ge),this.Y=Math.cos(a)*c,this.T=Math.sin(a)*c,this.m.x+=this.Y*b,this.m.y+=this.T*
b,this.m.W(),this.Xk&&(this.Ef=this.m.q=a,this.m.W()),this.b.Mr(this.m,this.Y/c,this.T/c,Math.max(2.5*c*b,30))||this.b.Nr(this.m)}};m.j=new (v());c.prototype.qd=function(b){b=P(b);var c=Ea(0,0,this.Y,this.T);this.Y=Math.cos(b)*c;this.T=Math.sin(b)*c};m.k=new c;n.prototype.nj=function(b){var c=Ea(0,0,this.Y,this.T),c=Va(c);b.J(c)};m.B=new n})();function jc(c){this.b=c}
(function(){function c(){}function n(){}var m=jc.prototype;m.fa=function(b){this.hb=b;this.b=b.b};m.fa.prototype.K=v();m.U=function(b,c){this.type=b;this.hb=b.hb;this.m=c;this.b=b.b};var k=m.U.prototype;k.K=function(){var b=1===this.A[0];this.mg=this.A[1];this.wh=this.A[2];this.Qh=this.A[3];this.Dp=this.A[4];this.$b=b?0:3;this.Zb?this.Gc.reset():this.Gc=new Qa;this.We=this.m.opacity?this.m.opacity:1;b&&(0===this.mg?(this.$b=1,0===this.wh&&(this.$b=2)):(this.m.opacity=0,this.b.ja=!0))};k.Ua=function(){return{fit:this.mg,
wt:this.wh,fot:this.Qh,s:this.$b,st:this.Gc.Aa,mo:this.We}};k.bb=function(b){this.mg=b.fit;this.wh=b.wt;this.Qh=b.fot;this.$b=b.s;this.Gc.reset();this.Gc.Aa=b.st;this.We=b.mo};k.Pa=function(){this.Gc.add(this.b.Ke(this.m));0===this.$b&&(this.m.opacity=this.Gc.Aa/this.mg*this.We,this.b.ja=!0,this.m.opacity>=this.We&&(this.m.opacity=this.We,this.$b=1,this.Gc.reset()));1===this.$b&&this.Gc.Aa>=this.wh&&(this.$b=2,this.Gc.reset());2===this.$b&&0!==this.Qh&&(this.m.opacity=this.We-this.Gc.Aa/this.Qh*this.We,
this.b.ja=!0,0>this.m.opacity&&(this.m.opacity=0,this.$b=3,this.Gc.reset(),this.b.trigger(jc.prototype.j.ij,this.m),1===this.Dp&&this.b.Qd(this.m)))};k.xm=function(){this.$b=0;this.Gc.reset();0===this.mg?(this.$b=1,0===this.wh&&(this.$b=2)):(this.m.opacity=0,this.b.ja=!0)};c.prototype.ij=E(!0);m.j=new c;n.prototype.fp=function(){3===this.$b&&this.xm()};n.prototype.Yo=function(){this.xm()};m.k=new n})();function kc(c){this.b=c}
(function(){var c=kc.prototype;c.fa=function(b){this.hb=b;this.b=b.b};c.fa.prototype.K=v();c.U=function(b,a){this.type=b;this.hb=b.hb;this.m=a;this.b=b.b;this.Wa=0};var n=c.U.prototype,m=2*Math.PI,k=Math.PI/2,b=3*Math.PI/2;n.K=function(){this.ic=1===this.A[0];this.Vg=this.A[1];this.wl=this.A[2];this.Ed=this.A[3];this.Ed+=Math.random()*this.A[4];0===this.Ed?this.Wa=0:(this.Wa=this.A[5]/this.Ed*m,this.Wa+=Math.random()*this.A[6]/this.Ed*m);this.Mb=this.A[7];this.Mb+=Math.random()*this.A[8];this.hh=
this.Oe=this.ca=0;this.init()};n.Ua=function(){return{i:this.Wa,a:this.ic,mv:this.Vg,w:this.wl,p:this.Ed,mag:this.Mb,iv:this.ca,iv2:this.Oe,r:this.hh,lkv:this.Tb,lkv2:this.Ig}};n.bb=function(b){this.Wa=b.i;this.ic=b.a;this.Vg=b.mv;this.wl=b.w;this.Ed=b.p;this.Mb=b.mag;this.ca=b.iv;this.Oe=b.iv2||0;this.hh=b.r;this.Tb=b.lkv;this.Ig=b.lkv2||0};n.init=function(){switch(this.Vg){case 0:this.ca=this.m.x;break;case 1:this.ca=this.m.y;break;case 2:this.ca=this.m.width;this.hh=this.m.height/this.m.width;
break;case 3:this.ca=this.m.width;break;case 4:this.ca=this.m.height;break;case 5:this.ca=this.m.q;this.Mb=P(this.Mb);break;case 6:this.ca=this.m.opacity;break;case 7:this.ca=0;break;case 8:this.ca=this.m.x,this.Oe=this.m.y}this.Tb=this.ca;this.Ig=this.Oe};n.Pd=function(c){c%=m;switch(this.wl){case 0:return Math.sin(c);case 1:return c<=k?c/k:c<=b?1-2*(c-k)/Math.PI:(c-b)/k-1;case 2:return 2*c/m-1;case 3:return-2*c/m+1;case 4:return c<Math.PI?-1:1}return 0};n.Pa=function(){var b=this.b.Ke(this.m);if(this.ic&&
0!==b){0===this.Ed?this.Wa=0:(this.Wa+=b/this.Ed*m,this.Wa%=m);switch(this.Vg){case 0:this.m.x!==this.Tb&&(this.ca+=this.m.x-this.Tb);this.m.x=this.ca+this.Pd(this.Wa)*this.Mb;this.Tb=this.m.x;break;case 1:this.m.y!==this.Tb&&(this.ca+=this.m.y-this.Tb);this.m.y=this.ca+this.Pd(this.Wa)*this.Mb;this.Tb=this.m.y;break;case 2:this.m.width=this.ca+this.Pd(this.Wa)*this.Mb;this.m.height=this.m.width*this.hh;break;case 3:this.m.width=this.ca+this.Pd(this.Wa)*this.Mb;break;case 4:this.m.height=this.ca+
this.Pd(this.Wa)*this.Mb;break;case 5:this.m.q!==this.Tb&&(this.ca=ua(this.ca+(this.m.q-this.Tb)));this.m.q=ua(this.ca+this.Pd(this.Wa)*this.Mb);this.Tb=this.m.q;break;case 6:this.m.opacity=this.ca+this.Pd(this.Wa)*this.Mb/100;0>this.m.opacity?this.m.opacity=0:1<this.m.opacity&&(this.m.opacity=1);break;case 8:this.m.x!==this.Tb&&(this.ca+=this.m.x-this.Tb),this.m.y!==this.Ig&&(this.Oe+=this.m.y-this.Ig),this.m.x=this.ca+Math.cos(this.m.q)*this.Pd(this.Wa)*this.Mb,this.m.y=this.Oe+Math.sin(this.m.q)*
this.Pd(this.Wa)*this.Mb,this.Tb=this.m.x,this.Ig=this.m.y}this.m.W()}};n.xn=function(b,a){switch(this.Vg){case 2:this.ca*=a.width/b.width;this.hh=a.height/a.width;break;case 3:this.ca*=a.width/b.width;break;case 4:this.ca*=a.height/b.height}};c.j=new (v());c.k=new (v());c.B=new (v())})();function lc(c){this.b=c}
(function(){function c(){}function n(){}function m(){}var k=lc.prototype;k.fa=function(b){this.hb=b;this.b=b.b};k.fa.prototype.K=v();k.U=function(b,a){this.type=b;this.hb=b.hb;this.m=a;this.b=b.b;this.Ce=this.T=this.Y=0};var b=k.U.prototype;b.K=function(){this.Uf=this.A[0];this.Nk=this.A[1];this.enabled=0!==this.A[2]};b.Ua=function(){return{dx:this.Y,dy:this.T,cancelStep:this.Ce,enabled:this.enabled,stepMode:this.Uf,pxPerStep:this.Nk}};b.bb=function(b){this.Y=b.dx;this.T=b.dy;this.Ce=b.cancelStep;
this.enabled=b.enabled;this.Uf=b.stepMode;this.Nk=b.pxPerStep};b.ug=function(){return Math.sqrt(this.Y*this.Y+this.T*this.T)};b.tb=function(){return Math.atan2(this.T,this.Y)};b.step=function(b,a,c){if(0!==b||0!==a){var e=this.m.x,f=this.m.y,h,d=Math.round(Math.sqrt(b*b+a*a)/this.Nk);0===d&&(d=1);var k;for(k=1;k<=d;k++)if(h=k/d,this.m.x=e+b*h,this.m.y=f+a*h,this.m.W(),this.b.trigger(c,this.m),1===this.Ce){k--;h=k/d;this.m.x=e+b*h;this.m.y=f+a*h;this.m.W();break}else if(2===this.Ce)break}};b.Pa=function(){var b=
this.b.Ke(this.m),a=this.Y*b,b=this.T*b;0===this.Y&&0===this.T||!this.enabled||(this.Ce=0,0===this.Uf?(this.m.x+=a,this.m.y+=b):1===this.Uf?this.step(a,b,lc.prototype.j.Fo):2===this.Uf?(this.step(a,0,lc.prototype.j.Hl),this.Ce=0,this.step(0,b,lc.prototype.j.Il)):3===this.Uf&&(this.step(0,b,lc.prototype.j.Il),this.Ce=0,this.step(a,0,lc.prototype.j.Hl)),this.m.W())};c.prototype.Fo=E(!0);c.prototype.Hl=E(!0);c.prototype.Il=E(!0);k.j=new c;n.prototype.Ul=function(){this.T=this.Y=0};n.prototype.zl=function(b,
a){var c=a*this.b.Ke(this.m),e;switch(b){case 0:e=this.tb();this.Y+=Math.cos(e)*c;this.T+=Math.sin(e)*c;break;case 1:this.Y+=c;break;case 2:this.T+=c}};n.prototype.qd=function(b){b=P(b);var a=this.ug();this.Y=Math.cos(b)*a;this.T=Math.sin(b)*a};k.k=new n;m.prototype.nj=function(b){b.J(this.ug())};m.prototype.Y=function(b){b.J(this.Y)};m.prototype.T=function(b){b.J(this.T)};k.B=new m})();
function Bb(){return[null,"Logo",[[bc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[fc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[V,!1,!0,!0,!0,!0,!0,!0,!0,!1],[W,!1,!0,!0,!0,!0,!0,!0,!0,!1],[gc,!1,!0,!0,!0,!1,!1,!1,!1,!1],[Y,!1,!0,!0,!0,!0,!0,!0,!0,!0],[Z,!0,!1,!1,!1,!1,!1,!1,!1,!1],[hc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[cc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[U,!1,!1,!1,!1,!1,!1,!1,!1,!1],[dc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[ec,!1,!0,!0,!0,!1,!1,!1,!1,!1]],[["t0",Y,!1,[],0,0,["img/tiledbackground2.png",93,4],null,[],!1,!0,0xb24575c260f98,[]],
["t1",V,!1,[],1,0,null,[["Default",5,!1,1,0,!1,640976501828583,[["img/sprite-sheet0.png",4284,0,0,320,96,1,0.5,0.5,[],[-0.45,-0.333333,0,-0.40625,0.44375,-0.3125,0.421875,0,0.390625,0.135417,0,0.125,-0.390625,0.135417,-0.459375,0],0]]]],[["Fade",jc,0x5bcb016e64611]],!1,!0,9793159564165696,[]],["t2",V,!1,[],1,0,null,[["Default",5,!1,1,0,!1,8545213251637531,[["img/sprite2-sheet0.png",89254,0,0,220,320,1,0.5,0.5,[],[-0.281818,-0.35,0,-0.5,0.259091,-0.334375,0.059091,0,0.390909,0.425,0,0.5,-0.5,0.5,-0.5,
0],0]]]],[["Fade",jc,0x3d77385ef212c]],!1,!1,0x5e16a777f46fc,[]],["t3",Y,!1,[],0,0,["img/barberentatittle.png",129468,1],null,[],!1,!1,5477288507368849,[]],["t4",V,!1,[],1,0,null,[["Default",5,!1,1,0,!1,6542994321995004,[["img/sprite3-sheet0.png",718,0,0,280,31,1,0.535714,0.354839,[],[-2.98023E-7,-0.290323,0.435715,0.0967743,-2.98023E-7,0.483871,-0.532143,0.0967743],2]]]],[["Fade",jc,5248786175864415]],!1,!1,469480336616078,[]],["t5",Y,!1,[],0,0,["img/backgroundgameover.png",169,0],null,[],!1,!1,
0x839c82329aa3b,[]],["t6",Y,!1,[],1,0,["img/tiledbackground.png",94210,1],null,[["Bullet",ic,0x412bf4bb9bfe9]],!1,!1,0xa2f94e91bdfbd,[]],["t7",W,!1,[],0,0,null,null,[],!1,!1,5944068528021245,[]],["t8",Y,!1,[],1,0,["img/block.png",2269,0],null,[["Bullet",ic,0xb3750e9fbb6b5]],!1,!1,5668822127761983,[]],["t9",Y,!1,[],1,0,["img/block1.png",1281,0],null,[["Bullet",ic,691375532967426]],!1,!1,7022589666028891,[]],["t10",V,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7258299348700032,[["img/sprite8-sheet0.png",
2269,0,0,39,39,1,0.512821,0.512821,[],[],0]]]],[],!1,!1,9121751733829860,[]],["t11",V,!1,[],0,0,null,[["Default",0,!1,1,0,!1,9458302978282964,[["img/backtomain-sheet0.png",1251,1,1,192,51,1,0.515625,0.509804,[],[-0.505208,-0.470588,0.473958,-0.470588,0.463542,0.490196,-0.494792,0.490196],0],["img/backtomain-sheet0.png",1251,1,53,192,47,1,0.515625,0.510638,[],[-0.505208,-0.510638,0.473958,-0.510638,0.463542,-0.510638,-0.494792,-0.510638],0]]]],[],!1,!1,7057131575102625,[]],["t12",V,!1,[],0,0,null,
[["Default",0,!1,1,0,!1,0x44cb367262492,[["img/playagain-sheet0.png",1138,1,1,192,51,1,0.5,0.490196,[],[-0.489583,-0.45098,0.489583,-0.45098,0.479167,0.509804,-0.479167,0.509804],0],["img/playagain-sheet0.png",1138,1,53,192,47,1,0.5,0.489362,[],[-0.489583,-0.489362,0.489583,-0.489362,0.479167,0.468085,-0.479167,0.468085],0]]]],[],!1,!1,0xd03809c76f775,[]],["t13",V,!1,[],0,0,null,[["Default",0,!1,1,0,!1,6758046513447177,[["img/btnsalir-sheet0.png",552,0,0,192,51,1,0.5,1.94118,[],[-0.489583,-1.90196,
0.489583,-1.90196,0.479167,-0.941176,-0.479167,-0.941176],0]]]],[],!1,!1,409657047973541,[]],["t14",V,!1,[],0,0,null,[["Default",0,!1,1,0,!1,6323695947258951,[["img/btniniciar-sheet0.png",1208,1,1,192,51,1,0.5,1,[],[-0.489583,-0.960784,0.489583,-0.960784,0.479167,0,-0.479167,0],0],["img/btniniciar-sheet0.png",1208,1,53,192,47,1,0.5,0,[],[-0.489583,0,0.489583,0,0.479167,0.957447,-0.479167,0.957447],0]]]],[],!1,!1,5476759080377476,[]],["t15",V,!1,[],0,0,null,[["Default",0,!1,1,0,!1,0xe5ba2a5d22403,
[["img/btnpuntuaciones-sheet0.png",1280,1,1,192,51,1,0.5,1,[],[-0.489583,-0.960784,0.489583,-0.960784,0.479167,0,-0.479167,0],0],["img/btnpuntuaciones-sheet0.png",1280,1,53,192,47,1,0.5,0,[],[-0.489583,0,0.489583,0,0.479167,0.957447,-0.479167,0.957447],0]]]],[],!1,!1,0xc13f0698a27ce,[]],["t16",ec,!1,[],0,0,null,null,[],!1,!1,0xb64bef00ff8f3,[]],["t17",V,!1,[],0,0,null,[["Default",5,!1,1,0,!1,4804041140954468,[["img/btnbacktomain-sheet0.png",554,0,0,38,36,1,0.5,0.5,[],[-0.421053,-0.416667,0,-0.5,0.421053,
-0.416667,0.473684,0,0.421053,0.416667,0,0.5,-0.421053,0.416667,-0.473684,0],0]]]],[],!1,!1,7900944297298263,[]],["t18",W,!1,[],0,0,null,null,[],!1,!1,0xe72520688a91a,[]],["t19",W,!1,[],0,0,null,null,[],!1,!1,0x64ff4c833bd3f,[]],["t20",gc,!1,[],0,0,null,null,[],!1,!1,0xea1a0445427c6,[]],["t21",W,!1,[],0,0,null,null,[],!1,!1,6067381482685941,[]],["t22",W,!1,[],1,0,null,null,[["Fade",jc,0xfa2ffc78db65c]],!1,!1,0xae653b0944a0d,[]],["t23",W,!1,[],0,0,null,null,[],!1,!1,4714997616560875,[]],["t24",W,!1,
[],0,0,null,null,[],!1,!1,5131407084974805,[]],["t25",W,!1,[],0,0,null,null,[],!1,!1,0xcd751b51d734a,[]],["t26",W,!1,[],0,0,null,null,[],!1,!1,5784037629002357,[]],["t27",W,!1,[],0,0,null,null,[],!1,!1,9787425093390680,[]],["t28",W,!1,[],0,0,null,null,[],!1,!1,9946085126298984,[]],["t29",W,!1,[],0,0,null,null,[],!1,!1,9290807959798638,[]],["t30",W,!1,[],0,0,null,null,[],!1,!1,0x7cc01da935e8b,[]],["t31",W,!1,[],0,0,null,null,[],!1,!1,8448466216871217,[]],["t32",W,!1,[],0,0,null,null,[],!1,!1,0x5ecc2171f9ec3,
[]],["t33",W,!1,[],0,0,null,null,[],!1,!1,5444795680895913,[]],["t34",W,!1,[],0,0,null,null,[],!1,!1,8004255844615492,[]],["t35",W,!1,[],0,0,null,null,[],!1,!1,8379438348713655,[]],["t36",W,!1,[],0,0,null,null,[],!1,!1,7613216444777605,[]],["t37",W,!1,[],0,0,null,null,[],!1,!1,0x4007518e607fe,[]],["t38",W,!1,[],0,0,null,null,[],!1,!1,9728638032139172,[]],["t39",bc,!1,[],0,0,null,null,[],!1,!1,7575172813161782,[],[]],["t40",U,!1,[],0,0,null,null,[],!0,!1,7251128437264016,[]],["t41",V,!1,[],2,0,null,
[["Default",5,!0,1,0,!1,0x6516abc1b01de,[["img/player-sheet0.png",10738,1,91,118,36,1,0.491525,0.527778,[],[-0.381356,-0.166667,0.00847459,-0.166667,0.474577,-0.416667,0.5,-0.0277778,0.466102,0.333333,0.00847459,0.388889,-0.415254,0.222222,-0.457627,-0.0277778],0],["img/player-sheet0.png",10738,1,47,120,43,1,0.491667,0.534884,[],[-0.341667,-0.116279,0.00833333,-0.255814,0.441666,-0.348837,0.5,0.465116,0.425,0.465116,0.00833333,0.465116,-0.383334,0.465116,-0.45,0.465116],0],["img/player-sheet1.png",
5633,0,0,119,37,1,0.487395,0.540541,[],[-0.344538,-0.540541,0.00840303,-0.540541,0.445378,-0.540541,0.504202,4.76837E-7,0.428571,0.459459,0.00840303,0.459459,-0.386555,0.459459,-0.453782,4.76837E-7],0],["img/player-sheet0.png",10738,1,1,118,45,1,0.491525,0.533333,[],[-0.347457,-0.533333,0.00847459,-0.533333,0.449153,-0.533333,0.508475,-0.533333,0.432204,0.266667,0.00847459,0.288889,-0.38983,0.2,-0.457627,-0.533333],0]]]],[["Sine",kc,5410235835001582],["CustomMovement",lc,0x76a612967f1dd]],!1,!1,9723320961123364,
[]],["t42",Z,!1,[],0,0,null,null,[],!1,!1,0xc03f73bb3adbf,[],[1]],["t43",fc,!1,[],0,0,null,null,[],!1,!1,6019155265062745,[],[]],["t44",V,!1,[],1,0,null,[["Default",5,!1,1,0,!1,7712241824545882,[["img/topspawner-sheet0.png",93,0,0,32,32,1,0.5,1,[],[],1]]]],[["Bullet",ic,5921205054017369]],!1,!1,7685455103588606,[]],["t45",V,!1,[],1,0,null,[["Default",5,!1,1,0,!1,6559514171286197,[["img/topspawner-sheet0.png",93,0,0,32,32,1,0.5,0,[],[],1]]]],[["Bullet",ic,0x92b76f6899743]],!1,!1,0xc5ddec57dc21e,[]],
["t46",V,!1,[],2,0,null,[["anim1",5,!1,1,0,!1,6978589079964932,[["img/car-sheet0.png",56429,78,1,76,89,1,0.565789,0.685393,[],[-0.394736,-0.539326,-0.0657895,-0.685393,0.25,-0.52809,0.355264,-0.191011,0.197369,0.11236,-0.0657895,0.292135,-0.315789,0.101124,-0.43421,-0.191011],0]]],["anim0",5,!1,1,0,!1,0x4f7c5a999aacc,[["img/car-sheet0.png",56429,1,1,76,91,1,0.565789,0.626374,[],[-0.421052,-0.494506,-0.0657895,-0.593407,0.289474,-0.494506,0.394737,-0.131869,0.263158,0.21978,-0.0657895,0.32967,-0.315789,
0.153846,-0.552632,-0.131869],0]]],["anim2",5,!1,1,0,!1,0x91c12b3ea59e8,[["img/car-sheet0.png",56429,155,1,76,89,1,0.447368,0.52809,[],[-0.289473,-0.393259,0.0526316,-0.52809,0.381579,-0.382023,0.473685,-0.0337079,0.31579,0.269663,0.0526316,0.460674,-0.197368,0.258427,-0.394737,-0.0337079],0]]],["anim3",5,!1,1,0,!1,0x9903da824209c,[["img/car-sheet0.png",56429,78,91,76,89,1,0.447368,0.52809,[],[-0.18421,-0.303371,0.0526316,-0.505618,0.355264,-0.359551,0.486843,-0.0337079,0.342106,0.292135,0.0526316,
0.41573,-0.355263,0.393258,-0.355263,-0.0337079],0]]],["anim4",5,!1,1,0,!1,5642635525013248,[["img/car-sheet0.png",56429,155,91,70,80,1,0.442857,0.5625,[],[-0.242857,-0.375,0.0571429,-0.5375,0.357143,-0.375,0.485714,-0.0375,0.328572,0.2875,0.0571429,0.4125,-0.214286,0.2875,-0.342857,-0.0375],0]]]],[["Sine",kc,0x5f3f0046da462],["Bullet",ic,0xe1b8e475b93ca]],!1,!1,5603017694631833,[]],["t47",cc,!1,[],0,0,null,null,[],!1,!1,718309297332087,[],[0,0,1,1,600,600,1E4,1,5E3,1]],["t48",V,!1,[],1,0,null,[["Default",
5,!1,1,0,!1,5513422031002776,[["img/explosion-sheet0.png",7170,0,0,118,101,1,0.5,0.504951,[],[],1]]]],[["Fade",jc,0x71ae6e897d9e1]],!1,!1,6241889093014317,[]],["t49",V,!1,[],0,0,null,[["Default",5,!1,1,0,!1,8434013022566688,[["img/sprite5-sheet0.png",363,0,0,100,100,1,0.5,0.5,[],[-0.48,-0.48,0,-0.5,0.48,-0.48,0.5,0,0.48,0.48,0,0.5,-0.48,0.48,-0.5,0],0]]]],[],!1,!1,4926672141170482,[]],["t50",V,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x6f836a3da5ab9,[["img/sprite6-sheet0.png",23472,0,0,334,75,1,0.5,
1.04,[],[-0.42515,-0.933333,0,-0.36,0.401198,-0.826667,0.161677,-0.24,0,-0.146667],0]]]],[],!1,!1,9711431448500164,[]],["t51",V,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0xa63ecf6946f18,[["img/sprite7-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[],!1,!1,0xc4c7ca686f32a,[]],["t52",V,!1,[],0,0,null,[["Default",5,!1,1,0,!1,8452440561144145,[["img/sprite7-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[],!1,!1,7525924950343433,[]],["t53",V,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7563815240614731,
[["img/sharefacebook-sheet0.png",10233,0,0,201,45,1,0.497512,0.511111,[],[-0.482587,-0.422222,-4.17233E-7,-0.488889,0.427861,-0.177778,0.492538,-0.0222221,0.467662,0.333333,-4.17233E-7,0.466667,-0.482587,0.4],0]]]],[],!1,!1,0xf5d786202e9c4,[]],["t54",dc,!1,[],0,0,null,null,[],!1,!1,6450586159244525,[],[]],["t55",hc,!1,[],0,0,null,null,[],!1,!1,0x62e95507a4325,[],[]]],[],[["Layout 1",480,320,!1,"Event sheet 1",0xf70c59570eb5c,[["Background",0,4776117653465351,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[-3,
-29,0,1260,360,0,0,1,0,0,0,0,[]],6,0,[],[[40,0,0,0,0,1]],[0,0]],[[478,-2,0,118,101,0,0,1,0.5,0.504951,1,0,[]],48,19,[],[[1,0,0,0.5,1]],[0,"Default",0,1]]],[]],["Game",1,9836859757904936,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[98.1902,177.825,0,85.8576,26.1938,0,0,1,0.491525,0.527778,0,0,[]],41,1,[],[[1,5,0,2,0,0,0,10,0],[0,5,1]],[0,"Default",0,1]],[[283,376,0,48,234,0,0,1,0,0,0,0,[]],8,2,[],[[300,0,0,0,0,1]],[0,0]],[[345,374,0,45,238,0,0,1,0,0,0,0,[]],9,27,[],[[300,0,0,0,0,1]],[0,0]],[[434,396,0,39,
39,0,0,1,0.512821,0.512821,0,0,[]],10,28,[],[],[0,"Default",0,1]]],[]],["UI",2,0xfa470ad25937f,!0,[255,255,255],!0,0,0,1,!1,1,0,0,[[[4,2,0,565,30,0,0,1,0,0,0,0,[]],18,3,[],[],["Text",0,"16pt Arial Rounded MT Bold","rgb(255,255,255)",0,0,0,0,0]],[[665,41,0,32,32,0,0,1,0.5,1,0,0,[]],44,6,[],[[10,0,0,0,0,1]],[0,"Default",0,1]],[[665,308,0,32,32,0,0,1,0.5,0,0,0,[]],45,7,[],[[10,0,0,0,0,1]],[0,"Default",0,1]],[[712,307,0,53.4016,62.5361,0,-0.243156,1,0.565789,0.685393,0,0,[]],46,8,[],[[1,5,0,1.5,0,0,0,
10,0],[300,0,0,0,0,1]],[0,"Default",0,1]],[[709,36,0,53.4016,62.5361,0,-0.243156,1,0.565789,0.685393,0,0,[]],46,9,[],[[1,5,0,1.5,0,0,0,10,0],[300,0,0,0,0,1]],[0,"Default",0,1]]],[]],["GameOver",3,0x5d49a93947983,!1,[255,255,255],!0,1,1,1,!1,1,0,0,[[[-16,-16,0,512,362,0,0,1,0,0,0,0,[]],5,21,[],[],[0,0]],[[243,172.299,0,291,247,0,0,1,0.5,0.5,0,0,[]],49,20,[],[],[0,"Default",0,1]],[[242,75,0,259.853,58.3503,0,0,1,0.5,1.04,0,0,[]],50,22,[],[],[0,"Default",0,1]],[[123,97,0,231,40,0,0,1,0,0,0,0,[]],7,23,
[],[],["250",0,"20pt Arial","rgb(255,255,255)",1,1,0,0,0]],[[144,70,0,200,30,0,0,1,0,0,0,0,[]],21,24,[],[],["Puntaje Final",0,"12pt Arial","rgb(255,255,255)",1,1,0,0,0]],[[250,159,0,192,51,0,0,1,0.5,0.490196,0,0,[]],12,25,[],[],[0,"Default",0,1]],[[163,446,0,250,250,0,0,1,0.5,0.5,0,0,[]],51,26,[],[],[0,"Default",0,1]],[[246,262,0,148.796,33.3124,0,0,1,0.497512,0.511111,0,0,[]],53,49,[],[],[0,"Default",0,1]],[[254,214,0,192,51,0,0,1,0.515625,0.509804,0,0,[]],11,30,[],[],[0,"Default",0,1]]],[]]],[],
[]],["MainMenu",480,320,!1,"MainMenu",0xd0417a45bcb00,[["background",0,8240641635634112,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[0,0,0,480,320,0,0,1,0,0,0,0,[]],0,10,[],[],[0,0]]],[]],["background2",1,8491352701085153,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[-6,-46,0,493,377,0,0,1,0,0,0,0,[]],3,17,[],[],[1,0]]],[]],["Layer 0",2,8188922753813454,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[],[]],["barber",3,9229618786470992,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[87,164,0,231,332,0,0,1,0.5,0.5,0,0,[]],2,12,[],[[0,
3,3,0,0]],[1,"Default",0,1]],[[378,133,0,156.632,41.6327,0,0,1,0.5,1,0,0,[]],14,13,[],[],[1,"Default",0,1]],[[376,267,0,156.632,41.6327,0,0,1,0.5,1.94118,0,0,[]],13,14,[],[],[1,"Default",0,1]],[[323,35,0,313.971,34.7611,0,0,1,0.535714,0.354839,0,0,[]],4,15,[],[[1,3,0,0,0]],[1,"Default",0,1]],[[376,180,0,156.632,41.6327,0,0,1,0.5,1,0,0,[]],15,18,[],[],[0,"Default",0,1]],[[10,287,0,150,22,0,0,1,0,0,0,0,[]],20,29,[],[],["","","",0,1,0,0,0,1,""]],[[11,260,0,100,26,0,0,1,0,0,0,0,[]],19,31,[],[],["NickName:",
1,"bold 12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[170,285,0,72,24,0,0,1,0,0,0,0,[]],16,32,[],[],[0,"Ok","",0,1,1,"",0]],[[305,280,0,158,30,0,0,1,0,0,0,0,[]],22,33,[],[[0,1,3,1,0]],["Cambios Guardados",1,"12pt Arial","rgb(255,255,255)",0,0,0,0,0]]],[]]],[],[]],["Logo",480,320,!1,"Logo",4792558669521234,[["background",0,8902310247786206,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[0,0,0,480,320,0,0,1,0,0,0,0,[]],0,57,[],[],[0,0]]],[]],["Logo",1,5095650119970224,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[240,160,0,
320,96,0,0,1,0.5,0.5,0,0,[]],1,59,[],[[1,1,3,1,1]],[0,"Default",0,1]]],[]]],[],[]],["Score",480,320,!1,"score",5696511256656221,[["Bg",0,7839499975598303,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[-6,-12,0,493,356,0,0,1,0,0,0,0,[]],3,34,[],[],[0,0]]],[]],["Layer 0",1,5643866755807865,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[252,29,0,313.971,34.7611,0,0,1,0.535714,0.354839,0,0,[]],4,35,[],[[1,1,2,0,0]],[0,"Default",0,1]],[[93,94,0,168,30,0,0,1,0,0,0,0,[]],23,39,[],[],["Esteban Dido",0,"12pt Arial","rgb(0,0,0)",
0,0,0,0,0]],[[93,125,0,168,30,0,0,1,0,0,0,0,[]],24,40,[],[],["Elba Lazo",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[93,156,0,168,30,0,0,1,0,0,0,0,[]],25,41,[],[],["El Chino Nica",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[93,187,0,168,30,0,0,1,0,0,0,0,[]],26,42,[],[],["Ivan zeledon",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[93,63,0,168,30,0,0,1,0,0,0,0,[]],27,38,[],[],["Juan Perez",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[93,218,0,168,30,0,0,1,0,0,0,0,[]],28,43,[],[],["Elvio Lador",0,"12pt Arial",
"rgb(0,0,0)",0,0,0,0,0]],[[93,249,0,168,30,0,0,1,0,0,0,0,[]],29,44,[],[],["Esteban Quito",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[93,280,0,168,30,0,0,1,0,0,0,0,[]],30,45,[],[],["Super Tux",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[273,64,0,135,30,0,0,1,0,0,0,0,[]],31,46,[],[],["10",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[273,95,0,135,30,0,0,1,0,0,0,0,[]],32,47,[],[],["120",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[273,126,0,135,30,0,0,1,0,0,0,0,[]],33,50,[],[],["200",0,"12pt Arial","rgb(0,0,0)",
0,0,0,0,0]],[[273,157,0,135,30,0,0,1,0,0,0,0,[]],34,51,[],[],["580",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[273,188,0,135,30,0,0,1,0,0,0,0,[]],35,52,[],[],["960",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[273,219,0,135,30,0,0,1,0,0,0,0,[]],36,53,[],[],["150",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[273,250,0,135,30,0,0,1,0,0,0,0,[]],37,54,[],[],["5000",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[273,281,0,135,30,0,0,1,0,0,0,0,[]],38,55,[],[],["2500",0,"12pt Arial","rgb(0,0,0)",0,0,0,0,0]],[[23,24,
0,38,36,0,0,1,0.5,0.5,0,0,[]],17,56,[],[],[0,"Default",0,1]]],[]]],[[null,40,37,[],[],[16,1,1]]],[]]],[["Event sheet 1",[[1,"sumatoriaface",0,0,!1,!1,7581875809243577,!1],[1,"tipofondo",0,0,!1,!1,421151433239571,!1],[1,"vivo",0,1,!1,!1,6798883251835614,!1],[1,"TotalDistance",0,0,!1,!1,0xe44690c55da9d,!1],[1,"NextBlockX",0,665,!1,!1,5327114571015895,!1],[1,"TopSpawnerTargetY",0,40,!1,!1,0xc384ed6ad92e0,!1],[1,"BottomSpawnerTargetY",0,308,!1,!1,726966054651142,!1],[0,null,!1,null,0xedd2d7dbab028,[[-1,
T.prototype.j.mf,null,1,!1,!1,!1,955088681619798,!1]],[[6,ic.prototype.k.qd,"Bullet",0x9c75f478cf1a5,!1,[[0,[0,180]]]],[8,ic.prototype.k.qd,"Bullet",8317104790204248,!1,[[0,[0,180]]]],[46,ic.prototype.k.qd,"Bullet",7041361615359606,!1,[[0,[0,180]]]],[47,cc.prototype.k.Play,null,432899694561667,!1,[[2,["riverside ride short loop",!0]],[3,1],[0,[0,-5]],[1,[2,"maintheme"]]]],[-1,T.prototype.k.lj,null,0x746050946bec0,!1,[[5,[2,"GameOver"]],[3,0]]],[-1,T.prototype.k.Vc,null,6463080637940817,!1,[[11,"vivo"],
[7,[0,1]]]],[-1,T.prototype.k.Vc,null,5202751775088766,!1,[[11,"TotalDistance"],[7,[0,0]]]]]],[0,null,!1,null,4901695194915258,[[6,Y.prototype.j.yh,null,0,!1,!1,!1,0xdd4ba17f8467,!1,[[8,3],[0,[7,[3,[20,6,Y.prototype.B.nf,!1,null]],[0,2]]]]]],[[6,Y.prototype.k.mj,null,0x7be07ed3a9338,!1,[[0,[4,[20,6,Y.prototype.B.of,!1,null],[7,[20,6,Y.prototype.B.nf,!1,null],[0,2]]]]]]]],[0,null,!1,null,0xf1c18f4387c1b,[[-1,T.prototype.j.Dl,null,0,!1,!1,!1,0x9406de87b83a7,!1],[-1,T.prototype.j.xh,null,0,!1,!1,!1,
0xe672f4e1a9b06,!1,[[11,"vivo"],[8,0],[7,[0,1]]]]],[[-1,T.prototype.k.bj,null,8876768676174938,!1,[[11,"TotalDistance"],[7,[6,[22,8,"Bullet",ic.prototype.B.nj,!1,null],[19,T.prototype.B.xd]]]]],[-1,T.prototype.k.hp,null,9086746396162456,!1,[[11,"NextBlockX"],[7,[6,[22,8,"Bullet",ic.prototype.B.nj,!1,null],[19,T.prototype.B.xd]]]]]]],[0,null,!1,null,6384751921016593,[[-1,T.prototype.j.Cl,null,0,!1,!1,!1,310284521710728,!1,[[0,[1,0.25]]]]],[[18,W.prototype.k.Ma,null,9060271483953864,!1,[[7,[10,[10,
[10,[23,"nickname"],[2,": "]],[19,T.prototype.B.round,[[23,"TotalDistance"]]]],[2," mts"]]]]]]],[0,null,!1,null,8472449884865165,[[-1,T.prototype.j.xh,null,0,!1,!1,!1,0x456af769f3177,!1,[[11,"NextBlockX"],[8,3],[7,[19,T.prototype.B.lr]]]]],[[-1,T.prototype.k.bj,null,0xf136f4e6895cd,!1,[[11,"NextBlockX"],[7,[20,8,Y.prototype.B.nf,!1,null]]]],[-1,T.prototype.k.cj,null,5832322299833301,!1,[[4,8],[5,[2,"Game"]],[0,[23,"NextBlockX"]],[0,[20,45,V.prototype.B.we,!1,null]]]],[8,ic.prototype.k.qd,"Bullet",
8860345936452065,!1,[[0,[0,180]]]],[-1,T.prototype.k.cj,null,0xa99209078774e,!1,[[4,8],[5,[2,"Game"]],[0,[23,"NextBlockX"]],[0,[5,[20,44,V.prototype.B.we,!1,null],[20,8,Y.prototype.B.El,!1,null]]]]],[8,ic.prototype.k.qd,"Bullet",5487845817932556,!1,[[0,[0,180]]]]]],[0,null,!1,null,8947566349427732,[[8,Y.prototype.j.yh,null,0,!1,!1,!1,6241722876341016,!1,[[8,2],[0,[3,[20,8,Y.prototype.B.nf,!1,null]]]]]],[[8,Y.prototype.k.dj,null,8331677903348602,!1]]],[0,null,!1,null,7413881295979181,[[46,V.prototype.j.yh,
null,0,!1,!1,!1,9100096579619524,!1,[[8,2],[0,[3,[20,46,V.prototype.B.nf,!1,null]]]]]],[[46,V.prototype.k.dj,null,0x51e0c54f8c883,!1],[47,cc.prototype.k.Play,null,9634068207592288,!1,[[2,["sfx_point",!1]],[3,0],[0,[0,0]],[1,[2,"sfxpoint"]]]]]],[0,null,!0,null,8029594871088893,[[41,V.prototype.j.wo,null,0,!1,!0,!1,0xdd335c088054a,!1],[41,V.prototype.j.Fl,null,0,!1,!1,!1,0xb9d1960cda81f,!1,[[4,8]]],[41,V.prototype.j.Fl,null,0,!1,!1,!1,6082236182021774,!1,[[4,46]]]],[[47,cc.prototype.k.Ul,null,6142321602374373,
!1,[[1,[2,"maintheme"]]]],[47,cc.prototype.k.Play,null,8876026648118517,!1,[[2,["atari_boom",!1]],[3,0],[0,[0,0]],[1,[2,""]]]],[41,V.prototype.k.ep,null,6893608530106386,!1,[[4,48],[5,[0,2]],[7,[0,0]]]],[41,V.prototype.k.dj,null,0xf3f6fef0cb8fd,!1],[47,cc.prototype.k.Play,null,5261860720443312,!1,[[2,["risa",!1]],[3,0],[0,[0,0]],[1,[2,""]]]],[-1,T.prototype.k.Vc,null,0xf064a66fd1445,!1,[[11,"vivo"],[7,[0,0]]]],[-1,T.prototype.k.jp,null,7771135544112302,!1,[[0,[0,2]]]],[39,bc.prototype.k.Xo,null,0xaafa340e6856,
!1,[[1,[2,"postscore"]],[1,[10,[10,[10,[2,"http://zuchiga3.blanchardspace.com/Barberena/postscore.php?alias="],[23,"nickname"]],[2,"&score="]],[19,T.prototype.B.round,[[23,"TotalDistance"]]]]],[1,[2,""]]]],[7,W.prototype.k.Ma,null,8228725242043701,!1,[[7,[10,[2," "],[19,T.prototype.B.round,[[23,"TotalDistance"]]]]]]],[-1,T.prototype.k.lj,null,807312939161319,!1,[[5,[2,"GameOver"]],[3,1]]]]],[0,null,!0,null,9234784188668332,[[42,Z.prototype.j.uo,null,0,!1,!1,!1,0xe083770da9682,!1],[43,fc.prototype.j.vo,
null,0,!1,!1,!1,9858944201141428,!1,[[9,32]]]],[[41,lc.prototype.k.zl,"CustomMovement",6722068397895388,!1,[[3,2],[0,[0,-300]]]]]],[0,null,!1,null,0xbb99e404f9fc9,[[-1,T.prototype.j.Bl,null,0,!1,!1,!1,6093573010861637,!1]],[[41,lc.prototype.k.zl,"CustomMovement",6913827940169972,!1,[[3,2],[0,[0,300]]]]]],[0,null,!1,null,9550552744272268,[[-1,T.prototype.j.Cl,null,0,!1,!1,!1,0x8a0a73ed74dd7,!1,[[0,[0,3]]]],[-1,T.prototype.j.xh,null,0,!1,!1,!1,9044044549444616,!1,[[11,"vivo"],[8,0],[7,[0,1]]]]],[[-1,
T.prototype.k.Vc,null,5930125933111981,!1,[[11,"TopSpawnerTargetY"],[7,[4,[0,10],[19,T.prototype.B.random,[[0,140]]]]]]],[-1,T.prototype.k.Vc,null,9412943721530512,!1,[[11,"BottomSpawnerTargetY"],[7,[5,[5,[19,T.prototype.B.kr],[0,10]],[19,T.prototype.B.random,[[0,140]]]]]]],[-1,T.prototype.k.cj,null,902569345590864,!1,[[4,46],[5,[2,"Game"]],[0,[0,700]],[0,[19,T.prototype.B.random,[[20,44,V.prototype.B.we,!1,null],[20,45,V.prototype.B.we,!1,null]]]]]],[46,ic.prototype.k.qd,"Bullet",0xd5509f9027ace,
!1,[[0,[0,180]]]],[-1,T.prototype.k.Vc,null,9057873048416026,!1,[[11,"sumatoriaface"],[7,[4,[23,"sumatoriaface"],[0,1]]]]],[46,V.prototype.k.bp,null,0xbaa65ec231aa1,!1,[[1,[10,[2,"anim"],[19,T.prototype.B.round,[[19,T.prototype.B.random,[[0,0],[0,4]]]]]]],[3,1]]]]],[0,null,!1,null,6625097159697283,[[-1,T.prototype.j.Dl,null,0,!1,!1,!1,7264893038106845,!1],[-1,T.prototype.j.xh,null,0,!1,!1,!1,7545100415995698,!1,[[11,"vivo"],[8,0],[7,[0,1]]]]],[[44,ic.prototype.k.qd,"Bullet",0xbf4dc48d316a3,!1,[[0,
[19,T.prototype.B.q,[[20,44,V.prototype.B.of,!1,null],[20,44,V.prototype.B.we,!1,null],[20,44,V.prototype.B.of,!1,null],[23,"TopSpawnerTargetY"]]]]]],[45,ic.prototype.k.qd,"Bullet",7843323627294521,!1,[[0,[19,T.prototype.B.q,[[20,45,V.prototype.B.of,!1,null],[20,45,V.prototype.B.we,!1,null],[20,45,V.prototype.B.of,!1,null],[23,"BottomSpawnerTargetY"]]]]]],[46,V.prototype.k.zo,null,8332615651950919,!1]]],[0,null,!1,null,7236500242029081,[[42,Z.prototype.j.Rd,null,1,!1,!1,!1,0x5600d0926e630,!1,[[4,
12]]],[-1,T.prototype.j.Gl,null,0,!1,!1,!1,6869382238815109,!1,[[5,[0,3]]]]],[[-1,T.prototype.k.Zo,null,5624083411678334,!1],[-1,T.prototype.k.lj,null,0x44314b5cb0a26,!1,[[5,[0,3]],[3,0]]]]],[0,null,!1,null,5609164677852651,[[42,Z.prototype.j.Rd,null,1,!1,!1,!1,8050428375271698,!1,[[4,53]]],[-1,T.prototype.j.Gl,null,0,!1,!1,!1,0xaf5d5bf359faf,!1,[[5,[0,3]]]]],[[54,dc.prototype.k.so,null,0xacef5ac2aaf29,!1,[[1,[10,[10,[10,[2,"https://www.facebook.com/sharer/sharer.php?u=http://zuchiga3.blanchardspace.com/share/share.php?score="],
[19,T.prototype.B.round,[[23,"TotalDistance"]]]],[2,":"]],[19,T.prototype.B.random,[[0,1],[0,10]]]]],[1,[2,"NewWindow"]]]]]],[0,null,!1,null,0x8304047185b01,[[42,Z.prototype.j.Rd,null,1,!1,!1,!1,4645052260400772,!1,[[4,11]]]],[[47,cc.prototype.k.Ah,null,0xf815d30bff8ee,!1],[-1,T.prototype.k.ag,null,0x80e0503d8cab4,!1,[[6,"MainMenu"]]]]],[0,null,!1,null,4954829128350472,[[39,bc.prototype.j.bg,null,1,!1,!1,!1,7925929067133807,!1,[[1,[2,"postscore"]]]]],[[39,bc.prototype.k.Rl,null,6553719949213465,!1,
[[1,[2,"getscores"]],[1,[2,"http://zuchiga3.blanchardspace.com/Barberena/getscore.php"]]]],[-1,T.prototype.k.Vc,null,0xe80d13493e811,!1,[[11,"EachX"],[7,[0,0]]]]]]]],["MainMenu",[[1,"nickname",1,"Jugador 1",!1,!1,0x43099841950d5,!1],[1,"nivel1",0,1,!1,!1,0xafe8a5587ee51,!1],[1,"nivel2",0,1,!1,!1,8797643156750112,!1],[1,"nivel3",0,0,!1,!1,6730401074108356,!1],[1,"nivel4",0,0,!1,!1,0x5802ce76f6c77,!1],[1,"nivel5",0,0,!1,!1,8108560867287117,!1],[1,"nivel6",0,0,!1,!1,0xd52cacbbb6f89,!1],[1,"nivel7",0,
0,!1,!1,7121114312591551,!1],[1,"nivel8",0,0,!1,!1,0xe24e3c0de3f68,!1],[0,null,!1,null,6302262094025059,[[-1,T.prototype.j.mf,null,1,!1,!1,!1,0xb3e37d71e82f3,!1]],[[2,V.prototype.k.Db,null,6967028834420703,!1,[[3,1]]],[14,V.prototype.k.Db,null,0x66a5b1723f3eb,!1,[[3,1]]],[13,V.prototype.k.Db,null,954798222102238,!1,[[3,1]]],[3,Y.prototype.k.Db,null,4854823789387037,!1,[[3,1]]],[2,jc.prototype.k.Yo,"Fade",8986315355037567,!1],[4,V.prototype.k.Db,null,5166294164039899,!1,[[3,1]]],[15,V.prototype.k.Db,
null,0xde0619d9d8771,!1,[[3,1]]],[20,gc.prototype.k.Db,null,0x587a578d3ca38,!1,[[3,1]]],[19,W.prototype.k.Db,null,699232714604082,!1,[[3,1]]],[16,ec.prototype.k.Db,null,7344598851524907,!1,[[3,1]]]]],[0,null,!1,null,5858703788391088,[[42,Z.prototype.j.Rd,null,1,!1,!1,!1,0x4763485a8f2f4,!1,[[4,14]]]],[[-1,T.prototype.k.ag,null,8612593417177442,!1,[[6,"Layout 1"]]],[47,cc.prototype.k.Ah,null,4860823120786245,!1]]],[0,null,!1,null,0x3bf70b054e219,[[-1,T.prototype.j.mf,null,1,!1,!1,!1,5652809701853483,
!1]],[[20,gc.prototype.k.Ma,null,9427902512435098,!1,[[1,[10,[2,""],[23,"nickname"]]]]]]],[0,null,!1,null,8404449735816437,[[16,ec.prototype.j.zh,null,1,!1,!1,!1,8695021207602134,!1]],[[-1,T.prototype.k.Vc,null,0x5cbb0fcee67a5,!1,[[11,"nickname"],[7,[20,20,gc.prototype.B.Vl,!0,null]]]],[22,W.prototype.k.Db,null,6379742255931302,!1,[[3,1]]],[22,jc.prototype.k.fp,"Fade",6021970122964475,!1],[22,W.prototype.k.Ma,null,0xeea1108685533,!1,[[7,[2,"NickName Guardado"]]]],[55,hc.prototype.k.gp,null,0x6be26316b0179,
!1,[[1,[2,"wsNickname"]],[7,[23,"nickname"]]]]]],[0,null,!1,null,7599053294607475,[[22,jc.prototype.j.ij,"Fade",1,!1,!1,!1,8255721601147555,!1]],[[22,W.prototype.k.Db,null,7223444936215649,!1,[[3,0]]]]],[0,null,!1,null,0xe778e235dedae,[[42,Z.prototype.j.Rd,null,1,!1,!1,!1,0xc84c901360e25,!1,[[4,15]]]],[[-1,T.prototype.k.ag,null,8961779515943425,!1,[[6,"Score"]]]]],[0,null,!1,null,0xbacc4084d5522,[[55,hc.prototype.j.$o,null,0,!1,!1,!1,9359123649578300,!1,[[1,[2,"wsNickname"]]]]],[[-1,T.prototype.k.Vc,
null,0xa6ecdd5d03fb3,!1,[[11,"nickname"],[7,[20,55,hc.prototype.B.yo,!0,null,[[2,"wsNickname"]]]]]]]]]],["score",[[1,"EachX",0,0,!1,!1,7604330225138378,!1],[0,null,!1,null,553649873222163,[[-1,T.prototype.j.mf,null,1,!1,!1,!1,9108406938916576,!1]],[[-1,T.prototype.k.Vc,null,5841874274523193,!1,[[11,"EachX"],[7,[0,0]]]],[39,bc.prototype.k.Rl,null,6225873931575917,!1,[[1,[2,"getscores"]],[1,[2,"http://zuchiga3.blanchardspace.com/Barberena/getscore.php"]]]]]],[0,null,!1,null,4532990205746504,[[39,bc.prototype.j.bg,
null,1,!1,!1,!1,0xeeb793382a385,!1,[[1,[2,"getscores"]]]]],[[-1,T.prototype.k.Sl,null,9797793847306534,!1,[[1,[2,"Do Array"]],[3,1]]]]],[0,[!0,"Do Array"],!1,null,9643361143866972,[[-1,T.prototype.j.to,null,0,!1,!1,!1,9643361143866972,!1,[[1,[2,"Do Array"]]]]],[],[[0,null,!1,null,6867581293984371,[[-1,T.prototype.j.Al,null,0,!1,!1,!1,8503950571652654,!1,[[7,[23,"EachX"]],[8,3],[7,[0,16]]]]],[[40,U.prototype.k.mj,null,0xb624915e5b283,!1,[[0,[23,"EachX"]],[7,[19,T.prototype.B.hs,[[20,39,bc.prototype.B.xo,
!0,null],[23,"EachX"],[2,"|"]]]]]],[-1,T.prototype.k.bj,null,8979552025119392,!1,[[11,"EachX"],[7,[0,1]]]]]]]],[0,null,!1,null,0x5485af206f114,[[-1,T.prototype.j.Al,null,0,!1,!1,!1,4871594694423921,!1,[[7,[23,"EachX"]],[8,5],[7,[0,16]]]]],[[-1,T.prototype.k.Sl,null,6248384703625832,!1,[[1,[2,"Do Array"]],[3,0]]],[27,W.prototype.k.Ma,null,9803057027043452,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,0]]]]]],[31,W.prototype.k.Ma,null,0x95cf01293cb04,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,1]]]]]],
[23,W.prototype.k.Ma,null,0x507f4ce540061,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,2]]]]]],[32,W.prototype.k.Ma,null,920808517713647,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,3]]]]]],[24,W.prototype.k.Ma,null,0x945c20a8f34a6,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,4]]]]]],[33,W.prototype.k.Ma,null,9683783395341308,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,5]]]]]],[25,W.prototype.k.Ma,null,4699649545896122,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,6]]]]]],[34,W.prototype.k.Ma,null,8744577137759209,
!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,7]]]]]],[26,W.prototype.k.Ma,null,6104235233028549,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,8]]]]]],[35,W.prototype.k.Ma,null,0x4b891026d26f5,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,9]]]]]],[28,W.prototype.k.Ma,null,882395464051091,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,10]]]]]],[36,W.prototype.k.Ma,null,5545902917407859,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,11]]]]]],[29,W.prototype.k.Ma,null,8763405285494538,!1,[[7,[20,40,U.prototype.B.yb,
!1,null,[[0,12]]]]]],[37,W.prototype.k.Ma,null,7004805285324017,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,13]]]]]],[30,W.prototype.k.Ma,null,9956980229778926,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,14]]]]]],[38,W.prototype.k.Ma,null,0xafa22489dd922,!1,[[7,[20,40,U.prototype.B.yb,!1,null,[[0,15]]]]]]]],[0,null,!1,null,7940644932003412,[[42,Z.prototype.j.Rd,null,1,!1,!1,!1,9415837557679324,!1,[[4,17]]]],[[-1,T.prototype.k.ag,null,0x9e2c56292f90e,!1,[[6,"MainMenu"]]]]]]],["Logo",[[0,null,!1,null,
5093466344553081,[[-1,T.prototype.j.mf,null,1,!1,!1,!1,6809284001703164,!1]],[[0,Y.prototype.k.Db,null,8206829880658747,!1,[[3,1]]],[47,cc.prototype.k.Ah,null,0xfb94985a0c810,!1],[1,V.prototype.k.Db,null,7123857090617141,!1,[[3,1]]]]],[0,null,!1,null,9548783677869496,[[1,jc.prototype.j.ij,"Fade",1,!1,!1,!1,5953629289745487,!1]],[[-1,T.prototype.k.ag,null,0x7de8daeddb3d2,!1,[[6,"MainMenu"]]],[47,cc.prototype.k.Ah,null,496244561296845,!1],[47,cc.prototype.k.Play,null,0x4537a6c3e3df8,!1,[[2,["radiops",
!0]],[3,0],[0,[0,0]],[1,[2,""]]]]]]]]],"media/",!0,480,320,4,!0,!0,!0,"1.2",2,!0,0,!0,60,!0,[]]};
