a&&(a=e),rh&&(h=r);e=q-110;var d=d-101,a=a+131,h=h+120,v,b,l=0,n=0;for(u=0;u<
p;u++)r=t[2*u],q=t[2*u+1],v=t[2*((u+1)%p)],b=t[2*((u+1)%p)+1],la(e,d,c,g,r,q,v,b)&&l++,la(a,h,c,g,r,q,v,b)&&n++;return 1===l%2||1===n%2};n.prototype.Pm=function(c,g,t){var u=c.wb,e=this.wb;if(this.ic(u[0]+g,u[1]+t)||c.ic(e[0]-g,e[1]-t))return!0;var r,p,q,a,d,h,v,b,l,n,f,k;r=0;for(p=this.Ad;r=c||11<=c?"source-over":e[c-1]};Xa=function(c,g,t){if(t)switch(c.xb=t.ONE,c.sb=t.ONE_MINUS_SRC_ALPHA,g){case 1:c.xb=t.ONE;c.sb=t.ONE;break;case 3:c.xb=t.ONE;c.sb=t.ZERO;break;case 4:c.xb=t.ONE_MINUS_DST_ALPHA;c.sb=t.ONE;break;case 5:c.xb=t.DST_ALPHA;c.sb=t.ZERO;break;case 6:c.xb=t.ZERO;c.sb=t.SRC_ALPHA;break;case 7:c.xb=t.ONE_MINUS_DST_ALPHA;c.sb=t.ZERO;break;case 8:c.xb=t.ZERO;c.sb=t.ONE_MINUS_SRC_ALPHA;break;case 9:c.xb=t.DST_ALPHA;c.sb=t.ONE_MINUS_SRC_ALPHA;break;case 10:c.xb=
t.ONE_MINUS_DST_ALPHA,c.sb=t.SRC_ALPHA}};Ya=function(c){return Math.round(1E6*c)/1E6};Za=function(c,g){return"string"!==typeof c||"string"!==typeof g||c.length!==g.length?!1:c===g?!0:c.toLowerCase()===g.toLowerCase()}})();var vb="undefined"!==typeof Float32Array?Float32Array:Array;function wb(b){var k=new vb(3);b&&(k[0]=b[0],k[1]=b[1],k[2]=b[2]);return k}
function xb(b){var k=new vb(16);b&&(k[0]=b[0],k[1]=b[1],k[2]=b[2],k[3]=b[3],k[4]=b[4],k[5]=b[5],k[6]=b[6],k[7]=b[7],k[8]=b[8],k[9]=b[9],k[10]=b[10],k[11]=b[11],k[12]=b[12],k[13]=b[13],k[14]=b[14],k[15]=b[15]);return k}function yb(b,k){k[0]=b[0];k[1]=b[1];k[2]=b[2];k[3]=b[3];k[4]=b[4];k[5]=b[5];k[6]=b[6];k[7]=b[7];k[8]=b[8];k[9]=b[9];k[10]=b[10];k[11]=b[11];k[12]=b[12];k[13]=b[13];k[14]=b[14];k[15]=b[15]}
function zb(b,k){var l=k[0],f=k[1];k=k[2];b[0]*=l;b[1]*=l;b[2]*=l;b[3]*=l;b[4]*=f;b[5]*=f;b[6]*=f;b[7]*=f;b[8]*=k;b[9]*=k;b[10]*=k;b[11]*=k}
function Ab(b,k,l,f){f||(f=xb());var a,n,q,v,d,h,e,c,g=b[0],t=b[1];b=b[2];n=l[0];q=l[1];a=l[2];l=k[1];h=k[2];g===k[0]&&t===l&&b===h?(b=f,b[0]=1,b[1]=0,b[2]=0,b[3]=0,b[4]=0,b[5]=1,b[6]=0,b[7]=0,b[8]=0,b[9]=0,b[10]=1,b[11]=0,b[12]=0,b[13]=0,b[14]=0,b[15]=1):(l=g-k[0],h=t-k[1],e=b-k[2],c=1/Math.sqrt(l*l+h*h+e*e),l*=c,h*=c,e*=c,k=q*e-a*h,a=a*l-n*e,n=n*h-q*l,(c=Math.sqrt(k*k+a*a+n*n))?(c=1/c,k*=c,a*=c,n*=c):n=a=k=0,q=h*n-e*a,v=e*k-l*n,d=l*a-h*k,(c=Math.sqrt(q*q+v*v+d*d))?(c=1/c,q*=c,v*=c,d*=c):d=v=q=0,
f[0]=k,f[1]=q,f[2]=l,f[3]=0,f[4]=a,f[5]=v,f[6]=h,f[7]=0,f[8]=n,f[9]=d,f[10]=e,f[11]=0,f[12]=-(k*g+a*t+n*b),f[13]=-(q*g+v*t+d*b),f[14]=-(l*g+h*t+e*b),f[15]=1)}
(function(){function b(q){this.height=this.width=0;this.Yl=wb([0,0,100]);this.en=wb([0,0,0]);this.io=wb([0,1,0]);this.nl=wb([1,1,1]);this.qk=xb();this.Dc=xb();this.Wm=xb();this.wj=xb();this.G=q;this.Lm()}function k(q,a,d){this.G=q;this.ah=a;this.name=d;this.Cc=q.getAttribLocation(a,"aPos");this.fe=q.getAttribLocation(a,"aTex");this.cn=q.getUniformLocation(a,"matP");this.Jf=q.getUniformLocation(a,"matMV");this.Kf=q.getUniformLocation(a,"opacity");this.dn=q.getUniformLocation(a,"samplerFront");this.ii=
q.getUniformLocation(a,"samplerBack");this.If=q.getUniformLocation(a,"destStart");this.Hf=q.getUniformLocation(a,"destEnd");this.mk=q.getUniformLocation(a,"seconds");this.lk=q.getUniformLocation(a,"pixelWidth");this.kk=q.getUniformLocation(a,"pixelHeight");this.jk=q.getUniformLocation(a,"layerScale");this.Kf&&q.uniform1f(this.Kf,1);this.dn&&q.uniform1i(this.dn,0);this.ii&&q.uniform1i(this.ii,1);this.If&&q.uniform2f(this.If,0,0);this.Hf&&q.uniform2f(this.Hf,1,1);this.Ne=!1}function l(q,a){this.type=
q;this.B=a;this.G=a.G;this.Zc=this.Gc=this.vn=0;this.K=this.cf=null;this.Wk=[]}function f(q){--q;for(var a=1;32>a;a<<=1)q|=q>>a;return q+1}b.prototype.Lm=function(){var q=this.G,a;this.Xm=1;this.Df=null;this.gm=1;q.clearColor(0,0,0,0);q.clear(q.COLOR_BUFFER_BIT);q.enable(q.BLEND);q.blendFunc(q.ONE,q.ONE_MINUS_SRC_ALPHA);q.disable(q.CULL_FACE);q.disable(q.DEPTH_TEST);this.Ym=q.ONE;this.Vm=q.ONE_MINUS_SRC_ALPHA;this.Ek=q.createBuffer();q.bindBuffer(q.ARRAY_BUFFER,this.Ek);this.jh=Array(4);this.eh=Array(4);
for(a=0;4>a;a++)this.jh[a]=q.createBuffer(),q.bindBuffer(q.ARRAY_BUFFER,this.jh[a]),this.eh[a]=q.createBuffer(),q.bindBuffer(q.ARRAY_BUFFER,this.eh[a]);this.qd=0;this.Dq=q.createBuffer();q.bindBuffer(q.ELEMENT_ARRAY_BUFFER,this.Dq);this.ll=new Float32Array(16E3);this.cl=new Float32Array(16E3);this.er=new Float32Array(32E3);for(var d=new Uint16Array(12E3),h=a=0;12E3>a;)d[a++]=h,d[a++]=h+1,d[a++]=h+2,d[a++]=h,d[a++]=h+2,d[a++]=h+3,h+=4;q.bufferData(q.ELEMENT_ARRAY_BUFFER,d,q.STATIC_DRAW);this.Fk=this.hd=
0;this.fb=[];a=this.tj({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}","");this.fb.push(a);a=this.tj({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}","");this.fb.push(a);for(var e in Bb)Bb.hasOwnProperty(e)&&this.fb.push(this.tj(Bb[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));q.activeTexture(q.TEXTURE0);q.bindTexture(q.TEXTURE_2D,null);this.Pd=[];this.od=0;this.Yb=!1;this.hm=this.Gg=-1;this.lg=null;this.Wp=q.createFramebuffer();this.Ln=null;this.re=wb([0,0,0]);this.fd(0)};b.prototype.tj=function(a,b,d){var h=this.G,e=h.createShader(h.FRAGMENT_SHADER);h.shaderSource(e,a.src);h.compileShader(e);if(!h.getShaderParameter(e,h.COMPILE_STATUS))return h.deleteShader(e),null;var c=h.createShader(h.VERTEX_SHADER);h.shaderSource(c,b);h.compileShader(c);if(!h.getShaderParameter(c,
h.COMPILE_STATUS))return h.deleteShader(e),h.deleteShader(c),null;b=h.createProgram();h.attachShader(b,e);h.attachShader(b,c);h.linkProgram(b);if(!h.getProgramParameter(b,h.LINK_STATUS))return h.deleteShader(e),h.deleteShader(c),h.deleteProgram(b),null;h.useProgram(b);h.deleteShader(e);h.deleteShader(c);d=new k(h,b,d);d.Cj=a.Cj||0;d.Dj=a.Dj||0;d.fm=!!a.fm;d.Sl=!!a.Sl;d.F=a.F||[];a=0;for(e=d.F.length;ab;b++)if(this.Wm[b]!==this.Dc[b]){a=!0;break}a&&(a=this.Qc(),a.type=5,a.K?yb(this.Dc,a.K):a.K=xb(this.Dc),yb(this.Dc,this.Wm),this.Yb=!1)};l.prototype.up=function(){this.G.bindTexture(this.G.TEXTURE_2D,this.cf)};l.prototype.rp=function(){var a=this.vn,b=this.B;b.gm=a;b=b.lg;b.Kf&&this.G.uniform1f(b.Kf,a)};l.prototype.op=function(){this.G.drawElements(this.G.TRIANGLES,
this.Zc,this.G.UNSIGNED_SHORT,2*this.Gc)};l.prototype.qp=function(){this.G.blendFunc(this.Gc,this.Zc)};l.prototype.vp=function(){var a,b,d,h=this.B.fb,e=this.B.hm;a=0;for(b=h.length;a"===b.name&&a.vertexAttribPointer(b.Cc,4,a.FLOAT,!1,0,0));if(0"!==b.name&&a.vertexAttribPointer(b.Cc,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.eh[this.qd]);a.bufferData(a.ARRAY_BUFFER,
this.cl.subarray(0,this.hd),a.STREAM_DRAW);b&&0<=b.fe&&""!==b.name&&a.vertexAttribPointer(b.fe,2,a.FLOAT,!1,0,0)}for(var d,a=0,b=this.od;ap?(p*=g,5===h?(h=p/this.Hb,1h&&(h=1/Math.ceil(1/h)),p=this.Hb*h,d=this.Gb*h,b=(c-p)/2,r=(g-d)/2,c=p,g=d):(b=(c-p)/2,c=p)):(d=c/p,5===h?(h=d/this.Gb,1h&&(h=1/Math.ceil(1/h)),p=this.Hb*h,d=this.Gb*h,b=(c-p)/2,r=(g-d)/2,c=p):r=(g-d)/2,g=d),l&&!this.Qe&&(r=b=0),b=Math.floor(b),r=Math.floor(r),c=Math.floor(c),g=Math.floor(g)):this.Qe&&this.zg&&0===
this.um&&(b=Math.floor((c-this.Hb)/2),r=Math.floor((g-this.Gb)/2),c=this.Hb,g=this.Gb);this.Ag&&this.Tm&&1=r)r=5E4;c+=r;this.jd[e].complete||this.jd[e].loaded?g+=r:a=!1}this.Xe=0==c?0:g/c;return a};b.prototype.go=function(){if(this.ja||this.B){var c=this.ja||this.Ck;this.Nb&&this.En();this.Xe=0;this.Zm=-1;if(this.Tl())this.zq();else{var g=Date.now()-this.Mi,a=1;this.Xh&&(a=this.devicePixelRatio);if(c){if(3!==this.Jg&&500<=g&&this.Zm!=this.Xe){c.clearRect(0,0,this.width,this.height);var g=this.width/(2*a),a=this.height/(2*a),e=0===this.Jg&&this.Gf.complete,b=40,r=0,
p=80;e&&(p=this.Gf.width,b=p/2,r=this.Gf.height/2,c.drawImage(this.Gf,ka(g-b),ka(a-r)));1>=this.Jg?(g=ka(g-b)+0.5,a=ka(a+(r+(e?12:0)))+0.5,c.fillStyle="DodgerBlue",c.fillRect(g,a,Math.floor(p*this.Xe),6),c.strokeStyle="black",c.strokeRect(g,a,p,6),c.strokeStyle="white",c.strokeRect(g-1,a-1,p+2,8)):2===this.Jg&&(c.font="12pt Arial",c.fillStyle="#999",c.bt="middle",e=Math.round(100*this.Xe)+"%",b=c.measureText?c.measureText(e):null,c.fillText(e,g-(b?b.width:0)/2,a))}this.Zm=this.Xe}setTimeout(function(c){return function(){c.go()}}(this),
100)}}};b.prototype.zq=function(){this.Nb&&(this.canvas.parentNode.removeChild(this.Nb),this.Nb=this.Ck=null);this.Mi=Date.now();this.Hg=Pa();var c,g,a;if(this.jl)for(c=0,g=this.u.length;cc||2===this.kc&&gg||2===e&&ac++;)this.lm(this.Fe);c=0;for(g=this.Ke.length;cg.Dh.length&&g.Dh.push(c);g.Vf=!0}this.Wc.yg()||(this.qa=!0);this.Wc.clear();this.Yj=!1};b.prototype.em=function(c,g,a,e){if(c.H){var b=ka(Math.random()*c.li.length);return this.em(c.li[b],g,a,e)}return c.xc?this.Vd(c.xc,g,!1,a,e,!1):null};var d=[];b.prototype.Vd=function(c,g,a,e,b,r){var p,h,n,l;if(!c)return null;var f=this.u[c[1]],q=f.Ea.ae;if(this.Cf&&q&&!f.Zj||q&&!this.B&&11===c[0][11])return null;var v=g;q||(g=null);var k;f.Dh.length?(k=f.Dh.pop(),
k.Fc=!0,f.Ea.xa.call(k,f)):(k=new f.Ea.xa(f),k.Fc=!1);k.uid=a&&!r?c[2]:this.Og++;this.Ve[k.uid.toString()]=k;k.Hn=this.on++;k.Oe=f.i.length;p=0;for(h=this.jc.length;pc&&(c=0);c>=this.fa.aa.length&&(c=this.fa.aa.length-1);return this.fa.aa[c]};b.prototype.zm=function(c){return ea(c)?this.vf(c):this.Ph(c.toString())};b.prototype.rj=function(c){var g,a;g=0;for(a=c.length;g=d;)r=1/d,d*=2,c.x+=a*r*(p?1:
-1),c.y+=e*r*(p?1:-1),c.R(),this.$e(c,b)?r=p=!0:(r=p=!1,h=c.x,n=c.y);r&&(c.x=h,c.y=n,c.R())};b.prototype.pr=function(c){var a=0,e=c.x,b=c.y,d=0,r=0,p=0,h=this.bf(c);if(h){for(;100>=a;){switch(d){case 0:r=0;p=-1;a++;break;case 1:r=1;p=-1;break;case 2:r=1;p=0;break;case 3:p=r=1;break;case 4:r=0;p=1;break;case 5:r=-1;p=1;break;case 6:r=-1;p=0;break;case 7:p=r=-1}d=(d+1)%8;c.x=ka(e+r*a);c.y=ka(b+p*a);c.R();if(!this.$e(c,h)&&(h=this.bf(c),!h))return}c.x=e;c.y=b;c.R()}};b.prototype.rr=function(c,a){c.Td&&
a.Td&&this.Kn.push([c,a])};b.prototype.hp=function(c,a,e){var b=c.x,d=c.y,r=ha(10,Fa(a,e,b,d)),p=ya(a,e,b,d),h=this.bf(c);if(!h)return va(p+ja);var n=h,l,f,q,k,v=P(5);for(l=1;36>l;l++)if(f=p-l*v,c.x=a+Math.cos(f)*r,c.y=e+Math.sin(f)*r,c.R(),!this.$e(c,n)&&(n=this.bf(c),!n)){q=f;break}36===l&&(q=va(p+ja));n=h;for(l=1;36>l;l++)if(f=p+l*v,c.x=a+Math.cos(f)*r,c.y=e+Math.sin(f)*r,c.R(),!this.$e(c,n)&&(n=this.bf(c),!n)){k=f;break}36===l&&(k=va(p+ja));c.x=b;c.y=d;c.R();if(k===q)return k;c=za(k,q)/2;c=Da(k,
q)?va(q+c+ja):va(k+c);q=Math.cos(p);p=Math.sin(p);k=Math.cos(c);c=Math.sin(c);a=q*k+p*c;return ya(0,0,q-2*a*k,p-2*a*c)};var h=[],e=-1;b.prototype.trigger=function(c,a,b){if(!this.fa)return!1;var d=this.fa.Gh;if(!d)return!1;e++;e===h.length?h.push(new Qa):h[e].clear();c=this.bo(c,a,d,b);e--;return c};b.prototype.bo=function(c,a,b,d){var n=h[e];if(n.contains(b))return!1;n.add(b);var n=b.Km.$f(),r=!1,p,l,f;p=0;for(l=n.length;p=this.nk.length&&this.nk.push([])};b.prototype.fr=function(){this.ji--};b.prototype.wm=function(){return this.nk[this.ji]};b.prototype.Ci=function(c){this.Hh++;this.Hh>=this.Aj.length&&this.Aj.push(new db);var a=this.ub();a.reset(c);return a};b.prototype.vi=function(){this.Hh--};b.prototype.ub=function(){return this.Aj[this.Hh]};b.prototype.nr=function(){this.ki++;this.ki>=this.pk.length&&this.pk.push(ba({name:void 0,
index:0,Qb:!1}));var c=this.cq();c.name=void 0;c.index=0;c.Qb=!1;return c};b.prototype.gr=function(){this.ki--};b.prototype.cq=function(){return this.pk[this.ki]};b.prototype.xm=function(c,a){for(var e,b,d,r,p,h;a;){e=0;for(b=a.Hc.length;er||r>=c.bb.length||(c.bb[r]=b[e]));if(d.ae){r=a.w;c.p.Y!==r.l&&(b=c.p,c.p=this.fa.Qh(r.l),c.p?(c.p.i.push(c),c.p.gc=!0,sa(b.i,c),b.gc=!0):(c.p=b,this.ue(c)));c.x=r.x;c.y=r.y;c.width=r.w;c.height=r.h;c.gf=r.zi;c.n=r.hasOwnProperty("a")?r.a:0;c.opacity=r.hasOwnProperty("o")?r.o:1;c.Ab=r.hasOwnProperty("hX")?r.hX:0.5;c.Bb=r.hasOwnProperty("hY")?r.hY:0.5;c.visible=r.hasOwnProperty("v")?r.v:!0;c.Td=r.hasOwnProperty("ce")?r.ce:!0;c.Ng=r.hasOwnProperty("mts")?r.mts:-1;c.Kb=r.hasOwnProperty("bm")?
r.bm:0;c.jg=Ua(c.Kb);this.G&&Xa(c,c.Kb,this.G);c.R();if(r.hasOwnProperty("fx"))for(b=0,d=r.fx.length;bh||(c.Kd[h]=r.fx[b].active,c.Ja[h]=r.fx[b].params);c.Id()}if(n=a.behs)for(e in n)n.hasOwnProperty(e)&&(r=this.bq(c,parseInt(e,10)),0>r||c.Z[r].rc(n[e]));a.data&&c.rc(a.data)};gb=function(c){return new b(document.getElementById(c))};hb=function(c,a){return new b({dc:!0,width:c,height:a})};window.cr_createRuntime=gb;window.cr_createDCRuntime=hb;window.createCocoonJSRuntime=
function(){window.c2cocoonjs=!0;var c=document.createElement("screencanvas")||document.createElement("canvas");document.body.appendChild(c);c=new b(c);window.c2runtime=c;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return c}})();window.cr_getC2Runtime=function(){var b=document.getElementById("c2canvas");return b?b.c2runtime:window.c2runtime?window.c2runtime:null};
window.cr_sizeCanvas=function(b,k){if(0!==b&&0!==k){var l=window.cr_getC2Runtime();l&&l.setSize(b,k)}};window.cr_setSuspended=function(b){var k=window.cr_getC2Runtime();k&&k.setSuspended(b)};
(function(){function b(a,b){this.b=a;this.Gh=null;this.scrollX=this.b.Hb/2;this.scrollY=this.b.Gb/2;this.scale=1;this.n=0;this.qg=!0;this.name=b[0];this.width=b[1];this.height=b[2];this.ho=b[3];this.Vn=b[4];this.Y=b[5];var l=b[6],f,d;this.aa=[];this.xg=[];f=0;for(d=l.length;f=this.aa.length&&(c=this.aa.length-1);h.p=this.aa[c];h.p.i.push(h);h.p.gc=!0}f.length=0;this.fp();a=0;for(q=this.aa.length;aq?h.siblings.push(e.i[q]):e.xc&&(d=this.b.Vd(e.xc,h.p,!0,
h.x,h.y,!0),this.b.pb(),e.Xi(),h.siblings.push(d),f.push(d)));a=0;for(q=this.Pe.length;a=this.ha.length?(1===this.ha.length?(b=this.ha[0].index,a.fd(this.ha[0].nb),a.Tf(null,1/this.b.width,1/this.b.height,0,0,1,1,this.scale,this.Ja[b]),a.Ai(this.ha[0].nb)&&(this.b.qa=!0)):a.fd(0),a.Ed(null),a.Ye(1),a.sc(this.b.Oc),a.Sn(),a.ie(),a.te(),b=this.b.width/2,l=this.b.height/2,a.Di(-b,l,b,l,b,-l,-b,-l),a.sc(null)):
this.Kk(a,null,null,null))};b.prototype.tg=function(){return 0this.width-b&&(a=this.width-b);athis.height-b&&(a=this.height-b);aI&&(I=0);0>A&&(A=0);N>J&&(N=J);z>F&&(z=F);0>w&&(w=0);
0>L&&(L=0);aa>J&&(aa=J);C>F&&(C=F);D.left=I/J;D.top=1-A/F;D.right=N/J;D.bottom=1-z/F}else D.left=G.left=0,D.top=G.top=0,D.right=G.right=1,D.bottom=G.bottom=1;K=l&&((l.n||S)&&a.Ug(d[0].nb)||0!==t||0!==K||1!==l.opacity||l.type.Ea.mn)||b&&!l&&1!==b.opacity;a.Sn();if(K){e[k]||(e[k]=a.Ud(J,F,this.b.Da));if(e[k].hg!==J||e[k].gg!==F)a.deleteTexture(e[k]),e[k]=a.Ud(J,F,this.b.Da);a.fd(0);a.Ed(e[k]);p=C-L;a.clearRect(w,F-L-p,aa-w,p);l?l.zc(a):(a.sc(this.b.qc),a.Ye(b.opacity),a.ie(),a.translate(-y,-R),a.te(),
a.ed(I,z,N,z,N,A,I,A,D));G.left=G.top=0;G.right=G.bottom=1;l&&(u=D.top,D.top=D.bottom,D.bottom=u);k=1;r=0}a.Ye(1);t=d.length-1;var S=a.Gk(d[t].nb),Q=0;c=0;for(g=d.length;cthis.Rb||e.top>this.ec||(l.globalCompositeOperation=h.jg,h.sd(l)));l.restore();this.he&&(a.globalCompositeOperation=this.jg,a.globalAlpha=this.opacity,a.drawImage(b,0,0))};k.prototype.Nk=function(a,b,l){var f=
this.Ac();this.fc=a;this.tc=b;this.Rb=a+this.b.width*(1/f);this.ec=b+this.b.height*(1/f);a=this.lc();0!==a&&(l&&(l.translate(this.b.width/2,this.b.height/2),l.rotate(-a),l.translate(this.b.width/-2,this.b.height/-2)),this.Hd.set(this.fc,this.tc,this.Rb,this.ec),this.Hd.offset((this.fc+this.Rb)/-2,(this.tc+this.ec)/-2),this.ao.Un(this.Hd,a),this.ao.Vl(this.Hd),this.Hd.offset((this.fc+this.Rb)/2,(this.tc+this.ec)/2),this.fc=this.Hd.left,this.tc=this.Hd.top,this.Rb=this.Hd.right,this.ec=this.Hd.bottom)};
k.prototype.zc=function(a){var b=this.b.width,l=this.b.height,f=0,d=0;if(this.he=this.Fj||1!==this.opacity||0this.Rb||f.top>this.ec)))if(g.ko)if(f=g.ha[0].nb,d=g.ha[0].index,1!==g.ha.length||a.Gk(f)||a.kr(f)||(g.n||g.p.lc())&&a.Ug(f)||1!==g.opacity||g.type.Ea.mn)this.ua.Kk(a,this,g,this.he?
this.b.qc:this.ua.tg()),a.ie(),a.scale(h,h),a.Nn(-this.lc()),a.translate((this.fc+this.Rb)/-2,(this.tc+this.ec)/-2),a.te();else{a.fd(f);a.ke(g.xb,g.sb);a.Ai(f)&&(this.b.qa=!0);var t=0,k=0,x=0,r=0;a.Ug(f)&&(f=g.O,t=this.Db(f.left,f.top,!0),k=this.Db(f.left,f.top,!1),x=this.Db(f.right,f.bottom,!0),f=this.Db(f.right,f.bottom,!1),t/=b,k=1-k/l,x/=b,r=1-f/l);a.Tf(this.he?this.b.qc:this.ua.tg(),1/g.width,1/g.height,t,k,x,r,this.Ac(),g.Ja[d]);g.zc(a)}else a.fd(0),a.ke(g.xb,g.sb),g.zc(a);this.he&&(f=this.ha.length?
this.ha[0].nb:0,d=this.ha.length?this.ha[0].index:0,0===this.ha.length||1===this.ha.length&&!a.Gk(f)&&1===this.opacity?(1===this.ha.length?(a.fd(f),a.Tf(this.ua.tg(),1/this.b.width,1/this.b.height,0,0,1,1,this.Ac(),this.Ja[d]),a.Ai(f)&&(this.b.qa=!0)):a.fd(0),a.Ed(this.ua.tg()),a.Ye(this.opacity),a.sc(this.b.qc),a.ke(this.xb,this.sb),a.ie(),a.te(),b=this.b.width/2,l=this.b.height/2,a.Di(-b,l,b,l,b,-l,-b,-l),a.sc(null)):this.ua.Kk(a,this,null,this.ua.tg()))};k.prototype.zb=function(a,b,l){var f=this.b.devicePixelRatio;
this.b.Ag&&0c[1].index&&(a=c[0],c[0]=c[1],c[1]=a):2=t.length&&(t.length=c.length+1);t[c.length]||(t[c.length]=[]);g=t[c.length];a=0;for(e=g.length;a=a.length&&(a.length=this.Ue+1),a[this.Ue]=c):this.data=c};e.prototype.wf=function(){var c=this.b.wm();return!this.parent||this.Eg||!c||this.Yh?this.data:this.Ue>=c.length||"undefined"===typeof c[this.Ue]?this.Vj:c[this.Ue]};e.prototype.Wa=function(){!this.parent||this.Eg||this.Yh||this.Fd(this.Vj)};fb=e;c.prototype.toString=function(){return"include:"+this.wg.toString()};
c.prototype.Na=function(){this.wg=this.b.Bj[this.Cq];this.sheet.Km.add(this);this.ra=l(this.ra)};c.prototype.Wa=function(){this.parent&&this.b.Vg(this.b.u);this.wg.Sj||this.wg.Wa(!0);this.parent&&this.b.We(this.b.u)};c.prototype.Gq=function(){for(var c=this.parent;c;){if(c.group&&!this.b.Ae[c.xf.toLowerCase()])return!1;c=c.parent}return!0};ob=c;g.prototype.reset=function(c){this.lb=c;this.Vb=this.Sa=0;this.Yn.length=0;this.zj=this.Ef=!1};g.prototype.Lq=function(){return this.lb.Zk?!0:this.Sa=this.type&&(this.first=new mb(b,f[1]),this.jb=new mb(b,f[2]));if(a){var k,q;k=0;for(q=a.length;kf&&(f+=a.length);a=a[f];-1f&&(f+=a.length);a=a[f].bb[this.kl];O(a)?b.cc(a):b.J(a);this.I.Va();return}this.I.Va()}f%=a.length;0>f&&(f+=a.length);a=a[f];f=0;this.$b.H&&(f=a.type.Jh[this.$b.Yc]);a=a.bb[this.kl+f];O(a)?b.cc(a):b.J(a)};b.prototype.Jp=function(b){b.type=tb.kf;b.data=this.value};b.prototype.Fp=function(b){b.type=tb.hf;b.data=this.value};b.prototype.Rp=function(b){b.type=tb.qh;b.data=this.value};b.prototype.Up=
function(b){this.first.get(b);b.gb()&&(b.data=-b.data)};b.prototype.zp=function(b){this.first.get(b);var f=this.I.eb();this.jb.get(f);b.gb()&&f.gb()&&(b.data+=f.data,f.Bf()&&b.Lf());this.I.Va()};b.prototype.Sp=function(b){this.first.get(b);var f=this.I.eb();this.jb.get(f);b.gb()&&f.gb()&&(b.data-=f.data,f.Bf()&&b.Lf());this.I.Va()};b.prototype.Np=function(b){this.first.get(b);var f=this.I.eb();this.jb.get(f);b.gb()&&f.gb()&&(b.data*=f.data,f.Bf()&&b.Lf());this.I.Va()};b.prototype.Cp=function(b){this.first.get(b);
var f=this.I.eb();this.jb.get(f);b.gb()&&f.gb()&&(b.data/=f.data,b.Lf());this.I.Va()};b.prototype.Mp=function(b){this.first.get(b);var f=this.I.eb();this.jb.get(f);b.gb()&&f.gb()&&(b.data%=f.data,f.Bf()&&b.Lf());this.I.Va()};b.prototype.Qp=function(b){this.first.get(b);var f=this.I.eb();this.jb.get(f);b.gb()&&f.gb()&&(b.data=Math.pow(b.data,f.data),f.Bf()&&b.Lf());this.I.Va()};b.prototype.Ap=function(b){this.first.get(b);var f=this.I.eb();this.jb.get(f);b.gb()?f.$h()?b.cc(b.data.toString()+f.data):
b.data&&f.data?b.ea(1):b.ea(0):b.$h()&&(b.data=f.$h()?b.data+f.data:b.data+(Math.round(1E10*f.data)/1E10).toString());this.I.Va()};b.prototype.Pp=function(b){this.first.get(b);var f=this.I.eb();this.jb.get(f);b.gb()&&f.gb()&&(b.data||f.data?b.ea(1):b.ea(0));this.I.Va()};b.prototype.Bp=function(b){this.first.get(b);b.data?this.jb.get(b):this.Qi.get(b)};b.prototype.Dp=function(b){this.first.get(b);var f=this.I.eb();this.jb.get(f);b.ea(b.data===f.data?1:0);this.I.Va()};b.prototype.Op=function(b){this.first.get(b);
var f=this.I.eb();this.jb.get(f);b.ea(b.data!==f.data?1:0);this.I.Va()};b.prototype.Kp=function(b){this.first.get(b);var f=this.I.eb();this.jb.get(f);b.ea(b.dataf.data?1:0);this.I.Va()};b.prototype.Hp=function(b){this.first.get(b);var f=this.I.eb();this.jb.get(f);b.ea(b.data>=
f.data?1:0);this.I.Va()};b.prototype.Ep=function(b){var f=this.Le.wf();ea(f)?b.J(f):b.cc(f)};mb=b;k.prototype.Bf=function(){return this.type===tb.hf};k.prototype.gb=function(){return this.type===tb.kf||this.type===tb.hf};k.prototype.$h=function(){return this.type===tb.qh};k.prototype.Lf=function(){this.Bf()||(this.$h()&&(this.data=parseFloat(this.data)),this.type=tb.hf)};k.prototype.ea=function(b){this.type=tb.kf;this.data=Math.floor(b)};k.prototype.J=function(b){this.type=tb.hf;this.data=b};k.prototype.cc=
function(b){this.type=tb.qh;this.data=b};k.prototype.le=function(b){ea(b)?(this.type=tb.hf,this.data=b):O(b)?(this.type=tb.qh,this.data=b.toString()):(this.type=tb.kf,this.data=0)};sb=k;tb={kf:0,hf:1,qh:2}})();function T(b){this.b=b;this.Sb=[]}
T.prototype.Pb=function(){var b={},k,l,f,a,n,q,v,d;b.waits=[];var h=b.waits,e;k=0;for(l=this.Sb.length;k=e.length)return!1;b.Sf(e[c]);a.Ce();return!0};b.prototype.Tb=function(a){return this.b.Ae[a.toLowerCase()]};b.prototype.la=function(){var a=this.b.ub();
return a.zj?!1:!a.Ef};b.prototype.xl=E(!0);b.prototype.xo=E(!0);b.prototype.dj=E(!0);b.prototype.Ao=E(!0);b.prototype.cj=E(!0);f.d=new b;k.prototype.jf=function(a){this.b.Cf||this.b.Fe||(this.b.Fe=a)};k.prototype.qb=function(a,b,e,c){if(b&&a&&(b=this.b.em(a,b,e,c))){this.b.Mc++;var g;this.b.trigger(Object.getPrototypeOf(a.Ea).d.aj,b);if(b.Zb)for(e=0,c=b.siblings.length;ea&&(a=0);this.b.Gd=a};var q=[],v=[];k.prototype.kj=function(a){if(!(0>a)){var b,e,c,g=this.b.ub(),f;f=q.length?q.pop():{Ib:{},ra:[]};f.yj=!1;f.time=this.b.Bc.Xa+a;f.sf=g.lb;f.Vb=g.Vb+1;a=0;for(b=this.b.u.length;a=a||0>=b||this.b.setSize(a,b)};f.c=new k;l.prototype["int"]=function(a,b){O(b)?(a.ea(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.ea(b)};l.prototype["float"]=function(a,b){O(b)?(a.J(parseFloat(b)),isNaN(a.data)&&(a.data=0)):a.J(b)};l.prototype.random=function(a,b,e){void 0===e?a.J(Math.random()*b):a.J(Math.random()*(e-b)+b)};l.prototype.sqrt=
function(a,b){a.J(Math.sqrt(b))};l.prototype.round=function(a,b){a.ea(Math.round(b))};l.prototype.floor=function(a,b){a.ea(Math.floor(b))};l.prototype.ceil=function(a,b){a.ea(Math.ceil(b))};l.prototype.sin=function(a,b){a.J(Math.sin(P(b)))};l.prototype.cos=function(a,b){a.J(Math.cos(P(b)))};l.prototype.tan=function(a,b){a.J(Math.tan(P(b)))};l.prototype.acos=function(a,b){a.J(ta(Math.acos(b)))};l.prototype.exp=function(a,b){a.J(Math.exp(b))};l.prototype.max=function(a){var b=arguments[1],e,c;e=2;for(c=
arguments.length;earguments[e]&&(b=arguments[e]);a.J(b)};l.prototype.tb=function(a){a.J(this.b.tb)};l.prototype.Gd=function(a){a.J(this.b.Gd)};l.prototype.time=function(a){a.J(this.b.Bc.Xa)};l.prototype.Yf=function(a){a.ea(this.b.Yf)};l.prototype.ni=function(a){a.ea(this.b.ni)};l.prototype.Gj=function(a){a.ea(this.b.Gj)};l.prototype.n=function(a,b,e,c,g){a.J(ta(ya(b,
e,c,g)))};l.prototype.je=function(a){a.J(this.b.fa.scrollX)};l.prototype.qo=function(a){a.ea(this.b.width)};l.prototype.po=function(a){a.ea(this.b.height)};l.prototype.gn=function(a,b){a.cc(O(b)?b.toLowerCase():"")};l.prototype.find=function(a,b,e){O(b)&&O(e)?a.ea(b.search(RegExp(Sa(e),"i"))):a.ea(-1)};l.prototype.left=function(a,b,e){a.cc(O(b)?b.substr(0,e):"")};l.prototype.right=function(a,b,e){a.cc(O(b)?b.substr(b.length-e):"")};l.prototype.replace=function(a,b,e,c){O(b)&&O(e)&&O(c)?a.cc(b.replace(RegExp(Sa(e),
"gi"),c)):a.cc(O(b)?b:"")};l.prototype.Ge=function(a){var b=ka(Math.random()*(arguments.length-1));a.le(arguments[b+1])};l.prototype.sj=function(a){a.J(this.b.sj/1E3)};l.prototype.mo=function(a,b){var e=this.b.zm(b);a.J(e?e.fc:0)};l.prototype.no=function(a,b){var e=this.b.zm(b);a.J(e?e.Rb:0)};l.prototype.ee=function(a){a.J(this.b.ee)};f.j=new l;f.ur=function(){var a,b,e,c,g,f,l=this.b.ub();a=0;for(e=this.Sb.length;athis.b.Bc.Xa)){l.lb=c.sf;l.Vb=c.Vb;l.Sa=0;for(b in c.Ib)c.Ib.hasOwnProperty(b)&&
(g=this.b.u[parseInt(b,10)].V(),f=c.Ib[b],g.X=f.Gi,ra(g.i,f.vd),g=f,g.vd.length=0,v.push(g));c.sf.tr();this.b.rj(c.ra);c.yj=!0}b=a=0;for(e=this.Sb.length;aa.Rb||c.top>a.ec)},d.js=function(){this.$a();var a=this.O,c=this.b.fa;return 0>a.right||0>a.bottom||a.left>c.width||a.top>c.height},d.us=function(a,c,b){var d=this.V(),
f=d.Xb();if(!f.length)return!1;var h=f[0],l=h,k=Fa(h.x,h.y,c,b),n,q,y;n=1;for(q=f.length;nk)k=y,l=h;d.Sf(l);return!0},h.Uc=function(a){this.x!==a&&(this.x=a,this.R())},h.Js=function(a){this.y!==a&&(this.y=a,this.R())},h.Gs=function(a,c){if(this.x!==a||this.y!==c)this.x=a,this.y=c,this.R()},h.Hs=function(a,c){var b=a.iq(this);if(b){var d;b.Oj?(d=b.Oj(c,!0),b=b.Oj(c,!1)):(d=b.x,b=b.y);if(this.x!==d||this.y!==b)this.x=d,this.y=b,this.R()}},h.ns=
function(a){0!==a&&(this.x+=Math.cos(this.n)*a,this.y+=Math.sin(this.n)*a,this.R())},h.ms=function(a,c){0!==c&&(this.x+=Math.cos(P(a))*c,this.y+=Math.sin(P(a))*c,this.R())},k.ya=function(a){a.J(this.x)},k.ga=function(a){a.J(this.y)},k.tb=function(a){a.J(this.b.Lj(this))});a&&(d.Zr=function(a,c){return bc(this.width,a,c)},d.Xr=function(a,c){return bc(this.height,a,c)},h.Oo=function(a){this.width!==a&&(this.width=a,this.R())},h.Lo=function(a){this.height!==a&&(this.height=a,this.R())},h.Is=function(a,
c){if(this.width!==a||this.height!==c)this.width=a,this.height=c,this.R()},k.Ro=function(a){a.J(this.width)},k.bs=function(a){a.J(this.height)},k.Ur=function(a){this.$a();a.J(this.O.left)},k.Wr=function(a){this.$a();a.J(this.O.top)},k.Vr=function(a){this.$a();a.J(this.O.right)},k.Tr=function(a){this.$a();a.J(this.O.bottom)});n&&(d.ro=function(a,c){return za(this.n,P(c))<=P(a)},d.es=function(a){return Da(this.n,P(a))},d.tl=function(a,c){var b=xa(a),d=xa(c),f=va(this.n);return Da(d,b)?Da(f,b)&&!Da(f,
d):!(!Da(f,b)&&Da(f,d))},h.oh=function(a){a=P(ua(a));isNaN(a)||this.n===a||(this.n=a,this.R())},h.ys=function(a){0===a||isNaN(a)||(this.n+=P(a),this.n=va(this.n),this.R())},h.zs=function(a){0===a||isNaN(a)||(this.n-=P(a),this.n=va(this.n),this.R())},h.As=function(a,c){var b=Aa(this.n,P(c),P(a));isNaN(b)||this.n===b||(this.n=b,this.R())},h.Jo=function(a,c,b){a=Aa(this.n,Math.atan2(b-this.y,c-this.x),P(a));isNaN(a)||this.n===a||(this.n=a,this.R())},h.No=function(a,c){var b=Math.atan2(c-this.y,a-this.x);
isNaN(b)||this.n===b||(this.n=b,this.R())},k.$i=function(a){a.J(wa(this.n))});l||(d.ka=function(a,c,b){return bc(this.bb[a],c,b)},d.ds=function(a){return this.bb[a]},d.vs=function(a,c){var b=this.V(),d=b.Xb();if(!d.length)return!1;var f=d[0],h=f,l=f.bb[c],k,n,q;k=1;for(n=d.length;kl)l=q,h=f;b.Sf(h);return!0},d.ts=function(a){var c,b,d,f,h;if(this.b.Oh().zf){h=this.V();if(h.X)for(h.X=!1,h.i.length=0,h.ba.length=0,d=this.i,c=0,b=d.length;ca?a=0:1f.p.index||d.p.index===f.p.index&&d.nc()>f.nc())f=d}else if(d.p.indexb)){var d=1===a;this.Kd[b]!==d&&(this.Kd[b]=d,this.Id(),this.b.qa=!0)}}},h.Es=function(a,c,b){if(this.b.B){var d=this.type.Nj(a);0>d||(a=this.type.P[d],d=this.Ja[d],c=Math.floor(c),0>c||c>=d.length||(1===this.b.B.lq(a.nb,c)&&(b/=100),d[c]!==b&&(d[c]=b,a.md&&(this.b.qa=!0))))}})}function Wb(){this.mj=!0;this.b.qa=!0;var b,k;b=0;for(k=this.uh.length;bthis.O.right&&(b=this.O.left,this.O.left=this.O.right,this.O.right=b);this.O.top>this.O.bottom&&(b=this.O.top,this.O.top=this.O.bottom,this.O.bottom=b);this.mj=!1}}
function Yb(b,k){return this.O.ic(b,k)&&this.Lb.ic(b,k)?this.Aa&&!this.Aa.Dg()?(this.Aa.ig(this.width,this.height,this.n),this.Aa.ic(b-this.x,k-this.y)):!0:!1}function Ub(){this.type.Xi();return this.Oe}function $b(){this.p.Mr();return this.gf}function ac(){this.ha.length=0;var b,k;b=0;for(k=this.Kd.length;bl;case 5:return b>=l;default:return!1}}var Bb={};function cc(b){this.b=b}
(function(){function b(a){0>a&&(a=0);1a&&(a=0.01);this.xi.gain.value=a;this.wi.gain.value=Math.pow(1/a,0.6)*c};x.prototype.shape=function(a,c,b){var e=1.05*b*c-c;b=0>a?-1:1;a=0>a?-a:a;c=ad;++d)g=d/32768,g=this.shape(g,b,e),this.Ch[32768+d]=g,this.Ch[32768-d-1]=-g};x.prototype.vc=function(a){this.N.disconnect();this.N.connect(a);this.M.disconnect();this.M.connect(a)};x.prototype.remove=function(){this.$.disconnect();this.xi.disconnect();this.Zi.disconnect();this.wi.disconnect();this.N.disconnect();this.M.disconnect()};x.prototype.mc=s("$");r.prototype.vc=function(a){this.ca.disconnect();this.ca.connect(a)};r.prototype.remove=function(){this.ca.disconnect()};
r.prototype.mc=s("ca");p.prototype.ob=function(){this.ca.getFloatFrequencyData(this.Yp);this.ca.getByteTimeDomainData(this.Wn);for(var a=this.ca.fftSize,c=0,e=this.Sg=0,g=0;cg&&(g=-g),this.Sgthis.pe.length||this.pe.shift(),this.pe.push(a),this.bi=this.W.x,this.ci=this.W.y)};J.prototype.Cm=function(){if(!this.pe.length)return 0;var a,c,b=0;a=0;for(c=this.pe.length;athis.buffer.za.duration:this.r.ended;case K:return this.Dk;case S:!0}return!0};y.prototype.ip=function(){return this.Yd||this.Qb?!0:this.vg()};y.prototype.Tk=function(a){Q===C&&(!this.ad&&a?(this.Ma||(this.Ma=H.createPanner(),this.Ma.panningModel="number"===typeof this.Ma.panningModel?qb:["equalpower",
"HRTF","soundfield"][qb],this.Ma.distanceModel="number"===typeof this.Ma.distanceModel?rb:["linear","inverse","exponential"][rb],this.Ma.refDistance=Mb,this.Ma.maxDistance=Nb,this.Ma.rolloffFactor=Ob),this.mb.disconnect(),this.mb.connect(this.Ma),this.Ma.connect(k(this.qe)),this.ad=!0):this.ad&&!a&&(this.Ma.disconnect(),this.mb.disconnect(),this.mb.connect(k(this.qe)),this.ad=!1))};y.prototype.Sk=function(a,c,b,e,g,d){this.ad&&Q===C&&(this.Ma.setPosition(a,c,0),this.Ma.setOrientation(Math.cos(P(b)),
Math.sin(P(b)),0),this.Ma.coneInnerAngle=e,this.Ma.coneOuterAngle=g,this.Ma.coneOuterGain=d,this.An=a,this.Bn=c,this.wn=b,this.xn=e,this.yn=g,this.zn=d)};y.prototype.Zg=function(a){this.ad&&Q===C&&(this.cb||(this.cb=new J),this.cb.Zg(a))};y.prototype.ob=function(a){if(this.ad&&Q===C&&this.cb&&this.cb.Th()&&this.Se()){this.cb.ob(a);a=this.cb.W;var c=Ea(a.x,a.y,-a.p.lc(),La,Ma,!0),b=Ea(a.x,a.y,-a.p.lc(),La,Ma,!1);this.Ma.setPosition(c,b,0);c=0;"undefined"!==typeof this.cb.W.n&&(c=a.n-a.p.lc(),this.Ma.setOrientation(Math.cos(c),
Math.sin(c),0));this.Ma.setVelocity(this.cb.Dm(),this.cb.Em(),0)}};y.prototype.play=function(c,b,e){var g=this.r;this.yd=c;this.volume=b;e=e||0;switch(this.ma){case z:1!==g.playbackRate&&(g.playbackRate=1);g.volume!==b*Ba&&(g.volume=b*Ba);g.loop!==c&&(g.loop=c);g.muted&&(g.muted=!1);if(g.currentTime!==e)try{g.currentTime=e}catch(d){}this.r.play();break;case C:this.muted=!1;this.Mg=1;if(this.buffer.ma===C)this.Yd||(this.r=H.createBufferSource(),this.r.buffer=this.buffer.za,this.r.connect(this.mb)),
this.r.loop=c,this.mb.gain.value=b*Ba,0===e?a(this.r):n(this.r,e,this.uf());else{1!==g.playbackRate&&(g.playbackRate=1);g.loop!==c&&(g.loop=c);this.mb.gain.value=b*Ba;if(g.currentTime!==e)try{g.currentTime=e}catch(f){}g.play()}break;case K:(!this.Yd&&this.Qb||0!==e)&&g.seekTo(e);g.play();this.Dk=!1;break;case S:A.oc?AppMobi.context.playSound(this.src):AppMobi.player.playSound(this.src)}this.playbackRate=1;this.startTime=A.Bc.Xa-e;this.$d=this.Qb=this.Yd=!1};y.prototype.stop=function(){switch(this.ma){case z:this.r.paused||
this.r.pause();break;case C:this.buffer.ma===C?q(this.r):this.r.paused||this.r.pause();break;case K:this.r.stop()}this.Qb=!0;this.$d=!1};y.prototype.pause=function(){if(!(this.Yd||this.Qb||this.vg()||this.$d)){switch(this.ma){case z:this.r.paused||this.r.pause();break;case C:this.buffer.ma===C?(this.Rc=this.Pj(),this.yd&&(this.Rc%=this.uf()),q(this.r)):this.r.paused||this.r.pause();break;case K:this.r.pause()}this.$d=!0}};y.prototype.qr=function(a){this.ma===C&&(this.ad?(this.Ma.disconnect(),this.Ma.connect(a)):
(this.mb.disconnect(),this.mb.connect(a)))};y.prototype.uf=function(){switch(this.ma){case z:if("undefined"!==typeof this.r.duration)return this.r.duration;break;case C:return this.buffer.za.duration;case K:return this.r.getDuration()}return 0};y.prototype.Pj=function(){var a=this.uf(),c=0;switch(this.ma){case z:"undefined"!==typeof this.r.currentTime&&(c=this.r.currentTime);break;case C:if(this.buffer.ma===C){if(this.$d)return this.Rc;c=A.Bc.Xa-this.startTime}else"undefined"!==typeof this.r.currentTime&&
(c=this.r.currentTime)}!this.yd&&c>a&&(c=a);return c};y.prototype.Se=function(){return!this.$d&&!this.Yd&&!this.Qb&&!this.vg()};y.prototype.Lr=function(){var a=this.volume*Ba;switch(this.ma){case z:this.r.volume&&this.r.volume!==a&&(this.r.volume=a);break;case C:this.mb.gain.value=a*this.Mg}};y.prototype.mm=function(a){switch(this.ma){case z:this.r.muted!==!!a&&(this.r.muted=!!a);break;case C:this.Mg=a?0:1,this.mb.gain.value=Ba*this.volume*this.Mg}};y.prototype.Ii=function(a){this.ck=!!a;this.mm(this.bk||
this.ck)};y.prototype.jo=function(){var a=this.playbackRate;if(1===eb&&!this.Nc||2===eb)a*=A.Gd;switch(this.ma){case z:this.r.playbackRate!==a&&(this.r.playbackRate=a);break;case C:this.buffer.ma===C?this.r.playbackRate.value!==a&&(this.r.playbackRate.value=a):this.r.playbackRate!==a&&(this.r.playbackRate=a)}};y.prototype.Er=function(a){switch(this.ma){case z:a?this.Se()?(this.r.pause(),this.Bd=!0):this.Bd=!1:this.Bd&&this.r.play();break;case C:a?this.Se()?(this.buffer.ma===C?(this.Rc=this.Pj(),this.yd&&
(this.Rc%=this.uf()),q(this.r)):this.r.pause(),this.Bd=!0):this.Bd=!1:this.Bd&&(this.buffer.ma===C?(this.r=H.createBufferSource(),this.r.buffer=this.buffer.za,this.r.connect(this.mb),this.r.loop=this.yd,this.mb.gain.value=Ba*this.volume*this.Mg,this.startTime=A.Bc.Xa-this.Rc,n(this.r,this.Rc,this.uf())):this.r.play());break;case K:a?this.Se()?(this.r.pause(),this.Bd=!0):this.Bd=!1:this.Bd&&this.r.play()}};w.xa=function(c){this.type=c;A=this.b=c.b;L=this;this.Eb=null;this.Ig=-600;H=null;"undefined"!==
typeof AudioContext?(Q=C,H=new AudioContext):"undefined"!==typeof webkitAudioContext&&(Q=C,H=new webkitAudioContext);this.b.dk&&Q===C&&document.addEventListener("touchstart",function(){if(!Pb){var c=H.createBuffer(1,1,22050),b=H.createBufferSource();b.buffer=c;b.connect(H.destination);a(b);Pb=!0}},!0);Q!==C&&(this.b.Re?Q=K:this.b.Af&&(Q=S));Q===K&&(aa=location.href,c=aa.lastIndexOf("/"),-1"!==c&&(a.si=c,a.ok=e,a.ml=g),null;h=new y(a,c);M.push(h);return h};var Ha=[];G.prototype.bj=function(a){return Za(N,a)};G.prototype.El=function(){var a,c;a=0;for(c=Ja.length;ab&&(b=0),1",c,!1)}};I.prototype.Fl=function(){var a,c;a=0;for(c=M.length;aq?null:n[q];return b?Za(a,b.name):!1};a.d=new k;l.prototype.CallFunction=function(a,d){var f;q++;q===n.length&&n.push(new b);f=n[q];f.name=a.toLowerCase();f.Mk=0;ra(f.Ob,d);this.b.trigger(W.prototype.d.yb,this,
f.name);q--};l.prototype.Ub=function(a){var b=0>q?null:n[q];b&&(b.Mk=a)};a.c=new l;f.prototype.hj=function(a){var b;n.length?(b=q+1,b>=n.length&&(b=n.length-1),b=n[b]):b=null;b?a.le(b.Mk):a.ea(0)};f.prototype.fj=function(a,b){b=ka(b);var f=0>q?null:n[q];f?0<=b&&bthis.D&&(this.D=0);this.D>=this.Ga.frames.length&&(this.D=this.Ga.frames.length-1);var a=this.Ga.frames[this.D];this.Aa.$g(a.ti);this.Ab=a.Ab;this.Bb=a.Bb;this.kg=this.Ga.speed;this.Fc?this.Vc.reset():this.Vc=new Ra;this.td=
this.Vc.Xa;this.Md=!0;this.nd=0;this.Be=!0;this.pf=this.Rl="";this.$l=0;this.wh=-1;this.type.ik();var c,b,d,f,h,l,k,a=0;for(c=this.type.Wb.length;athis.D&&(this.D=0);this.D>=this.Ga.frames.length&&(this.D=this.Ga.frames.length-1);this.kg=a.cas;this.td=a.fs;this.nd=a.ar;this.Vc.reset();this.Vc.Xa=a.at;this.Md=a.hasOwnProperty("ap")?a.ap:!0;this.Be=a.hasOwnProperty("af")?a.af:!0;this.wc=this.Ga.frames[this.D];this.Bh=this.wc.S;
this.Aa.$g(this.wc.ti);this.Ab=this.wc.Ab;this.Bb=this.wc.Bb};q.lj=function(a){this.D=a?0:this.Ga.frames.length-1;this.Md=!1;this.Rl=this.Ga.name;this.Vh=!0;this.b.trigger(X.prototype.d.vo,this);this.b.trigger(X.prototype.d.ve,this);this.Vh=!1;this.nd=0};q.Ts=function(){return this.Vc.Xa};q.ob=function(){this.Vc.add(this.b.Lj(this));this.pf.length&&this.jm();0<=this.wh&&this.km();var a=this.Vc.Xa,c=this.Ga,b=c.frames[this.D],d=b.duration/this.kg;this.Md&&a>=this.td+d&&(this.Be?this.D++:this.D--,this.td+=
d,this.D>=c.frames.length&&(c.Cn?(this.Be=!1,this.D=c.frames.length-2):c.loop?this.D=c.Ei:(this.nd++,this.nd>=c.Lk?this.lj(!1):this.D=c.Ei)),0>this.D&&(c.Cn?(this.D=1,this.Be=!0,c.loop||(this.nd++,this.nd>=c.Lk&&this.lj(!0))):c.loop?this.D=c.Ei:(this.nd++,this.nd>=c.Lk?this.lj(!0):this.D=c.Ei)),0>this.D?this.D=0:this.D>=c.frames.length&&(this.D=c.frames.length-1),a>this.td+c.frames[this.D].duration/this.kg&&(this.td=a),a=c.frames[this.D],this.bg(b,a),this.b.qa=!0)};q.vm=function(a){var c,b,d;c=0;
for(b=this.type.Wb.length;cthis.D&&(this.D=0),this.D>=this.Ga.frames.length&&(this.D=this.Ga.frames.length-1),1===this.$l&&(this.D=0),this.Md=!0,this.td=this.Vc.Xa,this.Be=!0,this.bg(a,
this.Ga.frames[this.D]),this.b.qa=!0)};q.km=function(){var a=this.Ga.frames[this.D],c=this.D;this.D=ka(this.wh);0>this.D&&(this.D=0);this.D>=this.Ga.frames.length&&(this.D=this.Ga.frames.length-1);c!==this.D&&(this.bg(a,this.Ga.frames[this.D]),this.td=this.Vc.Xa,this.b.qa=!0);this.wh=-1};q.bg=function(a,c){var b=a.width,d=a.height,f=c.width,h=c.height;b!=f&&(this.width*=f/b);d!=h&&(this.height*=h/d);this.Ab=c.Ab;this.Bb=c.Bb;this.Aa.$g(c.ti);this.R();this.wc=c;this.Bh=c.S;b=0;for(d=this.Z.length;b<
d;b++)f=this.Z[b],f.br&&f.br(a,c);this.b.trigger(X.prototype.d.bg,this)};q.sd=function(a){a.globalAlpha=this.opacity;var c=this.wc,b=c.Uf,d=c.C,f=this.x,h=this.y,l=this.width,k=this.height;if(0===this.n&&0<=l&&0<=k)f-=this.Ab*l,h-=this.Bb*k,this.b.dd&&(f=f+0.5|0,h=h+0.5|0),b?a.drawImage(d,c.Of,c.Pf,c.width,c.height,f,h,l,k):a.drawImage(d,f,h,l,k);else{this.b.dd&&(f=f+0.5|0,h=h+0.5|0);a.save();var n=0h||h>=f.length)return b?this.x:this.y;var l=(f[h][1]-d.Ab)*this.width,f=f[h][2],f=(f-d.Bb)*this.height,d=Math.cos(this.n);h=Math.sin(this.n);var k=l*d-f*h,f=f*d+l*h,l=k+this.x,f=f+this.y;return b?l:f};var v=null,d=new Qa,h=!1;a.finish=function(a){if(h){if(a){var b=this.b.ub().lb.Ec;a=v.V();var g=d.$f(),f,l;if(a.X){a.X=
!1;a.i.length=g.length;f=0;for(l=g.length;f=e.length&&e.push(q.length?q.pop():{});b=e[b];b.text=d;b.width=a.rk(d);a.Xf=ha(a.Xf,b.width)}function l(){}var f=Y.prototype;f.da=m();f.Ia=function(a){this.Ea=a;this.b=a.b};var a=f.Ia.prototype;a.da=function(){this.H||(this.C=new Image,this.C.idtkLoadDisposed=
!0,this.C.src=this.Oi,this.b.jd.push(this.C),this.S=null)};a.oi=function(){this.H||(this.S=null)};a.pi=function(){if(!this.H&&this.i.length){this.S||(this.S=this.b.B.Ff(this.C,!1,this.b.Da,this.gh));var a,b;a=0;for(b=this.i.length;a=b*e);n++){var q=n%b,y=Math.floor(n/b),R=k.charAt(n);if(this.b.B){var D=this.zh,G=q*h,I=y*l,q=(q+1)*h,y=(y+1)*l;void 0===D[R]&&(D[R]=d.length?d.pop():new ma);D[R].left=G;D[R].top=I;D[R].right=q;D[R].bottom=y}else D=this.yh,q*=a,y*=f,G=a,I=f,void 0===D[R]&&(D[R]=v.length?v.pop():{}),D[R].x=q,D[R].y=y,D[R].oo=G,D[R].Fm=I}};var h=[];f.Qo=function(a){h.length=0;for(var b="",d,e=0;e=f)b(q,e,!0);else{var h=a.Rd,l=a.qf;if(d.length*(a.xh*h+l)-l<=f&&-1===d.indexOf("\n")&&(l=a.rk(d),l<=f)){b(q,e,!0);e.push(q.length?q.pop():{});e[0].text=d;e[0].width=l;a.Xf=l;a.df=a.Qd*h+a.lineHeight;
return}this.To(a);a.df=e.length*(a.Qd*h+a.lineHeight)}}else b(q,e,!0)};f.To=function(a){var b=a.Rr,d=a.text,e=a.Te,f=a.width;b&&(this.Qo(d),d=h);var l="",p,v,F,y=0,R=!1;for(F=0;Ff&&(""===p?(k(a,y,l),l="",R=!0):(k(a,y,p),l=d[F]),y++,b||" "!==l||(l="")));l.replace(/\s\s*$/,"").length&&(k(a,y,l),y++);for(F=y;Fthis.width+1E-5)break;void 0!==w&&a.drawImage(this.C,w.x,w.y,w.oo,w.Fm,Math.round(k),Math.round(q),w.oo*d,w.Fm*d);k+=this.rg(I)*d+h}q+=e;if(q+e+f>this.height)break}a.restore()}};
var e=new na;a.zc=function(a){a.sc(this.S);a.Ye(this.opacity);if(""!==this.text&&(this.In(),!(this.heightthis.width+1E-5)break;if(void 0!==aa){var z=this.xh*n,C=this.Qd*n;e.va=A;e.wa=k;e.Ya=A+z;e.Za=k;e.Oa=A;e.Pa=k+C;e.Qa=A+z;e.Ra=k+C;if(0!==h){var z=e,C=I,K=w,S=void 0,S=z.va*C-z.wa*K;z.wa=z.wa*C+z.va*K;z.va=S;S=z.Ya*C-z.Za*K;z.Za=z.Za*C+z.Ya*K;z.Ya=S;S=z.Oa*C-z.Pa*K;z.Pa=z.Pa*C+z.Oa*K;z.Oa=S;S=z.Qa*C-z.Ra*K;z.Ra=z.Ra*C+z.Qa*K;z.Qa=S}e.offset(d,b);a.ed(e.va,e.wa,e.Ya,e.Za,e.Qa,e.Ra,e.Oa,e.Pa,aa)}A+=this.rg(N)*n+v}k+=q;if(k+q+y>
this.height)break}}};f.d=new (m());l.prototype.kd=function(a){ea(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.fh=!0,this.b.qa=!0)};a.Cs=function(a,b){var d=parseInt(b,10);this.Sd[a]!==d&&(this.Sd[a]=d,this.fh=!0,this.b.qa=!0)};f.c=new l;f.j=new (m())})();function dc(b){this.b=b}
(function(){var b=dc.prototype;b.Ia=function(b){this.Ea=b;this.b=b.b};var k=b.Ia.prototype;k.da=function(){this.H||(this.C=new Image,this.C.idtkLoadDisposed=!0,this.C.src=this.Oi,this.C.dm=this.dl,this.b.jd.push(this.C),this.S=this.pattern=null)};k.oi=function(){this.H||(this.S=null)};k.pi=function(){if(!this.H&&this.i.length){this.S||(this.S=this.b.B.Ff(this.C,!0,this.b.Da,this.gh));var b,f;b=0;for(f=this.i.length;bv&&(v+=this.C.width);0>d&&(d+=this.C.height);b.translate(f,a);b.rotate(this.n);b.translate(v,d);b.fillRect(k-v,q-d,this.width,this.height);b.restore()};k.zc=function(b){b.sc(this.S);
b.Ye(this.opacity);var f=this.Wg;f.right=this.width/this.C.width;f.bottom=this.height/this.C.height;var a=this.Lb;if(this.b.dd){var k=(this.x+0.5|0)-this.x,q=(this.y+0.5|0)-this.y;b.ed(a.va+k,a.wa+q,a.Ya+k,a.Za+q,a.Qa+k,a.Ra+q,a.Oa+k,a.Pa+q,f)}else b.ed(a.va,a.wa,a.Ya,a.Za,a.Qa,a.Ra,a.Oa,a.Pa,f)};b.d=new (m());b.c=new (m());b.j=new (m())})();function Z(b){this.b=b}
(function(){function b(a){v=a.x;d=a.y;h=a.z}function k(a){e=a.x;c=a.y;g=a.z}function l(){}function f(){}var a=Z.prototype;a.Ia=function(a){this.Ea=a;this.b=a.b};a.Ia.prototype.da=m();a.xa=function(a){this.type=a;this.b=a.b;this.touches=[];this.sk=!1};var n=a.xa.prototype,q={left:0,top:0};n.pg=function(a){var b,c;b=0;for(c=this.touches.length;bc-b.time||(b.ei=b.time,b.be=b.x,b.de=b.y,b.time=c,b.x=a.pageX-d.left,b.y=a.pageY-d.top)}}};n.$q=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE){a.preventDefault&&a.preventDefault();var b=this.b.Cb?q:jQuery(this.b.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top,d=Pa();this.se=this.touches.length;this.touches.push({time:d,x:c,y:b,ei:d,be:c,de:b,id:a.pointerId,al:this.se});this.b.trigger(Z.prototype.d.Al,this);
this.b.trigger(Z.prototype.d.Cl,this);this.uj=c;this.vj=b;this.b.trigger(Z.prototype.d.ej,this)}};n.sn=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&(a.preventDefault&&a.preventDefault(),a=this.pg(a.pointerId),this.se=0<=a?this.touches[a].al:-1,this.b.trigger(Z.prototype.d.zl,this),this.b.trigger(Z.prototype.d.cg,this),0<=a&&this.touches.splice(a,1))};n.tn=function(a){a.preventDefault&&a.preventDefault();var b=Pa(),c,d,e,f;c=0;for(d=a.changedTouches.length;cb-f.time||(f.ei=f.time,f.be=f.x,f.de=f.y,f.time=b,f.x=e.pageX-g.left,f.y=e.pageY-g.top)}};n.un=function(a){a.preventDefault&&a.preventDefault();var b=this.b.Cb?q:jQuery(this.b.canvas).offset(),c=Pa(),d,e,f,g;d=0;for(e=a.changedTouches.length;da.width&&(a.width=0),a.R()));1===this.bp&&(a.$a(),b=f.ec-this.nj-k.bottom,0!==b&&(a.height+=b,0>a.height&&(a.height=0),a.R()))}};b.d=new (m());b.c=new (m());b.j=new (m())})();function gc(b){this.b=b}
(function(){function b(){}var k=gc.prototype;k.Ia=function(b){this.Jb=b;this.b=b.b};k.Ia.prototype.da=m();k.xa=function(b,a){this.type=b;this.Jb=b.Jb;this.q=a;this.b=b.b};var l=k.xa.prototype;l.da=function(){var b=this.L[0];this.rh=this.L[1];this.Mh=this.L[2];this.ep=0!==this.L[3];this.Rk=0!==this.L[4];this.ab=Math.cos(this.q.n)*b;this.La=Math.sin(this.q.n)*b;this.be=this.q.x;this.de=this.q.y;this.pc=this.q.n;this.Ui=0;this.enabled=0!==this.L[5]};l.Pb=function(){return{acc:this.rh,g:this.Mh,dx:this.ab,
dy:this.La,lx:this.be,ly:this.de,lka:this.pc,t:this.Ui,e:this.enabled}};l.rc=function(b){this.rh=b.acc;this.Mh=b.g;this.ab=b.dx;this.La=b.dy;this.be=b.lx;this.de=b.ly;this.pc=b.lka;this.Ui=b.t;this.enabled=b.e};l.ob=function(){if(this.enabled){var b=this.b.Lj(this.q),a,k;this.q.n!==this.pc&&(this.Rk&&(a=Fa(0,0,this.ab,this.La),this.ab=Math.cos(this.q.n)*a,this.La=Math.sin(this.q.n)*a),this.pc=this.q.n);0!==this.rh&&(a=Fa(0,0,this.ab,this.La),k=0===this.ab&&0===this.La?this.q.n:ya(0,0,this.ab,this.La),
a+=this.rh*b,0>a&&(a=0),this.ab=Math.cos(k)*a,this.La=Math.sin(k)*a);0!==this.Mh&&(this.La+=this.Mh*b);this.be=this.q.x;this.de=this.q.y;if(0!==this.ab||0!==this.La)if(this.q.x+=this.ab*b,this.q.y+=this.La*b,this.Ui+=Fa(0,0,this.ab*b,this.La*b),this.Rk&&(this.q.n=ya(0,0,this.ab,this.La),this.q.R(),this.pc=this.q.n),this.q.R(),this.ep&&(a=this.b.bf(this.q)))this.b.rr(this.q,a),a=Fa(0,0,this.ab,this.La),k=this.b.hp(this.q,this.be,this.de),this.ab=Math.cos(k)*a,this.La=Math.sin(k)*a,this.q.x+=this.ab*
b,this.q.y+=this.La*b,this.q.R(),this.Rk&&(this.pc=this.q.n=k,this.q.R()),this.b.or(this.q,this.ab/a,this.La/a,Math.max(2.5*a*b,30))||this.b.pr(this.q)}};k.d=new (m());b.prototype.xe=function(b){var a=ya(0,0,this.ab,this.La);this.ab=Math.cos(a)*b;this.La=Math.sin(a)*b};b.prototype.ph=function(b){b=P(b);var a=Fa(0,0,this.ab,this.La);this.ab=Math.cos(b)*a;this.La=Math.sin(b)*a};k.c=new b;k.j=new (m())})();function hc(b){this.b=b}
(function(){function b(){}var k=hc.prototype;k.Ia=function(b){this.Jb=b;this.b=b.b};k.Ia.prototype.da=m();k.xa=function(b,a){this.type=b;this.Jb=b.Jb;this.q=a;this.b=b.b};var l=k.xa.prototype;l.da=function(){this.ib=null;this.ri=-1;this.mode=this.pc=this.Pi=this.Mf=this.zd=this.Tg=0;var b=this;this.Fc||(this.nn=function(a){b.yk(a)});this.b.Ll(this.nn)};l.Pb=function(){return{uid:this.ib?this.ib.uid:-1,pa:this.Tg,pd:this.zd,msa:this.Mf,tsa:this.Pi,lka:this.pc,m:this.mode}};l.rc=function(b){this.ri=
b.uid;this.Tg=b.pa;this.zd=b.pd;this.Mf=b.msa;this.Pi=b.tsa;this.pc=b.lka;this.mode=b.m};l.of=function(){this.ib=-1===this.ri?null:this.b.sg(this.ri);this.ri=-1};l.yk=function(b){this.ib==b&&(this.ib=null)};l.Qf=function(){this.ib=null;this.b.sr(this.nn)};l.ob=m();l.Ri=function(){if(this.ib){this.pc!==this.q.n&&(this.Mf=va(this.Mf+(this.q.n-this.pc)));var b=this.q.x,a=this.q.y;if(3===this.mode||4===this.mode){var k=Fa(this.q.x,this.q.y,this.ib.x,this.ib.y);if(k>this.zd||4===this.mode&&k