// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';function q(){return function(){}}function ba(a){return function(b){this[a]=b}}function u(a){return function(){return this[a]}}function w(a){return function(){return a}}var A,da,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,sa,ta,ua,B,va,wa,xa,ya,za,Aa,Ba,Ca,Da,Ea,Fa,Ga,Ha,Ia,Ja,Ka,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Za,$a,ab,bb,cb,db,eb,fb,gb,kb,lb,mb,nb,ob={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(a){return a.__proto__}:function(a){return a.constructor.prototype});
(function(){function a(a,c,b,f){this.set(a,c,b,f)}function b(){this.Qc=this.Pc=this.Tc=this.Sc=this.cd=this.bd=this.Tb=this.Sb=0}function c(){h?this.Gg=new Set:(this.fh={},this.zk=0);this.Rj=[];this.$i=!0}function d(a){l[m++]=a}function e(){this.mc=this.Rp=this.y=this.r=0}function g(a){this.gd=[];this.jn(a)}da=function(a){window.console&&window.console.log&&window.console.log(a)};ea=function(a){return"undefined"===typeof a};fa=function(a){return"number"===typeof a};ga=function(a){return"string"===
typeof a};ha=function(a){return 0<a&&0===(a-1&a)};ia=function(a){return 0>a?-a:a};ja=function(a,c){return a>c?a:c};ka=function(a,c){return a<c?a:c};la=Math.PI;ma=function(a){return a|0};na=function(a,c,b,f,d,e,h,g){if(ja(a,b)<ka(d,h)||ka(a,b)>ja(d,h)||ja(c,f)<ka(e,g)||ka(c,f)>ja(e,g))return!1;var l=d-a+h-b,n=e-c+g-f;a=b-a;c=f-c;d=h-d;e=g-e;g=ia(c*d-e*a);return ia(d*n-e*l)<=g&&ia(a*n-c*l)<=g};a.prototype.set=function(a,c,b,f){this.left=a;this.top=c;this.right=b;this.bottom=f};a.prototype.width=function(){return this.right-
this.left};a.prototype.height=function(){return this.bottom-this.top};a.prototype.offset=function(a,c){this.left+=a;this.top+=c;this.right+=a;this.bottom+=c;return this};a.prototype.UB=function(a){return!(a.right<this.left||a.bottom<this.top||a.left>this.right||a.top>this.bottom)};a.prototype.Ve=function(a,c){return a>=this.left&&a<=this.right&&c>=this.top&&c<=this.bottom};oa=a;b.prototype.ut=function(a){this.Sb=a.left;this.Tb=a.top;this.bd=a.right;this.cd=a.top;this.Sc=a.right;this.Tc=a.bottom;this.Pc=
a.left;this.Qc=a.bottom};b.prototype.Fx=function(a,c){if(0===c)this.ut(a);else{var b=Math.sin(c),f=Math.cos(c),d=a.left*b,e=a.top*b,h=a.right*b,b=a.bottom*b,g=a.left*f,l=a.top*f,n=a.right*f,f=a.bottom*f;this.Sb=g-e;this.Tb=l+d;this.bd=n-e;this.cd=l+h;this.Sc=n-b;this.Tc=f+h;this.Pc=g-b;this.Qc=f+d}};b.prototype.offset=function(a,c){this.Sb+=a;this.Tb+=c;this.bd+=a;this.cd+=c;this.Sc+=a;this.Tc+=c;this.Pc+=a;this.Qc+=c;return this};b.prototype.mv=function(a){a.left=ka(ka(this.Sb,this.bd),ka(this.Sc,
this.Pc));a.top=ka(ka(this.Tb,this.cd),ka(this.Tc,this.Qc));a.right=ja(ja(this.Sb,this.bd),ja(this.Sc,this.Pc));a.bottom=ja(ja(this.Tb,this.cd),ja(this.Tc,this.Qc))};b.prototype.Ve=function(a,c){var b=this.bd-this.Sb,f=this.cd-this.Tb,d=this.Sc-this.Sb,e=this.Tc-this.Tb,h=a-this.Sb,g=c-this.Tb,l=b*b+f*f,n=b*d+f*e,f=b*h+f*g,m=d*d+e*e,x=d*h+e*g,z=1/(l*m-n*n),b=(m*f-n*x)*z,l=(l*x-n*f)*z;if(0<=b&&0<l&&1>b+l)return!0;b=this.Pc-this.Sb;f=this.Qc-this.Tb;l=b*b+f*f;n=b*d+f*e;f=b*h+f*g;z=1/(l*m-n*n);b=(m*
f-n*x)*z;l=(l*x-n*f)*z;return 0<=b&&0<l&&1>b+l};b.prototype.Sh=function(a,c){switch(a){case 0:return c?this.Sb:this.Tb;case 1:return c?this.bd:this.cd;case 2:return c?this.Sc:this.Tc;case 3:return c?this.Pc:this.Qc;case 4:return c?this.Sb:this.Tb;default:return c?this.Sb:this.Tb}};b.prototype.Gj=function(){return(this.Sb+this.bd+this.Sc+this.Pc)/4};b.prototype.Hj=function(){return(this.Tb+this.cd+this.Tc+this.Qc)/4};b.prototype.TB=function(a){var c=a.Gj(),b=a.Hj();if(this.Ve(c,b))return!0;c=this.Gj();
b=this.Hj();if(a.Ve(c,b))return!0;var f,d,e,h,g,l,n,m;for(n=0;4>n;n++)for(m=0;4>m;m++)if(c=this.Sh(n,!0),b=this.Sh(n,!1),f=this.Sh(n+1,!0),d=this.Sh(n+1,!1),e=a.Sh(m,!0),h=a.Sh(m,!1),g=a.Sh(m+1,!0),l=a.Sh(m+1,!1),na(c,b,f,d,e,h,g,l))return!0;return!1};pa=b;qa=function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b]);return a};sa=function(a,c){var b,f;c=ma(c);if(!(0>c||c>=a.length))if(0===c)a.shift();else if(c===a.length-1)a.pop();else{b=c;for(f=a.length-1;b<f;b++)a[b]=a[b+1];a.length=f}};ta=function(a,
c){a.length=c.length;var b,f;b=0;for(f=c.length;b<f;b++)a[b]=c[b]};ua=function(a,c){var b=a.indexOf(c);-1!==b&&sa(a,b)};B=function(a){return a/(180/la)};va=function(a){return a*(180/la)};wa=function(a){a%=360;0>a&&(a+=360);return a};xa=function(a){a%=2*la;0>a&&(a+=2*la);return a};ya=function(a){return wa(va(a))};za=function(a){return xa(B(a))};Aa=function(a,c,b,f){return Math.atan2(f-c,b-a)};Ba=function(a,c){if(a===c)return 0;var b=Math.sin(a),f=Math.cos(a),d=Math.sin(c),e=Math.cos(c),b=b*d+f*e;return 1<=
b?0:-1>=b?la:Math.acos(b)};Ca=function(a,c,b){var f=Math.sin(a),d=Math.cos(a),e=Math.sin(c),h=Math.cos(c);return Math.acos(f*e+d*h)>b?0<d*e-f*h?xa(a+b):xa(a-b):xa(c)};Da=function(a,c){var b=Math.sin(a),f=Math.cos(a),d=Math.sin(c),e=Math.cos(c);return 0>=f*d-b*e};Ea=function(a,c,b,f,d,e){if(0===b)return e?a:c;var h=Math.sin(b);b=Math.cos(b);a-=f;c-=d;var g=a*h;a=a*b-c*h;c=c*b+g;return e?a+f:c+d};Fa=function(a,c,b,f){a=b-a;c=f-c;return Math.sqrt(a*a+c*c)};Ga=function(a,c){return!a!==!c};Ha=function(a){for(var c in a)if(a.hasOwnProperty(c))return!0;
return!1};Ia=function(a){for(var c in a)a.hasOwnProperty(c)&&delete a[c]};var f=+new Date;Ja=function(){if("undefined"!==typeof window.performance){var a=window.performance;if("undefined"!==typeof a.now)return a.now();if("undefined"!==typeof a.webkitNow)return a.webkitNow();if("undefined"!==typeof a.msNow)return a.msNow()}return Date.now()-f};var h="undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;c.prototype.contains=function(a){return h?this.Gg.has(a):this.fh.hasOwnProperty(a.toString())};
c.prototype.add=function(a){if(h)this.Gg.has(a)||(this.Gg.add(a),this.$i=!1);else{var c=a.toString();this.fh.hasOwnProperty(c)||(this.fh[c]=a,this.zk++,this.$i=!1)}return this};c.prototype.remove=function(a){h?this.Gg.has(a)&&(this.Gg["delete"](a),this.$i=!1):(a=a.toString(),this.fh.hasOwnProperty(a)&&(delete this.fh[a],this.zk--,this.$i=!1));return this};c.prototype.clear=function(){h?this.Gg.clear():(Ia(this.fh),this.zk=0);this.Rj.length=0;this.$i=!0;return this};c.prototype.qm=function(){return h?
0===this.Gg.size:0===this.zk};c.prototype.count=function(){return h?this.Gg.size:this.zk};var l=null,m=0;c.prototype.JD=function(){if(!this.$i){if(h)this.Rj.length=this.Gg.size,l=this.Rj,m=0,this.Gg.forEach(d),l=null,m=0;else{this.Rj.length=this.zk;var a,c=0;for(a in this.fh)this.fh.hasOwnProperty(a)&&(this.Rj[c++]=this.fh[a])}this.$i=!0}};c.prototype.Fh=function(){this.JD();return this.Rj};Ka=c;e.prototype.add=function(a){this.y=a-this.r;this.Rp=this.mc+this.y;this.r=this.Rp-this.mc-this.y;this.mc=
this.Rp};e.prototype.reset=function(){this.mc=this.Rp=this.y=this.r=0};Na=e;Oa=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};g.prototype.jn=function(a){this.kx=a;this.Cg=a.length/2;this.gd.length=a.length;this.Lq=this.Mq=-1;this.ov=0};g.prototype.xk=function(){return!this.kx.length};g.prototype.Np=function(a,c,b,f,d){this.gd.length=8;this.Cg=4;var e=this.gd;e[0]=a.Sb-c;e[1]=a.Tb-b;e[2]=a.bd-c;e[3]=a.cd-b;e[4]=a.Sc-c;e[5]=a.Tc-b;e[6]=a.Pc-c;e[7]=a.Qc-b;this.Mq=f;this.Lq=d};g.prototype.Ex=
function(a){this.Cg=a.Cg;ta(this.gd,a.gd)};g.prototype.fk=function(a,c,b){if(this.Mq!==a||this.Lq!==c||this.ov!==b){this.Mq=a;this.Lq=c;this.ov=b;var f,d,e,h=0,g=1,n=this.kx,l=this.gd;0!==b&&(h=Math.sin(b),g=Math.cos(b));b=0;for(f=this.Cg;b<f;b++)d=n[2*b]*a,e=n[2*b+1]*c,l[2*b]=d*g-e*h,l[2*b+1]=e*g+d*h}};g.prototype.Ve=function(a,c){var b=this.gd;if(a===b[0]&&c===b[1])return!0;var f,d,e,h=this.Cg,g=b[0],n=g,l=b[1],m=l;for(f=1;f<h;f++)d=b[2*f],e=b[2*f+1],d<g&&(g=d),d>n&&(n=d),e<l&&(l=e),e>m&&(m=e);
d=g-110;var l=l-101,n=n+131,m=m+120,x,z,D=0,v=0;for(f=0;f<h;f++)e=b[2*f],g=b[2*f+1],x=b[2*((f+1)%h)],z=b[2*((f+1)%h)+1],na(d,l,a,c,e,g,x,z)&&D++,na(n,m,a,c,e,g,x,z)&&v++;return 1===D%2||1===v%2};g.prototype.ew=function(a,c,b){var f=a.gd,d=this.gd;if(this.Ve(f[0]+c,f[1]+b)||a.Ve(d[0]-c,d[1]-b))return!0;var e,h,g,n,l,m,x,z,D,v,F,Q;e=0;for(h=this.Cg;e<h;e++)for(l=d[2*e],m=d[2*e+1],x=d[2*((e+1)%h)],z=d[2*((e+1)%h)+1],g=0,n=a.Cg;g<n;g++)if(D=f[2*g]+c,v=f[2*g+1]+b,F=f[2*((g+1)%n)]+c,Q=f[2*((g+1)%n)+1]+
b,na(l,m,x,z,D,v,F,Q))return!0;return!1};Pa=g;var n="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");Qa=function(a){return 0>=a||11<=a?"source-over":n[a-1]};Ra=function(a,c,b){if(b)switch(a.vd=b.ONE,a.od=b.ONE_MINUS_SRC_ALPHA,c){case 1:a.vd=b.ONE;a.od=b.ONE;break;case 3:a.vd=b.ONE;a.od=b.ZERO;break;case 4:a.vd=b.ONE_MINUS_DST_ALPHA;a.od=b.ONE;break;case 5:a.vd=b.DST_ALPHA;a.od=b.ZERO;break;case 6:a.vd=b.ZERO;a.od=b.SRC_ALPHA;
break;case 7:a.vd=b.ONE_MINUS_DST_ALPHA;a.od=b.ZERO;break;case 8:a.vd=b.ZERO;a.od=b.ONE_MINUS_SRC_ALPHA;break;case 9:a.vd=b.DST_ALPHA;a.od=b.ONE_MINUS_SRC_ALPHA;break;case 10:a.vd=b.ONE_MINUS_DST_ALPHA,a.od=b.SRC_ALPHA}};Sa=function(a){return Math.round(1E6*a)/1E6};Ta=function(a,b){return"string"!==typeof a||"string"!==typeof b||a.length!==b.length?!1:a===b?!0:a.toLowerCase()===b.toLowerCase()}})();var pb="undefined"!==typeof Float32Array?Float32Array:Array;
function qb(a){var b=new pb(3);a&&(b[0]=a[0],b[1]=a[1],b[2]=a[2]);return b}function rb(a){var b=new pb(16);a&&(b[0]=a[0],b[1]=a[1],b[2]=a[2],b[3]=a[3],b[4]=a[4],b[5]=a[5],b[6]=a[6],b[7]=a[7],b[8]=a[8],b[9]=a[9],b[10]=a[10],b[11]=a[11],b[12]=a[12],b[13]=a[13],b[14]=a[14],b[15]=a[15]);return b}function sb(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];b[12]=a[12];b[13]=a[13];b[14]=a[14];b[15]=a[15]}
function tb(a,b){var c=b[0],d=b[1];b=b[2];a[0]*=c;a[1]*=c;a[2]*=c;a[3]*=c;a[4]*=d;a[5]*=d;a[6]*=d;a[7]*=d;a[8]*=b;a[9]*=b;a[10]*=b;a[11]*=b}
function ub(a,b,c,d){d||(d=rb());var e,g,f,h,l,m,n,k,p=a[0],s=a[1];a=a[2];g=c[0];f=c[1];e=c[2];c=b[1];m=b[2];p===b[0]&&s===c&&a===m?(a=d,a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1):(c=p-b[0],m=s-b[1],n=a-b[2],k=1/Math.sqrt(c*c+m*m+n*n),c*=k,m*=k,n*=k,b=f*n-e*m,e=e*c-g*n,g=g*m-f*c,(k=Math.sqrt(b*b+e*e+g*g))?(k=1/k,b*=k,e*=k,g*=k):g=e=b=0,f=m*g-n*e,h=n*b-c*g,l=c*e-m*b,(k=Math.sqrt(f*f+h*h+l*l))?(k=1/k,f*=k,h*=k,l*=k):l=h=f=0,
d[0]=b,d[1]=f,d[2]=c,d[3]=0,d[4]=e,d[5]=h,d[6]=m,d[7]=0,d[8]=g,d[9]=l,d[10]=n,d[11]=0,d[12]=-(b*p+e*s+g*a),d[13]=-(f*p+h*s+l*a),d[14]=-(c*p+m*s+n*a),d[15]=1)}
(function(){function a(a){this.height=this.width=0;this.pv=qb([0,0,100]);this.zw=qb([0,0,0]);this.Wx=qb([0,1,0]);this.Wt=qb([1,1,1]);this.Js=rb();this.jf=rb();this.pw=rb();this.Zq=rb();this.fa=a;this.$v()}function b(a,b,c){this.fa=a;this.kn=b;this.name=c;this.ef=a.getAttribLocation(b,"aPos");this.li=a.getAttribLocation(b,"aTex");this.xw=a.getUniformLocation(b,"matP");this.Lk=a.getUniformLocation(b,"matMV");this.Mk=a.getUniformLocation(b,"opacity");this.yw=a.getUniformLocation(b,"samplerFront");this.ep=
a.getUniformLocation(b,"samplerBack");this.Kk=a.getUniformLocation(b,"destStart");this.Jk=a.getUniformLocation(b,"destEnd");this.ps=a.getUniformLocation(b,"seconds");this.os=a.getUniformLocation(b,"pixelWidth");this.ns=a.getUniformLocation(b,"pixelHeight");this.ls=a.getUniformLocation(b,"layerScale");this.Mk&&a.uniform1f(this.Mk,1);this.yw&&a.uniform1i(this.yw,0);this.ep&&a.uniform1i(this.ep,1);this.Kk&&a.uniform2f(this.Kk,0,0);this.Jk&&a.uniform2f(this.Jk,1,1);this.lj=!1}function c(a,b){this.type=
a;this.qa=b;this.fa=b.fa;this.pg=this.qf=this.Uw=0;this.ra=this.Oj=null;this.wt=[]}function d(a){--a;for(var b=1;32>b;b<<=1)a|=a>>b;return a+1}a.prototype.$v=function(){var a=this.fa,b;this.qw=1;this.Fk=null;this.yv=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.rw=a.ONE;this.ow=a.ONE_MINUS_SRC_ALPHA;this.$s=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.$s);this.un=Array(4);this.nn=
Array(4);for(b=0;4>b;b++)this.un[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.un[b]),this.nn[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.nn[b]);this.Yg=0;this.SB=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.SB);this.Ut=new Float32Array(16E3);this.Et=new Float32Array(16E3);this.bD=new Float32Array(32E3);for(var c=new Uint16Array(12E3),d=b=0;12E3>b;)c[b++]=d,c[b++]=d+1,c[b++]=d+2,c[b++]=d,c[b++]=d+2,c[b++]=d+3,d+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,c,a.STATIC_DRAW);this.bt=
this.Lg=0;this.Kc=[];b=this.Wq({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.Kc.push(b);
b=this.Wq({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.Kc.push(b);for(var e in vb)vb.hasOwnProperty(e)&&this.Kc.push(this.Wq(vb[e],
"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}",e));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.Uh=[];this.Ug=0;this.he=!1;this.zv=this.ym=-1;this.Xl=null;this.iB=a.createFramebuffer();this.rx=null;this.Hi=qb([0,0,0]);this.Ig(0)};a.prototype.Wq=function(a,c,d){var e=this.fa,g=e.createShader(e.FRAGMENT_SHADER);
e.shaderSource(g,a.src);e.compileShader(g);if(!e.getShaderParameter(g,e.COMPILE_STATUS))return e.deleteShader(g),null;var k=e.createShader(e.VERTEX_SHADER);e.shaderSource(k,c);e.compileShader(k);if(!e.getShaderParameter(k,e.COMPILE_STATUS))return e.deleteShader(g),e.deleteShader(k),null;c=e.createProgram();e.attachShader(c,g);e.attachShader(c,k);e.linkProgram(c);if(!e.getProgramParameter(c,e.LINK_STATUS))return e.deleteShader(g),e.deleteShader(k),e.deleteProgram(c),null;e.useProgram(c);e.deleteShader(g);
e.deleteShader(k);d=new b(e,c,d);d.hr=a.hr||0;d.ir=a.ir||0;d.wv=!!a.wv;d.dv=!!a.dv;d.ja=a.ja||[];a=0;for(g=d.ja.length;a<g;a++)d.ja[a][1]=e.getUniformLocation(c,d.ja[a][0]),e.uniform1f(d.ja[a][1],0);return d};a.prototype.yr=function(a){var b,c;b=0;for(c=this.Kc.length;b<c;b++)if(this.Kc[b].name===a)return b;return-1};a.prototype.jx=function(a,b,c){var d=[0,0,this.width,this.height],e=this.jf,k=this.Js,p=[0,0,0,0,0,0,0,0];p[0]=e[0]*a+e[4]*b+e[12];p[1]=e[1]*a+e[5]*b+e[13];p[2]=e[2]*a+e[6]*b+e[14];p[3]=
e[3]*a+e[7]*b+e[15];p[4]=k[0]*p[0]+k[4]*p[1]+k[8]*p[2]+k[12]*p[3];p[5]=k[1]*p[0]+k[5]*p[1]+k[9]*p[2]+k[13]*p[3];p[6]=k[2]*p[0]+k[6]*p[1]+k[10]*p[2]+k[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],c[0]=(0.5*p[4]+0.5)*d[2]+d[0],c[1]=(0.5*p[5]+0.5)*d[3]+d[1])};a.prototype.tt=function(a,b,c){if(this.width!==a||this.height!==b||c){this.fj();this.width=a;this.height=b;this.fa.viewport(0,0,a,b);b=a/b;var d=this.Js,e;e=1*Math.tan(45*Math.PI/360);b*=e;a=-b;c=-e;d||(d=rb());var k=
b-a,p=e-c;d[0]=2/k;d[1]=0;d[2]=0;d[3]=0;d[4]=0;d[5]=2/p;d[6]=0;d[7]=0;d[8]=(b+a)/k;d[9]=(e+c)/p;d[10]=-1001/999;d[11]=-1;d[12]=0;d[13]=0;d[14]=-2E3/999;d[15]=0;ub(this.pv,this.zw,this.Wx,this.jf);a=[0,0];b=[0,0];this.jx(0,0,a);this.jx(1,1,b);this.Wt[0]=1/(b[0]-a[0]);this.Wt[1]=-1/(b[1]-a[1]);a=0;for(b=this.Kc.length;a<b;a++)c=this.Kc[a],c.lj=!1,c.xw&&(this.fa.useProgram(c.kn),this.fa.uniformMatrix4fv(c.xw,!1,this.Js));this.fa.useProgram(this.Kc[this.ym].kn);this.fa.bindTexture(this.fa.TEXTURE_2D,
null);this.Fk=null}};a.prototype.xi=function(){ub(this.pv,this.zw,this.Wx,this.jf);tb(this.jf,this.Wt)};a.prototype.translate=function(a,b){if(0!==a||0!==b){this.Hi[0]=a;this.Hi[1]=b;this.Hi[2]=0;var c=this.jf,d=this.Hi,e=d[0],k=d[1],d=d[2];c[12]=c[0]*e+c[4]*k+c[8]*d+c[12];c[13]=c[1]*e+c[5]*k+c[9]*d+c[13];c[14]=c[2]*e+c[6]*k+c[10]*d+c[14];c[15]=c[3]*e+c[7]*k+c[11]*d+c[15]}};a.prototype.scale=function(a,b){if(1!==a||1!==b)this.Hi[0]=a,this.Hi[1]=b,this.Hi[2]=1,tb(this.jf,this.Hi)};a.prototype.tx=function(a){if(0!==
a){var b=this.jf,c,d=Math.sin(a);a=Math.cos(a);var e=b[0],k=b[1],p=b[2],s=b[3],g=b[4],r=b[5],y=b[6],H=b[7];c?b!==c&&(c[8]=b[8],c[9]=b[9],c[10]=b[10],c[11]=b[11],c[12]=b[12],c[13]=b[13],c[14]=b[14],c[15]=b[15]):c=b;c[0]=e*a+g*d;c[1]=k*a+r*d;c[2]=p*a+y*d;c[3]=s*a+H*d;c[4]=e*-d+g*a;c[5]=k*-d+r*a;c[6]=p*-d+y*a;c[7]=s*-d+H*a}};a.prototype.Ji=function(){for(var a=!1,b=0;16>b;b++)if(this.pw[b]!==this.jf[b]){a=!0;break}a&&(a=this.Uf(),a.type=5,a.ra?sb(this.jf,a.ra):a.ra=rb(this.jf),sb(this.jf,this.pw),this.he=
!1)};c.prototype.zA=function(){this.fa.bindTexture(this.fa.TEXTURE_2D,this.Oj)};c.prototype.wA=function(){var a=this.Uw,b=this.qa;b.yv=a;b=b.Xl;b.Mk&&this.fa.uniform1f(b.Mk,a)};c.prototype.tA=function(){this.fa.drawElements(this.fa.TRIANGLES,this.pg,this.fa.UNSIGNED_SHORT,2*this.qf)};c.prototype.vA=function(){this.fa.blendFunc(this.qf,this.pg)};c.prototype.AA=function(){var a,b,c,d=this.qa.Kc,e=this.qa.zv;a=0;for(b=d.length;a<b;a++)c=d[a],a===e&&c.Lk?(this.fa.uniformMatrix4fv(c.Lk,!1,this.ra),c.lj=
!0):c.lj=!1;sb(this.ra,this.qa.Zq)};c.prototype.uA=function(){var a=this.fa,b=this.qa;this.Oj?(a.bindFramebuffer(a.FRAMEBUFFER,b.iB),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.Oj,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};c.prototype.oA=function(){var a=this.fa;0===this.qf?(a.clearColor(this.ra[0],this.ra[1],this.ra[2],this.ra[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),a.scissor(this.ra[0],
this.ra[1],this.ra[2],this.ra[3]),a.clearColor(0,0,0,0),a.clear(this.fa.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};c.prototype.sA=function(){var a=this.fa,b=this.qa,c=b.Kc[1];a.useProgram(c.kn);!c.lj&&c.Lk&&(a.uniformMatrix4fv(c.Lk,!1,b.Zq),c.lj=!0);a.enableVertexAttribArray(c.ef);a.bindBuffer(a.ARRAY_BUFFER,b.$s);a.vertexAttribPointer(c.ef,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.qf/4,this.pg);c=b.Xl;a.useProgram(c.kn);0<=c.ef&&(a.enableVertexAttribArray(c.ef),a.bindBuffer(a.ARRAY_BUFFER,
b.un[b.Yg]),a.vertexAttribPointer(c.ef,2,a.FLOAT,!1,0,0));0<=c.li&&(a.enableVertexAttribArray(c.li),a.bindBuffer(a.ARRAY_BUFFER,b.nn[b.Yg]),a.vertexAttribPointer(c.li,2,a.FLOAT,!1,0,0))};c.prototype.xA=function(){var a=this.fa,b=this.qa,c=b.Kc[this.qf];b.zv=this.qf;b.Xl=c;a.useProgram(c.kn);!c.lj&&c.Lk&&(a.uniformMatrix4fv(c.Lk,!1,b.Zq),c.lj=!0);c.Mk&&a.uniform1f(c.Mk,b.yv);0<=c.ef&&(a.enableVertexAttribArray(c.ef),a.bindBuffer(a.ARRAY_BUFFER,b.un[b.Yg]),a.vertexAttribPointer(c.ef,2,a.FLOAT,!1,0,
0));0<=c.li&&(a.enableVertexAttribArray(c.li),a.bindBuffer(a.ARRAY_BUFFER,b.nn[b.Yg]),a.vertexAttribPointer(c.li,2,a.FLOAT,!1,0,0))};c.prototype.yA=function(){var a,b,c=this.qa.Xl,d=this.fa;c.ep&&(d.activeTexture(d.TEXTURE1),d.bindTexture(d.TEXTURE_2D,this.Oj),d.activeTexture(d.TEXTURE0));c.os&&d.uniform1f(c.os,this.ra[0]);c.ns&&d.uniform1f(c.ns,this.ra[1]);c.Kk&&d.uniform2f(c.Kk,this.ra[2],this.ra[3]);c.Jk&&d.uniform2f(c.Jk,this.ra[4],this.ra[5]);c.ls&&d.uniform1f(c.ls,this.ra[6]);c.ps&&d.uniform1f(c.ps,
Ja()/1E3);if(c.ja.length)for(a=0,b=c.ja.length;a<b;a++)d.uniform1f(c.ja[a][1],this.wt[a])};a.prototype.Uf=function(){this.Ug===this.Uh.length&&this.Uh.push(new c(0,this));return this.Uh[this.Ug++]};a.prototype.fj=function(){if(0!==this.Ug&&!this.fa.isContextLost()){var a=this.fa;0<this.bt&&(a.bindBuffer(a.ARRAY_BUFFER,this.$s),a.bufferData(a.ARRAY_BUFFER,this.bD.subarray(0,this.bt),a.STREAM_DRAW),b&&0<=b.ef&&"<point>"===b.name&&a.vertexAttribPointer(b.ef,4,a.FLOAT,!1,0,0));if(0<this.Lg){var b=this.Xl;
a.bindBuffer(a.ARRAY_BUFFER,this.un[this.Yg]);a.bufferData(a.ARRAY_BUFFER,this.Ut.subarray(0,this.Lg),a.STREAM_DRAW);b&&0<=b.ef&&"<point>"!==b.name&&a.vertexAttribPointer(b.ef,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.nn[this.Yg]);a.bufferData(a.ARRAY_BUFFER,this.Et.subarray(0,this.Lg),a.STREAM_DRAW);b&&0<=b.li&&"<point>"!==b.name&&a.vertexAttribPointer(b.li,2,a.FLOAT,!1,0,0)}for(var c,a=0,b=this.Ug;a<b;a++)switch(c=this.Uh[a],c.type){case 1:c.tA();break;case 2:c.zA();break;case 3:c.wA();
break;case 4:c.vA();break;case 5:c.AA();break;case 6:c.uA();break;case 7:c.oA();break;case 8:c.sA();break;case 9:c.xA();break;case 10:c.yA()}this.bt=this.Lg=this.Ug=0;this.he=!1;this.Yg++;4<=this.Yg&&(this.Yg=0)}};a.prototype.fl=function(a){if(a!==this.qw){var b=this.Uf();b.type=3;this.qw=b.Uw=a;this.he=!1}};a.prototype.of=function(a){if(a!==this.Fk){var b=this.Uf();b.type=2;this.Fk=b.Oj=a;this.he=!1}};a.prototype.yi=function(a,b){if(a!==this.rw||b!==this.ow){var c=this.Uf();c.type=4;c.qf=a;c.pg=
b;this.rw=a;this.ow=b;this.he=!1}};a.prototype.Bx=function(){this.yi(this.fa.ONE,this.fa.ONE_MINUS_SRC_ALPHA)};a.prototype.Cp=function(a,b,c,d,e,g,p,s){15992<=this.Lg&&this.fj();var t=this.Lg,r=this.Ut,y=this.Et;if(this.he)this.Uh[this.Ug-1].pg+=6;else{var H=this.Uf();H.type=1;H.qf=3*(t/4);H.pg=6;this.he=!0}r[t]=a;y[t++]=0;r[t]=b;y[t++]=0;r[t]=c;y[t++]=1;r[t]=d;y[t++]=0;r[t]=e;y[t++]=1;r[t]=g;y[t++]=1;r[t]=p;y[t++]=0;r[t]=s;y[t++]=1;this.Lg=t};a.prototype.ti=function(a,b,c,d,e,g,p,s,t){15992<=this.Lg&&
this.fj();var r=this.Lg,y=this.Ut,H=this.Et;if(this.he)this.Uh[this.Ug-1].pg+=6;else{var J=this.Uf();J.type=1;J.qf=3*(r/4);J.pg=6;this.he=!0}y[r]=a;H[r++]=t.left;y[r]=b;H[r++]=t.top;y[r]=c;H[r++]=t.right;y[r]=d;H[r++]=t.top;y[r]=e;H[r++]=t.right;y[r]=g;H[r++]=t.bottom;y[r]=p;H[r++]=t.left;y[r]=s;H[r++]=t.bottom;this.Lg=r};a.prototype.Ig=function(a){if(this.ym!==a){if(!this.Kc[a]){if(0===this.ym)return;a=0}var b=this.Uf();b.type=9;this.ym=b.qf=a;this.he=!1}};a.prototype.bn=function(a){a=this.Kc[a];
return!(!a.Kk&&!a.Jk)};a.prototype.et=function(a){return this.Kc[a].wv};a.prototype.eD=function(a){a=this.Kc[a];return 0!==a.hr||0!==a.ir};a.prototype.xB=function(a){return this.Kc[a].hr};a.prototype.yB=function(a){return this.Kc[a].ir};a.prototype.zB=function(a,b){return this.Kc[a].ja[b][2]};a.prototype.zp=function(a){return this.Kc[a].dv};a.prototype.gl=function(a,b,c,d,e,g,p,s,t){var r=this.Kc[this.ym];if(r.os||r.ns||r.ps||r.ep||r.Kk||r.Jk||r.ls||t.length){r=this.Uf();r.type=10;r.ra?sb(this.jf,
r.ra):r.ra=rb();r.ra[0]=b;r.ra[1]=c;r.ra[2]=d;r.ra[3]=e;r.ra[4]=g;r.ra[5]=p;r.ra[6]=s;r.Oj=a;if(t.length)for(r.wt.length=t.length,a=0,b=t.length;a<b;a++)r.wt[a]=t[a];this.he=!1}};a.prototype.clear=function(a,b,c,d){var e=this.Uf();e.type=7;e.qf=0;e.ra||(e.ra=rb());e.ra[0]=a;e.ra[1]=b;e.ra[2]=c;e.ra[3]=d;this.he=!1};a.prototype.clearRect=function(a,b,c,d){var e=this.Uf();e.type=7;e.qf=1;e.ra||(e.ra=rb());e.ra[0]=a;e.ra[1]=b;e.ra[2]=c;e.ra[3]=d;this.he=!1};a.prototype.dD=function(){this.fj();this.fa.flush()};
var e=[],g={};a.prototype.cp=function(a,b,c){var m;m=!1;b=!!b;var n=a.src+","+m+","+b+(m?",undefined":""),k=null;if("undefined"!==typeof a.src&&g.hasOwnProperty(n))return k=g[n],k.fo++,k;this.fj();var p=this.fa,s=ha(a.width)&&ha(a.height),k=p.createTexture();p.bindTexture(p.TEXTURE_2D,k);p.pixelStorei(p.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var t=p.RGBA,r=p.RGBA,y=p.UNSIGNED_BYTE;if(c)switch(c){case 1:r=t=p.RGB;break;case 2:y=p.UNSIGNED_SHORT_4_4_4_4;break;case 3:y=p.UNSIGNED_SHORT_5_5_5_1;break;case 4:r=
t=p.RGB,y=p.UNSIGNED_SHORT_5_6_5}!s&&m?(c=document.createElement("canvas"),c.width=d(a.width),c.height=d(a.height),c.getContext("2d").drawImage(a,0,0,a.width,a.height,0,0,c.width,c.height),p.texImage2D(p.TEXTURE_2D,0,t,r,y,c)):p.texImage2D(p.TEXTURE_2D,0,t,r,y,a);m?(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));
b?(p.texParameteri(p.TEXTURE_2D,p.TEXTURE_MAG_FILTER,p.LINEAR),s?(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.Fk=null;k.Sl=a.width;k.Rl=a.height;k.fo=1;k.nv=n;e.push(k);return g[n]=k};a.prototype.Yh=function(a,b,c){this.fj();
var d=this.fa,g=d.createTexture();d.bindTexture(d.TEXTURE_2D,g);d.texImage2D(d.TEXTURE_2D,0,d.RGBA,a,b,0,d.RGBA,d.UNSIGNED_BYTE,null);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_S,d.CLAMP_TO_EDGE);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_T,d.CLAMP_TO_EDGE);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MAG_FILTER,c?d.LINEAR:d.NEAREST);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MIN_FILTER,c?d.LINEAR:d.NEAREST);d.bindTexture(d.TEXTURE_2D,null);this.Fk=null;g.Sl=a;g.Rl=b;e.push(g);return g};a.prototype.deleteTexture=
function(a){a&&("undefined"!==typeof a.fo&&1<a.fo?a.fo--:(this.fj(),this.fa.bindTexture(this.fa.TEXTURE_2D,null),this.Fk=null,ua(e,a),"undefined"!==typeof a.nv&&delete g[a.nv],this.fa.deleteTexture(a)))};a.prototype.Ah=function(a){if(a!==this.rx){var b=this.Uf();b.type=6;this.rx=b.Oj=a;this.he=!1}};Ua=a})();
(function(){function a(a){if(a&&(a.getContext||a.dc)&&!a.c2runtime){a.c2runtime=this;var b=this;this.pj="undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.df=!!a.dc;this.vk="undefined"!==typeof window.AppMobi||this.df;if(this.Vd=!!window.c2cocoonjs)CocoonJS.App.onSuspended.addEventListener(function(){b.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){b.setSuspended(!1)});this.qd=this.df||this.Vd;
this.Qo=/tizen/i.test(navigator.userAgent);this.fw=/android/i.test(navigator.userAgent)&&!this.Qo;this.Uo=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.mw=/ipad/i.test(navigator.userAgent);this.Sr=this.Uo||this.mw;this.gw=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);this.$B=!this.gw&&/safari/i.test(navigator.userAgent);this.kw=/windows/i.test(navigator.userAgent);this.oj="undefined"!==typeof window.c2nodewebkit;this.bC=!("undefined"===typeof window.c2isWindows8||
!window.c2isWindows8);this.cC=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.XB=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.devicePixelRatio=1;this.gi=this.pj||this.vk||this.Vd||this.fw||this.Sr||this.cC||this.XB||this.Qo;this.gi||(this.gi=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.oj||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||
(this.oj=!0);this.YB="undefined"!==typeof cr_is_preview&&-1<window.location.search.indexOf("debug");this.canvas=a;this.qv=document.getElementById("c2canvasdiv");this.mb=this.qa=this.fa=null;this.canvas.oncontextmenu=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.onselectstart=function(a){a.preventDefault&&a.preventDefault();return!1};this.df&&(window.c2runtime=this);this.oj&&(window.sF=function(a){a.preventDefault();return!1},window.tF=function(a){a.preventDefault();return!1});
this.width=a.width;this.height=a.height;this.vw=this.width;this.uw=this.height;this.nb=!0;this.um=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.X=[];this.ub=[];this.cs={};this.Lf=[];this.gr={};this.gj=[];this.Gh=[];this.Wp=[];this.Xz=[];this.Yz=[];this.ig=new Ka;this.Kr=!1;this.De=0;this.Mr=!1;this.ye=[];this.hh=this.Gd=this.bp=this.qt="";this.ln=this.Ix=!1;this.Tq=this.Dm=this.ai=this.Ba=0;this.Ch=1;this.Ee=new Na;this.Xo=0;this.Jw=!0;this.sp=this.Fo=this.ij=
this.Gi=this.Am=this.nr=0;this.Tl=null;this.vo=[];this.er=[];this.xo=-1;this.qs=[[]];this.Mt=this.fp=0;this.Bp(null);this.Yl=this.Mw=this.Um=0;this.mn=[];this.Jt=this.ht=0;this.wm=!0;this.Ik=0;this.rm=!1;this.vD=0;this.No=!1;this.Qs=new Ka;this.Rs=new Ka;this.Ep=[];this.Nj=new Pa([]);this.Dt=new Pa([]);this.dk=[];this.Wn={};this.ik={};this.bk={};this.nl={};this.lv={};this.Kf=this.Fe=this.ww=this.Zo=this.ob=null;this.ml=this.Pr=!1;this.or=[null,null];this.jj=0;this.Ij={};this.Pp=this.Hk=null;this.load();
this.devicePixelRatio=(this.tm=!this.qd&&this.MD&&(this.Sr||this.Qo))?window.devicePixelRatio||1:1;this.kd();var c;"undefined"!==typeof jQuery&&0<this.ze&&this.setSize(jQuery(window).width(),jQuery(window).height());try{if(this.JA&&(this.Vd||!this.qd)){c={depth:!1,antialias:!this.gi};var d=!0;if(this.gw&&this.kw){var e=document.createElement("canvas");"OES_texture_float,OES_standard_derivatives,WEBKIT_WEBGL_lose_context"===(e.getContext("webgl",c)||e.getContext("experimental-webgl",c)).getSupportedExtensions().toString()&&
(d=!1)}d&&(this.fa=a.getContext("webgl",c)||a.getContext("experimental-webgl",c))}}catch(f){}if(this.fa){this.qd||(this.Yd=document.createElement("canvas"),jQuery(this.Yd).appendTo(this.canvas.parentNode),this.Yd.oncontextmenu=w(!1),this.Yd.onselectstart=w(!1),this.Yd.width=a.width,this.Yd.height=a.height,this.cx(),this.Ys=this.Yd.getContext("2d"));this.qa=new Ua(this.fa,this.gi);this.qa.tt(a.width,a.height);this.mb=null;this.canvas.addEventListener("webglcontextlost",function(a){a.preventDefault();
b.NC();window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){b.qa.$v();b.qa.tt(b.qa.width,b.qa.height,!0);b.Fe=null;b.Kf=null;b.or[0]=null;b.or[1]=null;b.OC();b.nb=!0;window.cr_setSuspended(!1)},!1);var g,k,h,n,l;a=0;for(c=this.X.length;a<c;a++)for(g=this.X[a],d=0,e=g.za.length;d<e;d++)h=g.za[d],h.hd=this.qa.yr(h.id),this.ml=this.ml||this.qa.bn(h.hd);a=0;for(c=this.Lf.length;a<c;a++){n=this.Lf[a];d=0;for(e=n.za.length;d<e;d++)h=n.za[d],h.hd=this.qa.yr(h.id);
d=0;for(e=n.Va.length;d<e;d++)for(l=n.Va[d],g=0,k=l.za.length;g<k;g++)h=l.za[g],h.hd=this.qa.yr(h.id),this.ml=this.ml||this.qa.bn(h.hd)}}else{if(0<this.ze&&this.df){this.canvas=null;document.oncontextmenu=w(!1);document.onselectstart=w(!1);this.mb=AppMobi.canvas.getContext("2d");try{this.mb.samplingMode=this.$b?"smooth":"sharp",this.mb.globalScale=1,this.mb.HTML5CompatibilityMode=!0,this.mb.imageSmoothingEnabled=this.$b}catch(m){}0!==this.width&&0!==this.height&&(this.mb.width=this.width,this.mb.height=
this.height)}this.mb||(this.Vd?(c={antialias:!!this.$b},this.mb=a.getContext("2d",c)):this.mb=a.getContext("2d"),this.mb.webkitImageSmoothingEnabled=this.$b,this.mb.mozImageSmoothingEnabled=this.$b,this.mb.msImageSmoothingEnabled=this.$b,this.mb.imageSmoothingEnabled=this.$b);this.Ys=this.Yd=null}this.Px=function(){b.$c()};window==window.top||this.qd||this.bC||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));
"undefined"!==typeof cr_is_preview&&(this.Vd&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(da("Reloading for continuous preview"),this.bp="__c2_continuouspreview",this.ln=!0),this.aD&&!this.gi&&(jQuery(window).focus(function(){b.setSuspended(!1)}),jQuery(window).blur(function(){b.setSuspended(!0)})));this.go();this.W={}}}function b(a){a.target.result.createObjectStore("saves",{keyPath:"slot"})}function c(a,c,d,e){var f=indexedDB.open("_C2SaveStates");
f.onupgradeneeded=b;f.onerror=e;f.onsuccess=function(b){b=b.target.result;b.onerror=e;b.transaction(["saves"],"readwrite").objectStore("saves").put({slot:a,data:c}).onsuccess=d}}function d(a,c,d){var e=indexedDB.open("_C2SaveStates");e.onupgradeneeded=b;e.onerror=d;e.onsuccess=function(b){b=b.target.result;b.onerror=d;var e=b.transaction(["saves"]).objectStore("saves").get(a);e.onsuccess=function(){e.result?c(e.result.data):c(null)}}}function e(){da("Reloading for continuous preview");window.c2cocoonjs?
CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function g(a){var b,c={};for(b in a)!a.hasOwnProperty(b)||a[b]instanceof Ka||"undefined"===typeof a[b].Vg&&(c[b]=a[b]);return c}a.prototype.setSize=function(a,b){var c=this.QB&&this.Uo&&!navigator.standalone&&!this.qd&&!this.pj,d=0;c&&(this.Uo?d=60:this.fw&&(d=56),b+=d);var e=0,f=0,g=0,k=0,h=0,h=this.ze,n=document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||
document.fullScreen||this.rm;n&&0<this.jj&&(h=this.jj);4<=h?(g=this.ne/this.me,a/b>g?(g*=b,5===h?(h=g/this.ne,1<h?h=Math.floor(h):1>h&&(h=1/Math.ceil(1/h)),g=this.ne*h,k=this.me*h,e=(a-g)/2,f=(b-k)/2,a=g,b=k):(e=(a-g)/2,a=g)):(k=a/g,5===h?(h=k/this.me,1<h?h=Math.floor(h):1>h&&(h=1/Math.ceil(1/h)),g=this.ne*h,k=this.me*h,e=(a-g)/2,f=(b-k)/2,a=g):f=(b-k)/2,b=k),n&&!this.oj&&(f=e=0),e=Math.floor(e),f=Math.floor(f),a=Math.floor(a),b=Math.floor(b)):this.oj&&this.rm&&0===this.Kv&&(e=Math.floor((a-this.ne)/
2),f=Math.floor((b-this.me)/2),a=this.ne,b=this.me);this.tm&&this.mw&&1<this.devicePixelRatio&&(1024<=a&&(a=1023),1024<=b&&(b=1023));n=this.devicePixelRatio;this.width=a*n;this.height=b*n;this.nb=!0;this.qv&&!this.qd&&(jQuery(this.qv).css({width:a+"px",height:b+"px","margin-left":e,"margin-top":f}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:a+"px",height:b+"px"}));this.canvas&&(this.canvas.width=a*n,this.canvas.height=b*n,this.tm&&jQuery(this.canvas).css({width:a+"px",height:b+
"px"}));this.Yd&&(this.Yd.width=a,this.Yd.height=b);this.qa&&this.qa.tt(a,b);this.df&&this.mb&&(this.mb.width=a,this.mb.height=b);this.mb&&(this.mb.webkitImageSmoothingEnabled=this.$b,this.mb.mozImageSmoothingEnabled=this.$b,this.mb.msImageSmoothingEnabled=this.$b,this.mb.imageSmoothingEnabled=this.$b);c&&0<d&&window.setTimeout(function(){window.scrollTo(0,1)},100)};a.prototype.NC=function(){this.Pr=!0;var a,b,c;a=0;for(b=this.X.length;a<b;a++)c=this.X[a],c.Us&&c.Us()};a.prototype.OC=function(){this.Pr=
!1;var a,b,c;a=0;for(b=this.X.length;a<b;a++)c=this.X[a],c.Vs&&c.Vs()};a.prototype.cx=function(){if(!this.qd){var a=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.rm?jQuery(this.canvas).offset():jQuery(this.canvas).position();a.position="absolute";jQuery(this.Yd).css(a)}};var f=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;a.prototype.setSuspended=
function(a){var b;if(a&&!this.um)for(da("[Construct 2] Suspending"),this.um=!0,0!==this.ht&&f&&f(this.ht),0!==this.Jt&&clearTimeout(this.Jt),a=0,b=this.mn.length;a<b;a++)this.mn[a](!0);else if(!a&&this.um){da("[Construct 2] Resuming");this.um=!1;this.Xo=Ja();this.Am=Ja();a=this.Dm=this.Fo=0;for(b=this.mn.length;a<b;a++)this.mn[a](!1);this.$c()}};a.prototype.Zu=function(a){this.mn.push(a)};a.prototype.load=function(){var a=wb();this.name=a[0];this.Jv=a[1];this.ze=a[11];this.Kv=a[11];this.qd&&(4<=a[11]||
0===a[11])&&(da("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.Kv=this.ze=3);this.St=a[17];this.Cm=a[18];0===this.Cm&&(this.Hk=new Image,this.Hk.src="loading-logo.png");this.Um=a[20];this.Jg=new G(this);var b,c,d,e,f,g,k,h,n;b=0;for(c=a[2].length;b<c;b++)k=a[2][b],xb(k),n=new k[0](this),n.At=k[1],n.ji=k[2],n.Lw=k[9],n.$a&&n.$a(),this.plugins.push(n);a=wb();b=0;for(c=a[3].length;b<c;b++){k=a[3][b];f=k[1];n=null;d=0;for(e=this.plugins.length;d<
e;d++)if(this.plugins[d]instanceof f){n=this.plugins[d];break}var l=new n.Yb(n);l.name=k[0];l.Ca=k[2];l.Jr=k[3].slice(0);l.ND=k[3].length;l.cA=k[4];l.lB=k[5];l.Oa=k[11];l.Ca?(l.rp=[],l.lg=this.Yl++,l.Db=null):(l.rp=null,l.lg=-1,l.Db=[]);l.zo=null;l.ok=null;l.Fv=null;l.Wd=!1;l.Rd=null;k[6]?(l.Ft=k[6][0],l.Nx=k[6][1],l.Gt=k[6][2]):(l.Ft=null,l.Nx=0,l.Gt=0);l.ee=k[7]?k[7]:null;l.index=b;l.B=[];l.so=[];l.Ci=[new Va(l)];l.Zg=0;l.Xe=null;l.il=!0;l.Xp=yb;l.rB=zb;l.wB=Ab;l.Ta=Bb;l.cn=Cb;l.Ap=Db;l.Jj=Gb;l.Io=
Hb;l.rr=Ib;l.ur=Jb;l.Rh=Kb;l.W={};l.toString=Lb;l.ub=[];d=0;for(e=k[8].length;d<e;d++){h=k[8][d];var m=h[1],D=null;f=0;for(g=this.ub.length;f<g;f++)if(this.ub[f]instanceof m){D=this.ub[f];break}D||(D=new m(this),D.Zk=new Ka,D.$a&&D.$a(),this.ub.push(D));f=new D.Yb(D,l);f.name=h[0];f.Oa=h[2];f.$a();l.ub.push(f)}l.global=k[9];l.Lr=k[10];l.za=[];d=0;for(e=k[12].length;d<e;d++)l.za.push({id:k[12][d][0],name:k[12][d][1],hd:-1,ue:!0,index:d});this.St&&!l.Ca&&!l.Lr&&n.ji||l.$a();l.name&&(this.types[l.name]=
l);this.X.push(l);n.At&&(d=new n.Bb(l),d.uid=this.Um++,d.lx=this.Mw++,d.mj=0,d.jm=Mb,d.toString=Nb,d.Y=k[13],d.$a(),l.B.push(d),this.Ij[d.uid.toString()]=d)}b=0;for(c=a[4].length;b<c;b++)for(f=a[4][b],g=this.X[f[0]],d=1,e=f.length;d<e;d++)k=this.X[f[d]],k.Db.push(g),g.rp.push(k);b=0;for(c=a[22].length;b<c;b++){f=a[22][b];g=[];d=0;for(e=f.length;d<e;d++)g.push(this.X[f[d]]);d=0;for(e=g.length;d<e;d++)g[d].Wd=!0,g[d].Rd=g}if(0<this.Yl)for(b=0,c=this.X.length;b<c;b++)if(k=this.X[b],!k.Ca&&k.Db.length){k.zo=
Array(this.Yl);k.ok=Array(this.Yl);k.Fv=Array(this.Yl);l=[];d=D=m=h=0;for(e=k.Db.length;d<e;d++)for(n=k.Db[d],k.zo[n.lg]=h,h+=n.ND,k.ok[n.lg]=m,m+=n.cA,k.Fv[n.lg]=D,D+=n.lB,f=0,g=n.za.length;f<g;f++)l.push(qa({},n.za[f]));k.za=l.concat(k.za);d=0;for(e=k.za.length;d<e;d++)k.za[d].index=d}b=0;for(c=a[5].length;b<c;b++)k=a[5][b],d=new Wa(this,k),this.cs[d.name]=d,this.Lf.push(d);b=0;for(c=a[6].length;b<c;b++)k=a[6][b],d=new Xa(this,k),this.gr[d.name]=d,this.gj.push(d);b=0;for(c=this.gj.length;b<c;b++)this.gj[b].lc();
b=0;for(c=this.Wp.length;b<c;b++)this.Wp[b].lc();this.Wp.length=0;this.si=a[8];this.ne=a[9];this.me=a[10];this.Yn=1;this.JA=a[12];this.$b=a[13];this.sv=a[14];b=a[16];2===b&&(b=this.Uo?1:0);this.MD=0!==b;this.QB=a[19];this.aD=a[21];this.Qp=Date.now()};a.prototype.jB=function(a){var b,c;b=0;for(c=this.Gh.length;b<c;b++)if(this.Gh[b].iA===a)return this.Gh[b];return null};a.prototype.gv=function(){var a=0,b=0,c=!0,d,e;d=0;for(e=this.Gh.length;d<e;d++){var f=this.Gh[d].hA;if(!f||0>=f)f=5E4;a+=f;this.Gh[d].complete||
this.Gh[d].loaded?b+=f:c=!1}this.Kj=0==a?0:b/a;return c};a.prototype.go=function(){if(this.mb||this.qa){var a=this.mb||this.Ys;this.Yd&&this.cx();this.Kj=0;this.sw=-1;if(this.gv())this.OB();else{var b=Date.now()-this.Qp,c=1;this.Qo&&(c=this.devicePixelRatio);if(a){if(3!==this.Cm&&500<=b&&this.sw!=this.Kj){a.clearRect(0,0,this.width,this.height);var b=this.width/(2*c),c=this.height/(2*c),d=0===this.Cm&&this.Hk.complete,e=40,f=0,k=80;d&&(k=this.Hk.width,e=k/2,f=this.Hk.height/2,a.drawImage(this.Hk,
ma(b-e),ma(c-f)));1>=this.Cm?(b=ma(b-e)+0.5,c=ma(c+(f+(d?12:0)))+0.5,a.fillStyle="DodgerBlue",a.fillRect(b,c,Math.floor(k*this.Kj),6),a.strokeStyle="black",a.strokeRect(b,c,k,6),a.strokeStyle="white",a.strokeRect(b-1,c-1,k+2,8)):2===this.Cm&&(a.font="12pt Arial",a.fillStyle="#999",a.zF="middle",d=Math.round(100*this.Kj)+"%",e=a.measureText?a.measureText(d):null,a.fillText(d,b-(e?e.width:0)/2,c))}this.sw=this.Kj}setTimeout(function(a){return function(){a.go()}}(this),100)}}};a.prototype.OB=function(){this.Yd&&
(this.canvas.parentNode.removeChild(this.Yd),this.Yd=this.Ys=null);this.Qp=Date.now();this.Am=Ja();var a,b,c;if(this.St)for(a=0,b=this.X.length;a<b;a++)c=this.X[a],c.Ca||c.Lr||!c.Hb.ji||c.$a();else this.wm=!1;a=0;for(b=this.Lf.length;a<b;a++)this.Lf[a].jA();2<=this.ze&&(a=this.ne/this.me,b=this.width/this.height,this.Yn=2!==this.ze&&b>a||2===this.ze&&b<a?this.height/this.me:this.width/this.ne);this.Jv?this.cs[this.Jv].Bt():this.Lf[0].Bt();this.St||(this.Ik=1,this.trigger(G.prototype.D.uu,null));this.$c();
this.df&&AppMobi.webview.execute("onGameReady();")};var h=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;a.prototype.$c=function(){if(this.ob){var a=Ja();if(!this.qd&&window!=window.top){var b=this.ze;(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.rm)&&0<this.jj&&(b=this.jj);if(0<b){var b=window.innerWidth,c=window.innerHeight;
if(this.vw!==b||this.uw!==c)this.vw=b,this.uw=c,this.setSize(b,c)}}this.wm&&(b=this.gv(),this.Ik=this.Kj,b&&(this.wm=!1,this.Kj=1,this.trigger(G.prototype.D.uu,null)));this.kC();!this.nb&&!this.Vd||this.Pr||this.ln||(this.nb=!1,this.qa?this.Hf():this.$h(),this.Pp&&(this.canvas&&this.canvas.toDataURL&&(this.canvas.toDataURL(this.Pp[0],this.Pp[1]),this.trigger(G.prototype.D.Iy,null)),this.Pp=null));this.pF||(this.Gi++,this.ij++,this.Fo++);this.Dm+=Ja()-a;this.um||(h?this.ht=h(this.Px,this.canvas):this.Jt=
setTimeout(this.Px,this.gi?1:16))}};a.prototype.kC=function(){var a,b,c,d,e,f,k,g,h;a=Ja();1E3<=a-this.Am&&(this.Am+=1E3,this.nr=this.Fo,this.Fo=0,this.Tq=this.Dm,this.Dm=0);this.Jw&&(0!==this.Xo&&(b=a-this.Xo,0!==b||this.YB?(this.ai=b/1E3,0.5<this.ai?this.ai=0:0.1<this.ai&&(this.ai=0.1)):(10<=this.AF&&(this.Jw=!1),this.ai=1/60)),this.Xo=a);this.Ba=this.ai*this.Ch;this.Ee.add(this.Ba);a=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.rm;
2<=this.ze||a&&0<this.jj?(b=this.ne/this.me,c=this.width/this.height,d=this.ze,a&&0<this.jj&&(d=this.jj),this.Yn=2!==d&&c>b||2===d&&c<b?this.height/this.me:this.width/this.ne,this.ob&&(this.ob.zx(this.ob.scrollX),this.ob.Ax(this.ob.scrollY))):this.Yn=1;this.kd();this.De++;this.Jg.kD();this.De--;this.kd();this.De++;a=0;for(b=this.X.length;a<b;a++)if(k=this.X[a],!k.Ca&&(k.ub.length||k.Db.length))for(c=0,d=k.B.length;c<d;c++)for(g=k.B[c],e=0,f=g.Sa.length;e<f;e++)g.Sa[e].$c();a=0;for(b=this.X.length;a<
b;a++)if(k=this.X[a],!k.Ca&&(k.ub.length||k.Db.length))for(c=0,d=k.B.length;c<d;c++)for(g=k.B[c],e=0,f=g.Sa.length;e<f;e++)h=g.Sa[e],h.hx&&h.hx();c=this.Qs.Fh();a=0;for(b=c.length;a<b;a++)c[a].$c();this.De--;this.PB();for(a=0;this.Tl&&10>a++;)this.Cv(this.Tl);a=0;for(b=this.gj.length;a<b;a++)this.gj[a].Br=!1;this.ob.wo&&this.ob.wo.yc();this.Ep.length=0;this.De++;a=0;for(b=this.X.length;a<b;a++)if(k=this.X[a],!k.Ca&&(k.ub.length||k.Db.length))for(c=0,d=k.B.length;c<d;c++)for(g=k.B[c],e=0,f=g.Sa.length;e<
f;e++)h=g.Sa[e],h.Ht&&h.Ht();c=this.Rs.Fh();a=0;for(b=c.length;a<b;a++)c[a].Ht();this.De--};a.prototype.Cv=function(a){var b=this.ob;this.ob.xD();var c,d,e,f,k,g,h;if(this.qa)for(c=0,d=this.X.length;c<d;c++)k=this.X[c],k.Ca||!k.Ot||k.global&&0!==k.B.length||-1!==a.nm.indexOf(k)||k.Ot();b==a&&(this.Jg.ae.length=0);a.Bt();c=0;for(d=this.X.length;c<d;c++)if(k=this.X[c],k.global||k.Hb.At)for(a=0,b=k.B.length;a<b;a++)if(g=k.B[a],g.Ts&&g.Ts(),g.Sa)for(e=0,f=g.Sa.length;e<f;e++)h=g.Sa[e],h.Ts&&h.Ts();this.nb=
!0;this.kd()};a.prototype.It=function(a){this.Qs.add(a)};a.prototype.ED=function(a){this.Rs.add(a)};a.prototype.fm=function(a){return a&&-1!==a.Tm?this.ai*a.Tm:this.Ba};a.prototype.$h=function(){this.ob.$h(this.mb);this.df&&this.mb.present()};a.prototype.Hf=function(){this.ob.Hf(this.qa);this.qa.dD()};a.prototype.Xn=function(a){a&&this.vo.push(a)};a.prototype.qx=function(a){ua(this.vo,a)};a.prototype.ei=function(a){return this.Ij[a.toString()]};a.prototype.Jh=function(a){var b,c;if(!this.ig.contains(a)){this.ig.add(a);
if(a.Wd)for(b=0,c=a.siblings.length;b<c;b++)this.Jh(a.siblings[b]);this.Kr&&this.ig.Rj.push(a);this.De++;this.trigger(Object.getPrototypeOf(a.type.Hb).D.Jy,a);this.De--}};a.prototype.kd=function(){var a,b,c,d,e,f,k,g,h,n;this.Kr=!0;d=0;for(f=this.ye.length;d<f;d++)for(a=this.ye[d],b=a.type,b.B.push(a),e=0,k=b.Db.length;e<k;e++)b.Db[e].B.push(a),b.Db[e].il=!0;this.ye.length=0;f=this.ig.Fh();for(d=0;d<f.length;d++){a=f[d];b=a.type;c=b.B;e=0;for(k=this.vo.length;e<k;e++)this.vo[e](a);ua(c,a);a.T&&(sa(a.T.B,
a.Ce()),a.T.pe=!0);e=0;for(k=b.Db.length;e<k;e++)ua(b.Db[e].B,a),b.Db[e].il=!0;if(a.Sa)for(e=0,k=a.Sa.length;e<k;e++)c=a.Sa[e],c.cl&&c.cl(),c.ab.Zk.remove(a);this.Qs.remove(a);this.Rs.remove(a);e=0;for(k=this.Jg.ae.length;e<k;e++)if(h=this.Jg.ae[e],h.Md.hasOwnProperty(b.index)&&ua(h.Md[b.index].dh,a),!b.Ca)for(c=0,g=b.Db.length;c<g;c++)n=b.Db[c],h.Md.hasOwnProperty(n.index)&&ua(h.Md[n.index].dh,a);a.cl&&a.cl();this.Ij.hasOwnProperty(a.uid.toString())&&delete this.Ij[a.uid.toString()];this.sp--;64>
b.so.length&&b.so.push(a);b.il=!0}this.ig.qm()||(this.nb=!0);this.ig.clear();this.Kr=!1};a.prototype.Vq=function(a,b,c,d){if(a.Ca){var e=ma(Math.random()*a.rp.length);return this.Vq(a.rp[e],b,c,d)}return a.Xe?this.Zh(a.Xe,b,!1,c,d,!1):null};var l=[];a.prototype.Zh=function(a,b,c,d,e,f){var k,g,h,n;if(!a)return null;var m=this.X[a[1]],z=m.Hb.ji;if(this.wm&&z&&!m.Lr||z&&!this.qa&&11===a[0][11])return null;var D=b;z||(b=null);var v;m.so.length?(v=m.so.pop(),v.Oe=!0,m.Hb.Bb.call(v,m)):(v=new m.Hb.Bb(m),
v.Oe=!1);v.uid=c&&!f?a[2]:this.Um++;this.Ij[v.uid.toString()]=v;v.lx=this.Mw++;v.mj=m.B.length;k=0;for(g=this.ye.length;k<g;++k)this.ye[k].type===m&&v.mj++;v.jm=Mb;h=a[3];if(v.Oe)Ia(v.W);else{v.W={};if("undefined"!==typeof cr_is_preview)for(v.dw=[],v.dw.length=h.length,k=0,g=h.length;k<g;k++)v.dw[k]=h[k][1];v.Hc=[];v.Hc.length=h.length}k=0;for(g=h.length;k<g;k++)v.Hc[k]=h[k][0];if(z){var F=a[0];v.x=ea(d)?F[0]:d;v.y=ea(e)?F[1]:e;v.z=F[2];v.width=F[3];v.height=F[4];v.depth=F[5];v.N=F[6];v.opacity=F[7];
v.Td=F[8];v.Ud=F[9];v.Pd=F[10];k=F[11];!this.qa&&m.za.length&&(v.Pd=k);v.Vl=Qa(v.Pd);this.fa&&Ra(v,v.Pd,this.fa);if(v.Oe){k=0;for(g=F[12].length;k<g;k++)for(h=0,n=F[12][k].length;h<n;h++)v.Zb[k][h]=F[12][k][h];v.Ra.set(0,0,0,0);v.Ub.ut(v.Ra);v.$n.length=0}else{v.Zb=F[12].slice(0);k=0;for(g=v.Zb.length;k<g;k++)v.Zb[k]=F[12][k].slice(0);v.eb=[];v.Qh=[];v.Qh.length=m.za.length;v.Ra=new oa(0,0,0,0);v.Ub=new pa;v.$n=[];v.ca=Ob;v.gF=Pb;v.Ve=Qb;v.Lc=Rb;v.Ce=Sb}k=0;for(g=m.za.length;k<g;k++)v.Qh[k]=!0;v.Eh=
Tb;v.Eh();v.Zx=!!v.eb.length;v.Kq=!0;v.visible=!0;v.Tm=-1;v.T=b;v.Sj=b.B.length;"undefined"===typeof v.fb&&(v.fb=null);this.nb=v.Xg=!0}v.toString=Nb;var Q;k=l.length=0;for(g=m.Db.length;k<g;k++)l.push.apply(l,m.Db[k].ub);l.push.apply(l,m.ub);if(v.Oe)for(k=0,g=l.length;k<g;k++){var O=l[k];Q=v.Sa[k];Q.Oe=!0;O.ab.Bb.call(Q,O,v);F=a[4][k];h=0;for(n=F.length;h<n;h++)Q.Y[h]=F[h];Q.$a();O.ab.Zk.add(v)}else for(v.Sa=[],k=0,g=l.length;k<g;k++)O=l[k],Q=new O.ab.Bb(O,v),Q.Oe=!1,Q.Y=a[4][k].slice(0),Q.$a(),v.Sa.push(Q),
O.ab.Zk.add(v);F=a[5];if(v.Oe)for(k=0,g=F.length;k<g;k++)v.Y[k]=F[k];else v.Y=F.slice(0);this.ye.push(v);b&&b.B.push(v);this.sp++;if(m.Wd){if(v.Wd=!0,v.Oe?v.siblings.length=0:v.siblings=[],!c&&!f){k=0;for(g=m.Rd.length;k<g;k++)if(m.Rd[k]!==m){if(!m.Rd[k].Xe)return null;v.siblings.push(this.Zh(m.Rd[k].Xe,D,!1,z?v.x:d,z?v.y:e,!0))}k=0;for(g=v.siblings.length;k<g;k++)for(v.siblings[k].siblings.push(v),h=0;h<g;h++)k!==h&&v.siblings[k].siblings.push(v.siblings[h])}}else v.Wd=!1,v.siblings=null;v.$a();
k=0;for(g=v.Sa.length;k<g;k++)v.Sa[k].gx&&v.Sa[k].gx();return v};a.prototype.wr=function(a){var b,c;b=0;for(c=this.ob.Va.length;b<c;b++){var d=this.ob.Va[b];if(Ta(d.name,a))return d}return null};a.prototype.gm=function(a){a=ma(a);0>a&&(a=0);a>=this.ob.Va.length&&(a=this.ob.Va.length-1);return this.ob.Va[a]};a.prototype.Oq=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Ta().jb=!0};a.prototype.cn=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].cn()};a.prototype.Ap=function(a){var b,c;b=0;for(c=
a.length;b<c;b++)a[b].Ap()};a.prototype.Jj=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Jj()};a.prototype.DD=function(a,b,c){var d=a.Ta(),e,f,k,g,h,n;if(d.jb)for(d.jb=!1,e=d.B.length=0,g=a.B.length;e<g;e++)k=a.B[e],k.Lc(),h=k.T.fe(b,c,!0),n=k.T.fe(b,c,!1),k.Ve(h,n)&&d.B.push(k);else{e=f=0;for(g=d.B.length;e<g;e++)k=d.B[e],k.Lc(),h=k.T.fe(b,c,!0),n=k.T.fe(b,c,!1),k.Ve(h,n)&&(d.B[f]=d.B[e],f++);d.B.length=f}a.Rh();return d.Ar()};a.prototype.sf=function(a,b){if(!(a&&b&&a!==b&&a.Xg&&b.Xg))return!1;
a.Lc();b.Lc();var c=a.T,d=b.T,e,f,k,g,h,n;if(c===d||c.Ag===d.Ag&&d.Bg===d.Bg&&c.scale===d.scale&&c.N===d.N&&c.Zf===d.Zf){if(!a.Ra.UB(b.Ra)||!a.Ub.TB(b.Ub))return!1;h=a.fb&&!a.fb.xk();e=b.fb&&!b.fb.xk();if(!h&&!e)return!0;h?(a.fb.fk(a.width,a.height,a.N),h=a.fb):(this.Nj.Np(a.Ub,a.x,a.y,a.width,a.height),h=this.Nj);e?(b.fb.fk(b.width,b.height,b.N),n=b.fb):(this.Nj.Np(b.Ub,b.x,b.y,b.width,b.height),n=this.Nj);return h.ew(n,b.x-a.x,b.y-a.y)}h=a.fb&&!a.fb.xk();e=b.fb&&!b.fb.xk();h?(a.fb.fk(a.width,a.height,
a.N),this.Nj.Ex(a.fb)):this.Nj.Np(a.Ub,a.x,a.y,a.width,a.height);h=this.Nj;e?(b.fb.fk(b.width,b.height,b.N),this.Dt.Ex(b.fb)):this.Dt.Np(b.Ub,b.x,b.y,b.width,b.height);n=this.Dt;e=0;for(f=h.Cg;e<f;e++)k=h.gd[2*e],g=h.gd[2*e+1],h.gd[2*e]=c.Ed(k+a.x,g+a.y,!0),h.gd[2*e+1]=c.Ed(k+a.x,g+a.y,!1);e=0;for(f=n.Cg;e<f;e++)k=n.gd[2*e],g=n.gd[2*e+1],n.gd[2*e]=d.Ed(k+b.x,g+b.y,!0),n.gd[2*e+1]=d.Ed(k+b.x,g+b.y,!1);return h.ew(n,0,0)};new pa;new oa(0,0,0,0);a.prototype.Tx=function(a,b){if(!b)return!1;var c,d,e,
k,f;c=0;for(d=a.ub.length;c<d;c++)if(a.ub[c].ab instanceof b)return!0;if(!a.Ca)for(c=0,d=a.Db.length;c<d;c++)for(f=a.Db[c],e=0,k=f.ub.length;e<k;e++)if(f.ub[e].ab instanceof b)return!0;return!1};a.prototype.Ux=function(a){return this.Tx(a,ob.zE)};a.prototype.Nt=function(a){return this.Tx(a,ob.AE)};a.prototype.AB=function(){if(!ob.uD)return null;var a,b;a=0;for(b=this.ub.length;a<b;a++)if(this.ub[a]instanceof ob.uD)return this.ub[a];return null};a.prototype.$d=function(a){var b=this.AB();if(!b)return null;
var c,d,e=b.Zk.Fh(),b=0;for(c=e.length;b<c;++b)if(d=e[b],d.W.yF&&this.sf(a,d))return d;return null};var m=[];a.prototype.Fi=function(a,b){var c=null,d,e;if(!ob.fC)return null;d=0;for(e=this.ub.length;d<e;d++)if(this.ub[d]instanceof ob.fC){c=this.ub[d];break}if(!c)return null;var f=null;b&&(f=m,f.length=0);var k=c.Zk.Fh();d=0;for(e=k.length;d<e;++d)if(c=k[d],c.W.qF&&this.sf(a,c))if(b)f.push(c);else return c;return f};a.prototype.Vf=function(a,b,c,d,e,f){d=d||50;var k=a.x,g=a.y,h,n=null,l=null;for(h=
0;h<d;h++)if(a.x=k+b*h,a.y=g+c*h,a.ca(),!this.sf(a,n)&&((n=this.$d(a))&&(l=n),!n&&(e&&(n=f?this.sf(a,f)?f:null:this.Fi(a))&&(l=n),!n)))return l&&this.gt(a,b,c,l),!0;a.x=k;a.y=g;a.ca();return!1};a.prototype.gt=function(a,b,c,d){var e=2,f,k=!1;f=!1;for(var g=a.x,h=a.y;16>=e;)f=1/e,e*=2,a.x+=b*f*(k?1:-1),a.y+=c*f*(k?1:-1),a.ca(),this.sf(a,d)?f=k=!0:(f=k=!1,g=a.x,h=a.y);f&&(a.x=g,a.y=h,a.ca())};a.prototype.gD=function(a,b){var c=ea(b)?100:b,d=0,e=a.x,f=a.y,k=0,g=0,h=0,n=this.$d(a);if(!n)return!0;for(;d<=
c;){switch(k){case 0:g=0;h=-1;d++;break;case 1:g=1;h=-1;break;case 2:g=1;h=0;break;case 3:h=g=1;break;case 4:g=0;h=1;break;case 5:g=-1;h=1;break;case 6:g=-1;h=0;break;case 7:h=g=-1}k=(k+1)%8;a.x=ma(e+g*d);a.y=ma(f+h*d);a.ca();if(!this.sf(a,n)&&(n=this.$d(a),!n))return!0}a.x=e;a.y=f;a.ca();return!1};a.prototype.el=function(a,b){a.Xg&&b.Xg&&this.Ep.push([a,b])};a.prototype.gA=function(a,b){var c,d,e;c=0;for(d=this.Ep.length;c<d;c++)if(e=this.Ep[c],e[0]==a&&e[1]==b||e[0]==b&&e[1]==a)return!0;return!1};
var n=[],k=-1;a.prototype.trigger=function(a,b,c){if(!this.ob)return!1;var d=this.ob.wo;if(!d)return!1;k++;k===n.length?n.push(new Ka):n[k].clear();a=this.Rx(a,b,d,c);k--;return a};a.prototype.Rx=function(a,b,c,d){var e=n[k];if(e.contains(c))return!1;e.add(c);var e=c.Yv.Fh(),f=!1,g,h,l;g=0;for(h=e.length;g<h;g++)e[g].WB()&&(l=this.Rx(a,b,e[g].mm,d),f=f||l);if(b)for(l=this.Lt(a,b,b.type.name,c,d),f=f||l,g=0,h=b.type.Db.length;g<h;g++)l=this.Lt(a,b,b.type.Db[g].name,c,d),f=f||l;else l=this.Lt(a,b,"system",
c,d),f=f||l;return f};a.prototype.Lt=function(a,b,c,d,e){var f,k=!1,g=!1,g="undefined"!==typeof e,h=(g?d.Hv:d.Sx)[c];if(!h)return k;var n=null;d=0;for(f=h.length;d<f;d++)if(h[d].method==a){n=h[d].yo;break}if(!n)return k;a=g?n[e]:n;if(!a)return null;d=0;for(f=a.length;d<f;d++)e=a[d][0],g=a[d][1],g=this.hB(b,c,e,g),k=k||g;return k};a.prototype.hB=function(a,b,c,d){var e,f,g=!1;this.Mt++;var h=this.pd().Sd;h&&this.cn(h.Ai);var n=1<this.Mt;this.cn(c.Ai);n&&this.fD();var l=this.Bp(c);l.Sd=c;a&&(e=this.types[b].Ta(),
e.jb=!1,e.B.length=1,e.B[0]=a,this.types[b].Rh());a=!0;if(c.parent){b=l.Mx;for(e=c.parent;e;)b.push(e),e=e.parent;b.reverse();e=0;for(f=b.length;e<f;e++)if(!b[e].mD()){a=!1;break}}a&&(this.ij++,c.Rf?c.lD(d):c.yc(),g=g||l.Gk);this.wp();n&&this.cD();this.Jj(c.Ai);h&&this.Jj(h.Ai);0!==this.De||0!==k||this.Mr||this.ig.qm()&&!this.ye.length||this.kd();this.Mt--;return g};a.prototype.sr=function(){var a=this.pd();return a.Sd.Vb[a.Cc]};a.prototype.qB=function(){var a=this.pd();return a.Sd.Te[a.Od]};a.prototype.fD=
function(){this.fp++;this.fp>=this.qs.length&&this.qs.push([])};a.prototype.cD=function(){this.fp--};a.prototype.Mv=function(){return this.qs[this.fp]};a.prototype.Bp=function(a){this.xo++;this.xo>=this.er.length&&this.er.push(new Za);var b=this.pd();b.reset(a);return b};a.prototype.wp=function(){this.xo--};a.prototype.pd=function(){return this.er[this.xo]};a.prototype.Nv=function(a,b){for(var c,d,e,f,k,g;b;){c=0;for(d=b.rf.length;c<d;c++)if(g=b.rf[c],g instanceof $a&&Ta(a,g.name))return g;b=b.parent}c=
0;for(d=this.gj.length;c<d;c++)for(k=this.gj[c],e=0,f=k.ci.length;e<f;e++)if(g=k.ci[e],g instanceof $a&&Ta(a,g.name))return g;return null};a.prototype.Ov=function(a){var b,c;b=0;for(c=this.Lf.length;b<c;b++)if(this.Lf[b].Oa===a)return this.Lf[b];return null};a.prototype.Ko=function(a){var b,c;b=0;for(c=this.X.length;b<c;b++)if(this.X[b].Oa===a)return this.X[b];return null};a.prototype.sB=function(a){var b,c;b=0;for(c=this.dk.length;b<c;b++)if(this.dk[b].Oa===a)return this.dk[b];return null};a.prototype.PB=
function(){var a=this,b=this.qt,f=this.hh,k=this.bp,g=!1;this.Ix&&(g=!0,b="__c2_continuouspreview",this.Ix=!1);if(b.length){this.kd();f=this.rD();if(window.indexedDB&&!this.Vd)c(b,f,function(){da("Saved state to IndexedDB storage ("+f.length+" bytes)");a.hh=f;a.trigger(G.prototype.D.uq,null);a.hh="";g&&e()},function(c){try{localStorage.setItem("__c2save_"+b,f),da("Saved state to WebStorage ("+f.length+" bytes)"),a.hh=f,a.trigger(G.prototype.D.uq,null),a.hh="",g&&e()}catch(d){da("Failed to save game state: "+
c+"; "+d)}});else try{localStorage.setItem("__c2save_"+b,f),da("Saved state to WebStorage ("+f.length+" bytes)"),a.hh=f,this.trigger(G.prototype.D.uq,null),a.hh="",g&&e()}catch(h){da("Error saving to WebStorage: "+h)}this.Gd=this.bp=this.qt=""}k.length&&(window.indexedDB&&!this.Vd?d(k,function(b){b?(a.Gd=b,da("Loaded state from IndexedDB storage ("+a.Gd.length+" bytes)")):(a.Gd=localStorage.getItem("__c2save_"+k)||"",da("Loaded state from WebStorage ("+a.Gd.length+" bytes)"));a.ln=!1;a.Gd.length||
a.trigger(G.prototype.D.tq,null)},function(){a.Gd=localStorage.getItem("__c2save_"+k)||"";da("Loaded state from WebStorage ("+a.Gd.length+" bytes)");a.ln=!1;a.Gd.length||a.trigger(G.prototype.D.tq,null)}):(this.Gd=localStorage.getItem("__c2save_"+k)||"",da("Loaded state from WebStorage ("+this.Gd.length+" bytes)"),this.ln=!1,a.Gd.length||a.trigger(G.prototype.D.tq,null)),this.qt=this.bp="");this.Gd.length&&(this.kd(),this.iC(this.Gd),this.hh=this.Gd,this.trigger(G.prototype.D.az,null),this.Gd=this.hh=
"")};a.prototype.rD=function(){var a,b,c,d,e,f,k,h={c2save:!0,version:1,rt:{time:this.Ee.mc,timescale:this.Ch,tickcount:this.Gi,execcount:this.ij,next_uid:this.Um,running_layout:this.ob.Oa,start_time_offset:Date.now()-this.Qp},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};a=0;for(b=this.X.length;a<b;a++)if(e=this.X[a],!e.Ca&&!this.Ux(e)){f={instances:[]};Ha(e.W)&&(f.ex=g(e.W));c=0;for(d=e.B.length;c<d;c++)f.instances.push(this.yx(e.B[c]));h.types[e.Oa.toString()]=f}a=0;for(b=this.Lf.length;a<
b;a++)c=this.Lf[a],h.layouts[c.Oa.toString()]=c.Zd();d=h.events.groups;a=0;for(b=this.dk.length;a<b;a++)c=this.dk[a],d[c.Oa.toString()]=!!this.Wn[c.km];b=h.events.cnds;for(k in this.ik)this.ik.hasOwnProperty(k)&&(a=this.ik[k],Ha(a.W)&&(b[k]={ex:g(a.W)}));b=h.events.acts;for(k in this.bk)this.bk.hasOwnProperty(k)&&(a=this.bk[k],Ha(a.W)&&(b[k]={ex:a.W}));b=h.events.vars;for(k in this.nl)this.nl.hasOwnProperty(k)&&(a=this.nl[k],a.Ro||a.parent&&!a.vm||(b[k]=a.data));h.system=this.Jg.Zd();return JSON.stringify(h)};
a.prototype.ox=function(){var a,b,c,d,e,f;this.Ij={};a=0;for(b=this.X.length;a<b;a++)if(c=this.X[a],!c.Ca)for(d=0,e=c.B.length;d<e;d++)f=c.B[d],this.Ij[f.uid.toString()]=f};a.prototype.iC=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var b=a.rt;this.Ee.reset();this.Ee.mc=b.time;this.Ch=b.timescale;this.Gi=b.tickcount;this.ij=b.execcount;this.Qp=Date.now()-b.start_time_offset;var c=b.running_layout;if(c!==this.ob.Oa)if(c=this.Ov(c))this.Cv(c);else return;var d,e,f,k,g,h,n;h=a.types;for(e in h)if(h.hasOwnProperty(e)&&
(k=this.Ko(parseInt(e,10)))&&!k.Ca&&!this.Ux(k)){h[e].ex?k.W=h[e].ex:Ia(k.W);g=k.B;f=h[e].instances;c=0;for(d=ka(g.length,f.length);c<d;c++)this.ks(g[c],f[c]);c=f.length;for(d=g.length;c<d;c++)this.Jh(g[c]);c=g.length;for(d=f.length;c<d;c++){g=null;if(k.Hb.ji&&(g=this.ob.Jo(f[c].w.l),!g))continue;g=this.Zh(k.Xe,g,!1,0,0,!0);this.ks(g,f[c])}k.il=!0}this.kd();this.ox();d=a.layouts;for(e in d)d.hasOwnProperty(e)&&(c=this.Ov(parseInt(e,10)))&&c.Ge(d[e]);d=a.events.groups;for(e in d)d.hasOwnProperty(e)&&
(c=this.sB(parseInt(e,10)))&&(this.Wn[c.km]=d[e]);c=a.events.cnds;for(e in c)c.hasOwnProperty(e)&&this.ik.hasOwnProperty(e)&&(this.ik[e].W=c[e].ex);c=a.events.acts;for(e in c)c.hasOwnProperty(e)&&this.bk.hasOwnProperty(e)&&(this.bk[e].W=c[e].ex);c=a.events.vars;for(e in c)c.hasOwnProperty(e)&&this.nl.hasOwnProperty(e)&&(this.nl[e].data=c[e]);this.Um=b.next_uid;this.Jg.Ge(a.system);c=0;for(d=this.X.length;c<d;c++)if(k=this.X[c],!k.Ca)for(e=0,a=k.B.length;e<a;e++){g=k.B[e];if(k.Wd)for(h=g.jm(),b=g.siblings.length=
0,f=k.Rd.length;b<f;b++)n=k.Rd[b],k!==n&&g.siblings.push(n.B[h]);g.ck&&g.ck();if(g.Sa)for(b=0,f=g.Sa.length;b<f;b++)h=g.Sa[b],h.ck&&h.ck()}this.nb=!0}};a.prototype.yx=function(a){var b,c,d,e,f;e=a.type;d=e.Hb;var k={uid:a.uid};Ha(a.W)&&(k.ex=g(a.W));if(a.Hc&&a.Hc.length)for(k.ivs={},b=0,c=a.Hc.length;b<c;b++)k.ivs[a.type.Jr[b].toString()]=a.Hc[b];if(d.ji){d={x:a.x,y:a.y,w:a.width,h:a.height,l:a.T.Oa,zi:a.Ce()};0!==a.N&&(d.a=a.N);1!==a.opacity&&(d.o=a.opacity);0.5!==a.Td&&(d.hX=a.Td);0.5!==a.Ud&&(d.hY=
a.Ud);0!==a.Pd&&(d.bm=a.Pd);a.visible||(d.v=a.visible);a.Xg||(d.ce=a.Xg);-1!==a.Tm&&(d.mts=a.Tm);if(e.za.length)for(d.fx=[],b=0,c=e.za.length;b<c;b++)f=e.za[b],d.fx.push({name:f.name,active:a.Qh[f.index],params:a.Zb[f.index]});k.w=d}if(a.Sa&&a.Sa.length)for(k.behs={},b=0,c=a.Sa.length;b<c;b++)e=a.Sa[b],e.Zd&&(k.behs[e.type.Oa.toString()]=e.Zd());a.Zd&&(k.data=a.Zd());return k};a.prototype.uB=function(a,b){var c,d;c=0;for(d=a.Jr.length;c<d;c++)if(a.Jr[c]===b)return c;return-1};a.prototype.pB=function(a,
b){var c,d;c=0;for(d=a.Sa.length;c<d;c++)if(a.Sa[c].type.Oa===b)return c;return-1};a.prototype.ks=function(a,b){var c,d,e,f,k,g;g=a.type;e=g.Hb;a.uid=b.uid;b.ex?a.W=b.ex:Ia(a.W);if(d=b.ivs)for(c in d)d.hasOwnProperty(c)&&(f=this.uB(g,parseInt(c,10)),0>f||f>=a.Hc.length||(a.Hc[f]=d[c]));if(e.ji){f=b.w;a.T.Oa!==f.l&&(d=a.T,a.T=this.ob.Jo(f.l),a.T?(a.T.B.push(a),a.T.pe=!0,ua(d.B,a),d.pe=!0):(a.T=d,this.Jh(a)));a.x=f.x;a.y=f.y;a.width=f.w;a.height=f.h;a.Sj=f.zi;a.N=f.hasOwnProperty("a")?f.a:0;a.opacity=
f.hasOwnProperty("o")?f.o:1;a.Td=f.hasOwnProperty("hX")?f.hX:0.5;a.Ud=f.hasOwnProperty("hY")?f.hY:0.5;a.visible=f.hasOwnProperty("v")?f.v:!0;a.Xg=f.hasOwnProperty("ce")?f.ce:!0;a.Tm=f.hasOwnProperty("mts")?f.mts:-1;a.Pd=f.hasOwnProperty("bm")?f.bm:0;a.Vl=Qa(a.Pd);this.fa&&Ra(a,a.Pd,this.fa);a.ca();if(f.hasOwnProperty("fx"))for(d=0,e=f.fx.length;d<e;d++)k=g.ur(f.fx[d].name),0>k||(a.Qh[k]=f.fx[d].active,a.Zb[k]=f.fx[d].params);a.Eh()}if(g=b.behs)for(c in g)g.hasOwnProperty(c)&&(f=this.pB(a,parseInt(c,
10)),0>f||a.Sa[f].Ge(g[c]));b.data&&a.Ge(b.data)};ab=function(b){return new a(document.getElementById(b))};bb=function(b,c){return new a({dc:!0,width:b,height:c})};window.cr_createRuntime=ab;window.cr_createDCRuntime=bb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var b=document.createElement("screencanvas")||document.createElement("canvas");document.body.appendChild(b);b=new a(b);window.c2runtime=b;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,
window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return b}})();window.cr_getC2Runtime=function(){var a=document.getElementById("c2canvas");return a?a.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_sizeCanvas=function(a,b){if(0!==a&&0!==b){var c=window.cr_getC2Runtime();c&&c.setSize(a,b)}};window.cr_setSuspended=function(a){var b=window.cr_getC2Runtime();b&&b.setSuspended(a)};
(function(){function a(a,b){this.c=a;this.wo=null;this.scrollX=this.c.ne/2;this.scrollY=this.c.me/2;this.scale=1;this.N=0;this.$l=!0;this.name=b[0];this.width=b[1];this.height=b[2];this.Vx=b[3];this.Gx=b[4];this.Oa=b[5];var c=b[6],d,l;this.Va=[];this.nm=[];d=0;for(l=c.length;d<l;d++){var m=new cb(this,c[d]);m.Ow=d;this.Va.push(m)}c=b[7];this.nj=[];d=0;for(l=c.length;d<l;d++){var m=c[d],n=this.c.X[m[1]];n.Xe||(n.Xe=m);this.nj.push(m);-1===this.nm.indexOf(n)&&this.nm.push(n)}this.za=[];this.eb=[];this.Zb=
[];d=0;for(l=b[8].length;d<l;d++)this.za.push({id:b[8][d][0],name:b[8][d][1],hd:-1,ue:!0,index:d}),this.Zb.push(b[8][d][2].slice(0));this.Eh();this.it=new oa(0,0,1,1);this.jt=new oa(0,0,1,1);this.ri={}}function b(a,b){this.rb=a;this.c=a.c;this.B=[];this.scale=1;this.N=0;this.dj=!1;this.Dh=new oa(0,0,0,0);this.Qx=new pa;this.tf=this.wf=this.vf=this.uf=0;this.pe=!1;this.name=b[0];this.index=b[1];this.Oa=b[2];this.visible=b[3];this.Th=b[4];this.Qj=b[5];this.Ag=b[6];this.Bg=b[7];this.opacity=b[8];this.mr=
b[9];this.Zf=b[10];this.Pd=b[11];this.IA=b[12];this.Vl="source-over";this.od=this.vd=0;this.wi=!1;var c=b[13],d,l;this.uk=[];d=0;for(l=c.length;d<l;d++){var m=c[d],n=this.c.X[m[1]];n.Xe||(n.Xe=m);this.uk.push(m);-1===this.rb.nm.indexOf(n)&&this.rb.nm.push(n)}this.za=[];this.eb=[];this.Zb=[];d=0;for(l=b[14].length;d<l;d++)this.za.push({id:b[14][d][0],name:b[14][d][1],hd:-1,ue:!0,index:d}),this.Zb.push(b[14][d][2].slice(0));this.Eh();this.it=new oa(0,0,1,1);this.jt=new oa(0,0,1,1)}function c(a,b){return a.Sj-
b.Sj}a.prototype.qD=function(a){var b=a.type.Oa.toString();this.ri.hasOwnProperty(b)||(this.ri[b]=[]);this.ri[b].push(this.c.yx(a))};a.prototype.Wv=function(){var a=this.Va[0];return!a.Qj&&1===a.opacity&&!a.mr&&a.visible};a.prototype.Eh=function(){this.eb.length=0;var a,b,c;a=0;for(b=this.za.length;a<b;a++)c=this.za[a],c.ue&&this.eb.push(c)};a.prototype.tr=function(a){var b,c,d;b=0;for(c=this.za.length;b<c;b++)if(d=this.za[b],d.name===a)return d;return null};var d=[];a.prototype.Bt=function(){this.Gx&&
(this.wo=this.c.gr[this.Gx]);this.c.ob=this;this.scrollX=this.c.ne/2;this.scrollY=this.c.me/2;var a,b,f,h,l,m,n;a=0;for(f=this.c.X.length;a<f;a++)if(b=this.c.X[a],!b.Ca)for(l=b.B,b=0,h=l.length;b<h;b++)if(m=l[b],m.T){var k=m.T.Ow;k>=this.Va.length&&(k=this.Va.length-1);m.T=this.Va[k];m.T.B.push(m);m.T.pe=!0}d.length=0;this.dA();a=0;for(f=this.Va.length;a<f;a++)m=this.Va[a],m.kA(),m.dj=!0,b=m.fe(0,0,!0),h=m.fe(0,0,!1),m.dj=!1,this.c.si&&(b=b+0.5|0,h=h+0.5|0),m.nt(b,h,null);l=!1;if(!this.$l){for(n in this.ri)if(this.ri.hasOwnProperty(n)&&
(b=this.c.Ko(parseInt(n,10)))&&!b.Ca&&this.c.Nt(b)){h=this.ri[n];a=0;for(f=h.length;a<f;a++){m=null;if(b.Hb.ji&&(m=this.Jo(h[a].w.l),!m))continue;m=this.c.Zh(b.Xe,m,!1,0,0,!0);this.c.ks(m,h[a]);l=!0;d.push(m)}h.length=0}a=0;for(f=this.Va.length;a<f;a++)this.Va[a].B.sort(c),this.Va[a].pe=!0}l&&(this.c.kd(),this.c.ox());for(a=0;a<d.length;a++)if(m=d[a],m.type.Wd)for(f=m.jm(),b=0,h=m.type.Rd.length;b<h;b++)n=m.type.Rd[b],m.type!==n&&(n.B.length>f?m.siblings.push(n.B[f]):n.Xe&&(l=this.c.Zh(n.Xe,m.T,!0,
m.x,m.y,!0),this.c.kd(),n.Xp(),m.siblings.push(l),d.push(l)));a=0;for(f=this.nj.length;a<f;a++)this.c.Zh(this.nj[a],null,!0);this.c.Tl=null;this.c.kd();if(this.c.mb&&!this.c.qd)for(a=0,f=this.c.X.length;a<f;a++)n=this.c.X[a],!n.Ca&&n.B.length&&n.ct&&n.ct(this.c.mb);a=0;for(f=d.length;a<f;a++)m=d[a],this.c.trigger(Object.getPrototypeOf(m.type.Hb).D.Hl,m);d.length=0;this.c.trigger(G.prototype.D.Pn,null);this.$l=!1};a.prototype.jA=function(){var a,b,c,d,l;b=a=0;for(c=this.nj.length;a<c;a++)d=this.nj[a],
l=this.c.X[d[1]],l.global?this.c.Zh(d,null,!0):(this.nj[b]=d,b++);this.nj.length=b};a.prototype.xD=function(){this.c.trigger(G.prototype.D.$y,null);this.c.Jg.ae.length=0;var a,b,c,d,l,m;a=0;for(b=this.Va.length;a<b;a++){l=this.Va[a].B;c=0;for(d=l.length;c<d;c++)m=l[c],m.type.global||(this.c.Nt(m.type)&&this.qD(m),this.c.Jh(m));this.c.kd();l.length=0;this.Va[a].pe=!0}a=0;for(b=this.c.X.length;a<b;a++)if(l=this.c.X[a],!(l.global||l.Hb.ji||l.Hb.At||l.Ca)){c=0;for(d=l.B.length;c<d;c++)this.c.Jh(l.B[c]);
this.c.kd()}};a.prototype.$h=function(a){a.globalAlpha=1;a.globalCompositeOperation="source-over";this.c.sv&&!this.Wv()&&a.clearRect(0,0,this.c.width,this.c.height);var b,c,d;b=0;for(c=this.Va.length;b<c;b++)d=this.Va[b],d.visible&&0<d.opacity&&11!==d.Pd&&d.$h(a)};a.prototype.Hf=function(a){var b=0<this.eb.length||this.c.ml;if(b){this.c.Kf||(this.c.Kf=a.Yh(this.c.width,this.c.height,this.c.$b));if(this.c.Kf.Sl!==this.c.width||this.c.Kf.Rl!==this.c.height)a.deleteTexture(this.c.Kf),this.c.Kf=a.Yh(this.c.width,
this.c.height,this.c.$b);a.Ah(this.c.Kf)}this.c.sv&&!this.Wv()&&a.clear(0,0,0,0);var c,d;c=0;for(d=this.Va.length;c<d;c++)this.Va[c].visible&&0<this.Va[c].opacity&&this.Va[c].Hf(a);b&&(1>=this.eb.length?(1===this.eb.length?(b=this.eb[0].index,a.Ig(this.eb[0].hd),a.gl(null,1/this.c.width,1/this.c.height,0,0,1,1,this.scale,this.Zb[b]),a.zp(this.eb[0].hd)&&(this.c.nb=!0)):a.Ig(0),a.Ah(null),a.fl(1),a.of(this.c.Kf),a.Bx(),a.xi(),a.Ji(),b=this.c.width/2,c=this.c.height/2,a.Cp(-b,c,b,c,b,-c,-b,-c),a.of(null)):
this.lt(a,null,null,null))};a.prototype.hm=function(){return 0<this.eb.length||this.c.ml?this.c.Kf:null};a.prototype.Pv=function(){var a=this.Va[0].cf(),b,c,d;b=1;for(c=this.Va.length;b<c;b++)d=this.Va[b],(0!==d.Ag||0!==d.Bg)&&d.cf()<a&&(a=d.cf());return a};a.prototype.zx=function(a){if(!this.Vx){var b=this.c.width*(1/this.Pv())/2;a>this.width-b&&(a=this.width-b);a<b&&(a=b)}this.scrollX!==a&&(this.scrollX=a,this.c.nb=!0)};a.prototype.Ax=function(a){if(!this.Vx){var b=this.c.height*(1/this.Pv())/2;
a>this.height-b&&(a=this.height-b);a<b&&(a=b)}this.scrollY!==a&&(this.scrollY=a,this.c.nb=!0)};a.prototype.dA=function(){this.zx(this.scrollX);this.Ax(this.scrollY)};a.prototype.lt=function(a,b,c,d){var l=c?c.eb:b?b.eb:this.eb,m=c?c.T.cf():b?b.cf():1,n=this.c.or,k,p,s,t,r=0,y=1,H,J=this.c.width,E=this.c.height,C=J/2,K=E/2,x=b?b.it:this.it,z=b?b.jt:this.jt,D=0,v=0,F=0,Q=0,O=J,M=J,I=E,V=E,S=s=0,L=c?c.T.Ae():0;if(c){k=0;for(p=l.length;k<p;k++)s+=a.xB(l[k].hd),S+=a.yB(l[k].hd);t=c.Ra;D=b.Ed(t.left,t.top,
!0);F=b.Ed(t.left,t.top,!1);O=b.Ed(t.right,t.bottom,!0);I=b.Ed(t.right,t.bottom,!1);0!==L&&(k=b.Ed(t.right,t.top,!0),p=b.Ed(t.right,t.top,!1),v=b.Ed(t.left,t.bottom,!0),Q=b.Ed(t.left,t.bottom,!1),t=Math.min(D,O,k,v),O=Math.max(D,O,k,v),D=t,t=Math.min(F,I,p,Q),I=Math.max(F,I,p,Q),F=t);D-=s;F-=S;O+=s;I+=S;z.left=D/J;z.top=1-F/E;z.right=O/J;z.bottom=1-I/E;v=D=Math.floor(D);Q=F=Math.floor(F);M=O=Math.ceil(O);V=I=Math.ceil(I);v-=s;Q-=S;M+=s;V+=S;0>D&&(D=0);0>F&&(F=0);O>J&&(O=J);I>E&&(I=E);0>v&&(v=0);0>
Q&&(Q=0);M>J&&(M=J);V>E&&(V=E);x.left=D/J;x.top=1-F/E;x.right=O/J;x.bottom=1-I/E}else x.left=z.left=0,x.top=z.top=0,x.right=z.right=1,x.bottom=z.bottom=1;S=c&&((c.N||L)&&a.bn(l[0].hd)||0!==s||0!==S||1!==c.opacity||c.type.Hb.Lw)||b&&!c&&1!==b.opacity;a.Bx();if(S){n[r]||(n[r]=a.Yh(J,E,this.c.$b));if(n[r].Sl!==J||n[r].Rl!==E)a.deleteTexture(n[r]),n[r]=a.Yh(J,E,this.c.$b);a.Ig(0);a.Ah(n[r]);H=V-Q;a.clearRect(v,E-Q-H,M-v,H);c?c.Hf(a):(a.of(this.c.Fe),a.fl(b.opacity),a.xi(),a.translate(-C,-K),a.Ji(),a.ti(D,
I,O,I,O,F,D,F,x));z.left=z.top=0;z.right=z.bottom=1;c&&(t=x.top,x.top=x.bottom,x.bottom=t);r=1;y=0}a.fl(1);s=l.length-1;var L=a.et(l[s].hd),ra=0;k=0;for(p=l.length;k<p;k++){n[r]||(n[r]=a.Yh(J,E,this.c.$b));if(n[r].Sl!==J||n[r].Rl!==E)a.deleteTexture(n[r]),n[r]=a.Yh(J,E,this.c.$b);a.Ig(l[k].hd);ra=l[k].index;a.zp(l[k].hd)&&(this.c.nb=!0);0!=k||S?(a.gl(d,1/J,1/E,z.left,z.top,z.right,z.bottom,m,c?c.Zb[ra]:b?b.Zb[ra]:this.Zb[ra]),k!==s||L?(a.Ah(n[r]),H=V-Q,t=E-Q-H,a.clearRect(v,t,M-v,H)):(c?a.yi(c.vd,
c.od):b&&a.yi(b.vd,b.od),a.Ah(d)),a.of(n[y]),a.xi(),a.translate(-C,-K),a.Ji(),a.ti(D,I,O,I,O,F,D,F,x),k!==s||L||a.of(null)):(a.Ah(n[r]),H=V-Q,t=E-Q-H,a.clearRect(v,t,M-v,H),c?(a.gl(d,1/c.width,1/c.height,z.left,z.top,z.right,z.bottom,m,c.Zb[ra]),c.Hf(a)):(a.gl(d,1/J,1/E,0,0,1,1,m,b?b.Zb[ra]:this.Zb[ra]),a.of(b?this.c.Fe:this.c.Kf),a.xi(),a.translate(-C,-K),a.Ji(),a.ti(D,I,O,I,O,F,D,F,x)),z.left=z.top=0,z.right=z.bottom=1,c&&!L&&(t=I,I=F,F=t));r=0===r?1:0;y=0===r?1:0}L&&(a.Ig(0),c?a.yi(c.vd,c.od):
b&&a.yi(b.vd,b.od),a.Ah(d),a.of(n[y]),a.xi(),a.translate(-C,-K),a.Ji(),c&&1===l.length&&!S?a.ti(D,F,O,F,O,I,D,I,x):a.ti(D,I,O,I,O,F,D,F,x),a.of(null))};a.prototype.Jo=function(a){var b,c;b=0;for(c=this.Va.length;b<c;b++)if(this.Va[b].Oa===a)return this.Va[b];return null};a.prototype.Zd=function(){var a,b,c,d={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.N,w:this.width,h:this.height,fv:this.$l,persist:this.ri,fx:[],layers:{}};a=0;for(b=this.za.length;a<b;a++)c=this.za[a],d.fx.push({name:c.name,
active:c.ue,params:this.Zb[c.index]});a=0;for(b=this.Va.length;a<b;a++)c=this.Va[a],d.layers[c.Oa.toString()]=c.Zd();return d};a.prototype.Ge=function(a){var b,c,d,l;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.N=a.a;this.width=a.w;this.height=a.h;this.ri=a.persist;"undefined"!==typeof a.fv&&(this.$l=a.fv);var m=a.fx;b=0;for(c=m.length;b<c;b++)if(d=this.tr(m[b].name))d.ue=m[b].active,this.Zb[d.index]=m[b].params;this.Eh();b=a.layers;for(l in b)b.hasOwnProperty(l)&&(a=this.Jo(parseInt(l,
10)))&&a.Ge(b[l])};Wa=a;b.prototype.Eh=function(){this.eb.length=0;var a,b,c;a=0;for(b=this.za.length;a<b;a++)c=this.za[a],c.ue&&this.eb.push(c)};b.prototype.tr=function(a){var b,c,d;b=0;for(c=this.za.length;b<c;b++)if(d=this.za[b],d.name===a)return d;return null};b.prototype.kA=function(){var a,b,c,h,l,m;b=a=0;for(c=this.uk.length;a<c;a++){h=this.uk[a];l=this.c.X[h[1]];m=this.c.Nt(l);l=!0;if(!m||this.rb.$l)h=this.c.Zh(h,this,!0),d.push(h),h.type.global&&(l=!1);l&&(this.uk[b]=this.uk[a],b++)}this.uk.length=
b;this.c.kd();!this.c.qa&&this.za.length&&(this.Pd=this.IA);this.Vl=Qa(this.Pd);this.c.fa&&Ra(this,this.Pd,this.c.fa)};b.prototype.ID=function(){if(this.pe){var a,b;a=0;for(b=this.B.length;a<b;a++)this.B[a].Sj=a;this.pe=!1}};b.prototype.cf=function(){return this.vB()*this.c.Yn};b.prototype.vB=function(){return(this.scale*this.rb.scale-1)*this.Zf+1};b.prototype.Ae=function(){return this.dj?0:xa(this.rb.N+this.N)};b.prototype.$h=function(a){this.wi=this.mr||1!==this.opacity||0!==this.Pd;var b=this.c.canvas,
c=a;a.globalAlpha=1;a.globalCompositeOperation="source-over";this.wi&&(this.c.Zo||(this.c.Zo=document.createElement("canvas"),b=this.c.Zo,b.width=this.c.width,b.height=this.c.height,this.c.ww=b.getContext("2d")),b=this.c.Zo,c=this.c.ww,b.width!==this.c.width&&(b.width=this.c.width),b.height!==this.c.height&&(b.height=this.c.height),this.Qj&&c.clearRect(0,0,this.c.width,this.c.height));this.Qj||(c.fillStyle="rgb("+this.Th[0]+","+this.Th[1]+","+this.Th[2]+")",c.fillRect(0,0,this.c.width,this.c.height));
c.save();this.dj=!0;var d=this.fe(0,0,!0),l=this.fe(0,0,!1);this.dj=!1;this.c.si&&(d=d+0.5|0,l=l+0.5|0);this.nt(d,l,c);var m=this.cf();c.scale(m,m);c.translate(-d,-l);for(var n,d=0,l=this.B.length;d<l;d++)m=this.B[d],m.visible&&0!==m.width&&0!==m.height&&(m.Lc(),n=m.Ra,n.right<this.uf||n.bottom<this.wf||n.left>this.vf||n.top>this.tf||(c.globalCompositeOperation=m.Vl,m.$h(c)));c.restore();this.wi&&(a.globalCompositeOperation=this.Vl,a.globalAlpha=this.opacity,a.drawImage(b,0,0))};b.prototype.nt=function(a,
b,c){var d=this.cf();this.uf=a;this.wf=b;this.vf=a+this.c.width*(1/d);this.tf=b+this.c.height*(1/d);a=this.Ae();0!==a&&(c&&(c.translate(this.c.width/2,this.c.height/2),c.rotate(-a),c.translate(this.c.width/-2,this.c.height/-2)),this.Dh.set(this.uf,this.wf,this.vf,this.tf),this.Dh.offset((this.uf+this.vf)/-2,(this.wf+this.tf)/-2),this.Qx.Fx(this.Dh,a),this.Qx.mv(this.Dh),this.Dh.offset((this.uf+this.vf)/2,(this.wf+this.tf)/2),this.uf=this.Dh.left,this.wf=this.Dh.top,this.vf=this.Dh.right,this.tf=this.Dh.bottom)};
b.prototype.Hf=function(a){var b=this.c.width,c=this.c.height,d=0,l=0;if(this.wi=this.mr||1!==this.opacity||0<this.eb.length||0!==this.Pd){this.c.Fe||(this.c.Fe=a.Yh(this.c.width,this.c.height,this.c.$b));if(this.c.Fe.Sl!==this.c.width||this.c.Fe.Rl!==this.c.height)a.deleteTexture(this.c.Fe),this.c.Fe=a.Yh(this.c.width,this.c.height,this.c.$b);a.Ah(this.c.Fe);this.Qj&&a.clear(0,0,0,0)}this.Qj||a.clear(this.Th[0]/255,this.Th[1]/255,this.Th[2]/255,1);this.dj=!0;var l=this.fe(0,0,!0),m=this.fe(0,0,!1);
this.dj=!1;this.c.si&&(l=l+0.5|0,m=m+0.5|0);this.nt(l,m,null);m=this.cf();a.xi();a.scale(m,m);a.tx(-this.Ae());a.translate((this.uf+this.vf)/-2,(this.wf+this.tf)/-2);a.Ji();var n,k,p;n=0;for(k=this.B.length;n<k;n++)if(p=this.B[n],p.visible&&0!==p.width&&0!==p.height&&(p.Lc(),d=p.Ra,!(d.right<this.uf||d.bottom<this.wf||d.left>this.vf||d.top>this.tf)))if(p.Zx)if(d=p.eb[0].hd,l=p.eb[0].index,1!==p.eb.length||a.et(d)||a.eD(d)||(p.N||p.T.Ae())&&a.bn(d)||1!==p.opacity||p.type.Hb.Lw)this.rb.lt(a,this,p,
this.wi?this.c.Fe:this.rb.hm()),a.xi(),a.scale(m,m),a.tx(-this.Ae()),a.translate((this.uf+this.vf)/-2,(this.wf+this.tf)/-2),a.Ji();else{a.Ig(d);a.yi(p.vd,p.od);a.zp(d)&&(this.c.nb=!0);var s=0,t=0,r=0,y=0;a.bn(d)&&(d=p.Ra,s=this.Ed(d.left,d.top,!0),t=this.Ed(d.left,d.top,!1),r=this.Ed(d.right,d.bottom,!0),d=this.Ed(d.right,d.bottom,!1),s/=b,t=1-t/c,r/=b,y=1-d/c);a.gl(this.wi?this.c.Fe:this.rb.hm(),1/p.width,1/p.height,s,t,r,y,this.cf(),p.Zb[l]);p.Hf(a)}else a.Ig(0),a.yi(p.vd,p.od),p.Hf(a);this.wi&&
(d=this.eb.length?this.eb[0].hd:0,l=this.eb.length?this.eb[0].index:0,0===this.eb.length||1===this.eb.length&&!a.et(d)&&1===this.opacity?(1===this.eb.length?(a.Ig(d),a.gl(this.rb.hm(),1/this.c.width,1/this.c.height,0,0,1,1,this.cf(),this.Zb[l]),a.zp(d)&&(this.c.nb=!0)):a.Ig(0),a.Ah(this.rb.hm()),a.fl(this.opacity),a.of(this.c.Fe),a.yi(this.vd,this.od),a.xi(),a.Ji(),b=this.c.width/2,c=this.c.height/2,a.Cp(-b,c,b,c,b,-c,-b,-c),a.of(null)):this.rb.lt(a,this,null,this.rb.hm()))};b.prototype.fe=function(a,
b,c){var d=this.c.devicePixelRatio;this.c.tm&&0<this.c.ze&&(a*=d,b*=d);var d=this.c.ne/2,l=this.c.me/2,d=(this.rb.scrollX-d)*this.Ag+d,l=(this.rb.scrollY-l)*this.Bg+l,m=1/this.cf(),d=d-this.c.width*m/2,l=l-this.c.height*m/2,d=d+a*m,l=l+b*m;b=this.Ae();0!==b&&(d-=this.rb.scrollX,l-=this.rb.scrollY,a=Math.cos(b),b=Math.sin(b),m=d*a-l*b,l=l*a+d*b,d=m+this.rb.scrollX,l+=this.rb.scrollY);return c?d:l};b.prototype.Ed=function(a,b,c){var d=this.Ae();if(0!==d){a-=this.rb.scrollX;b-=this.rb.scrollY;var l=
Math.cos(-d),d=Math.sin(-d),m=a*l-b*d;b=b*l+a*d;a=m+this.rb.scrollX;b+=this.rb.scrollY}l=this.c.ne/2;d=this.c.me/2;l=(this.rb.scrollX-l)*this.Ag+l;d=(this.rb.scrollY-d)*this.Bg+d;m=1/this.cf();l-=this.c.width*m/2;d-=this.c.height*m/2;l=(a-l)/m;d=(b-d)/m;a=this.c.devicePixelRatio;this.c.tm&&0<this.c.ze&&(l/=a,d/=a);return c?l:d};b.prototype.Zd=function(){var a,b,c,d={s:this.scale,a:this.N,vl:this.uf,vt:this.wf,vr:this.vf,vb:this.tf,v:this.visible,bc:this.Th,t:this.Qj,px:this.Ag,py:this.Bg,o:this.opacity,
zr:this.Zf,fx:[],instances:[]};a=0;for(b=this.za.length;a<b;a++)c=this.za[a],d.fx.push({name:c.name,active:c.ue,params:this.Zb[c.index]});return d};b.prototype.Ge=function(a){var b,d;this.scale=a.s;this.N=a.a;this.uf=a.vl;this.wf=a.vt;this.vf=a.vr;this.tf=a.vb;this.visible=a.v;this.Th=a.bc;this.Qj=a.t;this.Ag=a.px;this.Bg=a.py;this.opacity=a.o;this.Zf=a.zr;var h=a.fx;a=0;for(b=h.length;a<b;a++)if(d=this.tr(h[a].name))d.ue=h[a].active,this.Zb[d.index]=h[a].params;this.Eh();this.B.sort(c);this.pe=!0};
cb=b})();
(function(){function a(a,b){var c,d=a.length;switch(d){case 0:return!0;case 1:return a[0]===b[0];case 2:return a[0]===b[0]&&a[1]===b[1];default:for(c=0;c<d;c++)if(a[c]!==b[c])return!1;return!0}}function b(a,b){return a.index-b.index}function c(c){var d,e,k,f;2===c.length?c[0].index>c[1].index&&(d=c[0],c[0]=c[1],c[1]=d):2<c.length&&c.sort(b);c.length>=s.length&&(s.length=c.length+1);s[c.length]||(s[c.length]=[]);f=s[c.length];d=0;for(e=f.length;d<e;d++)if(k=f[d],a(c,k))return k;f.push(c);return c}
function d(a,b){this.c=a;this.Sx={};this.Hv={};this.Br=!1;this.Yv=new Ka;this.name=b[0];var c=b[1];this.ci=[];var d,e;d=0;for(e=c.length;d<e;d++)this.aw(c[d],null,this.ci)}function e(a){this.type=a;this.B=[];this.kb=[];this.jb=!0}function g(a,b,c){this.sheet=a;this.parent=b;this.c=a.c;this.zb=[];this.Ai=[];this.Xv=this.Tp=this.Kt=this.Ir=this.group=this.Jx=!1;this.Vb=[];this.Te=[];this.rf=[];c[1]?(this.km=c[1][1].toLowerCase(),this.group=!0,this.Ir=!!c[1][0],this.c.dk.push(this),this.c.Wn[this.km.toLowerCase()]=
this.Ir):(this.km="",this.Ir=this.group=!1);this.Rf=c[2];this.Oa=c[4];this.group||(this.c.lv[this.Oa.toString()]=this);var d=c[5];a=0;for(b=d.length;a<b;a++){var e=new db(this,d[a]);e.index=a;this.Vb.push(e);this.Yu(e.type)}d=c[6];a=0;for(b=d.length;a<b;a++)e=new eb(this,d[a]),e.index=a,this.Te.push(e);if(8===c.length)for(c=c[7],a=0,b=c.length;a<b;a++)this.sheet.aw(c[a],this,this.rf);this.So=!1;this.Vb.length&&(this.So=null==this.Vb[0].type&&this.Vb[0].uc==G.prototype.D.fu)}function f(a,b){var c,
d,e;if(a&&(-1===b.indexOf(a)&&b.push(a),a.Wd))for(c=0,d=a.Rd.length;c<d;c++)e=a.Rd[c],a!==e&&-1===b.indexOf(e)&&b.push(e)}function h(a,b){this.we=a;this.sheet=a.sheet;this.c=a.c;this.ja=[];this.Ga=[];this.W={};this.index=-1;this.uc=b[1];this.trigger=0<b[3];this.Gv=2===b[3];this.ih=b[4];this.pm=b[5];this.eC=b[6];this.Oa=b[7];this.c.ik[this.Oa.toString()]=this;-1===b[0]?(this.type=null,this.yc=this.pt,this.Yi=null,this.ed=-1):(this.type=this.c.X[b[0]],this.yc=this.eC?this.nD:this.ot,b[2]?(this.Yi=this.type.Io(b[2]),
this.ed=this.type.rr(b[2])):(this.Yi=null,this.ed=-1),this.we.parent&&this.we.parent.Mp());this.Gv&&(this.yc=this.oD);if(10===b.length){var c,d,e=b[9];c=0;for(d=e.length;c<d;c++){var k=new fb(this,e[c]);this.ja.push(k)}this.Ga.length=e.length}}function l(a,b){this.we=a;this.sheet=a.sheet;this.c=a.c;this.ja=[];this.Ga=[];this.W={};this.index=-1;this.uc=b[1];-1===b[0]?(this.type=null,this.yc=this.pt,this.Yi=null,this.ed=-1):(this.type=this.c.X[b[0]],this.yc=this.ot,b[2]?(this.Yi=this.type.Io(b[2]),
this.ed=this.type.rr(b[2])):(this.Yi=null,this.ed=-1));this.Oa=b[3];this.c.bk[this.Oa.toString()]=this;if(6===b.length){var c,d,e=b[5];c=0;for(d=e.length;c<d;c++){var k=new fb(this,e[c]);this.ja.push(k)}this.Ga.length=e.length}}function m(a,b){this.ma=a;this.we=a.we;this.sheet=a.sheet;this.c=a.c;this.type=b[0];this.kg=null;this.uv=this.Bi=0;this.rb=null;this.key=0;this.object=null;this.index=0;this.Yp=this.jl=this.Iv=this.hj=this.qn=null;var c,d,e;switch(b[0]){case 0:case 7:this.kg=new gb(this,b[1]);
this.Bi=0;this.get=this.EB;break;case 1:this.kg=new gb(this,b[1]);this.Bi=0;this.get=this.GB;break;case 5:this.kg=new gb(this,b[1]);this.Bi=0;this.get=this.KB;break;case 3:case 8:this.uv=b[1];this.get=this.CB;break;case 6:this.rb=this.c.cs[b[1]];this.get=this.LB;break;case 9:this.key=b[1];this.get=this.JB;break;case 4:this.object=this.c.X[b[1]];this.get=this.MB;this.we.Yu(this.object);this.ma instanceof eb?this.we.Mp():this.we.parent&&this.we.parent.Mp();break;case 10:this.index=b[1];this.get=a.type.Ca?
this.HB:this.IB;break;case 11:this.qn=b[1];this.hj=null;this.get=this.DB;break;case 2:case 12:this.Iv=b[1];this.get=this.BB;break;case 13:for(this.get=this.NB,this.jl=[],this.Yp=[],c=1,d=b.length;c<d;c++)e=new fb(this.ma,b[c]),this.jl.push(e),this.Yp.push(0)}}function n(a,b,c){this.sheet=a;this.parent=b;this.c=a.c;this.zb=[];this.name=c[1];this.rn=c[2];this.Hr=c[3];this.vm=!!c[4];this.Ro=!!c[5];this.Oa=c[6];this.c.nl[this.Oa.toString()]=this;this.data=this.Hr;this.parent?(this.vj=this.vm||this.Ro?
-1:this.c.vD++,this.c.Yz.push(this)):(this.vj=-1,this.c.Xz.push(this))}function k(a,b,c){this.sheet=a;this.parent=b;this.c=a.c;this.zb=[];this.mm=null;this.RB=c[1]}function p(){this.Mx=[];this.reset(null)}var s=[];d.prototype.toString=u("name");d.prototype.aw=function(a,b,c){switch(a[0]){case 0:a=new kb(this,b,a);if(a.Rf)for(c.push(a),c=0,b=a.Vb.length;c<b;c++)a.Vb[c].trigger&&this.bw(a,c);else a.lw()?this.bw(a,0):c.push(a);break;case 1:a=new $a(this,b,a);c.push(a);break;case 2:a=new lb(this,b,a),
c.push(a)}};d.prototype.lc=function(){var a,b;a=0;for(b=this.ci.length;a<b;a++)this.ci[a].lc(a<b-1&&this.ci[a+1].So)};d.prototype.yc=function(a){this.c.vF||(this.Br=!0,a||(this.c.Mr=!0));var b,c;b=0;for(c=this.ci.length;b<c;b++){var d=this.ci[b];d.yc();this.c.Oq(d.zb);this.c.ig.qm()&&!this.c.ye.length||this.c.kd()}a||(this.c.Mr=!1)};d.prototype.bw=function(a,b){a.Rf||this.c.Wp.push(a);var c,d,e=a.Vb[b],k;k=e.type?e.type.name:"system";var f=(c=e.Gv)?this.Hv:this.Sx;f[k]||(f[k]=[]);k=f[k];f=e.uc;if(c){if(e.ja.length&&
(e=e.ja[0],1===e.type&&2===e.kg.type)){e=e.kg.value.toLowerCase();c=0;for(d=k.length;c<d;c++)if(k[c].method==f){c=k[c].yo;c[e]?c[e].push([a,b]):c[e]=[[a,b]];return}c={};c[e]=[[a,b]];k.push({method:f,yo:c})}}else{c=0;for(d=k.length;c<d;c++)if(k[c].method==f){k[c].yo.push([a,b]);return}k.push({method:f,yo:[[a,b]]})}};Xa=d;e.prototype.Ar=function(){return this.jb?this.type.B.length:this.B.length};e.prototype.bf=function(){return this.jb?this.type.B:this.B};e.prototype.$m=function(a){a&&(a.c.pd().Sd.Rf?
(this.jb&&(this.B.length=0,ta(this.kb,a.type.B),this.jb=!1),a=this.kb.indexOf(a),-1!==a&&(this.B.push(this.kb[a]),this.kb.splice(a,1))):(this.jb=!1,this.B.length=1,this.B[0]=a))};Va=e;g.prototype.lc=function(a){var b,d=this.parent;if(this.group)for(this.Tp=!0;d;){if(!d.group){this.Tp=!1;break}d=d.parent}this.Kt=!this.lw()&&(!this.parent||this.parent.group&&this.parent.Tp);this.Xv=!!a;this.Ai=this.zb.slice(0);for(d=this.parent;d;){a=0;for(b=d.zb.length;a<b;a++)this.Vz(d.zb[a]);d=d.parent}this.zb=c(this.zb);
this.Ai=c(this.Ai);a=0;for(b=this.Vb.length;a<b;a++)this.Vb[a].lc();a=0;for(b=this.Te.length;a<b;a++)this.Te[a].lc();a=0;for(b=this.rf.length;a<b;a++)this.rf[a].lc(a<b-1&&this.rf[a+1].So)};g.prototype.Yu=function(a){f(a,this.zb)};g.prototype.Vz=function(a){f(a,this.Ai)};g.prototype.Mp=function(){this.Jx=!0;this.parent&&this.parent.Mp()};g.prototype.lw=function(){return this.Vb.length?this.Vb[0].trigger:!1};g.prototype.yc=function(){var a,b=!1,c,d=this.c.pd();d.Sd=this;this.So||(d.dr=!1);if(this.Rf){0===
this.Vb.length&&(b=!0);d.Cc=0;for(a=this.Vb.length;d.Cc<a;d.Cc++)this.Vb[d.Cc].trigger||(c=this.Vb[d.Cc].yc())&&(b=!0);(d.Gk=b)&&this.Hp()}else{d.Cc=0;for(a=this.Vb.length;d.Cc<a;d.Cc++)if(c=this.Vb[d.Cc].yc(),!c){d.Gk=!1;!this.Kt||this.c.ig.qm()&&!this.c.ye.length||this.c.kd();return}d.Gk=!0;this.Hp()}this.KA(d)};g.prototype.KA=function(a){a.Gk&&this.Xv&&(a.dr=!0);!this.Kt||this.c.ig.qm()&&!this.c.ye.length||this.c.kd()};g.prototype.lD=function(a){this.c.pd().Sd=this;this.Vb[a].yc()&&this.Hp()};
g.prototype.Hp=function(){var a=this.c.pd(),b;a.Od=0;for(b=this.Te.length;a.Od<b;a.Od++)if(this.Te[a.Od].yc())return;this.ux()};g.prototype.iD=function(){var a=this.c.pd(),b;for(b=this.Te.length;a.Od<b;a.Od++)if(this.Te[a.Od].yc())return;this.ux()};g.prototype.ux=function(){if(this.rf.length){var a,b,c,d,e=this.rf.length-1;this.c.Bp(this);if(this.Jx)for(a=0,b=this.rf.length;a<b;a++)c=this.rf[a],(d=!this.Tp||!this.group&&a<e)&&this.c.Ap(c.zb),c.yc(),d?this.c.Jj(c.zb):this.c.Oq(c.zb);else for(a=0,b=
this.rf.length;a<b;a++)this.rf[a].yc();this.c.wp()}};g.prototype.mD=function(){var a=this.c.pd();a.Sd=this;var b=!1,c;a.Cc=0;for(c=this.Vb.length;a.Cc<c;a.Cc++)if(this.Vb[a.Cc].yc())b=!0;else if(!this.Rf)return!1;return this.Rf?b:!0};g.prototype.jD=function(){this.c.ij++;var a=this.c.pd().Cc,b=this.c.Bp(this);if(!this.Rf)for(b.Cc=a+1,a=this.Vb.length;b.Cc<a;b.Cc++)if(!this.Vb[b.Cc].yc()){this.c.wp();return}this.Hp();this.c.wp()};g.prototype.ZB=function(a){var b=a.index;if(0===b)return!0;for(--b;0<=
b;--b)if(this.Vb[b].type===a.type)return!1;return!0};kb=g;h.prototype.lc=function(){var a,b;a=0;for(b=this.ja.length;a<b;a++)this.ja[a].lc()};h.prototype.oD=w(!0);h.prototype.pt=function(){var a,b;a=0;for(b=this.ja.length;a<b;a++)this.Ga[a]=this.ja[a].get();return Ga(this.uc.apply(this.c.Jg,this.Ga),this.pm)};h.prototype.nD=function(){var a,b;a=0;for(b=this.ja.length;a<b;a++)this.Ga[a]=this.ja[a].get(a);a=this.uc.apply(this.Yi?this.Yi:this.type,this.Ga);this.type.Rh();return a};h.prototype.ot=function(){var a,
b,c,d,e,k,f,g=this.type.Ta(),h=this.we.Rf&&!this.trigger,n=0,l=this.type.Wd;if(g.jb){g.B.length=0;a=g.kb.length=0;for(c=this.type.B.length;a<c;a++){k=this.type.B[a];b=0;for(d=this.ja.length;b<d;b++)this.Ga[b]=this.ja[b].get(a);-1<this.ed?(this.type.Ca&&(n=k.type.ok[this.type.lg]),b=this.uc.apply(k.Sa[this.ed+n],this.Ga)):b=this.uc.apply(k,this.Ga);(e=Ga(b,this.pm))?g.B.push(k):h&&g.kb.push(k)}this.type.finish&&this.type.finish(!0);g.jb=!1;this.type.Rh();return g.Ar()}var m=0,s=(e=h&&!this.we.ZB(this))?
g.kb:g.B,p=!1;a=0;for(c=s.length;a<c;a++){k=s[a];b=0;for(d=this.ja.length;b<d;b++)this.Ga[b]=this.ja[b].get(a);-1<this.ed?(this.type.Ca&&(n=k.type.ok[this.type.lg]),b=this.uc.apply(k.Sa[this.ed+n],this.Ga)):b=this.uc.apply(k,this.Ga);if(Ga(b,this.pm))if(p=!0,e){if(g.B.push(k),l)for(b=0,d=k.siblings.length;b<d;b++)f=k.siblings[b],f.type.Ta().B.push(f)}else{s[m]=k;if(l)for(b=0,d=k.siblings.length;b<d;b++)f=k.siblings[b],f.type.Ta().B[m]=f;m++}else if(e){s[m]=k;if(l)for(b=0,d=k.siblings.length;b<d;b++)f=
k.siblings[b],f.type.Ta().kb[m]=f;m++}else if(h&&(g.kb.push(k),l))for(b=0,d=k.siblings.length;b<d;b++)f=k.siblings[b],f.type.Ta().kb.push(f)}s.length=m;if(l)for(a=0,c=this.type.Rd.length;a<c;a++)k=this.type.Rd[a].Ta(),e?k.kb.length=m:k.B.length=m;n=p;if(e&&!p)for(a=0,c=g.B.length;a<c;a++){k=g.B[a];b=0;for(d=this.ja.length;b<d;b++)this.Ga[b]=this.ja[b].get(a);b=-1<this.ed?this.uc.apply(k.Sa[this.ed],this.Ga):this.uc.apply(k,this.Ga);if(Ga(b,this.pm)){p=!0;break}}this.type.finish&&this.type.finish(n||
h);return h?p:g.Ar()};db=h;l.prototype.lc=function(){var a,b;a=0;for(b=this.ja.length;a<b;a++)this.ja[a].lc()};l.prototype.pt=function(){var a,b;a=0;for(b=this.ja.length;a<b;a++)this.Ga[a]=this.ja[a].get();return this.uc.apply(this.c.Jg,this.Ga)};l.prototype.ot=function(){var a=this.type.Ta().bf(),b,c,d,e,k;b=0;for(d=a.length;b<d;b++){k=a[b];c=0;for(e=this.ja.length;c<e;c++)this.Ga[c]=this.ja[c].get(b);-1<this.ed?(c=0,this.type.Ca&&(c=k.type.ok[this.type.lg]),this.uc.apply(k.Sa[this.ed+c],this.Ga)):
this.uc.apply(k,this.Ga)}return!1};eb=l;var t=[],r=-1;m.prototype.lc=function(){var a,b;if(11===this.type)this.hj=this.c.Nv(this.qn,this.we.parent);else if(13===this.type)for(a=0,b=this.jl.length;a<b;a++)this.jl[a].lc();this.kg&&this.kg.lc()};m.prototype.Jc=function(){r++;t.length===r&&t.push(new mb);return t[r]};m.prototype.xc=function(){r--};m.prototype.EB=function(a){this.Bi=a||0;a=this.Jc();this.kg.get(a);this.xc();return a.data};m.prototype.GB=function(a){this.Bi=a||0;a=this.Jc();this.kg.get(a);
this.xc();return ga(a.data)?a.data:""};m.prototype.MB=u("object");m.prototype.CB=u("uv");m.prototype.KB=function(a){this.Bi=a||0;a=this.Jc();this.kg.get(a);this.xc();return a.Wc()?this.c.gm(a.data):this.c.wr(a.data)};m.prototype.LB=u("rb");m.prototype.JB=u("key");m.prototype.IB=u("index");m.prototype.HB=function(a){var b=this.ma.type,c=null,c=b.Ta(),d=c.bf(),c=d.length?d[a%d.length].type:c.kb[a%c.kb.length].type;return this.index+c.zo[b.lg]};m.prototype.DB=u("hj");m.prototype.BB=u("Iv");m.prototype.NB=
function(){var a,b;a=0;for(b=this.jl.length;a<b;a++)this.Yp[a]=this.jl[a].get();return this.Yp};fb=m;n.prototype.lc=function(){this.zb=c(this.zb)};n.prototype.Bh=function(a){var b=this.c.Mv();this.parent&&!this.vm&&b?(this.vj>=b.length&&(b.length=this.vj+1),b[this.vj]=a):this.data=a};n.prototype.kj=function(){var a=this.c.Mv();return!this.parent||this.vm||!a||this.Ro?this.data:this.vj>=a.length||"undefined"===typeof a[this.vj]?this.Hr:a[this.vj]};n.prototype.yc=function(){!this.parent||this.vm||this.Ro||
this.Bh(this.Hr)};$a=n;k.prototype.toString=function(){return"include:"+this.mm.toString()};k.prototype.lc=function(){this.mm=this.c.gr[this.RB];this.sheet.Yv.add(this);this.zb=c(this.zb)};k.prototype.yc=function(){this.parent&&this.c.cn(this.c.X);this.mm.Br||this.mm.yc(!0);this.parent&&this.c.Jj(this.c.X)};k.prototype.WB=function(){for(var a=this.parent;a;){if(a.group&&!this.c.Wn[a.km.toLowerCase()])return!1;a=a.parent}return!0};lb=k;p.prototype.reset=function(a){this.Sd=a;this.Od=this.Cc=0;this.Mx.length=
0;this.dr=this.Gk=!1};Za=p})();
(function(){function a(a,b){this.ma=a;this.c=a.c;this.type=b[0];this.get=[this.WA,this.SA,this.dB,this.gB,this.MA,this.eB,this.$A,this.PA,this.ZA,this.cB,this.NA,this.bB,this.QA,this.aB,this.XA,this.YA,this.TA,this.UA,this.OA,this.fB,this.Ev,this.VA,this.Ev,this.RA][this.type];var e=null;this.le=this.ja=this.Ga=this.uc=this.Sp=this.Zc=this.first=this.value=null;this.ed=-1;this.bh=null;this.Tt=-1;this.hj=this.qn=null;this.dn=!1;switch(this.type){case 0:case 1:case 2:this.value=b[1];break;case 3:this.first=
new gb(a,b[1]);break;case 18:this.first=new gb(a,b[1]);this.Zc=new gb(a,b[2]);this.Sp=new gb(a,b[3]);break;case 19:this.uc=b[1];this.Ga=[];this.ja=[];3===b.length?(e=b[2],this.Ga.length=e.length+1):this.Ga.length=1;break;case 20:this.le=this.c.X[b[1]];this.ed=-1;this.uc=b[2];this.dn=b[3];this.bh=b[4]?new gb(a,b[4]):null;this.Ga=[];this.ja=[];6===b.length?(e=b[5],this.Ga.length=e.length+1):this.Ga.length=1;break;case 21:this.le=this.c.X[b[1]];this.dn=b[2];this.bh=b[3]?new gb(a,b[3]):null;this.Tt=b[4];
break;case 22:this.le=this.c.X[b[1]];this.le.Io(b[2]);this.ed=this.le.rr(b[2]);this.uc=b[3];this.dn=b[4];this.bh=b[5]?new gb(a,b[5]):null;this.Ga=[];this.ja=[];7===b.length?(e=b[6],this.Ga.length=e.length+1):this.Ga.length=1;break;case 23:this.qn=b[1],this.hj=null}4<=this.type&&17>=this.type&&(this.first=new gb(a,b[1]),this.Zc=new gb(a,b[2]));if(e){var g,f;g=0;for(f=e.length;g<f;g++)this.ja.push(new gb(a,e[g]))}}function b(a,b){this.type=a||nb.Cl;this.data=b||0;this.$k=null;this.type==nb.Cl&&(this.data=
Math.floor(this.data))}a.prototype.lc=function(){23===this.type&&(this.hj=this.ma.c.Nv(this.qn,this.ma.we.parent));this.first&&this.first.lc();this.Zc&&this.Zc.lc();this.Sp&&this.Sp.lc();this.bh&&this.bh.lc();if(this.ja){var a,b;a=0;for(b=this.ja.length;a<b;a++)this.ja[a].lc()}};a.prototype.fB=function(a){this.Ga[0]=a;a=this.ma.Jc();var b,e;b=0;for(e=this.ja.length;b<e;b++)this.ja[b].get(a),this.Ga[b+1]=a.data;this.ma.xc();this.uc.apply(this.c.Jg,this.Ga)};a.prototype.Ev=function(a){var b=this.le.Ta(),
e=b.bf();if(!e.length)if(b.kb.length)e=b.kb;else{this.dn?a.pf(""):a.Ib(0);return}this.Ga[0]=a;a.$k=this.le;a=this.ma.Jc();var g,b=0;for(g=this.ja.length;b<g;b++)this.ja[b].get(a),this.Ga[b+1]=a.data;b=this.ma.Bi;this.bh&&(this.bh.get(a),a.Wc()&&(b=a.data,e=this.le.B));this.ma.xc();b%=e.length;0>b&&(b+=e.length);e=e[b];-1<this.ed?(a=0,this.le.Ca&&(a=e.type.ok[this.le.lg]),this.uc.apply(e.Sa[this.ed+a],this.Ga)):this.uc.apply(e,this.Ga)};a.prototype.VA=function(a){var b=this.le.Ta(),e=b.bf();if(!e.length)if(b.kb.length)e=
b.kb;else{this.dn?a.pf(""):a.Ib(0);return}b=this.ma.Bi;if(this.bh){var g=this.ma.Jc();this.bh.get(g);if(g.Wc()){b=g.data;e=this.le.B;b%=e.length;0>b&&(b+=e.length);e=e[b].Hc[this.Tt];ga(e)?a.pf(e):a.na(e);this.ma.xc();return}this.ma.xc()}b%=e.length;0>b&&(b+=e.length);e=e[b];b=0;this.le.Ca&&(b=e.type.zo[this.le.lg]);e=e.Hc[this.Tt+b];ga(e)?a.pf(e):a.na(e)};a.prototype.WA=function(a){a.type=nb.Cl;a.data=this.value};a.prototype.SA=function(a){a.type=nb.xl;a.data=this.value};a.prototype.dB=function(a){a.type=
nb.Dq;a.data=this.value};a.prototype.gB=function(a){this.first.get(a);a.Wc()&&(a.data=-a.data)};a.prototype.MA=function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Wc()&&b.Wc()&&(a.data+=b.data,b.yk()&&a.Vk());this.ma.xc()};a.prototype.eB=function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Wc()&&b.Wc()&&(a.data-=b.data,b.yk()&&a.Vk());this.ma.xc()};a.prototype.$A=function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Wc()&&b.Wc()&&(a.data*=b.data,b.yk()&&a.Vk());
this.ma.xc()};a.prototype.PA=function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Wc()&&b.Wc()&&(a.data/=b.data,a.Vk());this.ma.xc()};a.prototype.ZA=function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Wc()&&b.Wc()&&(a.data%=b.data,b.yk()&&a.Vk());this.ma.xc()};a.prototype.cB=function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Wc()&&b.Wc()&&(a.data=Math.pow(a.data,b.data),b.yk()&&a.Vk());this.ma.xc()};a.prototype.NA=function(a){this.first.get(a);var b=this.ma.Jc();
this.Zc.get(b);a.Wc()?b.To()?a.pf(a.data.toString()+b.data):a.data&&b.data?a.Ib(1):a.Ib(0):a.To()&&(a.data=b.To()?a.data+b.data:a.data+(Math.round(1E10*b.data)/1E10).toString());this.ma.xc()};a.prototype.bB=function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Wc()&&b.Wc()&&(a.data||b.data?a.Ib(1):a.Ib(0));this.ma.xc()};a.prototype.OA=function(a){this.first.get(a);a.data?this.Zc.get(a):this.Sp.get(a)};a.prototype.QA=function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Ib(a.data===
b.data?1:0);this.ma.xc()};a.prototype.aB=function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Ib(a.data!==b.data?1:0);this.ma.xc()};a.prototype.XA=function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Ib(a.data<b.data?1:0);this.ma.xc()};a.prototype.YA=function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Ib(a.data<=b.data?1:0);this.ma.xc()};a.prototype.TA=function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Ib(a.data>b.data?1:0);this.ma.xc()};a.prototype.UA=
function(a){this.first.get(a);var b=this.ma.Jc();this.Zc.get(b);a.Ib(a.data>=b.data?1:0);this.ma.xc()};a.prototype.RA=function(a){var b=this.hj.kj();fa(b)?a.na(b):a.pf(b)};gb=a;b.prototype.yk=function(){return this.type===nb.xl};b.prototype.Wc=function(){return this.type===nb.Cl||this.type===nb.xl};b.prototype.To=function(){return this.type===nb.Dq};b.prototype.Vk=function(){this.yk()||(this.To()&&(this.data=parseFloat(this.data)),this.type=nb.xl)};b.prototype.Ib=function(a){this.type=nb.Cl;this.data=
Math.floor(a)};b.prototype.na=function(a){this.type=nb.xl;this.data=a};b.prototype.pf=function(a){this.type=nb.Dq;this.data=a};mb=b;nb={Cl:0,xl:1,Dq:2}})();function G(a){this.c=a;this.ae=[]}
G.prototype.Zd=function(){var a={},b,c,d,e,g,f,h,l;a.waits=[];var m=a.waits,n;b=0;for(c=this.ae.length;b<c;b++){f=this.ae[b];n={t:f.time,ev:f.mk.Oa,sm:[],sols:{}};f.mk.Te[f.Od]&&(n.act=f.mk.Te[f.Od].Oa);d=0;for(e=f.zb.length;d<e;d++)n.sm.push(f.zb[d].Oa);for(g in f.Md)if(f.Md.hasOwnProperty(g)){h=this.c.X[parseInt(g,10)];l={sa:f.Md[g].Ip,insts:[]};d=0;for(e=f.Md[g].dh.length;d<e;d++)l.insts.push(f.Md[g].dh[d].uid);n.sols[h.Oa.toString()]=l}m.push(n)}return a};
G.prototype.Ge=function(a){a=a.waits;var b,c,d,e,g,f,h,l,m,n,k;b=this.ae.length=0;for(c=a.length;b<c;b++)if(f=a[b],l=this.c.lv[f.ev.toString()]){m=-1;d=0;for(e=l.Te.length;d<e;d++)if(l.Te[d].Oa===f.act){m=d;break}if(-1!==m){h={Md:{},zb:[],br:!1};h.time=f.t;h.mk=l;h.Od=m;d=0;for(e=f.sm.length;d<e;d++)(l=this.c.Ko(f.sm[d]))&&h.zb.push(l);for(g in f.sols)if(f.sols.hasOwnProperty(g)&&(l=this.c.Ko(parseInt(g,10)))){m=f.sols[g];n={Ip:m.sa,dh:[]};d=0;for(e=m.insts.length;d<e;d++)(k=this.c.ei(m.insts[d]))&&
n.dh.push(k);h.Md[l.index.toString()]=n}this.ae.push(h)}}};
(function(){function a(){}function b(){}function c(){}var d=G.prototype;a.prototype.Pn=w(!0);a.prototype.$y=w(!0);a.prototype.yf=function(a){var b=this.c.sr(),c=b.W.fq||0,d=this.c.Ee.mc;"undefined"===typeof b.W.gq&&(b.W.gq=a);var e=b.W.gq;return d>=c+e?(b.W.fq=c+e,d>=b.W.fq+e&&(b.W.fq=d),b.W.gq=a,!0):!1};a.prototype.pc=function(a,b,c){return Ub(a.kj(),b,c)};a.prototype.fu=function(){var a=this.c.pd();return a.dr?!1:!a.Gk};a.prototype.uu=w(!0);a.prototype.Iy=w(!0);a.prototype.uq=w(!0);a.prototype.az=
w(!0);a.prototype.tq=w(!0);d.D=new a;b.prototype.Mn=function(a){this.c.wm||this.c.Tl||(this.c.Tl=a)};b.prototype.qe=function(a,b,c,d){if(b&&a&&(b=this.c.Vq(a,b,c,d))){this.c.De++;var e;this.c.trigger(Object.getPrototypeOf(a.Hb).D.Hl,b);if(b.Wd)for(c=0,d=b.siblings.length;c<d;c++)e=b.siblings[c],this.c.trigger(Object.getPrototypeOf(e.type.Hb).D.Hl,e);this.c.De--;a=a.Ta();a.jb=!1;a.B.length=1;a.B[0]=b;if(b.Wd)for(c=0,d=b.siblings.length;c<d;c++)e=b.siblings[c],a=e.type.Ta(),a.jb=!1,a.B.length=1,a.B[0]=
e}};b.prototype.Tn=function(a,b){a&&a.visible!==b&&(a.visible=b,this.c.nb=!0)};b.prototype.Nh=function(a,b){0===a.rn?fa(b)?a.Bh(b):a.Bh(parseFloat(b)):1===a.rn&&a.Bh(b.toString())};b.prototype.$t=function(a,b){0===a.rn?fa(b)?a.Bh(a.kj()+b):a.Bh(a.kj()+parseFloat(b)):1===a.rn&&a.Bh(a.kj()+b.toString())};b.prototype.Ou=function(a,b){0===a.rn&&(fa(b)?a.Bh(a.kj()-b):a.Bh(a.kj()-parseFloat(b)))};b.prototype.Lu=function(a){0>a&&(a=0);this.c.Ch=a};var e=[],g=[];b.prototype.Ql=function(a){if(!(0>a)){var b,
c,d,n=this.c.pd(),k;k=e.length?e.pop():{Md:{},zb:[]};k.br=!1;k.time=this.c.Ee.mc+a;k.mk=n.Sd;k.Od=n.Od+1;a=0;for(b=this.c.X.length;a<b;a++)d=this.c.X[a],c=d.Ta(),c.jb&&-1===n.Sd.zb.indexOf(d)||(k.zb.push(d),d=void 0,d=g.length?g.pop():{dh:[]},d.Ip=!1,d.Ip=c.jb,ta(d.dh,c.B),k.Md[a.toString()]=d);this.ae.push(k);return!0}};d.K=new b;c.prototype["int"]=function(a,b){ga(b)?(a.Ib(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.Ib(b)};c.prototype["float"]=function(a,b){ga(b)?(a.na(parseFloat(b)),isNaN(a.data)&&
(a.data=0)):a.na(b)};c.prototype.random=function(a,b,c){void 0===c?a.na(Math.random()*b):a.na(Math.random()*(c-b)+b)};c.prototype.sqrt=function(a,b){a.na(Math.sqrt(b))};c.prototype.abs=function(a,b){a.na(Math.abs(b))};c.prototype.round=function(a,b){a.Ib(Math.round(b))};c.prototype.floor=function(a,b){a.Ib(Math.floor(b))};c.prototype.ceil=function(a,b){a.Ib(Math.ceil(b))};c.prototype.sin=function(a,b){a.na(Math.sin(B(b)))};c.prototype.cos=function(a,b){a.na(Math.cos(B(b)))};c.prototype.tan=function(a,
b){a.na(Math.tan(B(b)))};c.prototype.asin=function(a,b){a.na(va(Math.asin(b)))};c.prototype.acos=function(a,b){a.na(va(Math.acos(b)))};c.prototype.exp=function(a,b){a.na(Math.exp(b))};c.prototype.max=function(a){var b=arguments[1],c,d;c=2;for(d=arguments.length;c<d;c++)b<arguments[c]&&(b=arguments[c]);a.na(b)};c.prototype.min=function(a){var b=arguments[1],c,d;c=2;for(d=arguments.length;c<d;c++)b>arguments[c]&&(b=arguments[c]);a.na(b)};c.prototype.Ba=function(a){a.na(this.c.Ba)};c.prototype.Ch=function(a){a.na(this.c.Ch)};
c.prototype.time=function(a){a.na(this.c.Ee.mc)};c.prototype.Gi=function(a){a.Ib(this.c.Gi)};c.prototype.sp=function(a){a.Ib(this.c.sp)};c.prototype.nr=function(a){a.Ib(this.c.nr)};c.prototype.$g=function(a,b,c,d,e){a.na(Fa(b,c,d,e))};c.prototype.N=function(a,b,c,d,e){a.na(va(Aa(b,c,d,e)))};c.prototype.left=function(a,b,c){a.pf(ga(b)?b.substr(0,c):"")};c.prototype.right=function(a,b,c){a.pf(ga(b)?b.substr(b.length-c):"")};c.prototype.replace=function(a,b,c,d){ga(b)&&ga(c)&&ga(d)?a.pf(b.replace(RegExp(Oa(c),
"gi"),d)):a.pf(ga(b)?b:"")};c.prototype.Tq=function(a){a.na(this.c.Tq/1E3)};c.prototype.Ik=function(a){a.na(this.c.Ik)};d.pa=new c;d.kD=function(){var a,b,c,d,n,k,p=this.c.pd();a=0;for(c=this.ae.length;a<c;a++)if(d=this.ae[a],!(d.time>this.c.Ee.mc)){p.Sd=d.mk;p.Od=d.Od;p.Cc=0;for(b in d.Md)d.Md.hasOwnProperty(b)&&(n=this.c.X[parseInt(b,10)].Ta(),k=d.Md[b],n.jb=k.Ip,ta(n.B,k.dh),n=k,n.dh.length=0,g.push(n));d.mk.iD();this.c.Oq(d.zb);d.br=!0}b=a=0;for(c=this.ae.length;a<c;a++)d=this.ae[a],this.ae[b]=
d,d.br?(Ia(d.Md),d.zb.length=0,e.push(d)):b++;this.ae.length=b}})();
function xb(a){var b=a[0].prototype,c=a[1],d=a[3],e=a[4],g=a[5],f=a[6],h=a[7];a=a[8];b.D||(b.D={});b.K||(b.K={});b.pa||(b.pa={});var l=b.D,m=b.K,b=b.pa;d&&(l.eE=function(a,b){return Ub(this.x,a,b)},l.fE=function(a,b){return Ub(this.y,a,b)},l.mE=function(){var a=this.T;this.Lc();var b=this.Ra;return!(b.right<a.uf||b.bottom<a.wf||b.left>a.vf||b.top>a.tf)},l.nE=function(){this.Lc();var a=this.Ra,b=this.c.ob;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},l.CE=function(a,b,c){var d=this.Ta(),
e=d.bf();if(!e.length)return!1;var f=e[0],g=f,h=Fa(f.x,f.y,b,c),l,m,C;l=1;for(m=e.length;l<m;l++)if(f=e[l],C=Fa(f.x,f.y,b,c),0===a&&C<h||1===a&&C>h)h=C,g=f;d.$m(g);return!0},m.ZE=function(a){this.x!==a&&(this.x=a,this.ca())},m.$E=function(a){this.y!==a&&(this.y=a,this.ca())},m.TE=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.ca()},m.UE=function(a,b){var c=a.wB(this);if(c){var d;c.$e?(d=c.$e(b,!0),c=c.$e(b,!1)):(d=c.x,c=c.y);if(this.x!==d||this.y!==c)this.x=d,this.y=c,this.ca()}},
m.uE=function(a){0!==a&&(this.x+=Math.cos(this.N)*a,this.y+=Math.sin(this.N)*a,this.ca())},m.tE=function(a,b){0!==b&&(this.x+=Math.cos(B(a))*b,this.y+=Math.sin(B(a))*b,this.ca())},b.ak=function(a){a.na(this.x)},b.Vn=function(a){a.na(this.y)},b.Ba=function(a){a.na(this.c.fm(this))});e&&(l.dE=function(a,b){return Ub(this.width,a,b)},l.aE=function(a,b){return Ub(this.height,a,b)},m.YE=function(a){this.width!==a&&(this.width=a,this.ca())},m.QE=function(a){this.height!==a&&(this.height=a,this.ca())},m.VE=
function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.ca()},b.Ph=function(a){a.na(this.width)},b.mu=function(a){a.na(this.height)},b.YD=function(a){this.Lc();a.na(this.Ra.left)},b.$D=function(a){this.Lc();a.na(this.Ra.top)},b.ZD=function(a){this.Lc();a.na(this.Ra.right)},b.XD=function(a){this.Lc();a.na(this.Ra.bottom)});g&&(l.RD=function(a,b){return Ba(this.N,B(b))<=B(a)},l.kE=function(a){return Da(this.N,B(a))},l.iE=function(a,b){var c=za(a),d=za(b),e=xa(this.N);return Da(d,
c)?Da(e,c)&&!Da(e,d):!(!Da(e,c)&&Da(e,d))},m.Qn=function(a){a=B(wa(a));isNaN(a)||this.N===a||(this.N=a,this.ca())},m.IE=function(a){0===a||isNaN(a)||(this.N+=B(a),this.N=xa(this.N),this.ca())},m.JE=function(a){0===a||isNaN(a)||(this.N-=B(a),this.N=xa(this.N),this.ca())},m.KE=function(a,b){var c=Ca(this.N,B(b),B(a));isNaN(c)||this.N===c||(this.N=c,this.ca())},m.LE=function(a,b,c){a=Ca(this.N,Math.atan2(c-this.y,b-this.x),B(a));isNaN(a)||this.N===a||(this.N=a,this.ca())},m.WE=function(a,b){var c=Math.atan2(b-
this.y,a-this.x);isNaN(c)||this.N===c||(this.N=c,this.ca())},b.QD=function(a){a.na(ya(this.N))});c||(l.bE=function(a,b,c){return Ub(this.Hc[a],b,c)},l.jE=function(a){return this.Hc[a]},l.DE=function(a,b){var c=this.Ta(),d=c.bf();if(!d.length)return!1;var e=d[0],f=e,g=e.Hc[b],h,l,m;h=1;for(l=d.length;h<l;h++)if(e=d[h],m=e.Hc[b],0===a&&m<g||1===a&&m>g)g=m,f=e;c.$m(f);return!0},l.BE=function(a){var b,c,d,e,f;if(this.c.sr().pm){f=this.Ta();if(f.jb)for(f.jb=!1,f.B.length=0,f.kb.length=0,d=this.B,b=0,c=
d.length;b<c;b++)e=d[b],e.uid===a?f.kb.push(e):f.B.push(e);else{d=b=0;for(c=f.B.length;b<c;b++)e=f.B[b],f.B[d]=e,e.uid===a?f.kb.push(e):d++;f.B.length=d}return!!f.B.length}e=this.c.ei(a);if(!e)return!1;f=this.Ta();if(!f.jb&&-1===f.B.indexOf(e))return!1;if(this.Ca)for(a=e.type.Db,b=0,c=a.length;b<c;b++){if(a[b]===this)return f.$m(e),!0}else if(e.type===this)return f.$m(e),!0;return!1},l.Hl=w(!0),l.Jy=w(!0),m.RE=function(a,b){var c=this.Hc;fa(c[a])?c[a]=fa(b)?b:parseFloat(b):ga(c[a])&&(c[a]=ga(b)?b:
b.toString())},m.PD=function(a,b){var c=this.Hc;fa(c[a])?c[a]=fa(b)?c[a]+b:c[a]+parseFloat(b):ga(c[a])&&(c[a]=ga(b)?c[a]+b:c[a]+b.toString())},m.aF=function(a,b){var c=this.Hc;fa(c[a])&&(c[a]=fa(b)?c[a]-b:c[a]-parseFloat(b))},m.ME=function(a,b){this.Hc[a]=b?1:0},m.cF=function(a){this.Hc[a]=1-this.Hc[a]},m.lb=function(){this.c.Jh(this)},b.gE=function(a){var b=a.$k.B.length,c,d,e;c=0;for(d=this.c.ye.length;c<d;c++)e=this.c.ye[c],a.$k.Ca?0<=e.type.Db.indexOf(a.$k)&&b++:e.type===a.$k&&b++;a.Ib(b)},b.FE=
function(a){a.Ib(a.$k.Ta().bf().length)},b.dF=function(a){a.Ib(this.uid)},b.hE=function(a){a.Ib(this.jm())});f&&(l.pE=u("visible"),m.XE=function(a){!a!==!this.visible&&(this.visible=a,this.c.nb=!0)},l.cE=function(a,b){return Ub(Sa(100*this.opacity),a,b)},m.SE=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.c.nb=!0)},b.Opacity=function(a){a.na(Sa(100*this.opacity))});h&&(l.lE=function(a){return a?this.T===a:!1},l.EE=function(a){var b=this.Ta(),c=b.bf();if(!c.length)return!1;
var d=c[0],e=d,f,g;f=1;for(g=c.length;f<g;f++)if(d=c[f],0===a){if(d.T.index>e.T.index||d.T.index===e.T.index&&d.Ce()>e.Ce())e=d}else if(d.T.index<e.T.index||d.T.index===e.T.index&&d.Ce()<e.Ce())e=d;b.$m(e);return!0},m.xE=function(){var a=this.Ce();a!==this.T.B.length-1&&(sa(this.T.B,a),this.T.B.push(this),this.c.nb=!0,this.T.pe=!0)},m.vE=function(){var a=this.Ce();0!==a&&(sa(this.T.B,a),this.T.B.unshift(this),this.c.nb=!0,this.T.pe=!0)},m.wE=function(a){a&&a!=this.T&&(sa(this.T.B,this.Ce()),this.T.pe=
!0,this.T=a,this.Sj=a.B.length,a.B.push(this),this.c.nb=!0)},m.fF=function(a,b){var c=0===a;if(b){var d=b.rB(this);if(d&&d.uid!==this.uid){this.T.index!==d.T.index&&(sa(this.T.B,this.Ce()),this.T.pe=!0,this.T=d.T,this.Sj=d.T.B.length,d.T.B.push(this));var e=this.Ce(),d=d.Ce();sa(this.T.B,e);e<d&&d--;c&&d++;d===this.T.B.length?this.T.B.push(this):this.T.B.splice(d,0,this);this.T.pe=!0;this.c.nb=!0}}},b.rE=function(a){a.Ib(this.T.Ow)},b.qE=function(a){a.pf(this.T.name)},b.eF=function(a){a.Ib(this.Ce())});
a&&(m.OE=function(a,b){if(this.c.qa){var c=this.type.ur(b);if(!(0>c)){var d=1===a;this.Qh[c]!==d&&(this.Qh[c]=d,this.Eh(),this.c.nb=!0)}}},m.PE=function(a,b,c){if(this.c.qa){var d=this.type.ur(a);0>d||(a=this.type.za[d],d=this.Zb[d],b=Math.floor(b),0>b||b>=d.length||(1===this.c.qa.zB(a.hd,b)&&(c/=100),d[b]!==c&&(d[b]=c,a.ue&&(this.c.nb=!0))))}})}function Ob(){this.Kq=!0;this.c.nb=!0;var a,b;a=0;for(b=this.$n.length;a<b;a++)this.$n[a](this)}function Pb(a){a&&this.$n.push(a)}
function Rb(){if(this.Kq){this.Ra.set(this.x,this.y,this.x+this.width,this.y+this.height);this.Ra.offset(-this.Td*this.width,-this.Ud*this.height);this.N?(this.Ra.offset(-this.x,-this.y),this.Ub.Fx(this.Ra,this.N),this.Ub.offset(this.x,this.y),this.Ub.mv(this.Ra)):this.Ub.ut(this.Ra);var a=0;this.Ra.left>this.Ra.right&&(a=this.Ra.left,this.Ra.left=this.Ra.right,this.Ra.right=a);this.Ra.top>this.Ra.bottom&&(a=this.Ra.top,this.Ra.top=this.Ra.bottom,this.Ra.bottom=a);this.Kq=!1}}
function Qb(a,b){return this.Ra.Ve(a,b)&&this.Ub.Ve(a,b)?this.fb&&!this.fb.xk()?(this.fb.fk(this.width,this.height,this.N),this.fb.Ve(a-this.x,b-this.y)):!0:!1}function Mb(){this.type.Xp();return this.mj}function Sb(){this.T.ID();return this.Sj}function Tb(){this.eb.length=0;var a,b;a=0;for(b=this.Qh.length;a<b;a++)this.Qh[a]&&this.eb.push(this.type.za[a]);this.Zx=!!this.eb.length}function Nb(){return"Inst"+this.lx}
function zb(a){if(a&&a.Wd&&a.type!=this){var b,c,d;b=0;for(c=a.siblings.length;b<c;b++)if(d=a.siblings[b],d.type==this)return d}a=this.Ta().bf();return a.length?a[0]:null}function Ab(a){var b=this.Ta().bf();return b.length?b[a.jm()%b.length]:null}function yb(){if(this.il&&!this.Ca){var a,b;a=0;for(b=this.B.length;a<b;a++)this.B[a].mj=a;var c=a,d=this.c.ye;a=0;for(b=d.length;a<b;++a)d[a].type===this&&(d[a].mj=c++);this.il=!1}}function Bb(){return this.Ci[this.Zg]}
function Cb(){this.Zg++;this.Zg===this.Ci.length?this.Ci.push(new Va(this)):this.Ci[this.Zg].jb=!0}function Db(){this.Zg++;this.Zg===this.Ci.length&&this.Ci.push(new Va(this));var a=this.Ci[this.Zg],b=this.Ci[this.Zg-1];b.jb?a.jb=!0:(a.jb=!1,ta(a.B,b.B),ta(a.kb,b.kb))}function Gb(){this.Zg--}
function Hb(a){var b,c,d,e,g,f=0;if(!this.Ca)for(b=0,c=this.Db.length;b<c;b++)for(g=this.Db[b],d=0,e=g.ub.length;d<e;d++){if(a===g.ub[d].name)return this.W.nw=f,g.ub[d];f++}b=0;for(c=this.ub.length;b<c;b++){if(a===this.ub[b].name)return this.W.nw=f,this.ub[b];f++}return null}function Ib(a){return this.Io(a)?this.W.nw:-1}function Jb(a){var b,c;b=0;for(c=this.za.length;b<c;b++)if(this.za[b].name===a)return b;return-1}
function Kb(){if(this.Wd&&!this.Ca){var a,b,c,d,e,g,f;this.Xp();g=this.Ta();var h=g.jb,l=(a=this.c.pd())&&a.Sd&&a.Sd.Rf;a=0;for(b=this.Rd.length;a<b;a++)if(e=this.Rd[a],e!==this&&(e.Xp(),f=e.Ta(),f.jb=h,!h)){f.B.length=g.B.length;c=0;for(d=g.B.length;c<d;c++)f.B[c]=e.B[g.B[c].mj];if(l)for(f.kb.length=g.kb.length,c=0,d=g.kb.length;c<d;c++)f.kb[c]=e.B[g.kb[c].mj]}}}function Lb(){return"Type"+this.Oa}
function Ub(a,b,c){if("undefined"===typeof a||"undefined"===typeof c)return!1;switch(b){case 0:return a===c;case 1:return a!==c;case 2:return a<c;case 3:return a<=c;case 4:return a>c;case 5:return a>=c;default:return!1}}var vb={};function Vb(a){this.c=a}
(function(){function a(a){0>a&&(a=0);1<a&&(a=1);return 20*(Math.log(a)/Math.log(10))}function b(a){a=a.toLowerCase();return ca.hasOwnProperty(a)&&ca[a].length?ca[a][0].Be():L.destination}function c(){return L.createGain?L.createGain():L.createGainNode()}function d(a){return L.createDelay?L.createDelay(a):L.createDelayNode(a)}function e(a){a.start?a.start(0):a.noteOn(0)}function g(a,b,c){a.start?a.start(0,b):a.noteGrainOn(0,b,c-b)}function f(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function h(a,
b,d,e,k,f){this.type="filter";this.fc=[a,b,d,e,k,f];this.Ua=c();this.ya=c();this.ya.gain.value=f;this.ua=c();this.ua.gain.value=1-f;this.tc=L.createBiquadFilter();this.tc.type="number"===typeof this.tc.type?a:Le[a];this.tc.frequency.value=b;this.tc.detune&&(this.tc.detune.value=d);this.tc.Q.value=e;this.tc.gain.value=k;this.Ua.connect(this.tc);this.Ua.connect(this.ua);this.tc.connect(this.ya)}function l(a,b,e){this.type="delay";this.fc=[a,b,e];this.Ua=c();this.ya=c();this.ya.gain.value=e;this.ua=
c();this.ua.gain.value=1-e;this.Qm=c();this.Ye=d(a);this.Ye.delayTime.value=a;this.to=c();this.to.gain.value=b;this.Ua.connect(this.Qm);this.Ua.connect(this.ua);this.Qm.connect(this.ya);this.Qm.connect(this.Ye);this.Ye.connect(this.to);this.to.connect(this.Qm)}function m(a,b,d,e){this.type="convolve";this.fc=[b,d,e];this.Ua=c();this.ya=c();this.ya.gain.value=d;this.ua=c();this.ua.gain.value=1-d;this.cj=L.createConvolver();a&&(this.cj.normalize=b,this.cj.buffer=a);this.Ua.connect(this.cj);this.Ua.connect(this.ua);
this.cj.connect(this.ya)}function n(a,b,k,f,g){this.type="flanger";this.fc=[a,b,k,f,g];this.Ua=c();this.ua=c();this.ua.gain.value=1-g/2;this.ya=c();this.ya.gain.value=g/2;this.Ao=c();this.Ao.gain.value=f;this.Ye=d(a+b);this.Ye.delayTime.value=a;this.Yc=L.createOscillator();this.Yc.frequency.value=k;this.oe=c();this.oe.gain.value=b;this.Ua.connect(this.Ye);this.Ua.connect(this.ua);this.Ye.connect(this.ya);this.Ye.connect(this.Ao);this.Ao.connect(this.Ye);this.Yc.connect(this.oe);this.oe.connect(this.Ye.delayTime);
e(this.Yc)}function k(a,b,d,k,f,g){this.type="phaser";this.fc=[a,b,d,k,f,g];this.Ua=c();this.ua=c();this.ua.gain.value=1-g/2;this.ya=c();this.ya.gain.value=g/2;this.tc=L.createBiquadFilter();this.tc.type="number"===typeof this.tc.type?7:"allpass";this.tc.frequency.value=a;this.tc.detune&&(this.tc.detune.value=b);this.tc.Q.value=d;this.Yc=L.createOscillator();this.Yc.frequency.value=f;this.oe=c();this.oe.gain.value=k;this.Ua.connect(this.tc);this.Ua.connect(this.ua);this.tc.connect(this.ya);this.Yc.connect(this.oe);
this.oe.connect(this.tc.frequency);e(this.Yc)}function p(a){this.type="gain";this.fc=[a];this.Za=c();this.Za.gain.value=a}function s(a,b){this.type="tremolo";this.fc=[a,b];this.Za=c();this.Za.gain.value=1-b/2;this.Yc=L.createOscillator();this.Yc.frequency.value=a;this.oe=c();this.oe.gain.value=b/2;this.Yc.connect(this.oe);this.oe.connect(this.Za.gain);e(this.Yc)}function t(a,b){this.type="ringmod";this.fc=[a,b];this.Ua=c();this.ya=c();this.ya.gain.value=b;this.ua=c();this.ua.gain.value=1-b;this.gn=
c();this.gn.gain.value=0;this.Yc=L.createOscillator();this.Yc.frequency.value=a;this.Yc.connect(this.gn.gain);e(this.Yc);this.Ua.connect(this.gn);this.Ua.connect(this.ua);this.gn.connect(this.ya)}function r(a,b,d,e,k){this.type="distortion";this.fc=[a,b,d,e,k];this.Ua=c();this.yp=c();this.xp=c();this.sD(d,Math.pow(10,e/20));this.ya=c();this.ya.gain.value=k;this.ua=c();this.ua.gain.value=1-k;this.$p=L.createWaveShaper();this.qo=new Float32Array(65536);this.mB(a,b);this.$p.qo=this.qo;this.Ua.connect(this.yp);
this.Ua.connect(this.ua);this.yp.connect(this.$p);this.$p.connect(this.xp);this.xp.connect(this.ya)}function y(a,b,c,d,e){this.type="compressor";this.fc=[a,b,c,d,e];this.Za=L.createDynamicsCompressor();this.Za.threshold.value=a;this.Za.knee.value=b;this.Za.ratio.value=c;this.Za.attack.value=d;this.Za.release.value=e}function H(a,b){this.type="analyser";this.fc=[a,b];this.Za=L.createAnalyser();this.Za.fftSize=a;this.Za.smoothingTimeConstant=b;this.kB=new Float32Array(this.Za.frequencyBinCount);this.Hx=
new Uint8Array(a);this.Zm=0}function J(){this.Ma=null;this.dp=0;this.Di=[];this.Os=this.Wo=this.Vo=0}function E(a,b){this.src=a;this.sb=S;this.Jf=b;this.$u=!1;var d=this;this.Kw=this.Xs=null;this.dl=[];this.Jp=0;this.tp=!1;S!==M||!b||D.gi||D.oj||(this.sb=O,this.Xs=c());this.Zn=this.Lb=null;var e;switch(this.sb){case O:this.Lb=new Audio;S===M&&L.createMediaElementSource&&this.Lb.addEventListener("canplay",function(){d.Kw=L.createMediaElementSource(d.Lb);d.Kw.connect(d.Xs)});this.Lb.autoplay=!1;this.Lb.uF=
"auto";this.Lb.src=a;break;case M:e=new XMLHttpRequest;e.open("GET",a,!0);e.responseType="arraybuffer";e.onload=function(){d.Zn=e.response;d.Av()};e.send();break;case I:this.Lb=!0;break;case V:this.Lb=!0}}function C(a,d){var e=this;this.Ei=d;this.Xf=this.di=!0;this.src=a.src;this.buffer=a;this.sb=S;this.Jf=a.Jf;this.playbackRate=1;this.Zs=!0;this.hi=this.yh=!1;this.Wf=0;this.Rr=this.Qr=this.ih=!1;this.Rm=this.volume=1;this.startTime=D.Ee.mc;this.kc=this.fd=null;this.zg=!1;this.Ic=null;this.Yw=this.Xw=
this.Ww=this.Vw=this.$w=this.Zw=0;this.V=null;var k=!1;switch(this.sb){case O:this.Jf?(this.V=a.Lb,k=!a.$u,a.$u=!0):(this.V=new Audio,this.V.autoplay=!1,this.V.src=a.Lb.src,k=!0);k&&this.V.addEventListener("ended",function(){F=e.Ei;e.Xf=!0;D.trigger(Vb.prototype.D.sq,v)});break;case M:this.fd=c();this.fd.connect(b(d));this.buffer.sb===M?a.Lb&&(this.V=L.createBufferSource(),this.V.buffer=a.Lb,this.V.connect(this.fd)):(this.V=this.buffer.Lb,this.buffer.Xs.connect(this.fd));break;case I:this.V=new window.Media(Q+
this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(e.Zs=!0,e.Xf=!0,F=e.Ei,D.trigger(Vb.prototype.D.sq,v))});break;case V:this.V=!0}}function K(a,b){ca.hasOwnProperty(a)?ca[a].push(b):ca[a]=[b];var c,d,e,k,f=L.destination;if(ca.hasOwnProperty(a)&&(e=ca[a],e.length))for(f=e[0].Be(),c=0,d=e.length;c<d;c++)k=e[c],c+1===d?k.Ue(L.destination):k.Ue(e[c+1].Be());hb.length=0;if(a.length)for(c=0,d=aa.length;c<d;c++)e=aa[c],Ta(a,e.Ei)&&hb.push(e);else Gc&&!Gc.lm()&&(hb.length=1,hb[0]=Gc);c=0;for(d=
hb.length;c<d;c++)hb[c].hD(f);Ya&&Hc===a&&(Ya.disconnect(),Ya.connect(f))}function x(){}var z=Vb.prototype;z.Yb=function(a){this.Hb=a;this.c=a.c};z.Yb.prototype.$a=q();var D=null,v=null,F="",Q="",O=0,M=1,I=2,V=3,S=O,L=null,ra=[],aa=[],Gc=null,dc=0,Eb=!1,La=1,ib=0,jb=0,Ic=1,Jc=1,Hd=10,Id=1E4,Jd=1,Ya=null,Hc="",ca={},Le="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");h.prototype.Ue=function(a){this.ya.disconnect();this.ya.connect(a);this.ua.disconnect();this.ua.connect(a)};
h.prototype.remove=function(){this.Ua.disconnect();this.tc.disconnect();this.ya.disconnect();this.ua.disconnect()};h.prototype.Be=u("Ua");l.prototype.Ue=function(a){this.ya.disconnect();this.ya.connect(a);this.ua.disconnect();this.ua.connect(a)};l.prototype.remove=function(){this.Ua.disconnect();this.Qm.disconnect();this.Ye.disconnect();this.to.disconnect();this.ya.disconnect();this.ua.disconnect()};l.prototype.Be=u("Ua");m.prototype.Ue=function(a){this.ya.disconnect();this.ya.connect(a);this.ua.disconnect();
this.ua.connect(a)};m.prototype.remove=function(){this.Ua.disconnect();this.cj.disconnect();this.ya.disconnect();this.ua.disconnect()};m.prototype.Be=u("Ua");n.prototype.Ue=function(a){this.ua.disconnect();this.ua.connect(a);this.ya.disconnect();this.ya.connect(a)};n.prototype.remove=function(){this.Ua.disconnect();this.Ye.disconnect();this.Yc.disconnect();this.oe.disconnect();this.ua.disconnect();this.ya.disconnect();this.Ao.disconnect()};n.prototype.Be=u("Ua");k.prototype.Ue=function(a){this.ua.disconnect();
this.ua.connect(a);this.ya.disconnect();this.ya.connect(a)};k.prototype.remove=function(){this.Ua.disconnect();this.tc.disconnect();this.Yc.disconnect();this.oe.disconnect();this.ua.disconnect();this.ya.disconnect()};k.prototype.Be=u("Ua");p.prototype.Ue=function(a){this.Za.disconnect();this.Za.connect(a)};p.prototype.remove=function(){this.Za.disconnect()};p.prototype.Be=u("Za");s.prototype.Ue=function(a){this.Za.disconnect();this.Za.connect(a)};s.prototype.remove=function(){this.Yc.disconnect();
this.oe.disconnect();this.Za.disconnect()};s.prototype.Be=u("Za");t.prototype.Ue=function(a){this.ya.disconnect();this.ya.connect(a);this.ua.disconnect();this.ua.connect(a)};t.prototype.remove=function(){this.Yc.disconnect();this.gn.disconnect();this.Ua.disconnect();this.ya.disconnect();this.ua.disconnect()};t.prototype.Be=u("Ua");r.prototype.sD=function(a,b){0.01>a&&(a=0.01);this.yp.gain.value=a;this.xp.gain.value=Math.pow(1/a,0.6)*b};r.prototype.shape=function(a,b,c){var d=1.05*c*b-b;c=0>a?-1:1;
a=0>a?-a:a;b=a<b?a:b+d*(1-Math.exp(-(1/d)*(a-b)));return b*c};r.prototype.mB=function(a,b){for(var c=Math.pow(10,a/20),d=Math.pow(10,b/20),e=0,k=0;32768>k;++k)e=k/32768,e=this.shape(e,c,d),this.qo[32768+k]=e,this.qo[32768-k-1]=-e};r.prototype.Ue=function(a){this.ya.disconnect();this.ya.connect(a);this.ua.disconnect();this.ua.connect(a)};r.prototype.remove=function(){this.Ua.disconnect();this.yp.disconnect();this.$p.disconnect();this.xp.disconnect();this.ya.disconnect();this.ua.disconnect()};r.prototype.Be=
u("Ua");y.prototype.Ue=function(a){this.Za.disconnect();this.Za.connect(a)};y.prototype.remove=function(){this.Za.disconnect()};y.prototype.Be=u("Za");H.prototype.$c=function(){this.Za.getFloatFrequencyData(this.kB);this.Za.getByteTimeDomainData(this.Hx);for(var b=this.Za.fftSize,c=0,d=this.Zm=0,e=0;c<b;c++)e=(this.Hx[c]-128)/128,0>e&&(e=-e),this.Zm<e&&(this.Zm=e),d+=e*e;this.Zm=a(this.Zm);a(Math.sqrt(d/b))};H.prototype.Ue=function(a){this.Za.disconnect();this.Za.connect(a)};H.prototype.remove=function(){this.Za.disconnect()};
H.prototype.Be=u("Za");J.prototype.hn=function(a){if(this.Ma=a)this.Vo=this.Ma.x,this.Wo=this.Ma.y;this.Di.length=0};J.prototype.Oo=function(){return!!this.Ma};J.prototype.$c=function(a){this.Ma&&(this.Os=Aa(this.Vo,this.Wo,this.Ma.x,this.Ma.y),a=Fa(this.Vo,this.Wo,this.Ma.x,this.Ma.y)/a,4>this.Di.length||this.Di.shift(),this.Di.push(a),this.Vo=this.Ma.x,this.Wo=this.Ma.y)};J.prototype.Qv=function(){if(!this.Di.length)return 0;var a,b,c=0;a=0;for(b=this.Di.length;a<b;a++)c+=this.Di[a];return c/this.Di.length};
J.prototype.Rv=function(){return Math.cos(this.Os)*this.Qv()};J.prototype.Sv=function(){return Math.sin(this.Os)*this.Qv()};var Kd=!1;E.prototype.Av=function(){if(!this.Lb&&this.Zn){var a=this;if(L.decodeAudioData)L.decodeAudioData(this.Zn,function(b){a.Lb=b;var c,d,e;if(ea(a.up))ea(a.oo)||(c=a.oo.cj,c.normalize=a.Nw,c.buffer=b);else if(a.dl.length){c=0;for(d=a.dl.length;c<d;c++){b=a.dl[c];e=new C(a,b.Ox);e.Cx(!0);if("undefined"!==typeof b.Pw&&(b.Ma=D.ei(b.Pw),!b.Ma))continue;if(b.Ma){var k=Ea(b.Ma.x,
b.Ma.y,-b.Ma.T.Ae(),ib,jb,!0),f=Ea(b.Ma.x,b.Ma.y,-b.Ma.T.Ae(),ib,jb,!1);e.st(k,f,va(b.Ma.N-b.Ma.T.Ae()),b.Cr,b.Ps,b.Ss);e.hn(b.Ma)}else e.st(b.x,b.y,b.I,b.Cr,b.Ps,b.Ss);e.play(a.rs,a.Vt,a.Jp);a.tp&&e.pause();aa.push(e)}a.dl.length=0}else e=new C(a,a.up),e.play(a.rs,a.Vt,a.Jp),a.tp&&e.pause(),aa.push(e)});else if(this.Lb=L.createBuffer(this.Zn,!1),ea(this.up))ea(this.oo)||(b=this.oo.cj,b.normalize=this.Nw,b.buffer=this.Lb);else{var b=new C(this,this.up);b.play(this.rs,this.Vt,this.Jp);this.tp&&b.pause();
aa.push(b)}}};C.prototype.lm=function(){switch(this.sb){case O:return this.V.ended;case M:return this.buffer.sb===M?!this.di&&!this.Xf&&this.V.loop||this.hi?!1:D.Ee.mc-this.startTime>this.buffer.Lb.duration:this.V.ended;case I:return this.Zs;case V:!0}return!0};C.prototype.fA=function(){return this.di||this.Xf?!0:this.lm()};C.prototype.Cx=function(a){S===M&&(!this.zg&&a?(this.kc||(this.kc=L.createPanner(),this.kc.panningModel="number"===typeof this.kc.panningModel?Ic:["equalpower","HRTF","soundfield"][Ic],
this.kc.distanceModel="number"===typeof this.kc.distanceModel?Jc:["linear","inverse","exponential"][Jc],this.kc.refDistance=Hd,this.kc.maxDistance=Id,this.kc.rolloffFactor=Jd),this.fd.disconnect(),this.fd.connect(this.kc),this.kc.connect(b(this.Ei)),this.zg=!0):this.zg&&!a&&(this.kc.disconnect(),this.fd.disconnect(),this.fd.connect(b(this.Ei)),this.zg=!1))};C.prototype.st=function(a,b,c,d,e,k){this.zg&&S===M&&(this.kc.setPosition(a,b,0),this.kc.setOrientation(Math.cos(B(c)),Math.sin(B(c)),0),this.kc.coneInnerAngle=
d,this.kc.coneOuterAngle=e,this.kc.coneOuterGain=k,this.Zw=a,this.$w=b,this.Vw=c,this.Ww=d,this.Xw=e,this.Yw=k)};C.prototype.hn=function(a){this.zg&&S===M&&(this.Ic||(this.Ic=new J),this.Ic.hn(a))};C.prototype.$c=function(a){if(this.zg&&S===M&&this.Ic&&this.Ic.Oo()&&this.wk()){this.Ic.$c(a);a=this.Ic.Ma;var b=Ea(a.x,a.y,-a.T.Ae(),ib,jb,!0),c=Ea(a.x,a.y,-a.T.Ae(),ib,jb,!1);this.kc.setPosition(b,c,0);b=0;"undefined"!==typeof this.Ic.Ma.N&&(b=a.N-a.T.Ae(),this.kc.setOrientation(Math.cos(b),Math.sin(b),
0));this.kc.setVelocity(this.Ic.Rv(),this.Ic.Sv(),0)}};C.prototype.play=function(a,b,c){var d=this.V;this.ih=a;this.volume=b;c=c||0;switch(this.sb){case O:1!==d.playbackRate&&(d.playbackRate=1);d.volume!==b*La&&(d.volume=b*La);d.loop!==a&&(d.loop=a);d.muted&&(d.muted=!1);if(d.currentTime!==c)try{d.currentTime=c}catch(k){}this.V.play();break;case M:this.muted=!1;this.Rm=1;if(this.buffer.sb===M)this.di||(this.V=L.createBufferSource(),this.V.buffer=this.buffer.Lb,this.V.connect(this.fd)),this.V.loop=
a,this.fd.gain.value=b*La,0===c?e(this.V):g(this.V,c,this.rk());else{1!==d.playbackRate&&(d.playbackRate=1);d.loop!==a&&(d.loop=a);this.fd.gain.value=b*La;if(d.currentTime!==c)try{d.currentTime=c}catch(f){}d.play()}break;case I:(!this.di&&this.Xf||0!==c)&&d.seekTo(c);d.play();this.Zs=!1;break;case V:D.df?AppMobi.context.playSound(this.src):AppMobi.player.playSound(this.src)}this.playbackRate=1;this.startTime=D.Ee.mc-c;this.hi=this.Xf=this.di=!1};C.prototype.stop=function(){switch(this.sb){case O:this.V.paused||
this.V.pause();break;case M:this.buffer.sb===M?f(this.V):this.V.paused||this.V.pause();break;case I:this.V.stop()}this.Xf=!0;this.hi=!1};C.prototype.pause=function(){if(!(this.di||this.Xf||this.lm()||this.hi)){switch(this.sb){case O:this.V.paused||this.V.pause();break;case M:this.buffer.sb===M?(this.Wf=this.xr(),this.ih&&(this.Wf%=this.rk()),f(this.V)):this.V.paused||this.V.pause();break;case I:this.V.pause()}this.hi=!0}};C.prototype.hD=function(a){this.sb===M&&(this.zg?(this.kc.disconnect(),this.kc.connect(a)):
(this.fd.disconnect(),this.fd.connect(a)))};C.prototype.rk=function(){switch(this.sb){case O:if("undefined"!==typeof this.V.duration)return this.V.duration;break;case M:return this.buffer.Lb.duration;case I:return this.V.getDuration()}return 0};C.prototype.xr=function(){var a=this.rk(),b=0;switch(this.sb){case O:"undefined"!==typeof this.V.currentTime&&(b=this.V.currentTime);break;case M:if(this.buffer.sb===M){if(this.hi)return this.Wf;b=D.Ee.mc-this.startTime}else"undefined"!==typeof this.V.currentTime&&
(b=this.V.currentTime)}!this.ih&&b>a&&(b=a);return b};C.prototype.wk=function(){return!this.hi&&!this.di&&!this.Xf&&!this.lm()};C.prototype.HD=function(){var a=this.volume*La;switch(this.sb){case O:this.V.volume&&this.V.volume!==a&&(this.V.volume=a);break;case M:this.fd.gain.value=a*this.Rm}};C.prototype.Dv=function(a){switch(this.sb){case O:this.V.muted!==!!a&&(this.V.muted=!!a);break;case M:this.Rm=a?0:1,this.fd.gain.value=La*this.volume*this.Rm}};C.prototype.Dx=function(a){this.Rr=!!a;this.Dv(this.Qr||
this.Rr)};C.prototype.Xx=function(){var a=this.playbackRate;if(1===dc&&!this.Jf||2===dc)a*=D.Ch;switch(this.sb){case O:this.V.playbackRate!==a&&(this.V.playbackRate=a);break;case M:this.buffer.sb===M?this.V.playbackRate.value!==a&&(this.V.playbackRate.value=a):this.V.playbackRate!==a&&(this.V.playbackRate=a)}};C.prototype.tD=function(a){switch(this.sb){case O:a?this.wk()?(this.V.pause(),this.yh=!0):this.yh=!1:this.yh&&this.V.play();break;case M:a?this.wk()?(this.buffer.sb===M?(this.Wf=this.xr(),this.ih&&
(this.Wf%=this.rk()),f(this.V)):this.V.pause(),this.yh=!0):this.yh=!1:this.yh&&(this.buffer.sb===M?(this.V=L.createBufferSource(),this.V.buffer=this.buffer.Lb,this.V.connect(this.fd),this.V.loop=this.ih,this.fd.gain.value=La*this.volume*this.Rm,this.startTime=D.Ee.mc-this.Wf,g(this.V,this.Wf,this.rk())):this.V.play());break;case I:a?this.wk()?(this.V.pause(),this.yh=!0):this.yh=!1:this.yh&&this.V.play()}};z.Bb=function(a){this.type=a;D=this.c=a.c;v=this;this.Fd=null;this.Bm=-600;L=null;"undefined"!==
typeof AudioContext?(S=M,L=new AudioContext):"undefined"!==typeof webkitAudioContext&&(S=M,L=new webkitAudioContext);this.c.Sr&&S===M&&document.addEventListener("touchstart",function(){if(!Kd){var a=L.createBuffer(1,1,22050),b=L.createBufferSource();b.buffer=a;b.connect(L.destination);e(b);Kd=!0}},!0);S!==M&&(this.c.pj?S=I:this.c.vk&&(S=V));S===I&&(Q=location.href,a=Q.lastIndexOf("/"),-1<a&&(Q=Q.substr(0,a+1)),Q=Q.replace("file://",""));if(this.c.$B&&this.c.kw&&"undefined"===typeof Audio)alert("It looks like you're using Safari for Windows without Quicktime.  Audio cannot be played until Quicktime is installed."),
this.c.Jh(this);else{if(!this.c.df)try{new Audio}catch(b){}this.c.It(this)}};var Ma=z.Bb.prototype;Ma.$a=function(){dc=this.Y[0];this.zh=this.Y[1];Ic=this.Y[2];Jc=this.Y[3];this.Bm=-this.Y[4];Hd=this.Y[5];Id=this.Y[6];Jd=this.Y[7];this.Fd=new J;S===M&&(L.listener.speedOfSound=this.Y[8],L.listener.dopplerFactor=this.Y[9],L.listener.setPosition(this.c.width/2,this.c.height/2,this.Bm),L.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,c){Ya&&Ya.disconnect();Hc=c.toLowerCase();
Ya=L.createMediaStreamSource(a);Ya.connect(b(Hc))});this.c.Zu(function(a){v.$C(a)});var a=this;this.c.Xn(function(b){a.Vm(b)})};Ma.Vm=function(a){var b,c,d;b=0;for(c=aa.length;b<c;b++)d=aa[b],d.Ic&&d.Ic.Ma===a&&(d.Ic.Ma=null,d.zg&&d.wk()&&d.ih&&d.stop());this.Fd.Ma===a&&(this.Fd.Ma=null)};Ma.Zd=function(){var a={silent:Eb,masterVolume:La,listenerZ:this.Bm,listenerUid:this.Fd.Oo()?this.Fd.Ma.uid:-1,playing:[],effects:{}},b=a.playing,c,d,e,k,f,g;c=0;for(d=aa.length;c<d;c++)e=aa[c],!e.wk()||3===this.zh||
e.Jf&&1===this.zh||!e.Jf&&2===this.zh||(k=e.xr(),e.ih&&(k%=e.rk()),k={tag:e.Ei,buffersrc:e.buffer.src,is_music:e.Jf,playbackTime:k,volume:e.volume,looping:e.ih,muted:e.Qr,playbackRate:e.playbackRate,paused:e.hi,resume_position:e.Wf},e.zg&&(k.pan={},g=k.pan,e.Ic&&e.Ic.Oo()?g.objUid=e.Ic.Ma.uid:(g.x=e.Zw,g.y=e.$w,g.a=e.Vw),g.ia=e.Ww,g.oa=e.Xw,g.og=e.Yw),b.push(k));b=a.effects;for(f in ca)if(ca.hasOwnProperty(f)){e=[];c=0;for(d=ca[f].length;c<d;c++)e.push({type:ca[f][c].type,params:ca[f][c].fc});b[f]=
e}return a};var Fb=[];Ma.Ge=function(a){var b=a.silent;La=a.masterVolume;this.Bm=a.listenerZ;this.Fd.hn(null);var c=a.listenerUid;-1!==c&&(this.Fd.dp=c,Fb.push(this.Fd));var c=a.playing,d,e,f,g,C,E,v,D,z,x,F;if(3!==this.zh)for(d=0,e=aa.length;d<e;d++)z=aa[d],z.Jf&&1===this.zh||(z.Jf||2!==this.zh)&&z.stop();for(C in ca)if(ca.hasOwnProperty(C))for(d=0,e=ca[C].length;d<e;d++)ca[C][d].remove();Ia(ca);for(C in a.effects)if(a.effects.hasOwnProperty(C))for(E=a.effects[C],d=0,e=E.length;d<e;d++)switch(f=
E[d].type,x=E[d].params,f){case "filter":K(C,new h(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "delay":K(C,new l(x[0],x[1],x[2]));break;case "convolve":f=x[2];z=this.qr(f,!1);z.Lb?f=new m(z.Lb,x[0],x[1],f):(f=new m(null,x[0],x[1],f),z.Nw=x[0],z.oo=f);K(C,f);break;case "flanger":K(C,new n(x[0],x[1],x[2],x[3],x[4]));break;case "phaser":K(C,new k(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "gain":K(C,new p(x[0]));break;case "tremolo":K(C,new s(x[0],x[1]));break;case "ringmod":K(C,new t(x[0],x[1]));break;
case "distortion":K(C,new r(x[0],x[1],x[2],x[3],x[4]));break;case "compressor":K(C,new y(x[0],x[1],x[2],x[3],x[4]));break;case "analyser":K(C,new H(x[0],x[1]))}d=0;for(e=c.length;d<e;d++)3===this.zh||(a=c[d],f=a.buffersrc,g=a.is_music,C=a.tag,E=a.playbackTime,v=a.looping,D=a.volume,F=(x=a.pan)&&x.hasOwnProperty("objUid")?x.objUid:-1,g&&1===this.zh)||!g&&2===this.zh||((z=this.oB(f,C,g,v,D))?(z.Wf=a.resume_position,z.Cx(!!x),z.play(v,D,E),z.Xx(),z.HD(),z.Dv(z.Qr||z.Rr),a.paused&&z.pause(),a.muted&&
z.rF(),x&&(-1!==F?(z.Ic=z.Ic||new J,z.Ic.dp=F,Fb.push(z.Ic)):z.st(x.x,x.y,x.a,x.ia,x.oa,x.og))):(z=this.qr(f,g),z.Jp=E,z.tp=a.paused,x&&(-1!==F?z.dl.push({Pw:F,Cr:x.ia,Ps:x.oa,Ss:x.og,Ox:C}):z.dl.push({x:x.x,y:x.y,I:x.a,Cr:x.ia,Ps:x.oa,Ss:x.og,Ox:C}))));if(b&&!Eb){d=0;for(e=aa.length;d<e;d++)aa[d].Dx(!0);Eb=!0}else if(!b&&Eb){d=0;for(e=aa.length;d<e;d++)aa[d].Dx(!1);Eb=!1}};Ma.ck=function(){var a,b,c,d;a=0;for(b=Fb.length;a<b;a++)c=Fb[a],d=this.c.ei(c.dp),c.hn(d),c.dp=-1,d&&(ib=d.x,jb=d.y);Fb.length=
0};Ma.$C=function(a){var b,c;b=0;for(c=aa.length;b<c;b++)aa[b].tD(a)};Ma.$c=function(){var a=this.c.Ba,b,c,d;b=0;for(c=aa.length;b<c;b++)d=aa[b],d.$c(a),d.sb===O||d.sb===V||d.di||d.Xf||!d.lm()||(d.Xf=!0,F=d.Ei,D.trigger(Vb.prototype.D.sq,v)),0!==dc&&d.Xx();var e,k;for(e in ca)if(ca.hasOwnProperty(e))for(d=ca[e],b=0,c=d.length;b<c;b++)k=d[b],k.$c&&k.$c();S===M&&this.Fd.Oo()&&(this.Fd.$c(a),ib=this.Fd.Ma.x,jb=this.Fd.Ma.y,L.listener.setPosition(this.Fd.Ma.x,this.Fd.Ma.y,this.Bm),L.listener.setVelocity(this.Fd.Rv(),
this.Fd.Sv(),0))};Ma.qr=function(a,b){var c,d,e,k=null,f,g,h,l;c=0;for(d=ra.length;c<d;c++)if(e=ra[c],e.src===a){k=e;break}k||(k=new E(a,b),ra.push(k));if(k.Jf&&(D.gi||D.oj)){c=0;for(d=ra.length;c<d;++c)if(e=ra[c],e!==k&&e.Jf){e.Lb=null;g=f=0;for(h=aa.length;f<h;++f)l=aa[f],aa[g]=l,l.buffer===e&&l.sb===M?(l.fd.disconnect(),e.sb===M&&l.V.disconnect()):++g;aa.length=g}k.Av()}return k};Ma.oB=function(a,b,c,d,e){var k,f,g;k=0;for(f=aa.length;k<f;k++)if(g=aa[k],g.src===a&&(g.fA()||c))return g.Ei=b,g;a=
this.qr(a,c);if(!a.Lb)return"<preload>"!==b&&(a.up=b,a.rs=d,a.Vt=e),null;g=new C(a,b);aa.push(g);return g};var hb=[];x.prototype.sq=function(a){return Ta(F,a)};z.D=new x;z.K=new (q());z.pa=new (q())})();function Wb(a){this.c=a}
(function(){function a(){}function b(){}var c=Wb.prototype;c.Yb=function(a){this.Hb=a;this.c=a.c};c.Yb.prototype.$a=q();c.Bb=function(a){this.type=a;this.c=a.c};c.Bb.prototype.$a=function(){var a=this;window.addEventListener("resize",function(){a.c.trigger(Wb.prototype.D.kz,a)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){a.c.trigger(Wb.prototype.D.dz,a)}),window.addEventListener("offline",function(){a.c.trigger(Wb.prototype.D.cz,a)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){a.c.Ik=1;a.c.trigger(Wb.prototype.D.Au,a)}),window.applicationCache.addEventListener("progress",function(b){a.c.Ik=b.loaded/b.total}));this.c.df||(document.addEventListener("appMobi.device.update.available",function(){a.c.trigger(Wb.prototype.D.Au,a)}),document.addEventListener("menubutton",function(){a.c.trigger(Wb.prototype.D.vu,a)}),document.addEventListener("searchbutton",function(){a.c.trigger(Wb.prototype.D.lz,a)}),document.addEventListener("tizenhwkey",
function(b){var c;switch(b.keyName){case "back":c=a.c.trigger(Wb.prototype.D.Gy,a);!c&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(c=a.c.trigger(Wb.prototype.D.vu,a))||b.preventDefault()}}));this.c.Zu(function(b){b?a.c.trigger(Wb.prototype.D.ez,a):a.c.trigger(Wb.prototype.D.fz,a)});this.dC="undefined"!==typeof window.is_scirra_arcade};a.prototype.dz=w(!0);a.prototype.cz=w(!0);a.prototype.Au=w(!0);a.prototype.fz=w(!0);a.prototype.ez=w(!0);a.prototype.kz=
w(!0);a.prototype.Gy=w(!0);a.prototype.vu=w(!0);a.prototype.lz=w(!0);c.D=new a;b.prototype.lu=function(a,b){this.c.Vd?CocoonJS.App.openURL(a):this.dC||this.c.qd||window.open(a,b)};c.K=new b;c.pa=new (q())})();function N(a){this.c=a}
(function(){function a(){}function b(){}var c=0,d=!1,e=!1,g=N.prototype;g.Yb=function(a){this.Hb=a;this.c=a.c};g.Yb.prototype.$a=q();g.Bb=function(a){this.type=a;this.c=a.c};g.Bb.prototype.$a=function(){this.jw=this.iw=!1;this.ll="";this.Hg=null;this.AD=this.c.Vd&&"undefined"!==typeof CocoonJS.Store.nativeExtensionObjectAvailable;this.yD=1!==this.Y[1];this.zD=0!==this.Y[2];this.Qw="";var a=this;this.c.Vd&&(CocoonJS.App.onTextDialogFinished.addEventListener(function(){a.c.trigger(N.prototype.D.Yy,
a)}),CocoonJS.App.onTextDialogCancelled.addEventListener(function(){a.c.trigger(N.prototype.D.Xy,a)}),CocoonJS.Ad.onBannerShown.addEventListener(function(){a.iw=!0;a.c.trigger(N.prototype.D.Hy,a)}),CocoonJS.Ad.onBannerReady.addEventListener(function(){e=!0;d||(CocoonJS.Ad.setBannerLayout(c),CocoonJS.Ad.showBanner())}),CocoonJS.Ad.onFullScreenShown.addEventListener(function(){a.jw=!0;a.c.trigger(N.prototype.D.My,a)}),CocoonJS.Ad.onFullScreenHidden.addEventListener(function(){a.jw=!1;a.c.trigger(N.prototype.D.Ly,
a)}),CocoonJS.Ad.onFullScreenReady.addEventListener(function(){preloadFullScreen||CocoonJS.Ad.showFullScreen()}),this.AD&&(CocoonJS.Store.onProductPurchaseCompleted.addEventListener(function(b){a.ll=b.productId;a.c.trigger(N.prototype.D.gz,a);CocoonJS.Store.addPurchase(b);CocoonJS.Store.consumePurchase(b.transactionId,b.productId);CocoonJS.Store.finishPurchase(b.transactionId)}),CocoonJS.Store.onConsumePurchaseFailed.addEventListener(function(){a.c.trigger(N.prototype.D.MC,a)}),CocoonJS.Store.onConsumePurchaseCompleted.addEventListener(function(b){this.Qw=
b;a.c.trigger(N.prototype.D.Qw,a)}),CocoonJS.Store.onProductPurchaseFailed.addEventListener(function(b){a.ll=b;a.c.trigger(N.prototype.D.hz,a)}),CocoonJS.Store.onProductPurchaseStarted.addEventListener(function(b){a.ll=b.productId;a.c.trigger(N.prototype.D.iz,a)}),CocoonJS.Store.onProductsFetchStarted.addEventListener(function(){a.c.trigger(N.prototype.D.YC,a)}),CocoonJS.Store.onProductsFetchFailed.addEventListener(function(){a.c.trigger(N.prototype.D.XC,a)}),CocoonJS.Store.onProductsFetchCompleted.addEventListener(function(){a.c.trigger(N.prototype.D.WC,
a)}),CocoonJS.Store.requestInitialization({managed:this.yD,sandbox:this.zD}),CocoonJS.Store.start()),this.Hg=CocoonJS.SocialGaming.GameCenter,this.Hg.onRequestLoginSucceed.addEventListener(function(){a.c.trigger(N.prototype.D.Qy,a)}),this.Hg.onRequestLoginFailed.addEventListener(function(){a.c.trigger(N.prototype.D.Py,a)}),this.Hg.onLogout.addEventListener(function(){a.c.trigger(N.prototype.D.Ry,a)}),this.Hg.onRequestUserScoreSucceed.addEventListener(function(){a.c.trigger(N.prototype.D.Sy,a)}),this.Hg.onRequestUserScoreFailed.addEventListener(function(){a.c.trigger(N.prototype.D.Vy,
a)}),this.Hg.onSubmitUserScoreSucceed.addEventListener(function(){a.c.trigger(N.prototype.D.Uy,a)}),this.Hg.onSubmitUserScoreFailed.addEventListener(function(){a.c.trigger(N.prototype.D.Ty,a)}),this.Hg.onLeaderboardViewSucceed.addEventListener(function(){a.c.trigger(N.prototype.D.Oy,a)}),this.Hg.onLeaderboardViewClosed.addEventListener(function(){a.c.trigger(N.prototype.D.Ny,a)}))};a.prototype.Hy=w(!0);a.prototype.My=w(!0);a.prototype.Ly=w(!0);a.prototype.iz=function(a){return this.ll===a};a.prototype.gz=
function(a){return this.ll===a};a.prototype.hz=function(a){return this.ll===a};a.prototype.YC=w(!0);a.prototype.MC=w(!0);a.prototype.WC=w(!0);a.prototype.XC=w(!0);a.prototype.Xy=w(!0);a.prototype.Yy=w(!0);a.prototype.Qy=w(!0);a.prototype.Py=w(!0);a.prototype.Ry=w(!0);a.prototype.Sy=w(!0);a.prototype.Vy=w(!0);a.prototype.Uy=w(!0);a.prototype.Ty=w(!0);a.prototype.Oy=w(!0);a.prototype.Ny=w(!0);g.D=new a;b.prototype.Bq=function(a){this.c.Vd&&(c=0===a?CocoonJS.Ad.BannerLayout.TOP_CENTER:CocoonJS.Ad.BannerLayout.BOTTOM_CENTER,
d=!1,e?(CocoonJS.Ad.setBannerLayout(c),CocoonJS.Ad.showBanner()):CocoonJS.Ad.preloadBanner())};b.prototype.nq=function(){this.c.Vd&&(CocoonJS.Ad.hideBanner(),this.iw=!1)};g.K=new b;g.pa=new (q())})();function P(a){this.c=a}
(function(){function a(){if(0===this.$q.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.hl?b.drawImage(this.pb,this.al,this.bl,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.pb,0,0,this.width,this.height);this.$q=a.toDataURL("image/png")}return this.$q}function b(){}function c(a,b,c){var d=n.length?n.pop():[0,0];d[0]=b.uid;d[1]=c.uid;a.push(d)}function d(a,b,c){b=b.uid;var d=c.uid,e=0,k,f;c=0;for(k=a.length;c<
k;c++)f=a[c],f[0]===b&&f[1]===d||f[0]===d&&f[1]===b||(a[e][0]=a[c][0],a[e][1]=a[c][1],e++);for(c=e;c<k;c++)b=a[c],b[0]=0,b[1]=0,n.push(b);a.length=e}function e(a,b,c){b=b.uid;c=c.uid;var d,e,k;d=0;for(e=a.length;d<e;d++)if(k=a[d],k[0]===b&&k[1]===c||k[0]===c&&k[1]===b)return!0;return!1}function g(){}var f=P.prototype;f.Yb=function(a){this.Hb=a;this.c=a.c};var h=f.Yb.prototype;h.$a=function(){if(!this.Ca){var b,c,d,e,k,f,g,h,l;this.Ef=[];this.Po=!1;b=0;for(c=this.ee.length;b<c;b++){k=this.ee[b];g=
{};g.name=k[0];g.speed=k[1];g.loop=k[2];g.mt=k[3];g.Fp=k[4];g.ax=k[5];g.Oa=k[6];g.frames=[];d=0;for(e=k[7].length;d<e;d++)f=k[7][d],h={},h.Ft=f[0],h.Nx=f[1],h.al=f[2],h.bl=f[3],h.width=f[4],h.height=f[5],h.duration=f[6],h.Td=f[7],h.Ud=f[8],h.Er=f[9],h.vp=f[10],h.bx=f[11],h.hl=0!==h.width,h.$q="",h.lF=a,l={left:0,top:0,right:1,bottom:1},h.xt=l,h.oc=null,(l=this.c.jB(f[0]))?h.pb=l:(h.pb=new Image,h.pb.idtkLoadDisposed=!0,h.pb.src=f[0],h.pb.iA=f[0],h.pb.hA=f[1],h.pb.eA=null,this.c.Gh.push(h.pb)),g.frames.push(h),
this.Ef.push(h);this.ee[b]=g}}};h.GD=function(){var a,b,c;a=0;for(b=this.B.length;a<b;a++)c=this.B[a],c.po=c.We.oc};h.Us=function(){if(!this.Ca){var a,b,c;a=0;for(b=this.Ef.length;a<b;++a)c=this.Ef[a],c.pb.eA=null,c.oc=null}};h.Vs=function(){if(!this.Ca&&this.B.length){var a,b,c;a=0;for(b=this.Ef.length;a<b;++a)c=this.Ef[a],c.oc=this.c.qa.cp(c.pb,this.c.$b,c.bx);this.GD()}};h.jC=function(){if(!this.Ca&&!this.Po&&this.c.qa){var a,b,c;a=0;for(b=this.Ef.length;a<b;++a)c=this.Ef[a],c.oc=this.c.qa.cp(c.pb,
this.c.$b,c.bx);this.Po=!0}};h.Ot=function(){if(!this.Ca&&!this.B.length&&this.Po){var a,b,c;a=0;for(b=this.Ef.length;a<b;++a)c=this.Ef[a],this.c.qa.deleteTexture(c.oc);this.Po=!1}};var l=[];h.ct=function(a){var b,c,d;b=l.length=0;for(c=this.Ef.length;b<c;++b)d=this.Ef[b].pb,-1===l.indexOf(d)&&(a.drawImage(d,0,0),l.push(d))};f.Bb=function(a){this.type=a;this.c=a.c;a=this.type.ee[0].frames[0].vp;this.Oe?this.fb.jn(a):this.fb=new Pa(a)};var m=f.Bb.prototype;m.$a=function(){this.visible=0===this.Y[0];
this.Gr=this.Or=!1;this.Xg=0!==this.Y[3];1===this.type.ee.length&&1===this.type.ee[0].frames.length||0===this.type.ee[0].speed||(this.c.It(this),this.Or=!0);this.Cb=this.Lv(this.Y[1])||this.type.ee[0];this.$=this.Y[2];0>this.$&&(this.$=0);this.$>=this.Cb.frames.length&&(this.$=this.Cb.frames.length-1);var a=this.Cb.frames[this.$];this.fb.jn(a.vp);this.Td=a.Td;this.Ud=a.Ud;this.Wl=this.Cb.speed;this.Oe?this.gg.reset():this.gg=new Na;this.ah=this.gg.mc;this.Xi=!0;this.Tg=0;this.Wi=!0;this.ho=this.cv=
"";this.rv=0;this.Nq=-1;this.type.jC();var b,c,d,e,k,f,g,a=0;for(b=this.type.ee.length;a<b;a++)for(e=this.type.ee[a],c=0,d=e.frames.length;c<d;c++)k=e.frames[c],0===k.width&&(k.width=k.pb.width,k.height=k.pb.height),k.hl&&(g=k.pb,f=k.xt,f.left=k.al/g.width,f.top=k.bl/g.height,f.right=(k.al+k.width)/g.width,f.bottom=(k.bl+k.height)/g.height,0===k.al&&0===k.bl&&k.width===g.width&&k.height===g.height&&(k.hl=!1));this.We=this.Cb.frames[this.$];this.po=this.We.oc};m.Zd=function(){var a={a:this.Cb.Oa,f:this.$,
cas:this.Wl,fs:this.ah,ar:this.Tg,at:this.gg.mc};this.Xi||(a.ap=this.Xi);this.Wi||(a.af=this.Wi);return a};m.Ge=function(a){var b=this.nB(a.a);b&&(this.Cb=b);this.$=a.f;0>this.$&&(this.$=0);this.$>=this.Cb.frames.length&&(this.$=this.Cb.frames.length-1);this.Wl=a.cas;this.ah=a.fs;this.Tg=a.ar;this.gg.reset();this.gg.mc=a.at;this.Xi=a.hasOwnProperty("ap")?a.ap:!0;this.Wi=a.hasOwnProperty("af")?a.af:!0;this.We=this.Cb.frames[this.$];this.po=this.We.oc;this.fb.jn(this.We.vp);this.Td=this.We.Td;this.Ud=
this.We.Ud};m.Jq=function(a){this.$=a?0:this.Cb.frames.length-1;this.Xi=!1;this.cv=this.Cb.name;this.Gr=!0;this.c.trigger(P.prototype.D.Fy,this);this.c.trigger(P.prototype.D.Ey,this);this.Gr=!1;this.Tg=0};m.oF=function(){return this.gg.mc};m.$c=function(){this.gg.add(this.c.fm(this));this.ho.length&&this.Bv();0<=this.Nq&&this.nA();var a=this.gg.mc,b=this.Cb,c=b.frames[this.$],d=c.duration/this.Wl;this.Xi&&a>=this.ah+d&&(this.Wi?this.$++:this.$--,this.ah+=d,this.$>=b.frames.length&&(b.ax?(this.Wi=
!1,this.$=b.frames.length-2):b.loop?this.$=b.Fp:(this.Tg++,this.Tg>=b.mt?this.Jq(!1):this.$=b.Fp)),0>this.$&&(b.ax?(this.$=1,this.Wi=!0,b.loop||(this.Tg++,this.Tg>=b.mt&&this.Jq(!0))):b.loop?this.$=b.Fp:(this.Tg++,this.Tg>=b.mt?this.Jq(!0):this.$=b.Fp)),0>this.$?this.$=0:this.$>=b.frames.length&&(this.$=b.frames.length-1),a>this.ah+b.frames[this.$].duration/this.Wl&&(this.ah=a),a=b.frames[this.$],this.Il(c,a),this.c.nb=!0)};m.Lv=function(a){var b,c,d;b=0;for(c=this.type.ee.length;b<c;b++)if(d=this.type.ee[b],
Ta(d.name,a))return d;return null};m.nB=function(a){var b,c,d;b=0;for(c=this.type.ee.length;b<c;b++)if(d=this.type.ee[b],d.Oa===a)return d;return null};m.Bv=function(){var a=this.Cb.frames[this.$],b=this.Lv(this.ho);this.ho="";!b||Ta(b.name,this.Cb.name)&&this.Xi||(this.Cb=b,this.Wl=b.speed,0>this.$&&(this.$=0),this.$>=this.Cb.frames.length&&(this.$=this.Cb.frames.length-1),1===this.rv&&(this.$=0),this.Xi=!0,this.ah=this.gg.mc,this.Wi=!0,this.Il(a,this.Cb.frames[this.$]),this.c.nb=!0)};m.nA=function(){var a=
this.Cb.frames[this.$],b=this.$;this.$=ma(this.Nq);0>this.$&&(this.$=0);this.$>=this.Cb.frames.length&&(this.$=this.Cb.frames.length-1);b!==this.$&&(this.Il(a,this.Cb.frames[this.$]),this.ah=this.gg.mc,this.c.nb=!0);this.Nq=-1};m.Il=function(a,b){var c=a.width,d=a.height,e=b.width,k=b.height;c!=e&&(this.width*=e/c);d!=k&&(this.height*=k/d);this.Td=b.Td;this.Ud=b.Ud;this.fb.jn(b.vp);this.ca();this.We=b;this.po=b.oc;c=0;for(d=this.Sa.length;c<d;c++)e=this.Sa[c],e.ZC&&e.ZC(a,b);this.c.trigger(P.prototype.D.Il,
this)};m.$h=function(a){a.globalAlpha=this.opacity;var b=this.We,c=b.hl,d=b.pb,e=this.x,k=this.y,f=this.width,g=this.height;if(0===this.N&&0<=f&&0<=g)e-=this.Td*f,k-=this.Ud*g,this.c.si&&(e=e+0.5|0,k=k+0.5|0),c?a.drawImage(d,b.al,b.bl,b.width,b.height,e,k,f,g):a.drawImage(d,e,k,f,g);else{this.c.si&&(e=e+0.5|0,k=k+0.5|0);a.save();var h=0<f?1:-1,l=0<g?1:-1;a.translate(e,k);1===h&&1===l||a.scale(h,l);a.rotate(this.N*h*l);e=0-this.Td*ia(f);k=0-this.Ud*ia(g);c?a.drawImage(d,b.al,b.bl,b.width,b.height,
e,k,ia(f),ia(g)):a.drawImage(d,e,k,ia(f),ia(g));a.restore()}};m.Hf=function(a){a.of(this.po);a.fl(this.opacity);var b=this.We,c=this.Ub;if(this.c.si){var d=(this.x+0.5|0)-this.x,e=(this.y+0.5|0)-this.y;b.hl?a.ti(c.Sb+d,c.Tb+e,c.bd+d,c.cd+e,c.Sc+d,c.Tc+e,c.Pc+d,c.Qc+e,b.xt):a.Cp(c.Sb+d,c.Tb+e,c.bd+d,c.cd+e,c.Sc+d,c.Tc+e,c.Pc+d,c.Qc+e)}else b.hl?a.ti(c.Sb,c.Tb,c.bd,c.cd,c.Sc,c.Tc,c.Pc,c.Qc,b.xt):a.Cp(c.Sb,c.Tb,c.bd,c.cd,c.Sc,c.Tc,c.Pc,c.Qc)};m.tB=function(a){var b=this.We,c,d;c=0;for(d=b.Er.length;c<
d;c++)if(Ta(a,b.Er[c][0]))return c;return-1};m.$e=function(a,b){var c=this.We,d=c.Er,e;e=ga(a)?this.tB(a):a-1;e=ma(e);if(0>e||e>=d.length)return b?this.x:this.y;var k=(d[e][1]-c.Td)*this.width,d=d[e][2],d=(d-c.Ud)*this.height,c=Math.cos(this.N);e=Math.sin(this.N);var f=k*c-d*e,d=d*c+k*e,k=f+this.x,d=d+this.y;return b?k:d};var n=[];b.prototype.Gl=function(a){if(!a)return!1;var b=this.c,k=b.sr(),f=k.type;k.W.Ul||(k.W.Ul=[],b.Xn(function(a){return function(b){var c=0,d,e,k=b.uid;b=0;for(d=a.length;b<
d;b++)e=a[b],e[0]!==k&&e[1]!==k&&(a[c][0]=a[b][0],a[c][1]=a[b][1],c++);for(b=c;b<d;b++)e=a[b],e[0]=0,e[1]=0,n.push(e);a.length=c}}(k.W.Ul)));var g=f.Ta(),h=a.Ta(),g=g.bf(),h=h.bf(),l,m,p,x,z,D,v=b.pd().Sd;for(l=0;l<g.length;l++)for(m=g[l],p=0;p<h.length;p++)x=h[p],b.sf(m,x)||b.gA(m,x)?e(k.W.Ul,m,x)||(c(k.W.Ul,m,x),b.Ap(v.zb),z=f.Ta(),D=a.Ta(),z.jb=!1,D.jb=!1,f===a?(z.B.length=2,z.B[0]=m,z.B[1]=x,f.Rh()):(z.B.length=1,D.B.length=1,z.B[0]=m,D.B[0]=x,f.Rh(),a.Rh()),v.jD(),b.Jj(v.zb)):d(k.W.Ul,m,x);return!1};
var k=new Ka,p=!1;h.finish=function(a){if(p){if(a){var b=this.c.pd().Sd.Rf;a=null.Ta();var c=k.Fh(),d,e;if(a.jb){a.jb=!1;a.B.length=c.length;d=0;for(e=c.length;d<e;d++)a.B[d]=c[d];if(b)for(d=a.kb.length=0,e=null.B.length;d<e;d++)b=null.B[d],k.contains(b)||a.kb.push(b)}else{var f=a.B.length;a.B.length=f+c.length;d=0;for(e=c.length;d<e;d++)a.B[f+d]=c[d],b&&ua(a.kb,c[d])}null.Rh()}k.clear();p=!1}};b.prototype.Ey=function(a){return Ta(this.cv,a)};b.prototype.Fy=w(!0);b.prototype.Il=w(!0);f.D=new b;g.prototype.zz=
function(a,b,c){if(a&&b&&(b=this.c.Vq(a,b,this.$e(c,!0),this.$e(c,!1)))){"undefined"!==typeof b.N&&(b.N=this.N,b.ca());this.c.De++;var d,e,k;this.c.trigger(Object.getPrototypeOf(a.Hb).D.Hl,b);if(b.Wd)for(d=0,e=b.siblings.length;d<e;d++)k=b.siblings[d],this.c.trigger(Object.getPrototypeOf(k.type.Hb).D.Hl,k);this.c.De--;d=this.c.qB();c=!1;if(ea(d.W.Mu)||d.W.Mu<this.c.ij)c=!0,d.W.Mu=this.c.ij;if(a!=this.type&&(a=a.Ta(),a.jb=!1,c?(a.B.length=1,a.B[0]=b):a.B.push(b),b.Wd))for(d=0,e=b.siblings.length;d<
e;d++)k=b.siblings[d],a=k.type.Ta(),a.jb=!1,c?(a.B.length=1,a.B[0]=k):a.B.push(k)}};g.prototype.rz=function(a,b){this.ho=a;this.rv=b;this.Or||(this.c.It(this),this.Or=!0);this.Gr||this.Bv()};g.prototype.fg=function(a){this.Xg=0!==a};f.K=new g;f.pa=new (q())})();function Xb(a){this.c=a}
(function(){function a(a,b,c){if(c){var d;c=0;for(d=b.length;c<d;c++)a.length<g&&a.push(b[c]);b.length=0}else for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a.length<g&&a.push(b[d]),delete b[d])}function b(a,b,c){var d=a.tj;c=c.replace(/\s\s*$/,"");b>=d.length&&d.push(f.length?f.pop():{});b=d[b];b.text=c;b.width=a.Ms(c);a.kl=ja(a.kl,b.width)}function c(){}var d=Xb.prototype;d.$a=q();d.Yb=function(a){this.Hb=a;this.c=a.c};var e=d.Yb.prototype;e.$a=function(){this.Ca||(this.pb=new Image,this.pb.idtkLoadDisposed=
!0,this.pb.src=this.Ft,this.c.Gh.push(this.pb),this.oc=null)};e.Us=function(){this.Ca||(this.oc=null)};e.Vs=function(){if(!this.Ca&&this.B.length){this.oc||(this.oc=this.c.qa.cp(this.pb,this.c.$b,this.Gt));var a,b;a=0;for(b=this.B.length;a<b;a++)this.B[a].oc=this.oc}};e.Ot=function(){this.Ca||this.B.length||!this.oc||(this.c.qa.deleteTexture(this.oc),this.oc=null)};e.ct=function(a){a.drawImage(this.pb,0,0)};d.Bb=function(a){this.type=a;this.c=a.c};e=d.Bb.prototype;e.cl=function(){a(f,this.tj,!0);
a(h,this.jo,!1);a(l,this.ko,!1);Ia(this.Xh)};e.$a=function(){this.pb=this.type.pb;this.io=this.Y[0];this.Vh=this.Y[1];this.characterSet=this.Y[2];this.text=this.Y[3];this.Wh=this.Y[4];this.visible=0===this.Y[5];this.Vv=this.Y[6]/2;this.$x=this.Y[7]/2;this.OD=0===this.Y[9];this.hk=this.Y[10];this.lineHeight=this.Y[11];this.Pj=this.kl=0;this.Oe?(this.tj.length=0,Ia(this.jo),Ia(this.ko),Ia(this.Xh)):(this.tj=[],this.jo={},this.ko={},this.Xh={});this.on=!0;this.$r=this.width;this.c.qa&&(this.type.oc||
(this.type.oc=this.c.qa.cp(this.type.pb,this.c.$b,this.type.Gt)),this.oc=this.type.oc);this.Az()};e.Zd=function(){var a={t:this.text,csc:this.Wh,csp:this.hk,lh:this.lineHeight,tw:this.kl,th:this.Pj,lrt:this.gC,cw:{}},b;for(b in this.Xh)a.cw[b]=this.Xh[b];return a};e.Ge=function(a){this.text=a.t;this.Wh=a.csc;this.hk=a.csp;this.lineHeight=a.lh;this.kl=a.tw;this.Pj=a.th;this.gC=a.lrt;for(var b in a.cw)this.Xh[b]=a.cw[b];this.on=!0;this.$r=this.width};var g=1E3,f=[],h=[],l=[];e.Az=function(){for(var a=
this.pb,b=a.width,c=a.height,a=this.io,d=this.Vh,e=a/b,f=d/c,g=this.characterSet,b=Math.floor(b/a),c=Math.floor(c/d),n=0;n<g.length&&!(n>=b*c);n++){var m=n%b,C=Math.floor(n/b),K=g.charAt(n);if(this.c.qa){var x=this.ko,z=m*e,D=C*f,m=(m+1)*e,C=(C+1)*f;void 0===x[K]&&(x[K]=l.length?l.pop():new oa);x[K].left=z;x[K].top=D;x[K].right=m;x[K].bottom=C}else x=this.jo,m*=a,C*=d,z=a,D=d,void 0===x[K]&&(x[K]=h.length?h.pop():{}),x[K].x=m,x[K].y=C,x[K].nc=z,x[K].Uv=D}};var m=[];d.Cz=function(a){m.length=0;for(var b=
"",c,d=0;d<a.length;)if(c=a.charAt(d),"\n"===c)b.length&&(m.push(b),b=""),m.push("\n"),++d;else if(" "===c||"\t"===c||"-"===c){do b+=a.charAt(d),d++;while(d<a.length&&(" "===a.charAt(d)||"\t"===a.charAt(d)));m.push(b);b=""}else d<a.length&&(b+=c,d++);b.length&&m.push(b)};d.Fz=function(b){var c=b.text,d=b.tj;if(c&&c.length){var e=b.width;if(2>=e)a(f,d,!0);else{var g=b.Wh,h=b.hk;if(c.length*(b.io*g+h)-h<=e&&-1===c.indexOf("\n")&&(h=b.Ms(c),h<=e)){a(f,d,!0);d.push(f.length?f.pop():{});d[0].text=c;d[0].width=
h;b.kl=h;b.Pj=b.Vh*g+b.lineHeight;return}this.Gz(b);b.Pj=d.length*(b.Vh*g+b.lineHeight)}}else a(f,d,!0)};d.Gz=function(a){var c=a.OD,d=a.text,e=a.tj,h=a.width;c&&(this.Cz(d),d=m);var l="",n,J,E,C=0,K=!1;for(E=0;E<d.length;E++)"\n"===d[E]?(!0===K?K=!1:(b(a,C,l),C++),l=""):(K=!1,n=l,l+=d[E],J=a.Ms(l.replace(/\s\s*$/,"")),J>h&&(""===n?(b(a,C,l),l="",K=!0):(b(a,C,n),l=d[E]),C++,c||" "!==l||(l="")));l.replace(/\s\s*$/,"").length&&(b(a,C,l),C++);for(E=C;E<e.length;E++)f.length<g&&f.push(e[E]);e.length=
C};e.Ms=function(a){for(var b=this.hk,c=a.length,d=0,e=0;e<c;e++)d+=this.em(a.charAt(e))*this.Wh+b;return d-(0<d?b:0)};e.em=function(a){var b=this.Xh;return void 0!==b[a]?b[a]:this.io};e.mx=function(){if(this.on||this.width!==this.$r)this.Pj=this.kl=0,this.type.Hb.Fz(this),this.on=!1,this.$r=this.width};e.$h=function(a){var b=this.pb;if(""!==this.text&&null!=b&&(this.mx(),!(this.height<this.Vh*this.Wh+this.lineHeight))){a.globalAlpha=this.opacity;var b=this.x,c=this.y;this.c.si&&(b=b+0.5|0,c=c+0.5|
0);a.save();a.translate(b,c);a.rotate(this.N);for(var b=this.Vv,c=this.Wh,d=this.Vh*c,e=this.lineHeight,f=this.hk,g=this.tj,h,l=-(this.Td*this.width),n=-(this.Ud*this.height),n=n+this.$x*ja(0,this.height-this.Pj),m=0;m<g.length;m++){var x=g[m].text;h=b*ja(0,this.width-g[m].width);h=l+h;for(var n=n+e,z=0;z<x.length;z++){var D=x.charAt(z),v=this.jo[D];if(h+this.em(D)*c>this.width+1E-5)break;void 0!==v&&a.drawImage(this.pb,v.x,v.y,v.nc,v.Uv,Math.round(h),Math.round(n),v.nc*c,v.Uv*c);h+=this.em(D)*c+
f}n+=d;if(n+d+e>this.height)break}a.restore()}};var n=new pa;e.Hf=function(a){a.of(this.oc);a.fl(this.opacity);if(""!==this.text&&(this.mx(),!(this.height<this.Vh*this.Wh+this.lineHeight))){this.Lc();var b=this.Ub,c=0,d=0;this.c.si&&(c=(this.x+0.5|0)-this.x,d=(this.y+0.5|0)-this.y);var e=this.N,f=this.Vv,g=this.$x,h=this.Wh,l=this.Vh*h,m=this.lineHeight,K=this.hk,x=this.tj,z=this.Pj,D,v;0!==e&&(D=Math.cos(e),v=Math.sin(e));for(var F,c=b.Sb+c,b=b.Tb+d,g=g*ja(0,this.height-z),z=0;z<x.length;z++){d=
x[z].text;F=f*ja(0,this.width-x[z].width);for(var g=g+m,Q=0;Q<d.length;Q++){var O=d.charAt(Q),M=this.ko[O];if(F+this.em(O)*h>this.width+1E-5)break;if(void 0!==M){var I=this.io*h,V=this.Vh*h;n.Sb=F;n.Tb=g;n.bd=F+I;n.cd=g;n.Pc=F;n.Qc=g+V;n.Sc=F+I;n.Tc=g+V;if(0!==e){var I=n,V=D,S=v,L=void 0,L=I.Sb*V-I.Tb*S;I.Tb=I.Tb*V+I.Sb*S;I.Sb=L;L=I.bd*V-I.cd*S;I.cd=I.cd*V+I.bd*S;I.bd=L;L=I.Pc*V-I.Qc*S;I.Qc=I.Qc*V+I.Pc*S;I.Pc=L;L=I.Sc*V-I.Tc*S;I.Tc=I.Tc*V+I.Sc*S;I.Sc=L}n.offset(c,b);a.ti(n.Sb,n.Tb,n.bd,n.cd,n.Sc,
n.Tc,n.Pc,n.Qc,M)}F+=this.em(O)*h+K}g+=l;if(g+l+m>this.height)break}}};d.D=new (q());c.prototype.Zj=function(a){fa(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.on=!0,this.c.nb=!0)};e.NE=function(a,b){var c=parseInt(b,10);this.Xh[a]!==c&&(this.Xh[a]=c,this.on=!0,this.c.nb=!0)};d.K=new c;d.pa=new (q())})();function Yb(a){this.c=a}
(function(){function a(a){h=a.x;l=a.y;m=a.z}function b(a){n=a.x;k=a.y;p=a.z}function c(){}function d(){}var e=Yb.prototype;e.Yb=function(a){this.Hb=a;this.c=a.c};e.Yb.prototype.$a=q();e.Bb=function(a){this.type=a;this.c=a.c;this.touches=[];this.Ns=!1};var g=e.Bb.prototype,f={left:0,top:0};g.Zl=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 h=0,l=0,m=0,n=0,k=0,p=0;g.$a=function(){this.aC=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);
this.Ii=this.Yq=this.Xq=this.Xu=this.Wu=this.Vu=this.Uz=this.Tz=this.Sz=this.Ym=this.Xm=this.Wm=0;this.KD=0!==this.Y[0];var c=0<this.c.ze?document:this.c.canvas,d=document;this.c.df?d=c=window.Canvas:this.c.Vd&&(d=c=window);var e=this;window.navigator.msPointerEnabled?(c.addEventListener("MSPointerDown",function(a){e.VC(a)},!1),c.addEventListener("MSPointerMove",function(a){e.UC(a)},!1),d.addEventListener("MSPointerUp",function(a){e.Rw(a)},!1),d.addEventListener("MSPointerCancel",function(a){e.Rw(a)},
!1),this.c.canvas&&(this.c.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1))):(c.addEventListener("touchstart",function(a){e.Tw(a)},!1),c.addEventListener("touchmove",function(a){e.Sw(a)},!1),d.addEventListener("touchend",function(a){e.Ws(a)},!1),d.addEventListener("touchcancel",function(a){e.Ws(a)},!1));if(this.aC){var k=function(a){a=a.reading;e.Vu=a.accelerationX;e.Wu=a.accelerationY;e.Xu=a.accelerationZ},
f=function(a){a=a.reading;e.Wm=a.yawDegrees;e.Xm=a.pitchDegrees;e.Ym=a.rollDegrees},g=Windows.Devices.Sensors.Accelerometer.getDefault();g&&(g.reportInterval=Math.max(g.minimumReportInterval,16),g.addEventListener("readingchanged",k));var h=Windows.Devices.Sensors.Inclinometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",f));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(g&&g.removeEventListener("readingchanged",
k),h&&h.removeEventListener("readingchanged",f)):(g&&g.addEventListener("readingchanged",k),h&&h.addEventListener("readingchanged",f))},!1)}else window.addEventListener("deviceorientation",function(a){e.Wm=a.alpha||0;e.Xm=a.beta||0;e.Ym=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(e.Sz=a.accelerationIncludingGravity.x,e.Tz=a.accelerationIncludingGravity.y,e.Uz=a.accelerationIncludingGravity.z);a.acceleration&&(e.Vu=a.acceleration.x,e.Wu=a.acceleration.y,
e.Xu=a.acceleration.z)},!1);this.KD&&!this.c.qd&&(jQuery(document).mousemove(function(a){e.SC(a)}),jQuery(document).mousedown(function(a){e.RC(a)}),jQuery(document).mouseup(function(a){e.TC(a)}));this.c.vk&&!this.c.df&&AppMobi.accelerometer.watchAcceleration(a,{frequency:40,adjustForRotation:!0});this.c.pj&&navigator.accelerometer.watchAcceleration(b,null,{frequency:40});this.c.ED(this)};g.UC=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE){a.preventDefault&&a.preventDefault();var b=this.Zl(a.pointerId),
c=Ja();if(0<=b){var d=this.c.qd?f:jQuery(this.c.canvas).offset(),b=this.touches[b];2>c-b.time||(b.Yo=b.time,b.as=b.x,b.bs=b.y,b.time=c,b.x=a.pageX-d.left,b.y=a.pageY-d.top)}}};g.VC=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE){a.preventDefault&&a.preventDefault();var b=this.c.qd?f:jQuery(this.c.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top,d=Ja();this.Ii=this.touches.length;this.touches.push({time:d,x:c,y:b,Yo:d,as:c,bs:b,id:a.pointerId,Ct:this.Ii});this.c.trigger(Yb.prototype.D.xu,this);
this.c.trigger(Yb.prototype.D.zu,this);this.Xq=c;this.Yq=b;this.c.trigger(Yb.prototype.D.Qg,this)}};g.Rw=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&(a.preventDefault&&a.preventDefault(),a=this.Zl(a.pointerId),this.Ii=0<=a?this.touches[a].Ct:-1,this.c.trigger(Yb.prototype.D.wu,this),this.c.trigger(Yb.prototype.D.yu,this),0<=a&&this.touches.splice(a,1))};g.Sw=function(a){a.preventDefault&&a.preventDefault();var b=Ja(),c,d,e,k;c=0;for(d=a.changedTouches.length;c<d;c++)if(e=a.changedTouches[c],
k=this.Zl(e.identifier),0<=k){var g=this.c.qd?f:jQuery(this.c.canvas).offset();k=this.touches[k];2>b-k.time||(k.Yo=k.time,k.as=k.x,k.bs=k.y,k.time=b,k.x=e.pageX-g.left,k.y=e.pageY-g.top)}};g.Tw=function(a){a.preventDefault&&a.preventDefault();var b=this.c.qd?f:jQuery(this.c.canvas).offset(),c=Ja(),d,e,k,g;d=0;for(e=a.changedTouches.length;d<e;d++)if(k=a.changedTouches[d],g=this.Zl(k.identifier),-1===g){g=k.pageX-b.left;var h=k.pageY-b.top;this.Ii=this.touches.length;this.touches.push({time:c,x:g,
y:h,Yo:c,as:g,bs:h,id:k.identifier,Ct:this.Ii});this.c.trigger(Yb.prototype.D.xu,this);this.c.trigger(Yb.prototype.D.zu,this);this.Xq=g;this.Yq=h;this.c.trigger(Yb.prototype.D.Qg,this)}};g.Ws=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.Zl(d.identifier),0<=d&&(this.Ii=this.touches[d].Ct,this.c.trigger(Yb.prototype.D.wu,this),this.c.trigger(Yb.prototype.D.yu,this),this.touches.splice(d,1))};g.jF=function(){return this.c.vk&&
0===this.Wm&&0!==m?90*m:this.c.pj&&0===this.Wm&&0!==p?90*p:this.Wm};g.kF=function(){return this.c.vk&&0===this.Xm&&0!==l?-90*l:this.c.pj&&0===this.Xm&&0!==k?-90*k:this.Xm};g.nF=function(){return this.c.vk&&0===this.Ym&&0!==h?90*h:this.c.pj&&0===this.Ym&&0!==n?90*n:this.Ym};g.RC=function(a){a.preventDefault&&this.c.No&&a.preventDefault();this.Tw({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Ns=!0};g.SC=function(a){a.preventDefault&&this.c.No&&a.preventDefault();this.Ns&&this.Sw({changedTouches:[{pageX:a.pageX,
pageY:a.pageY,identifier:0}]})};g.TC=function(a){a.preventDefault&&this.c.No&&a.preventDefault();this.c.No=!0;this.Ws({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Ns=!1};g.Ht=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.Yo=d)};c.prototype.zu=w(!0);c.prototype.yu=w(!0);c.prototype.Qg=function(a){return a?this.c.DD(a,this.Xq,this.Yq):!1};c.prototype.xu=function(a){a=Math.floor(a);return a===this.Ii};c.prototype.wu=function(a){a=
Math.floor(a);return a===this.Ii};e.D=new c;d.prototype.ak=function(a,b){if(this.touches.length){var c,d,e,k,f;ea(b)?(c=this.c.gm(0),d=c.scale,e=c.Zf,k=c.Ag,f=c.N,c.scale=this.c.ob.scale,c.Zf=1,c.Ag=1,c.N=this.c.ob.N,a.na(c.fe(this.touches[0].x,this.touches[0].y,!0)),c.scale=d,c.Zf=e,c.Ag=k,c.N=f):(c=fa(b)?this.c.gm(b):this.c.wr(b))?a.na(c.fe(this.touches[0].x,this.touches[0].y,!0)):a.na(0)}else a.na(0)};d.prototype.Vn=function(a,b){if(this.touches.length){var c,d,e,k,f;ea(b)?(c=this.c.gm(0),d=c.scale,
e=c.Zf,k=c.Bg,f=c.N,c.scale=this.c.ob.scale,c.Zf=1,c.Bg=1,c.N=this.c.ob.N,a.na(c.fe(this.touches[0].x,this.touches[0].y,!1)),c.scale=d,c.Zf=e,c.Bg=k,c.N=f):(c=fa(b)?this.c.gm(b):this.c.wr(b))?a.na(c.fe(this.touches[0].x,this.touches[0].y,!1)):a.na(0)}else a.na(0)};e.pa=new d})();function Zb(a){this.c=a}
(function(){function a(){}function b(){}function c(){}var d=Zb.prototype;d.Yb=function(a){this.Hb=a;this.c=a.c};d.Yb.prototype.$a=q();d.Bb=function(a){this.type=a;this.c=a.c};var e=d.Bb.prototype,g="";"undefined"!==typeof window.is_scirra_arcade&&(g="arcade"+window.scirra_arcade_id);e.$a=q();a.prototype.jz=w(!0);a.prototype.ly=function(a,b,c){a=localStorage.getItem(g+a)||"";return Ub(parseFloat(a),b,c)};d.D=new a;b.prototype.Nu=function(a,b){try{localStorage.setItem(g+a,b)}catch(c){this.c.trigger(Zb.prototype.D.jz,
this)}};d.K=new b;c.prototype.zy=function(a,b){a.pf(localStorage.getItem(g+b)||"")};d.pa=new c})();function R(a,b){for(var c in b.prototype)b.prototype.hasOwnProperty(c)&&(a.prototype[c]=b.prototype[c])}
if(navigator.isCocoonJS&&"undefined"!==typeof window.cr_cjs_accelerated_physics)da("Using CocoonJS native physics"),window.ext&&"undefined"!==typeof window.ext.IDTK_SRV_BOX2D?function(){function a(a,c,d,e){this.type=b.kk;this.wb=new n;this.xb=new n;this.Yf=null;void 0!==a&&(this.J=a);void 0!==c&&(this.L=c);void 0!==d&&this.wb.F(d);void 0!==e&&this.xb.F(e);this.Yk=this.Iw=this.Qt=this.ss=this.Eg=0;this.lk=this.ej=!1}function b(a){this.J=a.J;this.L=a.L;this.Yf=a.Yf;this.type=a.type;this.next=null}function c(a,
b){this.gp=[];this.Gb=[];this.yj=[];this.kh=null;this.wC=[];this.Wb=window.ext.IDTK_SRV_BOX2D.makeCall("createWorld",a.x,a.y,b)}function d(){}function e(a,b,c){this.Mb=a;this.Fb=b;this.DC=c}function g(a,b){var c=a.Yf;a.Yf=null;this.Ia=b;this.u=new l(a.position,m.Wj(a.N));this.Im=[];this.Em=a.ue;a.type===g.ve&&(a.Gf=0);this.vc=window.ext.IDTK_SRV_BOX2D.makeCall("createBody",b.Wb,a);a.Yf=c}function f(a,b,c,d){this.Gm=a;this.xs=c;this.sh={};this.sh.Hd=n.p(0,0);this.jp=!1;this.hp=d.Gf;this.zs=d.mg;this.Om=
d.Fg;this.jp=d.Nr}function h(){}function l(a,b){this.position=n.p(0,0);this.m=new m;void 0===a&&(a=null);void 0===b&&(b=null);a&&(this.position.F(a),this.m.Af(b))}function m(){this.i=n.p(0,0);this.j=n.p(0,0);this.Mh()}function n(a,b){void 0===a&&(a=0);void 0===b&&(b=0);this.x=a;this.y=b}T=n;n.Sg=[];n.p=function(a,b){if(0<T.Sg.length){var c=T.Sg.pop();c.Set(a,b);return c}return new T(a,b)};n.Mc=function(a){1E4>T.Sg.length&&T.Sg.push(a)};n.prototype.da=function(){this.y=this.x=0};n.prototype.Set=function(a,
b){void 0===a&&(a=0);void 0===b&&(b=0);this.x=a;this.y=b};n.prototype.F=function(a){this.x=a.x;this.y=a.y};n.sE=function(a,b){void 0===a&&(a=0);void 0===b&&(b=0);return n.p(a,b)};n.prototype.qc=function(){return n.p(this.x,this.y)};n.prototype.Ng=function(a){this.x+=a.x;this.y+=a.y};n.prototype.Eq=function(a){this.x-=a.x;this.y-=a.y};n.prototype.zd=function(a){void 0===a&&(a=0);this.x*=a;this.y*=a};n.prototype.dg=function(){return Math.sqrt(this.x*this.x+this.y*this.y)};n.prototype.On=function(){return this.x*
this.x+this.y*this.y};n.prototype.Bd=function(){var a=Math.sqrt(this.x*this.x+this.y*this.y);if(a<Number.MIN_VALUE)return 0;var b=1/a;this.x*=b;this.y*=b;return a};U=m;m.Wj=function(a){void 0===a&&(a=0);var b=new m;b.Set(a);return b};m.cg=function(a,b){var c=new m;c.Aq(a,b);return c};m.prototype.Set=function(a){void 0===a&&(a=0);var b=Math.cos(a);a=Math.sin(a);this.i.x=b;this.j.x=-a;this.i.y=a;this.j.y=b};m.prototype.Aq=function(a,b){this.i.F(a);this.j.F(b)};m.prototype.qc=function(){var a=new m;
a.Af(this);return a};m.prototype.Af=function(a){this.i.F(a.i);this.j.F(a.j)};m.prototype.vn=function(a){this.i.x+=a.i.x;this.i.y+=a.i.y;this.j.x+=a.j.x;this.j.y+=a.j.y};m.prototype.Mh=function(){this.i.x=1;this.j.x=0;this.i.y=0;this.j.y=1};m.prototype.da=function(){this.i.x=0;this.j.x=0;this.i.y=0;this.j.y=0};m.prototype.xd=function(){return Math.atan2(this.i.y,this.i.x)};m.prototype.kq=function(a){var b=this.i.x,c=this.j.x,d=this.i.y,e=this.j.y,f=b*e-c*d;0!==f&&(f=1/f);a.i.x=f*e;a.j.x=-f*c;a.i.y=
-f*d;a.j.y=f*b;return a};m.prototype.Oh=function(a,b,c){void 0===b&&(b=0);void 0===c&&(c=0);var d=this.i.x,e=this.j.x,f=this.i.y,g=this.j.y,h=d*g-e*f;0!==h&&(h=1/h);a.x=h*(g*b-e*c);a.y=h*(d*c-f*b);return a};m.prototype.Mg=function(){this.i.Mg();this.j.Mg()};$b=l;l.prototype.hc=function(a,b){this.position.F(a);this.m.Af(b)};l.prototype.Mh=function(){this.position.da();this.m.Mh()};l.prototype.Set=function(a){this.position.F(a.position);this.m.Af(a.m)};l.prototype.Qn=function(){return Math.atan2(this.m.i.y,
this.m.i.x)};W=h;h.Nn=function(a){void 0===a&&(a=0);return isFinite(a)};h.Jb=function(a,b){return a.x*b.x+a.y*b.y};h.Ki=function(a,b){return a.x*b.y-a.y*b.x};h.Og=function(a,b){void 0===b&&(b=0);return n.p(b*a.y,-b*a.x)};h.dq=function(a,b){void 0===a&&(a=0);return n.p(-a*b.y,a*b.x)};h.Xb=function(a,b){return n.p(a.i.x*b.x+a.j.x*b.y,a.i.y*b.x+a.j.y*b.y)};h.Pg=function(a,b){return n.p(h.Jb(b,a.i),h.Jb(b,a.j))};h.Ac=function(a,b){var c=h.Xb(a.m,b);c.x+=a.position.x;c.y+=a.position.y;return c};h.qq=function(a,
b){var c=h.tb(b,a.position),d=c.x*a.m.i.x+c.y*a.m.i.y;c.y=c.x*a.m.j.x+c.y*a.m.j.y;c.x=d;return c};h.sl=function(a,b){return n.p(a.x+b.x,a.y+b.y)};h.tb=function(a,b){return n.p(a.x-b.x,a.y-b.y)};h.qy=function(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)};h.eu=function(a,b){var c=a.x-b.x,d=a.y-b.y;return c*c+d*d};h.By=function(a,b){void 0===a&&(a=0);return n.p(a*b.x,a*b.y)};h.gy=function(a,b){return m.cg(h.sl(a.i,b.i),h.sl(a.j,b.j))};h.Cy=function(a,b){return m.cg(h.Xb(a,b.i),h.Xb(a,b.j))};
h.Dy=function(a,b){var c=n.p(h.Jb(a.i,b.i),h.Jb(a.j,b.i)),d=n.p(h.Jb(a.i,b.j),h.Jb(a.j,b.j));return m.cg(c,d)};h.Mg=function(a){void 0===a&&(a=0);return 0<a?a:-a};h.pl=function(a){return n.p(h.Mg(a.x),h.Mg(a.y))};h.ey=function(a){return m.cg(h.pl(a.i),h.pl(a.j))};h.ru=function(a,b){void 0===a&&(a=0);void 0===b&&(b=0);return a<b?a:b};h.su=function(a,b){return n.p(h.ru(a.x,b.x),h.ru(a.y,b.y))};h.pu=function(a,b){void 0===a&&(a=0);void 0===b&&(b=0);return a>b?a:b};h.qu=function(a,b){return n.p(h.pu(a.x,
b.x),h.pu(a.y,b.y))};h.Ab=function(a,b,c){void 0===a&&(a=0);void 0===b&&(b=0);void 0===c&&(c=0);return a<b?b:a>c?c:a};h.iy=function(a,b,c){return h.qu(b,h.su(a,c))};h.bF=function(a,b){var c=a[0];a[0]=b[0];b[0]=c};h.GE=function(){return 2*Math.random()-1};h.HE=function(a,b){void 0===a&&(a=0);void 0===b&&(b=0);var c=Math.random();return(b-a)*c+a};h.yE=function(a){void 0===a&&(a=0);a|=a>>1&2147483647;a|=a>>2&1073741823;a|=a>>4&268435455;a|=a>>8&16777215;return(a|a>>16&65535)+1};h.oE=function(a){void 0===
a&&(a=0);return 0<a&&0===(a&a-1)};h.aA=new n(0,0);h.$z=m.cg(new n(1,0),new n(0,1));h.hF=new l(h.aA,h.$z);X=function(){this.position=n.p(0,0);this.gs=n.p(0,0);this.Yf=null;this.N=0;this.gs.Set(0,0);this.Vi=this.sj=this.bv=0;this.hv=this.av=!0;this.Zi=this.jr=!1;this.type=g.ve;this.ue=!0;this.Zv=1};ac=f;f.prototype.Pa=u("Gm");f.prototype.zc=function(){console.log("fixture.GetShape not yet supported in CocoonJS Box2D binding");return null};f.prototype.Pi=u("jp");bc=g;g.prototype.Cn=function(a){var b=
a.Yf;a.Yf=null;var c=window.ext.IDTK_SRV_BOX2D.makeCall("createFixture",this.Ia.Wb,this.vc,a);a.Yf=b;a=new f(this,0,c,a);this.Ia.yj[c]=a;this.Im.push(a);return a};g.prototype.jq=function(){return 0===this.Im.length?null:this.Im[0]};g.prototype.du=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("deleteFixture",this.Ia.Wb,a.xs);delete this.Ia.yj[a.xs]};g.prototype.Nl=function(a,b){window.ext.IDTK_SRV_BOX2D.makeCall("setBodyTransform",this.Ia.Wb,this.vc,a.x,a.y,b);this.u.m.Set(b);this.u.position.F(a)};
g.prototype.zq=function(a){this.Nl(a,this.xd())};g.prototype.Li=function(){var a=window.ext.IDTK_SRV_BOX2D.makeCall("getLinearVelocity",this.Ia.Wb,this.vc);return n.p(a[0],a[1])};g.prototype.Xj=function(){var a=window.ext.IDTK_SRV_BOX2D.makeCall("getWorldCenter",this.Ia.Wb,this.vc);return n.p(a[0],a[1])};g.prototype.Mi=function(){var a=window.ext.IDTK_SRV_BOX2D.makeCall("getLocalCenter",this.Ia.Wb,this.vc);return n.p(a[0],a[1])};g.prototype.md=function(a){return h.qq(this.u,a)};g.prototype.wn=function(a,
b,c){window.ext.IDTK_SRV_BOX2D.makeCall("applyImpulse",this.Ia.Wb,this.vc,a.x,a.y,b.x,b.y,c)};g.prototype.nd=function(){return window.ext.IDTK_SRV_BOX2D.makeCall("isAwake",this.Ia.Wb,this.vc)};g.prototype.Hn=function(){return window.ext.IDTK_SRV_BOX2D.makeCall("getAngularVelocity",this.Ia.Wb,this.vc)};g.prototype.Bc=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setAwake",this.Ia.Wb,this.vc,a)};g.prototype.Ri=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setLinearVelocity",this.Ia.Wb,this.vc,a.x,
a.y)};g.prototype.$f=function(a,b,c){window.ext.IDTK_SRV_BOX2D.makeCall("applyForce",this.Ia.Wb,this.vc,a.x,a.y,b.x,b.y,c)};g.prototype.xn=function(a,b){window.ext.IDTK_SRV_BOX2D.makeCall("applyTorque",this.Ia.Wb,this.vc,a,b)};g.prototype.Ml=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setAngularVelocity",this.Ia.Wb,this.vc,a)};g.prototype.Oi=u("Em");g.prototype.xd=function(){return this.u.m.xd()};g.prototype.Qn=function(a){void 0===a&&(a=0);this.Nl(this.u.position,a)};g.prototype.Kh=function(){for(var a=
window.ext.IDTK_SRV_BOX2D.makeCall("getObjectContacts",this.Ia.Wb,this.vc),b=[],c=0;c<a.length;c++)b.push(this.Ia.gp[a[c]]);return b};bc.ve=0;bc.jv=1;bc.rc=2;e.prototype.oq=u("DC");cc=d;d.prototype.yn=q();cc.iv=new d;ec=q();fc=c;c.prototype.Hu=ba("kh");c.prototype.Gu=function(a){var b=this;window.ext.IDTK_SRV_BOX2D.makeCall("setContactFilter",this.Wb,function(c,d){return a.Si(b.yj[c],b.yj[d])})};c.prototype.cq=function(a){a=new g(a,this);return this.gp[a.vc]=a};c.prototype.En=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("deleteBody",
this.Wb,a.vc);delete this.gp[a.vc];for(var b=0;b<a.Im.length;++b)delete this.yj[a.Im[b].xs]};c.prototype.Dn=function(a){if(a.J.vc!==a.L.vc){var c=a.J,d=a.L;a.J=c.vc;a.L=d.vc;var e="createDistanceJoint";a.type===b.kk&&(e="createRevoluteJoint");var f=new b(a);f.vC=window.ext.IDTK_SRV_BOX2D.makeCall(e,this.Wb,a);a.J=c;a.L=d;this.wC.push(f);return f}};c.prototype.Fn=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("destroyJoint",this.Wb,a.vC)};c.prototype.Sn=function(a){window.ext.IDTK_SRV_BOX2D.makeCall("setGravity",
this.Wb,a.x,a.y)};c.prototype.Rg=function(a,b,c){c=window.ext.IDTK_SRV_BOX2D.makeCall("step",this.Wb,a,b,c);b=c[0];for(a=1;a<=4*b;a+=4){var d=this.gp[c[a+0]];if(null===d)break;d.u.position.Set(c[a+1],c[a+2]);d.u.m.Set(c[a+3])}if(null!==this.kh)for(c=window.ext.IDTK_SRV_BOX2D.makeCall("getLastContacts",this.Wb),b=c[0],a=1;a<=3*b;a+=3){var d=c[a+2],f=this.yj[c[a+0]],g=this.yj[c[a+1]];"undefined"===typeof f||"undefined"===typeof g?console.log("One of the fixtures in a contact DOESN'T EXIST!!"):this.kh.yn(new e(f,
g,d))}};c.prototype.cu=function(){window.ext.IDTK_SRV_BOX2D.makeCall("clearForces",this.Wb)};gc=function(a){this.Dp=a;this.type="circle"};Y=q();Y.prototype.Rn=function(a,b){this.type="box";this.width=a;this.height=b};Y.prototype.Eu=function(){this.type="edge"};Y.prototype.xq=function(a,b){this.type="polygon";this.by=[];for(var c=0;c<b;c++)this.by.push(a[c].x),this.by.push(a[c].y)};hc=function(){this.Yf=this.shape=null;this.mg=0.2;this.Gf=this.Fg=0;this.Nr=!1;this.filter={gk:1,Wk:65535,fi:0}};Z=b;
b.prototype.yl=u("J");b.prototype.iq=u("L");b.prototype.Nc=u("type");b.cr=0;b.kk=1;ic=function(a,c,d,e){this.type=b.cr;this.wb=n.p(0,0);this.xb=n.p(0,0);this.Yf=null;void 0!==a&&(this.J=a);void 0!==c&&(this.L=c);void 0!==d&&this.wb.F(d);void 0!==e&&this.xb.F(e);void 0!==d&&void 0!==e&&(a=e.x-d.x,d=e.y-d.y,this.length=Math.sqrt(a*a+d*d));this.ro=this.Go=0};a.prototype.hc=function(a,b,c){this.J=a;this.L=b;this.wb=this.J.md(c);this.xb=this.L.md(c);this.Eg=this.L.xd()-this.J.xd()};jc=a}():console.log("The CocoonJS binding for Box2D has been ignored because ext.IDTK_SRV_BOX2D is not available");
else{var W={},kc=2/180*Math.PI,lc=8/180*Math.PI,mc=0.5*Math.PI,nc=mc*mc,oc=2/180*Math.PI,pc=Number.MIN_VALUE*Number.MIN_VALUE;W.Jb=function(a,b){return a.x*b.x+a.y*b.y};W.Ki=function(a,b){return a.x*b.y-a.y*b.x};W.Og=function(a,b){return T.p(b*a.y,-b*a.x)};W.dq=function(a,b){return T.p(-a*b.y,a*b.x)};W.Xb=function(a,b){return T.p(a.i.x*b.x+a.j.x*b.y,a.i.y*b.x+a.j.y*b.y)};W.Pg=function(a,b){return T.p(W.Jb(b,a.i),W.Jb(b,a.j))};W.Ac=function(a,b){var c=W.Xb(a.m,b);c.x+=a.position.x;c.y+=a.position.y;
return c};W.qq=function(a,b){var c=W.tb(b,a.position),d=c.x*a.m.i.x+c.y*a.m.i.y;c.y=c.x*a.m.j.x+c.y*a.m.j.y;c.x=d;return c};W.sl=function(a,b){return T.p(a.x+b.x,a.y+b.y)};W.tb=function(a,b){return T.p(a.x-b.x,a.y-b.y)};W.qy=function(a,b){return Math.sqrt(W.eu(a,b))};W.eu=function(a,b){var c=a.x-b.x,d=a.y-b.y;return c*c+d*d};W.By=function(a,b){return T.p(a*b.x,a*b.y)};W.gy=function(a,b){return U.cg(W.sl(a.i,b.i),W.sl(a.j,b.j))};W.Cy=function(a,b){return U.cg(W.Xb(a,b.i),W.Xb(a,b.j))};W.Dy=function(a,
b){var c=T.p(W.Jb(a.i,b.i),W.Jb(a.j,b.i)),d=T.p(W.Jb(a.i,b.j),W.Jb(a.j,b.j));return U.cg(c,d)};W.pl=function(a){return T.p(Math.abs(a.x),Math.abs(a.y))};W.ey=function(a){return U.cg(W.pl(a.i),W.pl(a.j))};W.Ab=function(a,b,c){return a<b?b:a>c?c:a};W.iy=function(a,b,c){return T.p(W.Ab(a.x,b.x,c.x),W.Ab(a.y,b.y,c.y))};var U=function(){this.i=T.p(0,0);this.j=T.p(0,0);this.Mh()};U.Wj=function(a){var b=new U;b.Set(a);return b};U.cg=function(a,b){var c=new U;c.Aq(a,b);return c};A=U.prototype;A.Set=function(a){var b=
Math.cos(a);a=Math.sin(a);this.i.Set(b,a);this.j.Set(-a,b)};A.Aq=function(a,b){this.i.F(a);this.j.F(b)};A.qc=function(){var a=new U;a.Af(this);return a};A.Af=function(a){this.i.F(a.i);this.j.F(a.j)};A.vn=function(a){this.i.Ng(a.i);this.j.Ng(a.j)};A.Mh=function(){this.i.Set(1,0);this.j.Set(0,1)};A.da=function(){this.i.Set(0,0);this.j.Set(0,0)};A.xd=function(){return Math.atan2(this.i.y,this.i.x)};A.kq=function(a){var b=this.i.x*this.j.y-this.j.x*this.i.y;0!==b&&(b=1/b);a.i.x=b*this.j.y;a.j.x=-b*this.j.x;
a.i.y=-b*this.i.y;a.j.y=b*this.i.x;return a};A.Oh=function(a,b,c){var d=this.i.x*this.j.y-this.j.x*this.i.y;0!==d&&(d=1/d);a.x=d*(this.j.y*b-this.j.x*c);a.y=d*(this.i.x*c-this.i.y*b);return a};A.Mg=function(){this.i.Mg();this.j.Mg()};var rc=function(a,b,c){this.i=new qc(0,0,0);this.j=new qc(0,0,0);this.ta=new qc(0,0,0);a&&this.i.F(a);b&&this.j.F(b);c&&this.ta.F(c)};A=rc.prototype;A.qc=function(){return new rc(this.i,this.j,this.ta)};A.Af=function(a){this.i.F(a.i);this.j.F(a.j);this.ta.F(a.ta)};A.vn=
function(a){this.i.x+=a.i.x;this.i.y+=a.i.y;this.i.z+=a.i.z;this.j.x+=a.j.x;this.j.y+=a.j.y;this.j.z+=a.j.z;this.ta.x+=a.ta.x;this.ta.y+=a.ta.y;this.ta.z+=a.ta.z};A.Mh=function(){this.i.Set(1,0,0);this.j.Set(0,1,0);this.ta.Set(0,0,1)};A.da=function(){this.i.Set(0,0,0);this.j.Set(0,0,0);this.ta.Set(0,0,0)};A.$j=function(a,b,c){var d=this.i.x,e=this.j.x,g=this.i.y,f=this.j.y,h=d*f-e*g;0!=h&&(h=1/h);a.x=h*(f*b-e*c);a.y=h*(d*c-g*b);return a};A.Ol=function(a,b,c,d){var e=this.i.x,g=this.i.y,f=this.i.z,
h=this.j.x,l=this.j.y,m=this.j.z,n=this.ta.x,k=this.ta.y,p=this.ta.z,s=e*(l*p-m*k)+g*(m*n-h*p)+f*(h*k-l*n);0!=s&&(s=1/s);a.x=s*(b*(l*p-m*k)+c*(m*n-h*p)+d*(h*k-l*n));a.y=s*(e*(c*p-d*k)+g*(d*n-b*p)+f*(b*k-c*n));a.z=s*(e*(l*d-m*c)+g*(m*b-h*d)+f*(h*c-l*b));return a};var sc=function(){this.M=T.p(0,0);this.Uc=T.p(0,0);this.r=T.p(0,0)};sc.prototype.Set=function(a){this.M.F(a.M);this.Uc.F(a.Uc);this.r.F(a.r);this.Se=a.Se;this.I=a.I;this.wd=a.wd};sc.prototype.qc=function(){var a=new sc;a.M.F(this.M);a.Uc.F(this.Uc);
a.r.F(this.r);a.Se=this.Se;a.I=this.I;a.wd=this.wd;return a};sc.prototype.be=function(a,b){void 0===b&&(b=0);a.position.x=(1-b)*this.Uc.x+b*this.r.x;a.position.y=(1-b)*this.Uc.y+b*this.r.y;a.m.Set((1-b)*this.Se+b*this.I);var c=a.m;a.position.x-=c.i.x*this.M.x+c.j.x*this.M.y;a.position.y-=c.i.y*this.M.x+c.j.y*this.M.y};sc.prototype.Ih=function(a){void 0===a&&(a=0);if(this.wd<a&&1-this.wd>Number.MIN_VALUE){var b=(a-this.wd)/(1-this.wd);this.Uc.x=(1-b)*this.Uc.x+b*this.r.x;this.Uc.y=(1-b)*this.Uc.y+
b*this.r.y;this.Se=(1-b)*this.Se+b*this.I;this.wd=a}};var $b=function(a,b){this.position=T.p(0,0);this.m=new U;a&&this.position.F(a);b&&this.m.Af(b)};$b.prototype.hc=function(a,b){this.position.F(a);this.m.Af(b)};$b.prototype.Mh=function(){this.position.da();this.m.Mh()};$b.prototype.Set=function(a){this.position.F(a.position);this.m.Af(a.m)};$b.prototype.xd=function(){return Math.atan2(this.m.i.y,this.m.i.x)};var T=function(a,b){this.x=a;this.y=b};T.Sg=[];T.p=function(a,b){if(0<T.Sg.length){var c=
T.Sg.pop();c.Set(a,b);return c}return new T(a,b)};T.Mc=function(a){T.Sg.push(a)};A=T.prototype;A.da=function(){this.y=this.x=0};A.Set=function(a,b){this.x=a;this.y=b};A.F=function(a){this.x=a.x;this.y=a.y};A.Lh=function(){return T.p(-this.x,-this.y)};A.tu=function(){this.x=-this.x;this.y=-this.y};A.qc=function(){return T.p(this.x,this.y)};A.Ng=function(a){this.x+=a.x;this.y+=a.y};A.Eq=function(a){this.x-=a.x;this.y-=a.y};A.zd=function(a){this.x*=a;this.y*=a};A.Og=function(a){var b=this.x;this.x=a*
this.y;this.y=-a*b};A.dq=function(a){var b=this.x;this.x=-a*this.y;this.y=a*b};A.su=function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y)};A.qu=function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y)};A.Mg=function(){this.x=Math.abs(this.x);this.y=Math.abs(this.y)};A.dg=function(){return Math.sqrt(this.On())};A.On=function(){return this.x*this.x+this.y*this.y};A.Bd=function(){var a=this.dg();if(a<Number.MIN_VALUE)return 0;var b=1/a;this.x*=b;this.y*=b;return a};A.Nn=function(){return isFinite(this.x)&&
isFinite(this.y)};var qc=function(a,b,c){this.x=a;this.y=b;this.z=c};A=qc.prototype;A.da=function(){this.z=this.y=this.x=0};A.Set=function(a,b,c){this.x=a;this.y=b;this.z=c};A.F=function(a){this.x=a.x;this.y=a.y;this.z=a.z};A.Lh=function(){return new qc(-this.x,-this.y,-this.z)};A.tu=function(){this.x=-this.x;this.y=-this.y;this.z=-this.z};A.qc=function(){return new qc(this.x,this.y,this.z)};A.Ng=function(a){this.x+=a.x;this.y+=a.y;this.z+=a.z};A.Eq=function(a){this.x-=a.x;this.y-=a.y;this.z-=a.z};
A.zd=function(a){this.x*=a;this.y*=a;this.z*=a};var tc=function(){this.Wa=0.005};A=tc.prototype;A.Ni=q();A.qc=q();A.Set=function(a){this.Wa=a.Wa};A.Vj=q();A.tl=q();A.Bn=q();A.yq=q();var gc=function(a){this.Wa=0.005;this.Wa=a;this.Tk=a*a;this.gb=T.p(0,0)};R(gc,tc);A=gc.prototype;A.Ni=function(){return gc.zf};A.qc=function(){var a=new gc(this.Wa);a.Set(this);return a};A.Set=function(a){tc.prototype.Set.call(this,a);a instanceof gc&&this.gb.F(a.gb)};A.Vj=function(a,b){var c=b.m,d=b.position.x+(c.i.x*
this.gb.x+c.j.x*this.gb.y),c=b.position.y+(c.i.y*this.gb.x+c.j.y*this.gb.y);a.Da.Set(d-this.Wa,c-this.Wa);a.Ea.Set(d+this.Wa,c+this.Wa)};A.tl=function(a,b){a.yg=b*Math.PI*this.Tk;a.Wg.F(this.gb);a.Yj=a.yg*(0.5*this.Tk+(this.gb.x*this.gb.x+this.gb.y*this.gb.y))};A.Bn=function(a,b,c,d){c=W.Ac(c,this.gb);var e=-(W.Jb(a,c)-b);if(e<-this.Wa+Number.MIN_VALUE)return 0;if(e>this.Wa)return d.F(c),Math.PI*this.Tk;b=e*e;e=this.Tk*(Math.asin(e/this.Wa)+Math.PI/2)+e*Math.sqrt(this.Tk-b);b=-2/3*Math.pow(this.Tk-
b,1.5)/e;d.x=c.x+a.x*b;d.y=c.y+a.y*b;return e};A.yq=function(a){a.H=[this.gb];a.ka=1;a.Wa=this.Wa};gc.zf="b2CircleShape";var uc=function(a,b){this.Wa=0.005;this.la=a;this.Ha=b;this.xj=T.p(this.Ha.x-this.la.x,this.Ha.y-this.la.y);this.Bs=this.xj.Bd();this.wa=T.p(this.xj.y,-this.xj.x);T.p(-0.04*(this.wa.x-this.xj.x)+this.la.x,-0.04*(this.wa.y-this.xj.y)+this.la.y);T.p(-0.04*(this.wa.x+this.xj.x)+this.Ha.x,-0.04*(this.wa.y+this.xj.y)+this.Ha.y);T.p(-this.wa.x,-this.wa.y)};R(uc,tc);uc.prototype.Ni=w("b2EdgeShape");
uc.prototype.Vj=function(a,b){var c=b.m,d=b.position.x+(c.i.x*this.la.x+c.j.x*this.la.y),e=b.position.y+(c.i.y*this.la.x+c.j.y*this.la.y),g=b.position.x+(c.i.x*this.Ha.x+c.j.x*this.Ha.y),c=b.position.y+(c.i.y*this.Ha.x+c.j.y*this.Ha.y);d<g?(a.Da.x=d,a.Ea.x=g):(a.Da.x=g,a.Ea.x=d);e<c?(a.Da.y=e,a.Ea.y=c):(a.Da.y=c,a.Ea.y=e)};uc.prototype.tl=function(a){a.yg=0;a.Wg.F(this.la);a.Yj=0};uc.prototype.Bn=function(a,b,c,d){void 0===b&&(b=0);var e=T.p(a.x*b,a.y*b),g=W.Ac(c,this.la);c=W.Ac(c,this.Ha);var f=
W.Jb(a,g)-b;a=W.Jb(a,c)-b;if(0<f){if(0<a)return 0;g.x=-a/(f-a)*g.x+f/(f-a)*c.x;g.y=-a/(f-a)*g.y+f/(f-a)*c.y}else 0<a&&(c.x=-a/(f-a)*g.x+f/(f-a)*c.x,c.y=-a/(f-a)*g.y+f/(f-a)*c.y);d.x=(e.x+g.x+c.x)/3;d.y=(e.y+g.y+c.y)/3;return 0.5*((g.x-e.x)*(c.y-e.y)-(g.y-e.y)*(c.x-e.x))};var vc=function(){this.yg=0;this.Wg=T.p(0,0);this.Yj=0},Y=function(){this.Wa=0.005;this.Hd=T.p(0,0);this.H=[];this.xa=[]};R(Y,tc);Y.prototype.Ni=function(){return Y.zf};Y.prototype.qc=function(){var a=new Y;a.Set(this);return a};
Y.prototype.Set=function(a){tc.prototype.Set.call(this,a);if(a instanceof Y){this.Hd.F(a.Hd);this.La=a.La;this.Ll(this.La);for(var b=0;b<this.La;b++)this.H[b].F(a.H[b]),this.xa[b].F(a.xa[b])}};Y.prototype.xq=function(a){this.Fu(a)};Y.SD=function(a){var b=new Y;b.xq(a);return b};Y.prototype.Fu=function(a){var b=a.length;this.La=b;this.Ll(b);for(b=b=0;b<this.La;b++)this.H[b].F(a[b]);for(b=0;b<this.La;++b)a=W.tb(this.H[b+1<this.La?b+1:0],this.H[b]),this.xa[b].F(W.Og(a,1)),this.xa[b].Bd();this.Hd=Y.ny(this.H,
this.La)};Y.WD=function(a){var b=new Y;b.Fu(a);return b};Y.prototype.Rn=function(a,b){this.La=4;this.Ll(4);this.H[0].Set(-a,-b);this.H[1].Set(a,-b);this.H[2].Set(a,b);this.H[3].Set(-a,b);this.xa[0].Set(0,-1);this.xa[1].Set(1,0);this.xa[2].Set(0,1);this.xa[3].Set(-1,0);this.Hd.da()};Y.TD=function(a,b){var c=new Y;c.Rn(a,b);return c};Y.prototype.sz=function(a,b,c,d){this.La=4;this.Ll(4);this.H[0].Set(-a,-b);this.H[1].Set(a,-b);this.H[2].Set(a,b);this.H[3].Set(-a,b);this.xa[0].Set(0,-1);this.xa[1].Set(1,
0);this.xa[2].Set(0,1);this.xa[3].Set(-1,0);this.Hd=c;a=new U;a.Set(d);c=new $b(c,a);for(d=0;d<this.La;++d)this.H[d]=W.Ac(c,this.H[d]),this.xa[d]=W.Xb(c.m,this.xa[d])};Y.VD=function(a,b,c,d){var e=new Y;e.sz(a,b,c,d);return e};Y.prototype.Eu=function(a,b){this.La=2;this.Ll(2);this.H[0].F(a);this.H[1].F(b);this.Hd.x=0.5*(a.x+b.x);this.Hd.y=0.5*(a.y+b.y);this.xa[0]=W.Og(W.tb(b,a),1);this.xa[0].Bd();this.xa[1].x=-this.xa[0].x;this.xa[1].y=-this.xa[0].y};Y.UD=function(a,b){var c=new Y;c.Eu(a,b);return c};
A=Y.prototype;A.Vj=function(a,b){for(var c=b.m,d=this.H[0],e=b.position.x+(c.i.x*d.x+c.j.x*d.y),g=b.position.y+(c.i.y*d.x+c.j.y*d.y),f=e,h=g,l=1;l<this.La;++l)var d=this.H[l],m=b.position.x+(c.i.x*d.x+c.j.x*d.y),d=b.position.y+(c.i.y*d.x+c.j.y*d.y),e=e<m?e:m,g=g<d?g:d,f=f>m?f:m,h=h>d?h:d;a.Da.x=e-this.Wa;a.Da.y=g-this.Wa;a.Ea.x=f+this.Wa;a.Ea.y=h+this.Wa};A.tl=function(a,b){if(2==this.La)a.Wg.x=0.5*(this.H[0].x+this.H[1].x),a.Wg.y=0.5*(this.H[0].y+this.H[1].y),a.yg=0,a.Yj=0;else{for(var c=0,d=0,e=
0,g=0,f=1/3,h=0;h<this.La;++h)var l=this.H[h],m=h+1<this.La?this.H[h+1]:this.H[0],n=l.x-0,k=l.y-0,p=m.x-0,s=m.y-0,t=n*s-k*p,r=0.5*t,e=e+r,c=c+r*f*(0+l.x+m.x),d=d+r*f*(0+l.y+m.y),l=n,g=g+t*(f*(0.25*(l*l+p*l+p*p)+(0*l+0*p))+0+(f*(0.25*(k*k+s*k+s*s)+(0*k+0*s))+0));a.yg=b*e;a.Wg.Set(c*(1/e),d*(1/e));a.Yj=b*g}};A.Bn=function(a,b,c,d){var e=W.Pg(c.m,a),g=b-W.Jb(a,c.position),f=[],h=0,l=-1;b=-1;var m=!1;for(a=a=0;a<this.La;++a){f[a]=W.Jb(e,this.H[a])-g;var n=f[a]<-Number.MIN_VALUE;0<a&&(n?m||(l=a-1,h++):
m&&(b=a-1,h++));m=n}switch(h){case 0:return m?(a=new vc,this.tl(a,1),d.F(W.Ac(c,a.Wg)),a.yg):0;case 1:-1==l?l=this.La-1:b=this.La-1}a=(l+1)%this.La;e=(b+1)%this.La;g=(0-f[l])/(f[a]-f[l]);f=(0-f[b])/(f[e]-f[b]);l=T.p(this.H[l].x*(1-g)+this.H[a].x*g,this.H[l].y*(1-g)+this.H[a].y*g);b=T.p(this.H[b].x*(1-f)+this.H[e].x*f,this.H[b].y*(1-f)+this.H[e].y*f);f=0;g=T.p(0,0);for(h=this.H[a];a!=e;)a=(a+1)%this.La,m=a==e?b:this.H[a],n=0.5*((h.x-l.x)*(m.y-l.y)-(h.y-l.y)*(m.x-l.x)),f+=n,g.x+=n*(l.x+h.x+m.x)/3,g.y+=
n*(l.y+h.y+m.y)/3,h=m;g.zd(1/f);d.F(W.Ac(c,g));return f};A.yq=function(a){a.H=this.H;a.ka=this.La;a.Wa=this.Wa};A.Kn=function(a){for(var b=0,c=this.H[0].x*a.x+this.H[0].y*a.y,d=1;d<this.La;++d){var e=this.H[d].x*a.x+this.H[d].y*a.y;e>c&&(b=d,c=e)}return b};A.Bl=function(a){for(var b=0,c=this.H[0].x*a.x+this.H[0].y*a.y,d=1;d<this.La;++d){var e=this.H[d].x*a.x+this.H[d].y*a.y;e>c&&(b=d,c=e)}return this.H[b]};A.Ll=function(a){this.H=[];this.xa=[];for(var b=this.H.length;b<a;b++)this.H[b]=T.p(0,0),this.xa[b]=
T.p(0,0)};Y.ny=function(a,b){for(var c=T.p(0,0),d=0,e=1/3,g=0;g<b;++g){var f=a[g],h=g+1<b?a[g+1]:a[0],l=0.5*((f.x-0)*(h.y-0)-(f.y-0)*(h.x-0)),d=d+l;c.x+=l*e*(0+f.x+h.x);c.y+=l*e*(0+f.y+h.y)}c.x*=1/d;c.y*=1/d;return c};Y.wF=new U;Y.zf="b2PolygonShape";var wc=function(){this.Hq=this.Gq=this.Iq=this.Cd=0};A=wc.prototype;A.Qi=function(a){this.Cd=a;this.Iq=this.Cd&255;this.Gq=(this.Cd&65280)>>8&255;this.Hq=(this.Cd&16711680)>>16&255;this.Uu=(this.Cd&4278190080)>>24&255};A.Set=function(a){this.Qi(a.Cd)};
A.Ku=function(a){this.Iq=a;this.Cd=this.Cd&4294967040|this.Iq&255};A.Iu=function(a){this.Gq=a;this.Cd=this.Cd&4294902015|this.Gq<<8&65280};A.Ju=function(a){this.Hq=a;this.Cd=this.Cd&4278255615|this.Hq<<16&16711680};A.tz=function(a){this.Uu=a;this.Cd=this.Cd&16777215|this.Uu<<24&4278190080};A.qc=function(){var a=new wc;a.Set(this);return a};var xc=function(){this.Pe=T.p(0,0);this.id=new wc};xc.prototype.Set=function(a){this.Pe.F(a.Pe);this.id.Set(a.id)};var yc=function(){this.Da=T.p(0,0);this.Ea=T.p(0,
0)},zc=[],Ac=function(){if(0<zc.length){var a=zc.pop();a.da();return a}return new yc};A=yc.prototype;A.da=function(){this.Da.Set(0,0);this.Ea.Set(0,0)};A.Nn=function(){return 0>this.Ea.x-this.Da.x||0>this.Ea.y-this.Da.y?!1:this.Da.Nn()&&this.Ea.Nn()};A.uy=function(){return T.p((this.Da.x+this.Ea.x)/2,(this.Da.y+this.Ea.y)/2)};A.bq=function(a){var b;return b=(b=(b=(b=this.Da.x<=a.Da.x)&&this.Da.y<=a.Da.y)&&a.Ea.x<=this.Ea.x)&&a.Ea.y<=this.Ea.y};A.Pl=function(a){return 0<a.Da.x-this.Ea.x||0<a.Da.y-
this.Ea.y||0<this.Da.x-a.Ea.x||0<this.Da.y-a.Ea.y?!1:!0};A.An=function(a,b){this.Da.x=Math.min(a.Da.x,b.Da.x);this.Da.y=Math.min(a.Da.y,b.Da.y);this.Ea.x=Math.max(a.Ea.x,b.Ea.x);this.Ea.y=Math.max(a.Ea.y,b.Ea.y)};var Bc=function(a,b,c,d){var e=0,g=b[0].Pe,f=b[1].Pe,h=c.x*g.x+c.y*g.y-d;c=c.x*f.x+c.y*f.y-d;0>=h&&a[e++].Set(b[0]);0>=c&&a[e++].Set(b[1]);0>h*c&&(c=h/(h-c),d=a[e].Pe,d.x=g.x+c*(f.x-g.x),d.y=g.y+c*(f.y-g.y),a[e].id=0<h?b[0].id:b[1].id,e++);return e},Cc=function(a,b,c,d,e){for(var g=b.m.i.x*
a.xa[c].x+b.m.j.x*a.xa[c].y,f=b.m.i.y*a.xa[c].x+b.m.j.y*a.xa[c].y,h=e.m.i.x*g+e.m.i.y*f,l=e.m.j.x*g+e.m.j.y*f,m=0,n=Number.MAX_VALUE,k=0;k<d.La;k++){var p=d.H[k].x*h+d.H[k].y*l;p<n&&(n=p,m=k)}return(e.position.x+(e.m.i.x*d.H[m].x+e.m.j.x*d.H[m].y)-(b.position.x+(b.m.i.x*a.H[c].x+b.m.j.x*a.H[c].y)))*g+(e.position.y+(e.m.i.y*d.H[m].x+e.m.j.y*d.H[m].y)-(b.position.y+(b.m.i.y*a.H[c].x+b.m.j.y*a.H[c].y)))*f},Dc=function(a,b,c,d){for(var e=d.position.x+(d.m.i.x*c.Hd.x+d.m.j.x*c.Hd.y),g=d.position.y+(d.m.i.y*
c.Hd.x+d.m.j.y*c.Hd.y),e=e-(b.position.x+(b.m.i.x*a.Hd.x+b.m.j.x*a.Hd.y)),g=g-(b.position.y+(b.m.i.y*a.Hd.x+b.m.j.y*a.Hd.y)),f=e*b.m.i.x+g*b.m.i.y,g=e*b.m.j.x+g*b.m.j.y,e=0,h=-Number.MAX_VALUE,l=0;l<a.La;++l){var m=a.xa[l].x*f+a.xa[l].y*g;m>h&&(h=m,e=l)}f=Cc(a,b,e,c,d);g=e-1;0>g&&(g=a.La-1);h=Cc(a,b,g,c,d);l=e+1;l>=a.La&&(l=0);var m=Cc(a,b,l,c,d),n=0,k=0;if(h>f&&h>m)for(n=g,k=h;;)if(e=n-1,0>e&&(e=a.La-1),f=Cc(a,b,e,c,d),f>k)n=e,k=f;else break;else if(m>f)for(n=l,k=m;;)if(e=n+1,e>=a.La&&(e=0),f=Cc(a,
b,e,c,d),f>k)n=e,k=f;else break;else n=e,k=f;return{kv:n,Lp:k}},Fc=function(a,b,c){var d=new Ec;d.oz(b,c.wh,c.Up,c.xh,c.Vp);for(var e=0;20>e;){for(var g=[],f=0;f<d.ka;f++)g[f]={},g[f].ic=d.H[f].ic,g[f].jc=d.H[f].jc;2==d.ka?d.vz():3==d.ka&&d.wz();if(3==d.ka)break;f=d.xy();if(f.On()<pc)break;var h=f.Lh();d.H[d.ka].ic=c.wh.Kn(W.Pg(c.Up.m,h));d.H[d.ka].jd=W.Ac(c.Up,c.wh.dd(d.H[d.ka].ic));d.H[d.ka].jc=c.xh.Kn(W.Pg(c.Vp.m,f));d.H[d.ka].xf=W.Ac(c.Vp,c.xh.dd(d.H[d.ka].jc));d.H[d.ka].nc=W.tb(d.H[d.ka].xf,
d.H[d.ka].jd);T.Mc(f);T.Mc(h);e++;h=!1;for(f=0;f<g.length;f++)if(d.H[d.ka].ic==g[f].ic&&d.H[d.ka].jc==g[f].jc){h=!0;break}if(h)break;d.ka++}d.yy(a.Sf,a.Tf);a.$g=W.tb(a.Sf,a.Tf).dg();d.Hz(b);c.Yx&&(b=c.wh.Wa,c=c.xh.Wa,a.$g>b+c&&a.$g>Number.MIN_VALUE?(a.$g-=b+c,d=W.tb(a.Tf,a.Sf),d.Bd(),a.Sf.x+=b*d.x,a.Sf.y+=b*d.y,a.Tf.x-=c*d.x,a.Tf.y-=c*d.y,T.Mc(d)):(c=T.p(0,0),c.x=0.5*(a.Sf.x+a.Tf.x),c.y=0.5*(a.Sf.y+a.Tf.y),a.Sf.x=a.Tf.x=c.x,a.Sf.y=a.Tf.y=c.y,a.$g=0,T.Mc(c)))},Kc=q(),Lc=function(){this.Sf=T.p(0,0);
this.Tf=T.p(0,0);this.$g=0},Mc=q();Mc.prototype.Set=function(a){a.yq(this)};Mc.prototype.Kn=function(a){for(var b=0,c=this.H[0].x*a.x+this.H[0].y*a.y,d=1;d<this.ka;d++){var e=this.H[d].x*a.x+this.H[d].y*a.y;e>c&&(b=d,c=e)}return b};Mc.prototype.Bl=function(a){return this.H[this.Kn(a)]};Mc.prototype.dd=function(a){void 0===a&&(a=0);return this.H[a]};var Nc=function(){this.xg=null};A=Nc.prototype;A.ul=function(a,b){var c=Oc(b);c.Qa.Da.x=a.Da.x-0.1;c.Qa.Da.y=a.Da.y-0.1;c.Qa.Ea.x=a.Ea.x+0.1;c.Qa.Ea.y=
a.Ea.y+0.1;this.nu(c);return c};A.wl=function(a){this.Bu(a);a.lb()};A.pq=function(a,b,c){if(a.Qa.bq(b))return!1;this.Bu(a);var d=0.1+2*Math.abs(c.x);c=0.1+2*Math.abs(c.y);a.Qa.Da.x=b.Da.x-d;a.Qa.Da.y=b.Da.y-c;a.Qa.Ea.x=b.Ea.x+d;a.Qa.Ea.y=b.Ea.y+c;this.nu(a);return!0};A.zl=function(a){return a.Qa};A.vq=function(a,b){if(null!==this.xg){var c=[];for(c.push(this.xg);0<c.length;){var d=c.pop();if(d.Qa.Pl(b))if(d.ou()){if(!a(d.Ze))break}else c.push(d.ge),c.push(d.hg)}}};A.nu=function(a){if(null===this.xg)this.xg=
a,this.xg.parent=null;else{var b=this.ty(a),c=b.parent,d=Oc();d.parent=c;d.Qa.An(a.Qa,b.Qa);if(c)for(b.parent.ge==b?c.ge=d:c.hg=d,d.ge=b,d.hg=a,b.parent=d,a.parent=d;c&&!c.Qa.bq(d.Qa);)c.Qa.An(c.ge.Qa,c.hg.Qa),d=c,c=c.parent;else d.ge=b,d.hg=a,b.parent=d,this.xg=a.parent=d}};A.ty=function(a){a=a.Qa.uy();for(var b=this.xg;!b.ou();)var c=b.ge,b=b.hg,d=Math.abs((c.Qa.Da.x+c.Qa.Ea.x)/2-a.x)+Math.abs((c.Qa.Da.y+c.Qa.Ea.y)/2-a.y),e=Math.abs((b.Qa.Da.x+b.Qa.Ea.x)/2-a.x)+Math.abs((b.Qa.Da.y+b.Qa.Ea.y)/2-
a.y),b=d<e?c:b;T.Mc(a);return b};A.Bu=function(a){if(a==this.xg)this.xg=null;else{var b=a.parent,c=b.parent;a=b.ge==a?b.hg:b.ge;if(c)for(c.ge==b?c.ge=a:c.hg=a,a.parent=c;c;){a=c.Qa;c.Qa.An(c.ge.Qa,c.hg.Qa);if(a.bq(c.Qa))break;c=c.parent}else this.xg=a,a.parent=null;b.lb()}};var Pc=function(){this.uh=new Nc;this.np=[]};A=Pc.prototype;A.ul=function(a,b){var c=this.uh.ul(a,b);this.bu(c);return c};A.wl=function(a){this.Dz(a);this.uh.wl(a)};A.pq=function(a,b,c){this.uh.pq(a,b,c)&&this.bu(a)};A.Pl=function(a,
b){return this.uh.zl(a).Pl(this.uh.zl(b))};A.zl=function(a){return this.uh.zl(a)};A.Ez=function(a){for(var b=[];0<this.np.length;){var c=this.np.pop();this.uh.vq(function(a){a!=c.Ze&&b.push(new Qc(c.Ze,a));return!0},this.uh.zl(c))}for(var d=0;d<b.length;){var e=b[d];a(e.cm,e.dm);for(d++;d<b.length;){var g=b[d];if(!(g.cm==e.cm&&g.dm==e.dm||g.cm==e.dm&&g.dm==e.cm))break;d++}}};A.vq=function(a,b){this.uh.vq(a,b)};A.bu=function(a){this.np.push(a)};A.Dz=function(a){ua(this.np,a)};var Rc=function(a){this.Qa=
Ac();this.Ze=this.parent=this.hg=this.ge=null;"undefined"!=typeof a&&(this.Ze=a)},Sc=[],Oc=function(a){if(0<Sc.length){var b=Sc.pop();"undefined"!=typeof a&&(b.Ze=a);b.Qa.da();return b}return new Rc(a)};Rc.prototype.lb=function(){this.Ze=this.parent=this.hg=this.ge=null;Sc.push(this)};Rc.prototype.ou=function(){return null===this.ge};var Qc=function(a,b){this.cm=a;this.dm=b},Uc=function(){this.Na=this.cc=0;this.ha=[];for(var a=0;2>a;a++)this.ha[a]=new Tc;this.Xc=T.p(0,0);this.va=T.p(0,0)};Uc.prototype.Oc=
function(){for(var a=0;2>a;a++)this.ha[a].Oc();this.Xc.da();this.va.da();this.cc=this.Na=0};Uc.prototype.Set=function(a){this.cc=a.cc;for(var b=0;2>b;b++)this.ha[b].Set(a.ha[b]);this.Xc.F(a.Xc);this.va.F(a.va);this.Na=a.Na};Uc.prototype.qc=function(){var a=new Uc;a.Set(this);return a};var Tc=function(){this.va=T.p(0,0);this.hf=new wc;this.Oc()};Tc.prototype.Oc=function(){this.va.da();this.Ej=this.Aj=0;this.hf.Qi(0)};Tc.prototype.Set=function(a){this.va.F(a.va);this.Aj=a.Aj;this.Ej=a.Ej;this.hf.Set(a.hf)};
var Vc=function(){this.va=T.p(0,0);this.R=T.p(0,0)};Vc.prototype.hc=function(a,b,c,d,e){this.pi=b;this.qi=d;var g,f,h,l=h=f=0,m=0;d=b=0;var n,k,l=0;1==a.count?(this.Na=Wc,g=this.pi.dd(a.ic[0]),a=this.qi.dd(a.jc[0]),k=g,n=c.m,f=c.position.x+(n.i.x*k.x+n.j.x*k.y),h=c.position.y+(n.i.y*k.x+n.j.y*k.y),k=a,n=e.m,l=e.position.x+(n.i.x*k.x+n.j.x*k.y),m=e.position.y+(n.i.y*k.x+n.j.y*k.y),this.R.x=l-f,this.R.y=m-h,this.R.Bd()):(a.jc[0]==a.jc[1]?(this.Na=Xc,b=this.pi.dd(a.ic[0]),d=this.pi.dd(a.ic[1]),a=this.qi.dd(a.jc[0]),
this.va.x=0.5*(b.x+d.x),this.va.y=0.5*(b.y+d.y),this.R=W.Og(W.tb(d,b),1),this.R.Bd(),k=this.R,n=c.m,b=n.i.x*k.x+n.j.x*k.y,d=n.i.y*k.x+n.j.y*k.y,k=this.va,n=c.m,f=c.position.x+(n.i.x*k.x+n.j.x*k.y),h=c.position.y+(n.i.y*k.x+n.j.y*k.y),k=a,n=e.m,l=e.position.x+(n.i.x*k.x+n.j.x*k.y),m=e.position.y+(n.i.y*k.x+n.j.y*k.y),l=(l-f)*b+(m-h)*d):a.ic[0]==a.ic[0]?(this.Na=Yc,f=this.qi.dd(a.jc[0]),h=this.qi.dd(a.jc[1]),g=this.pi.dd(a.ic[0]),this.va.x=0.5*(f.x+h.x),this.va.y=0.5*(f.y+h.y),this.R=W.Og(W.tb(h,f),
1),this.R.Bd(),k=this.R,n=e.m,b=n.i.x*k.x+n.j.x*k.y,d=n.i.y*k.x+n.j.y*k.y,k=this.va,n=e.m,l=e.position.x+(n.i.x*k.x+n.j.x*k.y),m=e.position.y+(n.i.y*k.x+n.j.y*k.y),k=g,n=c.m,f=c.position.x+(n.i.x*k.x+n.j.x*k.y),h=c.position.y+(n.i.y*k.x+n.j.y*k.y),l=(f-l)*b+(h-m)*d):(b=this.pi.dd(a.ic[0]),d=this.pi.dd(a.ic[1]),f=this.qi.dd(a.jc[0]),h=this.qi.dd(a.jc[1]),l=W.Xb(c.m,W.tb(d,b)),m=W.Xb(e.m,W.tb(h,f)),e=l.x*l.x+l.y*l.y,c=m.x*m.x+m.y*m.y,g=W.tb(m,l),a=l.x*g.x+l.y*g.y,g=m.x*g.x+m.y*g.y,m=l.x*m.x+l.y*m.y,
n=e*c-m*m,l=0,0!=n&&(l=W.Ab((m*g-a*c)/n,0,1)),0>(m*l+g)/c&&(l=W.Ab((m-a)/e,0,1)),g=T.p(0,0),g.x=b.x+l*(d.x-b.x),g.y=b.y+l*(d.y-b.y),a=T.p(0,0),a.x=f.x+l*(h.x-f.x),a.y=f.y+l*(h.y-f.y),0==l||1==l?(this.Na=Yc,this.R=W.Og(W.tb(h,f),1),this.R.Bd(),this.va=a):(this.Na=Xc,this.R=W.Og(W.tb(d,b),1),this.va=g)),0>l&&this.R.tu())};Vc.prototype.bg=function(a,b){var c,d,e=0;switch(this.Na){case Wc:c=W.Pg(a.m,this.R);d=W.Pg(b.m,this.R.Lh());c=this.pi.Bl(c);d=this.qi.Bl(d);c=W.Ac(a,c);d=W.Ac(b,d);e=(d.x-c.x)*this.R.x+
(d.y-c.y)*this.R.y;break;case Xc:e=W.Xb(a.m,this.R);c=W.Ac(a,this.va);d=W.Pg(b.m,e.Lh());d=this.qi.Bl(d);d=W.Ac(b,d);e=(d.x-c.x)*e.x+(d.y-c.y)*e.y;break;case Yc:e=W.Xb(b.m,this.R),d=W.Ac(b,this.va),c=W.Pg(a.m,e.Lh()),c=this.pi.Bl(c),c=W.Ac(a,c),e=(c.x-d.x)*e.x+(c.y-d.y)*e.y}return e};var Wc=1,Xc=2,Yc=4,Ec=function(){this.la=new Zc;this.Ha=new Zc;this.je=new Zc;this.H=[this.la,this.Ha,this.je]};A=Ec.prototype;A.oz=function(a,b,c,d,e){var g,f;this.ka=a.count;for(var h=this.H,l=0;l<this.ka;l++){var m=
h[l];m.ic=a.ic[l];m.jc=a.jc[l];g=b.dd(m.ic);f=d.dd(m.jc);m.jd=W.Ac(c,g);m.xf=W.Ac(e,f);m.nc=W.tb(m.xf,m.jd);m.I=0}1<this.ka&&(a=a.IC,g=this.ku(),g<0.5*a||2*a<g||g<Number.MIN_VALUE)&&(this.ka=0);0==this.ka&&(m=h[0],m.ic=0,m.jc=0,g=b.dd(0),f=d.dd(0),m.jd=W.Ac(c,g),m.xf=W.Ac(e,f),m.nc=W.tb(m.xf,m.jd),this.ka=1)};A.Hz=function(a){a.IC=this.ku();a.count=this.ka;for(var b=this.H,c=0;c<this.ka;c++)a.ic[c]=b[c].ic,a.jc[c]=b[c].jc};A.xy=function(){if(1==this.ka)return this.la.nc.Lh();if(2==this.ka){var a=
W.tb(this.Ha.nc,this.la.nc);return 0<W.Ki(a,this.la.nc.Lh())?W.dq(1,a):W.Og(a,1)}return T.p(0,0)};A.yy=function(a,b){1==this.ka?(a.F(this.la.jd),b.F(this.la.xf)):2==this.ka?(a.x=this.la.I*this.la.jd.x+this.Ha.I*this.Ha.jd.x,a.y=this.la.I*this.la.jd.y+this.Ha.I*this.Ha.jd.y,b.x=this.la.I*this.la.xf.x+this.Ha.I*this.Ha.xf.x,b.y=this.la.I*this.la.xf.y+this.Ha.I*this.Ha.xf.y):3==this.ka&&(b.x=a.x=this.la.I*this.la.jd.x+this.Ha.I*this.Ha.jd.x+this.je.I*this.je.jd.x,b.y=a.y=this.la.I*this.la.jd.y+this.Ha.I*
this.Ha.jd.y+this.je.I*this.je.jd.y)};A.ku=function(){return 1==this.ka?0:2==this.ka?W.tb(this.la.nc,this.Ha.nc).dg():3==this.ka?W.Ki(W.tb(this.Ha.nc,this.la.nc),W.tb(this.je.nc,this.la.nc)):0};A.vz=function(){var a=this.la.nc,b=this.Ha.nc,c=W.tb(b,a),a=-(a.x*c.x+a.y*c.y);0>=a?this.ka=this.la.I=1:(b=b.x*c.x+b.y*c.y,0>=b?(this.ka=this.Ha.I=1,this.la.Set(this.Ha)):(c=1/(b+a),this.la.I=b*c,this.Ha.I=a*c,this.ka=2))};A.wz=function(){var a=this.la.nc,b=this.Ha.nc,c=this.je.nc,d=W.tb(b,a),e=W.Jb(b,d),g=
-W.Jb(a,d),f=W.tb(c,a),h=W.Jb(c,f),l=-W.Jb(a,f),m=W.tb(c,b),n=W.Jb(c,m),m=-W.Jb(b,m),f=W.Ki(d,f),d=f*W.Ki(b,c),c=f*W.Ki(c,a),a=f*W.Ki(a,b);0>=g&&0>=l?this.ka=this.la.I=1:0<e&&0<g&&0>=a?(h=1/(e+g),this.la.I=e*h,this.Ha.I=g*h,this.ka=2):0<h&&0<l&&0>=c?(e=1/(h+l),this.la.I=h*e,this.je.I=l*e,this.ka=2,this.Ha.Set(this.je)):0>=e&&0>=m?(this.ka=this.Ha.I=1,this.la.Set(this.Ha)):0>=h&&0>=n?(this.ka=this.je.I=1,this.la.Set(this.je)):0<n&&0<m&&0>=d?(e=1/(n+m),this.Ha.I=n*e,this.je.I=m*e,this.ka=2,this.la.Set(this.je)):
(e=1/(d+c+a),this.la.I=d*e,this.Ha.I=c*e,this.je.I=a*e,this.ka=3)};var $c=function(){this.ic=[0,0,0];this.jc=[0,0,0]},Zc=q();Zc.prototype.Set=function(a){this.jd.F(a.jd);this.xf.F(a.xf);this.nc.F(a.nc);this.I=a.I;this.ic=a.ic;this.jc=a.jc};var ad=function(){this.wh=new Mc;this.xh=new Mc;this.Kx=new sc;this.Lx=new sc},bd=function(){this.wa=T.p(0,0);this.ha=[];for(var a=this.cc=0;2>a;a++)this.ha[a]=T.p(0,0)};bd.prototype.hc=function(a,b,c,d,e){if(0!=a.cc){var g=0,f,h,l=0,m=0,n=0,k=0,p=0;f=0;switch(a.Na){case 1:h=
b.m;f=a.va;g=b.position.x+h.i.x*f.x+h.j.x*f.y;b=b.position.y+h.i.y*f.x+h.j.y*f.y;h=d.m;f=a.ha[0].va;a=d.position.x+h.i.x*f.x+h.j.x*f.y;d=d.position.y+h.i.y*f.x+h.j.y*f.y;f=a-g;h=d-b;l=f*f+h*h;l>pc?(l=Math.sqrt(l),this.wa.x=f/l,this.wa.y=h/l):(this.wa.x=1,this.wa.y=0);f=b+c*this.wa.y;d-=e*this.wa.y;this.ha[0].x=0.5*(g+c*this.wa.x+(a-e*this.wa.x));this.ha[0].y=0.5*(f+d);break;case 2:h=b.m;f=a.Xc;l=h.i.x*f.x+h.j.x*f.y;m=h.i.y*f.x+h.j.y*f.y;h=b.m;f=a.va;n=b.position.x+h.i.x*f.x+h.j.x*f.y;k=b.position.y+
h.i.y*f.x+h.j.y*f.y;this.wa.x=l;this.wa.y=m;for(g=0;g<a.cc;g++)h=d.m,f=a.ha[g].va,p=d.position.x+h.i.x*f.x+h.j.x*f.y,f=d.position.y+h.i.y*f.x+h.j.y*f.y,this.ha[g].x=p+0.5*(c-(p-n)*l-(f-k)*m-e)*l,this.ha[g].y=f+0.5*(c-(p-n)*l-(f-k)*m-e)*m;break;case 4:for(h=d.m,f=a.Xc,l=h.i.x*f.x+h.j.x*f.y,m=h.i.y*f.x+h.j.y*f.y,h=d.m,f=a.va,n=d.position.x+h.i.x*f.x+h.j.x*f.y,k=d.position.y+h.i.y*f.x+h.j.y*f.y,this.wa.x=-l,this.wa.y=-m,g=0;g<a.cc;g++)h=b.m,f=a.ha[g].va,p=b.position.x+h.i.x*f.x+h.j.x*f.y,f=b.position.y+
h.i.y*f.x+h.j.y*f.y,this.ha[g].x=p+0.5*(e-(p-n)*l-(f-k)*m-c)*l,this.ha[g].y=f+0.5*(e-(p-n)*l-(f-k)*m-c)*m}}};var bc=function(a,b){this.yd="Body"+bc.rq++;this.u=new $b;this.u.position.F(a.position);this.u.m.Set(a.N);this.k=new sc;this.k.M.da();this.k.wd=1;this.k.Se=this.k.I=a.N;this.k.r.x=this.u.m.i.x*this.k.M.x+this.u.m.j.x*this.k.M.y;this.k.r.y=this.u.m.i.y*this.k.M.x+this.u.m.j.y*this.k.M.y;this.k.r.x+=this.u.position.x;this.k.r.y+=this.u.position.y;this.k.Uc.F(this.k.r);this.n=a.gs.qc();this.nh=
T.p(0,0);this.Ok=a.Zi;this.qC=a.jr;this.us=a.av;this.vs=a.hv;this.Em=a.ue;this.Ia=b;this.Gb=null;this.Qd=new cd;this.bj=new dd;this.C=a.bv;this.xC=a.sj;this.lC=a.Vi;this.Pm=this.Fj=0;this.Na=a.type;this.P=this.Na==X.rc?1:0;this.G=this.Na==X.rc?1:0;this.O=this.ff=0;this.uC=a.Zv;this.pk=new ed;this.lp=[]};A=bc.prototype;A.Cn=function(a){a=new ac(this,this.u,a);this.Em&&a.ul(this.Ia.Id.Nk,this.u);this.pk.fy(a);a.Gm=this;0<a.hp&&this.Du();this.Ia.Gs=!0;return a};A.lb=function(){T.Mc(this.n);T.Mc(this.nh)};
A.du=function(a){this.pk.pz(a);for(var b=this.Qd.Ja(fd);b;b=b.next)a!=b.Dc.Mb&&a!=b.Dc.Fb||this.Ia.Id.lb(b.Dc);this.Em&&a.wl(this.Ia.Id.Nk);a.lb();a.Gm=null;this.Du()};A.Nl=function(a,b){this.u.m.Set(b);this.u.position.F(a);var c=this.u.m,d=this.k.M;this.k.r.x=c.i.x*d.x+c.j.x*d.y;this.k.r.y=c.i.y*d.x+c.j.y*d.y;this.k.r.x+=this.u.position.x;this.k.r.y+=this.u.position.y;this.k.Uc.F(this.k.r);this.k.Se=this.k.I=b;c=this.Ia.Id.Nk;for(d=this.pk.Ja();d;d=d.next)d.Ze.Pu(c,this.u,this.u);this.Ia.Id.Gn()};
A.be=u("u");A.zq=function(a){this.Nl(a,this.xd())};A.xd=function(){return this.k.I};A.Qn=function(a){this.Nl(this.u.position,a)};A.Xj=function(){return this.k.r};A.Mi=function(){return this.k.M};A.Ri=function(a){this.Na!=X.ve&&this.n.F(a)};A.Li=u("n");A.Ml=function(a){void 0===a&&(a=0);this.Na!=X.ve&&(this.C=a)};A.Hn=u("C");A.$f=function(a,b){this.Na==X.rc&&(this.Bc(!0),this.nh.x+=a.x,this.nh.y+=a.y,this.Fj+=(b.x-this.k.r.x)*a.y-(b.y-this.k.r.y)*a.x)};A.xn=function(a){void 0===a&&(a=0);this.Na==X.rc&&
(this.Bc(!0),this.Fj+=a)};A.wn=function(a,b){this.Na==X.rc&&(this.Bc(!0),this.n.x+=this.G*a.x,this.n.y+=this.G*a.y,this.C+=this.O*((b.x-this.k.r.x)*a.y-(b.y-this.k.r.y)*a.x))};A.ju=function(a){a||(a=new vc);a.yg=this.P;a.Yj=this.ff;a.Wg.F(this.k.M);return a};A.Du=function(){this.O=this.ff=this.G=this.P=0;this.k.M.da();if(this.Na!=X.ve&&this.Na!=X.jv){for(var a=T.p(0,0),b=this.pk.Ja();b;b=b.next){var c=b.Ze;0!=c.hp&&(c=c.ju(),this.P+=c.yg,a.x+=c.Wg.x*c.yg,a.y+=c.Wg.y*c.yg,this.ff+=c.Yj)}0<this.P?(this.G=
1/this.P,a.x*=this.G,a.y*=this.G):this.G=this.P=1;0<this.ff&&!this.qC?(this.ff-=this.P*(a.x*a.x+a.y*a.y),this.ff*=this.uC,this.O=1/this.ff):this.O=this.ff=0;b=this.k.r.qc();this.k.M.F(a);this.k.Uc.F(W.Ac(this.u,this.k.M));this.k.r.F(this.k.Uc);this.n.x+=this.C*-(this.k.r.y-b.y);this.n.y+=this.C*+(this.k.r.x-b.x);T.Mc(a);T.Mc(b)}};A.Ln=function(a){var b=this.u.m;a=T.p(b.i.x*a.x+b.j.x*a.y,b.i.y*a.x+b.j.y*a.y);a.x+=this.u.position.x;a.y+=this.u.position.y;return a};A.mq=function(a){return W.Xb(this.u.m,
a)};A.md=function(a){return W.qq(this.u,a)};A.lq=function(a){return W.Pg(this.u.m,a)};A.wy=function(a){return T.p(this.n.x-this.C*(a.y-this.k.r.y),this.n.y+this.C*(a.x-this.k.r.x))};A.Nc=u("Na");A.Bc=function(a){if(this.vs!=a)for(this.vs=a,this.Pm=0,a||(this.n.da(),this.C=0,this.nh.da(),this.Fj=0),a=0;a<this.lp.length;a++)this.lp[a].Su(this)};A.nd=u("vs");A.Oi=u("Em");A.jq=u("pk");A.ql=function(a){this.bj.ql(a)};A.Kl=function(a){this.bj.Kl(a)};A.Kh=u("Qd");A.Qu=function(){var a=bc.pD;a.m.Set(this.k.Se);
var b=a.m,c=this.k.M;a.position.x=this.k.Uc.x-(b.i.x*c.x+b.j.x*c.y);a.position.y=this.k.Uc.y-(b.i.y*c.x+b.j.y*c.y);b=this.Ia.Id.Nk;for(c=this.pk.Ja();c;c=c.next)c.Ze.Pu(b,a,this.u)};A.Kb=function(){this.u.m.Set(this.k.I);var a=this.u.m,b=this.k.M;this.u.position.x=this.k.r.x-(a.i.x*b.x+a.j.x*b.y);this.u.position.y=this.k.r.y-(a.i.y*b.x+a.j.y*b.y)};A.Si=function(a){if(this.Na!=X.rc&&a.Na!=X.rc)return!1;for(var b=this.Gb;b;b=b.next)if(b.Ne==a&&!1==b.gh.Bw)return!1;return!0};A.Ih=function(a){this.k.Ih(a);
this.k.r.F(this.k.Uc);this.k.I=this.k.Se;this.Kb()};bc.rq=0;var X=function(){this.position=T.p(0,0);this.gs=T.p(0,0);this.Vi=this.sj=this.bv=this.N=0;this.hv=this.av=!0;this.Zi=this.jr=!1;this.type=X.ve;this.ue=!0;this.Zv=1};X.ve=0;X.jv=1;X.rc=2;var hd=function(){this.co=[];for(var a=0;a<=gd;a++)this.co[a]=null;this.eo=[];for(a=0;a<=gd;a++)this.eo[a]=null;this.ek={}};A=hd.prototype;A.Ja=function(a){return this.co[a]};A.Tj=function(a){var b=a.yd;null==this.ek[b]&&(this.ag(a,b,gd),this.Su(a),a.lp.push(this))};
A.Su=function(a){var b=a.Nc(),c=a.yd,d=a.nd(),e=a.Oi();b==X.rc?this.ag(a,c,id):this.eg(c,id);b!=X.ve?this.ag(a,c,jd):this.eg(c,jd);b!=X.ve&&e&&d?this.ag(a,c,kd):this.eg(c,kd);d?this.ag(a,c,ld):this.eg(c,ld);e?this.ag(a,c,md):this.eg(c,md)};A.Jl=function(a){var b=a.yd;if(null!=this.ek[b]){ua(a.lp,this);for(a=0;a<=gd;a++)this.eg(b,a);delete this.ek[b]}};A.eg=function(a,b){var c=this.ek[a];if(null!=c){var d=c[b];null!=d&&(c[b]=null,c=d.nf,d=d.next,null==c?this.co[b]=d:c.Bf(d),null==d?this.eo[b]=c:d.Cf(c))}};
A.ag=function(a,b,c){var d=this.ek[b];if(null==d){for(var d=[],e=0;e<=gd;e++)d[e]=null;this.ek[b]=d}null==d[c]&&(d[c]=new nd(a),a=this.eo[c],null!=a?a.Bf(d[c]):this.co[c]=d[c],d[c].Cf(a),this.eo[c]=d[c])};var id=0,jd=1,md=2,kd=3,ld=4,gd=5,nd=function(a){this.body=a;this.nf=this.next=null};nd.prototype.Bf=ba("next");nd.prototype.Cf=ba("nf");nd.prototype.Pa=u("body");var ec=q();ec.prototype.Si=function(a,b){var c=a.iu(),d=b.iu();return c.fi==d.fi&&0!=c.fi?0<c.fi:0!=(c.Wk&d.gk)&&0!=(c.gk&d.Wk)};ec.bA=
new ec;var od=function(){this.LC=[];this.BD=[]},cc=q();cc.prototype.yn=q();var qd=function(a){this.Ia=a;this.ws=ec.bA;this.kh=cc.iv;this.Cw=new pd;this.Nk=new Pc};qd.prototype.hy=function(a,b){var c=a.Pa(),d=b.Pa();if(c!=d&&d.Si(c)&&this.ws.Si(a,b)){for(c=d.Qd.Ja(fd);c;c=c.next)if(d=c.Dc.Mb,d==a){if(d=c.Dc.Fb,d==b)return}else if(d==b&&(d=c.Dc.Fb,d==a))return;this.Cw.Qe(a,b)}};qd.prototype.Gn=function(){var a=this;this.Nk.Ez(function(b,c){a.hy(b,c)})};qd.prototype.lb=function(a){0<a.Le.cc&&(a.Mb.Pa().Bc(!0),
a.Fb.Pa().Bc(!0));a.qz();this.Cw.lb(a)};qd.prototype.ky=function(){for(var a=this.Ia.Qd.Ja(fd);a;a=a.next){var b=a.Dc,c=b.Mb,d=b.Fb,e=c.Pa(),g=d.Pa();if(!1!=e.nd()||!1!=g.nd()){if(b.Bo){if(!1==g.Si(e)){this.lb(b);continue}if(!1==this.ws.Si(c,d)){this.lb(b);continue}b.jy()}!1==this.Nk.Pl(c.Bj,d.Bj)?this.lb(b):b.Ru(this.kh)}}};var rd=function(){this.gk=1;this.Wk=65535;this.fi=0};rd.prototype.qc=function(){var a=new rd;a.gk=this.gk;a.Wk=this.Wk;a.fi=this.fi;return a};var ac=function(a,b,c){this.yd="Fixture"+
ac.rq++;this.pC=c.filter.qc();this.wj=Ac();this.Gm=a;this.sh=c.shape.qc();this.hp=c.Gf;this.zs=c.mg;this.Om=c.Fg;this.jp=c.Nr};A=ac.prototype;A.zc=u("sh");A.Pi=u("jp");A.iu=function(){return this.pC.qc()};A.Pa=u("Gm");A.ju=function(a){a||(a=new vc);this.sh.tl(a,this.hp);return a};A.lb=function(){zc.push(this.wj)};A.ul=function(a,b){this.sh.Vj(this.wj,b);this.Bj=a.ul(this.wj,this)};A.wl=function(a){null!=this.Bj&&(a.wl(this.Bj),this.Bj=null)};A.Pu=function(a,b,c){if(this.Bj){var d=Ac(),e=Ac();this.sh.Vj(d,
b);this.sh.Vj(e,c);this.wj.An(d,e);zc.push(d);zc.push(e);b=W.tb(c.position,b.position);a.pq(this.Bj,this.wj,b);T.Mc(b)}};ac.rq=0;var hc=function(){this.filter=new rd;this.filter.gk=1;this.filter.Wk=65535;this.filter.fi=0;this.shape=null;this.mg=0.2;this.Gf=this.Fg=0;this.Nr=!1},ed=function(){this.lr=this.kr=null;this.Do={}};ed.prototype.Ja=u("kr");ed.prototype.fy=function(a){var b=a.yd;if(null==this.Do[b]){a=new sd(a);var c=this.lr;null!=c?c.Bf(a):this.kr=a;a.Cf(c);this.lr=a;this.Do[b]=a}};ed.prototype.pz=
function(a){a=a.yd;var b=this.Do[a];if(null!=b){var c=b.nf,b=b.next;null==c?this.kr=b:c.Bf(b);null==b?this.lr=c:b.Cf(c);delete this.Do[a]}};var sd=function(a){this.Ze=a;this.nf=this.next=null};sd.prototype.Bf=ba("next");sd.prototype.Cf=ba("nf");var td=function(a,b){this.yC=a;this.Of=b;this.rg=[];this.ip=[];this.oi=[];this.mh=[];this.td=[]};A=td.prototype;A.zn=function(){this.rg=[];this.ip=[];this.oi=[];this.mh=[];this.td=[]};A.Oh=function(a,b,c){this.Lz(a,b);this.Of.hc(a,this.mh,this.mh.length);this.Rz(a);
this.Nz(a);this.Oz(a);this.Cu(this.Of.sg);c&&this.Mz(a)};A.Lz=function(a,b){for(var c=0;c<this.ip.length;c++){var d=this.ip[c];d.n.x+=a.Ba*(b.x+d.G*d.nh.x);d.n.y+=a.Ba*(b.y+d.G*d.nh.y);d.C+=a.Ba*d.O*d.Fj;d.n.zd(W.Ab(1-a.Ba*d.xC,0,1));d.C*=W.Ab(1-a.Ba*d.lC,0,1)}};A.Rz=function(a){this.Of.Re(a);for(var b=0;b<this.td.length;b++)this.td[b].Re(a);for(b=0;b<a.tn;b++){for(var c=0;c<this.td.length;c++)this.td[c].te(a);this.Of.te()}for(a=0;a<this.td.length;a++)this.td[a].hq();this.Of.hq()};A.Nz=function(a){for(var b=
0;b<this.oi.length;++b){var c=this.oi[b],d=a.Ba*c.n.x,e=a.Ba*c.n.y;4<d*d+e*e&&(c.n.Bd(),c.n.x=2*c.n.x*a.eh,c.n.y=2*c.n.y*a.eh);d=a.Ba*c.C;d*d>nc&&(c.C=0>c.C?-mc*a.eh:mc*a.eh);c.k.Uc.F(c.k.r);c.k.Se=c.k.I;c.k.r.x+=a.Ba*c.n.x;c.k.r.y+=a.Ba*c.n.y;c.k.I+=a.Ba*c.C;c.Kb()}};A.Oz=function(a){for(var b=0;b<a.an;b++){for(var c=this.Of.se(0.2),d=!0,e=0;e<this.td.length;e++)var g=this.td[e].se(0.2),d=d&&g;if(c&&d)break}};A.Mz=function(a){for(var b=Number.MAX_VALUE,c=0;c<this.oi.length;c++){var d=this.oi[c];
!d.us||Math.abs(d.C)>oc||1E-4<W.Jb(d.n,d.n)?b=d.Pm=0:(d.Pm+=a.Ba,b=Math.min(b,d.Pm))}if(0.5<=b)for(a=0;a<this.rg.length;a++)this.rg[a].Bc(!1)};A.Cq=function(a){var b=0,c=0;this.Of.hc(a,this.mh,this.mh.length);for(var d=this.Of,b=0;b<this.td.length;++b)this.td[b].Re(a);for(b=0;b<a.tn;++b)for(d.te(),c=0;c<this.td.length;++c)this.td[c].te(a);for(b=0;b<this.oi.length;++b){var c=this.oi[b],e=a.Ba*c.n.x,g=a.Ba*c.n.y;4<e*e+g*g&&(c.n.Bd(),c.n.x=2*c.n.x*a.eh,c.n.y=2*c.n.y*a.eh);e=a.Ba*c.C;e*e>nc&&(c.C=0>c.C?
-mc*a.eh:mc*a.eh);c.k.Uc.F(c.k.r);c.k.Se=c.k.I;c.k.r.x+=a.Ba*c.n.x;c.k.r.y+=a.Ba*c.n.y;c.k.I+=a.Ba*c.C;c.Kb()}for(b=0;b<a.an;++b){e=d.se(0.75);g=!0;for(c=0;c<this.td.length;++c)var f=this.td[c].se(0.2),g=g&&f;if(e&&g)break}this.Cu(d.sg)};A.Cu=function(a){if(null!=this.yC)for(var b=0;b<this.mh.length;++b)for(var c=a[b],d=new od,e=0;e<c.lf;++e)d.LC[e]=c.gc[e].ec,d.BD[e]=c.gc[e].Kg};A.Tj=function(a){this.rg.push(a);a.Nc()!=X.ve&&(this.oi.push(a),a.Nc()==X.rc&&this.ip.push(a))};A.Uj=function(a){this.mh.push(a)};
A.Yt=function(a){this.td.push(a)};var ud=function(a,b,c,d,e){this.Ba=a;var g=0;0<a&&(g=1/a);this.eh=g;this.sc=b;this.an=c;this.tn=d;this.Hh=e},fc=function(a,b){this.Id=new qd(this);this.Of=new vd;this.Gs=!1;this.Rc=new hd;this.Qd=new cd;this.Gb=null;this.bj=new dd;this.kp=0;this.nC=this.EC=!0;this.us=b;this.As=a;this.Dw=0;this.tC=this.cq(new X)};fc.Ay=1-100*Number.MIN_VALUE;A=fc.prototype;A.Gu=function(a){this.Id.ws=a};A.Hu=function(a){this.Id.kh=a};A.cq=function(a){a=new bc(a,this);this.Rc.Tj(a);
return a};A.En=function(a){for(var b=a.Gb;b;){var c=b,b=b.next;this.Fn(c.gh)}for(b=a.bj.Ja();b;b=b.next)b.vv.Jl(a);for(b=a.Qd.Ja(fd);b;b=b.next)this.Id.lb(b.Dc);for(b=a.jq().Ja();b;b=b.next)a.du(b.Ze);a.lb();this.Rc.Jl(a)};A.Dn=function(a){var b=Z.Qe(a);b.Qk=null;if(b.ni=this.Gb)this.Gb.Qk=b;this.Gb=b;this.kp++;b.Jd.gh=b;b.Jd.Ne=b.U;b.Jd.prev=null;if(b.Jd.next=b.S.Gb)b.S.Gb.prev=b.Jd;b.S.Gb=b.Jd;b.Kd.gh=b;b.Kd.Ne=b.S;b.Kd.prev=null;if(b.Kd.next=b.U.Gb)b.U.Gb.prev=b.Kd;b.U.Gb=b.Kd;var c=a.J,d=a.L;
if(!a.Pq)for(a=d.Qd.Ja(fd);a;a=a.next)a.Dc.Jn(d)==c&&a.Dc.gu();return b};A.Fn=function(a){var b=a.Bw;a.Qk&&(a.Qk.ni=a.ni);a.ni&&(a.ni.Qk=a.Qk);a==this.Gb&&(this.Gb=a.ni);var c=a.S,d=a.U;c.Bc(!0);d.Bc(!0);a.Jd.prev&&(a.Jd.prev.next=a.Jd.next);a.Jd.next&&(a.Jd.next.prev=a.Jd.prev);a.Jd==c.Gb&&(c.Gb=a.Jd.next);a.Jd.prev=null;a.Jd.next=null;a.Kd.prev&&(a.Kd.prev.next=a.Kd.next);a.Kd.next&&(a.Kd.next.prev=a.Kd.prev);a.Kd==d.Gb&&(d.Gb=a.Kd.next);a.Kd.prev=null;a.Kd.next=null;this.kp--;if(!b)for(a=d.Qd.Ja(fd);a;a=
a.next)a.Dc.Jn(d)==c&&a.Dc.gu()};A.ql=function(a){if(null!==a.Ia&&a.Ia!=this)throw Error("Controller can only be a member of one world");this.bj.ql(a);a.Ia=this;return a};A.Kl=function(a){this.bj.Kl(a);a.Ia=null;a.zn()};A.Sn=ba("As");A.Rg=function(a,b,c){this.Gs&&(this.Id.Gn(),this.Gs=!1);a=new ud(a,this.Dw*a,b,c,this.EC);this.Id.ky();0<a.Ba&&(this.Oh(a),this.nC&&this.Cq(a),this.Dw=a.eh)};A.cu=function(){for(var a=this.Rc.Ja(id);a;a=a.next)a.body.nh.da(),a.body.Fj=0};A.Kh=u("Qd");var wd=[];fc.prototype.Oh=
function(a){for(var b=this.bj.Ja();b;b=b.next)b.vv.Rg(a);for(var b=new td(this.Id.kh,this.Of),c=this.Rc.Ja(gd);c;c=c.next)c.body.yb=!1;for(var d=this.Qd.Ja(fd);d;d=d.next)d.Dc.yb=!1;for(c=this.Gb;c;c=c.ni)c.yb=!1;for(c=this.Rc.Ja(kd);c;c=c.next)if(d=c.body,!d.yb){b.zn();wd.length=0;var e=wd;e.push(d);for(d.yb=!0;0<e.length;){var g=e.pop();b.Tj(g);g.nd()||g.Bc(!0);if(g.Nc()!=X.ve){for(d=g.Qd.Ja(xd);d;d=d.next){var f=d.Dc;f.yb||(b.Uj(f),f.yb=!0,f=f.Jn(g),f.yb||(e.push(f),f.yb=!0))}for(d=g.Gb;d;d=d.next)!d.gh.yb&&
d.Ne.Oi()&&(b.Yt(d.gh),d.gh.yb=!0,d.Ne.yb||(e.push(d.Ne),d.Ne.yb=!0))}}b.Oh(a,this.As,this.us)}for(c=this.Rc.Ja(kd);c;c=c.next)c.body.Qu();this.Id.Gn()};fc.prototype.Cq=function(a){for(var b=new td(this.Id.kh,this.Of),c=this.Rc.Ja(gd);c;c=c.next){var d=c.body;d.yb=!1;d.k.wd=0}for(var e=this.Qd.Ja(fd);e;e=e.next)e.Dc.yb=!1,e.Dc.Uk=null;for(c=this.Gb;c;c=c.ni)c.yb=!1;for(;;){var c=this.Pz(),g=c.JC,c=c.KC;if(null===g||fc.Ay<c)break;e=g.Mb.Pa();d=g.Fb.Pa();fc.wx.Set(e.k);fc.xx.Set(d.k);e.Ih(c);d.Ih(c);
g.Ru(this.Id.kh);g.Uk=null;if(g.Kp||!g.enabled)e.k.Set(fc.wx),d.k.Set(fc.xx),e.Kb(),d.Kb();else if(g.pn){e.Nc()!=X.rc&&(e=d);b.zn();wd.length=0;g=wd;g.push(e);for(e.yb=!0;0<g.length;)if(d=g.pop(),b.Tj(d),d.nd()||d.Bc(!0),d.Nc()==X.rc){for(e=d.Qd.Ja(xd);e&&32!=b.mC;e=e.next){var f=e.Dc;f.yb||(b.Uj(f),f.yb=!0,f=f.Jn(d),f.yb||(f.Nc()!=X.ve&&(f.Ih(c),f.Bc(!0),g.push(f)),f.yb=!0))}for(d=d.Gb;d;d=d.next)32!=b.kp&&!d.gh.yb&&d.Ne.Oi()&&(b.Yt(d.gh),d.gh.yb=!0,d.Ne.yb||(d.Ne.Nc()!=X.ve&&(d.Ne.Ih(c),d.Ne.Bc(!0),
g.push(d.Ne)),d.Ne.yb=!0))}b.Cq(new ud((1-c)*a.Ba,0,a.tn,a.an,!1));for(c=0;c<b.rg.length;c++)if(b.rg[c].yb=!1,b.rg[c].nd()&&b.rg[c].Nc()==X.rc)for(b.rg[c].Qu(),e=b.rg[c].Qd.Ja(fd);e;e=e.next)e.Dc.Uk=null;for(c=0;c<b.mC;c++)b.mh[c].yb=!1,b.mh[c].Uk=null;for(c=0;c<b.kp;c++)b.td[c].yb=!1;this.Id.Gn()}}};fc.prototype.Pz=function(){for(var a=null,b=1,c=this.Qd.Ja(yd);c;c=c.next){var d=c.Dc;if(!this.Qz(d)){var e=1;if(null!=d.Uk)e=d.Uk;else{if(d.pn)e=1;else{var e=d.Mb.Pa(),g=d.Fb.Pa(),f=e.k.wd;e.k.wd<g.k.wd?
(f=g.k.wd,e.k.Ih(f)):g.k.wd<e.k.wd&&(f=e.k.wd,g.k.Ih(f));e=d.oy(e.k,g.k);0<e&&1>e&&(e=(1-e)*f+e)}d.Uk=e}Number.MIN_VALUE<e&&e<b&&(a=d,b=e)}}return{JC:a,KC:b}};fc.prototype.Qz=function(a){var b=a.Mb.Pa();a=a.Fb.Pa();return b.Nc()==X.rc&&b.nd()||a.Nc()==X.rc&&a.nd()?!1:!0};var Ad=function(a,b){this.yd="Contact"+zd++;this.Le=new Uc;this.Mm=new Uc;this.pn=!1;var c=a.Pa(),d=b.Pa();this.Qq=c.Nc()!=X.rc||c.Ok||d.Nc()!=X.rc||d.Ok;this.Kp=a.Pi()||b.Pi();this.Bo=!1;this.Mb=a;this.Fb=b;this.enabled=!0;this.ao=
c.Kh();this.bo=d.Kh();this.aq=d.Ia.Kh();this.Zt()};A=Ad.prototype;A.Oc=function(a,b){this.Le.Oc();this.Mm.Oc();this.pn=!1;var c=a.Pa(),d=b.Pa();this.Qq=c.Nc()!=X.rc||c.Ok||d.Nc()!=X.rc||d.Ok;this.Kp=a.Pi()||b.Pi();this.Bo=!1;this.Mb=a;this.Fb=b;this.enabled=!0;this.ao=c.Kh();this.bo=d.Kh();this.aq=d.Ia.Kh();this.Zt()};A.Zt=function(){this.ao.Uj(this);this.bo.Uj(this);this.aq.Uj(this);this.Tu()};A.Tu=function(){var a=!1,b=!1;!this.Pi()&&this.enabled&&(this.oq()&&(a=!0),this.Qq&&(b=!0));this.ao.Fq(this,
a,b);this.bo.Fq(this,a,b);this.aq.Fq(this,a,b)};A.qz=function(){this.ao.wq(this);this.bo.wq(this);this.aq.wq(this)};A.oq=u("pn");A.Pi=u("Kp");A.Jn=function(a){var b=this.Mb.Pa();return b!=a?b:this.Fb.Pa()};A.gu=function(){this.Bo=!0};A.jy=function(){this.Bo=!1};A.Ru=function(a){var b=this.Mm;this.Mm=this.Le;this.Le=b;this.enabled=!0;var c=!1,b=this.oq(),d=this.Mb.Pa(),e=this.Fb.Pa(),g=this.Mb.wj.Pl(this.Fb.wj);if(this.Kp){if(g){var c=this.Mb.zc(),d=d.be(),g=this.Fb.zc(),f=e.be(),e=new Kc;e.wh=new Mc;
e.wh.Set(c);e.xh=new Mc;e.xh.Set(g);e.Up=d;e.Vp=f;e.Yx=!0;d=new $c;d.count=0;c=new Lc;Fc(c,d,e);c=c.$g<10*Number.MIN_VALUE}this.Le.cc=0}else{this.Qq=d.Nc()!=X.rc||d.Ok||e.Nc()!=X.rc||e.Ok?!0:!1;if(g)for(this.bg(),c=0<this.Le.cc,g=0;g<this.Le.cc;g++){f=this.Le.ha[g];f.Aj=0;for(var h=f.Ej=0;h<this.Mm.cc;h++){var l=this.Mm.ha[h];if(l.hf.Cd==f.hf.Cd){f.Aj=l.Aj;f.Ej=l.Ej;break}}}else this.Le.cc=0;c!=b&&(d.Bc(!0),e.Bc(!0))}this.pn=c;c!=b&&this.Tu();!b&&c&&a.yn(this)};A.bg=q();A.oy=function(a,b){Bd.wh.Set(this.Mb.zc());
Bd.xh.Set(this.Fb.zc());Bd.Kx=a;Bd.Lx=b;Bd.FD=0.005;var c=Bd;Cd++;var d=c.wh,e=c.xh,g=c.Kx,f=c.Lx,h=d.Wa+e.Wa,c=c.FD,l=0,m=0,n=0;Dd.count=0;for(Ed.Yx=!1;;){g.be(Fd,l);f.be(Gd,l);Ed.wh=d;Ed.xh=e;Ed.Up=Fd;Ed.Vp=Gd;Fc(Ld,Dd,Ed);if(0>=Ld.$g){l=1;break}Md.hc(Dd,d,Fd,e,Gd);var k=Md.bg(Fd,Gd);if(0>=k){l=1;break}0==m&&(n=k>h?Math.max(h-c,0.75*h):Math.max(k-c,0.02*h));if(k-n<0.5*c){if(0==m){l=1;break}break}var p=l,s=l,t=1;g.be(Fd,t);f.be(Gd,t);var r=Md.bg(Fd,Gd);if(r>=n){l=1;break}for(var y=0;;){var H=0,H=
y&1?s+(n-k)*(t-s)/(r-k):0.5*(s+t);g.be(Fd,H);f.be(Gd,H);var J=Md.bg(Fd,Gd);if(Math.abs(J-n)<0.025*c){p=H;break}J>n?(s=H,k=J):(t=H,r=J);y++;Nd++;if(50==y)break}Od=Math.max(Od,y);if(p<(1+100*Number.MIN_VALUE)*l)break;l=p;m++;Pd++;if(1E3==m)break}Qd=Math.max(Qd,m);return l};var Bd=new ad,zd=0,Rd=function(a,b){Ad.call(this,a,b)};R(Rd,Ad);Rd.prototype.Oc=function(a,b){Ad.prototype.Oc.call(this,a,b)};Rd.prototype.bg=function(){var a=this.Le,b=this.Mb.zc(),c=this.Mb.Pa().u,d=this.Fb.zc(),e=this.Fb.Pa().u;
a.cc=0;var g=e.position.x+(e.m.i.x*d.gb.x+e.m.j.x*d.gb.y)-(c.position.x+(c.m.i.x*b.gb.x+c.m.j.x*b.gb.y)),c=e.position.y+(e.m.i.y*d.gb.x+e.m.j.y*d.gb.y)-(c.position.y+(c.m.i.y*b.gb.x+c.m.j.y*b.gb.y)),e=b.Wa+d.Wa;g*g+c*c>e*e||(a.Na=1,a.va.F(b.gb),a.Xc.da(),a.cc=1,a.ha[0].va.F(d.gb),a.ha[0].hf.Qi(0))};var Td=function(){this.qg=T.p(0,0);this.ac=T.p(0,0);this.ud=T.p(0,0);this.vh=new U;this.de=new U;this.gc=[];for(var a=0;2>a;a++)this.gc[a]=new Sd},Sd=function(){this.ac=T.p(0,0);this.Qb=T.p(0,0);this.Rb=
T.p(0,0)};Sd.prototype.Oc=function(){this.ac.Set(0,0);this.Qb.Set(0,0);this.Rb.Set(0,0)};var pd=function(){this.Qf={};this.oh={};this.rl(Rd,gc.zf,gc.zf);this.rl(Ud,Y.zf,gc.zf);this.rl(Vd,Y.zf,Y.zf);this.rl(Wd,"b2EdgeShape",gc.zf);this.rl(Xd,Y.zf,"b2EdgeShape")};pd.prototype.rl=function(a,b,c){this.oh[b]=this.oh[b]||{};this.oh[b][c]=this.oh[b][c]||[];this.Qf[b]=this.Qf[b]||{};this.Qf[b][c]=new Yd;this.Qf[b][c].xv=a;this.Qf[b][c].ix=!0;b!=c&&(this.Qf[c]=this.Qf[c]||{},this.Qf[c][b]=new Yd,this.Qf[c][b].xv=
a,this.Qf[c][b].ix=!1)};pd.prototype.Qe=function(a,b){var c=a.zc().Ni(),d=b.zc().Ni(),e=this.Qf[c][d],g=e.xv;return null!=g?e.ix?0<this.oh[c][d].length?(c=this.oh[c][d].pop(),c.Oc(a,b),c):new g(a,b):0<this.oh[d][c].length?(c=this.oh[d][c].pop(),c.Oc(b,a),c):new g(b,a):null};pd.prototype.lb=function(a){var b=a.Mb.zc().Ni(),c=a.Fb.zc().Ni();this.oh[b][c].push(a)};var cd=function(){this.lo=[];for(var a=0;a<=fd;a++)this.lo[a]=null;this.mo=[];for(a=0;a<=fd;a++)this.mo[a]=null;this.aj={}};A=cd.prototype;
A.Ja=function(a){return this.lo[a]};A.Uj=function(a){var b=a.yd;if(null==this.aj[b]){this.aj[b]=[];for(var c=0;c<=fd;c++)this.aj[b][c]=null;this.ag(a,b,fd)}};A.Fq=function(a,b,c){b?this.ag(a,a.yd,xd):this.eg(a.yd,xd);c?this.ag(a,a.yd,yd):this.eg(a.yd,yd)};A.wq=function(a){a=a.yd;if(null!=this.aj[a]){for(var b=0;b<=fd;b++)this.eg(a,b);delete this.aj[a]}};A.eg=function(a,b){var c=this.aj[a];if(null!=c){var d=c[b];if(null!=d){c[b]=null;var c=d.nf,e=d.next;null==c?this.lo[b]=e:c.Bf(e);null==e?this.mo[b]=
c:e.Cf(c);Zd.push(d)}}};A.ag=function(a,b,c){b=this.aj[b];if(null==b[c]){if(0<Zd.length){var d=Zd.pop();d.next=null;d.nf=null;d.Dc=a;a=d}else a=new $d(a);b[c]=a;a=this.mo[c];null!=a?(a.Bf(b[c]),b[c].Cf(a)):this.lo[c]=b[c];this.mo[c]=b[c]}};var xd=0,yd=1,fd=2,$d=function(a){this.Dc=a;this.nf=this.next=null},Zd=[];$d.prototype.Bf=ba("next");$d.prototype.Cf=ba("nf");var Yd=q(),ae=function(){this.wa=T.p(0,0);this.pp=[];this.ha=[];for(var a=0;2>a;a++)this.ha[a]=T.p(0,0)};ae.prototype.hc=function(a){switch(a.type){case 1:this.Iz(a);
break;case 2:this.Jz(a);break;case 4:this.Kz(a)}};ae.prototype.Iz=function(a){var b=a.J.u.m,c=a.ac,d=a.J.u.position.x+(b.i.x*c.x+b.j.x*c.y),e=a.J.u.position.y+(b.i.y*c.x+b.j.y*c.y),b=a.L.u.m,c=a.gc[0].ac,g=a.L.u.position.x+(b.i.x*c.x+b.j.x*c.y),b=a.L.u.position.y+(b.i.y*c.x+b.j.y*c.y),c=g-d,f=b-e,h=c*c+f*f;h>pc?(h=Math.sqrt(h),this.wa.x=c/h,this.wa.y=f/h):(this.wa.x=1,this.wa.y=0);this.ha[0].x=0.5*(d+g);this.ha[0].y=0.5*(e+b);this.pp[0]=c*this.wa.x+f*this.wa.y-a.Dp};ae.prototype.Jz=function(a){this.wa.x=
a.J.u.m.i.x*a.qg.x+a.J.u.m.j.x*a.qg.y;this.wa.y=a.J.u.m.i.y*a.qg.x+a.J.u.m.j.y*a.qg.y;for(var b=a.J.u.position.x+(a.J.u.m.i.x*a.ac.x+a.J.u.m.j.x*a.ac.y),c=a.J.u.position.y+(a.J.u.m.i.y*a.ac.x+a.J.u.m.j.y*a.ac.y),d=0;d<a.lf;d++){var e=a.L.u.position.x+(a.L.u.m.i.x*a.gc[d].ac.x+a.L.u.m.j.x*a.gc[d].ac.y),g=a.L.u.position.y+(a.L.u.m.i.y*a.gc[d].ac.x+a.L.u.m.j.y*a.gc[d].ac.y);this.pp[d]=(e-b)*this.wa.x+(g-c)*this.wa.y-a.Dp;this.ha[d].x=e;this.ha[d].y=g}};ae.prototype.Kz=function(a){this.wa.x=a.L.u.m.i.x*
a.qg.x+a.L.u.m.j.x*a.qg.y;this.wa.y=a.L.u.m.i.y*a.qg.x+a.L.u.m.j.y*a.qg.y;for(var b=a.L.u.position.x+(a.L.u.m.i.x*a.ac.x+a.L.u.m.j.x*a.ac.y),c=a.L.u.position.y+(a.L.u.m.i.y*a.ac.x+a.L.u.m.j.y*a.ac.y),d=0;d<a.lf;d++){var e=a.J.u.position.x+(a.J.u.m.i.x*a.gc[d].ac.x+a.J.u.m.j.x*a.gc[d].ac.y),g=a.J.u.position.y+(a.J.u.m.i.y*a.gc[d].ac.x+a.J.u.m.j.y*a.gc[d].ac.y);this.pp[d]=(e-b)*this.wa.x+(g-c)*this.wa.y-a.Dp;this.ha[d].Set(e,g)}this.wa.x*=-1;this.wa.y*=-1};var vd=function(){this.sg=[]};A=vd.prototype;
A.hc=function(a,b,c){for(this.Hm=c;this.sg.length<this.Hm;)this.sg[this.sg.length]=new Td;for(a=0;a<c;a++){var d=b[a],e=d.Mb,g=d.Fb,f=e.sh.Wa,h=g.sh.Wa,l=e.Pa(),m=g.Pa(),n=d.Le,k=Math.sqrt(e.zs*g.zs),p=e.Om>g.Om?e.Om:g.Om,s=l.n.x,t=l.n.y,r=m.n.x,y=m.n.y,H=l.C,J=m.C;be.hc(n,l.u,f,m.u,h);g=be.wa.x;d=be.wa.y;e=this.sg[a];e.J=l;e.L=m;e.FC=n;e.ud.x=g;e.ud.y=d;e.lf=n.cc;e.mg=k;e.Fg=p;e.qg.x=n.Xc.x;e.qg.y=n.Xc.y;e.ac.x=n.va.x;e.ac.y=n.va.y;e.Dp=f+h;e.type=n.Na;for(f=0;f<e.lf;++f){k=n.ha[f];h=e.gc[f];h.ec=
k.Aj;h.Kg=k.Ej;h.ac.F(k.va);var k=h.Qb.x=be.ha[f].x-l.k.r.x,p=h.Qb.y=be.ha[f].y-l.k.r.y,E=h.Rb.x=be.ha[f].x-m.k.r.x,C=h.Rb.y=be.ha[f].y-m.k.r.y,K=k*d-p*g,x=E*d-C*g,K=K*K,x=x*x;h.vh=1/(l.G+m.G+l.O*K+m.O*x);var z=l.P*l.G+m.P*m.G,z=z+(l.P*l.O*K+m.P*m.O*x);h.LA=1/z;x=d;z=-g;K=k*z-p*x;x=E*z-C*x;K*=K;x*=x;h.CD=1/(l.G+m.G+l.O*K+m.O*x);h.sn=0;k=e.ud.x*(r+-J*C-s- -H*p)+e.ud.y*(y+J*E-t-H*k);-1>k&&(h.sn+=-e.Fg*k)}2==e.lf&&(y=e.gc[0],r=e.gc[1],n=l.G,l=l.O,s=m.G,m=m.O,t=y.Qb.x*d-y.Qb.y*g,y=y.Rb.x*d-y.Rb.y*g,H=
r.Qb.x*d-r.Qb.y*g,r=r.Rb.x*d-r.Rb.y*g,g=n+s+l*t*t+m*y*y,d=n+s+l*H*H+m*r*r,m=n+s+l*t*H+m*y*r,g*g<100*(g*d-m*m)?(e.de.i.Set(g,m),e.de.j.Set(m,d),e.de.kq(e.vh)):e.lf=1)}};A.Re=function(a){for(var b=0;b<this.Hm;++b){var c=this.sg[b],d=c.J,e=c.L,g=d.G,f=d.O,h=e.G,l=e.O,m=c.ud.x,n=c.ud.y,k=n,p=-m,s=0,t=0;if(a.Hh)for(t=c.lf,s=0;s<t;++s){var r=c.gc[s];r.ec*=a.sc;r.Kg*=a.sc;var y=r.ec*m+r.Kg*k,H=r.ec*n+r.Kg*p;d.C-=f*(r.Qb.x*H-r.Qb.y*y);d.n.x-=g*y;d.n.y-=g*H;e.C+=l*(r.Rb.x*H-r.Rb.y*y);e.n.x+=h*y;e.n.y+=h*H}else for(t=
c.lf,s=0;s<t;++s)d=c.gc[s],d.ec=0,d.Kg=0}};A.te=function(){for(var a=0;a<this.Hm;a++)this.xz(this.sg[a])};A.xz=function(a){for(var b=a.ud.x,c=a.ud.y,d=0;d<a.lf;d++)vd.prototype.yz(a,a.gc[d]);if(1==a.lf){var d=a.gc[0],e=d.ec-d.vh*((a.L.n.x-a.L.C*d.Rb.y-a.J.n.x+a.J.C*d.Qb.y)*b+(a.L.n.y+a.L.C*d.Rb.x-a.J.n.y-a.J.C*d.Qb.x)*c-d.sn),e=0<e?e:0,g=e-d.ec,f=g*b,c=g*c;a.J.n.x-=a.J.G*f;a.J.n.y-=a.J.G*c;a.J.C-=a.J.O*(d.Qb.x*c-d.Qb.y*f);a.L.n.x+=a.L.G*f;a.L.n.y+=a.L.G*c;a.L.C+=a.L.O*(d.Rb.x*c-d.Rb.y*f);d.ec=e}else for(var d=
a.gc[0],e=a.gc[1],g=d.ec,f=e.ec,h=(a.L.n.x-a.L.C*d.Rb.y-a.J.n.x+a.J.C*d.Qb.y)*b+(a.L.n.y+a.L.C*d.Rb.x-a.J.n.y-a.J.C*d.Qb.x)*c-d.sn,c=(a.L.n.x-a.L.C*e.Rb.y-a.J.n.x+a.J.C*e.Qb.y)*b+(a.L.n.y+a.L.C*e.Rb.x-a.J.n.y-a.J.C*e.Qb.x)*c-e.sn,h=h-(a.de.i.x*g+a.de.j.x*f),c=c-(a.de.i.y*g+a.de.j.y*f);;){b=-(a.vh.i.x*h+a.vh.j.x*c);if(0<=b){var l=-(a.vh.i.y*h+a.vh.j.y*c);if(0<=l){this.Un(a,d,e,b-g,l-f);d.ec=b;e.ec=l;break}}b=-d.vh*h;if(0<=b&&0<=a.de.i.y*b+c){this.Un(a,d,e,b-g,-f);d.ec=b;e.ec=0;break}b=-e.vh*c;if(0<=
b&&0<=a.de.j.x*b+h){this.Un(a,d,e,-g,b-f);d.ec=0;e.ec=b;break}if(0<=h&&0<=c){this.Un(a,d,e,-g,-f);d.ec=0;e.ec=0;break}break}};A.yz=function(a,b){var c=a.ud.y,d=-a.ud.x,e=a.mg*b.ec,e=W.Ab(b.Kg-b.CD*((a.L.n.x-a.L.C*b.Rb.y-a.J.n.x+a.J.C*b.Qb.y)*c+(a.L.n.y+a.L.C*b.Rb.x-a.J.n.y-a.J.C*b.Qb.x)*d),-e,e),g=e-b.Kg,c=g*c,d=g*d;a.J.n.x-=a.J.G*c;a.J.n.y-=a.J.G*d;a.J.C-=a.J.O*(b.Qb.x*d-b.Qb.y*c);a.L.n.x+=a.L.G*c;a.L.n.y+=a.L.G*d;a.L.C+=a.L.O*(b.Rb.x*d-b.Rb.y*c);b.Kg=e};A.Un=function(a,b,c,d,e){var g=d*a.ud.x;d*=
a.ud.y;var f=e*a.ud.x;e*=a.ud.y;a.J.n.x-=a.J.G*(g+f);a.J.n.y-=a.J.G*(d+e);a.J.C-=a.J.O*(b.Qb.x*d-b.Qb.y*g+c.Qb.x*e-c.Qb.y*f);a.L.n.x+=a.L.G*(g+f);a.L.n.y+=a.L.G*(d+e);a.L.C+=a.L.O*(b.Rb.x*d-b.Rb.y*g+c.Rb.x*e-c.Rb.y*f);b.ec=0;c.ec=0};A.hq=function(){for(var a=0;a<this.Hm;++a)for(var b=this.sg[a],c=b.FC,d=0;d<b.lf;++d){var e=c.ha[d],g=b.gc[d];e.Aj=g.ec;e.Ej=g.Kg}};A.se=function(a){void 0===a&&(a=0);for(var b=0,c=0;c<this.Hm;c++){var d=this.sg[c],e=d.J,g=d.L,f=e.P*e.G,h=e.P*e.O,l=g.P*g.G,m=g.P*g.O;ce.hc(d);
for(var n=ce.wa,k=0;k<d.lf;k++){var p=d.gc[k],s=ce.ha[k],t=ce.pp[k],r=s.x-e.k.r.x,y=s.y-e.k.r.y,H=s.x-g.k.r.x,s=s.y-g.k.r.y,b=b<t?b:t,t=-p.LA*W.Ab(a*(t+0.005),-0.2,0),p=t*n.x,t=t*n.y;e.k.r.x-=f*p;e.k.r.y-=f*t;e.k.I-=h*(r*t-y*p);e.Kb();g.k.r.x+=l*p;g.k.r.y+=l*t;g.k.I+=m*(H*t-s*p);g.Kb()}}return-0.0075<b};var Wd=function(a,b){Ad.call(this,a,b)};R(Wd,Ad);Wd.prototype.Oc=function(a,b){Ad.prototype.Oc.call(this,a,b)};Wd.prototype.bg=function(){this.Mb.zc();this.Fb.zc()};var Ud=function(a,b){Ad.call(this,
a,b)};R(Ud,Ad);Ud.prototype.Oc=function(a,b){Ad.prototype.Oc.call(this,a,b)};Ud.prototype.bg=function(){a:{var a=this.Le,b=this.Mb.zc(),c=this.Mb.Pa().u,d=this.Fb.zc(),e=this.Fb.Pa().u;a.cc=0;for(var g=e.position.x+(e.m.i.x*d.gb.x+e.m.j.x*d.gb.y)-c.position.x,f=e.position.y+(e.m.i.y*d.gb.x+e.m.j.y*d.gb.y)-c.position.y,e=g*c.m.i.x+f*c.m.i.y,c=g*c.m.j.x+f*c.m.j.y,g=0,f=-Number.MAX_VALUE,h=b.Wa+d.Wa,l=0;l<b.La;++l){var m=b.xa[l].x*(e-b.H[l].x)+b.xa[l].y*(c-b.H[l].y);if(m>h)break a;m>f&&(f=m,g=l)}m=g+
1;m>=b.La&&(m=0);var l=b.H[g],n=b.H[m];f<Number.MIN_VALUE?(a.cc=1,a.Na=2,a.Xc.F(b.xa[g]),a.va.x=0.5*(l.x+n.x),a.va.y=0.5*(l.y+n.y),a.ha[0].va.F(d.gb),a.ha[0].hf.Qi(0)):0>=(e-l.x)*(n.x-l.x)+(c-l.y)*(n.y-l.y)?(e-l.x)*(e-l.x)+(c-l.y)*(c-l.y)>h*h||(a.cc=1,a.Na=2,a.Xc.x=e-l.x,a.Xc.y=c-l.y,a.Xc.Bd(),a.va.F(l),a.ha[0].va.F(d.gb),a.ha[0].hf.Qi(0)):0>=(e-n.x)*(l.x-n.x)+(c-n.y)*(l.y-n.y)?(e-n.x)*(e-n.x)+(c-n.y)*(c-n.y)>h*h||(a.cc=1,a.Na=2,a.Xc.x=e-n.x,a.Xc.y=c-n.y,a.Xc.Bd(),a.va.F(n),a.ha[0].va.F(d.gb),a.ha[0].hf.Qi(0)):
(m=0.5*(l.x+n.x),l=0.5*(l.y+n.y),f=(e-m)*b.xa[g].x+(c-l)*b.xa[g].y,f>h||(a.cc=1,a.Na=2,a.Xc.x=b.xa[g].x,a.Xc.y=b.xa[g].y,a.Xc.Bd(),a.va.Set(m,l),a.ha[0].va.F(d.gb),a.ha[0].hf.Qi(0)))}};var Xd=function(a,b){Ad.call(this,a,b)};R(Xd,Ad);Xd.prototype.Oc=function(a,b){Ad.prototype.Oc.call(this,a,b)};Xd.prototype.bg=function(){this.Mb.zc();this.Fb.zc()};var Vd=function(a,b){Ad.call(this,a,b)};R(Vd,Ad);Vd.prototype.Oc=function(a,b){Ad.prototype.Oc.call(this,a,b)};Vd.prototype.bg=function(){var a=this.Le,
b=this.Mb.zc(),c=this.Mb.Pa().u,d=this.Fb.zc(),e=this.Fb.Pa().u;a.cc=0;var g=b.Wa+d.Wa,f=Dc(b,c,d,e),h=f.kv;if(!(f.Lp>g)){var l=Dc(d,e,b,c);if(!(l.Lp>g)){var m=b,n=d,k=c,p=e,s=0;a.Na=2;l.Lp>0.98*f.Lp+0.001&&(m=d,n=b,k=e,p=c,h=l.kv,a.Na=4,s=1);b=h;c=p;d=de;void 0===b&&(b=0);for(var e=k.m.i.x*m.xa[b].x+k.m.j.x*m.xa[b].y,f=k.m.i.y*m.xa[b].x+k.m.j.y*m.xa[b].y,l=c.m.i.x*e+c.m.i.y*f,f=c.m.j.x*e+c.m.j.y*f,e=l,l=0,t=Number.MAX_VALUE,r=0;r<n.La;r++){var y=e*n.xa[r].x+f*n.xa[r].y;y<t&&(t=y,l=r)}e=l+1;e>=n.La&&
(e=0);d[0].Pe.x=c.position.x+(c.m.i.x*n.H[l].x+c.m.j.x*n.H[l].y);d[0].Pe.y=c.position.y+(c.m.i.y*n.H[l].x+c.m.j.y*n.H[l].y);d[0].id.Ku(b);d[0].id.Iu(l);d[0].id.Ju(0);d[1].Pe.x=c.position.x+(c.m.i.x*n.H[e].x+c.m.j.x*n.H[e].y);d[1].Pe.y=c.position.y+(c.m.i.y*n.H[e].x+c.m.j.y*n.H[e].y);d[1].id.Ku(b);d[1].id.Iu(e);d[1].id.Ju(1);b=m.H[h];h=h+1<m.La?m.H[h+1]:m.H[0];ee.Set(h.x-b.x,h.y-b.y);ee.Bd();fe.x=ee.y;fe.y=-ee.x;ge.Set(0.5*(b.x+h.x),0.5*(b.y+h.y));he.x=k.m.i.x*ee.x+k.m.j.x*ee.y;he.y=k.m.i.y*ee.x+k.m.j.y*
ee.y;ie.x=-he.x;ie.y=-he.y;je.x=he.y;je.y=-he.x;ke.x=k.position.x+(k.m.i.x*b.x+k.m.j.x*b.y);ke.y=k.position.y+(k.m.i.y*b.x+k.m.j.y*b.y);le.x=k.position.x+(k.m.i.x*h.x+k.m.j.x*h.y);le.y=k.position.y+(k.m.i.y*h.x+k.m.j.y*h.y);if(!(2>Bc(me,de,ie,-he.x*ke.x-he.y*ke.y+g)||2>Bc(ne,me,he,he.x*le.x+he.y*le.y+g))){a.Xc.F(fe);a.va.F(ge);k=je.x*ke.x+je.y*ke.y;for(m=h=0;2>m;++m)je.x*ne[m].Pe.x+je.y*ne[m].Pe.y-k<=g&&(b=ne[m].Pe.x-p.position.x,n=ne[m].Pe.y-p.position.y,a.ha[h].va.x=b*p.m.i.x+n*p.m.i.y,a.ha[h].va.y=
b*p.m.j.x+n*p.m.j.y,a.ha[h].hf.Set(ne[m].id),a.ha[h].hf.tz(s),h++);a.cc=h}}}};var pe=function(){this.yd="Controller"+oe++;this.Ia=null;this.Rc=new hd};pe.prototype.Rg=q();pe.prototype.Tj=function(a){this.Rc.Tj(a);a.ql(this)};pe.prototype.Jl=function(a){this.Rc.Jl(a);a.Kl(this)};pe.prototype.zn=function(){for(var a=this.Rc.Ja(gd);a;a=a.next)this.Jl(a.body)};var oe=0,qe=function(){pe.call(this);this.ud=T.p(0,-1);this.Gf=this.offset=0;this.ay=T.p(0,0);this.hC=2;this.Zz=1;this.LD=!0;this.Tv=null};R(qe,
pe);qe.prototype.Rg=function(){this.LD&&(this.Tv=this.Ia.As.qc());for(var a=this.Rc.Ja(ld);a;a=a.next){for(var b=a.body,c=T.p(0,0),d=T.p(0,0),e=0,g=0,f=b.jq().Ja();f;f=f.next){var h=T.p(0,0),l=f.Ze.zc().Bn(this.ud,this.offset,b.be(),h),e=e+l;c.x+=l*h.x;c.y+=l*h.y;var m=0,m=1,g=g+l*m;d.x+=l*h.x*m;d.y+=l*h.y*m}e<Number.MIN_VALUE||(c.x/=e,c.y/=e,d.x/=g,d.y/=g,g=this.Tv.Lh(),g.zd(this.Gf*e),b.$f(g,d),g=b.wy(c),g.Eq(this.ay),g.zd(-this.hC*e),b.$f(g,c),b.xn(-b.ff/b.P*e*b.Hn()*this.Zz),T.Mc(c),T.Mc(d))}};
var re=function(){pe.call(this);this.Xt=T.p(0,0)};R(re,pe);re.prototype.Rg=function(a){a=T.p(this.Xt.x*a.Ba,this.Xt.y*a.Ba);for(var b=this.Rc.Ja(ld);b;b=b.next){var c=b.body,d=c.Li();c.Ri(T.p(d.x+a.x,d.y+a.y))}T.Mc(a)};var se=function(){pe.call(this);this.ry=T.p(0,0)};R(se,pe);se.prototype.Rg=function(){for(var a=this.Rc.Ja(ld);a;a=a.next){var b=a.body;b.$f(this.ry,b.Xj())}};var dd=function(){this.Sq=this.Rq=null;this.no={}};dd.prototype.Ja=u("Rq");dd.prototype.ql=function(a){var b=a.yd;if(null==
this.no[b]){a=new te(a);var c=this.Sq;null!=c?c.Bf(a):this.Rq=a;a.Cf(c);this.Sq=a;this.no[b]=a}};dd.prototype.Kl=function(a){a=a.yd;var b=this.no[a];if(null!=b){var c=b.nf,b=b.next;null==c?this.Rq=b:c.Bf(b);null==b?this.Sq=c:b.Cf(c);delete this.no[a]}};var te=function(a){this.vv=a;this.nf=this.next=null};te.prototype.Bf=ba("next");te.prototype.Cf=ba("nf");var ue=function(){pe.call(this);this.hu=1;this.VB=!0};R(ue,pe);ue.prototype.Rg=function(){var a=null,b=null,c=0,d=null,e=null,g=0,f=0,h=0,g=null;
if(this.VB)for(var l=this.Rc.Ja(gd);l;l=l.next)for(var a=l.body,b=a.Xj(),c=a.P,m=this.Rc.Ja(gd);m;m=m.next){if(d=m.body,a.nd()||d.nd())e=d.Xj(),g=e.x-b.x,f=e.y-b.y,h=g*g+f*f,h<Number.MIN_VALUE||(g=T.p(g,f),g.zd(this.hu/h/Math.sqrt(h)*c*d.P),a.nd()&&a.$f(g,b),g.zd(-1),d.nd()&&d.$f(g,e),T.Mc(g))}else for(l=this.Rc.Ja(gd);l;l=l.next)for(a=bodyNode.body,b=a.Xj(),c=a.P,m=this.Rc.Ja(gd);m;m=m.next)if(d=bodyNode.body,a.nd()||d.nd())e=d.Xj(),g=e.x-b.x,f=e.y-b.y,h=g*g+f*f,h<Number.MIN_VALUE||(g=T.p(g,f),g.zd(this.hu/
h*c*d.P),a.nd()&&a.$f(g,b),g.zd(-1),d.nd()&&d.$f(g,e),T.Mc(g))};var ve=function(){pe.call(this);this.Bz=new U;this.Ls=0};R(ve,pe);ve.prototype.Rg=function(a){a=a.Ba;if(!(a<=Number.MIN_VALUE)){a>this.Ls&&0<this.Ls&&(a=this.Ls);for(var b=this.Rc.Ja(ld);b;b=b.next){var c=b.body,d=c.mq(W.Xb(this.Bz,c.lq(c.Li())));c.Ri(T.p(c.Li().x+d.x*a,c.Li().y+d.y*a))}}};var Z=function(a){this.Jd=new we;this.Kd=new we;this.vg=T.p(0,0);this.wg=T.p(0,0);this.Na=a.type;this.ni=this.Qk=null;this.S=a.J;this.U=a.L;this.Bw=
a.Pq};Z.prototype.Nc=u("Na");Z.prototype.yl=u("S");Z.prototype.iq=u("U");Z.prototype.Oi=function(){return this.S.Oi()&&this.U.Oi()};Z.Qe=function(a){return a.Qe()};Z.prototype.Re=q();Z.prototype.te=q();Z.prototype.hq=q();Z.prototype.se=w(!1);Z.GA=0;Z.kk=1;Z.EA=2;Z.cr=3;Z.FA=4;Z.iF=5;Z.CA=6;Z.DA=7;Z.HA=8;Z.BA=9;Z.Dd=0;Z.jg=1;Z.Vc=2;Z.bi=3;var xe=function(){this.type=Z.GA;this.L=this.J=null;this.Pq=!1},we=q(),ye=function(a){Z.call(this,a);this.aa=T.p(0,0);this.ba=T.p(0,0);this.wc=T.p(0,0);this.aa.F(a.wb);
this.ba.F(a.xb);this.Bs=a.length;this.ys=a.Go;this.oC=a.ro;this.Aw=this.zj=this.A=0};R(ye,Z);ye.prototype.Re=function(a){var b,c=0,d=this.S,e=this.U;b=d.u.m;var g=this.aa.x-d.k.M.x,f=this.aa.y-d.k.M.y,c=b.i.x*g+b.j.x*f,f=b.i.y*g+b.j.y*f,g=c;b=e.u.m;var h=this.ba.x-e.k.M.x,l=this.ba.y-e.k.M.y,c=b.i.x*h+b.j.x*l,l=b.i.y*h+b.j.y*l,h=c;this.wc.x=e.k.r.x+h-d.k.r.x-g;this.wc.y=e.k.r.y+l-d.k.r.y-f;c=Math.sqrt(this.wc.x*this.wc.x+this.wc.y*this.wc.y);0.005<c?this.wc.zd(1/c):this.wc.da();b=g*this.wc.y-f*this.wc.x;
var m=h*this.wc.y-l*this.wc.x;b=d.G+d.O*b*b+e.G+e.O*m*m;this.P=0!=b?1/b:0;if(0<this.ys){var c=c-this.Bs,m=2*Math.PI*this.ys,n=this.P*m*m;this.zj=a.Ba*(2*this.P*this.oC*m+a.Ba*n);this.zj=0!=this.zj?1/this.zj:0;this.Aw=c*a.Ba*n*this.zj;this.P=b+this.zj;this.P=0!=this.P?1/this.P:0}a.Hh?(this.A*=a.sc,a=this.A*this.wc.x,b=this.A*this.wc.y,d.n.x-=d.G*a,d.n.y-=d.G*b,d.C-=d.O*(g*b-f*a),e.n.x+=e.G*a,e.n.y+=e.G*b,e.C+=e.O*(h*b-l*a)):this.A=0};ye.prototype.te=function(){var a=this.aa.x-this.S.k.M.x,b=this.aa.y-
this.S.k.M.y,c=this.S.u.m.i.x*a+this.S.u.m.j.x*b,b=this.S.u.m.i.y*a+this.S.u.m.j.y*b,a=c,d=this.ba.x-this.U.k.M.x,e=this.ba.y-this.U.k.M.y,c=this.U.u.m.i.x*d+this.U.u.m.j.x*e,e=this.U.u.m.i.y*d+this.U.u.m.j.y*e,d=c,g=-this.P*(this.wc.x*(this.U.n.x-this.U.C*e-(this.S.n.x-this.S.C*b))+this.wc.y*(this.U.n.y+this.U.C*d-(this.S.n.y+this.S.C*a))+this.Aw+this.zj*this.A);this.A+=g;c=g*this.wc.x;g*=this.wc.y;this.S.n.x-=this.S.G*c;this.S.n.y-=this.S.G*g;this.S.C-=this.S.O*(a*g-b*c);this.U.n.x+=this.U.G*c;
this.U.n.y+=this.U.G*g;this.U.C+=this.U.O*(d*g-e*c)};ye.prototype.se=function(){if(0<this.ys)return!0;var a=this.aa.x-this.S.k.M.x,b=this.aa.y-this.S.k.M.y,c=this.S.u.m.i.x*a+this.S.u.m.j.x*b,b=this.S.u.m.i.y*a+this.S.u.m.j.y*b,a=c,d=this.ba.x-this.U.k.M.x,e=this.ba.y-this.U.k.M.y,c=this.U.u.m.i.x*d+this.U.u.m.j.x*e,e=this.U.u.m.i.y*d+this.U.u.m.j.y*e,d=c,g=this.U.k.r.x+d-this.S.k.r.x-a,f=this.U.k.r.y+e-this.S.k.r.y-b,h=Math.sqrt(g*g+f*f),c=W.Ab(h-this.Bs,-0.2,0.2),l=-this.P*c;this.wc.Set(g/h,f/h);
g=l*this.wc.x;l*=this.wc.y;this.S.k.r.x-=this.S.G*g;this.S.k.r.y-=this.S.G*l;this.S.k.I-=this.S.O*(a*l-b*g);this.U.k.r.x+=this.U.G*g;this.U.k.r.y+=this.U.G*l;this.U.k.I+=this.U.O*(d*l-e*g);this.S.Kb();this.U.Kb();return 0.005>Math.abs(c)};var ic=function(){xe.call(this);this.wb=T.p(0,0);this.xb=T.p(0,0);this.type=Z.cr;this.length=1;this.ro=this.Go=0};R(ic,xe);ic.prototype.hc=function(a,b,c,d){this.J=a;this.L=b;this.wb.F(this.J.md(c));this.xb.F(this.L.md(d));a=d.x-c.x;c=d.y-c.y;this.length=Math.sqrt(a*
a+c*c);this.ro=this.Go=0};ic.prototype.Qe=function(){return new ye(this)};var ze=function(a){Z.call(this,a);this.Ie=T.p(0,0);this.Je=T.p(0,0);this.Es=new U;this.He=T.p(0,0);this.Ie.F(a.wb);this.Je.F(a.xb);this.Es.da();this.Fm=0;this.He.da();this.jh=0;this.zC=a.GC;this.BC=a.HC};R(ze,Z);ze.prototype.Re=function(a){var b,c=0,d=this.S,e=this.U;b=d.u.m;var g=this.Ie.x-d.k.M.x,f=this.Ie.y-d.k.M.y,c=b.i.x*g+b.j.x*f,f=b.i.y*g+b.j.y*f,g=c;b=e.u.m;var h=this.Je.x-e.k.M.x,l=this.Je.y-e.k.M.y,c=b.i.x*h+b.j.x*
l,l=b.i.y*h+b.j.y*l,h=c;b=d.G;var c=e.G,m=d.O,n=e.O,k=new U;k.i.x=b+c;k.j.x=0;k.i.y=0;k.j.y=b+c;k.i.x+=m*f*f;k.j.x+=-m*g*f;k.i.y+=-m*g*f;k.j.y+=m*g*g;k.i.x+=n*l*l;k.j.x+=-n*h*l;k.i.y+=-n*h*l;k.j.y+=n*h*h;k.kq(this.Es);this.Fm=m+n;0<this.Fm&&(this.Fm=1/this.Fm);a.Hh?(this.He.x*=a.sc,this.He.y*=a.sc,this.jh*=a.sc,a=this.He,d.n.x-=b*a.x,d.n.y-=b*a.y,d.C-=m*(g*a.y-f*a.x+this.jh),e.n.x+=c*a.x,e.n.y+=c*a.y,e.C+=n*(h*a.y-l*a.x+this.jh)):(this.He.da(),this.jh=0)};ze.prototype.te=function(a){var b,c=0,d=this.S,
e=this.U,g=d.n,f=d.C,h=e.n,l=e.C,m=d.G,n=e.G,k=d.O,p=e.O;b=d.u.m;var s=this.Ie.x-d.k.M.x,t=this.Ie.y-d.k.M.y,c=b.i.x*s+b.j.x*t,t=b.i.y*s+b.j.y*t,s=c;b=e.u.m;var r=this.Je.x-e.k.M.x,y=this.Je.y-e.k.M.y,c=b.i.x*r+b.j.x*y,y=b.i.y*r+b.j.y*y,r=c;b=0;var c=-this.Fm*(l-f),H=this.jh;b=a.Ba*this.BC;this.jh=W.Ab(this.jh+c,-b,b);c=this.jh-H;f-=k*c;l+=p*c;b=W.Xb(this.Es,T.p(-(h.x-l*y-g.x+f*t),-(h.y+l*r-g.y-f*s)));c=this.He.qc();this.He.Ng(b);b=a.Ba*this.zC;this.He.On()>b*b&&(this.He.Bd(),this.He.zd(b));b=W.tb(this.He,
c);g.x-=m*b.x;g.y-=m*b.y;f-=k*(s*b.y-t*b.x);h.x+=n*b.x;h.y+=n*b.y;l+=p*(r*b.y-y*b.x);d.C=f;e.C=l};ze.prototype.se=w(!0);var Ae=function(){xe.call(this);this.wb=T.p(0,0);this.xb=T.p(0,0);this.type=Z.BA;this.HC=this.GC=0};R(Ae,xe);Ae.prototype.hc=function(a,b,c){this.J=a;this.L=b;this.wb.F(this.J.md(c));this.xb.F(this.L.md(c))};Ae.prototype.Qe=function(){return new ze(this)};var Ce=function(a){Z.call(this,a);this.ph=T.p(0,0);this.qh=T.p(0,0);this.aa=T.p(0,0);this.ba=T.p(0,0);this.Eb=new Be;var b=a.Ak.Na,
c=a.Bk.Na;this.Sk=this.Dj=this.Rk=this.Cj=null;var d=0,e=0;this.rC=a.Ak.yl();this.S=a.Ak.iq();b==Z.kk?(this.Cj=a.Ak,this.ph.F(this.Cj.aa),this.aa.F(this.Cj.ba),d=this.Cj.In()):(this.Rk=a.Ak,this.ph.F(this.Rk.aa),this.aa.F(this.Rk.ba),d=this.Rk.Al());this.sC=a.Bk.yl();this.U=a.Bk.iq();c==Z.kk?(this.Dj=a.Bk,this.qh.F(this.Dj.aa),this.ba.F(this.Dj.ba),e=this.Dj.In()):(this.Sk=a.Bk,this.qh.F(this.Sk.aa),this.ba.F(this.Sk.ba),e=this.Sk.Al());this.Pb=a.vi;this.Pk=d+this.Pb*e;this.A=0};R(Ce,Z);Ce.prototype.Re=
function(a){var b=this.rC,c=this.sC,d=this.S,e=this.U,g=0,f=0,h=0,l=0,m=h=0,n=0;this.Eb.da();this.Cj?(this.Eb.Ti=-1,n+=d.O):(b=b.u.m,f=this.Rk.Xd,g=b.i.x*f.x+b.j.x*f.y,f=b.i.y*f.x+b.j.y*f.y,b=d.u.m,h=this.aa.x-d.k.M.x,l=this.aa.y-d.k.M.y,m=b.i.x*h+b.j.x*l,l=b.i.y*h+b.j.y*l,h=m*f-l*g,this.Eb.Mf.Set(-g,-f),this.Eb.Ti=-h,n+=d.G+d.O*h*h);this.Dj?(this.Eb.Ui=-this.Pb,n+=this.Pb*this.Pb*e.O):(b=c.u.m,f=this.Sk.Xd,g=b.i.x*f.x+b.j.x*f.y,f=b.i.y*f.x+b.j.y*f.y,b=e.u.m,h=this.ba.x-e.k.M.x,l=this.ba.y-e.k.M.y,
m=b.i.x*h+b.j.x*l,l=b.i.y*h+b.j.y*l,h=m*f-l*g,this.Eb.Nf.Set(-this.Pb*g,-this.Pb*f),this.Eb.Ui=-this.Pb*h,n+=this.Pb*this.Pb*(e.G+e.O*h*h));this.P=0<n?1/n:0;a.Hh?(d.n.x+=d.G*this.A*this.Eb.Mf.x,d.n.y+=d.G*this.A*this.Eb.Mf.y,d.C+=d.O*this.A*this.Eb.Ti,e.n.x+=e.G*this.A*this.Eb.Nf.x,e.n.y+=e.G*this.A*this.Eb.Nf.y,e.C+=e.O*this.A*this.Eb.Ui):this.A=0};Ce.prototype.te=function(){var a=this.S,b=this.U,c=-this.P*this.Eb.my(a.n,a.C,b.n,b.C);this.A+=c;a.n.x+=a.G*c*this.Eb.Mf.x;a.n.y+=a.G*c*this.Eb.Mf.y;
a.C+=a.O*c*this.Eb.Ti;b.n.x+=b.G*c*this.Eb.Nf.x;b.n.y+=b.G*c*this.Eb.Nf.y;b.C+=b.O*c*this.Eb.Ui};Ce.prototype.se=function(){var a=this.S,b=this.U,c=0,d=0,c=this.Cj?this.Cj.In():this.Rk.Al(),d=this.Dj?this.Dj.In():this.Sk.Al(),c=-this.P*(this.Pk-(c+this.Pb*d));a.k.r.x+=a.G*c*this.Eb.Mf.x;a.k.r.y+=a.G*c*this.Eb.Mf.y;a.k.I+=a.O*c*this.Eb.Ti;b.k.r.x+=b.G*c*this.Eb.Nf.x;b.k.r.y+=b.G*c*this.Eb.Nf.y;b.k.I+=b.O*c*this.Eb.Ui;a.Kb();b.Kb();return!0};var De=function(){xe.call(this);this.type=Z.CA;this.Bk=this.Ak=
null;this.vi=1};R(De,xe);De.prototype.hc=function(a,b,c){this.Ak=a;this.J=a.yl();this.Bk=b;this.L=b.yl();this.vi=c};De.prototype.Qe=function(){return new Ce(this)};var Be=function(){this.Mf=T.p(0,0);this.Nf=T.p(0,0)};Be.prototype.da=function(){this.Mf.da();this.Ti=0;this.Nf.da();this.Ui=0};Be.prototype.Set=function(a,b,c,d){void 0===b&&(b=0);void 0===d&&(d=0);this.Mf.F(a);this.Ti=b;this.Nf.F(c);this.Ui=d};Be.prototype.my=function(a,b,c,d){void 0===b&&(b=0);void 0===d&&(d=0);return this.Mf.x*a.x+this.Mf.y*
a.y+this.Ti*b+(this.Nf.x*c.x+this.Nf.y*c.y)+this.Ui*d};var Ee=function(a){Z.call(this,a);this.aa=T.p(0,0);this.ba=T.p(0,0);this.Xd=T.p(0,0);this.rh=T.p(0,0);this.R=T.p(0,0);this.ea=T.p(0,0);this.Z=new U;this.A=T.p(0,0);this.aa.F(a.wb);this.ba.F(a.xb);this.Xd.F(a.uj);this.rh.x=-this.Xd.y;this.rh.y=this.Xd.x;this.A.da();this.Ka=this.Ld=0;this.Ke=a.ts;this.Me=a.Rt;this.Fs=a.Ks;this.Lm=a.Yk;this.Pf=a.ej;this.mi=a.lk;this.Aa=Z.Dd;this.R.da();this.ea.da()};R(Ee,Z);Ee.prototype.Al=function(){var a=this.S,
b=this.U,c=a.Ln(this.aa),d=b.Ln(this.ba),b=d.x-c.x,c=d.y-c.y,a=a.mq(this.Xd);return a.x*b+a.y*c};Ee.prototype.Re=function(a){var b=this.S,c=this.U,d,e=0;this.vg.F(b.Mi());this.wg.F(c.Mi());var g=b.be();c.be();d=b.u.m;var f=this.aa.x-this.vg.x,h=this.aa.y-this.vg.y,e=d.i.x*f+d.j.x*h,h=d.i.y*f+d.j.y*h,f=e;d=c.u.m;var l=this.ba.x-this.wg.x,m=this.ba.y-this.wg.y,e=d.i.x*l+d.j.x*m,m=d.i.y*l+d.j.y*m,l=e;d=c.k.r.x+l-b.k.r.x-f;e=c.k.r.y+m-b.k.r.y-h;this.Nb=b.G;this.Ob=c.G;this.rd=b.O;this.sd=c.O;this.R.F(W.Xb(g.m,
this.Xd));this.Xa=(d+f)*this.R.y-(e+h)*this.R.x;this.Ya=l*this.R.y-m*this.R.x;this.Ld=this.Nb+this.Ob+this.rd*this.Xa*this.Xa+this.sd*this.Ya*this.Ya;this.Ld=this.Ld>Number.MIN_VALUE?1/this.Ld:0;this.ea.F(W.Xb(g.m,this.rh));this.bb=(d+f)*this.ea.y-(e+h)*this.ea.x;this.cb=l*this.ea.y-m*this.ea.x;g=this.Nb;f=this.Ob;h=this.rd;l=this.sd;this.Z.i.x=g+f+h*this.bb*this.bb+l*this.cb*this.cb;this.Z.i.y=h*this.bb*this.Xa+l*this.cb*this.Ya;this.Z.j.x=this.Z.i.y;this.Z.j.y=g+f+h*this.Xa*this.Xa+l*this.Ya*this.Ya;
this.Pf?(d=this.R.x*d+this.R.y*e,0.01>Math.abs(this.Me-this.Ke)?this.Aa=Z.bi:d<=this.Ke?this.Aa!=Z.jg&&(this.Aa=Z.jg,this.A.y=0):d>=this.Me?this.Aa!=Z.Vc&&(this.Aa=Z.Vc,this.A.y=0):(this.Aa=Z.Dd,this.A.y=0)):this.Aa=Z.Dd;!1==this.mi&&(this.Ka=0);a.Hh?(this.A.x*=a.sc,this.A.y*=a.sc,this.Ka*=a.sc,a=this.A.x*this.ea.x+(this.Ka+this.A.y)*this.R.x,d=this.A.x*this.ea.y+(this.Ka+this.A.y)*this.R.y,e=this.A.x*this.bb+(this.Ka+this.A.y)*this.Xa,g=this.A.x*this.cb+(this.Ka+this.A.y)*this.Ya,b.n.x-=this.Nb*
a,b.n.y-=this.Nb*d,b.C-=this.rd*e,c.n.x+=this.Ob*a,c.n.y+=this.Ob*d,c.C+=this.sd*g):(this.A.da(),this.Ka=0)};Ee.prototype.te=function(a){var b=this.S,c=this.U,d=b.n,e=b.C,g=c.n,f=c.C,h=0,l=0,m=0,n=0;this.mi&&this.Aa!=Z.bi&&(n=this.Ld*(this.Lm-(this.R.x*(g.x-d.x)+this.R.y*(g.y-d.y)+this.Ya*f-this.Xa*e)),h=this.Ka,l=a.Ba*this.Fs,this.Ka=W.Ab(this.Ka+n,-l,l),n=this.Ka-h,h=n*this.R.x,l=n*this.R.y,m=n*this.Xa,n*=this.Ya,d.x-=this.Nb*h,d.y-=this.Nb*l,e-=this.rd*m,g.x+=this.Ob*h,g.y+=this.Ob*l,f+=this.sd*
n);l=this.ea.x*(g.x-d.x)+this.ea.y*(g.y-d.y)+this.cb*f-this.bb*e;this.Pf&&this.Aa!=Z.Dd?(m=this.R.x*(g.x-d.x)+this.R.y*(g.y-d.y)+this.Ya*f-this.Xa*e,h=this.A.qc(),a=this.Z.Oh(T.p(0,0),-l,-m),this.A.Ng(a),this.Aa==Z.jg?this.A.y=Math.max(this.A.y,0):this.Aa==Z.Vc&&(this.A.y=Math.min(this.A.y,0)),l=-l-(this.A.y-h.y)*this.Z.j.x,m=0,m=0!=this.Z.i.x?l/this.Z.i.x+h.x:h.x,this.A.x=m,a.x=this.A.x-h.x,a.y=this.A.y-h.y,h=a.x*this.ea.x+a.y*this.R.x,l=a.x*this.ea.y+a.y*this.R.y,m=a.x*this.bb+a.y*this.Xa,n=a.x*
this.cb+a.y*this.Ya):(a=0,a=0!=this.Z.i.x?-l/this.Z.i.x:0,this.A.x+=a,h=a*this.ea.x,l=a*this.ea.y,m=a*this.bb,n=a*this.cb);d.x-=this.Nb*h;d.y-=this.Nb*l;e-=this.rd*m;g.x+=this.Ob*h;g.y+=this.Ob*l;f+=this.sd*n;b.n.F(d);b.C=e;c.n.F(g);c.C=f};Ee.prototype.se=function(){var a=this.S,b=this.U,c=a.k.r,d=a.k.I,e=b.k.r,g=b.k.I,f,h=0,l=0,m=0,n=0,k=f=0,p=0,l=!1,s=0,t=U.Wj(d),m=U.Wj(g);f=t;var p=this.aa.x-this.vg.x,r=this.aa.y-this.vg.y,h=f.i.x*p+f.j.x*r,r=f.i.y*p+f.j.y*r,p=h;f=m;m=this.ba.x-this.wg.x;n=this.ba.y-
this.wg.y;h=f.i.x*m+f.j.x*n;n=f.i.y*m+f.j.y*n;m=h;f=e.x+m-c.x-p;h=e.y+n-c.y-r;if(this.Pf){this.R=W.Xb(t,this.Xd);this.Xa=(f+p)*this.R.y-(h+r)*this.R.x;this.Ya=m*this.R.y-n*this.R.x;var y=this.R.x*f+this.R.y*h;0.01>Math.abs(this.Me-this.Ke)?(s=W.Ab(y,-0.2,0.2),k=Math.abs(y),l=!0):y<=this.Ke?(s=W.Ab(y-this.Ke+0.005,-0.2,0),k=this.Ke-y,l=!0):y>=this.Me&&(s=W.Ab(y-this.Me+0.005,0,0.2),k=y-this.Me,l=!0)}this.ea=W.Xb(t,this.rh);this.bb=(f+p)*this.ea.y-(h+r)*this.ea.x;this.cb=m*this.ea.y-n*this.ea.x;t=T.p(0,
0);r=this.ea.x*f+this.ea.y*h;k=Math.max(k,Math.abs(r));p=0;l?(l=this.Nb,m=this.Ob,n=this.rd,f=this.sd,this.Z.i.x=l+m+n*this.bb*this.bb+f*this.cb*this.cb,this.Z.i.y=n*this.bb*this.Xa+f*this.cb*this.Ya,this.Z.j.x=this.Z.i.y,this.Z.j.y=l+m+n*this.Xa*this.Xa+f*this.Ya*this.Ya,this.Z.Oh(t,-r,-s)):(l=this.Nb,m=this.Ob,n=this.rd,f=this.sd,s=l+m+n*this.bb*this.bb+f*this.cb*this.cb,t.x=0!=s?-r/s:0,t.y=0);s=t.x*this.ea.x+t.y*this.R.x;l=t.x*this.ea.y+t.y*this.R.y;r=t.x*this.bb+t.y*this.Xa;t=t.x*this.cb+t.y*
this.Ya;c.x-=this.Nb*s;c.y-=this.Nb*l;d-=this.rd*r;e.x+=this.Ob*s;e.y+=this.Ob*l;g+=this.sd*t;a.k.I=d;b.k.I=g;a.Kb();b.Kb();return 0.005>=k&&p<=kc};var Fe=function(){xe.call(this);this.wb=T.p(0,0);this.xb=T.p(0,0);this.uj=T.p(0,0);this.type=Z.DA;this.uj.Set(1,0);this.ej=!1;this.Rt=this.ts=0;this.lk=!1;this.Yk=this.Ks=0};R(Fe,xe);Fe.prototype.hc=function(a,b,c,d){this.J=a;this.L=b;this.wb=this.J.md(c);this.xb=this.L.md(c);this.uj=this.J.lq(d)};Fe.prototype.Qe=function(){return new Ee(this)};var Ge=
function(a){Z.call(this,a);this.aa=T.p(0,0);this.ba=T.p(0,0);this.Xd=T.p(0,0);this.rh=T.p(0,0);this.R=T.p(0,0);this.ea=T.p(0,0);this.Z=new rc;this.A=new qc(0,0,0);this.aa.F(a.wb);this.ba.F(a.xb);this.Xd.F(a.uj);this.rh.x=-this.Xd.y;this.rh.y=this.Xd.x;this.CC=a.Eg;this.A.da();this.Ka=this.Ld=0;this.Ke=a.ts;this.Me=a.Rt;this.Fs=a.Ks;this.Lm=a.Yk;this.Pf=a.ej;this.mi=a.lk;this.Aa=Z.Dd;this.R.da();this.ea.da()};R(Ge,Z);Ge.prototype.Al=function(){var a=this.S,b=this.U,c=a.Ln(this.aa),d=b.Ln(this.ba),
b=d.x-c.x,c=d.y-c.y,a=a.mq(this.Xd);return a.x*b+a.y*c};Ge.prototype.Re=function(a){var b=this.S,c=this.U,d,e=0;this.vg.F(b.Mi());this.wg.F(c.Mi());var g=b.be();c.be();d=b.u.m;var f=this.aa.x-this.vg.x,h=this.aa.y-this.vg.y,e=d.i.x*f+d.j.x*h,h=d.i.y*f+d.j.y*h,f=e;d=c.u.m;var l=this.ba.x-this.wg.x,m=this.ba.y-this.wg.y,e=d.i.x*l+d.j.x*m,m=d.i.y*l+d.j.y*m,l=e;d=c.k.r.x+l-b.k.r.x-f;e=c.k.r.y+m-b.k.r.y-h;this.Nb=b.G;this.Ob=c.G;this.rd=b.O;this.sd=c.O;this.R.F(W.Xb(g.m,this.Xd));this.Xa=(d+f)*this.R.y-
(e+h)*this.R.x;this.Ya=l*this.R.y-m*this.R.x;this.Ld=this.Nb+this.Ob+this.rd*this.Xa*this.Xa+this.sd*this.Ya*this.Ya;this.Ld>Number.MIN_VALUE&&(this.Ld=1/this.Ld);this.ea.F(W.Xb(g.m,this.rh));this.bb=(d+f)*this.ea.y-(e+h)*this.ea.x;this.cb=l*this.ea.y-m*this.ea.x;g=this.Nb;f=this.Ob;h=this.rd;l=this.sd;this.Z.i.x=g+f+h*this.bb*this.bb+l*this.cb*this.cb;this.Z.i.y=h*this.bb+l*this.cb;this.Z.i.z=h*this.bb*this.Xa+l*this.cb*this.Ya;this.Z.j.x=this.Z.i.y;this.Z.j.y=h+l;this.Z.j.z=h*this.Xa+l*this.Ya;
this.Z.ta.x=this.Z.i.z;this.Z.ta.y=this.Z.j.z;this.Z.ta.z=g+f+h*this.Xa*this.Xa+l*this.Ya*this.Ya;this.Pf?(d=this.R.x*d+this.R.y*e,0.01>Math.abs(this.Me-this.Ke)?this.Aa=Z.bi:d<=this.Ke?this.Aa!=Z.jg&&(this.Aa=Z.jg,this.A.z=0):d>=this.Me?this.Aa!=Z.Vc&&(this.Aa=Z.Vc,this.A.z=0):(this.Aa=Z.Dd,this.A.z=0)):this.Aa=Z.Dd;!1==this.mi&&(this.Ka=0);a.Hh?(this.A.x*=a.sc,this.A.y*=a.sc,this.Ka*=a.sc,a=this.A.x*this.ea.x+(this.Ka+this.A.z)*this.R.x,d=this.A.x*this.ea.y+(this.Ka+this.A.z)*this.R.y,e=this.A.x*
this.bb+this.A.y+(this.Ka+this.A.z)*this.Xa,g=this.A.x*this.cb+this.A.y+(this.Ka+this.A.z)*this.Ya,b.n.x-=this.Nb*a,b.n.y-=this.Nb*d,b.C-=this.rd*e,c.n.x+=this.Ob*a,c.n.y+=this.Ob*d,c.C+=this.sd*g):(this.A.da(),this.Ka=0)};Ge.prototype.te=function(a){var b=this.S,c=this.U,d=b.n,e=b.C,g=c.n,f=c.C,h=0,l=0,m=0,n=0;this.mi&&this.Aa!=Z.bi&&(n=this.Ld*(this.Lm-(this.R.x*(g.x-d.x)+this.R.y*(g.y-d.y)+this.Ya*f-this.Xa*e)),h=this.Ka,a=a.Ba*this.Fs,this.Ka=W.Ab(this.Ka+n,-a,a),n=this.Ka-h,h=n*this.R.x,l=n*
this.R.y,m=n*this.Xa,n*=this.Ya,d.x-=this.Nb*h,d.y-=this.Nb*l,e-=this.rd*m,g.x+=this.Ob*h,g.y+=this.Ob*l,f+=this.sd*n);m=this.ea.x*(g.x-d.x)+this.ea.y*(g.y-d.y)+this.cb*f-this.bb*e;l=f-e;this.Pf&&this.Aa!=Z.Dd?(a=this.R.x*(g.x-d.x)+this.R.y*(g.y-d.y)+this.Ya*f-this.Xa*e,h=this.A.qc(),a=this.Z.Ol(new qc(0,0,0),-m,-l,-a),this.A.Ng(a),this.Aa==Z.jg?this.A.z=Math.max(this.A.z,0):this.Aa==Z.Vc&&(this.A.z=Math.min(this.A.z,0)),m=-m-(this.A.z-h.z)*this.Z.ta.x,l=-l-(this.A.z-h.z)*this.Z.ta.y,l=this.Z.$j(T.p(0,
0),m,l),l.x+=h.x,l.y+=h.y,this.A.x=l.x,this.A.y=l.y,a.x=this.A.x-h.x,a.y=this.A.y-h.y,a.z=this.A.z-h.z,h=a.x*this.ea.x+a.z*this.R.x,l=a.x*this.ea.y+a.z*this.R.y,m=a.x*this.bb+a.y+a.z*this.Xa,n=a.x*this.cb+a.y+a.z*this.Ya):(a=this.Z.$j(T.p(0,0),-m,-l),this.A.x+=a.x,this.A.y+=a.y,h=a.x*this.ea.x,l=a.x*this.ea.y,m=a.x*this.bb+a.y,n=a.x*this.cb+a.y);d.x-=this.Nb*h;d.y-=this.Nb*l;e-=this.rd*m;g.x+=this.Ob*h;g.y+=this.Ob*l;f+=this.sd*n;b.n.F(d);b.C=e;c.n.F(g);c.C=f};Ge.prototype.se=function(){var a=this.S,
b=this.U,c=a.k.r,d=a.k.I,e=b.k.r,g=b.k.I,f,h=0,l=0,m=0,n=h=f=0,k=0,l=!1,p=0,s=U.Wj(d),t=U.Wj(g);f=s;var k=this.aa.x-this.vg.x,r=this.aa.y-this.vg.y,h=f.i.x*k+f.j.x*r,r=f.i.y*k+f.j.y*r,k=h;f=t;t=this.ba.x-this.wg.x;m=this.ba.y-this.wg.y;h=f.i.x*t+f.j.x*m;m=f.i.y*t+f.j.y*m;t=h;f=e.x+t-c.x-k;h=e.y+m-c.y-r;if(this.Pf){this.R=W.Xb(s,this.Xd);this.Xa=(f+k)*this.R.y-(h+r)*this.R.x;this.Ya=t*this.R.y-m*this.R.x;var y=this.R.x*f+this.R.y*h;0.01>Math.abs(this.Me-this.Ke)?(p=W.Ab(y,-0.2,0.2),n=Math.abs(y),l=
!0):y<=this.Ke?(p=W.Ab(y-this.Ke+0.005,-0.2,0),n=this.Ke-y,l=!0):y>=this.Me&&(p=W.Ab(y-this.Me+0.005,0,0.2),n=y-this.Me,l=!0)}this.ea=W.Xb(s,this.rh);this.bb=(f+k)*this.ea.y-(h+r)*this.ea.x;this.cb=t*this.ea.y-m*this.ea.x;s=new qc(0,0,0);r=this.ea.x*f+this.ea.y*h;t=g-d-this.CC;n=Math.max(n,Math.abs(r));k=Math.abs(t);l?(l=this.Nb,m=this.Ob,f=this.rd,h=this.sd,this.Z.i.x=l+m+f*this.bb*this.bb+h*this.cb*this.cb,this.Z.i.y=f*this.bb+h*this.cb,this.Z.i.z=f*this.bb*this.Xa+h*this.cb*this.Ya,this.Z.j.x=
this.Z.i.y,this.Z.j.y=f+h,this.Z.j.z=f*this.Xa+h*this.Ya,this.Z.ta.x=this.Z.i.z,this.Z.ta.y=this.Z.j.z,this.Z.ta.z=l+m+f*this.Xa*this.Xa+h*this.Ya*this.Ya,this.Z.Ol(s,-r,-t,-p)):(l=this.Nb,m=this.Ob,f=this.rd,h=this.sd,p=f*this.bb+h*this.cb,y=f+h,this.Z.i.Set(l+m+f*this.bb*this.bb+h*this.cb*this.cb,p,0),this.Z.j.Set(p,y,0),p=this.Z.$j(T.p(0,0),-r,-t),s.x=p.x,s.y=p.y,s.z=0);p=s.x*this.ea.x+s.z*this.R.x;l=s.x*this.ea.y+s.z*this.R.y;r=s.x*this.bb+s.y+s.z*this.Xa;s=s.x*this.cb+s.y+s.z*this.Ya;c.x-=this.Nb*
p;c.y-=this.Nb*l;d-=this.rd*r;e.x+=this.Ob*p;e.y+=this.Ob*l;g+=this.sd*s;a.k.I=d;b.k.I=g;a.Kb();b.Kb();return 0.005>=n&&k<=kc};var He=function(){xe.call(this);this.wb=T.p(0,0);this.xb=T.p(0,0);this.uj=T.p(0,0);this.type=Z.EA;this.uj.Set(1,0);this.Eg=0;this.ej=!1;this.Rt=this.ts=0;this.lk=!1;this.Yk=this.Ks=0};R(He,xe);He.prototype.hc=function(a,b,c,d){this.J=a;this.L=b;this.wb=this.J.md(c);this.xb=this.L.md(c);this.uj=this.J.lq(d);this.Eg=this.L.xd()-this.J.xd()};He.prototype.Qe=function(){return new Ge(this)};
var Je=function(a){Z.call(this,a);this.ph=T.p(0,0);this.qh=T.p(0,0);this.aa=T.p(0,0);this.ba=T.p(0,0);this.hb=T.p(0,0);this.ib=T.p(0,0);this.gf=this.S.Ia.tC;this.ph.x=a.Lo.x-this.gf.u.position.x;this.ph.y=a.Lo.y-this.gf.u.position.y;this.qh.x=a.Mo.x-this.gf.u.position.x;this.qh.y=a.Mo.y-this.gf.u.position.y;this.aa.F(a.wb);this.ba.F(a.xb);this.Pb=a.vi;this.Pk=a.ds+this.Pb*a.es;this.Ew=Math.min(a.Gw,this.Pk-this.Pb*Ie);this.Fw=Math.min(a.Hw,(this.Pk-Ie)/this.Pb);this.ug=this.tg=this.A=0};R(Je,Z);Je.prototype.Re=
function(a){var b=this.S,c=this.U,d;d=b.u.m;var e=this.aa.x-b.k.M.x,g=this.aa.y-b.k.M.y,f=d.i.x*e+d.j.x*g,g=d.i.y*e+d.j.y*g,e=f;d=c.u.m;var h=this.ba.x-c.k.M.x,l=this.ba.y-c.k.M.y,f=d.i.x*h+d.j.x*l,l=d.i.y*h+d.j.y*l,h=f;d=c.k.r.x+h;var f=c.k.r.y+l,m=this.gf.u.position.x+this.qh.x,n=this.gf.u.position.y+this.qh.y;this.hb.Set(b.k.r.x+e-(this.gf.u.position.x+this.ph.x),b.k.r.y+g-(this.gf.u.position.y+this.ph.y));this.ib.Set(d-m,f-n);d=this.hb.dg();f=this.ib.dg();0.005<d?this.hb.zd(1/d):this.hb.da();
0.005<f?this.ib.zd(1/f):this.ib.da();0<this.Pk-d-this.Pb*f?(this.Hs=Z.Dd,this.A=0):this.Hs=Z.Vc;d<this.Ew?(this.Cs=Z.Dd,this.tg=0):this.Cs=Z.Vc;f<this.Fw?(this.Ds=Z.Dd,this.ug=0):this.Ds=Z.Vc;d=e*this.hb.y-g*this.hb.x;f=h*this.ib.y-l*this.ib.x;this.Jm=b.G+b.O*d*d;this.Km=c.G+c.O*f*f;this.op=this.Jm+this.Pb*this.Pb*this.Km;this.Jm=1/this.Jm;this.Km=1/this.Km;this.op=1/this.op;a.Hh?(this.A*=a.sc,this.tg*=a.sc,this.ug*=a.sc,a=(-this.A-this.tg)*this.hb.x,d=(-this.A-this.tg)*this.hb.y,f=(-this.Pb*this.A-
this.ug)*this.ib.x,m=(-this.Pb*this.A-this.ug)*this.ib.y,b.n.x+=b.G*a,b.n.y+=b.G*d,b.C+=b.O*(e*d-g*a),c.n.x+=c.G*f,c.n.y+=c.G*m,c.C+=c.O*(h*m-l*f)):this.ug=this.tg=this.A=0};Je.prototype.te=function(){var a=this.S,b=this.U,c;c=a.u.m;var d=this.aa.x-a.k.M.x,e=this.aa.y-a.k.M.y,g=c.i.x*d+c.j.x*e,e=c.i.y*d+c.j.y*e,d=g;c=b.u.m;var f=this.ba.x-b.k.M.x,h=this.ba.y-b.k.M.y,g=c.i.x*f+c.j.x*h,h=c.i.y*f+c.j.y*h,f=g,l=g=c=0,m=0;c=m=c=m=l=g=c=0;this.Hs==Z.Vc&&(c=a.n.x+-a.C*e,g=a.n.y+a.C*d,l=b.n.x+-b.C*h,m=b.n.y+
b.C*f,c=-(this.hb.x*c+this.hb.y*g)-this.Pb*(this.ib.x*l+this.ib.y*m),m=this.op*-c,c=this.A,this.A=Math.max(0,this.A+m),m=this.A-c,c=-m*this.hb.x,g=-m*this.hb.y,l=-this.Pb*m*this.ib.x,m=-this.Pb*m*this.ib.y,a.n.x+=a.G*c,a.n.y+=a.G*g,a.C+=a.O*(d*g-e*c),b.n.x+=b.G*l,b.n.y+=b.G*m,b.C+=b.O*(f*m-h*l));this.Cs==Z.Vc&&(c=a.n.x+-a.C*e,g=a.n.y+a.C*d,c=-(this.hb.x*c+this.hb.y*g),m=-this.Jm*c,c=this.tg,this.tg=Math.max(0,this.tg+m),m=this.tg-c,c=-m*this.hb.x,g=-m*this.hb.y,a.n.x+=a.G*c,a.n.y+=a.G*g,a.C+=a.O*
(d*g-e*c));this.Ds==Z.Vc&&(l=b.n.x+-b.C*h,m=b.n.y+b.C*f,c=-(this.ib.x*l+this.ib.y*m),m=-this.Km*c,c=this.ug,this.ug=Math.max(0,this.ug+m),m=this.ug-c,l=-m*this.ib.x,m=-m*this.ib.y,b.n.x+=b.G*l,b.n.y+=b.G*m,b.C+=b.O*(f*m-h*l))};Je.prototype.se=function(){var a=this.S,b=this.U,c,d=this.gf.u.position.x+this.ph.x,e=this.gf.u.position.y+this.ph.y,g=this.gf.u.position.x+this.qh.x,f=this.gf.u.position.y+this.qh.y,h=0,l=0,m=0,n=0,k=c=0,p=0,s=0,t=k=s=c=k=c=0;this.Hs==Z.Vc&&(c=a.u.m,h=this.aa.x-a.k.M.x,l=this.aa.y-
a.k.M.y,k=c.i.x*h+c.j.x*l,l=c.i.y*h+c.j.y*l,h=k,c=b.u.m,m=this.ba.x-b.k.M.x,n=this.ba.y-b.k.M.y,k=c.i.x*m+c.j.x*n,n=c.i.y*m+c.j.y*n,m=k,c=a.k.r.x+h,k=a.k.r.y+l,p=b.k.r.x+m,s=b.k.r.y+n,this.hb.Set(c-d,k-e),this.ib.Set(p-g,s-f),c=this.hb.dg(),k=this.ib.dg(),0.005<c?this.hb.zd(1/c):this.hb.da(),0.005<k?this.ib.zd(1/k):this.ib.da(),c=this.Pk-c-this.Pb*k,t=Math.max(t,-c),c=W.Ab(c+0.005,-0.2,0),s=-this.op*c,c=-s*this.hb.x,k=-s*this.hb.y,p=-this.Pb*s*this.ib.x,s=-this.Pb*s*this.ib.y,a.k.r.x+=a.G*c,a.k.r.y+=
a.G*k,a.k.I+=a.O*(h*k-l*c),b.k.r.x+=b.G*p,b.k.r.y+=b.G*s,b.k.I+=b.O*(m*s-n*p),a.Kb(),b.Kb());this.Cs==Z.Vc&&(c=a.u.m,h=this.aa.x-a.k.M.x,l=this.aa.y-a.k.M.y,k=c.i.x*h+c.j.x*l,l=c.i.y*h+c.j.y*l,h=k,c=a.k.r.x+h,k=a.k.r.y+l,this.hb.Set(c-d,k-e),c=this.hb.dg(),0.005<c?(this.hb.x*=1/c,this.hb.y*=1/c):this.hb.da(),c=this.Ew-c,t=Math.max(t,-c),c=W.Ab(c+0.005,-0.2,0),s=-this.Jm*c,c=-s*this.hb.x,k=-s*this.hb.y,a.k.r.x+=a.G*c,a.k.r.y+=a.G*k,a.k.I+=a.O*(h*k-l*c),a.Kb());this.Ds==Z.Vc&&(c=b.u.m,m=this.ba.x-b.k.M.x,
n=this.ba.y-b.k.M.y,k=c.i.x*m+c.j.x*n,n=c.i.y*m+c.j.y*n,m=k,p=b.k.r.x+m,s=b.k.r.y+n,this.ib.Set(p-g,s-f),k=this.ib.dg(),0.005<k?(this.ib.x*=1/k,this.ib.y*=1/k):this.ib.da(),c=this.Fw-k,t=Math.max(t,-c),c=W.Ab(c+0.005,-0.2,0),s=-this.Km*c,p=-s*this.ib.x,s=-s*this.ib.y,b.k.r.x+=b.G*p,b.k.r.y+=b.G*s,b.k.I+=b.O*(m*s-n*p),b.Kb());return 0.005>t};var Ie=1,Ke=function(){xe.call(this);this.Lo=T.p(0,0);this.Mo=T.p(0,0);this.wb=T.p(0,0);this.xb=T.p(0,0);this.type=Z.FA;this.Lo.Set(-1,1);this.Mo.Set(1,1);this.wb.Set(-1,
0);this.xb.Set(1,0);this.Hw=this.es=this.Gw=this.ds=0;this.vi=1;this.Pq=!0};R(Ke,xe);Ke.prototype.hc=function(a,b,c,d,e,g,f){void 0===f&&(f=0);this.J=a;this.L=b;this.Lo.F(c);this.Mo.F(d);this.wb=this.J.md(e);this.xb=this.L.md(g);a=e.x-c.x;c=e.y-c.y;this.ds=Math.sqrt(a*a+c*c);c=g.x-d.x;d=g.y-d.y;this.es=Math.sqrt(c*c+d*d);this.vi=f;f=this.ds+this.vi*this.es;this.Gw=f-this.vi*Ie;this.Hw=(f-Ie)/this.vi};Ke.prototype.Qe=function(){return new Je(this)};var Me=function(a){Z.call(this,a);this.de=new U;this.Dl=
new U;this.El=new U;this.Fl=new U;this.Gc=new qc(0,0,0);this.If=T.p(0,0);this.Dg=T.p(0,0);this.aa=T.p(0,0);this.ba=T.p(0,0);this.A=new qc(0,0,0);this.P=new rc;this.aa.F(a.wb);this.ba.F(a.xb);this.Nm=a.Eg;this.A.da();this.Ka=0;this.mp=a.ss;this.Is=a.Qt;this.AC=a.Iw;this.Lm=a.Yk;this.Pf=a.ej;this.mi=a.lk;this.Aa=Z.Dd};R(Me,Z);Me.prototype.In=function(){return this.U.k.I-this.S.k.I-this.Nm};Me.prototype.Re=function(a){var b=this.S,c=this.U,d,e=0;d=b.u.m;var g=this.aa.x-b.k.M.x,f=this.aa.y-b.k.M.y,e=
d.i.x*g+d.j.x*f,f=d.i.y*g+d.j.y*f,g=e;d=c.u.m;var h=this.ba.x-c.k.M.x,l=this.ba.y-c.k.M.y,e=d.i.x*h+d.j.x*l,l=d.i.y*h+d.j.y*l,h=e;d=b.G;var e=c.G,m=b.O,n=c.O;this.P.i.x=d+e+f*f*m+l*l*n;this.P.j.x=-f*g*m-l*h*n;this.P.ta.x=-f*m-l*n;this.P.i.y=this.P.j.x;this.P.j.y=d+e+g*g*m+h*h*n;this.P.ta.y=g*m+h*n;this.P.i.z=this.P.ta.x;this.P.j.z=this.P.ta.y;this.P.ta.z=m+n;this.Ld=1/(m+n);this.mi||(this.Ka=0);if(this.Pf){var k=c.k.I-b.k.I-this.Nm;Math.abs(this.Is-this.mp)<2*kc?this.Aa=Z.bi:k<=this.mp?(this.Aa!=
Z.jg&&(this.A.z=0),this.Aa=Z.jg):k>=this.Is?(this.Aa!=Z.Vc&&(this.A.z=0),this.Aa=Z.Vc):(this.Aa=Z.Dd,this.A.z=0)}else this.Aa=Z.Dd;a.Hh?(this.A.x*=a.sc,this.A.y*=a.sc,this.Ka*=a.sc,a=this.A.x,k=this.A.y,b.n.x-=d*a,b.n.y-=d*k,b.C-=m*(g*k-f*a+this.Ka+this.A.z),c.n.x+=e*a,c.n.y+=e*k,c.C+=n*(h*k-l*a+this.Ka+this.A.z)):(this.A.da(),this.Ka=0)};Me.prototype.te=function(a){var b=this.S,c=this.U,d=0,e=d=0,g=0,f=0,h=0,l=b.n,m=b.C,n=c.n,k=c.C,p=b.G,s=c.G,t=b.O,r=c.O;this.mi&&this.Aa!=Z.bi&&(e=this.Ld*-(k-m-
this.Lm),g=this.Ka,f=a.Ba*this.AC,this.Ka=W.Ab(this.Ka+e,-f,f),e=this.Ka-g,m-=t*e,k+=r*e);if(this.Pf&&this.Aa!=Z.Dd){a=b.u.m;e=this.aa.x-b.k.M.x;g=this.aa.y-b.k.M.y;d=a.i.x*e+a.j.x*g;g=a.i.y*e+a.j.y*g;e=d;a=c.u.m;f=this.ba.x-c.k.M.x;h=this.ba.y-c.k.M.y;d=a.i.x*f+a.j.x*h;h=a.i.y*f+a.j.y*h;f=d;a=n.x+-k*h-l.x- -m*g;var y=n.y+k*f-l.y-m*e;this.P.Ol(this.Gc,-a,-y,-(k-m));this.Aa==Z.bi?this.A.Ng(this.Gc):this.Aa==Z.jg?(d=this.A.z+this.Gc.z,0>d&&(this.P.$j(this.Dg,-a,-y),this.Gc.x=this.Dg.x,this.Gc.y=this.Dg.y,
this.Gc.z=-this.A.z,this.A.x+=this.Dg.x,this.A.y+=this.Dg.y,this.A.z=0)):this.Aa==Z.Vc&&(d=this.A.z+this.Gc.z,0<d&&(this.P.$j(this.Dg,-a,-y),this.Gc.x=this.Dg.x,this.Gc.y=this.Dg.y,this.Gc.z=-this.A.z,this.A.x+=this.Dg.x,this.A.y+=this.Dg.y,this.A.z=0));l.x-=p*this.Gc.x;l.y-=p*this.Gc.y;m-=t*(e*this.Gc.y-g*this.Gc.x+this.Gc.z);n.x+=s*this.Gc.x;n.y+=s*this.Gc.y;k+=r*(f*this.Gc.y-h*this.Gc.x+this.Gc.z)}else a=b.u.m,e=this.aa.x-b.k.M.x,g=this.aa.y-b.k.M.y,d=a.i.x*e+a.j.x*g,g=a.i.y*e+a.j.y*g,e=d,a=c.u.m,
f=this.ba.x-c.k.M.x,h=this.ba.y-c.k.M.y,d=a.i.x*f+a.j.x*h,h=a.i.y*f+a.j.y*h,f=d,this.P.$j(this.If,-(n.x+-k*h-l.x- -m*g),-(n.y+k*f-l.y-m*e)),this.A.x+=this.If.x,this.A.y+=this.If.y,l.x-=p*this.If.x,l.y-=p*this.If.y,m-=t*(e*this.If.y-g*this.If.x),n.x+=s*this.If.x,n.y+=s*this.If.y,k+=r*(f*this.If.y-h*this.If.x);b.n.F(l);b.C=m;c.n.F(n);c.C=k};Me.prototype.se=function(){var a=0,b,c=this.S,d=this.U,e=0,g=b=0,f=0,h=0;if(this.Pf&&this.Aa!=Z.Dd){var a=d.k.I-c.k.I-this.Nm,l=0;this.Aa==Z.bi?(a=W.Ab(a-this.mp,
-lc,lc),l=-this.Ld*a,e=Math.abs(a)):this.Aa==Z.jg?(a-=this.mp,e=-a,a=W.Ab(a+kc,-lc,0),l=-this.Ld*a):this.Aa==Z.Vc&&(e=a-=this.Is,a=W.Ab(a-kc,0,lc),l=-this.Ld*a);c.k.I-=c.O*l;d.k.I+=d.O*l;c.Kb();d.Kb()}b=c.u.m;l=this.aa.x-c.k.M.x;a=this.aa.y-c.k.M.y;g=b.i.x*l+b.j.x*a;a=b.i.y*l+b.j.y*a;l=g;b=d.u.m;var m=this.ba.x-d.k.M.x,n=this.ba.y-d.k.M.y,g=b.i.x*m+b.j.x*n,n=b.i.y*m+b.j.y*n,m=g,f=d.k.r.x+m-c.k.r.x-l,h=d.k.r.y+n-c.k.r.y-a,k=f*f+h*h;b=Math.sqrt(k);var g=c.G,p=d.G,s=c.O,t=d.O;k>0.05*0.05&&(k=1/(g+p),
f=k*-f,h=k*-h,c.k.r.x-=0.5*g*f,c.k.r.y-=0.5*g*h,d.k.r.x+=0.5*p*f,d.k.r.y+=0.5*p*h,f=d.k.r.x+m-c.k.r.x-l,h=d.k.r.y+n-c.k.r.y-a);this.Dl.i.x=g+p;this.Dl.j.x=0;this.Dl.i.y=0;this.Dl.j.y=g+p;this.El.i.x=s*a*a;this.El.j.x=-s*l*a;this.El.i.y=-s*l*a;this.El.j.y=s*l*l;this.Fl.i.x=t*n*n;this.Fl.j.x=-t*m*n;this.Fl.i.y=-t*m*n;this.Fl.j.y=t*m*m;this.de.Af(this.Dl);this.de.vn(this.El);this.de.vn(this.Fl);this.de.Oh(Ne,-f,-h);f=Ne.x;h=Ne.y;c.k.r.x-=c.G*f;c.k.r.y-=c.G*h;c.k.I-=c.O*(l*h-a*f);d.k.r.x+=d.G*f;d.k.r.y+=
d.G*h;d.k.I+=d.O*(m*h-n*f);c.Kb();d.Kb();return 0.005>=b&&e<=kc};var Ne=T.p(0,0),jc=function(){xe.call(this);this.wb=T.p(0,0);this.xb=T.p(0,0);this.type=Z.kk;this.wb.da();this.xb.da();this.Yk=this.Iw=this.Qt=this.ss=this.Eg=0;this.lk=this.ej=!1};R(jc,xe);jc.prototype.hc=function(a,b,c){this.J=a;this.L=b;this.wb=this.J.md(c);this.xb=this.L.md(c);this.Eg=this.L.xd()-this.J.xd()};jc.prototype.Qe=function(){return new Me(this)};var Oe=function(a){Z.call(this,a);this.Ie=T.p(0,0);this.Je=T.p(0,0);this.A=
new qc(0,0,0);this.P=new rc;this.Ie.F(a.wb);this.Je.F(a.xb);this.Nm=a.Eg};R(Oe,Z);Oe.prototype.Re=function(a){var b,c=0,d=this.S,e=this.U;b=d.u.m;var g=this.Ie.x-d.k.M.x,f=this.Ie.y-d.k.M.y,c=b.i.x*g+b.j.x*f,f=b.i.y*g+b.j.y*f,g=c;b=e.u.m;var h=this.Je.x-e.k.M.x,l=this.Je.y-e.k.M.y,c=b.i.x*h+b.j.x*l,l=b.i.y*h+b.j.y*l,h=c;b=d.G;var c=e.G,m=d.O,n=e.O;this.P.i.x=b+c+f*f*m+l*l*n;this.P.j.x=-f*g*m-l*h*n;this.P.ta.x=-f*m-l*n;this.P.i.y=this.P.j.x;this.P.j.y=b+c+g*g*m+h*h*n;this.P.ta.y=g*m+h*n;this.P.i.z=
this.P.ta.x;this.P.j.z=this.P.ta.y;this.P.ta.z=m+n;a.Hh?(this.A.x*=a.sc,this.A.y*=a.sc,this.A.z*=a.sc,d.n.x-=b*this.A.x,d.n.y-=b*this.A.y,d.C-=m*(g*this.A.y-f*this.A.x+this.A.z),e.n.x+=c*this.A.x,e.n.y+=c*this.A.y,e.C+=n*(h*this.A.y-l*this.A.x+this.A.z)):this.A.da()};Oe.prototype.te=function(){var a,b=0,c=this.S,d=this.U,e=c.n,g=c.C,f=d.n,h=d.C,l=c.G,m=d.G,n=c.O,k=d.O;a=c.u.m;var p=this.Ie.x-c.k.M.x,s=this.Ie.y-c.k.M.y,b=a.i.x*p+a.j.x*s,s=a.i.y*p+a.j.y*s,p=b;a=d.u.m;var t=this.Je.x-d.k.M.x,r=this.Je.y-
d.k.M.y,b=a.i.x*t+a.j.x*r,r=a.i.y*t+a.j.y*r,t=b;a=new qc(0,0,0);this.P.Ol(a,-(f.x-h*r-e.x+g*s),-(f.y+h*t-e.y-g*p),-(h-g));this.A.Ng(a);e.x-=l*a.x;e.y-=l*a.y;g-=n*(p*a.y-s*a.x+a.z);f.x+=m*a.x;f.y+=m*a.y;h+=k*(t*a.y-r*a.x+a.z);c.C=g;d.C=h};Oe.prototype.se=function(){var a,b=0,c=this.S,d=this.U;a=c.u.m;var e=this.Ie.x-c.k.M.x,g=this.Ie.y-c.k.M.y,b=a.i.x*e+a.j.x*g,g=a.i.y*e+a.j.y*g,e=b;a=d.u.m;var f=this.Je.x-d.k.M.x,h=this.Je.y-d.k.M.y,b=a.i.x*f+a.j.x*h,h=a.i.y*f+a.j.y*h,f=b;a=c.G;var b=d.G,l=c.O,m=
d.O,n=d.k.r.x+f-c.k.r.x-e,k=d.k.r.y+h-c.k.r.y-g,p=d.k.I-c.k.I-this.Nm,s=Math.sqrt(n*n+k*k),t=Math.abs(p);0.05<s&&(l*=1,m*=1);this.P.i.x=a+b+g*g*l+h*h*m;this.P.j.x=-g*e*l-h*f*m;this.P.ta.x=-g*l-h*m;this.P.i.y=this.P.j.x;this.P.j.y=a+b+e*e*l+f*f*m;this.P.ta.y=e*l+f*m;this.P.i.z=this.P.ta.x;this.P.j.z=this.P.ta.y;this.P.ta.z=l+m;var r=new qc(0,0,0);this.P.Ol(r,-n,-k,-p);c.k.r.x-=a*r.x;c.k.r.y-=a*r.y;c.k.I-=l*(e*r.y-g*r.x+r.z);d.k.r.x+=b*r.x;d.k.r.y+=b*r.y;d.k.I+=m*(f*r.y-h*r.x+r.z);c.Kb();d.Kb();return 0.005>=
s&&t<=kc};var Pe=function(){xe.call(this);this.wb=T.p(0,0);this.xb=T.p(0,0);this.type=Z.HA;this.Eg=0};R(Pe,xe);Pe.prototype.hc=function(a,b,c){this.J=a;this.L=b;this.wb.F(this.J.md(c));this.xb.F(this.L.md(c));this.Eg=this.L.xd()-this.J.xd()};Pe.prototype.Qe=function(){return new Oe(this)};var de=[new xc,new xc],me=[new xc,new xc],ne=[new xc,new xc],ee=T.p(0,0),fe=T.p(0,0),ge=T.p(0,0),je=T.p(0,0),he=T.p(0,0),ie=T.p(0,0),ke=T.p(0,0),le=T.p(0,0),Cd=0,Pd=0,Qd=0,Nd=0,Od=0,Dd=new $c,Ed=new Kc,Fd=new $b,
Gd=new $b,Md=new Vc,Ld=new Lc;bc.pD=new $b;cc.iv=new cc;new function(){this.position=T.p(0,0);this.ay=T.p(0,0);this.ud=T.p(0,0);this.id=new wc};fc.xF=new $b;fc.wx=new sc;fc.xx=new sc;var Bd=new ad,be=new bd,ce=new ae}function Qe(a,b,c,d,e,g){return(c+0.1>=a&&a>=e-0.1||c-0.1<=a&&a<=e+0.1)&&(d+0.1>=b&&b>=g-0.1||d-0.1<=b&&b<=g+0.1)&&(0.1<Math.abs(e-c)?0.1>Math.abs((g-d)/(e-c)*(a-c)+d-b):0.1>Math.abs(a-c))}
function Re(a){var b=[],c=0,d=0,e=0,g=0,f=0,h=f=0,l=0,m=0,n=0,g=0,k,p,s,t,r,y=g=c=0,H=0,e=[],l=[],J=!1,E=[],C=[];for(C.push(a);C.length;){b=C[0];d=b.length;J=!0;for(c=0;c<d;c++)if(m=c,n=c<d-1?c+1:c+1-d,g=c<d-2?c+2:c+2-d,a=b[m],k=b[n],g=b[g],g=a.x*k.y+k.x*g.y+g.x*a.y-a.y*k.x-k.y*g.x-g.y*a.x,0>g){J=!1;l=1E9;for(e=0;e<d;e++)if(e!==m&&e!==n){c=e;g=e<d-1?e+1:0;p=b[c];s=b[g];h=a.x;t=a.y;var K=k.x,x=k.y,f=p.x;p=p.y;var z=s.x;s=s.y;var D=K-h,v=x-t,F=z-f,Q=s-p,F=(F*(p-t)-Q*(f-h))/(v*F-D*Q),D=h+F*D,v=t+F*v,
h=Qe(K,x,h,t,D,v),f=Qe(D,v,f,p,z,s);if(t=h&&f?T.p(D,v):null)f=k.x-t.x,h=k.y-t.y,f=f*f+h*h,f<l&&(H=c,y=g,r=t,l=f)}if(1E9===l)return[];e=[];l=[];c=H;g=y;p=b[c];s=b[g];0.1>Math.abs(s.x-r.x)&&0.1>Math.abs(s.y-r.y)||e.push(r);0.1>Math.abs(p.x-r.x)&&0.1>Math.abs(p.y-r.y)||l.push(r);H=-1;for(y=m;;){if(y!==g)e.push(b[y]);else{if(0>H||H>=d)return[];Qe(s.x,s.y,b[H].x,b[H].y,a.x,a.y)||e.push(b[y]);break}H=y;0>y-1?y=d-1:y--}e.reverse();H=-1;for(y=n;;){if(y!==c)l.push(b[y]);else{if(0>H||H>=d)return[];y!==c||Qe(p.x,
p.y,b[H].x,b[H].y,k.x,k.y)||l.push(b[y]);break}H=y;y+1>d-1?y=0:y++}C.push(e,l);C.shift();break}J&&E.push(C.shift())}return E}
function Se(a){for(var b=0;4E3>b;b++)T.Sg.push(new T(0,0));this.c=a;this.Nd=new fc(T.p(0,10),!0);this.cy=10;this.Yr=-1;a=new cc;a.ab=this;a.yn=function(a){this.ab.c.el(a.Mb.Pa().Vg.q,a.Fb.Pa().Vg.q)};this.Nd.Hu(a);a=new ec;a.ab=this;a.Si=function(a,b){if(this.ab.Wz)return!0;var e=a.Pa().Vg.q.type,g=b.Pa().Vg.q.type,f=e.W.nz;return f&&f.contains(g)?!1:(f=g.W.nz)&&f.contains(e)?!1:!0};this.Nd.Gu(a);this.wD=0;this.tn=8;this.an=3;this.Wz=!0}
(function(){function a(){}var b=T,c=X,d=hc,e=Y,g=gc,f=ic,h=jc,l=Se.prototype;l.Yb=function(a){this.ab=a;this.c=a.c};l.Yb.prototype.$a=q();l.Bb=function(a,b){this.type=a;this.ab=a.ab;this.q=b;this.c=a.c;this.Nd=this.ab.Nd};var m=l.Bb.prototype;m.$a=function(){this.Fr=0!==this.Y[0];this.tv=this.Y[1];this.dt=0!==this.Y[2];this.Gf=this.Y[3];this.mg=this.Y[4];this.Fg=this.Y[5];this.sj=this.Y[6];this.Vi=this.Y[7];this.Zi=0!==this.Y[8];this.enabled=0!==this.Y[9];this.body=null;this.q.Lc();this.Dk=this.q.x;
this.Ek=this.q.y;this.Xr=this.q.N;this.Wr=this.Zr=0;this.nx=this.zm=!1;this.Ur=null;this.Vr=-1;this.ke?(this.ke.length=0,this.kf.length=0,this.ki.clear()):(this.ke=[],this.kf=[],this.ki=new Ka);var a=this;this.Oe||(this.Sm=function(b){a.Vm(b)});this.c.Xn(this.Sm)};m.gx=function(){this.q.Lc();this.Uq();this.Ur=this.q.Cb;this.Vr=this.q.$};m.cl=function(){this.uo();this.kf.length=0;this.ki.clear();this.body&&(this.Nd.En(this.body),this.body=null);this.c.qx(this.Sm)};m.Zd=function(){var a={e:this.enabled,
im:this.Fr,pr:this.dt,d:this.Gf,fr:this.mg,re:this.Fg,ld:this.sj,ad:this.Vi,b:this.Zi,mcj:this.kf};if(this.enabled){var c=b.p(0,0);c.F(this.body.Li());a.vx=c.x;a.vy=c.y;a.om=this.body.Hn()}return a};m.Ge=function(a){this.uo();this.kf.length=0;this.ki.clear();this.body&&(this.Nd.En(this.body),this.body=null);this.enabled=a.e;this.Fr=a.im;this.dt=a.pr;this.Gf=a.d;this.mg=a.fr;this.Fg=a.re;this.sj=a.ld;this.Vi=a.ad;this.Zi=a.b;this.Dk=this.q.x;this.Ek=this.q.y;this.Xr=this.q.N;this.Zr=this.q.width;this.Wr=
this.q.height;this.enabled&&(this.Uq(),this.body.Ri(b.p(a.vx,a.vy)),this.body.Ml(a.om),0===a.vx&&0===a.vy&&0===a.om||this.body.Bc(!0),this.kf=a.mcj)};m.ck=function(){this.enabled&&this.kt();this.ab.Yr=this.c.Gi-1};m.Vm=function(a){var b,c,d,e=a.uid;d=b=0;for(c=this.kf.length;b<c;b++)this.kf[d]=this.kf[b],d<this.ke.length&&(this.ke[d]=this.ke[b]),this.kf[b].fc[1]==e?this.Nd.Fn(this.ke[b]):d++;this.kf.length=d;d<this.ke.length&&(this.ke.length=d);this.ki.remove(a)};m.uo=function(){var a,b;a=0;for(b=
this.ke.length;a<b;a++)this.Nd.Fn(this.ke[a]);this.ke.length=0};m.kt=function(){var a,b,c;a=0;for(b=this.kf.length;a<b;a++)switch(c=this.kf[a],c.type){case 0:this.pA(c.fc[0],c.fc[1],c.fc[2],c.fc[3],c.fc[4]);break;case 1:this.rA(c.fc[0],c.fc[1]);break;case 2:this.qA(c.fc[0],c.fc[1],c.fc[2],c.fc[3])}};m.mA=function(){this.body&&(this.uo(),this.Nd.En(this.body),this.body=null,this.q.W.xe=null)};m.Uq=function(){if(this.enabled){var a=this.q,f=!1,h=null,l=null,m,r,y,H,J,E;this.body&&(f=!0,h=b.p(0,0),h.F(this.body.Li()),
l=this.body.Hn(),this.mA());var C=new d;C.Gf=this.Gf;C.mg=this.mg;C.Fg=this.Fg;E=new c;E.type=this.Fr?0:2;a.Lc();E.position.x=0.02*a.Ub.Gj();E.position.y=0.02*a.Ub.Hj();E.N=a.N;E.jr=this.dt;E.sj=this.sj;E.Vi=this.Vi;E.Zi=this.Zi;r=this.q.fb&&!this.q.fb.xk();this.body=this.Nd.cq(E);this.body.Vg=this;E=this.tv;r||0!==this.tv||(E=1);r=Math.max(Math.abs(a.width),1);y=Math.max(Math.abs(a.height),1);var K=0>a.width;J=0>a.height;if(0===E){E=a.N;a.N=0;a.ca();a.Lc();var x=a.Ub.Gj()-a.x,z=a.Ub.Hj()-a.y;a.N=
E;a.ca();a.fb.fk(K?-r:r,J?-y:y,0);var D=a.fb.gd;H=a.fb.Cg;E=[];E.length=H;for(m=0;m<H;m++)E[m]=b.p(D[2*m]-x,D[2*m+1]-z);K!==J&&E.reverse();m=r*y;J=T;var x=Re(E),K=[],v,F,Q,O,M,I,V;Q=0;for(O=x.length;Q<O;Q++){D=x[Q];z=[];z.length=D.length;M=V=0;for(I=D.length;M<I;M++)v=D[M],F=D[(M+1)%I],V+=v.x*F.y-v.y*F.x,z[M]=J.p(v.x,v.y);V=Math.abs(V/2);V>=0.001*m&&K.push(z)}for(m=0;m<H;m++)b.Mc(E[m]);if(K.length)for(m=0,r=K.length;m<r;m++){E=K[m];y=0;for(H=E.length;y<H;y++)J=E[y],J.x*=0.02,J.y*=0.02;C.shape=new e;
C.shape.xq(E,E.length);this.body.Cn(C);y=0;for(H=E.length;y<H;y++)b.Mc(E[y])}else C.shape=new e,C.shape.Rn(0.01*r,0.01*y),this.body.Cn(C)}else 1===E?(C.shape=new e,C.shape.Rn(0.01*r,0.01*y)):C.shape=new g(0.01*Math.min(r,y)),this.body.Cn(C);a.W.xe=this.body;this.Zr=a.width;this.Wr=a.height;if(f)for(this.body.Ri(h),this.body.Ml(l),b.Mc(h),this.kt(),E=this.ki.Fh(),m=0,r=E.length;m<r;m++)a=E[m].W.xe.Vg,a.uo(),a.kt()}};m.$c=function(){if(this.enabled){var a=this.q,c;0===this.ab.wD?c=this.c.Ch/60:(c=this.c.fm(this.q),
c>1/30&&(c=1/30));this.c.Gi>this.ab.Yr&&0<this.c.Ch&&(this.Nd.Rg(c,this.ab.tn,this.ab.an),this.Nd.cu(),this.ab.Yr=this.c.Gi);if(this.nx||a.width!==this.Zr||a.height!==this.Wr||a.Cb!==this.Ur||a.$!==this.Vr)this.Uq(),this.nx=!1,this.Ur=a.Cb,this.Vr=a.$;c=a.N!==this.Xr;if(a.x!==this.Dk||a.y!==this.Ek){a.Lc();var d=a.Ub.Gj(),e=a.Ub.Hj(),f=d-this.Dk,g=e-this.Ek;this.body.zq(b.p(0.02*d,0.02*e));this.body.Ri(b.p(f,g));this.zm=!0;this.body.Bc(!0)}else this.zm&&(this.zm=!1,this.body.Ri(b.p(0,0)),this.body.zq(b.p(0.02*
a.Ub.Gj(),0.02*a.Ub.Hj())));c&&(this.body.Qn(a.N),this.body.Bc(!0));d=this.body.u.position;c=d.x/0.02;d=d.y/0.02;e=this.body.xd();if(c!==a.x||d!==a.y||e!==a.N)if(a.x=c,a.y=d,a.N=e,a.ca(),a.Lc(),c=a.Ub.Gj()-a.x,d=a.Ub.Hj()-a.y,0!==c||0!==d)a.x-=c,a.y-=d,a.ca();this.Dk=a.x;this.Ek=a.y;this.Xr=a.N}};m.sk=function(a){return-1!==a&&this.q.$e?0===a&&this.body?(this.body.u.position.x+this.body.Mi().x)/0.02:this.q.$e(a,!0):this.q.x};m.tk=function(a){return-1!==a&&this.q.$e?0===a&&this.body?(this.body.u.position.y+
this.body.Mi().y)/0.02:this.q.$e(a,!1):this.q.y};l.D=new (q());a.prototype.$f=function(a,c,d){if(this.enabled){var e=this.sk(d);d=this.tk(d);this.body.$f(b.p(a,c),b.p(0.02*e,0.02*d))}};a.prototype.wn=function(a,c,d){if(this.enabled){var e=this.sk(d);d=this.tk(d);this.body.wn(b.p(a,c),b.p(0.02*e,0.02*d));this.zm=!1;this.Dk=this.q.x;this.Ek=this.q.y}};a.prototype.au=function(a,c,d){if(this.enabled){c=B(c);var e=this.sk(d);d=this.tk(d);this.body.wn(b.p(Math.cos(c)*a,Math.sin(c)*a),b.p(0.02*e,0.02*d));
this.zm=!1;this.Dk=this.q.x;this.Ek=this.q.y}};a.prototype.xn=function(a){this.enabled&&this.body.xn(B(a))};a.prototype.Ml=function(a){this.enabled&&(this.body.Ml(B(a)),this.body.Bc(!0))};m.pA=function(a,c,d,e,g){if(this.enabled&&(c=this.c.ei(c))&&c!=this.q&&c.W.xe){c.W.xe.Vg.ki.add(this.q);var h=this.sk(a);a=this.tk(a);var l;c.$e?(l=c.$e(d,!0),d=c.$e(d,!1)):(l=c.x,d=c.y);var m=h-l,J=a-d,E=new f;E.hc(this.body,c.W.xe,b.p(0.02*h,0.02*a),b.p(0.02*l,0.02*d));E.length=0.02*Math.sqrt(m*m+J*J);E.ro=e;E.Go=
g;this.ke.push(this.Nd.Dn(E))}};m.rA=function(a,c){if(this.enabled){var d=this.c.ei(c);if(d&&d!=this.q&&d.W.xe){d.W.xe.Vg.ki.add(this.q);var e=this.sk(a),f=this.tk(a),g=new h;g.hc(this.body,d.W.xe,b.p(0.02*e,0.02*f));this.ke.push(this.Nd.Dn(g))}}};m.qA=function(a,c,d,e){if(this.enabled&&(c=this.c.ei(c))&&c!=this.q&&c.W.xe){c.W.xe.Vg.ki.add(this.q);var f=this.sk(a);a=this.tk(a);var g=new h;g.hc(this.body,c.W.xe,b.p(0.02*f,0.02*a));g.ej=!0;g.ss=B(d);g.Qt=B(e);this.ke.push(this.Nd.Dn(g))}};a.prototype.uz=
function(a){if(a!==this.ab.cy){this.Nd.Sn(b.p(0,a));this.ab.cy=a;var c,d=this.ab.Zk.Fh();a=0;for(c=d.length;a<c;a++)d[a].W.xe&&d[a].W.xe.Bc(!0)}};l.K=new a;l.pa=new (q())})();function Te(a){this.c=a}
(function(){function a(){}function b(){}var c=Te.prototype;c.Yb=function(a){this.ab=a;this.c=a.c};c.Yb.prototype.$a=q();c.Bb=function(a,b){this.type=a;this.ab=a.ab;this.q=b;this.c=a.c;this.Op=this.zt=this.yt=this.Dr=this.Ck=this.xm=this.Gp=this.$o=!1;this.ie=null;this.hs=-1;this.rj=this.qj=0;this.Eo=!1;this.nk=this.Ff=0;this.Co=!0;this.qb=this.Fa=0};var d=c.Bb.prototype;d.Pt=function(){this.Ec=Math.cos(this.qk);this.Fc=Math.sin(this.qk);this.Lj=Math.cos(this.qk-Math.PI/2);this.Mj=Math.sin(this.qk-
Math.PI/2);this.Ec=Sa(this.Ec);this.Fc=Sa(this.Fc);this.Lj=Sa(this.Lj);this.Mj=Sa(this.Mj);this.Ho=this.ng;0>this.ng&&(this.Ec*=-1,this.Fc*=-1,this.ng=Math.abs(this.ng))};d.$a=function(){this.Xk=this.Y[0];this.Df=this.Y[1];this.jk=this.Y[2];this.Tr=this.Y[3];this.Ho=this.ng=this.Y[4];this.qp=this.Y[5];this.lA=1===this.Y[6];this.enabled=0!==this.Y[7];this.ol=!1;this.Zp=this.c.Fi(this.q);this.qk=B(90);this.Pt();var a=this;this.lA&&!this.c.qd&&(jQuery(document).keydown(function(b){a.PC(b)}),jQuery(document).keyup(function(b){a.QC(b)}));
this.Oe||(this.Sm=function(b){a.Vm(b)});this.c.Xn(this.Sm)};d.Zd=function(){return{ii:this.Dr,lfx:this.qj,lfy:this.rj,lfo:this.ie?this.ie.uid:-1,am:this.Ff,en:this.enabled,fall:this.nk,ft:this.Co,dx:this.Fa,dy:this.qb,ms:this.Xk,acc:this.Df,dec:this.jk,js:this.Tr,g:this.ng,g1:this.Ho,mf:this.qp,wof:this.ol,woj:this.Zp,ga:this.qk}};d.Ge=function(a){this.Dr=a.ii;this.qj=a.lfx;this.rj=a.lfy;this.hs=a.lfo;this.Ff=a.am;this.enabled=a.en;this.nk=a.fall;this.Co=a.ft;this.Fa=a.dx;this.qb=a.dy;this.Xk=a.ms;
this.Df=a.acc;this.jk=a.dec;this.Tr=a.js;this.ng=a.g;this.Ho=a.g1;this.qp=a.mf;this.ol=a.wof;this.Zp=a.woj;this.qk=a.ga;this.Op=this.zt=this.yt=this.Ck=this.xm=this.Gp=this.$o=!1;this.Pt()};d.ck=function(){this.ie=-1===this.hs?null:this.c.ei(this.hs)};d.Vm=function(a){this.ie==a&&(this.ie=null)};d.cl=function(){this.ie=null;this.c.qx(this.Sm)};d.PC=function(a){switch(a.which){case 38:a.preventDefault();this.xm=!0;break;case 37:a.preventDefault();this.$o=!0;break;case 39:a.preventDefault(),this.Gp=
!0}};d.QC=function(a){switch(a.which){case 38:a.preventDefault();this.Ck=this.xm=!1;break;case 37:a.preventDefault();this.$o=!1;break;case 39:a.preventDefault(),this.Gp=!1}};d.mF=function(){return 0>this.ng?-1:1};d.hw=function(){var a=null,b=null,c,d;c=this.q.x;d=this.q.y;this.q.x+=this.Ec;this.q.y+=this.Fc;this.q.ca();if(this.ie&&this.c.sf(this.q,this.ie))return this.q.x=c,this.q.y=d,this.q.ca(),this.ie;(a=this.c.$d(this.q))||0!==this.nk||(b=this.c.Fi(this.q,!0));this.q.x=c;this.q.y=d;this.q.ca();
if(a){if(this.c.sf(this.q,a))return null;this.Eo=!1;return a}if(b&&b.length){d=a=0;for(c=b.length;a<c;a++)b[d]=b[a],this.c.sf(this.q,b[a])||d++;if(1<=d)return this.Eo=!0,b[0]}return null};d.$c=q();d.hx=function(){var a=this.c.fm(this.q),b,c,d,l,m,n,k,p,s;this.xm||this.Op||(this.Ck=!1);var t=this.$o||this.yt;d=this.Gp||this.zt;var r=(this.xm||this.Op)&&!this.Ck;this.Op=this.zt=this.yt=!1;if(this.enabled){this.Dr&&(r=d=t=!1);p=this.ie;s=!1;this.Co&&((this.c.$d(this.q)||this.c.Fi(this.q))&&this.c.Vf(this.q,
-this.Ec,-this.Fc,4,!0),this.Co=!1);!p||0!==this.qb||p.y===this.rj&&p.x===this.qj||(b=p.x-this.qj,c=p.y-this.rj,this.q.x+=b,this.q.y+=c,this.q.ca(),this.qj=p.x,this.rj=p.y,s=!0,this.c.$d(this.q)&&this.c.Vf(this.q,-b,-c,2.5*Math.sqrt(b*b+c*c)));var y=this.hw();if(c=this.c.$d(this.q))if(this.c.gD(this.q,Math.max(this.q.width,this.q.height)/2))this.c.el(this.q,c);else return;y?(0<this.qb&&(this.ol||(this.c.gt(this.q,-this.Ec,-this.Fc,y),this.ol=!0),this.qb=0),p!=y?(this.ie=y,this.qj=y.x,this.rj=y.y,
this.c.el(this.q,y)):s&&(c=this.c.$d(this.q))&&(this.c.el(this.q,c),0!==b&&(0<b?this.c.Vf(this.q,-this.Lj,-this.Mj):this.c.Vf(this.q,this.Lj,this.Mj)),this.c.Vf(this.q,-this.Ec,-this.Fc)),r&&(p=this.q.x,s=this.q.y,this.q.x-=this.Ec,this.q.y-=this.Fc,this.q.ca(),this.c.$d(this.q)?r=!1:(this.c.trigger(Te.prototype.D.Wy,this.q),this.Ff=2,this.qb=-this.Tr,this.Ck=!0),this.q.x=p,this.q.y=s,this.q.ca())):(this.ie=null,this.qb+=this.ng*a,this.qb>this.qp&&(this.qb=this.qp),r&&(this.Ck=!0));this.ol=!!y;t==
d&&(0>this.Fa?(this.Fa+=this.jk*a,0<this.Fa&&(this.Fa=0)):0<this.Fa&&(this.Fa-=this.jk*a,0>this.Fa&&(this.Fa=0)));t&&!d&&(this.Fa=0<this.Fa?this.Fa-(this.Df+this.jk)*a:this.Fa-this.Df*a);d&&!t&&(this.Fa=0>this.Fa?this.Fa+(this.Df+this.jk)*a:this.Fa+this.Df*a);this.Fa>this.Xk?this.Fa=this.Xk:this.Fa<-this.Xk&&(this.Fa=-this.Xk);t=!1;0!==this.Fa&&(p=this.q.x,s=this.q.y,b=this.Fa*a*this.Lj,c=this.Fa*a*this.Mj,this.q.x+=this.Lj*(1<this.Fa?1:-1)-this.Ec,this.q.y+=this.Mj*(1<this.Fa?1:-1)-this.Fc,this.q.ca(),
l=!1,m=this.c.$d(this.q),this.q.x=p+b,this.q.y=s+c,this.q.ca(),d=this.c.$d(this.q),!d&&y&&(d=this.c.Fi(this.q))&&(this.q.x=p,this.q.y=s,this.q.ca(),this.c.sf(this.q,d)?(d=null,l=!1):l=!0,this.q.x=p+b,this.q.y=s+c,this.q.ca()),d?(b=Math.abs(this.Fa*a)+2,m||!this.c.Vf(this.q,-this.Ec,-this.Fc,b,l,d))?(this.c.el(this.q,d),b=Math.max(Math.abs(2.5*this.Fa*a),30),this.c.Vf(this.q,this.Lj*(0>this.Fa?1:-1),this.Mj*(0>this.Fa?1:-1),b,!1)?!y||l||this.Eo||(p=this.q.x,s=this.q.y,this.q.x+=this.Ec,this.q.y+=this.Fc,
this.c.$d(this.q)?this.c.Vf(this.q,-this.Ec,-this.Fc,3,!1)||(this.q.x=p,this.q.y=s,this.q.ca()):(this.q.x=p,this.q.y=s,this.q.ca())):(this.q.x=p,this.q.y=s,this.q.ca()),l||(this.Fa=0)):!m&&15>Math.abs(this.qb)&&(this.qb=0,y||(t=!0)):(p=this.hw(),y&&!p?(c=Math.ceil(Math.abs(this.Fa*a))+2,p=this.q.x,s=this.q.y,this.q.x+=this.Ec*c,this.q.y+=this.Fc*c,this.q.ca(),this.c.$d(this.q)||this.c.Fi(this.q)?this.c.Vf(this.q,-this.Ec,-this.Fc,c+2,!0):(this.q.x=p,this.q.y=s,this.q.ca())):p&&0===this.qb&&this.c.gt(this.q,
-this.Ec,-this.Fc,p)));if(0!==this.qb){p=this.q.x;s=this.q.y;this.q.x+=this.qb*a*this.Ec;this.q.y+=this.qb*a*this.Fc;b=this.q.x;d=this.q.y;this.q.ca();c=this.c.$d(this.q);l=!1;if(!c&&0<this.qb&&!y){if((l=0<this.nk?null:this.c.Fi(this.q,!0))&&l.length){if(this.Zp){this.q.x=p;this.q.y=s;this.q.ca();k=m=0;for(n=l.length;m<n;m++)l[k]=l[m],this.c.sf(this.q,l[m])||k++;l.length=k;this.q.x=b;this.q.y=d;this.q.ca()}1<=l.length&&(c=l[0])}l=!!c}c&&(this.c.el(this.q,c),b=l?Math.abs(2.5*this.qb*a+10):Math.max(Math.abs(2.5*
this.qb*a+10),30),this.c.Vf(this.q,this.Ec*(0>this.qb?1:-1),this.Fc*(0>this.qb?1:-1),b,l,c)?(this.ie=c,this.qj=c.x,this.rj=c.y,(this.Eo=l)&&(t=!0),this.qb=0):(this.q.x=p,this.q.y=s,this.q.ca(),this.ol=!0,l||(this.qb=0)))}3!==this.Ff&&0<this.qb&&!y&&(this.c.trigger(Te.prototype.D.Ky,this.q),this.Ff=3);if(y||t)3===this.Ff||t||r&&0===this.qb?(this.c.trigger(Te.prototype.D.Zy,this.q),this.Ff=0===this.Fa&&0===this.qb?0:1):(0!==this.Ff&&0===this.Fa&&0===this.qb&&(this.c.trigger(Te.prototype.D.mz,this.q),
this.Ff=0),1===this.Ff||0===this.Fa&&0===this.qb||r||(this.c.trigger(Te.prototype.D.bz,this.q),this.Ff=1));0<this.nk&&this.nk--;this.Zp=this.c.Fi(this.q)}};a.prototype.Wy=w(!0);a.prototype.Ky=w(!0);a.prototype.mz=w(!0);a.prototype.bz=w(!0);a.prototype.Zy=w(!0);c.D=new a;b.prototype.Sn=function(a){this.Ho!==a&&(this.ng=a,this.Pt(),this.c.$d(this.q)&&(this.c.Vf(this.q,this.Ec,this.Fc,10),this.q.x+=2*this.Ec,this.q.y+=2*this.Fc,this.q.ca()),this.ie=null)};c.K=new b;c.pa=new (q())})();
function Ue(a){this.c=a}
(function(){var a=Ue.prototype;a.Yb=function(a){this.ab=a;this.c=a.c};a.Yb.prototype.$a=q();a.Bb=function(a,b){this.type=a;this.ab=a.ab;this.q=b;this.c=a.c};var b=a.Bb.prototype;b.$a=function(){this.speed=B(this.Y[0]);this.Df=B(this.Y[1])};b.Zd=function(){return{speed:this.speed,acc:this.Df}};b.Ge=function(a){this.speed=a.speed;this.Df=a.acc};b.$c=function(){var a=this.c.fm(this.q);0!==a&&(0!==this.Df&&(this.speed+=this.Df*a),0!==this.speed&&(this.q.N=xa(this.q.N+this.speed*a),this.q.ca()))};a.D=
new (q());a.K=new (q());a.pa=new (q())})();function Ve(a){this.c=a}(function(){var a=Ve.prototype;a.Yb=function(a){this.ab=a;this.c=a.c};a.Yb.prototype.$a=q();a.Bb=function(a,c){this.type=a;this.ab=a.ab;this.q=c;this.c=a.c};a=a.Bb.prototype;a.$a=q();a.$c=function(){this.q.Lc();var a=this.q.Ra,c=this.q.T.rb;(0>a.right||0>a.bottom||a.left>c.width||a.top>c.height)&&this.c.Jh(this.q)}})();
function wb(){return[null,"menu",[[Vb,!0,!1,!1,!1,!1,!1,!1,!1,!1],[N,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Wb,!0,!1,!1,!1,!1,!1,!1,!1,!1],[P,!1,!0,!0,!0,!0,!0,!0,!0,!1],[Xb,!1,!0,!0,!0,!0,!0,!0,!0,!0],[Yb,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Zb,!0,!1,!1,!1,!1,!1,!1,!1,!1]],[["t0",Zb,!1,[],0,0,null,null,[],!1,!1,6550301584755965,[],[]],["t1",Yb,!1,[],0,0,null,null,[],!1,!1,6317047862013445,[],[1]],["t2",Wb,!1,[],0,0,null,null,[],!1,!1,0xea5c611114d30,[],[]],["t3",Vb,!1,[],0,0,null,null,[],!1,!1,0x5fdc451adb19e,[],
[0,0,1,1,600,600,1E4,1,5E3,1]],["t4",N,!1,[],0,0,null,null,[],!1,!1,7167848565620973,[],[0,0,1]],["t5",P,!1,[],2,0,null,[["Default",5,!1,1,0,!1,5765928516046485,[["images/coin-sheet0.png",220672,0,0,765,753,1,0,0.500664,[],[0.147712,-0.350598,0.499346,-0.500664,0.854902,-0.353254,1,-0.00132799,0.854902,0.351926,0.499346,0.499336,0.147712,0.34927,0.00653595,-0.00132799],0]]]],[["Platform",Te,0x92d2e9808243c],["DestroyOutsideLayout",Ve,5058804228268998]],!1,!1,7821136643415812,[]],["t6",P,!1,[],0,0,
null,[["Default",5,!1,1,0,!1,0x747992d789614,[["images/vida1-sheet0.png",207790,0,0,363,369,1,0.501377,0.501355,[],[-0.352617,-0.355014,-0.00275439,-0.501355,0.349863,-0.355014,0.498623,-0.00270998,0.349863,0.352304,-0.00275439,0.498645,-0.352617,0.352304,-0.501377,-0.00270998],0]]]],[],!1,!1,9953935131567152,[]],["t7",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x879133d3b83a4,[["images/vida1-sheet0.png",207790,0,0,363,369,1,0.501377,0.501355,[],[-0.352617,-0.355014,-0.00275439,-0.501355,0.349863,-0.355014,
0.498623,-0.00270998,0.349863,0.352304,-0.00275439,0.498645,-0.352617,0.352304,-0.501377,-0.00270998],0]]]],[],!1,!1,9025352418183484,[]],["t8",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7811263613685229,[["images/vida1-sheet0.png",207790,0,0,363,369,1,0.501377,0.501355,[],[-0.352617,-0.355014,-0.00275439,-0.501355,0.349863,-0.355014,0.498623,-0.00270998,0.349863,0.352304,-0.00275439,0.498645,-0.352617,0.352304,-0.501377,-0.00270998],0]]]],[],!1,!1,8601501229049381,[]],["t9",P,!1,[],0,0,null,[["Default",
5,!1,1,0,!1,5729009221334727,[["images/perde_vida-sheet0.png",155,0,0,250,250,1,0.5,0.5,[],[],1]]]],[],!1,!1,0xba6b320ea21ea,[]],["t10",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0xeb17f9be854b8,[["images/game_over_txt-sheet0.png",7054,0,0,393,85,1,0.501272,0.505882,[],[-0.468193,-0.352941,0.452926,-0.294117,0.465649,0.341177,-0.463104,0.317647,-0.486005,-0.0117644],0]]]],[],!1,!1,674577960174569,[]],["t11",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,4975242371718877,[["images/restar_game-sheet0.png",
1834,0,0,220,127,1,0.5,0.503937,[],[-0.472727,-0.456693,0,-0.488189,0.468182,-0.448819,0.481818,-0.00787401,0.463636,0.433071,0,0.464567,-0.463636,0.433071,-0.486364,-0.00787401],0]]]],[],!1,!1,4532071431086697,[]],["t12",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,9633553849706766,[["images/restar_game-sheet0.png",1834,0,0,220,127,1,0.5,0.503937,[],[-0.472727,-0.456693,0,-0.488189,0.468182,-0.448819,0.481818,-0.00787401,0.463636,0.433071,0,0.464567,-0.463636,0.433071,-0.486364,-0.00787401],0]]]],[],
!1,!1,6944050187417858,[]],["t13",P,!1,[],1,0,null,[["Default",5,!1,1,0,!1,4786012768019524,[["images/logo-sheet0.png",220788,0,0,765,753,1,0.500654,0.500664,[],[-0.352942,-0.350598,-0.00130764,-0.500664,0.354248,-0.353254,0.499346,-0.00132799,0.354248,0.351926,-0.00130764,0.499336,-0.352942,0.34927,-0.494118,-0.00132799],0]]]],[["Rotate",Ue,0xc413365b8bdcd]],!1,!1,5406393881341489,[]],["t14",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,5635965220011677,[["images/logo_text-sheet0.png",13752,0,0,400,200,
1,0.5,0.5,[],[-0.3375,-0.175,0.3375,-0.175,0.4425,0,0.3225,0.145,0,0.145,-0.3,0.1,-0.4525,0],0]]]],[],!1,!1,6509228016048074,[]],["t15",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0xc1ef05cb947b6,[["images/record_text-sheet0.png",4434,0,0,1808,598,1,0.504978,0.5,[],[-0.366704,-0.08194,0.495022,-0.5,0.495022,0.5,-0.504978,0.5,-0.504978,0],3]]]],[],!1,!1,5095240679280251,[]],["t16",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7326400863918806,[["images/background-sheet0.png",39205,0,0,768,1280,1,0,0,[],[],
1]]]],[],!1,!1,9082707615899864,[]],["t17",Xb,!1,[],0,0,["images/point.png",284,0],null,[],!1,!1,0xa60fd1079bb79,[]],["t18",Xb,!1,[],0,0,["images/point.png",284,0],null,[],!1,!1,4545800241430534,[]],["t19",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7459089242640291,[["images/creat_coin-sheet0.png",155,0,0,250,250,1,0.5,0.5,[],[],1]]]],[],!1,!1,551795030965145,[]],["t20",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,8548557960966516,[["images/click-sheet0.png",139878,0,0,690,690,1,0.5,0.5,[],[-0.352174,-0.352174,
0,-0.497101,0.352174,-0.352174,0.498551,0,0.352174,0.352174,0,0.497101,-0.352174,0.352174,-0.497101,0],0]]]],[],!1,!1,0xc87f3ead245f4,[]],["t21",Xb,!1,[],0,0,["images/point.png",284,0],null,[],!1,!1,0x75286d997cebb,[]],["t22",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,5321469233933974,[["images/score_text-sheet0.png",3071,0,0,1559,374,1,0.500321,0.5,[],[-0.45991,-0.331551,-6.41733E-4,-0.5,0.45991,-0.334225,0.499679,0,0.45991,0.334225,-6.41733E-4,0.5,-0.500321,0.5,-0.45991,0],3]]]],[],!1,!1,8092582896004281,
[]],["t23",P,!1,[],2,0,null,[["Default",5,!1,1,0,!1,4808600764955327,[["images/dilma_coin-sheet0.png",508341,0,0,707,1079,1,0.500707,0.500463,[],[-0.328147,-0.387395,-0.00141421,-0.494903,0.366337,-0.413346,0.376238,-9.26375E-4,0.335219,0.39203,-0.00141421,0.491196,-0.2843,0.357739,-0.413013,-9.26375E-4],0]]]],[["Platform",Te,9044542882300108],["DestroyOutsideLayout",Ve,0x6ef7dada76efc]],!1,!1,5213523248031298,[]],["t24",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x50ec48a575b83,[["images/rate-sheet0.png",
2256,0,0,220,127,1,0.5,0.503937,[],[-0.472727,-0.456693,0,-0.488189,0.468182,-0.448819,0.481818,-0.00787401,0.463636,0.433071,0,0.464567,-0.463636,0.433071,-0.486364,-0.00787401],0]]]],[],!1,!1,4987048574506923,[]],["t25",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,9256742414820726,[["images/rate-sheet0.png",2256,0,0,220,127,1,0.5,0.503937,[],[-0.472727,-0.456693,0,-0.488189,0.468182,-0.448819,0.481818,-0.00787401,0.463636,0.433071,0,0.464567,-0.463636,0.433071,-0.486364,-0.00787401],0]]]],[],!1,!1,
8149269045980088,[]],["t26",P,!1,[],2,0,null,[["Default",5,!1,1,0,!1,9225747096552252,[["images/bomba-sheet0.png",4210,0,0,107,163,1,0.504673,0.503067,[],[-0.102804,-0.239264,-0.00934589,-0.429448,0.476635,-0.490798,0.345794,0.398773,-0.00934589,0.496933,-0.35514,0.398773,-0.429906,-0.00613448],0]]]],[["DestroyOutsideLayout",Ve,4519301637287873],["Physics",Se,0x9393e7e156980]],!1,!1,8496085147722261,[]],["t27",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x6f046645cf8e3,[["images/cria_bomba1-sheet0.png",
155,0,0,250,250,1,0.5,0.5,[],[],1]]]],[],!1,!1,984179559150724,[]],["t28",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x635b99c54bebd,[["images/cria_bomba2-sheet0.png",155,0,0,250,250,1,0.5,0.5,[],[],1]]]],[],!1,!1,6297305662030884,[]],["t29",P,!1,[],2,0,null,[["Default",5,!1,1,0,!1,7569909995633095,[["images/bonus-sheet0.png",120916,0,0,470,640,1,0.5,0.5,[],[0,-0.495313,0.151064,-0.24375,0.423404,0,0.378723,0.410937,0,0.4875,-0.374468,0.407812,-0.391489,0],0]]]],[["Physics",Se,6557610794273403],["DestroyOutsideLayout",
Ve,0x75724d4e454e4]],!1,!1,0x82a005147005d,[]],["t30",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7977594689815124,[["images/mais10-sheet0.png",1021,0,0,397,187,1,0.501259,0.502674,[],[-0.337531,-0.15508,-0.00251845,-0.149733,0.463477,-0.427808,0.488665,-0.00534782,0.428212,0.347593,-0.00251845,-0.0588238,-0.337531,0.149732],0]]]],[],!1,!1,6365779148274982,[]],["t31",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0xac7a98e506e57,[["images/menos10-sheet0.png",1409,0,0,424,265,1,0.5,0.501887,[],[-0.044811,0.226415,
0,-0.456604,0.45283,-0.426415,0.488208,-0.00377378,0.408019,0.350943,0,0.343396,-0.018868,-0.271698,-0.021226,-0.00377378],0]]]],[],!1,!1,9670809191871212,[]],["t32",P,!1,[],0,0,null,[["boom",15,!0,1,0,!1,6841447126432799,[["images/boom-sheet0.png",194327,1,1,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,98,1,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,195,1,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,292,1,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",
194327,389,1,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,1,98,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,98,98,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,195,98,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,292,98,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,389,98,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,1,195,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,98,195,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",
194327,195,195,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,292,195,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,389,195,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,1,292,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,98,292,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,195,292,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,292,292,96,96,1,0.5,0.5,[],[],0],["images/boom-sheet0.png",194327,389,292,96,96,1,0.5,0.5,[],[],0]]]],
[],!1,!1,8176438009433696,[]],["t33",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0xf1e6e4e50a5c5,[["images/pause_game-sheet0.png",1874,0,0,500,500,1,0.5,0.5,[],[-0.404,-0.404,0,-0.452,0.408,-0.408,0.454,0,0.406,0.406,0,0.446,-0.402,0.402,-0.444,0],0]]]],[],!1,!1,8335313267686822,[]],["t34",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0xf056afdb66ee6,[["images/play_game-sheet0.png",3063,0,0,500,500,1,0.5,0.5,[],[-0.404,-0.404,0,-0.452,0.408,-0.408,0.454,0,0.406,0.406,0,0.446,-0.402,0.402,-0.444,0],0]]]],
[],!1,!1,7651699389039762,[]],["t35",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x506c637b60543,[["images/sprite-sheet0.png",155,0,0,250,250,1,0,0,[],[],1]]]],[],!1,!1,9924127741113628,[]],["t36",P,!1,[],0,0,null,[["Default",5,!1,1,0,!1,4685263969227053,[["images/sprite2-sheet0.png",19031,0,0,487,202,1,0.501027,0.5,[],[-0.462012,-0.405941,-0.00205368,0.217822,0.355236,-0.153465,0.470226,0,0.420944,0.311881,-0.00205368,0.311881,-0.308009,0.034653,-0.462012,0],0]]]],[],!1,!1,0x5b618735ad31f,[]]],[],[["menu",
768,1280,!1,"E_menu",753223562306798,[["Layer 0",0,0xe82acd51f0454,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[-176,-171,0,1195,1631,0,0,1,0,0,0,0,[]],16,23,[],[],[0,"Default",0,1]],[[405.582,697.206,0,303.129,174.988,0,0,1,0.5,0.503937,0,0,[]],12,15,[],[],[0,"Default",0,1]],[[384.156,206,0,239.342,235.588,0,0,1,0.500654,0.500664,0,0,[]],13,18,[],[[50,0]],[0,"Default",0,1]],[[384,455,0,645.997,322.998,0,0,1,0.5,0.5,0,0,[]],14,14,[],[],[0,"Default",0,1]],[[403.992,928.302,0,303.302,175.281,0,0,1,0.5,0.503937,
0,0,[]],24,21,[],[],[0,"Default",0,1]]],[]]],[],[]],["game",768,1280,!1,"E_game",301690212566956,[["main",0,0xfe7a9101a0bd5,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[-135.051,-99.9382,0,1092,1702,0,0,1,0,0,0,0,[]],16,22,[],[],[0,"Default",0,1]],[[56.5591,67.4461,0,50.0067,50.8332,0,0,1,0.501377,0.501355,0,0,[]],6,8,[],[],[0,"Default",0,1]],[[122.261,67.8996,0,50.3721,51.2047,0,0,1,0.501377,0.501355,0,0,[]],7,9,[],[],[0,"Default",0,1]],[[185.355,66.6252,0,50.9076,51.7491,0,0,1,0.501377,0.501355,0,0,[]],
8,10,[],[],[0,"Default",0,1]],[[383,1322,0,757,24,0,0,1,0.5,0.5,0,0,[]],9,11,[],[],[1,"Default",0,1]],[[986,10,0,116.171,114.349,0,0,1,0,0.500664,0,0,[]],5,5,[],[[330,1500,1500,650,1500,1E3,1,1],[]],[0,"Default",0,1]],[[364,1129,0,256,86,0,0,1,0,0,0,0,[]],17,7,[],[],[14,14,"0123456789","0",5,0,0,0,0,0,0,0]],[[386,-53,0,587,23,0,0,1,0.5,0.5,0,0,[]],19,24,[],[],[0,"Default",0,1]],[[1060,412,0,124.056,124.056,0,0,0.5,0.5,0.5,0,0,[]],20,26,[],[],[0,"Default",0,1]],[[1050,207,0,119.231,181.966,0,0,1,0.500707,
0.500463,0,0,[]],23,6,[],[[330,1500,1500,650,1500,1E3,1,1],[]],[0,"Default",0,1]],[[1049,570,0,107,163,0,0,1,0.504673,0.503067,0,0,[]],26,25,[],[[],[0,0,0,1,0.5,0.2,0,0.01,0,1]],[0,"Default",0,1]],[[0,678,0,14,870,0,0,1,0.5,0.5,0,0,[]],27,29,[],[],[1,"Default",0,1]],[[768,658,0,14,999,0,0,1,0.5,0.5,0,0,[]],28,30,[],[],[1,"Default",0,1]],[[1051,769,0,106.466,144.975,0,0,1,0.5,0.5,0,0,[]],29,31,[],[[0,0,0,1,0.5,0.2,0,0.01,0,1],[]],[0,"Default",0,1]],[[1146.67,945.101,0,161.726,76.1782,0,0,1,0.501259,
0.502674,0,0,[]],30,32,[],[],[0,"Default",0,1]],[[1140.83,1106.71,0,141.851,88.6566,0,0,1,0.5,0.501887,0,0,[]],31,33,[],[],[0,"Default",0,1]],[[1151,1397,0,667.458,667.458,0,0,1,0.5,0.5,0,0,[]],32,34,[],[],[0,"Default",0,0]],[[709.572,52.4278,0,74.9933,74.9933,0,0,1,0.5,0.5,0,0,[]],33,35,[],[],[0,"Default",0,1]]],[]],["pause",1,409514508236379,!1,[255,255,255],!0,1,1,1,!1,1,0,0,[[[-135.051,-99.938,0,1092,1702,0,0,0.7,0,0,0,0,[]],35,37,[],[],[0,"Default",0,1]],[[398,755,0,302.985,302.985,0,0,1,0.5,
0.5,0,0,[]],34,36,[],[],[0,"Default",0,1]],[[385,448,0,487,202,0,0,1,0.501027,0.5,0,0,[]],36,38,[],[],[0,"Default",0,1]]],[]]],[],[]],["game_over",768,1280,!1,"E_game_over",9308423660748912,[["Layer 0",0,9965594545943892,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[-154,-159,0,1151,1630,0,0,1,0,0,0,0,[]],16,19,[],[],[0,"Default",0,1]],[[385,230,0,702.302,151.897,0,0,1,0.501272,0.505882,0,0,[]],10,12,[],[],[0,"Default",0,1]],[[384,822,0,269.702,155.692,0,0,1,0.5,0.503937,0,0,[]],11,13,[],[],[0,"Default",
0,1]],[[212,618,0,239.992,79.3778,0,0,1,0.504978,0.5,0,0,[]],15,17,[],[],[0,"Default",0,1]],[[433,593,0,213,73,0,0,1,0,0,0,0,[]],18,20,[],[],[14,14,"0123456789","0",5,0,0,0,0,0,0,0]],[[433,432,0,232,73,0,0,1,0,0,0,0,[]],21,28,[],[],[14,14,"0123456789","0",5,0,0,0,0,0,0,0]],[[209,462,0,193.752,48.3752,0,0,1,0.500321,0.5,0,0,[]],22,27,[],[],[0,"Default",0,1]],[[384,1026,0,267.167,154.229,0,0,1,0.5,0.503937,0,0,[]],25,16,[],[],[0,"Default",0,1]]],[]]],[],[]]],[["E_game",[[1,"pause",0,0,!1,!1,509593397405925,
!1],[1,"moeda",0,0,!1,!1,5713263434146046,!1],[1,"record",0,0,!1,!1,0x3dc68897efe0d,!1],[1,"life",0,3,!1,!1,8782018018695768,!1],[1,"score",0,0,!1,!1,430589691021299,!1],[0,null,!1,null,0xaa9215a5f2927,[[-1,G.prototype.D.Pn,null,1,!1,!1,!1,0x8b7ad16bbd32f,!1]],[[23,Te.prototype.K.Sn,"Platform",0x889ace978e1a7,!1,[[0,[0,1E3]]]],[-1,G.prototype.K.Nh,null,5415061386353268,!1,[[11,"life"],[7,[0,3]]]],[-1,G.prototype.K.Nh,null,0x62117d239dc7,!1,[[11,"score"],[7,[0,0]]]],[17,Xb.prototype.K.Zj,null,9901813339104112,
!1,[[7,[23,"score"]]]],[4,N.prototype.K.nq,null,0x5b863ab426693,!1],[26,Se.prototype.K.uz,"Physics",0x981cff72e725d,!1,[[0,[0,20]]]]],[[0,null,!1,null,8187568784172812,[[0,Zb.prototype.D.ly,null,0,!1,!1,!1,9062800945783922,!1,[[1,[2,"HighScore"]],[8,5],[0,[0,0]]]]],[[-1,G.prototype.K.Nh,null,0xd79bbd33dff73,!1,[[11,"record"],[7,[20,0,Zb.prototype.pa.zy,!0,null,[[2,"HighScore"]]]]]]]],[0,null,!1,null,5921831202004285,[[-1,G.prototype.D.fu,null,0,!1,!1,!1,0xf9abf90216558,!1]],[[-1,G.prototype.K.Nh,
null,0xae0f8fa9cac4b,!1,[[11,"record"],[7,[0,0]]]]]]]],[0,null,!1,null,7359416195617661,[[1,Yb.prototype.D.Qg,null,1,!1,!1,!1,4911354064983419,!1,[[4,16]]]],[[-1,G.prototype.K.qe,null,5711748910732019,!1,[[4,20],[5,[0,0]],[0,[20,1,Yb.prototype.pa.ak,!1,null]],[0,[20,1,Yb.prototype.pa.Vn,!1,null]]]],[-1,G.prototype.K.Ql,null,9193491659167176,!1,[[0,[1,0.1]]]],[20,P.prototype.K.lb,null,0xa951ce373e75c,!1]]],[0,null,!1,null,8877261302261655,[[5,P.prototype.D.Gl,null,0,!1,!1,!0,0xcd0b25f3394a0,!1,[[4,
20]]]],[[5,P.prototype.K.lb,null,0x6f5e56d097076,!1],[-1,G.prototype.K.$t,null,7299424088836449,!1,[[11,"score"],[7,[0,1]]]],[17,Xb.prototype.K.Zj,null,637679697583139,!1,[[7,[23,"score"]]]]]],[0,null,!1,null,5438259660087403,[[-1,G.prototype.D.yf,null,0,!1,!1,!1,9015140752915016,!1,[[0,[0,12]]]]],[[-1,G.prototype.K.qe,null,8202481290391127,!1,[[4,29],[5,[0,0]],[0,[20,27,P.prototype.pa.ak,!1,null]],[0,[19,G.prototype.pa.random,[[20,27,P.prototype.pa.mu,!1,null]]]]]],[29,Se.prototype.K.au,"Physics",
0x7ce9746a717b3,!1,[[0,[0,65]],[0,[0,-30]],[7,[0,0]]]]]],[0,null,!1,null,0xd9e9f58124f71,[[-1,G.prototype.D.yf,null,0,!1,!1,!1,4660486912339403,!1,[[0,[0,7]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,0x3970399e3b063,!1,[[11,"score"],[8,4],[7,[0,20]]]]],[[-1,G.prototype.K.qe,null,9120620714216488,!1,[[4,26],[5,[0,0]],[0,[20,28,P.prototype.pa.ak,!1,null]],[0,[19,G.prototype.pa.random,[[20,28,P.prototype.pa.mu,!1,null]]]]]],[26,Se.prototype.K.au,"Physics",5468982580015559,!1,[[0,[0,60]],[0,[0,-150]],[7,
[0,0]]]]]],[0,null,!1,null,0xb108cdbf7ddcd,[[29,P.prototype.D.Gl,null,0,!1,!1,!0,0xa06ef6f31615e,!1,[[4,20]]]],[[29,P.prototype.K.lb,null,615177172866353,!1],[-1,G.prototype.K.$t,null,880943629244122,!1,[[11,"score"],[7,[0,10]]]],[17,Xb.prototype.K.Zj,null,0xd240b81194173,!1,[[7,[23,"score"]]]],[-1,G.prototype.K.qe,null,930465774849552,!1,[[4,30],[5,[0,0]],[0,[20,29,P.prototype.pa.ak,!1,null]],[0,[20,29,P.prototype.pa.Vn,!1,null]]]],[-1,G.prototype.K.Ql,null,0xa08bb14596875,!1,[[0,[1,0.5]]]],[30,
P.prototype.K.lb,null,0xf40102cfdc5a9,!1]]],[0,null,!1,null,8812805079979113,[[26,P.prototype.D.Gl,null,0,!1,!1,!0,8366254884056898,!1,[[4,20]]]],[[5,P.prototype.K.lb,null,9681998980038342,!1],[26,P.prototype.K.lb,null,755690194368597,!1],[26,P.prototype.K.zz,null,0x4db62e06638db,!1,[[4,32],[5,[0,0]],[7,[0,0]]]],[32,P.prototype.K.rz,null,0x586aba755f74e,!1,[[1,[2,"boom"]],[3,0]]],[29,P.prototype.K.lb,null,9090970248144084,!1],[23,P.prototype.K.lb,null,9328764548736824,!1],[-1,G.prototype.K.Ql,null,
0xe13b0d47182d2,!1,[[0,[0,1]]]],[-1,G.prototype.K.Mn,null,5558237584471044,!1,[[6,"game_over"]]]],[[0,null,!1,null,0x46a115836efbf,[[-1,G.prototype.D.pc,null,0,!1,!1,!1,5955201298979905,!1,[[11,"score"],[8,4],[7,[23,"record"]]]]],[[-1,G.prototype.K.Nh,null,5403812740101218,!1,[[11,"record"],[7,[23,"score"]]]],[0,Zb.prototype.K.Nu,null,5626627060398391,!1,[[1,[2,"HighScore"]],[7,[23,"record"]]]]]]]],[0,null,!1,null,0xe3cebfaa6076d,[[23,P.prototype.D.Gl,null,0,!1,!1,!0,0x7505d6a840651,!1,[[4,20]]]],
[[23,P.prototype.K.lb,null,0xb6bb1269f2464,!1],[-1,G.prototype.K.Ou,null,0x4b966bcd8d2c0,!1,[[11,"score"],[7,[0,10]]]],[17,Xb.prototype.K.Zj,null,4519730220603254,!1,[[7,[23,"score"]]]],[-1,G.prototype.K.qe,null,0xaaa1ef7031e63,!1,[[4,31],[5,[0,0]],[0,[20,23,P.prototype.pa.ak,!1,null]],[0,[20,23,P.prototype.pa.Vn,!1,null]]]],[-1,G.prototype.K.Ql,null,0xca19d5eb9a278,!1,[[0,[1,0.5]]]],[31,P.prototype.K.lb,null,0x966a99e1a6662,!1]]],[0,null,!1,null,0xec0de40557b0b,[[5,P.prototype.D.Gl,null,0,!1,!1,
!0,0x3c111978428e1,!1,[[4,9]]]],[[-1,G.prototype.K.Ou,null,295847256386637,!1,[[11,"life"],[7,[0,1]]]]]],[0,null,!1,null,5874945710614751,[[-1,G.prototype.D.pc,null,0,!1,!1,!1,463961769558908,!1,[[11,"life"],[8,0],[7,[0,2]]]]],[[8,P.prototype.K.lb,null,0x3a5aa597cb545,!1]]],[0,null,!1,null,5014568085247727,[[-1,G.prototype.D.pc,null,0,!1,!1,!1,0x532b2149ee569,!1,[[11,"life"],[8,0],[7,[0,1]]]]],[[7,P.prototype.K.lb,null,0x3ee51f4f4cdf7,!1]]],[0,null,!1,null,0xc5844c3313066,[[-1,G.prototype.D.pc,null,
0,!1,!1,!1,0x7ecb2537ff81e,!1,[[11,"life"],[8,0],[7,[0,0]]]]],[[6,P.prototype.K.lb,null,779574633472703,!1],[5,P.prototype.K.lb,null,4828890680592876,!1],[-1,G.prototype.K.Ql,null,7042063962972183,!1,[[0,[1,0.5]]]],[-1,G.prototype.K.Mn,null,6721673936227739,!1,[[6,"game_over"]]]],[[0,null,!1,null,0x5ebf8fe232935,[[-1,G.prototype.D.pc,null,0,!1,!1,!1,6436747022114319,!1,[[11,"score"],[8,4],[7,[23,"record"]]]]],[[-1,G.prototype.K.Nh,null,0xc647ce4a5bb1a,!1,[[11,"record"],[7,[23,"score"]]]],[0,Zb.prototype.K.Nu,
null,0x759051fcfd7f,!1,[[1,[2,"HighScore"]],[7,[23,"record"]]]]]]]],[0,null,!1,null,0xbd9bdcc85353d,[[-1,G.prototype.D.yf,null,0,!1,!1,!1,7242415107914412,!1,[[0,[1,0.9]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,6005379032544345,!1,[[11,"score"],[8,2],[7,[0,10]]]]],[[-1,G.prototype.K.qe,null,855248585158073,!1,[[4,5],[5,[0,0]],[0,[19,G.prototype.pa.random,[[20,19,P.prototype.pa.Ph,!1,null]]]],[0,[0,0]]]]]],[0,null,!1,null,5231093121013894,[[-1,G.prototype.D.yf,null,0,!1,!1,!1,0xa821fc6c0fff9,!1,[[0,
[1,0.8]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,0xda3b7451d0646,!1,[[11,"score"],[8,5],[7,[0,10]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,7283236769596202,!1,[[11,"score"],[8,2],[7,[0,20]]]]],[[-1,G.prototype.K.qe,null,8489764696621908,!1,[[4,5],[5,[0,0]],[0,[19,G.prototype.pa.random,[[20,19,P.prototype.pa.Ph,!1,null]]]],[0,[0,0]]]]]],[0,null,!1,null,7440687891927268,[[-1,G.prototype.D.yf,null,0,!1,!1,!1,878546974463176,!1,[[0,[1,0.7]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,7775303579690354,!1,[[11,
"score"],[8,5],[7,[0,20]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,0x9501f85e6ae87,!1,[[11,"score"],[8,2],[7,[0,40]]]]],[[-1,G.prototype.K.qe,null,0xa8c8d86f9a655,!1,[[4,5],[5,[0,0]],[0,[19,G.prototype.pa.random,[[20,19,P.prototype.pa.Ph,!1,null]]]],[0,[0,0]]]]]],[0,null,!1,null,0x99fbf3834830b,[[-1,G.prototype.D.yf,null,0,!1,!1,!1,0x89c208efc9357,!1,[[0,[1,0.5]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,0xcb9956804d45b,!1,[[11,"score"],[8,5],[7,[0,40]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,6572832522501181,
!1,[[11,"score"],[8,2],[7,[0,80]]]]],[[-1,G.prototype.K.qe,null,5161141249731156,!1,[[4,5],[5,[0,0]],[0,[19,G.prototype.pa.random,[[20,19,P.prototype.pa.Ph,!1,null]]]],[0,[0,0]]]]]],[0,null,!1,null,5174524065937325,[[-1,G.prototype.D.yf,null,0,!1,!1,!1,0xd273e7046f827,!1,[[0,[1,0.37]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,6988335569564372,!1,[[11,"score"],[8,5],[7,[0,80]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,0x6c8ec2549b3ad,!1,[[11,"score"],[8,2],[7,[0,100]]]]],[[-1,G.prototype.K.qe,null,0xf89bc6ed5a0e7,
!1,[[4,5],[5,[0,0]],[0,[19,G.prototype.pa.random,[[20,19,P.prototype.pa.Ph,!1,null]]]],[0,[0,0]]]]]],[0,null,!1,null,0x6f39f97b02b05,[[-1,G.prototype.D.yf,null,0,!1,!1,!1,333196954630796,!1,[[0,[1,0.27]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,0xe326c3ccc129d,!1,[[11,"score"],[8,5],[7,[0,100]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,6075450264491211,!1,[[11,"score"],[8,2],[7,[0,200]]]]],[[-1,G.prototype.K.qe,null,7604266217942943,!1,[[4,5],[5,[0,0]],[0,[19,G.prototype.pa.random,[[20,19,P.prototype.pa.Ph,
!1,null]]]],[0,[0,0]]]]]],[0,null,!1,null,9193945337538344,[[-1,G.prototype.D.yf,null,0,!1,!1,!1,4785298724083112,!1,[[0,[1,0.2]]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,0x83c22fc27ecd6,!1,[[11,"score"],[8,5],[7,[0,200]]]]],[[-1,G.prototype.K.qe,null,5598568414209855,!1,[[4,5],[5,[0,0]],[0,[19,G.prototype.pa.random,[[20,19,P.prototype.pa.Ph,!1,null]]]],[0,[0,0]]]]]],[0,null,!1,null,9693494193072480,[[-1,G.prototype.D.yf,null,0,!1,!1,!1,0xf513b4fe941a,!1,[[0,[0,3]]]],[-1,G.prototype.D.pc,null,0,!1,
!1,!1,0xa84847e510104,!1,[[11,"score"],[8,5],[7,[0,10]]]]],[[-1,G.prototype.K.qe,null,9165238617892028,!1,[[4,23],[5,[0,0]],[0,[19,G.prototype.pa.random,[[20,19,P.prototype.pa.Ph,!1,null]]]],[0,[0,0]]]]]],[0,null,!1,null,0xaadb7737b5261,[[1,Yb.prototype.D.Qg,null,1,!1,!1,!1,4994006738582979,!1,[[4,33]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,0x78dfc3d91b050,!1,[[11,"pause"],[8,0],[7,[0,0]]]]],[[-1,G.prototype.K.Lu,null,9081348724721740,!1,[[0,[0,0]]]],[-1,G.prototype.K.Tn,null,9149708977632792,!1,[[5,
[2,"pause"]],[3,1]]],[-1,G.prototype.K.Tn,null,0x430d57927c3c5,!1,[[5,[2,"main"]],[3,0]]],[-1,G.prototype.K.Nh,null,348177430606603,!1,[[11,"pause"],[7,[0,1]]]],[4,N.prototype.K.Bq,null,9471064417323712,!1,[[3,0]]],[29,P.prototype.K.fg,null,0xc106f00336ef4,!1,[[3,0]]],[23,P.prototype.K.fg,null,6655015437120788,!1,[[3,0]]],[26,P.prototype.K.fg,null,0x7986b2b6f631c,!1,[[3,0]]],[5,P.prototype.K.fg,null,0xfde9e6bbde647,!1,[[3,0]]],[20,P.prototype.K.fg,null,6988572288727555,!1,[[3,0]]]]],[0,null,!1,null,
6929681092890565,[[1,Yb.prototype.D.Qg,null,1,!1,!1,!1,7163040451960679,!1,[[4,34]]],[-1,G.prototype.D.pc,null,0,!1,!1,!1,0x3ecb0c73c58a0,!1,[[11,"pause"],[8,0],[7,[0,1]]]]],[[-1,G.prototype.K.Nh,null,0xca5c3d0ead87b,!1,[[11,"pause"],[7,[0,0]]]],[-1,G.prototype.K.Tn,null,8029260876561212,!1,[[5,[2,"pause"]],[3,0]]],[-1,G.prototype.K.Tn,null,9832298950139100,!1,[[5,[2,"main"]],[3,1]]],[29,P.prototype.K.fg,null,9923386894729576,!1,[[3,1]]],[23,P.prototype.K.fg,null,6915546369932577,!1,[[3,1]]],[26,
P.prototype.K.fg,null,9530023196680682,!1,[[3,1]]],[5,P.prototype.K.fg,null,7208379728369129,!1,[[3,1]]],[20,P.prototype.K.fg,null,8097408884314325,!1,[[3,1]]],[-1,G.prototype.K.Lu,null,5762149826349989,!1,[[0,[1,1]]]],[4,N.prototype.K.nq,null,9923931873425400,!1]]],[0,null,!1,null,4558702595742332,[[-1,G.prototype.D.yf,null,0,!1,!1,!1,7533544543481642,!1,[[0,[0,30]]]]],[[4,N.prototype.K.nq,null,9705364759297144,!1]]]]],["E_game_over",[[0,null,!1,null,8472156323725183,[[-1,G.prototype.D.Pn,null,1,
!1,!1,!1,8156912739928128,!1]],[[18,Xb.prototype.K.Zj,null,8573465280920416,!1,[[7,[23,"record"]]]],[21,Xb.prototype.K.Zj,null,9469334618057140,!1,[[7,[23,"score"]]]],[4,N.prototype.K.Bq,null,0x6caa8bb231671,!1,[[3,1]]]]],[0,null,!1,null,0xdc768b23068de,[[1,Yb.prototype.D.Qg,null,1,!1,!1,!1,5674657654771569,!1,[[4,11]]]],[[-1,G.prototype.K.Mn,null,418198214037481,!1,[[6,"game"]]]]],[0,null,!1,null,0xa5eee6f895361,[[1,Yb.prototype.D.Qg,null,1,!1,!1,!1,5347379380378365,!1,[[4,25]]]],[[2,Wb.prototype.K.lu,
null,6382965350513679,!1,[[1,[2,"https://play.google.com/store/apps/details?id=com.cobigames.tapmoney"]],[1,[2,"NewWindow"]]]]]]]],["E_menu",[[0,null,!1,null,7752703997153815,[[-1,G.prototype.D.Pn,null,1,!1,!1,!1,9326024083073438,!1]],[[4,N.prototype.K.Bq,null,5399762705814819,!1,[[3,1]]]]],[0,null,!1,null,7238077384139937,[[1,Yb.prototype.D.Qg,null,1,!1,!1,!1,7302065893506962,!1,[[4,12]]]],[[-1,G.prototype.K.Mn,null,0xc00401ee14b46,!1,[[6,"game"]]]]],[0,null,!1,null,6003354244331784,[[1,Yb.prototype.D.Qg,
null,1,!1,!1,!1,0xb58c23bd3f09d,!1,[[4,24]]]],[[2,Wb.prototype.K.lu,null,9724027859310106,!1,[[1,[2,"https://play.google.com/store/apps/details?id=com.cobigames.tapmoney"]],[1,[2,"NewWindow"]]]]]]]]],"media/",!1,768,1280,4,!0,!0,!1,"1.2",1,!1,0,!0,39,!1,[]]};
