// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';function A(){return function(){}}function J(k){return function(){return this[k]}}function M(k){return function(){return k}}var aa={},ba,ca,da,ea,ga,P,ha,ia,ja,ka,la,S,na,oa,pa,qa,ra,ta,ua,xa,ya,U,za,Aa,V,Ba,Ca,Da,Ea,Ga,Ha,La,Ma,Na,Oa,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za,$a,ab,cb,db,eb,fb,gb,hb,ib,jb,kb,ob,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb,Qb,X,Rb,Sb={},Tb={};
"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(k){return k.__proto__}:function(k){return k.constructor.prototype});
(function(){function k(g,f,b,m){this.set(g,f,b,m)}function n(){this.wb=this.ub=this.yb=this.xb=this.Db=this.Cb=this.Ja=this.Ia=0}function d(g,f,b,m){g<f?b<m?(v=g<b?g:b,q=f>m?f:m):(v=g<m?g:m,q=f>b?f:b):b<m?(v=f<b?f:b,q=g>m?g:m):(v=f<m?f:m,q=g>b?g:b)}function h(){this.yd=this.kd=null;this.nf=0;t&&(this.kd=new Set);this.Hf=[];this.Rd=!0}function a(g){s[b++]=g}function e(){this.Va=this.$i=this.y=this.zj=0}function l(g){this.$a=[];this.uh=this.wh=this.xh=this.vh=0;this.Vg(g)}function c(g,f){this.Ip=g;
this.Hp=f;this.cells={}}function p(g,b,m){var D;return f.length?(D=f.pop(),D.Uq=g,D.x=b,D.y=m,D):new ba(g,b,m)}function r(g,f,b){this.Uq=g;this.x=f;this.y=b;this.Eg=new ca}da=function(g){window.console&&window.console.log&&window.console.log(g)};ea=function(g){return"undefined"===typeof g};ga=function(g){return"number"===typeof g};P=function(g){return"string"===typeof g};ha=function(g){return 0>g?-g:g};ia=function(g,f){return g>f?g:f};ja=function(g,f){return g<f?g:f};ka=Math.PI;la=function(g){return g+
0.5|0};S=function(g){return 0<=g?g|0:(g|0)-1};na=function(g){var f=g|0;return f===g?f:f+1};oa=function(g,f,b,m,a,e,c,l){var d,h,p,r;g<b?(h=g,d=b):(h=b,d=g);a<c?(r=a,p=c):(r=c,p=a);if(d<r||h>p)return!1;f<m?(h=f,d=m):(h=m,d=f);e<l?(r=e,p=l):(r=l,p=e);if(d<r||h>p)return!1;d=a-g+c-b;h=e-f+l-m;g=b-g;f=m-f;a=c-a;e=l-e;l=ha(f*a-e*g);return ha(a*h-e*d)>l?!1:ha(g*h-f*d)<=l};k.prototype.set=function(g,f,b,m){this.left=g;this.top=f;this.right=b;this.bottom=m};k.prototype.copy=function(g){this.left=g.left;this.top=
g.top;this.right=g.right;this.bottom=g.bottom};k.prototype.width=function(){return this.right-this.left};k.prototype.height=function(){return this.bottom-this.top};k.prototype.offset=function(g,f){this.left+=g;this.top+=f;this.right+=g;this.bottom+=f;return this};k.prototype.normalize=function(){var g=0;this.left>this.right&&(g=this.left,this.left=this.right,this.right=g);this.top>this.bottom&&(g=this.top,this.top=this.bottom,this.bottom=g)};k.prototype.Zq=function(g){return!(g.right<this.left||g.bottom<
this.top||g.left>this.right||g.top>this.bottom)};k.prototype.$q=function(g,f,b){return!(g.right+f<this.left||g.bottom+b<this.top||g.left+f>this.right||g.top+b>this.bottom)};k.prototype.Vb=function(g,f){return g>=this.left&&g<=this.right&&f>=this.top&&f<=this.bottom};k.prototype.Wp=function(g){return this.left===g.left&&this.top===g.top&&this.right===g.right&&this.bottom===g.bottom};pa=k;n.prototype.Ug=function(g){this.Ia=g.left;this.Ja=g.top;this.Cb=g.right;this.Db=g.top;this.xb=g.right;this.yb=g.bottom;
this.ub=g.left;this.wb=g.bottom};n.prototype.bo=function(g,f){if(0===f)this.Ug(g);else{var b=Math.sin(f),m=Math.cos(f),a=g.left*b,e=g.top*b,c=g.right*b,b=g.bottom*b,l=g.left*m,d=g.top*m,h=g.right*m,m=g.bottom*m;this.Ia=l-e;this.Ja=d+a;this.Cb=h-e;this.Db=d+c;this.xb=h-b;this.yb=m+c;this.ub=l-b;this.wb=m+a}};n.prototype.offset=function(g,f){this.Ia+=g;this.Ja+=f;this.Cb+=g;this.Db+=f;this.xb+=g;this.yb+=f;this.ub+=g;this.wb+=f;return this};var v=0,q=0;n.prototype.hm=function(g){d(this.Ia,this.Cb,this.xb,
this.ub);g.left=v;g.right=q;d(this.Ja,this.Db,this.yb,this.wb);g.top=v;g.bottom=q};n.prototype.Vb=function(g,f){var b=this.Cb-this.Ia,m=this.Db-this.Ja,a=this.xb-this.Ia,e=this.yb-this.Ja,c=g-this.Ia,l=f-this.Ja,d=b*b+m*m,h=b*a+m*e,m=b*c+m*l,p=a*a+e*e,r=a*c+e*l,q=1/(d*p-h*h),b=(p*m-h*r)*q,d=(d*r-h*m)*q;if(0<=b&&0<d&&1>b+d)return!0;b=this.ub-this.Ia;m=this.wb-this.Ja;d=b*b+m*m;h=b*a+m*e;m=b*c+m*l;q=1/(d*p-h*h);b=(p*m-h*r)*q;d=(d*r-h*m)*q;return 0<=b&&0<d&&1>b+d};n.prototype.Pd=function(g,f){if(f)switch(g){case 0:return this.Ia;
case 1:return this.Cb;case 2:return this.xb;case 3:return this.ub;case 4:return this.Ia;default:return this.Ia}else switch(g){case 0:return this.Ja;case 1:return this.Db;case 2:return this.yb;case 3:return this.wb;case 4:return this.Ja;default:return this.Ja}};n.prototype.mn=function(){return(this.Ia+this.Cb+this.xb+this.ub)/4};n.prototype.nn=function(){return(this.Ja+this.Db+this.yb+this.wb)/4};n.prototype.Sm=function(g){var f=g.mn(),b=g.nn();if(this.Vb(f,b))return!0;f=this.mn();b=this.nn();if(g.Vb(f,
b))return!0;var m,a,e,c,l,d,h,p;for(h=0;4>h;h++)for(p=0;4>p;p++)if(f=this.Pd(h,!0),b=this.Pd(h,!1),m=this.Pd(h+1,!0),a=this.Pd(h+1,!1),e=g.Pd(p,!0),c=g.Pd(p,!1),l=g.Pd(p+1,!0),d=g.Pd(p+1,!1),oa(f,b,m,a,e,c,l,d))return!0;return!1};qa=n;ra=function(g,f){for(var b in f)f.hasOwnProperty(b)&&(g[b]=f[b]);return g};ta=function(g,f){var b,m;f=S(f);if(!(0>f||f>=g.length))if(0===f)g.shift();else if(f===g.length-1)g.pop();else{b=f;for(m=g.length-1;b<m;b++)g[b]=g[b+1];g.length=m}};ua=function(g,f){g.length=f.length;
var b,m;b=0;for(m=f.length;b<m;b++)g[b]=f[b]};xa=function(g,f){g.push.apply(g,f)};ya=function(g,f){var b=g.indexOf(f);-1!==b&&ta(g,b)};U=function(g){return g/(180/ka)};za=function(g){return g*(180/ka)};Aa=function(g){g%=360;0>g&&(g+=360);return g};V=function(g){g%=2*ka;0>g&&(g+=2*ka);return g};Ba=function(g){return Aa(za(g))};Ca=function(g){return V(U(g))};Da=function(g,f,b,m){return Math.atan2(m-f,b-g)};Ea=function(g,f){if(g===f)return 0;var b=Math.sin(g),m=Math.cos(g),a=Math.sin(f),e=Math.cos(f),
b=b*a+m*e;return 1<=b?0:-1>=b?ka:Math.acos(b)};Ga=function(g,f,b){var m=Math.sin(g),a=Math.cos(g),e=Math.sin(f),c=Math.cos(f);return Math.acos(m*e+a*c)>b?0<a*e-m*c?V(g+b):V(g-b):V(f)};Ha=function(g,f){var b=Math.sin(g),m=Math.cos(g),a=Math.sin(f),e=Math.cos(f);return 0>=m*a-b*e};La=function(g,f,b,m,a,e){if(0===b)return e?g:f;var c=Math.sin(b);b=Math.cos(b);g-=m;f-=a;var l=g*c;g=g*b-f*c;f=f*b+l;return e?g+m:f+a};Ma=function(g,f,b,m){g=b-g;f=m-f;return Math.sqrt(g*g+f*f)};Na=function(g,f){return!g!==
!f};Oa=function(g){for(var f in g)if(g.hasOwnProperty(f))return!0;return!1};Sa=function(g){for(var f in g)g.hasOwnProperty(f)&&delete g[f]};var w=+new Date;Ta=function(){if("undefined"!==typeof window.performance){var g=window.performance;if("undefined"!==typeof g.now)return g.now();if("undefined"!==typeof g.webkitNow)return g.webkitNow();if("undefined"!==typeof g.mozNow)return g.mozNow();if("undefined"!==typeof g.msNow)return g.msNow()}return Date.now()-w};var t=("undefined"===typeof window||!window.c2ejecta)&&
"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;h.prototype.contains=function(g){return this.Qc()?!1:t?this.kd.has(g):this.yd&&this.yd.hasOwnProperty(g)};h.prototype.add=function(g){if(t)this.kd.has(g)||(this.kd.add(g),this.Rd=!1);else{var f=g.toString(),b=this.yd;b?b.hasOwnProperty(f)||(b[f]=g,this.nf++,this.Rd=!1):(this.yd={},this.yd[f]=g,this.nf=1,this.Rd=!1)}};h.prototype.remove=function(g){if(!this.Qc())if(t)this.kd.has(g)&&(this.kd["delete"](g),this.Rd=!1);else if(this.yd){g=
g.toString();var f=this.yd;f.hasOwnProperty(g)&&(delete f[g],this.nf--,this.Rd=!1)}};h.prototype.clear=function(){this.Qc()||(t?this.kd.clear():(this.yd=null,this.nf=0),this.Hf.length=0,this.Rd=!0)};h.prototype.Qc=function(){return 0===this.count()};h.prototype.count=function(){return t?this.kd.size:this.nf};var s=null,b=0;h.prototype.ds=function(){if(!this.Rd){if(t)this.Hf.length=this.kd.size,s=this.Hf,b=0,this.kd.forEach(a),s=null,b=0;else{var g=this.Hf;g.length=this.nf;var f,m=0,e=this.yd;if(e)for(f in e)e.hasOwnProperty(f)&&
(g[m++]=e[f])}this.Rd=!0}};h.prototype.Gf=function(){this.ds();return this.Hf};ca=h;e.prototype.add=function(g){this.y=g-this.zj;this.$i=this.Va+this.y;this.zj=this.$i-this.Va-this.y;this.Va=this.$i};e.prototype.reset=function(){this.Va=this.$i=this.y=this.zj=0};Ua=e;Va=function(g){return g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};l.prototype.Vg=function(g){this.On=g;this.Wc=g.length/2;this.$a.length=g.length;this.yh=this.zh=-1;this.im=0};l.prototype.jf=function(){return!this.On.length};l.prototype.Fa=
function(){for(var g=this.$a,f=g[0],b=f,m=g[1],a=m,e,c,l=1,d=this.Wc;l<d;++l)c=2*l,e=g[c],c=g[c+1],e<f&&(f=e),e>b&&(b=e),c<m&&(m=c),c>a&&(a=c);this.vh=f;this.wh=b;this.xh=m;this.uh=a};l.prototype.Ug=function(g,f,b){this.$a.length=8;this.Wc=4;var m=this.$a;m[0]=g.left-f;m[1]=g.top-b;m[2]=g.right-f;m[3]=g.top-b;m[4]=g.right-f;m[5]=g.bottom-b;m[6]=g.left-f;m[7]=g.bottom-b;this.zh=g.right-g.left;this.yh=g.bottom-g.top;this.Fa()};l.prototype.Bf=function(g,f,b,m,a){this.$a.length=8;this.Wc=4;var e=this.$a;
e[0]=g.Ia-f;e[1]=g.Ja-b;e[2]=g.Cb-f;e[3]=g.Db-b;e[4]=g.xb-f;e[5]=g.yb-b;e[6]=g.ub-f;e[7]=g.wb-b;this.zh=m;this.yh=a;this.Fa()};l.prototype.ao=function(f){this.Wc=f.Wc;ua(this.$a,f.$a);this.vh=f.vh;this.xh-f.xh;this.wh=f.wh;this.uh=f.uh};l.prototype.Ye=function(f,b,m){if(this.zh!==f||this.yh!==b||this.im!==m){this.zh=f;this.yh=b;this.im=m;var a,e,c,l,d,h=0,p=1,r=this.On,q=this.$a;0!==m&&(h=Math.sin(m),p=Math.cos(m));m=0;for(c=this.Wc;m<c;m++)a=2*m,e=a+1,l=r[a]*f,d=r[e]*b,q[a]=l*p-d*h,q[e]=d*p+l*h;
this.Fa()}};l.prototype.Vb=function(f,b){var m=this.$a;if(f===m[0]&&b===m[1])return!0;var a,e,c,l=this.Wc,d=this.vh-110,h=this.xh-101,p=this.wh+131,r=this.uh+120,q,t,k=0,n=0;for(a=0;a<l;a++)e=2*a,c=2*((a+1)%l),q=m[e],e=m[e+1],t=m[c],c=m[c+1],oa(d,h,f,b,q,e,t,c)&&k++,oa(p,r,f,b,q,e,t,c)&&n++;return 1===k%2||1===n%2};l.prototype.hg=function(f,b,m){var a=f.$a,e=this.$a;if(this.Vb(a[0]+b,a[1]+m)||f.Vb(e[0]-b,e[1]-m))return!0;var c,l,d,h,p,r,q,t,k,n,s,v;c=0;for(h=this.Wc;c<h;c++)for(l=2*c,d=2*((c+1)%h),
t=e[l],l=e[l+1],k=e[d],n=e[d+1],d=0,q=f.Wc;d<q;d++)if(p=2*d,r=2*((d+1)%q),s=a[p]+b,p=a[p+1]+m,v=a[r]+b,r=a[r+1]+m,oa(t,l,k,n,s,p,v,r))return!0;return!1};Wa=l;c.prototype.Xj=function(f,b,m){var a;a=this.cells[f];return a?(a=a[b])?a:m?(a=p(this,f,b),this.cells[f][b]=a):null:m?(a=p(this,f,b),this.cells[f]={},this.cells[f][b]=a):null};c.prototype.nh=function(f){return S(f/this.Ip)};c.prototype.oh=function(f){return S(f/this.Hp)};c.prototype.update=function(b,m,a){var e,c,l,d,h;if(m)for(e=m.left,c=m.right;e<=
c;++e)for(l=m.top,d=m.bottom;l<=d;++l)if(!a||!a.Vb(e,l))if(h=this.Xj(e,l,!1))h.remove(b),h.Qc()&&(h.Eg.clear(),1E3>f.length&&f.push(h),this.cells[e][l]=null);if(a)for(e=a.left,c=a.right;e<=c;++e)for(l=a.top,d=a.bottom;l<=d;++l)m&&m.Vb(e,l)||this.Xj(e,l,!0).Yq(b)};c.prototype.Rn=function(f,b){var m,a,e,c,l,d;m=this.nh(f.left);e=this.oh(f.top);a=this.nh(f.right);for(l=this.oh(f.bottom);m<=a;++m)for(c=e;c<=l;++c)(d=this.Xj(m,c,!1))&&d.Sp(b)};Xa=c;var f=[];r.prototype.Qc=function(){return this.Eg.Qc()};
r.prototype.Yq=function(f){this.Eg.add(f)};r.prototype.remove=function(f){this.Eg.remove(f)};r.prototype.Sp=function(f){xa(f,this.Eg.Gf())};ba=r;var m="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");Ya=function(f){return 0>=f||11<=f?"source-over":m[f-1]};Za=function(f,b,m){if(m)switch(f.Bb=m.ONE,f.zb=m.ONE_MINUS_SRC_ALPHA,b){case 1:f.Bb=m.ONE;f.zb=m.ONE;break;case 3:f.Bb=m.ONE;f.zb=m.ZERO;break;case 4:f.Bb=m.ONE_MINUS_DST_ALPHA;
f.zb=m.ONE;break;case 5:f.Bb=m.DST_ALPHA;f.zb=m.ZERO;break;case 6:f.Bb=m.ZERO;f.zb=m.SRC_ALPHA;break;case 7:f.Bb=m.ONE_MINUS_DST_ALPHA;f.zb=m.ZERO;break;case 8:f.Bb=m.ZERO;f.zb=m.ONE_MINUS_SRC_ALPHA;break;case 9:f.Bb=m.DST_ALPHA;f.zb=m.ONE_MINUS_SRC_ALPHA;break;case 10:f.Bb=m.ONE_MINUS_DST_ALPHA,f.zb=m.SRC_ALPHA}};$a=function(f){return la(1E6*f)/1E6};ab=function(f,b){return"string"!==typeof f||"string"!==typeof b||f.length!==b.length?!1:f===b?!0:f.toLowerCase()===b.toLowerCase()}})();
(function(){function k(b){if(b&&(b.getContext||b.dc)&&!b.c2runtime){b.c2runtime=this;var f=this;this.di=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk);this.De=!this.di&&"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.Gb=!!b.dc;this.gf="undefined"!==typeof window.AppMobi||this.Gb;this.Dc=!!window.c2cocoonjs;this.wd=!!window.c2ejecta;
this.Dc&&(CocoonJS.App.onSuspended.addEventListener(function(){f.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){f.setSuspended(!1)}));this.wd&&(document.addEventListener("pagehide",function(){f.setSuspended(!0)}),document.addEventListener("pageshow",function(){f.setSuspended(!1)}),document.addEventListener("resize",function(){f.setSize(window.innerWidth,window.innerHeight)}));this.Sa=this.Gb||this.Dc||this.wd;this.Xm=/tizen/i.test(navigator.userAgent);this.ci=/android/i.test(navigator.userAgent)&&
!this.Xm;this.hi=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.an=/ipad/i.test(navigator.userAgent);this.wk=this.hi||this.an||this.wd;this.jr=this.hi&&/os\s6/i.test(navigator.userAgent);this.ig=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);this.br=/amazonwebappplatform/i.test(navigator.userAgent);this.Um=/firefox/i.test(navigator.userAgent);this.Wm=!this.ig&&/safari/i.test(navigator.userAgent);this.fr=/windows/i.test(navigator.userAgent);
this.Xd="undefined"!==typeof window.c2nodewebkit||/nodewebkit/i.test(navigator.userAgent);this.hr=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.ir=!("undefined"===typeof window.c2isWindows8Capable||!window.c2isWindows8Capable);this.uk=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.Zm=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.Ym=this.hr||this.ir||this.Zm;this.cr=!("undefined"===typeof window.c2isBlackberry10||
!window.c2isBlackberry10);this.Tm=this.ci&&!this.ig&&!this.Um&&!this.br&&!this.Sa;this.devicePixelRatio=1;this.fd=this.De||this.di||this.gf||this.Dc||this.ci||this.wk||this.uk||this.Zm||this.cr||this.Xm||this.wd;this.fd||(this.fd=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.Xd||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||(this.Xd=!0);this.dr="undefined"!==
typeof cr_is_preview&&-1<window.location.search.indexOf("debug");this.canvas=b;this.jm=document.getElementById("c2canvasdiv");this.la=this.P=this.ud=null;this.Rj="";this.Qh=!1;this.un=this.vn=0;this.canvas.oncontextmenu=function(f){f.preventDefault&&f.preventDefault();return!1};this.canvas.onselectstart=function(f){f.preventDefault&&f.preventDefault();return!1};this.Gb&&(window.c2runtime=this);this.Xd&&(window.It=function(f){f.preventDefault();return!1},window.Jt=function(f){f.preventDefault();return!1},
require("nw.gui").App.clearCache());this.width=b.width;this.height=b.height;this.U=this.width;this.T=this.height;this.Fh=this.width;this.Eh=this.height;this.sg=window.innerWidth;this.rg=window.innerHeight;this.ra=!0;this.kg=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.B=[];this.Pa=[];this.Bk={};this.Tc=[];this.Nj={};this.rd=[];this.Jf=[];this.ij=[];this.xp=[];this.yp=[];this.bn=this.io=null;this.bd=new ca;this.qk=!1;this.Rc=0;this.sk=!1;this.Mb=[];this.zd=
this.Ib=this.si=this.nl="";this.Xg=this.fo=!1;this.Gj=this.xg=this.Ud=this.dd=0;this.Ef=1;this.Ec=new Ua;this.li=0;this.ln=!0;this.Bi=this.Uh=this.Nh=this.md=this.tg=this.Qj=0;this.Rf=null;this.Kh=[];this.Mj=[];this.Mh=-1;this.Hk=[[]];this.Bl=this.xi=0;this.Ni(null);this.Xf=this.qn=this.Dg=0;this.Yg=[];this.fj=this.Oi=-1;this.ng=!0;this.wi=0;this.jg=!1;this.Tr=0;this.Vq=!1;this.zk=0;this.Zb=this.fk=this.fl=!1;this.Ok=new ca;this.Pk=new ca;this.Pi=[];this.Zc=new Wa([]);this.ul=new Wa([]);this.Xe=[];
this.Zh={};this.Ze={};this.We={};this.If={};this.gm={};this.hn=this.qi=this.cc=this.rc=this.gn=this.pi=this.ka=null;this.Ff=this.vk=!1;this.Sj=[null,null];this.we=0;this.Oj="";this.be={};this.Yi=this.pf=null;this.load();this.devicePixelRatio=(this.Ee=(!this.Sa||this.wd)&&this.es&&!this.Tm)?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.sb();var m,g=this.uj&&!(this.Xd||this.Ym||this.uk||this.di);0<this.Wb&&this.setSize(window.innerWidth,
window.innerHeight,!0);try{this.Up&&(this.Dc||this.wd||!this.Sa)&&(m={alpha:g,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},this.ud=b.getContext("webgl",m)||b.getContext("experimental-webgl",m))}catch(a){}if(this.ud){this.Sa||(this.ob=document.createElement("canvas"),jQuery(this.ob).appendTo(this.canvas.parentNode),this.ob.oncontextmenu=M(!1),this.ob.onselectstart=M(!1),this.ob.width=this.Fh,this.ob.height=this.Eh,jQuery(this.ob).css({width:this.Fh+"px",height:this.Eh+"px"}),this.Ln(),this.Yk=
this.ob.getContext("2d"));this.P=new aa.zs(this.ud,this.fd);this.P.Tg(b.width,b.height);this.la=null;this.canvas.addEventListener("webglcontextlost",function(b){b.preventDefault();f.qr();console.log("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){f.P.Gt();f.P.Tg(f.P.width,f.P.height,!0);f.rc=null;f.cc=null;f.Sj[0]=null;f.Sj[1]=null;f.rr();f.ra=!0;console.log("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},
!1);var e,c,l,d,h,p;b=0;for(m=this.B.length;b<m;b++)for(c=this.B[b],g=0,e=c.O.length;g<e;g++)d=c.O[g],d.pb=this.P.Im(d.id),this.Ff=this.Ff||this.P.Li(d.pb);b=0;for(m=this.Tc.length;b<m;b++){h=this.Tc[b];g=0;for(e=h.O.length;g<e;g++)d=h.O[g],d.pb=this.P.Im(d.id);g=0;for(e=h.aa.length;g<e;g++)for(p=h.aa[g],c=0,l=p.O.length;c<l;c++)d=p.O[c],d.pb=this.P.Im(d.id),this.Ff=this.Ff||this.P.Li(d.pb)}}else{if(0<this.Wb&&this.Gb){this.canvas=null;document.oncontextmenu=M(!1);document.onselectstart=M(!1);this.la=
AppMobi.canvas.getContext("2d");try{this.la.samplingMode=this.da?"smooth":"sharp",this.la.globalScale=1,this.la.HTML5CompatibilityMode=!0,this.la.imageSmoothingEnabled=this.da}catch(r){}0!==this.width&&0!==this.height&&(this.la.width=this.width,this.la.height=this.height)}this.la||(m=this.Dc?{antialias:!!this.da,alpha:g}:{alpha:g},this.la=b.getContext("2d",m),this.la.webkitImageSmoothingEnabled=this.da,this.la.mozImageSmoothingEnabled=this.da,this.la.msImageSmoothingEnabled=this.da,this.la.imageSmoothingEnabled=
this.da);this.Yk=this.ob=null}this.dj=function(){f.Wa(!1)};window==window.top||this.Sa||this.Ym||this.uk||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.Dc&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(da("Reloading for continuous preview"),this.si="__c2_continuouspreview",this.Xg=!0),this.Ar&&
!this.fd&&(jQuery(window).focus(function(){f.setSuspended(!1)}),jQuery(window).blur(function(){f.setSuspended(!0)})));0===this.Wb&&this.Ee&&1<this.devicePixelRatio&&this.setSize(this.ib,this.hb,!0);this.uo();this.go();this.R={}}}function n(b){b.target.result.createObjectStore("saves",{keyPath:"slot"})}function d(b,f,m,g){var a=indexedDB.open("_C2SaveStates");a.onupgradeneeded=n;a.onerror=g;a.onsuccess=function(a){a=a.target.result;a.onerror=g;a.transaction(["saves"],"readwrite").objectStore("saves").put({slot:b,
data:f}).onsuccess=m}}function h(b,f,m){var g=indexedDB.open("_C2SaveStates");g.onupgradeneeded=n;g.onerror=m;g.onsuccess=function(g){g=g.target.result;g.onerror=m;var a=g.transaction(["saves"]).objectStore("saves").get(b);a.onsuccess=function(){a.result?f(a.result.data):f(null)}}}function a(){da("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function e(b){var f,m=
{};for(f in b)!b.hasOwnProperty(f)||b[f]instanceof ca||b[f]&&"undefined"!==typeof b[f].tt||(m[f]=b[f]);return m}k.prototype.setSize=function(b,f,m){var g=0,a=0,e=0,c=0,c=0,l=this.jr&&this.Wm&&!navigator.standalone&&!this.Sa&&!this.De;l&&(f+=60);if(this.sg!==b||this.rg!==f||m){this.sg=b;this.rg=f;var d=this.Wb,h=document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.jg;if(h||0!==this.Wb||m)h&&0<this.we&&(d=this.we),4<=d?(m=this.ib/this.hb,b/f>
m?(e=f*m,5===d?(c=e/this.ib,1<c?c=Math.floor(c):1>c&&(c=1/Math.ceil(1/c)),e=this.ib*c,c*=this.hb,g=(b-e)/2,a=(f-c)/2,b=e,f=c):(g=(b-e)/2,b=e)):(c=b/m,5===d?(c/=this.hb,1<c?c=Math.floor(c):1>c&&(c=1/Math.ceil(1/c)),e=this.ib*c,c*=this.hb,g=(b-e)/2,a=(f-c)/2,b=e):a=(f-c)/2,f=c),h&&!this.Xd&&(a=g=0),g=Math.floor(g),a=Math.floor(a),b=Math.floor(b),f=Math.floor(f)):this.Xd&&this.jg&&0===this.zm&&(g=Math.floor((b-this.ib)/2),a=Math.floor((f-this.hb)/2),b=this.ib,f=this.hb),2>d&&(this.Qf=this.devicePixelRatio),
this.Ee&&this.an&&1<this.devicePixelRatio&&(1024<=b&&(b=1023),1024<=f&&(f=1023)),h=this.devicePixelRatio,this.Fh=b,this.Eh=f,this.width=Math.round(b*h),this.height=Math.round(f*h),this.ra=!0,this.Fo?(this.U=this.width,this.T=this.height,this.Bc=!0):this.width<this.ib&&this.height<this.hb||1===d?(this.U=this.width,this.T=this.height,this.Bc=!0):(this.U=this.ib,this.T=this.hb,this.Bc=!1,2===d?(m=this.ib/this.hb,d=this.sg/this.rg,d<m?this.U=this.T*d:d>m&&(this.T=this.U/d)):3===d&&(m=this.ib/this.hb,
d=this.sg/this.rg,d>m?this.U=this.T*d:d<m&&(this.T=this.U/d))),this.jm&&!this.Sa&&(jQuery(this.jm).css({width:b+"px",height:f+"px","margin-left":g,"margin-top":a}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:b+"px",height:f+"px"})),this.canvas&&(this.canvas.width=Math.round(b*h),this.canvas.height=Math.round(f*h),this.wd?(this.canvas.style.left=g+"px",this.canvas.style.top=a+"px",this.canvas.style.width=b+"px",this.canvas.style.height=f+"px"):this.Ee&&!this.Sa&&jQuery(this.canvas).css({width:b+
"px",height:f+"px"})),this.ob&&(this.ob.width=b,this.ob.height=f,jQuery(this.ob).css({width:b+"px",height:f+"px"})),this.P&&this.P.Tg(Math.round(b*h),Math.round(f*h)),this.Gb&&this.la&&(this.la.width=b,this.la.height=f),this.la&&(this.la.webkitImageSmoothingEnabled=this.da,this.la.mozImageSmoothingEnabled=this.da,this.la.msImageSmoothingEnabled=this.da,this.la.imageSmoothingEnabled=this.da),this.uo(),this.Sa||!l&&!this.hi||window.setTimeout(function(){window.scrollTo(0,1)},100)}};k.prototype.uo=function(){if(this.zp&&
0!==this.Wk){var b="portrait";2===this.Wk&&(b="landscape");screen.lockOrientation?screen.lockOrientation(b):screen.webkitLockOrientation?screen.webkitLockOrientation(b):screen.mozLockOrientation?screen.mozLockOrientation(b):screen.msLockOrientation&&screen.msLockOrientation(b)}};k.prototype.qr=function(){this.vk=!0;var b,f,m;b=0;for(f=this.B.length;b<f;b++)m=this.B[b],m.Ci&&m.Ci()};k.prototype.rr=function(){this.vk=!1;var b,f,m;b=0;for(f=this.B.length;b<f;b++)m=this.B[b],m.Uk&&m.Uk()};k.prototype.Ln=
function(){if(!this.Sa){var b=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.jg?jQuery(this.canvas).offset():jQuery(this.canvas).position();b.position="absolute";jQuery(this.ob).css(b)}};var l=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;k.prototype.setSuspended=function(b){var f;if(b&&!this.kg)for(da("[Construct 2] Suspending"),
this.kg=!0,-1!==this.Oi&&l&&l(this.Oi),-1!==this.fj&&clearTimeout(this.fj),b=0,f=this.Yg.length;b<f;b++)this.Yg[b](!0);else if(!b&&this.kg){da("[Construct 2] Resuming");this.kg=!1;this.li=Ta();this.tg=Ta();b=this.xg=this.Uh=0;for(f=this.Yg.length;b<f;b++)this.Yg[b](!1);this.Wa(!1)}};k.prototype.wp=function(b){this.Yg.push(b)};k.prototype.load=function(){var b=Ub();this.name=b[0];this.ym=b[1];this.Wb=b[11];this.zm=b[11];this.ib=b[9];this.hb=b[10];this.Hn=this.ib/2;this.In=this.hb/2;this.Sa&&!this.wd&&
(4<=b[11]||0===b[11])&&(da("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.zm=this.Wb=3);this.El=b[17];this.wg=b[18];0===this.wg&&(this.pf=new Image,this.pf.src="loading-logo.png");this.Dg=b[20];this.ld=new Y(this);var f,m,g,a,e,c,l,d,h;f=0;for(m=b[2].length;f<m;f++)l=b[2][f],cb(l),h=new l[0](this),h.Xi=l[1],h.Yd=l[2],h.on=l[9],h.X&&h.X(),this.plugins.push(h);b=Ub();f=0;for(m=b[3].length;f<m;f++){l=b[3][f];e=l[1];h=null;g=0;
for(a=this.plugins.length;g<a;g++)if(this.plugins[g]instanceof e){h=this.plugins[g];break}var p=new h.za(h);p.name=l[0];p.M=l[2];p.ok=l[3].slice(0);p.hs=l[3].length;p.Ap=l[4];p.wq=l[5];p.Y=l[11];p.M?(p.sf=[],p.sd=this.Xf++,p.Aa=null):(p.sf=null,p.sd=-1,p.Aa=[]);p.Oh=null;p.cf=null;p.um=null;p.pc=!1;p.Ub=null;l[6]?(p.wl=l[6][0],p.xl=l[6][1],p.yl=l[6][2]):(p.wl=null,p.xl=0,p.yl=0);p.Sb=l[7]?l[7]:null;p.index=f;p.j=[];p.Ih=[];p.ie=[new db(p)];p.qd=0;p.yc=null;p.Qp=0;p.Df=!0;p.jj=eb;p.Em=fb;p.Fq=gb;p.ja=
hb;p.Ng=ib;p.Mi=jb;p.Le=kb;p.Vh=ob;p.Wj=pb;p.$j=qb;p.Pc=rb;p.Fm=sb;p.Ch=new Xa(this.ib,this.hb);p.qh=!0;p.rh=!1;p.R={};p.toString=tb;p.Pa=[];g=0;for(a=l[8].length;g<a;g++){d=l[8][g];var r=d[1],q=null;e=0;for(c=this.Pa.length;e<c;e++)if(this.Pa[e]instanceof r){q=this.Pa[e];break}q||(q=new r(this),q.Ai=[],q.Mk=new ca,q.X&&q.X(),this.Pa.push(q),Vb&&q instanceof Vb&&(this.io=q),Tb.lr&&q instanceof Tb.lr&&(this.bn=q));-1===q.Ai.indexOf(p)&&q.Ai.push(p);e=new q.za(q,p);e.name=d[0];e.Y=d[2];e.X();p.Pa.push(e)}p.global=
l[9];p.rk=l[10];p.O=[];g=0;for(a=l[12].length;g<a;g++)p.O.push({id:l[12][g][0],name:l[12][g][1],pb:-1,tb:!0,index:g});p.Rt=l[13];this.El&&!p.M&&!p.rk&&h.Yd||p.X();p.name&&(this.types[p.name]=p);this.B.push(p);h.Xi&&(g=new h.qa(p),g.uid=this.Dg++,g.Pn=this.qn++,g.ze=0,g.cg=ub,g.toString=vb,g.G=l[14],g.X(),p.j.push(g),this.be[g.uid.toString()]=g)}f=0;for(m=b[4].length;f<m;f++)for(e=b[4][f],c=this.B[e[0]],g=1,a=e.length;g<a;g++)l=this.B[e[g]],l.Aa.push(c),c.sf.push(l);f=0;for(m=b[23].length;f<m;f++){e=
b[23][f];c=[];g=0;for(a=e.length;g<a;g++)c.push(this.B[e[g]]);g=0;for(a=c.length;g<a;g++)c[g].pc=!0,c[g].Ub=c}if(0<this.Xf)for(f=0,m=this.B.length;f<m;f++)if(l=this.B[f],!l.M&&l.Aa.length){l.Oh=Array(this.Xf);l.cf=Array(this.Xf);l.um=Array(this.Xf);p=[];g=q=r=d=0;for(a=l.Aa.length;g<a;g++)for(h=l.Aa[g],l.Oh[h.sd]=d,d+=h.hs,l.cf[h.sd]=r,r+=h.Ap,l.um[h.sd]=q,q+=h.wq,e=0,c=h.O.length;e<c;e++)p.push(ra({},h.O[e]));l.O=p.concat(l.O);g=0;for(a=l.O.length;g<a;g++)l.O[g].index=g}f=0;for(m=b[5].length;f<m;f++)l=
b[5][f],g=new wb(this,l),this.Bk[g.name]=g,this.Tc.push(g);f=0;for(m=b[6].length;f<m;f++)l=b[6][f],g=new xb(this,l),this.Nj[g.name]=g,this.rd.push(g);f=0;for(m=this.rd.length;f<m;f++)this.rd[f].Na();f=0;for(m=this.rd.length;f<m;f++)this.rd[f].zo();f=0;for(m=this.ij.length;f<m;f++)this.ij[f].Na();this.ij.length=0;this.Oj=b[7];this.jd=b[8];this.Qf=1;this.Up=b[12];this.da=b[13];this.uj=b[14];this.es=b[16];this.Wk=b[19];this.zp=0<this.Wk;this.Ar=b[21];this.Bc=this.Fo=b[22];this.Zi=Date.now()};var c=!1;
k.prototype.Eo=function(b){b.onerror=function(f){c=b.Dp=!0;console&&console.error&&console.error("Error loading image '"+b.src+"': ",f)};this.Jf.push(b)};k.prototype.uq=function(b){var f,m;f=0;for(m=this.Jf.length;f<m;f++)if(this.Jf[f].Lp===b)return this.Jf[f];return null};k.prototype.fm=function(){var b=0,f=0,m=!0,g,a,e;g=0;for(a=this.Jf.length;g<a;g++){e=this.Jf[g];var c=e.nm;if(!c||0>=c)c=5E4;b+=c;!e.complete&&!e.loaded||e.Dp?m=!1:f+=c}this.Me=0==b?0:f/b;return m};k.prototype.go=function(){if(this.la||
this.P){var b=this.la||this.Yk;this.ob&&this.Ln();this.Me=0;this.dn=-1;if(this.fm())this.Tq();else{var f=Date.now()-this.Zi;if(b){var m=this.width,g=this.height,a=this.devicePixelRatio;this.ob&&(m=this.Fh,g=this.Eh,a=1);if(3!==this.wg&&(this.Dc||500<=f&&this.dn!=this.Me)){b.clearRect(0,0,m,g);var f=m/2,g=g/2,m=0===this.wg&&this.pf.complete,e=40*a,l=0,d=80*a,p;m&&(d=this.pf.width*a,p=this.pf.height*a,e=d/2,l=p/2,b.drawImage(this.pf,S(f-e),S(g-l),d,p));1>=this.wg?(f=S(f-e)+0.5,g=S(g+(l+(m?12*a:0)))+
0.5,b.fillStyle=c?"red":"DodgerBlue",b.fillRect(f,g,Math.floor(d*this.Me),6*a),b.strokeStyle="black",b.strokeRect(f,g,d,6*a),b.strokeStyle="white",b.strokeRect(f-1*a,g-1*a,d+2*a,8*a)):2===this.wg&&(b.font=this.wd?"12pt ArialMT":"12pt Arial",b.fillStyle=c?"#f00":"#999",b.Qt="middle",a=Math.round(100*this.Me)+"%",m=b.measureText?b.measureText(a):null,b.fillText(a,f-(m?m.width:0)/2,g))}this.dn=this.Me}setTimeout(function(f){return function(){f.go()}}(this),this.Dc?10:100)}}};k.prototype.Tq=function(){this.ob&&
(this.canvas.parentNode.removeChild(this.ob),this.ob=this.Yk=null);this.Zi=Date.now();this.tg=Ta();var b,f,m;if(this.El)for(b=0,f=this.B.length;b<f;b++)m=this.B[b],m.M||m.rk||!m.Ba.Yd||m.X();else this.ng=!1;b=0;for(f=this.Tc.length;b<f;b++)this.Tc[b].Mp();2<=this.Wb&&(b=this.ib/this.hb,f=this.width/this.height,this.Qf=2!==this.Wb&&f>b||2===this.Wb&&f<b?this.height/this.hb:this.width/this.ib);this.ym?this.Bk[this.ym].sl():this.Tc[0].sl();this.El||(this.wi=1,this.trigger(Y.prototype.q.Ql,null));navigator.splashscreen&&
navigator.splashscreen.hide&&navigator.splashscreen.hide();b=0;for(f=this.B.length;b<f;b++)m=this.B[b],m.pr&&m.pr();this.Wa(!1);this.Gb&&AppMobi.webview.execute("onGameReady();")};var p=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;k.prototype.Wa=function(b){if(this.ka){var f=Ta();if(this.Vq&&this.fl&&29>f-this.zk)this.fl=!1,this.zk=f,p?this.Oi=p(this.dj,this.canvas):this.fj=setTimeout(this.dj,
this.fd?1:16);else{this.fl=!0;this.zk=f;var m=this.Wb,g=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement;(g||this.jg)&&0<this.we&&(m=this.we);if(0<m&&(!this.hi||window.self!==window.top)){var m=window.innerWidth,a=window.innerHeight;this.sg===m&&this.rg===a||this.setSize(m,a)}this.Sa||(g?(this.Qh||(this.Rj=jQuery(this.canvas).css("margin")||"0",this.Qh=!0),this.ig||this.Xd||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.Qh?(this.ig||this.Xd||jQuery(this.canvas).css("margin",this.Rj),this.Rj="",this.Qh=!1,0===this.Wb&&this.setSize(Math.round(this.vn/this.devicePixelRatio),Math.round(this.un/this.devicePixelRatio),!0)):(this.vn=this.width,this.un=this.height));this.ng&&(g=this.fm(),this.wi=this.Me,g&&(this.ng=!1,this.Me=1,this.trigger(Y.prototype.q.Ql,null)));this.nr();!this.ra&&!this.Dc||this.vk||
this.Xg||b||(this.ra=!1,this.P?this.Ac():this.cd(),this.Yi&&(this.canvas&&this.canvas.toDataURL&&(this.canvas.toDataURL(this.Yi[0],this.Yi[1]),this.trigger(Y.prototype.q.So,null)),this.Yi=null));this.Ft||(this.md++,this.Nh++,this.Uh++);this.xg+=Ta()-f;this.kg||b||(p?this.Oi=p(this.dj,this.canvas):this.fj=setTimeout(this.dj,this.fd?1:16))}}};k.prototype.nr=function(){var b,f,m,g,a,e,c,l,d;b=Ta();1E3<=b-this.tg&&(this.tg+=1E3,this.Qj=this.Uh,this.Uh=0,this.Gj=this.xg,this.xg=0);this.ln&&(0!==this.li&&
(f=b-this.li,0!==f||this.dr?(this.Ud=f/1E3,0.5<this.Ud?this.Ud=0:0.1<this.Ud&&(this.Ud=0.1)):(10<=this.Ut&&(this.ln=!1),this.Ud=1/60)),this.li=b);this.dd=this.Ud*this.Ef;this.Ec.add(this.dd);b=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.jg;2<=this.Wb||b&&0<this.we?(f=this.ib/this.hb,m=this.width/this.height,g=this.Wb,b&&0<this.we&&(g=this.we),this.Qf=2!==g&&m>f||2===g&&m<f?this.height/this.hb:this.width/this.ib,this.ka&&(this.ka.Xn(this.ka.scrollX),
this.ka.Yn(this.ka.scrollY))):this.Qf=this.Ee?this.devicePixelRatio:1;this.sb();this.Rc++;this.ld.Hr();this.Rc--;this.sb();this.Rc++;b=0;for(f=this.B.length;b<f;b++)if(c=this.B[b],!c.M&&(c.Pa.length||c.Aa.length))for(m=0,g=c.j.length;m<g;m++)for(l=c.j[m],a=0,e=l.S.length;a<e;a++)l.S[a].Wa();b=0;for(f=this.B.length;b<f;b++)if(c=this.B[b],!c.M&&(c.Pa.length||c.Aa.length))for(m=0,g=c.j.length;m<g;m++)for(l=c.j[m],a=0,e=l.S.length;a<e;a++)d=l.S[a],d.Mn&&d.Mn();m=this.Ok.Gf();b=0;for(f=m.length;b<f;b++)m[b].Wa();
this.Rc--;this.Wq();for(b=0;this.Rf&&10>b++;)this.rm(this.Rf);b=0;for(f=this.rd.length;b<f;b++)this.rd[b].hk=!1;this.ka.Vf&&this.ka.Vf.Ua();this.Pi.length=0;this.Rc++;b=0;for(f=this.B.length;b<f;b++)if(c=this.B[b],!c.M&&(c.Pa.length||c.Aa.length))for(m=0,g=c.j.length;m<g;m++)for(l=c.j[m],a=0,e=l.S.length;a<e;a++)d=l.S[a],d.cj&&d.cj();m=this.Pk.Gf();b=0;for(f=m.length;b<f;b++)m[b].cj();this.Rc--};k.prototype.rm=function(b){var f=this.ka;this.ka.Ur();var m,g,a,e,c,l,d;if(this.P)for(m=0,g=this.B.length;m<
g;m++)c=this.B[m],c.M||!c.Dl||c.global&&0!==c.j.length||-1!==b.gg.indexOf(c)||c.Dl();f==b&&(this.ld.kc.length=0);b.sl();m=0;for(g=this.B.length;m<g;m++)if(c=this.B[m],c.global||c.Ba.Xi)for(b=0,f=c.j.length;b<f;b++)if(l=c.j[b],l.Tk&&l.Tk(),l.S)for(a=0,e=l.S.length;a<e;a++)d=l.S[a],d.Tk&&d.Tk();this.ra=!0;this.sb()};k.prototype.ej=function(b){this.Ok.add(b)};k.prototype.Wr=function(b){this.Pk.add(b)};k.prototype.$f=function(b){return b&&-1!==b.Cg?this.Ud*b.Cg:this.dd};k.prototype.cd=function(){this.ka.cd(this.la);
this.Gb&&this.la.present()};k.prototype.Ac=function(){this.ka.Ac(this.P);this.P.Lt()};k.prototype.ph=function(b){b&&this.Kh.push(b)};k.prototype.Tn=function(b){ya(this.Kh,b)};k.prototype.xe=function(b){b=b.toString();return this.be.hasOwnProperty(b)?this.be[b]:null};k.prototype.oe=function(b){var f,m;if(!this.bd.contains(b)){this.bd.add(b);if(b.pc)for(f=0,m=b.siblings.length;f<m;f++)this.oe(b.siblings[f]);this.qk&&this.bd.Hf.push(b);this.Rc++;this.trigger(Object.getPrototypeOf(b.type.Ba).q.Uo,b);
this.Rc--}};k.prototype.sb=function(){var b,f,m,g,a,e,c,l,d,p;this.qk=!0;g=0;for(e=this.Mb.length;g<e;g++)for(b=this.Mb[g],f=b.type,f.j.push(b),a=0,c=f.Aa.length;a<c;a++)f.Aa[a].j.push(b),f.Aa[a].Df=!0;this.Mb.length=0;e=this.bd.Gf();for(g=0;g<e.length;g++){b=e[g];f=b.type;m=f.j;a=0;for(c=this.Kh.length;a<c;a++)this.Kh[a](b);ya(m,b);0===m.length&&(f.rh=!1);b.Bh&&f.Ch.update(b,b.Bh,null);b.n&&(ta(b.n.j,b.oc()),b.n.lc=!0);a=0;for(c=f.Aa.length;a<c;a++)ya(f.Aa[a].j,b),f.Aa[a].Df=!0;if(b.S)for(a=0,c=
b.S.length;a<c;a++)m=b.S[a],m.Ke&&m.Ke(),m.Oa.Mk.remove(b);this.Ok.remove(b);this.Pk.remove(b);a=0;for(c=this.ld.kc.length;a<c;a++)if(d=this.ld.kc[a],d.hc.hasOwnProperty(f.index)&&ya(d.hc[f.index].Ce,b),!f.M)for(m=0,l=f.Aa.length;m<l;m++)p=f.Aa[m],d.hc.hasOwnProperty(p.index)&&ya(d.hc[p.index].Ce,b);b.Ke&&b.Ke();this.be.hasOwnProperty(b.uid.toString())&&delete this.be[b.uid.toString()];this.Bi--;64>f.Ih.length&&f.Ih.push(b);f.Df=!0}this.bd.Qc()||(this.ra=!0);this.bd.clear();this.qk=!1};k.prototype.om=
function(b,f,m,g){if(b.M){var a=S(Math.random()*b.sf.length);return this.om(b.sf[a],f,m,g)}return b.yc?this.Td(b.yc,f,!1,m,g,!1):null};var r=[];k.prototype.Td=function(b,f,m,g,a,e){var c,l,d,p;if(!b)return null;var h=this.B[b[1]],q=h.Ba.Yd;if(this.ng&&q&&!h.rk||q&&!this.P&&11===b[0][11])return null;var t=f;q||(f=null);var k;h.Ih.length?(k=h.Ih.pop(),k.gc=!0,h.Ba.qa.call(k,h)):(k=new h.Ba.qa(h),k.gc=!1);k.uid=m&&!e?b[2]:this.Dg++;this.be[k.uid.toString()]=k;k.Pn=this.qn++;k.ze=h.j.length;c=0;for(l=
this.Mb.length;c<l;++c)this.Mb[c].type===h&&k.ze++;k.cg=ub;d=b[3];if(k.gc)Sa(k.R);else{k.R={};if("undefined"!==typeof cr_is_preview)for(k.Rm=[],k.Rm.length=d.length,c=0,l=d.length;c<l;c++)k.Rm[c]=d[c][1];k.Za=[];k.Za.length=d.length}c=0;for(l=d.length;c<l;c++)k.Za[c]=d[c][0];if(q){var n=b[0];k.x=ea(g)?n[0]:g;k.y=ea(a)?n[1]:a;k.z=n[2];k.width=n[3];k.height=n[4];k.depth=n[5];k.k=n[6];k.opacity=n[7];k.Nb=n[8];k.Ob=n[9];k.Lb=n[10];c=n[11];!this.P&&h.O.length&&(k.Lb=c);k.Sf=Ya(k.Lb);this.ud&&Za(k,k.Lb,
this.ud);if(k.gc){c=0;for(l=n[12].length;c<l;c++)for(d=0,p=n[12][c].length;d<p;d++)k.Ha[c][d]=n[12][c][d];k.Ka.set(0,0,0,0);k.Bh.set(0,0,-1,-1);k.Eb.Ug(k.Ka);k.yj.length=0}else{k.Ha=n[12].slice(0);c=0;for(l=k.Ha.length;c<l;c++)k.Ha[c]=n[12][c].slice(0);k.ca=[];k.Od=[];k.Od.length=h.O.length;k.Ka=new pa(0,0,0,0);k.Bh=new pa(0,0,-1,-1);k.Eb=new qa;k.yj=[];k.C=yb;k.st=zb;k.Vb=Ab;k.Fa=Bb;k.Co=Cb;k.oc=Db}k.Zg=!1;k.Zr=0;k.Yr=0;k.Xr=null;14===n.length&&(k.Zg=!0,k.Zr=n[13][0],k.Yr=n[13][1],k.Xr=n[13][2]);
c=0;for(l=h.O.length;c<l;c++)k.Od[c]=!0;k.Ld=Eb;k.Ld();k.Do=!!k.ca.length;k.xj=!0;k.Cj=!0;h.qh=!0;k.visible=!0;k.Cg=-1;k.n=f;k.Se=f.j.length;"undefined"===typeof k.ea&&(k.ea=null);this.ra=k.od=!0}k.toString=vb;var s;c=r.length=0;for(l=h.Aa.length;c<l;c++)r.push.apply(r,h.Aa[c].Pa);r.push.apply(r,h.Pa);if(k.gc)for(c=0,l=r.length;c<l;c++){var v=r[c];s=k.S[c];s.gc=!0;v.Oa.qa.call(s,v,k);n=b[4][c];d=0;for(p=n.length;d<p;d++)s.G[d]=n[d];s.X();v.Oa.Mk.add(k)}else for(k.S=[],c=0,l=r.length;c<l;c++)v=r[c],
s=new v.Oa.qa(v,k),s.gc=!1,s.G=b[4][c].slice(0),s.X(),k.S.push(s),v.Oa.Mk.add(k);n=b[5];if(k.gc)for(c=0,l=n.length;c<l;c++)k.G[c]=n[c];else k.G=n.slice(0);this.Mb.push(k);f&&(f.j.push(k),1!==f.Fc||1!==f.Gc)&&(h.rh=!0);this.Bi++;if(h.pc){if(k.pc=!0,k.gc?k.siblings.length=0:k.siblings=[],!m&&!e){c=0;for(l=h.Ub.length;c<l;c++)if(h.Ub[c]!==h){if(!h.Ub[c].yc)return null;k.siblings.push(this.Td(h.Ub[c].yc,t,!1,q?k.x:g,q?k.y:a,!0))}c=0;for(l=k.siblings.length;c<l;c++)for(k.siblings[c].siblings.push(k),d=
0;d<l;d++)c!==d&&k.siblings[c].siblings.push(k.siblings[d])}}else k.pc=!1,k.siblings=null;k.X();c=0;for(l=k.S.length;c<l;c++)k.S[c].Cr&&k.S[c].Cr();return k};k.prototype.bk=function(b){var f,m;f=0;for(m=this.ka.aa.length;f<m;f++){var g=this.ka.aa[f];if(ab(g.name,b))return g}return null};k.prototype.ag=function(b){b=S(b);0>b&&(b=0);b>=this.ka.aa.length&&(b=this.ka.aa.length-1);return this.ka.aa[b]};k.prototype.Ej=function(b){var f,m;f=0;for(m=b.length;f<m;f++)b[f].ja().ua=!0};k.prototype.Ng=function(b){var f,
m;f=0;for(m=b.length;f<m;f++)b[f].Ng()};k.prototype.Mi=function(b){var f,m;f=0;for(m=b.length;f<m;f++)b[f].Mi()};k.prototype.Le=function(b){var f,m;f=0;for(m=b.length;f<m;f++)b[f].Le()};k.prototype.yo=function(b){if(b.qh){var f,m,g=b.j;f=0;for(m=g.length;f<m;++f)g[f].Co();g=this.Mb;f=0;for(m=g.length;f<m;++f)g[f].type===b&&g[f].Co();b.qh=!1}};k.prototype.Bm=function(b,f,m,g){var a,c,e=b?1!==b.Fc||1!==b.Gc:!1;if(f.M)for(b=0,a=f.sf.length;b<a;++b)c=f.sf[b],e||c.rh?xa(g,c.j):(this.yo(c),c.Ch.Rn(m,g));
else e||f.rh?xa(g,f.j):(this.yo(f),f.Ch.Rn(m,g))};k.prototype.Km=function(b,f,m,g){var a,c;a=0;for(c=f.length;a<c;++a)this.Bm(b,f[a],m,g)};k.prototype.Gq=function(b,f,m){var g=this.io;g&&this.Km(b,g.Ai,f,m)};k.prototype.Dq=function(b,f,m){var g=this.bn;g&&this.Km(b,g.Ai,f,m)};k.prototype.Vr=function(b,f,m){var g=b.ja(),a,c,e,l,d,h;if(g.ua)for(g.ua=!1,a=g.j.length=0,l=b.j.length;a<l;a++)e=b.j[a],e.Fa(),d=e.n.Tb(f,m,!0),h=e.n.Tb(f,m,!1),e.Vb(d,h)&&g.j.push(e);else{a=c=0;for(l=g.j.length;a<l;a++)e=g.j[a],
e.Fa(),d=e.n.Tb(f,m,!0),h=e.n.Tb(f,m,!1),e.Vb(d,h)&&(g.j[c]=g.j[a],c++);g.j.length=c}b.Pc();return g.gk()};k.prototype.Kb=function(b,f){if(!(b&&f&&b!==f&&b.od&&f.od))return!1;b.Fa();f.Fa();var m=b.n,g=f.n,a,c,e,l,d,h,p,k;if(m===g||m.Fc===g.Fc&&g.Gc===g.Gc&&m.scale===g.scale&&m.k===g.k&&m.$c===g.$c){if(!b.Ka.Zq(f.Ka)||!b.Eb.Sm(f.Eb)||b.Zg&&f.Zg)return!1;if(b.Zg)return this.no(b,f);if(f.Zg)return this.no(f,b);p=b.ea&&!b.ea.jf();a=f.ea&&!f.ea.jf();if(!p&&!a)return!0;p?(b.ea.Ye(b.width,b.height,b.k),
p=b.ea):(this.Zc.Bf(b.Eb,b.x,b.y,b.width,b.height),p=this.Zc);a?(f.ea.Ye(f.width,f.height,f.k),k=f.ea):(this.Zc.Bf(f.Eb,f.x,f.y,f.width,f.height),k=this.Zc);return p.hg(k,f.x-b.x,f.y-b.y)}p=b.ea&&!b.ea.jf();a=f.ea&&!f.ea.jf();p?(b.ea.Ye(b.width,b.height,b.k),this.Zc.ao(b.ea)):this.Zc.Bf(b.Eb,b.x,b.y,b.width,b.height);p=this.Zc;a?(f.ea.Ye(f.width,f.height,f.k),this.ul.ao(f.ea)):this.ul.Bf(f.Eb,f.x,f.y,f.width,f.height);k=this.ul;a=0;for(c=p.Wc;a<c;a++)e=2*a,l=e+1,d=p.$a[e],h=p.$a[l],p.$a[e]=m.Da(d+
b.x,h+b.y,!0),p.$a[l]=m.Da(d+b.x,h+b.y,!1);p.Fa();a=0;for(c=k.Wc;a<c;a++)e=2*a,l=e+1,d=k.$a[e],h=k.$a[l],k.$a[e]=g.Da(d+f.x,h+f.y,!0),k.$a[l]=g.Da(d+f.x,h+f.y,!1);k.Fa();return p.hg(k,0,0)};var v=new qa;new pa(0,0,0,0);var q=[];k.prototype.no=function(b,f){var m,g,a,c,e=f.Ka,l=b.x,d=b.y;b.xt(e,q);var h=f.ea&&!f.ea.jf();m=0;for(g=q.length;m<g;++m)if(a=q[m],c=a.Nt,e.$q(c,l,d)&&(v.Ug(c),v.offset(l,d),v.Sm(f.Eb)))if(h)if(f.ea.Ye(f.width,f.height,f.k),a.$k){if(a.$k.hg(f.ea,f.x-(l+c.left),f.y-(d+c.top)))return q.length=
0,!0}else{if(this.Zc.Bf(v,0,0,c.right-c.left,c.bottom-c.top),this.Zc.hg(f.ea,f.x,f.y))return q.length=0,!0}else if(a.$k){if(this.Zc.Bf(f.Eb,0,0,f.width,f.height),a.$k.hg(this.Zc,-(l+c.left),-(d+c.top)))return q.length=0,!0}else return q.length=0,!0;q.length=0;return!1};k.prototype.vo=function(b,f){if(!f)return!1;var m,g,a,c,e;m=0;for(g=b.Pa.length;m<g;m++)if(b.Pa[m].Oa instanceof f)return!0;if(!b.M)for(m=0,g=b.Aa.length;m<g;m++)for(e=b.Aa[m],a=0,c=e.Pa.length;a<c;a++)if(e.Pa[a].Oa instanceof f)return!0;
return!1};k.prototype.wo=function(b){return this.vo(b,Tb.Ps)};k.prototype.Cl=function(b){return this.vo(b,Tb.Qs)};var w=[];k.prototype.mb=function(b){var f,m,g;b.Fa();this.Gq(b.n,b.Ka,w);f=0;for(m=w.length;f<m;++f)if(g=w[f],g.R.jo&&this.Kb(b,g))return w.length=0,g;w.length=0;return null};var t=[];k.prototype.Jd=function(b,f){var m=null;f&&(m=t,m.length=0);b.Fa();this.Dq(b.n,b.Ka,w);var g,a,c;g=0;for(a=w.length;g<a;++g)if(c=w[g],c.R.Ht&&this.Kb(b,c))if(f)m.push(c);else return w.length=0,c;w.length=
0;return m};k.prototype.Xc=function(b,f,m,g,a,c){g=g||50;var e=b.x,l=b.y,d,h=null,p=null;for(d=0;d<g;d++)if(b.x=e+f*d,b.y=l+m*d,b.C(),!this.Kb(b,h)&&((h=this.mb(b))&&(p=h),!h&&(a&&(h=c?this.Kb(b,c)?c:null:this.Jd(b))&&(p=h),!h)))return p&&this.cl(b,f,m,p),!0;b.x=e;b.y=l;b.C();return!1};k.prototype.cl=function(b,f,m,g){var a=2,c,e=!1;c=!1;for(var l=b.x,d=b.y;16>=a;)c=1/a,a*=2,b.x+=f*c*(e?1:-1),b.y+=m*c*(e?1:-1),b.C(),this.Kb(b,g)?c=e=!0:(c=e=!1,l=b.x,d=b.y);c&&(b.x=l,b.y=d,b.C())};k.prototype.Qn=function(b,
f){var m=ea(f)?100:f,g=0,a=b.x,c=b.y,e=0,l=0,d=0,h=this.mb(b);if(!h)return!0;for(;g<=m;){switch(e){case 0:l=0;d=-1;g++;break;case 1:l=1;d=-1;break;case 2:l=1;d=0;break;case 3:d=l=1;break;case 4:l=0;d=1;break;case 5:l=-1;d=1;break;case 6:l=-1;d=0;break;case 7:d=l=-1}e=(e+1)%8;b.x=S(a+l*g);b.y=S(c+d*g);b.C();if(!this.Kb(b,h)&&(h=this.mb(b),!h))return!0}b.x=a;b.y=c;b.C();return!1};k.prototype.yf=function(b,f){b.od&&f.od&&this.Pi.push([b,f])};k.prototype.Jp=function(b,f){var m,g,a;m=0;for(g=this.Pi.length;m<
g;m++)if(a=this.Pi[m],a[0]==b&&a[1]==f||a[0]==f&&a[1]==b)return!0;return!1};k.prototype.Fp=function(b,f,m){var g=b.x,a=b.y,c=ia(10,Ma(f,m,g,a)),e=Da(f,m,g,a),l=this.mb(b);if(!l)return V(e+ka);var d=l,h,p,k,r,q=U(5);for(h=1;36>h;h++)if(p=e-h*q,b.x=f+Math.cos(p)*c,b.y=m+Math.sin(p)*c,b.C(),!this.Kb(b,d)&&(d=this.mb(b),!d)){k=p;break}36===h&&(k=V(e+ka));d=l;for(h=1;36>h;h++)if(p=e+h*q,b.x=f+Math.cos(p)*c,b.y=m+Math.sin(p)*c,b.C(),!this.Kb(b,d)&&(d=this.mb(b),!d)){r=p;break}36===h&&(r=V(e+ka));b.x=g;
b.y=a;b.C();if(r===k)return r;b=Ea(r,k)/2;b=Ha(r,k)?V(k+b+ka):V(r+b);k=Math.cos(e);e=Math.sin(e);r=Math.cos(b);b=Math.sin(b);f=k*r+e*b;return Da(0,0,k-2*f*r,e-2*f*b)};var s=-1;k.prototype.trigger=function(b,f,m){if(!this.ka)return!1;var g=this.ka.Vf;if(!g)return!1;var a=!1,c,e,l;s++;var d=g.Kj;e=0;for(l=d.length;e<l;++e)c=this.so(b,f,d[e],m),a=a||c;c=this.so(b,f,g,m);s--;return a||c};k.prototype.so=function(b,f,m,g){var a=!1,c,e,l,d;if(f)for(l=this.Al(b,f,f.type.name,m,g),a=a||l,d=f.type.Aa,c=0,e=
d.length;c<e;++c)l=this.Al(b,f,d[c].name,m,g),a=a||l;else l=this.Al(b,f,"system",m,g),a=a||l;return a};k.prototype.Al=function(b,f,m,g,a){var c,e=!1,l=!1,l="undefined"!==typeof a,d=(l?g.wm:g.to)[m];if(!d)return e;var h=null;g=0;for(c=d.length;g<c;++g)if(d[g].method==b){h=d[g].Wf;break}if(!h)return e;b=l?h[a]:h;if(!b)return null;g=0;for(c=b.length;g<c;g++)a=b[g][0],l=b[g][1],l=this.tq(f,m,a,l),e=e||l;return e};k.prototype.tq=function(b,f,m,g){var a,c,e=!1;this.Bl++;var l=this.Fb().xc;l&&this.Ng(l.ge);
var d=1<this.Bl;this.Ng(m.ge);d&&this.Dr();var h=this.Ni(m);h.xc=m;b&&(a=this.types[f].ja(),a.ua=!1,a.j.length=1,a.j[0]=b,this.types[f].Pc());b=!0;if(m.parent){f=h.mo;for(a=m.parent;a;)f.push(a),a=a.parent;f.reverse();a=0;for(c=f.length;a<c;a++)if(!f[a].Jr()){b=!1;break}}b&&(this.Nh++,m.Uc?m.Ir(g):m.Ua(),e=e||h.He);this.Ii();d&&this.Br();this.Le(m.ge);l&&this.Le(l.ge);0!==this.Rc||0!==s||this.sk||this.bd.Qc()&&!this.Mb.length||this.sb();this.Bl--;return e};k.prototype.Yj=function(){var b=this.Fb();
return b.xc.bb[b.Xa]};k.prototype.Dr=function(){this.xi++;this.xi>=this.Hk.length&&this.Hk.push([])};k.prototype.Br=function(){this.xi--};k.prototype.Cm=function(){return this.Hk[this.xi]};k.prototype.Ni=function(b){this.Mh++;this.Mh>=this.Mj.length&&this.Mj.push(new Fb);var f=this.Fb();f.reset(b);return f};k.prototype.Ii=function(){this.Mh--};k.prototype.Fb=function(){return this.Mj[this.Mh]};k.prototype.Dm=function(b,f){for(var m,g,a,c,e,l;f;){m=0;for(g=f.Ic.length;m<g;m++)if(l=f.Ic[m],l instanceof
Gb&&ab(b,l.name))return l;f=f.parent}m=0;for(g=this.rd.length;m<g;m++)for(e=this.rd[m],a=0,c=e.Vd.length;a<c;a++)if(l=e.Vd[a],l instanceof Gb&&ab(b,l.name))return l;return null};k.prototype.Gm=function(b){var f,m;f=0;for(m=this.Tc.length;f<m;f++)if(this.Tc[f].Y===b)return this.Tc[f];return null};k.prototype.Xh=function(b){var f,m;f=0;for(m=this.B.length;f<m;f++)if(this.B[f].Y===b)return this.B[f];return null};k.prototype.Aq=function(b){var f,m;f=0;for(m=this.Xe.length;f<m;f++)if(this.Xe[f].Y===b)return this.Xe[f];
return null};k.prototype.Wq=function(){var b=this,f=this.nl,m=this.zd,g=this.si,c=!1;this.fo&&(c=!0,f="__c2_continuouspreview",this.fo=!1);if(f.length){this.sb();m=this.Nr();if(window.indexedDB&&!this.Dc)d(f,m,function(){da("Saved state to IndexedDB storage ("+m.length+" bytes)");b.zd=m;b.trigger(Y.prototype.q.rj,null);b.zd="";c&&a()},function(g){try{localStorage.setItem("__c2save_"+f,m),da("Saved state to WebStorage ("+m.length+" bytes)"),b.zd=m,b.trigger(Y.prototype.q.rj,null),b.zd="",c&&a()}catch(e){da("Failed to save game state: "+
g+"; "+e)}});else try{localStorage.setItem("__c2save_"+f,m),da("Saved state to WebStorage ("+m.length+" bytes)"),b.zd=m,this.trigger(Y.prototype.q.rj,null),b.zd="",c&&a()}catch(e){da("Error saving to WebStorage: "+e)}this.Ib=this.si=this.nl=""}g.length&&(window.indexedDB&&!this.Dc?h(g,function(f){f?(b.Ib=f,da("Loaded state from IndexedDB storage ("+b.Ib.length+" bytes)")):(b.Ib=localStorage.getItem("__c2save_"+g)||"",da("Loaded state from WebStorage ("+b.Ib.length+" bytes)"));b.Xg=!1;b.Ib.length||
b.trigger(Y.prototype.q.qj,null)},function(){b.Ib=localStorage.getItem("__c2save_"+g)||"";da("Loaded state from WebStorage ("+b.Ib.length+" bytes)");b.Xg=!1;b.Ib.length||b.trigger(Y.prototype.q.qj,null)}):(this.Ib=localStorage.getItem("__c2save_"+g)||"",da("Loaded state from WebStorage ("+this.Ib.length+" bytes)"),this.Xg=!1,b.Ib.length||b.trigger(Y.prototype.q.qj,null)),this.nl=this.si="");this.Ib.length&&(this.sb(),this.mr(this.Ib),this.zd=this.Ib,this.trigger(Y.prototype.q.cp,null),this.Ib=this.zd=
"")};k.prototype.Nr=function(){var b,f,m,g,a,c,l,d={c2save:!0,version:1,rt:{time:this.Ec.Va,timescale:this.Ef,tickcount:this.md,execcount:this.Nh,next_uid:this.Dg,running_layout:this.ka.Y,start_time_offset:Date.now()-this.Zi},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};b=0;for(f=this.B.length;b<f;b++)if(a=this.B[b],!a.M&&!this.wo(a)){c={instances:[]};Oa(a.R)&&(c.ex=e(a.R));m=0;for(g=a.j.length;m<g;m++)c.instances.push(this.ml(a.j[m]));d.types[a.Y.toString()]=c}b=0;for(f=this.Tc.length;b<
f;b++)m=this.Tc[b],d.layouts[m.Y.toString()]=m.Ab();g=d.events.groups;b=0;for(f=this.Xe.length;b<f;b++)m=this.Xe[b],g[m.Y.toString()]=this.Zh[m.dg].Yh;f=d.events.cnds;for(l in this.Ze)this.Ze.hasOwnProperty(l)&&(b=this.Ze[l],Oa(b.R)&&(f[l]={ex:e(b.R)}));f=d.events.acts;for(l in this.We)this.We.hasOwnProperty(l)&&(b=this.We[l],Oa(b.R)&&(f[l]={ex:b.R}));f=d.events.vars;for(l in this.If)this.If.hasOwnProperty(l)&&(b=this.If[l],b.ei||b.parent&&!b.mg||(f[l]=b.data));d.system=this.ld.Ab();return JSON.stringify(d)};
k.prototype.Sn=function(){var b,f,m,g,a,c;this.be={};b=0;for(f=this.B.length;b<f;b++)if(m=this.B[b],!m.M)for(g=0,a=m.j.length;g<a;g++)c=m.j[g],this.be[c.uid.toString()]=c};k.prototype.mr=function(b){b=JSON.parse(b);if(b.c2save&&!(1<b.version)){var f=b.rt;this.Ec.reset();this.Ec.Va=f.time;this.Ef=f.timescale;this.md=f.tickcount;this.Zi=Date.now()-f.start_time_offset;var m=f.running_layout;if(m!==this.ka.Y)if(m=this.Gm(m))this.rm(m);else return;var g,a,c,e,l,d,h;d=b.types;for(a in d)if(d.hasOwnProperty(a)&&
(e=this.Xh(parseInt(a,10)))&&!e.M&&!this.wo(e)){d[a].ex?e.R=d[a].ex:Sa(e.R);l=e.j;c=d[a].instances;m=0;for(g=ja(l.length,c.length);m<g;m++)this.ti(l[m],c[m]);m=c.length;for(g=l.length;m<g;m++)this.oe(l[m]);m=l.length;for(g=c.length;m<g;m++){l=null;if(e.Ba.Yd&&(l=this.ka.Wh(c[m].w.l),!l))continue;l=this.Td(e.yc,l,!1,0,0,!0);this.ti(l,c[m])}e.Df=!0}this.sb();this.Sn();g=b.layouts;for(a in g)g.hasOwnProperty(a)&&(m=this.Gm(parseInt(a,10)))&&m.Pb(g[a]);g=b.events.groups;for(a in g)g.hasOwnProperty(a)&&
(m=this.Aq(parseInt(a,10)))&&this.Zh[m.dg]&&(this.Zh[m.dg].Yh=g[a]);m=b.events.cnds;for(a in m)m.hasOwnProperty(a)&&this.Ze.hasOwnProperty(a)&&(this.Ze[a].R=m[a].ex);m=b.events.acts;for(a in m)m.hasOwnProperty(a)&&this.We.hasOwnProperty(a)&&(this.We[a].R=m[a].ex);m=b.events.vars;for(a in m)m.hasOwnProperty(a)&&this.If.hasOwnProperty(a)&&(this.If[a].data=m[a]);this.Dg=f.next_uid;this.ld.Pb(b.system);m=0;for(g=this.B.length;m<g;m++)if(e=this.B[m],!e.M)for(a=0,b=e.j.length;a<b;a++){l=e.j[a];if(e.pc)for(d=
l.cg(),f=l.siblings.length=0,c=e.Ub.length;f<c;f++)h=e.Ub[f],e!==h&&l.siblings.push(h.j[d]);l.Mc&&l.Mc();if(l.S)for(f=0,c=l.S.length;f<c;f++)d=l.S[f],d.Mc&&d.Mc()}this.ra=!0}};k.prototype.ml=function(b,f){var m,g,a,c,l;c=b.type;a=c.Ba;var d={};f?d.c2=!0:d.uid=b.uid;Oa(b.R)&&(d.ex=e(b.R));if(b.Za&&b.Za.length)for(d.ivs={},m=0,g=b.Za.length;m<g;m++)d.ivs[b.type.ok[m].toString()]=b.Za[m];if(a.Yd){a={x:b.x,y:b.y,w:b.width,h:b.height,l:b.n.Y,zi:b.oc()};0!==b.k&&(a.a=b.k);1!==b.opacity&&(a.o=b.opacity);
0.5!==b.Nb&&(a.hX=b.Nb);0.5!==b.Ob&&(a.hY=b.Ob);0!==b.Lb&&(a.bm=b.Lb);b.visible||(a.v=b.visible);b.od||(a.ce=b.od);-1!==b.Cg&&(a.mts=b.Cg);if(c.O.length)for(a.fx=[],m=0,g=c.O.length;m<g;m++)l=c.O[m],a.fx.push({name:l.name,active:b.Od[l.index],params:b.Ha[l.index]});d.w=a}if(b.S&&b.S.length)for(d.behs={},m=0,g=b.S.length;m<g;m++)c=b.S[m],c.Ab&&(d.behs[c.type.Y.toString()]=c.Ab());b.Ab&&(d.data=b.Ab());return d};k.prototype.Cq=function(b,f){var m,g;m=0;for(g=b.ok.length;m<g;m++)if(b.ok[m]===f)return m;
return-1};k.prototype.zq=function(b,f){var m,g;m=0;for(g=b.S.length;m<g;m++)if(b.S[m].type.Y===f)return m;return-1};k.prototype.ti=function(b,f,m){var g,a,c,e,l;l=b.type;c=l.Ba;if(m){if(!f.c2)return}else b.uid=f.uid;f.ex?b.R=f.ex:Sa(b.R);if(a=f.ivs)for(g in a)a.hasOwnProperty(g)&&(m=this.Cq(l,parseInt(g,10)),0>m||m>=b.Za.length||(b.Za[m]=a[g]));if(c.Yd){c=f.w;b.n.Y!==c.l&&(m=b.n,b.n=this.ka.Wh(c.l),b.n?(b.n.j.push(b),b.n.lc=!0,ya(m.j,b),m.lc=!0):(b.n=m,this.oe(b)));b.x=c.x;b.y=c.y;b.width=c.w;b.height=
c.h;b.Se=c.zi;b.k=c.hasOwnProperty("a")?c.a:0;b.opacity=c.hasOwnProperty("o")?c.o:1;b.Nb=c.hasOwnProperty("hX")?c.hX:0.5;b.Ob=c.hasOwnProperty("hY")?c.hY:0.5;b.visible=c.hasOwnProperty("v")?c.v:!0;b.od=c.hasOwnProperty("ce")?c.ce:!0;b.Cg=c.hasOwnProperty("mts")?c.mts:-1;b.Lb=c.hasOwnProperty("bm")?c.bm:0;b.Sf=Ya(b.Lb);this.ud&&Za(b,b.Lb,this.ud);b.C();if(c.hasOwnProperty("fx"))for(m=0,a=c.fx.length;m<a;m++)e=l.$j(c.fx[m].name),0>e||(b.Od[e]=c.fx[m].active,b.Ha[e]=c.fx[m].params);b.Ld()}if(l=f.behs)for(g in l)l.hasOwnProperty(g)&&
(c=this.zq(b,parseInt(g,10)),0>c||b.S[c].Pb(l[g]));f.data&&b.Pb(f.data)};Hb=function(b){return new k(document.getElementById(b))};Ib=function(b,f){return new k({dc:!0,width:b,height:f})};window.cr_createRuntime=Hb;window.cr_createDCRuntime=Ib;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var b=document.createElement("screencanvas")||document.createElement("canvas");b.Pt=!0;document.body.appendChild(b);b=new k(b);window.c2runtime=b;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,
window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return b};window.createEjectaRuntime=function(){var b=new k(document.getElementById("canvas"));window.c2runtime=b;window.c2runtime.setSize(window.innerWidth,window.innerHeight);return b}})();window.cr_getC2Runtime=function(){var k=document.getElementById("c2canvas");return k?k.c2runtime:window.c2runtime?window.c2runtime:null};
window.cr_sizeCanvas=function(k,n){if(0!==k&&0!==n){var d=window.cr_getC2Runtime();d&&d.setSize(k,n)}};window.cr_setSuspended=function(k){var n=window.cr_getC2Runtime();n&&n.setSuspended(k)};
(function(){function k(a,e){this.b=a;this.Vf=null;this.scrollX=this.b.ib/2;this.scrollY=this.b.hb/2;this.scale=1;this.k=0;this.Zf=!0;this.name=e[0];this.width=e[1];this.height=e[2];this.xo=e[3];this.co=e[4];this.Y=e[5];var l=e[6],c,d;this.aa=[];this.gg=[];c=0;for(d=l.length;c<d;c++){var h=new Jb(this,l[c]);h.sn=c;this.aa.push(h)}l=e[7];this.Be=[];c=0;for(d=l.length;c<d;c++){var h=l[c],k=this.b.B[h[1]];k.yc||(k.yc=h);this.Be.push(h);-1===this.gg.indexOf(k)&&this.gg.push(k)}this.O=[];this.ca=[];this.Ha=
[];c=0;for(d=e[8].length;c<d;c++)this.O.push({id:e[8][c][0],name:e[8][c][1],pb:-1,tb:!0,index:c}),this.Ha.push(e[8][c][2].slice(0));this.Ld();this.ee=new pa(0,0,1,1);this.gl=new pa(0,0,1,1);this.de={}}function n(a,e){this.xa=a;this.b=a.b;this.j=[];this.scale=1;this.k=0;this.te=!1;this.Kd=new pa(0,0,0,0);this.ro=new qa;this.ic=this.rb=this.jc=this.qb=0;this.lc=!1;this.name=e[0];this.index=e[1];this.Y=e[2];this.visible=e[3];this.Qd=e[4];this.Re=e[5];this.Fc=e[6];this.Gc=e[7];this.opacity=e[8];this.Pj=
e[9];this.$c=e[10];this.Lb=e[11];this.Tp=e[12];this.Sf="source-over";this.zb=this.Bb=0;this.fe=!1;var l=e[13],c,d;this.ff=[];c=0;for(d=l.length;c<d;c++){var h=l[c],k=this.b.B[h[1]];k.yc||(k.yc=h,k.Qp=this.index);this.ff.push(h);-1===this.xa.gg.indexOf(k)&&this.xa.gg.push(k)}this.O=[];this.ca=[];this.Ha=[];c=0;for(d=e[14].length;c<d;c++)this.O.push({id:e[14][c][0],name:e[14][c][1],pb:-1,tb:!0,index:c}),this.Ha.push(e[14][c][2].slice(0));this.Ld();this.ee=new pa(0,0,1,1);this.gl=new pa(0,0,1,1)}function d(a,
e){return a.Se-e.Se}k.prototype.Mr=function(a){var e=a.type.Y.toString();this.de.hasOwnProperty(e)||(this.de[e]=[]);this.de[e].push(this.b.ml(a))};k.prototype.Lm=function(){var a=this.aa[0];return!a.Re&&1===a.opacity&&!a.Pj&&a.visible};k.prototype.Ld=function(){this.ca.length=0;var a,e,l;a=0;for(e=this.O.length;a<e;a++)l=this.O[a],l.tb&&this.ca.push(l)};k.prototype.Zj=function(a){var e,l,c;e=0;for(l=this.O.length;e<l;e++)if(c=this.O[e],c.name===a)return c;return null};var h=[];k.prototype.sl=function(){this.co&&
(this.Vf=this.b.Nj[this.co],this.Vf.zo());this.b.ka=this;this.scrollX=this.b.ib/2;this.scrollY=this.b.hb/2;var a,e,l,c,p,k,n;a=0;for(l=this.b.B.length;a<l;a++)if(e=this.b.B[a],!e.M)for(p=e.j,e=0,c=p.length;e<c;e++)if(k=p[e],k.n){var q=k.n.sn;q>=this.aa.length&&(q=this.aa.length-1);k.n=this.aa[q];k.n.j.push(k);k.n.lc=!0}h.length=0;this.Cp();a=0;for(l=this.aa.length;a<l;a++)k=this.aa[a],k.Np(),k.te=!0,e=k.Tb(0,0,!0,!0),c=k.Tb(0,0,!1,!0),k.te=!1,this.b.jd&&(e=e+0.5|0,c=c+0.5|0),k.jl(e,c,null);p=!1;if(!this.Zf){for(n in this.de)if(this.de.hasOwnProperty(n)&&
(e=this.b.Xh(parseInt(n,10)))&&!e.M&&this.b.Cl(e)){c=this.de[n];a=0;for(l=c.length;a<l;a++){k=null;if(e.Ba.Yd&&(k=this.Wh(c[a].w.l),!k))continue;k=this.b.Td(e.yc,k,!1,0,0,!0);this.b.ti(k,c[a]);p=!0;h.push(k)}c.length=0}a=0;for(l=this.aa.length;a<l;a++)this.aa[a].j.sort(d),this.aa[a].lc=!0}p&&(this.b.sb(),this.b.Sn());for(a=0;a<h.length;a++)if(k=h[a],k.type.pc)for(l=k.cg(),e=0,c=k.type.Ub.length;e<c;e++)n=k.type.Ub[e],k.type!==n&&(n.j.length>l?k.siblings.push(n.j[l]):n.yc&&(p=this.b.Td(n.yc,k.n,!0,
k.x,k.y,!0),this.b.sb(),n.jj(),k.siblings.push(p),h.push(p)));a=0;for(l=this.Be.length;a<l;a++)this.b.Td(this.Be[a],null,!0);this.b.Rf=null;this.b.sb();if(this.b.la&&!this.b.Sa)for(a=0,l=this.b.B.length;a<l;a++)n=this.b.B[a],!n.M&&n.j.length&&n.al&&n.al(this.b.la);a=0;for(l=h.length;a<l;a++)k=h[a],this.b.trigger(Object.getPrototypeOf(k.type.Ba).q.oj,k);h.length=0;this.b.trigger(Y.prototype.q.Lf,null);this.Zf=!1};k.prototype.Mp=function(){var a,e,l,c,d;e=a=0;for(l=this.Be.length;a<l;a++)c=this.Be[a],
d=this.b.B[c[1]],d.global?this.b.Td(c,null,!0):(this.Be[e]=c,e++);this.Be.length=e};k.prototype.Ur=function(){this.b.trigger(Y.prototype.q.bp,null);this.b.ld.kc.length=0;var a,e,l,c,d,h;a=0;for(e=this.aa.length;a<e;a++){d=this.aa[a].j;l=0;for(c=d.length;l<c;l++)h=d[l],h.type.global||(this.b.Cl(h.type)&&this.Mr(h),this.b.oe(h));this.b.sb();d.length=0;this.aa[a].lc=!0}a=0;for(e=this.b.B.length;a<e;a++)if(d=this.b.B[a],!(d.global||d.Ba.Yd||d.Ba.Xi||d.M)){l=0;for(c=d.j.length;l<c;l++)this.b.oe(d.j[l]);
this.b.sb()}};k.prototype.cd=function(a){var e,l=a,c=!1,d=!this.b.Bc;d&&(this.b.qi||(this.b.qi=document.createElement("canvas"),e=this.b.qi,e.width=this.b.U,e.height=this.b.T,this.b.hn=e.getContext("2d"),c=!0),e=this.b.qi,l=this.b.hn,e.width!==this.b.U&&(e.width=this.b.U,c=!0),e.height!==this.b.T&&(e.height=this.b.T,c=!0),c&&(l.webkitImageSmoothingEnabled=this.b.da,l.mozImageSmoothingEnabled=this.b.da,l.msImageSmoothingEnabled=this.b.da,l.imageSmoothingEnabled=this.b.da));l.globalAlpha=1;l.globalCompositeOperation=
"source-over";this.b.uj&&!this.Lm()&&l.clearRect(0,0,this.b.U,this.b.T);var h,k,c=0;for(h=this.aa.length;c<h;c++)k=this.aa[c],k.visible&&0<k.opacity&&11!==k.Lb&&k.cd(l);d&&a.drawImage(e,0,0,this.b.width,this.b.height)};k.prototype.Ac=function(a){var e=0<this.ca.length||this.b.Ff||!this.b.Bc;if(e){this.b.cc||(this.b.cc=a.Sd(this.b.U,this.b.T,this.b.da));if(this.b.cc.Bj!==this.b.U||this.b.cc.Aj!==this.b.T)a.deleteTexture(this.b.cc),this.b.cc=a.Sd(this.b.U,this.b.T,this.b.da);a.Hd(this.b.cc);this.b.Bc||
a.Tg(this.b.U,this.b.T)}else this.b.cc&&(a.Hd(null),a.deleteTexture(this.b.cc),this.b.cc=null);this.b.uj&&!this.Lm()&&a.clear(0,0,0,0);var l,c;l=0;for(c=this.aa.length;l<c;l++)this.aa[l].visible&&0<this.aa[l].opacity&&this.aa[l].Ac(a);e&&(0===this.ca.length||1===this.ca.length&&this.b.Bc?(1===this.ca.length?(e=this.ca[0].index,a.ke(this.ca[0].pb),a.Sg(null,1/this.b.U,1/this.b.T,0,0,1,1,this.scale,this.k,0,0,this.Ha[e]),a.bl(this.ca[0].pb)&&(this.b.ra=!0)):a.ke(0),this.b.Bc||a.Tg(this.b.width,this.b.height),
a.Hd(null),a.Af(1),a.sc(this.b.cc),a.Or(),a.Ed(),a.Md(),e=this.b.width/2,l=this.b.height/2,a.el(-e,l,e,l,e,-l,-e,-l),a.sc(null)):this.hl(a,null,null,null))};k.prototype.bg=function(){return 0<this.ca.length||this.b.Ff||!this.b.Bc?this.b.cc:null};k.prototype.Hm=function(){var a=this.aa[0].Yb(),e,l,c;e=1;for(l=this.aa.length;e<l;e++)c=this.aa[e],(0!==c.Fc||0!==c.Gc)&&c.Yb()<a&&(a=c.Yb());return a};k.prototype.Xn=function(a){if(!this.xo){var e=this.b.U*(1/this.Hm())/2;a>this.width-e&&(a=this.width-e);
a<e&&(a=e)}this.scrollX!==a&&(this.scrollX=a,this.b.ra=!0)};k.prototype.Yn=function(a){if(!this.xo){var e=this.b.T*(1/this.Hm())/2;a>this.height-e&&(a=this.height-e);a<e&&(a=e)}this.scrollY!==a&&(this.scrollY=a,this.b.ra=!0)};k.prototype.Cp=function(){this.Xn(this.scrollX);this.Yn(this.scrollY)};k.prototype.hl=function(a,e,l,c){var d=l?l.ca:e?e.ca:this.ca,h=1,k=0,q=0,n=0;l?(h=l.n.Yb(),k=l.n.Ra(),q=l.n.qb,n=l.n.rb):e&&(h=e.Yb(),k=e.Ra(),q=e.qb,n=e.rb);var t=this.b.Sj,s,b,f,m,g=0,Q=1,z,D=this.b.U,H=
this.b.T,fa=D/2,R=H/2,E=e?e.ee:this.ee,K=e?e.gl:this.gl,L=0,I=0,C=0,B=0,F=D,N=D,y=H,u=H,W=f=0,G=l?l.n.Ra():0;if(l){s=0;for(b=d.length;s<b;s++)f+=a.Ct(d[s].pb),W+=a.Dt(d[s].pb);m=l.Ka;L=e.Da(m.left,m.top,!0,!0);C=e.Da(m.left,m.top,!1,!0);F=e.Da(m.right,m.bottom,!0,!0);y=e.Da(m.right,m.bottom,!1,!0);0!==G&&(s=e.Da(m.right,m.top,!0,!0),b=e.Da(m.right,m.top,!1,!0),I=e.Da(m.left,m.bottom,!0,!0),B=e.Da(m.left,m.bottom,!1,!0),m=Math.min(L,F,s,I),F=Math.max(L,F,s,I),L=m,m=Math.min(C,y,b,B),y=Math.max(C,y,
b,B),C=m);L-=f;C-=W;F+=f;y+=W;K.left=L/D;K.top=1-C/H;K.right=F/D;K.bottom=1-y/H;I=L=S(L);B=C=S(C);N=F=na(F);u=y=na(y);I-=f;B-=W;N+=f;u+=W;0>L&&(L=0);0>C&&(C=0);F>D&&(F=D);y>H&&(y=H);0>I&&(I=0);0>B&&(B=0);N>D&&(N=D);u>H&&(u=H);E.left=L/D;E.top=1-C/H;E.right=F/D;E.bottom=1-y/H}else E.left=K.left=0,E.top=K.top=0,E.right=K.right=1,E.bottom=K.bottom=1;W=l&&((l.k||G)&&a.Li(d[0].pb)||0!==f||0!==W||1!==l.opacity||l.type.Ba.on)||e&&!l&&1!==e.opacity;a.Or();if(W){t[g]||(t[g]=a.Sd(D,H,this.b.da));if(t[g].Bj!==
D||t[g].Aj!==H)a.deleteTexture(t[g]),t[g]=a.Sd(D,H,this.b.da);a.ke(0);a.Hd(t[g]);z=u-B;a.clearRect(I,H-B-z,N-I,z);l?l.Ac(a):(a.sc(this.b.rc),a.Af(e.opacity),a.Ed(),a.translate(-fa,-R),a.Md(),a.Dd(L,y,F,y,F,C,L,C,E));K.left=K.top=0;K.right=K.bottom=1;l&&(m=E.top,E.top=E.bottom,E.bottom=m);g=1;Q=0}a.Af(1);f=d.length-1;var G=a.Nn(d[f].pb)||!e&&!l&&!this.b.Bc,O=0;s=0;for(b=d.length;s<b;s++){t[g]||(t[g]=a.Sd(D,H,this.b.da));if(t[g].Bj!==D||t[g].Aj!==H)a.deleteTexture(t[g]),t[g]=a.Sd(D,H,this.b.da);a.ke(d[s].pb);
O=d[s].index;a.bl(d[s].pb)&&(this.b.ra=!0);0!=s||W?(a.Sg(c,1/D,1/H,K.left,K.top,K.right,K.bottom,h,k,q,n,l?l.Ha[O]:e?e.Ha[O]:this.Ha[O]),a.sc(null),s!==f||G?(a.Hd(t[g]),z=u-B,m=H-B-z,a.clearRect(I,m,N-I,z)):(l?a.zf(l.Bb,l.zb):e&&a.zf(e.Bb,e.zb),a.Hd(c)),a.sc(t[Q]),a.Ed(),a.translate(-fa,-R),a.Md(),a.Dd(L,y,F,y,F,C,L,C,E),s!==f||G||a.sc(null)):(a.Hd(t[g]),z=u-B,m=H-B-z,a.clearRect(I,m,N-I,z),l?(a.Sg(c,1/l.width,1/l.height,K.left,K.top,K.right,K.bottom,h,k,q,n,l.Ha[O]),l.Ac(a)):(a.Sg(c,1/D,1/H,0,0,
1,1,h,k,q,n,e?e.Ha[O]:this.Ha[O]),a.sc(e?this.b.rc:this.b.cc),a.Ed(),a.translate(-fa,-R),a.Md(),a.Dd(L,y,F,y,F,C,L,C,E)),K.left=K.top=0,K.right=K.bottom=1,l&&!G&&(m=y,y=C,C=m));g=0===g?1:0;Q=0===g?1:0}G&&(a.ke(0),l?a.zf(l.Bb,l.zb):e?a.zf(e.Bb,e.zb):this.b.Bc||(a.Tg(this.b.width,this.b.height),fa=this.b.width/2,R=this.b.height/2,C=L=0,F=this.b.width,y=this.b.height),a.Hd(c),a.sc(t[Q]),a.Ed(),a.translate(-fa,-R),a.Md(),l&&1===d.length&&!W?a.Dd(L,C,F,C,F,y,L,y,E):a.Dd(L,y,F,y,F,C,L,C,E),a.sc(null))};
k.prototype.Wh=function(a){var e,l;e=0;for(l=this.aa.length;e<l;e++)if(this.aa[e].Y===a)return this.aa[e];return null};k.prototype.Ab=function(){var a,e,l,c={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.k,w:this.width,h:this.height,fv:this.Zf,persist:this.de,fx:[],layers:{}};a=0;for(e=this.O.length;a<e;a++)l=this.O[a],c.fx.push({name:l.name,active:l.tb,params:this.Ha[l.index]});a=0;for(e=this.aa.length;a<e;a++)l=this.aa[a],c.layers[l.Y.toString()]=l.Ab();return c};k.prototype.Pb=function(a){var e,
l,c,d;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.k=a.a;this.width=a.w;this.height=a.h;this.de=a.persist;"undefined"!==typeof a.fv&&(this.Zf=a.fv);var h=a.fx;e=0;for(l=h.length;e<l;e++)if(c=this.Zj(h[e].name))c.tb=h[e].active,this.Ha[c.index]=h[e].params;this.Ld();e=a.layers;for(d in e)e.hasOwnProperty(d)&&(a=this.Wh(parseInt(d,10)))&&a.Pb(e[d])};wb=k;n.prototype.Ld=function(){this.ca.length=0;var a,e,l;a=0;for(e=this.O.length;a<e;a++)l=this.O[a],l.tb&&this.ca.push(l)};n.prototype.Zj=
function(a){var e,l,c;e=0;for(l=this.O.length;e<l;e++)if(c=this.O[e],c.name===a)return c;return null};n.prototype.Np=function(){var a,e,l,c,d,k;e=a=0;for(l=this.ff.length;a<l;a++){c=this.ff[a];d=this.b.B[c[1]];k=this.b.Cl(d);d=!0;if(!k||this.xa.Zf)c=this.b.Td(c,this,!0),h.push(c),c.type.global&&(d=!1);d&&(this.ff[e]=this.ff[a],e++)}this.ff.length=e;this.b.sb();!this.b.P&&this.O.length&&(this.Lb=this.Tp);this.Sf=Ya(this.Lb);this.b.ud&&Za(this,this.Lb,this.b.ud)};n.prototype.cs=function(){if(this.lc){var a,
e;a=0;for(e=this.j.length;a<e;a++)this.j[a].Se=a;this.lc=!1}};n.prototype.Yb=function(a){return this.Eq()*(this.b.Bc||a?this.b.Qf:1)};n.prototype.Eq=function(){return(this.scale*this.xa.scale-1)*this.$c+1};n.prototype.Ra=function(){return this.te?0:V(this.xa.k+this.k)};n.prototype.cd=function(a){this.fe=this.Pj||1!==this.opacity||0!==this.Lb;var e=this.b.canvas,l=a,c=!1;this.fe&&(this.b.pi||(this.b.pi=document.createElement("canvas"),e=this.b.pi,e.width=this.b.U,e.height=this.b.T,this.b.gn=e.getContext("2d"),
c=!0),e=this.b.pi,l=this.b.gn,e.width!==this.b.U&&(e.width=this.b.U,c=!0),e.height!==this.b.T&&(e.height=this.b.T,c=!0),c&&(l.webkitImageSmoothingEnabled=this.b.da,l.mozImageSmoothingEnabled=this.b.da,l.msImageSmoothingEnabled=this.b.da,l.imageSmoothingEnabled=this.b.da),this.Re&&l.clearRect(0,0,this.b.U,this.b.T));l.globalAlpha=1;l.globalCompositeOperation="source-over";this.Re||(l.fillStyle="rgb("+this.Qd[0]+","+this.Qd[1]+","+this.Qd[2]+")",l.fillRect(0,0,this.b.U,this.b.T));l.save();this.te=!0;
var c=this.Tb(0,0,!0,!0),d=this.Tb(0,0,!1,!0);this.te=!1;this.b.jd&&(c=c+0.5|0,d=d+0.5|0);this.jl(c,d,l);var h=this.Yb();l.scale(h,h);l.translate(-c,-d);for(var k,c=0,d=this.j.length;c<d;c++)h=this.j[c],h.visible&&0!==h.width&&0!==h.height&&(h.Fa(),k=h.Ka,k.right<this.qb||k.bottom<this.rb||k.left>this.jc||k.top>this.ic||(l.globalCompositeOperation=h.Sf,h.cd(l)));l.restore();this.fe&&(a.globalCompositeOperation=this.Sf,a.globalAlpha=this.opacity,a.drawImage(e,0,0))};n.prototype.jl=function(a,e,l){var c=
this.Yb();this.qb=a;this.rb=e;this.jc=a+this.b.U*(1/c);this.ic=e+this.b.T*(1/c);a=this.Ra();0!==a&&(l&&(l.translate(this.b.U/2,this.b.T/2),l.rotate(-a),l.translate(this.b.U/-2,this.b.T/-2)),this.Kd.set(this.qb,this.rb,this.jc,this.ic),this.Kd.offset((this.qb+this.jc)/-2,(this.rb+this.ic)/-2),this.ro.bo(this.Kd,a),this.ro.hm(this.Kd),this.Kd.offset((this.qb+this.jc)/2,(this.rb+this.ic)/2),this.qb=this.Kd.left,this.rb=this.Kd.top,this.jc=this.Kd.right,this.ic=this.Kd.bottom)};n.prototype.Ac=function(a){var e=
this.b.U,l=this.b.T,c=0,d=0;if(this.fe=this.Pj||1!==this.opacity||0<this.ca.length||0!==this.Lb){this.b.rc||(this.b.rc=a.Sd(this.b.U,this.b.T,this.b.da));if(this.b.rc.Bj!==this.b.U||this.b.rc.Aj!==this.b.T)a.deleteTexture(this.b.rc),this.b.rc=a.Sd(this.b.U,this.b.T,this.b.da);a.Hd(this.b.rc);this.Re&&a.clear(0,0,0,0)}this.Re||a.clear(this.Qd[0]/255,this.Qd[1]/255,this.Qd[2]/255,1);this.te=!0;var d=this.Tb(0,0,!0,!0),h=this.Tb(0,0,!1,!0);this.te=!1;this.b.jd&&(d=d+0.5|0,h=h+0.5|0);this.jl(d,h,null);
h=this.Yb();a.Ed();a.scale(h,h);a.Un(-this.Ra());a.translate((this.qb+this.jc)/-2,(this.rb+this.ic)/-2);a.Md();var k,q,n;k=0;for(q=this.j.length;k<q;k++)if(n=this.j[k],n.visible&&0!==n.width&&0!==n.height&&(n.Fa(),c=n.Ka,!(c.right<this.qb||c.bottom<this.rb||c.left>this.jc||c.top>this.ic)))if(n.Do)if(c=n.ca[0].pb,d=n.ca[0].index,1!==n.ca.length||a.Nn(c)||a.Mt(c)||(n.k||n.n.Ra())&&a.Li(c)||1!==n.opacity||n.type.Ba.on)this.xa.hl(a,this,n,this.fe?this.b.rc:this.xa.bg()),a.Ed(),a.scale(h,h),a.Un(-this.Ra()),
a.translate((this.qb+this.jc)/-2,(this.rb+this.ic)/-2),a.Md();else{a.ke(c);a.zf(n.Bb,n.zb);a.bl(c)&&(this.b.ra=!0);var t=0,s=0,b=0,f=0;a.Li(c)&&(c=n.Ka,t=this.Da(c.left,c.top,!0,!0),s=this.Da(c.left,c.top,!1,!0),b=this.Da(c.right,c.bottom,!0,!0),c=this.Da(c.right,c.bottom,!1,!0),t/=e,s=1-s/l,b/=e,f=1-c/l);a.Sg(this.fe?this.b.rc:this.xa.bg(),1/n.width,1/n.height,t,s,b,f,this.Yb(),this.Ra(),this.qb,this.rb,n.Ha[d]);n.Ac(a)}else a.ke(0),a.zf(n.Bb,n.zb),n.Ac(a);this.fe&&(c=this.ca.length?this.ca[0].pb:
0,d=this.ca.length?this.ca[0].index:0,0===this.ca.length||1===this.ca.length&&!a.Nn(c)&&1===this.opacity?(1===this.ca.length?(a.ke(c),a.Sg(this.xa.bg(),1/this.b.U,1/this.b.T,0,0,1,1,this.Yb(),this.Ra(),this.qb,this.rb,this.Ha[d]),a.bl(c)&&(this.b.ra=!0)):a.ke(0),a.Hd(this.xa.bg()),a.Af(this.opacity),a.sc(this.b.rc),a.zf(this.Bb,this.zb),a.Ed(),a.Md(),e=this.b.U/2,l=this.b.T/2,a.el(-e,l,e,l,e,-l,-e,-l),a.sc(null)):this.xa.hl(a,this,null,this.xa.bg()))};n.prototype.Tb=function(a,e,l,c){var d=this.b.devicePixelRatio;
this.b.Ee&&(a*=d,e*=d);var d=this.b.Hn,h=this.b.In,d=(this.xa.scrollX-d)*this.Fc+d,h=(this.xa.scrollY-h)*this.Gc+h,k=1/this.Yb(!c);c?(d-=this.b.U*k/2,h-=this.b.T*k/2):(d-=this.b.width*k/2,h-=this.b.height*k/2);d+=a*k;h+=e*k;e=this.Ra();0!==e&&(d-=this.xa.scrollX,h-=this.xa.scrollY,a=Math.cos(e),e=Math.sin(e),c=d*a-h*e,h=h*a+d*e,d=c+this.xa.scrollX,h+=this.xa.scrollY);return l?d:h};n.prototype.Da=function(a,e,d,c){var h=this.Ra();if(0!==h){a-=this.xa.scrollX;e-=this.xa.scrollY;var k=Math.cos(-h),h=
Math.sin(-h),n=a*k-e*h;e=e*k+a*h;a=n+this.xa.scrollX;e+=this.xa.scrollY}k=this.b.Hn;h=this.b.In;k=(this.xa.scrollX-k)*this.Fc+k;h=(this.xa.scrollY-h)*this.Gc+h;n=1/this.Yb(!c);c?(k-=this.b.U*n/2,h-=this.b.T*n/2):(k-=this.b.width*n/2,h-=this.b.height*n/2);k=(a-k)/n;h=(e-h)/n;a=this.b.devicePixelRatio;this.b.Ee&&(k/=a,h/=a);return d?k:h};n.prototype.Ab=function(){var a,e,d,c={s:this.scale,a:this.k,vl:this.qb,vt:this.rb,vr:this.jc,vb:this.ic,v:this.visible,bc:this.Qd,t:this.Re,px:this.Fc,py:this.Gc,
o:this.opacity,zr:this.$c,fx:[],instances:[]};a=0;for(e=this.O.length;a<e;a++)d=this.O[a],c.fx.push({name:d.name,active:d.tb,params:this.Ha[d.index]});return c};n.prototype.Pb=function(a){var e,l;this.scale=a.s;this.k=a.a;this.qb=a.vl;this.rb=a.vt;this.jc=a.vr;this.ic=a.vb;this.visible=a.v;this.Qd=a.bc;this.Re=a.t;this.Fc=a.px;this.Gc=a.py;this.opacity=a.o;this.$c=a.zr;var c=a.fx;a=0;for(e=c.length;a<e;a++)if(l=this.Zj(c[a].name))l.tb=c[a].active,this.Ha[l.index]=c[a].params;this.Ld();this.j.sort(d);
this.lc=!0};Jb=n})();
(function(){function k(f,b){var g,a=f.length;switch(a){case 0:return!0;case 1:return f[0]===b[0];case 2:return f[0]===b[0]&&f[1]===b[1];default:for(g=0;g<a;g++)if(f[g]!==b[g])return!1;return!0}}function n(f,b){return f.index-b.index}function d(f){var b,g,a,c;2===f.length?f[0].index>f[1].index&&(b=f[0],f[0]=f[1],f[1]=b):2<f.length&&f.sort(n);f.length>=t.length&&(t.length=f.length+1);t[f.length]||(t[f.length]=[]);c=t[f.length];b=0;for(g=c.length;b<g;b++)if(a=c[b],k(f,a))return a;c.push(f);return f}
function h(f,b){this.b=f;this.to={};this.wm={};this.hk=!1;this.Om=new ca;this.Kj=[];this.vj=[];this.name=b[0];var g=b[1];this.Vd=[];var a,c;a=0;for(c=g.length;a<c;a++)this.Pm(g[a],null,this.Vd)}function a(f){this.type=f;this.j=[];this.fa=[];this.ua=!0}function e(f,b,g){this.sheet=f;this.parent=b;this.b=f.b;this.Ea=[];this.ge=[];this.Mm=this.gj=this.zl=this.nk=this.group=this.ho=!1;this.bb=[];this.Lc=[];this.Ic=[];this.dg="";this.Yh=this.nk=this.group=!1;this.mm=null;g[1]&&(this.dg=g[1][1].toLowerCase(),
this.group=!0,this.nk=!!g[1][0],this.mm=[],this.Yh=this.nk,this.b.Xe.push(this),this.b.Zh[this.dg]=this);this.Uc=g[2];this.Y=g[4];this.group||(this.b.gm[this.Y.toString()]=this);var a=g[5];f=0;for(b=a.length;f<b;f++){var c=new Kb(this,a[f]);c.index=f;this.bb.push(c);this.cm(c.type)}a=g[6];f=0;for(b=a.length;f<b;f++)c=new Lb(this,a[f]),c.index=f,this.Lc.push(c);if(8===g.length)for(g=g[7],f=0,b=g.length;f<b;f++)this.sheet.Pm(g[f],this,this.Ic);this.fi=!1;this.bb.length&&(this.fi=null==this.bb[0].type&&
this.bb[0].nb==Y.prototype.q.Ho)}function l(f,b){var g,a,c;if(f&&(-1===b.indexOf(f)&&b.push(f),f.pc))for(g=0,a=f.Ub.length;g<a;g++)c=f.Ub[g],f!==c&&-1===b.indexOf(c)&&b.push(c)}function c(f,b){this.mc=f;this.sheet=f.sheet;this.b=f.b;this.na=[];this.ta=[];this.R={};this.index=-1;this.Pf=!1;this.nb=b[1];this.trigger=0<b[3];this.vm=2===b[3];this.Ad=b[4];this.pk=b[5];this.kr=b[6];this.Y=b[7];this.b.Ze[this.Y.toString()]=this;-1===b[0]?(this.type=null,this.Ua=this.ll,this.re=null,this.uc=-1):(this.type=
this.b.B[b[0]],this.Ua=this.kr?this.Kr:this.kl,b[2]?(this.re=this.type.Vh(b[2]),this.uc=this.type.Wj(b[2])):(this.re=null,this.uc=-1),this.mc.parent&&this.mc.parent.Ui());this.vm&&(this.Ua=this.Lr);if(10===b.length){var g,a,c=b[9];g=0;for(a=c.length;g<a;g++){var e=new Mb(this,c[g]);this.na.push(e)}this.ta.length=c.length}}function p(f,b){this.mc=f;this.sheet=f.sheet;this.b=f.b;this.na=[];this.ta=[];this.R={};this.index=-1;this.Pf=!1;this.nb=b[1];-1===b[0]?(this.type=null,this.Ua=this.ll,this.re=null,
this.uc=-1):(this.type=this.b.B[b[0]],this.Ua=this.kl,b[2]?(this.re=this.type.Vh(b[2]),this.uc=this.type.Wj(b[2])):(this.re=null,this.uc=-1));this.Y=b[3];this.b.We[this.Y.toString()]=this;if(6===b.length){var g,a,c=b[5];g=0;for(a=c.length;g<a;g++){var e=new Mb(this,c[g]);this.na.push(e)}this.ta.length=c.length}}function r(f,b){this.I=f;this.mc=f.mc;this.sheet=f.sheet;this.b=f.b;this.type=b[0];this.ed=null;this.he=0;this.get=null;this.lm=0;this.xa=null;this.key=0;this.object=null;this.index=0;this.$g=
this.Pe=this.$g=this.Pe=this.xm=this.ue=this.ah=null;this.Jc=!1;var g,a,c;switch(b[0]){case 0:case 7:this.ed=new Nb(this,b[1]);this.he=0;this.get=this.Kq;break;case 1:this.ed=new Nb(this,b[1]);this.he=0;this.get=this.Lq;break;case 5:this.ed=new Nb(this,b[1]);this.he=0;this.get=this.Pq;break;case 3:case 8:this.lm=b[1];this.get=this.Iq;break;case 6:this.xa=this.b.Bk[b[1]];this.get=this.Qq;break;case 9:this.key=b[1];this.get=this.Oq;break;case 4:this.object=this.b.B[b[1]];this.get=this.Rq;this.mc.cm(this.object);
this.I instanceof Lb?this.mc.Ui():this.mc.parent&&this.mc.parent.Ui();break;case 10:this.index=b[1];f.type.M?(this.get=this.Mq,this.Jc=!0):this.get=this.Nq;break;case 11:this.ah=b[1];this.ue=null;this.get=this.Jq;break;case 2:case 12:this.xm=b[1];this.get=this.Hq;break;case 13:for(this.get=this.Sq,this.Pe=[],this.$g=[],g=1,a=b.length;g<a;g++)c=new Mb(this.I,b[g]),this.Pe.push(c),this.$g.push(0)}}function v(f,b,g){this.sheet=f;this.parent=b;this.b=f.b;this.Ea=[];this.name=g[1];this.bh=g[2];this.mk=
g[3];this.mg=!!g[4];this.ei=!!g[5];this.Y=g[6];this.b.If[this.Y.toString()]=this;this.data=this.mk;this.parent?(this.Ie=this.mg||this.ei?-1:this.b.Tr++,this.b.yp.push(this)):(this.Ie=-1,this.b.xp.push(this))}function q(f,b,g){this.sheet=f;this.parent=b;this.b=f.b;this.Ea=[];this.fg=null;this.Xq=g[1];this.tb=!0}function w(){this.mo=[];this.reset(null)}var t=[];h.prototype.toString=J("name");h.prototype.Pm=function(f,b,g){switch(f[0]){case 0:f=new Ob(this,b,f);if(f.Uc)for(g.push(f),g=0,b=f.bb.length;g<
b;g++)f.bb[g].trigger&&this.Qm(f,g);else f.$m()?this.Qm(f,0):g.push(f);break;case 1:f=new Gb(this,b,f);g.push(f);break;case 2:f=new Pb(this,b,f),g.push(f)}};h.prototype.Na=function(){var f,b;f=0;for(b=this.Vd.length;f<b;f++)this.Vd[f].Na(f<b-1&&this.Vd[f+1].fi)};h.prototype.zo=function(){this.Kj.length=0;this.vj.length=0;this.$l(this);this.vj.length=0};h.prototype.$l=function(f){var b,g,a,c,e=f.Kj,d=f.vj,l=this.Om.Gf();b=0;for(g=l.length;b<g;++b)a=l[b],c=a.fg,!a.tb||f===c||-1<d.indexOf(c)||(d.push(c),
c.$l(f),e.push(c))};h.prototype.Ua=function(f){this.b.Ot||(this.hk=!0,f||(this.b.sk=!0));var b,g;b=0;for(g=this.Vd.length;b<g;b++){var a=this.Vd[b];a.Ua();this.b.Ej(a.Ea);this.b.bd.Qc()&&!this.b.Mb.length||this.b.sb()}f||(this.b.sk=!1)};h.prototype.Qm=function(f,b){f.Uc||this.b.ij.push(f);var a,c,e=f.bb[b],d;d=e.type?e.type.name:"system";var l=(a=e.vm)?this.wm:this.to;l[d]||(l[d]=[]);d=l[d];l=e.nb;if(a){if(e.na.length&&(e=e.na[0],1===e.type&&2===e.ed.type)){e=e.ed.value.toLowerCase();a=0;for(c=d.length;a<
c;a++)if(d[a].method==l){a=d[a].Wf;a[e]?a[e].push([f,b]):a[e]=[[f,b]];return}a={};a[e]=[[f,b]];d.push({method:l,Wf:a})}}else{a=0;for(c=d.length;a<c;a++)if(d[a].method==l){d[a].Wf.push([f,b]);return}Z&&l===Z.prototype.q.Ve?d.unshift({method:l,Wf:[[f,b]]}):d.push({method:l,Wf:[[f,b]]})}};xb=h;a.prototype.gk=function(){return this.ua?this.type.j.length:this.j.length};a.prototype.Cc=function(){return this.ua?this.type.j:this.j};a.prototype.Kg=function(b){b&&(b.b.Fb().xc.Uc?(this.ua&&(this.j.length=0,
ua(this.fa,b.type.j),this.ua=!1),b=this.fa.indexOf(b),-1!==b&&(this.j.push(this.fa[b]),this.fa.splice(b,1))):(this.ua=!1,this.j.length=1,this.j[0]=b))};db=a;window._c2hh_="8392D03657A61F873480BBF1C0324E00348073A4";e.prototype.Na=function(b){var a,g=this.parent;if(this.group)for(this.gj=!0;g;){if(!g.group){this.gj=!1;break}g=g.parent}this.zl=!this.$m()&&(!this.parent||this.parent.group&&this.parent.gj);this.Mm=!!b;this.ge=this.Ea.slice(0);for(g=this.parent;g;){b=0;for(a=g.Ea.length;b<a;b++)this.vp(g.Ea[b]);
g=g.parent}this.Ea=d(this.Ea);this.ge=d(this.ge);b=0;for(a=this.bb.length;b<a;b++)this.bb[b].Na();b=0;for(a=this.Lc.length;b<a;b++)this.Lc[b].Na();b=0;for(a=this.Ic.length;b<a;b++)this.Ic[b].Na(b<a-1&&this.Ic[b+1].fi)};e.prototype.cm=function(b){l(b,this.Ea)};e.prototype.vp=function(b){l(b,this.ge)};e.prototype.Ui=function(){this.ho=!0;this.parent&&this.parent.Ui()};e.prototype.$m=function(){return this.bb.length?this.bb[0].trigger:!1};e.prototype.Ua=function(){var b,a=!1,g,c=this.b,e=this.b.Fb();
e.xc=this;var d=this.bb;this.fi||(e.Lj=!1);if(this.Uc){0===d.length&&(a=!0);e.Xa=0;for(b=d.length;e.Xa<b;e.Xa++)d[e.Xa].trigger||(g=d[e.Xa].Ua())&&(a=!0);(e.He=a)&&this.Si()}else{e.Xa=0;for(b=d.length;e.Xa<b;e.Xa++)if(g=d[e.Xa].Ua(),!g){e.He=!1;!this.zl||c.bd.Qc()&&!c.Mb.length||c.sb();return}e.He=!0;this.Si()}this.Vp(e)};e.prototype.Vp=function(b){b.He&&this.Mm&&(b.Lj=!0);!this.zl||this.b.bd.Qc()&&!this.b.Mb.length||this.b.sb()};e.prototype.Ir=function(b){this.b.Fb().xc=this;this.bb[b].Ua()&&(this.Si(),
this.b.Fb().He=!0)};e.prototype.Si=function(){var b=this.b.Fb(),a;b.tc=0;for(a=this.Lc.length;b.tc<a;b.tc++)if(this.Lc[b.tc].Ua())return;this.Vn()};e.prototype.Fr=function(){var b=this.b.Fb(),a;for(a=this.Lc.length;b.tc<a;b.tc++)if(this.Lc[b.tc].Ua())return;this.Vn()};e.prototype.Vn=function(){if(this.Ic.length){var b,a,g,c,e=this.Ic.length-1;this.b.Ni(this);if(this.ho)for(b=0,a=this.Ic.length;b<a;b++)g=this.Ic[b],(c=!this.gj||!this.group&&b<e)&&this.b.Mi(g.Ea),g.Ua(),c?this.b.Le(g.Ea):this.b.Ej(g.Ea);
else for(b=0,a=this.Ic.length;b<a;b++)this.Ic[b].Ua();this.b.Ii()}};e.prototype.Jr=function(){var b=this.b.Fb();b.xc=this;var a=!1,g;b.Xa=0;for(g=this.bb.length;b.Xa<g;b.Xa++)if(this.bb[b.Xa].Ua())a=!0;else if(!this.Uc)return!1;return this.Uc?a:!0};e.prototype.Gr=function(){this.b.Nh++;var b=this.b.Fb().Xa,a=this.b.Ni(this);if(!this.Uc)for(a.Xa=b+1,b=this.bb.length;a.Xa<b;a.Xa++)if(!this.bb[a.Xa].Ua()){this.b.Ii();return}this.Si();this.b.Ii()};e.prototype.er=function(b){var a=b.index;if(0===a)return!0;
for(--a;0<=a;--a)if(this.bb[a].type===b.type)return!1;return!0};Ob=e;c.prototype.Na=function(){var b,a,g;b=0;for(a=this.na.length;b<a;b++)g=this.na[b],g.Na(),g.Jc&&(this.Pf=!0)};c.prototype.Lr=M(!0);c.prototype.ll=function(){var b,a;b=0;for(a=this.na.length;b<a;b++)this.ta[b]=this.na[b].get();return Na(this.nb.apply(this.b.ld,this.ta),this.pk)};c.prototype.Kr=function(){var b,a;b=0;for(a=this.na.length;b<a;b++)this.ta[b]=this.na[b].get();b=this.nb.apply(this.re?this.re:this.type,this.ta);this.type.Pc();
return b};c.prototype.kl=function(){var b,a,g,c,e,d,l,h,k=this.type,p=k.ja(),q=this.mc.Uc&&!this.trigger;a=0;var n=k.pc,t=k.M,r=k.sd,s=this.uc,w=-1<s,v=this.Pf,y=this.na,u=this.ta,W=this.pk,G=this.nb,O;if(v)for(a=0,e=y.length;a<e;++a)d=y[a],d.Jc||(u[a]=d.get(0));else for(a=0,e=y.length;a<e;++a)u[a]=y[a].get(0);if(p.ua){p.j.length=0;p.fa.length=0;O=k.j;b=0;for(c=O.length;b<c;++b){h=O[b];if(v)for(a=0,e=y.length;a<e;++a)d=y[a],d.Jc&&(u[a]=d.get(b));w?(a=0,t&&(a=h.type.cf[r]),a=G.apply(h.S[s+a],u)):a=
G.apply(h,u);(l=Na(a,W))?p.j.push(h):q&&p.fa.push(h)}k.finish&&k.finish(!0);p.ua=!1;k.Pc();return p.gk()}g=0;O=(l=q&&!this.mc.er(this))?p.fa:p.j;var ma=!1;b=0;for(c=O.length;b<c;++b){h=O[b];if(v)for(a=0,e=y.length;a<e;++a)d=y[a],d.Jc&&(u[a]=d.get(b));w?(a=0,t&&(a=h.type.cf[r]),a=G.apply(h.S[s+a],u)):a=G.apply(h,u);if(Na(a,W))if(ma=!0,l){if(p.j.push(h),n)for(a=0,e=h.siblings.length;a<e;a++)d=h.siblings[a],d.type.ja().j.push(d)}else{O[g]=h;if(n)for(a=0,e=h.siblings.length;a<e;a++)d=h.siblings[a],d.type.ja().j[g]=
d;g++}else if(l){O[g]=h;if(n)for(a=0,e=h.siblings.length;a<e;a++)d=h.siblings[a],d.type.ja().fa[g]=d;g++}else if(q&&(p.fa.push(h),n))for(a=0,e=h.siblings.length;a<e;a++)d=h.siblings[a],d.type.ja().fa.push(d)}O.length=g;if(n)for(t=k.Ub,b=0,c=t.length;b<c;b++)h=t[b].ja(),l?h.fa.length=g:h.j.length=g;g=ma;if(l&&!ma)for(b=0,c=p.j.length;b<c;b++){h=p.j[b];if(v)for(a=0,e=y.length;a<e;a++)d=y[a],d.Jc&&(u[a]=d.get(b));a=w?G.apply(h.S[s],u):G.apply(h,u);if(Na(a,W)){ma=!0;break}}k.finish&&k.finish(g||q);return q?
ma:p.gk()};Kb=c;p.prototype.Na=function(){var b,a,g;b=0;for(a=this.na.length;b<a;b++)g=this.na[b],g.Na(),g.Jc&&(this.Pf=!0)};p.prototype.ll=function(){var b,a;b=0;for(a=this.na.length;b<a;b++)this.ta[b]=this.na[b].get();return this.nb.apply(this.b.ld,this.ta)};p.prototype.kl=function(){var b=this.type.ja().Cc(),a=this.type.M,g=this.type.sd,c=this.uc,e=-1<c,d=this.Pf,l=this.na,h=this.ta,k=this.nb,p,q,n,t,r,s;if(d)for(q=0,t=l.length;q<t;++q)r=l[q],r.Jc||(h[q]=r.get(0));else for(q=0,t=l.length;q<t;++q)h[q]=
l[q].get(0);p=0;for(n=b.length;p<n;++p){s=b[p];if(d)for(q=0,t=l.length;q<t;++q)r=l[q],r.Jc&&(h[q]=r.get(p));e?(q=0,a&&(q=s.type.cf[g]),k.apply(s.S[c+q],h)):k.apply(s,h)}return!1};Lb=p;var s=[],b=-1;r.prototype.Na=function(){var b,a;if(11===this.type)this.ue=this.b.Dm(this.ah,this.mc.parent);else if(13===this.type)for(b=0,a=this.Pe.length;b<a;b++)this.Pe[b].Na();this.ed&&this.ed.Na()};r.prototype.or=function(b){this.Jc||!b||b.Ba.Xi||(this.Jc=!0)};r.prototype.$n=function(){this.Jc=!0};r.prototype.ab=
function(){b++;s.length===b&&s.push(new Qb);return s[b]};r.prototype.Ta=function(){b--};r.prototype.Kq=function(b){this.he=b||0;b=this.ab();this.ed.get(b);this.Ta();return b.data};r.prototype.Lq=function(b){this.he=b||0;b=this.ab();this.ed.get(b);this.Ta();return P(b.data)?b.data:""};r.prototype.Rq=J("object");r.prototype.Iq=J("lm");r.prototype.Pq=function(b){this.he=b||0;b=this.ab();this.ed.get(b);this.Ta();return b.gb()?this.b.ag(b.data):this.b.bk(b.data)};r.prototype.Qq=J("xa");r.prototype.Oq=
J("key");r.prototype.Nq=J("index");r.prototype.Mq=function(b){b=b||0;var a=this.I.type,g=null,g=a.ja(),c=g.Cc();if(c.length)g=c[b%c.length].type;else if(g.fa.length)g=g.fa[b%g.fa.length].type;else if(a.j.length)g=a.j[b%a.j.length].type;else return 0;return this.index+g.Oh[a.sd]};r.prototype.Jq=J("ue");r.prototype.Hq=J("xm");r.prototype.Sq=function(){var b,a;b=0;for(a=this.Pe.length;b<a;b++)this.$g[b]=this.Pe[b].get();return this.$g};Mb=r;v.prototype.Na=function(){this.Ea=d(this.Ea)};v.prototype.Id=
function(b){var a=this.b.Cm();this.parent&&!this.mg&&a?(this.Ie>=a.length&&(a.length=this.Ie+1),a[this.Ie]=b):this.data=b};v.prototype.ye=function(){var b=this.b.Cm();return!this.parent||this.mg||!b||this.ei?this.data:this.Ie>=b.length||"undefined"===typeof b[this.Ie]?this.mk:b[this.Ie]};v.prototype.Ua=function(){!this.parent||this.mg||this.ei||this.Id(this.mk)};Gb=v;q.prototype.toString=function(){return"include:"+this.fg.toString()};q.prototype.Na=function(){this.fg=this.b.Nj[this.Xq];this.sheet.Om.add(this);
this.Ea=d(this.Ea);for(var b=this.parent;b;)b.group&&b.mm.push(this),b=b.parent;this.$r()};q.prototype.Ua=function(){this.parent&&this.b.Ng(this.b.B);this.fg.hk||this.fg.Ua(!0);this.parent&&this.b.Le(this.b.B)};q.prototype.$r=function(){for(var b=this.parent;b;){if(b.group&&!b.Yh){this.tb=!1;return}b=b.parent}this.tb=!0};Pb=q;w.prototype.reset=function(b){this.xc=b;this.tc=this.Xa=0;this.mo.length=0;this.Lj=this.He=!1};Fb=w})();
(function(){function k(d,h){this.I=d;this.b=d.b;this.type=h[0];this.get=[this.hq,this.cq,this.pq,this.sq,this.Xp,this.qq,this.lq,this.$p,this.kq,this.oq,this.Yp,this.nq,this.aq,this.mq,this.iq,this.jq,this.dq,this.fq,this.Zp,this.rq,this.tm,this.gq,this.tm,this.bq][this.type];var a=null;this.Rb=this.na=this.ta=this.nb=this.bj=this.lb=this.first=this.value=null;this.uc=-1;this.vd=null;this.Fl=-1;this.ue=this.ah=null;this.Pg=!1;switch(this.type){case 0:case 1:case 2:this.value=h[1];break;case 3:this.first=
new Nb(d,h[1]);break;case 18:this.first=new Nb(d,h[1]);this.lb=new Nb(d,h[2]);this.bj=new Nb(d,h[3]);break;case 19:this.nb=h[1];this.nb!==Y.prototype.J.random&&this.nb!==Y.prototype.J.Kp||this.I.$n();this.ta=[];this.na=[];3===h.length?(a=h[2],this.ta.length=a.length+1):this.ta.length=1;break;case 20:this.Rb=this.b.B[h[1]];this.uc=-1;this.nb=h[2];this.Pg=h[3];Sb.Ko&&this.nb===Sb.Ko.prototype.J.ts&&this.I.$n();this.vd=h[4]?new Nb(d,h[4]):null;this.ta=[];this.na=[];6===h.length?(a=h[5],this.ta.length=
a.length+1):this.ta.length=1;break;case 21:this.Rb=this.b.B[h[1]];this.Pg=h[2];this.vd=h[3]?new Nb(d,h[3]):null;this.Fl=h[4];break;case 22:this.Rb=this.b.B[h[1]];this.Rb.Vh(h[2]);this.uc=this.Rb.Wj(h[2]);this.nb=h[3];this.Pg=h[4];this.vd=h[5]?new Nb(d,h[5]):null;this.ta=[];this.na=[];7===h.length?(a=h[6],this.ta.length=a.length+1):this.ta.length=1;break;case 23:this.ah=h[1],this.ue=null}this.I.or(this.Rb);4<=this.type&&17>=this.type&&(this.first=new Nb(d,h[1]),this.lb=new Nb(d,h[2]));if(a){var e,
l;e=0;for(l=a.length;e<l;e++)this.na.push(new Nb(d,a[e]))}}function n(d,h){this.type=d||X.Ue;this.data=h||0;this.uf=null;this.type==X.Ue&&(this.data=Math.floor(this.data))}k.prototype.Na=function(){23===this.type&&(this.ue=this.I.b.Dm(this.ah,this.I.mc.parent));this.first&&this.first.Na();this.lb&&this.lb.Na();this.bj&&this.bj.Na();this.vd&&this.vd.Na();if(this.na){var d,h;d=0;for(h=this.na.length;d<h;d++)this.na[d].Na()}};k.prototype.rq=function(d){this.ta[0]=d;d=this.I.ab();var h,a;h=0;for(a=this.na.length;h<
a;h++)this.na[h].get(d),this.ta[h+1]=d.data;this.I.Ta();this.nb.apply(this.b.ld,this.ta)};k.prototype.tm=function(d){var h=this.Rb.ja(),a=h.Cc();if(!a.length)if(h.fa.length)a=h.fa;else{this.Pg?d.Jb(""):d.wa(0);return}this.ta[0]=d;d.uf=this.Rb;d=this.I.ab();var e,h=0;for(e=this.na.length;h<e;h++)this.na[h].get(d),this.ta[h+1]=d.data;h=this.I.he;this.vd&&(this.vd.get(d),d.gb()&&(h=d.data,a=this.Rb.j));this.I.Ta();h%=a.length;0>h&&(h+=a.length);a=a[h];-1<this.uc?(d=0,this.Rb.M&&(d=a.type.cf[this.Rb.sd]),
this.nb.apply(a.S[this.uc+d],this.ta)):this.nb.apply(a,this.ta)};k.prototype.gq=function(d){var h=this.Rb.ja(),a=h.Cc();if(!a.length)if(h.fa.length)a=h.fa;else{this.Pg?d.Jb(""):d.wa(0);return}h=this.I.he;if(this.vd){var e=this.I.ab();this.vd.get(e);if(e.gb()){h=e.data;a=this.Rb.j;h%=a.length;0>h&&(h+=a.length);a=a[h].Za[this.Fl];P(a)?d.Jb(a):d.K(a);this.I.Ta();return}this.I.Ta()}h%=a.length;0>h&&(h+=a.length);a=a[h];h=0;this.Rb.M&&(h=a.type.Oh[this.Rb.sd]);a=a.Za[this.Fl+h];P(a)?d.Jb(a):d.K(a)};k.prototype.hq=
function(d){d.type=X.Ue;d.data=this.value};k.prototype.cq=function(d){d.type=X.Te;d.data=this.value};k.prototype.pq=function(d){d.type=X.lh;d.data=this.value};k.prototype.sq=function(d){this.first.get(d);d.gb()&&(d.data=-d.data)};k.prototype.Xp=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.gb()&&h.gb()&&(d.data+=h.data,h.kf()&&d.qf());this.I.Ta()};k.prototype.qq=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.gb()&&h.gb()&&(d.data-=h.data,h.kf()&&d.qf());this.I.Ta()};
k.prototype.lq=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.gb()&&h.gb()&&(d.data*=h.data,h.kf()&&d.qf());this.I.Ta()};k.prototype.$p=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.gb()&&h.gb()&&(d.data/=h.data,d.qf());this.I.Ta()};k.prototype.kq=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.gb()&&h.gb()&&(d.data%=h.data,h.kf()&&d.qf());this.I.Ta()};k.prototype.oq=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.gb()&&h.gb()&&
(d.data=Math.pow(d.data,h.data),h.kf()&&d.qf());this.I.Ta()};k.prototype.Yp=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.gb()?h.gi()?d.Jb(d.data.toString()+h.data):d.data&&h.data?d.wa(1):d.wa(0):d.gi()&&(d.data=h.gi()?d.data+h.data:d.data+(Math.round(1E10*h.data)/1E10).toString());this.I.Ta()};k.prototype.nq=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.gb()&&h.gb()&&(d.data||h.data?d.wa(1):d.wa(0));this.I.Ta()};k.prototype.Zp=function(d){this.first.get(d);d.data?
this.lb.get(d):this.bj.get(d)};k.prototype.aq=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.wa(d.data===h.data?1:0);this.I.Ta()};k.prototype.mq=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.wa(d.data!==h.data?1:0);this.I.Ta()};k.prototype.iq=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.wa(d.data<h.data?1:0);this.I.Ta()};k.prototype.jq=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.wa(d.data<=h.data?1:0);this.I.Ta()};k.prototype.dq=
function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.wa(d.data>h.data?1:0);this.I.Ta()};k.prototype.fq=function(d){this.first.get(d);var h=this.I.ab();this.lb.get(h);d.wa(d.data>=h.data?1:0);this.I.Ta()};k.prototype.bq=function(d){var h=this.ue.ye();ga(h)?d.K(h):d.Jb(h)};Nb=k;n.prototype.kf=function(){return this.type===X.Te};n.prototype.gb=function(){return this.type===X.Ue||this.type===X.Te};n.prototype.gi=function(){return this.type===X.lh};n.prototype.qf=function(){this.kf()||(this.gi()&&
(this.data=parseFloat(this.data)),this.type=X.Te)};n.prototype.wa=function(d){this.type=X.Ue;this.data=Math.floor(d)};n.prototype.K=function(d){this.type=X.Te;this.data=d};n.prototype.Jb=function(d){this.type=X.lh;this.data=d};n.prototype.Sr=function(d){ga(d)?(this.type=X.Te,this.data=d):P(d)?(this.type=X.lh,this.data=d.toString()):(this.type=X.Ue,this.data=0)};Qb=n;X={Ue:0,Te:1,lh:2}})();function Y(k){this.b=k;this.kc=[]}
Y.prototype.Ab=function(){var k={},n,d,h,a,e,l,c,p;k.waits=[];var r=k.waits,v;n=0;for(d=this.kc.length;n<d;n++){l=this.kc[n];v={t:l.time,ev:l.Uf.Y,sm:[],sols:{}};l.Uf.Lc[l.tc]&&(v.act=l.Uf.Lc[l.tc].Y);h=0;for(a=l.Ea.length;h<a;h++)v.sm.push(l.Ea[h].Y);for(e in l.hc)if(l.hc.hasOwnProperty(e)){c=this.b.B[parseInt(e,10)];p={sa:l.hc[e].Wn,insts:[]};h=0;for(a=l.hc[e].Ce.length;h<a;h++)p.insts.push(l.hc[e].Ce[h].uid);v.sols[c.Y.toString()]=p}r.push(v)}return k};
Y.prototype.Pb=function(k){k=k.waits;var n,d,h,a,e,l,c,p,r,v,q;n=this.kc.length=0;for(d=k.length;n<d;n++)if(l=k[n],p=this.b.gm[l.ev.toString()]){r=-1;h=0;for(a=p.Lc.length;h<a;h++)if(p.Lc[h].Y===l.act){r=h;break}if(-1!==r){c={hc:{},Ea:[],pm:!1};c.time=l.t;c.Uf=p;c.tc=r;h=0;for(a=l.sm.length;h<a;h++)(p=this.b.Xh(l.sm[h]))&&c.Ea.push(p);for(e in l.sols)if(l.sols.hasOwnProperty(e)&&(p=this.b.Xh(parseInt(e,10)))){r=l.sols[e];v={Wn:r.sa,Ce:[]};h=0;for(a=r.insts.length;h<a;h++)(q=this.b.xe(r.insts[h]))&&
v.Ce.push(q);c.hc[p.index.toString()]=v}this.kc.push(c)}}};
(function(){function k(){}function n(){}function d(){}var h=Y.prototype;k.prototype.Jo=M(!0);k.prototype.Lf=M(!0);k.prototype.bp=M(!0);k.prototype.Io=function(a){var c=this.b.Yj(),e=c.R.fh||0,d=this.b.Ec.Va;"undefined"===typeof c.R.nj&&(c.R.nj=a);var h=c.R.nj;if(d>=e+h)return c.R.fh=e+h,d>=c.R.fh+0.04&&(c.R.fh=d),c.R.nj=a,!0;d<e-0.1&&(c.R.fh=d);return!1};k.prototype.Ll=function(a,c,e){return Rb(a.ye(),c,e)};k.prototype.Ho=function(){var a=this.b.Fb();return a.Lj?!1:!a.He};k.prototype.Ql=M(!0);k.prototype.So=
M(!0);k.prototype.rj=M(!0);k.prototype.cp=M(!0);k.prototype.qj=M(!0);h.q=new k;n.prototype.gh=function(a){this.b.ng||this.b.Rf||(this.b.Rf=a)};n.prototype.Ml=function(a,c,e,d){if(c&&a&&(c=this.b.om(a,c,e,d))){this.b.Rc++;var h;this.b.trigger(Object.getPrototypeOf(a.Ba).q.oj,c);if(c.pc)for(e=0,d=c.siblings.length;e<d;e++)h=c.siblings[e],this.b.trigger(Object.getPrototypeOf(h.type.Ba).q.oj,h);this.b.Rc--;a=a.ja();a.ua=!1;a.j.length=1;a.j[0]=c;if(c.pc)for(e=0,d=c.siblings.length;e<d;e++)h=c.siblings[e],
a=h.type.ja(),a.ua=!1,a.j.length=1,a.j[0]=h}};n.prototype.Nf=function(a,c){0===a.bh?ga(c)?a.Id(c):a.Id(parseFloat(c)):1===a.bh&&a.Id(c.toString())};n.prototype.Jl=function(a,c){0===a.bh?ga(c)?a.Id(a.ye()+c):a.Id(a.ye()+parseFloat(c)):1===a.bh&&a.Id(a.ye()+c.toString())};n.prototype.mp=function(a,c){0===a.bh&&(ga(c)?a.Id(a.ye()-c):a.Id(a.ye()-parseFloat(c)))};var a=[],e=[];h.D=new n;d.prototype["int"]=function(a,c){P(c)?(a.wa(parseInt(c,10)),isNaN(a.data)&&(a.data=0)):a.wa(c)};d.prototype["float"]=
function(a,c){P(c)?(a.K(parseFloat(c)),isNaN(a.data)&&(a.data=0)):a.K(c)};d.prototype.ko=function(a,c){P(c)?a.Jb(c):a.Jb(c.toString())};d.prototype.random=function(a,c,e){void 0===e?a.K(Math.random()*c):a.K(Math.random()*(e-c)+c)};d.prototype.sqrt=function(a,c){a.K(Math.sqrt(c))};d.prototype.abs=function(a,c){a.K(Math.abs(c))};d.prototype.round=function(a,c){a.wa(Math.round(c))};d.prototype.floor=function(a,c){a.wa(Math.floor(c))};d.prototype.ceil=function(a,c){a.wa(Math.ceil(c))};d.prototype.sin=
function(a,c){a.K(Math.sin(U(c)))};d.prototype.cos=function(a,c){a.K(Math.cos(U(c)))};d.prototype.acos=function(a,c){a.K(za(Math.acos(c)))};d.prototype.exp=function(a,c){a.K(Math.exp(c))};d.prototype.max=function(a){var c=arguments[1],e,d;e=2;for(d=arguments.length;e<d;e++)c<arguments[e]&&(c=arguments[e]);a.K(c)};d.prototype.min=function(a){var c=arguments[1],e,d;e=2;for(d=arguments.length;e<d;e++)c>arguments[e]&&(c=arguments[e]);a.K(c)};d.prototype.dd=function(a){a.K(this.b.dd)};d.prototype.Ef=function(a){a.K(this.b.Ef)};
d.prototype.time=function(a){a.K(this.b.Ec.Va)};d.prototype.md=function(a){a.wa(this.b.md)};d.prototype.Bi=function(a){a.wa(this.b.Bi)};d.prototype.Qj=function(a){a.wa(this.b.Qj)};d.prototype.k=function(a,c,e,d,h){a.K(za(Da(c,e,d,h)))};d.prototype.kn=function(a){a.wa(this.b.ka.width)};d.prototype.jn=function(a){a.wa(this.b.ka.height)};d.prototype.left=function(a,c,e){a.Jb(P(c)?c.substr(0,e):"")};d.prototype.right=function(a,c,e){a.Jb(P(c)?c.substr(c.length-e):"")};d.prototype.replace=function(a,c,
e,d){P(c)&&P(e)&&P(d)?a.Jb(c.replace(RegExp(Va(e),"gi"),d)):a.Jb(P(c)?c:"")};d.prototype.Kp=function(a){var c=S(Math.random()*(arguments.length-1));a.Sr(arguments[c+1])};d.prototype.Gj=function(a){a.K(this.b.Gj/1E3)};d.prototype.wi=function(a){a.K(this.b.wi)};h.J=new d;h.Hr=function(){var d,c,h,k,n,q,w=this.b.Fb();d=0;for(h=this.kc.length;d<h;d++)if(k=this.kc[d],!(k.time>this.b.Ec.Va)){w.xc=k.Uf;w.tc=k.tc;w.Xa=0;for(c in k.hc)k.hc.hasOwnProperty(c)&&(n=this.b.B[parseInt(c,10)].ja(),q=k.hc[c],n.ua=
q.Wn,ua(n.j,q.Ce),n=q,n.Ce.length=0,e.push(n));k.Uf.Fr();this.b.Ej(k.Ea);k.pm=!0}c=d=0;for(h=this.kc.length;d<h;d++)k=this.kc[d],this.kc[c]=k,k.pm?(Sa(k.hc),k.Ea.length=0,a.push(k)):c++;this.kc.length=c}})();
(function(){cb=function(k){var d=k[0].prototype,h=k[1],a=k[3],e=k[4],l=k[5],c=k[6],p=k[7];k=k[8];d.q||(d.q={});d.D||(d.D={});d.J||(d.J={});var r=d.q,v=d.D,d=d.J;a&&(r.eh=function(a,c){return Rb(this.x,a,c)},r.Go=function(a,c){return Rb(this.y,a,c)},r.Fs=function(){var a=this.n;this.Fa();var c=this.Ka;return!(c.right<a.qb||c.bottom<a.rb||c.left>a.jc||c.top>a.ic)},r.Gs=function(){this.Fa();var a=this.Ka,c=this.b.ka;return 0>a.right||0>a.bottom||a.left>c.width||a.top>c.height},r.Ss=function(a,c,e){var d=
this.ja(),b=d.Cc();if(!b.length)return!1;var f=b[0],m=f,g=Ma(f.x,f.y,c,e),h,l,k;h=1;for(l=b.length;h<l;h++)if(f=b[h],k=Ma(f.x,f.y,c,e),0===a&&k<g||1===a&&k>g)g=k,m=f;d.Kg(m);return!0},v.sj=function(a){this.x!==a&&(this.x=a,this.C())},v.lt=function(a){this.y!==a&&(this.y=a,this.C())},v.ip=function(a,c){if(this.x!==a||this.y!==c)this.x=a,this.y=c,this.C()},v.it=function(a,c){var e=a.Fq(this);if(e){var d;e.ak?(d=e.ak(c,!0),e=e.ak(c,!1)):(d=e.x,e=e.y);if(this.x!==d||this.y!==e)this.x=d,this.y=e,this.C()}},
v.Ls=function(a){0!==a&&(this.x+=Math.cos(this.k)*a,this.y+=Math.sin(this.k)*a,this.C())},v.Ks=function(a,c){0!==c&&(this.x+=Math.cos(U(a))*c,this.y+=Math.sin(U(a))*c,this.C())},d.mh=function(a){a.K(this.x)},d.qp=function(a){a.K(this.y)},d.dd=function(a){a.K(this.b.$f(this))});e&&(r.xs=function(a,c){return Rb(this.width,a,c)},r.us=function(a,c){return Rb(this.height,a,c)},v.kp=function(a){this.width!==a&&(this.width=a,this.C())},v.et=function(a){this.height!==a&&(this.height=a,this.C())},v.jp=function(a,
c){if(this.width!==a||this.height!==c)this.width=a,this.height=c,this.C()},d.Of=function(a){a.K(this.width)},d.Lo=function(a){a.K(this.height)},d.qs=function(a){this.Fa();a.K(this.Ka.left)},d.ss=function(a){this.Fa();a.K(this.Ka.top)},d.rs=function(a){this.Fa();a.K(this.Ka.right)},d.os=function(a){this.Fa();a.K(this.Ka.bottom)});l&&(r.ns=function(a,c){return Ea(this.k,U(c))<=U(a)},r.Ds=function(a){return Ha(this.k,U(a))},r.Bs=function(a,c){var e=Ca(a),d=Ca(c),b=V(this.k);return Ha(d,e)?Ha(b,e)&&!Ha(b,
d):!(!Ha(b,e)&&Ha(b,d))},v.$s=function(a){a=U(Aa(a));isNaN(a)||this.k===a||(this.k=a,this.C())},v.Ws=function(a){0===a||isNaN(a)||(this.k+=U(a),this.k=V(this.k),this.C())},v.Xs=function(a){0===a||isNaN(a)||(this.k-=U(a),this.k=V(this.k),this.C())},v.Ys=function(a,c){var e=Ga(this.k,U(c),U(a));isNaN(e)||this.k===e||(this.k=e,this.C())},v.Zs=function(a,c,e){a=Ga(this.k,Math.atan2(e-this.y,c-this.x),U(a));isNaN(a)||this.k===a||(this.k=a,this.C())},v.jt=function(a,c){var e=Math.atan2(c-this.y,a-this.x);
isNaN(e)||this.k===e||(this.k=e,this.C())},d.ls=function(a){a.K(Ba(this.k))});h||(r.vs=function(a,c,e){return Rb(this.Za[a],c,e)},r.Cs=function(a){return this.Za[a]},r.Ts=function(a,c){var e=this.ja(),d=e.Cc();if(!d.length)return!1;var b=d[0],f=b,m=b.Za[c],g,h,l;g=1;for(h=d.length;g<h;g++)if(b=d[g],l=b.Za[c],0===a&&l<m||1===a&&l>m)m=l,f=b;e.Kg(f);return!0},r.Rs=function(a){var c,e,d,b,f;if(this.b.Yj().pk){f=this.ja();if(f.ua)for(f.ua=!1,f.j.length=0,f.fa.length=0,d=this.j,c=0,e=d.length;c<e;c++)b=
d[c],b.uid===a?f.fa.push(b):f.j.push(b);else{d=c=0;for(e=f.j.length;c<e;c++)b=f.j[c],f.j[d]=b,b.uid===a?f.fa.push(b):d++;f.j.length=d}this.Pc();return!!f.j.length}b=this.b.xe(a);if(!b)return!1;f=this.ja();if(!f.ua&&-1===f.j.indexOf(b))return!1;if(this.M)for(a=b.type.Aa,c=0,e=a.length;c<e;c++){if(a[c]===this)return f.Kg(b),this.Pc(),!0}else if(b.type===this)return f.Kg(b),this.Pc(),!0;return!1},r.oj=M(!0),r.Uo=M(!0),v.gt=function(a,c){var e=this.Za;ga(e[a])?e[a]=ga(c)?c:parseFloat(c):P(e[a])&&(e[a]=
P(c)?c:c.toString())},v.ks=function(a,c){var e=this.Za;ga(e[a])?e[a]=ga(c)?e[a]+c:e[a]+parseFloat(c):P(e[a])&&(e[a]=P(c)?e[a]+c:e[a]+c.toString())},v.mt=function(a,c){var e=this.Za;ga(e[a])&&(e[a]=ga(c)?e[a]-c:e[a]-parseFloat(c))},v.bt=function(a,c){this.Za[a]=c?1:0},v.nt=function(a){this.Za[a]=1-this.Za[a]},v.Nl=function(){this.b.oe(this)},v.Mo||(v.Mo=function(a){var c,e;try{c=JSON.parse(a)}catch(d){return}this.b.ti(this,c,!0);this.Mc&&this.Mc();if(this.S)for(a=0,c=this.S.length;a<c;++a)e=this.S[a],
e.Mc&&e.Mc()}),d.ys=function(a){var c=a.uf.j.length,e,d,b;e=0;for(d=this.b.Mb.length;e<d;e++)b=this.b.Mb[e],a.uf.M?0<=b.type.Aa.indexOf(a.uf)&&c++:b.type===a.uf&&c++;a.wa(c)},d.Vs=function(a){a.wa(a.uf.ja().Cc().length)},d.ot=function(a){a.wa(this.uid)},d.As=function(a){a.wa(this.cg())},d.Kl||(d.Kl=function(a){a.Jb(JSON.stringify(this.b.ml(this,!0)))}));c&&(r.Hs=J("visible"),v.kt=function(a){!a!==!this.visible&&(this.visible=a,this.b.ra=!0)},r.ws=function(a,c){return Rb($a(100*this.opacity),a,c)},
v.ht=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ra=!0)},d.Opacity=function(a){a.K($a(100*this.opacity))});p&&(r.Es=function(a){return a?this.n===a:!1},r.Us=function(a){var c=this.ja(),e=c.Cc();if(!e.length)return!1;var d=e[0],b=d,f,m;f=1;for(m=e.length;f<m;f++)if(d=e[f],0===a){if(d.n.index>b.n.index||d.n.index===b.n.index&&d.oc()>b.oc())b=d}else if(d.n.index<b.n.index||d.n.index===b.n.index&&d.oc()<b.oc())b=d;c.Kg(b);return!0},v.Os=function(){var a=this.oc();a!==
this.n.j.length-1&&(ta(this.n.j,a),this.n.j.push(this),this.b.ra=!0,this.n.lc=!0)},v.Ms=function(){var a=this.oc();0!==a&&(ta(this.n.j,a),this.n.j.unshift(this),this.b.ra=!0,this.n.lc=!0)},v.Ns=function(a){a&&a!=this.n&&(ta(this.n.j,this.oc()),this.n.lc=!0,this.n=a,this.Se=a.j.length,a.j.push(this),this.b.ra=!0)},v.qt=function(a,c){var e=0===a;if(c){var d=c.Em(this);if(d&&d.uid!==this.uid){this.n.index!==d.n.index&&(ta(this.n.j,this.oc()),this.n.lc=!0,this.n=d.n,this.Se=d.n.j.length,d.n.j.push(this));
var b=this.oc(),d=d.oc();ta(this.n.j,b);b<d&&d--;e&&d++;d===this.n.j.length?this.n.j.push(this):this.n.j.splice(d,0,this);this.n.lc=!0;this.b.ra=!0}}},d.Js=function(a){a.wa(this.n.sn)},d.Is=function(a){a.Jb(this.n.name)},d.pt=function(a){a.wa(this.oc())});k&&(v.ct=function(a,c){if(this.b.P){var e=this.type.$j(c);if(!(0>e)){var d=1===a;this.Od[e]!==d&&(this.Od[e]=d,this.Ld(),this.b.ra=!0)}}},v.dt=function(a,c,e){if(this.b.P){var d=this.type.$j(a);0>d||(a=this.type.O[d],d=this.Ha[d],c=Math.floor(c),
0>c||c>=d.length||(1===this.b.P.Et(a.pb,c)&&(e/=100),d[c]!==e&&(d[c]=e,a.tb&&(this.b.ra=!0))))}})};yb=function(){this.Cj=this.xj=!0;this.type.qh=!0;this.b.ra=!0;var k,d,h=this.yj;k=0;for(d=h.length;k<d;++k)h[k](this)};zb=function(k){k&&this.yj.push(k)};Bb=function(){if(this.xj){var k=this.Ka,d=this.Eb;k.set(this.x,this.y,this.x+this.width,this.y+this.height);k.offset(-this.Nb*this.width,-this.Ob*this.height);this.k?(k.offset(-this.x,-this.y),d.bo(k,this.k),d.offset(this.x,this.y),d.hm(k)):d.Ug(k);
k.normalize();this.xj=!1}};var k=new pa(0,0,0,0);Cb=function(){if(this.Cj&&this.od){this.Fa();var n=this.type.Ch,d=this.Bh,h=this.Ka;k.set(n.nh(h.left),n.oh(h.top),n.nh(h.right),n.oh(h.bottom));d.Wp(k)||(d.right<d.left?n.update(this,null,k):n.update(this,d,k),d.copy(k),this.Cj=!1)}};Ab=function(k,d){return this.Ka.Vb(k,d)&&this.Eb.Vb(k,d)?this.ea&&!this.ea.jf()?(this.ea.Ye(this.width,this.height,this.k),this.ea.Vb(k-this.x,d-this.y)):!0:!1};ub=function(){this.type.jj();return this.ze};Db=function(){this.n.cs();
return this.Se};Eb=function(){this.ca.length=0;var k,d;k=0;for(d=this.Od.length;k<d;k++)this.Od[k]&&this.ca.push(this.type.O[k]);this.Do=!!this.ca.length};vb=function(){return"Inst"+this.Pn};fb=function(k){if(k&&k.pc&&k.type!=this){var d,h,a;d=0;for(h=k.siblings.length;d<h;d++)if(a=k.siblings[d],a.type==this)return a}k=this.ja().Cc();return k.length?k[0]:null};gb=function(k){var d=this.ja().Cc();return d.length?d[k.cg()%d.length]:null};eb=function(){if(this.Df&&!this.M){var k,d;k=0;for(d=this.j.length;k<
d;k++)this.j[k].ze=k;var h=k,a=this.b.Mb;k=0;for(d=a.length;k<d;++k)a[k].type===this&&(a[k].ze=h++);this.Df=!1}};sb=function(k){if(k<this.j.length)return this.j[k];k-=this.j.length;var d=this.b.Mb,h,a;h=0;for(a=d.length;h<a;++h)if(d[h].type===this){if(0===k)return d[h];--k}return null};hb=function(){return this.ie[this.qd]};ib=function(){this.qd++;this.qd===this.ie.length?this.ie.push(new db(this)):this.ie[this.qd].ua=!0};jb=function(){this.qd++;this.qd===this.ie.length&&this.ie.push(new db(this));
var k=this.ie[this.qd],d=this.ie[this.qd-1];d.ua?k.ua=!0:(k.ua=!1,ua(k.j,d.j),ua(k.fa,d.fa))};kb=function(){this.qd--};ob=function(k){var d,h,a,e,l,c=0;if(!this.M)for(d=0,h=this.Aa.length;d<h;d++)for(l=this.Aa[d],a=0,e=l.Pa.length;a<e;a++){if(k===l.Pa[a].name)return this.R.cn=c,l.Pa[a];c++}d=0;for(h=this.Pa.length;d<h;d++){if(k===this.Pa[d].name)return this.R.cn=c,this.Pa[d];c++}return null};pb=function(k){return this.Vh(k)?this.R.cn:-1};qb=function(k){var d,h;d=0;for(h=this.O.length;d<h;d++)if(this.O[d].name===
k)return d;return-1};rb=function(){if(this.pc&&!this.M){var k,d,h,a,e,l,c;this.jj();l=this.ja();var p=l.ua,r=(k=this.b.Fb())&&k.xc&&k.xc.Uc;k=0;for(d=this.Ub.length;k<d;k++)if(e=this.Ub[k],e!==this&&(e.jj(),c=e.ja(),c.ua=p,!p)){c.j.length=l.j.length;h=0;for(a=l.j.length;h<a;h++)c.j[h]=e.Fm(l.j[h].ze);if(r)for(c.fa.length=l.fa.length,h=0,a=l.fa.length;h<a;h++)c.fa[h]=e.Fm(l.fa[h].ze)}}};tb=function(){return"Type"+this.Y};Rb=function(k,d,h){if("undefined"===typeof k||"undefined"===typeof h)return!1;
switch(d){case 0:return k===h;case 1:return k!==h;case 2:return k<h;case 3:return k<=h;case 4:return k>h;case 5:return k>=h;default:return!1}}})();function Wb(k){this.b=k}
(function(){function k(a){0>a&&(a=0);1<a&&(a=1);return 20*(Math.log(a)/Math.log(10))}function n(a){a=a.toLowerCase();return T.hasOwnProperty(a)&&T[a].length?T[a][0].nc():u.destination}function d(){return u.createGain?u.createGain():u.createGainNode()}function h(a){return u.createDelay?u.createDelay(a):u.createDelayNode(a)}function a(a){a.start?a.start(0):a.noteOn(0)}function e(a,b,c){a.start?a.start(0,b):a.noteGrainOn(0,b,c-b)}function l(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function c(a,
b,c,e,g,f){this.type="filter";this.Vc=[a,b,c,e,g,f];this.$=d();this.N=d();this.N.gain.value=f;this.L=d();this.L.gain.value=1-f;this.Qa=u.createBiquadFilter();this.Qa.type="number"===typeof this.Qa.type?a:jc[a];this.Qa.frequency.value=b;this.Qa.detune&&(this.Qa.detune.value=c);this.Qa.Q.value=e;this.Qa.gain.value=g;this.$.connect(this.Qa);this.$.connect(this.L);this.Qa.connect(this.N)}function p(a,b,c){this.type="delay";this.Vc=[a,b,c];this.$=d();this.N=d();this.N.gain.value=c;this.L=d();this.L.gain.value=
1-c;this.yg=d();this.zc=h(a);this.zc.delayTime.value=a;this.Jh=d();this.Jh.gain.value=b;this.$.connect(this.yg);this.$.connect(this.L);this.yg.connect(this.N);this.yg.connect(this.zc);this.zc.connect(this.Jh);this.Jh.connect(this.yg)}function r(a,b,c,e){this.type="convolve";this.Vc=[b,c,e];this.$=d();this.N=d();this.N.gain.value=c;this.L=d();this.L.gain.value=1-c;this.se=u.createConvolver();a&&(this.se.normalize=b,this.se.buffer=a);this.$.connect(this.se);this.$.connect(this.L);this.se.connect(this.N)}
function v(b,c,e,g,f){this.type="flanger";this.Vc=[b,c,e,g,f];this.$=d();this.L=d();this.L.gain.value=1-f/2;this.N=d();this.N.gain.value=f/2;this.Ph=d();this.Ph.gain.value=g;this.zc=h(b+c);this.zc.delayTime.value=b;this.jb=u.createOscillator();this.jb.frequency.value=e;this.fc=d();this.fc.gain.value=c;this.$.connect(this.zc);this.$.connect(this.L);this.zc.connect(this.N);this.zc.connect(this.Ph);this.Ph.connect(this.zc);this.jb.connect(this.fc);this.fc.connect(this.zc.delayTime);a(this.jb)}function q(b,
c,e,g,f,m){this.type="phaser";this.Vc=[b,c,e,g,f,m];this.$=d();this.L=d();this.L.gain.value=1-m/2;this.N=d();this.N.gain.value=m/2;this.Qa=u.createBiquadFilter();this.Qa.type="number"===typeof this.Qa.type?7:"allpass";this.Qa.frequency.value=b;this.Qa.detune&&(this.Qa.detune.value=c);this.Qa.Q.value=e;this.jb=u.createOscillator();this.jb.frequency.value=f;this.fc=d();this.fc.gain.value=g;this.$.connect(this.Qa);this.$.connect(this.L);this.Qa.connect(this.N);this.jb.connect(this.fc);this.fc.connect(this.Qa.frequency);
a(this.jb)}function w(a){this.type="gain";this.Vc=[a];this.ba=d();this.ba.gain.value=a}function t(b,c){this.type="tremolo";this.Vc=[b,c];this.ba=d();this.ba.gain.value=1-c/2;this.jb=u.createOscillator();this.jb.frequency.value=b;this.fc=d();this.fc.gain.value=c/2;this.jb.connect(this.fc);this.fc.connect(this.ba.gain);a(this.jb)}function s(b,c){this.type="ringmod";this.Vc=[b,c];this.$=d();this.N=d();this.N.gain.value=c;this.L=d();this.L.gain.value=1-c;this.Qg=d();this.Qg.gain.value=0;this.jb=u.createOscillator();
this.jb.frequency.value=b;this.jb.connect(this.Qg.gain);a(this.jb);this.$.connect(this.Qg);this.$.connect(this.L);this.Qg.connect(this.N)}function b(a,b,c,e,g){this.type="distortion";this.Vc=[a,b,c,e,g];this.$=d();this.Ki=d();this.Ji=d();this.Pr(c,Math.pow(10,e/20));this.N=d();this.N.gain.value=g;this.L=d();this.L.gain.value=1-g;this.mj=u.createWaveShaper();this.Hh=new Float32Array(65536);this.xq(a,b);this.mj.Hh=this.Hh;this.$.connect(this.Ki);this.$.connect(this.L);this.Ki.connect(this.mj);this.mj.connect(this.Ji);
this.Ji.connect(this.N)}function f(a,b,c,e,g){this.type="compressor";this.Vc=[a,b,c,e,g];this.ba=u.createDynamicsCompressor();try{this.ba.threshold.value=a,this.ba.knee.value=b,this.ba.ratio.value=c,this.ba.attack.value=e,this.ba.release.value=g}catch(f){}}function m(a,b){this.type="analyser";this.Vc=[a,b];this.ba=u.createAnalyser();this.ba.fftSize=a;this.ba.smoothingTimeConstant=b;this.vq=new Float32Array(this.ba.frequencyBinCount);this.eo=new Uint8Array(a);this.Jg=0}function g(){this.V=null;this.vi=
0;this.je=[];this.Lk=this.ki=this.ji=0}function Q(a,b){this.src=a;this.ma=y;this.Sc=b;this.dm=!1;var c=this;this.Jk=this.Xk=null;this.xf=[];this.Ti=0;this.lo=this.Ei=!1;y===B&&b&&(this.ma=C,this.Xk=d());this.sh=this.Ca=null;var e;switch(this.ma){case C:this.Ca=new Audio;y!==B||!u.createMediaElementSource||E.Um||/wiiu/i.test(navigator.userAgent)||(this.lo=!0,this.Ca.addEventListener("canplay",function(){c.Jk||(c.Jk=u.createMediaElementSource(c.Ca),c.Jk.connect(c.Xk))}));this.Ca.autoplay=!1;this.Ca.Kt=
"auto";this.Ca.src=a;break;case B:e=new XMLHttpRequest;e.open("GET",a,!0);e.responseType="arraybuffer";e.onload=function(){c.sh=e.response;c.Op()};e.send();break;case F:this.Ca=!0;break;case N:this.Ca=!0}}function z(a,b){var c=this;this.le=b;this.Hc=this.Wd=!0;this.src=a.src;this.buffer=a;this.ma=y;this.Sc=a.Sc;this.playbackRate=1;this.Zk=!0;this.xd=this.Fd=!1;this.Yc=0;this.lg=this.lf=this.Ad=!1;this.Ag=this.volume=1;this.startTime=E.Ec.Va;this.Ma=this.fb=null;this.hd=!1;this.La=null;this.En=this.Dn=
this.Cn=this.Bn=this.Gn=this.Fn=0;this.u=null;var e=!1;this.ma!==B||this.buffer.ma!==C||this.buffer.lo||(this.ma=C);switch(this.ma){case C:this.Sc?(this.u=a.Ca,e=!a.dm,a.dm=!0):(this.u=new Audio,this.u.autoplay=!1,this.u.src=a.Ca.src,e=!0);e&&this.u.addEventListener("ended",function(){L=c.le;c.Hc=!0;E.trigger(Wb.prototype.q.pj,K)});break;case B:this.fb=d();this.fb.connect(n(b));this.buffer.ma===B?a.Ca&&(this.u=u.createBufferSource(),this.u.buffer=a.Ca,this.u.connect(this.fb)):(this.u=this.buffer.Ca,
this.buffer.Xk.connect(this.fb));break;case F:this.u=new window.Media(I+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(c.Zk=!0,c.Hc=!0,L=c.le,E.trigger(Wb.prototype.q.pj,K))});break;case N:this.u=!0}}function D(a,b){T.hasOwnProperty(a)?T[a].push(b):T[a]=[b];var c,e,g,f,d=u.destination;if(T.hasOwnProperty(a)&&(g=T[a],g.length))for(d=g[0].nc(),c=0,e=g.length;c<e;c++)f=g[c],c+1===e?f.vc(u.destination):f.vc(g[c+1].nc());Ia.length=0;if(a.length)for(c=0,e=G.length;c<e;c++)g=G[c],ab(a,g.le)&&
Ia.push(g);else O&&!O.eg()&&(Ia.length=1,Ia[0]=O);c=0;for(e=Ia.length;c<e;c++)Ia[c].Er(d);Fa&&lb===a&&(Fa.disconnect(),Fa.connect(d))}function H(){}function fa(){}var R=Wb.prototype;R.za=function(a){this.Ba=a;this.b=a.b};R.za.prototype.X=A();var E=null,K=null,L="",I="",C=0,B=1,F=2,N=3,y=C,u=null,W=[],G=[],O=null,ma=!1,bb=0,sa=!1,va=1,Ja=0,Ka=0,mb=1,nb=1,dc=10,ec=1E4,fc=1,Fa=null,lb="",Pa=!1,Qa=[],T={},jc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");c.prototype.vc=
function(a){this.N.disconnect();this.N.connect(a);this.L.disconnect();this.L.connect(a)};c.prototype.remove=function(){this.$.disconnect();this.Qa.disconnect();this.N.disconnect();this.L.disconnect()};c.prototype.nc=J("$");p.prototype.vc=function(a){this.N.disconnect();this.N.connect(a);this.L.disconnect();this.L.connect(a)};p.prototype.remove=function(){this.$.disconnect();this.yg.disconnect();this.zc.disconnect();this.Jh.disconnect();this.N.disconnect();this.L.disconnect()};p.prototype.nc=J("$");
r.prototype.vc=function(a){this.N.disconnect();this.N.connect(a);this.L.disconnect();this.L.connect(a)};r.prototype.remove=function(){this.$.disconnect();this.se.disconnect();this.N.disconnect();this.L.disconnect()};r.prototype.nc=J("$");v.prototype.vc=function(a){this.L.disconnect();this.L.connect(a);this.N.disconnect();this.N.connect(a)};v.prototype.remove=function(){this.$.disconnect();this.zc.disconnect();this.jb.disconnect();this.fc.disconnect();this.L.disconnect();this.N.disconnect();this.Ph.disconnect()};
v.prototype.nc=J("$");q.prototype.vc=function(a){this.L.disconnect();this.L.connect(a);this.N.disconnect();this.N.connect(a)};q.prototype.remove=function(){this.$.disconnect();this.Qa.disconnect();this.jb.disconnect();this.fc.disconnect();this.L.disconnect();this.N.disconnect()};q.prototype.nc=J("$");w.prototype.vc=function(a){this.ba.disconnect();this.ba.connect(a)};w.prototype.remove=function(){this.ba.disconnect()};w.prototype.nc=J("ba");t.prototype.vc=function(a){this.ba.disconnect();this.ba.connect(a)};
t.prototype.remove=function(){this.jb.disconnect();this.fc.disconnect();this.ba.disconnect()};t.prototype.nc=J("ba");s.prototype.vc=function(a){this.N.disconnect();this.N.connect(a);this.L.disconnect();this.L.connect(a)};s.prototype.remove=function(){this.jb.disconnect();this.Qg.disconnect();this.$.disconnect();this.N.disconnect();this.L.disconnect()};s.prototype.nc=J("$");b.prototype.Pr=function(a,b){0.01>a&&(a=0.01);this.Ki.gain.value=a;this.Ji.gain.value=Math.pow(1/a,0.6)*b};b.prototype.shape=
function(a,b,c){var e=1.05*c*b-b;c=0>a?-1:1;a=0>a?-a:a;b=a<b?a:b+e*(1-Math.exp(-(1/e)*(a-b)));return b*c};b.prototype.xq=function(a,b){for(var c=Math.pow(10,a/20),e=Math.pow(10,b/20),g=0,f=0;32768>f;++f)g=f/32768,g=this.shape(g,c,e),this.Hh[32768+f]=g,this.Hh[32768-f-1]=-g};b.prototype.vc=function(a){this.N.disconnect();this.N.connect(a);this.L.disconnect();this.L.connect(a)};b.prototype.remove=function(){this.$.disconnect();this.Ki.disconnect();this.mj.disconnect();this.Ji.disconnect();this.N.disconnect();
this.L.disconnect()};b.prototype.nc=J("$");f.prototype.vc=function(a){this.ba.disconnect();this.ba.connect(a)};f.prototype.remove=function(){this.ba.disconnect()};f.prototype.nc=J("ba");m.prototype.Wa=function(){this.ba.getFloatFrequencyData(this.vq);this.ba.getByteTimeDomainData(this.eo);for(var a=this.ba.fftSize,b=0,c=this.Jg=0,e=0;b<a;b++)e=(this.eo[b]-128)/128,0>e&&(e=-e),this.Jg<e&&(this.Jg=e),c+=e*e;this.Jg=k(this.Jg);k(Math.sqrt(c/a))};m.prototype.vc=function(a){this.ba.disconnect();this.ba.connect(a)};
m.prototype.remove=function(){this.ba.disconnect()};m.prototype.nc=J("ba");g.prototype.Rg=function(a){if(this.V=a)this.ji=this.V.x,this.ki=this.V.y;this.je.length=0};g.prototype.ai=function(){return!!this.V};g.prototype.Wa=function(a){this.V&&0!==a&&(this.Lk=Da(this.ji,this.ki,this.V.x,this.V.y),a=Ma(this.ji,this.ki,this.V.x,this.V.y)/a,4>this.je.length||this.je.shift(),this.je.push(a),this.ji=this.V.x,this.ki=this.V.y)};g.prototype.Jm=function(){if(!this.je.length)return 0;var a,b,c=0;a=0;for(b=
this.je.length;a<b;a++)c+=this.je[a];return c/this.je.length};g.prototype.dk=function(){return Math.cos(this.Lk)*this.Jm()};g.prototype.ek=function(){return Math.sin(this.Lk)*this.Jm()};var gc=!1;Q.prototype.Op=function(){if(!this.Ca&&this.sh){var a=this;if(u.decodeAudioData)u.decodeAudioData(this.sh,function(b){a.Ca=b;var c,e,g;if(ea(a.Gi)||sa)ea(a.Dh)||(c=a.Dh.se,c.normalize=a.rn,c.buffer=b);else if(a.xf.length){c=0;for(e=a.xf.length;c<e;c++){b=a.xf[c];g=new z(a,b.qo);g.ql(!0);if("undefined"!==
typeof b.tn&&(b.V=E.xe(b.tn),!b.V))continue;if(b.V){var f=La(b.V.x,b.V.y,-b.V.n.Ra(),Ja,Ka,!0),d=La(b.V.x,b.V.y,-b.V.n.Ra(),Ja,Ka,!1);g.pl(f,d,za(b.V.k-b.V.n.Ra()),b.ik,b.Nk,b.Qk);g.Rg(b.V)}else g.pl(b.x,b.y,b.rp,b.ik,b.Nk,b.Qk);g.play(a.Ik,a.Gl,a.Ti);a.Ei&&g.pause();G.push(g)}a.xf.length=0}else g=new z(a,a.Gi),g.play(a.Ik,a.Gl,a.Ti),a.Ei&&g.pause(),G.push(g)});else if(this.Ca=u.createBuffer(this.sh,!1),ea(this.Gi)||sa)ea(this.Dh)||(b=this.Dh.se,b.normalize=this.rn,b.buffer=this.Ca);else{var b=new z(this,
this.Gi);b.play(this.Ik,this.Gl,this.Ti);this.Ei&&b.pause();G.push(b)}}};z.prototype.eg=function(){switch(this.ma){case C:return this.u.ended;case B:return this.buffer.ma===B?!this.Wd&&!this.Hc&&this.u.loop||this.xd?!1:E.Ec.Va-this.startTime>this.buffer.Ca.duration:this.u.ended;case F:return this.Zk;case N:!0}return!0};z.prototype.Gp=function(){return this.Wd||this.Hc?!0:this.eg()};z.prototype.ql=function(a){y===B&&(!this.hd&&a?this.fb&&(this.Ma||(this.Ma=u.createPanner(),this.Ma.panningModel="number"===
typeof this.Ma.panningModel?mb:["equalpower","HRTF","soundfield"][mb],this.Ma.distanceModel="number"===typeof this.Ma.distanceModel?nb:["linear","inverse","exponential"][nb],this.Ma.refDistance=dc,this.Ma.maxDistance=ec,this.Ma.rolloffFactor=fc),this.fb.disconnect(),this.fb.connect(this.Ma),this.Ma.connect(n(this.le)),this.hd=!0):this.hd&&!a&&this.fb&&(this.Ma.disconnect(),this.fb.disconnect(),this.fb.connect(n(this.le)),this.hd=!1))};z.prototype.pl=function(a,b,c,e,g,f){this.hd&&y===B&&(this.Ma.setPosition(a,
b,0),this.Ma.setOrientation(Math.cos(U(c)),Math.sin(U(c)),0),this.Ma.coneInnerAngle=e,this.Ma.coneOuterAngle=g,this.Ma.coneOuterGain=f,this.Fn=a,this.Gn=b,this.Bn=c,this.Cn=e,this.Dn=g,this.En=f)};z.prototype.Rg=function(a){this.hd&&y===B&&(this.La||(this.La=new g),this.La.Rg(a))};z.prototype.Wa=function(a){if(this.hd&&y===B&&this.La&&this.La.ai()&&this.hf()){this.La.Wa(a);a=this.La.V;var b=La(a.x,a.y,-a.n.Ra(),Ja,Ka,!0),c=La(a.x,a.y,-a.n.Ra(),Ja,Ka,!1);this.Ma.setPosition(b,c,0);b=0;"undefined"!==
typeof this.La.V.k&&(b=a.k-a.n.Ra(),this.Ma.setOrientation(Math.cos(b),Math.sin(b),0));b=La(this.La.dk(),this.La.ek(),-a.n.Ra(),0,0,!0);c=La(this.La.dk(),this.La.ek(),-a.n.Ra(),0,0,!1);this.Ma.setVelocity(b,c,0)}};z.prototype.play=function(b,c,g){var f=this.u;this.Ad=b;this.volume=c;g=g||0;switch(this.ma){case C:1!==f.playbackRate&&(f.playbackRate=1);f.volume!==c*va&&(f.volume=c*va);f.loop!==b&&(f.loop=b);f.muted&&(f.muted=!1);if(f.currentTime!==g)try{f.currentTime=g}catch(d){}if(this.Sc&&Pa&&!E.Zb)Qa.push(this);
else try{this.u.play()}catch(m){}break;case B:this.muted=!1;this.Ag=1;if(this.buffer.ma===B)this.Wd||(this.u=u.createBufferSource(),this.u.buffer=this.buffer.Ca,this.u.connect(this.fb)),this.u.loop=b,this.fb.gain.value=c*va,0===g?a(this.u):e(this.u,g,this.ef());else{1!==f.playbackRate&&(f.playbackRate=1);f.loop!==b&&(f.loop=b);this.fb.gain.value=c*va;if(f.currentTime!==g)try{f.currentTime=g}catch(h){}this.Sc&&Pa&&!E.Zb?Qa.push(this):f.play()}break;case F:(!this.Wd&&this.Hc||0!==g)&&f.seekTo(g);f.play();
this.Zk=!1;break;case N:E.Gb?AppMobi.context.playSound(this.src,b):AppMobi.player.playSound(this.src,b)}this.playbackRate=1;this.startTime=E.Ec.Va-g;this.xd=this.Hc=this.Wd=!1};z.prototype.stop=function(){switch(this.ma){case C:this.u.paused||this.u.pause();break;case B:this.buffer.ma===B?l(this.u):this.u.paused||this.u.pause();break;case F:this.u.stop();break;case N:E.Gb&&AppMobi.context.stopSound(this.src)}this.Hc=!0;this.xd=!1};z.prototype.pause=function(){if(!(this.Wd||this.Hc||this.eg()||this.xd)){switch(this.ma){case C:this.u.paused||
this.u.pause();break;case B:this.buffer.ma===B?(this.Yc=this.ck(),this.Ad&&(this.Yc%=this.ef()),l(this.u)):this.u.paused||this.u.pause();break;case F:this.u.pause();break;case N:E.Gb&&AppMobi.context.stopSound(this.src)}this.xd=!0}};z.prototype.Er=function(a){this.ma===B&&(this.hd?(this.Ma.disconnect(),this.Ma.connect(a)):(this.fb.disconnect(),this.fb.connect(a)))};z.prototype.ef=function(){switch(this.ma){case C:if("undefined"!==typeof this.u.duration)return this.u.duration;break;case B:return this.buffer.Ca.duration;
case F:return this.u.getDuration();case N:if(E.Gb)return AppMobi.context.getDurationSound(this.src)}return 0};z.prototype.ck=function(){var a=this.ef(),b=0;switch(this.ma){case C:"undefined"!==typeof this.u.currentTime&&(b=this.u.currentTime);break;case B:if(this.buffer.ma===B){if(this.xd)return this.Yc;b=E.Ec.Va-this.startTime}else"undefined"!==typeof this.u.currentTime&&(b=this.u.currentTime);break;case N:E.Gb&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}!this.Ad&&b>a&&(b=a);return b};z.prototype.hf=
function(){return!this.xd&&!this.Wd&&!this.Hc&&!this.eg()};z.prototype.bs=function(){var a=this.volume*va;switch(this.ma){case C:this.u.volume&&this.u.volume!==a&&(this.u.volume=a);break;case B:this.fb.gain.value=a*this.Ag}};z.prototype.Lh=function(a){switch(this.ma){case C:this.u.muted!==!!a&&(this.u.muted=!!a);break;case B:this.Ag=a?0:1,this.fb.gain.value=va*this.volume*this.Ag}};z.prototype.Qr=function(){this.lf=!0;this.Lh(this.lf||this.lg)};z.prototype.Zn=function(a){this.lg=!!a;this.Lh(this.lf||
this.lg)};z.prototype.Bo=function(){var a=this.playbackRate;if(1===bb&&!this.Sc||2===bb)a*=E.Ef;switch(this.ma){case C:this.u.playbackRate!==a&&(this.u.playbackRate=a);break;case B:this.buffer.ma===B?this.u.playbackRate.value!==a&&(this.u.playbackRate.value=a):this.u.playbackRate!==a&&(this.u.playbackRate=a)}};z.prototype.Rr=function(a){switch(this.ma){case C:a?this.hf()?(this.u.pause(),this.Fd=!0):this.Fd=!1:this.Fd&&this.u.play();break;case B:a?this.hf()?(this.buffer.ma===B?(this.Yc=this.ck(),this.Ad&&
(this.Yc%=this.ef()),l(this.u)):this.u.pause(),this.Fd=!0):this.Fd=!1:this.Fd&&(this.buffer.ma===B?(this.u=u.createBufferSource(),this.u.buffer=this.buffer.Ca,this.u.connect(this.fb),this.u.loop=this.Ad,this.fb.gain.value=va*this.volume*this.Ag,this.startTime=E.Ec.Va-this.Yc,e(this.u,this.Yc,this.ef())):this.u.play());break;case F:a?this.hf()?(this.u.pause(),this.Fd=!0):this.Fd=!1:this.Fd&&this.u.play()}};R.qa=function(b){this.type=b;E=this.b=b.b;K=this;this.Hb=null;this.vg=-600;!(this.b.wk||this.b.ci&&
(this.b.ig||this.b.Tm))||this.b.di||this.b.Sa||(Pa=!0);u=null;"undefined"!==typeof AudioContext?(y=B,u=new AudioContext):"undefined"!==typeof webkitAudioContext&&(y=B,u=new webkitAudioContext);(this.b.wk&&y===B||Pa)&&document.addEventListener("touchstart",function(){var b,c,e;!gc&&u&&(b=u.createBuffer(1,1,22050),c=u.createBufferSource(),c.buffer=b,c.connect(u.destination),a(c),gc=!0);if(Pa){if(!sa)for(b=0,c=Qa.length;b<c;++b)e=Qa[b],e.Hc||e.xd||e.u.play();Qa.length=0}},!0);y!==B&&(this.b.De?y=F:this.b.gf&&
(y=N));y===F&&(I=location.href,b=I.lastIndexOf("/"),-1<b&&(I=I.substr(0,b+1)),I=I.replace("file://",""));if(this.b.Wm&&this.b.fr&&"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.oe(this);else{if(this.b.Gb)ma=this.b.ci;else try{ma=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(c){ma=!1}this.b.ej(this)}};var wa=R.qa.prototype;wa.X=function(){bb=this.G[0];this.Gd=this.G[1];
mb=this.G[2];nb=this.G[3];this.vg=-this.G[4];dc=this.G[5];ec=this.G[6];fc=this.G[7];this.Hb=new g;y===B&&(u.listener.speedOfSound=this.G[8],u.listener.dopplerFactor=this.G[9],u.listener.setPosition(this.b.U/2,this.b.T/2,this.vg),u.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,b){Fa&&Fa.disconnect();lb=b.toLowerCase();Fa=u.createMediaStreamSource(a);Fa.connect(n(lb))});this.b.wp(function(a){K.xr(a)});var a=this;this.b.ph(function(b){a.Fg(b)})};wa.Fg=function(a){var b,c,
e;b=0;for(c=G.length;b<c;b++)e=G[b],e.La&&e.La.V===a&&(e.La.V=null,e.hd&&e.hf()&&e.Ad&&e.stop());this.Hb.V===a&&(this.Hb.V=null)};wa.Ab=function(){var a={silent:sa,masterVolume:va,listenerZ:this.vg,listenerUid:this.Hb.ai()?this.Hb.V.uid:-1,playing:[],effects:{}},b=a.playing,c,e,g,f,d,m;c=0;for(e=G.length;c<e;c++)g=G[c],!g.hf()||3===this.Gd||g.Sc&&1===this.Gd||!g.Sc&&2===this.Gd||(f=g.ck(),g.Ad&&(f%=g.ef()),f={tag:g.le,buffersrc:g.buffer.src,is_music:g.Sc,playbackTime:f,volume:g.volume,looping:g.Ad,
muted:g.lf,playbackRate:g.playbackRate,paused:g.xd,resume_position:g.Yc},g.hd&&(f.pan={},m=f.pan,g.La&&g.La.ai()?m.objUid=g.La.V.uid:(m.x=g.Fn,m.y=g.Gn,m.a=g.Bn),m.ia=g.Cn,m.oa=g.Dn,m.og=g.En),b.push(f));b=a.effects;for(d in T)if(T.hasOwnProperty(d)){g=[];c=0;for(e=T[d].length;c<e;c++)g.push({type:T[d][c].type,params:T[d][c].Vc});b[d]=g}return a};var Ra=[];wa.Pb=function(a){var e=a.silent;va=a.masterVolume;this.vg=a.listenerZ;this.Hb.Rg(null);var d=a.listenerUid;-1!==d&&(this.Hb.vi=d,Ra.push(this.Hb));
var d=a.playing,h,k,l,n,z,Q,H,R,u,x,y;if(3!==this.Gd)for(h=0,k=G.length;h<k;h++)u=G[h],u.Sc&&1===this.Gd||(u.Sc||2!==this.Gd)&&u.stop();for(z in T)if(T.hasOwnProperty(z))for(h=0,k=T[z].length;h<k;h++)T[z][h].remove();Sa(T);for(z in a.effects)if(a.effects.hasOwnProperty(z))for(Q=a.effects[z],h=0,k=Q.length;h<k;h++)switch(l=Q[h].type,x=Q[h].params,l){case "filter":D(z,new c(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "delay":D(z,new p(x[0],x[1],x[2]));break;case "convolve":l=x[2];u=this.Uj(l,!1);u.Ca?
l=new r(u.Ca,x[0],x[1],l):(l=new r(null,x[0],x[1],l),u.rn=x[0],u.Dh=l);D(z,l);break;case "flanger":D(z,new v(x[0],x[1],x[2],x[3],x[4]));break;case "phaser":D(z,new q(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "gain":D(z,new w(x[0]));break;case "tremolo":D(z,new t(x[0],x[1]));break;case "ringmod":D(z,new s(x[0],x[1]));break;case "distortion":D(z,new b(x[0],x[1],x[2],x[3],x[4]));break;case "compressor":D(z,new f(x[0],x[1],x[2],x[3],x[4]));break;case "analyser":D(z,new m(x[0],x[1]))}h=0;for(k=d.length;h<
k;h++)3===this.Gd||(a=d[h],l=a.buffersrc,n=a.is_music,z=a.tag,Q=a.playbackTime,H=a.looping,R=a.volume,y=(x=a.pan)&&x.hasOwnProperty("objUid")?x.objUid:-1,n&&1===this.Gd)||!n&&2===this.Gd||((u=this.Vj(l,z,n,H,R))?(u.Yc=a.resume_position,u.ql(!!x),u.play(H,R,Q),u.Bo(),u.bs(),u.Lh(u.lf||u.lg),a.paused&&u.pause(),a.muted&&u.Qr(),u.Lh(u.lf||u.lg),x&&(-1!==y?(u.La=u.La||new g,u.La.vi=y,Ra.push(u.La)):u.pl(x.x,x.y,x.a,x.ia,x.oa,x.og))):(u=this.Uj(l,n),u.Ti=Q,u.Ei=a.paused,x&&(-1!==y?u.xf.push({tn:y,ik:x.ia,
Nk:x.oa,Qk:x.og,qo:z}):u.xf.push({x:x.x,y:x.y,rp:x.a,ik:x.ia,Nk:x.oa,Qk:x.og,qo:z}))));if(e&&!sa){h=0;for(k=G.length;h<k;h++)G[h].Zn(!0);sa=!0}else if(!e&&sa){h=0;for(k=G.length;h<k;h++)G[h].Zn(!1);sa=!1}};wa.Mc=function(){var a,b,c,g;a=0;for(b=Ra.length;a<b;a++)c=Ra[a],g=this.b.xe(c.vi),c.Rg(g),c.vi=-1,g&&(Ja=g.x,Ka=g.y);Ra.length=0};wa.xr=function(a){var b,c;b=0;for(c=G.length;b<c;b++)G[b].Rr(a)};wa.Wa=function(){var a=this.b.dd,b,c,g;b=0;for(c=G.length;b<c;b++)g=G[b],g.Wa(a),g.ma===C||g.ma===N||
g.Wd||g.Hc||!g.eg()||(g.Hc=!0,L=g.le,E.trigger(Wb.prototype.q.pj,K)),0!==bb&&g.Bo();var e,f;for(e in T)if(T.hasOwnProperty(e))for(g=T[e],b=0,c=g.length;b<c;b++)f=g[b],f.Wa&&f.Wa();y===B&&this.Hb.ai()&&(this.Hb.Wa(a),Ja=this.Hb.V.x,Ka=this.Hb.V.y,u.listener.setPosition(this.Hb.V.x,this.Hb.V.y,this.vg),u.listener.setVelocity(this.Hb.dk(),this.Hb.ek(),0))};wa.Uj=function(a,b){var c,g,e,f=null;c=0;for(g=W.length;c<g;c++)if(e=W[c],e.src===a){f=e;break}f||(f=new Q(a,b),W.push(f));return f};wa.Vj=function(a,
b,c,g,e){var f,d,m;f=0;for(d=G.length;f<d;f++)if(m=G[f],m.src===a&&(m.Gp()||c))return m.le=b,m;a=this.Uj(a,c);if(!a.Ca)return"<preload>"!==b&&(a.Gi=b,a.Ik=g,a.Gl=e),null;m=new z(a,b);G.push(m);return m};var Ia=[];H.prototype.pj=function(a){return ab(L,a)};R.q=new H;fa.prototype.Play=function(a,b,c,g){!sa&&(c=Math.pow(10,c/20),0>c&&(c=0),1<c&&(c=1),O=this.Vj(this.b.Oj+a[0]+(ma?".ogg":".m4a"),g,a[1],0!==b,c))&&(O.ql(!1),O.play(0!==b,c))};fa.prototype.hp=function(a){if(!sa){var b=a[1];a=this.b.Oj+a[0]+
(ma?".ogg":".m4a");y===N?this.b.Gb?AppMobi.context.loadSound(a):AppMobi.player.loadSound(a):y!==F&&this.Vj(a,"<preload>",b,!1)}};R.D=new fa;R.J=new (A())})();function Xb(k){this.b=k}
(function(){function k(){}var n=Xb.prototype;n.za=function(a){this.Ba=a;this.b=a.b};n.za.prototype.X=A();n.qa=function(a){this.type=a;this.b=a.b;this.yk=Array(256);this.kj=Array(256);this.me=0};var d=n.qa.prototype;d.X=function(){var a=this;this.b.Sa||(jQuery(document).keydown(function(e){a.Rk(e)}),jQuery(document).keyup(function(e){a.Sk(e)}))};var h=[32,33,34,35,36,37,38,39,40,44];d.Rk=function(a){var e=!1;window!=window.top&&-1<h.indexOf(a.which)&&(a.preventDefault(),e=!0,a.stopPropagation());if(this.yk[a.which])this.kj[a.which]&&
!e&&a.preventDefault();else{this.yk[a.which]=!0;this.me=a.which;this.b.Zb=!0;this.b.trigger(Xb.prototype.q.hh,this);var d=this.b.trigger(Xb.prototype.q.Xo,this),c=this.b.trigger(Xb.prototype.q.Yo,this);this.b.Zb=!1;if(d||c)this.kj[a.which]=!0,e||a.preventDefault()}};d.Sk=function(a){this.yk[a.which]=!1;this.me=a.which;this.b.Zb=!0;this.b.trigger(Xb.prototype.q.Ro,this);var e=this.b.trigger(Xb.prototype.q.$o,this),d=this.b.trigger(Xb.prototype.q.Zo,this);this.b.Zb=!1;if(e||d||this.kj[a.which])this.kj[a.which]=
!0,a.preventDefault()};d.Ab=function(){return{triggerKey:this.me}};d.Pb=function(a){this.me=a.triggerKey};k.prototype.Xo=function(a){return a===this.me};k.prototype.hh=M(!0);k.prototype.Ro=M(!0);k.prototype.$o=function(a){return a===this.me};k.prototype.Yo=function(a){return a===this.me};k.prototype.Zo=function(a){return a===this.me};n.q=new k;n.D=new (A());n.J=new (A())})();function Z(k){this.b=k}
(function(){function k(){if(0===this.Jj.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Cf?b.drawImage(this.W,this.vf,this.wf,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.W,0,0,this.width,this.height);this.Jj=a.toDataURL("image/png")}return this.Jj}function n(){}function d(a){a[0]=0;a[1]=0;a[2]=0;w.push(a)}function h(a,b){return a<b?""+a+","+b:""+b+","+a}function a(a,b,c,e){b=b.uid;c=c.uid;var f=h(b,c);if(a.hasOwnProperty(f))a[f][2]=
e;else{var d=w.length?w.pop():[0,0,0];d[0]=b;d[1]=c;d[2]=e;a[f]=d}}function e(a,b,c){b=h(b.uid,c.uid);a.hasOwnProperty(b)&&(d(a[b]),delete a[b])}function l(a,b,c){b=h(b.uid,c.uid);if(a.hasOwnProperty(b))return t=a[b][2],!0;t=-2;return!1}function c(){}var p=Z.prototype;p.za=function(a){this.Ba=a;this.b=a.b};var r=p.za.prototype;r.X=function(){if(!this.M){var a,b,c,e,f,d,h,l,p;this.Nc=[];this.bi=!1;a=0;for(b=this.Sb.length;a<b;a++){f=this.Sb[a];h={};h.name=f[0];h.speed=f[1];h.loop=f[2];h.il=f[3];h.Qi=
f[4];h.Jn=f[5];h.Y=f[6];h.frames=[];c=0;for(e=f[7].length;c<e;c++)d=f[7][c],l={},l.wl=d[0],l.xl=d[1],l.vf=d[2],l.wf=d[3],l.width=d[4],l.height=d[5],l.duration=d[6],l.Nb=d[7],l.Ob=d[8],l.kk=d[9],l.Hi=d[10],l.Kn=d[11],l.Cf=0!==l.width,l.Jj="",l.yt=k,p={left:0,top:0,right:1,bottom:1},l.rl=p,l.ya=null,(p=this.b.uq(d[0]))?l.W=p:(l.W=new Image,l.W.idtkLoadDisposed=!0,l.W.src=d[0],l.W.Lp=d[0],l.W.nm=d[1],l.W.Ep=null,this.b.Eo(l.W)),h.frames.push(l),this.Nc.push(l);this.Sb[a]=h}}};r.as=function(){var a,b,
c;a=0;for(b=this.j.length;a<b;a++)c=this.j[a],c.Gh=c.wc.ya};r.Ci=function(){if(!this.M){var a,b,c;a=0;for(b=this.Nc.length;a<b;++a)c=this.Nc[a],c.W.Ep=null,c.ya=null}};r.Uk=function(){if(!this.M&&this.j.length){var a,b,c;a=0;for(b=this.Nc.length;a<b;++a)c=this.Nc[a],c.ya=this.b.P.Fk(c.W,!1,this.b.da,c.Kn);this.as()}};r.Gk=function(){if(!this.M&&!this.bi&&this.b.P){var a,b,c;a=0;for(b=this.Nc.length;a<b;++a)c=this.Nc[a],c.ya=this.b.P.Fk(c.W,!1,this.b.da,c.Kn);this.bi=!0}};r.Dl=function(){if(!this.M&&
!this.j.length&&this.bi){var a,b,c;a=0;for(b=this.Nc.length;a<b;++a)c=this.Nc[a],this.b.P.deleteTexture(c.ya),c.ya=null;this.bi=!1}};var v=[];r.al=function(a){var b,c,e;b=v.length=0;for(c=this.Nc.length;b<c;++b)e=this.Nc[b].W,-1===v.indexOf(e)&&(a.drawImage(e,0,0),v.push(e))};p.qa=function(a){this.type=a;this.b=a.b;a=this.type.Sb[0].frames[0].Hi;this.gc?this.ea.Vg(a):this.ea=new Wa(a)};var q=p.qa.prototype;q.X=function(){this.visible=0===this.G[0];this.lk=this.tk=!1;this.od=0!==this.G[3];1===this.type.Sb.length&&
1===this.type.Sb[0].frames.length||0===this.type.Sb[0].speed||(this.b.ej(this),this.tk=!0);this.Ga=this.Am(this.G[1])||this.type.Sb[0];this.H=this.G[2];0>this.H&&(this.H=0);this.H>=this.Ga.frames.length&&(this.H=this.Ga.frames.length-1);var a=this.Ga.frames[this.H];this.ea.Vg(a.Hi);this.Nb=a.Nb;this.Ob=a.Ob;this.Tf=this.Ga.speed;this.gc?this.ad.reset():this.ad=new Ua;this.td=this.ad.Va;this.qe=!0;this.nd=0;this.pe=!0;this.Ah=this.em="";this.km=0;this.Dj=-1;this.type.Gk();var b,c,e,f,d,h,l,a=0;for(b=
this.type.Sb.length;a<b;a++)for(f=this.type.Sb[a],c=0,e=f.frames.length;c<e;c++)d=f.frames[c],0===d.width&&(d.width=d.W.width,d.height=d.W.height),d.Cf&&(l=d.W,h=d.rl,h.left=d.vf/l.width,h.top=d.wf/l.height,h.right=(d.vf+d.width)/l.width,h.bottom=(d.wf+d.height)/l.height,0===d.vf&&0===d.wf&&d.width===l.width&&d.height===l.height&&(d.Cf=!1));this.wc=this.Ga.frames[this.H];this.Gh=this.wc.ya};q.Ab=function(){var a={a:this.Ga.Y,f:this.H,cas:this.Tf,fs:this.td,ar:this.nd,at:this.ad.Va};this.qe||(a.ap=
this.qe);this.pe||(a.af=this.pe);return a};q.Pb=function(a){var b=this.yq(a.a);b&&(this.Ga=b);this.H=a.f;0>this.H&&(this.H=0);this.H>=this.Ga.frames.length&&(this.H=this.Ga.frames.length-1);this.Tf=a.cas;this.td=a.fs;this.nd=a.ar;this.ad.reset();this.ad.Va=a.at;this.qe=a.hasOwnProperty("ap")?a.ap:!0;this.pe=a.hasOwnProperty("af")?a.af:!0;this.wc=this.Ga.frames[this.H];this.Gh=this.wc.ya;this.ea.Vg(this.wc.Hi);this.Nb=this.wc.Nb;this.Ob=this.wc.Ob};q.wj=function(a){this.H=a?0:this.Ga.frames.length-
1;this.qe=!1;this.em=this.Ga.name;this.lk=!0;this.b.trigger(Z.prototype.q.Qo,this);this.b.trigger(Z.prototype.q.Po,this);this.lk=!1;this.nd=0};q.Bt=function(){return this.ad.Va};q.Wa=function(){this.ad.add(this.b.$f(this));this.Ah.length&&this.qm();0<=this.Dj&&this.Rp();var a=this.ad.Va,b=this.Ga,c=b.frames[this.H],e=c.duration/this.Tf;this.qe&&a>=this.td+e&&(this.pe?this.H++:this.H--,this.td+=e,this.H>=b.frames.length&&(b.Jn?(this.pe=!1,this.H=b.frames.length-2):b.loop?this.H=b.Qi:(this.nd++,this.nd>=
b.il?this.wj(!1):this.H=b.Qi)),0>this.H&&(b.Jn?(this.H=1,this.pe=!0,b.loop||(this.nd++,this.nd>=b.il&&this.wj(!0))):b.loop?this.H=b.Qi:(this.nd++,this.nd>=b.il?this.wj(!0):this.H=b.Qi)),0>this.H?this.H=0:this.H>=b.frames.length&&(this.H=b.frames.length-1),a>this.td+b.frames[this.H].duration/this.Tf&&(this.td=a),a=b.frames[this.H],this.Ve(c,a),this.b.ra=!0)};q.Am=function(a){var b,c,e;b=0;for(c=this.type.Sb.length;b<c;b++)if(e=this.type.Sb[b],ab(e.name,a))return e;return null};q.yq=function(a){var b,
c,e;b=0;for(c=this.type.Sb.length;b<c;b++)if(e=this.type.Sb[b],e.Y===a)return e;return null};q.qm=function(){var a=this.Ga.frames[this.H],b=this.Am(this.Ah);this.Ah="";!b||ab(b.name,this.Ga.name)&&this.qe||(this.Ga=b,this.Tf=b.speed,0>this.H&&(this.H=0),this.H>=this.Ga.frames.length&&(this.H=this.Ga.frames.length-1),1===this.km&&(this.H=0),this.qe=!0,this.td=this.ad.Va,this.pe=!0,this.Ve(a,this.Ga.frames[this.H]),this.b.ra=!0)};q.Rp=function(){var a=this.Ga.frames[this.H],b=this.H;this.H=S(this.Dj);
0>this.H&&(this.H=0);this.H>=this.Ga.frames.length&&(this.H=this.Ga.frames.length-1);b!==this.H&&(this.Ve(a,this.Ga.frames[this.H]),this.td=this.ad.Va,this.b.ra=!0);this.Dj=-1};q.Ve=function(a,b){var c=a.width,e=a.height,f=b.width,d=b.height;c!=f&&(this.width*=f/c);e!=d&&(this.height*=d/e);this.Nb=b.Nb;this.Ob=b.Ob;this.ea.Vg(b.Hi);this.C();this.wc=b;this.Gh=b.ya;c=0;for(e=this.S.length;c<e;c++)f=this.S[c],f.yn&&f.yn(a,b);this.b.trigger(Z.prototype.q.Ve,this)};q.cd=function(a){a.globalAlpha=this.opacity;
var b=this.wc,c=b.Cf,e=b.W,f=this.x,d=this.y,h=this.width,l=this.height;if(0===this.k&&0<=h&&0<=l)f-=this.Nb*h,d-=this.Ob*l,this.b.jd&&(f=f+0.5|0,d=d+0.5|0),c?a.drawImage(e,b.vf,b.wf,b.width,b.height,f,d,h,l):a.drawImage(e,f,d,h,l);else{this.b.jd&&(f=f+0.5|0,d=d+0.5|0);a.save();var k=0<h?1:-1,p=0<l?1:-1;a.translate(f,d);1===k&&1===p||a.scale(k,p);a.rotate(this.k*k*p);f=0-this.Nb*ha(h);d=0-this.Ob*ha(l);c?a.drawImage(e,b.vf,b.wf,b.width,b.height,f,d,ha(h),ha(l)):a.drawImage(e,f,d,ha(h),ha(l));a.restore()}};
q.Ac=function(a){a.sc(this.Gh);a.Af(this.opacity);var b=this.wc,c=this.Eb;if(this.b.jd){var e=(this.x+0.5|0)-this.x,f=(this.y+0.5|0)-this.y;b.Cf?a.Dd(c.Ia+e,c.Ja+f,c.Cb+e,c.Db+f,c.xb+e,c.yb+f,c.ub+e,c.wb+f,b.rl):a.el(c.Ia+e,c.Ja+f,c.Cb+e,c.Db+f,c.xb+e,c.yb+f,c.ub+e,c.wb+f)}else b.Cf?a.Dd(c.Ia,c.Ja,c.Cb,c.Db,c.xb,c.yb,c.ub,c.wb,b.rl):a.el(c.Ia,c.Ja,c.Cb,c.Db,c.xb,c.yb,c.ub,c.wb)};q.Bq=function(a){var b=this.wc,c,e;c=0;for(e=b.kk.length;c<e;c++)if(ab(a,b.kk[c][0]))return c;return-1};q.ak=function(a,
b){var c=this.wc,e=c.kk,f;f=P(a)?this.Bq(a):a-1;f=S(f);if(0>f||f>=e.length)return b?this.x:this.y;var d=(e[f][1]-c.Nb)*this.width,e=e[f][2],e=(e-c.Ob)*this.height,c=Math.cos(this.k);f=Math.sin(this.k);var h=d*c-e*f,e=e*c+d*f,d=h+this.x,e=e+this.y;return b?d:e};var w=[],t=-2,s=[];n.prototype.To=function(b){if(!b)return!1;var c=this.b,f=c.Yj(),h=f.type;f.R.Fj||(f.R.Fj={},c.ph(function(a){return function(b){b=b.uid;var c,e;for(c in a)a.hasOwnProperty(c)&&(e=a[c],e[0]===b||e[1]===b)&&(d(a[c]),delete a[c])}}(f.R.Fj)));
var f=f.R.Fj,k=h.ja(),p=b.ja(),k=k.Cc(),n,r,q,v,w,I,C,B=this.b.md,F=B-1,N=c.Fb().xc;for(r=0;r<k.length;r++){q=k[r];p.ua?(q.Fa(),this.b.Bm(q.n,b,q.Ka,s),n=s):n=p.Cc();for(v=0;v<n.length;v++)w=n[v],c.Kb(q,w)||c.Jp(q,w)?(I=l(f,q,w),I=!I||t<F,a(f,q,w,B),I&&(c.Mi(N.Ea),I=h.ja(),C=b.ja(),I.ua=!1,C.ua=!1,h===b?(I.j.length=2,I.j[0]=q,I.j[1]=w,h.Pc()):(I.j.length=1,C.j.length=1,I.j[0]=q,C.j[0]=w,h.Pc(),b.Pc()),N.Gr(),c.Le(N.Ea))):e(f,q,w);s.length=0}return!1};var b=new ca,f=!1;r.finish=function(a){if(f){if(a){var c=
this.b.Fb().xc.Uc;a=null.ja();var e=b.Gf(),d,h;if(a.ua){a.ua=!1;a.j.length=e.length;d=0;for(h=e.length;d<h;d++)a.j[d]=e[d];if(c)for(d=a.fa.length=0,h=null.j.length;d<h;d++)e=null.j[d],b.contains(e)||a.fa.push(e)}else if(c)for(c=a.j.length,a.j.length=c+e.length,d=0,h=e.length;d<h;d++)a.j[c+d]=e[d],ya(a.fa,e[d]);else ua(a.j,e);null.Pc()}b.clear();f=!1}};n.prototype.Po=function(a){return ab(this.em,a)};n.prototype.Qo=M(!0);n.prototype.Ve=M(!0);p.q=new n;c.prototype.Vl=function(a,b){this.Ah=a;this.km=
b;this.tk||(this.b.ej(this),this.tk=!0);this.lk||this.qm()};p.D=new c;p.J=new (A())})();function Yb(k){this.b=k}
(function(){function k(){return l.length?l.pop():{}}function n(a){var e,d;e=0;for(d=a.length;e<d;e++)l.push(a[e]);a.length=0}function d(){}var h=Yb.prototype;h.X=function(){h.D.kp=function(a){this.width!==a&&(this.width=a,this.Qe=!0,this.C())}};h.za=function(a){this.Ba=a;this.b=a.b};var a=h.za.prototype;a.X=A();a.Ci=function(){if(!this.M){var a,e,d;a=0;for(e=this.j.length;a<e;a++)d=this.j[a],d.gd=null,d.Je=null,d.ec=null}};h.qa=function(a){this.type=a;this.b=a.b;this.gc?this.ae.length=0:this.ae=[];
this.Qe=!0};a=h.qa.prototype;a.X=function(){this.text=this.G[0];this.visible=0===this.G[1];this.font=this.G[2];this.color=this.G[3];this.$h=this.G[4];this.lj=this.G[5];this.Il=0===this.G[7];this.Ak=this.oi=this.width;this.mi=this.height;this.Ck=this.G[8];this.Th=this.bf="";this.oo=this.po=this.Mg=0;this.yr();this.ec=this.Je=this.gd=null;this.pn=!1;this.ug=this.b.md;this.gc?this.ee.set(0,0,1,1):this.ee=new pa(0,0,1,1);this.b.P&&this.b.ej(this)};a.yr=function(){var a=this.font.split(" "),e;for(e=0;e<
a.length;e++)if("pt"===a[e].substr(a[e].length-2,2)){this.Mg=parseInt(a[e].substr(0,a[e].length-2));this.dl=Math.ceil(96*(this.Mg/72))+4;0<e&&(this.Th=a[e-1]);this.bf=a[e+1];for(e+=2;e<a.length;e++)this.bf+=" "+a[e];break}};a.Ab=function(){return{t:this.text,f:this.font,c:this.color,ha:this.$h,va:this.lj,wr:this.Il,lho:this.Ck,fn:this.bf,fs:this.Th,ps:this.Mg,pxh:this.dl,tw:this.po,th:this.oo,lrt:this.ug}};a.Pb=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.$h=a.ha;this.lj=a.va;this.Il=
a.wr;this.Ck=a.lho;this.bf=a.fn;this.Th=a.fs;this.Mg=a.ps;this.dl=a.pxh;this.po=a.tw;this.oo=a.th;this.ug=a.lrt;this.Qe=!0;this.Ak=this.oi=this.width;this.mi=this.height};a.Wa=function(){if(this.b.P&&this.ec&&300<=this.b.md-this.ug){var a=this.n;this.Fa();var e=this.Ka;if(e.right<a.qb||e.bottom<a.rb||e.left>a.jc||e.top>a.ic)this.b.P.deleteTexture(this.ec),this.gd=this.Je=this.ec=null}};a.Ke=function(){this.gd=this.Je=null;this.b.P&&this.ec&&this.b.P.deleteTexture(this.ec);this.ec=null};a.St=function(){this.font=
this.Th+" "+this.Mg.toString()+"pt "+this.bf;this.Qe=!0;this.b.ra=!0};a.cd=function(a,e){a.font=this.font;a.textBaseline="top";a.fillStyle=this.color;a.globalAlpha=e?1:this.opacity;var d=1;e&&(d=this.n.Yb(),a.save(),a.scale(d,d));if(this.Qe||this.width!==this.Ak)this.type.Ba.op(this.text,this.ae,a,this.width,this.Il),this.Qe=!1,this.Ak=this.width;this.Fa();var d=e?0:this.Eb.Ia,h=e?0:this.Eb.Ja;this.b.jd&&(d=d+0.5|0,h=h+0.5|0);0===this.k||e||(a.save(),a.translate(d,h),a.rotate(this.k),h=d=0);var l=
h+this.height,k=this.dl,k=k+this.Ck,n,s;1===this.lj?h+=Math.max(this.height/2-this.ae.length*k/2,0):2===this.lj&&(h+=Math.max(this.height-this.ae.length*k-2,0));for(s=0;s<this.ae.length&&!(n=d,1===this.$h?n=d+(this.width-this.ae[s].width)/2:2===this.$h&&(n=d+(this.width-this.ae[s].width)),a.fillText(this.ae[s].text,n,h),h+=k,h>=l-k);s++);(0!==this.k||e)&&a.restore();this.ug=this.b.md};a.Ac=function(a){if(!(1>this.width||1>this.height)){var e=this.Qe||this.pn;this.pn=!1;var d=this.n.Yb(),h=this.n.Ra(),
l=this.ee,k=d*this.width,n=d*this.height,s=Math.ceil(k),b=Math.ceil(n),f=this.b.U/2,m=this.b.T/2;this.Je||(this.gd=document.createElement("canvas"),this.gd.width=s,this.gd.height=b,this.oi=s,this.mi=b,e=!0,this.Je=this.gd.getContext("2d"));if(s!==this.oi||b!==this.mi)this.gd.width=s,this.gd.height=b,this.ec&&(a.deleteTexture(this.ec),this.ec=null),e=!0;e&&(this.Je.clearRect(0,0,s,b),this.cd(this.Je,!0),this.ec||(this.ec=a.Sd(s,b,this.b.da,this.b.fd)),a.Tt(this.gd,this.ec,this.b.fd));this.oi=s;this.mi=
b;a.sc(this.ec);a.Af(this.opacity);a.Ed();a.translate(-f,-m);a.Md();var g=this.Eb,Q=this.b.devicePixelRatio;this.b.devicePixelRatio=1;var e=this.n.Da(g.Ia,g.Ja,!0,!0),f=this.n.Da(g.Ia,g.Ja,!1,!0),m=this.n.Da(g.Cb,g.Db,!0,!0),z=this.n.Da(g.Cb,g.Db,!1,!0),D=this.n.Da(g.xb,g.yb,!0,!0),H=this.n.Da(g.xb,g.yb,!1,!0),fa=this.n.Da(g.ub,g.wb,!0,!0),g=this.n.Da(g.ub,g.wb,!1,!0);this.b.devicePixelRatio=Q;if(this.b.jd||0===this.k&&0===h)var Q=(e+0.5|0)-e,R=(f+0.5|0)-f,e=e+Q,f=f+R,m=m+Q,z=z+R,D=D+Q,H=H+R,fa=fa+
Q,g=g+R;0===this.k&&0===h?(m=e+s,z=f,D=m,H=f+b,fa=e,g=H,l.right=1,l.bottom=1):(l.right=k/s,l.bottom=n/b);a.Dd(e,f,m,z,D,H,fa,g,l);a.Ed();a.scale(d,d);a.Un(-this.n.Ra());a.translate((this.n.qb+this.n.jc)/-2,(this.n.rb+this.n.ic)/-2);a.Md();this.ug=this.b.md}};var e=[];h.np=function(a){e.length=0;for(var d="",h,l=0;l<a.length;)if(h=a.charAt(l),"\n"===h)d.length&&(e.push(d),d=""),e.push("\n"),++l;else if(" "===h||"\t"===h||"-"===h){do d+=a.charAt(l),l++;while(l<a.length&&(" "===a.charAt(l)||"\t"===a.charAt(l)));
e.push(d);d=""}else l<a.length&&(d+=h,l++);d.length&&e.push(d)};var l=[];h.op=function(a,e,d,h,l){if(a&&a.length)if(2>=h)n(e);else{if(100>=a.length&&-1===a.indexOf("\n")){var w=d.measureText(a).width;if(w<=h){n(e);e.push(k());e[0].text=a;e[0].width=w;return}}this.pp(a,e,d,h,l)}else n(e)};h.pp=function(a,d,h,n,q){q&&(this.np(a),a=e);var w="",t,s,b,f=0;for(b=0;b<a.length;b++)"\n"===a[b]?(f>=d.length&&d.push(k()),s=d[f],s.text=w,s.width=h.measureText(w).width,f++,w=""):(t=w,w+=a[b],s=h.measureText(w).width,
s>=n&&(f>=d.length&&d.push(k()),s=d[f],s.text=t,s.width=h.measureText(t).width,f++,w=a[b],q||" "!==w||(w="")));w.length&&(f>=d.length&&d.push(k()),s=d[f],s.text=w,s.width=h.measureText(w).width,f++);for(b=f;b<d.length;b++)l.push(d[b]);d.length=f};h.q=new (A());d.prototype.kh=function(a){ga(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.Qe=!0,this.b.ra=!0)};h.D=new d;h.J=new (A())})();function Zb(k){this.b=k}
(function(){var k=Zb.prototype;k.za=function(d){this.Ba=d;this.b=d.b};var n=k.za.prototype;n.X=function(){this.M||(this.W=new Image,this.W.idtkLoadDisposed=!0,this.W.src=this.wl,this.W.nm=this.xl,this.b.Eo(this.W),this.ya=this.pattern=null)};n.Ci=function(){this.M||(this.ya=null)};n.Uk=function(){if(!this.M&&this.j.length){this.ya||(this.ya=this.b.P.Fk(this.W,!0,this.b.da,this.yl));var d,h;d=0;for(h=this.j.length;d<h;d++)this.j[d].ya=this.ya}};n.Gk=function(){this.M||this.ya||!this.b.P||(this.ya=
this.b.P.Fk(this.W,!0,this.b.da,this.yl))};n.Dl=function(){this.M||this.j.length||!this.ya||(this.b.P.deleteTexture(this.ya),this.ya=null)};n.al=function(d){d.drawImage(this.W,0,0)};k.qa=function(d){this.type=d;this.b=d.b};n=k.qa.prototype;n.X=function(){this.visible=0===this.G[0];this.ee=new pa(0,0,0,0);this.Nm=!1;this.W=this.type.W;this.b.P?(this.type.Gk(),this.ya=this.type.ya):(this.type.pattern||(this.type.pattern=this.b.la.createPattern(this.type.W,"repeat")),this.pattern=this.type.pattern)};
n.Mc=function(){this.Nm=!1;this.W=this.type.W};n.Ke=function(){this.b.P&&this.Nm&&this.ya&&(this.b.P.deleteTexture(this.ya),this.ya=null)};n.cd=function(d){d.globalAlpha=this.opacity;d.save();d.fillStyle=this.pattern;var h=this.x,a=this.y;this.b.jd&&(h=h+0.5|0,a=a+0.5|0);var e=-(this.Nb*this.width),l=-(this.Ob*this.height),c=e%this.W.width,k=l%this.W.height;0>c&&(c+=this.W.width);0>k&&(k+=this.W.height);d.translate(h,a);d.rotate(this.k);d.translate(c,k);d.fillRect(e-c,l-k,this.width,this.height);
d.restore()};n.Ac=function(d){d.sc(this.ya);d.Af(this.opacity);var h=this.ee;h.right=this.width/this.W.width;h.bottom=this.height/this.W.height;var a=this.Eb;if(this.b.jd){var e=(this.x+0.5|0)-this.x,l=(this.y+0.5|0)-this.y;d.Dd(a.Ia+e,a.Ja+l,a.Cb+e,a.Db+l,a.xb+e,a.yb+l,a.ub+e,a.wb+l,h)}else d.Dd(a.Ia,a.Ja,a.Cb,a.Db,a.xb,a.yb,a.ub,a.wb,h)};k.q=new (A());k.D=new (A());k.J=new (A())})();function $b(k){this.b=k}
(function(){function k(a){c=a.x;p=a.y;r=a.z}function n(a){v=a.x;q=a.y;w=a.z}function d(){}function h(){}var a=$b.prototype;a.za=function(a){this.Ba=a;this.b=a.b};a.za.prototype.X=A();a.qa=function(a){this.type=a;this.b=a.b;this.touches=[];this.Kk=!1};var e=a.qa.prototype,l={left:0,top:0};e.Yf=function(a){var c,b;c=0;for(b=this.touches.length;c<b;c++)if(this.touches[c].id===a)return c;return-1};var c=0,p=0,r=0,v=0,q=0,w=0;e.X=function(){this.gr=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);
this.ne=this.Ij=this.Hj=this.Zl=this.Yl=this.Xl=this.up=this.tp=this.sp=this.Ig=this.Hg=this.Gg=0;this.gs=0!==this.G[0];var a=0<this.b.Wb?document:this.b.canvas,c=document;this.b.Gb?c=a=window.Canvas:this.b.Dc&&(c=a=window);var b=this;window.navigator.pointerEnabled?(a.addEventListener("pointerdown",function(a){b.xn(a)},!1),a.addEventListener("pointermove",function(a){b.wn(a)},!1),c.addEventListener("pointerup",function(a){b.Di(a)},!1),c.addEventListener("pointercancel",function(a){b.Di(a)},!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){b.xn(a)},!1),a.addEventListener("MSPointerMove",function(a){b.wn(a)},!1),c.addEventListener("MSPointerUp",
function(a){b.Di(a)},!1),c.addEventListener("MSPointerCancel",function(a){b.Di(a)},!1),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1))):(a.addEventListener("touchstart",function(a){b.An(a)},!1),a.addEventListener("touchmove",function(a){b.zn(a)},!1),c.addEventListener("touchend",function(a){b.Vk(a)},!1),c.addEventListener("touchcancel",function(a){b.Vk(a)},!1));if(this.gr){var e=
function(a){a=a.reading;b.Xl=a.accelerationX;b.Yl=a.accelerationY;b.Zl=a.accelerationZ},d=function(a){a=a.reading;b.Gg=a.yawDegrees;b.Hg=a.pitchDegrees;b.Ig=a.rollDegrees},g=Windows.Devices.Sensors.Accelerometer.getDefault();g&&(g.reportInterval=Math.max(g.minimumReportInterval,16),g.addEventListener("readingchanged",e));var h=Windows.Devices.Sensors.Inclinometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",d));document.addEventListener("visibilitychange",
function(){document.hidden||document.msHidden?(g&&g.removeEventListener("readingchanged",e),h&&h.removeEventListener("readingchanged",d)):(g&&g.addEventListener("readingchanged",e),h&&h.addEventListener("readingchanged",d))},!1)}else window.addEventListener("deviceorientation",function(a){b.Gg=a.alpha||0;b.Hg=a.beta||0;b.Ig=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(b.sp=a.accelerationIncludingGravity.x||0,b.tp=a.accelerationIncludingGravity.y||
0,b.up=a.accelerationIncludingGravity.z||0);a.acceleration&&(b.Xl=a.acceleration.x||0,b.Yl=a.acceleration.y||0,b.Zl=a.acceleration.z||0)},!1);this.gs&&!this.b.Sa&&(jQuery(document).mousemove(function(a){b.tr(a)}),jQuery(document).mousedown(function(a){b.sr(a)}),jQuery(document).mouseup(function(a){b.ur(a)}));this.b.gf&&!this.b.Gb&&AppMobi.accelerometer.watchAcceleration(k,{frequency:40,adjustForRotation:!0});this.b.De&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(n,
null,{frequency:40});this.b.Wr(this)};e.wn=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var c=this.Yf(a.pointerId),b=Ta();if(0<=c){var e=this.b.Sa?l:jQuery(this.b.canvas).offset(),c=this.touches[c];2>b-c.time||(c.ni=c.time,c.Zd=c.x,c.$d=c.y,c.time=b,c.x=a.pageX-e.left,c.y=a.pageY-e.top)}}};e.xn=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var c=this.b.Sa?
l:jQuery(this.b.canvas).offset(),b=a.pageX-c.left,c=a.pageY-c.top,e=Ta();this.ne=this.touches.length;this.touches.push({time:e,x:b,y:c,ni:e,Zd:b,$d:c,id:a.pointerId,tl:this.ne});this.b.Zb=!0;this.b.trigger($b.prototype.q.Sl,this);this.b.trigger($b.prototype.q.Mf,this);this.Hj=b;this.Ij=c;this.b.trigger($b.prototype.q.Ul,this);this.b.Zb=!1}};e.Di=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&(a.preventDefault&&a.preventDefault(),a=this.Yf(a.pointerId),this.ne=0<=a?this.touches[a].tl:
-1,this.b.Zb=!0,this.b.trigger($b.prototype.q.Rl,this),this.b.trigger($b.prototype.q.Tl,this),this.b.Zb=!1,0<=a&&this.touches.splice(a,1))};e.zn=function(a){a.preventDefault&&a.preventDefault();var c=Ta(),b,e,d,g;b=0;for(e=a.changedTouches.length;b<e;b++)if(d=a.changedTouches[b],g=this.Yf(d.identifier),0<=g){var h=this.b.Sa?l:jQuery(this.b.canvas).offset();g=this.touches[g];2>c-g.time||(g.ni=g.time,g.Zd=g.x,g.$d=g.y,g.time=c,g.x=d.pageX-h.left,g.y=d.pageY-h.top)}};e.An=function(a){a.preventDefault&&
a.preventDefault();var c=this.b.Sa?l:jQuery(this.b.canvas).offset(),b=Ta();this.b.Zb=!0;var e,d,g,h;e=0;for(d=a.changedTouches.length;e<d;e++)if(g=a.changedTouches[e],h=this.Yf(g.identifier),-1===h){h=g.pageX-c.left;var k=g.pageY-c.top;this.ne=this.touches.length;this.touches.push({time:b,x:h,y:k,ni:b,Zd:h,$d:k,id:g.identifier,tl:this.ne});this.b.trigger($b.prototype.q.Sl,this);this.b.trigger($b.prototype.q.Mf,this);this.Hj=h;this.Ij=k;this.b.trigger($b.prototype.q.Ul,this)}this.b.Zb=!1};e.Vk=function(a){a.preventDefault&&
a.preventDefault();this.b.Zb=!0;var c,b,e;c=0;for(b=a.changedTouches.length;c<b;c++)e=a.changedTouches[c],e=this.Yf(e.identifier),0<=e&&(this.ne=this.touches[e].tl,this.b.trigger($b.prototype.q.Rl,this),this.b.trigger($b.prototype.q.Tl,this),this.touches.splice(e,1));this.b.Zb=!1};e.ut=function(){return this.b.gf&&0===this.Gg&&0!==r?90*r:this.b.De&&0===this.Gg&&0!==w?90*w:this.Gg};e.wt=function(){return this.b.gf&&0===this.Hg&&0!==p?-90*p:this.b.De&&0===this.Hg&&0!==q?-90*q:this.Hg};e.At=function(){return this.b.gf&&
0===this.Ig&&0!==c?90*c:this.b.De&&0===this.Ig&&0!==v?90*v:this.Ig};e.sr=function(a){a.preventDefault&&this.b.fk&&!this.b.fd&&a.preventDefault();this.An({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Kk=!0};e.tr=function(a){this.Kk&&this.zn({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};e.ur=function(a){a.preventDefault&&this.b.fk&&!this.b.fd&&a.preventDefault();this.b.fk=!0;this.Vk({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Kk=!1};e.cj=
function(){var a,c,b,e=Ta();a=0;for(c=this.touches.length;a<c;a++)b=this.touches[a],b.time<=e-50&&(b.ni=e)};d.prototype.Mf=M(!0);d.prototype.Tl=M(!0);d.prototype.Ul=function(a){return a?this.b.Vr(a,this.Hj,this.Ij):!1};d.prototype.Sl=function(a){a=Math.floor(a);return a===this.ne};d.prototype.Rl=function(a){a=Math.floor(a);return a===this.ne};a.q=new d;h.prototype.mh=function(a,c){if(this.touches.length){var b,e,d,g,h;ea(c)?(b=this.b.ag(0),e=b.scale,d=b.$c,g=b.Fc,h=b.k,b.scale=this.b.ka.scale,b.$c=
1,b.Fc=1,b.k=this.b.ka.k,a.K(b.Tb(this.touches[0].x,this.touches[0].y,!0)),b.scale=e,b.$c=d,b.Fc=g,b.k=h):(b=ga(c)?this.b.ag(c):this.b.bk(c))?a.K(b.Tb(this.touches[0].x,this.touches[0].y,!0)):a.K(0)}else a.K(0)};h.prototype.qp=function(a,c){if(this.touches.length){var b,e,d,g,h;ea(c)?(b=this.b.ag(0),e=b.scale,d=b.$c,g=b.Gc,h=b.k,b.scale=this.b.ka.scale,b.$c=1,b.Gc=1,b.k=this.b.ka.k,a.K(b.Tb(this.touches[0].x,this.touches[0].y,!1)),b.scale=e,b.$c=d,b.Gc=g,b.k=h):(b=ga(c)?this.b.ag(c):this.b.bk(c))?
a.K(b.Tb(this.touches[0].x,this.touches[0].y,!1)):a.K(0)}else a.K(0)};a.J=new h})();function ac(k){this.b=k}
(function(){function k(){}function n(){}function d(){}var h=ac.prototype;h.za=function(a){this.Ba=a;this.b=a.b};h.za.prototype.X=A();h.qa=function(a){this.type=a;this.b=a.b};var a=h.qa.prototype,e="",l="undefined"!==typeof window.is_scirra_arcade;l&&(e="arcade"+window.scirra_arcade_id);a.X=A();k.prototype.No=function(a){return null!=localStorage.getItem(e+a)};k.prototype.ep=M(!0);h.q=new k;n.prototype.lp=function(a,d){try{localStorage.setItem(e+a,d)}catch(h){this.b.trigger(ac.prototype.q.ep,this)}};
h.D=new n;d.prototype.Oo=function(a,d){a.Jb(localStorage.getItem(e+d)||"")};d.prototype.Kl=function(a){var d={},h,k,n;h=0;for(k=localStorage.length;h<k;h++)n=localStorage.key(h),l?n.substr(0,e.length)===e&&(d[n.substr(e.length)]=localStorage.getItem(n)):d[n]=localStorage.getItem(n);a.Jb(JSON.stringify({c2dictionary:!0,data:d}))};h.J=new d})();function bc(k){this.b=k}
(function(){function k(){}function n(){}var d=bc.prototype;d.za=function(a){this.Oa=a;this.b=a.b};d.za.prototype.X=A();d.qa=function(a,e){this.type=a;this.Oa=a.Oa;this.d=e;this.b=a.b};var h=d.qa.prototype;h.X=function(){var a=this.G[0];this.Kc=this.G[1];this.Xb=this.G[2];this.Bp=0!==this.G[3];this.ol=0!==this.G[4];this.A=Math.cos(this.d.k)*a;this.F=Math.sin(this.d.k)*a;this.Zd=this.d.x;this.$d=this.d.y;this.qc=this.d.k;this.hj=0;this.enabled=0!==this.G[5]};h.Ab=function(){return{acc:this.Kc,g:this.Xb,
dx:this.A,dy:this.F,lx:this.Zd,ly:this.$d,lka:this.qc,t:this.hj,e:this.enabled}};h.Pb=function(a){this.Kc=a.acc;this.Xb=a.g;this.A=a.dx;this.F=a.dy;this.Zd=a.lx;this.$d=a.ly;this.qc=a.lka;this.hj=a.t;this.enabled=a.e};h.Wa=function(){if(this.enabled){var a=this.b.$f(this.d),e,d;this.d.k!==this.qc&&(this.ol&&(e=Ma(0,0,this.A,this.F),this.A=Math.cos(this.d.k)*e,this.F=Math.sin(this.d.k)*e),this.qc=this.d.k);0!==this.Kc&&(e=Ma(0,0,this.A,this.F),d=0===this.A&&0===this.F?this.d.k:Da(0,0,this.A,this.F),
e+=this.Kc*a,0>e&&(e=0),this.A=Math.cos(d)*e,this.F=Math.sin(d)*e);0!==this.Xb&&(this.F+=this.Xb*a);this.Zd=this.d.x;this.$d=this.d.y;if(0!==this.A||0!==this.F)if(this.d.x+=this.A*a,this.d.y+=this.F*a,this.hj+=Ma(0,0,this.A*a,this.F*a),this.ol&&(this.d.k=Da(0,0,this.A,this.F),this.d.C(),this.qc=this.d.k),this.d.C(),this.Bp&&(e=this.b.mb(this.d)))this.b.yf(this.d,e),e=Ma(0,0,this.A,this.F),d=this.b.Fp(this.d,this.Zd,this.$d),this.A=Math.cos(d)*e,this.F=Math.sin(d)*e,this.d.x+=this.A*a,this.d.y+=this.F*
a,this.d.C(),this.ol&&(this.qc=this.d.k=d,this.d.C()),this.b.Xc(this.d,this.A/e,this.F/e,Math.max(2.5*e*a,30))||this.b.Qn(this.d,100)}};d.q=new (A());k.prototype.ih=function(a){a=U(a);var e=Ma(0,0,this.A,this.F);this.A=Math.cos(a)*e;this.F=Math.sin(a)*e};k.prototype.jh=function(a){this.enabled=1===a};d.D=new k;n.prototype.tj=function(a){var e=Ma(0,0,this.A,this.F),e=$a(e);a.K(e)};d.J=new n})();function cc(k){this.b=k}
(function(){function k(){}var n=cc.prototype;n.za=function(d){this.Oa=d;this.b=d.b};n.za.prototype.X=A();n.qa=function(d,a){this.type=d;this.Oa=d.Oa;this.d=a;this.b=d.b};var d=n.qa.prototype;d.X=function(){this.kb=null;this.Fi=-1;this.mode=this.qc=this.aj=this.tf=this.Cd=this.Lg=0;var d=this;this.gc||(this.Bg=function(a){d.Fg(a)});this.b.ph(this.Bg)};d.Ab=function(){return{uid:this.kb?this.kb.uid:-1,pa:this.Lg,pd:this.Cd,msa:this.tf,tsa:this.aj,lka:this.qc,m:this.mode}};d.Pb=function(d){this.Fi=d.uid;
this.Lg=d.pa;this.Cd=d.pd;this.tf=d.msa;this.aj=d.tsa;this.qc=d.lka;this.mode=d.m};d.Mc=function(){this.kb=-1===this.Fi?null:this.b.xe(this.Fi);this.Fi=-1};d.Fg=function(d){this.kb==d&&(this.kb=null)};d.Ke=function(){this.kb=null;this.b.Tn(this.Bg)};d.Wa=A();d.cj=function(){if(this.kb){this.qc!==this.d.k&&(this.tf=V(this.tf+(this.d.k-this.qc)));var d=this.d.x,a=this.d.y;if(3===this.mode||4===this.mode){var e=Ma(this.d.x,this.d.y,this.kb.x,this.kb.y);if(e>this.Cd||4===this.mode&&e<this.Cd)a=Da(this.kb.x,
this.kb.y,this.d.x,this.d.y),d=this.kb.x+Math.cos(a)*this.Cd,a=this.kb.y+Math.sin(a)*this.Cd}else d=this.kb.x+Math.cos(this.kb.k+this.Lg)*this.Cd,a=this.kb.y+Math.sin(this.kb.k+this.Lg)*this.Cd;this.qc=e=V(this.tf+(this.kb.k-this.aj));0!==this.mode&&1!==this.mode&&3!==this.mode&&4!==this.mode||this.d.x===d&&this.d.y===a||(this.d.x=d,this.d.y=a,this.d.C());0!==this.mode&&2!==this.mode||this.d.k===e||(this.d.k=e,this.d.C())}};n.q=new (A());k.prototype.gp=function(d,a){if(d){var e=d.Em(this.d);e&&(this.kb=
e,this.Lg=Da(e.x,e.y,this.d.x,this.d.y)-e.k,this.Cd=Ma(e.x,e.y,this.d.x,this.d.y),this.qc=this.tf=this.d.k,this.aj=e.k,this.mode=a)}};n.D=new k;n.J=new (A())})();function hc(k){this.b=k}
(function(){function k(){}function n(){}function d(){}var h=hc.prototype;h.za=function(a){this.Oa=a;this.b=a.b};h.za.prototype.X=A();h.qa=function(a,d){this.type=a;this.Oa=a.Oa;this.d=d;this.b=a.b;this.Wg=this.Wi=this.Vi=this.jk=this.of=this.pg=this.Ri=this.ri=!1;this.$b=null;this.Dk=-1;this.Ge=this.Fe=0;this.Sh=!1;this.ve=this.Oc=0;this.Rh=!0;this.F=this.A=0};var a=h.qa.prototype;a.Ao=function(){this.cb=Math.cos(this.df);this.eb=Math.sin(this.df);this.Ne=Math.cos(this.df-Math.PI/2);this.Oe=Math.sin(this.df-
Math.PI/2);this.cb=$a(this.cb);this.eb=$a(this.eb);this.Ne=$a(this.Ne);this.Oe=$a(this.Oe);this.Tj=this.Xb;0>this.Xb&&(this.cb*=-1,this.eb*=-1,this.Xb=Math.abs(this.Xb))};a.X=function(){this.rf=this.G[0];this.Kc=this.G[1];this.$e=this.G[2];this.xk=this.G[3];this.Tj=this.Xb=this.G[4];this.yi=this.G[5];this.Pp=1===this.G[6];this.enabled=0!==this.G[7];this.Kf=!1;this.dh=this.b.Jd(this.d);this.Ek=-1;this.df=U(90);this.Ao();var a=this;this.Pp&&!this.b.Sa&&(jQuery(document).keydown(function(d){a.Rk(d)}),
jQuery(document).keyup(function(d){a.Sk(d)}));this.gc||(this.Bg=function(d){a.Fg(d)});this.b.ph(this.Bg)};a.Ab=function(){return{ii:this.jk,lfx:this.Fe,lfy:this.Ge,lfo:this.$b?this.$b.uid:-1,am:this.Oc,en:this.enabled,fall:this.ve,ft:this.Rh,dx:this.A,dy:this.F,ms:this.rf,acc:this.Kc,dec:this.$e,js:this.xk,g:this.Xb,g1:this.Tj,mf:this.yi,wof:this.Kf,woj:this.dh?this.dh.uid:-1,ga:this.df}};a.Pb=function(a){this.jk=a.ii;this.Fe=a.lfx;this.Ge=a.lfy;this.Dk=a.lfo;this.Oc=a.am;this.enabled=a.en;this.ve=
a.fall;this.Rh=a.ft;this.A=a.dx;this.F=a.dy;this.rf=a.ms;this.Kc=a.acc;this.$e=a.dec;this.xk=a.js;this.Xb=a.g;this.Tj=a.g1;this.yi=a.mf;this.Kf=a.wof;this.Ek=a.woj;this.df=a.ga;this.Wg=this.Wi=this.Vi=this.of=this.pg=this.Ri=this.ri=!1;this.Ao()};a.Mc=function(){this.$b=-1===this.Dk?null:this.b.xe(this.Dk);this.dh=-1===this.Ek?null:this.b.xe(this.Ek)};a.Fg=function(a){this.$b==a&&(this.$b=null)};a.Ke=function(){this.$b=null;this.b.Tn(this.Bg)};a.Rk=function(a){switch(a.which){case 38:a.preventDefault();
this.pg=!0;break;case 37:a.preventDefault();this.ri=!0;break;case 39:a.preventDefault(),this.Ri=!0}};a.Sk=function(a){switch(a.which){case 38:a.preventDefault();this.of=this.pg=!1;break;case 37:a.preventDefault();this.ri=!1;break;case 39:a.preventDefault(),this.Ri=!1}};a.zt=function(){return 0>this.Xb?-1:1};a.Vm=function(){var a=null,d=null,c,h;c=this.d.x;h=this.d.y;this.d.x+=this.cb;this.d.y+=this.eb;this.d.C();if(this.$b&&this.b.Kb(this.d,this.$b))return this.d.x=c,this.d.y=h,this.d.C(),this.$b;
(a=this.b.mb(this.d))||0!==this.ve||(d=this.b.Jd(this.d,!0));this.d.x=c;this.d.y=h;this.d.C();if(a){if(this.b.Kb(this.d,a))return null;this.Sh=!1;return a}if(d&&d.length){h=a=0;for(c=d.length;a<c;a++)d[h]=d[a],this.b.Kb(this.d,d[a])||h++;if(1<=h)return this.Sh=!0,d[0]}return null};a.Wa=A();a.Mn=function(){var a=this.b.$f(this.d),d,c,h,k,n,q,w,t,s;this.pg||this.Wg||(this.of=!1);var b=this.ri||this.Vi;h=this.Ri||this.Wi;var f=(this.pg||this.Wg)&&!this.of;this.Wg=this.Wi=this.Vi=!1;if(this.enabled){this.jk&&
(f=h=b=!1);t=this.$b;s=!1;this.Rh&&((this.b.mb(this.d)||this.b.Jd(this.d))&&this.b.Xc(this.d,-this.cb,-this.eb,4,!0),this.Rh=!1);!t||0!==this.F||t.y===this.Ge&&t.x===this.Fe||(d=t.x-this.Fe,c=t.y-this.Ge,this.d.x+=d,this.d.y+=c,this.d.C(),this.Fe=t.x,this.Ge=t.y,s=!0,this.b.mb(this.d)&&this.b.Xc(this.d,-d,-c,2.5*Math.sqrt(d*d+c*c)));var m=this.Vm();if(c=this.b.mb(this.d))if(this.b.Qn(this.d,Math.max(this.d.width,this.d.height)/2))this.b.yf(this.d,c);else return;m?(0<this.F&&(this.Kf||(this.b.cl(this.d,
-this.cb,-this.eb,m),this.Kf=!0),this.F=0),t!=m?(this.$b=m,this.Fe=m.x,this.Ge=m.y,this.b.yf(this.d,m)):s&&(c=this.b.mb(this.d))&&(this.b.yf(this.d,c),0!==d&&(0<d?this.b.Xc(this.d,-this.Ne,-this.Oe):this.b.Xc(this.d,this.Ne,this.Oe)),this.b.Xc(this.d,-this.cb,-this.eb)),f&&(t=this.d.x,s=this.d.y,this.d.x-=this.cb,this.d.y-=this.eb,this.d.C(),this.b.mb(this.d)?f=!1:(this.b.trigger(hc.prototype.q.Wo,this.d),this.Oc=2,this.F=-this.xk,this.of=!0),this.d.x=t,this.d.y=s,this.d.C())):(this.$b=null,this.F+=
this.Xb*a,this.F>this.yi&&(this.F=this.yi),f&&(this.of=!0));this.Kf=!!m;b==h&&(0>this.A?(this.A+=this.$e*a,0<this.A&&(this.A=0)):0<this.A&&(this.A-=this.$e*a,0>this.A&&(this.A=0)));b&&!h&&(this.A=0<this.A?this.A-(this.Kc+this.$e)*a:this.A-this.Kc*a);h&&!b&&(this.A=0>this.A?this.A+(this.Kc+this.$e)*a:this.A+this.Kc*a);this.A>this.rf?this.A=this.rf:this.A<-this.rf&&(this.A=-this.rf);b=!1;0!==this.A&&(t=this.d.x,s=this.d.y,d=this.A*a*this.Ne,c=this.A*a*this.Oe,this.d.x+=this.Ne*(1<this.A?1:-1)-this.cb,
this.d.y+=this.Oe*(1<this.A?1:-1)-this.eb,this.d.C(),k=!1,n=this.b.mb(this.d),this.d.x=t+d,this.d.y=s+c,this.d.C(),h=this.b.mb(this.d),!h&&m&&(h=this.b.Jd(this.d))&&(this.d.x=t,this.d.y=s,this.d.C(),this.b.Kb(this.d,h)?(h=null,k=!1):k=!0,this.d.x=t+d,this.d.y=s+c,this.d.C()),h?(d=Math.abs(this.A*a)+2,n||!this.b.Xc(this.d,-this.cb,-this.eb,d,k,h))?(this.b.yf(this.d,h),d=Math.max(Math.abs(2.5*this.A*a),30),this.b.Xc(this.d,this.Ne*(0>this.A?1:-1),this.Oe*(0>this.A?1:-1),d,!1)?!m||k||this.Sh||(t=this.d.x,
s=this.d.y,this.d.x+=this.cb,this.d.y+=this.eb,this.b.mb(this.d)?this.b.Xc(this.d,-this.cb,-this.eb,3,!1)||(this.d.x=t,this.d.y=s,this.d.C()):(this.d.x=t,this.d.y=s,this.d.C())):(this.d.x=t,this.d.y=s,this.d.C()),k||(this.A=0)):!n&&15>Math.abs(this.F)&&(this.F=0,m||(b=!0)):(t=this.Vm(),m&&!t?(c=Math.ceil(Math.abs(this.A*a))+2,t=this.d.x,s=this.d.y,this.d.x+=this.cb*c,this.d.y+=this.eb*c,this.d.C(),this.b.mb(this.d)||this.b.Jd(this.d)?this.b.Xc(this.d,-this.cb,-this.eb,c+2,!0):(this.d.x=t,this.d.y=
s,this.d.C())):t&&0===this.F&&this.b.cl(this.d,-this.cb,-this.eb,t)));if(0!==this.F){t=this.d.x;s=this.d.y;this.d.x+=this.F*a*this.cb;this.d.y+=this.F*a*this.eb;d=this.d.x;h=this.d.y;this.d.C();c=this.b.mb(this.d);k=!1;if(!c&&0<this.F&&!m){if((k=0<this.ve?null:this.b.Jd(this.d,!0))&&k.length){if(this.dh){this.d.x=t;this.d.y=s;this.d.C();w=n=0;for(q=k.length;n<q;n++)k[w]=k[n],this.b.Kb(this.d,k[n])||w++;k.length=w;this.d.x=d;this.d.y=h;this.d.C()}1<=k.length&&(c=k[0])}k=!!c}c&&(this.b.yf(this.d,c),
d=k?Math.abs(2.5*this.F*a+10):Math.max(Math.abs(2.5*this.F*a+10),30),this.b.Xc(this.d,this.cb*(0>this.F?1:-1),this.eb*(0>this.F?1:-1),d,k,c)?(this.$b=c,this.Fe=c.x,this.Ge=c.y,(this.Sh=k)&&(b=!0),this.F=0):(this.d.x=t,this.d.y=s,this.d.C(),this.Kf=!0,k||(this.F=0)))}3!==this.Oc&&0<this.F&&!m&&(this.b.trigger(hc.prototype.q.Vo,this.d),this.Oc=3);if(m||b)3===this.Oc||b||f&&0===this.F?(this.b.trigger(hc.prototype.q.Pl,this.d),this.Oc=0===this.A&&0===this.F?0:1):(0!==this.Oc&&0===this.A&&0===this.F&&
(this.b.trigger(hc.prototype.q.fp,this.d),this.Oc=0),1===this.Oc||0===this.A&&0===this.F||f||(this.b.trigger(hc.prototype.q.dp,this.d),this.Oc=1));0<this.ve&&this.ve--;this.dh=this.b.Jd(this.d)}};k.prototype.Ol=function(){if(0!==this.F)return!1;var a=null,d=null,c,h;c=this.d.x;h=this.d.y;this.d.x+=this.cb;this.d.y+=this.eb;this.d.C();(a=this.b.mb(this.d))||0!==this.ve||(d=this.b.Jd(this.d,!0));this.d.x=c;this.d.y=h;this.d.C();if(a)return!this.b.Kb(this.d,a);if(d&&d.length){h=a=0;for(c=d.length;a<
c;a++)d[h]=d[a],this.b.Kb(this.d,d[a])||h++;if(1<=h)return!0}return!1};k.prototype.Wo=M(!0);k.prototype.Vo=M(!0);k.prototype.fp=M(!0);k.prototype.dp=M(!0);k.prototype.Pl=M(!0);h.q=new k;n.prototype.Wl=function(a){switch(a){case 0:this.Vi=!0;break;case 1:this.Wi=!0;break;case 2:this.Wg=!0}};n.prototype.jh=function(a){this.enabled!==(1===a)&&(this.enabled=1===a,this.enabled||(this.$b=null))};h.D=new n;d.prototype.tj=function(a){a.K(Math.sqrt(this.A*this.A+this.F*this.F))};h.J=new d})();
function ic(k){this.b=k}
(function(){var k=ic.prototype;k.za=function(a){this.Oa=a;this.b=a.b};k.za.prototype.X=A();k.qa=function(a,d){this.type=a;this.Oa=a.Oa;this.d=d;this.b=a.b;this.Ya=0};var n=k.qa.prototype,d=2*Math.PI,h=Math.PI/2,a=3*Math.PI/2;n.X=function(){this.tb=1===this.G[0];this.zg=this.G[1];this.Hl=this.G[2];this.Bd=this.G[3];this.Bd+=Math.random()*this.G[4];0===this.Bd?this.Ya=0:(this.Ya=this.G[5]/this.Bd*d,this.Ya+=Math.random()*this.G[6]/this.Bd*d);this.Qb=this.G[7];this.Qb+=Math.random()*this.G[8];this.Og=
this.Ae=this.Z=0;this.init()};n.Ab=function(){return{i:this.Ya,a:this.tb,mv:this.zg,w:this.Hl,p:this.Bd,mag:this.Qb,iv:this.Z,iv2:this.Ae,r:this.Og,lkv:this.ac,lkv2:this.qg}};n.Pb=function(a){this.Ya=a.i;this.tb=a.a;this.zg=a.mv;this.Hl=a.w;this.Bd=a.p;this.Qb=a.mag;this.Z=a.iv;this.Ae=a.iv2||0;this.Og=a.r;this.ac=a.lkv;this.qg=a.lkv2||0};n.init=function(){switch(this.zg){case 0:this.Z=this.d.x;break;case 1:this.Z=this.d.y;break;case 2:this.Z=this.d.width;this.Og=this.d.height/this.d.width;break;
case 3:this.Z=this.d.width;break;case 4:this.Z=this.d.height;break;case 5:this.Z=this.d.k;this.Qb=U(this.Qb);break;case 6:this.Z=this.d.opacity;break;case 7:this.Z=0;break;case 8:this.Z=this.d.x,this.Ae=this.d.y}this.ac=this.Z;this.qg=this.Ae};n.Nd=function(e){e%=d;switch(this.Hl){case 0:return Math.sin(e);case 1:return e<=h?e/h:e<=a?1-2*(e-h)/Math.PI:(e-a)/h-1;case 2:return 2*e/d-1;case 3:return-2*e/d+1;case 4:return e<Math.PI?-1:1}return 0};n.Wa=function(){var a=this.b.$f(this.d);if(this.tb&&0!==
a){0===this.Bd?this.Ya=0:(this.Ya+=a/this.Bd*d,this.Ya%=d);switch(this.zg){case 0:this.d.x!==this.ac&&(this.Z+=this.d.x-this.ac);this.d.x=this.Z+this.Nd(this.Ya)*this.Qb;this.ac=this.d.x;break;case 1:this.d.y!==this.ac&&(this.Z+=this.d.y-this.ac);this.d.y=this.Z+this.Nd(this.Ya)*this.Qb;this.ac=this.d.y;break;case 2:this.d.width=this.Z+this.Nd(this.Ya)*this.Qb;this.d.height=this.d.width*this.Og;break;case 3:this.d.width=this.Z+this.Nd(this.Ya)*this.Qb;break;case 4:this.d.height=this.Z+this.Nd(this.Ya)*
this.Qb;break;case 5:this.d.k!==this.ac&&(this.Z=V(this.Z+(this.d.k-this.ac)));this.d.k=V(this.Z+this.Nd(this.Ya)*this.Qb);this.ac=this.d.k;break;case 6:this.d.opacity=this.Z+this.Nd(this.Ya)*this.Qb/100;0>this.d.opacity?this.d.opacity=0:1<this.d.opacity&&(this.d.opacity=1);break;case 8:this.d.x!==this.ac&&(this.Z+=this.d.x-this.ac),this.d.y!==this.qg&&(this.Ae+=this.d.y-this.qg),this.d.x=this.Z+Math.cos(this.d.k)*this.Nd(this.Ya)*this.Qb,this.d.y=this.Ae+Math.sin(this.d.k)*this.Nd(this.Ya)*this.Qb,
this.ac=this.d.x,this.qg=this.d.y}this.d.C()}};n.yn=function(a,d){switch(this.zg){case 2:this.Z*=d.width/a.width;this.Og=d.height/d.width;break;case 3:this.Z*=d.width/a.width;break;case 4:this.Z*=d.height/a.height}};k.q=new (A());k.D=new (A());k.J=new (A())})();function Vb(k){this.b=k}
(function(){function k(){}var n=Vb.prototype;n.za=function(d){this.Oa=d;this.b=d.b};n.za.prototype.X=A();n.qa=function(d,a){this.type=d;this.Oa=d.Oa;this.d=a;this.b=d.b};var d=n.qa.prototype;d.X=function(){this.d.R.jo=0!==this.G[0]};d.Wa=A();n.q=new (A());k.prototype.jh=function(d){this.d.R.jo=!!d};n.D=new k})();
function Ub(){return[null,"Intro",[[Wb,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Xb,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Z,!1,!0,!0,!0,!0,!0,!0,!0,!1],[Yb,!1,!0,!0,!0,!0,!0,!0,!0,!1],[Zb,!1,!0,!0,!0,!0,!0,!0,!0,!0],[$b,!0,!1,!1,!1,!1,!1,!1,!1,!1],[ac,!0,!1,!1,!1,!1,!1,!1,!1,!1]],[["t0",Zb,!1,[],1,0,["images/background.png",32016,1],null,[["Bullet",bc,9955714976869544]],!1,!1,7468801619603745,[],null],["t1",Zb,!1,[],2,0,["images/block.png",3207,1],null,[["Solid",Vb,7953688625668986],["Bullet",bc,0xb73f9c22f8686]],!1,!1,
0x92fc36bbfa3b6,[],null],["t2",Z,!1,[],1,0,null,[["Default",8,!0,1,0,!0,7055921493997858,[["images/player-sheet0.png",113,0,0,61,96,1,0.5737704634666443,0.4791666567325592,[],[-0.2295084595680237,-0.4791666567325592,0.2622955441474915,-0.4791666567325592,0.2622955441474915,0.5208333730697632,0.0327865481376648,0.3437503278255463,-0.2622954547405243,0.5208333730697632],3]]]],[["Platform",hc,7838919542225168]],!1,!1,7784604048938282,[],null],["t3",$b,!1,[],0,0,null,null,[],!1,!1,0xae5289a877b42,[],
null,[1]],["t4",Xb,!1,[],0,0,null,null,[],!1,!1,56328588265635,[],null,[]],["t5",Yb,!1,[],0,0,null,null,[],!1,!1,5929338051419839,[],null],["t6",Z,!1,[],1,0,null,[["Default",8,!0,1,0,!0,0xf5644874f7c34,[["images/playeranima-sheet0.png",38664,143,1,61,96,1,0.5901639461517334,0.4895833432674408,[],[],0],["images/playeranima-sheet0.png",38664,125,98,57,96,1,0.5614035129547119,0.5,[],[],0],["images/playeranima-sheet0.png",38664,183,98,57,96,1,0.5438596606254578,0.4895833432674408,[],[],0],["images/playeranima-sheet0.png",
38664,1,98,61,96,1,0.5737704634666443,0.4895833432674408,[],[],0]]],["Pulo",5,!0,1,0,!0,0xb28e3fd88c102,[["images/playeranima-sheet0.png",38664,1,1,75,96,1,0.6266666650772095,0.5,[],[],0],["images/playeranima-sheet0.png",38664,77,1,65,96,1,0.5538461804389954,0.5,[],[],0],["images/playeranima-sheet0.png",38664,63,98,61,96,1,0.5573770403862,0.5,[],[],0]]]],[["Pin",cc,0xf1d78af6dedb3]],!1,!1,5155758016247489,[],null],["t7",ac,!1,[],0,0,null,null,[],!1,!1,6887746564557825,[],null,[]],["t8",Z,!1,[],1,
0,null,[["Default",8,!0,1,0,!1,0x685472384bfbb,[["images/iebird-sheet1.png",365,1,1,34,29,1,0.4705882370471954,0.4482758641242981,[],[],0],["images/iebird-sheet0.png",406,1,1,29,42,1,0.4482758641242981,0.3333333432674408,[],[],0],["images/iebird-sheet1.png",365,1,31,37,22,1,0.5405405163764954,0.5909090638160706,[],[],0],["images/iebird-sheet0.png",406,31,1,28,29,1,0.5,0.7241379022598267,[],[],0],["images/iebird-sheet2.png",240,0,0,34,20,1,0.5882353186607361,0.75,[],[],0]]]],[["Bullet",bc,0x6d5d3866ddb2b]],
!1,!1,0xaf3d088691611,[],null],["t9",Z,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7933091442561313,[["images/logo-sheet0.png",6461,0,0,343,50,1,0.5014577507972717,0.5,[],[-0.4927113950252533,-0.4399999976158142,-0.002915740013122559,-0.2599999904632568,0.463557243347168,-0.2599999904632568,0.4868802428245544,0,0.4781342744827271,0.3600000143051148,-0.4839650392532349,0.3799999952316284],0]]]],[],!1,!1,678287731608907,[],null],["t10",Z,!1,[],0,0,null,[["Default",5,!1,1,0,!1,5961189762475602,[["images/sprite-sheet0.png",
14358,0,0,120,186,1,0.5,0.5,[],[0,-0.4193547964096069,0.2666670083999634,-0.3494620025157929,0.3083329796791077,0,0.2333329916000366,0.3279569745063782,0,0.4838709831237793,-0.09166699647903442,0.2365589737892151,-0.4749999940395355,0],0]]]],[],!1,!1,7507700810915679,[],null],["t11",Yb,!1,[],1,0,null,null,[["Sine",ic,5732392729300574]],!1,!1,8385337515021617,[],null],["t12",Yb,!1,[],0,0,null,null,[],!1,!1,0x56aef8677de1a,[],null],["t13",Yb,!1,[],0,0,null,null,[],!1,!1,9663625799990516,[],null],["t14",
Wb,!1,[],0,0,null,null,[],!1,!1,400275030343618,[],null,[0,0,1,1,600,600,1E4,1,5E3,1]],["t15",Yb,!1,[],0,0,null,null,[],!1,!1,7316202647827205,[],null]],[],[["Intro",480,320,!1,"Intro",4614274965139033,[["Layer 0",0,0xeb892374e3d11,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[-155,0,0,1260,320,0,0,1,0,0,0,0,[]],0,7,[],[[10,0,0,0,0,1]],[0,0]],[[80,213,0,120,186,0,0.7085965871810913,1,0.5,0.5,0,0,[]],10,12,[],[],[0,"Default",0,1]],[[240.5000152587891,100,0,343,50,0,0,1,0.5014577507972717,0.5,0,0,[]],9,10,
[],[],[0,"Default",0,1]],[[194,243,0,242,36,0,0,1,0,0,0,0,[]],11,13,[],[[1,6,0,1,0,0,0,90,0]],["Toque para iniciar",0,"18pt Arial Rounded MT Bold","rgb(255,255,255)",1,1,0,0,0]]],[]]],[],[]],["Game",480,320,!1,"Game",0x7aee711d6e3f4,[["Background",0,5158343813435247,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[0,0,0,1260,320,0,0,1,0,0,0,0,[]],0,0,[],[[10,0,0,0,0,1]],[0,0]]],[]],["Game",1,0x82e8bd5c88b6,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[56,239,0,61,96,0,0,1,0.5737704634666443,0.4791666567325592,0,0,[]],
2,1,[],[[300,1E4,1E4,650,1300,1E3,0,1]],[0,"Default",0,1]],[[0,289,0,993,31,0,0,1,0,0,0,0,[]],1,2,[],[[1],[300,0,0,0,0,1]],[0,0]]],[]],["UI",2,9831977249616960,!0,[255,255,255],!0,0,0,1,!1,1,0,0,[[[4,2,0,200,24,0,0,1,0,0,0,0,[]],5,3,[],[],["Text",0,"12pt Arial","rgb(255,255,255)",0,0,0,0,0]],[[56,241,0,61,96,0,0,1,0.5901639461517334,0.4895833432674408,0,0,[]],6,6,[],[[]],[0,"Default",0,1]],[[712,-54,0,34,29,0,0,1,0.4705882370471954,0.4482758641242981,0,0,[]],8,9,[],[[400,0,0,0,1,1]],[0,"Default",
0,1]]],[]]],[],[]],["Game Over",480,320,!1,"Game Over",7907495639285797,[["Layer 0",0,5386344058869619,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[-252,-1,0,1260,320,0,0,1,0,0,0,0,[]],0,11,[],[[10,0,0,0,0,1]],[0,0]],[[22,144,0,441,30,0,0,1,0,0,0,0,[]],12,14,[],[],["Dist\u00e2ncia Total:",0,"16pt Arial Rounded MT Bold","rgb(255,255,255)",0,0,0,0,0]],[[24,182,0,443,30,0,0,1,0,0,0,0,[]],13,15,[],[],["Recorde: ",0,"16pt Arial Rounded MT Bold","rgb(255,255,255)",0,0,0,0,0]],[[9,290,0,462,24,0,0,1,0,0,0,0,[]],
15,17,[],[],["Hardcodigo - hardcodigo.com.br",0,"12pt Arial Rounded MT Bold","rgb(255,255,255)",1,0,0,0,0]]],[]]],[],[]]],[["Game",[[1,"TotalDistance",0,0,!1,!1,0xb0c37b23b69ca,!1],[1,"CurrentDistance",0,0,!1,!1,8013106702654985,!1],[1,"NextBlock",0,750,!1,!1,6524065256534948,!1],[0,null,!1,null,9588661006570016,[[-1,Y.prototype.q.Lf,null,1,!1,!1,!1,0xb9a3bbf50ff42,!1]],[[0,bc.prototype.D.ih,"Bullet",6705222642670757,!1,[[0,[0,180]]]],[1,bc.prototype.D.ih,"Bullet",9327147898400172,!1,[[0,[0,180]]]],
[6,cc.prototype.D.gp,"Pin",8547524703163246,!1,[[4,2],[3,0]]]]],[0,null,!1,null,0x939e32867addb,[[0,Zb.prototype.q.eh,null,0,!1,!1,!1,9680174507514862,!1,[[8,3],[0,[7,[3,[20,0,Zb.prototype.J.Of,!1,null]],[0,2]]]]]],[[0,Zb.prototype.D.sj,null,753962256728357,!1,[[0,[4,[20,0,Zb.prototype.J.mh,!1,null],[7,[20,0,Zb.prototype.J.Of,!1,null],[0,2]]]]]]]],[0,null,!1,null,6876572144456216,[[2,hc.prototype.q.Ol,"Platform",0,!1,!1,!1,5403812717669436,!1]],[[2,hc.prototype.D.Wl,"Platform",9625175465920312,!1,
[[3,1]]]]],[0,null,!0,null,0xff7dedb626fc0,[[3,$b.prototype.q.Mf,null,1,!1,!1,!1,8724093989382961,!1],[4,Xb.prototype.q.hh,null,1,!1,!1,!1,799476237392322,!1]],[[2,hc.prototype.D.Wl,"Platform",0x7a1e84ecfa37b,!1,[[3,2]]],[6,Z.prototype.D.Vl,null,5758365818885663,!1,[[1,[2,"Pulo"]],[3,1]]]]],[0,null,!1,null,58611292411184,[[-1,Y.prototype.q.Jo,null,0,!1,!1,!1,0x399327b444bb6,!1]],[[-1,Y.prototype.D.Jl,null,0xcf4575558a651,!1,[[11,"CurrentDistance"],[7,[6,[22,1,"Bullet",bc.prototype.J.tj,!1,null],[19,
Y.prototype.J.dd]]]]],[-1,Y.prototype.D.Jl,null,8469037161250793,!1,[[11,"TotalDistance"],[7,[6,[22,1,"Bullet",bc.prototype.J.tj,!1,null],[19,Y.prototype.J.dd]]]]],[5,Yb.prototype.D.kh,null,356185894481757,!1,[[7,[10,[19,Y.prototype.J.round,[[7,[23,"TotalDistance"],[0,6]]]],[2,"m"]]]]]]],[0,null,!1,null,7840038737571548,[[-1,Y.prototype.q.Ll,null,0,!1,!1,!1,0x5a0bfce26c010,!1,[[11,"CurrentDistance"],[8,5],[7,[23,"NextBlock"]]]]],[[-1,Y.prototype.D.mp,null,5448294345165545,!1,[[11,"CurrentDistance"],
[7,[23,"NextBlock"]]]],[-1,Y.prototype.D.Ml,null,0xc5db65d7f4cd1,!1,[[4,1],[5,[2,"Game"]],[0,[0,0]],[0,[0,0]]]],[1,Zb.prototype.D.jp,null,7013378912698169,!1,[[0,[4,[0,100],[19,Y.prototype.J.random,[[0,400]]]]],[0,[0,31]]]],[1,Zb.prototype.D.ip,null,0xeef7f5b7c1d69,!1,[[0,[19,Y.prototype.J.kn]],[0,[5,[19,Y.prototype.J.jn],[20,1,Zb.prototype.J.Lo,!1,null]]]]],[1,bc.prototype.D.ih,"Bullet",6094058958340812,!1,[[0,[0,180]]]],[-1,Y.prototype.D.Nf,null,0xa9ef7cafe23f0,!1,[[11,"NextBlock"],[7,[4,[4,[20,
1,Zb.prototype.J.Of,!1,null],[0,20]],[19,Y.prototype.J.random,[[0,200]]]]]]]]],[0,null,!1,null,0xdf4ac2cfceb56,[[1,Zb.prototype.q.eh,null,0,!1,!1,!1,0x74082cc8d7ded,!1,[[8,2],[0,[3,[20,1,Zb.prototype.J.Of,!1,null]]]]]],[[1,Zb.prototype.D.Nl,null,0xfb475c77879eb,!1]]],[0,null,!1,null,7696650559205803,[[2,Z.prototype.q.Go,null,0,!1,!1,!1,0xf43aed33060f1,!1,[[8,4],[0,[19,Y.prototype.J.jn]]]]],[[-1,Y.prototype.D.gh,null,9154093069411396,!1,[[6,"Game Over"]]]]],[0,null,!1,null,0x908a77943383c,[[2,Z.prototype.q.eh,
null,0,!1,!1,!1,8393169751421463,!1,[[8,2],[0,[0,105]]]],[2,hc.prototype.q.Ol,"Platform",0,!1,!0,!1,0xb6465310f6766,!1]],[[2,Z.prototype.D.sj,null,7355825493002182,!1,[[0,[4,[20,2,Z.prototype.J.mh,!1,null],[6,[0,5],[19,Y.prototype.J.dd]]]]]]]],[0,null,!1,null,9736234435939152,[[2,hc.prototype.q.Pl,"Platform",1,!1,!1,!1,6685672265211658,!1]],[[2,Z.prototype.D.sj,null,9910814957195040,!1,[[0,[4,[20,2,Z.prototype.J.mh,!1,null],[0,1]]]]],[6,Z.prototype.D.Vl,null,0x97cb20d08491,!1,[[1,[2,"Default"]],[3,
1]]]]],[0,null,!1,null,0x7c6e1451cabfb,[[-1,Y.prototype.q.Io,null,0,!1,!1,!1,0xe8e2fbd487228,!1,[[0,[0,8]]]]],[[-1,Y.prototype.D.Ml,null,0x98ee3035c4af2,!1,[[4,8],[5,[2,"Game"]],[0,[19,Y.prototype.J.kn]],[0,[19,Y.prototype.J.random,[[0,0],[0,200]]]]]],[8,bc.prototype.D.ih,"Bullet",5958830606886445,!1,[[0,[0,180]]]]]],[0,null,!1,null,0x99c367051151b,[[8,Z.prototype.q.eh,null,0,!1,!1,!1,6045211523948637,!1,[[8,2],[0,[3,[20,8,Z.prototype.J.Of,!1,null]]]]]],[[8,Z.prototype.D.Nl,null,8393328786535339,
!1]]],[0,null,!1,null,5529696619440961,[[2,Z.prototype.q.To,null,0,!1,!1,!0,5633025515674181,!1,[[4,8]]]],[[-1,Y.prototype.D.gh,null,7990074828277987,!1,[[6,"Game Over"]]]]]]],["Intro",[[1,"recorde",0,0,!1,!1,0xceb8a7c100fe2,!1],[0,null,!0,null,7516075781230426,[[3,$b.prototype.q.Mf,null,1,!1,!1,!1,0x8082deaadc31,!1],[4,Xb.prototype.q.hh,null,1,!1,!1,!1,0x8217c9c0e00fc,!1]],[[-1,Y.prototype.D.gh,null,0xe77e917d750c0,!1,[[6,"Game"]]]]],[0,null,!1,null,8994564228599363,[[-1,Y.prototype.q.Lf,null,1,
!1,!1,!1,0x4f29794a143b9,!1],[7,ac.prototype.q.No,null,0,!1,!1,!1,753935497050777,!1,[[1,[2,"recorde"]]]]],[[-1,Y.prototype.D.Nf,null,6752967189488698,!1,[[11,"recorde"],[7,[20,7,ac.prototype.J.Oo,!0,null,[[2,"recorde"]]]]]]]],[0,null,!1,null,0xfc8869b124399,[[-1,Y.prototype.q.Lf,null,1,!1,!1,!1,9225952065290908,!1]],[[0,bc.prototype.D.jh,"Bullet",0x8bf12e2527c2,!1,[[3,0]]],[14,Wb.prototype.D.hp,null,9012916975715220,!1,[[2,["happy game theme loop_0",!0]]]],[14,Wb.prototype.D.Play,null,0xeeb990bf3db2a,
!1,[[2,["happy game theme loop_0",!0]],[3,1],[0,[0,0]],[1,[2,""]]]]]]]],["Game Over",[[0,null,!1,null,6003375436030039,[[-1,Y.prototype.q.Ll,null,0,!1,!1,!1,0x938dddfc7b6d5,!1,[[11,"recorde"],[8,2],[7,[19,Y.prototype.J.round,[[7,[23,"TotalDistance"],[0,6]]]]]]]],[[-1,Y.prototype.D.Nf,null,5245257309121168,!1,[[11,"recorde"],[7,[19,Y.prototype.J.round,[[7,[23,"TotalDistance"],[0,6]]]]]]],[7,ac.prototype.D.lp,null,6644508590622666,!1,[[1,[2,"recorde"]],[7,[23,"recorde"]]]],[13,Yb.prototype.D.kh,null,
5268093241601713,!1,[[7,[10,[10,[2,"Recorde: "],[19,Y.prototype.J.ko,[[23,"recorde"]]]],[2,"m"]]]]]]],[0,null,!0,null,9692183226665320,[[3,$b.prototype.q.Mf,null,1,!1,!1,!1,5724326869041139,!1],[4,Xb.prototype.q.hh,null,1,!1,!1,!1,6887736063232149,!1]],[[-1,Y.prototype.D.Nf,null,6522235113675794,!1,[[11,"CurrentDistance"],[7,[0,0]]]],[-1,Y.prototype.D.Nf,null,9089001125696752,!1,[[11,"TotalDistance"],[7,[0,0]]]],[-1,Y.prototype.D.gh,null,0x66ffc1d0e4636,!1,[[6,"Intro"]]]]],[0,null,!1,null,0x8174e2708d46b,
[[-1,Y.prototype.q.Lf,null,1,!1,!1,!1,0xca75d0ec058ab,!1]],[[0,bc.prototype.D.jh,"Bullet",0xb1c4196f318d7,!1,[[3,0]]],[12,Yb.prototype.D.kh,null,0x7c42b421b0ea0,!1,[[7,[10,[10,[2,"Dist\u00e2ncia Total: "],[19,Y.prototype.J.round,[[7,[23,"TotalDistance"],[0,6]]]]],[2,"m"]]]]],[13,Yb.prototype.D.kh,null,860061674213504,!1,[[7,[10,[10,[2,"Recorde: "],[19,Y.prototype.J.ko,[[23,"recorde"]]]],[2,"m"]]]]]]]]]],"media/",!1,480,320,4,!1,!0,!0,"2.0",!0,!1,0,0,18,!1,!0,[]]};
