// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';var ba,ca,H,da,fa,L,N,ga,ha,ia,ka,ma,P,na,oa,pa,qa,ra,sa,ta,ua,va,wa,R,ya,za,Aa,Ba,Ca,Ea,Fa,Ga,Ha,Ma,Na,Oa,Pa,Qa,S,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za,$a,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,mb,nb,ob,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,U,Nb,Ob,Pb,V,Qb,Rb={},Sb={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(g){return g.__proto__}:function(g){return g.constructor.prototype});
(function(){function g(k,a,b,c){this.set(k,a,b,c)}function m(){this.Yb=this.Xb=this.$b=this.Zb=this.uc=this.tc=this.xb=this.wb=0}function d(k,a,b,c){k<a?b<c?(f=k<b?k:b,u=a>c?a:c):(f=k<c?k:c,u=a>b?a:b):b<c?(f=a<b?a:b,u=k>c?k:c):(f=a<c?a:c,u=k>b?k:b)}function e(){this.items=this.Fc=null;this.df=0;k&&(this.Fc=new Set);this.Df=[];this.Gd=!0}function p(k){t[w++]=k}function a(){this.Z=this.Mi=this.y=this.sj=0}function b(k){this.sf=[];this.Yl=this.$l=this.am=this.Zl=0;this.Vg(k)}function c(k,a){this.dq=
k;this.cq=a;this.cells={}}function h(k,a,b){var c;return B.length?(c=B.pop(),c.Or=k,c.x=a,c.y=b,c):new ba(k,a,b)}function l(k,a,b){this.Or=k;this.x=a;this.y=b;this.Bg=new ca}H=function(k){window.console&&window.console.log&&window.console.log(k)};da=function(k){window.console&&window.console.error&&window.console.error(k)};fa=function(k){return"undefined"===typeof k};L=function(k){return"number"===typeof k};N=function(k){return"string"===typeof k};ga=function(k){return 0<k&&0===(k-1&k)};ha=function(k){--k;
for(var a=1;32>a;a<<=1)k|=k>>a;return k+1};ia=function(k){return 0>k?-k:k};ka=function(k,a){return k<a?k:a};ma=Math.PI;P=function(k){return 0<=k?k|0:(k|0)-1};na=function(k){var a=k|0;return a===k?a:a+1};oa=function(k,a,b,c,t,h,w,d){var s,l,f,n;k<b?(l=k,s=b):(l=b,s=k);t<w?(n=t,f=w):(n=w,f=t);if(s<n||l>f)return!1;a<c?(l=a,s=c):(l=c,s=a);h<d?(n=h,f=d):(n=d,f=h);if(s<n||l>f)return!1;s=t-k+w-b;l=h-a+d-c;k=b-k;a=c-a;t=w-t;h=d-h;d=ia(a*t-h*k);return ia(t*l-h*s)>d?!1:ia(k*l-a*s)<=d};g.prototype.set=function(k,
a,b,c){this.left=k;this.top=a;this.right=b;this.bottom=c};g.prototype.iq=function(k){this.left=k.left;this.top=k.top;this.right=k.right;this.bottom=k.bottom};g.prototype.width=function(){return this.right-this.left};g.prototype.height=function(){return this.bottom-this.top};g.prototype.offset=function(k,a){this.left+=k;this.top+=a;this.right+=k;this.bottom+=a;return this};g.prototype.normalize=function(){var k=0;this.left>this.right&&(k=this.left,this.left=this.right,this.right=k);this.top>this.bottom&&
(k=this.top,this.top=this.bottom,this.bottom=k)};g.prototype.cc=function(k,a){return k>=this.left&&k<=this.right&&a>=this.top&&a<=this.bottom};g.prototype.Fq=function(k){return this.left===k.left&&this.top===k.top&&this.right===k.right&&this.bottom===k.bottom};pa=g;m.prototype.Ug=function(k){this.wb=k.left;this.xb=k.top;this.tc=k.right;this.uc=k.top;this.Zb=k.right;this.$b=k.bottom;this.Xb=k.left;this.Yb=k.bottom};m.prototype.oo=function(k,a){if(0===a)this.Ug(k);else{var b=Math.sin(a),c=Math.cos(a),
t=k.left*b,h=k.top*b,w=k.right*b,b=k.bottom*b,d=k.left*c,s=k.top*c,l=k.right*c,c=k.bottom*c;this.wb=d-h;this.xb=s+t;this.tc=l-h;this.uc=s+w;this.Zb=l-b;this.$b=c+w;this.Xb=d-b;this.Yb=c+t}};m.prototype.offset=function(k,a){this.wb+=k;this.xb+=a;this.tc+=k;this.uc+=a;this.Zb+=k;this.$b+=a;this.Xb+=k;this.Yb+=a;return this};var f=0,u=0;m.prototype.em=function(k){d(this.wb,this.tc,this.Zb,this.Xb);k.left=f;k.right=u;d(this.xb,this.uc,this.$b,this.Yb);k.top=f;k.bottom=u};m.prototype.cc=function(k,a){var b=
this.tc-this.wb,c=this.uc-this.xb,t=this.Zb-this.wb,h=this.$b-this.xb,w=k-this.wb,d=a-this.xb,s=b*b+c*c,l=b*t+c*h,c=b*w+c*d,f=t*t+h*h,n=t*w+h*d,B=1/(s*f-l*l),b=(f*c-l*n)*B,s=(s*n-l*c)*B;if(0<=b&&0<s&&1>b+s)return!0;b=this.Xb-this.wb;c=this.Yb-this.xb;s=b*b+c*c;l=b*t+c*h;c=b*w+c*d;B=1/(s*f-l*l);b=(f*c-l*n)*B;s=(s*n-l*c)*B;return 0<=b&&0<s&&1>b+s};qa=m;ra=function(k,a){for(var b in a)a.hasOwnProperty(b)&&(k[b]=a[b]);return k};sa=function(k,a){var b,c;a=P(a);if(!(0>a||a>=k.length)){b=a;for(c=k.length-
1;b<c;b++)k[b]=k[b+1];k.length=c}};ta=function(k,a){k.length=a.length;var b,c;b=0;for(c=a.length;b<c;b++)k[b]=a[b]};ua=function(k,a){k.push.apply(k,a)};va=function(k,a){var b,c;b=0;for(c=k.length;b<c;++b)if(k[b]===a)return b;return-1};wa=function(k,a){var b=va(k,a);-1!==b&&sa(k,b)};R=function(k){return k/(180/ma)};ya=function(k){return 180/ma*k};za=function(k){k%=360;0>k&&(k+=360);return k};Aa=function(k){k%=2*ma;0>k&&(k+=2*ma);return k};Ba=function(k){return za(ya(k))};Ca=function(k){return Aa(R(k))};
Ea=function(k,a,b,c){return Math.atan2(c-a,b-k)};Fa=function(k,a){if(k===a)return 0;var b=Math.sin(k),c=Math.cos(k),t=Math.sin(a),h=Math.cos(a),b=b*t+c*h;return 1<=b?0:-1>=b?ma:Math.acos(b)};Ga=function(k,a,b){var c=Math.sin(k),t=Math.cos(k),h=Math.sin(a),w=Math.cos(a);return Math.acos(c*h+t*w)>b?0<t*h-c*w?Aa(k+b):Aa(k-b):Aa(a)};Ha=function(k,a){var b=Math.sin(k),c=Math.cos(k),t=Math.sin(a),h=Math.cos(a);return 0>=c*t-b*h};Ma=function(k,a,b,c,t,h){if(0===b)return h?k:a;var w=Math.sin(b);b=Math.cos(b);
k-=c;a-=t;var d=k*w;k=k*b-a*w;a=a*b+d;return h?k+c:a+t};Na=function(k,a,b,c){k=b-k;a=c-a;return Math.sqrt(k*k+a*a)};Oa=function(k,a){return!k!==!a};Pa=function(k){for(var a in k)if(k.hasOwnProperty(a))return!0;return!1};Qa=function(k){for(var a in k)k.hasOwnProperty(a)&&delete k[a]};var v=+new Date;S=function(){if("undefined"!==typeof window.performance){var k=window.performance;if("undefined"!==typeof k.now)return k.now();if("undefined"!==typeof k.webkitNow)return k.webkitNow();if("undefined"!==
typeof k.mozNow)return k.mozNow();if("undefined"!==typeof k.msNow)return k.msNow()}return Date.now()-v};var n=!1,C=n=!1,q=!1;"undefined"!==typeof window&&(n=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),n=!n&&/safari/i.test(navigator.userAgent),C=/(iphone|ipod|ipad)/i.test(navigator.userAgent),q=window.c2ejecta);var k=!n&&!q&&!C&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;e.prototype.contains=function(a){return this.We()?!1:k?this.Fc.has(a):this.items&&
this.items.hasOwnProperty(a)};e.prototype.add=function(a){if(k)this.Fc.has(a)||(this.Fc.add(a),this.Gd=!1);else{var b=a.toString(),c=this.items;c?c.hasOwnProperty(b)||(c[b]=a,this.df++,this.Gd=!1):(this.items={},this.items[b]=a,this.df=1,this.Gd=!1)}};e.prototype.remove=function(a){if(!this.We())if(k)this.Fc.has(a)&&(this.Fc["delete"](a),this.Gd=!1);else if(this.items){a=a.toString();var b=this.items;b.hasOwnProperty(a)&&(delete b[a],this.df--,this.Gd=!1)}};e.prototype.clear=function(){this.We()||
(k?this.Fc.clear():(this.items=null,this.df=0),this.Df.length=0,this.Gd=!0)};e.prototype.We=function(){return 0===this.count()};e.prototype.count=function(){return k?this.Fc.size:this.df};var t=null,w=0;e.prototype.ot=function(){if(!this.Gd){if(k)this.Df.length=this.Fc.size,t=this.Df,w=0,this.Fc.forEach(p),t=null,w=0;else{var a=this.Df;a.length=this.df;var b,c=0,h=this.items;if(h)for(b in h)h.hasOwnProperty(b)&&(a[c++]=h[b])}this.Gd=!0}};e.prototype.Hc=function(){this.ot();return this.Df};ca=e;new ca;
Ta=function(a,b){k?Ra(a,b.Fc):Sa(a,b.Hc())};Ra=function(k,a){var b,c,t,h;c=b=0;for(t=k.length;b<t;++b)h=k[b],a.has(h)||(k[c++]=h);k.length=c};Sa=function(k,a){var b,c,t,h;c=b=0;for(t=k.length;b<t;++b)h=k[b],-1===va(a,h)&&(k[c++]=h);k.length=c};a.prototype.add=function(k){this.y=k-this.sj;this.Mi=this.Z+this.y;this.sj=this.Mi-this.Z-this.y;this.Z=this.Mi};a.prototype.reset=function(){this.Z=this.Mi=this.y=this.sj=0};Ua=a;Va=function(k){return k.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};b.prototype.Vg=
function(k){this.ao=k;this.vi=k.length/2;this.sf.length=k.length;this.tj=this.uj=-1;this.hm=0};b.prototype.gs=function(){return!this.ao.length};b.prototype.lb=function(){for(var k=this.sf,a=k[0],b=a,c=k[1],t=c,h,w,d=1,s=this.vi;d<s;++d)w=2*d,h=k[w],w=k[w+1],h<a&&(a=h),h>b&&(b=h),w<c&&(c=w),w>t&&(t=w);this.Zl=a;this.$l=b;this.am=c;this.Yl=t};b.prototype.Ug=function(k,a,b){this.sf.length=8;this.vi=4;var c=this.sf;c[0]=k.left-a;c[1]=k.top-b;c[2]=k.right-a;c[3]=k.top-b;c[4]=k.right-a;c[5]=k.bottom-b;
c[6]=k.left-a;c[7]=k.bottom-b;this.uj=k.right-k.left;this.tj=k.bottom-k.top;this.lb()};b.prototype.aq=function(k,a,b){if(this.uj!==k||this.tj!==a||this.hm!==b){this.uj=k;this.tj=a;this.hm=b;var c,t,h,w,d,s=0,l=1,f=this.ao,n=this.sf;0!==b&&(s=Math.sin(b),l=Math.cos(b));b=0;for(h=this.vi;b<h;b++)c=2*b,t=c+1,w=f[c]*k,d=f[t]*a,n[c]=w*l-d*s,n[t]=d*l+w*s;this.lb()}};b.prototype.cc=function(k,a){var b=this.sf;if(k===b[0]&&a===b[1])return!0;var c,t,h,w=this.vi,d=this.Zl-110,s=this.am-101,l=this.$l+131,f=
this.Yl+120,n,B,e=0,p=0;for(c=0;c<w;c++)t=2*c,h=(c+1)%w*2,n=b[t],t=b[t+1],B=b[h],h=b[h+1],oa(d,s,k,a,n,t,B,h)&&e++,oa(l,f,k,a,n,t,B,h)&&p++;return 1===e%2||1===p%2};Wa=b;c.prototype.Cm=function(k,a,b){var c;c=this.cells[k];return c?(c=c[a])?c:b?(c=h(this,k,a),this.cells[k][a]=c):null:b?(c=h(this,k,a),this.cells[k]={},this.cells[k][a]=c):null};c.prototype.Ll=function(k){return P(k/this.dq)};c.prototype.Ml=function(k){return P(k/this.cq)};c.prototype.update=function(k,a,b){var c,t,h,w,d;if(a)for(c=
a.left,t=a.right;c<=t;++c)for(h=a.top,w=a.bottom;h<=w;++h)if(!b||!b.cc(c,h))if(d=this.Cm(c,h,!1))d.remove(k),d.We()&&(d.Bg.clear(),1E3>B.length&&B.push(d),this.cells[c][h]=null);if(b)for(c=b.left,t=b.right;c<=t;++c)for(h=b.top,w=b.bottom;h<=w;++h)a&&a.cc(c,h)||this.Cm(c,h,!0).Wr(k)};Xa=c;var B=[];l.prototype.We=function(){return this.Bg.We()};l.prototype.Wr=function(k){this.Bg.add(k)};l.prototype.remove=function(k){this.Bg.remove(k)};l.prototype.dump=function(k){ua(k,this.Bg.Hc())};ba=l;var s="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");
Ya=function(k){return 0>=k||11<=k?"source-over":s[k-1]};Za=function(k,a,b){if(b)switch(k.eb=b.ONE,k.cb=b.ONE_MINUS_SRC_ALPHA,a){case 1:k.eb=b.ONE;k.cb=b.ONE;break;case 3:k.eb=b.ONE;k.cb=b.ZERO;break;case 4:k.eb=b.ONE_MINUS_DST_ALPHA;k.cb=b.ONE;break;case 5:k.eb=b.DST_ALPHA;k.cb=b.ZERO;break;case 6:k.eb=b.ZERO;k.cb=b.SRC_ALPHA;break;case 7:k.eb=b.ONE_MINUS_DST_ALPHA;k.cb=b.ZERO;break;case 8:k.eb=b.ZERO;k.cb=b.ONE_MINUS_SRC_ALPHA;break;case 9:k.eb=b.DST_ALPHA;k.cb=b.ONE_MINUS_SRC_ALPHA;break;case 10:k.eb=
b.ONE_MINUS_DST_ALPHA,k.cb=b.SRC_ALPHA}};$a=function(k){return Math.round(1E6*k)/1E6};ab=function(k,a){return"string"!==typeof k||"string"!==typeof a||k.length!==a.length?!1:k===a?!0:k.toLowerCase()===a.toLowerCase()};bb=function(k){k=k.target;return!k||k===document||k===window||document&&document.body&&k===document.body||ab(k.tagName,"canvas")?!0:!1}})();var Tb="undefined"!==typeof Float32Array?Float32Array:Array;function Ub(g){var m=new Tb(3);g&&(m[0]=g[0],m[1]=g[1],m[2]=g[2]);return m}
function Vb(g){var m=new Tb(16);g&&(m[0]=g[0],m[1]=g[1],m[2]=g[2],m[3]=g[3],m[4]=g[4],m[5]=g[5],m[6]=g[6],m[7]=g[7],m[8]=g[8],m[9]=g[9],m[10]=g[10],m[11]=g[11],m[12]=g[12],m[13]=g[13],m[14]=g[14],m[15]=g[15]);return m}function Wb(g,m){m[0]=g[0];m[1]=g[1];m[2]=g[2];m[3]=g[3];m[4]=g[4];m[5]=g[5];m[6]=g[6];m[7]=g[7];m[8]=g[8];m[9]=g[9];m[10]=g[10];m[11]=g[11];m[12]=g[12];m[13]=g[13];m[14]=g[14];m[15]=g[15]}
function Xb(g,m){var d=m[0],e=m[1];m=m[2];g[0]*=d;g[1]*=d;g[2]*=d;g[3]*=d;g[4]*=e;g[5]*=e;g[6]*=e;g[7]*=e;g[8]*=m;g[9]*=m;g[10]*=m;g[11]*=m}
function Yb(g,m,d,e){e||(e=Vb());var p,a,b,c,h,l,f,u,v=g[0],n=g[1];g=g[2];a=d[0];b=d[1];p=d[2];d=m[1];l=m[2];v===m[0]&&n===d&&g===l?(g=e,g[0]=1,g[1]=0,g[2]=0,g[3]=0,g[4]=0,g[5]=1,g[6]=0,g[7]=0,g[8]=0,g[9]=0,g[10]=1,g[11]=0,g[12]=0,g[13]=0,g[14]=0,g[15]=1):(d=v-m[0],l=n-m[1],f=g-m[2],u=1/Math.sqrt(d*d+l*l+f*f),d*=u,l*=u,f*=u,m=b*f-p*l,p=p*d-a*f,a=a*l-b*d,(u=Math.sqrt(m*m+p*p+a*a))?(u=1/u,m*=u,p*=u,a*=u):a=p=m=0,b=l*a-f*p,c=f*m-d*a,h=d*p-l*m,(u=Math.sqrt(b*b+c*c+h*h))?(u=1/u,b*=u,c*=u,h*=u):h=c=b=0,
e[0]=m,e[1]=b,e[2]=d,e[3]=0,e[4]=p,e[5]=c,e[6]=l,e[7]=0,e[8]=a,e[9]=h,e[10]=f,e[11]=0,e[12]=-(m*v+p*n+a*g),e[13]=-(b*v+c*n+h*g),e[14]=-(d*v+l*n+f*g),e[15]=1)}
(function(){function g(a){this.Xe=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.im=Ub([0,0,100]);this.kn=Ub([0,0,0]);this.Ho=Ub([0,1,0]);this.El=Ub([1,1,1]);this.rm=!0;this.Dk=Vb();this.nc=Vb();this.an=Vb();this.Cj=Vb();this.m=a;this.Om()}function m(a,b,c){this.m=a;this.Wg=b;this.name=c;this.mc=a.getAttribLocation(b,"aPos");this.Nd=a.getAttribLocation(b,"aTex");this.hn=a.getUniformLocation(b,"matP");this.ai=a.getUniformLocation(b,"matMV");this.gf=
a.getUniformLocation(b,"opacity");this.jn=a.getUniformLocation(b,"samplerFront");this.ug=a.getUniformLocation(b,"samplerBack");this.ye=a.getUniformLocation(b,"destStart");this.xe=a.getUniformLocation(b,"destEnd");this.Ak=a.getUniformLocation(b,"seconds");this.zk=a.getUniformLocation(b,"pixelWidth");this.yk=a.getUniformLocation(b,"pixelHeight");this.tg=a.getUniformLocation(b,"layerScale");this.sg=a.getUniformLocation(b,"layerAngle");this.wg=a.getUniformLocation(b,"viewOrigin");this.vg=a.getUniformLocation(b,
"scrollPos");this.Rr=!!(this.zk||this.yk||this.Ak||this.ug||this.ye||this.xe||this.tg||this.sg||this.wg||this.vg);this.sn=this.tn=-999;this.ci=1;this.on=this.nn=0;this.qn=this.mn=this.ln=1;this.vn=this.un=this.xn=this.wn=this.pn=0;this.tk=[];this.rn=Vb();this.gf&&a.uniform1f(this.gf,1);this.jn&&a.uniform1i(this.jn,0);this.ug&&a.uniform1i(this.ug,1);this.ye&&a.uniform2f(this.ye,0,0);this.xe&&a.uniform2f(this.xe,1,1);this.tg&&a.uniform1f(this.tg,1);this.sg&&a.uniform1f(this.sg,0);this.wg&&a.uniform2f(this.wg,
0,0);this.vg&&a.uniform2f(this.vg,0,0);this.pe=!1}function d(a,b){this.type=a;this.q=b;this.m=b.m;this.hc=this.Vb=this.Ln=0;this.X=this.Gc=null;this.po=[]}g.prototype.Om=function(){var a=this.m,b;this.bn=1;this.ve=this.ue=null;this.qh=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.cn=a.ONE;this.$m=a.ONE_MINUS_SRC_ALPHA;this.Uk=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Uk);this.gh=
Array(4);this.$g=Array(4);for(b=0;4>b;b++)this.gh[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.gh[b]),this.$g[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.$g[b]);this.dd=0;this.Ur=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.Ur);this.Al=new Float32Array(16E3);this.nl=new Float32Array(16E3);this.Xn=new Float32Array(32E3);for(var c=new Uint16Array(12E3),h=b=0;12E3>b;)c[b++]=h,c[b++]=h+1,c[b++]=h+2,c[b++]=h,c[b++]=h+2,c[b++]=h+3,h+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,c,
a.STATIC_DRAW);this.qf=this.Yc=0;this.Ia=[];b=this.Bj({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.Ia.push(b);b=this.Bj({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.Ia.push(b);for(var d in Zb)Zb.hasOwnProperty(d)&&this.Ia.push(this.Bj(Zb[d],
"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}",d));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.cd=[];this.Jc=0;this.Fb=this.pb=!1;this.nm=this.gg=-1;this.Nf=null;this.dr=a.createFramebuffer();this.eo=null;this.Xd=Ub([0,0,0]);a=a.getParameter(a.ALIASED_POINT_SIZE_RANGE);this.os=a[0];this.Ek=
a[1];2048<this.Ek&&(this.Ek=2048);this.Vc(0)};m.prototype.wl=function(a){var b=this.rn;if(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])Wb(a,this.rn),this.m.uniformMatrix4fv(this.ai,!1,a)};g.prototype.Bj=function(a,b,c){var h=this.m,d=h.createShader(h.FRAGMENT_SHADER);h.shaderSource(d,a.src);h.compileShader(d);if(!h.getShaderParameter(d,
h.COMPILE_STATUS))return h.deleteShader(d),null;var f=h.createShader(h.VERTEX_SHADER);h.shaderSource(f,b);h.compileShader(f);if(!h.getShaderParameter(f,h.COMPILE_STATUS))return h.deleteShader(d),h.deleteShader(f),null;b=h.createProgram();h.attachShader(b,d);h.attachShader(b,f);h.linkProgram(b);if(!h.getProgramParameter(b,h.LINK_STATUS))return h.deleteShader(d),h.deleteShader(f),h.deleteProgram(b),null;h.useProgram(b);h.deleteShader(d);h.deleteShader(f);c=new m(h,b,c);c.Mj=a.Mj||0;c.Nj=a.Nj||0;c.mm=
!!a.mm;c.Ul=!!a.Ul;c.I=a.I||[];a=0;for(d=c.I.length;a<d;a++)c.I[a][1]=h.getUniformLocation(b,c.I[a][0]),c.tk.push(0),h.uniform1f(c.I[a][1],0);return c};g.prototype.ak=function(a){var b,c;b=0;for(c=this.Ia.length;b<c;b++)if(this.Ia[b].name===a)return b;return-1};g.prototype.$n=function(a,b,c){var h=this.nc,d=this.Dk,f=[0,0,0,0,0,0,0,0];f[0]=h[0]*a+h[4]*b+h[12];f[1]=h[1]*a+h[5]*b+h[13];f[2]=h[2]*a+h[6]*b+h[14];f[3]=h[3]*a+h[7]*b+h[15];f[4]=d[0]*f[0]+d[4]*f[1]+d[8]*f[2]+d[12]*f[3];f[5]=d[1]*f[0]+d[5]*
f[1]+d[9]*f[2]+d[13]*f[3];f[6]=d[2]*f[0]+d[6]*f[1]+d[10]*f[2]+d[14]*f[3];f[7]=-f[2];0!==f[7]&&(f[7]=1/f[7],f[4]*=f[7],f[5]*=f[7],f[6]*=f[7],c[0]=(.5*f[4]+.5)*this.width,c[1]=(.5*f[5]+.5)*this.height)};g.prototype.uf=function(a,b,c){if(this.width!==a||this.height!==b||c){this.Id();this.width=a;this.height=b;this.m.viewport(0,0,a,b);b=a/b;var h=this.Dk,d;d=1*Math.tan(45*Math.PI/360);b*=d;a=-b;c=-d;h||(h=Vb());var f=b-a,e=d-c;h[0]=2/f;h[1]=0;h[2]=0;h[3]=0;h[4]=0;h[5]=2/e;h[6]=0;h[7]=0;h[8]=(b+a)/f;h[9]=
(d+c)/e;h[10]=-1001/999;h[11]=-1;h[12]=0;h[13]=0;h[14]=-2E3/999;h[15]=0;Yb(this.im,this.kn,this.Ho,this.nc);a=[0,0];b=[0,0];this.$n(0,0,a);this.$n(1,1,b);this.El[0]=1/(b[0]-a[0]);this.El[1]=-1/(b[1]-a[1]);a=0;for(b=this.Ia.length;a<b;a++)c=this.Ia[a],c.pe=!1,c.hn&&(this.m.useProgram(c.Wg),this.m.uniformMatrix4fv(c.hn,!1,this.Dk));this.m.useProgram(this.Ia[this.gg].Wg);this.m.bindTexture(this.m.TEXTURE_2D,null);this.m.activeTexture(this.m.TEXTURE1);this.m.bindTexture(this.m.TEXTURE_2D,null);this.m.activeTexture(this.m.TEXTURE0);
this.ve=this.ue=null}};g.prototype.Rd=function(){Yb(this.im,this.kn,this.Ho,this.nc);Xb(this.nc,this.El)};g.prototype.translate=function(a,b){if(0!==a||0!==b){this.Xd[0]=a;this.Xd[1]=b;this.Xd[2]=0;var c=this.nc,h=this.Xd,d=h[0],f=h[1],h=h[2];c[12]=c[0]*d+c[4]*f+c[8]*h+c[12];c[13]=c[1]*d+c[5]*f+c[9]*h+c[13];c[14]=c[2]*d+c[6]*f+c[10]*h+c[14];c[15]=c[3]*d+c[7]*f+c[11]*h+c[15]}};g.prototype.scale=function(a,b){if(1!==a||1!==b)this.Xd[0]=a,this.Xd[1]=b,this.Xd[2]=1,Xb(this.nc,this.Xd)};g.prototype.fo=
function(a){if(0!==a){var b=this.nc,c,h=Math.sin(a);a=Math.cos(a);var d=b[0],f=b[1],e=b[2],p=b[3],n=b[4],g=b[5],m=b[6],k=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]=d*a+n*h;c[1]=f*a+g*h;c[2]=e*a+m*h;c[3]=p*a+k*h;c[4]=d*-h+n*a;c[5]=f*-h+g*a;c[6]=e*-h+m*a;c[7]=p*-h+k*a}};g.prototype.Zd=function(){for(var a=!1,b=0;16>b;b++)if(this.an[b]!==this.nc[b]){a=!0;break}a&&(a=this.qc(),a.type=5,a.X?Wb(this.nc,a.X):a.X=Vb(this.nc),Wb(this.nc,
this.an),this.Fb=this.pb=!1)};d.prototype.yq=function(){this.m.bindTexture(this.m.TEXTURE_2D,this.Gc)};d.prototype.zq=function(){var a=this.m;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.Gc);a.activeTexture(a.TEXTURE0)};d.prototype.vq=function(){var a=this.Ln,b=this.q;b.qh=a;b=b.Nf;b.gf&&b.ci!==a&&(b.ci=a,this.m.uniform1f(b.gf,a))};d.prototype.sq=function(){this.m.drawElements(this.m.TRIANGLES,this.hc,this.m.UNSIGNED_SHORT,2*this.Vb)};d.prototype.uq=function(){this.m.blendFunc(this.Vb,
this.hc)};d.prototype.Aq=function(){var a,b,c,h=this.q.Ia,d=this.q.nm;a=0;for(b=h.length;a<b;a++)c=h[a],a===d&&c.ai?(c.wl(this.X),c.pe=!0):c.pe=!1;Wb(this.X,this.q.Cj)};d.prototype.tq=function(){var a=this.m,b=this.q;this.Gc?(b.ve===this.Gc&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),b.ve=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,b.dr),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.Gc,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,
a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};d.prototype.qq=function(){var a=this.m;0===this.Vb?(a.clearColor(this.X[0],this.X[1],this.X[2],this.X[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),a.scissor(this.X[0],this.X[1],this.X[2],this.X[3]),a.clearColor(0,0,0,0),a.clear(this.m.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};d.prototype.rq=function(){var a=this.m,b=this.q,c=b.Ia[1];a.useProgram(c.Wg);!c.pe&&c.ai&&(c.wl(b.Cj),c.pe=!0);a.enableVertexAttribArray(c.mc);
a.bindBuffer(a.ARRAY_BUFFER,b.Uk);a.vertexAttribPointer(c.mc,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.Vb/4,this.hc);c=b.Nf;a.useProgram(c.Wg);0<=c.mc&&(a.enableVertexAttribArray(c.mc),a.bindBuffer(a.ARRAY_BUFFER,b.gh[b.dd]),a.vertexAttribPointer(c.mc,2,a.FLOAT,!1,0,0));0<=c.Nd&&(a.enableVertexAttribArray(c.Nd),a.bindBuffer(a.ARRAY_BUFFER,b.$g[b.dd]),a.vertexAttribPointer(c.Nd,2,a.FLOAT,!1,0,0))};d.prototype.wq=function(){var a=this.m,b=this.q,c=b.Ia[this.Vb];b.nm=this.Vb;b.Nf=c;a.useProgram(c.Wg);
!c.pe&&c.ai&&(c.wl(b.Cj),c.pe=!0);c.gf&&c.ci!==b.qh&&(c.ci=b.qh,a.uniform1f(c.gf,b.qh));0<=c.mc&&(a.enableVertexAttribArray(c.mc),a.bindBuffer(a.ARRAY_BUFFER,b.gh[b.dd]),a.vertexAttribPointer(c.mc,2,a.FLOAT,!1,0,0));0<=c.Nd&&(a.enableVertexAttribArray(c.Nd),a.bindBuffer(a.ARRAY_BUFFER,b.$g[b.dd]),a.vertexAttribPointer(c.Nd,2,a.FLOAT,!1,0,0))};d.prototype.xq=function(){var a,b,c=this.q.Nf,h=this.m;a=this.X;c.ug&&this.q.ve!==this.Gc&&(h.activeTexture(h.TEXTURE1),h.bindTexture(h.TEXTURE_2D,this.Gc),
this.q.ve=this.Gc,h.activeTexture(h.TEXTURE0));var d=a[0];c.zk&&d!==c.tn&&(c.tn=d,h.uniform1f(c.zk,d));d=a[1];c.yk&&d!==c.sn&&(c.sn=d,h.uniform1f(c.yk,d));d=a[2];b=a[3];!c.ye||d===c.nn&&b===c.on||(c.nn=d,c.on=b,h.uniform2f(c.ye,d,b));d=a[4];b=a[5];!c.xe||d===c.ln&&b===c.mn||(c.ln=d,c.mn=d,h.uniform2f(c.xe,d,b));d=a[6];c.tg&&d!==c.qn&&(c.qn=d,h.uniform1f(c.tg,d));d=a[7];c.sg&&d!==c.pn&&(c.pn=d,h.uniform1f(c.sg,d));d=a[8];b=a[9];!c.wg||d===c.wn&&b===c.xn||(c.wn=d,c.xn=b,h.uniform2f(c.wg,d,b));d=a[10];
b=a[11];!c.vg||d===c.un&&b===c.vn||(c.un=d,c.vn=b,h.uniform2f(c.vg,d,b));c.Ak&&h.uniform1f(c.Ak,S()/1E3);if(c.I.length)for(a=0,b=c.I.length;a<b;a++)d=this.po[a],d!==c.tk[a]&&(c.tk[a]=d,h.uniform1f(c.I[a][1],d))};g.prototype.qc=function(){this.Jc===this.cd.length&&this.cd.push(new d(0,this));return this.cd[this.Jc++]};g.prototype.Id=function(){if(0!==this.Jc&&!this.m.isContextLost()){var a=this.m;0<this.qf&&(a.bindBuffer(a.ARRAY_BUFFER,this.Uk),a.bufferData(a.ARRAY_BUFFER,this.Xn.subarray(0,this.qf),
a.STREAM_DRAW),b&&0<=b.mc&&"<point>"===b.name&&a.vertexAttribPointer(b.mc,4,a.FLOAT,!1,0,0));if(0<this.Yc){var b=this.Nf;a.bindBuffer(a.ARRAY_BUFFER,this.gh[this.dd]);a.bufferData(a.ARRAY_BUFFER,this.Al.subarray(0,this.Yc),a.STREAM_DRAW);b&&0<=b.mc&&"<point>"!==b.name&&a.vertexAttribPointer(b.mc,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.$g[this.dd]);a.bufferData(a.ARRAY_BUFFER,this.nl.subarray(0,this.Yc),a.STREAM_DRAW);b&&0<=b.Nd&&"<point>"!==b.name&&a.vertexAttribPointer(b.Nd,2,a.FLOAT,
!1,0,0)}for(var c,a=0,b=this.Jc;a<b;a++)switch(c=this.cd[a],c.type){case 1:c.sq();break;case 2:c.yq();break;case 3:c.vq();break;case 4:c.uq();break;case 5:c.Aq();break;case 6:c.tq();break;case 7:c.qq();break;case 8:c.rq();break;case 9:c.wq();break;case 10:c.xq();break;case 11:c.zq()}this.qf=this.Yc=this.Jc=0;this.Fb=this.pb=!1;this.dd++;4<=this.dd&&(this.dd=0)}};g.prototype.Ce=function(a){if(a!==this.bn){var b=this.qc();b.type=3;this.bn=b.Ln=a;this.Fb=this.pb=!1}};g.prototype.Kb=function(a){if(a!==
this.ue){var b=this.qc();b.type=2;this.ue=b.Gc=a;this.Fb=this.pb=!1}};g.prototype.Sd=function(a,b){if(a!==this.cn||b!==this.$m){var c=this.qc();c.type=4;c.Vb=a;c.hc=b;this.cn=a;this.$m=b;this.Fb=this.pb=!1}};g.prototype.lo=function(){this.Sd(this.m.ONE,this.m.ONE_MINUS_SRC_ALPHA)};g.prototype.Pg=function(a,b,c,h,d,f,e,p){15992<=this.Yc&&this.Id();var n=this.Yc,g=this.Al,m=this.nl;if(this.pb)this.cd[this.Jc-1].hc+=6;else{var k=this.qc();k.type=1;k.Vb=n/4*3;k.hc=6;this.pb=!0;this.Fb=!1}g[n]=a;m[n++]=
0;g[n]=b;m[n++]=0;g[n]=c;m[n++]=1;g[n]=h;m[n++]=0;g[n]=d;m[n++]=1;g[n]=f;m[n++]=1;g[n]=e;m[n++]=0;g[n]=p;m[n++]=1;this.Yc=n};g.prototype.ud=function(a,b,c,h,d,f,e,p,n){15992<=this.Yc&&this.Id();var g=this.Yc,m=this.Al,k=this.nl;if(this.pb)this.cd[this.Jc-1].hc+=6;else{var t=this.qc();t.type=1;t.Vb=g/4*3;t.hc=6;this.pb=!0;this.Fb=!1}var t=n.left,w=n.top,B=n.right;n=n.bottom;m[g]=a;k[g++]=t;m[g]=b;k[g++]=w;m[g]=c;k[g++]=B;m[g]=h;k[g++]=w;m[g]=d;k[g++]=B;m[g]=f;k[g++]=n;m[g]=e;k[g++]=t;m[g]=p;k[g++]=
n;this.Yc=g};g.prototype.Es=function(a,b,c,h){7996<=this.qf&&this.Id();var d=this.qf,f=this.Xn;if(this.Fb)this.cd[this.Jc-1].hc++;else{var e=this.qc();e.type=8;e.Vb=d;e.hc=1;this.Fb=!0;this.pb=!1}f[d++]=a;f[d++]=b;f[d++]=c;f[d++]=h;this.qf=d};g.prototype.Vc=function(a){if(this.gg!==a){if(!this.Ia[a]){if(0===this.gg)return;a=0}var b=this.qc();b.type=9;this.gg=b.Vb=a;this.Fb=this.pb=!1}};g.prototype.Ng=function(a){a=this.Ia[a];return!(!a.ye&&!a.xe)};g.prototype.Vk=function(a){a=this.Ia[a];return!!(a.ye||
a.xe||a.mm)};g.prototype.Ks=function(a){a=this.Ia[a];return 0!==a.Mj||0!==a.Nj};g.prototype.tr=function(a){return this.Ia[a].Mj};g.prototype.ur=function(a){return this.Ia[a].Nj};g.prototype.wr=function(a,b){return this.Ia[a].I[b][2]};g.prototype.ti=function(a){return this.Ia[a].Ul};g.prototype.tf=function(a,b,c,d,l,f,e,g,n,p,m,k,t,w){var B=this.Ia[this.gg],s,A;if(B.Rr||w.length){s=this.qc();s.type=10;s.X?Wb(this.nc,s.X):s.X=Vb();A=s.X;A[0]=b;A[1]=c;A[2]=d;A[3]=l;A[4]=f;A[5]=e;A[6]=g;A[7]=n;A[8]=p;
A[9]=m;A[10]=k;A[11]=t;s.Gc=B.ug?a:null;if(w.length)for(c=s.po,c.length=w.length,a=0,b=w.length;a<b;a++)c[a]=w[a];this.Fb=this.pb=!1}};g.prototype.clear=function(a,b,c,d){var l=this.qc();l.type=7;l.Vb=0;l.X||(l.X=Vb());l.X[0]=a;l.X[1]=b;l.X[2]=c;l.X[3]=d;this.Fb=this.pb=!1};g.prototype.clearRect=function(a,b,c,d){if(!(0>c||0>d)){var l=this.qc();l.type=7;l.Vb=1;l.X||(l.X=Vb());l.X[0]=a;l.X[1]=b;l.X[2]=c;l.X[3]=d;this.Fb=this.pb=!1}};g.prototype.Js=function(){this.Id();this.m.flush()};var e=[],p={};
g.prototype.hq=function(){e.length=0;p={}};g.prototype.ef=function(a,b,c,d){b=!!b;c=!!c;var l=a.src+","+b+","+c+(b?",undefined":""),f=null;if("undefined"!==typeof a.src&&p.hasOwnProperty(l))return f=p[l],f.jh++,f;this.Id();var g=this.m,m=ga(a.width)&&ga(a.height),f=g.createTexture();g.bindTexture(g.TEXTURE_2D,f);g.pixelStorei(g.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var n=g.RGBA,C=g.RGBA,q=g.UNSIGNED_BYTE;if(d&&!this.Xe)switch(d){case 1:C=n=g.RGB;break;case 2:q=g.UNSIGNED_SHORT_4_4_4_4;break;case 3:q=
g.UNSIGNED_SHORT_5_5_5_1;break;case 4:C=n=g.RGB,q=g.UNSIGNED_SHORT_5_6_5}if(!m&&b){d=document.createElement("canvas");d.width=ha(a.width);d.height=ha(a.height);var k=d.getContext("2d");k.webkitImageSmoothingEnabled=c;k.mozImageSmoothingEnabled=c;k.msImageSmoothingEnabled=c;k.imageSmoothingEnabled=c;k.drawImage(a,0,0,a.width,a.height,0,0,d.width,d.height);g.texImage2D(g.TEXTURE_2D,0,n,C,q,d)}else g.texImage2D(g.TEXTURE_2D,0,n,C,q,a);b?(g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_S,g.REPEAT),g.texParameteri(g.TEXTURE_2D,
g.TEXTURE_WRAP_T,g.REPEAT)):(g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_S,g.CLAMP_TO_EDGE),g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_T,g.CLAMP_TO_EDGE));c?(g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MAG_FILTER,g.LINEAR),m&&this.rm?(g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MIN_FILTER,g.LINEAR_MIPMAP_LINEAR),g.generateMipmap(g.TEXTURE_2D)):g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MIN_FILTER,g.LINEAR)):(g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MAG_FILTER,g.NEAREST),g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MIN_FILTER,
g.NEAREST));g.bindTexture(g.TEXTURE_2D,null);this.ue=null;f.Jf=a.width;f.If=a.height;f.jh=1;f.gm=l;e.push(f);return p[l]=f};g.prototype.Hd=function(a,b,c){var d;this.Id();var l=this.m;this.Xe&&(d=!1);var f=l.createTexture();l.bindTexture(l.TEXTURE_2D,f);l.texImage2D(l.TEXTURE_2D,0,l.RGBA,a,b,0,l.RGBA,d?l.UNSIGNED_SHORT_4_4_4_4:l.UNSIGNED_BYTE,null);l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,l.CLAMP_TO_EDGE);l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,l.CLAMP_TO_EDGE);l.texParameteri(l.TEXTURE_2D,
l.TEXTURE_MAG_FILTER,c?l.LINEAR:l.NEAREST);l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,c?l.LINEAR:l.NEAREST);l.bindTexture(l.TEXTURE_2D,null);this.ue=null;f.Jf=a;f.If=b;e.push(f);return f};g.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.jh&&1<a.jh?a.jh--:(this.Id(),a===this.ue&&(this.m.bindTexture(this.m.TEXTURE_2D,null),this.ue=null),a===this.ve&&(this.m.activeTexture(this.m.TEXTURE1),this.m.bindTexture(this.m.TEXTURE_2D,null),this.m.activeTexture(this.m.TEXTURE0),this.ve=
null),wa(e,a),"undefined"!==typeof a.gm&&delete p[a.gm],this.m.deleteTexture(a)))};g.prototype.Uc=function(a){if(a!==this.eo){var b=this.qc();b.type=6;this.eo=b.Gc=a;this.Fb=this.pb=!1}};cb=g})();
(function(){function g(){return"undefined"!==typeof jQuery?jQuery(window).width():window.innerWidth}function m(){return"undefined"!==typeof jQuery?jQuery(window).height():window.innerHeight}function d(k){if(k&&(k.getContext||k.dc)&&!k.c2runtime){k.c2runtime=this;var a=this;this.ic=(this.bg=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk))||"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||
"undefined"!==typeof window.device.phonegap)||"undefined"!==typeof window.c2isphonegap&&window.c2isphonegap;this.Ua=!!k.dc;this.Ve="undefined"!==typeof window.AppMobi||this.Ua;this.Rb=!!window.c2cocoonjs;this.Ac=!!window.c2ejecta;this.Rb&&(CocoonJS.App.onSuspended.addEventListener(function(){a.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){a.setSuspended(!1)}));this.Ac&&(document.addEventListener("pagehide",function(){a.setSuspended(!0)}),document.addEventListener("pageshow",
function(){a.setSuspended(!1)}),document.addEventListener("resize",function(){a.setSize(window.innerWidth,window.innerHeight)}));this.ba=this.Ua||this.Rb||this.Ac;this.Xe=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent);this.Vm=/tizen/i.test(navigator.userAgent);this.Mh=/android/i.test(navigator.userAgent)&&!this.Vm&&!this.Xe;this.rk=(/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent))&&!this.Xe;this.Zm=/ipad/i.test(navigator.userAgent);
this.Sh=this.rk||this.Zm||this.Ac;this.hs=this.rk&&/os\s6/i.test(navigator.userAgent);this.ag=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);this.Sm=/amazonwebappplatform/i.test(navigator.userAgent);this.Zr=/firefox/i.test(navigator.userAgent);this.Um=/safari/i.test(navigator.userAgent)&&!this.ag&&!this.Xe;this.bs=/windows/i.test(navigator.userAgent);this.Ld="undefined"!==typeof window.c2nodewebkit||/nodewebkit/i.test(navigator.userAgent);this.ds=!("undefined"===typeof window.c2isWindows8||
!window.c2isWindows8);this.es=!("undefined"===typeof window.c2isWindows8Capable||!window.c2isWindows8Capable);this.Oh=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.Xm=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.Wm=this.ds||this.es||this.Xm;this.Xr=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.Nh=this.Mh&&!this.ag&&!this.bg&&!this.Zr&&!this.Sm&&!this.ba;this.devicePixelRatio=1;this.Pc=this.ic||
this.bg||this.Ve||this.Rb||this.Mh||this.Sh||this.Oh||this.Xm||this.Xr||this.Vm||this.Ac;this.Pc||(this.Pc=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.Ld||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||(this.Ld=!0);this.Yr="undefined"!==typeof cr_is_preview&&-1<window.location.search.indexOf("debug");this.canvas=k;this.jm=document.getElementById("c2canvasdiv");
this.aa=this.q=this.m=null;this.Sj="";this.yh=!1;this.Jn=this.Kn=0;this.canvas.oncontextmenu=function(k){k.preventDefault&&k.preventDefault();return!1};this.canvas.onselectstart=function(k){k.preventDefault&&k.preventDefault();return!1};this.Ua&&(window.c2runtime=this);this.Ld&&(window.ondragover=function(k){k.preventDefault();return!1},window.ondrop=function(k){k.preventDefault();return!1},require("nw.gui").App.clearCache());this.Nh&&"undefined"!==typeof jQuery&&jQuery("canvas").parents("*").css("overflow",
"visible");this.width=k.width;this.height=k.height;this.L=this.width;this.K=this.height;this.oh=this.width;this.nh=this.height;this.ig=window.innerWidth;this.hg=window.innerHeight;this.fr=!1;this.ga=!0;this.dg=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.n=[];this.Aa=[];this.wk={};this.Hb=[];this.Kj={};this.jd=[];this.Ff=[];this.Vi=[];this.lj=[];this.Vp=[];this.he={};this.nk=this.Kd=!1;this.pd=0;this.pk=!1;this.Lc=[];this.qd=this.ib=this.pg=this.Bi="";this.Yg=
this.so=!1;this.zj=this.xg=this.hd=this.ke=0;this.zf=1;this.Sb=new Ua;this.Zc=new Ua;this.Vh=0;this.zn=!0;this.ei=this.Ah=this.Lj=this.bh=this.jg=this.Rj=0;this.ee=null;this.Gj=[];this.Jj=[];this.vh=-1;this.Bk=[[]];this.sl=this.bi=0;this.Xk(null);this.Pf=this.En=this.Ag=0;this.Zg=[];this.Ri=this.wi=-1;this.cf=!0;this.$h=0;this.cg=!1;this.et=0;this.Ke=null;this.Pr=!1;this.uk=0;this.ha=this.Te=this.Yk=!1;this.In=new ca;this.Jk=new ca;this.Kk=new ca;this.Ns=[];new Wa([]);new Wa([]);this.Ed=[];this.Gh=
{};this.Me={};this.Je={};this.Ef={};this.cm={};this.gn=this.Xh=this.Gb=this.Tb=this.en=this.Wh=this.Y=null;this.Cf=this.qk=!1;this.Tj=[null,null];this.ne=0;this.Pj="";this.Od={};this.Gi=this.ff=null;this.di=[];this.Os()}}function e(k){k.target.result.createObjectStore("saves",{keyPath:"slot"})}function p(k,a,b,c){var d=indexedDB.open("_C2SaveStates");d.onupgradeneeded=e;d.onerror=c;d.onsuccess=function(d){d=d.target.result;d.onerror=c;d.transaction(["saves"],"readwrite").objectStore("saves").put({slot:k,
data:a}).onsuccess=b}}function a(k,a,b){var c=indexedDB.open("_C2SaveStates");c.onupgradeneeded=e;c.onerror=b;c.onsuccess=function(c){c=c.target.result;c.onerror=b;var d=c.transaction(["saves"]).objectStore("saves").get(k);d.onsuccess=function(){d.result?a(d.result.data):a(null)}}}function b(){H("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function c(k){var a,b=
{};for(a in k)!k.hasOwnProperty(a)||k[a]instanceof ca||k[a]&&"undefined"!==typeof k[a].zu||(b[a]=k[a]);return b}d.prototype.Os=function(){var k=this,a;a=this.Oh?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest;a.open("GET","data.js",!0);var b=!1;if(!this.ba&&"response"in a&&"responseType"in a)try{a.responseType="json",b="json"===a.responseType}catch(c){b=!1}if(!b&&"responseType"in a)try{a.responseType="text"}catch(d){}if("overrideMimeType"in a)try{a.overrideMimeType("application/json; charset=utf-8")}catch(h){}a.onload=
function(){if(b)k.xk(a.response);else if(k.Ac){var c=a.responseText,c=c.substr(c.indexOf("{"));k.xk(JSON.parse(c))}else k.xk(JSON.parse(a.responseText))};a.onerror=function(k){da("Error requesting data.js:");da(k)};a.send()};d.prototype.Vr=function(){var k=this,a,b,c,d,h,l,f,n,e;this.devicePixelRatio=(this.Ze=(!this.ba||this.Ac)&&this.qt&&!this.Nh)?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.Za();b=!(!this.fr&&(!this.nj||
this.Ld||this.Wm||this.Oh||this.bg||this.ic||this.Sm));0<this.gb&&this.setSize(g(),m(),!0);try{this.Dq&&(this.Rb||this.Ac||!this.ba)&&(a={alpha:b,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},this.m=this.canvas.getContext("webgl",a)||this.canvas.getContext("experimental-webgl",a))}catch(p){}if(this.m){this.ba||(this.Va=document.createElement("canvas"),jQuery(this.Va).appendTo(this.canvas.parentNode),this.Va.oncontextmenu=function(){return!1},this.Va.onselectstart=function(){return!1},this.Va.width=
this.oh,this.Va.height=this.nh,jQuery(this.Va).css({width:this.oh+"px",height:this.nh+"px"}),this.Zn(),this.Sk=this.Va.getContext("2d"));this.q=new cb(this.m,this.Pc);this.q.uf(this.canvas.width,this.canvas.height);this.q.rm=0!==this.Bq;this.aa=null;this.canvas.addEventListener("webglcontextlost",function(a){a.preventDefault();k.qs();H("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){k.q.Om();k.q.uf(k.q.width,k.q.height,
!0);k.Tb=null;k.Gb=null;k.Tj[0]=null;k.Tj[1]=null;k.rs();k.ga=!0;H("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);a=0;for(b=this.n.length;a<b;a++)for(h=this.n[a],c=0,d=h.H.length;c<d;c++)f=h.H[c],f.Wa=this.q.ak(f.id),this.Cf=this.Cf||this.q.Ng(f.Wa);a=0;for(b=this.Hb.length;a<b;a++){n=this.Hb[a];c=0;for(d=n.H.length;c<d;c++)f=n.H[c],f.Wa=this.q.ak(f.id);c=0;for(d=n.M.length;c<d;c++)for(e=n.M[c],h=0,l=e.H.length;h<l;h++)f=e.H[h],f.Wa=this.q.ak(f.id),this.Cf=this.Cf||this.q.Ng(f.Wa)}}else{if(0<
this.gb&&this.Ua){this.canvas=null;document.oncontextmenu=function(){return!1};document.onselectstart=function(){return!1};this.aa=AppMobi.canvas.getContext("2d");try{this.aa.samplingMode=this.S?"smooth":"sharp",this.aa.globalScale=1,this.aa.HTML5CompatibilityMode=!0,this.aa.imageSmoothingEnabled=this.S}catch(u){}0!==this.width&&0!==this.height&&(this.aa.width=this.width,this.aa.height=this.height)}this.aa||(a=this.Rb?{antialias:!!this.S,alpha:b}:{alpha:b},this.aa=this.canvas.getContext("2d",a),this.aa.webkitImageSmoothingEnabled=
this.S,this.aa.mozImageSmoothingEnabled=this.S,this.aa.msImageSmoothingEnabled=this.S,this.aa.imageSmoothingEnabled=this.S);this.Sk=this.Va=null}this.Qi=function(){k.Sa(!1)};window==window.top||this.ba||this.Wm||this.Oh||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.Rb&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&
(H("Reloading for continuous preview"),this.pg="__c2_continuouspreview",this.Yg=!0),this.Cs&&!this.Pc&&(jQuery(window).focus(function(){k.setSuspended(!1)}),jQuery(window).blur(function(){k.setSuspended(!0)})));this.ba||(a=function(k){bb(k)&&document.activeElement&&document.activeElement!==document.getElementsByTagName("body")[0]&&document.activeElement.blur&&document.activeElement.blur()},window.navigator.pointerEnabled?document.addEventListener("pointerdown",a):window.navigator.msPointerEnabled?
document.addEventListener("MSPointerDown",a):document.addEventListener("touchstart",a),document.addEventListener("mousedown",a));0===this.gb&&this.Ze&&1<this.devicePixelRatio&&this.setSize(this.Pa,this.Oa,!0);this.Do();this.Mr();this.go();this.ua={}};d.prototype.setSize=function(k,a,b){var c=0,d=0,h=0,l=0,l=0,f=this.hs&&this.Um&&!navigator.standalone&&!this.ba&&!this.ic;f&&(a+=60);if(this.ig!==k||this.hg!==a||b){this.ig=k;this.hg=a;var n=this.gb,g=(document.mozFullScreen||document.webkitIsFullScreen||
!!document.msFullscreenElement||document.fullScreen||this.cg)&&!this.ic;if(g||0!==this.gb||b)g&&0<this.ne&&(n=this.ne),b=this.devicePixelRatio,4<=n?(h=this.Pa/this.Oa,k/a>h?(h*=a,5===n?(l=h*b/this.Pa,1<l?l=Math.floor(l):1>l&&(l=1/Math.ceil(1/l)),h=this.Pa*l/b,l=this.Oa*l/b,c=(k-h)/2,d=(a-l)/2,k=h,a=l):(c=(k-h)/2,k=h)):(l=k/h,5===n?(l=l*b/this.Oa,1<l?l=Math.floor(l):1>l&&(l=1/Math.ceil(1/l)),h=this.Pa*l/b,l=this.Oa*l/b,c=(k-h)/2,d=(a-l)/2,k=h):d=(a-l)/2,a=l),g&&!this.Ld&&(d=c=0)):this.Ld&&this.cg&&
0===this.zm&&(c=Math.floor((k-this.Pa)/2),d=Math.floor((a-this.Oa)/2),k=this.Pa,a=this.Oa),2>n&&(this.Hf=b),this.Ze&&this.Zm&&1<b&&(1024<=k&&(k=1023),1024<=a&&(a=1023)),this.oh=Math.round(k),this.nh=Math.round(a),this.width=Math.round(k*b),this.height=Math.round(a*b),this.ga=!0,this.No?(this.L=this.width,this.K=this.height,this.gc=!0):this.width<this.Pa&&this.height<this.Oa||1===n?(this.L=this.width,this.K=this.height,this.gc=!0):(this.L=this.Pa,this.K=this.Oa,this.gc=!1,2===n?(h=this.Pa/this.Oa,
n=this.ig/this.hg,n<h?this.L=this.K*n:n>h&&(this.K=this.L/n)):3===n&&(h=this.Pa/this.Oa,n=this.ig/this.hg,n>h?this.L=this.K*n:n<h&&(this.K=this.L/n))),this.jm&&!this.ba&&(jQuery(this.jm).css({width:Math.round(k)+"px",height:Math.round(a)+"px","margin-left":Math.floor(c)+"px","margin-top":Math.floor(d)+"px"}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:Math.round(k)+"px",height:Math.round(a)+"px"})),this.canvas&&(this.canvas.width=Math.round(k*b),this.canvas.height=Math.round(a*
b),this.Ac?(this.canvas.style.left=Math.floor(c)+"px",this.canvas.style.top=Math.floor(d)+"px",this.canvas.style.width=Math.round(k)+"px",this.canvas.style.height=Math.round(a)+"px"):this.Ze&&!this.ba&&jQuery(this.canvas).css({width:Math.round(k)+"px",height:Math.round(a)+"px"})),this.Va&&(this.Va.width=Math.round(k),this.Va.height=Math.round(a),jQuery(this.Va).css({width:Math.round(k)+"px",height:Math.round(a)+"px"})),this.q&&this.q.uf(Math.round(k*b),Math.round(a*b)),this.Ua&&this.aa&&(this.aa.width=
Math.round(k),this.aa.height=Math.round(a)),this.aa&&(this.aa.webkitImageSmoothingEnabled=this.S,this.aa.mozImageSmoothingEnabled=this.S,this.aa.msImageSmoothingEnabled=this.S,this.aa.imageSmoothingEnabled=this.S),this.Do(),this.ba||!f&&!this.rk||window.setTimeout(function(){window.scrollTo(0,1)},100)}};d.prototype.Do=function(){if(this.Xp&&0!==this.Qk){var k="portrait";2===this.Qk&&(k="landscape");screen.orientation&&screen.orientation.lock?screen.orientation.lock(k):screen.lockOrientation?screen.lockOrientation(k):
screen.webkitLockOrientation?screen.webkitLockOrientation(k):screen.mozLockOrientation?screen.mozLockOrientation(k):screen.msLockOrientation&&screen.msLockOrientation(k)}};d.prototype.qs=function(){this.q.hq();this.qk=!0;var k,a,b;k=0;for(a=this.n.length;k<a;k++)b=this.n[k],b.fi&&b.fi()};d.prototype.rs=function(){this.qk=!1;var k,a,b;k=0;for(a=this.n.length;k<a;k++)b=this.n[k],b.gi&&b.gi()};d.prototype.Zn=function(){if(!this.ba){var k=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||
document.msFullscreenElement||this.cg)&&!this.ic?jQuery(this.canvas).offset():jQuery(this.canvas).position();k.position="absolute";jQuery(this.Va).css(k)}};var h=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;d.prototype.setSuspended=function(k){var a;if(k&&!this.dg)for(H("[Construct 2] Suspending"),this.dg=!0,-1!==this.wi&&h&&h(this.wi),-1!==this.Ri&&clearTimeout(this.Ri),k=0,a=this.Zg.length;k<
a;k++)this.Zg[k](!0);else if(!k&&this.dg){H("[Construct 2] Resuming");this.dg=!1;this.Vh=S();this.jg=S();k=this.xg=this.Ah=0;for(a=this.Zg.length;k<a;k++)this.Zg[k](!1);this.Sa(!1)}};d.prototype.Tp=function(k){this.Zg.push(k)};d.prototype.Bd=function(k){return this.di[k]};d.prototype.xk=function(k){k&&k.project||da("Project model unavailable");k=k.project;this.name=k[0];this.ym=k[1];this.gb=k[12];this.zm=k[12];this.Pa=k[10];this.Oa=k[11];this.Sn=this.Pa/2;this.Tn=this.Oa/2;this.ba&&!this.Ac&&(4<=
k[12]||0===k[12])&&(H("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.zm=this.gb=3);this.yl=k[18];this.rg=k[19];0===this.rg&&(this.ff=new Image,this.ff.src="loading-logo.png");this.Ag=k[21];this.di=$b();this.Wc=new W(this);var a,b,c,d,h,l,f,n,g;a=0;for(b=k[2].length;a<b;a++)f=k[2][a],c=this.Bd(f[0]),db(f,c.prototype),g=new c(this),g.Ei=f[1],g.Md=f[2],g.Cn=f[9],g.ja&&g.ja(),this.plugins.push(g);this.di=$b();a=0;for(b=k[3].length;a<
b;a++){f=k[3][a];h=this.Bd(f[1]);g=null;c=0;for(d=this.plugins.length;c<d;c++)if(this.plugins[c]instanceof h){g=this.plugins[c];break}var e=new g.$a(g);e.name=f[0];e.B=f[2];e.mk=f[3].slice(0);e.ut=f[3].length;e.Yp=f[4];e.ir=f[5];e.P=f[11];e.B?(e.An=[],e.kd=this.Pf++,e.na=null):(e.An=null,e.kd=-1,e.na=[]);e.wh=null;e.Pe=null;e.um=null;e.Bc=!1;e.Cb=null;f[6]?(e.Ni=f[6][0],e.Oi=f[6][1],e.ah=f[6][2]):(e.Ni=null,e.Oi=0,e.ah=0);e.Bb=f[7]?f[7]:null;e.index=a;e.c=[];e.sh=[];e.Vd=[new eb(e)];e.gd=0;e.Mc=null;
e.nq=0;e.xf=!0;e.Xi=fb;e.mr=gb;e.rr=hb;e.ea=ib;e.Og=jb;e.Wk=mb;e.rf=nb;e.Ch=ob;e.Vj=pb;e.Yj=qb;e.bd=rb;e.Gm=sb;e.km=new Xa(this.Pa,this.Oa);e.Vl=!0;e.Wl=!1;e.ua={};e.toString=tb;e.Aa=[];c=0;for(d=f[8].length;c<d;c++){n=f[8][c];var p=this.Bd(n[1]),m=null;h=0;for(l=this.Aa.length;h<l;h++)if(this.Aa[h]instanceof p){m=this.Aa[h];break}m||(m=new p(this),m.Dn=[],m.kf=new ca,m.ja&&m.ja(),this.Aa.push(m));-1===m.Dn.indexOf(e)&&m.Dn.push(e);h=new m.$a(m,e);h.name=n[0];h.P=n[2];h.ja();e.Aa.push(h)}e.global=
f[9];e.ok=f[10];e.H=[];c=0;for(d=f[12].length;c<d;c++)e.H.push({id:f[12][c][0],name:f[12][c][1],Wa:-1,La:!0,index:c});e.Lu=f[13];this.yl&&!e.B&&!e.ok&&g.Md||e.ja();e.name&&(this.types[e.name]=e);this.n.push(e);g.Ei&&(c=new g.za(e),c.uid=this.Ag++,c.bo=this.En++,c.re=0,c.Vf=ub,c.toString=vb,c.pa=f[14],c.ja(),e.c.push(c),this.Od[c.uid.toString()]=c)}a=0;for(b=k[4].length;a<b;a++)for(h=k[4][a],l=this.n[h[0]],c=1,d=h.length;c<d;c++)f=this.n[h[c]],f.na.push(l),l.An.push(f);a=0;for(b=k[27].length;a<b;a++){h=
k[27][a];l=[];c=0;for(d=h.length;c<d;c++)l.push(this.n[h[c]]);c=0;for(d=l.length;c<d;c++)l[c].Bc=!0,l[c].Cb=l}if(0<this.Pf)for(a=0,b=this.n.length;a<b;a++)if(f=this.n[a],!f.B&&f.na.length){f.wh=Array(this.Pf);f.Pe=Array(this.Pf);f.um=Array(this.Pf);e=[];c=m=p=n=0;for(d=f.na.length;c<d;c++)for(g=f.na[c],f.wh[g.kd]=n,n+=g.ut,f.Pe[g.kd]=p,p+=g.Yp,f.um[g.kd]=m,m+=g.ir,h=0,l=g.H.length;h<l;h++)e.push(ra({},g.H[h]));f.H=e.concat(f.H);c=0;for(d=f.H.length;c<d;c++)f.H[c].index=c}a=0;for(b=k[5].length;a<b;a++)f=
k[5][a],c=new wb(this,f),this.wk[c.name]=c,this.Hb.push(c);a=0;for(b=k[6].length;a<b;a++)f=k[6][a],c=new xb(this,f),this.Kj[c.name]=c,this.jd.push(c);a=0;for(b=this.jd.length;a<b;a++)this.jd[a].ya();a=0;for(b=this.jd.length;a<b;a++)this.jd[a].ul();a=0;for(b=this.Vi.length;a<b;a++)this.Vi[a].ya();this.Vi.length=0;this.Wp=k[7];this.Pj=k[8];this.Tc=k[9];this.Hf=1;this.Dq=k[13];this.S=k[14];this.nj=k[15];this.qt=k[17];this.Qk=k[20];this.Xp=0<this.Qk;this.Cs=k[22];this.gc=this.No=k[23];this.Bq=k[24];this.Is=
k[25];this.Ji=Date.now();this.di.length=0;this.Vr()};var l=!1;d.prototype.Cl=function(k,a){k.cocoonLazyLoad=!0;k.onerror=function(a){l=k.fm=!0;console&&console.error&&console.error("Error loading image '"+k.src+"': ",a)};this.Ac?k.src=a:k.src||("undefined"!==typeof XAPKReader?XAPKReader.get(a,function(a){k.src=a},function(b){l=k.fm=!0;console&&console.error&&console.error("Error extracting image '"+a+"' from expansion file: ",b)}):k.src=a);this.Ff.push(k)};d.prototype.er=function(k){var a,b;a=0;for(b=
this.Ff.length;a<b;a++)if(this.Ff[a].jq===k)return this.Ff[a];return null};var f=0,u=!1;d.prototype.Mr=function(){this.Ke&&(f=this.Ke.bt(this.Wp))};d.prototype.Xl=function(){var a=f,b=0,c=0,d=!0,h,l,c=0;for(h=this.Ff.length;c<h;c++){l=this.Ff[c];var e=l.Aj;if(!e||0>=e)e=5E4;a+=e;l.src&&(l.complete||l.loaded)&&!l.fm?b+=e:d=!1}d&&this.Is&&this.Ke&&(u||(this.Ke.gt(),u=!0),c=this.Ke.sr(),b+=c,c<f&&(d=!1));this.Be=0==a?0:b/a;return d};d.prototype.go=function(){if(this.aa||this.q){var a=this.aa||this.Sk;
this.Va&&this.Zn();this.Be=0;this.dn=-1;if(this.Xl())this.Nr();else{var b=Date.now()-this.Ji;if(a){var c=this.width,d=this.height,h=this.devicePixelRatio;this.Va&&(c=this.oh,d=this.nh,h=1);if(3!==this.rg&&(this.Rb||500<=b&&this.dn!=this.Be)){a.clearRect(0,0,c,d);var b=c/2,d=d/2,c=0===this.rg&&this.ff.complete,f=40*h,e=0,n=80*h,g;c&&(n=this.ff.width*h,g=this.ff.height*h,f=n/2,e=g/2,a.drawImage(this.ff,P(b-f),P(d-e),n,g));1>=this.rg?(b=P(b-f)+.5,d=P(d+(e+(c?12*h:0)))+.5,a.fillStyle=l?"red":"DodgerBlue",
a.fillRect(b,d,Math.floor(n*this.Be),6*h),a.strokeStyle="black",a.strokeRect(b,d,n,6*h),a.strokeStyle="white",a.strokeRect(b-1*h,d-1*h,n+2*h,8*h)):2===this.rg&&(a.font=this.Ac?"12pt ArialMT":"12pt Arial",a.fillStyle=l?"#f00":"#999",a.Ku="middle",h=Math.round(100*this.Be)+"%",c=a.measureText?a.measureText(h):null,a.fillText(h,b-(c?c.width:0)/2,d))}this.dn=this.Be}setTimeout(function(a){return function(){a.go()}}(this),this.Rb?10:100)}}};d.prototype.Nr=function(){this.Va&&(this.canvas.parentNode.removeChild(this.Va),
this.Va=this.Sk=null);this.Ji=Date.now();this.jg=S();var a,b,c;if(this.yl)for(a=0,b=this.n.length;a<b;a++)c=this.n[a],c.B||c.ok||!c.xa.Md||c.ja();else this.cf=!1;a=0;for(b=this.Hb.length;a<b;a++)this.Hb[a].kq();2<=this.gb&&(a=this.Pa/this.Oa,b=this.width/this.height,this.Hf=2!==this.gb&&b>a||2===this.gb&&b<a?this.height/this.Oa:this.width/this.Pa);this.ym?this.wk[this.ym].ll():this.Hb[0].ll();this.yl||(this.$h=1,this.trigger(W.prototype.i.Hl,null));navigator.splashscreen&&navigator.splashscreen.hide&&
navigator.splashscreen.hide();a=0;for(b=this.n.length;a<b;a++)c=this.n[a],c.ps&&c.ps();this.Sa(!1);this.Ua&&AppMobi.webview.execute("onGameReady();")};var v=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;d.prototype.Sa=function(a){if(this.Y){var b=S();if(this.Pr&&this.Yk&&29>b-this.uk)this.Yk=!1,this.uk=b,v?this.wi=v(this.Qi,this.canvas):this.Ri=setTimeout(this.Qi,this.Pc?1:16);else{this.Yk=
!0;this.uk=b;var c=this.gb,d=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement)&&!this.ic;(d||this.cg)&&0<this.ne&&(c=this.ne);0<c&&(!this.Sh||window.self!==window.top)&&(c=window.innerHeight,this.ig===window.innerWidth&&this.hg===c||this.setSize(g(),m()));this.ba||(d?(this.yh||(this.Sj=jQuery(this.canvas).css("margin")||"0",this.yh=!0),this.ag||this.Ld||jQuery(this.canvas).css({"margin-left":""+Math.floor((screen.width-this.width/this.devicePixelRatio)/
2)+"px","margin-top":""+Math.floor((screen.height-this.height/this.devicePixelRatio)/2)+"px"})):this.yh?(this.ag||this.Ld||jQuery(this.canvas).css("margin",this.Sj),this.Sj="",this.yh=!1,0===this.gb&&this.setSize(Math.round(this.Kn/this.devicePixelRatio),Math.round(this.Jn/this.devicePixelRatio),!0)):(this.Kn=this.width,this.Jn=this.height));this.cf&&(d=this.Xl(),this.$h=this.Be,d&&(this.cf=!1,this.Be=1,this.trigger(W.prototype.i.Hl,null)));this.ls();!this.ga&&!this.Rb||this.qk||this.Yg||a||(this.ga=
!1,this.q?this.Db():this.yc(),this.Gi&&(this.canvas&&this.canvas.toDataURL&&(this.canvas.toDataURL(this.Gi[0],this.Gi[1]),this.trigger(W.prototype.i.mp,null)),this.Gi=null));this.Fu||(this.bh++,this.Lj++,this.Ah++);this.xg+=S()-b;this.dg||a||(v?this.wi=v(this.Qi,this.canvas):this.Ri=setTimeout(this.Qi,this.Pc?1:16))}}};d.prototype.ls=function(){var a,b,c,d,h,l,f,e,n;a=S();1E3<=a-this.jg&&(this.jg+=1E3,this.Rj=this.Ah,this.Ah=0,this.zj=this.xg,this.xg=0);this.zn&&(0!==this.Vh&&(b=a-this.Vh,0!==b||
this.Yr?(this.hd=b/1E3,.5<this.hd?this.hd=0:.1<this.hd&&(this.hd=.1)):(10<=this.Mu&&(this.zn=!1),this.hd=1/60)),this.Vh=a);this.ke=this.hd*this.zf;this.Sb.add(this.ke);this.Zc.add(this.hd);a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.cg)&&!this.ic;2<=this.gb||a&&0<this.ne?(b=this.Pa/this.Oa,c=this.width/this.height,d=this.gb,a&&0<this.ne&&(d=this.ne),this.Hf=2!==d&&c>b||2===d&&c<b?this.height/this.Oa:this.width/this.Pa,this.Y&&(this.Y.jo(this.Y.scrollX),
this.Y.ko(this.Y.scrollY))):this.Hf=this.Ze?this.devicePixelRatio:1;this.Za();this.pd++;this.Wc.Rs();this.pd--;this.Za();this.pd++;c=this.In.Hc();a=0;for(b=c.length;a<b;a++)c[a].Hu();a=0;for(b=this.n.length;a<b;a++)if(f=this.n[a],!f.B&&(f.Aa.length||f.na.length))for(c=0,d=f.c.length;c<d;c++)for(e=f.c[c],h=0,l=e.G.length;h<l;h++)e.G[h].Sa();a=0;for(b=this.n.length;a<b;a++)if(f=this.n[a],!f.B&&(f.Aa.length||f.na.length))for(c=0,d=f.c.length;c<d;c++)for(e=f.c[c],h=0,l=e.G.length;h<l;h++)n=e.G[h],n.Hs&&
n.Hs();c=this.Jk.Hc();a=0;for(b=c.length;a<b;a++)c[a].Sa();this.pd--;this.Qr();for(a=0;this.ee&&10>a++;)this.om(this.ee);a=0;for(b=this.jd.length;a<b;a++)this.jd[a].gk=!1;this.Y.le&&this.Y.le.Ha();this.Ns.length=0;this.pd++;a=0;for(b=this.n.length;a<b;a++)if(f=this.n[a],!f.B&&(f.Aa.length||f.na.length))for(c=0,d=f.c.length;c<d;c++)for(e=f.c[c],h=0,l=e.G.length;h<l;h++)n=e.G[h],n.ol&&n.ol();c=this.Kk.Hc();a=0;for(b=c.length;a<b;a++)c[a].ol();this.pd--};d.prototype.om=function(a){var b=this.Y;this.Y.ht();
var c,d,h,f,l,e,n;if(this.q)for(c=0,d=this.n.length;c<d;c++)l=this.n[c],l.B||!l.Wi||l.global&&0!==l.c.length||-1!==a.Zf.indexOf(l)||l.Wi();b==a&&(this.Wc.yb.length=0);a.ll();c=0;for(d=this.n.length;c<d;c++)if(l=this.n[c],l.global||l.xa.Ei)for(a=0,b=l.c.length;a<b;a++)if(e=l.c[a],e.Pk&&e.Pk(),e.G)for(h=0,f=e.G.length;h<f;h++)n=e.G[h],n.Pk&&n.Pk();this.ga=!0;this.Za()};d.prototype.pl=function(a){this.Jk.add(a)};d.prototype.it=function(a){this.Kk.add(a)};d.prototype.Wj=function(a){return a&&-1!==a.zg?
this.hd*a.zg:this.ke};d.prototype.yc=function(){this.Y.yc(this.aa);this.Ua&&this.aa.present()};d.prototype.Db=function(){this.Y.Db(this.q);this.q.Js()};d.prototype.Rp=function(a){a&&this.Gj.push(a)};d.prototype.Eh=function(a){a=a.toString();return this.Od.hasOwnProperty(a)?this.Od[a]:null};var n=[];d.prototype.Ad=function(a){var b,c;b=a.type.name;var d=null;if(this.he.hasOwnProperty(b)){if(d=this.he[b],d.contains(a))return}else d=n.length?n.pop():new ca,this.he[b]=d;d.add(a);this.Kd=!0;if(a.Bc)for(b=
0,c=a.siblings.length;b<c;b++)this.Ad(a.siblings[b]);this.nk&&d.Df.push(a);this.pd++;this.trigger(Object.getPrototypeOf(a.type.xa).i.op,a);this.pd--};d.prototype.Za=function(){if(this.Kd){var a,b,c,d,h,l;this.nk=!0;c=0;for(h=this.Lc.length;c<h;++c)for(a=this.Lc[c],b=a.type,b.c.push(a),d=0,l=b.na.length;d<l;++d)b.na[d].c.push(a),b.na[d].xf=!0;this.Lc.length=0;this.dp();Qa(this.he);this.Kd=this.nk=!1}};d.prototype.dp=function(){for(var a in this.he)this.he.hasOwnProperty(a)&&this.So(this.he[a])};d.prototype.So=
function(a){var b=a.Hc(),c=b[0].type,d,h,l,f,e,g;Ta(c.c,a);c.xf=!0;0===c.c.length&&(c.Wl=!1);d=0;for(h=c.na.length;d<h;++d)g=c.na[d],Ta(g.c,a),g.xf=!0;d=0;for(h=this.Wc.yb.length;d<h;++d)if(e=this.Wc.yb[d],e.kb.hasOwnProperty(c.index)&&Ta(e.kb[c.index].od,a),!c.B)for(l=0,f=c.na.length;l<f;++l)g=c.na[l],e.kb.hasOwnProperty(g.index)&&Ta(e.kb[g.index].od,a);(d=b[0].d)&&Ta(d.c,a);for(d=0;d<b.length;++d)this.Ro(b[d],c);a.clear();n.push(a);this.ga=!0};d.prototype.Ro=function(a,b){var c,d,h;c=0;for(d=this.Gj.length;c<
d;++c)this.Gj[c](a);a.kh&&b.km.update(a,a.kh,null);if(c=a.d)wa(c.c,a),c.Mb=!0;if(a.G)for(c=0,d=a.G.length;c<d;++c)h=a.G[c],h.Cg&&h.Cg(),h.behavior.kf.remove(a);this.In.remove(a);this.Jk.remove(a);this.Kk.remove(a);a.Cg&&a.Cg();this.Od.hasOwnProperty(a.uid.toString())&&delete this.Od[a.uid.toString()];this.ei--;100>b.sh.length&&b.sh.push(a)};var C=[];d.prototype.ge=function(a,b,c,d,h,l){var f,e,n,g;if(!a)return null;var p=this.n[a[1]],m=p.xa.Md;if(this.cf&&m&&!p.ok||m&&!this.q&&11===a[0][11])return null;
var u=b;m||(b=null);var q;p.sh.length?(q=p.sh.pop(),q.Ec=!0,p.xa.za.call(q,p)):(q=new p.xa.za(p),q.Ec=!1);q.uid=c&&!l?a[2]:this.Ag++;this.Od[q.uid.toString()]=q;q.bo=this.En++;q.re=p.c.length;f=0;for(e=this.Lc.length;f<e;++f)this.Lc[f].type===p&&q.re++;q.Vf=ub;n=a[3];if(q.Ec)Qa(q.ua);else{q.ua={};if("undefined"!==typeof cr_is_preview)for(q.Rm=[],q.Rm.length=n.length,f=0,e=n.length;f<e;f++)q.Rm[f]=n[f][1];q.Fa=[];q.Fa.length=n.length}f=0;for(e=n.length;f<e;f++)q.Fa[f]=n[f][0];if(m){var v=a[0];q.x=
fa(d)?v[0]:d;q.y=fa(h)?v[1]:h;q.z=v[2];q.width=v[3];q.height=v[4];q.depth=v[5];q.j=v[6];q.opacity=v[7];q.qb=v[8];q.rb=v[9];q.mb=v[10];f=v[11];!this.q&&p.H.length&&(q.mb=f);q.Lf=Ya(q.mb);this.m&&Za(q,q.mb,this.m);if(q.Ec){f=0;for(e=v[12].length;f<e;f++)for(n=0,g=v[12][f].length;n<g;n++)q.ta[f][n]=v[12][f][n];q.ab.set(0,0,0,0);q.kh.set(0,0,-1,-1);q.Le.Ug(q.ab);q.rj.length=0}else{q.ta=v[12].slice(0);f=0;for(e=q.ta.length;f<e;f++)q.ta[f]=v[12][f].slice(0);q.U=[];q.Cd=[];q.Cd.length=p.H.length;q.ab=new pa(0,
0,0,0);q.kh=new pa(0,0,-1,-1);q.Le=new qa;q.rj=[];q.Ea=yb;q.Up=zb;q.cc=Ab;q.lb=Bb;q.pt=Cb;q.Eb=Db}q.kt=!1;q.mt=0;q.lt=0;q.jt=null;14===v.length&&(q.kt=!0,q.mt=v[13][0],q.lt=v[13][1],q.jt=v[13][2]);f=0;for(e=p.H.length;f<e;f++)q.Cd[f]=!0;q.zd=Eb;q.zd();q.Mo=!!q.U.length;q.hh=!0;q.vj=!0;p.Vl=!0;q.visible=!0;q.zg=-1;q.d=b;q.Fe=b.c.length;"undefined"===typeof q.Kc&&(q.Kc=null);this.ga=q.Kf=!0}q.toString=vb;var I;f=C.length=0;for(e=p.na.length;f<e;f++)C.push.apply(C,p.na[f].Aa);C.push.apply(C,p.Aa);if(q.Ec)for(f=
0,e=C.length;f<e;f++){var y=C[f];I=q.G[f];I.Ec=!0;y.behavior.za.call(I,y,q);v=a[4][f];n=0;for(g=v.length;n<g;n++)I.pa[n]=v[n];I.ja();y.behavior.kf.add(q)}else for(q.G=[],f=0,e=C.length;f<e;f++)y=C[f],I=new y.behavior.za(y,q),I.Ec=!1,I.pa=a[4][f].slice(0),I.ja(),q.G.push(I),y.behavior.kf.add(q);v=a[5];if(q.Ec)for(f=0,e=v.length;f<e;f++)q.pa[f]=v[f];else q.pa=v.slice(0);this.Lc.push(q);this.Kd=!0;b&&(b.c.push(q),1!==b.oc||1!==b.pc)&&(p.Wl=!0);this.ei++;if(p.Bc){if(q.Bc=!0,q.Ec?q.siblings.length=0:q.siblings=
[],!c&&!l){f=0;for(e=p.Cb.length;f<e;f++)if(p.Cb[f]!==p){if(!p.Cb[f].Mc)return null;q.siblings.push(this.ge(p.Cb[f].Mc,u,!1,m?q.x:d,m?q.y:h,!0))}f=0;for(e=q.siblings.length;f<e;f++)for(q.siblings[f].siblings.push(q),n=0;n<e;n++)f!==n&&q.siblings[f].siblings.push(q.siblings[n])}}else q.Bc=!1,q.siblings=null;q.ja();f=0;for(e=q.G.length;f<e;f++)q.G[f].Gs&&q.G[f].Gs();return q};d.prototype.Sf=function(a){var b,c;b=0;for(c=this.Y.M.length;b<c;b++){var d=this.Y.M[b];if(ab(d.name,a))return d}return null};
d.prototype.md=function(a){a=P(a);0>a&&(a=0);a>=this.Y.M.length&&(a=this.Y.M.length-1);return this.Y.M[a]};d.prototype.yj=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].ea().ka=!0};d.prototype.Og=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Og()};d.prototype.Wk=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Wk()};d.prototype.rf=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].rf()};d.prototype.yf=function(a,b,c,d){var h=a.ea(),f,l,e,n,g,p;if(h.ka)for(d||(h.ka=!1,h.c.length=0),
f=0,n=a.c.length;f<n;f++){if(e=a.c[f],e.lb(),g=e.d.ma(b,c,!0),p=e.d.ma(b,c,!1),e.cc(g,p)){if(d)return!1;h.c.push(e)}}else{f=l=0;for(n=h.c.length;f<n;f++)if(e=h.c[f],e.lb(),g=e.d.ma(b,c,!0),p=e.d.ma(b,c,!1),e.cc(g,p)){if(d)return!1;h.c[l]=h.c[f];l++}d||(h.c.length=l)}a.bd();return d?!0:h.fk()};new qa;new pa(0,0,0,0);d.prototype.Eo=function(a,b){if(!b)return!1;var c,d,h,f,l;c=0;for(d=a.Aa.length;c<d;c++)if(a.Aa[c].behavior instanceof b)return!0;if(!a.B)for(c=0,d=a.na.length;c<d;c++)for(l=a.na[c],h=
0,f=l.Aa.length;h<f;h++)if(l.Aa[h].behavior instanceof b)return!0;return!1};d.prototype.Fo=function(a){return this.Eo(a,Sb.Xt)};d.prototype.tl=function(a){return this.Eo(a,Sb.Yt)};var q=-1;d.prototype.trigger=function(a,b,c){if(!this.Y)return!1;var d=this.Y.le;if(!d)return!1;var h=!1,f,l,e;q++;var n=d.Ej;l=0;for(e=n.length;l<e;++l)f=this.Bo(a,b,n[l],c),h=h||f;f=this.Bo(a,b,d,c);q--;return h||f};d.prototype.Bo=function(a,b,c,d){var h=!1,f,l,e,n;if(b)for(e=this.rl(a,b,b.type.name,c,d),h=h||e,n=b.type.na,
f=0,l=n.length;f<l;++f)e=this.rl(a,b,n[f].name,c,d),h=h||e;else e=this.rl(a,b,"system",c,d),h=h||e;return h};d.prototype.rl=function(a,b,c,d,h){var f,l=!1,e=!1,e="undefined"!==typeof h,n=(e?d.wm:d.Co)[c];if(!n)return l;var g=null;d=0;for(f=n.length;d<f;++d)if(n[d].method==a){g=n[d].Of;break}if(!g)return l;a=e?g[h]:g;if(!a)return null;d=0;for(f=a.length;d<f;d++)h=a[d][0],e=a[d][1],e=this.cr(b,c,h,e),l=l||e;return l};d.prototype.cr=function(a,b,c,d){var h,f,l=!1;this.sl++;var e=this.ob().Ob;e&&this.Og(e.Td);
var n=1<this.sl;this.Og(c.Td);n&&this.Ls();var g=this.Xk(c);g.Ob=c;a&&(h=this.types[b].ea(),h.ka=!1,h.c.length=1,h.c[0]=a,this.types[b].bd());a=!0;if(c.parent){b=g.xo;for(h=c.parent;h;)b.push(h),h=h.parent;b.reverse();h=0;for(f=b.length;h<f;h++)if(!b[h].Ts()){a=!1;break}}a&&(this.Lj++,c.Rc?c.Ss(d):c.Ha(),l=l||g.we);this.Yn();n&&this.Fs();this.rf(c.Td);e&&this.rf(e.Td);this.Kd&&0===this.pd&&0===q&&!this.pk&&this.Za();this.sl--;return l};d.prototype.Dm=function(){var a=this.ob();return a.Ob.bb[a.nb]};
d.prototype.Ls=function(){this.bi++;this.bi>=this.Bk.length&&this.Bk.push([])};d.prototype.Fs=function(){this.bi--};d.prototype.Em=function(){return this.Bk[this.bi]};d.prototype.Xk=function(a){this.vh++;this.vh>=this.Jj.length&&this.Jj.push(new Fb);var b=this.ob();b.reset(a);return b};d.prototype.Yn=function(){this.vh--};d.prototype.ob=function(){return this.Jj[this.vh]};d.prototype.Fm=function(a,b){for(var c,d,h,f,l,e;b;){c=0;for(d=b.rc.length;c<d;c++)if(e=b.rc[c],e instanceof Gb&&ab(a,e.name))return e;
b=b.parent}c=0;for(d=this.jd.length;c<d;c++)for(l=this.jd[c],h=0,f=l.Jd.length;h<f;h++)if(e=l.Jd[h],e instanceof Gb&&ab(a,e.name))return e;return null};d.prototype.Hm=function(a){var b,c;b=0;for(c=this.Hb.length;b<c;b++)if(this.Hb[b].P===a)return this.Hb[b];return null};d.prototype.Fh=function(a){var b,c;b=0;for(c=this.n.length;b<c;b++)if(this.n[b].P===a)return this.n[b];return null};d.prototype.nr=function(a){var b,c;b=0;for(c=this.Ed.length;b<c;b++)if(this.Ed[b].P===a)return this.Ed[b];return null};
d.prototype.Qr=function(){var c=this,d=this.Bi,h=this.qd,f=this.pg,l=!1;this.so&&(l=!0,d="__c2_continuouspreview",this.so=!1);if(d.length){this.Za();h=this.Xs();if(window.indexedDB&&!this.Rb)p(d,h,function(){H("Saved state to IndexedDB storage ("+h.length+" bytes)");c.qd=h;c.trigger(W.prototype.i.fj,null);c.qd="";l&&b()},function(a){try{localStorage.setItem("__c2save_"+d,h),H("Saved state to WebStorage ("+h.length+" bytes)"),c.qd=h,c.trigger(W.prototype.i.fj,null),c.qd="",l&&b()}catch(f){H("Failed to save game state: "+
a+"; "+f)}});else try{localStorage.setItem("__c2save_"+d,h),H("Saved state to WebStorage ("+h.length+" bytes)"),c.qd=h,this.trigger(W.prototype.i.fj,null),c.qd="",l&&b()}catch(e){H("Error saving to WebStorage: "+e)}this.ib=this.pg=this.Bi=""}f.length&&(window.indexedDB&&!this.Rb?a(f,function(a){a?(c.ib=a,H("Loaded state from IndexedDB storage ("+c.ib.length+" bytes)")):(c.ib=localStorage.getItem("__c2save_"+f)||"",H("Loaded state from WebStorage ("+c.ib.length+" bytes)"));c.Yg=!1;c.ib.length||c.trigger(W.prototype.i.dj,
null)},function(){c.ib=localStorage.getItem("__c2save_"+f)||"";H("Loaded state from WebStorage ("+c.ib.length+" bytes)");c.Yg=!1;c.ib.length||c.trigger(W.prototype.i.dj,null)}):(this.ib=localStorage.getItem("__c2save_"+f)||"",H("Loaded state from WebStorage ("+this.ib.length+" bytes)"),this.Yg=!1,c.ib.length||c.trigger(W.prototype.i.dj,null)),this.Bi=this.pg="");this.ib.length&&(this.Za(),this.ks(this.ib),this.qd=this.ib,this.trigger(W.prototype.i.Ap,null),this.ib=this.qd="")};d.prototype.Xs=function(){var a,
b,d,h,f,l,e,n={c2save:!0,version:1,rt:{time:this.Sb.Z,walltime:this.Zc.Z,timescale:this.zf,tickcount:this.bh,execcount:this.Lj,next_uid:this.Ag,running_layout:this.Y.P,start_time_offset:Date.now()-this.Ji},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};a=0;for(b=this.n.length;a<b;a++)if(f=this.n[a],!f.B&&!this.Fo(f)){l={instances:[]};Pa(f.ua)&&(l.ex=c(f.ua));d=0;for(h=f.c.length;d<h;d++)l.instances.push(this.fl(f.c[d]));n.types[f.P.toString()]=l}a=0;for(b=this.Hb.length;a<b;a++)d=
this.Hb[a],n.layouts[d.P.toString()]=d.Jb();h=n.events.groups;a=0;for(b=this.Ed.length;a<b;a++)d=this.Ed[a],h[d.P.toString()]=this.Gh[d.Wf].Re;b=n.events.cnds;for(e in this.Me)this.Me.hasOwnProperty(e)&&(a=this.Me[e],Pa(a.ua)&&(b[e]={ex:c(a.ua)}));b=n.events.acts;for(e in this.Je)this.Je.hasOwnProperty(e)&&(a=this.Je[e],Pa(a.ua)&&(b[e]={ex:a.ua}));b=n.events.vars;for(e in this.Ef)this.Ef.hasOwnProperty(e)&&(a=this.Ef[e],a.Ph||a.parent&&!a.fg||(b[e]=a.data));n.system=this.Wc.Jb();return JSON.stringify(n)};
d.prototype.co=function(){var a,b,c,d,h,f;this.Od={};a=0;for(b=this.n.length;a<b;a++)if(c=this.n[a],!c.B)for(d=0,h=c.c.length;d<h;d++)f=c.c[d],this.Od[f.uid.toString()]=f};d.prototype.ks=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var b=a.rt;this.Sb.reset();this.Sb.Z=b.time;this.Zc.reset();this.Zc.Z=b.walltime||0;this.zf=b.timescale;this.bh=b.tickcount;this.Ji=Date.now()-b.start_time_offset;var c=b.running_layout;if(c!==this.Y.P)if(c=this.Hm(c))this.om(c);else return;var d,h,f,l,e,n,
g;n=a.types;for(h in n)if(n.hasOwnProperty(h)&&(l=this.Fh(parseInt(h,10)))&&!l.B&&!this.Fo(l)){n[h].ex?l.ua=n[h].ex:Qa(l.ua);e=l.c;f=n[h].instances;c=0;for(d=ka(e.length,f.length);c<d;c++)this.Yh(e[c],f[c]);c=f.length;for(d=e.length;c<d;c++)this.Ad(e[c]);c=e.length;for(d=f.length;c<d;c++){e=null;if(l.xa.Md&&(e=this.Y.Dh(f[c].w.l),!e))continue;e=this.ge(l.Mc,e,!1,0,0,!0);this.Yh(e,f[c])}l.xf=!0}this.Za();this.co();d=a.layouts;for(h in d)d.hasOwnProperty(h)&&(c=this.Hm(parseInt(h,10)))&&c.lc(d[h]);
d=a.events.groups;for(h in d)d.hasOwnProperty(h)&&(c=this.nr(parseInt(h,10)))&&this.Gh[c.Wf]&&(this.Gh[c.Wf].Re=d[h]);c=a.events.cnds;for(h in c)c.hasOwnProperty(h)&&this.Me.hasOwnProperty(h)&&(this.Me[h].ua=c[h].ex);c=a.events.acts;for(h in c)c.hasOwnProperty(h)&&this.Je.hasOwnProperty(h)&&(this.Je[h].ua=c[h].ex);c=a.events.vars;for(h in c)c.hasOwnProperty(h)&&this.Ef.hasOwnProperty(h)&&(this.Ef[h].data=c[h]);this.Ag=b.next_uid;this.Wc.lc(a.system);c=0;for(d=this.n.length;c<d;c++)if(l=this.n[c],
!l.B)for(h=0,a=l.c.length;h<a;h++){e=l.c[h];if(l.Bc)for(n=e.Vf(),b=e.siblings.length=0,f=l.Cb.length;b<f;b++)g=l.Cb[b],l!==g&&e.siblings.push(g.c[n]);e.$c&&e.$c();if(e.G)for(b=0,f=e.G.length;b<f;b++)n=e.G[b],n.$c&&n.$c()}this.ga=!0}};d.prototype.fl=function(a,b){var d,h,f,l,e;l=a.type;f=l.xa;var n={};b?n.c2=!0:n.uid=a.uid;Pa(a.ua)&&(n.ex=c(a.ua));if(a.Fa&&a.Fa.length)for(n.ivs={},d=0,h=a.Fa.length;d<h;d++)n.ivs[a.type.mk[d].toString()]=a.Fa[d];if(f.Md){f={x:a.x,y:a.y,w:a.width,h:a.height,l:a.d.P,
zi:a.Eb()};0!==a.j&&(f.a=a.j);1!==a.opacity&&(f.o=a.opacity);.5!==a.qb&&(f.hX=a.qb);.5!==a.rb&&(f.hY=a.rb);0!==a.mb&&(f.bm=a.mb);a.visible||(f.v=a.visible);a.Kf||(f.ce=a.Kf);-1!==a.zg&&(f.mts=a.zg);if(l.H.length)for(f.fx=[],d=0,h=l.H.length;d<h;d++)e=l.H[d],f.fx.push({name:e.name,active:a.Cd[e.index],params:a.ta[e.index]});n.w=f}if(a.G&&a.G.length)for(n.behs={},d=0,h=a.G.length;d<h;d++)l=a.G[d],l.Jb&&(n.behs[l.type.P.toString()]=l.Jb());a.Jb&&(n.data=a.Jb());return n};d.prototype.pr=function(a,b){var c,
d;c=0;for(d=a.mk.length;c<d;c++)if(a.mk[c]===b)return c;return-1};d.prototype.lr=function(a,b){var c,d;c=0;for(d=a.G.length;c<d;c++)if(a.G[c].type.P===b)return c;return-1};d.prototype.Yh=function(a,b,c){var d,h,f,l,e;e=a.type;f=e.xa;if(c){if(!b.c2)return}else a.uid=b.uid;b.ex?a.ua=b.ex:Qa(a.ua);if(h=b.ivs)for(d in h)h.hasOwnProperty(d)&&(c=this.pr(e,parseInt(d,10)),0>c||c>=a.Fa.length||(a.Fa[c]=h[d]));if(f.Md){f=b.w;a.d.P!==f.l&&(c=a.d,a.d=this.Y.Dh(f.l),a.d?(a.d.c.push(a),a.d.Mb=!0,wa(c.c,a),c.Mb=
!0):(a.d=c,this.Ad(a)));a.x=f.x;a.y=f.y;a.width=f.w;a.height=f.h;a.Fe=f.zi;a.j=f.hasOwnProperty("a")?f.a:0;a.opacity=f.hasOwnProperty("o")?f.o:1;a.qb=f.hasOwnProperty("hX")?f.hX:.5;a.rb=f.hasOwnProperty("hY")?f.hY:.5;a.visible=f.hasOwnProperty("v")?f.v:!0;a.Kf=f.hasOwnProperty("ce")?f.ce:!0;a.zg=f.hasOwnProperty("mts")?f.mts:-1;a.mb=f.hasOwnProperty("bm")?f.bm:0;a.Lf=Ya(a.mb);this.m&&Za(a,a.mb,this.m);a.Ea();if(f.hasOwnProperty("fx"))for(c=0,h=f.fx.length;c<h;c++)l=e.Yj(f.fx[c].name),0>l||(a.Cd[l]=
f.fx[c].active,a.ta[l]=f.fx[c].params);a.zd()}if(e=b.behs)for(d in e)e.hasOwnProperty(d)&&(f=this.lr(a,parseInt(d,10)),0>f||a.G[f].lc(e[d]));b.data&&a.lc(b.data)};Hb=function(a){return new d(document.getElementById(a))};Ib=function(a,b){return new d({dc:!0,width:a,height:b})};window.cr_createRuntime=Hb;window.cr_createDCRuntime=Ib;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var a=document.createElement("screencanvas")||document.createElement("canvas");a.Ju=!0;document.body.appendChild(a);
a=new d(a);window.c2runtime=a;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a};window.createEjectaRuntime=function(){var a=new d(document.getElementById("canvas"));window.c2runtime=a;window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a}})();
window.cr_getC2Runtime=function(){var g=document.getElementById("c2canvas");return g?g.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_sizeCanvas=function(g,m){if(0!==g&&0!==m){var d=window.cr_getC2Runtime();d&&d.setSize(g,m)}};window.cr_setSuspended=function(g){var m=window.cr_getC2Runtime();m&&m.setSuspended(g)};
(function(){function g(a,b){this.b=a;this.le=null;this.scrollX=this.b.Pa/2;this.scrollY=this.b.Oa/2;this.scale=1;this.j=0;this.Rf=!0;this.name=b[0];this.width=b[1];this.height=b[2];this.Go=b[3];this.qo=b[4];this.P=b[5];var c=b[6],d,l;this.M=[];this.Zf=[];d=0;for(l=c.length;d<l;d++){var f=new Jb(this,c[d]);f.Gn=d;this.M.push(f)}c=b[7];this.se=[];d=0;for(l=c.length;d<l;d++){var f=c[d],e=this.b.n[f[1]];e.Mc||(e.Mc=f);this.se.push(f);-1===this.Zf.indexOf(e)&&this.Zf.push(e)}this.H=[];this.U=[];this.ta=
[];d=0;for(l=b[8].length;d<l;d++)this.H.push({id:b[8][d][0],name:b[8][d][1],Wa:-1,La:!0,index:d}),this.ta.push(b[8][d][2].slice(0));this.zd();this.Qg=new pa(0,0,1,1);this.Zk=new pa(0,0,1,1);this.Pd={}}function m(a,b){return a.Fe-b.Fe}function d(a,b){this.fa=a;this.b=a.b;this.c=[];this.scale=1;this.j=0;this.ie=!1;this.xd=new pa(0,0,0,0);this.zo=new qa;this.Xa=this.Ka=this.Ya=this.Ja=0;this.Mb=!1;this.name=b[0];this.index=b[1];this.P=b[2];this.visible=b[3];this.Fd=b[4];this.yd=b[5];this.oc=b[6];this.pc=
b[7];this.opacity=b[8];this.Qj=b[9];this.zb=b[10];this.mb=b[11];this.Cq=b[12];this.Lf="source-over";this.cb=this.eb=0;this.Qd=!1;var c=b[13],d,l;this.Ue=[];d=0;for(l=c.length;d<l;d++){var f=c[d],e=this.b.n[f[1]];e.Mc||(e.Mc=f,e.nq=this.index);this.Ue.push(f);-1===this.fa.Zf.indexOf(e)&&this.fa.Zf.push(e)}this.H=[];this.U=[];this.ta=[];d=0;for(l=b[14].length;d<l;d++)this.H.push({id:b[14][d][0],name:b[14][d][1],Wa:-1,La:!0,index:d}),this.ta.push(b[14][d][2].slice(0));this.zd();this.Qg=new pa(0,0,1,
1);this.Zk=new pa(0,0,1,1)}g.prototype.Ws=function(a){var b=a.type.P.toString();this.Pd.hasOwnProperty(b)||(this.Pd[b]=[]);this.Pd[b].push(this.b.fl(a))};g.prototype.Km=function(){var a=this.M[0];return!a.yd&&1===a.opacity&&!a.Qj&&a.visible};g.prototype.zd=function(){this.U.length=0;var a,b,c;a=0;for(b=this.H.length;a<b;a++)c=this.H[a],c.La&&this.U.push(c)};g.prototype.Xj=function(a){var b,c,d;b=0;for(c=this.H.length;b<c;b++)if(d=this.H[b],d.name===a)return d;return null};var e=[],p=!0;g.prototype.ll=
function(){this.qo&&(this.le=this.b.Kj[this.qo],this.le.ul());this.b.Y=this;this.scrollX=this.b.Pa/2;this.scrollY=this.b.Oa/2;var a,b,c,d,l,f,g;a=0;for(c=this.b.n.length;a<c;a++)if(b=this.b.n[a],!b.B)for(l=b.c,b=0,d=l.length;b<d;b++)if(f=l[b],f.d){var v=f.d.Gn;v>=this.M.length&&(v=this.M.length-1);f.d=this.M[v];-1===f.d.c.indexOf(f)&&f.d.c.push(f);f.d.Mb=!0}if(!p)for(a=0,c=this.M.length;a<c;++a)this.M[a].c.sort(m);e.length=0;this.Zp();a=0;for(c=this.M.length;a<c;a++)f=this.M[a],f.lq(),f.xl();l=!1;
if(!this.Rf){for(g in this.Pd)if(this.Pd.hasOwnProperty(g)&&(b=this.b.Fh(parseInt(g,10)))&&!b.B&&this.b.tl(b)){d=this.Pd[g];a=0;for(c=d.length;a<c;a++){f=null;if(b.xa.Md&&(f=this.Dh(d[a].w.l),!f))continue;f=this.b.ge(b.Mc,f,!1,0,0,!0);this.b.Yh(f,d[a]);l=!0;e.push(f)}d.length=0}a=0;for(c=this.M.length;a<c;a++)this.M[a].c.sort(m),this.M[a].Mb=!0}l&&(this.b.Za(),this.b.co());for(a=0;a<e.length;a++)if(f=e[a],f.type.Bc)for(c=f.Vf(),b=0,d=f.type.Cb.length;b<d;b++)g=f.type.Cb[b],f.type!==g&&(g.c.length>
c?f.siblings.push(g.c[c]):g.Mc&&(l=this.b.ge(g.Mc,f.d,!0,f.x,f.y,!0),this.b.Za(),g.Xi(),f.siblings.push(l),e.push(l)));a=0;for(c=this.se.length;a<c;a++)this.b.ge(this.se[a],null,!0);this.b.ee=null;this.b.Za();if(this.b.aa&&!this.b.ba)for(a=0,c=this.b.n.length;a<c;a++)g=this.b.n[a],!g.B&&g.c.length&&g.si&&g.si(this.b.aa);a=0;for(c=e.length;a<c;a++)f=e[a],this.b.trigger(Object.getPrototypeOf(f.type.xa).i.np,f);e.length=0;this.b.trigger(W.prototype.i.Gl,null);this.Rf=!1};g.prototype.kq=function(){var a,
b,c,d,l;b=a=0;for(c=this.se.length;a<c;a++)d=this.se[a],l=this.b.n[d[1]],l.global?this.b.ge(d,null,!0):(this.se[b]=d,b++);this.se.length=b};g.prototype.ht=function(){this.b.trigger(W.prototype.i.zp,null);this.b.Wc.yb.length=0;var a,b,c,d,l,f;a=0;for(b=this.M.length;a<b;a++)for(this.M[a].Lo(),l=this.M[a].c,c=0,d=l.length;c<d;c++)f=l[c],f.type.global||this.b.tl(f.type)&&this.Ws(f);a=0;for(b=this.M.length;a<b;a++){l=this.M[a].c;c=0;for(d=l.length;c<d;c++)f=l[c],f.type.global||this.b.Ad(f);this.b.Za();
l.length=0;this.M[a].Mb=!0}a=0;for(b=this.b.n.length;a<b;a++)if(l=this.b.n[a],!(l.global||l.xa.Md||l.xa.Ei||l.B)){c=0;for(d=l.c.length;c<d;c++)this.b.Ad(l.c[c]);this.b.Za()}p=!1};g.prototype.yc=function(a){var b,c=a,d=!1,l=!this.b.gc;l&&(this.b.Xh||(this.b.Xh=document.createElement("canvas"),b=this.b.Xh,b.width=this.b.L,b.height=this.b.K,this.b.gn=b.getContext("2d"),d=!0),b=this.b.Xh,c=this.b.gn,b.width!==this.b.L&&(b.width=this.b.L,d=!0),b.height!==this.b.K&&(b.height=this.b.K,d=!0),d&&(c.webkitImageSmoothingEnabled=
this.b.S,c.mozImageSmoothingEnabled=this.b.S,c.msImageSmoothingEnabled=this.b.S,c.imageSmoothingEnabled=this.b.S));c.globalAlpha=1;c.globalCompositeOperation="source-over";this.b.nj&&!this.Km()&&c.clearRect(0,0,this.b.L,this.b.K);var f,e,d=0;for(f=this.M.length;d<f;d++)e=this.M[d],e.visible&&0<e.opacity&&11!==e.mb&&(e.c.length||!e.yd)?e.yc(c):e.xl();l&&a.drawImage(b,0,0,this.b.width,this.b.height)};g.prototype.Db=function(a){var b=0<this.U.length||this.b.Cf||!this.b.gc;if(b){this.b.Gb||(this.b.Gb=
a.Hd(this.b.L,this.b.K,this.b.S));if(this.b.Gb.Jf!==this.b.L||this.b.Gb.If!==this.b.K)a.deleteTexture(this.b.Gb),this.b.Gb=a.Hd(this.b.L,this.b.K,this.b.S);a.Uc(this.b.Gb);this.b.gc||a.uf(this.b.L,this.b.K)}else this.b.Gb&&(a.Uc(null),a.deleteTexture(this.b.Gb),this.b.Gb=null);this.b.nj&&!this.Km()&&a.clear(0,0,0,0);var c,d,l;c=0;for(d=this.M.length;c<d;c++)l=this.M[c],l.visible&&0<l.opacity&&(l.c.length||!l.yd)?l.Db(a):l.xl();b&&(0===this.U.length||1===this.U.length&&this.b.gc?(1===this.U.length?
(b=this.U[0].index,a.Vc(this.U[0].Wa),a.tf(null,1/this.b.L,1/this.b.K,0,0,1,1,this.scale,this.j,0,0,this.b.L/2,this.b.K/2,this.ta[b]),a.ti(this.U[0].Wa)&&(this.b.ga=!0)):a.Vc(0),this.b.gc||a.uf(this.b.width,this.b.height),a.Uc(null),a.Ce(1),a.Kb(this.b.Gb),a.lo(),a.Rd(),a.Zd(),b=this.b.width/2,c=this.b.height/2,a.Pg(-b,c,b,c,b,-c,-b,-c),a.Kb(null)):this.$k(a,null,null,null))};g.prototype.Tf=function(){return 0<this.U.length||this.b.Cf||!this.b.gc?this.b.Gb:null};g.prototype.Im=function(){var a=this.M[0].Qb(),
b,c,d;b=1;for(c=this.M.length;b<c;b++)d=this.M[b],(0!==d.oc||0!==d.pc)&&d.Qb()<a&&(a=d.Qb());return a};g.prototype.jo=function(a){if(!this.Go){var b=1/this.Im()*this.b.L/2;a>this.width-b&&(a=this.width-b);a<b&&(a=b)}this.scrollX!==a&&(this.scrollX=a,this.b.ga=!0)};g.prototype.ko=function(a){if(!this.Go){var b=1/this.Im()*this.b.K/2;a>this.height-b&&(a=this.height-b);a<b&&(a=b)}this.scrollY!==a&&(this.scrollY=a,this.b.ga=!0)};g.prototype.Zp=function(){this.jo(this.scrollX);this.ko(this.scrollY)};g.prototype.$k=
function(a,b,c,d){var l=c?c.U:b?b.U:this.U,f=1,e=0,g=0,n=0,p=this.b.L,m=this.b.K;c?(f=c.d.Qb(),e=c.d.Ma(),g=c.d.Ja,n=c.d.Ka,p=c.d.Ya,m=c.d.Xa):b&&(f=b.Qb(),e=b.Ma(),g=b.Ja,n=b.Ka,p=b.Ya,m=b.Xa);var k=this.b.Tj,t,w,B,s,A=0,X=1,Q,x=this.b.L,z=this.b.K,ja=x/2,Z=z/2,K=b?b.Qg:this.Qg,D=b?b.Zk:this.Zk,r=0,I=0,y=0,G=0,E=x,T=x,F=z,J=z,M=B=0,aa=c?c.d.Ma():0;if(c){t=0;for(w=l.length;t<w;t++)B+=a.tr(l[t].Wa),M+=a.ur(l[t].Wa);s=c.ab;r=b.kc(s.left,s.top,!0);y=b.kc(s.left,s.top,!1);E=b.kc(s.right,s.bottom,!0);
F=b.kc(s.right,s.bottom,!1);0!==aa&&(t=b.kc(s.right,s.top,!0),w=b.kc(s.right,s.top,!1),I=b.kc(s.left,s.bottom,!0),G=b.kc(s.left,s.bottom,!1),s=Math.min(r,E,t,I),E=Math.max(r,E,t,I),r=s,s=Math.min(y,F,w,G),F=Math.max(y,F,w,G),y=s);r-=B;y-=M;E+=B;F+=M;D.left=r/x;D.top=1-y/z;D.right=E/x;D.bottom=1-F/z;I=r=P(r);G=y=P(y);T=E=na(E);J=F=na(F);I-=B;G-=M;T+=B;J+=M;0>r&&(r=0);0>y&&(y=0);E>x&&(E=x);F>z&&(F=z);0>I&&(I=0);0>G&&(G=0);T>x&&(T=x);J>z&&(J=z);K.left=r/x;K.top=1-y/z;K.right=E/x;K.bottom=1-F/z}else K.left=
D.left=0,K.top=D.top=0,K.right=D.right=1,K.bottom=D.bottom=1;M=c&&((c.j||aa)&&a.Ng(l[0].Wa)||0!==B||0!==M||1!==c.opacity||c.type.xa.Cn)||b&&!c&&1!==b.opacity;a.lo();if(M){k[A]||(k[A]=a.Hd(x,z,this.b.S));if(k[A].Jf!==x||k[A].If!==z)a.deleteTexture(k[A]),k[A]=a.Hd(x,z,this.b.S);a.Vc(0);a.Uc(k[A]);Q=J-G;a.clearRect(I,z-G-Q,T-I,Q);c?c.Db(a):(a.Kb(this.b.Tb),a.Ce(b.opacity),a.Rd(),a.translate(-ja,-Z),a.Zd(),a.ud(r,F,E,F,E,y,r,y,K));D.left=D.top=0;D.right=D.bottom=1;c&&(s=K.top,K.top=K.bottom,K.bottom=
s);A=1;X=0}a.Ce(1);B=l.length-1;var aa=a.Vk(l[B].Wa)||!b&&!c&&!this.b.gc,la=0;t=0;for(w=l.length;t<w;t++){k[A]||(k[A]=a.Hd(x,z,this.b.S));if(k[A].Jf!==x||k[A].If!==z)a.deleteTexture(k[A]),k[A]=a.Hd(x,z,this.b.S);a.Vc(l[t].Wa);la=l[t].index;a.ti(l[t].Wa)&&(this.b.ga=!0);0!=t||M?(a.tf(d,1/x,1/z,D.left,D.top,D.right,D.bottom,f,e,g,n,(g+p)/2,(n+m)/2,c?c.ta[la]:b?b.ta[la]:this.ta[la]),a.Kb(null),t!==B||aa?(a.Uc(k[A]),Q=J-G,s=z-G-Q,a.clearRect(I,s,T-I,Q)):(c?a.Sd(c.eb,c.cb):b&&a.Sd(b.eb,b.cb),a.Uc(d)),
a.Kb(k[X]),a.Rd(),a.translate(-ja,-Z),a.Zd(),a.ud(r,F,E,F,E,y,r,y,K),t!==B||aa||a.Kb(null)):(a.Uc(k[A]),Q=J-G,s=z-G-Q,a.clearRect(I,s,T-I,Q),c?(a.tf(d,1/c.width,1/c.height,D.left,D.top,D.right,D.bottom,f,e,g,n,(g+p)/2,(n+m)/2,c.ta[la]),c.Db(a)):(a.tf(d,1/x,1/z,0,0,1,1,f,e,g,n,(g+p)/2,(n+m)/2,b?b.ta[la]:this.ta[la]),a.Kb(b?this.b.Tb:this.b.Gb),a.Rd(),a.translate(-ja,-Z),a.Zd(),a.ud(r,F,E,F,E,y,r,y,K)),D.left=D.top=0,D.right=D.bottom=1,c&&!aa&&(s=F,F=y,y=s));A=0===A?1:0;X=0===A?1:0}aa&&(a.Vc(0),c?a.Sd(c.eb,
c.cb):b?a.Sd(b.eb,b.cb):this.b.gc||(a.uf(this.b.width,this.b.height),ja=this.b.width/2,Z=this.b.height/2,y=r=0,E=this.b.width,F=this.b.height),a.Uc(d),a.Kb(k[X]),a.Rd(),a.translate(-ja,-Z),a.Zd(),c&&1===l.length&&!M?a.ud(r,y,E,y,E,F,r,F,K):a.ud(r,F,E,F,E,y,r,y,K),a.Kb(null))};g.prototype.Dh=function(a){var b,c;b=0;for(c=this.M.length;b<c;b++)if(this.M[b].P===a)return this.M[b];return null};g.prototype.Jb=function(){var a,b,c,d={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.j,w:this.width,h:this.height,
fv:this.Rf,persist:this.Pd,fx:[],layers:{}};a=0;for(b=this.H.length;a<b;a++)c=this.H[a],d.fx.push({name:c.name,active:c.La,params:this.ta[c.index]});a=0;for(b=this.M.length;a<b;a++)c=this.M[a],d.layers[c.P.toString()]=c.Jb();return d};g.prototype.lc=function(a){var b,c,d,l;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.j=a.a;this.width=a.w;this.height=a.h;this.Pd=a.persist;"undefined"!==typeof a.fv&&(this.Rf=a.fv);var f=a.fx;b=0;for(c=f.length;b<c;b++)if(d=this.Xj(f[b].name))d.La=f[b].active,
this.ta[d.index]=f[b].params;this.zd();b=a.layers;for(l in b)b.hasOwnProperty(l)&&(a=this.Dh(parseInt(l,10)))&&a.lc(b[l])};wb=g;d.prototype.zd=function(){this.U.length=0;var a,b,c;a=0;for(b=this.H.length;a<b;a++)c=this.H[a],c.La&&this.U.push(c)};d.prototype.Xj=function(a){var b,c,d;b=0;for(c=this.H.length;b<c;b++)if(d=this.H[b],d.name===a)return d;return null};d.prototype.lq=function(){var a,b,c,d,l,f;b=a=0;for(c=this.Ue.length;a<c;a++){d=this.Ue[a];l=this.b.n[d[1]];f=this.b.tl(l);l=!0;if(!f||this.fa.Rf)d=
this.b.ge(d,this,!0),e.push(d),d.type.global&&(l=!1);l&&(this.Ue[b]=this.Ue[a],b++)}this.Ue.length=b;this.b.Za();!this.b.q&&this.H.length&&(this.mb=this.Cq);this.Lf=Ya(this.mb);this.b.m&&Za(this,this.mb,this.b.m)};d.prototype.Lo=function(){if(this.Mb){var a,b;a=0;for(b=this.c.length;a<b;a++)this.c[a].Fe=a;this.Mb=!1}};d.prototype.Qb=function(a){return this.qr()*(this.b.gc||a?this.b.Hf:1)};d.prototype.qr=function(){return(this.scale*this.fa.scale-1)*this.zb+1};d.prototype.Ma=function(){return this.ie?
0:Aa(this.fa.j+this.j)};d.prototype.yc=function(a){this.Qd=this.Qj||1!==this.opacity||0!==this.mb;var b=this.b.canvas,c=a,d=!1;this.Qd&&(this.b.Wh||(this.b.Wh=document.createElement("canvas"),b=this.b.Wh,b.width=this.b.L,b.height=this.b.K,this.b.en=b.getContext("2d"),d=!0),b=this.b.Wh,c=this.b.en,b.width!==this.b.L&&(b.width=this.b.L,d=!0),b.height!==this.b.K&&(b.height=this.b.K,d=!0),d&&(c.webkitImageSmoothingEnabled=this.b.S,c.mozImageSmoothingEnabled=this.b.S,c.msImageSmoothingEnabled=this.b.S,
c.imageSmoothingEnabled=this.b.S),this.yd&&c.clearRect(0,0,this.b.L,this.b.K));c.globalAlpha=1;c.globalCompositeOperation="source-over";this.yd||(c.fillStyle="rgb("+this.Fd[0]+","+this.Fd[1]+","+this.Fd[2]+")",c.fillRect(0,0,this.b.L,this.b.K));c.save();this.ie=!0;var d=this.ma(0,0,!0,!0),l=this.ma(0,0,!1,!0);this.ie=!1;this.b.Tc&&(d=Math.round(d),l=Math.round(l));this.bl(d,l,c);var f=this.Qb();c.scale(f,f);c.translate(-d,-l);for(var e,d=0,l=this.c.length;d<l;d++)f=this.c[d],f.visible&&0!==f.width&&
0!==f.height&&(f.lb(),e=f.ab,e.right<this.Ja||e.bottom<this.Ka||e.left>this.Ya||e.top>this.Xa||(c.globalCompositeOperation=f.Lf,f.yc(c)));c.restore();this.Qd&&(a.globalCompositeOperation=this.Lf,a.globalAlpha=this.opacity,a.drawImage(b,0,0))};d.prototype.xl=function(){this.ie=!0;var a=this.ma(0,0,!0,!0),b=this.ma(0,0,!1,!0);this.ie=!1;this.b.Tc&&(a=Math.round(a),b=Math.round(b));this.bl(a,b,null)};d.prototype.bl=function(a,b,c){var d=this.Qb();this.Ja=a;this.Ka=b;this.Ya=a+1/d*this.b.L;this.Xa=b+
1/d*this.b.K;a=this.Ma();0!==a&&(c&&(c.translate(this.b.L/2,this.b.K/2),c.rotate(-a),c.translate(this.b.L/-2,this.b.K/-2)),this.xd.set(this.Ja,this.Ka,this.Ya,this.Xa),this.xd.offset((this.Ja+this.Ya)/-2,(this.Ka+this.Xa)/-2),this.zo.oo(this.xd,a),this.zo.em(this.xd),this.xd.offset((this.Ja+this.Ya)/2,(this.Ka+this.Xa)/2),this.Ja=this.xd.left,this.Ka=this.xd.top,this.Ya=this.xd.right,this.Xa=this.xd.bottom)};d.prototype.Db=function(a){var b=this.b.L,c=this.b.K,d=0,l=0;if(this.Qd=this.Qj||1!==this.opacity||
0<this.U.length||0!==this.mb){this.b.Tb||(this.b.Tb=a.Hd(this.b.L,this.b.K,this.b.S));if(this.b.Tb.Jf!==this.b.L||this.b.Tb.If!==this.b.K)a.deleteTexture(this.b.Tb),this.b.Tb=a.Hd(this.b.L,this.b.K,this.b.S);a.Uc(this.b.Tb);this.yd&&a.clear(0,0,0,0)}this.yd||a.clear(this.Fd[0]/255,this.Fd[1]/255,this.Fd[2]/255,1);this.ie=!0;var l=this.ma(0,0,!0,!0),f=this.ma(0,0,!1,!0);this.ie=!1;this.b.Tc&&(l=Math.round(l),f=Math.round(f));this.bl(l,f,null);f=this.Qb();a.Rd();a.scale(f,f);a.fo(-this.Ma());a.translate((this.Ja+
this.Ya)/-2,(this.Ka+this.Xa)/-2);a.Zd();var e,g,n;e=0;for(g=this.c.length;e<g;e++)if(n=this.c[e],n.visible&&0!==n.width&&0!==n.height&&(n.lb(),d=n.ab,!(d.right<this.Ja||d.bottom<this.Ka||d.left>this.Ya||d.top>this.Xa)))if(n.Mo)if(d=n.U[0].Wa,l=n.U[0].index,1!==n.U.length||a.Vk(d)||a.Ks(d)||(n.j||n.d.Ma())&&a.Ng(d)||1!==n.opacity||n.type.xa.Cn)this.fa.$k(a,this,n,this.Qd?this.b.Tb:this.fa.Tf()),a.Rd(),a.scale(f,f),a.fo(-this.Ma()),a.translate((this.Ja+this.Ya)/-2,(this.Ka+this.Xa)/-2),a.Zd();else{a.Vc(d);
a.Sd(n.eb,n.cb);a.ti(d)&&(this.b.ga=!0);var p=0,m=0,k=0,t=0;a.Ng(d)&&(d=n.ab,p=this.kc(d.left,d.top,!0),m=this.kc(d.left,d.top,!1),k=this.kc(d.right,d.bottom,!0),d=this.kc(d.right,d.bottom,!1),p/=b,m=1-m/c,k/=b,t=1-d/c);a.tf(this.Qd?this.b.Tb:this.fa.Tf(),1/n.width,1/n.height,p,m,k,t,this.Qb(),this.Ma(),this.Ja,this.Ka,(this.Ja+this.Ya)/2,(this.Ka+this.Xa)/2,n.ta[l]);n.Db(a)}else a.Vc(0),a.Sd(n.eb,n.cb),n.Db(a);this.Qd&&(d=this.U.length?this.U[0].Wa:0,l=this.U.length?this.U[0].index:0,0===this.U.length||
1===this.U.length&&!a.Vk(d)&&1===this.opacity?(1===this.U.length?(a.Vc(d),a.tf(this.fa.Tf(),1/this.b.L,1/this.b.K,0,0,1,1,this.Qb(),this.Ma(),this.Ja,this.Ka,(this.Ja+this.Ya)/2,(this.Ka+this.Xa)/2,this.ta[l]),a.ti(d)&&(this.b.ga=!0)):a.Vc(0),a.Uc(this.fa.Tf()),a.Ce(this.opacity),a.Kb(this.b.Tb),a.Sd(this.eb,this.cb),a.Rd(),a.Zd(),b=this.b.L/2,c=this.b.K/2,a.Pg(-b,c,b,c,b,-c,-b,-c),a.Kb(null)):this.fa.$k(a,this,null,this.fa.Tf()))};d.prototype.ma=function(a,b,c,d){var e=this.b.devicePixelRatio;this.b.Ze&&
(a*=e,b*=e);var e=this.b.Sn,f=this.b.Tn,e=(this.fa.scrollX-e)*this.oc+e,f=(this.fa.scrollY-f)*this.pc+f,g=1/this.Qb(!d);d?(e-=this.b.L*g/2,f-=this.b.K*g/2):(e-=this.b.width*g/2,f-=this.b.height*g/2);e+=a*g;f+=b*g;b=this.Ma();0!==b&&(e-=this.fa.scrollX,f-=this.fa.scrollY,a=Math.cos(b),b=Math.sin(b),d=e*a-f*b,f=f*a+e*b,e=d+this.fa.scrollX,f+=this.fa.scrollY);return c?e:f};d.prototype.kc=function(a,b,c){var d=this.Ma();if(0!==d){a-=this.fa.scrollX;b-=this.fa.scrollY;var e=Math.cos(-d),d=Math.sin(-d),
f=a*e-b*d;b=b*e+a*d;a=f+this.fa.scrollX;b+=this.fa.scrollY}e=this.b.Sn;d=this.b.Tn;e=(this.fa.scrollX-e)*this.oc+e;d=(this.fa.scrollY-d)*this.pc+d;f=1/this.Qb(!1);e-=this.b.L*f/2;d-=this.b.K*f/2;e=(a-e)/f;return c?e:(b-d)/f};d.prototype.Jb=function(){var a,b,c,d={s:this.scale,a:this.j,vl:this.Ja,vt:this.Ka,vr:this.Ya,vb:this.Xa,v:this.visible,bc:this.Fd,t:this.yd,px:this.oc,py:this.pc,o:this.opacity,zr:this.zb,fx:[],instances:[]};a=0;for(b=this.H.length;a<b;a++)c=this.H[a],d.fx.push({name:c.name,
active:c.La,params:this.ta[c.index]});return d};d.prototype.lc=function(a){var b,c;this.scale=a.s;this.j=a.a;this.Ja=a.vl;this.Ka=a.vt;this.Ya=a.vr;this.Xa=a.vb;this.visible=a.v;this.Fd=a.bc;this.yd=a.t;this.oc=a.px;this.pc=a.py;this.opacity=a.o;this.zb=a.zr;var d=a.fx;a=0;for(b=d.length;a<b;a++)if(c=this.Xj(d[a].name))c.La=d[a].active,this.ta[c.index]=d[a].params;this.zd();this.c.sort(m);this.Mb=!0};Jb=d})();
(function(){function g(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 m(a,b){return a.index-b.index}function d(a){var b,c,d,f;2===a.length?a[0].index>a[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2<a.length&&a.sort(m);a.length>=n.length&&(n.length=a.length+1);n[a.length]||(n[a.length]=[]);f=n[a.length];b=0;for(c=f.length;b<c;b++)if(d=f[b],g(a,d))return d;f.push(a);return a}
function e(a,b){this.b=a;this.Co={};this.wm={};this.gk=!1;this.Nm=new ca;this.Ej=[];this.oj=[];this.name=b[0];var c=b[1];this.Jd=[];var d,f;d=0;for(f=c.length;d<f;d++)this.Pm(c[d],null,this.Jd)}function p(a){this.type=a;this.c=[];this.V=[];this.ka=!0}function a(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.la=[];this.Td=[];this.Lm=this.Si=this.ql=this.Lh=this.group=this.vo=!1;this.bb=[];this.wc=[];this.rc=[];this.Wf="";this.Re=this.Lh=this.group=!1;this.lh=null;c[1]&&(this.Wf=c[1][1].toLowerCase(),
this.group=!0,this.Lh=!!c[1][0],this.lh=[],this.Re=this.Lh,this.b.Ed.push(this),this.b.Gh[this.Wf]=this);this.Rc=c[2];this.P=c[4];this.group||(this.b.cm[this.P.toString()]=this);var d=c[5];a=0;for(b=d.length;a<b;a++){var f=new Kb(this,d[a]);f.index=a;this.bb.push(f);this.Rl(f.type)}d=c[6];a=0;for(b=d.length;a<b;a++)f=new Lb(this,d[a]),f.index=a,this.wc.push(f);if(8===c.length)for(c=c[7],a=0,b=c.length;a<b;a++)this.sheet.Pm(c[a],this,this.rc);this.Qh=!1;this.bb.length&&(this.Qh=null==this.bb[0].type&&
this.bb[0].Ta==W.prototype.i.Vo)}function b(a,b){var c,d,f;if(a&&(-1===b.indexOf(a)&&b.push(a),a.Bc))for(c=0,d=a.Cb.length;c<d;c++)f=a.Cb[c],a!==f&&-1===b.indexOf(f)&&b.push(f)}function c(a,b){this.Nb=a;this.sheet=a.sheet;this.b=a.b;this.I=[];this.ca=[];this.ua={};this.index=-1;this.Gf=!1;this.Ta=this.b.Bd(b[1]);this.trigger=0<b[3];this.vm=2===b[3];this.Qc=b[4];this.$f=b[5];this.js=b[6];this.P=b[7];this.b.Me[this.P.toString()]=this;-1===b[0]?(this.type=null,this.Ha=this.el,this.de=null,this.Wb=-1):
(this.type=this.b.n[b[0]],this.Ha=this.js?this.Us:this.dl,b[2]?(this.de=this.type.Ch(b[2]),this.Wb=this.type.Vj(b[2])):(this.de=null,this.Wb=-1),this.Nb.parent&&this.Nb.parent.Di());this.vm&&(this.Ha=this.Vs);if(10===b.length){var c,d,f=b[9];c=0;for(d=f.length;c<d;c++){var h=new Mb(this,f[c]);this.I.push(h)}this.ca.length=f.length}}function h(a,b){this.Nb=a;this.sheet=a.sheet;this.b=a.b;this.I=[];this.ca=[];this.ua={};this.index=-1;this.Gf=!1;this.Ta=this.b.Bd(b[1]);-1===b[0]?(this.type=null,this.Ha=
this.el,this.de=null,this.Wb=-1):(this.type=this.b.n[b[0]],this.Ha=this.dl,b[2]?(this.de=this.type.Ch(b[2]),this.Wb=this.type.Vj(b[2])):(this.de=null,this.Wb=-1));this.P=b[3];this.b.Je[this.P.toString()]=this;if(6===b.length){var c,d,f=b[5];c=0;for(d=f.length;c<d;c++){var h=new Mb(this,f[c]);this.I.push(h)}this.ca.length=f.length}}function l(a,b){this.k=a;this.Nb=a.Nb;this.sheet=a.sheet;this.b=a.b;this.type=b[0];this.Nc=null;this.Ud=0;this.get=null;this.lm=0;this.fa=null;this.key=0;this.object=null;
this.index=0;this.eh=this.Ee=this.eh=this.Ee=this.xm=this.me=this.fh=null;this.vc=!1;var c,d,f;switch(b[0]){case 0:case 7:this.Nc=new U(this,b[1]);this.Ud=0;this.get=this.Dr;break;case 1:this.Nc=new U(this,b[1]);this.Ud=0;this.get=this.Er;break;case 5:this.Nc=new U(this,b[1]);this.Ud=0;this.get=this.Ir;break;case 3:case 8:this.lm=b[1];this.get=this.Br;break;case 6:this.fa=this.b.wk[b[1]];this.get=this.Jr;break;case 9:this.key=b[1];this.get=this.Hr;break;case 4:this.object=this.b.n[b[1]];this.get=
this.Kr;this.Nb.Rl(this.object);this.k instanceof Lb?this.Nb.Di():this.Nb.parent&&this.Nb.parent.Di();break;case 10:this.index=b[1];a.type.B?(this.get=this.Fr,this.vc=!0):this.get=this.Gr;break;case 11:this.fh=b[1];this.me=null;this.get=this.Cr;break;case 2:case 12:this.xm=b[1];this.get=this.Ar;break;case 13:for(this.get=this.Lr,this.Ee=[],this.eh=[],c=1,d=b.length;c<d;c++)f=new Mb(this.k,b[c]),this.Ee.push(f),this.eh.push(0)}}function f(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.la=[];this.name=
c[1];this.Zi=c[2];this.Kh=c[3];this.fg=!!c[4];this.Ph=!!c[5];this.P=c[6];this.b.Ef[this.P.toString()]=this;this.data=this.Kh;this.parent?(this.ze=this.fg||this.Ph?-1:this.b.et++,this.b.Vp.push(this)):(this.ze=-1,this.b.lj.push(this))}function u(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.la=[];this.Yf=null;this.Tr=c[1];this.La=!0}function v(){this.xo=[];this.reset(null)}var n=[];e.prototype.toString=function(){return this.name};e.prototype.Pm=function(a,b,c){switch(a[0]){case 0:a=new Nb(this,
b,a);if(a.Rc)for(c.push(a),c=0,b=a.bb.length;c<b;c++)a.bb[c].trigger&&this.Qm(a,c);else a.Ym()?this.Qm(a,0):c.push(a);break;case 1:a=new Gb(this,b,a);c.push(a);break;case 2:a=new Ob(this,b,a),c.push(a)}};e.prototype.ya=function(){var a,b;a=0;for(b=this.Jd.length;a<b;a++)this.Jd[a].ya(a<b-1&&this.Jd[a+1].Qh)};e.prototype.ul=function(){this.Ej.length=0;this.oj.length=0;this.Ql(this);this.oj.length=0};e.prototype.Ql=function(a){var b,c,d,f,h=a.Ej,e=a.oj,l=this.Nm.Hc();b=0;for(c=l.length;b<c;++b)d=l[b],
f=d.Yf,!d.La||a===f||-1<e.indexOf(f)||(e.push(f),f.Ql(a),h.push(f))};e.prototype.Ha=function(a){this.b.Iu||(this.gk=!0,a||(this.b.pk=!0));var b,c;b=0;for(c=this.Jd.length;b<c;b++){var d=this.Jd[b];d.Ha();this.b.yj(d.la);this.b.Kd&&this.b.Za()}a||(this.b.pk=!1)};e.prototype.Qm=function(a,b){a.Rc||this.b.Vi.push(a);var c,d,f=a.bb[b],h;h=f.type?f.type.name:"system";var e=(c=f.vm)?this.wm:this.Co;e[h]||(e[h]=[]);h=e[h];e=f.Ta;if(c){if(f.I.length&&(f=f.I[0],1===f.type&&2===f.Nc.type)){f=f.Nc.value.toLowerCase();
c=0;for(d=h.length;c<d;c++)if(h[c].method==e){c=h[c].Of;c[f]?c[f].push([a,b]):c[f]=[[a,b]];return}c={};c[f]=[[a,b]];h.push({method:e,Of:c})}}else{c=0;for(d=h.length;c<d;c++)if(h[c].method==e){h[c].Of.push([a,b]);return}ac&&e===ac.prototype.i.Ie?h.unshift({method:e,Of:[[a,b]]}):h.push({method:e,Of:[[a,b]]})}};xb=e;p.prototype.fk=function(){return this.ka?this.type.c.length:this.c.length};p.prototype.zc=function(){return this.ka?this.type.c:this.c};p.prototype.Mg=function(a){a&&(a.b.ob().Ob.Rc?(this.ka&&
(this.c.length=0,ta(this.V,a.type.c),this.ka=!1),a=this.V.indexOf(a),-1!==a&&(this.c.push(this.V[a]),this.V.splice(a,1))):(this.ka=!1,this.c.length=1,this.c[0]=a))};eb=p;window._c2hh_="028182FC3C1790C453899C06084DBCA3F631EAD1";a.prototype.ya=function(a){var b,c=this.parent;if(this.group)for(this.Si=!0;c;){if(!c.group){this.Si=!1;break}c=c.parent}this.ql=!this.Ym()&&(!this.parent||this.parent.group&&this.parent.Si);this.Lm=!!a;this.Td=this.la.slice(0);for(c=this.parent;c;){a=0;for(b=c.la.length;a<
b;a++)this.Sp(c.la[a]);c=c.parent}this.la=d(this.la);this.Td=d(this.Td);a=0;for(b=this.bb.length;a<b;a++)this.bb[a].ya();a=0;for(b=this.wc.length;a<b;a++)this.wc[a].ya();a=0;for(b=this.rc.length;a<b;a++)this.rc[a].ya(a<b-1&&this.rc[a+1].Qh)};a.prototype.Zs=function(a){if(this.Re!==!!a){this.Re=!!a;var b;a=0;for(b=this.lh.length;a<b;++a)this.lh[a].Io();0<b&&this.b.Y.le&&this.b.Y.le.ul()}};a.prototype.Rl=function(a){b(a,this.la)};a.prototype.Sp=function(a){b(a,this.Td)};a.prototype.Di=function(){this.vo=
!0;this.parent&&this.parent.Di()};a.prototype.Ym=function(){return this.bb.length?this.bb[0].trigger:!1};a.prototype.Ha=function(){var a,b=!1,c,d=this.b,f=this.b.ob();f.Ob=this;var h=this.bb;this.Qh||(f.Ij=!1);if(this.Rc){0===h.length&&(b=!0);f.nb=0;for(a=h.length;f.nb<a;f.nb++)h[f.nb].trigger||(c=h[f.nb].Ha())&&(b=!0);(f.we=b)&&this.cl()}else{f.nb=0;for(a=h.length;f.nb<a;f.nb++)if(c=h[f.nb].Ha(),!c){f.we=!1;this.ql&&d.Kd&&d.Za();return}f.we=!0;this.cl()}this.Eq(f)};a.prototype.Eq=function(a){a.we&&
this.Lm&&(a.Ij=!0);this.ql&&this.b.Kd&&this.b.Za()};a.prototype.Ss=function(a){this.b.ob().Ob=this;this.bb[a].Ha()&&(this.cl(),this.b.ob().we=!0)};a.prototype.cl=function(){var a=this.b.ob(),b;a.Ab=0;for(b=this.wc.length;a.Ab<b;a.Ab++)if(this.wc[a.Ab].Ha())return;this.ho()};a.prototype.Qs=function(){var a=this.b.ob(),b;for(b=this.wc.length;a.Ab<b;a.Ab++)if(this.wc[a.Ab].Ha())return;this.ho()};a.prototype.ho=function(){if(this.rc.length){var a,b,c,d,f=this.rc.length-1;this.b.Xk(this);if(this.vo)for(a=
0,b=this.rc.length;a<b;a++)c=this.rc[a],(d=!this.Si||!this.group&&a<f)&&this.b.Wk(c.la),c.Ha(),d?this.b.rf(c.la):this.b.yj(c.la);else for(a=0,b=this.rc.length;a<b;a++)this.rc[a].Ha();this.b.Yn()}};a.prototype.Ts=function(){var a=this.b.ob();a.Ob=this;var b=!1,c;a.nb=0;for(c=this.bb.length;a.nb<c;a.nb++)if(this.bb[a.nb].Ha())b=!0;else if(!this.Rc)return!1;return this.Rc?b:!0};a.prototype.$r=function(a){var b=a.index;if(0===b)return!0;for(--b;0<=b;--b)if(this.bb[b].type===a.type)return!1;return!0};
Nb=a;c.prototype.ya=function(){var a,b,c;a=0;for(b=this.I.length;a<b;a++)c=this.I[a],c.ya(),c.vc&&(this.Gf=!0)};c.prototype.Vs=function(){return!0};c.prototype.el=function(){var a,b;a=0;for(b=this.I.length;a<b;a++)this.ca[a]=this.I[a].get();return Oa(this.Ta.apply(this.b.Wc,this.ca),this.$f)};c.prototype.Us=function(){var a,b;a=0;for(b=this.I.length;a<b;a++)this.ca[a]=this.I[a].get();a=this.Ta.apply(this.de?this.de:this.type,this.ca);this.type.bd();return a};c.prototype.dl=function(){var a,b,c,d,
f,h,e,l,n=this.type,g=n.ea(),p=this.Nb.Rc&&!this.trigger;b=0;var m=n.Bc,q=n.B,u=n.kd,C=this.Wb,v=-1<C,y=this.Gf,G=this.I,E=this.ca,T=this.$f,F=this.Ta,J;if(y)for(b=0,f=G.length;b<f;++b)h=G[b],h.vc||(E[b]=h.get(0));else for(b=0,f=G.length;b<f;++b)E[b]=G[b].get(0);if(g.ka){g.c.length=0;g.V.length=0;J=n.c;a=0;for(d=J.length;a<d;++a){l=J[a];if(y)for(b=0,f=G.length;b<f;++b)h=G[b],h.vc&&(E[b]=h.get(a));v?(b=0,q&&(b=l.type.Pe[u]),b=F.apply(l.G[C+b],E)):b=F.apply(l,E);(e=Oa(b,T))?g.c.push(l):p&&g.V.push(l)}n.finish&&
n.finish(!0);g.ka=!1;n.bd();return g.fk()}c=0;J=(e=p&&!this.Nb.$r(this))?g.V:g.c;var M=!1;a=0;for(d=J.length;a<d;++a){l=J[a];if(y)for(b=0,f=G.length;b<f;++b)h=G[b],h.vc&&(E[b]=h.get(a));v?(b=0,q&&(b=l.type.Pe[u]),b=F.apply(l.G[C+b],E)):b=F.apply(l,E);if(Oa(b,T))if(M=!0,e){if(g.c.push(l),m)for(b=0,f=l.siblings.length;b<f;b++)h=l.siblings[b],h.type.ea().c.push(h)}else{J[c]=l;if(m)for(b=0,f=l.siblings.length;b<f;b++)h=l.siblings[b],h.type.ea().c[c]=h;c++}else if(e){J[c]=l;if(m)for(b=0,f=l.siblings.length;b<
f;b++)h=l.siblings[b],h.type.ea().V[c]=h;c++}else if(p&&(g.V.push(l),m))for(b=0,f=l.siblings.length;b<f;b++)h=l.siblings[b],h.type.ea().V.push(h)}J.length=c;if(m)for(q=n.Cb,a=0,d=q.length;a<d;a++)l=q[a].ea(),e?l.V.length=c:l.c.length=c;c=M;if(e&&!M)for(a=0,d=g.c.length;a<d;a++){l=g.c[a];if(y)for(b=0,f=G.length;b<f;b++)h=G[b],h.vc&&(E[b]=h.get(a));b=v?F.apply(l.G[C],E):F.apply(l,E);if(Oa(b,T)){M=!0;break}}n.finish&&n.finish(c||p);return p?M:g.fk()};Kb=c;h.prototype.ya=function(){var a,b,c;a=0;for(b=
this.I.length;a<b;a++)c=this.I[a],c.ya(),c.vc&&(this.Gf=!0)};h.prototype.el=function(){var a,b;a=0;for(b=this.I.length;a<b;a++)this.ca[a]=this.I[a].get();return this.Ta.apply(this.b.Wc,this.ca)};h.prototype.dl=function(){var a=this.type.ea().zc(),b=this.type.B,c=this.type.kd,d=this.Wb,f=-1<d,h=this.Gf,e=this.I,l=this.ca,n=this.Ta,g,p,m,q,u,C;if(h)for(p=0,q=e.length;p<q;++p)u=e[p],u.vc||(l[p]=u.get(0));else for(p=0,q=e.length;p<q;++p)l[p]=e[p].get(0);g=0;for(m=a.length;g<m;++g){C=a[g];if(h)for(p=0,
q=e.length;p<q;++p)u=e[p],u.vc&&(l[p]=u.get(g));f?(p=0,b&&(p=C.type.Pe[c]),n.apply(C.G[d+p],l)):n.apply(C,l)}return!1};Lb=h;var C=[],q=-1;l.prototype.ya=function(){var a,b;if(11===this.type)this.me=this.b.Fm(this.fh,this.Nb.parent);else if(13===this.type)for(a=0,b=this.Ee.length;a<b;a++)this.Ee[a].ya();this.Nc&&this.Nc.ya()};l.prototype.ns=function(a){this.vc||!a||a.xa.Ei||(this.vc=!0)};l.prototype.no=function(){this.vc=!0};l.prototype.Ga=function(){q++;C.length===q&&C.push(new Pb);return C[q]};l.prototype.Da=
function(){q--};l.prototype.Dr=function(a){this.Ud=a||0;a=this.Ga();this.Nc.get(a);this.Da();return a.data};l.prototype.Er=function(a){this.Ud=a||0;a=this.Ga();this.Nc.get(a);this.Da();return N(a.data)?a.data:""};l.prototype.Kr=function(){return this.object};l.prototype.Br=function(){return this.lm};l.prototype.Ir=function(a){this.Ud=a||0;a=this.Ga();this.Nc.get(a);this.Da();return a.Na()?this.b.md(a.data):this.b.Sf(a.data)};l.prototype.Jr=function(){return this.fa};l.prototype.Hr=function(){return this.key};
l.prototype.Gr=function(){return this.index};l.prototype.Fr=function(a){a=a||0;var b=this.k.type,c=null,c=b.ea(),d=c.zc();if(d.length)c=d[a%d.length].type;else if(c.V.length)c=c.V[a%c.V.length].type;else if(b.c.length)c=b.c[a%b.c.length].type;else return 0;return this.index+c.wh[b.kd]};l.prototype.Cr=function(){return this.me};l.prototype.Ar=function(){return this.xm};l.prototype.Lr=function(){var a,b;a=0;for(b=this.Ee.length;a<b;a++)this.eh[a]=this.Ee[a].get();return this.eh};Mb=l;f.prototype.ya=
function(){this.la=d(this.la)};f.prototype.De=function(a){var b=this.b.Em();this.parent&&!this.fg&&b?(this.ze>=b.length&&(b.length=this.ze+1),b[this.ze]=a):this.data=a};f.prototype.Uf=function(){var a=this.b.Em();return!this.parent||this.fg||!a||this.Ph?this.data:this.ze>=a.length||"undefined"===typeof a[this.ze]?this.Kh:a[this.ze]};f.prototype.Ha=function(){!this.parent||this.fg||this.Ph||this.De(this.Kh)};Gb=f;u.prototype.toString=function(){return"include:"+this.Yf.toString()};u.prototype.ya=function(){this.Yf=
this.b.Kj[this.Tr];this.sheet.Nm.add(this);this.la=d(this.la);for(var a=this.parent;a;)a.group&&a.lh.push(this),a=a.parent;this.Io()};u.prototype.Ha=function(){this.parent&&this.b.Og(this.b.n);this.Yf.gk||this.Yf.Ha(!0);this.parent&&this.b.rf(this.b.n)};u.prototype.Io=function(){for(var a=this.parent;a;){if(a.group&&!a.Re){this.La=!1;return}a=a.parent}this.La=!0};Ob=u;v.prototype.reset=function(a){this.Ob=a;this.Ab=this.nb=0;this.xo.length=0;this.Ij=this.we=!1};Fb=v})();
(function(){function g(d,e){this.k=d;this.b=d.b;this.type=e[0];this.get=[this.Qq,this.Mq,this.Yq,this.br,this.Gq,this.Zq,this.Uq,this.Jq,this.Tq,this.Xq,this.Hq,this.Wq,this.Kq,this.Vq,this.Rq,this.Sq,this.Nq,this.Oq,this.Iq,this.$q,this.tm,this.Pq,this.tm,this.Lq][this.type];var g=null;this.tb=this.I=this.ca=this.Ta=this.Pi=this.Ra=this.first=this.value=null;this.Wb=-1;this.nd=null;this.zl=-1;this.me=this.fh=null;this.Rg=!1;switch(this.type){case 0:case 1:case 2:this.value=e[1];break;case 3:this.first=
new U(d,e[1]);break;case 18:this.first=new U(d,e[1]);this.Ra=new U(d,e[2]);this.Pi=new U(d,e[3]);break;case 19:this.Ta=this.b.Bd(e[1]);this.Ta!==W.prototype.fb.random&&this.Ta!==W.prototype.fb.gq||this.k.no();this.ca=[];this.I=[];3===e.length?(g=e[2],this.ca.length=g.length+1):this.ca.length=1;break;case 20:this.tb=this.b.n[e[1]];this.Wb=-1;this.Ta=this.b.Bd(e[2]);this.Rg=e[3];Rb.Function&&this.Ta===Rb.Function.prototype.fb.Ct&&this.k.no();this.nd=e[4]?new U(d,e[4]):null;this.ca=[];this.I=[];6===
e.length?(g=e[5],this.ca.length=g.length+1):this.ca.length=1;break;case 21:this.tb=this.b.n[e[1]];this.Rg=e[2];this.nd=e[3]?new U(d,e[3]):null;this.zl=e[4];break;case 22:this.tb=this.b.n[e[1]];this.tb.Ch(e[2]);this.Wb=this.tb.Vj(e[2]);this.Ta=this.b.Bd(e[3]);this.Rg=e[4];this.nd=e[5]?new U(d,e[5]):null;this.ca=[];this.I=[];7===e.length?(g=e[6],this.ca.length=g.length+1):this.ca.length=1;break;case 23:this.fh=e[1],this.me=null}this.k.ns(this.tb);4<=this.type&&17>=this.type&&(this.first=new U(d,e[1]),
this.Ra=new U(d,e[2]));if(g){var a,b;a=0;for(b=g.length;a<b;a++)this.I.push(new U(d,g[a]))}}function m(d,e){this.type=d||V.He;this.data=e||0;this.lf=null;this.type==V.He&&(this.data=Math.floor(this.data))}g.prototype.ya=function(){23===this.type&&(this.me=this.k.b.Fm(this.fh,this.k.Nb.parent));this.first&&this.first.ya();this.Ra&&this.Ra.ya();this.Pi&&this.Pi.ya();this.nd&&this.nd.ya();if(this.I){var d,e;d=0;for(e=this.I.length;d<e;d++)this.I[d].ya()}};g.prototype.$q=function(d){this.ca[0]=d;d=this.k.Ga();
var e,g;e=0;for(g=this.I.length;e<g;e++)this.I[e].get(d),this.ca[e+1]=d.data;this.k.Da();this.Ta.apply(this.b.Wc,this.ca)};g.prototype.tm=function(d){var e=this.tb.ea(),g=e.zc();if(!g.length)if(e.V.length)g=e.V;else{this.Rg?d.Ub(""):d.da(0);return}this.ca[0]=d;d.lf=this.tb;d=this.k.Ga();var a,e=0;for(a=this.I.length;e<a;e++)this.I[e].get(d),this.ca[e+1]=d.data;e=this.k.Ud;this.nd&&(this.nd.get(d),d.Na()&&(e=d.data,g=this.tb.c));this.k.Da();e%=g.length;0>e&&(e+=g.length);g=g[e];-1<this.Wb?(d=0,this.tb.B&&
(d=g.type.Pe[this.tb.kd]),this.Ta.apply(g.G[this.Wb+d],this.ca)):this.Ta.apply(g,this.ca)};g.prototype.Pq=function(d){var e=this.tb.ea(),g=e.zc();if(!g.length)if(e.V.length)g=e.V;else{this.Rg?d.Ub(""):d.da(0);return}e=this.k.Ud;if(this.nd){var a=this.k.Ga();this.nd.get(a);if(a.Na()){e=a.data;g=this.tb.c;e%=g.length;0>e&&(e+=g.length);g=g[e].Fa[this.zl];N(g)?d.Ub(g):d.u(g);this.k.Da();return}this.k.Da()}e%=g.length;0>e&&(e+=g.length);g=g[e];e=0;this.tb.B&&(e=g.type.wh[this.tb.kd]);g=g.Fa[this.zl+e];
N(g)?d.Ub(g):d.u(g)};g.prototype.Qq=function(d){d.type=V.He;d.data=this.value};g.prototype.Mq=function(d){d.type=V.Ge;d.data=this.value};g.prototype.Yq=function(d){d.type=V.String;d.data=this.value};g.prototype.br=function(d){this.first.get(d);d.Na()&&(d.data=-d.data)};g.prototype.Gq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.Na()&&e.Na()&&(d.data+=e.data,e.$e()&&d.hf());this.k.Da()};g.prototype.Zq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.Na()&&e.Na()&&
(d.data-=e.data,e.$e()&&d.hf());this.k.Da()};g.prototype.Uq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.Na()&&e.Na()&&(d.data*=e.data,e.$e()&&d.hf());this.k.Da()};g.prototype.Jq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.Na()&&e.Na()&&(d.data/=e.data,d.hf());this.k.Da()};g.prototype.Tq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.Na()&&e.Na()&&(d.data%=e.data,e.$e()&&d.hf());this.k.Da()};g.prototype.Xq=function(d){this.first.get(d);var e=
this.k.Ga();this.Ra.get(e);d.Na()&&e.Na()&&(d.data=Math.pow(d.data,e.data),e.$e()&&d.hf());this.k.Da()};g.prototype.Hq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.Na()?e.Rh()?d.Ub(d.data.toString()+e.data):d.data&&e.data?d.da(1):d.da(0):d.Rh()&&(d.data=e.Rh()?d.data+e.data:d.data+(Math.round(1E10*e.data)/1E10).toString());this.k.Da()};g.prototype.Wq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.Na()&&e.Na()&&(d.data||e.data?d.da(1):d.da(0));this.k.Da()};g.prototype.Iq=
function(d){this.first.get(d);d.data?this.Ra.get(d):this.Pi.get(d)};g.prototype.Kq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.da(d.data===e.data?1:0);this.k.Da()};g.prototype.Vq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.da(d.data!==e.data?1:0);this.k.Da()};g.prototype.Rq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.da(d.data<e.data?1:0);this.k.Da()};g.prototype.Sq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.da(d.data<=
e.data?1:0);this.k.Da()};g.prototype.Nq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.da(d.data>e.data?1:0);this.k.Da()};g.prototype.Oq=function(d){this.first.get(d);var e=this.k.Ga();this.Ra.get(e);d.da(d.data>=e.data?1:0);this.k.Da()};g.prototype.Lq=function(d){var e=this.me.Uf();L(e)?d.u(e):d.Ub(e)};U=g;m.prototype.$e=function(){return this.type===V.Ge};m.prototype.Na=function(){return this.type===V.He||this.type===V.Ge};m.prototype.Rh=function(){return this.type===V.String};
m.prototype.hf=function(){this.$e()||(this.Rh()&&(this.data=parseFloat(this.data)),this.type=V.Ge)};m.prototype.da=function(d){this.type=V.He;this.data=Math.floor(d)};m.prototype.u=function(d){this.type=V.Ge;this.data=d};m.prototype.Ub=function(d){this.type=V.String;this.data=d};m.prototype.dt=function(d){L(d)?(this.type=V.Ge,this.data=d):N(d)?(this.type=V.String,this.data=d.toString()):(this.type=V.He,this.data=0)};Pb=m;V={He:0,Ge:1,String:2}})();function W(g){this.b=g;this.yb=[]}
W.prototype.Jb=function(){var g={},m,d,e,p,a,b,c,h;g.waits=[];var l=g.waits,f;m=0;for(d=this.yb.length;m<d;m++){b=this.yb[m];f={t:b.time,st:b.uo,s:b.jl,ev:b.Oe.P,sm:[],sols:{}};b.Oe.wc[b.Ab]&&(f.act=b.Oe.wc[b.Ab].P);e=0;for(p=b.la.length;e<p;e++)f.sm.push(b.la[e].P);for(a in b.kb)if(b.kb.hasOwnProperty(a)){c=this.b.n[parseInt(a,10)];h={sa:b.kb[a].Ai,insts:[]};e=0;for(p=b.kb[a].od.length;e<p;e++)h.insts.push(b.kb[a].od[e].uid);f.sols[c.P.toString()]=h}l.push(f)}return g};
W.prototype.lc=function(g){g=g.waits;var m,d,e,p,a,b,c,h,l,f,u;m=this.yb.length=0;for(d=g.length;m<d;m++)if(b=g[m],h=this.b.cm[b.ev.toString()]){l=-1;e=0;for(p=h.wc.length;e<p;e++)if(h.wc[e].P===b.act){l=e;break}if(-1!==l){c={kb:{},la:[],Fj:!1};c.time=b.t;c.uo=b.st||"";c.jl=!!b.s;c.Oe=h;c.Ab=l;e=0;for(p=b.sm.length;e<p;e++)(h=this.b.Fh(b.sm[e]))&&c.la.push(h);for(a in b.sols)if(b.sols.hasOwnProperty(a)&&(h=this.b.Fh(parseInt(a,10)))){l=b.sols[a];f={Ai:l.sa,od:[]};e=0;for(p=l.insts.length;e<p;e++)(u=
this.b.Eh(l.insts[e]))&&f.od.push(u);c.kb[h.index.toString()]=f}this.yb.push(c)}}};
(function(){function g(){}function m(){}function d(){}var e=W.prototype;g.prototype.Wo=function(){return!0};g.prototype.Gl=function(){return!0};g.prototype.zp=function(){return!0};g.prototype.To=function(a,c,d){return Qb(a.Uf(),c,d)};g.prototype.Vo=function(){var a=this.b.ob();return a.Ij?!1:!a.we};g.prototype.Hl=function(){return!0};g.prototype.mp=function(){return!0};g.prototype.fj=function(){return!0};g.prototype.Ap=function(){return!0};g.prototype.dj=function(){return!0};g.prototype.Po=function(a,
c,d){return Fa(R(a),R(d))<=R(c)};g.prototype.Zo=function(a,c){return Ha(R(a),R(c))};g.prototype.Xo=function(a,c,d){a=Ca(a);c=Ca(c);d=Ca(d);return Ha(d,c)?Ha(a,c)&&!Ha(a,d):!(!Ha(a,c)&&Ha(a,d))};e.i=new g;m.prototype.gp=function(a){if(!this.b.cf&&!this.b.ee){var c=this.b.Hb.indexOf(this.b.Y);if(!a||0!==c)if(a||c!==this.b.Hb.length-1)this.b.ee=this.b.Hb[c+(a?-1:1)]}};m.prototype.Kp=function(a,c){0===a.Zi?L(c)?a.De(c):a.De(parseFloat(c)):1===a.Zi&&a.De(c.toString())};m.prototype.Oo=function(a,c){0===
a.Zi?L(c)?a.De(a.Uf()+c):a.De(a.Uf()+parseFloat(c)):1===a.Zi&&a.De(a.Uf()+c.toString())};var p=[],a=[];m.prototype.Mp=function(b){if(!(0>b)){var c,d,e,f=this.b.ob(),g;g=p.length?p.pop():{kb:{},la:[]};g.Fj=!1;g.time=this.b.Sb.Z+b;g.uo="";g.jl=!1;g.Oe=f.Ob;g.Ab=f.Ab+1;b=0;for(c=this.b.n.length;b<c;b++)e=this.b.n[b],d=e.ea(),d.ka&&-1===f.Ob.la.indexOf(e)||(g.la.push(e),e=void 0,e=a.length?a.pop():{od:[]},e.Ai=!1,e.Ai=d.ka,ta(e.od,d.c),g.kb[b.toString()]=e);this.yb.push(g);return!0}};m.prototype.Fp=function(){var a,
c,d;a=0;for(c=this.b.lj.length;a<c;a++)d=this.b.lj[a],d.data=d.Kh};m.prototype.Gp=function(){if(!this.b.cf&&!this.b.ee&&this.b.Y){this.b.ee=this.b.Y;var a,c,d;a=0;for(c=this.b.Ed.length;a<c;a++)d=this.b.Ed[a],d.Zs(d.Lh)}};m.prototype.Hp=function(a){this.b.Bi=a};m.prototype.fp=function(a){this.b.pg=a};e.qa=new m;d.prototype["int"]=function(a,c){N(c)?(a.da(parseInt(c,10)),isNaN(a.data)&&(a.data=0)):a.da(c)};d.prototype["float"]=function(a,c){N(c)?(a.u(parseFloat(c)),isNaN(a.data)&&(a.data=0)):a.u(c)};
d.prototype.random=function(a,c,d){void 0===d?a.u(Math.random()*c):a.u(Math.random()*(d-c)+c)};d.prototype.sqrt=function(a,c){a.u(Math.sqrt(c))};d.prototype.abs=function(a,c){a.u(Math.abs(c))};d.prototype.round=function(a,c){a.da(Math.round(c))};d.prototype.floor=function(a,c){a.da(Math.floor(c))};d.prototype.ceil=function(a,c){a.da(Math.ceil(c))};d.prototype.sin=function(a,c){a.u(Math.sin(R(c)))};d.prototype.cos=function(a,c){a.u(Math.cos(R(c)))};d.prototype.tan=function(a,c){a.u(Math.tan(R(c)))};
d.prototype.asin=function(a,c){a.u(ya(Math.asin(c)))};d.prototype.acos=function(a,c){a.u(ya(Math.acos(c)))};d.prototype.atan=function(a,c){a.u(ya(Math.atan(c)))};d.prototype.exp=function(a,c){a.u(Math.exp(c))};d.prototype.log10=function(a,c){a.u(Math.log(c)/Math.LN10)};d.prototype.max=function(a){var c=arguments[1];"number"!==typeof c&&(c=0);var d,e,f;d=2;for(e=arguments.length;d<e;d++)f=arguments[d],"number"===typeof f&&c<f&&(c=f);a.u(c)};d.prototype.min=function(a){var c=arguments[1];"number"!==
typeof c&&(c=0);var d,e,f;d=2;for(e=arguments.length;d<e;d++)f=arguments[d],"number"===typeof f&&c>f&&(c=f);a.u(c)};d.prototype.ke=function(a){a.u(this.b.ke)};d.prototype.zf=function(a){a.u(this.b.zf)};d.prototype.time=function(a){a.u(this.b.Sb.Z)};d.prototype.bh=function(a){a.da(this.b.bh)};d.prototype.ei=function(a){a.da(this.b.ei)};d.prototype.Rj=function(a){a.da(this.b.Rj)};d.prototype.j=function(a,c,d,e,f){a.u(ya(Ea(c,d,e,f)))};d.prototype.find=function(a,c,d){N(c)&&N(d)?a.da(c.search(new RegExp(Va(d),
"i"))):a.da(-1)};d.prototype.left=function(a,c,d){a.Ub(N(c)?c.substr(0,d):"")};d.prototype.right=function(a,c,d){a.Ub(N(c)?c.substr(c.length-d):"")};d.prototype.replace=function(a,c,d,e){N(c)&&N(d)&&N(e)?a.Ub(c.replace(new RegExp(Va(d),"gi"),e)):a.Ub(N(c)?c:"")};d.prototype.trim=function(a,c){a.Ub(N(c)?c.trim():"")};d.prototype.gq=function(a){var c=P(Math.random()*(arguments.length-1));a.dt(arguments[c+1])};d.prototype.zj=function(a){a.u(this.b.zj/1E3)};d.prototype.$h=function(a){a.u(this.b.$h)};
e.fb=new d;e.Rs=function(){var b,c,d,e,f,g,m=this.b.ob();b=0;for(d=this.yb.length;b<d;b++){e=this.yb[b];if(-1===e.time){if(!e.jl)continue}else if(e.time>this.b.Sb.Z)continue;m.Ob=e.Oe;m.Ab=e.Ab;m.nb=0;for(c in e.kb)e.kb.hasOwnProperty(c)&&(f=this.b.n[parseInt(c,10)].ea(),g=e.kb[c],f.ka=g.Ai,ta(f.c,g.od),f=g,f.od.length=0,a.push(f));e.Oe.Qs();this.b.yj(e.la);e.Fj=!0}c=b=0;for(d=this.yb.length;b<d;b++)e=this.yb[b],this.yb[c]=e,e.Fj?(Qa(e.kb),e.la.length=0,p.push(e)):c++;this.yb.length=c}})();
(function(){db=function(g,d){var e=g[1],p=g[3],a=g[4],b=g[5],c=g[6],h=g[7],l=g[8];d.i||(d.i={});d.qa||(d.qa={});d.fb||(d.fb={});var f=d.i,u=d.qa,v=d.fb;p&&(f.Ht=function(a,b){return Qb(this.x,a,b)},f.It=function(a,b){return Qb(this.y,a,b)},f.Ot=function(){var a=this.d;this.lb();var b=this.ab;return!(b.right<a.Ja||b.bottom<a.Ka||b.left>a.Ya||b.top>a.Xa)},f.Pt=function(){this.lb();var a=this.ab,b=this.b.Y;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},f.$t=function(a,b,c){var d=this.ea(),
f=d.zc();if(!f.length)return!1;var e=f[0],h=e,g=Na(e.x,e.y,b,c),l,p,m;l=1;for(p=f.length;l<p;l++)if(e=f[l],m=Na(e.x,e.y,b,c),0===a&&m<g||1===a&&m>g)g=m,h=e;d.Mg(h);return!0},u.ru=function(a){this.x!==a&&(this.x=a,this.Ea())},u.su=function(a){this.y!==a&&(this.y=a,this.Ea())},u.Jp=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.Ea()},u.nu=function(a,b){var c=a.rr(this);if(c){var d;c.Zj?(d=c.Zj(b,!0),c=c.Zj(b,!1)):(d=c.x,c=c.y);if(this.x!==d||this.y!==c)this.x=d,this.y=c,this.Ea()}},
u.Tt=function(a){0!==a&&(this.x+=Math.cos(this.j)*a,this.y+=Math.sin(this.j)*a,this.Ea())},u.St=function(a,b){0!==b&&(this.x+=Math.cos(R(a))*b,this.y+=Math.sin(R(a))*b,this.Ea())},v.ij=function(a){a.u(this.x)},v.jj=function(a){a.u(this.y)},v.ke=function(a){a.u(this.b.Wj(this))});a&&(f.Gt=function(a,b){return Qb(this.width,a,b)},f.Dt=function(a,b){return Qb(this.height,a,b)},u.qu=function(a){this.width!==a&&(this.width=a,this.Ea())},u.lu=function(a){this.height!==a&&(this.height=a,this.Ea())},u.ou=
function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.Ea()},v.wu=function(a){a.u(this.width)},v.Kt=function(a){a.u(this.height)},v.zt=function(a){this.lb();a.u(this.ab.left)},v.Bt=function(a){this.lb();a.u(this.ab.top)},v.At=function(a){this.lb();a.u(this.ab.right)},v.yt=function(a){this.lb();a.u(this.ab.bottom)});b&&(f.Po=function(a,b){return Fa(this.j,R(b))<=R(a)},f.Zo=function(a){return Ha(this.j,R(a))},f.Xo=function(a,b){var c=Ca(a),d=Ca(b),f=Aa(this.j);return Ha(d,
c)?Ha(f,c)&&!Ha(f,d):!(!Ha(f,c)&&Ha(f,d))},u.hu=function(a){a=R(za(a));isNaN(a)||this.j===a||(this.j=a,this.Ea())},u.du=function(a){0===a||isNaN(a)||(this.j+=R(a),this.j=Aa(this.j),this.Ea())},u.eu=function(a){0===a||isNaN(a)||(this.j-=R(a),this.j=Aa(this.j),this.Ea())},u.fu=function(a,b){var c=Ga(this.j,R(b),R(a));isNaN(c)||this.j===c||(this.j=c,this.Ea())},u.gu=function(a,b,c){a=Ga(this.j,Math.atan2(c-this.y,b-this.x),R(a));isNaN(a)||this.j===a||(this.j=a,this.Ea())},u.pu=function(a,b){var c=Math.atan2(b-
this.y,a-this.x);isNaN(c)||this.j===c||(this.j=c,this.Ea())},v.xt=function(a){a.u(Ba(this.j))});e||(f.Et=function(a,b,c){return Qb(this.Fa[a],b,c)},f.Mt=function(a){return this.Fa[a]},f.au=function(a,b){var c=this.ea(),d=c.zc();if(!d.length)return!1;var f=d[0],e=f,h=f.Fa[b],g,l,p;g=1;for(l=d.length;g<l;g++)if(f=d[g],p=f.Fa[b],0===a&&p<h||1===a&&p>h)h=p,e=f;c.Mg(e);return!0},f.Zt=function(a){var b,c,d,f,e;if(this.b.Dm().$f){e=this.ea();if(e.ka)for(e.ka=!1,e.c.length=0,e.V.length=0,d=this.c,b=0,c=d.length;b<
c;b++)f=d[b],f.uid===a?e.V.push(f):e.c.push(f);else{d=b=0;for(c=e.c.length;b<c;b++)f=e.c[b],e.c[d]=f,f.uid===a?e.V.push(f):d++;e.c.length=d}this.bd();return!!e.c.length}f=this.b.Eh(a);if(!f)return!1;e=this.ea();if(!e.ka&&-1===e.c.indexOf(f))return!1;if(this.B)for(a=f.type.na,b=0,c=a.length;b<c;b++){if(a[b]===this)return e.Mg(f),this.bd(),!0}else if(f.type===this)return e.Mg(f),this.bd(),!0;return!1},f.np=function(){return!0},f.op=function(){return!0},u.mu=function(a,b){var c=this.Fa;L(c[a])?c[a]=
L(b)?b:parseFloat(b):N(c[a])&&(c[a]=N(b)?b:b.toString())},u.wt=function(a,b){var c=this.Fa;L(c[a])?c[a]=L(b)?c[a]+b:c[a]+parseFloat(b):N(c[a])&&(c[a]=N(b)?c[a]+b:c[a]+b.toString())},u.tu=function(a,b){var c=this.Fa;L(c[a])&&(c[a]=L(b)?c[a]-b:c[a]-parseFloat(b))},u.iu=function(a,b){this.Fa[a]=b?1:0},u.uu=function(a){this.Fa[a]=1-this.Fa[a]},u.Uo=function(){this.b.Ad(this)},u.ep||(u.ep=function(a){var b,c;try{b=JSON.parse(a)}catch(d){return}this.b.Yh(this,b,!0);this.$c&&this.$c();if(this.G)for(a=0,
b=this.G.length;a<b;++a)c=this.G[a],c.$c&&c.$c()}),v.Jt=function(a){var b=a.lf.c.length,c,d,f;c=0;for(d=this.b.Lc.length;c<d;c++)f=this.b.Lc[c],a.lf.B?0<=f.type.na.indexOf(a.lf)&&b++:f.type===a.lf&&b++;a.da(b)},v.cu=function(a){a.da(a.lf.ea().zc().length)},v.vu=function(a){a.da(this.uid)},v.Lt=function(a){a.da(this.Vf())},v.Qo||(v.Qo=function(a){a.Ub(JSON.stringify(this.b.fl(this,!0)))}));c&&(f.cp=function(){return this.visible},u.Lp=function(a){!a!==!this.visible&&(this.visible=a,this.b.ga=!0)},
f.Ft=function(a,b){return Qb($a(100*this.opacity),a,b)},u.Ip=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ga=!0)},v.Opacity=function(a){a.u($a(100*this.opacity))});h&&(f.Nt=function(a){return a?this.d===a:!1},f.bu=function(a){var b=this.ea(),c=b.zc();if(!c.length)return!1;var d=c[0],f=d,e,h;e=1;for(h=c.length;e<h;e++)if(d=c[e],0===a){if(d.d.index>f.d.index||d.d.index===f.d.index&&d.Eb()>f.Eb())f=d}else if(d.d.index<f.d.index||d.d.index===f.d.index&&d.Eb()<f.Eb())f=
d;b.Mg(f);return!0},u.Wt=function(){var a=this.Eb();a!==this.d.c.length-1&&(sa(this.d.c,a),this.d.c.push(this),this.b.ga=!0,this.d.Mb=!0)},u.Ut=function(){var a=this.Eb();0!==a&&(sa(this.d.c,a),this.d.c.unshift(this),this.b.ga=!0,this.d.Mb=!0)},u.Vt=function(a){a&&a!=this.d&&(sa(this.d.c,this.Eb()),this.d.Mb=!0,this.d=a,this.Fe=a.c.length,a.c.push(this),this.b.ga=!0)},u.yu=function(a,b){var c=0===a;if(b){var d=b.mr(this);if(d&&d.uid!==this.uid){this.d.index!==d.d.index&&(sa(this.d.c,this.Eb()),this.d.Mb=
!0,this.d=d.d,this.Fe=d.d.c.length,d.d.c.push(this));var f=this.Eb(),d=d.Eb();sa(this.d.c,f);f<d&&d--;c&&d++;d===this.d.c.length?this.d.c.push(this):this.d.c.splice(d,0,this);this.d.Mb=!0;this.b.ga=!0}}},v.Rt=function(a){a.da(this.d.Gn)},v.Qt=function(a){a.Ub(this.d.name)},v.xu=function(a){a.da(this.Eb())});l&&(u.ju=function(a,b){if(this.b.q){var c=this.type.Yj(b);if(!(0>c)){var d=1===a;this.Cd[c]!==d&&(this.Cd[c]=d,this.zd(),this.b.ga=!0)}}},u.ku=function(a,b,c){if(this.b.q){var d=this.type.Yj(a);
0>d||(a=this.type.H[d],d=this.ta[d],b=Math.floor(b),0>b||b>=d.length||(1===this.b.q.wr(a.Wa,b)&&(c/=100),d[b]!==c&&(d[b]=c,a.La&&(this.b.ga=!0))))}})};yb=function(){this.vj=this.hh=!0;this.type.Vl=!0;this.b.ga=!0;var g,d,e=this.rj;g=0;for(d=e.length;g<d;++g)e[g](this)};zb=function(g){g&&this.rj.push(g)};Bb=function(){if(this.hh){var g=this.ab,d=this.Le;g.set(this.x,this.y,this.x+this.width,this.y+this.height);g.offset(-this.qb*this.width,-this.rb*this.height);this.j?(g.offset(-this.x,-this.y),d.oo(g,
this.j),d.offset(this.x,this.y),d.em(g)):d.Ug(g);g.normalize();this.hh=!1}};var g=new pa(0,0,0,0);Cb=function(){if(this.vj&&this.Kf){this.lb();var m=this.type.km,d=this.kh,e=this.ab;g.set(m.Ll(e.left),m.Ml(e.top),m.Ll(e.right),m.Ml(e.bottom));d.Fq(g)||(d.right<d.left?m.update(this,null,g):m.update(this,d,g),d.iq(g),this.vj=!1)}};Ab=function(g,d){return this.ab.cc(g,d)&&this.Le.cc(g,d)?this.Kc&&!this.Kc.gs()?(this.Kc.aq(this.width,this.height,this.j),this.Kc.cc(g-this.x,d-this.y)):!0:!1};ub=function(){this.type.Xi();
return this.re};Db=function(){this.d.Lo();return this.Fe};Eb=function(){this.U.length=0;var g,d;g=0;for(d=this.Cd.length;g<d;g++)this.Cd[g]&&this.U.push(this.type.H[g]);this.Mo=!!this.U.length};vb=function(){return"Inst"+this.bo};gb=function(g){if(g&&g.Bc&&g.type!=this){var d,e,p;d=0;for(e=g.siblings.length;d<e;d++)if(p=g.siblings[d],p.type==this)return p}g=this.ea().zc();return g.length?g[0]:null};hb=function(g){var d=this.ea().zc();return d.length?d[g.Vf()%d.length]:null};fb=function(){if(this.xf&&
!this.B){var g,d;g=0;for(d=this.c.length;g<d;g++)this.c[g].re=g;var e=g,p=this.b.Lc;g=0;for(d=p.length;g<d;++g)p[g].type===this&&(p[g].re=e++);this.xf=!1}};sb=function(g){if(g<this.c.length)return this.c[g];g-=this.c.length;var d=this.b.Lc,e,p;e=0;for(p=d.length;e<p;++e)if(d[e].type===this){if(0===g)return d[e];--g}return null};ib=function(){return this.Vd[this.gd]};jb=function(){this.gd++;this.gd===this.Vd.length?this.Vd.push(new eb(this)):this.Vd[this.gd].ka=!0};mb=function(){this.gd++;this.gd===
this.Vd.length&&this.Vd.push(new eb(this));var g=this.Vd[this.gd],d=this.Vd[this.gd-1];d.ka?g.ka=!0:(g.ka=!1,ta(g.c,d.c),ta(g.V,d.V))};nb=function(){this.gd--};ob=function(g){var d,e,p,a,b,c=0;if(!this.B)for(d=0,e=this.na.length;d<e;d++)for(b=this.na[d],p=0,a=b.Aa.length;p<a;p++){if(g===b.Aa[p].name)return this.ua.lastBehIndex=c,b.Aa[p];c++}d=0;for(e=this.Aa.length;d<e;d++){if(g===this.Aa[d].name)return this.ua.lastBehIndex=c,this.Aa[d];c++}return null};pb=function(g){return this.Ch(g)?this.ua.lastBehIndex:
-1};qb=function(g){var d,e;d=0;for(e=this.H.length;d<e;d++)if(this.H[d].name===g)return d;return-1};rb=function(){if(this.Bc&&!this.B){var g,d,e,p,a,b,c;this.Xi();b=this.ea();var h=b.ka,l=(g=this.b.ob())&&g.Ob&&g.Ob.Rc;g=0;for(d=this.Cb.length;g<d;g++)if(a=this.Cb[g],a!==this&&(a.Xi(),c=a.ea(),c.ka=h,!h)){c.c.length=b.c.length;e=0;for(p=b.c.length;e<p;e++)c.c[e]=a.Gm(b.c[e].re);if(l)for(c.V.length=b.V.length,e=0,p=b.V.length;e<p;e++)c.V[e]=a.Gm(b.V[e].re)}}};tb=function(){return"Type"+this.P};Qb=
function(g,d,e){if("undefined"===typeof g||"undefined"===typeof e)return!1;switch(d){case 0:return g===e;case 1:return g!==e;case 2:return g<e;case 3:return g<=e;case 4:return g>e;case 5:return g>=e;default:return!1}}})();var Zb={};function bc(g){this.b=g}
(function(){function g(a){0>a&&(a=0);1<a&&(a=1);return Math.log(a)/Math.log(10)*20}function m(a){a=a.toLowerCase();return O.hasOwnProperty(a)&&O[a].length?O[a][0].Pb():r.destination}function d(){return r.createGain?r.createGain():r.createGainNode()}function e(a){return r.createDelay?r.createDelay(a):r.createDelayNode(a)}function p(a){a.start?a.start(0):a.noteOn(0)}function a(a,b,c){a.start?a.start(0,b):a.noteGrainOn(0,b,c-b)}function b(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function c(a,
b,c,f,e,h){this.type="filter";this.Dc=[a,b,c,f,e,h];this.R=d();this.F=d();this.F.gain.value=h;this.C=d();this.C.gain.value=1-h;this.Ba=r.createBiquadFilter();this.Ba.type="number"===typeof this.Ba.type?a:lc[a];this.Ba.frequency.value=b;this.Ba.detune&&(this.Ba.detune.value=c);this.Ba.Q.value=f;this.Ba.gain.value=e;this.R.connect(this.Ba);this.R.connect(this.C);this.Ba.connect(this.F)}function h(a,b,c){this.type="delay";this.Dc=[a,b,c];this.R=d();this.F=d();this.F.gain.value=c;this.C=d();this.C.gain.value=
1-c;this.yg=d();this.fc=e(a);this.fc.delayTime.value=a;this.th=d();this.th.gain.value=b;this.R.connect(this.yg);this.R.connect(this.C);this.yg.connect(this.F);this.yg.connect(this.fc);this.fc.connect(this.th);this.th.connect(this.yg)}function l(a,b,c,f){this.type="convolve";this.Dc=[b,c,f];this.R=d();this.F=d();this.F.gain.value=c;this.C=d();this.C.gain.value=1-c;this.fe=r.createConvolver();a&&(this.fe.normalize=b,this.fe.buffer=a);this.R.connect(this.fe);this.R.connect(this.C);this.fe.connect(this.F)}
function f(a,b,c,f,h){this.type="flanger";this.Dc=[a,b,c,f,h];this.R=d();this.C=d();this.C.gain.value=1-h/2;this.F=d();this.F.gain.value=h/2;this.xh=d();this.xh.gain.value=f;this.fc=e(a+b);this.fc.delayTime.value=a;this.Qa=r.createOscillator();this.Qa.frequency.value=c;this.Ib=d();this.Ib.gain.value=b;this.R.connect(this.fc);this.R.connect(this.C);this.fc.connect(this.F);this.fc.connect(this.xh);this.xh.connect(this.fc);this.Qa.connect(this.Ib);this.Ib.connect(this.fc.delayTime);p(this.Qa)}function u(a,
b,c,f,e,h){this.type="phaser";this.Dc=[a,b,c,f,e,h];this.R=d();this.C=d();this.C.gain.value=1-h/2;this.F=d();this.F.gain.value=h/2;this.Ba=r.createBiquadFilter();this.Ba.type="number"===typeof this.Ba.type?7:"allpass";this.Ba.frequency.value=a;this.Ba.detune&&(this.Ba.detune.value=b);this.Ba.Q.value=c;this.Qa=r.createOscillator();this.Qa.frequency.value=e;this.Ib=d();this.Ib.gain.value=f;this.R.connect(this.Ba);this.R.connect(this.C);this.Ba.connect(this.F);this.Qa.connect(this.Ib);this.Ib.connect(this.Ba.frequency);
p(this.Qa)}function v(a){this.type="gain";this.Dc=[a];this.T=d();this.T.gain.value=a}function n(a,b){this.type="tremolo";this.Dc=[a,b];this.T=d();this.T.gain.value=1-b/2;this.Qa=r.createOscillator();this.Qa.frequency.value=a;this.Ib=d();this.Ib.gain.value=b/2;this.Qa.connect(this.Ib);this.Ib.connect(this.T.gain);p(this.Qa)}function C(a,b){this.type="ringmod";this.Dc=[a,b];this.R=d();this.F=d();this.F.gain.value=b;this.C=d();this.C.gain.value=1-b;this.Sg=d();this.Sg.gain.value=0;this.Qa=r.createOscillator();
this.Qa.frequency.value=a;this.Qa.connect(this.Sg.gain);p(this.Qa);this.R.connect(this.Sg);this.R.connect(this.C);this.Sg.connect(this.F)}function q(a,b,c,f,e){this.type="distortion";this.Dc=[a,b,c,f,e];this.R=d();this.ri=d();this.qi=d();this.Ys(c,Math.pow(10,f/20));this.F=d();this.F.gain.value=e;this.C=d();this.C.gain.value=1-e;this.$i=r.createWaveShaper();this.rh=new Float32Array(65536);this.jr(a,b);this.$i.rh=this.rh;this.R.connect(this.ri);this.R.connect(this.C);this.ri.connect(this.$i);this.$i.connect(this.qi);
this.qi.connect(this.F)}function k(a,b,c,d,f){this.type="compressor";this.Dc=[a,b,c,d,f];this.T=r.createDynamicsCompressor();try{this.T.threshold.value=a,this.T.knee.value=b,this.T.ratio.value=c,this.T.attack.value=d,this.T.release.value=f}catch(e){}}function t(a,b){this.type="analyser";this.Dc=[a,b];this.T=r.createAnalyser();this.T.fftSize=a;this.T.smoothingTimeConstant=b;this.hr=new Float32Array(this.T.frequencyBinCount);this.ro=new Uint8Array(a);this.Lg=0}function w(){this.D=null;this.Zh=0;this.Wd=
[];this.Hk=this.Uh=this.Th=0}function B(a,b){this.src=a;this.N=D;this.Cc=b;this.Sl=!1;var c=this;this.Fk=this.Rk=null;this.pf=[];this.Ci=0;this.Dl=this.Oj=this.wo=this.ni=!1;1===D&&b&&(this.N=0,this.Rk=d());this.be=this.W=null;var f;switch(this.N){case 0:this.W=new Audio;this.W.addEventListener("canplaythrough",function(){c.Dl=!0});1===D&&r.createMediaElementSource&&!/wiiu/i.test(navigator.userAgent)&&(this.wo=!0,this.W.addEventListener("canplay",function(){c.Fk||(c.Fk=r.createMediaElementSource(c.W),
c.Fk.connect(c.Rk))}));this.W.autoplay=!1;this.W.Gu="auto";this.W.src=a;break;case 1:f=new XMLHttpRequest;f.open("GET",a,!0);f.responseType="arraybuffer";f.onload=function(){c.be=f.response;c.mq()};f.onerror=function(){c.Oj=!0};f.send();break;case 2:this.W=!0;break;case 3:this.W=!0}}function s(a,b){var c=this;this.tag=b;this.Lb=this.Oc=!0;this.src=a.src;this.buffer=a;this.N=D;this.Cc=a.Cc;this.playbackRate=1;this.Tk=!0;this.jc=this.vd=!1;this.ub=0;this.eg=this.bf=this.Qc=!1;this.volume=1;this.te=
1===T&&!this.Cc||2===T;this.jf=1;this.startTime=this.te?z.Sb.Z:z.Zc.Z;this.wa=this.Ca=null;this.Sc=!1;this.va=null;this.Pn=this.On=this.Nn=this.Mn=this.Rn=this.Qn=0;this.e=null;var f=!1;1!==this.N||0!==this.buffer.N||this.buffer.wo||(this.N=0);switch(this.N){case 0:this.Cc?(this.e=a.W,f=!a.Sl,a.Sl=!0):(this.e=new Audio,this.e.autoplay=!1,this.e.src=a.W.src,f=!0);f&&this.e.addEventListener("ended",function(){Z=c.tag;c.Lb=!0;z.trigger(bc.prototype.i.cj,ja)});break;case 1:this.Ca=d();this.Ca.connect(m(b));
1===this.buffer.N?a.W&&(this.e=r.createBufferSource(),this.e.buffer=a.W,this.e.connect(this.Ca)):(this.e=this.buffer.W,this.buffer.Rk.connect(this.Ca));break;case 2:this.e=new window.Media(K+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(c.Tk=!0,c.Lb=!0,Z=c.tag,z.trigger(bc.prototype.i.cj,ja))});break;case 3:this.e=!0}}function A(a,b){O.hasOwnProperty(a)?O[a].push(b):O[a]=[b];var c,d,f,e,h=r.destination;if(O.hasOwnProperty(a)&&(f=O[a],f.length))for(h=f[0].Pb(),c=0,d=f.length;c<d;c++)e=
f[c],c+1===d?e.ac(r.destination):e.ac(f[c+1].Pb());Da.length=0;if(a.length)for(c=0,d=y.length;c<d;c++)f=y[c],ab(a,f.tag)&&Da.push(f);else G&&!G.qe()&&(Da.length=1,Da[0]=G);c=0;for(d=Da.length;c<d;c++)Da[c].Ms(h);xa&&kb===a&&(xa.disconnect(),xa.connect(h))}function X(){}function Q(){}var x=bc.prototype;x.$a=function(a){this.xa=a;this.b=a.b};x.$a.prototype.ja=function(){};var z=null,ja=null,Z="",K="",D=0,r=null,I=[],y=[],G=null,E=!1,T=0,F=!1,J=1,M=0,aa=0,la=1,lb=1,fc=10,gc=1E4,hc=1,xa=null,kb="",Ia=
!1,Ja=[],O={},lc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");c.prototype.ac=function(a){this.F.disconnect();this.F.connect(a);this.C.disconnect();this.C.connect(a)};c.prototype.remove=function(){this.R.disconnect();this.Ba.disconnect();this.F.disconnect();this.C.disconnect()};c.prototype.Pb=function(){return this.R};h.prototype.ac=function(a){this.F.disconnect();this.F.connect(a);this.C.disconnect();this.C.connect(a)};h.prototype.remove=function(){this.R.disconnect();
this.yg.disconnect();this.fc.disconnect();this.th.disconnect();this.F.disconnect();this.C.disconnect()};h.prototype.Pb=function(){return this.R};l.prototype.ac=function(a){this.F.disconnect();this.F.connect(a);this.C.disconnect();this.C.connect(a)};l.prototype.remove=function(){this.R.disconnect();this.fe.disconnect();this.F.disconnect();this.C.disconnect()};l.prototype.Pb=function(){return this.R};f.prototype.ac=function(a){this.C.disconnect();this.C.connect(a);this.F.disconnect();this.F.connect(a)};
f.prototype.remove=function(){this.R.disconnect();this.fc.disconnect();this.Qa.disconnect();this.Ib.disconnect();this.C.disconnect();this.F.disconnect();this.xh.disconnect()};f.prototype.Pb=function(){return this.R};u.prototype.ac=function(a){this.C.disconnect();this.C.connect(a);this.F.disconnect();this.F.connect(a)};u.prototype.remove=function(){this.R.disconnect();this.Ba.disconnect();this.Qa.disconnect();this.Ib.disconnect();this.C.disconnect();this.F.disconnect()};u.prototype.Pb=function(){return this.R};
v.prototype.ac=function(a){this.T.disconnect();this.T.connect(a)};v.prototype.remove=function(){this.T.disconnect()};v.prototype.Pb=function(){return this.T};n.prototype.ac=function(a){this.T.disconnect();this.T.connect(a)};n.prototype.remove=function(){this.Qa.disconnect();this.Ib.disconnect();this.T.disconnect()};n.prototype.Pb=function(){return this.T};C.prototype.ac=function(a){this.F.disconnect();this.F.connect(a);this.C.disconnect();this.C.connect(a)};C.prototype.remove=function(){this.Qa.disconnect();
this.Sg.disconnect();this.R.disconnect();this.F.disconnect();this.C.disconnect()};C.prototype.Pb=function(){return this.R};q.prototype.Ys=function(a,b){.01>a&&(a=.01);this.ri.gain.value=a;this.qi.gain.value=Math.pow(1/a,.6)*b};q.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};q.prototype.jr=function(a,b){for(var c=Math.pow(10,a/20),d=Math.pow(10,b/20),f=0,e=0;32768>e;++e)f=e/32768,f=this.shape(f,c,d),this.rh[32768+e]=f,this.rh[32768-
e-1]=-f};q.prototype.ac=function(a){this.F.disconnect();this.F.connect(a);this.C.disconnect();this.C.connect(a)};q.prototype.remove=function(){this.R.disconnect();this.ri.disconnect();this.$i.disconnect();this.qi.disconnect();this.F.disconnect();this.C.disconnect()};q.prototype.Pb=function(){return this.R};k.prototype.ac=function(a){this.T.disconnect();this.T.connect(a)};k.prototype.remove=function(){this.T.disconnect()};k.prototype.Pb=function(){return this.T};t.prototype.Sa=function(){this.T.getFloatFrequencyData(this.hr);
this.T.getByteTimeDomainData(this.ro);for(var a=this.T.fftSize,b=0,c=this.Lg=0,d=0;b<a;b++)d=(this.ro[b]-128)/128,0>d&&(d=-d),this.Lg<d&&(this.Lg=d),c+=d*d;this.Lg=g(this.Lg);g(Math.sqrt(c/a))};t.prototype.ac=function(a){this.T.disconnect();this.T.connect(a)};t.prototype.remove=function(){this.T.disconnect()};t.prototype.Pb=function(){return this.T};w.prototype.Tg=function(a){if(this.D=a)this.Th=this.D.x,this.Uh=this.D.y;this.Wd.length=0};w.prototype.Jh=function(){return!!this.D};w.prototype.Sa=function(a){this.D&&
0!==a&&(this.Hk=Ea(this.Th,this.Uh,this.D.x,this.D.y),a=Na(this.Th,this.Uh,this.D.x,this.D.y)/a,4>this.Wd.length||this.Wd.shift(),this.Wd.push(a),this.Th=this.D.x,this.Uh=this.D.y)};w.prototype.Jm=function(){if(!this.Wd.length)return 0;var a,b,c=0;a=0;for(b=this.Wd.length;a<b;a++)c+=this.Wd[a];return c/this.Wd.length};w.prototype.bk=function(){return Math.cos(this.Hk)*this.Jm()};w.prototype.ck=function(){return Math.sin(this.Hk)*this.Jm()};var ic=!1;B.prototype.mq=function(){if(!this.W&&this.be){var a=
this;if(r.decodeAudioData)r.decodeAudioData(this.be,function(b){a.W=b;a.be=null;var c,d,f;if(fa(a.oi)||F)fa(a.mh)||(c=a.mh.fe,c.normalize=a.Fn,c.buffer=b);else if(a.pf.length){c=0;for(d=a.pf.length;c<d;c++){b=a.pf[c];f=new s(a,b.yo);f.hl(!0);if("undefined"!==typeof b.Hn&&(b.D=z.Eh(b.Hn),!b.D))continue;if(b.D){var e=Ma(b.D.x,b.D.y,-b.D.d.Ma(),M,aa,!0),h=Ma(b.D.x,b.D.y,-b.D.d.Ma(),M,aa,!1);f.gl(e,h,ya(b.D.j-b.D.d.Ma()),b.hk,b.Ik,b.Lk);f.Tg(b.D)}else f.gl(b.x,b.y,b.Np,b.hk,b.Ik,b.Lk);f.play(a.Ck,a.Bl,
a.Ci);a.ni&&f.pause();y.push(f)}a.pf.length=0}else f=new s(a,a.oi),f.play(a.Ck,a.Bl,a.Ci),a.ni&&f.pause(),y.push(f)},function(){a.Oj=!0});else if(this.W=r.createBuffer(this.be,!1),this.be=null,fa(this.oi)||F)fa(this.mh)||(b=this.mh.fe,b.normalize=this.Fn,b.buffer=this.W);else{var b=new s(this,this.oi);b.play(this.Ck,this.Bl,this.Ci);this.ni&&b.pause();y.push(b)}}};B.prototype.Tm=function(){switch(this.N){case 0:var a=4<=this.W.readyState;a&&(this.Dl=!0);return a||this.Dl;case 1:return!!this.be||!!this.W;
case 2:return!0;case 3:return!0}return!1};B.prototype.as=function(){switch(this.N){case 0:return this.Tm();case 1:return!!this.W;case 2:return!0;case 3:return!0}return!1};B.prototype.Sr=function(){switch(this.N){case 0:return!!this.W.error;case 1:return this.Oj}return!1};s.prototype.qe=function(){var a;switch(this.N){case 0:return this.e.ended;case 1:if(1===this.buffer.N){if(!this.Oc&&!this.Lb&&this.e.loop||this.jc)return!1;a=this.te?z.Sb.Z:z.Zc.Z;return a-this.startTime>this.buffer.W.duration}return this.e.ended;
case 2:return this.Tk;case 3:!0}return!0};s.prototype.bq=function(){return this.Oc||this.Lb?!0:this.qe()};s.prototype.hl=function(a){1===D&&(!this.Sc&&a?this.Ca&&(this.wa||(this.wa=r.createPanner(),this.wa.panningModel="number"===typeof this.wa.panningModel?la:["equalpower","HRTF","soundfield"][la],this.wa.distanceModel="number"===typeof this.wa.distanceModel?lb:["linear","inverse","exponential"][lb],this.wa.refDistance=fc,this.wa.maxDistance=gc,this.wa.rolloffFactor=hc),this.Ca.disconnect(),this.Ca.connect(this.wa),
this.wa.connect(m(this.tag)),this.Sc=!0):this.Sc&&!a&&this.Ca&&(this.wa.disconnect(),this.Ca.disconnect(),this.Ca.connect(m(this.tag)),this.Sc=!1))};s.prototype.gl=function(a,b,c,d,f,e){this.Sc&&1===D&&(this.wa.setPosition(a,b,0),this.wa.setOrientation(Math.cos(R(c)),Math.sin(R(c)),0),this.wa.coneInnerAngle=d,this.wa.coneOuterAngle=f,this.wa.coneOuterGain=e,this.Qn=a,this.Rn=b,this.Mn=c,this.Nn=d,this.On=f,this.Pn=e)};s.prototype.Tg=function(a){this.Sc&&1===D&&(this.va||(this.va=new w),this.va.Tg(a))};
s.prototype.Sa=function(a){if(this.Sc&&1===D&&this.va&&this.va.Jh()&&this.Ye()){this.va.Sa(a);a=this.va.D;var b=Ma(a.x,a.y,-a.d.Ma(),M,aa,!0),c=Ma(a.x,a.y,-a.d.Ma(),M,aa,!1);this.wa.setPosition(b,c,0);b=0;"undefined"!==typeof this.va.D.j&&(b=a.j-a.d.Ma(),this.wa.setOrientation(Math.cos(b),Math.sin(b),0));b=Ma(this.va.bk(),this.va.ck(),-a.d.Ma(),0,0,!0);c=Ma(this.va.bk(),this.va.ck(),-a.d.Ma(),0,0,!1);this.wa.setVelocity(b,c,0)}};s.prototype.play=function(b,c,d){var f=this.e;this.Qc=b;this.volume=
c;d=d||0;switch(this.N){case 0:1!==f.playbackRate&&(f.playbackRate=1);f.volume!==c*J&&(f.volume=c*J);f.loop!==b&&(f.loop=b);f.muted&&(f.muted=!1);if(f.currentTime!==d)try{f.currentTime=d}catch(e){}if(this.Cc&&Ia&&!z.ha)Ja.push(this);else try{this.e.play()}catch(h){console&&console.log&&console.log("[C2] WARNING: exception trying to play audio '"+this.buffer.src+"': ",h)}break;case 1:this.muted=!1;this.jf=1;if(1===this.buffer.N)this.Oc||(this.e=r.createBufferSource(),this.e.buffer=this.buffer.W,this.e.connect(this.Ca)),
this.e.loop=b,this.Ca.gain.value=c*J,0===d?p(this.e):a(this.e,d,this.oe());else{1!==f.playbackRate&&(f.playbackRate=1);f.loop!==b&&(f.loop=b);this.Ca.gain.value=c*J;if(f.currentTime!==d)try{f.currentTime=d}catch(g){}this.Cc&&Ia&&!z.ha?Ja.push(this):f.play()}break;case 2:(!this.Oc&&this.Lb||0!==d)&&f.seekTo(d);f.play();this.Tk=!1;break;case 3:z.Ua?AppMobi.context.playSound(this.src,b):AppMobi.player.playSound(this.src,b)}this.playbackRate=1;this.startTime=(this.te?z.Sb.Z:z.Zc.Z)-d;this.jc=this.Lb=
this.Oc=!1};s.prototype.stop=function(){switch(this.N){case 0:this.e.paused||this.e.pause();break;case 1:1===this.buffer.N?b(this.e):this.e.paused||this.e.pause();break;case 2:this.e.stop();break;case 3:z.Ua&&AppMobi.context.stopSound(this.src)}this.Lb=!0;this.jc=!1};s.prototype.pause=function(){if(!(this.Oc||this.Lb||this.qe()||this.jc)){switch(this.N){case 0:this.e.paused||this.e.pause();break;case 1:1===this.buffer.N?(this.ub=this.$j(),this.Qc&&(this.ub%=this.oe()),b(this.e)):this.e.paused||this.e.pause();
break;case 2:this.e.pause();break;case 3:z.Ua&&AppMobi.context.stopSound(this.src)}this.jc=!0}};s.prototype.Ps=function(){if(!(this.Oc||this.Lb||this.qe())&&this.jc){switch(this.N){case 0:this.e.play();break;case 1:1===this.buffer.N?(this.e=r.createBufferSource(),this.e.buffer=this.buffer.W,this.e.connect(this.Ca),this.e.loop=this.Qc,this.Ca.gain.value=J*this.volume*this.jf,this.startTime=(this.te?z.Sb.Z:z.Zc.Z)-this.ub,a(this.e,this.ub,this.oe())):this.e.play();break;case 2:this.e.play();break;case 3:z.Ua&&
AppMobi.context.resumeSound(this.src)}this.jc=!1}};s.prototype.seek=function(a){if(!(this.Oc||this.Lb||this.qe()))switch(this.N){case 0:try{this.e.currentTime=a}catch(b){}break;case 1:if(1===this.buffer.N)this.jc?this.ub=a:(this.pause(),this.ub=a,this.Ps());else try{this.e.currentTime=a}catch(c){}break;case 3:z.Ua&&AppMobi.context.seekSound(this.src,a)}};s.prototype.Ms=function(a){1===this.N&&(this.Sc?(this.wa.disconnect(),this.wa.connect(a)):(this.Ca.disconnect(),this.Ca.connect(a)))};s.prototype.oe=
function(){switch(this.N){case 0:if("undefined"!==typeof this.e.duration)return this.e.duration;break;case 1:return this.buffer.W.duration;case 2:return this.e.getDuration();case 3:if(z.Ua)return AppMobi.context.getDurationSound(this.src)}return 0};s.prototype.$j=function(){var a=this.oe(),b=0;switch(this.N){case 0:"undefined"!==typeof this.e.currentTime&&(b=this.e.currentTime);break;case 1:if(1===this.buffer.N){if(this.jc)return this.ub;b=(this.te?z.Sb.Z:z.Zc.Z)-this.startTime}else"undefined"!==
typeof this.e.currentTime&&(b=this.e.currentTime);break;case 3:z.Ua&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}!this.Qc&&b>a&&(b=a);return b};s.prototype.Ye=function(){return!this.jc&&!this.Oc&&!this.Lb&&!this.qe()};s.prototype.nt=function(){var a=this.volume*J;switch(this.N){case 0:this.e.volume&&this.e.volume!==a&&(this.e.volume=a);break;case 1:this.Ca.gain.value=a*this.jf}};s.prototype.uh=function(a){switch(this.N){case 0:this.e.muted!==!!a&&(this.e.muted=!!a);break;case 1:this.jf=a?0:
1,this.Ca.gain.value=J*this.volume*this.jf}};s.prototype.$s=function(){this.bf=!0;this.uh(this.bf||this.eg)};s.prototype.mo=function(a){this.eg=!!a;this.uh(this.bf||this.eg)};s.prototype.Ko=function(){var a=this.playbackRate;this.te&&(a*=z.zf);switch(this.N){case 0:this.e.playbackRate!==a&&(this.e.playbackRate=a);break;case 1:1===this.buffer.N?this.e.playbackRate.value!==a&&(this.e.playbackRate.value=a):this.e.playbackRate!==a&&(this.e.playbackRate=a)}};s.prototype.ct=function(c){switch(this.N){case 0:c?
this.Ye()?(this.e.pause(),this.vd=!0):this.vd=!1:this.vd&&this.e.play();break;case 1:c?this.Ye()?(1===this.buffer.N?(this.ub=this.$j(),this.Qc&&(this.ub%=this.oe()),b(this.e)):this.e.pause(),this.vd=!0):this.vd=!1:this.vd&&(1===this.buffer.N?(this.e=r.createBufferSource(),this.e.buffer=this.buffer.W,this.e.connect(this.Ca),this.e.loop=this.Qc,this.Ca.gain.value=J*this.volume*this.jf,this.startTime=(this.te?z.Sb.Z:z.Zc.Z)-this.ub,a(this.e,this.ub,this.oe())):this.e.play());break;case 2:c?this.Ye()?
(this.e.pause(),this.vd=!0):this.vd=!1:this.vd&&this.e.play()}};x.za=function(a){this.type=a;z=this.b=a.b;ja=this;this.hb=null;this.ng=-600;!(this.b.Sh||this.b.Mh&&(this.b.ag||this.b.Nh))||this.b.bg||this.b.ba||(Ia=!0);r=null;"undefined"!==typeof AudioContext?(D=1,r=new AudioContext):"undefined"!==typeof webkitAudioContext&&(D=1,r=new webkitAudioContext);(this.b.Sh&&1===D||Ia)&&document.addEventListener("touchstart",function(){var a,b,c;!ic&&r&&(a=r.createBuffer(1,1,22050),b=r.createBufferSource(),
b.buffer=a,b.connect(r.destination),p(b),ic=!0);if(Ia){if(!F)for(a=0,b=Ja.length;a<b;++a)c=Ja[a],c.Lb||c.jc||c.e.play();Ja.length=0}},!0);1!==D&&(this.b.ic&&"undefined"!==typeof window.Media?D=2:this.b.Ve&&(D=3));2===D&&(K=location.href,a=K.lastIndexOf("/"),-1<a&&(K=K.substr(0,a+1)),K=K.replace("file://",""));if(this.b.Um&&this.b.bs&&"undefined"===typeof Audio)alert("It looks like you're using Safari for Windows without Quicktime.  Audio cannot be played until Quicktime is installed."),this.b.Ad(this);
else{if(this.b.Ua)E=this.b.Mh;else try{E=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(b){E=!1}this.b.pl(this)}};var ea=x.za.prototype;ea.ja=function(){this.b.Ke=this;T=this.pa[0];this.wd=this.pa[1];this.Ds=0!==this.pa[2];la=this.pa[3];lb=this.pa[4];this.ng=-this.pa[5];fc=this.pa[6];gc=this.pa[7];hc=this.pa[8];this.hb=new w;var a=this.b.L||this.b.width,b=this.b.K||this.b.height;1===D&&(r.listener.speedOfSound=this.pa[9],r.listener.dopplerFactor=this.pa[10],r.listener.setPosition(a/
2,b/2,this.ng),r.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,b){xa&&xa.disconnect();kb=b.toLowerCase();xa=r.createMediaStreamSource(a);xa.connect(m(kb))});this.b.Tp(function(a){ja.zs(a)});var c=this;this.b.Rp(function(a){c.us(a)})};ea.us=function(a){var b,c,d;b=0;for(c=y.length;b<c;b++)d=y[b],d.va&&d.va.D===a&&(d.va.D=null,d.Sc&&d.Ye()&&d.Qc&&d.stop());this.hb.D===a&&(this.hb.D=null)};ea.Jb=function(){var a={silent:F,masterVolume:J,listenerZ:this.ng,listenerUid:this.hb.Jh()?
this.hb.D.uid:-1,playing:[],effects:{}},b=a.playing,c,d,f,e,h,g;c=0;for(d=y.length;c<d;c++)f=y[c],!f.Ye()||3===this.wd||f.Cc&&1===this.wd||!f.Cc&&2===this.wd||(e=f.$j(),f.Qc&&(e%=f.oe()),e={tag:f.tag,buffersrc:f.buffer.src,is_music:f.Cc,playbackTime:e,volume:f.volume,looping:f.Qc,muted:f.bf,playbackRate:f.playbackRate,paused:f.jc,resume_position:f.ub},f.Sc&&(e.pan={},g=e.pan,f.va&&f.va.Jh()?g.objUid=f.va.D.uid:(g.x=f.Qn,g.y=f.Rn,g.a=f.Mn),g.ia=f.Nn,g.oa=f.On,g.og=f.Pn),b.push(e));b=a.effects;for(h in O)if(O.hasOwnProperty(h)){f=
[];c=0;for(d=O[h].length;c<d;c++)f.push({type:O[h][c].type,params:O[h][c].Dc});b[h]=f}return a};var Ka=[];ea.lc=function(a){var b=a.silent;J=a.masterVolume;this.ng=a.listenerZ;this.hb.Tg(null);var d=a.listenerUid;-1!==d&&(this.hb.Zh=d,Ka.push(this.hb));var d=a.playing,e,g,p,m,s,X,Z,z,x,r,Q;if(3!==this.wd)for(e=0,g=y.length;e<g;e++)x=y[e],x.Cc&&1===this.wd||(x.Cc||2!==this.wd)&&x.stop();for(s in O)if(O.hasOwnProperty(s))for(e=0,g=O[s].length;e<g;e++)O[s][e].remove();Qa(O);for(s in a.effects)if(a.effects.hasOwnProperty(s))for(X=
a.effects[s],e=0,g=X.length;e<g;e++)switch(p=X[e].type,r=X[e].params,p){case "filter":A(s,new c(r[0],r[1],r[2],r[3],r[4],r[5]));break;case "delay":A(s,new h(r[0],r[1],r[2]));break;case "convolve":p=r[2];x=this.Bh(p,!1);x.W?p=new l(x.W,r[0],r[1],p):(p=new l(null,r[0],r[1],p),x.Fn=r[0],x.mh=p);A(s,p);break;case "flanger":A(s,new f(r[0],r[1],r[2],r[3],r[4]));break;case "phaser":A(s,new u(r[0],r[1],r[2],r[3],r[4],r[5]));break;case "gain":A(s,new v(r[0]));break;case "tremolo":A(s,new n(r[0],r[1]));break;
case "ringmod":A(s,new C(r[0],r[1]));break;case "distortion":A(s,new q(r[0],r[1],r[2],r[3],r[4]));break;case "compressor":A(s,new k(r[0],r[1],r[2],r[3],r[4]));break;case "analyser":A(s,new t(r[0],r[1]))}e=0;for(g=d.length;e<g;e++)3===this.wd||(a=d[e],p=a.buffersrc,m=a.is_music,s=a.tag,X=a.playbackTime,Z=a.looping,z=a.volume,Q=(r=a.pan)&&r.hasOwnProperty("objUid")?r.objUid:-1,m&&1===this.wd)||!m&&2===this.wd||((x=this.Bm(p,s,m,Z,z))?(x.ub=a.resume_position,x.hl(!!r),x.play(Z,z,X),x.Ko(),x.nt(),x.uh(x.bf||
x.eg),a.paused&&x.pause(),a.muted&&x.$s(),x.uh(x.bf||x.eg),r&&(-1!==Q?(x.va=x.va||new w,x.va.Zh=Q,Ka.push(x.va)):x.gl(r.x,r.y,r.a,r.ia,r.oa,r.og))):(x=this.Bh(p,m),x.Ci=X,x.ni=a.paused,r&&(-1!==Q?x.pf.push({Hn:Q,hk:r.ia,Ik:r.oa,Lk:r.og,yo:s}):x.pf.push({x:r.x,y:r.y,Np:r.a,hk:r.ia,Ik:r.oa,Lk:r.og,yo:s}))));if(b&&!F){e=0;for(g=y.length;e<g;e++)y[e].mo(!0);F=!0}else if(!b&&F){e=0;for(g=y.length;e<g;e++)y[e].mo(!1);F=!1}};ea.$c=function(){var a,b,c,d;a=0;for(b=Ka.length;a<b;a++)c=Ka[a],d=this.b.Eh(c.Zh),
c.Tg(d),c.Zh=-1,d&&(M=d.x,aa=d.y);Ka.length=0};ea.zs=function(a){if(!this.Ds){!a&&r&&r.resume&&r.resume();var b,c;b=0;for(c=y.length;b<c;b++)y[b].ct(a);a&&r&&r.suspend&&r.suspend()}};ea.Sa=function(){var a=this.b.ke,b,c,d;b=0;for(c=y.length;b<c;b++)d=y[b],d.Sa(a),0===d.N||3===d.N||d.Oc||d.Lb||!d.qe()||(d.Lb=!0,Z=d.tag,z.trigger(bc.prototype.i.cj,ja)),0!==T&&d.Ko();var f,e;for(f in O)if(O.hasOwnProperty(f))for(d=O[f],b=0,c=d.length;b<c;b++)e=d[b],e.Sa&&e.Sa();1===D&&this.hb.Jh()&&(this.hb.Sa(a),M=
this.hb.D.x,aa=this.hb.D.y,r.listener.setPosition(this.hb.D.x,this.hb.D.y,this.ng),r.listener.setVelocity(this.hb.bk(),this.hb.ck(),0))};var La=[];ea.bt=function(a){var b,c,d,f,e,h=0;b=0;for(c=a.length;b<c;++b)if(d=a[b],f=d[0],d=2*d[1],(e=4<f.length&&".ogg"===f.substr(f.length-4))&&E||!e&&!E)La.push({filename:f,size:d,D:null}),h+=d;return h};ea.gt=function(){var a,b,c,d;a=0;for(b=La.length;a<b;++a)c=La[a],d=this.b.Pj+c.filename,c.D=this.Bh(d,!1)};ea.sr=function(){var a=0,b,c,d;b=0;for(c=La.length;b<
c;++b)d=La[b],d.D.as()||d.D.Sr()||this.b.ba||this.b.Nh?a+=d.size:d.D.Tm()&&(a+=Math.floor(d.size/2));return a};ea.Bh=function(a,b){var c,d,f,e=null;c=0;for(d=I.length;c<d;c++)if(f=I[c],f.src===a){e=f;break}e||(e=new B(a,b),I.push(e));return e};ea.Bm=function(a,b,c,d,f){var e,h,g;e=0;for(h=y.length;e<h;e++)if(g=y[e],g.src===a&&(g.bq()||c))return g.tag=b,g;a=this.Bh(a,c);if(!a.W)return"<preload>"!==b&&(a.oi=b,a.Ck=d,a.Bl=f),null;g=new s(a,b);y.push(g);return g};var Da=[];X.prototype.cj=function(a){return ab(Z,
a)};x.i=new X;Q.prototype.Play=function(a,b,c,d){!F&&(c=Math.pow(10,c/20),0>c&&(c=0),1<c&&(c=1),G=this.Bm(this.b.Pj+a[0]+(E?".ogg":".m4a"),d,a[1],0!==b,c))&&(G.hl(!1),G.play(0!==b,c))};x.qa=new Q;x.fb=new function(){}})();function cc(g){this.b=g}
(function(){function g(){}var m=cc.prototype;m.$a=function(d){this.xa=d;this.b=d.b};m.$a.prototype.ja=function(){};m.za=function(d){this.type=d;this.b=d.b;this.sk=Array(256);this.Yi=Array(256);this.Yd=0};var d=m.za.prototype;d.ja=function(){var d=this;this.b.ba||(jQuery(document).keydown(function(a){d.vs(a)}),jQuery(document).keyup(function(a){d.ws(a)}))};var e=[32,33,34,35,36,37,38,39,40,44];d.vs=function(d){var a=!1;window!=window.top&&-1<e.indexOf(d.which)&&(d.preventDefault(),a=!0,d.stopPropagation());
if(this.sk[d.which])this.Yi[d.which]&&!a&&d.preventDefault();else{this.sk[d.which]=!0;this.Yd=d.which;this.b.ha=!0;this.b.trigger(cc.prototype.i.kp,this);var b=this.b.trigger(cc.prototype.i.vp,this),c=this.b.trigger(cc.prototype.i.wp,this);this.b.ha=!1;if(b||c)this.Yi[d.which]=!0,a||d.preventDefault()}};d.ws=function(d){this.sk[d.which]=!1;this.Yd=d.which;this.b.ha=!0;this.b.trigger(cc.prototype.i.lp,this);var a=this.b.trigger(cc.prototype.i.yp,this),b=this.b.trigger(cc.prototype.i.xp,this);this.b.ha=
!1;if(a||b||this.Yi[d.which])this.Yi[d.which]=!0,d.preventDefault()};d.Jb=function(){return{triggerKey:this.Yd}};d.lc=function(d){this.Yd=d.triggerKey};g.prototype.vp=function(d){return d===this.Yd};g.prototype.kp=function(){return!0};g.prototype.lp=function(){return!0};g.prototype.yp=function(d){return d===this.Yd};g.prototype.wp=function(d){return d===this.Yd};g.prototype.xp=function(d){return d===this.Yd};m.i=new g;m.qa=new function(){};m.fb=new function(){}})();function dc(g){this.b=g}
(function(){function g(){}function m(){}var d=dc.prototype;d.$a=function(a){this.xa=a;this.b=a.b};d.$a.prototype.ja=function(){};d.za=function(a){this.type=a;this.b=a.b;this.ih=Array(4);this.Ao=this.Ti=this.Af=this.sd=this.rd=0;this.ek=!1};var e=d.za.prototype;e.ja=function(){var a=this;if(!this.b.ba){jQuery(document).mousemove(function(b){a.Eg(b)});jQuery(document).mousedown(function(b){a.Dg(b)});jQuery(document).mouseup(function(b){a.Fg(b)});jQuery(document).dblclick(function(b){a.ss(b)});var b=
function(b){a.Bs(b)};document.addEventListener("mousewheel",b,!1);document.addEventListener("DOMMouseScroll",b,!1)}};var p={left:0,top:0};e.Eg=function(a){var b=this.b.ba?p:jQuery(this.b.canvas).offset();this.rd=a.pageX-b.left;this.sd=a.pageY-b.top};e.Bn=function(){return 0<this.b.gb?!0:0<=this.rd&&0<=this.sd&&this.rd<this.b.width&&this.sd<this.b.height};e.Dg=function(a){this.Bn()&&(this.b.Te&&!this.b.Pc&&a.preventDefault(),this.ih[a.which]=!0,this.b.ha=!0,this.b.trigger(dc.prototype.i.jp,this),this.Af=
a.which-1,this.Ti=0,this.b.trigger(dc.prototype.i.Fl,this),this.b.trigger(dc.prototype.i.ej,this),this.b.ha=!1)};e.Fg=function(a){this.ih[a.which]&&(this.b.Te&&!this.b.Pc&&a.preventDefault(),this.b.Te=!0,this.ih[a.which]=!1,this.b.ha=!0,this.Af=a.which-1,this.b.trigger(dc.prototype.i.Bp,this),this.b.ha=!1)};e.ss=function(a){this.Bn()&&(a.preventDefault(),this.b.ha=!0,this.Af=a.which-1,this.Ti=1,this.b.trigger(dc.prototype.i.Fl,this),this.b.trigger(dc.prototype.i.ej,this),this.b.ha=!1)};e.Bs=function(a){this.Ao=
0>(a.wheelDelta?a.wheelDelta:a.detail?-a.detail:0)?0:1;this.ek=!1;this.b.ha=!0;this.b.trigger(dc.prototype.i.Ep,this);this.b.ha=!1;this.ek&&a.preventDefault()};g.prototype.Fl=function(a,b){return a===this.Af&&b===this.Ti};g.prototype.jp=function(){return!0};g.prototype.Yo=function(a){return this.ih[a+1]};g.prototype.Bp=function(a){return a===this.Af};g.prototype.$o=function(a){var b=this.b.Dm();return Oa(this.b.yf(a,this.rd,this.sd,b.$f),b.$f)};g.prototype.ej=function(a,b,c){return a!==this.Af||b!==
this.Ti?!1:this.b.yf(c,this.rd,this.sd,!1)};g.prototype.Ep=function(a){this.ek=!0;return a===this.Ao};d.i=new g;d.qa=new function(){};m.prototype.ij=function(a,b){var c,d,e,f,g;fa(b)?(c=this.b.md(0),d=c.scale,e=c.zb,f=c.oc,g=c.j,c.scale=1,c.zb=1,c.oc=1,c.j=0,a.u(c.ma(this.rd,this.sd,!0)),c.scale=d,c.zb=e,c.oc=f,c.j=g):(c=L(b)?this.b.md(b):this.b.Sf(b))?a.u(c.ma(this.rd,this.sd,!0)):a.u(0)};m.prototype.jj=function(a,b){var c,d,e,f,g;fa(b)?(c=this.b.md(0),d=c.scale,e=c.zb,f=c.pc,g=c.j,c.scale=1,c.zb=
1,c.pc=1,c.j=0,a.u(c.ma(this.rd,this.sd,!1)),c.scale=d,c.zb=e,c.pc=f,c.j=g):(c=L(b)?this.b.md(b):this.b.Sf(b))?a.u(c.ma(this.rd,this.sd,!1)):a.u(0)};d.fb=new m})();function ec(g){this.b=g}
(function(){function g(d){this.k=d;this.La=!1;this.j=this.speed=this.y=this.x=0;this.opacity=1;this.Dd=this.Se=this.size=this.Hh=0}var m=ec.prototype;m.$a=function(d){this.xa=d;this.b=d.b};var d=m.$a.prototype;d.ja=function(){this.B||(this.J=new Image,this.J.Aj=this.Oi,this.O=null,this.b.Cl(this.J,this.Ni))};d.fi=function(){this.B||(this.O=null)};d.gi=function(){this.B||!this.c.length||this.O||(this.O=this.b.q.ef(this.J,!0,this.b.S,this.ah))};d.qg=function(){this.B||this.O||!this.b.q||(this.O=this.b.q.ef(this.J,
!0,this.b.S,this.ah))};d.Wi=function(){this.B||this.c.length||!this.O||(this.b.q.deleteTexture(this.O),this.O=null)};d.si=function(d){d.drawImage(this.J,0,0)};g.prototype.init=function(){var d=this.k;this.x=d.x-d.aj/2+Math.random()*d.aj;this.y=d.y-d.bj/2+Math.random()*d.bj;this.speed=d.lk-d.Hi/2+Math.random()*d.Hi;this.j=d.j-d.Ii/2+Math.random()*d.Ii;this.opacity=d.jk;this.size=d.kk-d.Fi/2+Math.random()*d.Fi;this.Hh=d.dk-d.Ih/2+Math.random()*d.Ih;this.Dd=this.Se=0};g.prototype.Sa=function(d){var a=
this.k;this.x+=Math.cos(this.j)*this.speed*d;this.y+=Math.sin(this.j)*this.speed*d;this.y+=this.Se*d;this.speed+=a.kj*d;this.size+=this.Hh*d;this.Se+=a.Uj*d;this.Dd+=d;1>this.size?this.La=!1:(0!==a.kg&&(this.j+=Math.random()*a.kg*d-a.kg*d/2),0!==a.mg&&(this.speed+=Math.random()*a.mg*d-a.mg*d/2),0!==a.lg&&(this.opacity+=Math.random()*a.lg*d-a.lg*d/2,0>this.opacity?this.opacity=0:1<this.opacity&&(this.opacity=1)),1>=a.Ne&&this.Dd>=a.timeout&&(this.La=!1),2===a.Ne&&0>=this.speed&&(this.La=!1))};g.prototype.yc=
function(d){var a=this.k.opacity*this.opacity;if(0!==a){0===this.k.Ne&&(a*=1-this.Dd/this.k.timeout);d.globalAlpha=a;var a=this.x-this.size/2,b=this.y-this.size/2;this.k.b.Tc&&(a=a+.5|0,b=b+.5|0);d.drawImage(this.k.type.J,a,b,this.size,this.size)}};g.prototype.Db=function(d){var a=this.k.opacity*this.opacity;0===this.k.Ne&&(a*=1-this.Dd/this.k.timeout);var b=this.size,c=b*this.k.Un,e=this.x-b/2,g=this.y-b/2;this.k.b.Tc&&(e=e+.5|0,g=g+.5|0);1>c||0===a||(c<d.os||c>d.Ek?(d.Ce(a),d.Pg(e,g,e+b,g,e+b,g+
b,e,g+b)):d.Es(this.x,this.y,c,a))};g.prototype.left=function(){return this.x-this.size/2};g.prototype.right=function(){return this.x+this.size/2};g.prototype.top=function(){return this.y-this.size/2};g.prototype.bottom=function(){return this.y+this.size/2};m.za=function(d){this.type=d;this.b=d.b};var d=m.za.prototype,e=[];d.ja=function(){var d=this.pa;this.xi=d[0];this.Ii=R(d[1]);this.vf=d[2];this.kl=!0;this.lk=d[3];this.kk=d[4];this.jk=d[5]/100;this.dk=d[6];this.aj=d[7];this.bj=d[8];this.Hi=d[9];
this.Fi=d[10];this.Ih=d[11];this.kj=d[12];this.Uj=d[13];this.kg=d[14];this.mg=d[15];this.lg=d[16];this.Ne=d[17];this.timeout=d[18];this.Ae=0;this.Un=1;this.ki=this.x;this.mi=this.y;this.li=this.x;this.ji=this.y;this.Up(function(a){a.ab.set(a.ki,a.mi,a.li,a.ji);a.Le.Ug(a.ab);a.hh=!1;a.pt()});this.Ec||(this.jb=[]);this.b.pl(this);this.type.qg();if(1===this.vf)for(d=0;d<this.xi;d++)this.mj().opacity=0;this.zh=!0};d.Jb=function(){var d={r:this.xi,sc:this.Ii,st:this.vf,s:this.kl,isp:this.lk,isz:this.kk,
io:this.jk,gr:this.dk,xr:this.aj,yr:this.bj,spr:this.Hi,szr:this.Fi,grnd:this.Ih,acc:this.kj,g:this.Uj,lar:this.kg,lsr:this.mg,lor:this.lg,dm:this.Ne,to:this.timeout,pcc:this.Ae,ft:this.zh,p:[]},a,b,c,e=d.p;a=0;for(b=this.jb.length;a<b;a++)c=this.jb[a],e.push([c.x,c.y,c.speed,c.j,c.opacity,c.Hh,c.size,c.Se,c.Dd]);return d};d.lc=function(d){this.xi=d.r;this.Ii=d.sc;this.vf=d.st;this.kl=d.s;this.lk=d.isp;this.kk=d.isz;this.jk=d.io;this.dk=d.gr;this.aj=d.xr;this.bj=d.yr;this.Hi=d.spr;this.Fi=d.szr;this.Ih=
d.grnd;this.kj=d.acc;this.Uj=d.g;this.kg=d.lar;this.mg=d.lsr;this.lg=d.lor;this.Ne=d.dm;this.timeout=d.to;this.Ae=d.pcc;this.zh=d.ft;e.push.apply(e,this.jb);this.jb.length=0;var a,b,c,h=d.p;d=0;for(a=h.length;d<a;d++)b=this.mj(),c=h[d],b.x=c[0],b.y=c[1],b.speed=c[2],b.j=c[3],b.opacity=c[4],b.Hh=c[5],b.size=c[6],b.Se=c[7],b.Dd=c[8]};d.Cg=function(){e.push.apply(e,this.jb);this.jb.length=0};d.mj=function(){var d;e.length?(d=e.pop(),d.k=this):d=new g(this);this.jb.push(d);d.La=!0;return d};d.Sa=function(){var d=
this.b.Wj(this),a,b,c,h;if(0===this.vf&&this.kl)for(this.Ae+=d*this.xi,b=P(this.Ae),this.Ae-=b,a=0;a<b;a++)c=this.mj(),c.init();this.ki=this.x;this.mi=this.y;this.li=this.x;this.ji=this.y;h=a=0;for(b=this.jb.length;a<b;a++)c=this.jb[a],this.jb[h]=c,this.b.ga=!0,1===this.vf&&this.zh&&c.init(),c.Sa(d),c.La?(c.left()<this.ki&&(this.ki=c.left()),c.right()>this.li&&(this.li=c.right()),c.top()<this.mi&&(this.mi=c.top()),c.bottom()>this.ji&&(this.ji=c.bottom()),h++):e.push(c);this.jb.length=h;this.Ea();
this.zh=!1;1===this.vf&&0===this.jb.length&&this.b.Ad(this)};d.yc=function(d){var a,b,c,e=this.d;a=0;for(b=this.jb.length;a<b;a++)c=this.jb[a],c.right()>=e.Ja&&c.bottom()>=e.Ka&&c.left()<=e.Ya&&c.top()<=e.Xa&&c.yc(d)};d.Db=function(d){this.Un=this.d.Qb();d.Kb(this.type.O);var a,b,c,e=this.d;a=0;for(b=this.jb.length;a<b;a++)c=this.jb[a],c.right()>=e.Ja&&c.bottom()>=e.Ka&&c.left()<=e.Ya&&c.top()<=e.Xa&&c.Db(d)};m.i=new function(){};m.qa=new function(){};m.fb=new function(){}})();
function ac(g){this.b=g}
(function(){function g(){if(0===this.Dj.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.wf?b.drawImage(this.J,this.mf,this.nf,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.J,0,0,this.width,this.height);this.Dj=a.toDataURL("image/png")}return this.Dj}function m(){}var d=ac.prototype;d.$a=function(a){this.xa=a;this.b=a.b};var e=d.$a.prototype;e.ja=function(){if(!this.B){var a,b,c,d,e,n,m,p,k;this.xc=[];this.Xf=
!1;a=0;for(b=this.Bb.length;a<b;a++){e=this.Bb[a];m={};m.name=e[0];m.speed=e[1];m.loop=e[2];m.al=e[3];m.yi=e[4];m.Vn=e[5];m.P=e[6];m.frames=[];c=0;for(d=e[7].length;c<d;c++)n=e[7][c],p={},p.Ni=n[0],p.Oi=n[1],p.mf=n[2],p.nf=n[3],p.width=n[4],p.height=n[5],p.duration=n[6],p.qb=n[7],p.rb=n[8],p.ik=n[9],p.pi=n[10],p.Wn=n[11],p.wf=0!==p.width,p.Dj="",p.Cu=g,k={left:0,top:0,right:1,bottom:1},p.il=k,p.O=null,(k=this.b.er(n[0]))?p.J=k:(p.J=new Image,p.J.jq=n[0],p.J.Aj=n[1],p.J.$p=null,this.b.Cl(p.J,n[0])),
m.frames.push(p),this.xc.push(p);this.Bb[a]=m}}};e.Jo=function(){var a,b,c;a=0;for(b=this.c.length;a<b;a++)c=this.c[a],c.ph=c.ec.O};e.fi=function(){if(!this.B){var a,b,c;a=0;for(b=this.xc.length;a<b;++a)c=this.xc[a],c.J.$p=null,c.O=null;this.Xf=!1;this.Jo()}};e.gi=function(){if(!this.B&&this.c.length){var a,b,c;a=0;for(b=this.xc.length;a<b;++a)c=this.xc[a],c.O=this.b.q.ef(c.J,!1,this.b.S,c.Wn);this.Jo()}};e.qg=function(){if(!this.B&&!this.Xf&&this.b.q){var a,b,c;a=0;for(b=this.xc.length;a<b;++a)c=
this.xc[a],c.O=this.b.q.ef(c.J,!1,this.b.S,c.Wn);this.Xf=!0}};e.Wi=function(){if(!this.B&&!this.c.length&&this.Xf){var a,b,c;a=0;for(b=this.xc.length;a<b;++a)c=this.xc[a],this.b.q.deleteTexture(c.O),c.O=null;this.Xf=!1}};var p=[];e.si=function(a){var b,c,d;b=p.length=0;for(c=this.xc.length;b<c;++b)d=this.xc[b].J,-1===p.indexOf(d)&&(a.drawImage(d,0,0),p.push(d))};d.za=function(a){this.type=a;this.b=a.b;a=this.type.Bb[0].frames[0].pi;this.Ec?this.Kc.Vg(a):this.Kc=new Wa(a)};var a=d.za.prototype;a.ja=
function(){this.visible=0===this.pa[0];this.Kf=0!==this.pa[3];1===this.type.Bb.length&&1===this.type.Bb[0].frames.length||0===this.type.Bb[0].speed||this.b.pl(this);this.ra=this.Am(this.pa[1])||this.type.Bb[0];this.A=this.pa[2];0>this.A&&(this.A=0);this.A>=this.ra.frames.length&&(this.A=this.ra.frames.length-1);var a=this.ra.frames[this.A];this.Kc.Vg(a.pi);this.qb=a.qb;this.rb=a.rb;this.Mf=this.ra.speed;this.Ec?this.Ic.reset():this.Ic=new Ua;this.ld=this.Ic.Z;this.ae=!0;this.ad=0;this.$d=!0;this.xj=
this.Tl="";this.fq=0;this.wj=-1;this.type.qg();var b,c,d,e,g,m,p,a=0;for(b=this.type.Bb.length;a<b;a++)for(e=this.type.Bb[a],c=0,d=e.frames.length;c<d;c++)g=e.frames[c],0===g.width&&(g.width=g.J.width,g.height=g.J.height),g.wf&&(p=g.J,m=g.il,m.left=g.mf/p.width,m.top=g.nf/p.height,m.right=(g.mf+g.width)/p.width,m.bottom=(g.nf+g.height)/p.height,0===g.mf&&0===g.nf&&g.width===p.width&&g.height===p.height&&(g.wf=!1));this.ec=this.ra.frames[this.A];this.ph=this.ec.O};a.Jb=function(){var a={a:this.ra.P,
f:this.A,cas:this.Mf,fs:this.ld,ar:this.ad,at:this.Ic.Z};this.ae||(a.ap=this.ae);this.$d||(a.af=this.$d);return a};a.lc=function(a){var b=this.kr(a.a);b&&(this.ra=b);this.A=a.f;0>this.A&&(this.A=0);this.A>=this.ra.frames.length&&(this.A=this.ra.frames.length-1);this.Mf=a.cas;this.ld=a.fs;this.ad=a.ar;this.Ic.reset();this.Ic.Z=a.at;this.ae=a.hasOwnProperty("ap")?a.ap:!0;this.$d=a.hasOwnProperty("af")?a.af:!0;this.ec=this.ra.frames[this.A];this.ph=this.ec.O;this.Kc.Vg(this.ec.pi);this.qb=this.ec.qb;
this.rb=this.ec.rb};a.pj=function(a){this.A=a?0:this.ra.frames.length-1;this.ae=!1;this.Tl=this.ra.name;this.b.trigger(ac.prototype.i.ip,this);this.b.trigger(ac.prototype.i.hp,this);this.ad=0};a.Eu=function(){return this.Ic.Z};a.Sa=function(){this.Ic.add(this.b.Wj(this));this.xj.length&&this.oq();0<=this.wj&&this.pq();var a=this.Ic.Z,b=this.ra,c=b.frames[this.A],d=c.duration/this.Mf;this.ae&&a>=this.ld+d&&(this.$d?this.A++:this.A--,this.ld+=d,this.A>=b.frames.length&&(b.Vn?(this.$d=!1,this.A=b.frames.length-
2):b.loop?this.A=b.yi:(this.ad++,this.ad>=b.al?this.pj(!1):this.A=b.yi)),0>this.A&&(b.Vn?(this.A=1,this.$d=!0,b.loop||(this.ad++,this.ad>=b.al&&this.pj(!0))):b.loop?this.A=b.yi:(this.ad++,this.ad>=b.al?this.pj(!0):this.A=b.yi)),0>this.A?this.A=0:this.A>=b.frames.length&&(this.A=b.frames.length-1),a>this.ld+b.frames[this.A].duration/this.Mf&&(this.ld=a),a=b.frames[this.A],this.Ie(c,a),this.b.ga=!0)};a.Am=function(a){var b,c,d;b=0;for(c=this.type.Bb.length;b<c;b++)if(d=this.type.Bb[b],ab(d.name,a))return d;
return null};a.kr=function(a){var b,c,d;b=0;for(c=this.type.Bb.length;b<c;b++)if(d=this.type.Bb[b],d.P===a)return d;return null};a.oq=function(){var a=this.ra.frames[this.A],b=this.Am(this.xj);this.xj="";!b||ab(b.name,this.ra.name)&&this.ae||(this.ra=b,this.Mf=b.speed,0>this.A&&(this.A=0),this.A>=this.ra.frames.length&&(this.A=this.ra.frames.length-1),1===this.fq&&(this.A=0),this.ae=!0,this.ld=this.Ic.Z,this.$d=!0,this.Ie(a,this.ra.frames[this.A]),this.b.ga=!0)};a.pq=function(){var a=this.ra.frames[this.A],
b=this.A;this.A=P(this.wj);0>this.A&&(this.A=0);this.A>=this.ra.frames.length&&(this.A=this.ra.frames.length-1);b!==this.A&&(this.Ie(a,this.ra.frames[this.A]),this.ld=this.Ic.Z,this.b.ga=!0);this.wj=-1};a.Ie=function(a,b){var c=a.width,d=a.height,e=b.width,g=b.height;c!=e&&(this.width*=e/c);d!=g&&(this.height*=g/d);this.qb=b.qb;this.rb=b.rb;this.Kc.Vg(b.pi);this.Ea();this.ec=b;this.ph=b.O;c=0;for(d=this.G.length;c<d;c++)e=this.G[c],e.ys&&e.ys(a,b);this.b.trigger(ac.prototype.i.Ie,this)};a.yc=function(a){a.globalAlpha=
this.opacity;var b=this.ec,c=b.wf,d=b.J,e=this.x,g=this.y,m=this.width,p=this.height;if(0===this.j&&0<=m&&0<=p)e-=this.qb*m,g-=this.rb*p,this.b.Tc&&(e=Math.round(e),g=Math.round(g)),c?a.drawImage(d,b.mf,b.nf,b.width,b.height,e,g,m,p):a.drawImage(d,e,g,m,p);else{this.b.Tc&&(e=Math.round(e),g=Math.round(g));a.save();var k=0<m?1:-1,t=0<p?1:-1;a.translate(e,g);1===k&&1===t||a.scale(k,t);a.rotate(this.j*k*t);e=0-this.qb*ia(m);g=0-this.rb*ia(p);c?a.drawImage(d,b.mf,b.nf,b.width,b.height,e,g,ia(m),ia(p)):
a.drawImage(d,e,g,ia(m),ia(p));a.restore()}};a.Db=function(a){a.Kb(this.ph);a.Ce(this.opacity);var b=this.ec,c=this.Le;if(this.b.Tc){var d=Math.round(this.x)-this.x,e=Math.round(this.y)-this.y;b.wf?a.ud(c.wb+d,c.xb+e,c.tc+d,c.uc+e,c.Zb+d,c.$b+e,c.Xb+d,c.Yb+e,b.il):a.Pg(c.wb+d,c.xb+e,c.tc+d,c.uc+e,c.Zb+d,c.$b+e,c.Xb+d,c.Yb+e)}else b.wf?a.ud(c.wb,c.xb,c.tc,c.uc,c.Zb,c.$b,c.Xb,c.Yb,b.il):a.Pg(c.wb,c.xb,c.tc,c.uc,c.Zb,c.$b,c.Xb,c.Yb)};a.or=function(a){var b=this.ec,c,d;c=0;for(d=b.ik.length;c<d;c++)if(ab(a,
b.ik[c][0]))return c;return-1};a.Zj=function(a,b){var c=this.ec,d=c.ik,e;e=N(a)?this.or(a):a-1;e=P(e);if(0>e||e>=d.length)return b?this.x:this.y;var g=(d[e][1]-c.qb)*this.width,d=d[e][2],d=(d-c.rb)*this.height,c=Math.cos(this.j);e=Math.sin(this.j);var m=g*c-d*e,d=d*c+g*e,g=m+this.x,d=d+this.y;return b?g:d};var b=new ca,c=!1;e.finish=function(a){if(c){if(a){var d=this.b.ob().Ob.Rc;a=null.ea();var e=b.Hc(),g,m;if(a.ka){a.ka=!1;a.c.length=e.length;g=0;for(m=e.length;g<m;g++)a.c[g]=e[g];if(d)for(g=a.V.length=
0,m=null.c.length;g<m;g++)e=null.c[g],b.contains(e)||a.V.push(e)}else if(d)for(d=a.c.length,a.c.length=d+e.length,g=0,m=e.length;g<m;g++)a.c[d+g]=e[g],wa(a.V,e[g]);else ta(a.c,e);null.bd()}b.clear();c=!1}};m.prototype.hp=function(a){return ab(this.Tl,a)};m.prototype.ip=function(){return!0};m.prototype.Ie=function(){return!0};d.i=new m;d.qa=new function(){};d.fb=new function(){}})();function jc(g){this.b=g}
(function(){var g=jc.prototype;g.$a=function(d){this.xa=d;this.b=d.b};var m=g.$a.prototype;m.ja=function(){this.B||(this.J=new Image,this.J.Aj=this.Oi,this.b.Cl(this.J,this.Ni),this.O=this.pattern=null)};m.fi=function(){this.B||(this.O=null)};m.gi=function(){if(!this.B&&this.c.length){this.O||(this.O=this.b.q.ef(this.J,!0,this.b.S,this.ah));var d,e;d=0;for(e=this.c.length;d<e;d++)this.c[d].O=this.O}};m.qg=function(){this.B||this.O||!this.b.q||(this.O=this.b.q.ef(this.J,!0,this.b.S,this.ah))};m.Wi=
function(){this.B||this.c.length||!this.O||(this.b.q.deleteTexture(this.O),this.O=null)};m.si=function(d){d.drawImage(this.J,0,0)};g.za=function(d){this.type=d;this.b=d.b};m=g.za.prototype;m.ja=function(){this.visible=0===this.pa[0];this.Qg=new pa(0,0,0,0);this.Mm=!1;this.J=this.type.J;this.b.q?(this.type.qg(),this.O=this.type.O):(this.type.pattern||(this.type.pattern=this.b.aa.createPattern(this.type.J,"repeat")),this.pattern=this.type.pattern)};m.$c=function(){this.Mm=!1;this.J=this.type.J};m.Cg=
function(){this.b.q&&this.Mm&&this.O&&(this.b.q.deleteTexture(this.O),this.O=null)};m.yc=function(d){d.globalAlpha=this.opacity;d.save();d.fillStyle=this.pattern;var e=this.x,g=this.y;this.b.Tc&&(e=Math.round(e),g=Math.round(g));var a=-(this.qb*this.width),b=-(this.rb*this.height),c=a%this.J.width,h=b%this.J.height;0>c&&(c+=this.J.width);0>h&&(h+=this.J.height);d.translate(e,g);d.rotate(this.j);d.translate(c,h);d.fillRect(a-c,b-h,this.width,this.height);d.restore()};m.Db=function(d){d.Kb(this.O);
d.Ce(this.opacity);var e=this.Qg;e.right=this.width/this.J.width;e.bottom=this.height/this.J.height;var g=this.Le;if(this.b.Tc){var a=Math.round(this.x)-this.x,b=Math.round(this.y)-this.y;d.ud(g.wb+a,g.xb+b,g.tc+a,g.uc+b,g.Zb+a,g.$b+b,g.Xb+a,g.Yb+b,e)}else d.ud(g.wb,g.xb,g.tc,g.uc,g.Zb,g.$b,g.Xb,g.Yb,e)};g.i=new function(){};g.qa=new function(){};g.fb=new function(){}})();function Y(g){this.b=g}
(function(){function g(a){l=a.x;f=a.y;u=a.z}function m(a){v=a.x;n=a.y;C=a.z}function d(a,b,c,d){var f;f=q.length?q.pop():new e;f.init(a,b,c,d);return f}function e(){this.Xg=this.id=this.y=this.x=this.Li=this.Ki=this.vk=this.time=this.ml=0;this.dh=this.Ui=!1}function p(){}function a(){}var b=Y.prototype;b.$a=function(a){this.xa=a;this.b=a.b};b.$a.prototype.ja=function(){};b.za=function(a){this.type=a;this.b=a.b;this.touches=[];this.Gk=!1};var c=b.za.prototype,h={left:0,top:0};c.Qf=function(a){var b,
c;b=0;for(c=this.touches.length;b<c;b++)if(this.touches[b].id===a)return b;return-1};var l=0,f=0,u=0,v=0,n=0,C=0,q=[];e.prototype.init=function(a,b,c,d){var e=S();this.ml=this.vk=this.time=e;this.Ki=a;this.Li=b;this.x=a;this.y=b;this.id=c;this.Xg=d;this.dh=this.Ui=!1};e.prototype.update=function(a,b,c){this.vk=this.time;this.time=a;this.x=b;this.y=c;!this.dh&&15<=Na(this.Ki,this.Li,this.x,this.y)&&(this.dh=!0)};e.prototype.ms=function(a,b){!this.Ui&&500<=S()-this.ml&&!this.dh&&15>Na(this.Ki,this.Li,
this.x,this.y)&&(this.Ui=!0,a.Xc=this.Xg,a.Bf=this.id,a.Qe=b,a.b.trigger(Y.prototype.i.tp,a),a.ed=this.x,a.fd=this.y,a.b.trigger(Y.prototype.i.up,a),a.Qe=0)};var k=-1E3,t=-1E3,w=-1E4;e.prototype.yn=function(a,b){if(!this.Ui){var c=S();333>=c-this.ml&&!this.dh&&15>Na(this.Ki,this.Li,this.x,this.y)&&(a.Xc=this.Xg,a.Bf=this.id,a.Qe=b,666>=c-w&&25>Na(k,t,this.x,this.y)?(a.b.trigger(Y.prototype.i.pp,a),a.ed=this.x,a.fd=this.y,a.b.trigger(Y.prototype.i.qp,a),t=k=-1E3,w=-1E4):(a.b.trigger(Y.prototype.i.Cp,
a),a.ed=this.x,a.fd=this.y,a.b.trigger(Y.prototype.i.Dp,a),k=this.x,t=this.y,w=c),a.Qe=0)}};c.ja=function(){this.cs=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.Qe=this.Bf=this.Xc=this.fd=this.ed=this.Pl=this.Ol=this.Nl=this.Qp=this.Pp=this.Op=this.Kg=this.Jg=this.Ig=0;this.tt=0!==this.pa[0];var a=0<this.b.gb?document:this.b.canvas,b=document;this.b.Ua?b=a=window.Canvas:this.b.Rb&&(b=a=window);var c=this;window.navigator.pointerEnabled?(a.addEventListener("pointerdown",function(a){c.Hg(a)},
!1),a.addEventListener("pointermove",function(a){c.Gg(a)},!1),b.addEventListener("pointerup",function(a){c.td(a,!1)},!1),b.addEventListener("pointercancel",function(a){c.td(a,!0)},!1),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),this.b.canvas.addEventListener("gesturehold",function(a){a.preventDefault()},!1),document.addEventListener("gesturehold",function(a){a.preventDefault()},
!1))):window.navigator.msPointerEnabled?(a.addEventListener("MSPointerDown",function(a){c.Hg(a)},!1),a.addEventListener("MSPointerMove",function(a){c.Gg(a)},!1),b.addEventListener("MSPointerUp",function(a){c.td(a,!1)},!1),b.addEventListener("MSPointerCancel",function(a){c.td(a,!0)},!1),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1))):(a.addEventListener("touchstart",function(a){c.ii(a)},
!1),a.addEventListener("touchmove",function(a){c.hi(a)},!1),b.addEventListener("touchend",function(a){c.of(a,!1)},!1),b.addEventListener("touchcancel",function(a){c.of(a,!0)},!1));if(this.cs){var d=function(a){a=a.reading;c.Nl=a.accelerationX;c.Ol=a.accelerationY;c.Pl=a.accelerationZ},e=function(a){a=a.reading;c.Ig=a.yawDegrees;c.Jg=a.pitchDegrees;c.Kg=a.rollDegrees},f=Windows.Devices.Sensors.Accelerometer.getDefault();f&&(f.reportInterval=Math.max(f.minimumReportInterval,16),f.addEventListener("readingchanged",
d));var h=Windows.Devices.Sensors.Inclinometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",e));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(f&&f.removeEventListener("readingchanged",d),h&&h.removeEventListener("readingchanged",e)):(f&&f.addEventListener("readingchanged",d),h&&h.addEventListener("readingchanged",e))},!1)}else window.addEventListener("deviceorientation",function(a){c.Ig=a.alpha||
0;c.Jg=a.beta||0;c.Kg=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.Op=a.accelerationIncludingGravity.x||0,c.Pp=a.accelerationIncludingGravity.y||0,c.Qp=a.accelerationIncludingGravity.z||0);a.acceleration&&(c.Nl=a.acceleration.x||0,c.Ol=a.acceleration.y||0,c.Pl=a.acceleration.z||0)},!1);this.tt&&!this.b.ba&&(jQuery(document).mousemove(function(a){c.Eg(a)}),jQuery(document).mousedown(function(a){c.Dg(a)}),jQuery(document).mouseup(function(a){c.Fg(a)}));
this.b.Ve&&!this.b.Ua&&AppMobi.accelerometer.watchAcceleration(g,{frequency:40,adjustForRotation:!0});this.b.ic&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(m,null,{frequency:40});this.b.it(this)};c.Gg=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var b=this.Qf(a.pointerId),c=S();if(0<=b){var d=this.b.ba?h:jQuery(this.b.canvas).offset(),b=this.touches[b];2>c-b.time||
b.update(c,a.pageX-d.left,a.pageY-d.top)}}};c.Hg=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&bb(a)&&a.preventDefault();var b=this.b.ba?h:jQuery(this.b.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top;S();this.Xc=this.touches.length;this.Bf=a.pointerId;this.touches.push(d(c,b,a.pointerId,this.Xc));this.b.ha=!0;this.b.trigger(Y.prototype.i.Jl,this);this.b.trigger(Y.prototype.i.Kl,this);this.ed=c;this.fd=b;this.b.trigger(Y.prototype.i.hj,this);this.b.ha=
!1}};c.td=function(a,b){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&bb(a)&&a.preventDefault();var c=this.Qf(a.pointerId);this.Xc=0<=c?this.touches[c].Xg:-1;this.Bf=0<=c?this.touches[c].id:-1;this.b.ha=!0;this.b.trigger(Y.prototype.i.Il,this);this.b.trigger(Y.prototype.i.gj,this);0<=c&&(b||this.touches[c].yn(this,c),100>q.length&&q.push(this.touches[c]),this.touches.splice(c,1));this.b.ha=!1}};c.hi=function(a){a.preventDefault&&a.preventDefault();var b=S(),
c,d,e,f;c=0;for(d=a.changedTouches.length;c<d;c++)if(e=a.changedTouches[c],f=this.Qf(e.identifier),0<=f){var g=this.b.ba?h:jQuery(this.b.canvas).offset();f=this.touches[f];2>b-f.time||f.update(b,e.pageX-g.left,e.pageY-g.top)}};c.ii=function(a){a.preventDefault&&bb(a)&&a.preventDefault();var b=this.b.ba?h:jQuery(this.b.canvas).offset();S();this.b.ha=!0;var c,e,f,g;c=0;for(e=a.changedTouches.length;c<e;c++)if(f=a.changedTouches[c],g=this.Qf(f.identifier),-1===g){g=f.pageX-b.left;var k=f.pageY-b.top;
this.Xc=this.touches.length;this.Bf=f.identifier;this.touches.push(d(g,k,f.identifier,this.Xc));this.b.trigger(Y.prototype.i.Jl,this);this.b.trigger(Y.prototype.i.Kl,this);this.ed=g;this.fd=k;this.b.trigger(Y.prototype.i.hj,this)}this.b.ha=!1};c.of=function(a,b){a.preventDefault&&bb(a)&&a.preventDefault();this.b.ha=!0;var c,d,e;c=0;for(d=a.changedTouches.length;c<d;c++)e=a.changedTouches[c],e=this.Qf(e.identifier),0<=e&&(this.Xc=this.touches[e].Xg,this.Bf=this.touches[e].id,this.b.trigger(Y.prototype.i.Il,
this),this.b.trigger(Y.prototype.i.gj,this),b||this.touches[e].yn(this,e),100>q.length&&q.push(this.touches[e]),this.touches.splice(e,1));this.b.ha=!1};c.Au=function(){return this.b.Ve&&0===this.Ig&&0!==u?90*u:this.b.ic&&0===this.Ig&&0!==C?90*C:this.Ig};c.Bu=function(){return this.b.Ve&&0===this.Jg&&0!==f?-90*f:this.b.ic&&0===this.Jg&&0!==n?-90*n:this.Jg};c.Du=function(){return this.b.Ve&&0===this.Kg&&0!==l?90*l:this.b.ic&&0===this.Kg&&0!==v?90*v:this.Kg};c.Dg=function(a){a.preventDefault&&this.b.Te&&
!this.b.Pc&&a.preventDefault();this.ii({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Gk=!0};c.Eg=function(a){this.Gk&&this.hi({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};c.Fg=function(a){a.preventDefault&&this.b.Te&&!this.b.Pc&&a.preventDefault();this.b.Te=!0;this.of({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Gk=!1};c.ol=function(){var a,b,c,d=S();a=0;for(b=this.touches.length;a<b;++a)c=this.touches[a],c.time<=d-50&&(c.vk=d),c.ms(this,
a)};p.prototype.Kl=function(){return!0};p.prototype.gj=function(){return!0};p.prototype.hj=function(a){return a?this.b.yf(a,this.ed,this.fd,!1):!1};var B=[];p.prototype.bp=function(a){if(!a)return!1;var b=a.ea(),c=b.zc(),d,e,f,g,h,k;f=0;for(g=c.length;f<g;f++){var l=c[f];l.lb();h=0;for(k=this.touches.length;h<k;h++)if(e=this.touches[h],d=l.d.ma(e.x,e.y,!0),e=l.d.ma(e.x,e.y,!1),l.cc(d,e)){B.push(l);break}}return B.length?(b.ka=!1,ta(b.c,B),a.bd(),B.length=0,!0):!1};p.prototype.Jl=function(a){a=Math.floor(a);
return a===this.Xc};p.prototype.Il=function(a){a=Math.floor(a);return a===this.Xc};p.prototype.tp=function(){return!0};p.prototype.Cp=function(){return!0};p.prototype.pp=function(){return!0};p.prototype.up=function(a){return a?this.b.yf(a,this.ed,this.fd,!1):!1};p.prototype.Dp=function(a){return a?this.b.yf(a,this.ed,this.fd,!1):!1};p.prototype.qp=function(a){return a?this.b.yf(a,this.ed,this.fd,!1):!1};b.i=new p;a.prototype.ij=function(a,b){var c=this.Qe;if(0>c||c>=this.touches.length)a.u(0);else{var d,
e,f,g,h;fa(b)?(d=this.b.md(0),e=d.scale,f=d.zb,g=d.oc,h=d.j,d.scale=1,d.zb=1,d.oc=1,d.j=0,a.u(d.ma(this.touches[c].x,this.touches[c].y,!0)),d.scale=e,d.zb=f,d.oc=g,d.j=h):(d=L(b)?this.b.md(b):this.b.Sf(b))?a.u(d.ma(this.touches[c].x,this.touches[c].y,!0)):a.u(0)}};a.prototype.jj=function(a,b){var c=this.Qe;if(0>c||c>=this.touches.length)a.u(0);else{var d,e,f,g,h;fa(b)?(d=this.b.md(0),e=d.scale,f=d.zb,g=d.pc,h=d.j,d.scale=1,d.zb=1,d.pc=1,d.j=0,a.u(d.ma(this.touches[c].x,this.touches[c].y,!1)),d.scale=
e,d.zb=f,d.pc=g,d.j=h):(d=L(b)?this.b.md(b):this.b.Sf(b))?a.u(d.ma(this.touches[c].x,this.touches[c].y,!1)):a.u(0)}};b.fb=new a})();
function kc(g){this.b=g;var m=this;this.b.ba||(jQuery(document).mousemove(function(d){m.Eg(d)}),jQuery(document).mousedown(function(d){m.Dg(d)}),jQuery(document).mouseup(function(d){m.Fg(d)}));g=0<this.b.gb?document:this.b.canvas;this.b.Ua?g=window.Canvas:this.b.Rb&&(g=window);window.navigator.pointerEnabled?(g.addEventListener("pointerdown",function(d){m.Hg(d)},!1),g.addEventListener("pointermove",function(d){m.Gg(d)},!1),g.addEventListener("pointerup",function(d){m.td(d)},!1),g.addEventListener("pointercancel",
function(d){m.td(d)},!1)):window.navigator.msPointerEnabled?(g.addEventListener("MSPointerDown",function(d){m.Hg(d)},!1),g.addEventListener("MSPointerMove",function(d){m.Gg(d)},!1),g.addEventListener("MSPointerUp",function(d){m.td(d)},!1),g.addEventListener("MSPointerCancel",function(d){m.td(d)},!1)):(g.addEventListener("touchstart",function(d){m.ii(d)},!1),g.addEventListener("touchmove",function(d){m.hi(d)},!1),g.addEventListener("touchend",function(d){m.of(d)},!1),g.addEventListener("touchcancel",
function(d){m.of(d)},!1))}
(function(){function g(a){var b,c;b=0;for(c=a.G.length;b<c;b++)if(a.G[b]instanceof d.za)return a.G[b];return null}function m(){}var d=kc.prototype,e={left:0,top:0};d.Dg=function(a){1===a.which&&this.Mk("leftmouse",a.pageX,a.pageY)};d.Eg=function(a){1===a.which&&this.Nk("leftmouse",a.pageX,a.pageY)};d.Fg=function(a){1===a.which&&this.Ok("leftmouse")};d.ii=function(a){a.preventDefault&&bb(a)&&a.preventDefault();var b,c,d,e;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],e=d.identifier,
this.Mk(e?e.toString():"<none>",d.pageX,d.pageY)};d.hi=function(a){a.preventDefault&&a.preventDefault();var b,c,d,e;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],e=d.identifier,this.Nk(e?e.toString():"<none>",d.pageX,d.pageY)};d.of=function(a){a.preventDefault&&bb(a)&&a.preventDefault();var b,c,d;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],d=d.identifier,this.Ok(d?d.toString():"<none>")};d.Hg=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&
(a.preventDefault&&bb(a)&&a.preventDefault(),this.Mk(a.pointerId.toString(),a.pageX,a.pageY))};d.Gg=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&(a.preventDefault&&a.preventDefault(),this.Nk(a.pointerId.toString(),a.pageX,a.pageY))};d.td=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&(a.preventDefault&&bb(a)&&a.preventDefault(),this.Ok(a.pointerId.toString()))};d.Mk=function(a,b,c){var d=this.b.ba?e:jQuery(this.b.canvas).offset();b-=d.left;
c-=d.top;var l,f,m,p,d=this.kf.Hc(),n,C,q,k=null;n=0;for(C=d.length;n<C;n++)if(q=d[n],l=g(q),l.enabled&&!l.je&&(l=q.d.ma(b,c,!0),f=q.d.ma(b,c,!1),q.lb(),q.cc(l,f)))k?q.d.index>k.d.index?(k=q,m=l,p=f):q.d.index===k.d.index&&q.Eb()>k.Eb()&&(k=q,m=l,p=f):(k=q,m=l,p=f);k&&g(k).ts(a,m,p)};d.Nk=function(a,b,c){var d=this.b.ba?e:jQuery(this.b.canvas).offset();b-=d.left;c-=d.top;var l,f=this.kf.Hc(),m,p,n;m=0;for(p=f.length;m<p;m++)l=f[m],n=g(l),!n.enabled||!n.je||n.je&&n.Hj!==a||(d=l.d.ma(b,c,!0),l=l.d.ma(b,
c,!1),n.xs(d,l))};d.Ok=function(a){var b=this.kf.Hc(),c,d,e;c=0;for(d=b.length;c<d;c++)e=b[c],e=g(e),e.je&&e.Hj===a&&e.As()};d.$a=function(a){this.behavior=a;this.b=a.b};d.$a.prototype.ja=function(){};d.za=function(a,b){this.type=a;this.behavior=a.behavior;this.sb=b;this.b=a.b};var p=d.za.prototype;p.ja=function(){this.je=!1;this.qm=this.pm=0;this.Hj="<none>";this.qj=this.pa[0];this.enabled=0!==this.pa[1]};p.Jb=function(){return{enabled:this.enabled}};p.lc=function(a){this.enabled=a.enabled;this.je=
!1};p.ts=function(a,b,c){this.pm=b-this.sb.x;this.qm=c-this.sb.y;this.je=!0;this.Hj=a;this.b.ha=!0;this.b.trigger(kc.prototype.i.rp,this.sb);this.b.ha=!1};p.xs=function(a,b){var c=a-this.pm,d=b-this.qm;if(0===this.qj){if(this.sb.x!==c||this.sb.y!==d)this.sb.x=c,this.sb.y=d,this.sb.Ea()}else 1===this.qj?this.sb.x!==c&&(this.sb.x=c,this.sb.Ea()):2===this.qj&&this.sb.y!==d&&(this.sb.y=d,this.sb.Ea())};p.As=function(){this.je=!1;this.b.ha=!0;this.b.trigger(kc.prototype.i.sp,this.sb);this.b.ha=!1};p.Sa=
function(){};m.prototype.rp=function(){return!0};m.prototype.sp=function(){return!0};d.i=new m;d.qa=new function(){};d.fb=new function(){}})();
function $b(){return[bc,cc,dc,ec,ac,jc,Y,kc,dc.prototype.i.$o,ac.prototype.qa.Ip,dc.prototype.i.ej,Y.prototype.i.bp,W.prototype.qa.Kp,dc.prototype.i.Yo,W.prototype.i.To,W.prototype.qa.Hp,W.prototype.qa.gp,ac.prototype.qa.Lp,bc.prototype.qa.Play,W.prototype.qa.Mp,Y.prototype.i.gj,W.prototype.i.Gl,Y.prototype.i.hj,W.prototype.i.Wo,ac.prototype.i.cp,ac.prototype.qa.Jp,dc.prototype.fb.ij,dc.prototype.fb.jj,ac.prototype.qa.Uo,W.prototype.qa.Oo,W.prototype.qa.Fp,W.prototype.qa.Gp,W.prototype.qa.fp]};
