mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-17 11:02:08 -05:00
Upload files to "trump"
This commit is contained in:
parent
edc9f3f107
commit
d51925c3ec
28
trump/appmanifest.json
Normal file
28
trump/appmanifest.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "TrumpVsKim",
|
||||
"short_name": "TrumpVsKim",
|
||||
"start_url": "index.html",
|
||||
"display": "fullscreen",
|
||||
"orientation": "portrait",
|
||||
"icons": [{
|
||||
"src": "icon-16.png",
|
||||
"sizes": "16x16",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "icon-32.png",
|
||||
"sizes": "32x32",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "icon-128.png",
|
||||
"sizes": "128x128",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "icon-256.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "icon-256.png",
|
||||
"sizes": "256x256",
|
||||
"type": "image/png"
|
||||
}]
|
||||
}
|
667
trump/c2runtime.js
Normal file
667
trump/c2runtime.js
Normal file
@ -0,0 +1,667 @@
|
||||
// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
|
||||
'use strict';var aa,ba,ca,ea,fa,ga,ha,ia,ja,ka,la,ma,na,qa,ra,ta,ua,va,wa,ya,za,Aa,z,Ba,Ca,Da,Ea,Fa,A,Ga,Ha,Ia,Ja,Ka,La,Oa,Pa,Qa,Ta,Ua,Va,Wa,Xa,Ya,Za,$a,ab,bb,db,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b,ec,fc,gc,hc,ic,jc,kc,lc,mc={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(f){return f.__proto__}:function(f){return f.constructor.prototype});
|
||||
(function(){function f(c,a,g,b){this.set(c,a,g,b)}function k(){this.Gc=this.Fc=this.Ic=this.Hc=this.Tc=this.Sc=this.Wb=this.Vb=0}function d(c,a,g,b){c<a?g<b?(r=c<g?c:g,v=a>b?a:b):(r=c<b?c:b,v=a>g?a:g):g<b?(r=a<g?a:g,v=c>b?c:b):(r=a<b?a:b,v=c>g?c:g)}function l(){this.items=this.Qc=null;this.Tj=0;w&&(this.Qc=new Set);this.Qi=[];this.Xf=!0}function h(c){E[u++]=c}function b(){this.P=this.Ki=this.y=this.pj=0}function e(c){this.Pb=[];this.Gl=this.Il=this.Jl=this.Hl=0;this.Ok(c)}function a(c,a){this.sp=
|
||||
c;this.rp=a;this.cells={}}function n(c,a){this.sp=c;this.rp=a;this.cells={}}function t(c,a,g){var b;return x.length?(b=x.pop(),b.bq=c,b.x=a,b.y=g,b):new ba(c,a,g)}function g(c,a,g){this.bq=c;this.x=a;this.y=g;this.Ub=new ca}function c(c,a,g){var b;return B.length?(b=B.pop(),b.bq=c,b.x=a,b.y=g,b):new ea(c,a,g)}function m(c,a,g){this.bq=c;this.x=a;this.y=g;this.Ub=[];this.Xh=!0;this.Ie=new ca;this.mj=!1}function q(c,a){return c.pe-a.pe}fa=function(c){window.console&&window.console.log&&window.console.log(c)};
|
||||
ga=function(c){window.console&&window.console.error&&window.console.error(c)};aa=function(c){return c};ha=function(c){return"undefined"===typeof c};ia=function(c){return"number"===typeof c};ja=function(c){return"string"===typeof c};ka=function(c){return 0<c&&0===(c-1&c)};la=function(c){--c;for(var a=1;32>a;a<<=1)c=c|c>>a;return c+1};ma=function(c){return 0>c?-c:c};na=function(c,a){return c<a?c:a};qa=Math.PI;ra=function(c){return 0<=c?c|0:(c|0)-1};ta=function(c){var a=c|0;return a===c?a:a+1};ua=function(c,
|
||||
a,g,b,q,n,m,p){var r,e,d,h;c<g?(e=c,r=g):(e=g,r=c);q<m?(h=q,d=m):(h=m,d=q);if(r<h||e>d)return!1;a<b?(e=a,r=b):(e=b,r=a);n<p?(h=n,d=p):(h=p,d=n);if(r<h||e>d)return!1;r=q-c+m-g;e=n-a+p-b;c=g-c;a=b-a;q=m-q;n=p-n;p=ma(a*q-n*c);return ma(q*e-n*r)>p?!1:ma(c*e-a*r)<=p};f.prototype.set=function(c,a,g,b){this.left=c;this.top=a;this.right=g;this.bottom=b};f.prototype.Dh=function(c){this.left=c.left;this.top=c.top;this.right=c.right;this.bottom=c.bottom};f.prototype.width=function(){return this.right-this.left};
|
||||
f.prototype.height=function(){return this.bottom-this.top};f.prototype.offset=function(c,a){this.left+=c;this.top+=a;this.right+=c;this.bottom+=a;return this};f.prototype.normalize=function(){var c=0;this.left>this.right&&(c=this.left,this.left=this.right,this.right=c);this.top>this.bottom&&(c=this.top,this.top=this.bottom,this.bottom=c)};f.prototype.lD=function(c){return!(c.right<this.left||c.bottom<this.top||c.left>this.right||c.top>this.bottom)};f.prototype.mD=function(c,a,g){return!(c.right+a<
|
||||
this.left||c.bottom+g<this.top||c.left+a>this.right||c.top+g>this.bottom)};f.prototype.Xb=function(c,a){return c>=this.left&&c<=this.right&&a>=this.top&&a<=this.bottom};f.prototype.wj=function(c){return this.left===c.left&&this.top===c.top&&this.right===c.right&&this.bottom===c.bottom};va=f;k.prototype.Gi=function(c){this.Vb=c.left;this.Wb=c.top;this.Sc=c.right;this.Tc=c.top;this.Hc=c.right;this.Ic=c.bottom;this.Fc=c.left;this.Gc=c.bottom};k.prototype.Dw=function(c,a){if(0===a)this.Gi(c);else{var g=
|
||||
Math.sin(a),b=Math.cos(a),q=c.left*g,n=c.top*g,m=c.right*g,g=c.bottom*g,p=c.left*b,r=c.top*b,e=c.right*b,b=c.bottom*b;this.Vb=p-n;this.Wb=r+q;this.Sc=e-n;this.Tc=r+m;this.Hc=e-g;this.Ic=b+m;this.Fc=p-g;this.Gc=b+q}};k.prototype.offset=function(c,a){this.Vb+=c;this.Wb+=a;this.Sc+=c;this.Tc+=a;this.Hc+=c;this.Ic+=a;this.Fc+=c;this.Gc+=a;return this};var r=0,v=0;k.prototype.Pt=function(c){d(this.Vb,this.Sc,this.Hc,this.Fc);c.left=r;c.right=v;d(this.Wb,this.Tc,this.Ic,this.Gc);c.top=r;c.bottom=v};k.prototype.Xb=
|
||||
function(c,a){var g=this.Vb,b=this.Wb,q=this.Sc-g,n=this.Tc-b,m=this.Hc-g,p=this.Ic-b,r=c-g,e=a-b,d=q*q+n*n,h=q*m+n*p,n=q*r+n*e,t=m*m+p*p,l=m*r+p*e,f=1/(d*t-h*h),q=(t*n-h*l)*f,d=(d*l-h*n)*f;if(0<=q&&0<d&&1>q+d)return!0;q=this.Fc-g;n=this.Gc-b;d=q*q+n*n;h=q*m+n*p;n=q*r+n*e;f=1/(d*t-h*h);q=(t*n-h*l)*f;d=(d*l-h*n)*f;return 0<=q&&0<d&&1>q+d};k.prototype.xd=function(c,a){if(a)switch(c){case 0:return this.Vb;case 1:return this.Sc;case 2:return this.Hc;case 3:return this.Fc;case 4:return this.Vb;default:return this.Vb}else switch(c){case 0:return this.Wb;
|
||||
case 1:return this.Tc;case 2:return this.Ic;case 3:return this.Gc;case 4:return this.Wb;default:return this.Wb}};k.prototype.Gv=function(){return(this.Vb+this.Sc+this.Hc+this.Fc)/4};k.prototype.Hv=function(){return(this.Wb+this.Tc+this.Ic+this.Gc)/4};k.prototype.Ou=function(c){var a=c.Gv(),g=c.Hv();if(this.Xb(a,g))return!0;a=this.Gv();g=this.Hv();if(c.Xb(a,g))return!0;var b,q,n,m,p,r,e,d;for(e=0;4>e;e++)for(d=0;4>d;d++)if(a=this.xd(e,!0),g=this.xd(e,!1),b=this.xd(e+1,!0),q=this.xd(e+1,!1),n=c.xd(d,
|
||||
!0),m=c.xd(d,!1),p=c.xd(d+1,!0),r=c.xd(d+1,!1),ua(a,g,b,q,n,m,p,r))return!0;return!1};wa=k;ya=function(c,a){for(var g in a)a.hasOwnProperty(g)&&(c[g]=a[g]);return c};za=function(c,a){var g,b;a=ra(a);if(!(0>a||a>=c.length)){g=a;for(b=c.length-1;g<b;g++)c[g]=c[g+1];Aa(c,b)}};Aa=function(c,a){c.length=a};z=function(c){Aa(c,0)};Ba=function(c,a){z(c);var g,b;g=0;for(b=a.length;g<b;++g)c[g]=a[g]};Ca=function(c,a){c.push.apply(c,a)};Da=function(c,a){var g,b;g=0;for(b=c.length;g<b;++g)if(c[g]===a)return g;
|
||||
return-1};Ea=function(c,a){var g=Da(c,a);-1!==g&&za(c,g)};Fa=function(c,a,g){return c<a?a:c>g?g:c};A=function(c){return c/(180/qa)};Ga=function(c){return 180/qa*c};Ha=function(c){c%=360;0>c&&(c+=360);return c};Ia=function(c){c%=2*qa;0>c&&(c+=2*qa);return c};Ja=function(c){return Ha(Ga(c))};Ka=function(c){return Ia(A(c))};La=function(c,a,g,b){return Math.atan2(b-a,g-c)};Oa=function(c,a){if(c===a)return 0;var g=Math.sin(c),b=Math.cos(c),q=Math.sin(a),n=Math.cos(a),g=g*q+b*n;return 1<=g?0:-1>=g?qa:Math.acos(g)};
|
||||
Pa=function(c,a,g){var b=Math.sin(c),q=Math.cos(c),n=Math.sin(a),m=Math.cos(a);return Math.acos(b*n+q*m)>g?0<q*n-b*m?Ia(c+g):Ia(c-g):Ia(a)};Qa=function(c,a){var g=Math.sin(c),b=Math.cos(c),q=Math.sin(a),n=Math.cos(a);return 0>=b*q-g*n};Ta=function(c,a,g,b,q,n){if(0===g)return n?c:a;var m=Math.sin(g);g=Math.cos(g);c-=b;a-=q;var p=c*m;c=c*g-a*m;a=a*g+p;return n?c+b:a+q};Ua=function(c,a,g,b){c=g-c;a=b-a;return Math.sqrt(c*c+a*a)};Va=function(c,a){return!c!==!a};Wa=function(c,a,g){return c+(a-c)*g};Xa=
|
||||
function(c){for(var a in c)if(c.hasOwnProperty(a))return!0;return!1};Ya=function(c){for(var a in c)c.hasOwnProperty(a)&&delete c[a]};var D=+new Date;Za=function(){if("undefined"!==typeof window.performance){var c=window.performance;if("undefined"!==typeof c.now)return c.now();if("undefined"!==typeof c.webkitNow)return c.webkitNow();if("undefined"!==typeof c.mozNow)return c.mozNow();if("undefined"!==typeof c.msNow)return c.msNow()}return Date.now()-D};var p=!1,G=p=!1,J=!1;"undefined"!==typeof window&&
|
||||
(p=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),p=!p&&/safari/i.test(navigator.userAgent),G=/(iphone|ipod|ipad)/i.test(navigator.userAgent),J=window.c2ejecta);var w=!p&&!J&&!G&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;l.prototype.contains=function(c){return this.of()?!1:w?this.Qc.has(c):this.items&&this.items.hasOwnProperty(c)};l.prototype.add=function(c){if(w)this.Qc.has(c)||(this.Qc.add(c),this.Xf=!1);else{var a=c.toString(),g=this.items;
|
||||
g?g.hasOwnProperty(a)||(g[a]=c,this.Tj++,this.Xf=!1):(this.items={},this.items[a]=c,this.Tj=1,this.Xf=!1)}};l.prototype.remove=function(c){if(!this.of())if(w)this.Qc.has(c)&&(this.Qc["delete"](c),this.Xf=!1);else if(this.items){c=c.toString();var a=this.items;a.hasOwnProperty(c)&&(delete a[c],this.Tj--,this.Xf=!1)}};l.prototype.clear=function(){this.of()||(w?this.Qc.clear():(this.items=null,this.Tj=0),z(this.Qi),this.Xf=!0)};l.prototype.of=function(){return 0===this.count()};l.prototype.count=function(){return w?
|
||||
this.Qc.size:this.Tj};var E=null,u=0;l.prototype.bF=function(){if(!this.Xf){if(w)z(this.Qi),E=this.Qi,u=0,this.Qc.forEach(h),E=null,u=0;else{var c=this.Qi;z(c);var a,g=0,b=this.items;if(b)for(a in b)b.hasOwnProperty(a)&&(c[g++]=b[a])}this.Xf=!0}};l.prototype.Nd=function(){this.bF();return this.Qi};ca=l;new ca;$a=function(c,a){w?ab(c,a.Qc):bb(c,a.Nd())};ab=function(c,a){var g,b,q,n;b=g=0;for(q=c.length;g<q;++g)n=c[g],a.has(n)||(c[b++]=n);Aa(c,b)};bb=function(c,a){var g,b,q,n;b=g=0;for(q=c.length;g<
|
||||
q;++g)n=c[g],-1===Da(a,n)&&(c[b++]=n);Aa(c,b)};b.prototype.add=function(c){this.y=c-this.pj;this.Ki=this.P+this.y;this.pj=this.Ki-this.P-this.y;this.P=this.Ki};b.prototype.reset=function(){this.P=this.Ki=this.y=this.pj=0};db=b;eb=function(c){return c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};e.prototype.Ok=function(c){this.iw=c;this.he=c.length/2;this.Pb.length=c.length;this.Nl=this.Ol=-1;this.St=0};e.prototype.Uh=function(){return!this.iw.length};e.prototype.xa=function(){for(var c=this.Pb,a=c[0],
|
||||
g=a,b=c[1],q=b,n,m,p=1,r=this.he;p<r;++p)m=2*p,n=c[m],m=c[m+1],n<a&&(a=n),n>g&&(g=n),m<b&&(b=m),m>q&&(q=m);this.Hl=a;this.Il=g;this.Jl=b;this.Gl=q};e.prototype.Gi=function(c,a,g){this.Pb.length=8;this.he=4;var b=this.Pb;b[0]=c.left-a;b[1]=c.top-g;b[2]=c.right-a;b[3]=c.top-g;b[4]=c.right-a;b[5]=c.bottom-g;b[6]=c.left-a;b[7]=c.bottom-g;this.Ol=c.right-c.left;this.Nl=c.bottom-c.top;this.xa()};e.prototype.Fi=function(c,a,g,b,q){this.Pb.length=8;this.he=4;var n=this.Pb;n[0]=c.Vb-a;n[1]=c.Wb-g;n[2]=c.Sc-
|
||||
a;n[3]=c.Tc-g;n[4]=c.Hc-a;n[5]=c.Ic-g;n[6]=c.Fc-a;n[7]=c.Gc-g;this.Ol=b;this.Nl=q;this.xa()};e.prototype.Cw=function(c){this.he=c.he;Ba(this.Pb,c.Pb);this.Hl=c.Hl;this.Jl-c.Jl;this.Il=c.Il;this.Gl=c.Gl};e.prototype.Ah=function(c,a,g){if(this.Ol!==c||this.Nl!==a||this.St!==g){this.Ol=c;this.Nl=a;this.St=g;var b,q,n,m,p,r=0,e=1,d=this.iw,h=this.Pb;0!==g&&(r=Math.sin(g),e=Math.cos(g));g=0;for(n=this.he;g<n;g++)b=2*g,q=b+1,m=d[b]*c,p=d[q]*a,h[b]=m*e-p*r,h[q]=p*e+m*r;this.xa()}};e.prototype.Xb=function(c,
|
||||
a){var g=this.Pb;if(c===g[0]&&a===g[1])return!0;var b,q,n,m=this.he,p=this.Hl-110,r=this.Jl-101,e=this.Il+131,d=this.Gl+120,h,t,l=0,f=0;for(b=0;b<m;b++)q=2*b,n=(b+1)%m*2,h=g[q],q=g[q+1],t=g[n],n=g[n+1],ua(p,r,c,a,h,q,t,n)&&l++,ua(e,d,c,a,h,q,t,n)&&f++;return 1===l%2||1===f%2};e.prototype.Kj=function(c,a,g){var b=c.Pb,q=this.Pb;if(this.Xb(b[0]+a,b[1]+g)||c.Xb(q[0]-a,q[1]-g))return!0;var n,m,p,r,e,d,h,t,l,f,v,k;n=0;for(r=this.he;n<r;n++)for(m=2*n,p=(n+1)%r*2,t=q[m],m=q[m+1],l=q[p],f=q[p+1],p=0,h=c.he;p<
|
||||
h;p++)if(e=2*p,d=(p+1)%h*2,v=b[e]+a,e=b[e+1]+g,k=b[d]+a,d=b[d+1]+g,ua(t,m,l,f,v,e,k,d))return!0;return!1};fb=e;a.prototype.eg=function(c,a,g){var b;b=this.cells[c];return b?(b=b[a])?b:g?(b=t(this,c,a),this.cells[c][a]=b):null:g?(b=t(this,c,a),this.cells[c]={},this.cells[c][a]=b):null};a.prototype.Dc=function(c){return ra(c/this.sp)};a.prototype.Ec=function(c){return ra(c/this.rp)};a.prototype.update=function(c,a,g){var b,q,n,m,p;if(a)for(b=a.left,q=a.right;b<=q;++b)for(n=a.top,m=a.bottom;n<=m;++n)if(!g||
|
||||
!g.Xb(b,n))if(p=this.eg(b,n,!1))p.remove(c),p.of()&&(p.Ub.clear(),1E3>x.length&&x.push(p),this.cells[b][n]=null);if(g)for(b=g.left,q=g.right;b<=q;++b)for(n=g.top,m=g.bottom;n<=m;++n)a&&a.Xb(b,n)||this.eg(b,n,!0).nq(c)};a.prototype.Bn=function(c,a){var g,b,q,n,m,p;g=this.Dc(c.left);q=this.Ec(c.top);b=this.Dc(c.right);for(m=this.Ec(c.bottom);g<=b;++g)for(n=q;n<=m;++n)(p=this.eg(g,n,!1))&&p.dump(a)};gb=a;n.prototype.eg=function(a,g,b){var q;q=this.cells[a];return q?(q=q[g])?q:b?(q=c(this,a,g),this.cells[a][g]=
|
||||
q):null:b?(q=c(this,a,g),this.cells[a]={},this.cells[a][g]=q):null};n.prototype.Dc=function(c){return ra(c/this.sp)};n.prototype.Ec=function(c){return ra(c/this.rp)};n.prototype.update=function(c,a,g){var b,q,n,m,p;if(a)for(b=a.left,q=a.right;b<=q;++b)for(n=a.top,m=a.bottom;n<=m;++n)if(!g||!g.Xb(b,n))if(p=this.eg(b,n,!1))p.remove(c),p.of()&&(p.reset(),1E3>B.length&&B.push(p),this.cells[b][n]=null);if(g)for(b=g.left,q=g.right;b<=q;++b)for(n=g.top,m=g.bottom;n<=m;++n)a&&a.Xb(b,n)||this.eg(b,n,!0).nq(c)};
|
||||
n.prototype.Bn=function(c,a,g,b,q){var n,m;c=this.Dc(c);a=this.Ec(a);g=this.Dc(g);for(n=this.Ec(b);c<=g;++c)for(b=a;b<=n;++b)(m=this.eg(c,b,!1))&&m.dump(q)};n.prototype.JD=function(c){var a,g,b,q,n;a=c.left;b=c.top;g=c.right;for(q=c.bottom;a<=g;++a)for(c=b;c<=q;++c)if(n=this.eg(a,c,!1))n.Xh=!1};hb=n;var x=[];g.prototype.of=function(){return this.Ub.of()};g.prototype.nq=function(c){this.Ub.add(c)};g.prototype.remove=function(c){this.Ub.remove(c)};g.prototype.dump=function(c){Ca(c,this.Ub.Nd())};ba=
|
||||
g;var B=[];m.prototype.of=function(){if(!this.Ub.length)return!0;if(this.Ub.length>this.Ie.count())return!1;this.Op();return!0};m.prototype.nq=function(c){this.Ie.contains(c)?(this.Ie.remove(c),this.Ie.of()&&(this.mj=!1)):this.Ub.length?(this.Ub[this.Ub.length-1].Bd()>c.Bd()&&(this.Xh=!1),this.Ub.push(c)):(this.Ub.push(c),this.Xh=!0)};m.prototype.remove=function(c){this.Ie.add(c);this.mj=!0;30<=this.Ie.count()&&this.Op()};m.prototype.Op=function(){this.mj&&(this.Ie.count()===this.Ub.length?this.reset():
|
||||
($a(this.Ub,this.Ie),this.Ie.clear(),this.mj=!1))};m.prototype.TB=function(){this.Xh||(this.Ub.sort(q),this.Xh=!0)};m.prototype.reset=function(){z(this.Ub);this.Xh=!0;this.Ie.clear();this.mj=!1};m.prototype.dump=function(c){this.Op();this.TB();this.Ub.length&&c.push(this.Ub)};ea=m;var N="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");ib=function(c){return 0>=c||11<=c?"source-over":N[c-1]};jb=function(c,a,g){if(g)switch(c.xc=
|
||||
g.ONE,c.oc=g.ONE_MINUS_SRC_ALPHA,a){case 1:c.xc=g.ONE;c.oc=g.ONE;break;case 3:c.xc=g.ONE;c.oc=g.ZERO;break;case 4:c.xc=g.ONE_MINUS_DST_ALPHA;c.oc=g.ONE;break;case 5:c.xc=g.DST_ALPHA;c.oc=g.ZERO;break;case 6:c.xc=g.ZERO;c.oc=g.SRC_ALPHA;break;case 7:c.xc=g.ONE_MINUS_DST_ALPHA;c.oc=g.ZERO;break;case 8:c.xc=g.ZERO;c.oc=g.ONE_MINUS_SRC_ALPHA;break;case 9:c.xc=g.DST_ALPHA;c.oc=g.ONE_MINUS_SRC_ALPHA;break;case 10:c.xc=g.ONE_MINUS_DST_ALPHA,c.oc=g.SRC_ALPHA}};kb=function(c){return Math.round(1E6*c)/1E6};
|
||||
lb=function(c,a){return"string"!==typeof c||"string"!==typeof a||c.length!==a.length?!1:c===a?!0:c.toLowerCase()===a.toLowerCase()};mb=function(c){c=c.target;return!c||c===document||c===window||document&&document.body&&c===document.body||lb(c.tagName,"canvas")?!0:!1}})();var nc="undefined"!==typeof Float32Array?Float32Array:Array;function oc(f){var k=new nc(3);f&&(k[0]=f[0],k[1]=f[1],k[2]=f[2]);return k}
|
||||
function pc(f){var k=new nc(16);f&&(k[0]=f[0],k[1]=f[1],k[2]=f[2],k[3]=f[3],k[4]=f[4],k[5]=f[5],k[6]=f[6],k[7]=f[7],k[8]=f[8],k[9]=f[9],k[10]=f[10],k[11]=f[11],k[12]=f[12],k[13]=f[13],k[14]=f[14],k[15]=f[15]);return k}function qc(f,k){k[0]=f[0];k[1]=f[1];k[2]=f[2];k[3]=f[3];k[4]=f[4];k[5]=f[5];k[6]=f[6];k[7]=f[7];k[8]=f[8];k[9]=f[9];k[10]=f[10];k[11]=f[11];k[12]=f[12];k[13]=f[13];k[14]=f[14];k[15]=f[15]}
|
||||
function rc(f,k){var d=k[0],l=k[1];k=k[2];f[0]*=d;f[1]*=d;f[2]*=d;f[3]*=d;f[4]*=l;f[5]*=l;f[6]*=l;f[7]*=l;f[8]*=k;f[9]*=k;f[10]*=k;f[11]*=k}
|
||||
function sc(f,k,d,l){l||(l=pc());var h,b,e,a,n,t,g,c,m=f[0],q=f[1];f=f[2];b=d[0];e=d[1];h=d[2];d=k[1];t=k[2];m===k[0]&&q===d&&f===t?(f=l,f[0]=1,f[1]=0,f[2]=0,f[3]=0,f[4]=0,f[5]=1,f[6]=0,f[7]=0,f[8]=0,f[9]=0,f[10]=1,f[11]=0,f[12]=0,f[13]=0,f[14]=0,f[15]=1):(d=m-k[0],t=q-k[1],g=f-k[2],c=1/Math.sqrt(d*d+t*t+g*g),d*=c,t*=c,g*=c,k=e*g-h*t,h=h*d-b*g,b=b*t-e*d,(c=Math.sqrt(k*k+h*h+b*b))?(c=1/c,k*=c,h*=c,b*=c):b=h=k=0,e=t*b-g*h,a=g*k-d*b,n=d*h-t*k,(c=Math.sqrt(e*e+a*a+n*n))?(c=1/c,e*=c,a*=c,n*=c):n=a=e=0,
|
||||
l[0]=k,l[1]=e,l[2]=d,l[3]=0,l[4]=h,l[5]=a,l[6]=t,l[7]=0,l[8]=b,l[9]=n,l[10]=g,l[11]=0,l[12]=-(k*m+h*q+b*f),l[13]=-(e*m+a*q+n*f),l[14]=-(d*m+t*q+g*f),l[15]=1)}
|
||||
(function(){function f(a,b,e){this.cc=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.cb=!!e;this.Hm=this.Lj=!1;this.zp=0;this.Bo=1;this.as=1E3;this.mF=(this.as-this.Bo)/32768;this.pp=oc([0,0,100]);this.pv=oc([0,0,0]);this.$w=oc([0,1,0]);this.kl=oc([1,1,1]);this.ju=!0;this.Ym=pc();this.pd=pc();this.yq=pc();this.yp=pc();this.O=a;this.version=0===this.O.getParameter(this.O.VERSION).indexOf("WebGL 2")?2:1;this.Ku()}function k(a,b,e){this.O=a;this.Pk=
|
||||
b;this.name=e;this.Ed=a.getAttribLocation(b,"aPos");this.sg=a.getAttribLocation(b,"aTex");this.nv=a.getUniformLocation(b,"matP");this.Um=a.getUniformLocation(b,"matMV");this.ei=a.getUniformLocation(b,"opacity");this.Eq=a.getUniformLocation(b,"colorFill");this.ov=a.getUniformLocation(b,"samplerFront");this.lk=a.getUniformLocation(b,"samplerBack");this.fh=a.getUniformLocation(b,"destStart");this.eh=a.getUniformLocation(b,"destEnd");this.nk=a.getUniformLocation(b,"seconds");this.Gq=a.getUniformLocation(b,
|
||||
"pixelWidth");this.Fq=a.getUniformLocation(b,"pixelHeight");this.kk=a.getUniformLocation(b,"layerScale");this.jk=a.getUniformLocation(b,"layerAngle");this.ok=a.getUniformLocation(b,"viewOrigin");this.mk=a.getUniformLocation(b,"scrollPos");this.gD=!!(this.Gq||this.Fq||this.nk||this.lk||this.fh||this.eh||this.kk||this.jk||this.ok||this.mk);this.xv=this.yv=-999;this.Xm=1;this.tv=this.sv=0;this.vv=this.rv=this.qv=1;this.Bv=this.Av=this.zv=this.Dv=this.Cv=this.uv=0;this.xq=[];this.wv=pc();this.ei&&a.uniform1f(this.ei,
|
||||
1);this.Eq&&a.uniform4f(this.Eq,1,1,1,1);this.ov&&a.uniform1i(this.ov,0);this.lk&&a.uniform1i(this.lk,1);this.fh&&a.uniform2f(this.fh,0,0);this.eh&&a.uniform2f(this.eh,1,1);this.kk&&a.uniform1f(this.kk,1);this.jk&&a.uniform1f(this.jk,0);this.ok&&a.uniform2f(this.ok,0,0);this.mk&&a.uniform2f(this.mk,0,0);this.nk&&a.uniform1f(this.nk,0);this.Vg=!1}function d(a,b){return a[0]===b[0]&&a[1]===b[1]&&a[2]===b[2]&&a[3]===b[3]&&a[4]===b[4]&&a[5]===b[5]&&a[6]===b[6]&&a[7]===b[7]&&a[8]===b[8]&&a[9]===b[9]&&
|
||||
a[10]===b[10]&&a[11]===b[11]&&a[12]===b[12]&&a[13]===b[13]&&a[14]===b[14]&&a[15]===b[15]}function l(a,b){this.type=a;this.G=b;this.O=b.O;this.Cd=this.yc=this.Wv=0;this.pa=this.Md=null;this.Ew=[]}var h=pc();f.prototype.Ku=function(){var a=this.O,b;this.cv=1;this.$g=this.pg=null;this.Wl=1;a.clearColor(0,0,0,0);a.clear(a.COLOR_BUFFER_BIT);a.enable(a.BLEND);a.blendFunc(a.ONE,a.ONE_MINUS_SRC_ALPHA);a.disable(a.CULL_FACE);a.disable(a.STENCIL_TEST);a.disable(a.DITHER);this.cb?(a.enable(a.DEPTH_TEST),a.depthFunc(a.LEQUAL)):
|
||||
a.disable(a.DEPTH_TEST);this.dv=a.ONE;this.bv=a.ONE_MINUS_SRC_ALPHA;this.so=new Float32Array(8E3*(this.cb?3:2));this.ao=new Float32Array(16E3);this.$q=new Float32Array(32E3);this.Zq=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Zq);a.bufferData(a.ARRAY_BUFFER,this.$q.byteLength,a.DYNAMIC_DRAW);this.fl=Array(4);this.Xk=Array(4);for(b=0;4>b;b++)this.fl[b]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.fl[b]),a.bufferData(a.ARRAY_BUFFER,this.so.byteLength,a.DYNAMIC_DRAW),this.Xk[b]=a.createBuffer(),
|
||||
a.bindBuffer(a.ARRAY_BUFFER,this.Xk[b]),a.bufferData(a.ARRAY_BUFFER,this.ao.byteLength,a.DYNAMIC_DRAW);this.bf=0;this.jD=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.jD);for(var e=new Uint16Array(12E3),g=b=0;12E3>b;)e[b++]=g,e[b++]=g+1,e[b++]=g+2,e[b++]=g,e[b++]=g+2,e[b++]=g+3,g+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,e,a.STATIC_DRAW);this.vi=this.Mi=this.Lf=0;this.qb=[];b=this.cb?"attribute highp vec3 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, aPos.z, 1.0);\n\tvTex = aTex;\n}":
|
||||
"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}";e=this.sj({src:"varying mediump vec2 vTex;\nuniform lowp float opacity;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex);\n\tgl_FragColor *= opacity;\n}"},b,"<default>");this.qb.push(e);e=this.sj({src:"uniform mediump sampler2D samplerFront;\nvarying lowp float opacity;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, gl_PointCoord);\n\tgl_FragColor *= opacity;\n}"},
|
||||
"attribute vec4 aPos;\nvarying float opacity;\nuniform mat4 matP;\nuniform mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tgl_PointSize = aPos.z;\n\topacity = aPos.w;\n}","<point>");this.qb.push(e);e=this.sj({src:"varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tif (texture2D(samplerFront, vTex).a < 1.0)\n\t\tdiscard;\n}"},b,"<earlyz>");this.qb.push(e);e=this.sj({src:"uniform lowp vec4 colorFill;\nvoid main(void) {\n\tgl_FragColor = colorFill;\n}"},
|
||||
b,"<fill>");this.qb.push(e);for(var c in tc)tc.hasOwnProperty(c)&&this.qb.push(this.sj(tc[c],b,c));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.$e=[];this.te=0;this.tc=this.ac=!1;this.Yt=this.Yj=-1;this.Fh=null;this.Mp=a.createFramebuffer();this.Zl=this.En=null;this.Ft=!1;this.cb&&(this.Zl=a.createRenderbuffer());this.zg=oc([0,0,0]);a=a.getParameter(a.ALIASED_POINT_SIZE_RANGE);this.MD=a[0];this.Jq=a[1];2048<this.Jq&&(this.Jq=2048);this.Rc(0)};k.prototype.Qr=function(a){d(this.wv,
|
||||
a)||(qc(a,this.wv),this.O.uniformMatrix4fv(this.Um,!1,a))};f.prototype.sj=function(a,b,e){var g=this.O,c=g.createShader(g.FRAGMENT_SHADER);g.shaderSource(c,a.src);g.compileShader(c);if(!g.getShaderParameter(c,g.COMPILE_STATUS))throw a=g.getShaderInfoLog(c),g.deleteShader(c),Error("error compiling fragment shader: "+a);var m=g.createShader(g.VERTEX_SHADER);g.shaderSource(m,b);g.compileShader(m);if(!g.getShaderParameter(m,g.COMPILE_STATUS))throw a=g.getShaderInfoLog(m),g.deleteShader(c),g.deleteShader(m),
|
||||
Error("error compiling vertex shader: "+a);b=g.createProgram();g.attachShader(b,c);g.attachShader(b,m);g.linkProgram(b);if(!g.getProgramParameter(b,g.LINK_STATUS))throw a=g.getProgramInfoLog(b),g.deleteShader(c),g.deleteShader(m),g.deleteProgram(b),Error("error linking shader program: "+a);g.useProgram(b);g.deleteShader(c);g.deleteShader(m);c=new k(g,b,e);c.Kp=a.Kp||0;c.Lp=a.Lp||0;c.Xt=!!a.Xt;c.ge=!!a.ge;c.xt=!!a.xt;c.fa=a.fa||[];a=0;for(m=c.fa.length;a<m;a++)c.fa[a][1]=g.getUniformLocation(b,c.fa[a][0]),
|
||||
c.xq.push(0),g.uniform1f(c.fa[a][1],0);return c};f.prototype.$p=function(a){var b,e;b=0;for(e=this.qb.length;b<e;b++)if(this.qb[b].name===a)return b;return-1};f.prototype.hw=function(a,b,e){var g=this.pd,c=this.Ym,m=[0,0,0,0,0,0,0,0];m[0]=g[0]*a+g[4]*b+g[12];m[1]=g[1]*a+g[5]*b+g[13];m[2]=g[2]*a+g[6]*b+g[14];m[3]=g[3]*a+g[7]*b+g[15];m[4]=c[0]*m[0]+c[4]*m[1]+c[8]*m[2]+c[12]*m[3];m[5]=c[1]*m[0]+c[5]*m[1]+c[9]*m[2]+c[13]*m[3];m[6]=c[2]*m[0]+c[6]*m[1]+c[10]*m[2]+c[14]*m[3];m[7]=-m[2];0!==m[7]&&(m[7]=1/
|
||||
m[7],m[4]*=m[7],m[5]*=m[7],m[6]*=m[7],e[0]=(.5*m[4]+.5)*this.width,e[1]=(.5*m[5]+.5)*this.height)};f.prototype.Af=function(a,b,e){if(this.width!==a||this.height!==b||e){this.hf();e=this.O;this.width=a;this.height=b;e.viewport(0,0,a,b);sc(this.pp,this.pv,this.$w,this.pd);if(this.cb){var g=-a/2;a=a/2;var c=b/2;b=-b/2;var m=this.Bo,q=this.as,r=this.Ym;r||(r=pc());var d=a-g,h=b-c,p=q-m;r[0]=2/d;r[1]=0;r[2]=0;r[3]=0;r[4]=0;r[5]=2/h;r[6]=0;r[7]=0;r[8]=0;r[9]=0;r[10]=-2/p;r[11]=0;r[12]=-(g+a)/d;r[13]=-(b+
|
||||
c)/h;r[14]=-(q+m)/p;r[15]=1;this.kl[0]=1;this.kl[1]=1}else b=a/b,g=this.Bo,a=this.as,r=this.Ym,q=g*Math.tan(45*Math.PI/360),b*=q,c=-b,m=-q,r||(r=pc()),d=b-c,h=q-m,p=a-g,r[0]=2*g/d,r[1]=0,r[2]=0,r[3]=0,r[4]=0,r[5]=2*g/h,r[6]=0,r[7]=0,r[8]=(b+c)/d,r[9]=(q+m)/h,r[10]=-(a+g)/p,r[11]=-1,r[12]=0,r[13]=0,r[14]=-(a*g*2)/p,r[15]=0,g=[0,0],a=[0,0],this.hw(0,0,g),this.hw(1,1,a),this.kl[0]=1/(a[0]-g[0]),this.kl[1]=-1/(a[1]-g[1]);g=0;for(a=this.qb.length;g<a;g++)c=this.qb[g],c.Vg=!1,c.nv&&(e.useProgram(c.Pk),
|
||||
e.uniformMatrix4fv(c.nv,!1,this.Ym));e.useProgram(this.qb[this.Yj].Pk);e.bindTexture(e.TEXTURE_2D,null);e.activeTexture(e.TEXTURE1);e.bindTexture(e.TEXTURE_2D,null);e.activeTexture(e.TEXTURE0);this.$g=this.pg=null;this.Zl&&(e.bindFramebuffer(e.FRAMEBUFFER,this.Mp),e.bindRenderbuffer(e.RENDERBUFFER,this.Zl),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,this.width,this.height),this.Ft||(e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,this.Zl),this.Ft=!0),e.bindRenderbuffer(e.RENDERBUFFER,
|
||||
null),e.bindFramebuffer(e.FRAMEBUFFER,null),this.En=null)}};f.prototype.Gd=function(){sc(this.pp,this.pv,this.$w,this.pd);rc(this.pd,this.kl)};f.prototype.translate=function(a,b){if(0!==a||0!==b){this.zg[0]=a;this.zg[1]=b;this.zg[2]=0;var e=this.pd,g=this.zg,c=g[0],m=g[1],g=g[2];e[12]=e[0]*c+e[4]*m+e[8]*g+e[12];e[13]=e[1]*c+e[5]*m+e[9]*g+e[13];e[14]=e[2]*c+e[6]*m+e[10]*g+e[14];e[15]=e[3]*c+e[7]*m+e[11]*g+e[15]}};f.prototype.scale=function(a,b){if(1!==a||1!==b)this.zg[0]=a,this.zg[1]=b,this.zg[2]=
|
||||
1,rc(this.pd,this.zg)};f.prototype.Gn=function(a){if(0!==a){var b=this.pd,e,g=Math.sin(a);a=Math.cos(a);var c=b[0],m=b[1],q=b[2],r=b[3],d=b[4],h=b[5],p=b[6],l=b[7];e?b!==e&&(e[8]=b[8],e[9]=b[9],e[10]=b[10],e[11]=b[11],e[12]=b[12],e[13]=b[13],e[14]=b[14],e[15]=b[15]):e=b;e[0]=c*a+d*g;e[1]=m*a+h*g;e[2]=q*a+p*g;e[3]=r*a+l*g;e[4]=c*-g+d*a;e[5]=m*-g+h*a;e[6]=q*-g+p*a;e[7]=r*-g+l*a}};f.prototype.ud=function(){if(!d(this.yq,this.pd)){var a=this.Nc();a.type=5;a.pa?qc(this.pd,a.pa):a.pa=pc(this.pd);qc(this.pd,
|
||||
this.yq);this.tc=this.ac=!1}};f.prototype.Kn=function(a){this.cb&&(32760<a&&(a=32760),this.zp=this.pp[2]-this.Bo-a*this.mF)};l.prototype.CB=function(){var a=this.O,b=this.G;0!==this.yc?(a.depthMask(!0),a.colorMask(!1,!1,!1,!1),a.disable(a.BLEND),a.bindFramebuffer(a.FRAMEBUFFER,b.Mp),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.clear(a.DEPTH_BUFFER_BIT),a.bindFramebuffer(a.FRAMEBUFFER,null),b.Hm=!0):(a.depthMask(!1),a.colorMask(!0,!0,!0,!0),a.enable(a.BLEND),b.Hm=
|
||||
!1)};l.prototype.HB=function(){this.O.bindTexture(this.O.TEXTURE_2D,this.Md)};l.prototype.IB=function(){var a=this.O;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.Md);a.activeTexture(a.TEXTURE0)};l.prototype.DB=function(){var a=this.Wv,b=this.G;b.Wl=a;b=b.Fh;b.ei&&b.Xm!==a&&(b.Xm=a,this.O.uniform1f(b.ei,a))};l.prototype.xB=function(){this.O.drawElements(this.O.TRIANGLES,this.Cd,this.O.UNSIGNED_SHORT,this.yc)};l.prototype.zB=function(){this.O.blendFunc(this.yc,this.Cd)};l.prototype.JB=
|
||||
function(){var a,b,e,g=this.G.qb,c=this.G.Yt;a=0;for(b=g.length;a<b;a++)e=g[a],a===c&&e.Um?(e.Qr(this.pa),e.Vg=!0):e.Vg=!1;qc(this.pa,this.G.yp)};l.prototype.yB=function(){var a=this.O,b=this.G;this.Md?(b.$g===this.Md&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),b.$g=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,b.Mp),b.Hm||a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.Md,0)):(b.cb||a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,
|
||||
a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};l.prototype.uB=function(){var a=this.O,b=this.yc;0===b?(a.clearColor(this.pa[0],this.pa[1],this.pa[2],this.pa[3]),a.clear(a.COLOR_BUFFER_BIT)):1===b?(a.enable(a.SCISSOR_TEST),a.scissor(this.pa[0],this.pa[1],this.pa[2],this.pa[3]),a.clearColor(0,0,0,0),a.clear(a.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST)):a.clear(a.DEPTH_BUFFER_BIT)};l.prototype.BB=function(){var a=this.O;0!==this.yc?a.enable(a.DEPTH_TEST):a.disable(a.DEPTH_TEST)};l.prototype.wB=
|
||||
function(){var a=this.O,b=this.G;b.cb&&a.disable(a.DEPTH_TEST);var e=b.qb[1];a.useProgram(e.Pk);!e.Vg&&e.Um&&(e.Qr(b.yp),e.Vg=!0);a.enableVertexAttribArray(e.Ed);a.bindBuffer(a.ARRAY_BUFFER,b.Zq);a.vertexAttribPointer(e.Ed,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.yc/4,this.Cd);e=b.Fh;a.useProgram(e.Pk);0<=e.Ed&&(a.enableVertexAttribArray(e.Ed),a.bindBuffer(a.ARRAY_BUFFER,b.fl[b.bf]),a.vertexAttribPointer(e.Ed,b.cb?3:2,a.FLOAT,!1,0,0));0<=e.sg&&(a.enableVertexAttribArray(e.sg),a.bindBuffer(a.ARRAY_BUFFER,
|
||||
b.Xk[b.bf]),a.vertexAttribPointer(e.sg,2,a.FLOAT,!1,0,0));b.cb&&a.enable(a.DEPTH_TEST)};l.prototype.EB=function(){var a=this.O,b=this.G,e=b.qb[this.yc];b.Yt=this.yc;b.Fh=e;a.useProgram(e.Pk);!e.Vg&&e.Um&&(e.Qr(b.yp),e.Vg=!0);e.ei&&e.Xm!==b.Wl&&(e.Xm=b.Wl,a.uniform1f(e.ei,b.Wl));0<=e.Ed&&(a.enableVertexAttribArray(e.Ed),a.bindBuffer(a.ARRAY_BUFFER,b.fl[b.bf]),a.vertexAttribPointer(e.Ed,b.cb?3:2,a.FLOAT,!1,0,0));0<=e.sg&&(a.enableVertexAttribArray(e.sg),a.bindBuffer(a.ARRAY_BUFFER,b.Xk[b.bf]),a.vertexAttribPointer(e.sg,
|
||||
2,a.FLOAT,!1,0,0))};l.prototype.AB=function(){var a=this.pa;this.O.uniform4f(this.G.Fh.Eq,a[0],a[1],a[2],a[3])};l.prototype.GB=function(){var a,b,e=this.G.Fh,g=this.O;a=this.pa;e.lk&&this.G.$g!==this.Md&&(g.activeTexture(g.TEXTURE1),g.bindTexture(g.TEXTURE_2D,this.Md),this.G.$g=this.Md,g.activeTexture(g.TEXTURE0));var c=a[0];e.Gq&&c!==e.yv&&(e.yv=c,g.uniform1f(e.Gq,c));c=a[1];e.Fq&&c!==e.xv&&(e.xv=c,g.uniform1f(e.Fq,c));c=a[2];b=a[3];!e.fh||c===e.sv&&b===e.tv||(e.sv=c,e.tv=b,g.uniform2f(e.fh,c,b));
|
||||
c=a[4];b=a[5];!e.eh||c===e.qv&&b===e.rv||(e.qv=c,e.rv=b,g.uniform2f(e.eh,c,b));c=a[6];e.kk&&c!==e.vv&&(e.vv=c,g.uniform1f(e.kk,c));c=a[7];e.jk&&c!==e.uv&&(e.uv=c,g.uniform1f(e.jk,c));c=a[8];b=a[9];!e.ok||c===e.Cv&&b===e.Dv||(e.Cv=c,e.Dv=b,g.uniform2f(e.ok,c,b));c=a[10];b=a[11];!e.mk||c===e.zv&&b===e.Av||(e.zv=c,e.Av=b,g.uniform2f(e.mk,c,b));c=a[12];e.nk&&c!==e.Bv&&(e.Bv=c,g.uniform1f(e.nk,c));if(e.fa.length)for(a=0,b=e.fa.length;a<b;a++)c=this.Ew[a],c!==e.xq[a]&&(e.xq[a]=c,g.uniform1f(e.fa[a][1],
|
||||
c))};f.prototype.Nc=function(){this.te===this.$e.length&&this.$e.push(new l(0,this));return this.$e[this.te++]};f.prototype.hf=function(){if(0!==this.te&&!this.O.isContextLost()){var a=this.O;0<this.vi&&(a.bindBuffer(a.ARRAY_BUFFER,this.Zq),a.bufferSubData(a.ARRAY_BUFFER,0,this.$q.subarray(0,this.vi)),b&&0<=b.Ed&&"<point>"===b.name&&a.vertexAttribPointer(b.Ed,4,a.FLOAT,!1,0,0));if(0<this.Lf){var b=this.Fh;a.bindBuffer(a.ARRAY_BUFFER,this.fl[this.bf]);a.bufferSubData(a.ARRAY_BUFFER,0,this.so.subarray(0,
|
||||
this.Lf));b&&0<=b.Ed&&"<point>"!==b.name&&a.vertexAttribPointer(b.Ed,this.cb?3:2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.Xk[this.bf]);a.bufferSubData(a.ARRAY_BUFFER,0,this.ao.subarray(0,this.Mi));b&&0<=b.sg&&"<point>"!==b.name&&a.vertexAttribPointer(b.sg,2,a.FLOAT,!1,0,0)}for(var e,a=0,b=this.te;a<b;a++)switch(e=this.$e[a],e.type){case 1:e.xB();break;case 2:e.HB();break;case 3:e.DB();break;case 4:e.zB();break;case 5:e.JB();break;case 6:e.yB();break;case 7:e.uB();break;case 8:e.wB();break;
|
||||
case 9:e.EB();break;case 10:e.GB();break;case 11:e.IB();break;case 12:e.AB();break;case 13:e.BB();break;case 14:e.CB()}this.vi=this.Mi=this.Lf=this.te=0;this.Hm=this.tc=this.ac=!1;this.bf++;4<=this.bf&&(this.bf=0)}};f.prototype.xg=function(a){if(a!==this.cv&&!this.Lj){var b=this.Nc();b.type=3;this.cv=b.Wv=a;this.tc=this.ac=!1}};f.prototype.Cc=function(a){if(a!==this.pg){var b=this.Nc();b.type=2;this.pg=b.Md=a;this.tc=this.ac=!1}};f.prototype.wg=function(a,b){if((a!==this.dv||b!==this.bv)&&!this.Lj){var e=
|
||||
this.Nc();e.type=4;e.yc=a;e.Cd=b;this.dv=a;this.bv=b;this.tc=this.ac=!1}};f.prototype.sw=function(){this.wg(this.O.ONE,this.O.ONE_MINUS_SRC_ALPHA)};f.prototype.wi=function(a,b,e,g,c,m,q,r){15992<=this.Lf&&this.hf();var d=this.Lf,h=this.Mi,p=this.so,l=this.ao,f=this.zp;if(this.ac)this.$e[this.te-1].Cd+=6;else{var k=this.Nc();k.type=1;k.yc=this.cb?d:d/2*3;k.Cd=6;this.ac=!0;this.tc=!1}this.cb?(p[d++]=a,p[d++]=b,p[d++]=f,p[d++]=e,p[d++]=g,p[d++]=f,p[d++]=c,p[d++]=m,p[d++]=f,p[d++]=q,p[d++]=r,p[d++]=f):
|
||||
(p[d++]=a,p[d++]=b,p[d++]=e,p[d++]=g,p[d++]=c,p[d++]=m,p[d++]=q,p[d++]=r);l[h++]=0;l[h++]=0;l[h++]=1;l[h++]=0;l[h++]=1;l[h++]=1;l[h++]=0;l[h++]=1;this.Lf=d;this.Mi=h};f.prototype.Ke=function(a,b,e,g,c,m,q,r,d){15992<=this.Lf&&this.hf();var h=this.Lf,p=this.Mi,l=this.so,f=this.ao,k=this.zp;if(this.ac)this.$e[this.te-1].Cd+=6;else{var E=this.Nc();E.type=1;E.yc=this.cb?h:h/2*3;E.Cd=6;this.ac=!0;this.tc=!1}var E=d.left,u=d.top,x=d.right;d=d.bottom;this.cb?(l[h++]=a,l[h++]=b,l[h++]=k,l[h++]=e,l[h++]=g,
|
||||
l[h++]=k,l[h++]=c,l[h++]=m,l[h++]=k,l[h++]=q,l[h++]=r,l[h++]=k):(l[h++]=a,l[h++]=b,l[h++]=e,l[h++]=g,l[h++]=c,l[h++]=m,l[h++]=q,l[h++]=r);f[p++]=E;f[p++]=u;f[p++]=x;f[p++]=u;f[p++]=x;f[p++]=d;f[p++]=E;f[p++]=d;this.Lf=h;this.Mi=p};f.prototype.fE=function(a,b,e,g){7996<=this.vi&&this.hf();var c=this.vi,m=this.$q;if(this.tc)this.$e[this.te-1].Cd++;else{var q=this.Nc();q.type=8;q.yc=c;q.Cd=1;this.tc=!0;this.ac=!1}m[c++]=a;m[c++]=b;m[c++]=e;m[c++]=g;this.vi=c};f.prototype.Rc=function(a){if(this.Yj!==
|
||||
a){if(!this.qb[a]){if(0===this.Yj)return;a=0}var b=this.Nc();b.type=9;this.Yj=b.yc=a;this.tc=this.ac=!1}};f.prototype.Ek=function(a){a=this.qb[a];return!(!a.fh&&!a.eh)};f.prototype.er=function(a){a=this.qb[a];return!!(a.fh||a.eh||a.Xt)};f.prototype.dr=function(a){return this.qb[a].ge};f.prototype.oE=function(a){a=this.qb[a];return 0!==a.Kp||0!==a.Lp};f.prototype.PC=function(a){return this.qb[a].Kp};f.prototype.QC=function(a){return this.qb[a].Lp};f.prototype.RC=function(a,b){return this.qb[a].fa[b][2]};
|
||||
f.prototype.zn=function(a){return this.qb[a].xt};f.prototype.Ei=function(a,b,e,g,c,m,q,r,d,h,p,l,f,k,E){var u=this.qb[this.Yj],x,B;if(u.gD||E.length){x=this.Nc();x.type=10;x.pa?qc(this.pd,x.pa):x.pa=pc();B=x.pa;B[0]=b;B[1]=e;B[2]=g;B[3]=c;B[4]=m;B[5]=q;B[6]=r;B[7]=d;B[8]=h;B[9]=p;B[10]=l;B[11]=f;B[12]=k;u.lk?x.Md=a:x.Md=null;if(E.length)for(e=x.Ew,e.length=E.length,a=0,b=E.length;a<b;a++)e[a]=E[a];this.tc=this.ac=!1}};f.prototype.clear=function(a,b,e,g){var c=this.Nc();c.type=7;c.yc=0;c.pa||(c.pa=
|
||||
pc());c.pa[0]=a;c.pa[1]=b;c.pa[2]=e;c.pa[3]=g;this.tc=this.ac=!1};f.prototype.clearRect=function(a,b,e,g){if(!(0>e||0>g)){var c=this.Nc();c.type=7;c.yc=1;c.pa||(c.pa=pc());c.pa[0]=a;c.pa[1]=b;c.pa[2]=e;c.pa[3]=g;this.tc=this.ac=!1}};f.prototype.xw=function(a){if(this.cb&&(a=!!a,this.Lj!==a)){var b=this.Nc();b.type=14;b.yc=a?1:0;this.tc=this.ac=!1;this.Lj=a;this.En=null;this.Lj?this.Rc(2):this.Rc(0)}};f.prototype.vw=function(a){if(this.cb){var b=this.Nc();b.type=13;b.yc=a?1:0;this.tc=this.ac=!1}};
|
||||
f.prototype.su=function(){qc(this.yq,h);this.Gd();this.ud();var a=this.width/2,b=this.height/2;this.wi(-a,b,a,b,a,-b,-a,-b);qc(h,this.pd);this.ud()};f.prototype.uw=function(a,b,e){this.Rc(3);var g=this.Nc();g.type=12;g.pa||(g.pa=pc());g.pa[0]=a;g.pa[1]=b;g.pa[2]=e;g.pa[3]=1;this.tc=this.ac=!1};f.prototype.ME=function(){this.Rc(0)};f.prototype.vE=function(){this.Rc(2)};f.prototype.nE=function(){this.hf();this.O.flush()};var b=[],e={};f.prototype.kB=function(){z(b);e={}};f.prototype.fe=function(a,d,
|
||||
h,g,c){d=!!d;h=!!h;var m=a.src+","+d+","+h+(d?","+c:""),q=null;if("undefined"!==typeof a.src&&e.hasOwnProperty(m))return q=e[m],q.Ml++,q;this.hf();var r=this.O,l=ka(a.width)&&ka(a.height),q=r.createTexture();r.bindTexture(r.TEXTURE_2D,q);r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var f=r.RGBA,p=r.RGBA,k=r.UNSIGNED_BYTE;if(g&&!this.cc)switch(g){case 1:p=f=r.RGB;break;case 2:k=r.UNSIGNED_SHORT_4_4_4_4;break;case 3:k=r.UNSIGNED_SHORT_5_5_5_1;break;case 4:p=f=r.RGB,k=r.UNSIGNED_SHORT_5_6_5}if(1===
|
||||
this.version&&!l&&d){g=document.createElement("canvas");g.width=la(a.width);g.height=la(a.height);var J=g.getContext("2d");"undefined"!==typeof J.imageSmoothingEnabled?J.imageSmoothingEnabled=h:(J.webkitImageSmoothingEnabled=h,J.mozImageSmoothingEnabled=h,J.msImageSmoothingEnabled=h);J.drawImage(a,0,0,a.width,a.height,0,0,g.width,g.height);r.texImage2D(r.TEXTURE_2D,0,f,p,k,g)}else r.texImage2D(r.TEXTURE_2D,0,f,p,k,a);d?"repeat-x"===c?(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.REPEAT),r.texParameteri(r.TEXTURE_2D,
|
||||
r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE)):("repeat-y"===c?r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE):r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.REPEAT),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.REPEAT)):(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE));h?(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.LINEAR),(l||2<=this.version)&&this.ju?(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR_MIPMAP_LINEAR),
|
||||
r.generateMipmap(r.TEXTURE_2D)):r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR)):(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.NEAREST),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.NEAREST));r.bindTexture(r.TEXTURE_2D,null);this.pg=null;q.Xd=a.width;q.Wd=a.height;q.Ml=1;q.Rt=m;b.push(q);return e[m]=q};f.prototype.ed=function(a,e,d,g){this.hf();var c=this.O;this.cc&&(g=!1);var m=c.createTexture();c.bindTexture(c.TEXTURE_2D,m);c.texImage2D(c.TEXTURE_2D,0,c.RGBA,a,e,0,c.RGBA,
|
||||
g?c.UNSIGNED_SHORT_4_4_4_4:c.UNSIGNED_BYTE,null);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_S,c.CLAMP_TO_EDGE);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_T,c.CLAMP_TO_EDGE);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MAG_FILTER,d?c.LINEAR:c.NEAREST);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MIN_FILTER,d?c.LINEAR:c.NEAREST);c.bindTexture(c.TEXTURE_2D,null);this.pg=null;m.Xd=a;m.Wd=e;b.push(m);return m};f.prototype.gF=function(a,b,e){this.hf();var g=this.O;this.cc&&(e=!1);g.bindTexture(g.TEXTURE_2D,b);g.pixelStorei(g.UNPACK_PREMULTIPLY_ALPHA_WEBGL,
|
||||
!0);try{g.texImage2D(g.TEXTURE_2D,0,g.RGBA,g.RGBA,e?g.UNSIGNED_SHORT_4_4_4_4:g.UNSIGNED_BYTE,a)}catch(c){console&&console.error&&console.error("Error updating WebGL texture: ",c)}g.bindTexture(g.TEXTURE_2D,null);this.pg=null};f.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.Ml&&1<a.Ml?a.Ml--:(this.hf(),a===this.pg&&(this.O.bindTexture(this.O.TEXTURE_2D,null),this.pg=null),a===this.$g&&(this.O.activeTexture(this.O.TEXTURE1),this.O.bindTexture(this.O.TEXTURE_2D,null),this.O.activeTexture(this.O.TEXTURE0),
|
||||
this.$g=null),Ea(b,a),"undefined"!==typeof a.Rt&&delete e[a.Rt],this.O.deleteTexture(a)))};f.prototype.Hd=function(a){if(a!==this.En){var b=this.Nc();b.type=6;this.En=b.Md=a;this.tc=this.ac=!1}};nb=f})();
|
||||
(function(){function f(c){if(c&&(c.getContext||c.dc)&&!c.c2runtime){c.c2runtime=this;var a=this;this.nd=(this.Im=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk))||"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap)||"undefined"!==typeof window.c2iscordova&&window.c2iscordova;this.Sb=!!c.dc;this.Ru="undefined"!==typeof window.AppMobi||
|
||||
this.Sb;this.md=!!window.c2cocoonjs;this.ae=!!window.c2ejecta;this.md&&(CocoonJS.App.onSuspended.addEventListener(function(){a.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){a.setSuspended(!1)}));this.ae&&(document.addEventListener("pagehide",function(){a.setSuspended(!0)}),document.addEventListener("pageshow",function(){a.setSuspended(!1)}),document.addEventListener("resize",function(){a.setSize(window.innerWidth,window.innerHeight)}));this.N=this.Sb||this.md||this.ae;this.Nj=
|
||||
/edge\//i.test(navigator.userAgent);this.cc=(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent))&&!this.Nj;this.Vu=/tizen/i.test(navigator.userAgent);this.Fm=/android/i.test(navigator.userAgent)&&!this.Vu&&!this.cc&&!this.Nj;this.Zu=(/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent))&&!this.cc&&!this.Nj;this.xD=/ipad/i.test(navigator.userAgent);this.Zh=this.Zu||this.xD||this.ae;this.pq=(/chrome/i.test(navigator.userAgent)||
|
||||
/chromium/i.test(navigator.userAgent))&&!this.cc&&!this.Nj;this.Qu=/amazonwebappplatform/i.test(navigator.userAgent);this.pD=/firefox/i.test(navigator.userAgent);this.sD=/safari/i.test(navigator.userAgent)&&!this.pq&&!this.cc&&!this.Nj;this.tD=/windows/i.test(navigator.userAgent);this.Uu=this.Sh="undefined"!==typeof window.c2nodewebkit||"undefined"!==typeof window.c2nwjs||/nodewebkit/i.test(navigator.userAgent)||/nwjs/i.test(navigator.userAgent);this.Xu=!("undefined"===typeof window.c2isWindows8||
|
||||
!window.c2isWindows8);this.vD=!("undefined"===typeof window.c2isWindows8Capable||!window.c2isWindows8Capable);this.lg=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.vq=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.uq=!!window.cr_windows10;this.Wu=this.Xu||this.vD||this.vq||this.uq;this.nD=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.Gm=this.Fm&&!this.pq&&!this.Im&&!this.pD&&!this.Qu&&!this.N;this.devicePixelRatio=
|
||||
1;this.Ae=this.nd||this.Im||this.Ru||this.md||this.Fm||this.Zh||this.lg||this.vq||this.nD||this.Vu||this.ae;this.Ae||(this.Ae=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));this.Qj=!!(this.Zh&&this.nd&&window.webkit);"undefined"===typeof cr_is_preview||this.Sh||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)&&!/nwjs/i.test(navigator.userAgent)||(this.Sh=!0);this.Su="undefined"!==typeof cr_is_preview&&
|
||||
-1<window.location.search.indexOf("debug");this.canvas=c;this.Bh=document.getElementById("c2canvasdiv");this.G=this.O=null;this.aq="(unavailable)";this.cb=!1;this.Mg=0;this.fb=null;this.jm=!1;this.Sv=this.Tv=0;this.canvas.oncontextmenu=function(c){c.preventDefault&&c.preventDefault();return!1};this.canvas.onselectstart=function(c){c.preventDefault&&c.preventDefault();return!1};this.Sb&&(window.c2runtime=this);this.Sh&&(window.ondragover=function(c){c.preventDefault();return!1},window.ondrop=function(c){c.preventDefault();
|
||||
return!1},window.nwgui&&window.nwgui.App.clearCache&&window.nwgui.App.clearCache());this.Gm&&"undefined"!==typeof jQuery&&jQuery("canvas").parents("*").css("overflow","visible");this.width=c.width;this.height=c.height;this.Z=this.width;this.Y=this.height;this.Tl=this.width;this.uj=this.height;this.bi=window.innerWidth;this.ai=window.innerHeight;this.ja=!0;this.Oj=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.I=[];this.mb=[];this.di={};this.de=[];this.Jp={};
|
||||
this.jf=[];this.Ti=[];this.ko=[];this.VA=[];this.WA=[];this.Jg={};this.rq=this.ig=!1;this.be=0;this.qq=this.tq=!1;this.Yd=[];this.Mj=!1;this.Rm=this.qr="";this.Ob=null;this.pf="";this.Vk=this.Hw=!1;this.im=[];this.Lg=this.gf=0;this.Iv=30;this.vp=this.pk=0;this.If=1;this.Lb=new db;this.Mf=new db;this.an=this.om=this.yj=this.Qe=this.bh=this.Pp=this.Mm=0;this.Gg=null;this.Dp=[];this.Ip=[];this.em=-1;this.Hq=[[]];this.Lr=this.Vm=0;this.An(null);this.qk=[];this.fi=-1;this.Nv=this.sk=0;this.Bq=!0;this.zj=
|
||||
0;this.Wk=[];this.Hr=this.fr=-1;this.$h=!0;this.dh=0;this.Be=!1;this.PE=0;this.yh=null;this.La=this.zm=!1;this.Rv=new ca;this.Nq=new ca;this.Oq=new ca;this.lw=[];this.le=new fb([]);this.Gr=new fb([]);this.Vf=[];this.Gj={};this.Yf={};this.Sf={};this.Ri={};this.Nt={};this.kv=this.Qm=this.zb=this.Mb=this.jv=this.Pm=this.ta=null;this.Pi=this.wq=!1;this.Qp=[null,null];this.nf=0;this.hm="";this.vf={};this.Sk=this.qg=null;this.Iw="";this.$m=[];this.uE()}}function k(c,a){return 128>=a?c[3]:256>=a?c[2]:512>=
|
||||
a?c[1]:c[0]}function d(){try{return!!window.indexedDB}catch(c){return!1}}function l(c){c.target.result.createObjectStore("saves",{keyPath:"slot"})}function h(c,a,b,g){try{var e=indexedDB.open("_C2SaveStates");e.onupgradeneeded=l;e.onerror=g;e.onsuccess=function(e){e=e.target.result;e.onerror=g;e.transaction(["saves"],"readwrite").objectStore("saves").put({slot:c,data:a}).onsuccess=b}}catch(q){g(q)}}function b(c,a,b){try{var g=indexedDB.open("_C2SaveStates");g.onupgradeneeded=l;g.onerror=b;g.onsuccess=
|
||||
function(g){g=g.target.result;g.onerror=b;var e=g.transaction(["saves"]).objectStore("saves").get(c);e.onsuccess=function(){e.result?a(e.result.data):a(null)}}}catch(e){b(e)}}function e(){fa("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location=window.location+"?continuous"}function a(c){var a,b={};for(a in c)!c.hasOwnProperty(a)||c[a]instanceof ca||c[a]&&"undefined"!==typeof c[a].xG||
|
||||
"spriteCreatedDestroyCallback"!==a&&(b[a]=c[a]);return b}var n=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;f.prototype.uE=function(){var c=this;if(this.Qj)this.pu("data.js",function(a){c.ik(JSON.parse(a))},function(){alert("Error fetching data.js")});else{var a;this.lg?a=new ActiveXObject("Microsoft.XMLHTTP"):a=new XMLHttpRequest;var b="data.js";if(this.Xu||this.lg||this.vq||this.uq)b=
|
||||
"data.json";a.open("GET",b,!0);var g=!1;if(!this.N&&"response"in a&&"responseType"in a)try{a.responseType="json",g="json"===a.responseType}catch(e){g=!1}if(!g&&"responseType"in a)try{a.responseType="text"}catch(q){}if("overrideMimeType"in a)try{a.overrideMimeType("application/json; charset=utf-8")}catch(m){}this.lg?a.onreadystatechange=function(){4===a.readyState&&c.ik(JSON.parse(a.responseText))}:(a.onload=function(){if(g)c.ik(a.response);else if(c.ae){var b=a.responseText,b=b.substr(b.indexOf("{"));
|
||||
c.ik(JSON.parse(b))}else c.ik(JSON.parse(a.responseText))},a.onerror=function(c){ga("Error requesting "+b+":");ga(c)});a.send()}};f.prototype.kD=function(){var c=this,a,b,g,e,q,m,p,r,d;this.Zg=(!this.N||this.ae||this.nd)&&this.dF&&!this.Gm;0===this.qc&&this.Zh&&(this.Zg=!1);this.devicePixelRatio=this.Zg?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.lc();0<this.qc&&this.setSize(window.innerWidth,window.innerHeight,!0);this.canvas.addEventListener("webglcontextlost",
|
||||
function(a){a.preventDefault();c.PD();fa("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){c.G.Ku();c.G.Af(c.G.width,c.G.height,!0);c.Mb=null;c.zb=null;c.Qp[0]=null;c.Qp[1]=null;c.QD();c.ja=!0;fa("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);try{this.RB&&(this.md||this.ae||!this.N)&&(a={alpha:!0,depth:!1,antialias:!1,powerPreference:"high-performance",failIfMajorPerformanceCaveat:!0},this.O=
|
||||
this.canvas.getContext("webgl2",a)||this.canvas.getContext("webgl",a)||this.canvas.getContext("experimental-webgl",a))}catch(h){}if(this.O){if(a=this.O.getExtension("WEBGL_debug_renderer_info"))this.aq=this.O.getParameter(a.UNMASKED_RENDERER_WEBGL)+" ["+this.O.getParameter(a.UNMASKED_VENDOR_WEBGL)+"]";this.cb&&(this.aq+=" [front-to-back enabled]");this.N||(this.fc=document.createElement("canvas"),jQuery(this.fc).appendTo(this.canvas.parentNode),this.fc.oncontextmenu=function(){return!1},this.fc.onselectstart=
|
||||
function(){return!1},this.fc.width=Math.round(this.Tl*this.devicePixelRatio),this.fc.height=Math.round(this.uj*this.devicePixelRatio),jQuery(this.fc).css({width:this.Tl+"px",height:this.uj+"px"}),this.gw(),this.Wq=this.fc.getContext("2d"));this.G=new nb(this.O,this.Ae,this.cb);this.G.Af(this.canvas.width,this.canvas.height);this.G.ju=0!==this.KB;this.fb=null;a=0;for(b=this.I.length;a<b;a++)for(q=this.I[a],g=0,e=q.ga.length;g<e;g++)p=q.ga[g],p.Db=this.G.$p(p.id),p.ge=this.G.dr(p.Db),this.Pi=this.Pi||
|
||||
this.G.Ek(p.Db);a=0;for(b=this.de.length;a<b;a++){r=this.de[a];g=0;for(e=r.ga.length;g<e;g++)p=r.ga[g],p.Db=this.G.$p(p.id),p.ge=this.G.dr(p.Db);r.oe();g=0;for(e=r.la.length;g<e;g++){d=r.la[g];q=0;for(m=d.ga.length;q<m;q++)p=d.ga[q],p.Db=this.G.$p(p.id),p.ge=this.G.dr(p.Db),this.Pi=this.Pi||this.G.Ek(p.Db);d.oe()}}}else{if(0<this.qc&&this.Sb){this.canvas=null;document.oncontextmenu=function(){return!1};document.onselectstart=function(){return!1};this.fb=AppMobi.canvas.getContext("2d");try{this.fb.samplingMode=
|
||||
this.ab?"smooth":"sharp",this.fb.globalScale=1,this.fb.HTML5CompatibilityMode=!0,this.fb.imageSmoothingEnabled=this.ab}catch(n){}0!==this.width&&0!==this.height&&(this.fb.width=this.width,this.fb.height=this.height)}this.fb||(this.md?(a={antialias:!!this.ab,alpha:!0},this.fb=this.canvas.getContext("2d",a)):(a={alpha:!0},this.fb=this.canvas.getContext("2d",a)),this.Jn(this.fb,this.ab));this.Wq=this.fc=null}this.Qw=function(a){c.Ba(!1,a)};window==window.top||this.N||this.Wu||this.lg||(document.addEventListener("mousedown",
|
||||
function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.md&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(fa("Reloading for continuous preview"),this.Rm="__c2_continuouspreview",this.Vk=!0),this.dE&&!this.Ae&&(jQuery(window).focus(function(){c.setSuspended(!1)}),jQuery(window).blur(function(){var a=window.parent;a&&a.document.hasFocus()||c.setSuspended(!0)})));
|
||||
window.addEventListener("blur",function(){c.kh()});this.N||(a=function(c){if(mb(c)&&document.activeElement&&document.activeElement!==document.getElementsByTagName("body")[0]&&document.activeElement.blur)try{document.activeElement.blur()}catch(a){}},"undefined"!==typeof PointerEvent?document.addEventListener("pointerdown",a):window.navigator.msPointerEnabled?document.addEventListener("MSPointerDown",a):document.addEventListener("touchstart",a),document.addEventListener("mousedown",a));0===this.qc&&
|
||||
this.Zg&&1<this.devicePixelRatio&&this.setSize(this.kb,this.jb,!0);this.Xw();this.dD();this.go();this.na={}};f.prototype.setSize=function(c,a,b){var g=0,e=0,q=0,m=0,m=0;if(this.bi!==c||this.ai!==a||b){this.bi=c;this.ai=a;var p=this.qc;if((q=(document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.Be)&&!this.nd)||0!==this.qc||b)q&&0<this.nf&&(p=this.nf),b=this.devicePixelRatio,4<=p?(q=this.kb/this.jb,c/a>q?(q*=a,5===p?(m=q*b/this.kb,1<m?m=Math.floor(m):
|
||||
1>m&&(m=1/Math.ceil(1/m)),q=this.kb*m/b,m=this.jb*m/b,g=(c-q)/2,e=(a-m)/2,c=q,a=m):(g=(c-q)/2,c=q)):(m=c/q,5===p?(m=m*b/this.jb,1<m?m=Math.floor(m):1>m&&(m=1/Math.ceil(1/m)),q=this.kb*m/b,m=this.jb*m/b,g=(c-q)/2,e=(a-m)/2,c=q):e=(a-m)/2,a=m)):this.Sh&&this.Be&&0===this.tu&&(g=Math.floor((c-this.kb)/2),e=Math.floor((a-this.jb)/2),c=this.kb,a=this.jb),2>p&&(this.oj=b),this.Tl=Math.round(c),this.uj=Math.round(a),this.width=Math.round(c*b),this.height=Math.round(a*b),this.ja=!0,this.kx?(this.Z=this.width,
|
||||
this.Y=this.height,this.jd=!0):this.width<this.kb&&this.height<this.jb||1===p?(this.Z=this.width,this.Y=this.height,this.jd=!0):(this.Z=this.kb,this.Y=this.jb,this.jd=!1,2===p?(q=this.kb/this.jb,p=this.bi/this.ai,p<q?this.Z=this.Y*p:p>q&&(this.Y=this.Z/p)):3===p&&(q=this.kb/this.jb,p=this.bi/this.ai,p>q?this.Z=this.Y*p:p<q&&(this.Y=this.Z/p))),this.Bh&&!this.N&&(jQuery(this.Bh).css({width:Math.round(c)+"px",height:Math.round(a)+"px","margin-left":Math.floor(g)+"px","margin-top":Math.floor(e)+"px"}),
|
||||
"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:Math.round(c)+"px",height:Math.round(a)+"px"})),this.canvas&&(this.canvas.width=Math.round(c*b),this.canvas.height=Math.round(a*b),this.ae?(this.canvas.style.left=Math.floor(g)+"px",this.canvas.style.top=Math.floor(e)+"px",this.canvas.style.width=Math.round(c)+"px",this.canvas.style.height=Math.round(a)+"px"):this.Zg&&!this.N&&(this.canvas.style.width=Math.round(c)+"px",this.canvas.style.height=Math.round(a)+"px")),this.fc&&(this.fc.width=
|
||||
Math.round(c*b),this.fc.height=Math.round(a*b),this.fc.style.width=this.Tl+"px",this.fc.style.height=this.uj+"px"),this.G&&this.G.Af(Math.round(c*b),Math.round(a*b)),this.Sb&&this.fb&&(this.fb.width=Math.round(c),this.fb.height=Math.round(a)),this.fb&&this.Jn(this.fb,this.ab),this.Xw(),this.Zu&&!this.nd&&window.scrollTo(0,0)}};f.prototype.Xw=function(){if(this.Gt&&0!==this.Vq){var c="portrait";2===this.Vq&&(c="landscape");try{screen.orientation&&screen.orientation.lock?screen.orientation.lock(c).catch(function(){}):
|
||||
screen.lockOrientation?screen.lockOrientation(c):screen.webkitLockOrientation?screen.webkitLockOrientation(c):screen.mozLockOrientation?screen.mozLockOrientation(c):screen.msLockOrientation&&screen.msLockOrientation(c)}catch(a){console&&console.warn&&console.warn("Failed to lock orientation: ",a)}}};f.prototype.PD=function(){this.G.kB();this.wq=!0;var c,a,b;c=0;for(a=this.I.length;c<a;c++)b=this.I[c],b.vk&&b.vk()};f.prototype.QD=function(){this.wq=!1;var c,a,b;c=0;for(a=this.I.length;c<a;c++)b=this.I[c],
|
||||
b.dn&&b.dn()};f.prototype.gw=function(){if(!this.N){var c=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.Be)&&!this.nd?jQuery(this.canvas).offset():jQuery(this.canvas).position();c.position="absolute";jQuery(this.fc).css(c)}};var t=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;f.prototype.setSuspended=function(c){var a;if(c&&!this.Oj)for(fa("[Construct 2] Suspending"),
|
||||
this.Oj=!0,-1!==this.fr&&t&&t(this.fr),-1!==this.Hr&&clearTimeout(this.Hr),c=0,a=this.Wk.length;c<a;c++)this.Wk[c](!0);else if(!c&&this.Oj){fa("[Construct 2] Resuming");this.Oj=!1;this.Mm=Za();this.bh=Za();c=this.pk=this.om=0;for(a=this.Wk.length;c<a;c++)this.Wk[c](!1);this.Ba(!1)}};f.prototype.ot=function(c){this.Wk.push(c)};f.prototype.Of=function(c){return this.$m[c]};f.prototype.ik=function(c){c&&c.project||ga("Project model unavailable");c=c.project;this.name=c[0];this.ru=c[1];this.qc=c[12];
|
||||
this.tu=c[12];this.kb=c[10];this.jb=c[11];this.cw=this.kb/2;this.dw=this.jb/2;this.N&&!this.ae&&(4<=c[12]||0===c[12])&&(fa("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.tu=this.qc=3);this.Ur=c[18];this.rg=c[19];if(0===this.rg){var a=new Image;a.crossOrigin="anonymous";this.zw(a,"loading-logo.png");this.qg={Wm:a}}else if(4===this.rg){a=new Image;a.src="";var b=new Image;b.src="";var g=new Image;g.src="";var e=new Image;e.src=
|
||||
"";var q=new Image;q.src="";var m=new Image;m.src="";var p=new Image;p.src="";var r=new Image;r.src="";var d=new Image;d.src="";var h=new Image;h.src="";var n=new Image;n.src="";var l=new Image;l.src="";this.qg={Wm:[a,b,g,e],kE:[q,m,p,r],lF:[d,h,n,l]}}this.sk=c[21];this.$m=uc();this.Pe=new H(this);a=0;for(b=c[2].length;a<b;a++)p=c[2][a],g=this.Of(p[0]),tb(p,g.prototype),r=new g(this),r.Rn=p[1],r.mg=p[2],r.EG=p[5],r.Kv=p[9],r.F&&r.F(),this.plugins.push(r);this.$m=uc();a=0;for(b=c[3].length;a<b;a++){p=
|
||||
c[3][a];q=this.Of(p[1]);r=null;g=0;for(e=this.plugins.length;g<e;g++)if(this.plugins[g]instanceof q){r=this.plugins[g];break}d=new r.K(r);d.name=p[0];d.V=p[2];d.oq=p[3].slice(0);d.fF=p[3].length;d.cB=p[4];d.AC=p[5];d.Aa=p[11];d.V?(d.ii=[],d.lf=this.zj++,d.hb=null):(d.ii=null,d.lf=-1,d.hb=[]);d.gm=null;d.Kh=null;d.ku=null;d.uc=!1;d.Uc=null;p[6]?(d.bo=p[6][0],d.co=p[6][1],d.Ni=p[6][2]):(d.bo=null,d.co=0,d.Ni=0);p[7]?d.Fb=p[7]:d.Fb=null;d.index=a;d.k=[];d.Yl=[];d.Ff=[new ub(d)];d.ue=0;d.zd=null;d.pB=
|
||||
0;d.Ji=!0;d.no=vb;d.GC=wb;d.NC=xb;d.ba=yb;d.Fk=zb;d.ie=Ab;d.bd=Bb;d.qm=Cb;d.Tp=Db;d.Wp=Eb;d.wd=Fb;d.Xp=Gb;d.Ql=new gb(this.kb,this.jb);d.Dl=!0;d.El=!1;d.na={};d.toString=Hb;d.mb=[];g=0;for(e=p[8].length;g<e;g++){h=p[8][g];n=this.Of(h[1]);l=null;q=0;for(m=this.mb.length;q<m;q++)if(this.mb[q]instanceof n){l=this.mb[q];break}l||(l=new n(this),l.Lv=[],l.hh=new ca,l.F&&l.F(),this.mb.push(l));-1===l.Lv.indexOf(d)&&l.Lv.push(d);q=new l.K(l,d);q.name=h[0];q.Aa=h[2];q.F();d.mb.push(q)}d.global=p[9];d.sq=p[10];
|
||||
d.ga=[];g=0;for(e=p[12].length;g<e;g++)d.ga.push({id:p[12][g][0],name:p[12][g][1],Db:-1,ge:!1,Wa:!0,index:g});d.YG=p[13];this.Ur&&!d.V&&!d.sq&&r.mg||d.F();d.name&&(this.types[d.name]=d);this.I.push(d);r.Rn&&(g=new r.H(d),g.uid=this.sk++,g.jw=this.Nv++,g.Xg=0,g.Ej=Ib,g.toString=Jb,g.q=p[14],g.F(),d.k.push(g),this.vf[g.uid.toString()]=g)}a=0;for(b=c[4].length;a<b;a++)for(q=c[4][a],m=this.I[q[0]],g=1,e=q.length;g<e;g++)p=this.I[q[g]],p.hb.push(m),m.ii.push(p);a=0;for(b=c[28].length;a<b;a++){q=c[28][a];
|
||||
m=[];g=0;for(e=q.length;g<e;g++)m.push(this.I[q[g]]);g=0;for(e=m.length;g<e;g++)m[g].uc=!0,m[g].Uc=m}if(0<this.zj)for(a=0,b=this.I.length;a<b;a++)if(p=this.I[a],!p.V&&p.hb.length){p.gm=Array(this.zj);p.Kh=Array(this.zj);p.ku=Array(this.zj);d=[];g=l=n=h=0;for(e=p.hb.length;g<e;g++)for(r=p.hb[g],p.gm[r.lf]=h,h+=r.fF,p.Kh[r.lf]=n,n+=r.cB,p.ku[r.lf]=l,l+=r.AC,q=0,m=r.ga.length;q<m;q++)d.push(ya({},r.ga[q]));p.ga=d.concat(p.ga);g=0;for(e=p.ga.length;g<e;g++)p.ga[g].index=g}a=0;for(b=c[5].length;a<b;a++)p=
|
||||
c[5][a],g=new Lb(this,p),this.di[g.name]=g,this.de.push(g);a=0;for(b=c[6].length;a<b;a++)p=c[6][a],g=new Mb(this,p),this.Jp[g.name]=g,this.jf.push(g);a=0;for(b=this.jf.length;a<b;a++)this.jf[a].wb();a=0;for(b=this.jf.length;a<b;a++)this.jf[a].Or();a=0;for(b=this.ko.length;a<b;a++)this.ko[a].wb();z(this.ko);this.bB=c[7];this.hm=c[8];this.rd=c[9];this.oj=1;this.RB=c[13];this.ab=c[14];this.Ut=c[15];this.dF=c[17];this.Vq=c[20];this.Gt=0<this.Vq;this.dE=c[22];this.jd=this.kx=c[23];this.KB=c[24];this.lE=
|
||||
c[25];this.cb=c[27]&&!this.cc;this.Wn=Date.now();z(this.$m);this.kD()};var g=!1,c=0,m=[];f.prototype.qE=function(a,b){function g(){c--;e.Ev()}var e=this;a.addEventListener("load",g);a.addEventListener("error",g);m.push([a,b]);this.Ev()};f.prototype.Ev=function(){for(var a;m.length&&100>c;)c++,a=m.shift(),this.zw(a[0],a[1])};f.prototype.Wr=function(c,a){c.cocoonLazyLoad=!0;c.onerror=function(a){g=c.Qt=!0;console&&console.error&&console.error("Error loading image '"+c.src+"': ",a)};this.ae?c.src=a:
|
||||
c.src||("undefined"!==typeof XAPKReader?XAPKReader.get(a,function(a){c.src=a},function(b){g=c.Qt=!0;console&&console.error&&console.error("Error extracting image '"+a+"' from expansion file: ",b)}):(c.crossOrigin="anonymous",this.qE(c,a)));this.Ti.push(c)};f.prototype.yC=function(c){var a,b;a=0;for(b=this.Ti.length;a<b;a++)if(this.Ti[a].lB===c)return this.Ti[a];return null};var q=0,r=!1;f.prototype.dD=function(){this.yh&&(q=this.yh.JE(this.bB))};f.prototype.Et=function(){var c=q,a=0,b=0,g=!0,e,m,
|
||||
b=0;for(e=this.Ti.length;b<e;b++){m=this.Ti[b];var p=m.wp;if(!p||0>=p)p=5E4;c+=p;m.src&&(m.complete||m.loaded)&&!m.Qt?a+=p:g=!1}g&&this.lE&&this.yh&&(r||(this.yh.QE(),r=!0),b=this.yh.OC(),a+=b,b<q&&(g=!1));this.ea=0==c?1:a/c;return g};var v=!1;f.prototype.go=function(){if(this.fb||this.G){var c=this.fb||this.Wq;this.fc&&this.gw();var a=window.innerWidth,b=window.innerHeight;this.bi===a&&this.ai===b||this.setSize(a,b);this.ea=0;this.hv=-1;var e=this;if(this.Et()&&(4!==this.rg||v))this.eD();else{b=
|
||||
Date.now()-this.Wn;if(c){var q=this.width,m=this.height,a=this.devicePixelRatio;if(3>this.rg&&(this.md||500<=b&&this.hv!=this.ea)){c.clearRect(0,0,q,m);var b=q/2,m=m/2,q=0===this.rg&&this.qg.Wm.complete,p=40*a,d=0,r=80*a,h;if(q){var l=this.qg.Wm,r=l.width*a;h=l.height*a;p=r/2;d=h/2;c.drawImage(l,ra(b-p),ra(m-d),r,h)}1>=this.rg?(b=ra(b-p)+.5,m=ra(m+(d+(q?12*a:0)))+.5,c.fillStyle=g?"red":"DodgerBlue",c.fillRect(b,m,Math.floor(r*this.ea),6*a),c.strokeStyle="black",c.strokeRect(b,m,r,6*a),c.strokeStyle=
|
||||
"white",c.strokeRect(b-1*a,m-1*a,r+2*a,8*a)):2===this.rg&&(c.font=this.ae?"12pt ArialMT":"12pt Arial",c.fillStyle=g?"#f00":"#999",c.XG="middle",a=Math.round(100*this.ea)+"%",q=c.measureText?c.measureText(a):null,c.fillText(a,b-(q?q.width:0)/2,m));this.hv=this.ea}else if(4===this.rg){this.PB(c);n?n(function(){e.go()}):setTimeout(function(){e.go()},16);return}}setTimeout(function(){e.go()},this.md?10:100)}}};var D=-1,p="undefined"===typeof cr_is_preview?200:0,G=!0,J=!1,w=0,E=0,u="undefined"===typeof cr_is_preview?
|
||||
3E3:0,x=null,B=null,N=0;f.prototype.PB=function(c){if(!v){for(var a=Math.ceil(this.width),b=Math.ceil(this.height),e=this.qg.Wm,q=this.qg.kE,m=this.qg.lF,d=0;4>d;++d)if(!e[d].complete||!q[d].complete||!m[d].complete)return;0===N&&(D=Date.now());var d=Date.now(),r=!1,h=c,n,l;G||J?(c.clearRect(0,0,a,b),x&&x.width===a&&x.height===b||(x=document.createElement("canvas"),x.width=a,x.height=b,B=x.getContext("2d")),h=B,r=!0,G&&1===N&&(D=Date.now())):c.globalAlpha=1;h.fillStyle="#333333";h.fillRect(0,0,a,
|
||||
b);256<this.uj?(n=Fa(.22*b,105,.6*a),l=.25*n,h.drawImage(k(q,n),.5*a-n/2,.2*b-l/2,n,l),l=n=Math.min(.395*b,.95*a),h.drawImage(k(e,n),.5*a-n/2,.485*b-l/2,n,l),n=Fa(.22*b,105,.6*a),l=.25*n,h.drawImage(k(m,n),.5*a-n/2,.868*b-l/2,n,l),h.fillStyle="#3C3C3C",n=a,l=Math.max(.005*b,2),h.fillRect(0,.8*b-l/2,n,l),h.fillStyle=g?"red":"#E0FF65",n=a*this.ea,h.fillRect(.5*a-n/2,.8*b-l/2,n,l)):(l=n=.55*b,h.drawImage(k(e,n),.5*a-n/2,.45*b-l/2,n,l),h.fillStyle="#3C3C3C",n=a,l=Math.max(.005*b,2),h.fillRect(0,.85*b-
|
||||
l/2,n,l),h.fillStyle=g?"red":"#E0FF65",n=a*this.ea,h.fillRect(.5*a-n/2,.85*b-l/2,n,l));r&&(G?c.globalAlpha=0===N?0:Math.min((d-D)/300,1):J&&(c.globalAlpha=Math.max(1-(d-E)/300,0)),c.drawImage(x,0,0,a,b));G&&300<=d-D&&2<=N&&(G=!1,w=d);!G&&d-w>=u&&!J&&1<=this.ea&&(J=!0,E=d);if(J&&d-E>=300+p||"undefined"!==typeof cr_is_preview&&1<=this.ea&&500>Date.now()-D)v=!0,J=G=!1,this.qg=B=x=null;++N}};f.prototype.eD=function(){this.fc&&(this.canvas.parentNode.removeChild(this.fc),this.fc=this.Wq=null);this.Wn=
|
||||
Date.now();this.bh=Za();var c,a,b;if(this.Ur)for(c=0,a=this.I.length;c<a;c++)b=this.I[c],b.V||b.sq||!b.W.mg||b.F();else this.$h=!1;c=0;for(a=this.de.length;c<a;c++)this.de[c].mB();2<=this.qc&&(c=this.kb/this.jb,a=this.width/this.height,this.oj=2!==this.qc&&a>c||2===this.qc&&a<c?this.height/this.jb:this.width/this.kb);this.ru?this.di[this.ru].Er():this.de[0].Er();this.Ur||(this.dh=1,this.trigger(H.prototype.e.Po,null),window.C2_RegisterSW&&window.C2_RegisterSW());navigator.splashscreen&&navigator.splashscreen.hide&&
|
||||
navigator.splashscreen.hide();c=0;for(a=this.I.length;c<a;c++)b=this.I[c],b.Uv&&b.Uv();document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?window.cr_setSuspended(!0):this.Ba(!1);this.Sb&&AppMobi.webview.execute("onGameReady();")};f.prototype.Ba=function(c,a,b){if(this.ta){var g=Za();if(b||!this.Oj||c){c||(n?this.fr=n(this.Qw):this.Hr=setTimeout(this.Qw,this.Ae?1:16));a=a||g;var e=this.qc;((b=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement)&&
|
||||
!this.nd)||this.Be)&&0<this.nf&&(e=this.nf);if(0<e){var e=window.innerWidth,q=window.innerHeight;this.bi===e&&this.ai===q||this.setSize(e,q)}this.N||(b?this.jm||(this.jm=!0):this.jm?(this.jm=!1,0===this.qc&&this.setSize(Math.round(this.Tv/this.devicePixelRatio),Math.round(this.Sv/this.devicePixelRatio),!0)):(this.Tv=this.width,this.Sv=this.height));this.$h&&(b=this.Et(),this.dh=this.ea,b&&(this.$h=!1,this.ea=1,this.trigger(H.prototype.e.Po,null),window.C2_RegisterSW&&window.C2_RegisterSW()));this.GD(a);
|
||||
!this.ja&&!this.md||this.wq||this.Vk||c||(this.ja=!1,this.G?this.Rb():this.Jc(),this.Sk&&(this.canvas&&this.canvas.toDataURL&&(this.Iw=this.canvas.toDataURL(this.Sk[0],this.Sk[1]),window.cr_onSnapshot&&window.cr_onSnapshot(this.Iw),this.trigger(H.prototype.e.Ty,null)),this.Sk=null));this.CG||(this.Qe++,this.yj++,this.om++);this.pk+=Za()-g}}};f.prototype.GD=function(c){var a,b,g,e,q,m,p,d;1E3<=c-this.bh&&(this.bh+=1E3,1E3<=c-this.bh&&(this.bh=c),this.Pp=this.om,this.om=0,this.vp=this.pk,this.pk=0);
|
||||
a=0;0!==this.Mm&&(a=c-this.Mm,0>a&&(a=0),this.Lg=a/=1E3,.5<this.Lg?this.Lg=0:this.Lg>1/this.Iv&&(this.Lg=1/this.Iv));this.Mm=c;this.gf=this.Lg*this.If;this.Lb.add(this.gf);this.Mf.add(a);c=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.Be)&&!this.nd;2<=this.qc||c&&0<this.nf?(a=this.kb/this.jb,b=this.width/this.height,g=this.qc,c&&0<this.nf&&(g=this.nf),this.oj=2!==g&&b>a||2===g&&b<a?this.height/this.jb:this.width/this.kb,this.ta&&(this.ta.rr(this.ta.scrollX),
|
||||
this.ta.sr(this.ta.scrollY))):this.oj=this.Zg?this.devicePixelRatio:1;this.lc();this.be++;this.Pe.yE();this.be--;this.lc();this.be++;b=this.Rv.Nd();c=0;for(a=b.length;c<a;c++)b[c].OG();c=0;for(a=this.I.length;c<a;c++)if(m=this.I[c],!m.V&&(m.mb.length||m.hb.length))for(b=0,g=m.k.length;b<g;b++)for(p=m.k[b],e=0,q=p.X.length;e<q;e++)p.X[e].Ba();c=0;for(a=this.I.length;c<a;c++)if(m=this.I[c],!m.V&&(m.mb.length||m.hb.length))for(b=0,g=m.k.length;b<g;b++)for(p=m.k[b],e=0,q=p.X.length;e<q;e++)d=p.X[e],d.jE&&
|
||||
d.jE();b=this.Nq.Nd();c=0;for(a=b.length;c<a;c++)b[c].Ba();this.be--;this.fD();for(c=0;this.Gg&&10>c++;)this.cu(this.Gg);c=0;for(a=this.jf.length;c<a;c++)this.jf[c].gq=!1;this.ta.Pg&&this.ta.Pg.Cb();z(this.lw);this.Bq=!1;this.be++;c=0;for(a=this.I.length;c<a;c++)if(m=this.I[c],!m.V&&(m.mb.length||m.hb.length))for(b=0,g=m.k.length;b<g;b++)for(p=m.k[b],e=0,q=p.X.length;e<q;e++)d=p.X[e],d.Zk&&d.Zk();b=this.Oq.Nd();c=0;for(a=b.length;c<a;c++)b[c].Zk();this.be--};f.prototype.kh=function(){var c,a,b,g,
|
||||
e,q,m,p,d;c=0;for(a=this.I.length;c<a;c++)if(m=this.I[c],!m.V)for(b=0,g=m.k.length;b<g;b++)if(p=m.k[b],p.kh&&p.kh(),p.X)for(e=0,q=p.X.length;e<q;e++)d=p.X[e],d.kh&&d.kh()};f.prototype.cu=function(c){var a=this.ta;this.ta.RE();var b,g,e;if(this.G)for(b=0,g=this.I.length;b<g;b++)e=this.I[b],e.V||!e.lo||e.global&&0!==e.k.length||-1!==c.Jj.indexOf(e)||e.lo();a==c&&z(this.Pe.kc);z(this.lw);this.pw(!0);c.Er();this.pw(!1);this.Bq=this.ja=!0;this.lc()};f.prototype.pw=function(c){var a,b,g,e,q,m,p,d,r;a=0;
|
||||
for(b=this.mb.length;a<b;a++)g=this.mb[a],c?g.tk&&g.tk():g.uk&&g.uk();a=0;for(b=this.I.length;a<b;a++)if(g=this.I[a],g.global||g.W.Rn)for(e=0,q=g.k.length;e<q;e++)if(m=g.k[e],c?m.tk&&m.tk():m.uk&&m.uk(),m.X)for(p=0,d=m.X.length;p<d;p++)r=m.X[p],c?r.tk&&r.tk():r.uk&&r.uk()};f.prototype.Hf=function(c){this.Nq.add(c)};f.prototype.VE=function(c){this.Oq.add(c)};f.prototype.Zd=function(c){return c&&-1!==c.ki?this.Lg*c.ki:this.gf};f.prototype.Jc=function(){this.ta.Jc(this.fb);this.Sb&&this.fb.present()};
|
||||
f.prototype.Rb=function(){this.cb&&(this.Mg=1,this.ta.Kg(this.G));this.ta.Rb(this.G);this.G.nE()};f.prototype.SA=function(c){c&&this.Dp.push(c)};f.prototype.vm=function(c){c=c.toString();return this.vf.hasOwnProperty(c)?this.vf[c]:null};var O=[];f.prototype.Te=function(c){var a,b;a=c.type.name;var g=null;if(this.Jg.hasOwnProperty(a)){if(g=this.Jg[a],g.contains(c))return}else g=O.length?O.pop():new ca,this.Jg[a]=g;g.add(c);this.ig=!0;if(c.uc)for(a=0,b=c.siblings.length;a<b;a++)this.Te(c.siblings[a]);
|
||||
this.rq&&g.Qi.push(c);this.qq||(this.be++,this.trigger(Object.getPrototypeOf(c.type.W).e.Vy,c),this.be--)};f.prototype.lc=function(){if(this.ig){var c,a,b,g,e,q;this.rq=!0;b=0;for(e=this.Yd.length;b<e;++b)for(c=this.Yd[b],a=c.type,a.k.push(c),g=0,q=a.hb.length;g<q;++g)a.hb[g].k.push(c),a.hb[g].Ji=!0;z(this.Yd);this.yy();Ya(this.Jg);this.ig=this.rq=!1}};f.prototype.yy=function(){for(var c in this.Jg)this.Jg.hasOwnProperty(c)&&this.Cx(this.Jg[c])};f.prototype.Cx=function(c){var a=c.Nd(),b=a[0].type,
|
||||
g,e,q,m,p,d;$a(b.k,c);b.Ji=!0;0===b.k.length&&(b.El=!1);g=0;for(e=b.hb.length;g<e;++g)d=b.hb[g],$a(d.k,c),d.Ji=!0;g=0;for(e=this.Pe.kc.length;g<e;++g)if(p=this.Pe.kc[g],p.wc.hasOwnProperty(b.index)&&$a(p.wc[b.index].ze,c),!b.V)for(q=0,m=b.hb.length;q<m;++q)d=b.hb[q],p.wc.hasOwnProperty(d.index)&&$a(p.wc[d.index].ze,c);if(p=a[0].A){if(p.vd)for(q=p.k,g=0,e=q.length;g<e;++g)m=q[g],c.contains(m)&&(m.xa(),p.ic.update(m,m.Oc,null),m.Oc.set(0,0,-1,-1));$a(p.k,c);p.Nk(0)}for(g=0;g<a.length;++g)this.Bx(a[g],
|
||||
b);c.clear();O.push(c);this.ja=!0};f.prototype.Bx=function(c,a){var b,g,e;b=0;for(g=this.Dp.length;b<g;++b)this.Dp[b](c);c.Zf&&a.Ql.update(c,c.Zf,null);(b=c.A)&&b.xi(c,!0);if(c.X)for(b=0,g=c.X.length;b<g;++b)e=c.X[b],e.Fd&&e.Fd(),e.behavior.hh.remove(c);this.Rv.remove(c);this.Nq.remove(c);this.Oq.remove(c);c.Fd&&c.Fd();this.vf.hasOwnProperty(c.uid.toString())&&delete this.vf[c.uid.toString()];this.an--;100>a.Yl.length&&a.Yl.push(c)};f.prototype.xp=function(c,a,b,g){if(c.V){var e=ra(Math.random()*
|
||||
c.ii.length);return this.xp(c.ii[e],a,b,g)}return c.zd?this.$f(c.zd,a,!1,b,g,!1):null};var U=[];f.prototype.$f=function(c,a,b,g,e,q){var m,p,d,r;if(!c)return null;var h=this.I[c[1]],n=h.W.mg;if(this.$h&&n&&!h.sq||n&&!this.G&&11===c[0][11])return null;var l=a;n||(a=null);var f;h.Yl.length?(f=h.Yl.pop(),f.Bc=!0,h.W.H.call(f,h)):(f=new h.W.H(h),f.Bc=!1);!b||q||this.vf.hasOwnProperty(c[2].toString())?f.uid=this.sk++:f.uid=c[2];this.vf[f.uid.toString()]=f;f.jw=this.Nv++;f.Xg=h.k.length;m=0;for(p=this.Yd.length;m<
|
||||
p;++m)this.Yd[m].type===h&&f.Xg++;f.Ej=Ib;f.toString=Jb;d=c[3];if(f.Bc)Ya(f.na);else{f.na={};if("undefined"!==typeof cr_is_preview)for(f.Nu=[],f.Nu.length=d.length,m=0,p=d.length;m<p;m++)f.Nu[m]=d[m][1];f.Kb=[];f.Kb.length=d.length}m=0;for(p=d.length;m<p;m++)f.Kb[m]=d[m][0];if(n){var k=c[0];f.x=ha(g)?k[0]:g;f.y=ha(e)?k[1]:e;f.z=k[2];f.width=k[3];f.height=k[4];f.depth=k[5];f.B=k[6];f.opacity=k[7];f.Lc=k[8];f.Mc=k[9];f.mc=k[10];m=k[11];!this.G&&h.ga.length&&(f.mc=m);f.rj=ib(f.mc);this.O&&jb(f,f.mc,
|
||||
this.O);if(f.Bc){m=0;for(p=k[12].length;m<p;m++)for(d=0,r=k[12][m].length;d<r;d++)f.nb[m][d]=k[12][m][d];f.ma.set(0,0,0,0);f.Zf.set(0,0,-1,-1);f.Oc.set(0,0,-1,-1);f.nc.Gi(f.ma);z(f.np)}else{f.nb=k[12].slice(0);m=0;for(p=f.nb.length;m<p;m++)f.nb[m]=k[12][m].slice(0);f.Ka=[];f.Rf=[];f.Rf.length=h.ga.length;f.ma=new va(0,0,0,0);f.Zf=new va(0,0,-1,-1);f.Oc=new va(0,0,-1,-1);f.nc=new wa;f.np=[];f.wa=Nb;f.UA=Ob;f.Xb=Pb;f.xa=Qb;f.gx=Rb;f.Tr=Sb;f.Bd=Tb}f.Oi=!1;f.YE=0;f.XE=0;f.WE=null;14===k.length&&(f.Oi=
|
||||
!0,f.YE=k[13][0],f.XE=k[13][1],f.WE=k[13][2]);m=0;for(p=h.ga.length;m<p;m++)f.Rf[m]=!0;f.Df=!0;f.oe=Ub;f.oe();f.ix=!!f.Ka.length;f.Kl=!0;f.qp=!0;h.Dl=!0;f.visible=!0;f.ki=-1;f.A=a;f.pe=a.k.length;f.Mg=0;"undefined"===typeof f.Qa&&(f.Qa=null);this.ja=f.Hg=!0}var v;z(U);m=0;for(p=h.hb.length;m<p;m++)U.push.apply(U,h.hb[m].mb);U.push.apply(U,h.mb);if(f.Bc)for(m=0,p=U.length;m<p;m++){var G=U[m];v=f.X[m];v.Bc=!0;G.behavior.H.call(v,G,f);k=c[4][m];d=0;for(r=k.length;d<r;d++)v.q[d]=k[d];v.F();G.behavior.hh.add(f)}else for(f.X=
|
||||
[],m=0,p=U.length;m<p;m++)G=U[m],v=new G.behavior.H(G,f),v.Bc=!1,v.q=c[4][m].slice(0),v.F(),f.X.push(v),G.behavior.hh.add(f);k=c[5];if(f.Bc)for(m=0,p=k.length;m<p;m++)f.q[m]=k[m];else f.q=k.slice(0);this.Yd.push(f);this.ig=!0;a&&(a.nj(f,!0),1!==a.gc||1!==a.hc)&&(h.El=!0);this.an++;if(h.uc){if(f.uc=!0,f.Bc?z(f.siblings):f.siblings=[],!b&&!q){m=0;for(p=h.Uc.length;m<p;m++)if(h.Uc[m]!==h){if(!h.Uc[m].zd)return null;f.siblings.push(this.$f(h.Uc[m].zd,l,!1,n?f.x:g,n?f.y:e,!0))}m=0;for(p=f.siblings.length;m<
|
||||
p;m++)for(f.siblings[m].siblings.push(f),d=0;d<p;d++)m!==d&&f.siblings[m].siblings.push(f.siblings[d])}}else f.uc=!1,f.siblings=null;f.F();m=0;for(p=f.X.length;m<p;m++)f.X[m].iE&&f.X[m].iE();return f};f.prototype.hg=function(c){var a,b;a=0;for(b=this.ta.la.length;a<b;a++){var g=this.ta.la[a];if(lb(g.name,c))return g}return null};f.prototype.Wc=function(c){c=ra(c);0>c&&(c=0);c>=this.ta.la.length&&(c=this.ta.la.length-1);return this.ta.la[c]};f.prototype.rm=function(c){return ia(c)?this.Wc(c):this.hg(c.toString())};
|
||||
f.prototype.tp=function(c){var a,b;a=0;for(b=c.length;a<b;a++)c[a].ba().ca=!0};f.prototype.Fk=function(c){var a,b;a=0;for(b=c.length;a<b;a++)c[a].Fk()};f.prototype.ie=function(c){var a,b;a=0;for(b=c.length;a<b;a++)c[a].ie()};f.prototype.bd=function(c){var a,b;a=0;for(b=c.length;a<b;a++)c[a].bd()};f.prototype.bx=function(c){if(c.Dl){var a,b,g=c.k;a=0;for(b=g.length;a<b;++a)g[a].Tr();g=this.Yd;a=0;for(b=g.length;a<b;++a)g[a].type===c&&g[a].Tr();c.Dl=!1}};f.prototype.FC=function(c,a,b,g){var e,m,q=c?
|
||||
1!==c.gc||1!==c.hc:!1;if(a.V)for(c=0,e=a.ii.length;c<e;++c)m=a.ii[c],q||m.El?Ca(g,m.k):(this.bx(m),m.Ql.Bn(b,g));else q||a.El?Ca(g,a.k):(this.bx(a),a.Ql.Bn(b,g))};f.prototype.Li=function(c,a,b,g){var e=c.ba(),m,q,p,d,r=this.$a().Za.qd,h,n,f;if(e.ca)for(g||(e.ca=!1,z(e.k)),m=0,d=c.k.length;m<d;m++)if(p=c.k[m],p.xa(),h=p.A.Ua(a,b,!0),n=p.A.Ua(a,b,!1),p.Xb(h,n)){if(g)return!1;e.k.push(p)}else r&&e.da.push(p);else{q=0;f=r?e.da:e.k;m=0;for(d=f.length;m<d;m++)if(p=f[m],p.xa(),h=p.A.Ua(a,b,!0),n=p.A.Ua(a,
|
||||
b,!1),p.Xb(h,n)){if(g)return!1;r?e.k.push(p):(e.k[q]=e.k[m],q++)}g||(f.length=q)}c.wd();return g?!0:e.fq()};f.prototype.UE=function(c,a){if(!(c&&a&&c!==a&&c.Hg&&a.Hg))return!1;c.xa();a.xa();var b=c.A,g=a.A,e,m,q,p,d,r,h,n;if(b===g||b.gc===g.gc&&g.hc===g.hc&&b.scale===g.scale&&b.B===g.B&&b.sb===g.sb){if(!c.ma.lD(a.ma)||!c.nc.Ou(a.nc)||c.Oi&&a.Oi)return!1;if(c.Oi)return this.Mw(c,a);if(a.Oi)return this.Mw(a,c);h=c.Qa&&!c.Qa.Uh();e=a.Qa&&!a.Qa.Uh();if(!h&&!e)return!0;h?(c.Qa.Ah(c.width,c.height,c.B),
|
||||
h=c.Qa):(this.le.Fi(c.nc,c.x,c.y,c.width,c.height),h=this.le);e?(a.Qa.Ah(a.width,a.height,a.B),n=a.Qa):(this.le.Fi(a.nc,a.x,a.y,a.width,a.height),n=this.le);return h.Kj(n,a.x-c.x,a.y-c.y)}h=c.Qa&&!c.Qa.Uh();e=a.Qa&&!a.Qa.Uh();h?(c.Qa.Ah(c.width,c.height,c.B),this.le.Cw(c.Qa)):this.le.Fi(c.nc,c.x,c.y,c.width,c.height);h=this.le;e?(a.Qa.Ah(a.width,a.height,a.B),this.Gr.Cw(a.Qa)):this.Gr.Fi(a.nc,a.x,a.y,a.width,a.height);n=this.Gr;e=0;for(m=h.he;e<m;e++)q=2*e,p=q+1,d=h.Pb[q],r=h.Pb[p],h.Pb[q]=b.Ma(d+
|
||||
c.x,r+c.y,!0),h.Pb[p]=b.Ma(d+c.x,r+c.y,!1);h.xa();e=0;for(m=n.he;e<m;e++)q=2*e,p=q+1,d=n.Pb[q],r=n.Pb[p],n.Pb[q]=g.Ma(d+a.x,r+a.y,!0),n.Pb[p]=g.Ma(d+a.x,r+a.y,!1);n.xa();return h.Kj(n,0,0)};var y=new wa;new va(0,0,0,0);var K=[];f.prototype.Mw=function(c,a){var b,g,e,m,q=a.ma,p=c.x,d=c.y;c.zG(q,K);var r=a.Qa&&!a.Qa.Uh();b=0;for(g=K.length;b<g;++b)if(e=K[b],m=e.RG,q.mD(m,p,d)&&(y.Gi(m),y.offset(p,d),y.Ou(a.nc)))if(r)if(a.Qa.Ah(a.width,a.height,a.B),e.br){if(e.br.Kj(a.Qa,a.x-(p+m.left),a.y-(d+m.top)))return z(K),
|
||||
!0}else{if(this.le.Fi(y,0,0,m.right-m.left,m.bottom-m.top),this.le.Kj(a.Qa,a.x,a.y))return z(K),!0}else if(e.br){if(this.le.Fi(a.nc,0,0,a.width,a.height),e.br.Kj(this.le,-(p+m.left),-(d+m.top)))return z(K),!0}else return z(K),!0;z(K);return!1};f.prototype.Yw=function(c,a){if(!a)return!1;var b,g,e,m,q;b=0;for(g=c.mb.length;b<g;b++)if(c.mb[b].behavior instanceof a)return!0;if(!c.V)for(b=0,g=c.hb.length;b<g;b++)for(q=c.hb[b],e=0,m=q.mb.length;e<m;e++)if(q.mb[e].behavior instanceof a)return!0;return!1};
|
||||
f.prototype.Mr=function(c){return this.Yw(c,mc.QF)};f.prototype.Nr=function(c){return this.Yw(c,mc.SF)};var S=-1;f.prototype.trigger=function(c,a,b){if(!this.ta)return!1;var g=this.ta.Pg;if(!g)return!1;var e=!1,m,q,p;S++;var d=g.Bp;q=0;for(p=d.length;q<p;++q)m=this.Uw(c,a,d[q],b),e=e||m;m=this.Uw(c,a,g,b);S--;return e||m};f.prototype.Uw=function(c,a,b,g){var e=!1,m,q,p,d;if(a)for(p=this.Kr(c,a,a.type.name,b,g),e=e||p,d=a.type.hb,m=0,q=d.length;m<q;++m)p=this.Kr(c,a,d[m].name,b,g),e=e||p;else p=this.Kr(c,
|
||||
a,"system",b,g),e=e||p;return e};f.prototype.Kr=function(c,a,b,g,e){var m,q=!1,p=!1,p="undefined"!==typeof e,d=(p?g.mu:g.Ww)[b];if(!d)return q;var r=null;g=0;for(m=d.length;g<m;++g)if(d[g].method==c){r=d[g].xj;break}if(!r)return q;var h;p?h=r[e]:h=r;if(!h)return null;g=0;for(m=h.length;g<m;g++)c=h[g][0],e=h[g][1],p=this.wC(a,b,c,e),q=q||p;return q};f.prototype.wC=function(c,a,b,g){var e,m,q=!1;this.Lr++;var p=this.$a().Za;p&&this.Fk(p.yg);var d=1<this.Lr;this.Fk(b.yg);d&&this.pE();var r=this.An(b);
|
||||
r.Za=b;c&&(e=this.types[a].ba(),e.ca=!1,z(e.k),e.k[0]=c,this.types[a].wd());c=!0;if(b.parent){a=r.Lw;for(e=b.parent;e;)a.push(e),e=e.parent;a.reverse();e=0;for(m=a.length;e<m;e++)if(!a[e].AE()){c=!1;break}}c&&(this.yj++,b.qd?b.zE(g):b.Cb(),q=q||r.ah);this.wn();d&&this.hE();this.bd(b.yg);p&&this.bd(p.yg);this.ig&&0===this.be&&0===S&&!this.tq&&this.lc();this.Lr--;return q};f.prototype.fg=function(){var c=this.$a();return c.Za.Gb[c.xb]};f.prototype.oD=function(){return 0===this.$a().xb};f.prototype.pE=
|
||||
function(){this.Vm++;this.Vm>=this.Hq.length&&this.Hq.push([])};f.prototype.hE=function(){this.Vm--};f.prototype.vu=function(){return this.Hq[this.Vm]};f.prototype.An=function(c){this.em++;this.em>=this.Ip.length&&this.Ip.push(new Vb);var a=this.$a();a.reset(c);return a};f.prototype.wn=function(){this.em--};f.prototype.$a=function(){return this.Ip[this.em]};f.prototype.Gk=function(c){this.fi++;this.fi>=this.qk.length&&this.qk.push(aa({name:c,index:0,Va:!1}));var a=this.Up();a.name=c;a.index=0;a.Va=
|
||||
!1;return a};f.prototype.Dk=function(){this.fi--};f.prototype.Up=function(){return this.qk[this.fi]};f.prototype.xu=function(c,a){for(var b,g,e,m,q,p;a;){b=0;for(g=a.Jd.length;b<g;b++)if(p=a.Jd[b],p instanceof Wb&&lb(c,p.name))return p;a=a.parent}b=0;for(g=this.jf.length;b<g;b++)for(q=this.jf[b],e=0,m=q.dg.length;e<m;e++)if(p=q.dg[e],p instanceof Wb&&lb(c,p.name))return p;return null};f.prototype.zu=function(c){var a,b;a=0;for(b=this.de.length;a<b;a++)if(this.de[a].Aa===c)return this.de[a];return null};
|
||||
f.prototype.wm=function(c){var a,b;a=0;for(b=this.I.length;a<b;a++)if(this.I[a].Aa===c)return this.I[a];return null};f.prototype.JC=function(c){var a,b;a=0;for(b=this.Vf.length;a<b;a++)if(this.Vf[a].Aa===c)return this.Vf[a];return null};f.prototype.tB=function(c,a){this.Sk=[c,a];this.ja=!0};f.prototype.fD=function(){var c=this,a=this.qr,g=this.pf,m=this.Rm,q=!1;this.Hw&&(q=!0,a="__c2_continuouspreview",this.Hw=!1);if(a.length){this.lc();g=this.EE();if(d()&&!this.md)h(a,g,function(){fa("Saved state to IndexedDB storage ("+
|
||||
g.length+" bytes)");c.pf=g;c.trigger(H.prototype.e.Qo,null);c.pf="";q&&e()},function(b){try{localStorage.setItem("__c2save_"+a,g),fa("Saved state to WebStorage ("+g.length+" bytes)"),c.pf=g,c.trigger(H.prototype.e.Qo,null),c.pf="",q&&e()}catch(m){fa("Failed to save game state: "+b+"; "+m),c.trigger(H.prototype.e.Vs,null)}});else try{localStorage.setItem("__c2save_"+a,g),fa("Saved state to WebStorage ("+g.length+" bytes)"),c.pf=g,this.trigger(H.prototype.e.Qo,null),c.pf="",q&&e()}catch(p){fa("Error saving to WebStorage: "+
|
||||
p),c.trigger(H.prototype.e.Vs,null)}this.Rm=this.qr="";this.Ob=null}if(m.length){if(d()&&!this.md)b(m,function(a){a?(c.Ob=a,fa("Loaded state from IndexedDB storage ("+c.Ob.length+" bytes)")):(c.Ob=localStorage.getItem("__c2save_"+m)||"",fa("Loaded state from WebStorage ("+c.Ob.length+" bytes)"));c.Vk=!1;c.Ob||(c.Ob=null,c.trigger(H.prototype.e.wl,null))},function(){c.Ob=localStorage.getItem("__c2save_"+m)||"";fa("Loaded state from WebStorage ("+c.Ob.length+" bytes)");c.Vk=!1;c.Ob||(c.Ob=null,c.trigger(H.prototype.e.wl,
|
||||
null))});else{try{this.Ob=localStorage.getItem("__c2save_"+m)||"",fa("Loaded state from WebStorage ("+this.Ob.length+" bytes)")}catch(r){this.Ob=null}this.Vk=!1;c.Ob||(c.Ob=null,c.trigger(H.prototype.e.wl,null))}this.qr=this.Rm=""}null!==this.Ob&&(this.lc(),this.FD(this.Ob)?(this.pf=this.Ob,this.trigger(H.prototype.e.fz,null),this.pf=""):c.trigger(H.prototype.e.wl,null),this.Ob=null)};f.prototype.EE=function(){var c,b,g,e,m,q,p,d={c2save:!0,version:1,rt:{time:this.Lb.P,walltime:this.Mf.P,timescale:this.If,
|
||||
tickcount:this.Qe,execcount:this.yj,next_uid:this.sk,running_layout:this.ta.Aa,start_time_offset:Date.now()-this.Wn},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};c=0;for(b=this.I.length;c<b;c++)if(m=this.I[c],!m.V&&!this.Mr(m)){q={instances:[]};Xa(m.na)&&(q.ex=a(m.na));g=0;for(e=m.k.length;g<e;g++)q.instances.push(this.pr(m.k[g]));d.types[m.Aa.toString()]=q}c=0;for(b=this.de.length;c<b;c++)g=this.de[c],d.layouts[g.Aa.toString()]=g.ua();e=d.events.groups;c=0;for(b=this.Vf.length;c<
|
||||
b;c++)g=this.Vf[c],e[g.Aa.toString()]=this.Gj[g.Fj].Nh;b=d.events.cnds;for(p in this.Yf)this.Yf.hasOwnProperty(p)&&(c=this.Yf[p],Xa(c.na)&&(b[p]={ex:a(c.na)}));b=d.events.acts;for(p in this.Sf)this.Sf.hasOwnProperty(p)&&(c=this.Sf[p],Xa(c.na)&&(b[p]={ex:a(c.na)}));b=d.events.vars;for(p in this.Ri)this.Ri.hasOwnProperty(p)&&(c=this.Ri[p],c.Km||c.parent&&!c.Sj||(b[p]=c.data));d.system=this.Pe.ua();return JSON.stringify(d)};f.prototype.kw=function(){var c,a,b,g,e,m;this.vf={};c=0;for(a=this.I.length;c<
|
||||
a;c++)if(b=this.I[c],!b.V)for(g=0,e=b.k.length;g<e;g++)m=b.k[g],this.vf[m.uid.toString()]=m};f.prototype.FD=function(c){var a;try{a=JSON.parse(c)}catch(b){return!1}if(!a.c2save||1<a.version)return!1;this.Mj=!0;c=a.rt;this.Lb.reset();this.Lb.P=c.time;this.Mf.reset();this.Mf.P=c.walltime||0;this.If=c.timescale;this.Qe=c.tickcount;this.yj=c.execcount;this.Wn=Date.now()-c.start_time_offset;var g=c.running_layout;if(g!==this.ta.Aa)if(g=this.zu(g))this.cu(g);else return;var e,m,q,p,d,r,h;r=a.types;for(m in r)if(r.hasOwnProperty(m)&&
|
||||
(p=this.wm(parseInt(m,10)))&&!p.V&&!this.Mr(p)){r[m].ex?p.na=r[m].ex:Ya(p.na);d=p.k;q=r[m].instances;g=0;for(e=na(d.length,q.length);g<e;g++)this.Sm(d[g],q[g]);g=q.length;for(e=d.length;g<e;g++)this.Te(d[g]);g=d.length;for(e=q.length;g<e;g++){d=null;if(p.W.mg&&(d=this.ta.um(q[g].w.l),!d))continue;d=this.$f(p.zd,d,!1,0,0,!0);this.Sm(d,q[g])}p.Ji=!0}this.lc();this.kw();e=a.layouts;for(m in e)e.hasOwnProperty(m)&&(g=this.zu(parseInt(m,10)))&&g.Ea(e[m]);e=a.events.groups;for(m in e)e.hasOwnProperty(m)&&
|
||||
(g=this.JC(parseInt(m,10)))&&this.Gj[g.Fj]&&this.Gj[g.Fj].yw(e[m]);g=a.events.cnds;for(m in this.Yf)this.Yf.hasOwnProperty(m)&&(g.hasOwnProperty(m)?this.Yf[m].na=g[m].ex:this.Yf[m].na={});g=a.events.acts;for(m in this.Sf)this.Sf.hasOwnProperty(m)&&(g.hasOwnProperty(m)?this.Sf[m].na=g[m].ex:this.Sf[m].na={});g=a.events.vars;for(m in g)g.hasOwnProperty(m)&&this.Ri.hasOwnProperty(m)&&(this.Ri[m].data=g[m]);this.sk=c.next_uid;this.Mj=!1;g=0;for(e=this.im.length;g<e;++g)d=this.im[g],this.trigger(Object.getPrototypeOf(d.type.W).e.Ue,
|
||||
d);z(this.im);this.Pe.Ea(a.system);g=0;for(e=this.I.length;g<e;g++)if(p=this.I[g],!p.V&&!this.Mr(p))for(a=0,m=p.k.length;a<m;a++){d=p.k[a];if(p.uc)for(r=d.Ej(),z(d.siblings),c=0,q=p.Uc.length;c<q;c++)h=p.Uc[c],p!==h&&d.siblings.push(h.k[r]);d.Tf&&d.Tf();if(d.X)for(c=0,q=d.X.length;c<q;c++)r=d.X[c],r.Tf&&r.Tf()}return this.ja=!0};f.prototype.pr=function(c,b){var g,e,m,q,p;q=c.type;m=q.W;var d={};b?d.c2=!0:d.uid=c.uid;Xa(c.na)&&(d.ex=a(c.na));if(c.Kb&&c.Kb.length)for(d.ivs={},g=0,e=c.Kb.length;g<e;g++)d.ivs[c.type.oq[g].toString()]=
|
||||
c.Kb[g];if(m.mg){m={x:c.x,y:c.y,w:c.width,h:c.height,l:c.A.Aa,zi:c.Bd()};0!==c.B&&(m.a=c.B);1!==c.opacity&&(m.o=c.opacity);.5!==c.Lc&&(m.hX=c.Lc);.5!==c.Mc&&(m.hY=c.Mc);0!==c.mc&&(m.bm=c.mc);c.visible||(m.v=c.visible);c.Hg||(m.ce=c.Hg);-1!==c.ki&&(m.mts=c.ki);if(q.ga.length)for(m.fx=[],g=0,e=q.ga.length;g<e;g++)p=q.ga[g],m.fx.push({name:p.name,active:c.Rf[p.index],params:c.nb[p.index]});d.w=m}if(c.X&&c.X.length)for(d.behs={},g=0,e=c.X.length;g<e;g++)q=c.X[g],q.ua&&(d.behs[q.type.Aa.toString()]=q.ua());
|
||||
c.ua&&(d.data=c.ua());return d};f.prototype.LC=function(c,a){var b,g;b=0;for(g=c.oq.length;b<g;b++)if(c.oq[b]===a)return b;return-1};f.prototype.EC=function(c,a){var b,g;b=0;for(g=c.X.length;b<g;b++)if(c.X[b].type.Aa===a)return b;return-1};f.prototype.Sm=function(c,a,b){var g,e,m,q,p;p=c.type;var d=p.W;if(b){if(!a.c2)return}else c.uid=a.uid;a.ex?c.na=a.ex:Ya(c.na);if(e=a.ivs)for(g in e)e.hasOwnProperty(g)&&(m=this.LC(p,parseInt(g,10)),0>m||m>=c.Kb.length||(q=e[g],null===q&&(q=NaN),c.Kb[m]=q));if(d.mg){m=
|
||||
a.w;c.A.Aa!==m.l&&(e=c.A,c.A=this.ta.um(m.l),c.A?(e.xi(c,!0),c.A.nj(c,!0),c.wa(),c.A.Nk(0)):(c.A=e,b||this.Te(c)));c.x=m.x;c.y=m.y;c.width=m.w;c.height=m.h;c.pe=m.zi;c.B=m.hasOwnProperty("a")?m.a:0;c.opacity=m.hasOwnProperty("o")?m.o:1;c.Lc=m.hasOwnProperty("hX")?m.hX:.5;c.Mc=m.hasOwnProperty("hY")?m.hY:.5;c.visible=m.hasOwnProperty("v")?m.v:!0;c.Hg=m.hasOwnProperty("ce")?m.ce:!0;c.ki=m.hasOwnProperty("mts")?m.mts:-1;c.mc=m.hasOwnProperty("bm")?m.bm:0;c.rj=ib(c.mc);this.O&&jb(c,c.mc,this.O);c.wa();
|
||||
if(m.hasOwnProperty("fx"))for(b=0,e=m.fx.length;b<e;b++)q=p.Wp(m.fx[b].name),0>q||(c.Rf[q]=m.fx[b].active,c.nb[q]=m.fx[b].params);c.oe()}if(p=a.behs)for(g in p)p.hasOwnProperty(g)&&(b=this.EC(c,parseInt(g,10)),0>b||c.X[b].Ea(p[g]));a.data&&c.Ea(a.data)};f.prototype.nu=function(c,a,b){window.resolveLocalFileSystemURL(cordova.file.applicationDirectory+"www/"+c,function(c){c.file(a,b)},b)};f.prototype.pu=function(c,a,b){this.nu(c,function(c){var g=new FileReader;g.onload=function(c){a(c.target.result)};
|
||||
g.onerror=b;g.readAsText(c)},b)};var M=[],xa=0;f.prototype.Kq=function(){if(M.length&&!(8<=xa)){xa++;var c=M.shift();this.vB(c.filename,c.TE,c.UB)}};f.prototype.ou=function(c,a,b){var g=this;M.push({filename:c,TE:function(c){xa--;g.Kq();a(c)},UB:function(c){xa--;g.Kq();b(c)}});this.Kq()};f.prototype.vB=function(c,a,b){this.nu(c,function(c){var b=new FileReader;b.onload=function(c){a(c.target.result)};b.readAsArrayBuffer(c)},b)};f.prototype.xC=function(c,a,b){var g="",e=c.toLowerCase(),m=e.substr(e.length-
|
||||
4),e=e.substr(e.length-5);".mp4"===m?g="video/mp4":".webm"===e?g="video/webm":".m4a"===m?g="audio/mp4":".mp3"===m&&(g="audio/mpeg");this.ou(c,function(c){c=URL.createObjectURL(new Blob([c],{type:g}));a(c)},b)};f.prototype.Pu=function(c){return/^(?:[a-z]+:)?\/\//.test(c)||"data:"===c.substr(0,5)||"blob:"===c.substr(0,5)};f.prototype.zw=function(c,a){this.Qj&&!this.Pu(a)?this.xC(a,function(a){c.src=a},function(c){alert("Failed to load image: "+c)}):c.src=a};f.prototype.Jn=function(c,a){"undefined"!==
|
||||
typeof c.imageSmoothingEnabled?c.imageSmoothingEnabled=a:(c.webkitImageSmoothingEnabled=a,c.mozImageSmoothingEnabled=a,c.msImageSmoothingEnabled=a)};Xb=function(c){return new f(document.getElementById(c))};Yb=function(c,a){return new f({dc:!0,width:c,height:a})};window.cr_createRuntime=Xb;window.cr_createDCRuntime=Yb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var c=document.createElement("screencanvas")||document.createElement("canvas");c.Td=!0;document.body.appendChild(c);c=new f(c);
|
||||
window.c2runtime=c;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return c};window.createEjectaRuntime=function(){var c=new f(document.getElementById("canvas"));window.c2runtime=c;window.c2runtime.setSize(window.innerWidth,window.innerHeight);return c}})();
|
||||
window.cr_getC2Runtime=function(){var f=document.getElementById("c2canvas");return f?f.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_getSnapshot=function(f,k){var d=window.cr_getC2Runtime();d&&d.tB(f,k)};window.cr_sizeCanvas=function(f,k){if(0!==f&&0!==k){var d=window.cr_getC2Runtime();d&&d.setSize(f,k)}};window.cr_setSuspended=function(f){var k=window.cr_getC2Runtime();k&&k.setSuspended(f)};
|
||||
(function(){function f(a,c){this.b=a;this.Pg=null;this.scrollX=this.b.kb/2;this.scrollY=this.b.jb/2;this.scale=1;this.B=0;this.Lh=!0;this.name=c[0];this.bE=c[1];this.aE=c[2];this.width=c[1];this.height=c[2];this.Zw=c[3];this.Fw=c[4];this.Aa=c[5];var b=c[6],e,d;this.la=[];this.Jj=[];e=0;for(d=b.length;e<d;e++){var h=new Zb(this,b[e]);h.Pv=e;this.la.push(h)}b=c[7];this.jg=[];e=0;for(d=b.length;e<d;e++){var h=b[e],n=this.b.I[h[1]];n.zd||(n.zd=h);this.jg.push(h);-1===this.Jj.indexOf(n)&&this.Jj.push(n)}this.ga=
|
||||
[];this.Ka=[];this.Df=!0;this.nb=[];e=0;for(d=c[8].length;e<d;e++)this.ga.push({id:c[8][e][0],name:c[8][e][1],Db:-1,ge:!1,Wa:!0,index:e}),this.nb.push(c[8][e][2].slice(0));this.oe();this.Le=new va(0,0,1,1);this.hr=new va(0,0,1,1);this.vg={}}function k(a,c){return a.pe-c.pe}function d(a,c){this.Nb=a;this.b=a.b;this.k=[];this.scale=1;this.B=0;this.ef=!1;this.Jf=new va(0,0,0,0);this.Rw=new wa;this.Na=this.Ja=this.Oa=this.Ia=0;this.rh=!1;this.Nf=-1;this.up=0;this.name=c[0];this.index=c[1];this.Aa=c[2];
|
||||
this.visible=c[3];this.Ud=c[4];this.ne=c[5];this.gc=c[6];this.hc=c[7];this.opacity=c[8];this.nm=c[9];this.vd=c[10];this.sb=c[11];this.mc=c[12];this.QB=c[13];this.rj="source-over";this.oc=this.xc=0;this.ic=null;this.qf=l();this.je=!0;this.ci=new va(0,0,-1,-1);this.Yb=new va(0,0,-1,-1);this.vd&&(this.ic=new hb(this.b.kb,this.b.jb));this.Me=!1;var b=c[14],e,d;this.Jw=[];this.ld=[];this.tj=[];e=0;for(d=b.length;e<d;e++){var h=b[e],n=this.b.I[h[1]];n.zd||(n.zd=h,n.pB=this.index);this.ld.push(h);-1===this.Nb.Jj.indexOf(n)&&
|
||||
this.Nb.Jj.push(n)}Ba(this.Jw,this.ld);this.ga=[];this.Ka=[];this.Df=!0;this.nb=[];e=0;for(d=c[15].length;e<d;e++)this.ga.push({id:c[15][e][0],name:c[15][e][1],Db:-1,ge:!1,Wa:!0,index:e}),this.nb.push(c[15][e][2].slice(0));this.oe();this.Le=new va(0,0,1,1);this.hr=new va(0,0,1,1)}function l(){return a.length?a.pop():[]}function h(b){z(b);a.push(b)}f.prototype.DE=function(a){var c=a.type.Aa.toString();this.vg.hasOwnProperty(c)||(this.vg[c]=[]);this.vg[c].push(this.b.pr(a))};f.prototype.Bu=function(){var a=
|
||||
this.la[0];return!a.ne&&1===a.opacity&&!a.nm&&a.visible};f.prototype.oe=function(){z(this.Ka);this.Df=!0;var a,c,b;a=0;for(c=this.ga.length;a<c;a++)b=this.ga[a],b.Wa&&(this.Ka.push(b),b.ge||(this.Df=!1))};f.prototype.Vp=function(a){var c,b,e;c=0;for(b=this.ga.length;c<b;c++)if(e=this.ga[c],e.name===a)return e;return null};var b=[],e=!0;f.prototype.Er=function(){this.Fw&&(this.Pg=this.b.Jp[this.Fw],this.Pg.Or());this.b.ta=this;this.width=this.bE;this.height=this.aE;this.scrollX=this.b.kb/2;this.scrollY=
|
||||
this.b.jb/2;var a,c,m,q,d,h,n;a=0;for(m=this.b.I.length;a<m;a++)if(c=this.b.I[a],!c.V)for(d=c.k,c=0,q=d.length;c<q;c++)if(h=d[c],h.A){var p=h.A.Pv;p>=this.la.length&&(p=this.la.length-1);h.A=this.la[p];-1===h.A.k.indexOf(h)&&h.A.k.push(h);h.A.rh=!0}if(!e)for(a=0,m=this.la.length;a<m;++a)this.la[a].k.sort(k);z(b);this.dB();a=0;for(m=this.la.length;a<m;a++)h=this.la[a],h.nB(),h.po();d=!1;if(!this.Lh){for(n in this.vg)if(this.vg.hasOwnProperty(n)&&(c=this.b.wm(parseInt(n,10)))&&!c.V&&this.b.Nr(c)){q=
|
||||
this.vg[n];a=0;for(m=q.length;a<m;a++){h=null;if(c.W.mg&&(h=this.um(q[a].w.l),!h))continue;h=this.b.$f(c.zd,h,!1,0,0,!0);this.b.Sm(h,q[a]);d=!0;b.push(h)}z(q)}a=0;for(m=this.la.length;a<m;a++)this.la[a].k.sort(k),this.la[a].rh=!0}d&&(this.b.lc(),this.b.kw());for(a=0;a<b.length;a++)if(h=b[a],h.type.uc)for(m=h.Ej(),c=0,q=h.type.Uc.length;c<q;c++)n=h.type.Uc[c],h.type!==n&&(n.k.length>m?h.siblings.push(n.k[m]):n.zd&&(d=this.b.$f(n.zd,h.A,!0,h.x,h.y,!0),this.b.lc(),n.no(),h.siblings.push(d),b.push(d)));
|
||||
a=0;for(m=this.jg.length;a<m;a++)h=this.jg[a],c=this.b.I[h[1]],c.uc||this.b.$f(this.jg[a],null,!0);this.b.Gg=null;this.b.lc();if(this.b.fb&&!this.b.N)for(a=0,m=this.b.I.length;a<m;a++)n=this.b.I[a],!n.V&&n.k.length&&n.cr&&n.cr(this.b.fb);if(this.b.Mj)Ba(this.b.im,b);else for(a=0,m=b.length;a<m;a++)h=b[a],this.b.trigger(Object.getPrototypeOf(h.type.W).e.Ue,h);z(b);this.b.Mj||this.b.trigger(H.prototype.e.Ns,null);this.Lh=!1};f.prototype.mB=function(){var a,c,b,e,d;c=a=0;for(b=this.jg.length;a<b;a++)e=
|
||||
this.jg[a],d=this.b.I[e[1]],d.global?d.uc||this.b.$f(e,null,!0):(this.jg[c]=e,c++);Aa(this.jg,c)};f.prototype.RE=function(){this.b.Mj||this.b.trigger(H.prototype.e.Ms,null);this.b.qq=!0;z(this.b.Pe.kc);var a,c,b,q,d,h;if(!this.Lh)for(a=0,c=this.la.length;a<c;a++)for(this.la[a].Sr(),d=this.la[a].k,b=0,q=d.length;b<q;b++)h=d[b],h.type.global||this.b.Nr(h.type)&&this.DE(h);a=0;for(c=this.la.length;a<c;a++){d=this.la[a].k;b=0;for(q=d.length;b<q;b++)h=d[b],h.type.global||this.b.Te(h);this.b.lc();z(d);
|
||||
this.la[a].rh=!0}a=0;for(c=this.b.I.length;a<c;a++)if(d=this.b.I[a],!(d.global||d.W.mg||d.W.Rn||d.V)){b=0;for(q=d.k.length;b<q;b++)this.b.Te(d.k[b]);this.b.lc()}e=!1;this.b.qq=!1};new va(0,0,0,0);f.prototype.Jc=function(a){var c,b=a,e=!1,d=!this.b.jd;d&&(this.b.Qm||(this.b.Qm=document.createElement("canvas"),c=this.b.Qm,c.width=this.b.Z,c.height=this.b.Y,this.b.kv=c.getContext("2d"),e=!0),c=this.b.Qm,b=this.b.kv,c.width!==this.b.Z&&(c.width=this.b.Z,e=!0),c.height!==this.b.Y&&(c.height=this.b.Y,e=
|
||||
!0),e&&this.b.Jn(b,this.b.ab));b.globalAlpha=1;b.globalCompositeOperation="source-over";this.b.Ut&&!this.Bu()&&b.clearRect(0,0,this.b.Z,this.b.Y);var h,n,e=0;for(h=this.la.length;e<h;e++)n=this.la[e],n.visible&&0<n.opacity&&11!==n.mc&&(n.k.length||!n.ne)?n.Jc(b):n.po();d&&a.drawImage(c,0,0,this.b.width,this.b.height)};f.prototype.Kg=function(a){a.xw(!0);this.b.zb||(this.b.zb=a.ed(this.b.Z,this.b.Y,this.b.ab));if(this.b.zb.Xd!==this.b.Z||this.b.zb.Wd!==this.b.Y)a.deleteTexture(this.b.zb),this.b.zb=
|
||||
a.ed(this.b.Z,this.b.Y,this.b.ab);a.Hd(this.b.zb);this.b.jd||a.Af(this.b.Z,this.b.Y);var c,b;for(c=this.la.length-1;0<=c;--c)b=this.la[c],b.visible&&1===b.opacity&&b.Df&&0===b.mc&&(b.k.length||!b.ne)?b.Kg(a):b.po();a.xw(!1)};f.prototype.Rb=function(a){var c=0<this.Ka.length||this.b.Pi||!this.b.jd||this.b.cb;if(c){this.b.zb||(this.b.zb=a.ed(this.b.Z,this.b.Y,this.b.ab));if(this.b.zb.Xd!==this.b.Z||this.b.zb.Wd!==this.b.Y)a.deleteTexture(this.b.zb),this.b.zb=a.ed(this.b.Z,this.b.Y,this.b.ab);a.Hd(this.b.zb);
|
||||
this.b.jd||a.Af(this.b.Z,this.b.Y)}else this.b.zb&&(a.Hd(null),a.deleteTexture(this.b.zb),this.b.zb=null);this.b.Ut&&!this.Bu()&&a.clear(0,0,0,0);var b,e,d;b=0;for(e=this.la.length;b<e;b++)d=this.la[b],d.visible&&0<d.opacity&&(d.k.length||!d.ne)?d.Rb(a):d.po();c&&(0===this.Ka.length||1===this.Ka.length&&this.b.jd?(1===this.Ka.length?(c=this.Ka[0].index,a.Rc(this.Ka[0].Db),a.Ei(null,1/this.b.Z,1/this.b.Y,0,0,1,1,this.scale,this.B,0,0,this.b.Z/2,this.b.Y/2,this.b.Lb.P,this.nb[c]),a.zn(this.Ka[0].Db)&&
|
||||
(this.b.ja=!0)):a.Rc(0),this.b.jd||a.Af(this.b.width,this.b.height),a.Hd(null),a.vw(!1),a.xg(1),a.Cc(this.b.zb),a.sw(),a.Gd(),a.ud(),c=this.b.width/2,b=this.b.height/2,a.wi(-c,b,c,b,c,-b,-c,-b),a.Cc(null),a.vw(!0)):this.jr(a,null,null,null))};f.prototype.Dj=function(){return 0<this.Ka.length||this.b.Pi||!this.b.jd||this.b.cb?this.b.zb:null};f.prototype.Au=function(){var a=this.la[0].$b(),c,b,e;c=1;for(b=this.la.length;c<b;c++)e=this.la[c],(0!==e.gc||0!==e.hc)&&e.$b()<a&&(a=e.$b());return a};f.prototype.rr=
|
||||
function(a){if(!this.Zw){var c=1/this.Au()*this.b.Z/2;a>this.width-c&&(a=this.width-c);a<c&&(a=c)}this.scrollX!==a&&(this.scrollX=a,this.b.ja=!0)};f.prototype.sr=function(a){if(!this.Zw){var c=1/this.Au()*this.b.Y/2;a>this.height-c&&(a=this.height-c);a<c&&(a=c)}this.scrollY!==a&&(this.scrollY=a,this.b.ja=!0)};f.prototype.dB=function(){this.rr(this.scrollX);this.sr(this.scrollY)};f.prototype.jr=function(a,c,b,e){var d=b?b.Ka:c?c.Ka:this.Ka,h=1,n=0,p=0,f=0,l=this.b.Z,k=this.b.Y;b?(h=b.A.$b(),n=b.A.Jb(),
|
||||
p=b.A.Ia,f=b.A.Ja,l=b.A.Oa,k=b.A.Na):c&&(h=c.$b(),n=c.Jb(),p=c.Ia,f=c.Ja,l=c.Oa,k=c.Na);var t=this.b.Qp,u,x,B,N,O=0,U=1,y,K,S=this.b.Z,M=this.b.Y,xa=S/2,Ra=M/2,T=c?c.Le:this.Le,L=c?c.hr:this.hr,C=0,Y=0,F=0,P=0,X=S,Ma=S,Q=M,pa=M,sa=B=0;N=b?b.A.Jb():0;if(b){u=0;for(x=d.length;u<x;u++)B+=a.PC(d[u].Db),sa+=a.QC(d[u].Db);P=b.ma;C=c.Ma(P.left,P.top,!0,!0);F=c.Ma(P.left,P.top,!1,!0);X=c.Ma(P.right,P.bottom,!0,!0);Q=c.Ma(P.right,P.bottom,!1,!0);0!==N&&(u=c.Ma(P.right,P.top,!0,!0),x=c.Ma(P.right,P.top,!1,
|
||||
!0),Y=c.Ma(P.left,P.bottom,!0,!0),P=c.Ma(P.left,P.bottom,!1,!0),N=Math.min(C,X,u,Y),X=Math.max(C,X,u,Y),C=N,N=Math.min(F,Q,x,P),Q=Math.max(F,Q,x,P),F=N);C-=B;F-=sa;X+=B;Q+=sa;L.left=C/S;L.top=1-F/M;L.right=X/S;L.bottom=1-Q/M;Y=C=ra(C);P=F=ra(F);Ma=X=ta(X);pa=Q=ta(Q);Y-=B;P-=sa;Ma+=B;pa+=sa;0>C&&(C=0);0>F&&(F=0);X>S&&(X=S);Q>M&&(Q=M);0>Y&&(Y=0);0>P&&(P=0);Ma>S&&(Ma=S);pa>M&&(pa=M);T.left=C/S;T.top=1-F/M;T.right=X/S;T.bottom=1-Q/M}else T.left=L.left=0,T.top=L.top=0,T.right=L.right=1,T.bottom=L.bottom=
|
||||
1;sa=b&&(a.Ek(d[0].Db)||0!==B||0!==sa||1!==b.opacity||b.type.W.Kv)||c&&!b&&1!==c.opacity;a.sw();if(sa){t[O]||(t[O]=a.ed(S,M,this.b.ab));if(t[O].Xd!==S||t[O].Wd!==M)a.deleteTexture(t[O]),t[O]=a.ed(S,M,this.b.ab);a.Rc(0);a.Hd(t[O]);K=pa-P;a.clearRect(Y,M-P-K,Ma-Y,K);b?b.Rb(a):(a.Cc(this.b.Mb),a.xg(c.opacity),a.Gd(),a.translate(-xa,-Ra),a.ud(),a.Ke(C,Q,X,Q,X,F,C,F,T));L.left=L.top=0;L.right=L.bottom=1;b&&(N=T.top,T.top=T.bottom,T.bottom=N);O=1;U=0}a.xg(1);B=d.length-1;var Sa=a.er(d[B].Db)||!c&&!b&&!this.b.jd;
|
||||
u=N=0;for(x=d.length;u<x;u++){t[O]||(t[O]=a.ed(S,M,this.b.ab));if(t[O].Xd!==S||t[O].Wd!==M)a.deleteTexture(t[O]),t[O]=a.ed(S,M,this.b.ab);a.Rc(d[u].Db);N=d[u].index;a.zn(d[u].Db)&&(this.b.ja=!0);0!=u||sa?(a.Ei(e,1/S,1/M,L.left,L.top,L.right,L.bottom,h,n,p,f,(p+l)/2,(f+k)/2,this.b.Lb.P,b?b.nb[N]:c?c.nb[N]:this.nb[N]),a.Cc(null),u!==B||Sa?(a.Hd(t[O]),K=pa-P,y=M-P-K,a.clearRect(Y,y,Ma-Y,K)):(b?a.wg(b.xc,b.oc):c&&a.wg(c.xc,c.oc),a.Hd(e)),a.Cc(t[U]),a.Gd(),a.translate(-xa,-Ra),a.ud(),a.Ke(C,Q,X,Q,X,F,
|
||||
C,F,T),u!==B||Sa||a.Cc(null)):(a.Hd(t[O]),K=pa-P,y=M-P-K,a.clearRect(Y,y,Ma-Y,K),b?(b.bb&&b.bb.qa?(y=b.bb.qa,U=1/y.width,y=1/y.height):(U=1/b.width,y=1/b.height),a.Ei(e,U,y,L.left,L.top,L.right,L.bottom,h,n,p,f,(p+l)/2,(f+k)/2,this.b.Lb.P,b.nb[N]),b.Rb(a)):(a.Ei(e,1/S,1/M,0,0,1,1,h,n,p,f,(p+l)/2,(f+k)/2,this.b.Lb.P,c?c.nb[N]:this.nb[N]),a.Cc(c?this.b.Mb:this.b.zb),a.Gd(),a.translate(-xa,-Ra),a.ud(),a.Ke(C,Q,X,Q,X,F,C,F,T)),L.left=L.top=0,L.right=L.bottom=1,b&&!Sa&&(N=Q,Q=F,F=N));O=0===O?1:0;U=0===
|
||||
O?1:0}Sa&&(a.Rc(0),b?a.wg(b.xc,b.oc):c?a.wg(c.xc,c.oc):this.b.jd||(a.Af(this.b.width,this.b.height),xa=this.b.width/2,Ra=this.b.height/2,F=C=0,X=this.b.width,Q=this.b.height),a.Hd(e),a.Cc(t[U]),a.Gd(),a.translate(-xa,-Ra),a.ud(),b&&1===d.length&&!sa?a.Ke(C,F,X,F,X,Q,C,Q,T):a.Ke(C,Q,X,Q,X,F,C,F,T),a.Cc(null))};f.prototype.um=function(a){var c,b;c=0;for(b=this.la.length;c<b;c++)if(this.la[c].Aa===a)return this.la[c];return null};f.prototype.ua=function(){var a,c,b,e={sx:this.scrollX,sy:this.scrollY,
|
||||
s:this.scale,a:this.B,w:this.width,h:this.height,fv:this.Lh,persist:this.vg,fx:[],layers:{}};a=0;for(c=this.ga.length;a<c;a++)b=this.ga[a],e.fx.push({name:b.name,active:b.Wa,params:this.nb[b.index]});a=0;for(c=this.la.length;a<c;a++)b=this.la[a],e.layers[b.Aa.toString()]=b.ua();return e};f.prototype.Ea=function(a){var c,b,e,d;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.B=a.a;this.width=a.w;this.height=a.h;this.vg=a.persist;"undefined"!==typeof a.fv&&(this.Lh=a.fv);var h=a.fx;c=0;for(b=
|
||||
h.length;c<b;c++)if(e=this.Vp(h[c].name))e.Wa=h[c].active,this.nb[e.index]=h[c].params;this.oe();c=a.layers;for(d in c)c.hasOwnProperty(d)&&(a=this.um(parseInt(d,10)))&&a.Ea(c[d])};Lb=f;d.prototype.oe=function(){z(this.Ka);this.Df=!0;var a,c,b;a=0;for(c=this.ga.length;a<c;a++)b=this.ga[a],b.Wa&&(this.Ka.push(b),b.ge||(this.Df=!1))};d.prototype.Vp=function(a){var c,b,e;c=0;for(b=this.ga.length;c<b;c++)if(e=this.ga[c],e.name===a)return e;return null};d.prototype.nB=function(){var a,c,e,q,d,h;c=a=0;
|
||||
for(e=this.ld.length;a<e;a++){q=this.ld[a];d=this.b.I[q[1]];h=this.b.Nr(d);d=!0;if(!h||this.Nb.Lh){q=this.b.$f(q,this,!0);if(!q)continue;b.push(q);q.type.global&&(d=!1,this.tj.push(q.uid))}d&&(this.ld[c]=this.ld[a],c++)}this.ld.length=c;this.b.lc();!this.b.G&&this.ga.length&&(this.mc=this.QB);this.rj=ib(this.mc);this.b.O&&jb(this,this.mc,this.b.O);this.je=!0};d.prototype.xi=function(a,c){var b=Da(this.k,a);0>b||(c&&this.vd&&a.Oc&&a.Oc.right>=a.Oc.left&&(a.xa(),this.ic.update(a,a.Oc,null),a.Oc.set(0,
|
||||
0,-1,-1)),b===this.k.length-1?this.k.pop():(za(this.k,b),this.Nk(b)),this.je=!0)};d.prototype.nj=function(a,c){a.pe=this.k.length;this.k.push(a);c&&this.vd&&a.Oc&&a.wa();this.je=!0};d.prototype.mE=function(a){this.k.unshift(a);this.Nk(0)};d.prototype.ND=function(a,c,b){var e=a.Bd();c=c.Bd();za(this.k,e);e<c&&c--;b&&c++;c===this.k.length?this.k.push(a):this.k.splice(c,0,a);this.Nk(e<c?e:c)};d.prototype.Nk=function(a){-1===this.Nf?this.Nf=a:a<this.Nf&&(this.Nf=a);this.je=this.rh=!0};d.prototype.Sr=
|
||||
function(){if(this.rh){-1===this.Nf&&(this.Nf=0);var a,c,b;if(this.vd)for(a=this.Nf,c=this.k.length;a<c;++a)b=this.k[a],b.pe=a,this.ic.JD(b.Oc);else for(a=this.Nf,c=this.k.length;a<c;++a)this.k[a].pe=a;this.rh=!1;this.Nf=-1}};d.prototype.$b=function(a){return this.MC()*(this.b.jd||a?this.b.oj:1)};d.prototype.MC=function(){return(this.scale*this.Nb.scale-1)*this.sb+1};d.prototype.Jb=function(){return this.ef?0:Ia(this.Nb.B+this.B)};var a=[],n=[],t=[];d.prototype.Zp=function(){this.Sr();this.ic.Bn(this.Ia,
|
||||
this.Ja,this.Oa,this.Na,t);if(!t.length)return l();if(1===t.length){var a=l();Ba(a,t[0]);z(t);return a}for(var c=!0;1<t.length;){for(var a=t,b=void 0,e=void 0,d=void 0,f=void 0,k=void 0,b=0,e=a.length;b<e-1;b+=2){var d=a[b],f=a[b+1],k=l(),p=d,G=f,J=k,w=0,E=0,u=0,x=p.length,B=G.length,N=void 0,O=void 0;for(J.length=x+B;w<x&&E<B;++u)N=p[w],O=G[E],N.pe<O.pe?(J[u]=N,++w):(J[u]=O,++E);for(;w<x;++w,++u)J[u]=p[w];for(;E<B;++E,++u)J[u]=G[E];c||(h(d),h(f));n.push(k)}1===e%2&&(c?(d=l(),Ba(d,a[e-1]),n.push(d)):
|
||||
n.push(a[e-1]));Ba(a,n);z(n);c=!1}a=t[0];z(t);return a};d.prototype.Jc=function(a){this.Me=this.nm||1!==this.opacity||0!==this.mc;var c=this.b.canvas,b=a,e=!1;this.Me&&(this.b.Pm||(this.b.Pm=document.createElement("canvas"),c=this.b.Pm,c.width=this.b.Z,c.height=this.b.Y,this.b.jv=c.getContext("2d"),e=!0),c=this.b.Pm,b=this.b.jv,c.width!==this.b.Z&&(c.width=this.b.Z,e=!0),c.height!==this.b.Y&&(c.height=this.b.Y,e=!0),e&&this.b.Jn(b,this.b.ab),this.ne&&b.clearRect(0,0,this.b.Z,this.b.Y));b.globalAlpha=
|
||||
1;b.globalCompositeOperation="source-over";this.ne||(b.fillStyle="rgb("+this.Ud[0]+","+this.Ud[1]+","+this.Ud[2]+")",b.fillRect(0,0,this.b.Z,this.b.Y));b.save();this.ef=!0;var e=this.Ua(0,0,!0,!0),d=this.Ua(0,0,!1,!0);this.ef=!1;this.b.rd&&(e=Math.round(e),d=Math.round(d));this.Fn(e,d,b);var n=this.$b();b.scale(n,n);b.translate(-e,-d);this.vd?(this.Yb.left=this.ic.Dc(this.Ia),this.Yb.top=this.ic.Ec(this.Ja),this.Yb.right=this.ic.Dc(this.Oa),this.Yb.bottom=this.ic.Ec(this.Na),this.je||!this.Yb.wj(this.ci)?
|
||||
(h(this.qf),e=this.Zp(),this.je=!1,this.ci.Dh(this.Yb)):e=this.qf):e=this.k;for(var f,p=null,d=0,n=e.length;d<n;++d)f=e[d],f!==p&&(this.LB(f,b),p=f);this.vd&&(this.qf=e);b.restore();this.Me&&(a.globalCompositeOperation=this.rj,a.globalAlpha=this.opacity,a.drawImage(c,0,0))};d.prototype.LB=function(a,c){if(a.visible&&0!==a.width&&0!==a.height){a.xa();var b=a.ma;b.right<this.Ia||b.bottom<this.Ja||b.left>this.Oa||b.top>this.Na||(c.globalCompositeOperation=a.rj,a.Jc(c))}};d.prototype.po=function(){this.ef=
|
||||
!0;var a=this.Ua(0,0,!0,!0),c=this.Ua(0,0,!1,!0);this.ef=!1;this.b.rd&&(a=Math.round(a),c=Math.round(c));this.Fn(a,c,null)};d.prototype.Fn=function(a,c,b){var e=this.$b();this.Ia=a;this.Ja=c;this.Oa=a+1/e*this.b.Z;this.Na=c+1/e*this.b.Y;this.Ia>this.Oa&&(a=this.Ia,this.Ia=this.Oa,this.Oa=a);this.Ja>this.Na&&(a=this.Ja,this.Ja=this.Na,this.Na=a);a=this.Jb();0!==a&&(b&&(b.translate(this.b.Z/2,this.b.Y/2),b.rotate(-a),b.translate(this.b.Z/-2,this.b.Y/-2)),this.Jf.set(this.Ia,this.Ja,this.Oa,this.Na),
|
||||
this.Jf.offset((this.Ia+this.Oa)/-2,(this.Ja+this.Na)/-2),this.Rw.Dw(this.Jf,a),this.Rw.Pt(this.Jf),this.Jf.offset((this.Ia+this.Oa)/2,(this.Ja+this.Na)/2),this.Ia=this.Jf.left,this.Ja=this.Jf.top,this.Oa=this.Jf.right,this.Na=this.Jf.bottom)};d.prototype.Kg=function(a){if(this.Me=this.nm){this.b.Mb||(this.b.Mb=a.ed(this.b.Z,this.b.Y,this.b.ab));if(this.b.Mb.Xd!==this.b.Z||this.b.Mb.Wd!==this.b.Y)a.deleteTexture(this.b.Mb),this.b.Mb=a.ed(this.b.Z,this.b.Y,this.b.ab);a.Hd(this.b.Mb)}this.ef=!0;var c=
|
||||
this.Ua(0,0,!0,!0),b=this.Ua(0,0,!1,!0);this.ef=!1;this.b.rd&&(c=Math.round(c),b=Math.round(b));this.Fn(c,b,null);c=this.$b();a.Gd();a.scale(c,c);a.Gn(-this.Jb());a.translate((this.Ia+this.Oa)/-2,(this.Ja+this.Na)/-2);a.ud();this.vd?(this.Yb.left=this.ic.Dc(this.Ia),this.Yb.top=this.ic.Ec(this.Ja),this.Yb.right=this.ic.Dc(this.Oa),this.Yb.bottom=this.ic.Ec(this.Na),this.je||!this.Yb.wj(this.ci)?(h(this.qf),c=this.Zp(),this.je=!1,this.ci.Dh(this.Yb)):c=this.qf):c=this.k;for(var e,d=null,b=c.length-
|
||||
1;0<=b;--b)e=c[b],e!==d&&(this.NB(c[b],a),d=e);this.vd&&(this.qf=c);this.ne||(this.up=this.b.Mg++,a.Kn(this.up),a.uw(1,1,1),a.su(),a.vE())};d.prototype.Rb=function(a){var c=0,b=0;if(this.Me=this.nm||1!==this.opacity||0<this.Ka.length||0!==this.mc){this.b.Mb||(this.b.Mb=a.ed(this.b.Z,this.b.Y,this.b.ab));if(this.b.Mb.Xd!==this.b.Z||this.b.Mb.Wd!==this.b.Y)a.deleteTexture(this.b.Mb),this.b.Mb=a.ed(this.b.Z,this.b.Y,this.b.ab);a.Hd(this.b.Mb);this.ne&&a.clear(0,0,0,0)}this.ne||(this.b.cb?(a.Kn(this.up),
|
||||
a.uw(this.Ud[0]/255,this.Ud[1]/255,this.Ud[2]/255),a.su(),a.ME()):a.clear(this.Ud[0]/255,this.Ud[1]/255,this.Ud[2]/255,1));this.ef=!0;var e=this.Ua(0,0,!0,!0),c=this.Ua(0,0,!1,!0);this.ef=!1;this.b.rd&&(e=Math.round(e),c=Math.round(c));this.Fn(e,c,null);e=this.$b();a.Gd();a.scale(e,e);a.Gn(-this.Jb());a.translate((this.Ia+this.Oa)/-2,(this.Ja+this.Na)/-2);a.ud();this.vd?(this.Yb.left=this.ic.Dc(this.Ia),this.Yb.top=this.ic.Ec(this.Ja),this.Yb.right=this.ic.Dc(this.Oa),this.Yb.bottom=this.ic.Ec(this.Na),
|
||||
this.je||!this.Yb.wj(this.ci)?(h(this.qf),c=this.Zp(),this.je=!1,this.ci.Dh(this.Yb)):c=this.qf):c=this.k;var d,n,f=null,b=0;for(d=c.length;b<d;++b)n=c[b],n!==f&&(this.MB(c[b],a),f=n);this.vd&&(this.qf=c);this.Me&&(c=this.Ka.length?this.Ka[0].Db:0,b=this.Ka.length?this.Ka[0].index:0,0===this.Ka.length||1===this.Ka.length&&!a.er(c)&&1===this.opacity?(1===this.Ka.length?(a.Rc(c),a.Ei(this.Nb.Dj(),1/this.b.Z,1/this.b.Y,0,0,1,1,e,this.Jb(),this.Ia,this.Ja,(this.Ia+this.Oa)/2,(this.Ja+this.Na)/2,this.b.Lb.P,
|
||||
this.nb[b]),a.zn(c)&&(this.b.ja=!0)):a.Rc(0),a.Hd(this.Nb.Dj()),a.xg(this.opacity),a.Cc(this.b.Mb),a.wg(this.xc,this.oc),a.Gd(),a.ud(),e=this.b.Z/2,c=this.b.Y/2,a.wi(-e,c,e,c,e,-c,-e,-c),a.Cc(null)):this.Nb.jr(a,this,null,this.Nb.Dj()))};d.prototype.MB=function(a,c){if(a.visible&&0!==a.width&&0!==a.height){a.xa();var b=a.ma;b.right<this.Ia||b.bottom<this.Ja||b.left>this.Oa||b.top>this.Na||(c.Kn(a.Mg),a.ix?this.OB(a,c):(c.Rc(0),c.wg(a.xc,a.oc),a.Rb(c)))}};d.prototype.NB=function(a,c){if(a.visible&&
|
||||
0!==a.width&&0!==a.height){a.xa();var b=a.ma;b.right<this.Ia||b.bottom<this.Ja||b.left>this.Oa||b.top>this.Na||(a.Mg=this.b.Mg++,0===a.mc&&1===a.opacity&&a.Df&&a.Kg&&(c.Kn(a.Mg),a.Kg(c)))}};d.prototype.OB=function(a,c){var b=a.Ka[0].Db,e=a.Ka[0].index,d=this.$b();if(1!==a.Ka.length||c.er(b)||c.oE(b)||(a.B||a.A.Jb())&&c.Ek(b)||1!==a.opacity||a.type.W.Kv)this.Nb.jr(c,this,a,this.Me?this.b.Mb:this.Nb.Dj()),c.Gd(),c.scale(d,d),c.Gn(-this.Jb()),c.translate((this.Ia+this.Oa)/-2,(this.Ja+this.Na)/-2),c.ud();
|
||||
else{c.Rc(b);c.wg(a.xc,a.oc);c.zn(b)&&(this.b.ja=!0);var h=0,n=0,p=0,f=0;c.Ek(b)&&(f=a.ma,h=this.Ma(f.left,f.top,!0,!0),n=this.Ma(f.left,f.top,!1,!0),p=this.Ma(f.right,f.bottom,!0,!0),f=this.Ma(f.right,f.bottom,!1,!0),h=h/windowWidth,n=1-n/windowHeight,p=p/windowWidth,f=1-f/windowHeight);var l;a.bb&&a.bb.qa?(l=a.bb.qa,b=1/l.width,l=1/l.height):(b=1/a.width,l=1/a.height);c.Ei(this.Me?this.b.Mb:this.Nb.Dj(),b,l,h,n,p,f,d,this.Jb(),this.Ia,this.Ja,(this.Ia+this.Oa)/2,(this.Ja+this.Na)/2,this.b.Lb.P,
|
||||
a.nb[e]);a.Rb(c)}};d.prototype.Ua=function(a,c,b,e){var d=this.b.devicePixelRatio;this.b.Zg&&(a*=d,c*=d);var d=this.b.cw,h=this.b.dw,d=(this.Nb.scrollX-d)*this.gc+d,h=(this.Nb.scrollY-h)*this.hc+h,n=d,p=h,f=1/this.$b(!e);e?(n-=this.b.Z*f/2,p-=this.b.Y*f/2):(n-=this.b.width*f/2,p-=this.b.height*f/2);n+=a*f;p+=c*f;c=this.Jb();0!==c&&(n-=d,p-=h,a=Math.cos(c),c=Math.sin(c),e=n*a-p*c,p=p*a+n*c,n=e+d,p+=h);return b?n:p};d.prototype.Ma=function(a,c,b,e){var d=this.b.cw,h=this.b.dw,n=(this.Nb.scrollX-d)*
|
||||
this.gc+d,p=(this.Nb.scrollY-h)*this.hc+h,h=n,d=p,f=this.Jb();if(0!==f){a-=n;c-=p;var l=Math.cos(-f),f=Math.sin(-f),k=a*l-c*f;c=c*l+a*f;a=k+n;c+=p}n=1/this.$b(!e);e?(h-=this.b.Z*n/2,d-=this.b.Y*n/2):(h-=this.b.width*n/2,d-=this.b.height*n/2);h=(a-h)/n;d=(c-d)/n;a=this.b.devicePixelRatio;this.b.Zg&&!e&&(h/=a,d/=a);return b?h:d};d.prototype.ua=function(){var a,c,b,e={s:this.scale,a:this.B,vl:this.Ia,vt:this.Ja,vr:this.Oa,vb:this.Na,v:this.visible,bc:this.Ud,t:this.ne,px:this.gc,py:this.hc,o:this.opacity,
|
||||
zr:this.sb,fx:[],cg:this.tj,instances:[]};a=0;for(c=this.ga.length;a<c;a++)b=this.ga[a],e.fx.push({name:b.name,active:b.Wa,params:this.nb[b.index]});return e};d.prototype.Ea=function(a){var c,b,e;this.scale=a.s;this.B=a.a;this.Ia=a.vl;this.Ja=a.vt;this.Oa=a.vr;this.Na=a.vb;this.visible=a.v;this.Ud=a.bc;this.ne=a.t;this.gc=a.px;this.hc=a.py;this.opacity=a.o;this.sb=a.zr;this.tj=a.cg||[];Ba(this.ld,this.Jw);var d=new ca;c=0;for(e=this.tj.length;c<e;++c)d.add(this.tj[c]);b=c=0;for(e=this.ld.length;c<
|
||||
e;++c)d.contains(this.ld[c][2])||(this.ld[b]=this.ld[c],++b);Aa(this.ld,b);b=a.fx;c=0;for(e=b.length;c<e;c++)if(a=this.Vp(b[c].name))a.Wa=b[c].active,this.nb[a.index]=b[c].params;this.oe();this.k.sort(k);this.rh=!0};Zb=d})();
|
||||
(function(){function f(c,a){var b,e=c.length;switch(e){case 0:return!0;case 1:return c[0]===a[0];case 2:return c[0]===a[0]&&c[1]===a[1];default:for(b=0;b<e;b++)if(c[b]!==a[b])return!1;return!0}}function k(c,a){return c.index-a.index}function d(c){var a,b,e,d;2===c.length?c[0].index>c[1].index&&(a=c[0],c[0]=c[1],c[1]=a):2<c.length&&c.sort(k);c.length>=r.length&&(r.length=c.length+1);r[c.length]||(r[c.length]=[]);d=r[c.length];a=0;for(b=d.length;a<b;a++)if(e=d[a],f(c,e))return e;d.push(c);return c}
|
||||
function l(c,a){this.b=c;this.Ww={};this.mu={};this.gq=!1;this.Ju=new ca;this.Bp=[];this.kp=[];this.name=a[0];var b=a[1];this.dg=[];var e,d;e=0;for(d=b.length;e<d;e++)this.Lu(b[e],null,this.dg)}function h(c){this.type=c;this.k=[];this.da=[];this.ca=!0}function b(c,a,b){this.sheet=c;this.parent=a;this.b=c.b;this.aa=[];this.yg=[];this.Cu=this.fo=this.Jr=this.Em=this.group=this.Cr=!1;this.Gb=[];this.Qd=[];this.Jd=[];this.Fj="";this.Nh=this.Em=this.group=!1;this.Rl=null;b[1]&&(this.Fj=b[1][1].toLowerCase(),
|
||||
this.group=!0,this.Em=!!b[1][0],this.Rl=[],this.Nh=this.Em,this.b.Vf.push(this),this.b.Gj[this.Fj]=this);this.qd=b[2];this.Aa=b[4];this.group||(this.b.Nt[this.Aa.toString()]=this);var e=b[5];c=0;for(a=e.length;c<a;c++){var d=new $b(this,e[c]);d.index=c;this.Gb.push(d);this.nt(d.type)}e=b[6];c=0;for(a=e.length;c<a;c++)d=new ec(this,e[c]),d.index=c,this.Qd.push(d);if(8===b.length)for(b=b[7],c=0,a=b.length;c<a;c++)this.sheet.Lu(b[c],this,this.Jd);this.Lm=!1;this.Gb.length&&(this.Lm=null==this.Gb[0].type&&
|
||||
this.Gb[0].Zb==H.prototype.e.qs)}function e(c,a){var b,e,d;if(c&&(-1===a.indexOf(c)&&a.push(c),c.uc))for(b=0,e=c.Uc.length;b<e;b++)d=c.Uc[b],c!==d&&-1===a.indexOf(d)&&a.push(d)}function a(c,a){this.dd=c;this.sheet=c.sheet;this.b=c.b;this.fa=[];this.pb=[];this.na={};this.index=-1;this.lj=!1;this.Zb=this.b.Of(a[1]);this.trigger=0<a[3];this.lu=2===a[3];this.Ee=a[4];this.Qh=a[5];this.yD=a[6];this.Aa=a[7];this.b.Yf[this.Aa.toString()]=this;-1===a[0]?(this.type=null,this.Cb=this.or,this.Fg=null,this.Vd=
|
||||
-1):(this.type=this.b.I[a[0]],this.Cb=this.yD?this.BE:this.nr,a[2]?(this.Fg=this.type.qm(a[2]),this.Vd=this.type.Tp(a[2])):(this.Fg=null,this.Vd=-1),this.dd.parent&&this.dd.parent.Nn());this.lu&&(this.Cb=this.CE);if(10===a.length){var b,e,d=a[9];b=0;for(e=d.length;b<e;b++){var g=new fc(this,d[b]);this.fa.push(g)}this.pb.length=d.length}}function n(c,a){this.dd=c;this.sheet=c.sheet;this.b=c.b;this.fa=[];this.pb=[];this.na={};this.index=-1;this.lj=!1;this.Zb=this.b.Of(a[1]);-1===a[0]?(this.type=null,
|
||||
this.Cb=this.or,this.Fg=null,this.Vd=-1):(this.type=this.b.I[a[0]],this.Cb=this.nr,a[2]?(this.Fg=this.type.qm(a[2]),this.Vd=this.type.Tp(a[2])):(this.Fg=null,this.Vd=-1));this.Aa=a[3];this.b.Sf[this.Aa.toString()]=this;if(6===a.length){var b,e,d=a[5];b=0;for(e=d.length;b<e;b++){var g=new fc(this,d[b]);this.fa.push(g)}this.pb.length=d.length}}function t(){D++;v.length===D&&v.push(new gc);return v[D]}function g(c,a){this.eb=c;this.dd=c.dd;this.sheet=c.sheet;this.b=c.b;this.type=a[0];this.we=null;this.Ef=
|
||||
0;this.get=null;this.Vt=0;this.Nb=null;this.key=0;this.object=null;this.index=0;this.cl=this.nh=this.cl=this.nh=this.qu=this.Qg=this.dl=null;this.Od=!1;var b,e,d;switch(a[0]){case 0:case 7:this.we=new hc(this,a[1]);this.Ef=0;this.get=this.VC;break;case 1:this.we=new hc(this,a[1]);this.Ef=0;this.get=this.WC;break;case 5:this.we=new hc(this,a[1]);this.Ef=0;this.get=this.$C;break;case 3:case 8:this.Vt=a[1];this.get=this.TC;break;case 6:this.Nb=this.b.di[a[1]];this.get=this.aD;break;case 9:this.key=a[1];
|
||||
this.get=this.ZC;break;case 4:this.object=this.b.I[a[1]];this.get=this.bD;this.dd.nt(this.object);this.eb instanceof ec?this.dd.Nn():this.dd.parent&&this.dd.parent.Nn();break;case 10:this.index=a[1];c.type&&c.type.V?(this.get=this.XC,this.Od=!0):this.get=this.YC;break;case 11:this.dl=a[1];this.Qg=null;this.get=this.UC;break;case 2:case 12:this.qu=a[1];this.get=this.SC;break;case 13:for(this.get=this.cD,this.nh=[],this.cl=[],b=1,e=a.length;b<e;b++)d=new fc(this.eb,a[b]),this.nh.push(d),this.cl.push(0)}}
|
||||
function c(c,a,b){this.sheet=c;this.parent=a;this.b=c.b;this.aa=[];this.name=b[1];this.el=b[2];this.jq=b[3];this.Sj=!!b[4];this.Km=!!b[5];this.Aa=b[6];this.b.Ri[this.Aa.toString()]=this;this.data=this.jq;this.parent?(this.gh=this.Sj||this.Km?-1:this.b.PE++,this.b.WA.push(this)):(this.gh=-1,this.b.VA.push(this))}function m(c,a,b){this.sheet=c;this.parent=a;this.b=c.b;this.aa=[];this.Ij=null;this.iD=b[1];this.Wa=!0}function q(){this.Lw=[];this.reset(null)}var r=[];l.prototype.toString=function(){return this.name};
|
||||
l.prototype.Lu=function(c,a,b){switch(c[0]){case 0:c=new ic(this,a,c);if(c.qd)for(b.push(c),b=0,a=c.Gb.length;b<a;b++)c.Gb[b].trigger&&this.Mu(c,b);else c.Yu()?this.Mu(c,0):b.push(c);break;case 1:c=new Wb(this,a,c);b.push(c);break;case 2:c=new jc(this,a,c),b.push(c)}};l.prototype.wb=function(){var c,a;c=0;for(a=this.dg.length;c<a;c++)this.dg[c].wb(c<a-1&&this.dg[c+1].Lm)};l.prototype.Or=function(){z(this.Bp);z(this.kp);this.mt(this);z(this.kp)};l.prototype.mt=function(c){var a,b,e,d,g=c.Bp,m=c.kp,
|
||||
q=this.Ju.Nd();a=0;for(b=q.length;a<b;++a)e=q[a],d=e.Ij,!e.Wa||c===d||-1<m.indexOf(d)||(m.push(d),d.mt(c),g.push(d))};l.prototype.Cb=function(c){this.b.SG||(this.gq=!0,c||(this.b.tq=!0));var a,b;a=0;for(b=this.dg.length;a<b;a++){var e=this.dg[a];e.Cb();this.b.tp(e.aa);this.b.ig&&this.b.lc()}c||(this.b.tq=!1)};l.prototype.Mu=function(c,a){c.qd||this.b.ko.push(c);var b,e,d=c.Gb[a],g;d.type?g=d.type.name:g="system";var m=(b=d.lu)?this.mu:this.Ww;m[g]||(m[g]=[]);g=m[g];m=d.Zb;if(b){if(d.fa.length&&(d=
|
||||
d.fa[0],1===d.type&&2===d.we.type)){d=d.we.value.toLowerCase();b=0;for(e=g.length;b<e;b++)if(g[b].method==m){b=g[b].xj;b[d]?b[d].push([c,a]):b[d]=[[c,a]];return}b={};b[d]=[[c,a]];g.push({method:m,xj:b})}}else{b=0;for(e=g.length;b<e;b++)if(g[b].method==m){g[b].xj.push([c,a]);return}I&&m===I.prototype.e.vh?g.unshift({method:m,xj:[[c,a]]}):g.push({method:m,xj:[[c,a]]})}};Mb=l;h.prototype.fq=function(){return this.ca?this.type.k.length:this.k.length};h.prototype.rc=function(){return this.ca?this.type.k:
|
||||
this.k};h.prototype.si=function(c){c&&(c.b.$a().Za.qd?(this.ca&&(z(this.k),Ba(this.da,c.type.k),this.ca=!1),c=this.da.indexOf(c),-1!==c&&(this.k.push(this.da[c]),this.da.splice(c,1))):(this.ca=!1,z(this.k),this.k[0]=c))};ub=h;window._c2hh_="0A37749F07F5299F0FD3E193906C65D1805C27FE";b.prototype.wb=function(c){var a,b=this.parent;if(this.group)for(this.fo=!0;b;){if(!b.group){this.fo=!1;break}b=b.parent}this.Jr=!this.Yu()&&(!this.parent||this.parent.group&&this.parent.fo);this.Cu=!!c;this.yg=this.aa.slice(0);
|
||||
for(b=this.parent;b;){c=0;for(a=b.aa.length;c<a;c++)this.TA(b.aa[c]);b=b.parent}this.aa=d(this.aa);this.yg=d(this.yg);c=0;for(a=this.Gb.length;c<a;c++)this.Gb[c].wb();c=0;for(a=this.Qd.length;c<a;c++)this.Qd[c].wb();c=0;for(a=this.Jd.length;c<a;c++)this.Jd[c].wb(c<a-1&&this.Jd[c+1].Lm)};b.prototype.yw=function(c){if(this.Nh!==!!c){this.Nh=!!c;var a;c=0;for(a=this.Rl.length;c<a;++c)this.Rl[c].ax();0<a&&this.b.ta.Pg&&this.b.ta.Pg.Or()}};b.prototype.nt=function(c){e(c,this.aa)};b.prototype.TA=function(c){e(c,
|
||||
this.yg)};b.prototype.Nn=function(){this.Cr=!0;this.parent&&this.parent.Nn()};b.prototype.Yu=function(){return this.Gb.length?this.Gb[0].trigger:!1};b.prototype.Cb=function(){var c,a,b=!1,e=this.b,d=this.b.$a();d.Za=this;var g=this.Gb;this.Lm||(d.Hp=!1);if(this.qd){0===g.length&&(b=!0);d.xb=0;for(c=g.length;d.xb<c;d.xb++)a=g[d.xb],a.trigger||(a=a.Cb())&&(b=!0);(d.ah=b)&&this.Hn()}else{d.xb=0;for(c=g.length;d.xb<c;d.xb++)if(a=g[d.xb].Cb(),!a){d.ah=!1;this.Jr&&e.ig&&e.lc();return}d.ah=!0;this.Hn()}this.SB(d)};
|
||||
b.prototype.SB=function(c){c.ah&&this.Cu&&(c.Hp=!0);this.Jr&&this.b.ig&&this.b.lc()};b.prototype.zE=function(c){this.b.$a().Za=this;this.Gb[c].Cb()&&(this.Hn(),this.b.$a().ah=!0)};b.prototype.Hn=function(){var c=this.b.$a(),a;c.zc=0;for(a=this.Qd.length;c.zc<a;c.zc++)if(this.Qd[c.zc].Cb())return;this.qw()};b.prototype.wE=function(){var c=this.b.$a(),a;for(a=this.Qd.length;c.zc<a;c.zc++)if(this.Qd[c.zc].Cb())return;this.qw()};b.prototype.qw=function(){if(this.Jd.length){var c,a,b,e,d=this.Jd.length-
|
||||
1;this.b.An(this);if(this.Cr)for(c=0,a=this.Jd.length;c<a;c++)b=this.Jd[c],(e=!this.fo||!this.group&&c<d)&&this.b.ie(b.aa),b.Cb(),e?this.b.bd(b.aa):this.b.tp(b.aa);else for(c=0,a=this.Jd.length;c<a;c++)this.Jd[c].Cb();this.b.wn()}};b.prototype.AE=function(){var c=this.b.$a();c.Za=this;var a=!1,b;c.xb=0;for(b=this.Gb.length;c.xb<b;c.xb++)if(this.Gb[c.xb].Cb())a=!0;else if(!this.qd)return!1;return this.qd?a:!0};b.prototype.td=function(){this.b.yj++;var c=this.b.$a().xb,a=this.b.An(this);if(!this.qd)for(a.xb=
|
||||
c+1,c=this.Gb.length;a.xb<c;a.xb++)if(!this.Gb[a.xb].Cb())return this.b.wn(),!1;this.Hn();this.b.wn();return!0};b.prototype.qD=function(c){var a=c.index;if(0===a)return!0;for(--a;0<=a;--a)if(this.Gb[a].type===c.type)return!1;return!0};ic=b;a.prototype.wb=function(){var c,a,b;c=0;for(a=this.fa.length;c<a;c++)b=this.fa[c],b.wb(),b.Od&&(this.lj=!0)};a.prototype.CE=function(){return!0};a.prototype.or=function(){var c,a;c=0;for(a=this.fa.length;c<a;c++)this.pb[c]=this.fa[c].get();return Va(this.Zb.apply(this.b.Pe,
|
||||
this.pb),this.Qh)};a.prototype.BE=function(){var c,a;c=0;for(a=this.fa.length;c<a;c++)this.pb[c]=this.fa[c].get();c=this.Zb.apply(this.Fg?this.Fg:this.type,this.pb);this.type.wd();return c};a.prototype.nr=function(){var c,a,b,e,d,g,m,q,h=this.type,n=h.ba(),f=this.dd.qd&&!this.trigger;a=0;var r=h.uc,l=h.V,k=h.lf,t=this.Vd,v=-1<t,D=this.lj,T=this.fa,L=this.pb,C=this.Qh,Y=this.Zb,F;if(D)for(a=0,d=T.length;a<d;++a)g=T[a],g.Od||(L[a]=g.get(0));else for(a=0,d=T.length;a<d;++a)L[a]=T[a].get(0);if(n.ca){z(n.k);
|
||||
z(n.da);F=h.k;c=0;for(e=F.length;c<e;++c){q=F[c];if(D)for(a=0,d=T.length;a<d;++a)g=T[a],g.Od&&(L[a]=g.get(c));v?(a=0,l&&(a=q.type.Kh[k]),a=Y.apply(q.X[t+a],L)):a=Y.apply(q,L);(m=Va(a,C))?n.k.push(q):f&&n.da.push(q)}h.finish&&h.finish(!0);n.ca=!1;h.wd();return n.fq()}b=0;F=(m=f&&!this.dd.qD(this))?n.da:n.k;var P=!1;c=0;for(e=F.length;c<e;++c){q=F[c];if(D)for(a=0,d=T.length;a<d;++a)g=T[a],g.Od&&(L[a]=g.get(c));v?(a=0,l&&(a=q.type.Kh[k]),a=Y.apply(q.X[t+a],L)):a=Y.apply(q,L);if(Va(a,C))if(P=!0,m){if(n.k.push(q),
|
||||
r)for(a=0,d=q.siblings.length;a<d;a++)g=q.siblings[a],g.type.ba().k.push(g)}else{F[b]=q;if(r)for(a=0,d=q.siblings.length;a<d;a++)g=q.siblings[a],g.type.ba().k[b]=g;b++}else if(m){F[b]=q;if(r)for(a=0,d=q.siblings.length;a<d;a++)g=q.siblings[a],g.type.ba().da[b]=g;b++}else if(f&&(n.da.push(q),r))for(a=0,d=q.siblings.length;a<d;a++)g=q.siblings[a],g.type.ba().da.push(g)}Aa(F,b);if(r)for(l=h.Uc,c=0,e=l.length;c<e;c++)q=l[c].ba(),m?Aa(q.da,b):Aa(q.k,b);b=P;if(m&&!P)for(c=0,e=n.k.length;c<e;c++){q=n.k[c];
|
||||
if(D)for(a=0,d=T.length;a<d;a++)g=T[a],g.Od&&(L[a]=g.get(c));a=v?Y.apply(q.X[t],L):Y.apply(q,L);if(Va(a,C)){P=!0;break}}h.finish&&h.finish(b||f);return f?P:n.fq()};$b=a;n.prototype.wb=function(){var c,a,b;c=0;for(a=this.fa.length;c<a;c++)b=this.fa[c],b.wb(),b.Od&&(this.lj=!0)};n.prototype.or=function(){var c=this.b,a,b,e=this.fa,d=this.pb;a=0;for(b=e.length;a<b;++a)d[a]=e[a].get();return this.Zb.apply(c.Pe,d)};n.prototype.nr=function(){var c=this.type,a=this.Vd,b=c.lf,e=this.lj,d=this.fa,g=this.pb,
|
||||
q=this.Zb,m=c.ba().rc(),c=c.V,h=-1<a,n,f,r,l,k,t;if(e)for(f=0,l=d.length;f<l;++f)k=d[f],k.Od||(g[f]=k.get(0));else for(f=0,l=d.length;f<l;++f)g[f]=d[f].get(0);n=0;for(r=m.length;n<r;++n){t=m[n];if(e)for(f=0,l=d.length;f<l;++f)k=d[f],k.Od&&(g[f]=k.get(n));h?(f=0,c&&(f=t.type.Kh[b]),q.apply(t.X[a+f],g)):q.apply(t,g)}return!1};ec=n;var v=[],D=-1;g.prototype.wb=function(){var c,a;if(11===this.type)this.Qg=this.b.xu(this.dl,this.dd.parent);else if(13===this.type)for(c=0,a=this.nh.length;c<a;c++)this.nh[c].wb();
|
||||
this.we&&this.we.wb()};g.prototype.LD=function(c){this.Od||!c||c.W.Rn||(this.Od=!0)};g.prototype.Bw=function(){this.Od=!0};g.prototype.VC=function(c){this.Ef=c||0;c=t();this.we.get(c);D--;return c.data};g.prototype.WC=function(c){this.Ef=c||0;c=t();this.we.get(c);D--;return ja(c.data)?c.data:""};g.prototype.bD=function(){return this.object};g.prototype.TC=function(){return this.Vt};g.prototype.$C=function(c){this.Ef=c||0;c=t();this.we.get(c);D--;return c.Tb()?this.b.Wc(c.data):this.b.hg(c.data)};
|
||||
g.prototype.aD=function(){return this.Nb};g.prototype.ZC=function(){return this.key};g.prototype.YC=function(){return this.index};g.prototype.XC=function(c){c=c||0;var a=this.eb.type,b=null,b=a.ba(),e=b.rc();if(e.length)b=e[c%e.length].type;else if(b.da.length)b=b.da[c%b.da.length].type;else if(a.k.length)b=a.k[c%a.k.length].type;else return 0;return this.index+b.gm[a.lf]};g.prototype.UC=function(){return this.Qg};g.prototype.SC=function(){return this.qu};g.prototype.cD=function(){var c,a;c=0;for(a=
|
||||
this.nh.length;c<a;c++)this.cl[c]=this.nh[c].get();return this.cl};fc=g;c.prototype.wb=function(){this.aa=d(this.aa)};c.prototype.Bf=function(c){var a=this.b.vu();this.parent&&!this.Sj&&a?(this.gh>=a.length&&(a.length=this.gh+1),a[this.gh]=c):this.data=c};c.prototype.Ug=function(){var c=this.b.vu();return!this.parent||this.Sj||!c||this.Km?this.data:this.gh>=c.length||"undefined"===typeof c[this.gh]?this.jq:c[this.gh]};c.prototype.Cb=function(){!this.parent||this.Sj||this.Km||this.Bf(this.jq)};Wb=
|
||||
c;m.prototype.toString=function(){return"include:"+this.Ij.toString()};m.prototype.wb=function(){this.Ij=this.b.Jp[this.iD];this.sheet.Ju.add(this);this.aa=d(this.aa);for(var c=this.parent;c;)c.group&&c.Rl.push(this),c=c.parent;this.ax()};m.prototype.Cb=function(){this.parent&&this.b.Fk(this.b.I);this.Ij.gq||this.Ij.Cb(!0);this.parent&&this.b.bd(this.b.I)};m.prototype.ax=function(){for(var c=this.parent;c;){if(c.group&&!c.Nh){this.Wa=!1;return}c=c.parent}this.Wa=!0};jc=m;q.prototype.reset=function(c){this.Za=
|
||||
c;this.zc=this.xb=0;z(this.Lw);this.Hp=this.ah=!1};q.prototype.Jm=function(){return this.Za.Cr?!0:this.xb<this.Za.Gb.length-1?!!this.Za.aa.length:!1};Vb=q})();
|
||||
(function(){function f(b,a){this.eb=b;this.b=b.b;this.type=a[0];this.get=[this.jC,this.fC,this.sC,this.vC,this.VB,this.tC,this.nC,this.cC,this.mC,this.rC,this.WB,this.qC,this.dC,this.oC,this.kC,this.lC,this.gC,this.hC,this.bC,this.uC,this.pC,this.iC,this.aC,this.eC][this.type];var d=null;this.uf=this.fa=this.pb=this.Zb=this.eo=this.second=this.first=this.value=null;this.Vd=-1;this.$d=null;this.jx=-1;this.Qg=this.dl=null;this.Ai=!1;switch(this.type){case 0:case 1:case 2:this.value=a[1];break;case 3:this.first=
|
||||
new hc(b,a[1]);break;case 18:this.first=new hc(b,a[1]);this.second=new hc(b,a[2]);this.eo=new hc(b,a[3]);break;case 19:this.Zb=this.b.Of(a[1]);this.Zb!==H.prototype.n.random&&this.Zb!==H.prototype.n.hB||this.eb.Bw();this.pb=[];this.fa=[];3===a.length?(d=a[2],this.pb.length=d.length+1):this.pb.length=1;break;case 20:this.uf=this.b.I[a[1]];this.Vd=-1;this.Zb=this.b.Of(a[2]);this.Ai=a[3];vc&&this.Zb===vc.prototype.n.gs&&this.eb.Bw();a[4]?this.$d=new hc(b,a[4]):this.$d=null;this.pb=[];this.fa=[];6===
|
||||
a.length?(d=a[5],this.pb.length=d.length+1):this.pb.length=1;break;case 21:this.uf=this.b.I[a[1]];this.Ai=a[2];a[3]?this.$d=new hc(b,a[3]):this.$d=null;this.jx=a[4];break;case 22:this.uf=this.b.I[a[1]];this.uf.qm(a[2]);this.Vd=this.uf.Tp(a[2]);this.Zb=this.b.Of(a[3]);this.Ai=a[4];a[5]?this.$d=new hc(b,a[5]):this.$d=null;this.pb=[];this.fa=[];7===a.length?(d=a[6],this.pb.length=d.length+1):this.pb.length=1;break;case 23:this.dl=a[1],this.Qg=null}this.eb.LD(this.uf);4<=this.type&&17>=this.type&&(this.first=
|
||||
new hc(b,a[1]),this.second=new hc(b,a[2]));if(d){var h,g;h=0;for(g=d.length;h<g;h++)this.fa.push(new hc(b,d[h]))}}function k(){++b;h.length===b&&h.push(new gc);return h[b]}function d(b,a,d){var h,g;h=0;for(g=b.length;h<g;++h)b[h].get(d),a[h+1]=d.data}function l(b,a){this.type=b||kc.uh;this.data=a||0;this.jh=null;this.type==kc.uh&&(this.data=Math.floor(this.data))}f.prototype.wb=function(){23===this.type&&(this.Qg=this.eb.b.xu(this.dl,this.eb.dd.parent));this.first&&this.first.wb();this.second&&this.second.wb();
|
||||
this.eo&&this.eo.wb();this.$d&&this.$d.wb();if(this.fa){var b,a;b=0;for(a=this.fa.length;b<a;b++)this.fa[b].wb()}};var h=[],b=-1;f.prototype.uC=function(e){var a=this.fa,h=this.pb;h[0]=e;e=k();d(a,h,e);--b;this.Zb.apply(this.b.Pe,h)};f.prototype.pC=function(e){var a=this.uf,h=this.pb,f=this.fa,g=this.$d,c=this.Zb,m=this.eb.Ef,q=a.ba(),l=q.rc();if(!l.length)if(q.da.length)l=q.da;else{this.Ai?e.M(""):e.J(0);return}h[0]=e;e.jh=a;e=k();d(f,h,e);g&&(g.get(e),e.Tb()&&(m=e.data,l=a.k));--b;a=l.length;if(m>=
|
||||
a||m<=-a)m%=a;0>m&&(m+=a);c.apply(l[m],h)};f.prototype.aC=function(e){var a=this.uf,h=this.pb,f=this.fa,g=this.$d,c=this.Vd,m=this.Zb,q=this.eb.Ef,l=a.ba(),v=l.rc();if(!v.length)if(l.da.length)v=l.da;else{this.Ai?e.M(""):e.J(0);return}h[0]=e;e.jh=a;e=k();d(f,h,e);g&&(g.get(e),e.Tb()&&(q=e.data,v=a.k));--b;f=v.length;if(q>=f||q<=-f)q%=f;0>q&&(q+=f);q=v[q];v=0;a.V&&(v=q.type.Kh[a.lf]);m.apply(q.X[c+v],h)};f.prototype.iC=function(e){var a=this.$d,d=this.uf,h=this.jx,g=this.eb.Ef,c=d.ba(),m=c.rc();if(!m.length)if(c.da.length)m=
|
||||
c.da;else{this.Ai?e.M(""):e.J(0);return}if(a){c=k();a.get(c);if(c.Tb()){g=c.data;m=d.k;0!==m.length&&(g%=m.length,0>g&&(g+=m.length));g=d.Xp(g);d=g.Kb[h];ja(d)?e.M(d):e.C(d);--b;return}--b}a=m.length;if(g>=a||g<=-a)g%=a;0>g&&(g+=a);g=m[g];m=0;d.V&&(m=g.type.gm[d.lf]);d=g.Kb[h+m];ja(d)?e.M(d):e.C(d)};f.prototype.jC=function(b){b.type=kc.uh;b.data=this.value};f.prototype.fC=function(b){b.type=kc.sh;b.data=this.value};f.prototype.sC=function(b){b.type=kc.String;b.data=this.value};f.prototype.vC=function(b){this.first.get(b);
|
||||
b.Tb()&&(b.data=-b.data)};f.prototype.VB=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data+=a.data,a.Vh()&&e.gi());--b};f.prototype.tC=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data-=a.data,a.Vh()&&e.gi());--b};f.prototype.nC=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data*=a.data,a.Vh()&&e.gi());--b};f.prototype.cC=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data/=
|
||||
a.data,e.gi());--b};f.prototype.mC=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data%=a.data,a.Vh()&&e.gi());--b};f.prototype.rC=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data=Math.pow(e.data,a.data),a.Vh()&&e.gi());--b};f.prototype.WB=function(e){this.first.get(e);var a=k();this.second.get(a);a.Yh()||e.Yh()?this.YB(e,a):this.XB(e,a);--b};f.prototype.YB=function(b,a){b.Yh()&&a.Yh()?this.$B(b,a):this.ZB(b,a)};f.prototype.$B=function(b,
|
||||
a){b.data+=a.data};f.prototype.ZB=function(b,a){b.Yh()?b.data+=(Math.round(1E10*a.data)/1E10).toString():b.M(b.data.toString()+a.data)};f.prototype.XB=function(b,a){b.J(b.data&&a.data?1:0)};f.prototype.qC=function(e){this.first.get(e);var a=k();this.second.get(a);e.Tb()&&a.Tb()&&(e.data||a.data?e.J(1):e.J(0));--b};f.prototype.bC=function(b){this.first.get(b);b.data?this.second.get(b):this.eo.get(b)};f.prototype.dC=function(e){this.first.get(e);var a=k();this.second.get(a);e.J(e.data===a.data?1:0);
|
||||
--b};f.prototype.oC=function(e){this.first.get(e);var a=k();this.second.get(a);e.J(e.data!==a.data?1:0);--b};f.prototype.kC=function(e){this.first.get(e);var a=k();this.second.get(a);e.J(e.data<a.data?1:0);--b};f.prototype.lC=function(e){this.first.get(e);var a=k();this.second.get(a);e.J(e.data<=a.data?1:0);--b};f.prototype.gC=function(e){this.first.get(e);var a=k();this.second.get(a);e.J(e.data>a.data?1:0);--b};f.prototype.hC=function(e){this.first.get(e);var a=k();this.second.get(a);e.J(e.data>=
|
||||
a.data?1:0);--b};f.prototype.eC=function(b){var a=this.Qg.Ug();ia(a)?b.C(a):b.M(a)};hc=f;l.prototype.Vh=function(){return this.type===kc.sh};l.prototype.Tb=function(){return this.type===kc.uh||this.type===kc.sh};l.prototype.Yh=function(){return this.type===kc.String};l.prototype.gi=function(){this.Vh()||(this.Yh()&&(this.data=parseFloat(this.data)),this.type=kc.sh)};l.prototype.J=function(b){this.type=kc.uh;this.data=Math.floor(b)};l.prototype.C=function(b){this.type=kc.sh;this.data=b};l.prototype.M=
|
||||
function(b){this.type=kc.String;this.data=b};l.prototype.Cf=function(b){ia(b)?(this.type=kc.sh,this.data=b):ja(b)?(this.type=kc.String,this.data=b.toString()):(this.type=kc.uh,this.data=0)};gc=l;kc={uh:0,sh:1,String:2}})();function H(f){this.b=f;this.kc=[]}
|
||||
H.prototype.ua=function(){var f={},k,d,l,h,b,e,a,n;f.waits=[];var t=f.waits,g;k=0;for(d=this.kc.length;k<d;k++){e=this.kc[k];g={t:e.time,st:e.Qn,s:e.Rk,ev:e.Og.Aa,sm:[],sols:{}};e.Og.Qd[e.zc]&&(g.act=e.Og.Qd[e.zc].Aa);l=0;for(h=e.aa.length;l<h;l++)g.sm.push(e.aa[l].Aa);for(b in e.wc)if(e.wc.hasOwnProperty(b)){a=this.b.I[parseInt(b,10)];n={sa:e.wc[b].Lk,insts:[]};l=0;for(h=e.wc[b].ze.length;l<h;l++)n.insts.push(e.wc[b].ze[l].uid);g.sols[a.Aa.toString()]=n}t.push(g)}return f};
|
||||
H.prototype.Ea=function(f){f=f.waits;var k,d,l,h,b,e,a,n,t,g,c;z(this.kc);k=0;for(d=f.length;k<d;k++)if(e=f[k],n=this.b.Nt[e.ev.toString()]){t=-1;l=0;for(h=n.Qd.length;l<h;l++)if(n.Qd[l].Aa===e.act){t=l;break}if(-1!==t){a={wc:{},aa:[],Cp:!1};a.time=e.t;a.Qn=e.st||"";a.Rk=!!e.s;a.Og=n;a.zc=t;l=0;for(h=e.sm.length;l<h;l++)(n=this.b.wm(e.sm[l]))&&a.aa.push(n);for(b in e.sols)if(e.sols.hasOwnProperty(b)&&(n=this.b.wm(parseInt(b,10)))){t=e.sols[b];g={Lk:t.sa,ze:[]};l=0;for(h=t.insts.length;l<h;l++)(c=
|
||||
this.b.vm(t.insts[l]))&&g.ze.push(c);a.wc[n.index.toString()]=g}this.kc.push(a)}}};
|
||||
(function(){function f(){}function k(c,a){var b=c.na.c2_feo_val,e=a.na.c2_feo_val;if(ia(b)&&ia(e))return b-e;b=""+b;e=""+e;return b<e?-1:b>e?1:0}function d(){}function l(){var c;t.length?c=t.pop():c={wc:{},aa:[]};c.Cp=!1;return c}function h(){var c;g.length?c=g.pop():c={ze:[]};c.Lk=!1;return c}function b(){}var e=H.prototype;f.prototype.Ox=function(){return!0};f.prototype.Ns=function(){return!0};f.prototype.Ms=function(){return!0};f.prototype.Ex=function(c,a,b){return lc(c,a,b)};f.prototype.By=function(c){return c?
|
||||
c.visible:!1};f.prototype.IA=function(){var c=this.b.$a(),a=c.Za,b=c.Jm(),c=this.b.Gk();if(b)for(b=0;!c.Va;b++)this.b.ie(a.aa),c.index=b,a.td()||(c.Va=!0),this.b.bd(a.aa);else for(b=0;!c.Va;b++)c.index=b,a.td()||(c.Va=!0);this.b.Dk();return!1};f.prototype.Vx=function(c,a,b){var e=this.b.$a(),d=e.Za,e=e.Jm();c=this.b.Gk(c);if(b<a)if(e)for(;a>=b&&!c.Va;--a)this.b.ie(d.aa),c.index=a,d.td(),this.b.bd(d.aa);else for(;a>=b&&!c.Va;--a)c.index=a,d.td();else if(e)for(;a<=b&&!c.Va;++a)this.b.ie(d.aa),c.index=
|
||||
a,d.td(),this.b.bd(d.aa);else for(;a<=b&&!c.Va;++a)c.index=a,d.td();this.b.Dk();return!1};var a=[],n=-1;f.prototype.Jo=function(c){var b=c.ba();n++;a.length===n&&a.push([]);var e=a[n];Ba(e,b.rc());var d=this.b.$a(),g=d.Za,h=d.Jm(),d=this.b.Gk(),f,l,k,t,E,u,x=c.uc;if(h)for(h=0,f=e.length;h<f&&!d.Va;h++){this.b.ie(g.aa);t=e[h];b=c.ba();b.ca=!1;z(b.k);b.k[0]=t;if(x)for(l=0,k=t.siblings.length;l<k;l++)E=t.siblings[l],u=E.type.ba(),u.ca=!1,z(u.k),u.k[0]=E;d.index=h;g.td();this.b.bd(g.aa)}else for(b.ca=
|
||||
!1,z(b.k),h=0,f=e.length;h<f&&!d.Va;h++){t=e[h];b.k[0]=t;if(x)for(l=0,k=t.siblings.length;l<k;l++)E=t.siblings[l],u=E.type.ba(),u.ca=!1,z(u.k),u.k[0]=E;d.index=h;g.td()}z(e);this.b.Dk();n--;return!1};f.prototype.Xx=function(c,b,e){b=c.ba();n++;a.length===n&&a.push([]);var d=a[n];Ba(d,b.rc());var g=this.b.$a(),h=g.Za,f=this.b.fg(),l=g.Jm(),g=this.b.Gk(),t,w,E,u,x;t=0;for(w=d.length;t<w;t++)d[t].na.c2_feo_val=f.fa[1].get(t);d.sort(k);1===e&&d.reverse();e=c.uc;if(l)for(t=0,w=d.length;t<w&&!g.Va;t++){this.b.ie(h.aa);
|
||||
E=d[t];b=c.ba();b.ca=!1;z(b.k);b.k[0]=E;if(e)for(f=0,l=E.siblings.length;f<l;f++)u=E.siblings[f],x=u.type.ba(),x.ca=!1,z(x.k),x.k[0]=u;g.index=t;h.td();this.b.bd(h.aa)}else for(b.ca=!1,z(b.k),t=0,w=d.length;t<w&&!g.Va;t++){E=d[t];b.k[0]=E;if(e)for(f=0,l=E.siblings.length;f<l;f++)u=E.siblings[f],x=u.type.ba(),x.ca=!1,z(x.k),x.k[0]=u;g.index=t;h.td()}z(d);this.b.Dk();n--;return!1};f.prototype.xz=function(c,b,e,d){var g,h,f,l;if(c){n++;a.length===n&&a.push([]);var k=a[n],t=c.ba();Ba(k,t.rc());t.ca&&
|
||||
z(t.da);var E=this.b.fg();f=g=0;for(h=k.length;g<h;g++)l=k[g],k[f]=l,b=E.fa[1].get(g),d=E.fa[3].get(g),lc(b,e,d)?f++:t.da.push(l);Aa(k,f);t.ca=!1;Ba(t.k,k);z(k);n--;c.wd();return!!t.k.length}};f.prototype.yz=function(c,b){var e,d,g,h;if(c){n++;a.length===n&&a.push([]);var f=a[n],l=c.ba();Ba(f,l.rc());l.ca&&z(l.da);var k=this.b.fg();g=e=0;for(d=f.length;e<d;e++)h=f[e],f[g]=h,(b=k.fa[1].get(e))?g++:l.da.push(h);Aa(f,g);l.ca=!1;Ba(l.k,f);z(f);n--;c.wd();return!!l.k.length}};f.prototype.DA=function(){var c=
|
||||
this.b.fg().na;"undefined"===typeof c.TriggerOnce_lastTick&&(c.TriggerOnce_lastTick=-1);var a=c.TriggerOnce_lastTick,b=this.b.Qe;c.TriggerOnce_lastTick=b;return this.b.Bq||a!==b-1};f.prototype.Nx=function(c){var a=this.b.fg(),b=a.na.Every_lastTime||0,e=this.b.Lb.P;"undefined"===typeof a.na.Every_seconds&&(a.na.Every_seconds=c);var d=a.na.Every_seconds;if(e>=b+d)return a.na.Every_lastTime=b+d,e>=a.na.Every_lastTime+.04&&(a.na.Every_lastTime=e),a.na.Every_seconds=c,!0;e<b-.1&&(a.na.Every_lastTime=e);
|
||||
return!1};f.prototype.Bz=function(c){if(!c)return!1;var a=c.ba(),b=a.rc(),e=ra(Math.random()*b.length);if(e>=b.length)return!1;a.si(b[e]);c.wd();return!0};f.prototype.Hx=function(c,a,b){return lc(c.Ug(),a,b)};f.prototype.jy=function(c){return(c=this.b.Gj[c.toLowerCase()])&&c.Nh};f.prototype.my=function(){return this.b.Ae};f.prototype.qs=function(){var c=this.b.$a();return c.Hp?!1:!c.ah};f.prototype.Po=function(){return!0};f.prototype.Ty=function(){return!0};f.prototype.Qo=function(){return!0};f.prototype.Vs=
|
||||
function(){return!0};f.prototype.fz=function(){return!0};f.prototype.wl=function(){return!0};f.prototype.qx=function(c,a,b){return Oa(A(c),A(b))<=A(a)};f.prototype.fy=function(c,a){return Qa(A(c),A(a))};f.prototype.vs=function(c,a,b){c=Ka(c);a=Ka(a);b=Ka(b);return Qa(b,a)?Qa(c,a)&&!Qa(c,b):!(!Qa(c,a)&&Qa(c,b))};e.e=new f;d.prototype.Jx=function(c,a,b,e){if(a&&c&&(a=this.b.xp(c,a,b,e))){this.b.be++;var d;this.b.trigger(Object.getPrototypeOf(c.W).e.Ue,a);if(a.uc)for(b=0,e=a.siblings.length;b<e;b++)d=
|
||||
a.siblings[b],this.b.trigger(Object.getPrototypeOf(d.type.W).e.Ue,d);this.b.be--;c=c.ba();c.ca=!1;z(c.k);c.k[0]=a;if(a.uc)for(b=0,e=a.siblings.length;b<e;b++)d=a.siblings[b],c=d.type.ba(),c.ca=!1,z(c.k),c.k[0]=d}};d.prototype.Zz=function(c,a){c&&c.visible!==a&&(c.visible=a,this.b.ja=!0)};d.prototype.jA=function(c,a){0===c.el?ia(a)?c.Bf(a):c.Bf(parseFloat(a)):1===c.el&&c.Bf(a.toString())};d.prototype.ox=function(c,a){0===c.el?ia(a)?c.Bf(c.Ug()+a):c.Bf(c.Ug()+parseFloat(a)):1===c.el&&c.Bf(c.Ug()+a.toString())};
|
||||
d.prototype.wA=function(c,a){0===c.el&&(ia(a)?c.Bf(c.Ug()-a):c.Bf(c.Ug()-parseFloat(a)))};d.prototype.iA=function(c){0>c&&(c=0);this.b.If=c};var t=[],g=[];d.prototype.GA=function(c){if(!(0>c)){var a,b,e,d=this.b.$a(),g=l();g.time=this.b.Lb.P+c;g.Qn="";g.Rk=!1;g.Og=d.Za;g.zc=d.zc+1;c=0;for(a=this.b.I.length;c<a;c++)e=this.b.I[c],b=e.ba(),b.ca&&-1===d.Za.aa.indexOf(e)||(g.aa.push(e),e=h(),e.Lk=b.ca,Ba(e.ze,b.k),g.wc[c.toString()]=e);this.kc.push(g);return!0}};d.prototype.HA=function(c){var a,b,e,d=
|
||||
this.b.$a(),g=l();g.time=-1;g.Qn=c.toLowerCase();g.Rk=!1;g.Og=d.Za;g.zc=d.zc+1;c=0;for(a=this.b.I.length;c<a;c++)e=this.b.I[c],b=e.ba(),b.ca&&-1===d.Za.aa.indexOf(e)||(g.aa.push(e),e=h(),e.Lk=b.ca,Ba(e.ze,b.k),g.wc[c.toString()]=e);this.kc.push(g);return!0};d.prototype.mA=function(c){c=c.toLowerCase();var a,b,e;a=0;for(b=this.kc.length;a<b;++a)e=this.kc[a],-1===e.time&&e.Qn===c&&(e.Rk=!0)};d.prototype.sA=function(){0>this.b.fi||(this.b.Up().Va=!0)};d.prototype.$x=function(a){if(!this.b.$h&&!this.b.Gg)for(var b in this.b.di)if(this.b.di.hasOwnProperty(b)&&
|
||||
lb(b,a)){this.b.Gg=this.b.di[b];break}};d.prototype.Lz=function(){if(!this.b.$h&&!this.b.Gg&&this.b.ta){this.b.Gg=this.b.ta;var a,b,e;a=0;for(b=this.b.Vf.length;a<b;a++)e=this.b.Vf[a],e.yw(e.Em)}};e.m=new d;b.prototype["int"]=function(a,b){ja(b)?(a.J(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.J(b)};b.prototype["float"]=function(a,b){ja(b)?(a.C(parseFloat(b)),isNaN(a.data)&&(a.data=0)):a.C(b)};b.prototype.CD=function(a,b){a.J(b.length||0)};b.prototype.random=function(a,b,e){void 0===e?a.C(Math.random()*
|
||||
b):a.C(Math.random()*(e-b)+b)};b.prototype.sqrt=function(a,b){a.C(Math.sqrt(b))};b.prototype.abs=function(a,b){a.C(Math.abs(b))};b.prototype.round=function(a,b){a.J(Math.round(b))};b.prototype.floor=function(a,b){a.J(Math.floor(b))};b.prototype.ceil=function(a,b){a.J(Math.ceil(b))};b.prototype.sin=function(a,b){a.C(Math.sin(A(b)))};b.prototype.cos=function(a,b){a.C(Math.cos(A(b)))};b.prototype.tan=function(a,b){a.C(Math.tan(A(b)))};b.prototype.asin=function(a,b){a.C(Ga(Math.asin(b)))};b.prototype.acos=
|
||||
function(a,b){a.C(Ga(Math.acos(b)))};b.prototype.atan=function(a,b){a.C(Ga(Math.atan(b)))};b.prototype.exp=function(a,b){a.C(Math.exp(b))};b.prototype.ED=function(a,b){a.C(Math.log(b))};b.prototype.log10=function(a,b){a.C(Math.log(b)/Math.LN10)};b.prototype.max=function(a){var b=arguments[1];"number"!==typeof b&&(b=0);var e,d,g;e=2;for(d=arguments.length;e<d;e++)g=arguments[e],"number"===typeof g&&b<g&&(b=g);a.C(b)};b.prototype.min=function(a){var b=arguments[1];"number"!==typeof b&&(b=0);var e,d,
|
||||
g;e=2;for(d=arguments.length;e<d;e++)g=arguments[e],"number"===typeof g&&b>g&&(b=g);a.C(b)};b.prototype.gf=function(a){a.C(this.b.gf)};b.prototype.If=function(a){a.C(this.b.If)};b.prototype.time=function(a){a.C(this.b.Lb.P)};b.prototype.Qe=function(a){a.J(this.b.Qe)};b.prototype.an=function(a){a.J(this.b.an)};b.prototype.Pp=function(a){a.J(this.b.Pp)};b.prototype.HD=function(a,b){var e,d;if(this.b.qk.length)if(b){for(d=this.b.fi;0<=d;--d)if(e=this.b.qk[d],e.name===b){a.J(e.index);return}a.J(0)}else e=
|
||||
this.b.Up(),a.J(e?e.index:-1);else a.J(0)};b.prototype.sB=function(a,b,e,d,g){a.C(Ua(b,e,d,g))};b.prototype.B=function(a,b,e,d,g){a.C(Ga(La(b,e,d,g)))};b.prototype.FE=function(a){a.C(this.b.ta.scrollX)};b.prototype.GE=function(a){a.C(this.b.ta.scrollY)};b.prototype.DD=function(a,b,e,d){a.C(Wa(b,e,d))};b.prototype.ID=function(a,b){a.M(ja(b)?b.toLowerCase():"")};b.prototype.iB=function(a,b,e,d){b<e?a.C(e):b>d?a.C(d):a.C(b)};b.prototype.BD=function(a){a.J(this.b.ta.width)};b.prototype.zD=function(a){a.J(this.b.ta.height)};
|
||||
b.prototype.left=function(a,b,e){a.M(ja(b)?b.substr(0,e):"")};b.prototype.right=function(a,b,e){a.M(ja(b)?b.substr(b.length-e):"")};b.prototype.ZE=function(a,b,e,d){ja(b)&&ja(d)?(b=b.split(d),e=ra(e),0>e||e>=b.length?a.M(""):a.M(b[e])):a.M("")};b.prototype.$E=function(a,b,e){ja(b)&&b.length?a.J(b.split(e).length):a.J(0)};b.prototype.replace=function(a,b,e,d){ja(b)&&ja(e)&&ja(d)?a.M(b.replace(new RegExp(eb(e),"gi"),d)):a.M(ja(b)?b:"")};b.prototype.trim=function(a,b){a.M(ja(b)?b.trim():"")};b.prototype.AD=
|
||||
function(a){this.b.ta?a.M(this.b.ta.name):a.M("")};b.prototype.hB=function(a){var b=ra(Math.random()*(arguments.length-1));a.Cf(arguments[b+1])};b.prototype.vp=function(a){a.C(this.b.vp/1E3)};b.prototype.iF=function(a,b){var e=this.b.rm(b);a.C(e?e.Ia:0)};b.prototype.kF=function(a,b){var e=this.b.rm(b);a.C(e?e.Ja:0)};b.prototype.jF=function(a,b){var e=this.b.rm(b);a.C(e?e.Oa:0)};b.prototype.hF=function(a,b){var e=this.b.rm(b);a.C(e?e.Na:0)};b.prototype.dh=function(a){a.C(this.b.dh)};b.prototype.cF=
|
||||
function(a,b){a.M(encodeURIComponent(b))};e.n=new b;e.yE=function(){var a,b,e,d,h,f,n=this.b.$a();a=0;for(e=this.kc.length;a<e;a++){d=this.kc[a];if(-1===d.time){if(!d.Rk)continue}else if(d.time>this.b.Lb.P)continue;n.Za=d.Og;n.zc=d.zc;n.xb=0;for(b in d.wc)d.wc.hasOwnProperty(b)&&(h=this.b.I[parseInt(b,10)].ba(),f=d.wc[b],h.ca=f.Lk,Ba(h.k,f.ze),h=f,z(h.ze),g.push(h));d.Og.wE();this.b.tp(d.aa);d.Cp=!0}b=a=0;for(e=this.kc.length;a<e;a++)d=this.kc[a],this.kc[b]=d,d.Cp?(Ya(d.wc),z(d.aa),t.push(d)):b++;
|
||||
Aa(this.kc,b)}})();
|
||||
(function(){tb=function(f,d){var l=f[1],h=f[3],b=f[4],e=f[5],a=f[6],n=f[7],t=f[8];d.e||(d.e={});d.m||(d.m={});d.n||(d.n={});var g=d.e,c=d.m,m=d.n;h&&(g.ks=function(a,c){return lc(this.x,a,c)},g.ls=function(a,c){return lc(this.y,a,c)},g.IF=function(){var a=this.A;this.xa();var c=this.ma;return!(c.right<a.Ia||c.bottom<a.Ja||c.left>a.Oa||c.top>a.Na)},g.oy=function(){this.xa();var a=this.ma,c=this.b.ta;return 0>a.right||0>a.bottom||a.left>c.width||a.top>c.height},g.zz=function(a,c,b){var e=this.ba(),
|
||||
d=e.rc();if(!d.length)return!1;var g=d[0],h=g,f=Ua(g.x,g.y,c,b),n,m,l;n=1;for(m=d.length;n<m;n++)if(g=d[n],l=Ua(g.x,g.y,c,b),0===a&&l<f||1===a&&l>f)f=l,h=g;e.si(h);return!0},c.dj=function(a){this.x!==a&&(this.x=a,this.wa())},c.bp=function(a){this.y!==a&&(this.y=a,this.wa())},c.cj=function(a,c){if(this.x!==a||this.y!==c)this.x=a,this.y=c,this.wa()},c.bt=function(a,c){var b=a.NC(this);if(b){var e;b.Cj?(e=b.Cj(c,!0),b=b.Cj(c,!1)):(e=b.x,b=b.y);if(this.x!==e||this.y!==b)this.x=e,this.y=b,this.wa()}},
|
||||
c.PF=function(a){0!==a&&(this.x+=Math.cos(this.B)*a,this.y+=Math.sin(this.B)*a,this.wa())},c.Ey=function(a,c){0!==c&&(this.x+=Math.cos(A(a))*c,this.y+=Math.sin(A(a))*c,this.wa())},m.hj=function(a){a.C(this.x)},m.ij=function(a){a.C(this.y)},m.gf=function(a){a.C(this.b.Zd(this))});b&&(g.qF=function(a,c){return lc(this.width,a,c)},g.oF=function(a,c){return lc(this.height,a,c)},c.$o=function(a){this.width!==a&&(this.width=a,this.wa())},c.Zs=function(a){this.height!==a&&(this.height=a,this.wa())},c.Bg=
|
||||
function(a,c){if(this.width!==a||this.height!==c)this.width=a,this.height=c,this.wa()},m.gj=function(a){a.C(this.width)},m.nl=function(a){a.C(this.height)},m.Fo=function(a){this.xa();a.C(this.ma.left)},m.Ho=function(a){this.xa();a.C(this.ma.top)},m.Go=function(a){this.xa();a.C(this.ma.right)},m.Eo=function(a){this.xa();a.C(this.ma.bottom)});e&&(g.qx=function(a,c){return Oa(this.B,A(c))<=A(a)},g.fy=function(a){return Qa(this.B,A(a))},g.vs=function(a,c){var b=Ka(a),e=Ka(c),d=Ia(this.B);return Qa(e,
|
||||
b)?Qa(d,b)&&!Qa(d,e):!(!Qa(d,b)&&Qa(d,e))},c.Pz=function(a){a=A(Ha(a));isNaN(a)||this.B===a||(this.B=a,this.wa())},c.Mz=function(a){0===a||isNaN(a)||(this.B+=A(a),this.B=Ia(this.B),this.wa())},c.WF=function(a){0===a||isNaN(a)||(this.B-=A(a),this.B=Ia(this.B),this.wa())},c.XF=function(a,c){var b=Pa(this.B,A(c),A(a));isNaN(b)||this.B===b||(this.B=b,this.wa())},c.YF=function(a,c,b){a=Pa(this.B,Math.atan2(b-this.y,c-this.x),A(a));isNaN(a)||this.B===a||(this.B=a,this.wa())},c.oG=function(a,c){var b=Math.atan2(c-
|
||||
this.y,a-this.x);isNaN(b)||this.B===b||(this.B=b,this.wa())},m.nF=function(a){a.C(Ja(this.B))});l||(g.ml=function(a,c,b){return lc(this.Kb[a],c,b)},g.Ko=function(a){return this.Kb[a]},g.Az=function(a,c){var b=this.ba(),e=b.rc();if(!e.length)return!1;var d=e[0],g=d,h=d.Kb[c],f,n,m;f=1;for(n=e.length;f<n;f++)if(d=e[f],m=d.Kb[c],0===a&&m<h||1===a&&m>h)h=m,g=d;b.si(g);return!0},g.Vo=function(a){var c,b,e,d,g;if(this.b.fg().Qh){g=this.ba();if(g.ca)for(g.ca=!1,z(g.k),z(g.da),e=this.k,c=0,b=e.length;c<b;c++)d=
|
||||
e[c],d.uid===a?g.da.push(d):g.k.push(d);else{e=c=0;for(b=g.k.length;c<b;c++)d=g.k[c],g.k[e]=d,d.uid===a?g.da.push(d):e++;Aa(g.k,e)}this.wd();return!!g.k.length}d=this.b.vm(a);if(!d)return!1;g=this.ba();if(!g.ca&&-1===g.k.indexOf(d))return!1;if(this.V)for(a=d.type.hb,c=0,b=a.length;c<b;c++){if(a[c]===this)return g.si(d),this.wd(),!0}else if(d.type===this)return g.si(d),this.wd(),!0;return!1},g.Ue=function(){return!0},g.Vy=function(){return!0},c.bj=function(a,c){var b=this.Kb;ia(b[a])?b[a]=ia(c)?c:
|
||||
parseFloat(c):ja(b[a])&&(b[a]=ja(c)?c:c.toString())},c.bs=function(a,c){var b=this.Kb;ia(b[a])?b[a]=ia(c)?b[a]+c:b[a]+parseFloat(c):ja(b[a])&&(b[a]=ja(c)?b[a]+c:b[a]+c.toString())},c.vA=function(a,c){var b=this.Kb;ia(b[a])&&(b[a]=ia(c)?b[a]-c:b[a]-parseFloat(c))},c.Xo=function(a,c){this.Kb[a]=c?1:0},c.AA=function(a){this.Kb[a]=1-this.Kb[a]},c.ns=function(){this.b.Te(this)},c.Cy||(c.Cy=function(a){var c,b;try{c=JSON.parse(a)}catch(e){return}this.b.Sm(this,c,!0);this.Tf&&this.Tf();if(this.X)for(a=0,
|
||||
c=this.X.length;a<c;++a)b=this.X[a],b.Tf&&b.Tf()}),m.ms=function(a){var c=a.jh.k.length,b,e,d;b=0;for(e=this.b.Yd.length;b<e;b++)d=this.b.Yd[b],a.jh.V?0<=d.type.hb.indexOf(a.jh)&&c++:d.type===a.jh&&c++;a.J(c)},m.Cz=function(a){a.J(a.jh.ba().rc().length)},m.dp=function(a){a.J(this.uid)},m.GF=function(a){a.J(this.Ej())},m.ll||(m.ll=function(a){a.M(JSON.stringify(this.b.pr(this,!0)))}));a&&(g.Lo=function(){return this.visible},c.wh=function(a){!a!==!this.visible&&(this.visible=!!a,this.b.ja=!0)},g.Fx=
|
||||
function(a,c){return lc(kb(100*this.opacity),a,c)},c.Zo=function(a){a=a/100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ja=!0)},m.Opacity=function(a){a.C(kb(100*this.opacity))});n&&(g.HF=function(a){return a?this.A===a:!1},g.TF=function(a){var c=this.ba(),b=c.rc();if(!b.length)return!1;var e=b[0],d=e,g,h;g=1;for(h=b.length;g<h;g++)if(e=b[g],0===a){if(e.A.index>d.A.index||e.A.index===d.A.index&&e.Bd()>d.Bd())d=e}else if(e.A.index<d.A.index||e.A.index===d.A.index&&e.Bd()<d.Bd())d=e;
|
||||
c.si(d);return!0},c.Gy=function(){var a=this.A,c=a.k;c.length&&c[c.length-1]===this||(a.xi(this,!1),a.nj(this,!1),this.b.ja=!0)},c.Fy=function(){var a=this.A,c=a.k;c.length&&c[0]===this||(a.xi(this,!1),a.mE(this),this.b.ja=!0)},c.Oo=function(a){a&&a!=this.A&&(this.A.xi(this,!0),this.A=a,a.nj(this,!0),this.b.ja=!0)},c.et=function(a,c){var b=0===a;if(c){var e=c.GC(this);e&&e.uid!==this.uid&&(this.A.index!==e.A.index&&(this.A.xi(this,!0),this.A=e.A,e.A.nj(this,!0)),this.A.ND(this,e,b),this.b.ja=!0)}},
|
||||
m.JF=function(a){a.J(this.A.Pv)},m.Ay=function(a){a.M(this.A.name)},m.tG=function(a){a.J(this.Bd())});t&&(c.kG=function(a,c){if(this.b.G){var b=this.type.Wp(c);if(!(0>b)){var e=1===a;this.Rf[b]!==e&&(this.Rf[b]=e,this.oe(),this.b.ja=!0)}}},c.lG=function(a,c,b){if(this.b.G){var e=this.type.Wp(a);0>e||(a=this.type.ga[e],e=this.nb[e],c=Math.floor(c),0>c||c>=e.length||(1===this.b.G.RC(a.Db,c)&&(b/=100),e[c]!==b&&(e[c]=b,a.Wa&&(this.b.ja=!0))))}})};Nb=function(){this.qp=this.Kl=!0;this.type.Dl=!0;this.b.ja=
|
||||
!0;var f,d,l=this.np;f=0;for(d=l.length;f<d;++f)l[f](this);this.A.vd&&this.xa()};Ob=function(f){f&&this.np.push(f)};Qb=function(){if(this.Kl){var f=this.ma,d=this.nc;f.set(this.x,this.y,this.x+this.width,this.y+this.height);f.offset(-this.Lc*this.width,-this.Mc*this.height);this.B?(f.offset(-this.x,-this.y),d.Dw(f,this.B),d.offset(this.x,this.y),d.Pt(f)):d.Gi(f);f.normalize();this.Kl=!1;this.gx()}};var f=new va(0,0,0,0);Rb=function(){if(this.A.vd){var k=this.A.ic,d=this.ma;f.set(k.Dc(d.left),k.Ec(d.top),
|
||||
k.Dc(d.right),k.Ec(d.bottom));this.Oc.wj(f)||(this.Oc.right<this.Oc.left?k.update(this,null,f):k.update(this,this.Oc,f),this.Oc.Dh(f),this.A.je=!0)}};Sb=function(){if(this.qp&&this.Hg){this.xa();var k=this.type.Ql,d=this.ma;f.set(k.Dc(d.left),k.Ec(d.top),k.Dc(d.right),k.Ec(d.bottom));this.Zf.wj(f)||(this.Zf.right<this.Zf.left?k.update(this,null,f):k.update(this,this.Zf,f),this.Zf.Dh(f),this.qp=!1)}};Pb=function(f,d){return this.ma.Xb(f,d)&&this.nc.Xb(f,d)?this.Oi?this.WG(f,d):this.Qa&&!this.Qa.Uh()?
|
||||
(this.Qa.Ah(this.width,this.height,this.B),this.Qa.Xb(f-this.x,d-this.y)):!0:!1};Ib=function(){this.type.no();return this.Xg};Tb=function(){this.A.Sr();return this.pe};Ub=function(){z(this.Ka);var f,d,l,h=!0;f=0;for(d=this.Rf.length;f<d;f++)this.Rf[f]&&(l=this.type.ga[f],this.Ka.push(l),l.ge||(h=!1));this.ix=!!this.Ka.length;this.Df=h};Jb=function(){return"Inst"+this.jw};wb=function(f){if(f&&f.uc&&f.type!=this){var d,l,h;d=0;for(l=f.siblings.length;d<l;d++)if(h=f.siblings[d],h.type==this)return h}f=
|
||||
this.ba().rc();return f.length?f[0]:null};xb=function(f){var d=this.ba().rc();return d.length?d[f.Ej()%d.length]:null};vb=function(){if(this.Ji&&!this.V){var f,d;f=0;for(d=this.k.length;f<d;f++)this.k[f].Xg=f;var l=f,h=this.b.Yd;f=0;for(d=h.length;f<d;++f)h[f].type===this&&(h[f].Xg=l++);this.Ji=!1}};Gb=function(f){if(f<this.k.length)return this.k[f];f-=this.k.length;var d=this.b.Yd,l,h;l=0;for(h=d.length;l<h;++l)if(d[l].type===this){if(0===f)return d[l];--f}return null};yb=function(){return this.Ff[this.ue]};
|
||||
zb=function(){this.ue++;this.ue===this.Ff.length?this.Ff.push(new ub(this)):(this.Ff[this.ue].ca=!0,z(this.Ff[this.ue].da))};Ab=function(){this.ue++;this.ue===this.Ff.length&&this.Ff.push(new ub(this));var f=this.Ff[this.ue],d=this.Ff[this.ue-1];d.ca?(f.ca=!0,z(f.da)):(f.ca=!1,Ba(f.k,d.k),Ba(f.da,d.da))};Bb=function(){this.ue--};Cb=function(f){var d,l,h,b,e,a=0;if(!this.V)for(d=0,l=this.hb.length;d<l;d++)for(e=this.hb[d],h=0,b=e.mb.length;h<b;h++){if(f===e.mb[h].name)return this.na.lastBehIndex=a,
|
||||
e.mb[h];a++}d=0;for(l=this.mb.length;d<l;d++){if(f===this.mb[d].name)return this.na.lastBehIndex=a,this.mb[d];a++}return null};Db=function(f){return this.qm(f)?this.na.lastBehIndex:-1};Eb=function(f){var d,l;d=0;for(l=this.ga.length;d<l;d++)if(this.ga[d].name===f)return d;return-1};Fb=function(){if(this.uc&&!this.V){var f,d,l,h,b,e,a;this.no();e=this.ba();var n=e.ca,t=(f=this.b.$a())&&f.Za&&f.Za.qd;f=0;for(d=this.Uc.length;f<d;f++)if(b=this.Uc[f],b!==this&&(b.no(),a=b.ba(),a.ca=n,!n)){z(a.k);l=0;
|
||||
for(h=e.k.length;l<h;++l)a.k[l]=b.Xp(e.k[l].Xg);if(t)for(z(a.da),l=0,h=e.da.length;l<h;++l)a.da[l]=b.Xp(e.da[l].Xg)}}};Hb=function(){return"Type"+this.Aa};lc=function(f,d,l){if("undefined"===typeof f||"undefined"===typeof l)return!1;switch(d){case 0:return f===l;case 1:return f!==l;case 2:return f<l;case 3:return f<=l;case 4:return f>l;case 5:return f>=l;default:return!1}}})();var tc={};function wc(f){this.b=f}
|
||||
(function(){function f(){}function k(){}function d(){}var l=!1,h=null,b=null,e="",a=wc.prototype;a.K=function(a){this.W=a;this.b=a.b};a.K.prototype.F=function(){};a.H=function(a){this.type=a;this.b=a.b;this.fd=this.De="";this.ea=0;this.timeout=-1;if(l=this.b.Sh)h=require("path"),b=require("fs"),e=h.dirname((window.process||nw.process).execPath)+"\\"};var n=a.H.prototype,t=null;window.C2_AJAX_DCSide=function(a,c,b){t&&("success"===a?(t.fd=c,t.De=b,t.b.trigger(wc.prototype.e.pl,t),t.b.trigger(wc.prototype.e.Yi,
|
||||
t)):"error"===a?(t.fd=c,t.b.trigger(wc.prototype.e.ql,t),t.b.trigger(wc.prototype.e.Pd,t)):"progress"===a&&(t.ea=b,t.fd=c,t.b.trigger(wc.prototype.e.Ss,t)))};n.F=function(){t=this};n.ua=function(){return{lastData:this.De}};n.Ea=function(a){this.De=a.lastData;this.fd="";this.ea=0};var g={},c="";n.eu=function(a,d,h,f){if(this.b.Sb)AppMobi.webview.execute('C2_AJAX_WebSide("'+a+'", "'+d+'", "'+h+'", '+(f?'"'+f+'"':"null")+");");else{var n=this,p=null,k=function(){n.fd=a;n.b.trigger(wc.prototype.e.ql,
|
||||
n);n.b.trigger(wc.prototype.e.Pd,n)},t=function(){if(l){var c=e+d;b.existsSync(c)?b.readFile(c,{encoding:"utf8"},function(c,b){c?k():(n.fd=a,n.De=b.replace(/\r\n/g,"\n"),n.b.trigger(wc.prototype.e.pl,n),n.b.trigger(wc.prototype.e.Yi,n))}):k()}else k()},w=function(c){c.lengthComputable&&(n.ea=c.loaded/c.total,n.fd=a,n.b.trigger(wc.prototype.e.Ss,n))};try{this.b.lg?p=new ActiveXObject("Microsoft.XMLHTTP"):p=new XMLHttpRequest;p.onreadystatechange=function(){4===p.readyState&&(n.fd=a,p.responseText?
|
||||
n.De=p.responseText.replace(/\r\n/g,"\n"):n.De="",400<=p.status?(n.b.trigger(wc.prototype.e.ql,n),n.b.trigger(wc.prototype.e.Pd,n)):l&&!n.De.length||!l&&0===p.status&&!n.De.length||(n.b.trigger(wc.prototype.e.pl,n),n.b.trigger(wc.prototype.e.Yi,n)))};this.b.lg||(p.onerror=t,p.ontimeout=t,p.onabort=t,p.onprogress=w);p.open(h,d);!this.b.lg&&0<=this.timeout&&"undefined"!==typeof p.timeout&&(p.timeout=this.timeout);try{p.responseType="text"}catch(E){}f&&p.setRequestHeader&&!g.hasOwnProperty("Content-Type")&&
|
||||
p.setRequestHeader("Content-Type","application/x-www-form-urlencoded");if(p.setRequestHeader){for(var u in g)if(g.hasOwnProperty(u))try{p.setRequestHeader(u,g[u])}catch(x){}g={}}if(c&&p.overrideMimeType){try{p.overrideMimeType(c)}catch(B){}c=""}f?p.send(f):p.send()}catch(N){t()}}};f.prototype.Yi=function(a){return lb(a,this.fd)};f.prototype.pl=function(){return!0};f.prototype.Pd=function(a){return lb(a,this.fd)};f.prototype.ql=function(){return!0};f.prototype.Ss=function(a){return lb(a,this.fd)};
|
||||
a.e=new f;k.prototype.Iz=function(a,c){var b=this;this.b.Qj&&!this.b.Pu(c)?this.b.pu(c,function(c){b.fd=a;b.De=c.replace(/\r\n/g,"\n");b.b.trigger(wc.prototype.e.pl,b);b.b.trigger(wc.prototype.e.Yi,b)},function(){b.fd=a;b.b.trigger(wc.prototype.e.ql,b);b.b.trigger(wc.prototype.e.Pd,b)}):this.eu(a,c,"GET")};k.prototype.Dz=function(a,c,b,e){this.eu(a,c,e,b)};a.m=new k;d.prototype.zy=function(a){a.M(this.De)};d.prototype.Ez=function(a){a.C(this.ea)};a.n=new d})();function xc(f){this.b=f}
|
||||
(function(){function f(){return a.length?a.pop():[]}function k(b){var e,d;e=0;for(d=b.length;e<d;e++)Array.isArray(b[e])&&k(b[e]);z(b);a.push(b)}function d(){}function l(){}function h(){}var b=xc.prototype;b.K=function(a){this.W=a;this.b=a.b};b.K.prototype.F=function(){};b.H=function(a){this.type=a;this.b=a.b};var e=b.H.prototype,a=[];Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});e.F=function(){this.gb=this.q[0];this.tb=this.q[1];this.Hb=this.q[2];
|
||||
this.Bc||(this.cd=f());var a=this.cd;a.length=this.gb;var b,e,c;for(b=0;b<this.gb;b++)for(a[b]||(a[b]=f()),a[b].length=this.tb,e=0;e<this.tb;e++)for(a[b][e]||(a[b][e]=f()),a[b][e].length=this.Hb,c=0;c<this.Hb;c++)a[b][e][c]=0;this.Vc=[];this.xe=[];this.Tg=[];this.Ad=-1};e.Fd=function(){var a;for(a=0;a<this.gb;a++)k(this.cd[a]);z(this.cd)};e.xd=function(a,b,e){a=Math.floor(a);b=Math.floor(b);e=Math.floor(e);return isNaN(a)||0>a||a>this.gb-1||isNaN(b)||0>b||b>this.tb-1||isNaN(e)||0>e||e>this.Hb-1?0:
|
||||
this.cd[a][b][e]};e.set=function(a,b,e,c){a=Math.floor(a);b=Math.floor(b);e=Math.floor(e);isNaN(a)||0>a||a>this.gb-1||isNaN(b)||0>b||b>this.tb-1||isNaN(e)||0>e||e>this.Hb-1||(this.cd[a][b][e]=c)};e.DC=function(){return JSON.stringify({c2array:!0,size:[this.gb,this.tb,this.Hb],data:this.cd})};e.ua=function(){return{size:[this.gb,this.tb,this.Hb],data:this.cd}};e.Ea=function(a){var b=a.size;this.gb=b[0];this.tb=b[1];this.Hb=b[2];this.cd=a.data};e.Af=function(a,b,e){0>a&&(a=0);0>b&&(b=0);0>e&&(e=0);
|
||||
if(this.gb!==a||this.tb!==b||this.Hb!==e){this.gb=a;this.tb=b;this.Hb=e;var c,d,h=this.cd;h.length=a;for(a=0;a<this.gb;a++)for(ha(h[a])&&(h[a]=f()),h[a].length=b,c=0;c<this.tb;c++)for(ha(h[a][c])&&(h[a][c]=f()),h[a][c].length=e,d=0;d<this.Hb;d++)ha(h[a][c][d])&&(h[a][c][d]=0)}};e.yu=function(){return 0<=this.Ad&&this.Ad<this.Vc.length?this.Vc[this.Ad]:0};e.HC=function(){return 0<=this.Ad&&this.Ad<this.xe.length?this.xe[this.Ad]:0};e.IC=function(){return 0<=this.Ad&&this.Ad<this.Tg.length?this.Tg[this.Ad]:
|
||||
0};d.prototype.ks=function(a,b,e){return lc(this.xd(a,0,0),b,e)};e.Ep=function(a){this.b.ie(a.aa);a.td();this.b.bd(a.aa)};d.prototype.tx=function(a){var b=this.b.$a().Za;this.Ad++;var e=this.Ad;e===this.Vc.length?(this.Vc.push(0),this.xe.push(0),this.Tg.push(0)):(this.Vc[e]=0,this.xe[e]=0,this.Tg[e]=0);switch(a){case 0:for(this.Vc[e]=0;this.Vc[e]<this.gb;this.Vc[e]++)for(this.xe[e]=0;this.xe[e]<this.tb;this.xe[e]++)for(this.Tg[e]=0;this.Tg[e]<this.Hb;this.Tg[e]++)this.Ep(b);break;case 1:for(this.Vc[e]=
|
||||
0;this.Vc[e]<this.gb;this.Vc[e]++)for(this.xe[e]=0;this.xe[e]<this.tb;this.xe[e]++)this.Ep(b);break;case 2:for(this.Vc[e]=0;this.Vc[e]<this.gb;this.Vc[e]++)this.Ep(b)}this.Ad--;return!1};d.prototype.ws=function(){return 0===this.gb||0===this.tb||0===this.Hb};b.e=new d;l.prototype.hs=function(){var a,b,e;for(a=0;a<this.gb;a++)for(b=0;b<this.tb;b++)for(e=0;e<this.Hb;e++)this.cd[a][b][e]=0};l.prototype.Bg=function(a,b,e){this.Af(a,b,e)};l.prototype.dj=function(a,b){this.set(a,0,0,b)};l.prototype.Fz=
|
||||
function(a,b,e){var c=0,d=0,h=0,l=this.cd;switch(e){case 0:0===a?(c=l.length,l.push(f())):(c=0,l.unshift(f()));for(l[c].length=this.tb;d<this.tb;d++)for(l[c][d]=f(),l[c][d].length=this.Hb,h=0;h<this.Hb;h++)l[c][d][h]=b;this.gb++;break;case 1:for(;c<this.gb;c++)for(0===a?(d=l[c].length,l[c].push(f())):(d=0,l[c].unshift(f())),l[c][d].length=this.Hb,h=0;h<this.Hb;h++)l[c][d][h]=b;this.tb++;break;case 2:for(;c<this.gb;c++)for(d=0;d<this.tb;d++)0===a?l[c][d].push(b):l[c][d].unshift(b);this.Hb++}};l.prototype.Xs=
|
||||
function(a){var b=0,e=0,c=this.cd;if(0!==this.gb&&0!==this.tb&&0!==this.Hb)switch(a){case 0:c.reverse();break;case 1:for(;b<this.gb;b++)c[b].reverse();break;case 2:for(;b<this.gb;b++)for(e=0;e<this.tb;e++)c[b][e].reverse()}};l.prototype.Mo=function(a){var b;try{b=JSON.parse(a)}catch(e){return}b.c2array&&(a=b.size,this.gb=a[0],this.tb=a[1],this.Hb=a[2],this.cd=b.data)};b.m=new l;h.prototype.ux=function(a,b,e,c){a.Cf(this.xd(b,e||0,c||0))};h.prototype.gj=function(a){a.J(this.gb)};h.prototype.nl=function(a){a.J(this.tb)};
|
||||
h.prototype.Lx=function(a){a.J(this.yu())};h.prototype.Kx=function(a){a.Cf(this.xd(this.yu(),this.HC(),this.IC()))};h.prototype.ll=function(a){a.M(this.DC())};b.n=new h})();function yc(f){this.b=f}
|
||||
(function(){function f(a){a=Math.pow(10,a/20);isFinite(a)||(a=0);0>a&&(a=0);1<a&&(a=1);return a}function k(a){0>a&&(a=0);1<a&&(a=1);return Math.log(a)/Math.log(10)*20}function d(a){a=a.toLowerCase();return da.hasOwnProperty(a)&&da[a].length?da[a][0].kd():C.destination}function l(){return C.createGain?C.createGain():C.createGainNode()}function h(a){return C.createDelay?C.createDelay(a):C.createDelayNode(a)}function b(a,c){a.start?a.start(c||0):a.noteOn(c||0)}function e(a,c,b,e){a.start?a.start(e||
|
||||
0,c):a.noteGrainOn(e||0,c,b-c)}function a(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(c){}}function n(a,c,b,e){if(a)if(a.cancelScheduledValues(0),0===e)a.value=c;else{var d=C.currentTime;e+=d;switch(b){case 0:a.setValueAtTime(c,e);break;case 1:a.setValueAtTime(a.value,d);a.linearRampToValueAtTime(c,e);break;case 2:a.setValueAtTime(a.value,d),a.exponentialRampToValueAtTime(c,e)}}}function t(a,c,b,e,d,g){this.type="filter";this.S=[a,c,b,e,d,g];this.Da=l();this.T=l();this.T.gain.value=g;this.R=l();this.R.gain.value=
|
||||
1-g;this.Xa=C.createBiquadFilter();this.Xa.type="number"===typeof this.Xa.type?a:sd[a];this.Xa.frequency.value=c;this.Xa.detune&&(this.Xa.detune.value=b);this.Xa.Q.value=e;this.Xa.gain.value=d;this.Da.connect(this.Xa);this.Da.connect(this.R);this.Xa.connect(this.T)}function g(a,c,b){this.type="delay";this.S=[a,c,b];this.Da=l();this.T=l();this.T.gain.value=b;this.R=l();this.R.gain.value=1-b;this.rk=l();this.gd=h(a);this.gd.delayTime.value=a;this.vj=l();this.vj.gain.value=c;this.Da.connect(this.rk);
|
||||
this.Da.connect(this.R);this.rk.connect(this.T);this.rk.connect(this.gd);this.gd.connect(this.vj);this.vj.connect(this.rk)}function c(a,c,b,e){this.type="convolve";this.S=[c,b,e];this.Da=l();this.T=l();this.T.gain.value=b;this.R=l();this.R.gain.value=1-b;this.Ig=C.createConvolver();a&&(this.Ig.normalize=c,this.Ig.buffer=a);this.Da.connect(this.Ig);this.Da.connect(this.R);this.Ig.connect(this.T)}function m(a,c,e,d,g){this.type="flanger";this.S=[a,c,e,d,g];this.Da=l();this.R=l();this.R.gain.value=1-
|
||||
g/2;this.T=l();this.T.gain.value=g/2;this.Aj=l();this.Aj.gain.value=d;this.gd=h(a+c);this.gd.delayTime.value=a;this.ob=C.createOscillator();this.ob.frequency.value=e;this.vc=l();this.vc.gain.value=c;this.Da.connect(this.gd);this.Da.connect(this.R);this.gd.connect(this.T);this.gd.connect(this.Aj);this.Aj.connect(this.gd);this.ob.connect(this.vc);this.vc.connect(this.gd.delayTime);b(this.ob)}function q(a,c,e,d,g,h){this.type="phaser";this.S=[a,c,e,d,g,h];this.Da=l();this.R=l();this.R.gain.value=1-h/
|
||||
2;this.T=l();this.T.gain.value=h/2;this.Xa=C.createBiquadFilter();this.Xa.type="number"===typeof this.Xa.type?7:"allpass";this.Xa.frequency.value=a;this.Xa.detune&&(this.Xa.detune.value=c);this.Xa.Q.value=e;this.ob=C.createOscillator();this.ob.frequency.value=g;this.vc=l();this.vc.gain.value=d;this.Da.connect(this.Xa);this.Da.connect(this.R);this.Xa.connect(this.T);this.ob.connect(this.vc);this.vc.connect(this.Xa.frequency);b(this.ob)}function r(a){this.type="gain";this.S=[a];this.za=l();this.za.gain.value=
|
||||
a}function v(a,c){this.type="tremolo";this.S=[a,c];this.za=l();this.za.gain.value=1-c/2;this.ob=C.createOscillator();this.ob.frequency.value=a;this.vc=l();this.vc.gain.value=c/2;this.ob.connect(this.vc);this.vc.connect(this.za.gain);b(this.ob)}function D(a,c){this.type="ringmod";this.S=[a,c];this.Da=l();this.T=l();this.T.gain.value=c;this.R=l();this.R.gain.value=1-c;this.Kk=l();this.Kk.gain.value=0;this.ob=C.createOscillator();this.ob.frequency.value=a;this.ob.connect(this.Kk.gain);b(this.ob);this.Da.connect(this.Kk);
|
||||
this.Da.connect(this.R);this.Kk.connect(this.T)}function p(a,c,b,e,d){this.type="distortion";this.S=[a,c,b,e,d];this.Da=l();this.yn=l();this.xn=l();this.HE(b,Math.pow(10,e/20));this.T=l();this.T.gain.value=d;this.R=l();this.R.gain.value=1-d;this.uo=C.createWaveShaper();this.Xl=new Float32Array(65536);this.BC(a,c);this.uo.Xl=this.Xl;this.Da.connect(this.yn);this.Da.connect(this.R);this.yn.connect(this.uo);this.uo.connect(this.xn);this.xn.connect(this.T)}function G(a,c,b,e,d){this.type="compressor";
|
||||
this.S=[a,c,b,e,d];this.za=C.createDynamicsCompressor();try{this.za.threshold.value=a,this.za.knee.value=c,this.za.ratio.value=b,this.za.attack.value=e,this.za.release.value=d}catch(g){}}function J(a,c){this.type="analyser";this.S=[a,c];this.za=C.createAnalyser();this.za.fftSize=a;this.za.smoothingTimeConstant=c;this.zC=new Float32Array(this.za.frequencyBinCount);this.Gw=new Uint8Array(a);this.Ck=0}function w(){this.Ra=null;this.Tm=0}function E(a,c){this.src=a;this.ra=L;this.Dd=c;this.Cl=!1;var b=
|
||||
this;this.hi=this.pi=null;this.qi=[];this.In=0;this.Xr=this.fm=this.Kw=this.tn=!1;1===L&&c&&!ob&&(this.ra=0,this.pi=l());this.Ze=this.Ga=null;var e;switch(this.ra){case 0:this.Ga=new Audio;this.Ga.crossOrigin="anonymous";this.Ga.addEventListener("canplaythrough",function(){b.Xr=!0});1===L&&C.createMediaElementSource&&!/wiiu/i.test(navigator.userAgent)&&(this.Kw=!0,this.Ga.addEventListener("canplay",function(){!b.hi&&b.Ga&&(b.hi=C.createMediaElementSource(b.Ga),b.hi.connect(b.pi))}));this.Ga.autoplay=
|
||||
!1;this.Ga.NG="auto";this.Ga.src=a;break;case 1:M.Qj?M.ou(a,function(a){b.Ze=a;b.Zt()},function(){b.fm=!0}):(e=new XMLHttpRequest,e.open("GET",a,!0),e.responseType="arraybuffer",e.onload=function(){b.Ze=e.response;b.Zt()},e.onerror=function(){b.fm=!0},e.send());break;case 2:this.Ga=!0;break;case 3:this.Ga=!0}}function u(a,c){var b=this;this.tag=c;this.Va=this.ye=!0;this.src=a.src;this.buffer=a;this.ra=L;this.Dd=a.Dd;this.playbackRate=1;this.Ph=!0;this.Yc=this.sd=!1;this.Pc=0;this.Rj=this.Wh=this.Ee=
|
||||
!1;this.volume=1;this.Uq=function(a){if(!b.Yc&&!b.sd){var c=this;c||(c=a.target);c===b.Bl&&(b.Ph=!0,b.Va=!0,Ra=b.tag,M.trigger(yc.prototype.e.tl,xa))}};this.Bl=null;this.Th=1===Ma&&!this.Dd||2===Ma;this.ji=1;this.startTime=this.Th?M.Lb.P:M.Mf.P;this.Bb=this.Ib=null;this.Ge=!1;this.ec=null;this.$v=this.Zv=this.Yv=this.Xv=this.bw=this.aw=0;this.D=null;var e=!1;1!==this.ra||0!==this.buffer.ra||this.buffer.Kw||(this.ra=0);switch(this.ra){case 0:this.Dd?(this.D=a.Ga,e=!a.Cl,a.Cl=!0):(this.D=new Audio,
|
||||
this.D.crossOrigin="anonymous",this.D.autoplay=!1,this.D.src=a.Ga.src,e=!0);e&&this.D.addEventListener("ended",function(){Ra=b.tag;b.Va=!0;M.trigger(yc.prototype.e.tl,xa)});break;case 1:this.Ib=l();this.Ib.connect(d(c));1===this.buffer.ra?a.Ga&&(this.D=C.createBufferSource(),this.D.buffer=a.Ga,this.D.connect(this.Ib)):(this.D=this.buffer.Ga,this.buffer.pi.connect(this.Ib),this.buffer.Cl||(this.buffer.Cl=!0,this.buffer.Ga.addEventListener("ended",function(){Ra=b.tag;b.Va=!0;M.trigger(yc.prototype.e.tl,
|
||||
xa)})));break;case 2:this.D=new window.Media(T+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(b.Ph=!0,b.Va=!0,Ra=b.tag,M.trigger(yc.prototype.e.tl,xa))});break;case 3:this.D=!0}}function x(a,c){var b=a.kg()?1:0,e=c.kg()?1:0;return b===e?0:b<e?1:-1}function B(a,c){z(oa);if(a.length){var b,e,d;b=0;for(e=F.length;b<e;b++)d=F[b],lb(a,d.tag)&&oa.push(d);c&&oa.sort(x)}else P&&!P.Wg()&&(z(oa),oa[0]=P)}function N(a){var c,b,e,d,g=C.destination;if(da.hasOwnProperty(a)&&(e=da[a],e.length))for(g=
|
||||
e[0].kd(),c=0,b=e.length;c<b;c++)d=e[c],c+1===b?d.yd(C.destination):d.yd(e[c+1].kd());B(a);c=0;for(b=oa.length;c<b;c++)oa[c].rE(g);cb&&dc===a&&(cb.disconnect(),cb.connect(g))}function O(a,c){da.hasOwnProperty(a)?da[a].push(c):da[a]=[c];N(a)}function U(){}function y(){}function K(){}var S=yc.prototype;S.K=function(a){this.W=a;this.b=a.b};S.K.prototype.F=function(){};var M=null,xa=null,Ra="",T="",L=0,C=null,Y=[],F=[],P=null,X=!1,Ma=0,Q=!1,pa=1,sa=0,Sa=0,ac=!1,bc=1,cc=1,dd=10,ed=1E4,fd=1,cb=null,dc=
|
||||
"",pb=!1,qb=[],ob=!1,da={},sd="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");t.prototype.yd=function(a){this.T.disconnect();this.T.connect(a);this.R.disconnect();this.R.connect(a)};t.prototype.remove=function(){this.Da.disconnect();this.Xa.disconnect();this.T.disconnect();this.R.disconnect()};t.prototype.kd=function(){return this.Da};t.prototype.ke=function(a,c,b,e){switch(a){case 0:c=c/100;0>c&&(c=0);1<c&&(c=1);this.S[5]=c;n(this.T.gain,c,b,e);n(this.R.gain,1-c,b,
|
||||
e);break;case 1:this.S[1]=c;n(this.Xa.frequency,c,b,e);break;case 2:this.S[2]=c;n(this.Xa.detune,c,b,e);break;case 3:this.S[3]=c;n(this.Xa.Q,c,b,e);break;case 4:this.S[4]=c,n(this.Xa.gain,c,b,e)}};g.prototype.yd=function(a){this.T.disconnect();this.T.connect(a);this.R.disconnect();this.R.connect(a)};g.prototype.remove=function(){this.Da.disconnect();this.rk.disconnect();this.gd.disconnect();this.vj.disconnect();this.T.disconnect();this.R.disconnect()};g.prototype.kd=function(){return this.Da};g.prototype.ke=
|
||||
function(a,c,b,e){switch(a){case 0:c=c/100;0>c&&(c=0);1<c&&(c=1);this.S[2]=c;n(this.T.gain,c,b,e);n(this.R.gain,1-c,b,e);break;case 4:this.S[1]=f(c);n(this.vj.gain,f(c),b,e);break;case 5:this.S[0]=c,n(this.gd.delayTime,c,b,e)}};c.prototype.yd=function(a){this.T.disconnect();this.T.connect(a);this.R.disconnect();this.R.connect(a)};c.prototype.remove=function(){this.Da.disconnect();this.Ig.disconnect();this.T.disconnect();this.R.disconnect()};c.prototype.kd=function(){return this.Da};c.prototype.ke=
|
||||
function(a,c,b,e){switch(a){case 0:c=c/100,0>c&&(c=0),1<c&&(c=1),this.S[1]=c,n(this.T.gain,c,b,e),n(this.R.gain,1-c,b,e)}};m.prototype.yd=function(a){this.R.disconnect();this.R.connect(a);this.T.disconnect();this.T.connect(a)};m.prototype.remove=function(){this.Da.disconnect();this.gd.disconnect();this.ob.disconnect();this.vc.disconnect();this.R.disconnect();this.T.disconnect();this.Aj.disconnect()};m.prototype.kd=function(){return this.Da};m.prototype.ke=function(a,c,b,e){switch(a){case 0:c=c/100;
|
||||
0>c&&(c=0);1<c&&(c=1);this.S[4]=c;n(this.T.gain,c/2,b,e);n(this.R.gain,1-c/2,b,e);break;case 6:this.S[1]=c/1E3;n(this.vc.gain,c/1E3,b,e);break;case 7:this.S[2]=c;n(this.ob.frequency,c,b,e);break;case 8:this.S[3]=c/100,n(this.Aj.gain,c/100,b,e)}};q.prototype.yd=function(a){this.R.disconnect();this.R.connect(a);this.T.disconnect();this.T.connect(a)};q.prototype.remove=function(){this.Da.disconnect();this.Xa.disconnect();this.ob.disconnect();this.vc.disconnect();this.R.disconnect();this.T.disconnect()};
|
||||
q.prototype.kd=function(){return this.Da};q.prototype.ke=function(a,c,b,e){switch(a){case 0:c=c/100;0>c&&(c=0);1<c&&(c=1);this.S[5]=c;n(this.T.gain,c/2,b,e);n(this.R.gain,1-c/2,b,e);break;case 1:this.S[0]=c;n(this.Xa.frequency,c,b,e);break;case 2:this.S[1]=c;n(this.Xa.detune,c,b,e);break;case 3:this.S[2]=c;n(this.Xa.Q,c,b,e);break;case 6:this.S[3]=c;n(this.vc.gain,c,b,e);break;case 7:this.S[4]=c,n(this.ob.frequency,c,b,e)}};r.prototype.yd=function(a){this.za.disconnect();this.za.connect(a)};r.prototype.remove=
|
||||
function(){this.za.disconnect()};r.prototype.kd=function(){return this.za};r.prototype.ke=function(a,c,b,e){switch(a){case 4:this.S[0]=f(c),n(this.za.gain,f(c),b,e)}};v.prototype.yd=function(a){this.za.disconnect();this.za.connect(a)};v.prototype.remove=function(){this.ob.disconnect();this.vc.disconnect();this.za.disconnect()};v.prototype.kd=function(){return this.za};v.prototype.ke=function(a,c,b,e){switch(a){case 0:c=c/100;0>c&&(c=0);1<c&&(c=1);this.S[1]=c;n(this.za.gain.value,1-c/2,b,e);n(this.vc.gain.value,
|
||||
c/2,b,e);break;case 7:this.S[0]=c,n(this.ob.frequency,c,b,e)}};D.prototype.yd=function(a){this.T.disconnect();this.T.connect(a);this.R.disconnect();this.R.connect(a)};D.prototype.remove=function(){this.ob.disconnect();this.Kk.disconnect();this.Da.disconnect();this.T.disconnect();this.R.disconnect()};D.prototype.kd=function(){return this.Da};D.prototype.ke=function(a,c,b,e){switch(a){case 0:c=c/100;0>c&&(c=0);1<c&&(c=1);this.S[1]=c;n(this.T.gain,c,b,e);n(this.R.gain,1-c,b,e);break;case 7:this.S[0]=
|
||||
c,n(this.ob.frequency,c,b,e)}};p.prototype.HE=function(a,c){.01>a&&(a=.01);this.yn.gain.value=a;this.xn.gain.value=Math.pow(1/a,.6)*c};p.prototype.shape=function(a,c,b){var e=1.05*b*c-c;b=0>a?-1:1;a=0>a?-a:a;c=a<c?a:c+e*(1-Math.exp(-(1/e)*(a-c)));return c*b};p.prototype.BC=function(a,c){for(var b=Math.pow(10,a/20),e=Math.pow(10,c/20),d=0,g=0;32768>g;++g)d=g/32768,d=this.shape(d,b,e),this.Xl[32768+g]=d,this.Xl[32768-g-1]=-d};p.prototype.yd=function(a){this.T.disconnect();this.T.connect(a);this.R.disconnect();
|
||||
this.R.connect(a)};p.prototype.remove=function(){this.Da.disconnect();this.yn.disconnect();this.uo.disconnect();this.xn.disconnect();this.T.disconnect();this.R.disconnect()};p.prototype.kd=function(){return this.Da};p.prototype.ke=function(a,c,b,e){switch(a){case 0:c=c/100,0>c&&(c=0),1<c&&(c=1),this.S[4]=c,n(this.T.gain,c,b,e),n(this.R.gain,1-c,b,e)}};G.prototype.yd=function(a){this.za.disconnect();this.za.connect(a)};G.prototype.remove=function(){this.za.disconnect()};G.prototype.kd=function(){return this.za};
|
||||
G.prototype.ke=function(){};J.prototype.Ba=function(){this.za.getFloatFrequencyData(this.zC);this.za.getByteTimeDomainData(this.Gw);for(var a=this.za.fftSize,c=0,b=this.Ck=0,e=0;c<a;c++)e=(this.Gw[c]-128)/128,0>e&&(e=-e),this.Ck<e&&(this.Ck=e),b+=e*e;this.Ck=k(this.Ck);k(Math.sqrt(b/a))};J.prototype.yd=function(a){this.za.disconnect();this.za.connect(a)};J.prototype.remove=function(){this.za.disconnect()};J.prototype.kd=function(){return this.za};J.prototype.ke=function(){};w.prototype.Mk=function(a){this.Ra=
|
||||
a};w.prototype.Bm=function(){return!!this.Ra};w.prototype.Ba=function(){};var Kb=!1;E.prototype.sE=function(){var a,c,b,e;b=a=0;for(c=F.length;a<c;++a)e=F[a],F[b]=e,e.buffer===this?e.stop():++b;F.length=b;this.hi&&(this.hi.disconnect(),this.hi=null);this.pi&&(this.pi.disconnect(),this.pi=null);this.Ze=this.Ga=null};E.prototype.Zt=function(){if(!this.Ga&&this.Ze){var a=this;if(C.decodeAudioData)C.decodeAudioData(this.Ze,function(c){a.Ga=c;a.Ze=null;var b,e,d;if(ha(a.un)||Q)ha(a.Sl)||(b=a.Sl.Ig,b.normalize=
|
||||
a.Ov,b.buffer=c);else if(a.qi.length){b=0;for(e=a.qi.length;b<e;b++){c=a.qi[b];d=new u(a,c.Pw);d.Ln(!0);if("undefined"!==typeof c.Qv&&(c.Ra=M.vm(c.Qv),!c.Ra))continue;if(c.Ra){var g=Ta(c.Ra.x,c.Ra.y,-c.Ra.A.Jb(),sa,Sa,!0),h=Ta(c.Ra.x,c.Ra.y,-c.Ra.A.Jb(),sa,Sa,!1);d.tr(g,h,Ga(c.Ra.B-c.Ra.A.Jb()),c.hq,c.Mq,c.Pq);d.Mk(c.Ra)}else d.tr(c.x,c.y,c.xh,c.hq,c.Mq,c.Pq);d.play(a.Iq,a.Vr,a.In);a.tn&&d.pause();F.push(d)}z(a.qi)}else d=new u(a,a.un||""),d.play(a.Iq,a.Vr,a.In),a.tn&&d.pause(),F.push(d)},function(){a.fm=
|
||||
!0});else if(this.Ga=C.createBuffer(this.Ze,!1),this.Ze=null,ha(this.un)||Q)ha(this.Sl)||(c=this.Sl.Ig,c.normalize=this.Ov,c.buffer=this.Ga);else{var c=new u(this,this.un);c.play(this.Iq,this.Vr,this.In);this.tn&&c.pause();F.push(c)}}};E.prototype.Tu=function(){switch(this.ra){case 0:var a=4<=this.Ga.readyState;a&&(this.Xr=!0);return a||this.Xr;case 1:return!!this.Ze||!!this.Ga;case 2:return!0;case 3:return!0}return!1};E.prototype.rD=function(){switch(this.ra){case 0:return this.Tu();case 1:return!!this.Ga;
|
||||
case 2:return!0;case 3:return!0}return!1};E.prototype.hD=function(){switch(this.ra){case 0:return!!this.Ga.error;case 1:return this.fm}return!1};u.prototype.Wg=function(){switch(this.ra){case 0:return this.D.ended;case 1:return 1===this.buffer.ra?!this.ye&&!this.Va&&this.D.loop||this.Yc?!1:this.Ph:this.D.ended;case 2:return this.Ph;case 3:!0}return!0};u.prototype.gB=function(){return this.ye||this.Va?!0:this.Wg()};u.prototype.Ln=function(a){1===L&&(!this.Ge&&a?this.Ib&&(this.Bb||(this.Bb=C.createPanner(),
|
||||
this.Bb.panningModel="number"===typeof this.Bb.panningModel?bc:["equalpower","HRTF","soundfield"][bc],this.Bb.distanceModel="number"===typeof this.Bb.distanceModel?cc:["linear","inverse","exponential"][cc],this.Bb.refDistance=dd,this.Bb.maxDistance=ed,this.Bb.rolloffFactor=fd),this.Ib.disconnect(),this.Ib.connect(this.Bb),this.Bb.connect(d(this.tag)),this.Ge=!0):this.Ge&&!a&&this.Ib&&(this.Bb.disconnect(),this.Ib.disconnect(),this.Ib.connect(d(this.tag)),this.Ge=!1))};u.prototype.tr=function(a,c,
|
||||
b,e,d,g){this.Ge&&1===L&&(this.Bb.setPosition(a,c,0),this.Bb.setOrientation(Math.cos(A(b)),Math.sin(A(b)),0),this.Bb.coneInnerAngle=e,this.Bb.coneOuterAngle=d,this.Bb.coneOuterGain=g,this.aw=a,this.bw=c,this.Xv=b,this.Yv=e,this.Zv=d,this.$v=g)};u.prototype.Mk=function(a){this.Ge&&1===L&&(this.ec||(this.ec=new w),this.ec.Mk(a))};u.prototype.Ba=function(a){if(this.Ge&&1===L&&this.ec&&this.ec.Bm()&&this.kg()){this.ec.Ba(a);a=this.ec.Ra;var c=Ta(a.x,a.y,-a.A.Jb(),sa,Sa,!0),b=Ta(a.x,a.y,-a.A.Jb(),sa,Sa,
|
||||
!1);this.Bb.setPosition(c,b,0);c=0;"undefined"!==typeof this.ec.Ra.B&&(c=a.B-a.A.Jb(),this.Bb.setOrientation(Math.cos(c),Math.sin(c),0))}};u.prototype.play=function(a,c,d,g){var h=this.D;this.Ee=a;this.volume=c;d=d||0;g=g||0;switch(this.ra){case 0:1!==h.playbackRate&&(h.playbackRate=1);h.volume!==c*pa&&(h.volume=c*pa);h.loop!==a&&(h.loop=a);h.muted&&(h.muted=!1);if(h.currentTime!==d)try{h.currentTime=d}catch(f){}if(this.Dd&&pb&&!M.La)qb.push(this);else try{this.D.play()}catch(l){console&&console.log&&
|
||||
console.log("[C2] WARNING: exception trying to play audio '"+this.buffer.src+"': ",l)}break;case 1:this.muted=!1;this.ji=1;if(1===this.buffer.ra)this.Ib.gain.value=c*pa,this.ye||(this.D=C.createBufferSource(),this.D.buffer=this.buffer.Ga,this.D.connect(this.Ib)),this.D.onended=this.Uq,this.Bl=this.D,this.D.loop=a,this.Ph=!1,0===d?b(this.D,g):e(this.D,d,this.gg(),g);else{1!==h.playbackRate&&(h.playbackRate=1);h.loop!==a&&(h.loop=a);h.volume=c*pa;if(h.currentTime!==d)try{h.currentTime=d}catch(m){}this.Dd&&
|
||||
pb&&!M.La?qb.push(this):h.play()}break;case 2:(!this.ye&&this.Va||0!==d)&&h.seekTo(d);h.play();this.Ph=!1;break;case 3:M.Sb?AppMobi.context.playSound(this.src,a):AppMobi.player.playSound(this.src,a)}this.playbackRate=1;this.startTime=(this.Th?M.Lb.P:M.Mf.P)-d;this.Yc=this.Va=this.ye=!1};u.prototype.stop=function(){switch(this.ra){case 0:this.D.paused||this.D.pause();break;case 1:1===this.buffer.ra?a(this.D):this.D.paused||this.D.pause();break;case 2:this.D.stop();break;case 3:M.Sb&&AppMobi.context.stopSound(this.src)}this.Va=
|
||||
!0;this.Yc=!1};u.prototype.pause=function(){if(!(this.ye||this.Va||this.Wg()||this.Yc)){switch(this.ra){case 0:this.D.paused||this.D.pause();break;case 1:1===this.buffer.ra?(this.Pc=this.Yp(!0),this.Ee&&(this.Pc=this.Pc%this.gg()),this.Yc=!0,a(this.D)):this.D.paused||this.D.pause();break;case 2:this.D.pause();break;case 3:M.Sb&&AppMobi.context.stopSound(this.src)}this.Yc=!0}};u.prototype.mw=function(){if(!(this.ye||this.Va||this.Wg())&&this.Yc){switch(this.ra){case 0:this.D.play();break;case 1:1===
|
||||
this.buffer.ra?(this.D=C.createBufferSource(),this.D.buffer=this.buffer.Ga,this.D.connect(this.Ib),this.D.onended=this.Uq,this.Bl=this.D,this.D.loop=this.Ee,this.Ib.gain.value=pa*this.volume*this.ji,this.oo(),this.startTime=(this.Th?M.Lb.P:M.Mf.P)-this.Pc/(this.playbackRate||.001),e(this.D,this.Pc,this.gg())):this.D.play();break;case 2:this.D.play();break;case 3:M.Sb&&AppMobi.context.resumeSound(this.src)}this.Yc=!1}};u.prototype.seek=function(a){if(!(this.ye||this.Va||this.Wg()))switch(this.ra){case 0:try{this.D.currentTime=
|
||||
a}catch(c){}break;case 1:if(1===this.buffer.ra)this.Yc?this.Pc=a:(this.pause(),this.Pc=a,this.mw());else try{this.D.currentTime=a}catch(b){}break;case 3:M.Sb&&AppMobi.context.seekSound(this.src,a)}};u.prototype.rE=function(a){1===this.ra&&(this.Ge?(this.Bb.disconnect(),this.Bb.connect(a)):(this.Ib.disconnect(),this.Ib.connect(a)))};u.prototype.gg=function(){var a=0;switch(this.ra){case 0:"undefined"!==typeof this.D.duration&&(a=this.D.duration);break;case 1:a=this.buffer.Ga.duration;break;case 2:a=
|
||||
this.D.getDuration();break;case 3:M.Sb&&(a=AppMobi.context.getDurationSound(this.src))}return a};u.prototype.Yp=function(a){var c=this.gg(),b=0;switch(this.ra){case 0:"undefined"!==typeof this.D.currentTime&&(b=this.D.currentTime);break;case 1:if(1===this.buffer.ra){if(this.Yc)return this.Pc;b=(this.Th?M.Lb.P:M.Mf.P)-this.startTime}else"undefined"!==typeof this.D.currentTime&&(b=this.D.currentTime);break;case 3:M.Sb&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}a&&(b*=this.playbackRate);!this.Ee&&
|
||||
b>c&&(b=c);return b};u.prototype.kg=function(){return!this.Yc&&!this.ye&&!this.Va&&!this.Wg()};u.prototype.OE=function(){return!this.ye&&!this.Va&&!this.Wg()};u.prototype.NE=function(a){this.volume=a;this.dx()};u.prototype.dx=function(){var a=this.volume*pa;isFinite(a)||(a=0);switch(this.ra){case 0:"undefined"!==typeof this.D.volume&&this.D.volume!==a&&(this.D.volume=a);break;case 1:1===this.buffer.ra?this.Ib.gain.value=a*this.ji:"undefined"!==typeof this.D.volume&&this.D.volume!==a&&(this.D.volume=
|
||||
a)}};u.prototype.am=function(a){switch(this.ra){case 0:this.D.muted!==!!a&&(this.D.muted=!!a);break;case 1:1===this.buffer.ra?(this.ji=a?0:1,this.Ib.gain.value=pa*this.volume*this.ji):this.D.muted!==!!a&&(this.D.muted=!!a)}};u.prototype.IE=function(){this.Wh=!0;this.am(this.Wh||this.Rj)};u.prototype.Mn=function(a){this.Rj=!!a;this.am(this.Wh||this.Rj)};u.prototype.oo=function(){var a=this.playbackRate;this.Th&&(a*=M.If);switch(this.ra){case 0:this.D.playbackRate!==a&&(this.D.playbackRate=a);break;
|
||||
case 1:1===this.buffer.ra?this.D.playbackRate.value!==a&&(this.D.playbackRate.value=a):this.D.playbackRate!==a&&(this.D.playbackRate=a)}};u.prototype.LE=function(c){switch(this.ra){case 0:c?this.kg()?(this.sd=!0,this.D.pause()):this.sd=!1:this.sd&&(this.D.play(),this.sd=!1);break;case 1:c?this.kg()?(this.sd=!0,1===this.buffer.ra?(this.Pc=this.Yp(!0),this.Ee&&(this.Pc=this.Pc%this.gg()),a(this.D)):this.D.pause()):this.sd=!1:this.sd&&(1===this.buffer.ra?(this.D=C.createBufferSource(),this.D.buffer=
|
||||
this.buffer.Ga,this.D.connect(this.Ib),this.D.onended=this.Uq,this.Bl=this.D,this.D.loop=this.Ee,this.Ib.gain.value=pa*this.volume*this.ji,this.oo(),this.startTime=(this.Th?M.Lb.P:M.Mf.P)-this.Pc/(this.playbackRate||.001),e(this.D,this.Pc,this.gg())):this.D.play(),this.sd=!1);break;case 2:c?this.kg()?(this.D.pause(),this.sd=!0):this.sd=!1:this.sd&&(this.sd=!1,this.D.play())}};S.H=function(a){function c(){"suspended"===C.state&&C.resume&&C.resume();if(!ac&&C.createBuffer){var a=C.createBuffer(1,220,
|
||||
22050),e=C.createBufferSource();e.buffer=a;e.connect(C.destination);b(e)}}this.type=a;M=this.b=a.b;xa=this;this.Zc=null;this.hk=-600;this.b.Qj&&(ob=!0);!(this.b.Zh||this.b.Fm&&(this.b.pq||this.b.Gm))||this.b.Im||this.b.N||this.b.Qu||ob||(pb=!0);C=null;"undefined"!==typeof AudioContext?(L=1,C=new AudioContext):"undefined"!==typeof webkitAudioContext&&(L=1,C=new webkitAudioContext);this.b.Zh&&C&&(C.close&&C.close(),"undefined"!==typeof AudioContext?C=new AudioContext:"undefined"!==typeof webkitAudioContext&&
|
||||
(C=new webkitAudioContext));pb?document.addEventListener("touchend",function(){!Kb&&C&&(c(),Kb=!0);var a,b,e;if(pb){if(!Q)for(a=0,b=qb.length;a<b;++a)e=qb[a],e.Va||e.Yc||e.D.play();z(qb)}},!0):ob&&document.addEventListener("touchend",function(){!Kb&&C&&(c(),Kb=!0)},!0);1!==L&&(this.b.nd&&"undefined"!==typeof window.Media?L=2:this.b.Ru&&(L=3));2===L&&(T=location.href,a=T.lastIndexOf("/"),-1<a&&(T=T.substr(0,a+1)),T=T.replace("file://",""));if(this.b.sD&&this.b.tD&&"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.Te(this);else{if(this.b.Sb)X=this.b.Fm;else try{X=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(e){X=!1}this.b.Hf(this)}};var Na=S.H.prototype;Na.F=function(){this.b.yh=this;Ma=this.q[0];this.zf=this.q[1];this.eE=0!==this.q[2];this.Zm=0;bc=this.q[3];cc=this.q[4];this.hk=-this.q[5];dd=this.q[6];ed=this.q[7];fd=this.q[8];this.Zc=new w;var a=this.b.Z||this.b.width,c=this.b.Y||this.b.height;1===L&&(C.listener.setPosition(a/2,c/2,this.hk),C.listener.setOrientation(0,0,1,0,-1,0),
|
||||
window.c2OnAudioMicStream=function(a,c){cb&&cb.disconnect();dc=c.toLowerCase();cb=C.createMediaStreamSource(a);cb.connect(d(dc))});this.b.ot(function(a){xa.YD(a)});var b=this;this.b.SA(function(a){b.TD(a)})};Na.TD=function(a){var c,b,e;c=0;for(b=F.length;c<b;c++)e=F[c],e.ec&&e.ec.Ra===a&&(e.ec.Ra=null,e.Ge&&e.kg()&&e.Ee&&e.stop());this.Zc.Ra===a&&(this.Zc.Ra=null)};Na.ua=function(){var a={silent:Q,masterVolume:pa,listenerZ:this.hk,listenerUid:this.Zc.Bm()?this.Zc.Ra.uid:-1,playing:[],effects:{}},
|
||||
c=a.playing,b,e,d,g,h,f;b=0;for(e=F.length;b<e;b++)d=F[b],!d.OE()||3===this.zf||d.Dd&&1===this.zf||!d.Dd&&2===this.zf||(g=d.Yp(),d.Ee&&(g=g%d.gg()),g={tag:d.tag,buffersrc:d.buffer.src,is_music:d.Dd,playbackTime:g,volume:d.volume,looping:d.Ee,muted:d.Wh,playbackRate:d.playbackRate,paused:d.Yc,resume_position:d.Pc},d.Ge&&(g.pan={},f=g.pan,d.ec&&d.ec.Bm()?f.objUid=d.ec.Ra.uid:(f.x=d.aw,f.y=d.bw,f.a=d.Xv),f.ia=d.Yv,f.oa=d.Zv,f.og=d.$v),c.push(g));c=a.effects;for(h in da)if(da.hasOwnProperty(h)){d=[];
|
||||
b=0;for(e=da[h].length;b<e;b++)d.push({type:da[h][b].type,params:da[h][b].S});c[h]=d}return a};var rb=[];Na.Ea=function(a){var b=a.silent;pa=a.masterVolume;this.hk=a.listenerZ;this.Zc.Mk(null);var e=a.listenerUid;-1!==e&&(this.Zc.Tm=e,rb.push(this.Zc));var e=a.playing,d,h,f,l,n,k,U,N,K,y,S;if(3!==this.zf)for(d=0,h=F.length;d<h;d++)K=F[d],K.Dd&&1===this.zf||(K.Dd||2!==this.zf)&&K.stop();for(n in da)if(da.hasOwnProperty(n))for(d=0,h=da[n].length;d<h;d++)da[n][d].remove();Ya(da);for(n in a.effects)if(a.effects.hasOwnProperty(n))for(k=
|
||||
a.effects[n],d=0,h=k.length;d<h;d++)switch(f=k[d].type,y=k[d].params,f){case "filter":O(n,new t(y[0],y[1],y[2],y[3],y[4],y[5]));break;case "delay":O(n,new g(y[0],y[1],y[2]));break;case "convolve":f=y[2];K=this.pm(f,!1);K.Ga?f=new c(K.Ga,y[0],y[1],f):(f=new c(null,y[0],y[1],f),K.Ov=y[0],K.Sl=f);O(n,f);break;case "flanger":O(n,new m(y[0],y[1],y[2],y[3],y[4]));break;case "phaser":O(n,new q(y[0],y[1],y[2],y[3],y[4],y[5]));break;case "gain":O(n,new r(y[0]));break;case "tremolo":O(n,new v(y[0],y[1]));break;
|
||||
case "ringmod":O(n,new D(y[0],y[1]));break;case "distortion":O(n,new p(y[0],y[1],y[2],y[3],y[4]));break;case "compressor":O(n,new G(y[0],y[1],y[2],y[3],y[4]));break;case "analyser":O(n,new J(y[0],y[1]))}d=0;for(h=e.length;d<h;d++)3===this.zf||(a=e[d],f=a.buffersrc,l=a.is_music,n=a.tag,k=a.playbackTime,U=a.looping,N=a.volume,S=(y=a.pan)&&y.hasOwnProperty("objUid")?y.objUid:-1,l&&1===this.zf)||!l&&2===this.zf||((K=this.Sp(f,n,l,U,N))?(K.Pc=a.resume_position,K.Ln(!!y),K.play(U,N,k),K.oo(),K.dx(),K.am(K.Wh||
|
||||
K.Rj),a.paused&&K.pause(),a.muted&&K.IE(),K.am(K.Wh||K.Rj),y&&(-1!==S?(K.ec=K.ec||new w,K.ec.Tm=S,rb.push(K.ec)):K.tr(y.x,y.y,y.a,y.ia,y.oa,y.og))):(K=this.pm(f,l),K.In=k,K.tn=a.paused,y&&(-1!==S?K.qi.push({Qv:S,hq:y.ia,Mq:y.oa,Pq:y.og,Pw:n}):K.qi.push({x:y.x,y:y.y,xh:y.a,hq:y.ia,Mq:y.oa,Pq:y.og,Pw:n}))));if(b&&!Q){d=0;for(h=F.length;d<h;d++)F[d].Mn(!0);Q=!0}else if(!b&&Q){d=0;for(h=F.length;d<h;d++)F[d].Mn(!1);Q=!1}};Na.Tf=function(){var a,c,b,e;a=0;for(c=rb.length;a<c;a++)b=rb[a],e=this.b.vm(b.Tm),
|
||||
b.Mk(e),b.Tm=-1,e&&(sa=e.x,Sa=e.y);z(rb)};Na.YD=function(a){if(!this.eE){!a&&C&&C.resume&&(C.resume(),ac=!1);var c,b;c=0;for(b=F.length;c<b;c++)F[c].LE(a);a&&C&&C.suspend&&(C.suspend(),ac=!0)}};Na.Ba=function(){var a=this.b.gf,c,b,e;c=0;for(b=F.length;c<b;c++)e=F[c],e.Ba(a),0!==Ma&&e.oo();var d,g;for(d in da)if(da.hasOwnProperty(d))for(e=da[d],c=0,b=e.length;c<b;c++)g=e[c],g.Ba&&g.Ba();1===L&&this.Zc.Bm()&&(this.Zc.Ba(a),sa=this.Zc.Ra.x,Sa=this.Zc.Ra.y,C.listener.setPosition(this.Zc.Ra.x,this.Zc.Ra.y,
|
||||
this.hk))};var sb=[];Na.JE=function(a){var c,b,e,d,g,h=0;c=0;for(b=a.length;c<b;++c)if(e=a[c],d=e[0],e=2*e[1],(g=4<d.length&&".ogg"===d.substr(d.length-4))&&X||!g&&!X)sb.push({filename:d,size:e,Ra:null}),h+=e;return h};Na.QE=function(){var a,c,b,e;a=0;for(c=sb.length;a<c;++a)b=sb[a],e=this.b.hm+b.filename,b.Ra=this.pm(e,!1)};Na.OC=function(){var a=0,c,b,e;c=0;for(b=sb.length;c<b;++c)e=sb[c],e.Ra.rD()||e.Ra.hD()||this.b.N||this.b.Gm?a+=e.size:e.Ra.Tu()&&(a+=Math.floor(e.size/2));return a};Na.tE=function(){var a,
|
||||
c,b,e;b=a=0;for(c=Y.length;a<c;++a)e=Y[a],Y[b]=e,e.Dd?e.sE():++b;Y.length=b};Na.pm=function(a,c){var b,e,d,g=null;b=0;for(e=Y.length;b<e;b++)if(d=Y[b],d.src===a){g=d;break}g||(ob&&c&&this.tE(),g=new E(a,c),Y.push(g));return g};Na.Sp=function(a,c,b,e,d){var g,h,f;g=0;for(h=F.length;g<h;g++)if(f=F[g],f.src===a&&(f.gB()||b))return f.tag=c,f;a=this.pm(a,b);if(!a.Ga)return"<preload>"!==c&&(a.un=c,a.Iq=e,a.Vr=d),null;f=new u(a,c);F.push(f);return f};var oa=[];U.prototype.tl=function(a){return lb(Ra,a)};
|
||||
U.prototype.vy=function(){return Q};U.prototype.ol=function(a){B(a);var c;a=0;for(c=oa.length;a<c;a++)if(oa[a].kg())return!0;return!1};S.e=new U;y.prototype.Play=function(a,c,b,e){!Q&&(b=f(b),P=this.Sp(this.b.hm+a[0]+(X?".ogg":".m4a"),e,a[1],0!==c,b))&&(P.Ln(!1),P.play(0!==c,b,0,this.Zm),this.Zm=0)};y.prototype.Wo=function(a,c,b,e,d){!Q&&(e=f(e),P=this.Sp(this.b.hm+c.toLowerCase()+(X?".ogg":".m4a"),d,1===a,0!==b,e))&&(P.Ln(!1),P.play(0!==b,e,0,this.Zm),this.Zm=0)};y.prototype.ct=function(a,c){B(a);
|
||||
var b=f(c),e,d;e=0;for(d=oa.length;e<d;e++)oa[e].NE(b)};y.prototype.ej=function(a){B(a);var c;a=0;for(c=oa.length;a<c;a++)oa[a].stop()};y.prototype.qA=function(){var a,c;a=0;for(c=F.length;a<c;a++)F[a].stop()};y.prototype.$s=function(a,c){B(a);var b,e;b=0;for(e=oa.length;b<e;b++)0===c?oa[b].pause():oa[b].mw()};y.prototype.gA=function(a){var c;2===a&&(a=Q?1:0);if(0===a&&!Q){a=0;for(c=F.length;a<c;a++)F[a].Mn(!0);Q=!0}else if(1===a&&Q){a=0;for(c=F.length;a<c;a++)F[a].Mn(!1);Q=!1}};y.prototype.mx=function(a,
|
||||
c){1===L&&(a=a.toLowerCase(),O(a,new r(f(c))))};y.prototype.Hz=function(a){if(1===L){a=a.toLowerCase();var c,b,e;if(da.hasOwnProperty(a)&&(e=da[a],e.length)){c=0;for(b=e.length;c<b;c++)e[c].remove();z(e);N(a)}}};y.prototype.Sz=function(a,c,b,e,d,g){1===L&&(a=a.toLowerCase(),c=Math.floor(c),da.hasOwnProperty(a)&&(a=da[a],0>c||c>=a.length||a[c].ke(b,e,d,g)))};S.m=new y;K.prototype.os=function(a,c){B(c,!0);oa.length?a.C(oa[0].gg()):a.C(0)};K.prototype.FA=function(a,c){B(c,!0);oa.length?a.C(k(oa[0].volume)):
|
||||
a.C(0)};S.n=new K})();function R(f){this.b=f}
|
||||
(function(){function f(){e&&a&&window.OfflineClientInfo&&window.OfflineClientInfo.SetMessageCallback(function(a){n.XD(a)})}function k(){}function d(){}function l(a){console&&console.warn&&console.warn("Fullscreen request failed: ",a);g.setSize(window.innerWidth,window.innerHeight)}var h=R.prototype;h.K=function(a){this.W=a;this.b=a.b};var b=h.K.prototype;b.F=function(){};var e=!1,a=!1;document.addEventListener("DOMContentLoaded",function(){if(window.C2_RegisterSW&&navigator.Td){var a=document.createElement("script");
|
||||
a.onload=function(){e=!0;f()};a.src="offlineClient.js";document.head.appendChild(a)}});var n=null;b.Uv=function(){a=!0;f()};h.H=function(a){this.type=a;this.b=a.b};b=h.H.prototype;b.F=function(){var a=this;window.addEventListener("resize",function(){a.b.trigger(R.prototype.e.lz,a)});n=this;"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){a.b.trigger(R.prototype.e.iz,a)}),window.addEventListener("offline",function(){a.b.trigger(R.prototype.e.gz,a)}));"undefined"!==
|
||||
typeof window.applicationCache&&(window.applicationCache.addEventListener("updateready",function(){a.b.dh=1;a.b.trigger(R.prototype.e.$i,a)}),window.applicationCache.addEventListener("progress",function(b){a.b.dh=b.loaded/b.total||0}));this.b.Sb||(document.addEventListener("appMobi.device.update.available",function(){a.b.trigger(R.prototype.e.$i,a)}),document.addEventListener("backbutton",function(){a.b.trigger(R.prototype.e.rl,a)}),document.addEventListener("menubutton",function(){a.b.trigger(R.prototype.e.Os,
|
||||
a)}),document.addEventListener("searchbutton",function(){a.b.trigger(R.prototype.e.nz,a)}),document.addEventListener("tizenhwkey",function(b){var e;switch(b.keyName){case "back":e=a.b.trigger(R.prototype.e.rl,a);!e&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(e=a.b.trigger(R.prototype.e.Os,a))||b.preventDefault()}}));this.b.uq&&"undefined"!==typeof Windows?Windows.UI.Core.SystemNavigationManager.getForCurrentView().addEventListener("backrequested",function(b){a.b.trigger(R.prototype.e.rl,
|
||||
a)&&(b.handled=!0)}):this.b.Wu&&WinJS.Application&&(WinJS.Application.onbackclick=function(){return!!a.b.trigger(R.prototype.e.rl,a)});this.b.ot(function(b){b?a.b.trigger(R.prototype.e.jz,a):a.b.trigger(R.prototype.e.kz,a)});this.wD="undefined"!==typeof window.is_scirra_arcade};b.XD=function(a){a=a.data.type;"downloading-update"===a?this.b.trigger(R.prototype.e.sz,this):"update-ready"===a||"update-pending"===a?this.b.trigger(R.prototype.e.$i,this):"offline-ready"===a&&this.b.trigger(R.prototype.e.hz,
|
||||
this)};k.prototype.ny=function(){return navigator?navigator.onLine:!1};k.prototype.iz=function(){return!0};k.prototype.gz=function(){return!0};k.prototype.$i=function(){return!0};k.prototype.kz=function(){return!0};k.prototype.jz=function(){return!0};k.prototype.lz=function(){return!0};k.prototype.iy=function(){return!!(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||this.b.Be)};k.prototype.rl=function(){return!0};k.prototype.Os=function(){return!0};k.prototype.nz=function(){return!0};
|
||||
k.prototype.ty=function(a){return(window.innerWidth<=window.innerHeight?0:1)===a};k.prototype.sz=function(){return!0};k.prototype.$i=function(){return!0};k.prototype.hz=function(){return!0};h.e=new k;d.prototype.Gz=function(){this.wD||this.b.N||window.location.reload()};var t=!0,g=null;d.prototype.Jz=function(a){this.b.N?fa("[Construct 2] Requesting fullscreen is not supported on this platform - the request has been ignored"):(2<=a&&(a+=1),6===a&&(a=2),this.b.Uu?this.b.Su?debuggerFullscreen(!0):!this.b.Be&&
|
||||
window.nwgui&&(window.nwgui.Window.get().enterFullscreen(),this.b.Be=!0,this.b.nf=2<=a?a:0):document.mozFullScreen||document.webkitIsFullScreen||document.msFullscreenElement||document.fullScreen||document.fullScreenElement||(this.b.nf=2<=a?a:0,a=document.documentElement,t&&(t=!1,g=this.b,a.addEventListener("mozfullscreenerror",l),a.addEventListener("webkitfullscreenerror",l),a.addEventListener("MSFullscreenError",l),a.addEventListener("fullscreenerror",l)),a.requestFullscreen?a.requestFullscreen():
|
||||
a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen?a.msRequestFullscreen():a.webkitRequestFullScreen&&("undefined"!==typeof Element&&"undefined"!==typeof Element.ALLOW_KEYBOARD_INPUT?a.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):a.webkitRequestFullScreen())))};d.prototype.zx=function(){this.b.N?fa("[Construct 2] Exiting fullscreen is not supported on this platform - the request has been ignored"):this.b.Uu?this.b.Su?debuggerFullscreen(!1):this.b.Be&&window.nwgui&&(window.nwgui.Window.get().leaveFullscreen(),
|
||||
this.b.Be=!1):document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen()};d.prototype.Ix=function(a,b){"undefined"!==typeof console&&(0===a&&console.log&&console.log(b.toString()),1===a&&console.warn&&console.warn(b.toString()),2===a&&console.error&&console.error(b.toString()))};d.prototype.Px=function(a){try{eval&&eval(a)}catch(b){console&&
|
||||
console.error&&console.error("Error executing Javascript: ",b)}};d.prototype.EA=function(){this.b.Gt=!1;screen.orientation&&screen.orientation.unlock?screen.orientation.unlock():screen.unlockOrientation?screen.unlockOrientation():screen.webkitUnlockOrientation?screen.webkitUnlockOrientation():screen.mozUnlockOrientation?screen.mozUnlockOrientation():screen.msUnlockOrientation&&screen.msUnlockOrientation()};h.m=new d;h.n=new function(){}})();function zc(f){this.b=f}
|
||||
(function(){function f(){}function k(){}var d=zc.prototype;d.K=function(d){this.W=d;this.b=d.b};d.K.prototype.F=function(){};d.H=function(d){this.type=d;this.b=d.b};var l=d.H.prototype;l.F=function(){this.b.N?fa("[Construct 2] Button plugin not supported on this platform - the object will not be created"):(this.Rh=1===this.q[0],this.Xc=document.createElement("input"),this.u=this.Rh?document.createElement("label"):this.Xc,this.Vj=null,this.Xc.type=this.Rh?"checkbox":"button",this.Xc.id=this.q[6],jQuery(this.u).appendTo(this.b.Bh?
|
||||
this.b.Bh:"body"),this.Rh?(jQuery(this.Xc).appendTo(this.u),this.Vj=document.createTextNode(this.q[1]),jQuery(this.u).append(this.Vj),this.Xc.checked=0!==this.q[7],jQuery(this.u).css("font-family","sans-serif"),jQuery(this.u).css("display","inline-block"),jQuery(this.u).css("color","black")):this.Xc.value=this.q[1],this.u.title=this.q[2],this.Xc.disabled=0===this.q[4],this.Sd=0!==this.q[5],this.Kc=!1,0===this.q[3]&&(jQuery(this.u).hide(),this.visible=!1,this.Kc=!0),this.Xc.onclick=function(d){return function(b){b.stopPropagation();
|
||||
d.b.La=!0;d.b.trigger(zc.prototype.e.sl,d);d.b.La=!1}}(this),this.u.addEventListener("touchstart",function(d){d.stopPropagation()},!1),this.u.addEventListener("touchmove",function(d){d.stopPropagation()},!1),this.u.addEventListener("touchend",function(d){d.stopPropagation()},!1),jQuery(this.u).mousedown(function(d){d.stopPropagation()}),jQuery(this.u).mouseup(function(d){d.stopPropagation()}),jQuery(this.u).keydown(function(d){d.stopPropagation()}),jQuery(this.u).keyup(function(d){d.stopPropagation()}),
|
||||
this.ak=this.bk=this.Wj=this.Zj=this.$j=this.Xj=0,this.qh(!0),this.b.Hf(this))};l.ua=function(){var d={tooltip:this.u.title,disabled:!!this.Xc.disabled};this.Rh?(d.checked=!!this.Xc.checked,d.text=this.Vj.nodeValue):d.text=this.u.value;return d};l.Ea=function(d){this.u.title=d.tooltip;this.Xc.disabled=d.disabled;this.Rh?(this.Xc.checked=d.checked,this.Vj.nodeValue=d.text):this.u.value=d.text};l.Fd=function(){this.b.N||(jQuery(this.u).remove(),this.u=null)};l.Ba=function(){this.qh()};l.qh=function(d){if(!this.b.N){var b=
|
||||
this.A.Ma(this.x,this.y,!0),e=this.A.Ma(this.x,this.y,!1),a=this.A.Ma(this.x+this.width,this.y+this.height,!0),f=this.A.Ma(this.x+this.width,this.y+this.height,!1),l=this.b.width/this.b.devicePixelRatio,g=this.b.height/this.b.devicePixelRatio;!this.visible||!this.A.visible||0>=a||0>=f||b>=l||e>=g?(this.Kc||jQuery(this.u).hide(),this.Kc=!0):(1>b&&(b=1),1>e&&(e=1),a>=l&&(a=l-1),f>=g&&(f=g-1),l=window.innerWidth,g=window.innerHeight,d||this.Xj!==b||this.$j!==e||this.Zj!==a||this.Wj!==f||this.bk!==l||
|
||||
this.ak!==g?(this.Xj=b,this.$j=e,this.Zj=a,this.Wj=f,this.bk=l,this.ak=g,this.Kc&&(jQuery(this.u).show(),this.Kc=!1),d=Math.round(b)+jQuery(this.b.canvas).offset().left,l=Math.round(e)+jQuery(this.b.canvas).offset().top,jQuery(this.u).css("position","absolute"),jQuery(this.u).offset({left:d,top:l}),jQuery(this.u).width(Math.round(a-b)),jQuery(this.u).height(Math.round(f-e)),this.Sd&&jQuery(this.u).css("font-size",this.A.$b(!0)/this.b.devicePixelRatio-.2+"em")):this.Kc&&(jQuery(this.u).show(),this.Kc=
|
||||
!1))}};l.Jc=function(){};l.Rb=function(){};f.prototype.sl=function(){return!0};d.e=new f;k.prototype.xl=function(d){this.b.N||(this.Rh?this.Vj.nodeValue=d:this.u.value=d)};k.prototype.wh=function(d){this.b.N||(this.visible=0!==d)};k.prototype.aj=function(d){this.b.N||(this.Xc.disabled=0===d)};k.prototype.Ys=function(){this.b.N||this.Xc.blur()};k.prototype.Yo=function(d,b){this.b.N||jQuery(this.u).css(d,b)};d.m=new k;d.n=new function(){}})();function V(f){this.b=f}
|
||||
(function(){function f(a){return b(e(h(a),8*a.length))}function k(a,c){var d=h(a);16<d.length&&(d=e(d,8*a.length));for(var g=Array(16),f=Array(16),l=0;16>l;l++)g[l]=d[l]^909522486,f[l]=d[l]^1549556828;d=e(g.concat(h(c)),512+8*c.length);return b(e(f.concat(d),640))}function d(a,c){var b=c.length,e,d,g,h,f,l=Array(Math.ceil(a.length/2));for(e=0;e<l.length;e++)l[e]=a.charCodeAt(2*e)<<8|a.charCodeAt(2*e+1);var n=Math.ceil(8*a.length/(Math.log(c.length)/Math.log(2))),m=Array(n);for(d=0;d<n;d++){f=[];for(e=
|
||||
h=0;e<l.length;e++)if(h=(h<<16)+l[e],g=Math.floor(h/b),h-=g*b,0<f.length||0<g)f[f.length]=g;m[d]=h;l=f}b="";for(e=m.length-1;0<=e;e--)b+=c.charAt(m[e]);return b}function l(a){for(var c="",b=-1,e,d;++b<a.length;)e=a.charCodeAt(b),d=b+1<a.length?a.charCodeAt(b+1):0,55296<=e&&56319>=e&&56320<=d&&57343>=d&&(e=65536+((e&1023)<<10)+(d&1023),b++),127>=e?c+=String.fromCharCode(e):2047>=e?c+=String.fromCharCode(192|e>>>6&31,128|e&63):65535>=e?c+=String.fromCharCode(224|e>>>12&15,128|e>>>6&63,128|e&63):2097151>=
|
||||
e&&(c+=String.fromCharCode(240|e>>>18&7,128|e>>>12&63,128|e>>>6&63,128|e&63));return c}function h(a){for(var c=Array(a.length>>2),b=0;b<c.length;b++)c[b]=0;for(b=0;b<8*a.length;b+=8)c[b>>5]|=(a.charCodeAt(b/8)&255)<<b%32;return c}function b(a){for(var c="",b=0;b<32*a.length;b+=8)c+=String.fromCharCode(a[b>>5]>>>b%32&255);return c}function e(b,e){b[e>>5]|=128<<e%32;b[(e+64>>>9<<4)+14]=e;for(var d=1732584193,h=-271733879,f=-1732584194,l=271733878,m=0;m<b.length;m+=16)var p=d,q=h,k=f,r=l,d=n(d,h,f,l,
|
||||
b[m+0],7,-680876936),l=n(l,d,h,f,b[m+1],12,-389564586),f=n(f,l,d,h,b[m+2],17,606105819),h=n(h,f,l,d,b[m+3],22,-1044525330),d=n(d,h,f,l,b[m+4],7,-176418897),l=n(l,d,h,f,b[m+5],12,1200080426),f=n(f,l,d,h,b[m+6],17,-1473231341),h=n(h,f,l,d,b[m+7],22,-45705983),d=n(d,h,f,l,b[m+8],7,1770035416),l=n(l,d,h,f,b[m+9],12,-1958414417),f=n(f,l,d,h,b[m+10],17,-42063),h=n(h,f,l,d,b[m+11],22,-1990404162),d=n(d,h,f,l,b[m+12],7,1804603682),l=n(l,d,h,f,b[m+13],12,-40341101),f=n(f,l,d,h,b[m+14],17,-1502002290),h=n(h,
|
||||
f,l,d,b[m+15],22,1236535329),d=t(d,h,f,l,b[m+1],5,-165796510),l=t(l,d,h,f,b[m+6],9,-1069501632),f=t(f,l,d,h,b[m+11],14,643717713),h=t(h,f,l,d,b[m+0],20,-373897302),d=t(d,h,f,l,b[m+5],5,-701558691),l=t(l,d,h,f,b[m+10],9,38016083),f=t(f,l,d,h,b[m+15],14,-660478335),h=t(h,f,l,d,b[m+4],20,-405537848),d=t(d,h,f,l,b[m+9],5,568446438),l=t(l,d,h,f,b[m+14],9,-1019803690),f=t(f,l,d,h,b[m+3],14,-187363961),h=t(h,f,l,d,b[m+8],20,1163531501),d=t(d,h,f,l,b[m+13],5,-1444681467),l=t(l,d,h,f,b[m+2],9,-51403784),f=
|
||||
t(f,l,d,h,b[m+7],14,1735328473),h=t(h,f,l,d,b[m+12],20,-1926607734),d=a(h^f^l,d,h,b[m+5],4,-378558),l=a(d^h^f,l,d,b[m+8],11,-2022574463),f=a(l^d^h,f,l,b[m+11],16,1839030562),h=a(f^l^d,h,f,b[m+14],23,-35309556),d=a(h^f^l,d,h,b[m+1],4,-1530992060),l=a(d^h^f,l,d,b[m+4],11,1272893353),f=a(l^d^h,f,l,b[m+7],16,-155497632),h=a(f^l^d,h,f,b[m+10],23,-1094730640),d=a(h^f^l,d,h,b[m+13],4,681279174),l=a(d^h^f,l,d,b[m+0],11,-358537222),f=a(l^d^h,f,l,b[m+3],16,-722521979),h=a(f^l^d,h,f,b[m+6],23,76029189),d=a(h^
|
||||
f^l,d,h,b[m+9],4,-640364487),l=a(d^h^f,l,d,b[m+12],11,-421815835),f=a(l^d^h,f,l,b[m+15],16,530742520),h=a(f^l^d,h,f,b[m+2],23,-995338651),d=g(d,h,f,l,b[m+0],6,-198630844),l=g(l,d,h,f,b[m+7],10,1126891415),f=g(f,l,d,h,b[m+14],15,-1416354905),h=g(h,f,l,d,b[m+5],21,-57434055),d=g(d,h,f,l,b[m+12],6,1700485571),l=g(l,d,h,f,b[m+3],10,-1894986606),f=g(f,l,d,h,b[m+10],15,-1051523),h=g(h,f,l,d,b[m+1],21,-2054922799),d=g(d,h,f,l,b[m+8],6,1873313359),l=g(l,d,h,f,b[m+15],10,-30611744),f=g(f,l,d,h,b[m+6],15,-1560198380),
|
||||
h=g(h,f,l,d,b[m+13],21,1309151649),d=g(d,h,f,l,b[m+4],6,-145523070),l=g(l,d,h,f,b[m+11],10,-1120210379),f=g(f,l,d,h,b[m+2],15,718787259),h=g(h,f,l,d,b[m+9],21,-343485551),d=c(d,p),h=c(h,q),f=c(f,k),l=c(l,r);return[d,h,f,l]}function a(a,b,e,d,g,h){return c(m(c(c(b,a),c(d,h)),g),e)}function n(c,b,e,d,g,h,f){return a(b&e|~b&d,c,b,g,h,f)}function t(c,b,e,d,g,h,f){return a(b&d|e&~d,c,b,g,h,f)}function g(c,b,e,d,g,h,f){return a(e^(b|~d),c,b,g,h,f)}function c(a,c){var b=(a&65535)+(c&65535);return(a>>16)+
|
||||
(c>>16)+(b>>16)<<16|b&65535}function m(a,c){return a<<c|a>>>32-c}function q(a){return D(p(v(a),8*a.length))}function r(a,c){var b=v(a);16<b.length&&(b=p(b,8*a.length));for(var e=Array(16),d=Array(16),g=0;16>g;g++)e[g]=b[g]^909522486,d[g]=b[g]^1549556828;b=p(e.concat(v(c)),512+8*c.length);return D(p(d.concat(b),672))}function v(a){for(var c=Array(a.length>>2),b=0;b<c.length;b++)c[b]=0;for(b=0;b<8*a.length;b+=8)c[b>>5]|=(a.charCodeAt(b/8)&255)<<24-b%32;return c}function D(a){for(var c="",b=0;b<32*a.length;b+=
|
||||
8)c+=String.fromCharCode(a[b>>5]>>>24-b%32&255);return c}function p(a,b){a[b>>5]|=128<<24-b%32;a[(b+64>>9<<4)+15]=b;for(var e=Array(80),d=1732584193,g=-271733879,h=-1732584194,f=271733878,l=-1009589776,n=0;n<a.length;n+=16){for(var p=d,q=g,k=h,r=f,t=l,v=0;80>v;v++){e[v]=16>v?a[n+v]:m(e[v-3]^e[v-8]^e[v-14]^e[v-16],1);var w=c(c(m(d,5),20>v?g&h|~g&f:40>v?g^h^f:60>v?g&h|g&f|h&f:g^h^f),c(c(l,e[v]),20>v?1518500249:40>v?1859775393:60>v?-1894007588:-899497514)),l=f,f=h,h=m(g,30),g=d,d=w}d=c(d,p);g=c(g,q);
|
||||
h=c(h,k);f=c(f,r);l=c(l,t)}return[d,g,h,f,l]}function G(a){return D(E(v(a),8*a.length))}function J(a,c){var b=v(a);16<b.length&&(b=E(b,8*a.length));for(var e=Array(16),d=Array(16),g=0;16>g;g++)e[g]=b[g]^909522486,d[g]=b[g]^1549556828;b=E(e.concat(v(c)),512+8*c.length);return D(E(d.concat(b),768))}function w(a,c){return a>>>c|a<<32-c}function E(a,b){var e=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],d=Array(64),g,h,f,l,m,n,p,q,k,r,t,v;a[b>>5]|=128<<24-
|
||||
b%32;a[(b+64>>9<<4)+15]=b;for(k=0;k<a.length;k+=16){g=e[0];h=e[1];f=e[2];l=e[3];m=e[4];n=e[5];p=e[6];q=e[7];for(r=0;64>r;r++)16>r?t=a[r+k]:(t=d[r-15],v=d[r-2],t=c(c(c(w(v,17)^w(v,19)^v>>>10,d[r-7]),w(t,7)^w(t,18)^t>>>3),d[r-16])),d[r]=t,t=c(c(c(c(q,w(m,6)^w(m,11)^w(m,25)),m&n^~m&p),B[r]),d[r]),v=c(w(g,2)^w(g,13)^w(g,22),g&h^g&f^h&f),q=p,p=n,n=m,m=c(l,t),l=f,f=h,h=g,g=c(t,v);e[0]=c(g,e[0]);e[1]=c(h,e[1]);e[2]=c(f,e[2]);e[3]=c(l,e[3]);e[4]=c(m,e[4]);e[5]=c(n,e[5]);e[6]=c(p,e[6]);e[7]=c(q,e[7])}return e}
|
||||
var u=V.prototype;u.K=function(a){this.W=a;this.b=a.b};u.K.prototype.F=function(){};u.H=function(a){this.type=a;this.b=a.b;this.od=""};var x=u.H.prototype;x.F=function(){this.Cm=0;this.Fl=" "};u.e={};u.e.Ta=function(){return!0};x.Gu=function(a){return this.Ci(f(l(a)))};x.Kt=function(a){return this.Bi(f(l(a)))};x.Bt=function(a,c){return d(f(l(a)),c)};x.Du=function(a,c){return this.Ci(k(l(a),l(c)))};x.Ht=function(a,c){return this.Bi(k(l(a),l(c)))};x.yt=function(a,c,b){return d(k(l(a),l(c)),b)};x.Hu=
|
||||
function(a){return this.Ci(q(l(a)))};x.Lt=function(a){return this.Bi(q(l(a)))};x.Ct=function(a,c){return d(q(l(a)),c)};x.Eu=function(a,c){return this.Ci(r(l(a),l(c)))};x.It=function(a,c){return this.Bi(r(l(a),l(c)))};x.zt=function(a,c,b){return d(r(l(a),l(c)),b)};x.Iu=function(a){return this.Ci(G(l(a)))};x.Mt=function(a){return this.Bi(G(l(a)))};x.Dt=function(a,c){return d(G(l(a)),c)};x.Fu=function(a,c){return this.Ci(J(l(a),l(c)))};x.Jt=function(a,c){return this.Bi(J(l(a),l(c)))};x.At=function(a,
|
||||
c,b){return d(J(l(a),l(c)),b)};x.Ci=function(a){try{this.Cm}catch(c){this.Cm=0}for(var b=this.Cm?"0123456789ABCDEF":"0123456789abcdef",e="",d,g=0;g<a.length;g++)d=a.charCodeAt(g),e+=b.charAt(d>>>4&15)+b.charAt(d&15);return e};x.Bi=function(a){try{this.Fl}catch(c){this.Fl=""}for(var b="",e=a.length,d=0;d<e;d+=3)for(var g=a.charCodeAt(d)<<16|(d+1<e?a.charCodeAt(d+1)<<8:0)|(d+2<e?a.charCodeAt(d+2):0),h=0;4>h;h++)b=8*d+6*h>8*a.length?b+this.Fl:b+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>>
|
||||
6*(3-h)&63);return b};u.m={};x=u.m;x.UG=function(a){this.Cm=0==a?0:1};x.TG=function(a){this.Fl=a};x.MF=function(a,c){this.od=0==c?this.Gu(a):this.Kt(a);this.b.trigger(V.prototype.e.Ta,this)};x.NF=function(a,c){this.od=this.Bt(a,c);this.b.trigger(V.prototype.e.Ta,this)};x.EF=function(a,c,b){this.od=0==b?this.Du(a,c):this.Ht(a,c);this.b.trigger(V.prototype.e.Ta,this)};x.FF=function(a,c,b){this.od=this.yt(a,c,b);this.b.trigger(V.prototype.e.Ta,this)};x.aG=function(a,c){this.od=0==c?this.Hu(a):this.Lt(a);
|
||||
this.b.trigger(V.prototype.e.Ta,this)};x.bG=function(a,c){this.od=this.Ct(a,c);this.b.trigger(V.prototype.e.Ta,this)};x.wF=function(a,c,b){this.od=0==b?this.Eu(a,c):this.It(a,c);this.b.trigger(V.prototype.e.Ta,this)};x.xF=function(a,c,b){this.od=this.zt(a,c,b);this.b.trigger(V.prototype.e.Ta,this)};x.eG=function(a,c){this.od=0==c?this.Iu(a):this.Mt(a);this.b.trigger(V.prototype.e.Ta,this)};x.fG=function(a,c){this.od=this.Dt(a,c);this.b.trigger(V.prototype.e.Ta,this)};x.BF=function(a,c,b){this.od=
|
||||
0==b?this.Fu(a,c):this.Jt(a,c);this.b.trigger(V.prototype.e.Ta,this)};x.CF=function(a,c,b){this.od=this.At(a,c,b);this.b.trigger(V.prototype.e.Ta,this)};u.n={};u=u.n;u.BG=function(a){a.M(this.od)};u.KF=function(a,c){a.M(this.Gu(c));this.b.trigger(V.prototype.e.Ta,this)};u.LF=function(a,c){a.M(this.Kt(c));this.b.trigger(V.prototype.e.Ta,this)};u.OF=function(a,c,b){a.M(this.Bt(c,b));this.b.trigger(V.prototype.e.Ta,this)};u.rF=function(a,c,b){a.M(this.Du(c,b));this.b.trigger(V.prototype.e.Ta,this)};
|
||||
u.sF=function(a,c,b){a.M(this.Ht(c,b));this.b.trigger(V.prototype.e.Ta,this)};u.tF=function(a,c,b,e){a.M(this.yt(c,b,e));this.b.trigger(V.prototype.e.Ta,this)};u.ZF=function(a,c){a.M(this.Hu(c));this.b.trigger(V.prototype.e.Ta,this)};u.$F=function(a,c){a.M(this.Lt(c));this.b.trigger(V.prototype.e.Ta,this)};u.cG=function(a,c,b){a.M(this.Ct(c,b));this.b.trigger(V.prototype.e.Ta,this)};u.uF=function(a,c,b){a.M(this.Eu(c,b));this.b.trigger(V.prototype.e.Ta,this)};u.vF=function(a,c,b){a.M(this.It(c,b));
|
||||
this.b.trigger(V.prototype.e.Ta,this)};u.yF=function(a,c,b,e){a.M(this.zt(c,b,e));this.b.trigger(V.prototype.e.Ta,this)};u.Nz=function(a,c){a.M(this.Iu(c));this.b.trigger(V.prototype.e.Ta,this)};u.dG=function(a,c){a.M(this.Mt(c));this.b.trigger(V.prototype.e.Ta,this)};u.gG=function(a,c,b){a.M(this.Dt(c,b));this.b.trigger(V.prototype.e.Ta,this)};u.zF=function(a,c,b){a.M(this.Fu(c,b));this.b.trigger(V.prototype.e.Ta,this)};u.AF=function(a,c,b){a.M(this.Jt(c,b));this.b.trigger(V.prototype.e.Ta,this)};
|
||||
u.DF=function(a,c,b,e){a.M(this.At(c,b,e));this.b.trigger(V.prototype.e.Ta,this)};var B=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,
|
||||
-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998]})();function Ac(f){this.b=f}
|
||||
(function(){function f(){}function k(){}function d(){}var l=Ac.prototype;l.K=function(b){this.W=b;this.b=b.b};l.K.prototype.F=function(){};l.H=function(b){this.type=b;this.b=b.b};var h=l.H.prototype;h.F=function(){this.Qb={};this.Vl="";this.ng=0};h.ua=function(){return this.Qb};h.Ea=function(b){this.Qb=b;this.ng=0;for(var e in this.Qb)this.Qb.hasOwnProperty(e)&&this.ng++};f.prototype.Wx=function(){var b=this.b.$a().Za,e;for(e in this.Qb)this.Qb.hasOwnProperty(e)&&(this.Vl=e,this.b.ie(b.aa),b.td(),
|
||||
this.b.bd(b.aa));this.Vl="";return!1};f.prototype.ws=function(){return 0===this.ng};l.e=new f;k.prototype.nx=function(b,e){this.Qb.hasOwnProperty(b)||this.ng++;this.Qb[b]=e};k.prototype.Yz=function(b,e){this.Qb.hasOwnProperty(b)&&(this.Qb[b]=e)};k.prototype.hs=function(){Ya(this.Qb);this.ng=0};k.prototype.Mo=function(b){var e;try{e=JSON.parse(b)}catch(a){return}if(e.c2dictionary){this.Qb=e.data;this.ng=0;for(var d in this.Qb)this.Qb.hasOwnProperty(d)&&this.ng++}};l.m=new k;d.prototype.Yx=function(b,
|
||||
e){this.Qb.hasOwnProperty(e)?b.Cf(this.Qb[e]):b.J(0)};d.prototype.xs=function(b){b.J(this.ng)};d.prototype.Mx=function(b){this.Qb.hasOwnProperty(this.Vl)?b.Cf(this.Qb[this.Vl]):b.J(0)};d.prototype.ll=function(b){b.M(JSON.stringify({c2dictionary:!0,data:this.Qb}))};l.n=new d})();function vc(f){this.b=f}
|
||||
(function(){function f(){this.name="";this.yi=0;this.S=[]}function k(){n++;n===a.length&&a.push(new f);return a[n]}function d(){return 0>n?null:a[n]}function l(){}function h(){}function b(){}var e=vc.prototype;e.K=function(a){this.W=a;this.b=a.b};e.K.prototype.F=function(){};e.H=function(a){this.type=a;this.b=a.b};var a=[],n=-1;e.H.prototype.F=function(){var a=this;window.c2_callFunction=function(b,c){var e,d,h,f=k();f.name=b.toLowerCase();f.yi=0;if(c)for(f.S.length=c.length,e=0,d=c.length;e<d;++e)h=
|
||||
c[e],f.S[e]="number"===typeof h||"string"===typeof h?h:"boolean"===typeof h?h?1:0:0;else z(f.S);a.b.trigger(vc.prototype.e.ul,a,f.name);n--;return f.yi}};l.prototype.ul=function(a){var b=d();return b?lb(a,b.name):!1};l.prototype.Gx=function(a,b,c){var e=d();if(!e)return!1;a=ra(a);return 0>a||a>=e.S.length?!1:lc(e.S[a],b,c)};e.e=new l;h.prototype.CallFunction=function(a,b){var c=k();c.name=a.toLowerCase();c.yi=0;Ba(c.S,b);this.b.trigger(vc.prototype.e.ul,this,c.name);n--};h.prototype.eA=function(a){var b=
|
||||
d();b&&(b.yi=a)};e.m=new h;b.prototype.wz=function(a){var b=d();b?a.J(b.S.length):a.J(0)};b.prototype.vz=function(a,b){b=ra(b);var c=d();c?0<=b&&b<c.S.length?a.Cf(c.S[b]):a.J(0):a.J(0)};b.prototype.gs=function(a,b){var c=k();c.name=b.toLowerCase();c.yi=0;z(c.S);var e,d;e=2;for(d=arguments.length;e<d;e++)c.S.push(arguments[e]);this.b.trigger(vc.prototype.e.ul,this,c.name);n--;a.Cf(c.yi)};e.n=new b})();function Bc(f){this.b=f}
|
||||
(function(){function f(){}var k=Bc.prototype;k.K=function(d){this.W=d;this.b=d.b};k.K.prototype.F=function(){};k.H=function(d){this.type=d;this.b=d.b;this.Uj=Array(256);this.bl=Array(256);this.Kf=0};var d=k.H.prototype;d.F=function(){var d=this;this.b.N||(jQuery(document).keydown(function(b){d.UD(b)}),jQuery(document).keyup(function(b){d.VD(b)}))};var l=[32,33,34,35,36,37,38,39,40,44];d.UD=function(d){var b=!1;window!=window.top&&-1<l.indexOf(d.which)&&(d.preventDefault(),b=!0,d.stopPropagation());
|
||||
if(this.Uj[d.which])this.bl[d.which]&&!b&&d.preventDefault();else{this.Uj[d.which]=!0;this.Kf=d.which;this.b.La=!0;this.b.trigger(Bc.prototype.e.Sy,this);var e=this.b.trigger(Bc.prototype.e.Js,this),a=this.b.trigger(Bc.prototype.e.ez,this);this.b.La=!1;if(e||a)this.bl[d.which]=!0,b||d.preventDefault()}};d.VD=function(d){this.Uj[d.which]=!1;this.Kf=d.which;this.b.La=!0;this.b.trigger(Bc.prototype.e.ys,this);var b=this.b.trigger(Bc.prototype.e.Ls,this),e=this.b.trigger(Bc.prototype.e.Ks,this);this.b.La=
|
||||
!1;if(b||e||this.bl[d.which])this.bl[d.which]=!0,d.preventDefault()};d.kh=function(){var d;for(d=0;256>d;++d)if(this.Uj[d]){this.Uj[d]=!1;this.Kf=d;this.b.trigger(Bc.prototype.e.ys,this);var b=this.b.trigger(Bc.prototype.e.Ls,this),e=this.b.trigger(Bc.prototype.e.Ks,this);if(b||e)this.bl[d]=!0}};d.ua=function(){return{triggerKey:this.Kf}};d.Ea=function(d){this.Kf=d.triggerKey};f.prototype.Js=function(d){return d===this.Kf};f.prototype.Sy=function(){return!0};f.prototype.ys=function(){return!0};f.prototype.Ls=
|
||||
function(d){return d===this.Kf};f.prototype.ez=function(d){return d===this.Kf};f.prototype.Ks=function(d){return d===this.Kf};k.e=new f;k.m=new function(){};k.n=new function(){}})();var Cc=!1;
|
||||
try{!function(){var f,k,d;!function(){var l={},h={};f=function(b,e,a){l[b]={qB:e,fB:a}};d=k=function(b){function e(a){if("."!==a.charAt(0))return a;a=a.split("/");for(var c=b.split("/").slice(0,-1),e=0,d=a.length;d>e;e++){var g=a[e];".."===g?c.pop():"."!==g&&c.push(g)}return c.join("/")}if(d.uG=l,h[b])return h[b];if(h[b]={},!l[b])throw Error("Could not find module "+b);for(var a,f=l[b],t=f.qB,f=f.fB,g=[],c=0,m=t.length;m>c;c++)"exports"===t[c]?g.push(a={}):g.push(k(e(t[c])));t=f.apply(this,g);return h[b]=
|
||||
a||t}}();f("promise/all",["./utils","exports"],function(d,f){var b=d.isArray,e=d.isFunction;f.all=function(a){if(!b(a))throw new TypeError("You must pass an array to all.");return new this(function(b,d){function g(a){return function(c){f[a]=c;0===--h&&b(f)}}var c,f=[],h=a.length;0===h&&b([]);for(var l=0;l<a.length;l++)(c=a[l])&&e(c.then)?c.then(g(l),d):(f[l]=c,0===--h&&b(f))})}});f("promise/asap",["exports"],function(d){function f(){return function(){process.LG(a)}}function b(){var c=0,b=new g(a),
|
||||
e=document.createTextNode("");return b.observe(e,{characterData:!0}),function(){e.data=c=++c%2}}function e(){return function(){c.setTimeout(a,1)}}function a(){for(var a=0;a<m.length;a++){var c=m[a];(0,c[0])(c[1])}m=[]}var n,k="undefined"!=typeof window?window:{},g=k.MutationObserver||k.WebKitMutationObserver,c="undefined"!=typeof global?global:void 0===this?window:this,m=[];n="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?f():g?b():e();d.aB=function(a,c){1===m.push([a,
|
||||
c])&&n()}});f("promise/config",["exports"],function(d){var f={DG:!1};d.Wt=f;d.jB=function(b,e){return 2!==arguments.length?f[b]:void(f[b]=e)}});f("promise/polyfill",["./promise","./utils","exports"],function(d,f,b){var e=d.Promise,a=f.isFunction;b.gE=function(){var b;b="undefined"!=typeof global?global:"undefined"!=typeof window&&window.document?window:self;"Promise"in b&&"resolve"in b.Promise&&"reject"in b.Promise&&"all"in b.Promise&&"race"in b.Promise&&function(){var e;return new b.Promise(function(a){e=
|
||||
a}),a(e)}()||(b.Promise=e)}});f("promise/promise","./config ./utils ./all ./race ./resolve ./reject ./asap exports".split(" "),function(d,f,b,e,a,n,k,g){function c(a){if(!B(a))throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof c))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this.Al=[];m(a,this)}function m(a,c){function b(a){p(c,
|
||||
a)}function e(a){J(c,a)}try{a(b,e)}catch(d){e(d)}}function q(a,c,b,e){var d,g,f,h,l=B(b);if(l)try{d=b(e),f=!0}catch(m){h=!0,g=m}else d=e,f=!0;D(c,d)||(l&&f?p(c,d):h?J(c,g):a===U?p(c,d):a===y&&J(c,d))}function r(a,c,b,e){a=a.Al;var d=a.length;a[d]=c;a[d+U]=b;a[d+y]=e}function v(a,c){for(var b,e,d=a.Al,g=a.zl,f=0;f<d.length;f+=3)b=d[f],e=d[f+c],q(c,b,e,g);a.Al=null}function D(a,c){var b,e=null;try{if(a===c)throw new TypeError("A promises callback cannot return that same promise.");if(x(c)&&(e=c.then,
|
||||
B(e)))return e.call(c,function(e){return b?!0:(b=!0,void(c!==e?p(a,e):G(a,e)))},function(c){return b?!0:(b=!0,void J(a,c))}),!0}catch(d){return b?!0:(J(a,d),!0)}return!1}function p(a,c){a===c?G(a,c):D(a,c)||G(a,c)}function G(a,c){a.Xe===N&&(a.Xe=O,a.zl=c,u.async(w,a))}function J(a,c){a.Xe===N&&(a.Xe=O,a.zl=c,u.async(E,a))}function w(a){v(a,a.Xe=U)}function E(a){v(a,a.Xe=y)}var u=d.Wt,x=(d.jB,f.OD),B=f.isFunction;d=(f.now,b.all);e=e.race;a=a.resolve;n=n.reject;u.async=k.aB;var N=void 0,O=0,U=1,y=2;
|
||||
c.prototype={constructor:c,Xe:void 0,zl:void 0,Al:void 0,then:function(a,c){var b=this,e=new this.constructor(function(){});if(this.Xe){var d=arguments;u.async(function(){q(b.Xe,e,d[b.Xe-1],b.zl)})}else r(this,e,a,c);return e},"catch":function(a){return this.then(null,a)}};c.all=d;c.race=e;c.resolve=a;c.reject=n;g.Promise=c});f("promise/race",["./utils","exports"],function(d,f){var b=d.isArray;f.race=function(e){if(!b(e))throw new TypeError("You must pass an array to race.");return new this(function(a,
|
||||
b){for(var d,g=0;g<e.length;g++)(d=e[g])&&"function"==typeof d.then?d.then(a,b):a(d)})}});f("promise/reject",["exports"],function(d){d.reject=function(d){return new this(function(b,e){e(d)})}});f("promise/resolve",["exports"],function(d){d.resolve=function(d){return d&&"object"==typeof d&&d.constructor===this?d:new this(function(b){b(d)})}});f("promise/utils",["exports"],function(d){function f(b){return"function"==typeof b}var b=Date.now||function(){return(new Date).getTime()};d.OD=function(b){return f(b)||
|
||||
"object"==typeof b&&null!==b};d.isFunction=f;d.isArray=function(b){return"[object Array]"===Object.prototype.toString.call(b)};d.now=b});k("promise/polyfill").gE()}();var Dc=function(){return function(f){function k(l){if(d[l])return d[l].ve;var h=d[l]={ve:{},id:l,loaded:!1};return f[l].call(h.ve,h,h.ve,k),h.loaded=!0,h.ve}var d={};return k.Td=f,k.pj=d,k.Bk="",k(0)}([function(f,k,d){k.yl=!0;var l=function(f){function b(a,c){a[c]=function(){var b=arguments;return a.ready().then(function(){return a[c].apply(a,
|
||||
b)})}}function e(){for(var a=1;a<arguments.length;a++){var c=arguments[a];if(c)for(var b in c)c.hasOwnProperty(b)&&(q(c[b])?arguments[0][b]=c[b].slice():arguments[0][b]=c[b])}return arguments[0]}function a(a){for(var c in k)if(k.hasOwnProperty(c)&&k[c]===a)return!0;return!1}var l={},k={Wi:"asyncStorage",Xi:"localStorageWrapper",fj:"webSQLStorage"},g="clear getItem iterate key keys length removeItem setItem".split(" "),c={description:"",Ih:[k.Wi,k.fj,k.Xi].slice(),name:"localforage",size:4980736,Sa:"keyvaluepairs",
|
||||
version:1},m=function(a){var c={},b;try{var e=e||a.indexedDB||a.webkitIndexedDB||a.mozIndexedDB||a.av||a.msIndexedDB;b="undefined"!=typeof a.openDatabase&&a.navigator&&a.navigator.userAgent&&/Safari/.test(a.navigator.userAgent)&&!/Chrome/.test(a.navigator.userAgent)?!1:e&&"function"==typeof e.open&&"undefined"!=typeof a.IDBKeyRange}catch(d){b=!1}c[k.Wi]=!!b;var g;try{g=a.openDatabase}catch(f){g=!1}c[k.fj]=!!g;var h;try{h=a.localStorage&&"setItem"in a.localStorage&&a.localStorage.setItem}catch(l){h=
|
||||
!1}return c[k.Xi]=!!h,c}(f),q=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)};return new (function(){function f(a){if(!(this instanceof f))throw new TypeError("Cannot call a class as a function");this.Wi=k.Wi;this.Xi=k.Xi;this.fj=k.fj;this.fp=e({},c);this.Dg=e({},this.fp,a);this.ht=this.qe=null;this.Pf=!1;this.Pa=null;this.it();this.ww(this.Dg.Ih)}return f.prototype.Wt=function(a){if("object"==typeof a){if(this.Pf)return Error("Can't call config() after localforage has been used.");
|
||||
for(var c in a)"storeName"===c&&(a[c]=a[c].replace(/\W/g,"_")),this.Dg[c]=a[c];return"driver"in a&&a.Ih&&this.ww(this.Dg.Ih),!0}return"string"==typeof a?this.Dg[a]:this.Dg},f.prototype.Ih=function(){return this.kj||null},f.prototype.wu=function(c,b,e){var g=this,f=function(){if(a(c))switch(c){case g.Wi:return new Promise(function(a){a(d(1))});case g.Xi:return new Promise(function(a){a(d(2))});case g.fj:return new Promise(function(a){a(d(4))})}else if(l[c])return Promise.resolve(l[c]);return Promise.reject(Error("Driver not found."))}();
|
||||
return f.then(b,e),f},f.prototype.ready=function(a){var c=this,b=c.qe.then(function(){return null===c.Pf&&(c.Pf=c.ht()),c.Pf});return b.then(a,a),b},f.prototype.ww=function(a,c,b){function e(){g.Dg.Ih=g.Ih()}function d(a){return function(){function c(){for(;b<a.length;){var d=a[b];return b++,g.Pa=null,g.Pf=null,g.wu(d).then(function(a){return g.NA(a),e(),g.Pf=g.hp(g.Dg),g.Pf})["catch"](c)}e();return g.qe=Promise.reject(Error("No available storage method found.")),g.qe}var b=0;return c()}}var g=this;
|
||||
q(a)||(a=[a]);var f=this.OA(a);return this.qe=(null!==this.qe?this.qe["catch"](function(){return Promise.resolve()}):Promise.resolve()).then(function(){var a=f[0];return g.Pa=null,g.Pf=null,g.wu(a).then(function(a){g.kj=a.kj;e();g.it();g.ht=d(f)})})["catch"](function(){e();return g.qe=Promise.reject(Error("No available storage method found.")),g.qe}),this.qe.then(c,b),this.qe},f.prototype.supports=function(a){return!!m[a]},f.prototype.NA=function(a){e(this,a)},f.prototype.OA=function(a){for(var c=
|
||||
[],b=0,e=a.length;e>b;b++){var d=a[b];this.supports(d)&&c.push(d)}return c},f.prototype.it=function(){for(var a=0;a<g.length;a++)b(this,g[a])},f.prototype.xp=function(a){return new f(a)},f}())}("undefined"!=typeof window?window:self);k["default"]=l;f.ve=k["default"]},function(f,k){k.yl=!0;k["default"]=function(d){function f(a,c){a=a||[];c=c||{};try{return new Blob(a,c)}catch(b){if("TypeError"!==b.name)throw b;for(var e=new (d.BlobBuilder||d.Td||d.iu||d.WebKitBlobBuilder),g=0;g<a.length;g+=1)e.append(a[g]);
|
||||
return e.getBlob(c.type)}}function h(a){return new Promise(function(c,b){var e=new XMLHttpRequest;e.open("GET",a);e.withCredentials=!0;e.responseType="arraybuffer";e.onreadystatechange=function(){return 4===e.readyState?200===e.status?c({response:e.response,type:e.getResponseHeader("Content-Type")}):void b({status:e.status,response:e.response}):void 0};e.send()})}function b(a){return(new Promise(function(c,b){var e=f([""],{type:"image/png"}),d=a.transaction([N],"readwrite");d.objectStore(N).put(e,
|
||||
"key");d.oncomplete=function(){var e=a.transaction([N],"readwrite").objectStore(N).get("key");e.onerror=b;e.onsuccess=function(a){var b=URL.createObjectURL(a.target.result);h(b).then(function(a){c(!(!a||"image/png"!==a.type))},function(){c(!1)}).then(function(){URL.revokeObjectURL(b)})}};d.onerror=d.onabort=b}))["catch"](function(){return!1})}function e(a){return"boolean"==typeof x?Promise.resolve(x):b(a).then(function(a){return x=a})}function a(a){return new Promise(function(c,b){var e=new FileReader;
|
||||
e.onerror=b;e.onloadend=function(b){c({gt:!0,data:btoa(b.target.result||""),type:a.type})};e.readAsBinaryString(a)})}function n(a){for(var c=atob(a.data),b=c.length,e=new ArrayBuffer(b),d=new Uint8Array(e),g=0;b>g;g++)d[g]=c.charCodeAt(g);return f([e],{type:a.type})}function k(a){var c=this,b=c.gp().then(function(){var a=B[c.Pa.name];return a&&a.Gh?a.Gh:void 0});return b.then(a,a),b}function g(a){a=B[a.name];var c={};c.promise=new Promise(function(a){c.resolve=a});a.$t.push(c);a.Gh?a.Gh=a.Gh.then(function(){return c.promise}):
|
||||
a.Gh=c.promise}function c(a){function c(){return Promise.resolve()}var b=this,e={db:null};if(a)for(var g in a)e[g]=a[g];B||(B={});var f=B[e.name];f||(f={mm:[],db:null,Gh:null,$t:[]},B[e.name]=f);f.mm.push(b);b.gp||(b.gp=b.ready,b.ready=k);a=[];for(g=0;g<f.mm.length;g++){var h=f.mm[g];h!==b&&a.push(h.gp()["catch"](c))}var l=f.mm.slice(0);return Promise.all(a).then(function(){return e.db=f.db,m(e,!1)}).then(function(a){e.db=a;var c;c=b.fp.version;if(e.db){var g=!e.db.objectStoreNames.contains(e.Sa),
|
||||
f=e.version>e.db.version;(e.version<e.db.version&&(e.version!==c&&d.console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),f||g)?(g&&(c=e.db.version+1,c>e.version&&(e.version=c)),c=!0):c=!1}else c=!0;return c?m(e,!0):a}).then(function(a){e.db=f.db=a;b.Pa=e;for(a=0;a<l.length;a++){var c=l[a];c!==b&&(c.Pa.db=e.db,c.Pa.version=e.version)}})}function m(a,c){return new Promise(function(b,e){if(a.db){if(!c)return b(a.db);
|
||||
g(a);a.db.close()}var f=[a.name];c&&f.push(a.version);var h=u.open.apply(u,f);c&&(h.onupgradeneeded=function(c){var b=h.result;try{b.createObjectStore(a.Sa),1>=c.oldVersion&&b.createObjectStore(N)}catch(e){if("ConstraintError"!==e.name)throw e;d.console.warn('The database "'+a.name+'" has been upgraded from version '+c.oldVersion+" to version "+c.newVersion+', but the storage "'+a.Sa+'" already exists.')}});h.onerror=function(){e(h.error)};h.onsuccess=function(){b(h.result);var c=B[a.name].$t.pop();
|
||||
c&&c.resolve()}})}function q(a,c){var b=this;"string"!=typeof a&&(d.console.warn(a+" used as a key, but it is not a string."),a=String(a));var e=new Promise(function(c,e){b.ready().then(function(){var d=b.Pa,g=d.db.transaction(d.Sa,"readonly").objectStore(d.Sa).get(a);g.onsuccess=function(){var a=g.result;void 0===a&&(a=null);a&&a.gt&&(a=n(a));c(a)};g.onerror=function(){e(g.error)}})["catch"](e)});return E(e,c),e}function r(a,c){var b=this,e=new Promise(function(c,e){b.ready().then(function(){var d=
|
||||
b.Pa,g=d.db.transaction(d.Sa,"readonly").objectStore(d.Sa).openCursor(),f=1;g.onsuccess=function(){var b=g.result;if(b){var e=b.value;e&&e.gt&&(e=n(e));e=a(e,b.key,f++);void 0!==e?c(e):b["continue"]()}else c()};g.onerror=function(){e(g.error)}})["catch"](e)});return E(e,c),e}function v(c,b,g){var f=this;"string"!=typeof c&&(d.console.warn(c+" used as a key, but it is not a string."),c=String(c));var h=new Promise(function(d,g){var h;f.ready().then(function(){return h=f.Pa,b instanceof Blob?e(h.db).then(function(c){return c?
|
||||
b:a(b)}):b}).then(function(a){var b=h.db.transaction(h.Sa,"readwrite"),e=b.objectStore(h.Sa);null===a&&(a=void 0);b.oncomplete=function(){void 0===a&&(a=null);d(a)};b.onabort=b.onerror=function(){g(f.error?f.error:f.transaction.error)};var f=e.put(a,c)})["catch"](g)});return E(h,g),h}function D(a,c){var b=this;"string"!=typeof a&&(d.console.warn(a+" used as a key, but it is not a string."),a=String(a));var e=new Promise(function(c,e){b.ready().then(function(){var d=b.Pa,g=d.db.transaction(d.Sa,"readwrite"),
|
||||
f=g.objectStore(d.Sa)["delete"](a);g.oncomplete=function(){c()};g.onerror=function(){e(f.error)};g.onabort=function(){e(f.error?f.error:f.transaction.error)}})["catch"](e)});return E(e,c),e}function p(a){var c=this,b=new Promise(function(a,b){c.ready().then(function(){var e=c.Pa,d=e.db.transaction(e.Sa,"readwrite"),g=d.objectStore(e.Sa).clear();d.oncomplete=function(){a()};d.onabort=d.onerror=function(){b(g.error?g.error:g.transaction.error)}})["catch"](b)});return E(b,a),b}function G(a){var c=this,
|
||||
b=new Promise(function(a,b){c.ready().then(function(){var e=c.Pa,d=e.db.transaction(e.Sa,"readonly").objectStore(e.Sa).count();d.onsuccess=function(){a(d.result)};d.onerror=function(){b(d.error)}})["catch"](b)});return E(b,a),b}function J(a,c){var b=this,e=new Promise(function(c,e){return 0>a?void c(null):void b.ready().then(function(){var d=b.Pa,g=!1,f=d.db.transaction(d.Sa,"readonly").objectStore(d.Sa).openCursor();f.onsuccess=function(){var b=f.result;return b?void(0===a?c(b.key):g?c(b.key):(g=
|
||||
!0,b.advance(a))):void c(null)};f.onerror=function(){e(f.error)}})["catch"](e)});return E(e,c),e}function w(a){var c=this,b=new Promise(function(a,b){c.ready().then(function(){var e=c.Pa,d=e.db.transaction(e.Sa,"readonly").objectStore(e.Sa).openCursor(),g=[];d.onsuccess=function(){var c=d.result;return c?(g.push(c.key),void c["continue"]()):void a(g)};d.onerror=function(){b(d.error)}})["catch"](b)});return E(b,a),b}function E(a,c){c&&a.then(function(a){c(null,a)},function(a){c(a)})}var u=u||d.indexedDB||
|
||||
d.webkitIndexedDB||d.mozIndexedDB||d.av||d.msIndexedDB;if(u){var x,B,N="local-forage-detect-blob-support";return{kj:"asyncStorage",hp:c,$u:r,getItem:q,setItem:v,removeItem:D,clear:p,length:G,key:J,keys:w}}}("undefined"!=typeof window?window:self);f.ve=k["default"]},function(f,k,d){k.yl=!0;k["default"]=function(f){function h(a,b){b&&a.then(function(a){b(null,a)},function(a){b(a)})}var b=null;try{if(!(f.localStorage&&"setItem"in f.localStorage))return;b=f.localStorage}catch(e){return}return{kj:"localStorageWrapper",
|
||||
hp:function(a){var b={};if(a)for(var e in a)b[e]=a[e];return b.Ce=b.name+"/",b.Sa!==this.fp.Sa&&(b.Ce+=b.Sa+"/"),this.Pa=b,(new Promise(function(a){a(d(3))})).then(function(a){return b.mh=a,Promise.resolve()})},$u:function(a,e){var d=this,g=d.ready().then(function(){for(var c=d.Pa,e=c.Ce,g=e.length,f=b.length,h=1,l=0;f>l;l++){var n=b.key(l);if(0===n.indexOf(e)){var k=b.getItem(n);if(k&&(k=c.mh.$l(k)),k=a(k,n.substring(g),h++),void 0!==k)return k}}});return h(g,e),g},getItem:function(a,e){var d=this;
|
||||
"string"!=typeof a&&(f.console.warn(a+" used as a key, but it is not a string."),a=String(a));var g=d.ready().then(function(){var c=d.Pa,e=b.getItem(c.Ce+a);return e&&(e=c.mh.$l(e)),e});return h(g,e),g},setItem:function(a,e,d){var g=this;"string"!=typeof a&&(f.console.warn(a+" used as a key, but it is not a string."),a=String(a));var c=g.ready().then(function(){void 0===e&&(e=null);var c=e;return new Promise(function(d,f){var h=g.Pa;h.mh.serialize(e,function(e,g){if(g)f(g);else try{b.setItem(h.Ce+
|
||||
a,e),d(c)}catch(l){"QuotaExceededError"!==l.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==l.name||f(l),f(l)}})})});return h(c,d),c},removeItem:function(a,e){var d=this;"string"!=typeof a&&(f.console.warn(a+" used as a key, but it is not a string."),a=String(a));var g=d.ready().then(function(){b.removeItem(d.Pa.Ce+a)});return h(g,e),g},clear:function(a){var e=this,d=e.ready().then(function(){for(var a=e.Pa.Ce,c=b.length-1;0<=c;c--){var d=b.key(c);0===d.indexOf(a)&&b.removeItem(d)}});return h(d,a),d},length:function(a){var b=
|
||||
this.keys().then(function(a){return a.length});return h(b,a),b},key:function(a,e){var d=this,g=d.ready().then(function(){var c,e=d.Pa;try{c=b.key(a)}catch(g){c=null}return c&&(c=c.substring(e.Ce.length)),c});return h(g,e),g},keys:function(a){var e=this,d=e.ready().then(function(){for(var a=e.Pa,c=b.length,d=[],f=0;c>f;f++)0===b.key(f).indexOf(a.Ce)&&d.push(b.key(f).substring(a.Ce.length));return d});return h(d,a),d}}}("undefined"!=typeof window?window:self);f.ve=k["default"]},function(f,k){k.yl=!0;
|
||||
k["default"]=function(d){function f(a){var e,d,g,c,h;e=.75*a.length;var l=a.length,k=0;"="===a[a.length-1]&&(e--,"="===a[a.length-2]&&e--);var v=new ArrayBuffer(e),D=new Uint8Array(v);for(e=0;l>e;e+=4)d=b.indexOf(a[e]),g=b.indexOf(a[e+1]),c=b.indexOf(a[e+2]),h=b.indexOf(a[e+3]),D[k++]=d<<2|g>>4,D[k++]=(15&g)<<4|c>>2,D[k++]=(3&c)<<6|63&h;return v}function h(a){var e=new Uint8Array(a),d="";for(a=0;a<e.length;a+=3)d+=b[e[a]>>2],d+=b[(3&e[a])<<4|e[a+1]>>4],d+=b[(15&e[a+1])<<2|e[a+2]>>6],d+=b[63&e[a+2]];
|
||||
return 2===e.length%3?d=d.substring(0,d.length-1)+"=":1===e.length%3&&(d=d.substring(0,d.length-2)+"=="),d}var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=/^~~local_forage_type~([^~]+)~/;return{serialize:function(a,b){var e="";if(a&&(e=a.toString()),a&&("[object ArrayBuffer]"===a.toString()||a.buffer&&"[object ArrayBuffer]"===a.buffer.toString())){var d,c="__lfsc__:";a instanceof ArrayBuffer?(d=a,c+="arbf"):(d=a.buffer,"[object Int8Array]"===e?c+="si08":"[object Uint8Array]"===
|
||||
e?c+="ui08":"[object Uint8ClampedArray]"===e?c+="uic8":"[object Int16Array]"===e?c+="si16":"[object Uint16Array]"===e?c+="ur16":"[object Int32Array]"===e?c+="si32":"[object Uint32Array]"===e?c+="ui32":"[object Float32Array]"===e?c+="fl32":"[object Float64Array]"===e?c+="fl64":b(Error("Failed to get type for BinaryArray")));b(c+h(d))}else if("[object Blob]"===e)e=new FileReader,e.onload=function(){var c="~~local_forage_type~"+a.type+"~"+h(this.result);b("__lfsc__:blob"+c)},e.readAsArrayBuffer(a);else try{b(JSON.stringify(a))}catch(f){console.error("Couldn't convert value into a JSON string: ",
|
||||
a),b(null,f)}},$l:function(a){if("__lfsc__:"!==a.substring(0,9))return JSON.parse(a);var b,h=a.substring(13);a=a.substring(9,13);if("blob"===a&&e.test(h)){var g=h.match(e);b=g[1];h=h.substring(g[0].length)}h=f(h);switch(a){case "arbf":return h;case "blob":var c;h=[h];b={type:b};h=h||[];b=b||{};try{c=new Blob(h,b)}catch(m){if("TypeError"!==m.name)throw m;c=new (d.BlobBuilder||d.Td||d.iu||d.WebKitBlobBuilder);for(a=0;a<h.length;a+=1)c.append(h[a]);c=c.getBlob(b.type)}return c;case "si08":return new Int8Array(h);
|
||||
case "ui08":return new Uint8Array(h);case "uic8":return new Uint8ClampedArray(h);case "si16":return new Int16Array(h);case "ur16":return new Uint16Array(h);case "si32":return new Int32Array(h);case "ui32":return new Uint32Array(h);case "fl32":return new Float32Array(h);case "fl64":return new Float64Array(h);default:throw Error("Unkown type: "+a);}},VG:f,wG:h}}("undefined"!=typeof window?window:self);f.ve=k["default"]},function(f,k,d){k.yl=!0;k["default"]=function(f){function h(a){var c=this,b={db:null};
|
||||
if(a)for(var e in a)b[e]="string"!=typeof a[e]?a[e].toString():a[e];var g=new Promise(function(a,e){try{b.db=r(b.name,String(b.version),b.description,b.size)}catch(d){return e(d)}b.db.transaction(function(d){d.executeSql("CREATE TABLE IF NOT EXISTS "+b.Sa+" (id INTEGER PRIMARY KEY, key unique, value)",[],function(){c.Pa=b;a()},function(a,c){e(c)})})});return(new Promise(function(a){a(d(3))})).then(function(a){return b.mh=a,g})}function b(a,c){var b=this;"string"!=typeof a&&(f.console.warn(a+" used as a key, but it is not a string."),
|
||||
a=String(a));var e=new Promise(function(c,e){b.ready().then(function(){var d=b.Pa;d.db.transaction(function(b){b.executeSql("SELECT * FROM "+d.Sa+" WHERE key = ? LIMIT 1",[a],function(a,b){var e=b.rows.length?b.rows.item(0).value:null;e&&(e=d.mh.$l(e));c(e)},function(a,c){e(c)})})})["catch"](e)});return q(e,c),e}function e(a,c){var b=this,e=new Promise(function(c,e){b.ready().then(function(){var d=b.Pa;d.db.transaction(function(b){b.executeSql("SELECT * FROM "+d.Sa,[],function(b,e){for(var g=e.rows,
|
||||
f=g.length,h=0;f>h;h++){var l=g.item(h),m=l.value;if(m&&(m=d.mh.$l(m)),m=a(m,l.key,h+1),void 0!==m)return void c(m)}c()},function(a,c){e(c)})})})["catch"](e)});return q(e,c),e}function a(a,c,b){var e=this;"string"!=typeof a&&(f.console.warn(a+" used as a key, but it is not a string."),a=String(a));var d=new Promise(function(b,d){e.ready().then(function(){void 0===c&&(c=null);var g=c,f=e.Pa;f.mh.serialize(c,function(c,e){e?d(e):f.db.transaction(function(e){e.executeSql("INSERT OR REPLACE INTO "+f.Sa+
|
||||
" (key, value) VALUES (?, ?)",[a,c],function(){b(g)},function(a,c){d(c)})},function(a){a.code===a.QUOTA_ERR&&d(a)})})})["catch"](d)});return q(d,b),d}function n(a,c){var b=this;"string"!=typeof a&&(f.console.warn(a+" used as a key, but it is not a string."),a=String(a));var e=new Promise(function(c,e){b.ready().then(function(){var d=b.Pa;d.db.transaction(function(b){b.executeSql("DELETE FROM "+d.Sa+" WHERE key = ?",[a],function(){c()},function(a,c){e(c)})})})["catch"](e)});return q(e,c),e}function k(a){var c=
|
||||
this,b=new Promise(function(a,b){c.ready().then(function(){var e=c.Pa;e.db.transaction(function(c){c.executeSql("DELETE FROM "+e.Sa,[],function(){a()},function(a,c){b(c)})})})["catch"](b)});return q(b,a),b}function g(a){var c=this,b=new Promise(function(a,b){c.ready().then(function(){var e=c.Pa;e.db.transaction(function(c){c.executeSql("SELECT COUNT(key) as c FROM "+e.Sa,[],function(c,b){var e=b.rows.item(0).pj;a(e)},function(a,c){b(c)})})})["catch"](b)});return q(b,a),b}function c(a,c){var b=this,
|
||||
e=new Promise(function(c,e){b.ready().then(function(){var d=b.Pa;d.db.transaction(function(b){b.executeSql("SELECT key FROM "+d.Sa+" WHERE id = ? LIMIT 1",[a+1],function(a,b){var e=b.rows.length?b.rows.item(0).key:null;c(e)},function(a,c){e(c)})})})["catch"](e)});return q(e,c),e}function m(a){var c=this,b=new Promise(function(a,b){c.ready().then(function(){var e=c.Pa;e.db.transaction(function(c){c.executeSql("SELECT key FROM "+e.Sa,[],function(c,b){for(var e=[],d=0;d<b.rows.length;d++)e.push(b.rows.item(d).key);
|
||||
a(e)},function(a,c){b(c)})})})["catch"](b)});return q(b,a),b}function q(a,c){c&&a.then(function(a){c(null,a)},function(a){c(a)})}var r=f.openDatabase;if(r)return{kj:"webSQLStorage",hp:h,$u:e,getItem:b,setItem:a,removeItem:n,clear:k,length:g,key:c,keys:m}}("undefined"!=typeof window?window:self);f.ve=k["default"]}])};"object"==typeof exports&&"object"==typeof module?module.ve=Dc():"function"==typeof define&&define.vG?define([],Dc):"object"==typeof exports?exports.localforage=Dc():this.localforage=
|
||||
Dc()}catch(Ec){Cc=!0}function Fc(f){this.b=f}
|
||||
(function(){function f(a){a.b.trigger(Fc.prototype.e.Pd,a)}function k(){}function d(){}function l(){}var h="",b="",e=[],a="",n="undefined"!==typeof window.is_scirra_arcade;n&&(a="sa"+window.scirra_arcade_id+"_");var t=Fc.prototype;t.K=function(a){this.W=a;this.b=a.b};t.K.prototype.F=function(){};t.H=function(a){this.type=a;this.b=a.b};var g=t.H.prototype;g.F=function(){this.Xq=this.Yq=0};g.Fd=function(){};g.ua=function(){return{}};g.Ea=function(){};k.prototype.Is=function(a){return h===a};k.prototype.Ry=
|
||||
function(){return!0};k.prototype.Gs=function(a){return h===a};k.prototype.Qy=function(){return!0};k.prototype.Uy=function(){return!0};k.prototype.Pd=function(){return!0};k.prototype.Fs=function(a){return h===a};k.prototype.Hs=function(a){return h===a};k.prototype.My=function(){return!0};k.prototype.Ly=function(){return!0};t.e=new k;d.prototype.Xz=function(c,e){if(Cc)f(this);else{var d=a+c;this.Yq++;var g=this;localforage.setItem(d,e,function(a,e){g.Yq--;a?g.b.trigger(Fc.prototype.e.Pd,g):(h=c,b=e,
|
||||
g.b.trigger(Fc.prototype.e.Ry,g),g.b.trigger(Fc.prototype.e.Is,g),b=h="");0===g.Yq&&g.b.trigger(Fc.prototype.e.My,g)})}};d.prototype.Zx=function(c){if(Cc)f(this);else{var e=a+c;this.Xq++;var d=this;localforage.getItem(e,function(a,e){d.Xq--;if(a)d.b.trigger(Fc.prototype.e.Pd,d);else{h=c;b=e;if("undefined"===typeof b||null===b)b="";d.b.trigger(Fc.prototype.e.Qy,d);d.b.trigger(Fc.prototype.e.Gs,d);b=h=""}0===d.Xq&&d.b.trigger(Fc.prototype.e.Ly,d)})}};d.prototype.Ax=function(c){if(Cc)f(this);else{var e=
|
||||
this;localforage.getItem(a+c,function(a,d){a?e.b.trigger(Fc.prototype.e.Pd,e):(h=c,null===d?(b="",e.b.trigger(Fc.prototype.e.Hs,e)):(b=d,e.b.trigger(Fc.prototype.e.Fs,e)),b=h="")})}};d.prototype.Dx=function(){if(Cc)f(this);else if(!n){var a=this;localforage.clear(function(d){d?a.b.trigger(Fc.prototype.e.Pd,a):(b=h="",z(e),a.b.trigger(Fc.prototype.e.Uy,a))})}};t.m=new d;l.prototype.xy=function(a){a.Cf(b)};l.prototype.xs=function(a){a.J(e.length)};t.n=new l})();function Gc(f){this.b=f}
|
||||
(function(){function f(){}function k(){}var d=Gc.prototype;d.K=function(b){this.W=b;this.b=b.b};d.K.prototype.F=function(){};d.H=function(b){this.type=b;this.b=b.b;this.zh=Array(4);this.Tw=this.ho=this.oh=this.sf=this.rf=0;this.dq=!1};var l=d.H.prototype;l.F=function(){var b=this;if(!this.b.N){jQuery(document).mousemove(function(a){b.xk(a)});jQuery(document).mousedown(function(a){b.wk(a)});jQuery(document).mouseup(function(a){b.yk(a)});jQuery(document).dblclick(function(a){b.RD(a)});var e=function(a){b.$D(a)};
|
||||
document.addEventListener("mousewheel",e,!1);document.addEventListener("DOMMouseScroll",e,!1)}};var h={left:0,top:0};l.xk=function(b){var e=this.b.N?h:jQuery(this.b.canvas).offset();this.rf=b.pageX-e.left;this.sf=b.pageY-e.top};l.Jv=function(){return 0<this.b.qc?!0:0<=this.rf&&0<=this.sf&&this.rf<this.b.width&&this.sf<this.b.height};l.wk=function(b){this.Jv()&&(this.zh[b.which]=!0,this.b.La=!0,this.b.trigger(Gc.prototype.e.Py,this),this.oh=b.which-1,this.ho=0,this.b.trigger(Gc.prototype.e.As,this),
|
||||
this.b.trigger(Gc.prototype.e.Rs,this),this.b.La=!1)};l.yk=function(b){this.zh[b.which]&&(this.b.zm&&!this.b.Ae&&b.preventDefault(),this.b.zm=!0,this.zh[b.which]=!1,this.b.La=!0,this.oh=b.which-1,this.b.trigger(Gc.prototype.e.Ts,this),this.b.La=!1)};l.RD=function(b){this.Jv()&&(b.preventDefault(),this.b.La=!0,this.oh=b.which-1,this.ho=1,this.b.trigger(Gc.prototype.e.As,this),this.b.trigger(Gc.prototype.e.Rs,this),this.b.La=!1)};l.$D=function(b){this.Tw=0>(b.wheelDelta?b.wheelDelta:b.detail?-b.detail:
|
||||
0)?0:1;this.dq=!1;this.b.La=!0;this.b.trigger(Gc.prototype.e.uz,this);this.b.La=!1;this.dq&&mb(b)&&b.preventDefault()};l.kh=function(){var b,e;b=0;for(e=this.zh.length;b<e;++b)this.zh[b]&&(this.zh[b]=!1,this.oh=b-1,this.b.trigger(Gc.prototype.e.Ts,this))};f.prototype.As=function(b,e){return b===this.oh&&e===this.ho};f.prototype.Py=function(){return!0};f.prototype.Ts=function(b){return b===this.oh};f.prototype.qy=function(b){var e=this.b.fg();return Va(this.b.Li(b,this.rf,this.sf,e.Qh),e.Qh)};f.prototype.Rs=
|
||||
function(b,e,a){return b!==this.oh||e!==this.ho?!1:this.b.Li(a,this.rf,this.sf,!1)};f.prototype.uz=function(b){this.dq=!0;return b===this.Tw};d.e=new f;d.m=new function(){};k.prototype.hj=function(b,e){var a,d,f,g,c;ha(e)?(a=this.b.Wc(0),d=a.scale,f=a.sb,g=a.gc,c=a.B,a.scale=1,a.sb=1,a.gc=1,a.B=0,b.C(a.Ua(this.rf,this.sf,!0)),a.scale=d,a.sb=f,a.gc=g,a.B=c):(a=ia(e)?this.b.Wc(e):this.b.hg(e))?b.C(a.Ua(this.rf,this.sf,!0)):b.C(0)};k.prototype.ij=function(b,e){var a,d,f,g,c;ha(e)?(a=this.b.Wc(0),d=a.scale,
|
||||
f=a.sb,g=a.hc,c=a.B,a.scale=1,a.sb=1,a.hc=1,a.B=0,b.C(a.Ua(this.rf,this.sf,!1)),a.scale=d,a.sb=f,a.hc=g,a.B=c):(a=ia(e)?this.b.Wc(e):this.b.hg(e))?b.C(a.Ua(this.rf,this.sf,!1)):b.C(0)};d.n=new k})();function Hc(f){this.b=f}
|
||||
(function(){function f(d,f,b,e,a,n,k,g,c,m){d.save();d.fillStyle=f;f=a%b;var q=n%e;0>f&&(f+=b);0>q&&(q+=e);d.translate(f+c,q+m);d.fillRect(a-f-c,n-q-m,k,g);d.restore()}var k=Hc.prototype;k.K=function(d){this.W=d;this.b=d.b};var d=k.K.prototype;d.F=function(){this.V||(this.qa=new Image,this.qa.wp=this.co,this.b.Wr(this.qa,this.bo),this.gl=this.jl=this.il=this.hl=this.Ui=this.ya=this.Ot=this.Sw=this.ow=this.lv=this.Np=null)};d.vk=function(){this.V||(this.gl=this.jl=this.il=this.hl=this.Ui=this.ya=null)};
|
||||
d.dn=function(){this.V||!this.k.length||this.ya||(this.ya=this.b.G.fe(this.qa,!0,this.b.ab,this.Ni))};d.lo=function(){this.V||this.k.length||!this.b.G||(this.b.G.deleteTexture(this.ya),this.b.G.deleteTexture(this.Ui),this.b.G.deleteTexture(this.hl),this.b.G.deleteTexture(this.il),this.b.G.deleteTexture(this.jl),this.b.G.deleteTexture(this.gl),this.gl=this.jl=this.il=this.hl=this.Ui=this.ya=null)};d.Ne=function(d,f,b,e){var a=document.createElement("canvas");b=b-d;e=e-f;a.width=b;a.height=e;a.getContext("2d").drawImage(this.qa,
|
||||
d,f,b,e,0,0,b,e);return a};d.oB=function(d,f,b,e){var a=this.qa.width,n=this.qa.height,k=a-f,g=n-e;if(this.b.G){if(!this.Ui){var c=this.b.G,m=this.b.ab,q=this.Ni;k>d&&g>b&&(this.Ui=c.fe(this.Ne(d,b,k,g),!0,m,q));0<d&&g>b&&(this.hl=c.fe(this.Ne(0,b,d,g),!0,m,q,"repeat-y"));0<f&&g>b&&(this.il=c.fe(this.Ne(k,b,a,g),!0,m,q,"repeat-y"));0<b&&k>d&&(this.jl=c.fe(this.Ne(d,0,k,b),!0,m,q,"repeat-x"));0<e&&k>d&&(this.gl=c.fe(this.Ne(d,g,k,n),!0,m,q,"repeat-x"))}}else this.Np||(c=this.b.fb,k>d&&g>b&&(this.Np=
|
||||
c.createPattern(this.Ne(d,b,k,g),"repeat")),0<d&&g>b&&(this.lv=c.createPattern(this.Ne(0,b,d,g),"repeat")),0<f&&g>b&&(this.ow=c.createPattern(this.Ne(k,b,a,g),"repeat")),0<b&&k>d&&(this.Sw=c.createPattern(this.Ne(d,0,k,b),"repeat")),0<e&&k>d&&(this.Ot=c.createPattern(this.Ne(d,g,k,n),"repeat")))};k.H=function(d){this.type=d;this.b=d.b};d=k.H.prototype;d.F=function(){this.Cq=this.q[0];this.mr=this.q[1];this.Ir=this.q[2];this.op=this.q[3];this.cm=this.q[4];this.fill=this.q[5];this.visible=0===this.q[6];
|
||||
this.rw=0!==this.q[8];this.Bc?this.Le.set(0,0,0,0):this.Le=new va(0,0,0,0);this.b.G&&!this.type.ya&&(this.type.ya=this.b.G.fe(this.type.qa,!1,this.b.ab,this.type.Ni));this.type.oB(this.Cq,this.mr,this.Ir,this.op)};d.Jc=function(d){var h=this.type.qa,b=this.Cq,e=this.mr,a=this.Ir,n=this.op,k=h.width,g=h.height,c=k-e,m=g-n;d.globalAlpha=this.opacity;d.save();var q=this.x,r=this.y,v=this.width,D=this.height;this.b.rd&&(q=Math.round(q),r=Math.round(r));var p=-(this.Lc*this.width),G=-(this.Mc*this.height),
|
||||
J=p%k,w=G%g;0>J&&(J+=k);0>w&&(w+=g);d.translate(q+J,r+w);k=p-J;G-=w;w=this.rw?1:0;0<b&&0<a&&d.drawImage(h,0,0,b+w,a+w,k,G,b+w,a+w);0<e&&0<a&&d.drawImage(h,c-w,0,e+w,a+w,k+v-e-w,G,e+w,a+w);0<e&&0<n&&d.drawImage(h,c-w,m-w,e+w,n+w,k+v-e-w,G+D-n-w,e+w,n+w);0<b&&0<n&&d.drawImage(h,0,m-w,b+w,n+w,k,G+D-n-w,b+w,n+w);0===this.cm?(w=2===this.fill?0:w,0<b&&m>a&&f(d,this.type.lv,b,m-a,k,G+a,b+w,D-a-n,0,0),0<e&&m>a&&f(d,this.type.ow,e,m-a,k+v-e-w,G+a,e+w,D-a-n,w,0),0<a&&c>b&&f(d,this.type.Sw,c-b,a,k+b,G,v-b-e,
|
||||
a+w,0,0),0<n&&c>b&&f(d,this.type.Ot,c-b,n,k+b,G+D-n-w,v-b-e,n+w,0,w)):1===this.cm&&(0<b&&m>a&&0<D-a-n&&d.drawImage(h,0,a,b,m-a,k,G+a,b,D-a-n),0<e&&m>a&&0<D-a-n&&d.drawImage(h,c,a,e,m-a,k+v-e,G+a,e,D-a-n),0<a&&c>b&&0<v-b-e&&d.drawImage(h,b,0,c-b,a,k+b,G,v-b-e,a),0<n&&c>b&&0<v-b-e&&d.drawImage(h,b,m,c-b,n,k+b,G+D-n,v-b-e,n));m>a&&c>b&&(0===this.fill?f(d,this.type.Np,c-b,m-a,k+b,G+a,v-b-e,D-a-n,0,0):1===this.fill&&0<v-b-e&&0<D-a-n&&d.drawImage(h,b,a,c-b,m-a,k+b,G+a,v-b-e,D-a-n));d.restore()};d.ff=function(d,
|
||||
f,b,e,a,n,k,g,c,m){d.Cc(f);var q=this.Le;q.left=b/f.Xd;q.top=e/f.Wd;q.right=(b+a)/f.Xd;q.bottom=(e+n)/f.Wd;d.Ke(k,g,k+c,g,k+c,g+m,k,g+m,q)};d.$k=function(d,f,b,e,a,n,k,g){d.Cc(f);var c=this.Le;c.left=-k/f.Xd;c.top=-g/f.Wd;c.right=(a-k)/f.Xd;c.bottom=(n-g)/f.Wd;d.Ke(b,e,b+a,e,b+a,e+n,b,e+n,c)};d.Kg=function(d){this.Rb(d)};d.Rb=function(d){var f=this.Cq,b=this.mr,e=this.Ir,a=this.op,n=this.type.qa.width-b,k=this.type.qa.height-a;d.xg(this.opacity);var g=this.nc,c=g.Vb,g=g.Wb,m=this.width,q=this.height;
|
||||
this.b.rd&&(c=Math.round(c),g=Math.round(g));var r=this.rw?1:0;0<f&&0<e&&this.ff(d,this.type.ya,0,0,f+r,e+r,c,g,f+r,e+r);0<b&&0<e&&this.ff(d,this.type.ya,n-r,0,b+r,e+r,c+m-b-r,g,b+r,e+r);0<b&&0<a&&this.ff(d,this.type.ya,n-r,k-r,b+r,a+r,c+m-b-r,g+q-a-r,b+r,a+r);0<f&&0<a&&this.ff(d,this.type.ya,0,k-r,f+r,a+r,c,g+q-a-r,f+r,a+r);0===this.cm?(r=2===this.fill?0:r,0<f&&k>e&&this.$k(d,this.type.hl,c,g+e,f+r,q-e-a,0,0),0<b&&k>e&&this.$k(d,this.type.il,c+m-b-r,g+e,b+r,q-e-a,r,0),0<e&&n>f&&this.$k(d,this.type.jl,
|
||||
c+f,g,m-f-b,e+r,0,0),0<a&&n>f&&this.$k(d,this.type.gl,c+f,g+q-a-r,m-f-b,a+r,0,r)):1===this.cm&&(0<f&&k>e&&this.ff(d,this.type.ya,0,e,f,k-e,c,g+e,f,q-e-a),0<b&&k>e&&this.ff(d,this.type.ya,n,e,b,k-e,c+m-b,g+e,b,q-e-a),0<e&&n>f&&this.ff(d,this.type.ya,f,0,n-f,e,c+f,g,m-f-b,e),0<a&&n>f&&this.ff(d,this.type.ya,f,k,n-f,a,c+f,g+q-a,m-f-b,a));k>e&&n>f&&(0===this.fill?this.$k(d,this.type.Ui,c+f,g+e,m-f-b,q-e-a,0,0):1===this.fill&&this.ff(d,this.type.ya,f,e,n-f,k-e,c+f,g+e,m-f-b,q-e-a))};k.e=new function(){};
|
||||
k.m=new function(){};k.n=new function(){}})();function Ic(f){this.b=f}
|
||||
(function(){function f(d){this.eb=d;this.Wa=!1;this.B=this.speed=this.y=this.x=0;this.opacity=1;this.Uf=this.Oh=this.size=this.xm=0}var k=Ic.prototype;k.K=function(d){this.W=d;this.b=d.b};var d=k.K.prototype;d.F=function(){this.V||(this.qa=new Image,this.qa.wp=this.co,this.ya=null,this.b.Wr(this.qa,this.bo))};d.vk=function(){this.V||(this.ya=null)};d.dn=function(){this.V||!this.k.length||this.ya||(this.ya=this.b.G.fe(this.qa,!0,this.b.ab,this.Ni))};d.Dq=function(){this.V||this.ya||!this.b.G||(this.ya=
|
||||
this.b.G.fe(this.qa,!0,this.b.ab,this.Ni))};d.lo=function(){this.V||this.k.length||!this.ya||(this.b.G.deleteTexture(this.ya),this.ya=null)};d.cr=function(d){d.drawImage(this.qa,0,0)};f.prototype.init=function(){var d=this.eb;this.x=d.x-d.wo/2+Math.random()*d.wo;this.y=d.y-d.zo/2+Math.random()*d.zo;this.speed=d.mq-d.Un/2+Math.random()*d.Un;this.B=d.B-d.Vn/2+Math.random()*d.Vn;this.opacity=d.kq;this.size=d.lq-d.Sn/2+Math.random()*d.Sn;this.xm=d.cq-d.ym/2+Math.random()*d.ym;this.Uf=this.Oh=0};f.prototype.Ba=
|
||||
function(d){var b=this.eb;this.x+=Math.cos(this.B)*this.speed*d;this.y+=Math.sin(this.B)*this.speed*d;this.y+=this.Oh*d;this.speed+=b.Qf*d;this.size+=this.xm*d;this.Oh+=b.Rp*d;this.Uf+=d;1>this.size?this.Wa=!1:(0!==b.dk&&(this.B+=Math.random()*b.dk*d-b.dk*d/2),0!==b.fk&&(this.speed+=Math.random()*b.fk*d-b.fk*d/2),0!==b.ek&&(this.opacity+=Math.random()*b.ek*d-b.ek*d/2,0>this.opacity?this.opacity=0:1<this.opacity&&(this.opacity=1)),1>=b.Hh&&this.Uf>=b.timeout&&(this.Wa=!1),2===b.Hh&&0>=this.speed&&
|
||||
(this.Wa=!1))};f.prototype.Jc=function(d){var b=this.eb.opacity*this.opacity;if(0!==b){0===this.eb.Hh&&(b*=1-this.Uf/this.eb.timeout);d.globalAlpha=b;var b=this.x-this.size/2,e=this.y-this.size/2;this.eb.b.rd&&(b=b+.5|0,e=e+.5|0);d.drawImage(this.eb.type.qa,b,e,this.size,this.size)}};f.prototype.Rb=function(d){var b=this.eb.opacity*this.opacity;0===this.eb.Hh&&(b*=1-this.Uf/this.eb.timeout);var e=this.size,a=e*this.eb.ew,f=this.x-e/2,l=this.y-e/2;this.eb.b.rd&&(f=f+.5|0,l=l+.5|0);1>a||0===b||(a<d.MD||
|
||||
a>d.Jq?(d.xg(b),d.wi(f,l,f+e,l,f+e,l+e,f,l+e)):d.fE(this.x,this.y,a,b))};f.prototype.left=function(){return this.x-this.size/2};f.prototype.right=function(){return this.x+this.size/2};f.prototype.top=function(){return this.y-this.size/2};f.prototype.bottom=function(){return this.y+this.size/2};k.H=function(d){this.type=d;this.b=d.b};var d=k.H.prototype,l=[];d.F=function(){var d=this.q;this.Cn=d[0];this.Vn=A(d[1]);this.Hi=d[2];this.Dr=!0;this.mq=d[3];this.lq=d[4];this.kq=d[5]/100;this.cq=d[6];this.wo=
|
||||
d[7];this.zo=d[8];this.Un=d[9];this.Sn=d[10];this.ym=d[11];this.Qf=d[12];this.Rp=d[13];this.dk=d[14];this.fk=d[15];this.ek=d[16];this.Hh=d[17];this.timeout=d[18];this.lh=0;this.ew=1;this.qn=this.x;this.sn=this.y;this.rn=this.x;this.pn=this.y;this.UA(function(b){b.ma.set(b.qn,b.sn,b.rn,b.pn);b.nc.Gi(b.ma);b.Kl=!1;b.Tr();b.gx()});this.Bc||(this.Ac=[]);this.b.Hf(this);this.type.Dq();if(1===this.Hi)for(d=0;d<this.Cn;d++)this.jp().opacity=0;this.km=!0};d.ua=function(){var d={r:this.Cn,sc:this.Vn,st:this.Hi,
|
||||
s:this.Dr,isp:this.mq,isz:this.lq,io:this.kq,gr:this.cq,xr:this.wo,yr:this.zo,spr:this.Un,szr:this.Sn,grnd:this.ym,acc:this.Qf,g:this.Rp,lar:this.dk,lsr:this.fk,lor:this.ek,dm:this.Hh,to:this.timeout,pcc:this.lh,ft:this.km,p:[]},b,e,a,f=d.p;b=0;for(e=this.Ac.length;b<e;b++)a=this.Ac[b],f.push([a.x,a.y,a.speed,a.B,a.opacity,a.xm,a.size,a.Oh,a.Uf]);return d};d.Ea=function(d){this.Cn=d.r;this.Vn=d.sc;this.Hi=d.st;this.Dr=d.s;this.mq=d.isp;this.lq=d.isz;this.kq=d.io;this.cq=d.gr;this.wo=d.xr;this.zo=
|
||||
d.yr;this.Un=d.spr;this.Sn=d.szr;this.ym=d.grnd;this.Qf=d.acc;this.Rp=d.g;this.dk=d.lar;this.fk=d.lsr;this.ek=d.lor;this.Hh=d.dm;this.timeout=d.to;this.lh=d.pcc;this.km=d.ft;l.push.apply(l,this.Ac);z(this.Ac);var b,e,a,f=d.p;d=0;for(b=f.length;d<b;d++)e=this.jp(),a=f[d],e.x=a[0],e.y=a[1],e.speed=a[2],e.B=a[3],e.opacity=a[4],e.xm=a[5],e.size=a[6],e.Oh=a[7],e.Uf=a[8]};d.Fd=function(){l.push.apply(l,this.Ac);z(this.Ac)};d.jp=function(){var d;l.length?(d=l.pop(),d.eb=this):d=new f(this);this.Ac.push(d);
|
||||
d.Wa=!0;return d};d.Ba=function(){var d=this.b.Zd(this),b,e,a,f;if(0===this.Hi&&this.Dr)for(this.lh+=d*this.Cn,e=ra(this.lh),this.lh-=e,b=0;b<e;b++)a=this.jp(),a.init();this.qn=this.x;this.sn=this.y;this.rn=this.x;this.pn=this.y;f=b=0;for(e=this.Ac.length;b<e;b++)a=this.Ac[b],this.Ac[f]=a,this.b.ja=!0,1===this.Hi&&this.km&&a.init(),a.Ba(d),a.Wa?(a.left()<this.qn&&(this.qn=a.left()),a.right()>this.rn&&(this.rn=a.right()),a.top()<this.sn&&(this.sn=a.top()),a.bottom()>this.pn&&(this.pn=a.bottom()),f++):
|
||||
l.push(a);Aa(this.Ac,f);this.wa();this.km=!1;1===this.Hi&&0===this.Ac.length&&this.b.Te(this)};d.Jc=function(d){var b,e,a,f=this.A;b=0;for(e=this.Ac.length;b<e;b++)a=this.Ac[b],a.right()>=f.Ia&&a.bottom()>=f.Ja&&a.left()<=f.Oa&&a.top()<=f.Na&&a.Jc(d)};d.Rb=function(d){this.ew=this.A.$b();d.Cc(this.type.ya);var b,e,a,f=this.A;b=0;for(e=this.Ac.length;b<e;b++)a=this.Ac[b],a.right()>=f.Ia&&a.bottom()>=f.Ja&&a.left()<=f.Oa&&a.top()<=f.Na&&a.Rb(d)};k.e=new function(){};k.m=new function(){};k.n=new function(){}})();
|
||||
function Jc(f){this.b=f}
|
||||
(function(){function f(b){"number"===typeof b?(b=Fa(b,0,1),b=-60*(1-b)):b=parseFloat(b);return b}function k(){}var d=Jc.prototype;d.K=function(b){this.W=b;this.b=b.b};d.K.prototype.F=function(){};d.H=function(b){this.type=b;this.b=b.b};var l=d.H.prototype,h={value:0,Cf:function(b){this.value=b},J:function(b){this.value=b},C:function(b){this.value=b},M:function(b){this.value=b}};l.F=function(){this.hx=1===this.q[0]?"undefined"!==typeof AudioContext:!1;this.audio=null;this.ki=-1;this.b.Hf(this);this.Ld=
|
||||
new Jc.Td(this);this.ri={}};l.We=function(){if(null!=this.audio)return this.audio;var b=this.b.types,e,a;for(e in b)if(a=b[e].k[0],a instanceof yc.prototype.H)return this.audio=a;return null};l.Ba=function(){this.Ld.Ba()};l.Tx=function(b,e,a,d,f){this.Ld.Cg(b);b=this.Ld.dt(b);0<d&&(b.target=a,b.current=e,b.Tn=(a-e)/d,b.cp("TaskFade"));f&&b.Io(f)};l.Hy=function(b,e,a){this.Ld.Cg(b);b=this.Ld.dt(b);0<e&&(b.cp("TaskNOOP"),b.Jk=e);a&&b.Io(a)};l.TaskFade=function(b){var e=this.b.Zd(this);if(0==e)return!0;
|
||||
b.current+=b.Tn*e;e=0<b.Tn?b.current>=b.target:b.current<=b.target;this.xx(b.tag,e?b.target:b.current);return!e};l.TaskNOOP=function(b){var e=this.b.Zd(this);if(0==e)return!0;b.Jk-=e;return 0<=b.Jk};l.TaskStop=function(b){this.es(b.tag)};l.TaskPause=function(b){this.Do(b.tag,0)};l.yx=function(b,e,a,d,f){var g=this.We();null==f?yc.prototype.m.Play.call(g,b,e,a,d):yc.prototype.m.Wo.call(g,f,b,e,a,d)};l.es=function(b){var e=this.We();yc.prototype.m.ej.call(e,b)};l.Do=function(b,e){var a=this.We();yc.prototype.m.$s.call(a,
|
||||
b,e)};l.xx=function(b,e){var a=this.We();yc.prototype.m.ct.call(a,b,e)};l.Co=function(b){var e=this.We();yc.prototype.n.FA.call(e,h,b);return h.value};l.ds=function(b){var e=this.We();yc.prototype.m.Hz.call(e,b)};l.vx=function(b,e){var a=this.We();yc.prototype.m.mx.call(a,b,e)};l.wx=function(b,e,a){var d=this.We();yc.prototype.m.Sz.call(d,b,0,4,e,1,a)};l.ol=function(b){var e=this.We();return yc.prototype.e.ol.call(e,b)};l.Play=function(b,e,a,d,f,g,c){this.hx&&this.ds(g);this.yx(b,f,a,g,c);e<a&&this.Vi(g,
|
||||
e,a,d)};l.Vi=function(b,e,a,d,f){this.hx?(this.ds(b),this.vx(b,e),this.wx(b,a,d),this.Hy(b,d,f)):this.Tx(b,e,a,d,f)};l.ua=function(){return{tm:this.Ld.ua(),pdb:this.ri}};l.Ea=function(b){this.Ld.Ea(b.tm);this.ri=b.pdb};d.e=new function(){};d.m=new k;k.prototype.Play=function(b,e,a,d,h,g){d=d.toLowerCase();g=f(g);a=f(a);this.Ld.Cg(d);this.Play(b,g,a,h,e,d)};k.prototype.ej=function(b,e,a){if(this.ol(b)){b=b.toLowerCase();var d=this.Co(b);a=f(a);this.Ld.Cg(b);d>a?this.Vi(b,d,a,e,"TaskStop"):this.es(b)}};
|
||||
k.prototype.ct=function(b,e,a){b=b.toLowerCase();var d=this.Co(b);e=f(e);this.Ld.Cg(b);this.Vi(b,d,e,a)};k.prototype.Wo=function(b,e,a,d,h,g,c){h=h.toLowerCase();this.Play(e,f(c),f(d),g,a,h,b)};k.prototype.$s=function(b,e,a){b=b.toLowerCase();if(0==e){var d=this.Co(b);this.Ld.Cg(b);-60<d?(this.ri[b]=d,this.Vi(b,d,-60,a,"TaskPause")):this.Do(b,e)}else this.Ld.Cg(b),this.Do(b,e),this.ri.hasOwnProperty(b)&&(this.MG.hasOwnProperty(b)?(e=this.ri[b],delete this.ri[b]):e=1,-60<e&&this.Vi(b,-60,e,a))};d.n=
|
||||
new function(){}})();
|
||||
(function(){function f(d){this.W=d;this.jj=this.Ve=""}Jc.Td=function(d){this.W=d;this.Kd={};this.$n=[]};var k=Jc.Td.prototype;k.Ba=function(){var d,f,h;for(d in this.Kd)f=this.Kd[d],h=f.Zi(),h||(this.$n.push(f),delete this.Kd[d],f.az())};k.dt=function(d){var f=this.Kd[d];f?f.rs(d):f=this.Iy(d);return f};k.Cg=function(d){this.Kd.hasOwnProperty(d)&&(this.$n.push(this.Kd[d]),delete this.Kd[d])};k.Td=function(d){return this.Kd.hasOwnProperty(d)};k.Iy=function(d){var l;l=0<this.$n.length?this.$n.pop():
|
||||
new f(this.W);l.rs(d);return this.Kd[d]=l};k.ua=function(){var d,f={};for(d in this.Kd)f[d]=this.Kd[d].ua();return{ts:f}};k.Ea=function(d){var l;d=d.ts;var h;for(l in d)h=new f(this.W),h.Ea(d[l]),this.Kd[l]=h};k=f.prototype;k.rs=function(d){this.tag=d;this.cp();this.Io()};k.cp=function(d){null==d&&(d="");this.Ve=d};k.Io=function(d){null==d&&(d="");this.jj=d};k.Zi=function(){return""==this.Ve?!1:this.W[this.Ve].call(this.W,this)};k.az=function(){""!=this.jj&&this.W[this.jj].call(this.W,this)};k.ua=
|
||||
function(){var d={t:this.tag,thdlr:this.Ve,fhdlr:this.jj};"TaskFade"===this.Ve?(d.fade_t=this.target,d.fade_c=this.current,d.fade_s=this.Tn):"TaskNOOP"===this.Ve&&(d.rem=this.Jk);return d};k.Ea=function(d){this.tag=d.t;this.Ve=d.thdlr;this.jj=d.fhdlr;"TaskFade"===this.Ve?(this.target=d.fade_t,this.current=d.fade_c,this.Tn=d.fade_s):"TaskNOOP"===this.Ve&&(this.Jk=d.rem)}})();function I(f){this.b=f}
|
||||
(function(){function f(){if(0===this.Ap.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var c=a.getContext("2d");this.Ii?c.drawImage(this.qa,this.li,this.mi,this.width,this.height,0,0,this.width,this.height):c.drawImage(this.qa,0,0,this.width,this.height);this.Ap=a.toDataURL("image/png")}return this.Ap}function k(){}function d(){}function l(){}var h=I.prototype;h.K=function(a){this.W=a;this.b=a.b};var b=h.K.prototype;b.F=function(){if(!this.V){var a,c,b,e,d,
|
||||
g,h,l,m;this.Rd=[];this.Hj=!1;a=0;for(c=this.Fb.length;a<c;a++){d=this.Fb[a];h={};h.name=d[0];h.speed=d[1];h.loop=d[2];h.kr=d[3];h.lr=d[4];h.xf=d[5];h.Aa=d[6];h.frames=[];b=0;for(e=d[7].length;b<e;b++)g=d[7][b],l={},l.bo=g[0],l.co=g[1],l.li=g[2],l.mi=g[3],l.width=g[4],l.height=g[5],l.duration=g[6],l.Lc=g[7],l.Mc=g[8],l.iq=g[9],l.vn=g[10],l.fw=g[11],l.Ii=0!==l.width,l.Ap="",l.AG=f,m={left:0,top:0,right:1,bottom:1},l.Br=m,l.ya=null,(m=this.b.yC(g[0]))?l.qa=m:(l.qa=new Image,l.qa.lB=g[0],l.qa.wp=g[1],
|
||||
l.qa.eB=null,this.b.Wr(l.qa,g[0])),h.frames.push(l),this.Rd.push(l);this.Fb[a]=h}}};b.cx=function(){var a,c,b;a=0;for(c=this.k.length;a<c;a++)b=this.k[a],b.Ul=b.bb.ya};b.vk=function(){if(!this.V){var a,c,b;a=0;for(c=this.Rd.length;a<c;++a)b=this.Rd[a],b.qa.eB=null,b.ya=null;this.Hj=!1;this.cx()}};b.dn=function(){if(!this.V&&this.k.length){var a,c,b;a=0;for(c=this.Rd.length;a<c;++a)b=this.Rd[a],b.ya=this.b.G.fe(b.qa,!1,this.b.ab,b.fw);this.cx()}};b.Dq=function(){if(!this.V&&!this.Hj&&this.b.G){var a,
|
||||
c,b;a=0;for(c=this.Rd.length;a<c;++a)b=this.Rd[a],b.ya=this.b.G.fe(b.qa,!1,this.b.ab,b.fw);this.Hj=!0}};b.lo=function(){if(!this.V&&!this.k.length&&this.Hj){var a,c,b;a=0;for(c=this.Rd.length;a<c;++a)b=this.Rd[a],this.b.G.deleteTexture(b.ya),b.ya=null;this.Hj=!1}};var e=[];b.cr=function(a){var c,b,d;z(e);c=0;for(b=this.Rd.length;c<b;++c)d=this.Rd[c].qa,-1===e.indexOf(d)&&(a.drawImage(d,0,0),e.push(d))};h.H=function(a){this.type=a;this.b=a.b;a=this.type.Fb[0].frames[0].vn;this.Bc?this.Qa.Ok(a):this.Qa=
|
||||
new fb(a)};var a=h.H.prototype;a.F=function(){this.visible=0===this.q[0];this.Dm=this.Pj=!1;this.Hg=0!==this.q[3];this.Ya=this.uu(this.q[1])||this.type.Fb[0];this.U=this.q[2];0>this.U&&(this.U=0);this.U>=this.Ya.frames.length&&(this.U=this.Ya.frames.length-1);var a=this.Ya.frames[this.U];this.Qa.Ok(a.vn);this.Lc=a.Lc;this.Mc=a.Mc;this.Eh=this.Ya.speed;this.ag=this.Ya.lr;1===this.type.Fb.length&&1===this.type.Fb[0].frames.length||0===this.Eh||(this.b.Hf(this),this.Pj=!0);this.Bc?this.re.reset():this.re=
|
||||
new db;this.mf=this.re.P;this.Wf=!0;this.Ye=0;this.Eg=!0;this.Ch=this.ut="";this.Tt=0;this.Pl=-1;this.type.Dq();var c,b,e,d,f,g,h,a=0;for(c=this.type.Fb.length;a<c;a++)for(d=this.type.Fb[a],b=0,e=d.frames.length;b<e;b++)f=d.frames[b],0===f.width&&(f.width=f.qa.width,f.height=f.qa.height),f.Ii&&(h=f.qa,g=f.Br,g.left=f.li/h.width,g.top=f.mi/h.height,g.right=(f.li+f.width)/h.width,g.bottom=(f.mi+f.height)/h.height,0===f.li&&0===f.mi&&f.width===h.width&&f.height===h.height&&(f.Ii=!1));this.bb=this.Ya.frames[this.U];
|
||||
this.Ul=this.bb.ya};a.ua=function(){var a={a:this.Ya.Aa,f:this.U,cas:this.Eh,fs:this.mf,ar:this.Ye,at:this.re.P,rt:this.ag};this.Wf||(a.ap=this.Wf);this.Eg||(a.af=this.Eg);return a};a.Ea=function(a){var c=this.CC(a.a);c&&(this.Ya=c);this.U=a.f;0>this.U&&(this.U=0);this.U>=this.Ya.frames.length&&(this.U=this.Ya.frames.length-1);this.Eh=a.cas;this.mf=a.fs;this.Ye=a.ar;this.re.reset();this.re.P=a.at;this.Wf=a.hasOwnProperty("ap")?a.ap:!0;this.Eg=a.hasOwnProperty("af")?a.af:!0;a.hasOwnProperty("rt")?
|
||||
this.ag=a.rt:this.ag=this.Ya.lr;this.bb=this.Ya.frames[this.U];this.Ul=this.bb.ya;this.Qa.Ok(this.bb.vn);this.Lc=this.bb.Lc;this.Mc=this.bb.Mc};a.lp=function(a){this.U=a?0:this.Ya.frames.length-1;this.Wf=!1;this.ut=this.Ya.name;this.Dm=!0;this.b.trigger(I.prototype.e.Oy,this);this.b.trigger(I.prototype.e.Ny,this);this.Dm=!1;this.Ye=0};a.Td=function(){return this.re.P};a.Ba=function(){this.re.add(this.b.Zd(this));this.Ch.length&&this.au();0<=this.Pl&&this.bu();var a=this.re.P,c=this.Ya,b=c.frames[this.U],
|
||||
e=b.duration/this.Eh;this.Wf&&a>=this.mf+e&&(this.Eg?this.U++:this.U--,this.mf+=e,this.U>=c.frames.length&&(c.xf?(this.Eg=!1,this.U=c.frames.length-2):c.loop?this.U=this.ag:(this.Ye++,this.Ye>=c.kr?this.lp(!1):this.U=this.ag)),0>this.U&&(c.xf?(this.U=1,this.Eg=!0,c.loop||(this.Ye++,this.Ye>=c.kr&&this.lp(!0))):c.loop?this.U=this.ag:(this.Ye++,this.Ye>=c.kr?this.lp(!0):this.U=this.ag)),0>this.U?this.U=0:this.U>=c.frames.length&&(this.U=c.frames.length-1),a>this.mf+c.frames[this.U].duration/this.Eh&&
|
||||
(this.mf=a),a=c.frames[this.U],this.vh(b,a),this.b.ja=!0)};a.uu=function(a){var c,b,e;c=0;for(b=this.type.Fb.length;c<b;c++)if(e=this.type.Fb[c],lb(e.name,a))return e;return null};a.CC=function(a){var c,b,e;c=0;for(b=this.type.Fb.length;c<b;c++)if(e=this.type.Fb[c],e.Aa===a)return e;return null};a.au=function(){var a=this.Ya.frames[this.U],c=this.uu(this.Ch);this.Ch="";!c||lb(c.name,this.Ya.name)&&this.Wf||(this.Ya=c,this.Eh=c.speed,this.ag=c.lr,0>this.U&&(this.U=0),this.U>=this.Ya.frames.length&&
|
||||
(this.U=this.Ya.frames.length-1),1===this.Tt&&(this.U=0),this.Wf=!0,this.mf=this.re.P,this.Eg=!0,this.vh(a,this.Ya.frames[this.U]),this.b.ja=!0)};a.bu=function(){var a=this.Ya.frames[this.U],c=this.U;this.U=ra(this.Pl);0>this.U&&(this.U=0);this.U>=this.Ya.frames.length&&(this.U=this.Ya.frames.length-1);c!==this.U&&(this.vh(a,this.Ya.frames[this.U]),this.mf=this.re.P,this.b.ja=!0);this.Pl=-1};a.vh=function(a,c){var b=a.width,e=a.height,d=c.width,f=c.height;b!=d&&(this.width*=d/b);e!=f&&(this.height*=
|
||||
f/e);this.Lc=c.Lc;this.Mc=c.Mc;this.Qa.Ok(c.vn);this.wa();this.bb=c;this.Ul=c.ya;b=0;for(e=this.X.length;b<e;b++)d=this.X[b],d.Vv&&d.Vv(a,c);this.b.trigger(I.prototype.e.vh,this)};a.Jc=function(a){a.globalAlpha=this.opacity;var c=this.bb,b=c.Ii,e=c.qa,d=this.x,f=this.y,g=this.width,h=this.height;if(0===this.B&&0<=g&&0<=h)d-=this.Lc*g,f-=this.Mc*h,this.b.rd&&(d=Math.round(d),f=Math.round(f)),b?a.drawImage(e,c.li,c.mi,c.width,c.height,d,f,g,h):a.drawImage(e,d,f,g,h);else{this.b.rd&&(d=Math.round(d),
|
||||
f=Math.round(f));a.save();var l=0<g?1:-1,m=0<h?1:-1;a.translate(d,f);1===l&&1===m||a.scale(l,m);a.rotate(this.B*l*m);d=0-this.Lc*ma(g);f=0-this.Mc*ma(h);b?a.drawImage(e,c.li,c.mi,c.width,c.height,d,f,ma(g),ma(h)):a.drawImage(e,d,f,ma(g),ma(h));a.restore()}};a.Kg=function(a){this.Rb(a)};a.Rb=function(a){a.Cc(this.Ul);a.xg(this.opacity);var c=this.bb,b=this.nc;if(this.b.rd){var e=Math.round(this.x)-this.x,d=Math.round(this.y)-this.y;c.Ii?a.Ke(b.Vb+e,b.Wb+d,b.Sc+e,b.Tc+d,b.Hc+e,b.Ic+d,b.Fc+e,b.Gc+d,
|
||||
c.Br):a.wi(b.Vb+e,b.Wb+d,b.Sc+e,b.Tc+d,b.Hc+e,b.Ic+d,b.Fc+e,b.Gc+d)}else c.Ii?a.Ke(b.Vb,b.Wb,b.Sc,b.Tc,b.Hc,b.Ic,b.Fc,b.Gc,c.Br):a.wi(b.Vb,b.Wb,b.Sc,b.Tc,b.Hc,b.Ic,b.Fc,b.Gc)};a.KC=function(a){var c=this.bb,b,e;b=0;for(e=c.iq.length;b<e;b++)if(lb(a,c.iq[b][0]))return b;return-1};a.Cj=function(a,c){var b=this.bb,e=b.iq,d;ja(a)?d=this.KC(a):d=a-1;d=ra(d);if(0>d||d>=e.length)return c?this.x:this.y;var f=(e[d][1]-b.Lc)*this.width,e=e[d][2],e=(e-b.Mc)*this.height,b=Math.cos(this.B);d=Math.sin(this.B);
|
||||
var g=f*b-e*d,e=e*b+f*d,f=g+this.x,e=e+this.y;return c?f:e};var n=null,t=new ca,g=!1,c=[],m=new va(0,0,0,0);b.finish=function(a){if(g){if(a){var c=this.b.$a().Za.qd;a=n.ba();var b=t.Nd(),e,d;if(a.ca){a.ca=!1;z(a.k);e=0;for(d=b.length;e<d;++e)a.k[e]=b[e];if(c)for(z(a.da),e=0,d=n.k.length;e<d;++e)b=n.k[e],t.contains(b)||a.da.push(b)}else if(c)for(c=a.k.length,e=0,d=b.length;e<d;++e)a.k[c+e]=b[e],Ea(a.da,b[e]);else Ba(a.k,b);n.wd()}t.clear();g=!1}};k.prototype.ry=function(a){if(a){var b=!1,e,d,f,h=this.b.fg(),
|
||||
l=h.type,h=h.Qh;e=a.ba();d=this.b.$a().Za.qd;var k;e.ca?(this.xa(),m.Dh(this.ma),m.offset(0,0),this.b.FC(this.A,a,m,c),k=c):k=d?this.b.oD()&&!e.da.length&&e.k.length?e.k:e.da:e.k;n=a;g=l!==a&&!h;e=0;for(d=k.length;e<d;e++)if(f=k[e],this.b.UE(this,f)){b=!0;if(h)break;l!==a&&t.add(f)}z(c);a=b}else a=!1;return a};k.prototype.ey=function(a){return this.Ch.length?lb(this.Ch,a):lb(this.Ya.name,a)};k.prototype.Ny=function(a){return lb(this.ut,a)};k.prototype.Oy=function(){return!0};k.prototype.vh=function(){return!0};
|
||||
k.prototype.ly=function(){return 0>this.width};k.prototype.hy=function(){return 0>this.height};h.e=new k;d.prototype.rA=function(){this.Wf=!1};d.prototype.Qz=function(a,c){this.Ch=a;this.Tt=c;this.Pj||(this.b.Hf(this),this.Pj=!0);this.Dm||this.au()};d.prototype.Rz=function(a){this.Pl=a;this.Pj||(this.b.Hf(this),this.Pj=!0);this.Dm||this.bu()};d.prototype.aA=function(a){a=ma(this.width)*(0===a?-1:1);this.width!==a&&(this.width=a,this.wa())};d.prototype.Vz=function(a){a=ma(this.height)*(0===a?-1:1);
|
||||
this.height!==a&&(this.height=a,this.wa())};d.prototype.fA=function(a){var c=this.bb,b=c.width*a*(0>this.width?-1:1);a=c.height*a*(0>this.height?-1:1);if(this.width!==b||this.height!==a)this.width=b,this.height=a,this.wa()};h.m=new d;l.prototype.rx=function(a){a.M(this.Ya.name)};l.prototype.by=function(a,c){a.C(this.Cj(c,!0))};l.prototype.cy=function(a,c){a.C(this.Cj(c,!1))};l.prototype.dy=function(a){a.C(this.bb.width)};l.prototype.ay=function(a){a.C(this.bb.height)};h.n=new l})();
|
||||
function W(f){this.b=f}
|
||||
(function(){function f(){return g.length?g.pop():{}}function k(a){var b,e;b=0;for(e=a.length;b<e;b++)g.push(a[b]);z(a)}function d(a){return a.length&&" "===a.charAt(a.length-1)?a.substring(0,a.length-1):a}function l(){}function h(){}function b(){}var e=W.prototype;e.F=function(){e.m.$o=function(a){this.width!==a&&(this.width=a,this.Gf=!0,this.wa())}};e.K=function(a){this.W=a;this.b=a.b};var a=e.K.prototype;a.F=function(){};a.vk=function(){if(!this.V){var a,b,e;a=0;for(b=this.k.length;a<b;a++)e=this.k[a],
|
||||
e.Fe=null,e.ih=null,e.$c=null}};e.H=function(a){this.type=a;this.b=a.b;this.Bc?z(this.ee):this.ee=[];this.Gf=!0};var a=e.H.prototype,n={};a.F=function(){this.text=this.q[0];this.visible=0===this.q[1];this.font=this.q[2];this.color=this.q[3];this.Am=this.q[4];this.ro=this.q[5];this.Zr=0===this.q[7];this.Aq=this.Om=this.width;this.Nm=this.height;this.gk=this.q[8];this.lm=this.kf="";this.Nw=this.Ow=this.yf=0;this.cE();this.$c=this.ih=this.Fe=null;this.Mv=!1;this.ck=this.b.Qe;this.Bc?this.Le.set(0,0,
|
||||
1,1):this.Le=new va(0,0,1,1);this.b.G&&this.b.Hf(this)};a.cE=function(){var a=this.font.split(" "),b;for(b=0;b<a.length;b++)if("pt"===a[b].substr(a[b].length-2,2)){this.yf=parseInt(a[b].substr(0,a[b].length-2));this.Hk=Math.ceil(this.yf/72*96)+4;0<b&&(this.lm=a[b-1]);this.kf=a[b+1];for(b+=2;b<a.length;b++)this.kf+=" "+a[b];break}};a.ua=function(){return{t:this.text,f:this.font,c:this.color,ha:this.Am,va:this.ro,wr:this.Zr,lho:this.gk,fn:this.kf,fs:this.lm,ps:this.yf,pxh:this.Hk,tw:this.Ow,th:this.Nw,
|
||||
lrt:this.ck}};a.Ea=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.Am=a.ha;this.ro=a.va;this.Zr=a.wr;this.gk=a.lho;this.kf=a.fn;this.lm=a.fs;this.yf=a.ps;this.Hk=a.pxh;this.Ow=a.tw;this.Nw=a.th;this.ck=a.lrt;this.Gf=!0;this.Aq=this.Om=this.width;this.Nm=this.height};a.Ba=function(){if(this.b.G&&this.$c&&300<=this.b.Qe-this.ck){var a=this.A;this.xa();var b=this.ma;if(b.right<a.Ia||b.bottom<a.Ja||b.left>a.Oa||b.top>a.Na)this.b.G.deleteTexture(this.$c),this.Fe=this.ih=this.$c=null}};a.Fd=
|
||||
function(){this.Fe=this.ih=null;this.b.G&&this.$c&&this.b.G.deleteTexture(this.$c);this.$c=null};a.Pr=function(){this.font=this.lm+" "+this.yf.toString()+"pt "+this.kf;this.Gf=!0;this.b.ja=!0};a.Jc=function(a,b){a.font=this.font;a.textBaseline="top";a.fillStyle=this.color;a.globalAlpha=b?1:this.opacity;var e=1;b&&(e=Math.abs(this.A.$b()),a.save(),a.scale(e,e));if(this.Gf||this.width!==this.Aq)this.type.W.JA(this.text,this.ee,a,this.width,this.Zr),this.Gf=!1,this.Aq=this.width;this.xa();var e=b?0:
|
||||
this.nc.Vb,d=b?0:this.nc.Wb;this.b.rd&&(e=e+.5|0,d=d+.5|0);0===this.B||b||(a.save(),a.translate(e,d),a.rotate(this.B),d=e=0);var f=d+this.height,g=this.Hk,g=g+this.gk,h,l;1===this.ro?d+=Math.max(this.height/2-this.ee.length*g/2,0):2===this.ro&&(d+=Math.max(this.height-this.ee.length*g-2,0));for(l=0;l<this.ee.length&&!(h=e,1===this.Am?h=e+(this.width-this.ee[l].width)/2:2===this.Am&&(h=e+(this.width-this.ee[l].width)),a.fillText(this.ee[l].text,h,d),d+=g,d>=f-g);l++);(0!==this.B||b)&&a.restore();this.ck=
|
||||
this.b.Qe};a.Rb=function(a){if(!(1>this.width||1>this.height)){var b=this.Gf||this.Mv;this.Mv=!1;var e=this.A.$b(),d=this.A.Jb(),f=this.Le,g=e*this.width,h=e*this.height,l=Math.ceil(g),k=Math.ceil(h),n=Math.abs(l),t=Math.abs(k),u=this.b.Z/2,x=this.b.Y/2;this.ih||(this.Fe=document.createElement("canvas"),this.Fe.width=n,this.Fe.height=t,this.Om=n,this.Nm=t,b=!0,this.ih=this.Fe.getContext("2d"));if(n!==this.Om||t!==this.Nm)this.Fe.width=n,this.Fe.height=t,this.$c&&(a.deleteTexture(this.$c),this.$c=
|
||||
null),b=!0;b&&(this.ih.clearRect(0,0,n,t),this.Jc(this.ih,!0),this.$c||(this.$c=a.ed(n,t,this.b.ab,this.b.Ae)),a.gF(this.Fe,this.$c,this.b.Ae));this.Om=n;this.Nm=t;a.Cc(this.$c);a.xg(this.opacity);a.Gd();a.translate(-u,-x);a.ud();var B=this.nc,b=this.A.Ma(B.Vb,B.Wb,!0,!0),n=this.A.Ma(B.Vb,B.Wb,!1,!0),t=this.A.Ma(B.Sc,B.Tc,!0,!0),u=this.A.Ma(B.Sc,B.Tc,!1,!0),x=this.A.Ma(B.Hc,B.Ic,!0,!0),N=this.A.Ma(B.Hc,B.Ic,!1,!0),O=this.A.Ma(B.Fc,B.Gc,!0,!0),B=this.A.Ma(B.Fc,B.Gc,!1,!0);if(this.b.rd||0===this.B&&
|
||||
0===d)var U=(b+.5|0)-b,y=(n+.5|0)-n,b=b+U,n=n+y,t=t+U,u=u+y,x=x+U,N=N+y,O=O+U,B=B+y;0===this.B&&0===d?(t=b+l,u=n,x=t,N=n+k,O=b,B=N,f.right=1,f.bottom=1):(f.right=g/l,f.bottom=h/k);a.Ke(b,n,t,u,x,N,O,B,f);a.Gd();a.scale(e,e);a.Gn(-this.A.Jb());a.translate((this.A.Ia+this.A.Oa)/-2,(this.A.Ja+this.A.Na)/-2);a.ud();this.ck=this.b.Qe}};var t=[];e.BA=function(a){z(t);for(var b="",e,d=0;d<a.length;)if(e=a.charAt(d),"\n"===e)b.length&&(t.push(b),b=""),t.push("\n"),++d;else if(" "===e||"\t"===e||"-"===e){do b+=
|
||||
a.charAt(d),d++;while(d<a.length&&(" "===a.charAt(d)||"\t"===a.charAt(d)));t.push(b);b=""}else d<a.length&&(b+=e,d++);b.length&&t.push(b)};var g=[];e.JA=function(a,b,e,d,g){if(a&&a.length)if(2>=d)k(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var h=e.measureText(a).width;if(h<=d){k(b);b.push(f());b[0].text=a;b[0].width=h;return}}this.KA(a,b,e,d,g)}else k(b)};e.KA=function(a,b,e,h,l){l&&(this.BA(a),a=t);var k="",n,G,J,w=0;for(J=0;J<a.length;J++)"\n"===a[J]?(w>=b.length&&b.push(f()),k=d(k),G=b[w],
|
||||
G.text=k,G.width=e.measureText(k).width,w++,k=""):(n=k,k+=a[J],G=e.measureText(k).width,G>=h&&(w>=b.length&&b.push(f()),n=d(n),G=b[w],G.text=n,G.width=e.measureText(n).width,w++,k=a[J],l||" "!==k||(k="")));k.length&&(w>=b.length&&b.push(f()),k=d(k),G=b[w],G.text=k,G.width=e.measureText(k).width,w++);for(J=w;J<b.length;J++)g.push(b[J]);b.length=w};l.prototype.js=function(a,b){return b?this.text==a:lb(this.text,a)};e.e=new l;h.prototype.xl=function(a){ia(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();
|
||||
this.text!==a&&(this.text=a,this.Gf=!0,this.b.ja=!0)};h.prototype.cs=function(a){ia(a)&&(a=Math.round(1E10*a)/1E10);if(a=a.toString())this.text+=a,this.Gf=!0,this.b.ja=!0};h.prototype.Wz=function(a){this.yf!==a&&(this.yf=a,this.Hk=Math.ceil(this.yf/72*96)+4,this.Pr())};h.prototype.lA=function(a,b){if(this.b.N)fa("[Construct 2] Text plugin: 'Set web font' not supported on this platform - the action has been ignored");else{var e=this,d=function(){e.b.ja=!0;e.Gf=!0};if(n.hasOwnProperty(b)){var f="'"+
|
||||
a+"'";if(this.kf!==f)for(this.kf=f,this.Pr(),f=1;10>f;f++)setTimeout(d,100*f),setTimeout(d,1E3*f)}else for(f=document.createElement("link"),f.href=b,f.rel="stylesheet",f.type="text/css",f.onload=d,document.getElementsByTagName("head")[0].appendChild(f),n[b]=!0,this.kf="'"+a+"'",this.Pr(),f=1;10>f;f++)setTimeout(d,100*f),setTimeout(d,1E3*f)}};e.m=new h;b.prototype.Text=function(a){a.M(this.text)};b.prototype.Qx=function(a){a.J(this.yf)};b.prototype.zA=function(a){var b=0,e,d,f;e=0;for(d=this.ee.length;e<
|
||||
d;e++)f=this.ee[e].width,b<f&&(b=f);a.J(b)};b.prototype.yA=function(a){a.J(this.ee.length*(this.Hk+this.gk)-this.gk)};e.n=new b})();function Kc(f){this.b=f}
|
||||
(function(){function f(){}function k(){}function d(){}var l=Kc.prototype;l.K=function(b){this.W=b;this.b=b.b};l.K.prototype.F=function(){};l.H=function(b){this.type=b;this.b=b.b};var h=l.H.prototype,b="text password email number tel url".split(" ");-1<navigator.userAgent.indexOf("MSIE 9")&&(b[2]="text",b[3]="text",b[4]="text",b[5]="text");h.F=function(){if(this.b.N)fa("[Construct 2] Textbox plugin not supported on this platform - the object will not be created");else{6===this.q[7]?(this.u=document.createElement("textarea"),
|
||||
jQuery(this.u).css("resize","none")):(this.u=document.createElement("input"),this.u.type=b[this.q[7]]);this.u.id=this.q[9];jQuery(this.u).appendTo(this.b.Bh?this.b.Bh:"body");this.u.autocomplete="off";this.u.value=this.q[0];this.u.placeholder=this.q[1];this.u.title=this.q[2];this.u.disabled=0===this.q[4];this.u.readOnly=1===this.q[5];this.u.spellcheck=1===this.q[6];this.Sd=0!==this.q[8];this.Kc=!1;0===this.q[3]&&(jQuery(this.u).hide(),this.visible=!1,this.Kc=!0);var e=function(a){return function(){a.b.trigger(Kc.prototype.e.Ro,
|
||||
a)}}(this);this.u.oninput=e;-1!==navigator.userAgent.indexOf("MSIE")&&(this.u.oncut=e);this.u.onclick=function(a){return function(b){b.stopPropagation();a.b.La=!0;a.b.trigger(Kc.prototype.e.sl,a);a.b.La=!1}}(this);this.u.ondblclick=function(a){return function(b){b.stopPropagation();a.b.La=!0;a.b.trigger(Kc.prototype.e.Wy,a);a.b.La=!1}}(this);this.u.addEventListener("touchstart",function(a){a.stopPropagation()},!1);this.u.addEventListener("touchmove",function(a){a.stopPropagation()},!1);this.u.addEventListener("touchend",
|
||||
function(a){a.stopPropagation()},!1);jQuery(this.u).mousedown(function(a){a.stopPropagation()});jQuery(this.u).mouseup(function(a){a.stopPropagation()});jQuery(this.u).keydown(function(a){13!==a.which&&27!=a.which&&a.stopPropagation()});jQuery(this.u).keyup(function(a){13!==a.which&&27!=a.which&&a.stopPropagation()});this.ak=this.bk=this.Wj=this.Zj=this.$j=this.Xj=0;this.qh(!0);this.b.Hf(this)}};h.ua=function(){return{text:this.u.value,placeholder:this.u.placeholder,tooltip:this.u.title,disabled:!!this.u.disabled,
|
||||
readonly:!!this.u.readOnly,spellcheck:!!this.u.spellcheck}};h.Ea=function(b){this.u.value=b.text;this.u.placeholder=b.placeholder;this.u.title=b.tooltip;this.u.disabled=b.disabled;this.u.readOnly=b.readonly;this.u.spellcheck=b.spellcheck};h.Fd=function(){this.b.N||(jQuery(this.u).remove(),this.u=null)};h.Ba=function(){this.qh()};h.qh=function(b){if(!this.b.N){var a=this.A.Ma(this.x,this.y,!0),d=this.A.Ma(this.x,this.y,!1),f=this.A.Ma(this.x+this.width,this.y+this.height,!0),g=this.A.Ma(this.x+this.width,
|
||||
this.y+this.height,!1),c=this.b.width/this.b.devicePixelRatio,h=this.b.height/this.b.devicePixelRatio;!this.visible||!this.A.visible||0>=f||0>=g||a>=c||d>=h?(this.Kc||jQuery(this.u).hide(),this.Kc=!0):(1>a&&(a=1),1>d&&(d=1),f>=c&&(f=c-1),g>=h&&(g=h-1),c=window.innerWidth,h=window.innerHeight,b||this.Xj!==a||this.$j!==d||this.Zj!==f||this.Wj!==g||this.bk!==c||this.ak!==h?(this.Xj=a,this.$j=d,this.Zj=f,this.Wj=g,this.bk=c,this.ak=h,this.Kc&&(jQuery(this.u).show(),this.Kc=!1),b=Math.round(a)+jQuery(this.b.canvas).offset().left,
|
||||
c=Math.round(d)+jQuery(this.b.canvas).offset().top,jQuery(this.u).css("position","absolute"),jQuery(this.u).offset({left:b,top:c}),jQuery(this.u).width(Math.round(f-a)),jQuery(this.u).height(Math.round(g-d)),this.Sd&&jQuery(this.u).css("font-size",this.A.$b(!0)/this.b.devicePixelRatio-.2+"em")):this.Kc&&(jQuery(this.u).show(),this.Kc=!1))}};h.Jc=function(){};h.Rb=function(){};f.prototype.js=function(b,a){return this.b.N?!1:0===a?lb(this.u.value,b):this.u.value===b};f.prototype.Ro=function(){return!0};
|
||||
f.prototype.sl=function(){return!0};f.prototype.Wy=function(){return!0};l.e=new f;k.prototype.xl=function(b){this.b.N||(this.u.value=b)};k.prototype.dA=function(b){this.b.N||(this.u.placeholder=b)};k.prototype.wh=function(b){this.b.N||(this.visible=0!==b)};k.prototype.aj=function(b){this.b.N||(this.u.disabled=0===b)};k.prototype.Ys=function(){this.b.N||this.u.blur()};k.prototype.Yo=function(b,a){this.b.N||jQuery(this.u).css(b,a)};l.m=new k;d.prototype.Text=function(b){this.b.N?b.M(""):b.M(this.u.value)};
|
||||
l.n=new d})();function Lc(f){this.b=f}
|
||||
(function(){function f(a){t=a.x;g=a.y;c=a.z}function k(a,b,c,e){var f;f=m.length?m.pop():new d;f.init(a,b,c,e);return f}function d(){this.Uk=this.id=this.y=this.x=this.Yn=this.Xn=this.zq=this.time=this.Fr=0;this.al=this.jo=!1}function l(a){return a.sourceCapabilities&&a.sourceCapabilities.firesTouchEvents||a.originalEvent&&a.originalEvent.sourceCapabilities&&a.originalEvent.sourceCapabilities.firesTouchEvents}function h(){}function b(){}var e=Lc.prototype;e.K=function(a){this.W=a;this.b=a.b};e.K.prototype.F=
|
||||
function(){};e.H=function(a){this.type=a;this.b=a.b;this.touches=[];this.Lq=!1};var a=e.H.prototype,n={left:0,top:0};a.Sg=function(a){var b,c;b=0;for(c=this.touches.length;b<c;b++)if(this.touches[b].id===a)return b;return-1};var t=0,g=0,c=0,m=[];d.prototype.init=function(a,b,c,e){var d=Za();this.Fr=this.zq=this.time=d;this.Xn=a;this.Yn=b;this.x=a;this.y=b;this.pressure=this.height=this.width=0;this.id=c;this.Uk=e;this.al=this.jo=!1};d.prototype.update=function(a,b,c,e,d,f){this.zq=this.time;this.time=
|
||||
a;this.x=b;this.y=c;this.width=e;this.height=d;this.pressure=f;!this.al&&15<=Ua(this.Xn,this.Yn,this.x,this.y)&&(this.al=!0)};d.prototype.KD=function(a,b){!this.jo&&500<=Za()-this.Fr&&!this.al&&15>Ua(this.Xn,this.Yn,this.x,this.y)&&(this.jo=!0,a.Re=this.Uk,a.ph=this.id,a.Mh=b,a.b.trigger(Lc.prototype.e.cz,a),a.cf=this.x,a.df=this.y,a.b.trigger(Lc.prototype.e.dz,a),a.Mh=0)};var q=-1E3,r=-1E3,v=-1E4;d.prototype.Fv=function(a,b){if(!this.jo){var c=Za();333>=c-this.Fr&&!this.al&&15>Ua(this.Xn,this.Yn,
|
||||
this.x,this.y)&&(a.Re=this.Uk,a.ph=this.id,a.Mh=b,666>=c-v&&25>Ua(q,r,this.x,this.y)?(a.b.trigger(Lc.prototype.e.Xy,a),a.cf=this.x,a.df=this.y,a.b.trigger(Lc.prototype.e.Yy,a),r=q=-1E3,v=-1E4):(a.b.trigger(Lc.prototype.e.pz,a),a.cf=this.x,a.df=this.y,a.b.trigger(Lc.prototype.e.qz,a),q=this.x,r=this.y,v=c),a.Mh=0)}};a.F=function(){this.uD=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.Mh=this.ph=this.Re=this.df=this.cf=this.lt=this.kt=this.jt=this.RA=this.QA=this.PA=this.nn=
|
||||
this.mn=this.ln=0;this.eF=0!==this.q[0];var a=0<this.b.qc?document:this.b.canvas,b=document;this.b.Sb?b=a=window.Canvas:this.b.md&&(b=a=window);var c=this;"undefined"!==typeof PointerEvent?(a.addEventListener("pointerdown",function(a){c.Ak(a)},!1),a.addEventListener("pointermove",function(a){c.zk(a)},!1),b.addEventListener("pointerup",function(a){c.wf(a,!1)},!1),b.addEventListener("pointercancel",function(a){c.wf(a,!0)},!1),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},
|
||||
!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),this.b.canvas.addEventListener("gesturehold",function(a){a.preventDefault()},!1),document.addEventListener("gesturehold",function(a){a.preventDefault()},!1))):window.navigator.msPointerEnabled?(a.addEventListener("MSPointerDown",function(a){c.Ak(a)},!1),a.addEventListener("MSPointerMove",function(a){c.zk(a)},!1),b.addEventListener("MSPointerUp",function(a){c.wf(a,!1)},!1),b.addEventListener("MSPointerCancel",function(a){c.wf(a,
|
||||
!0)},!1),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1))):(a.addEventListener("touchstart",function(a){c.jn(a)},!1),a.addEventListener("touchmove",function(a){c.hn(a)},!1),b.addEventListener("touchend",function(a){c.oi(a,!1)},!1),b.addEventListener("touchcancel",function(a){c.oi(a,!0)},!1));if(this.uD){var e=function(a){a=a.reading;c.jt=a.accelerationX;c.kt=a.accelerationY;
|
||||
c.lt=a.accelerationZ},d=function(a){a=a.reading;c.ln=a.yawDegrees;c.mn=a.pitchDegrees;c.nn=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){c.ln=a.alpha||0;c.mn=a.beta||0;c.nn=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.PA=a.accelerationIncludingGravity.x||0,c.QA=a.accelerationIncludingGravity.y||0,c.RA=a.accelerationIncludingGravity.z||
|
||||
0);a.acceleration&&(c.jt=a.acceleration.x||0,c.kt=a.acceleration.y||0,c.lt=a.acceleration.z||0)},!1);this.eF&&!this.b.N&&(jQuery(document).mousemove(function(a){c.xk(a)}),jQuery(document).mousedown(function(a){c.wk(a)}),jQuery(document).mouseup(function(a){c.yk(a)}));!this.b.Zh&&this.b.nd&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(f,null,{frequency:40});this.b.VE(this)};a.zk=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&
|
||||
"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var b=this.Sg(a.pointerId),c=Za();if(0<=b){var e=this.b.N?n:jQuery(this.b.canvas).offset(),b=this.touches[b];2>c-b.time||b.update(c,a.pageX-e.left,a.pageY-e.top,a.width||0,a.height||0,a.pressure||0)}}};a.Ak=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&mb(a)&&a.preventDefault();var b=this.b.N?n:jQuery(this.b.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top;Za();this.Re=this.touches.length;
|
||||
this.ph=a.pointerId;this.touches.push(k(c,b,a.pointerId,this.Re));this.b.La=!0;this.b.trigger(Lc.prototype.e.Qs,this);this.b.trigger(Lc.prototype.e.Uo,this);this.cf=c;this.df=b;this.b.trigger(Lc.prototype.e.To,this);this.b.La=!1}};a.wf=function(a,b){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&mb(a)&&a.preventDefault();var c=this.Sg(a.pointerId);this.Re=0<=c?this.touches[c].Uk:-1;this.ph=0<=c?this.touches[c].id:-1;this.b.La=!0;this.b.trigger(Lc.prototype.e.Ps,
|
||||
this);this.b.trigger(Lc.prototype.e.So,this);0<=c&&(b||this.touches[c].Fv(this,c),100>m.length&&m.push(this.touches[c]),this.touches.splice(c,1));this.b.La=!1}};a.hn=function(a){a.preventDefault&&a.preventDefault();var b=Za(),c,e,d,f;c=0;for(e=a.changedTouches.length;c<e;c++)if(d=a.changedTouches[c],f=this.Sg(d.identifier),0<=f){var g=this.b.N?n:jQuery(this.b.canvas).offset();f=this.touches[f];2>b-f.time||f.update(b,d.pageX-g.left,d.pageY-g.top,2*(d.PG||d.$G||d.GG||d.JG||0),2*(d.QG||d.aH||d.HG||d.KG||
|
||||
0),d.yG||d.ZG||d.FG||d.IG||0)}};a.jn=function(a){a.preventDefault&&mb(a)&&a.preventDefault();var b=this.b.N?n:jQuery(this.b.canvas).offset();Za();this.b.La=!0;var c,e,d,f;c=0;for(e=a.changedTouches.length;c<e;c++)if(d=a.changedTouches[c],f=this.Sg(d.identifier),-1===f){f=d.pageX-b.left;var g=d.pageY-b.top;this.Re=this.touches.length;this.ph=d.identifier;this.touches.push(k(f,g,d.identifier,this.Re));this.b.trigger(Lc.prototype.e.Qs,this);this.b.trigger(Lc.prototype.e.Uo,this);this.cf=f;this.df=g;
|
||||
this.b.trigger(Lc.prototype.e.To,this)}this.b.La=!1};a.oi=function(a,b){a.preventDefault&&mb(a)&&a.preventDefault();this.b.La=!0;var c,e,d;c=0;for(e=a.changedTouches.length;c<e;c++)d=a.changedTouches[c],d=this.Sg(d.identifier),0<=d&&(this.Re=this.touches[d].Uk,this.ph=this.touches[d].id,this.b.trigger(Lc.prototype.e.Ps,this),this.b.trigger(Lc.prototype.e.So,this),b||this.touches[d].Fv(this,d),100>m.length&&m.push(this.touches[d]),this.touches.splice(d,1));this.b.La=!1};a.Td=function(){return this.b.nd&&
|
||||
0===this.ln&&0!==c?90*c:this.ln};a.iu=function(){return this.b.nd&&0===this.mn&&0!==g?90*g:this.mn};a.av=function(){return this.b.nd&&0===this.nn&&0!==t?90*t:this.nn};a.wk=function(a){l(a)||(this.jn({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]}),this.Lq=!0)};a.xk=function(a){this.Lq&&!l(a)&&this.hn({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};a.yk=function(a){a.preventDefault&&this.b.zm&&!this.b.Ae&&a.preventDefault();this.b.zm=!0;l(a)||(this.oi({changedTouches:[{pageX:a.pageX,
|
||||
pageY:a.pageY,identifier:0}]}),this.Lq=!1)};a.Zk=function(){var a,b,c,e=Za();a=0;for(b=this.touches.length;a<b;++a)c=this.touches[a],c.time<=e-50&&(c.zq=e),c.KD(this,a)};h.prototype.Uo=function(){return!0};h.prototype.So=function(){return!0};h.prototype.ky=function(){return this.touches.length};h.prototype.To=function(a){return a?this.b.Li(a,this.cf,this.df,!1):!1};var D=[];h.prototype.wy=function(a){if(!a)return!1;var b=a.ba(),c=b.rc(),e,d,f,g,h,l;f=0;for(g=c.length;f<g;f++){var m=c[f];m.xa();h=
|
||||
0;for(l=this.touches.length;h<l;h++)if(d=this.touches[h],e=m.A.Ua(d.x,d.y,!0),d=m.A.Ua(d.x,d.y,!1),m.Xb(e,d)){D.push(m);break}}return D.length?(b.ca=!1,Ba(b.k,D),a.wd(),z(D),!0):!1};h.prototype.Qs=function(a){a=Math.floor(a);return a===this.Re};h.prototype.Ps=function(a){a=Math.floor(a);return a===this.Re};h.prototype.cz=function(){return!0};h.prototype.pz=function(){return!0};h.prototype.Xy=function(){return!0};h.prototype.dz=function(a){return a?this.b.Li(a,this.cf,this.df,!1):!1};h.prototype.qz=
|
||||
function(a){return a?this.b.Li(a,this.cf,this.df,!1):!1};h.prototype.Yy=function(a){return a?this.b.Li(a,this.cf,this.df,!1):!1};e.e=new h;b.prototype.hj=function(a,b){var c=this.Mh;if(0>c||c>=this.touches.length)a.C(0);else{var e,d,f,g,h;ha(b)?(e=this.b.Wc(0),d=e.scale,f=e.sb,g=e.gc,h=e.B,e.scale=1,e.sb=1,e.gc=1,e.B=0,a.C(e.Ua(this.touches[c].x,this.touches[c].y,!0)),e.scale=d,e.sb=f,e.gc=g,e.B=h):(e=ia(b)?this.b.Wc(b):this.b.hg(b))?a.C(e.Ua(this.touches[c].x,this.touches[c].y,!0)):a.C(0)}};b.prototype.LA=
|
||||
function(a,b,c){b=this.Sg(b);if(0>b)a.C(0);else{b=this.touches[b];var e,d,f,g;ha(c)?(c=this.b.Wc(0),e=c.scale,d=c.sb,f=c.gc,g=c.B,c.scale=1,c.sb=1,c.gc=1,c.B=0,a.C(c.Ua(b.x,b.y,!0)),c.scale=e,c.sb=d,c.gc=f,c.B=g):(c=ia(c)?this.b.Wc(c):this.b.hg(c))?a.C(c.Ua(b.x,b.y,!0)):a.C(0)}};b.prototype.ij=function(a,b){var c=this.Mh;if(0>c||c>=this.touches.length)a.C(0);else{var e,d,f,g,h;ha(b)?(e=this.b.Wc(0),d=e.scale,f=e.sb,g=e.hc,h=e.B,e.scale=1,e.sb=1,e.hc=1,e.B=0,a.C(e.Ua(this.touches[c].x,this.touches[c].y,
|
||||
!1)),e.scale=d,e.sb=f,e.hc=g,e.B=h):(e=ia(b)?this.b.Wc(b):this.b.hg(b))?a.C(e.Ua(this.touches[c].x,this.touches[c].y,!1)):a.C(0)}};b.prototype.MA=function(a,b,c){b=this.Sg(b);if(0>b)a.C(0);else{b=this.touches[b];var e,d,f,g;ha(c)?(c=this.b.Wc(0),e=c.scale,d=c.sb,f=c.hc,g=c.B,c.scale=1,c.sb=1,c.hc=1,c.B=0,a.C(c.Ua(b.x,b.y,!1)),c.scale=e,c.sb=d,c.hc=f,c.B=g):(c=ia(c)?this.b.Wc(c):this.b.hg(c))?a.C(c.Ua(b.x,b.y,!1)):a.C(0)}};b.prototype.CA=function(a){a.C(this.ph)};e.n=new b})();
|
||||
function Mc(f){this.b=f;this.b.cc&&(f={},window.XPathResult=f,f.NUMBER_TYPE=1,f.STRING_TYPE=2,f.UNORDERED_NODE_SNAPSHOT_TYPE=6,f.ORDERED_NODE_SNAPSHOT_TYPE=7)}
|
||||
(function(){function f(){}function k(){}function d(){}var l=Mc.prototype;l.K=function(b){this.W=b;this.b=b.b};l.K.prototype.F=function(){};l.H=function(b){this.type=b;this.b=b.b};var h=l.H.prototype;h.F=function(){this.Ag=null;this.ug=[];this.b.N&&fa("[Construct 2] The XML object is not supported on this platform.")};h.$r=function(b,e){if(this.Ag){var a=this.ug.length?this.ug[this.ug.length-1]:this.Ag.documentElement;try{return this.b.cc?a.selectSingleNode(b):this.Ag.evaluate(b,a,null,e,null)}catch(d){return null}}};
|
||||
h.lx=function(b,e){if(this.Ag){var a=this.ug.length?this.ug[this.ug.length-1]:this.Ag.documentElement;try{return this.b.cc?a.selectNodes(b):this.Ag.evaluate(b,a,null,e,null)}catch(d){return null}}};h.du=function(b,e){this.ug.push(e);this.b.ie(b.aa);b.td();this.b.bd(b.aa);this.ug.pop()};f.prototype.Jo=function(b){if(this.b.N)return!1;var e=this.b.$a().Za;b=this.lx(b,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE);var a,d;if(b){var f=this.b.Gk();if(this.b.cc)for(a=0,d=b.length;a<d;a++)f.index=a,this.du(e,b[a]);
|
||||
else for(a=0,d=b.snapshotLength;a<d;a++)f.index=a,this.du(e,b.snapshotItem(a));this.b.Dk()}return!1};l.e=new f;k.prototype.No=function(b){if(!this.b.N){var e,a,d=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);try{if(d)e=new Windows.Data.Xml.Dom.XmlDocument,e.loadXml(b);else if(this.b.cc){a=["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument"];for(var f=0;3>f;f++)try{if(e=new ActiveXObject(a[f]))break}catch(g){e=null}e&&(e.async="false",e.loadXML(b))}else a=new DOMParser,
|
||||
e=a.parseFromString(b,"text/xml")}catch(c){e=null}e&&(this.Ag=e,this.b.cc&&!d&&this.Ag.setProperty("SelectionLanguage","XPath"))}};l.m=new k;d.prototype.Ky=function(b,e){if(this.b.N)b.J(0);else{var a=this.$r(e,XPathResult.NUMBER_TYPE);a?this.b.cc?b.J(parseInt(a.nodeValue,10)):b.J(a.numberValue||0):b.J(0)}};d.prototype.tA=function(b,e){if(this.b.N)b.M("");else{var a;if(/firefox/i.test(navigator.userAgent))if(a=this.$r(e,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE)){var d,f,g="";d=0;for(f=a.snapshotLength;d<
|
||||
f;d++)g+=a.snapshotItem(d).textContent;b.M(g)}else b.M("");else(a=this.$r(e,XPathResult.STRING_TYPE))?this.b.cc?b.M(a.nodeValue||a.nodeTypedValue||""):b.M(a.stringValue||""):b.M("")}};d.prototype.Jy=function(b,e){if(this.b.N)b.J(0);else{var a=this.lx(e,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE);a?this.b.cc?b.J(a.length||0):b.J(a.snapshotLength||0):b.J(0)}};l.n=new d})();function Nc(f){this.b=f}
|
||||
(function(){function f(){}var k=Nc.prototype;k.K=function(d){this.behavior=d;this.b=d.b};k.K.prototype.F=function(){};k.H=function(d,f){this.type=d;this.behavior=d.behavior;this.j=f;this.b=d.b};var d=k.H.prototype;d.F=function(){this.qt=this.q[0];this.tt=this.q[1];this.YA=this.q[2];this.XA=this.q[3];this.j.xa();this.vo=this.j.ma.left;this.Ao=this.j.ma.top;this.xo=this.b.kb-this.j.ma.left;this.yo=this.b.jb-this.j.ma.top;this.Dn=this.b.kb-this.j.ma.right;this.Ll=this.b.jb-this.j.ma.bottom;this.enabled=
|
||||
0!==this.q[4]};d.ua=function(){return{xleft:this.vo,ytop:this.Ao,xright:this.xo,ybottom:this.yo,rdiff:this.Dn,bdiff:this.Ll,enabled:this.enabled}};d.Ea=function(d){this.vo=d.xleft;this.Ao=d.ytop;this.xo=d.xright;this.yo=d.ybottom;this.Dn=d.rdiff;this.Ll=d.bdiff;this.enabled=d.enabled};d.Ba=function(){if(this.enabled){var d,f=this.j.A,b=this.j,e=this.j.ma;0===this.qt?(b.xa(),d=f.Ia+this.vo-e.left,0!==d&&(b.x+=d,b.wa())):1===this.qt&&(b.xa(),d=f.Oa-this.xo-e.left,0!==d&&(b.x+=d,b.wa()));0===this.tt?
|
||||
(b.xa(),d=f.Ja+this.Ao-e.top,0!==d&&(b.y+=d,b.wa())):1===this.tt&&(b.xa(),d=f.Na-this.yo-e.top,0!==d&&(b.y+=d,b.wa()));1===this.YA&&(b.xa(),d=f.Oa-this.Dn-e.right,0!==d&&(b.width+=d,0>b.width&&(b.width=0),b.wa()));1===this.XA&&(b.xa(),d=f.Na-this.Ll-e.bottom,0!==d&&(b.height+=d,0>b.height&&(b.height=0),b.wa()))}};k.e=new function(){};f.prototype.aj=function(d){this.enabled&&0===d?this.enabled=!1:this.enabled||0===d||(this.j.xa(),this.vo=this.j.ma.left,this.Ao=this.j.ma.top,this.xo=this.b.kb-this.j.ma.left,
|
||||
this.yo=this.b.jb-this.j.ma.top,this.Dn=this.b.kb-this.j.ma.right,this.Ll=this.b.jb-this.j.ma.bottom,this.enabled=!0)};k.m=new f;k.n=new function(){}})();
|
||||
function Oc(f){this.b=f;var k=this;this.b.N||(jQuery(document).mousemove(function(d){k.xk(d)}),jQuery(document).mousedown(function(d){k.wk(d)}),jQuery(document).mouseup(function(d){k.yk(d)}));f=0<this.b.qc?document:this.b.canvas;this.b.Sb?f=window.Canvas:this.b.md&&(f=window);"undefined"!==typeof PointerEvent?(f.addEventListener("pointerdown",function(d){k.Ak(d)},!1),f.addEventListener("pointermove",function(d){k.zk(d)},!1),f.addEventListener("pointerup",function(d){k.wf(d)},!1),f.addEventListener("pointercancel",
|
||||
function(d){k.wf(d)},!1)):window.navigator.msPointerEnabled?(f.addEventListener("MSPointerDown",function(d){k.Ak(d)},!1),f.addEventListener("MSPointerMove",function(d){k.zk(d)},!1),f.addEventListener("MSPointerUp",function(d){k.wf(d)},!1),f.addEventListener("MSPointerCancel",function(d){k.wf(d)},!1)):(f.addEventListener("touchstart",function(d){k.jn(d)},!1),f.addEventListener("touchmove",function(d){k.hn(d)},!1),f.addEventListener("touchend",function(d){k.oi(d)},!1),f.addEventListener("touchcancel",
|
||||
function(d){k.oi(d)},!1))}
|
||||
(function(){function f(b){var a,d;a=0;for(d=b.X.length;a<d;a++)if(b.X[a]instanceof l.H)return b.X[a];return null}function k(){}function d(){}var l=Oc.prototype,h={left:0,top:0};l.wk=function(b){1===b.which&&this.Rq("leftmouse",b.pageX,b.pageY)};l.xk=function(b){1===b.which&&this.Sq("leftmouse",b.pageX,b.pageY)};l.yk=function(b){1===b.which&&this.Tq("leftmouse")};l.jn=function(b){b.preventDefault&&mb(b)&&b.preventDefault();var a,d,f,g;a=0;for(d=b.changedTouches.length;a<d;a++)f=b.changedTouches[a],
|
||||
g=f.identifier,this.Rq(g?g.toString():"<none>",f.pageX,f.pageY)};l.hn=function(b){b.preventDefault&&b.preventDefault();var a,d,f,g;a=0;for(d=b.changedTouches.length;a<d;a++)f=b.changedTouches[a],g=f.identifier,this.Sq(g?g.toString():"<none>",f.pageX,f.pageY)};l.oi=function(b){b.preventDefault&&mb(b)&&b.preventDefault();var a,d,f;a=0;for(d=b.changedTouches.length;a<d;a++)f=b.changedTouches[a],f=f.identifier,this.Tq(f?f.toString():"<none>")};l.Ak=function(b){b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&
|
||||
"mouse"!==b.pointerType&&(b.preventDefault&&mb(b)&&b.preventDefault(),this.Rq(b.pointerId.toString(),b.pageX,b.pageY))};l.zk=function(b){b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&"mouse"!==b.pointerType&&(b.preventDefault&&b.preventDefault(),this.Sq(b.pointerId.toString(),b.pageX,b.pageY))};l.wf=function(b){b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&"mouse"!==b.pointerType&&(b.preventDefault&&mb(b)&&b.preventDefault(),this.Tq(b.pointerId.toString()))};l.Rq=function(b,a,d){var l=this.b.N?h:jQuery(this.b.canvas).offset();
|
||||
a=a-l.left;d=d-l.top;var g,c,m,k,l=this.hh.Nd(),r,v,D,p=null;r=0;for(v=l.length;r<v;r++)if(D=l[r],g=f(D),g.enabled&&!g.bg&&(g=D.A.Ua(a,d,!0),c=D.A.Ua(a,d,!1),D.xa(),D.Xb(g,c)))p?D.A.index>p.A.index?(p=D,m=g,k=c):D.A.index===p.A.index&&D.Bd()>p.Bd()&&(p=D,m=g,k=c):(p=D,m=g,k=c);p&&f(p).SD(b,m,k)};l.Sq=function(b,a,d){var l=this.b.N?h:jQuery(this.b.canvas).offset();a=a-l.left;d=d-l.top;var g,c=this.hh.Nd(),m,k,r;m=0;for(k=c.length;m<k;m++)g=c[m],r=f(g),!r.enabled||!r.bg||r.bg&&r.Fp!==b||(l=g.A.Ua(a,
|
||||
d,!0),g=g.A.Ua(a,d,!1),r.WD(l,g))};l.Tq=function(b){var a=this.hh.Nd(),d,h,g;d=0;for(h=a.length;d<h;d++)g=a[d],g=f(g),g.bg&&g.Fp===b&&g.ZD()};l.K=function(b){this.behavior=b;this.b=b.b};l.K.prototype.F=function(){};l.H=function(b,a){this.type=b;this.behavior=b.behavior;this.j=a;this.b=b.b};var b=l.H.prototype;b.F=function(){this.bg=!1;this.hu=this.gu=0;this.Fp="<none>";this.mp=this.q[0];this.enabled=0!==this.q[1]};b.ua=function(){return{enabled:this.enabled}};b.Ea=function(b){this.enabled=b.enabled;
|
||||
this.bg=!1};b.SD=function(b,a,d){this.gu=a-this.j.x;this.hu=d-this.j.y;this.bg=!0;this.Fp=b;this.b.La=!0;this.b.trigger(Oc.prototype.e.Zy,this.j);this.b.La=!1};b.WD=function(b,a){var d=b-this.gu,f=a-this.hu;if(0===this.mp){if(this.j.x!==d||this.j.y!==f)this.j.x=d,this.j.y=f,this.j.wa()}else 1===this.mp?this.j.x!==d&&(this.j.x=d,this.j.wa()):2===this.mp&&this.j.y!==f&&(this.j.y=f,this.j.wa())};b.ZD=function(){this.bg=!1;this.b.La=!0;this.b.trigger(Oc.prototype.e.$y,this.j);this.b.La=!1};b.Ba=function(){};
|
||||
k.prototype.Zy=function(){return!0};k.prototype.$y=function(){return!0};l.e=new k;d.prototype.aj=function(b){this.enabled=0!==b;this.enabled||(this.bg=!1)};l.m=new d;l.n=new function(){}})();function Pc(f){this.b=f}
|
||||
(function(){function f(){}function k(){}function d(){}var l=Pc.prototype;l.K=function(b){this.behavior=b;this.b=b.b};l.K.prototype.F=function(){};l.H=function(b,d){this.type=b;this.behavior=b.behavior;this.j=d;this.b=b.b};var h=l.H.prototype;h.F=function(){this.ip=1===this.q[0];this.Aw=!1;this.Rg=this.q[1];this.Si=this.q[2];this.Jh=this.q[3];this.rB=this.q[4];this.Eb=this.ip?0:3;this.Bc?this.Id.reset():this.Id=new db;this.tg=this.j.opacity?this.j.opacity:1;this.ip&&(0===this.Rg?(this.Eb=1,0===this.Si&&
|
||||
(this.Eb=2)):(this.j.opacity=0,this.b.ja=!0))};h.ua=function(){return{fit:this.Rg,wt:this.Si,fot:this.Jh,s:this.Eb,st:this.Id.P,mo:this.tg}};h.Ea=function(b){this.Rg=b.fit;this.Si=b.wt;this.Jh=b.fot;this.Eb=b.s;this.Id.reset();this.Id.P=b.st;this.tg=b.mo};h.Ba=function(){this.Id.add(this.b.Zd(this.j));0===this.Eb&&(this.j.opacity=this.Id.P/this.Rg*this.tg,this.b.ja=!0,this.j.opacity>=this.tg&&(this.j.opacity=this.tg,this.Eb=1,this.Id.reset(),this.b.trigger(Pc.prototype.e.Cs,this.j)));1===this.Eb&&
|
||||
this.Id.P>=this.Si&&(this.Eb=2,this.Id.reset(),this.b.trigger(Pc.prototype.e.Ws,this.j));2===this.Eb&&0!==this.Jh&&(this.j.opacity=this.tg-this.Id.P/this.Jh*this.tg,this.b.ja=!0,0>this.j.opacity&&(this.j.opacity=0,this.Eb=3,this.Id.reset(),this.b.trigger(Pc.prototype.e.Ds,this.j),1===this.rB&&this.b.Te(this.j)))};h.fu=function(){this.Eb=0;this.Id.reset();0===this.Rg?(this.Eb=1,0===this.Si&&(this.Eb=2)):(this.j.opacity=0,this.b.ja=!0)};f.prototype.Ds=function(){return!0};f.prototype.Cs=function(){return!0};
|
||||
f.prototype.Ws=function(){return!0};l.e=new f;k.prototype.oA=function(){this.ip||this.Aw||(this.tg=this.j.opacity?this.j.opacity:1,this.Aw=!0);3===this.Eb&&this.fu()};k.prototype.Kz=function(){this.fu()};k.prototype.Tz=function(b){0>b&&(b=0);this.Rg=b};k.prototype.kA=function(b){0>b&&(b=0);this.Si=b};k.prototype.Uz=function(b){0>b&&(b=0);this.Jh=b};l.m=new k;d.prototype.Rx=function(b){b.C(this.Rg)};d.prototype.Sx=function(b){b.C(this.Jh)};l.n=new d})();function Qc(f){this.b=f}
|
||||
(function(){function f(){}function k(){}var d=Qc.prototype;d.K=function(d){this.behavior=d;this.b=d.b};d.K.prototype.F=function(){};d.H=function(d,b){this.type=d;this.behavior=d.behavior;this.j=b;this.b=d.b};var l=d.H.prototype;l.F=function(){this.me=this.Oe=this.Eb=this.bn=this.kn=0};l.ua=function(){return{ontime:this.kn,offtime:this.bn,stage:this.Eb,stagetimeleft:this.Oe,timeleft:this.me}};l.Ea=function(d){this.kn=d.ontime;this.bn=d.offtime;this.Eb=d.stage;this.Oe=d.stagetimeleft;this.me=d.timeleft;
|
||||
null===this.me&&(this.me=Infinity)};l.Ba=function(){if(!(0>=this.me)){var d=this.b.Zd(this.j);this.me-=d;0>=this.me?(this.me=0,this.j.visible=!0,this.b.ja=!0,this.b.trigger(Qc.prototype.e.Es,this.j)):(this.Oe-=d,0>=this.Oe&&(0===this.Eb?(this.j.visible=!1,this.Eb=1,this.Oe+=this.bn):(this.j.visible=!0,this.Eb=0,this.Oe+=this.kn),this.b.ja=!0))}};f.prototype.gy=function(){return 0<this.me};f.prototype.Es=function(){return!0};d.e=new f;k.prototype.Ux=function(d,b,e){this.kn=d;this.bn=b;this.Eb=1;this.Oe=
|
||||
b;this.me=e;this.j.visible=!1;this.b.ja=!0};d.m=new k;d.n=new function(){}})();function Rc(f){this.b=f}
|
||||
(function(){var f=Rc.prototype;f.K=function(d){this.behavior=d;this.b=d.b};f.K.prototype.F=function(){};f.H=function(d,f){this.type=d;this.behavior=d.behavior;this.j=f;this.b=d.b};var k=f.H.prototype;k.F=function(){this.speed=A(this.q[0]);this.Qf=A(this.q[1])};k.ua=function(){return{speed:this.speed,acc:this.Qf}};k.Ea=function(d){this.speed=d.speed;this.Qf=d.acc};k.Ba=function(){var d=this.b.Zd(this.j);0!==d&&(0!==this.Qf&&(this.speed+=this.Qf*d),0!==this.speed&&(this.j.B=Ia(this.j.B+this.speed*d),
|
||||
this.j.wa()))};f.e=new function(){};f.m=new function(){};f.n=new function(){}})();function Sc(f){this.b=f}
|
||||
(function(){function f(){}function k(){}function d(){}var l=Sc.prototype;l.K=function(a){this.behavior=a;this.b=a.b};l.K.prototype.F=function(){};l.H=function(a,b){this.type=a;this.behavior=a.behavior;this.j=b;this.b=a.b;this.ub=0};var h=l.H.prototype,b=2*Math.PI,e=Math.PI/2,a=3*Math.PI/2;h.F=function(){this.Wa=1===this.q[0];this.tf=this.q[1];this.Yr=this.q[2];this.Je=this.q[3];this.Je+=Math.random()*this.q[4];0===this.Je?this.ub=0:(this.ub=this.q[5]/this.Je*b,this.ub+=Math.random()*this.q[6]/this.Je*
|
||||
b);this.Ab=this.q[7];this.Ab+=Math.random()*this.q[8];this.Ik=this.Yg=this.Ca=0;5===this.tf&&(this.Ab=A(this.Ab));this.init()};h.ua=function(){return{i:this.ub,a:this.Wa,mv:this.tf,w:this.Yr,p:this.Je,mag:this.Ab,iv:this.Ca,iv2:this.Yg,r:this.Ik,lkv:this.ka,lkv2:this.ib}};h.Ea=function(a){this.ub=a.i;this.Wa=a.a;this.tf=a.mv;this.Yr=a.w;this.Je=a.p;this.Ab=a.mag;this.Ca=a.iv;this.Yg=a.iv2||0;this.Ik=a.r;this.ka=a.lkv;this.ib=a.lkv2||0};h.init=function(){switch(this.tf){case 0:this.Ca=this.j.x;break;
|
||||
case 1:this.Ca=this.j.y;break;case 2:this.Ca=this.j.width;this.Ik=this.j.height/this.j.width;break;case 3:this.Ca=this.j.width;break;case 4:this.Ca=this.j.height;break;case 5:this.Ca=this.j.B;break;case 6:this.Ca=this.j.opacity;break;case 7:this.Ca=0;break;case 8:this.Ca=this.j.x,this.Yg=this.j.y}this.ka=this.Ca;this.ib=this.Yg};h.Se=function(d){d=d%b;switch(this.Yr){case 0:return Math.sin(d);case 1:return d<=e?d/e:d<=a?1-2*(d-e)/Math.PI:(d-a)/e-1;case 2:return 2*d/b-1;case 3:return-2*d/b+1;case 4:return d<
|
||||
Math.PI?-1:1}return 0};h.Ba=function(){var a=this.b.Zd(this.j);this.Wa&&0!==a&&(0===this.Je?this.ub=0:(this.ub+=a/this.Je*b,this.ub=this.ub%b),this.aF())};h.aF=function(){switch(this.tf){case 0:this.j.x!==this.ka&&(this.Ca+=this.j.x-this.ka);this.j.x=this.Ca+this.Se(this.ub)*this.Ab;this.ka=this.j.x;break;case 1:this.j.y!==this.ka&&(this.Ca+=this.j.y-this.ka);this.j.y=this.Ca+this.Se(this.ub)*this.Ab;this.ka=this.j.y;break;case 2:this.j.width=this.Ca+this.Se(this.ub)*this.Ab;this.j.height=this.j.width*
|
||||
this.Ik;break;case 3:this.j.width=this.Ca+this.Se(this.ub)*this.Ab;break;case 4:this.j.height=this.Ca+this.Se(this.ub)*this.Ab;break;case 5:this.j.B!==this.ka&&(this.Ca=Ia(this.Ca+(this.j.B-this.ka)));this.j.B=Ia(this.Ca+this.Se(this.ub)*this.Ab);this.ka=this.j.B;break;case 6:this.j.opacity=this.Ca+this.Se(this.ub)*this.Ab/100;0>this.j.opacity?this.j.opacity=0:1<this.j.opacity&&(this.j.opacity=1);break;case 8:this.j.x!==this.ka&&(this.Ca+=this.j.x-this.ka),this.j.y!==this.ib&&(this.Yg+=this.j.y-this.ib),
|
||||
this.j.x=this.Ca+Math.cos(this.j.B)*this.Se(this.ub)*this.Ab,this.j.y=this.Yg+Math.sin(this.j.B)*this.Se(this.ub)*this.Ab,this.ka=this.j.x,this.ib=this.j.y}this.j.wa()};h.Vv=function(a,b){switch(this.tf){case 2:this.Ca*=b.width/a.width;this.Ik=b.height/b.width;break;case 3:this.Ca*=b.width/a.width;break;case 4:this.Ca*=b.height/a.height}};f.prototype.us=function(){return this.Wa};l.e=new f;k.prototype.Oz=function(a){this.Wa=1===a};k.prototype.cA=function(a){this.Je=a};k.prototype.$z=function(a){this.Ab=
|
||||
a;5===this.tf&&(this.Ab=A(this.Ab))};l.m=new k;d.prototype.Dy=function(a){5===this.tf?a.C(Ga(this.Ab)):a.C(this.Ab)};d.prototype.ep=function(a){a.C(this.Se(this.ub)*this.Ab)};l.n=new d})();function Tc(f){this.b=f}
|
||||
(function(){function f(){}function k(){}function d(){}var l=Tc.prototype;l.K=function(b){this.behavior=b;this.b=b.b};l.K.prototype.F=function(){};l.H=function(b,d){this.j=d;this.type=b;this.behavior=b.behavior;this.b=b.b;this.Vw=!0;this.Sd=0;this.qj=""};var h=l.H.prototype;h.F=function(){};h.uA=function(){var b=this.j;this.j.u.addEventListener("focus",function(a){setTimeout(function(){a.stopPropagation();b.b.trigger(Tc.prototype.e.bz,b)},0)},!1);this.j.u.addEventListener("blur",function(a){setTimeout(function(){a.stopPropagation();
|
||||
b.b.trigger(Tc.prototype.e.zs,b)},0)},!1);this.j.u.maxLength=0<this.q[14]?this.q[14]:1E6;this.j.u.style.textAlign=["left","center","right"][this.q[5]];this.j.u.style.background=this.q[7]?this.q[17]:"none";this.j.u.style.border=this.q[8]?this.q[18]:"none";this.j.u.style.textDecoration=["no","underline","line-through","overline"][this.q[11]];this.j.u.style.textTransform=["no","capitalize","lowercase","uppercase"][this.q[13]];this.j.u.style.borderRadius=this.q[19];this.j.u.style.outline=this.q[20];this.j.u.style.padding=
|
||||
this.q[21];this.j.u.style.textShadow=this.q[22];for(var d=this.q[0].split(" "),a=0;a<d.length;a++)this.qj.match(d[a])||(this.qj+=this.qj.length?" "+d[a]:d[a]);this.j.u.setAttribute("class",this.qj);this.j.u.style.color="rgb("+(this.q[4]&255)+","+(this.q[4]>>8&255)+","+(this.q[4]>>16&255)+")";this.q[10]||(this.j.u.disabled=!0,$(this.j.u).css("user-select","none"),$(this.j.u).css("cursor","default"));this.q[9]||(this.j.u.disabled=!1,$(this.j.u).bind("contextmenu",function(a){a.preventDefault();return!1}));
|
||||
this.q[12]&&this.j.u.setAttribute("onkeypress","return cr.behaviors.Textbox_Plus.prototype.fncs.OnKey(this, event, "+this.q[12]+", '"+this.q[23]+"')");"textarea"===this.j.u.type&&(a=[0,2,1.01][this.q[6]])&&(d=this.j.u.offsetHeight,this.j.u.style.height=0,a=Math.max(0,d/a-this.j.u.scrollHeight/a),this.j.u.style.paddingTop=a+"px",this.j.u.style.height=d-a+"px");this.q[15]?(d=document.createElement("link"),d.href=this.q[15],d.rel="stylesheet",d.type="text/css","undefined"!=typeof d&&(document.getElementsByTagName("head")[0].appendChild(d),
|
||||
this.j.u.style.fontFamily=this.q[16]||"PlayLive")):(this.j.u.style.fontFamily=this.q[2]||"Arial",this.j.u.style.fontWeight=1==this.q[3]||3==this.q[3]?"bold":"none",this.j.u.style.fontStyle=1<this.q[3]?"italic":"none");switch(this.q[1]){case 0:this.Sd=-1;break;case 1:this.Sd=.2;break;case 2:this.Sd=.4;break;case 3:this.Sd=.1;break;case 4:this.Sd=0}this.qh()};h.Fd=function(){};h.ua=function(){return{}};h.Ea=function(){};h.Ba=function(){this.Vw&&(this.Vw=!1,this.uA())};h.qh=function(){-1!=this.Sd&&jQuery(this.j.u).css("font-size",
|
||||
this.j.A.$b(!0)/this.b.devicePixelRatio-this.Sd+"em")};f.prototype.Js=function(b,d,a,f){b=d.which?d.which:d.keyCode;f=-1!=f.indexOf(String.fromCharCode(b))||13==b&&-1!=f.indexOf(" ")?!0:!1;if(1==a)return f||64<b&&91>b||96<b&&123>b?!0:!1;if(2==a)return f||47<b&&58>b?!0:!1;if(3==a)return f||47<b&&58>b||64<b&&91>b||96<b&&123>b?!0:!1;if(4==a)return f?!0:!1};l.Td=new f;k.prototype.bz=function(){return!0};k.prototype.zs=function(){return!0};l.e=new k;d.prototype.cs=function(b){if(this.b.N)return!1;this.j.u.value+=
|
||||
b;this.j.b.trigger(Kc.prototype.e.Ro,this.j)};l.m=new d;l.n=new function(){}})();function Uc(f){this.b=f}
|
||||
(function(){function f(){}function k(){}function d(){}var l=Uc.prototype;l.K=function(b){this.behavior=b;this.b=b.b};l.K.prototype.F=function(){};l.H=function(b,d){this.type=b;this.behavior=b.behavior;this.j=d;this.b=b.b};var h=l.H.prototype;h.F=function(){this.jc={}};h.Fd=function(){Ya(this.jc)};h.ua=function(){var b={},d,a;for(d in this.jc)this.jc.hasOwnProperty(d)&&(a=this.jc[d],b[d]={c:a.current.P,t:a.total.P,d:a.duration,r:a.ir});return b};h.Ea=function(b){this.jc={};for(var d in b)b.hasOwnProperty(d)&&
|
||||
(this.jc[d]={current:new db,total:new db,duration:b[d].d,ir:b[d].r},this.jc[d].current.P=b[d].c,this.jc[d].total.P=b[d].t)};h.Ba=function(){var b=this.b.Zd(this.j),d,a;for(d in this.jc)this.jc.hasOwnProperty(d)&&(a=this.jc[d],a.current.add(b),a.total.add(b))};h.Zk=function(){var b,d;for(b in this.jc)this.jc.hasOwnProperty(b)&&(d=this.jc[b],d.current.P>=d.duration&&(d.ir?d.current.P-=d.duration:delete this.jc[b]))};f.prototype.rz=function(b){b=b.toLowerCase();return(b=this.jc[b])?b.current.P>=b.duration:
|
||||
!1};l.e=new f;k.prototype.pA=function(b,d,a){this.jc[a.toLowerCase()]={current:new db,total:new db,duration:b,ir:1===d}};l.m=new k;d.prototype.os=function(b,d){var a=this.jc[d.toLowerCase()];b.C(a?a.duration:0)};l.n=new d})();function Vc(f){this.b=f}
|
||||
(function(){function f(){}function k(){}var d=Vc.prototype;d.K=function(d){this.behavior=d;this.b=d.b};d.K.prototype.F=function(){};d.H=function(d,b){this.type=d;this.behavior=d.behavior;this.j=b;this.b=d.b};var l=d.H.prototype;l.F=function(){};l.Fd=function(){};l.ua=function(){return{}};l.Ea=function(){};l.Ba=function(){};d.e=new function(){};f.prototype.ej=function(){};d.m=new f;k.prototype.ZA=function(d){this.j.type.Fb||d.J(-1);d.J(this.j.type.Fb.length)};k.prototype.animationName=function(d,b){this.j.type.Fb||
|
||||
d.M("");d.M(this.j.type.Fb[b].name)};k.prototype.$A=function(d,b){this.j.type.Fb||d.J(-1);var e=this.j.type.Fb.reduce(function(a,d,e){return d.name===b?e:a},-1);d.J(e)};d.n=new k})();var Wc=[],Xc=[],Yc=[],Zc=[],$c=[],ad=[],bd=[],cd=[],gd=[],hd=[];function id(f){return result=(f/=1)<1/2.75?7.5625*f*f+0:f<2/2.75?1*(7.5625*(f-=1.5/2.75)*f+.75)+0:f<2.5/2.75?1*(7.5625*(f-=2.25/2.75)*f+.9375)+0:1*(7.5625*(f-=2.625/2.75)*f+.984375)+0}function jd(f,k){return Math.round(f/k*1E4)}
|
||||
function kd(f,k,d,l,h){var b=0;switch(f){case 0:b=1*k/d+0;break;case 1:b=1*(k/=d)*k+0;break;case 2:b=-1*(k/=d)*(k-2)+0;break;case 3:b=1>(k/=d/2)?.5*k*k+0:-.5*(--k*(k-2)-1)+0;break;case 4:b=1*(k/=d)*k*k+0;break;case 5:b=1*((k=k/d-1)*k*k+1)+0;break;case 6:b=1>(k/=d/2)?.5*k*k*k+0:.5*((k-=2)*k*k+2)+0;break;case 7:b=1*(k/=d)*k*k*k+0;break;case 8:b=-1*((k=k/d-1)*k*k*k-1)+0;break;case 9:b=1>(k/=d/2)?.5*k*k*k*k+0:-.5*((k-=2)*k*k*k-2)+0;break;case 10:b=1*(k/=d)*k*k*k*k+0;break;case 11:b=1*((k=k/d-1)*k*k*k*
|
||||
k+1)+0;break;case 12:b=1>(k/=d/2)?.5*k*k*k*k*k+0:.5*((k-=2)*k*k*k*k+2)+0;break;case 13:h.ad?b=$c[jd(k,d)]:b=-(Math.sqrt(1-k*k)-1);break;case 14:h.ad?b=ad[jd(k,d)]:b=Math.sqrt(1-(k-1)*(k-1));break;case 15:b=h.ad?bd[jd(k,d)]:1>(k/=d/2)?-.5*(Math.sqrt(1-k*k)-1)+0:.5*(Math.sqrt(1-(k-=2)*k)+1)+0;break;case 16:h.ad?b=cd[jd(k,d)]:(h=h.Qc,b=1*(k/=d)*k*((h+1)*k-h)+0);break;case 17:h.ad?b=gd[jd(k,d)]:(h=h.Qc,b=1*((k=k/d-1)*k*((h+1)*k+h)+1)+0);break;case 18:h.ad?b=hd[jd(k,d)]:(h=h.Qc,b=1>(k/=d/2)?.5*k*k*(((h*=
|
||||
1.525)+1)*k-h)+0:.5*((k-=2)*k*(((h*=1.525)+1)*k+h)+2)+0);break;case 19:h.ad?b=Xc[jd(k,d)]:(b=h.xh,f=h.Bk,k/=d,0==f&&(f=.3*d),0==b||b<Math.abs(1)?(b=1,h=f/4):h=f/(2*Math.PI)*Math.asin(1/b),b=-(b*Math.pow(2,10*--k)*Math.sin(2*(k*d-h)*Math.PI/f))+0);break;case 20:h.ad?b=Yc[jd(k,d)]:(b=h.xh,f=h.Bk,k/=d,0==f&&(f=.3*d),0==b||b<Math.abs(1)?(b=1,h=f/4):h=f/(2*Math.PI)*Math.asin(1/b),b=b*Math.pow(2,-10*k)*Math.sin(2*(k*d-h)*Math.PI/f)+1);break;case 21:h.ad?b=Zc[jd(k,d)]:(b=h.xh,f=h.Bk,k/=d/2,0==f&&(f=.3*d*
|
||||
1.5),0==b||b<Math.abs(1)?(b=1,h=f/4):h=f/(2*Math.PI)*Math.asin(1/b),b=1>k?-.5*b*Math.pow(2,10*--k)*Math.sin(2*(k*d-h)*Math.PI/f)+0:b*Math.pow(2,-10*--k)*Math.sin(2*(k*d-h)*Math.PI/f)*.5+1);break;case 22:b=h.ad?1-Wc[jd(d-k,d)]+0:1-id(d-k/d)+0;break;case 23:b=h.ad?Wc[jd(k,d)]:id(k/d);break;case 24:b=h.ad?k<d/2?.5*(1-Wc[jd(d-2*k,d)]+0)+0:.5*Wc[jd(2*k-d,d)]+.5:k<d/2?.5*(1-id(d-2*k)+0)+0:.5*id((2*k-d)/d)+.5;break;case 25:k=k/d/2;b=2*k*k*(3-2*k);break;case 26:k=(k/d+1)/2;b=2*k*k*(3-2*k)-1;break;case 27:k=
|
||||
k/d,b=k*k*(3-2*k)}return l?1-b:b}
|
||||
for(var ld=0,md=0,nd=0,Z=0,od=0,pd=0;1E4>=pd;pd++)Z=pd/1E4,ld=(Z/=1)<1/2.75?7.5625*Z*Z+0:Z<2/2.75?1*(7.5625*(Z-=1.5/2.75)*Z+.75)+0:Z<2.5/2.75?1*(7.5625*(Z-=2.25/2.75)*Z+.9375)+0:1*(7.5625*(Z-=2.625/2.75)*Z+.984375)+0,Wc[pd]=ld,Z=pd/1E4,nd=md=0,Z/=1,0==nd&&(nd=.3),0==md||md<Math.abs(1)?(md=1,od=nd/4):od=nd/(2*Math.PI)*Math.asin(1/md),ld=-(md*Math.pow(2,10*--Z)*Math.sin(2*(1*Z-od)*Math.PI/nd))+0,Xc[pd]=ld,Z=pd/1E4,nd=md=0,Z/=1,0==nd&&(nd=.3),0==md||md<Math.abs(1)?(md=1,od=nd/4):od=nd/(2*Math.PI)*Math.asin(1/
|
||||
md),ld=md*Math.pow(2,-10*Z)*Math.sin(2*(1*Z-od)*Math.PI/nd)+1,Yc[pd]=ld,Z=pd/1E4,nd=md=0,Z/=.5,0==nd&&(nd=.3*1.5),0==md||md<Math.abs(1)?(md=1,od=nd/4):od=nd/(2*Math.PI)*Math.asin(1/md),ld=1>Z?-.5*md*Math.pow(2,10*--Z)*Math.sin(2*(1*Z-od)*Math.PI/nd)+0:md*Math.pow(2,-10*--Z)*Math.sin(2*(1*Z-od)*Math.PI/nd)*.5+1,Zc[pd]=ld,Z=pd/1E4,$c[pd]=-(Math.sqrt(1-Z*Z)-1),Z=pd/1E4,ad[pd]=Math.sqrt(1-(Z-1)*(Z-1)),Z=pd/1E4,ld=1>(Z/=.5)?-.5*(Math.sqrt(1-Z*Z)-1)+0:.5*(Math.sqrt(1-(Z-=2)*Z)+1)+0,bd[pd]=ld,Z=pd/1E4,od=
|
||||
0,0==od&&(od=1.70158),ld=1*(Z/=1)*Z*((od+1)*Z-od)+0,cd[pd]=ld,Z=pd/1E4,od=0,0==od&&(od=1.70158),ld=1*((Z=Z/1-1)*Z*((od+1)*Z+od)+1)+0,gd[pd]=ld,Z=pd/1E4,od=0,0==od&&(od=1.70158),ld=1>(Z/=.5)?.5*Z*Z*(((od*=1.525)+1)*Z-od)+0:.5*((Z-=2)*Z*(((od*=1.525)+1)*Z+od)+2)+0,hd[pd]=ld;
|
||||
function qd(f,k,d,l,h,b,e){this.name=f;this.value=0;this.Di(l);this.On(h);this.Ng=d;this.lb=k;this.duration=b;this.state=this.ea=0;this.en=this.gn=this.cn=this.ni=!1;this.ib=this.ka=0;this.pc=e;this.xf=1;this.Bj=!1;this.hd=[];this.gv=1;for(f=0;28>f;f++)this.hd[f]={},this.hd[f].xh=0,this.hd[f].Bk=0,this.hd[f].Ki=0,this.hd[f].Qc=0,this.hd[f].ad=!0}qd.prototype={};qd.prototype.Di=function(f){this.Ha=parseFloat(f.split(",")[0]);this.yb=parseFloat(f.split(",")[1]);this.ib=this.ka=0};
|
||||
qd.prototype.On=function(f){this.Fa=parseFloat(f.split(",")[0]);this.rb=parseFloat(f.split(",")[1]);isNaN(this.rb)&&(this.rb=this.Fa)};
|
||||
qd.prototype.Zi=function(f){if(0===this.state)return-1;1===this.state&&(this.ea+=f);2===this.state&&(this.ea-=f);3===this.state&&(this.state=0);if(4===this.state||6===this.state)this.ea+=f*this.xf;5===this.state&&(this.ea+=f*this.xf);return 0>this.ea?(this.ea=0,4===this.state?this.xf=1:6===this.state?(this.xf=1,this.Bj=!1):this.state=0,this.en=!0,0):this.ea>this.duration?(this.ea=this.duration,4===this.state?this.xf=-1:6===this.state?(this.xf=-1,this.Bj=!0):5===this.state?this.ea=0:this.state=0,this.cn=
|
||||
!0,1):this.Bj?kd(this.Ng,this.duration-this.ea,this.duration,this.Bj,this.hd[this.Ng]):kd(this.Ng,this.ea,this.duration,this.Bj,this.hd[this.Ng])};function rd(f){this.b=f}
|
||||
(function(){var f=rd.prototype;f.K=function(d){this.behavior=d;this.b=d.b};f.K.prototype.F=function(){};f.H=function(d,f){this.type=d;this.behavior=d.behavior;this.j=f;this.b=d.b;this.ub=0};var k=f.H.prototype;k.F=function(){this.ti=this.q[0];this.Wa=1==this.ti||2==this.ti||3==this.ti||4==this.ti;this.lb=this.q[1];this.Gp=this.q[2];this.target=this.q[3];this.Zn=this.q[4];this.qo=!1;1===this.Zn&&(this.target="relative("+this.target+")");this.duration=this.q[5];this.pc=1===this.q[6];this.value=0;this.L=
|
||||
{};this.pt(this.lb,this.Gp,"current",this.target,this.duration,this.pc);1===this.q[0]&&this.Tk(0);2===this.q[0]&&this.Tk(2);3===this.q[0]&&this.Tk(3);4===this.q[0]&&this.Tk(4)};k.He=function(d,f){void 0===f&&(f="current");var h=f.replace(/^\s\s*/,"").replace(/\s\s*$/,"");f=f.replace(/^\s\s*/,"").replace(/\s\s*$/,"");var b=this.value;if("current"===f)switch(d){case 0:h=this.j.x+","+this.j.y;break;case 1:h=this.j.width+","+this.j.height;break;case 2:h=this.j.width+","+this.j.height;break;case 3:h=this.j.width+
|
||||
","+this.j.height;break;case 4:h=Ga(this.j.B)+","+Ga(this.j.B);break;case 5:h=100*this.j.opacity+","+100*this.j.opacity;break;case 6:h=b+","+b;break;case 7:h=this.j.x+","+this.j.y;break;case 8:h=this.j.x+","+this.j.y;break;case 9:h=void 0!==this.j.bb?this.j.width/this.j.bb.width+","+this.j.height/this.j.bb.height:"1,1"}if("relative"===f.substring(0,8)){var e=f.match(/\((.*?)\)/);if(e)var a=parseFloat(e[1].split(",")[0]),k=parseFloat(e[1].split(",")[1]);isNaN(a)&&(a=0);isNaN(k)&&(k=0);switch(d){case 0:h=
|
||||
this.j.x+a+","+(this.j.y+k);break;case 1:h=this.j.width+a+","+(this.j.height+k);break;case 2:h=this.j.width+a+","+(this.j.height+k);break;case 3:h=this.j.width+a+","+(this.j.height+k);break;case 4:h=Ga(this.j.B)+a+","+(Ga(this.j.B)+k);break;case 5:h=100*this.j.opacity+a+","+(100*this.j.opacity+k);break;case 6:h=b+a+","+b+a;break;case 7:h=this.j.x+a+","+this.j.y;break;case 8:h=this.j.x+","+(this.j.y+a);break;case 9:h=a+","+k}}return h};k.pt=function(d,f,h,b,e,a){h=this.He(d,h);b=this.He(d,b);void 0!==
|
||||
this.L["default"]&&delete this.L["default"];this.L["default"]=new qd("default",d,f,h,b,e,a);this.L["default"].gf=0};k.ua=function(){JSON.stringify(this.L["default"]);return{playmode:this.ti,active:this.Wa,tweened:this.lb,easing:this.Gp,target:this.target,targetmode:this.Zn,useCurrent:this.qo,duration:this.duration,enforce:this.pc,value:this.value,tweenlist:JSON.stringify(this.L["default"])}};qd.No=function(d,f,h,b,e,a,k,t){f=new qd(f,h,b,e,a,k,t);for(var g in d)f[g]=d[g];return f};k.Ea=function(d){var f=
|
||||
JSON.parse(d.tweenlist),f=qd.No(f,f.name,f.lb,f.Ng,f.Ha+","+f.yb,f.Fa+","+f.rb,f.duration,f.pc);this.L["default"]=f;this.ti=d.playmode;this.Wa=d.active;this.tf=d.tweened;this.Gp=d.easing;this.target=d.target;this.Zn=d.targetmode;this.qo=d.useCurrent;this.duration=d.duration;this.pc=d.enforce;this.value=d.value};k.KE=function(d){1<d&&(d=1);0>d&&(d=0);for(var f in this.L){var h=this.L[f];h.ka=0;h.ib=0;h.state=3;h.ea=d*h.duration;var b=h.Zi(0);this.Rr(h,b)}};k.Tk=function(d){for(var f in this.L){var h=
|
||||
this.L[f];if(this.qo){var b=this.He(h.lb,"current"),e=this.He(h.lb,this.target);h.Di(b);h.On(e)}0===d&&(h.ea=1E-6,h.ka=0,h.ib=0,h.ni=!0,h.state=1);1===d&&(h.state=h.gv);if(2===d||4===d)h.ea=1E-6,h.ka=0,h.ib=0,h.ni=!0,2==d&&(h.state=4),4==d&&(h.state=6);3===d&&(h.ea=1E-6,h.ka=0,h.ib=0,h.ni=!0,h.state=5)}};k.SE=function(d){for(var f in this.L){var h=this.L[f];3!=h.state&&0!=h.state&&(h.gv=h.state);1===d&&(h.ea=0);2===d&&(h.ea=h.duration);h.state=3;var b=h.Zi(0);this.Rr(h,b)}};k.xE=function(d){for(var f in this.L){var h=
|
||||
this.L[f];1===d&&(h.ea=h.duration,h.ka=0,h.ib=0,h.gn=!0);h.state=2}};k.Rr=function(d,f){if(0===d.lb)d.pc?(this.j.x=d.Ha+(d.Fa-d.Ha)*f,this.j.y=d.yb+(d.rb-d.yb)*f):(this.j.x+=(d.Fa-d.Ha)*f-d.ka,this.j.y+=(d.rb-d.yb)*f-d.ib,d.ka=(d.Fa-d.Ha)*f,d.ib=(d.rb-d.yb)*f);else if(1===d.lb)d.pc?(this.j.width=d.Ha+(d.Fa-d.Ha)*f,this.j.height=d.yb+(d.rb-d.yb)*f):(this.j.width+=(d.Fa-d.Ha)*f-d.ka,this.j.height+=(d.rb-d.yb)*f-d.ib,d.ka=(d.Fa-d.Ha)*f,d.ib=(d.rb-d.yb)*f);else if(2===d.lb)d.pc?this.j.width=d.Ha+(d.Fa-
|
||||
d.Ha)*f:(this.j.width+=(d.Fa-d.Ha)*f-d.ka,d.ka=(d.Fa-d.Ha)*f);else if(3===d.lb)d.pc?this.j.height=d.yb+(d.rb-d.yb)*f:(this.j.height+=(d.rb-d.yb)*f-d.ib,d.ib=(d.rb-d.yb)*f);else if(4===d.lb)if(d.pc){var h=d.Ha+(d.Fa-d.Ha)*f;this.j.B=Ia(A(h))}else h=(d.Fa-d.Ha)*f-d.ka,this.j.B=Ia(this.j.B+A(h)),d.ka=(d.Fa-d.Ha)*f;else if(5===d.lb)d.pc?this.j.opacity=(d.Ha+(d.Fa-d.Ha)*f)/100:(this.j.opacity+=((d.Fa-d.Ha)*f-d.ka)/100,d.ka=(d.Fa-d.Ha)*f);else if(6===d.lb)d.pc?this.value=d.Ha+(d.Fa-d.Ha)*f:(this.value+=
|
||||
(d.Fa-d.Ha)*f-d.ka,d.ka=(d.Fa-d.Ha)*f);else if(7===d.lb)d.pc?this.j.x=d.Ha+(d.Fa-d.Ha)*f:(this.j.x+=(d.Fa-d.Ha)*f-d.ka,d.ka=(d.Fa-d.Ha)*f);else if(8===d.lb)d.pc?this.j.y=d.yb+(d.rb-d.yb)*f:(this.j.y+=(d.rb-d.yb)*f-d.ib,d.ib=(d.rb-d.yb)*f);else if(9===d.lb){var h=d.Ha+(d.Fa-d.Ha)*f,b=d.yb+(d.rb-d.yb)*f;0>this.j.width&&(h=d.Ha+(d.Fa+d.Ha)*-f);0>this.j.height&&(b=d.yb+(d.rb+d.yb)*-f);d.pc?(this.j.width=this.j.bb.width*h,this.j.height=this.j.bb.height*b):(0>this.j.width?(this.j.width=this.j.width/(-1+
|
||||
d.ka)*h,d.ka=h+1):(this.j.width=this.j.width/(1+d.ka)*h,d.ka=h-1),0>this.j.height?(this.j.height=this.j.height/(-1+d.ib)*b,d.ib=b+1):(this.j.height=this.j.height/(1+d.ib)*b,d.ib=b-1))}this.j.wa()};k.Ba=function(){var d=this.b.Zd(this.j),f=this.L["default"];0!==f.state&&(f.ni&&(this.b.trigger(rd.prototype.e.oz,this.j),f.ni=!1),f.gn&&(this.b.trigger(rd.prototype.e.mz,this.j),f.gn=!1),this.Wa=1==f.state||2==f.state||4==f.state||5==f.state||6==f.state,d=f.Zi(d),this.Rr(f,d),f.cn&&(this.b.trigger(rd.prototype.e.Bs,
|
||||
this.j),f.cn=!1),f.en&&(this.b.trigger(rd.prototype.e.Us,this.j),f.en=!1))};f.e={};k=f.e;k.us=function(){return 0!==this.L["default"].state};k.uy=function(){return 2==this.L["default"].state};k.pF=function(d,f){var h=this.L["default"];return lc(h.ea/h.duration,d,f)};k.RF=function(d,f){var h=this.L["default"];this.Yk=lc(h.ea/h.duration,d,f);if(h=this.Qq!=this.Yk&&this.Yk)this.Qq=this.Yk;return h};k.oz=function(){return void 0===this.L["default"]?!1:this.L["default"].ni};k.mz=function(){return void 0===
|
||||
this.L["default"]?!1:this.L["default"].gn};k.Bs=function(){return void 0===this.L["default"]?!1:this.L["default"].cn};k.Us=function(){return void 0===this.L["default"]?!1:this.L["default"].en};f.m={};k=f.m;k.nA=function(d,f){this.Qq=this.Yk=!1;this.qo=1==f;this.Tk(d)};k.ej=function(d){this.SE(d)};k.Xs=function(d){this.Qq=this.Yk=!1;this.xE(d)};k.UF=function(d){this.KE(d)};k.hG=function(d){isNaN(d)||0>d||void 0===this.L["default"]||(this.L["default"].duration=d)};k.mG=function(d){void 0!==this.L["default"]&&
|
||||
(this.L["default"].pc=1===d)};k.nG=function(d){void 0!==this.L["default"]&&(d=this.He(this.L["default"].lb,d),this.L["default"].Di(d))};k.hA=function(d,f,h){if(void 0!==this.L["default"]&&!isNaN(h)){var b=this.L["default"],e=h+"";this.Zn=f;var a="",k="";if(1===f){this.target="relative("+e+")";switch(d){case 0:a=this.j.x+h;k=b.rb;break;case 1:a=b.Fa;k=this.j.y+h;break;case 2:k=a=""+Ga(this.j.B+A(h));break;case 3:k=a=""+100*this.j.opacity+h;break;case 4:a=this.j.width+h;k=b.rb;break;case 5:a=b.Fa;k=
|
||||
this.j.height+h;break;case 6:k=a=h}e=a+","+k}else{switch(d){case 0:a=h;k=b.rb;break;case 1:a=b.Fa;k=h;break;case 2:k=a=h;break;case 3:k=a=h;break;case 4:a=h;k=b.rb;break;case 5:a=b.Fa;k=h;break;case 6:k=a=h}this.target=e=a+","+k}d=this.He(this.L["default"].lb,"current");e=this.He(this.L["default"].lb,e);b.Di(d);b.On(e)}};k.pG=function(d){void 0!==this.L["default"]&&(this.L["default"].lb=d)};k.iG=function(d){void 0!==this.L["default"]&&(this.L["default"].Ng=d)};k.jG=function(d,f,h,b,e){void 0!==this.L["default"]&&
|
||||
(this.L["default"].hd[d].ad=!1,this.L["default"].hd[d].xh=f,this.L["default"].hd[d].Bk=h,this.L["default"].hd[d].Ki=b,this.L["default"].hd[d].Qc=e)};k.VF=function(){void 0!==this.L["default"]&&(this.L["default"].ad=!0)};k.qG=function(d){var f=this.L["default"];this.value=d;6===f.lb&&f.Di(this.He(f.lb,"current"))};k.bA=function(d,f,h,b,e){if(void 0===this.L["default"])this.pt(d,f,initial,h,b,e);else{var a=this.L["default"];a.lb=d;a.Ng=f;a.Di(this.He(d,"current"));a.On(this.He(d,h));a.duration=b;a.pc=
|
||||
1===e}};f.n={};f=f.n;f.rG=function(d){var f="N/A";switch(this.L["default"].state){case 0:f="paused";break;case 1:f="playing";break;case 2:f="reversing";break;case 3:f="seeking"}d.M(f)};f.Ez=function(d){d.C(this.L["default"].ea/this.L["default"].duration)};f.os=function(d){d.C(this.L["default"].duration)};f.xA=function(d){var f=this.L["default"],h="N/A";switch(f.lb){case 0:h=f.Fa;break;case 1:h=f.rb;break;case 2:h=f.Fa;break;case 3:h=f.Fa;break;case 4:h=f.Fa;break;case 5:h=f.rb;break;case 6:h=f.Fa}d.C(h)};
|
||||
f.ep=function(d){d.C(this.value)};f.sG=function(d,f,h,b,e){b=1<b?1:b;e=kd(e,0>b?0:b,1,!1,!1);d.C(f+e*(h-f))}})();function td(f){this.b=f;this.Ar=this.Pn=this.Qk=this.ur=0}
|
||||
(function(){function f(){}var k=td.prototype;k.K=function(d){this.behavior=d;this.b=d.b};k.K.prototype.F=function(){};k.H=function(d,f){this.type=d;this.behavior=d.behavior;this.j=f;this.b=d.b};var d=k.H.prototype;d.F=function(){this.enabled=0!==this.q[0]};d.ua=function(){return{smg:this.behavior.ur,ss:this.behavior.Qk,se:this.behavior.Pn,smd:this.behavior.Ar}};d.Ea=function(d){this.behavior.ur=d.smg;this.behavior.Qk=d.ss;this.behavior.Pn=d.se;this.behavior.Ar=d.smd};d.Ba=function(){};d.Zk=function(){if(this.enabled){var d=
|
||||
this.behavior.hh.Nd(),f=0,b=0,e,a,k,t=0;e=0;for(a=d.length;e<a;e++){a:{k=d[e];for(var g=void 0,c=void 0,m=void 0,g=0,c=k.X.length;g<c;++g)if(m=k.X[g],m.behavior instanceof td){k=m;break a}k=null}k&&k.enabled&&(f+=d[e].x,b+=d[e].y,++t)}d=this.j.A.Nb;a=this.b.Lb.P;k=e=0;a>=this.behavior.Qk&&a<this.behavior.Pn&&(e=this.behavior.ur*Math.min(this.b.If,1),0===this.behavior.Ar&&(e*=1-(a-this.behavior.Qk)/(this.behavior.Pn-this.behavior.Qk)),a=Math.random()*Math.PI*2,k=Math.random()*e,e=Math.cos(a)*k,k*=
|
||||
Math.sin(a));d.rr(f/t+e);d.sr(b/t+k)}};f.prototype.aj=function(d){this.enabled=0!==d};k.m=new f})();
|
||||
function uc(){return[Hc,wc,yc,xc,zc,Ac,Jc,R,Fc,vc,V,Bc,Gc,I,Lc,Ic,Kc,Mc,W,Pc,Uc,Sc,Oc,Qc,rd,td,Nc,Rc,Vc,Tc,H.prototype.e.jy,H.prototype.e.Ns,vc.prototype.m.CallFunction,W.prototype.m.xl,Kc.prototype.m.xl,I.prototype.e.Ko,Kc.prototype.e.Ro,H.prototype.m.jA,Kc.prototype.n.Text,H.prototype.e.Ox,Hc.prototype.m.cj,Hc.prototype.m.Bg,I.prototype.m.cj,Hc.prototype.n.hj,Hc.prototype.n.ij,I.prototype.m.fA,W.prototype.m.Zs,W.prototype.n.yA,Hc.prototype.n.gj,H.prototype.n.max,I.prototype.n.nl,W.prototype.n.nl,
|
||||
Hc.prototype.n.Go,Hc.prototype.n.Eo,I.prototype.n.hj,I.prototype.n.gj,Hc.prototype.n.Ho,Hc.prototype.n.nl,I.prototype.m.Zs,W.prototype.m.cj,I.prototype.n.Go,I.prototype.n.Ho,Kc.prototype.m.cj,Hc.prototype.n.Fo,Kc.prototype.m.Bg,H.prototype.e.Ex,vc.prototype.n.gs,W.prototype.n.zA,W.prototype.m.Bg,H.prototype.e.qs,I.prototype.n.Fo,vc.prototype.e.ul,xc.prototype.m.Bg,xc.prototype.m.Fz,I.prototype.n.dp,Ac.prototype.m.nx,Ac.prototype.m.Yz,xc.prototype.n.ux,Ac.prototype.n.Yx,H.prototype.e.Hx,H.prototype.e.DA,
|
||||
H.prototype.m.GA,H.prototype.e.Ms,I.prototype.m.wh,rd.prototype.m.hA,W.prototype.m.wh,W.prototype.m.Zo,xc.prototype.n.gj,I.prototype.e.Vo,I.prototype.m.Xo,rd.prototype.e.Us,Fc.prototype.m.Ax,Fc.prototype.e.Fs,Fc.prototype.m.Zx,Fc.prototype.e.Hs,Fc.prototype.m.Xz,Fc.prototype.e.Gs,Fc.prototype.n.xy,rd.prototype.e.Bs,rd.prototype.m.Xs,rd.prototype.m.nA,H.prototype.e.yz,Lc.prototype.e.To,W.prototype.m.dj,I.prototype.n.ay,rd.prototype.m.ej,H.prototype.e.Jo,I.prototype.n.ij,I.prototype.m.bt,I.prototype.n.Eo,
|
||||
H.prototype.n.AD,vc.prototype.n.vz,H.prototype.n.abs,wc.prototype.e.Yi,Mc.prototype.m.No,wc.prototype.n.zy,Mc.prototype.e.Jo,W.prototype.e.Vo,Mc.prototype.n.tA,H.prototype.m.ox,H.prototype.e.Vx,Mc.prototype.n.Jy,H.prototype.n.HD,Hc.prototype.m.bj,Mc.prototype.n.Ky,wc.prototype.e.Pd,wc.prototype.m.Dz,R.prototype.m.Ix,H.prototype.e.Xx,W.prototype.n.ij,W.prototype.n.dp,Hc.prototype.e.ml,Hc.prototype.m.wh,Hc.prototype.m.dj,W.prototype.m.$o,Hc.prototype.e.Vo,Hc.prototype.n.dp,Hc.prototype.m.bp,W.prototype.n.Eo,
|
||||
xc.prototype.e.tx,xc.prototype.n.Kx,xc.prototype.n.Lx,H.prototype.e.By,I.prototype.m.bj,H.prototype.n.If,H.prototype.m.iA,H.prototype.m.Zz,Hc.prototype.e.Lo,I.prototype.e.ml,Kc.prototype.m.wh,I.prototype.m.Qz,Kc.prototype.m.dA,W.prototype.m.bj,R.prototype.e.ty,H.prototype.n.kF,W.prototype.n.Fo,W.prototype.n.Ho,W.prototype.n.gj,I.prototype.e.Ue,I.prototype.m.Gy,W.prototype.m.bt,Hc.prototype.m.Oo,W.prototype.m.Oo,H.prototype.n.jF,H.prototype.n.iF,W.prototype.n.Go,vc.prototype.e.Gx,Hc.prototype.m.Zo,
|
||||
Lc.prototype.e.ky,Lc.prototype.e.wy,Fc.prototype.e.Is,W.prototype.e.Ue,H.prototype.n.FE,H.prototype.n.GE,Qc.prototype.m.Ux,Qc.prototype.e.Es,Fc.prototype.m.Dx,I.prototype.m.ns,yc.prototype.e.ol,yc.prototype.m.qA,yc.prototype.m.Play,zc.prototype.e.sl,wc.prototype.m.Iz,xc.prototype.m.bj,Sc.prototype.n.ep,zc.prototype.m.cj,zc.prototype.m.Bg,H.prototype.n["int"],H.prototype.n.round,H.prototype.n.dh,H.prototype.e.Po,xc.prototype.m.Xo,Ac.prototype.m.Mo,Ac.prototype.e.Wx,Ac.prototype.n.Mx,H.prototype.e.IA,
|
||||
H.prototype.n.trim,H.prototype.m.sA,H.prototype.m.wA,Hc.prototype.m.ns,H.prototype.m.Jx,H.prototype.n.iB,I.prototype.m.Bg,Hc.prototype.m.Fy,xc.prototype.e.Ko,xc.prototype.e.ml,H.prototype.n.random,Ac.prototype.e.ws,Vc.prototype.n.animationName,Vc.prototype.n.ZA,rd.prototype.n.ep,I.prototype.m.dj,rd.prototype.n.xA,I.prototype.m.vA,H.prototype.n.gf,W.prototype.e.Lo,Pc.prototype.m.oA,I.prototype.m.Zo,rd.prototype.m.bA,I.prototype.e.Lo,Pc.prototype.m.Tz,Pc.prototype.m.kA,Pc.prototype.m.Uz,W.prototype.m.bp,
|
||||
W.prototype.e.ls,W.prototype.e.Ko,W.prototype.m.Xo,W.prototype.e.zz,W.prototype.n.ms,Ac.prototype.n.xs,H.prototype.e.xz,I.prototype.m.et,Pc.prototype.e.Ws,Pc.prototype.e.Ds,I.prototype.m.bs,W.prototype.n.hj,I.prototype.n.dy,W.prototype.m.Wz,H.prototype.m.HA,H.prototype.m.Lz,H.prototype.m.$x,vc.prototype.n.wz,R.prototype.e.ny,V.prototype.n.Nz,W.prototype.m.cs,xc.prototype.n.ll,xc.prototype.m.Mo,H.prototype.m.mA,xc.prototype.m.dj,vc.prototype.m.eA,I.prototype.m.bp,H.prototype.n.DD,H.prototype.n.BD,
|
||||
H.prototype.n.zD,H.prototype.n.B,H.prototype.e.vs,H.prototype.n.sqrt,H.prototype.n.ED,H.prototype.n.sin,H.prototype.n.hF,Pc.prototype.e.Cs,R.prototype.m.Px,Kc.prototype.m.Ys,Tc.prototype.e.zs,R.prototype.e.$i,R.prototype.m.Gz,H.prototype.e.Nx,H.prototype.n.replace,H.prototype.n.right,Lc.prototype.e.Uo,Lc.prototype.n.CA,Gc.prototype.e.qy,H.prototype.n.ZE,Lc.prototype.e.So,yc.prototype.m.Wo,H.prototype.n.$E,I.prototype.e.Fx,I.prototype.n.Ay,zc.prototype.e.Ue,zc.prototype.m.Yo,H.prototype.n.min,W.prototype.m.lA,
|
||||
Kc.prototype.e.Ue,Kc.prototype.m.bj,Kc.prototype.e.ml,Kc.prototype.m.Yo,W.prototype.n.Qx,Hc.prototype.e.Ue,H.prototype.e.my,H.prototype.n.cF,xc.prototype.m.hs,yc.prototype.m.gA,yc.prototype.e.vy,I.prototype.n.ms,H.prototype.n.CD,H.prototype.n.ID,rd.prototype.e.us,rd.prototype.e.uy,I.prototype.m.AA,Jc.prototype.m.Play,I.prototype.m.$o,R.prototype.e.iy,R.prototype.m.zx,R.prototype.m.EA,R.prototype.m.Jz,I.prototype.m.rA,I.prototype.m.Rz,I.prototype.m.Vz,I.prototype.m.aA,Lc.prototype.n.LA,Lc.prototype.n.MA,
|
||||
I.prototype.n.by,I.prototype.e.ks,I.prototype.m.Pz,I.prototype.e.ly,I.prototype.e.ry,Qc.prototype.e.gy,xc.prototype.m.bs,I.prototype.e.ey,I.prototype.n.rx,Vc.prototype.n.$A,H.prototype.e.Bz,Uc.prototype.m.pA,Uc.prototype.e.rz,I.prototype.n.Cz,I.prototype.e.oy,Sc.prototype.m.Oz,Pc.prototype.n.Sx,Sc.prototype.m.$z,W.prototype.m.et,W.prototype.m.Mz,I.prototype.n.cy,W.prototype.e.js,I.prototype.e.hy,Sc.prototype.m.cA,Pc.prototype.n.Rx,I.prototype.m.Ey,I.prototype.e.Az,I.prototype.e.ls,I.prototype.m.Oo,
|
||||
Oc.prototype.m.aj,H.prototype.n.sB,Sc.prototype.n.Dy,H.prototype.n.cos,Pc.prototype.m.Kz]};
|
1
trump/data.js
Normal file
1
trump/data.js
Normal file
File diff suppressed because one or more lines are too long
BIN
trump/icon-16.png
Normal file
BIN
trump/icon-16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 998 B |
Loading…
x
Reference in New Issue
Block a user