a&&(a+=this.X.width);0>e&&(e+=this.X.height);d.translate(k,c);d.rotate(this.n);d.translate(a,e);d.fillRect(p-a,g-e,this.width,this.height);d.restore()};q.Ef=function(d){this.Bc(d)};
q.Bc=function(d){d.Zc(this.Va);d.Vg(this.opacity);var k=this.Uj;k.right=this.width/this.X.width;k.bottom=this.height/this.X.height;var c=this.cd;if(this.b.be){var p=Math.round(this.x)-this.x,g=Math.round(this.y)-this.y;d.ve(c.lc+p,c.mc+g,c.Qc+p,c.Rc+g,c.zc+p,c.Ac+g,c.xc+p,c.yc+g,k)}else d.ve(c.lc,c.mc,c.Qc,c.Rc,c.zc,c.Ac,c.xc,c.yc,k)};d.k=new function(){};d.A=new function(){};d.ja=new function(){}})();function zc(d){this.b=d}
(function(){function d(){this.Rm=this.id=-1;this.Hq=this.ph=this.tk=this.Vi=!1;this.Fa=new va(0,0,0,0)}function q(a){1E4>t.length&&t.push(a)}function n(){this.id=-1;this.Fa=new va(0,0,0,0);this.cf=null}function k(a){1E4>m.length&&m.push(a)}function c(a,b,c){var d;return D.length?(d=D.pop(),d.c=a,d.x=b,d.y=c,d.left=d.x*d.c.yb*d.c.kc,d.top=d.y*d.c.Gb*d.c.jc,d.clear(),d.Tj=!1,d):new p(a,b,c)}function p(a,b,c){this.c=a;this.x=b;this.y=c;this.left=this.x*this.c.yb*this.c.kc;this.top=this.y*this.c.Gb*this.c.jc;
this.Ce=[];this.Wb=[];this.oc=[];this.Tj=!1;var d,e;a=0;for(b=this.c.Gb;aa||a>=this.ge.length)&&this.ge[a]){var h=this.ge[a].kl;a=new gb(this.ge[a].cf);a.fg(b,c,0);g&&a.bx();d&&a.Dz(b/2);e&&a.vy(c/2);h[d?1:0][e?1:0][g?1:0]=a}};a.Py=function(a){if(-1===a)return null;var c=a&h;return 0>c||c>=this.ge.length||!this.ge[c]?null:this.ge[c].kl[a&e?1:0][a&v?1:0][a&b?1:0]};a.Pn=function(){var a,b,c=this.b.K;if(c)for(a=0,b=this.ig.length;a=a||0>=b)){this.Pn();var p=this.X.width,k=this.X.height,m;for(m=d;m+b<=k;m+=b+g)for(d=c;d+a<=p;d+=a+e)this.ig.push(this.wu(d,m,a,b,h));this.En=!0}};a.wu=function(a,b,c,d,e){if(this.b.K)return this.dn(a,b,c,d,!1,!1,!1,e);var g=[[[null,null],[null,null]],[[null,null],[null,null]]];g[0][0][0]=this.dn(a,b,c,d,!1,!1,!1,e);return{kl:g,x:a,y:b,GA:c,ez:d}};a.$p=function(a,b,c,d,e){if(0>a||a>=this.ig.length)return null;a=this.ig[a];var g=a.kl;b=b?1:0;c=c?1:0;d=d?1:0;var h=g[b][c][d];
if(h)return h;h=this.dn(a.x,a.y,a.GA,a.ez,0!==b,0!==c,0!==d,e);return g[b][c][d]=h};a.dn=function(a,b,c,d,e,g,h,p){var k=c,m=d;this.b.K&&!p&&(ma(k)||(k=na(k)),ma(m)||(m=na(m)));var n=document.createElement("canvas");n.width=k;n.height=m;var q=n.getContext("2d");if(this.b.Ta)return e?g?(h?(q.rotate(Math.PI/2),q.scale(-1,1)):q.scale(-1,-1),q.translate(-k,-m)):h?(q.rotate(Math.PI/2),q.translate(0,-m)):(q.scale(-1,1),q.translate(-k,0)):g?h?(q.rotate(-Math.PI/2),q.translate(-k,0)):(q.scale(1,-1),q.translate(0,
-m)):h&&(q.scale(-1,1),q.rotate(Math.PI/2)),q.drawImage(this.X,a,b,c,d,0,0,k,m),p?n:this.b.Ta.createPattern(n,"repeat");q.drawImage(this.X,a,b,c,d,0,0,k,m);a=this.b.K.dd(k,m,this.b.Za,!1,!p);this.b.K.FA(n,a);return a};a.Yl=function(){this.T||this.Pn()};a.$l=function(){};a.Ll=function(){};a.Ym=function(){this.T||this.j.length||this.Pn()};a.nm=function(){};g.S=function(a){this.type=a;this.b=a.b};var a=g.S.prototype,e=-2147483648,v=1073741824,b=536870912,h=536870911,t=[],m=[],D=[];p.prototype.clear=
function(){var a,b,c,d,e;this.Ce.length=this.c.Gb;a=0;for(b=this.Ce.length;a=a||0>=c)){var g,p,x,u,A,M;g=0;for(p=this.Wb.length;gthis.c.yb&&(D=this.c.yb);B>this.c.Gb&&(B=this.c.Gb);var J=this.c.Uf,F=null;g=0;for(p=B;g
u.Fa.bottom)break;if(x.Fa.right>u.Fa.right||x.Fa.left>u.Fa.left)break;
x.id===u.id&&x.Fa.left===u.Fa.left&&x.Fa.right===u.Fa.right&&(q(this.Wb[a]),this.Wb.splice(a,1),--p,u.Fa.bottom+=c,--a)}p=this.oc.length;for(g=0;g
A.bottom)break;if(u.right>A.right||u.left>A.left)break;x.cf||u.left!==A.left||u.right!==A.right||(k(this.oc[a]),this.oc.splice(a,1),--p,A.bottom+=c,--a)}this.Tj=!0}}};p.prototype.yp=function(a,b,c){this.Ce[b][a]!==c&&(this.Ce[b][a]=c,this.Tj=!1,this.c.Gk=
!0,this.c.Nj=!0,this.c.b.za=!0)};a.P=function(){var a,b,c;this.visible=0===this.C[0];this.kc=this.C[1];this.jc=this.C[2];this.Fp=this.C[3];this.Hp=this.C[4];this.Gp=this.C[5];this.Ip=this.C[6];this.Uf=0!==this.C[7];this.Cd=this.Nt;this.$d=this.Mt;this.Fl=this.width;this.El=this.height;var d=this.kc,e=this.jc;0===d&&(d=1);0===e&&(e=1);this.yb=Math.ceil(this.b.qb/d);this.Gb=Math.ceil(this.b.pb/e);if(!this.type.Kt)for(this.type.Kt=!0,a=0,b=this.type.ge.length;athis.$d&&(this.$d=d,a=Math.ceil(this.$d/this.Gb)),b>this.Cd&&(this.Cd=b,e=Math.ceil(this.Cd/this.yb)),this.zm(),this.Nj=!0,this.b.za=!0);for(var g,b=0;b<
a;++b)if(g=this.uc[b])for(d=g.length;da||0>b)return null;var c=C(b/this.Gb);if(c>=this.uc.length)return null;var c=this.uc[c],d=C(a/this.yb);return d>=c.length?null:c[d]};a.vn=function(a,b){if(0>a||0>b||b>=this.uc.length)return null;var c=this.uc[b];return a>=c.length?null:c[a]};a.qt=function(a){var c=[];a=a.split(",");var d,g,h,p,k;d=0;for(g=a.length;d=this.Cd||0>=this.$d)return a;var c=1,d=this.pr(0,0),g,p,k,m,n,q,t,x;m=C(this.width/this.kc);
p=C(this.height/this.jc);for(g=0;ga||0>b||a>=this.Cd||b>=this.$d)return-1;var c=this.un(a,b);
return c?c.Ce[b%this.Gb][a%this.yb]:-1};a.yp=function(a,b,c){a=Math.floor(a);b=Math.floor(b);if(0>a||0>b||a>=this.Cd||b>=this.$d)return-1;var d=this.un(a,b);if(!d)return-1;d.yp(a%this.yb,b%this.Gb,c)};a.fu=function(a){return Math.floor((a-this.x)/(this.yb*this.kc))};a.gu=function(a){return Math.floor((a-this.y)/(this.Gb*this.jc))};a.Cy=function(a,b){var c=this.gu(a.top),d=this.fu(a.right),e=this.gu(a.bottom),g,h,p;for(g=this.fu(a.left);g<=d;++g)for(h=c;h<=e;++h)if(p=this.vn(g,h))p.Aj(),Da(b,p.oc)};
a.xi=function(a){var b,c,d,e,g,h;b=0;for(c=this.uc.length;bD.length&&D.push(g)}P(e)}P(this.uc)};a.tb=function(){this.Oo();return{w:C(this.width/this.kc),h:C(this.height/this.jc),d:this.Qy()}};
a.Mb=function(a){this.Cd=a.w;this.$d=a.h;this.Oo(!0);this.qt(a.d);this.Nj=!0;this.zm()};a.Ne=function(a){if(!(0>=this.kc||0>=this.jc)){this.type.No(this.kc,this.jc,this.Fp,this.Hp,this.Gp,this.Ip,this.Uf);if(this.width!==this.Fl||this.height!==this.El)this.Nj=!0,this.zm(),this.Mo(),this.Fl=this.width,this.El=this.height;a.globalAlpha=this.opacity;var b=this.u,c=b.Ia,d=b.Ja,e=b.Ra,b=b.Qa,g=this.x,h=this.y,p=this.Uf,k;this.b.be&&(g=Math.round(g),h=Math.round(h));var m=this.yb*this.kc,n=this.Gb*this.jc,
q=Math.floor((c-g)/m),m=Math.floor((e-g)/m),t=Math.floor((d-h)/n),n=Math.floor((b-h)/n),x=g%this.kc,v=h%this.jc;this.Uf&&(v=x=0);if(0!==x||0!==v)a.save(),a.translate(x,v),g-=x,h-=v,c-=x,d-=v,e-=x,b-=v;for(var D,V,z,w,G,E,L,I,K;q<=m;++q)for(D=t;D<=n;++D)if(V=this.vn(q,D))for(V.Aj(),z=0,w=V.Wb.length;ze||Ib||k=this.kc||0>=this.jc)){this.type.No(this.kc,this.jc,this.Fp,this.Hp,this.Gp,this.Ip,this.Uf);if(this.width!==this.Fl||this.height!==this.El)this.Nj=!0,this.zm(),this.Mo(),this.Fl=this.width,this.El=this.height;a.Vg(this.opacity);var b=this.type.ig,c=this.u,d=c.Ia,e=c.Ja,g=c.Ra,c=c.Qa,h=this.x,p=this.y,k;this.b.be&&(h=Math.round(h),p=Math.round(p));var m=
this.yb*this.kc,n=this.Gb*this.jc,q=Math.floor((g-h)/m),t=Math.floor((e-p)/n),n=Math.floor((c-p)/n),v,D,S,V,z,w,G,E,L,I,K,N,X,H,ba,ea,ya;for(ba=Math.floor((d-h)/m);ba<=q;++ba)for(ea=t;ea<=n;++ea)if(ya=this.vn(ba,ea))for(ya.Aj(),m=0,v=ya.Wb.length;mg||zc||kSa(this.Jm,this.Km,this.x,this.y)&&(this.Vm=!0,a.De=this.fk,a.hi=this.id,a.th=b,a.b.trigger(Ac.prototype.k.pv,a),a.Ke=this.x,a.Le=this.y,a.b.trigger(Ac.prototype.k.qv,a),a.th=0)};var t=-1E3,m=-1E3,D=-1E4;n.prototype.qs=function(a,b){if(!this.Vm){var c=Wa();333>=c-this.Cp&&!this.ok&&15>Sa(this.Jm,this.Km,this.x,this.y)&&(a.De=this.fk,a.hi=this.id,a.th=b,666>=c-D&&25>Sa(t,m,this.x,this.y)?(a.b.trigger(Ac.prototype.k.hv,a),a.Ke=
this.x,a.Le=this.y,a.b.trigger(Ac.prototype.k.jv,a),m=t=-1E3,D=-1E4):(a.b.trigger(Ac.prototype.k.Ev,a),a.Ke=this.x,a.Le=this.y,a.b.trigger(Ac.prototype.k.Fv,a),t=this.x,m=this.y,D=c),a.th=0)}};g.P=function(){this.vz=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.th=this.hi=this.De=this.Le=this.Ke=this.Cq=this.Bq=this.Aq=this.Iw=this.Hw=this.Gw=this.fm=this.em=this.dm=0;this.DA=0!==this.C[0];var a=0d-c.time||c.update(d,b.pageX-e.left,b.pageY-e.top,
b.width||0,b.height||0,b.pressure||0)}}};g.Gs=function(b){if(b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&"mouse"!==b.pointerType){b.preventDefault&&nb(b)&&b.preventDefault();var c=this.b.Ya?a:jQuery(this.b.canvas).offset(),d=b.pageX-c.left,c=b.pageY-c.top;Wa();this.De=this.touches.length;this.hi=b.pointerId;this.touches.push(q(d,c,b.pointerId,this.De));this.b.eb=!0;this.b.trigger(Ac.prototype.k.rq,this);this.b.trigger(Ac.prototype.k.xq,this);this.Ke=d;this.Le=c;this.b.trigger(Ac.prototype.k.wq,this);
this.b.eb=!1}};g.Zl=function(a,b){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&nb(a)&&a.preventDefault();var c=this.Mi(a.pointerId);this.De=0<=c?this.touches[c].fk:-1;this.hi=0<=c?this.touches[c].id:-1;this.b.eb=!0;this.b.trigger(Ac.prototype.k.qq,this);this.b.trigger(Ac.prototype.k.vq,this);0<=c&&(b||this.touches[c].qs(this,c),100>h.length&&h.push(this.touches[c]),this.touches.splice(c,1));this.b.eb=!1}};g.Is=function(b){b.preventDefault&&b.preventDefault();
var c=Wa(),d,e,g,h;d=0;for(e=b.changedTouches.length;dc-h.time||h.update(c,g.pageX-p.left,g.pageY-p.top,2*(g.fC||g.kC||g.ZB||g.bC||0),2*(g.gC||g.lC||g.$B||g.cC||0),g.TB||g.jC||g.YB||g.aC||0)}};g.Js=function(b){b.preventDefault&&nb(b)&&b.preventDefault();var c=this.b.Ya?a:jQuery(this.b.canvas).offset();Wa();this.b.eb=!0;var d,e,g,h;d=0;for(e=b.changedTouches.length;dh.length&&h.push(this.touches[e]),this.touches.splice(e,1));this.b.eb=!1};g.xi=function(){return this.b.Vc&&0===this.dm&&0!==b?90*b:this.dm};g.WB=function(){return this.b.Vc&&0===this.em&&0!==v?90*v:this.em};g.XB=function(){return this.b.Vc&&0===this.fm&&0!==e?90*e:this.fm};g.Yo=function(a){this.Js({changedTouches:[{pageX:a.pageX,
pageY:a.pageY,identifier:0}]});this.Ro=!0};g.Zo=function(a){this.Ro&&this.Is({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};g.$o=function(a){a.preventDefault&&this.b.sl&&!this.b.Cg&&a.preventDefault();this.b.sl=!0;this.bp({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.Ro=!1};g.lk=function(){var a,b,c,d=Wa();a=0;for(b=this.touches.length;ac||c>=this.touches.length)a.D(0);else{var d,e,g,h,p;ja(b)?(d=this.b.Se(0),e=d.scale,g=d.nc,h=d.Jc,p=d.n,d.scale=1,d.nc=1,d.Jc=1,d.n=0,a.D(d.xb(this.touches[c].x,this.touches[c].y,!0)),d.scale=e,d.nc=g,d.Jc=h,d.n=p):(d=ka(b)?this.b.Se(b):this.b.Pi(b))?a.D(d.xb(this.touches[c].x,this.touches[c].y,!0)):a.D(0)}};c.prototype.Ak=function(a,b){var c=this.th;if(0>c||c>=this.touches.length)a.D(0);else{var d,e,g,h,p;ja(b)?(d=this.b.Se(0),e=d.scale,
g=d.nc,h=d.Kc,p=d.n,d.scale=1,d.nc=1,d.Kc=1,d.n=0,a.D(d.xb(this.touches[c].x,this.touches[c].y,!1)),d.scale=e,d.nc=g,d.Kc=h,d.n=p):(d=ka(b)?this.b.Se(b):this.b.Pi(b))?a.D(d.xb(this.touches[c].x,this.touches[c].y,!1)):a.D(0)}};p.ja=new c})();function Bc(d){this.b=d}
(function(){function d(){}var q=Bc.prototype;q.Z=function(a){this.La=a;this.b=a.b};q.Z.prototype.P=function(){};q.S=function(a){this.type=a;this.b=a.b};var n=q.S.prototype,k="",c="undefined"!==typeof window.is_scirra_arcade;c&&(k="arcade"+window.scirra_arcade_id);var p=!1;try{localStorage.getItem("test"),p=!0}catch(g){p=!1}n.P=function(){p||ha("[Construct 2] Webstorage plugin: local storage is not supported on this platform.")};q.k=new function(){};q.A=new function(){};d.prototype.Yp=function(a){if(p){var d=
{},g,b,h;g=0;for(b=localStorage.length;gc;++c)b[a][c]=0;return b[a]}function q(a){var b;if(!h[a])for(h[a]=Array(20),b=0;20>b;++b)h[a][b]=0;return h[a]}function n(a,b){return b?4<=a?-1:a+16:16<=a?-1:a}function k(b){v[b.gamepad.index]=b.gamepad;a.trigger(Cc.prototype.k.nv,e)}function c(b){a.trigger(Cc.prototype.k.ov,e);v[b.gamepad.index]=null}function p(){}var g=Cc.prototype;g.Z=function(a){this.La=a;this.b=a.b};g.Z.prototype.P=function(){};var a=null,e=null,v=Array(16),b=
Array(16),h=Array(16),t="",m="",D=null,x={windows:{}};x.windows.firefox={};var r=[0,1,2,3,4,5,8,9,10,11],f=[0,1,[7,6],2,3,[14,15],[12,13]];x.windows.firefox.xbox360=function(a,b){return b?a>=f.length?-1:ka(f[a])?f[a]+16:f[a]:a>=r.length?-1:r[a]};var l=[2,0,1,3,4,6,5,7,8,9],O=[0,1,2,3,[14,15],[12,13]];x.windows.firefox.logitechdualaction=function(a,b){return b?a>=O.length?-1:ka(O[a])?O[a]+16:O[a]:a>=l.length?-1:l[a]};g.S=function(b){this.type=b;a=this.b=b.b;e=this};var y=g.S.prototype;y.P=function(){this.Zw=
this.C[0];this.nj=0;var a=navigator.userAgent;t="windows";/mac/i.test(a)&&(t="mac");D=x[t];m="chrome";/firefox/i.test(a)&&(m="firefox");D&&(D=D[m]);window.addEventListener("webkitgamepadconnected",k,!1);window.addEventListener("webkitgamepaddisconnected",c,!1);window.addEventListener("MozGamepadConnected",k,!1);window.addEventListener("MozGamepadDisconnected",c,!1);window.addEventListener("gamepadconnected",k,!1);window.addEventListener("gamepaddisconnected",c,!1);this.b.mk(this);this.ri=[]};y.Pa=
function(){this.ri.length=0;var a=null,c=!1;navigator.getGamepads?a=navigator.getGamepads():navigator.webkitGetGamepads?a=navigator.webkitGetGamepads():navigator.mozGetGamepads?a=navigator.mozGetGamepads():navigator.msGetGamepads?a=navigator.msGetGamepads():this.b.Lr&&window.cr_getGamepads?(a=window.cr_getGamepads(),c=!0):a=navigator.gamepads||navigator.webkitGamepads||navigator.MozGamepads||v;if(a){var e,f,g,p,k,l,m;e=0;for(f=a.length;ek;++k)p[k]=g[k];c?g=n:D?(g="",p=r.id.toLowerCase(),-1l&&(t[l]=100*m,50<=t[l]&&50>x[l]&&(this.nj=l));g=0;for(p=r.axes.length;gl&&(t[l]=100*m):(t[l[0]]=0,t[l[1]]=0,0>=m?t[l[0]]=Math.abs(100*
m):t[l[1]]=Math.abs(100*m));this.ri.push(r)}else r=e,b[r]=null,h[r]=null}for(;20>e;++e)a=e,b[a]=null,h[a]=null}};y.tb=function(){return{lastButton:this.nj}};y.Mb=function(a){this.nj=a.lastButton};p.prototype.nv=function(){return!0};p.prototype.ov=function(){return!0};p.prototype.bq=function(a,b){a=Math.floor(a);if(0>a||a>=this.ri.length)return!1;var c=d(a);if(!c)return!1;if(c=50<=c[b])this.nj=b;return c};p.prototype.av=function(a,b){a=Math.floor(a);if(0>a||a>=this.ri.length)return!1;var c=d(a),e=
q(a);if(!c||!e)return!1;if(c=50<=c[b]&&50>e[b])this.nj=b;return c};p.prototype.ou=function(a,b,c,e){a=Math.floor(a);b=Math.floor(b);if(0>a||a>=this.ri.length)return!1;if(a=d(a)){var f=a[b+16],g=0,g=0===b%2?a[b+16+1]:a[b+16-1];Math.sqrt(f*f+g*g)<=this.Zw&&(f=0);return fc(f,c,e)}};g.k=new p;g.A=new function(){};g.ja=new function(){}})();function Dc(d){this.b=d}
(function(){function d(){}function q(){}var n=Dc.prototype;n.Z=function(c){this.behavior=c;this.b=c.b};n.Z.prototype.P=function(){};n.S=function(c,d){this.type=c;this.behavior=c.behavior;this.c=d;this.b=c.b};var k=n.S.prototype;k.P=function(){var c=this.C[0];this.Ld=this.C[1];this.Uc=this.C[2];this.Pw=0!==this.C[3];this.vp=0!==this.C[4];this.F=Math.cos(this.c.n)*c;this.I=Math.sin(this.c.n)*c;this.Lg=this.c.x;this.Mg=this.c.y;this.jd=this.c.n;this.Tm=0;this.enabled=0!==this.C[5]};k.tb=function(){return{acc:this.Ld,
g:this.Uc,dx:this.F,dy:this.I,lx:this.Lg,ly:this.Mg,lka:this.jd,t:this.Tm,e:this.enabled}};k.Mb=function(c){this.Ld=c.acc;this.Uc=c.g;this.F=c.dx;this.I=c.dy;this.Lg=c.lx;this.Mg=c.ly;this.jd=c.lka;this.Tm=c.t;this.enabled=c.e};k.Pa=function(){if(this.enabled){var c=this.b.tg(this.c),d,g;this.c.n!==this.jd&&(this.vp&&(d=Sa(0,0,this.F,this.I),this.F=Math.cos(this.c.n)*d,this.I=Math.sin(this.c.n)*d),this.jd=this.c.n);0!==this.Ld&&(d=Sa(0,0,this.F,this.I),g=0===this.F&&0===this.I?this.c.n:Ma(0,0,this.F,
this.I),d+=this.Ld*c,0>d&&(d=0),this.F=Math.cos(g)*d,this.I=Math.sin(g)*d);0!==this.Uc&&(this.I+=this.Uc*c);this.Lg=this.c.x;this.Mg=this.c.y;if(0!==this.F||0!==this.I)if(this.c.x+=this.F*c,this.c.y+=this.I*c,this.Tm+=Sa(0,0,this.F*c,this.I*c),this.vp&&(this.c.n=Ma(0,0,this.F,this.I),this.c.J(),this.jd=this.c.n),this.c.J(),this.Pw&&(d=this.b.Pb(this.c)))this.b.Zh(this.c,d),d=Sa(0,0,this.F,this.I),g=this.b.Rw(this.c,this.Lg,this.Mg),this.F=Math.cos(g)*d,this.I=Math.sin(g)*d,this.c.x+=this.F*c,this.c.y+=
this.I*c,this.c.J(),this.vp&&(this.jd=this.c.n=g,this.c.J()),this.b.Fd(this.c,this.F/d,this.I/d,Math.max(2.5*d*c,30))||this.b.dt(this.c,100)}};n.k=new function(){};d.prototype.fw=function(c){var d=Ma(0,0,this.F,this.I);this.F=Math.cos(d)*c;this.I=Math.sin(d)*c};d.prototype.Rv=function(c){c=Q(c);var d=Sa(0,0,this.F,this.I);this.F=Math.cos(c)*d;this.I=Math.sin(c)*d};d.prototype.ih=function(c){this.enabled=1===c};n.A=new d;q.prototype.zq=function(c){var d=Sa(0,0,this.F,this.I),d=lb(d);c.D(d)};n.ja=new q})();
function Ec(d){this.b=d}
(function(){function d(){}function q(){}var n=Ec.prototype;n.Z=function(c){this.behavior=c;this.b=c.b};n.Z.prototype.P=function(){};n.S=function(c,d){this.type=c;this.behavior=c.behavior;this.c=d;this.b=c.b};var k=n.S.prototype;k.P=function(){this.lf=this.Ae=this.fi=this.Xl=this.cm=0};k.tb=function(){return{ontime:this.cm,offtime:this.Xl,stage:this.fi,stagetimeleft:this.Ae,timeleft:this.lf}};k.Mb=function(c){this.cm=c.ontime;this.Xl=c.offtime;this.fi=c.stage;this.Ae=c.stagetimeleft;this.lf=c.timeleft};
k.Pa=function(){if(!(0>=this.lf)){var c=this.b.tg(this.c);this.lf-=c;0>=this.lf?(this.lf=0,this.c.visible=!0,this.b.za=!0,this.b.trigger(Ec.prototype.k.lv,this.c)):(this.Ae-=c,0>=this.Ae&&(0===this.fi?(this.c.visible=!1,this.fi=1,this.Ae+=this.Xl):(this.c.visible=!0,this.fi=0,this.Ae+=this.cm),this.b.za=!0))}};d.prototype.Nu=function(){return 0
this.bf||4===this.mode&&pthis.Uc&&(this.Ab*=-1,this.Bb*=-1,this.Uc=Math.abs(this.Uc))};c.P=function(){this.Xe=this.C[0];this.Ld=this.C[1];this.oh=this.C[2];this.mj=this.C[3];this.Sn=this.Uc=this.C[4];this.Qg=this.C[5];this.In=0!==this.C[6];this.xo=this.C[7]/1E3;this.$w=1===this.C[8];this.enabled=0!==this.C[9];this.pi=!1;this.qi=this.b.kf(this.c);this.Fo=-1;this.Zg=0;this.sh=Q(90);
this.$t();var c=this;this.$w&&!this.b.Ya&&(jQuery(document).keydown(function(d){c.Wo(d)}),jQuery(document).keyup(function(d){c.Xo(d)}));this.nd||(this.Cj=function(d){c.Ij(d)});this.b.Ck(this.Cj);this.c.O.isPlatformBehavior=!0};c.tb=function(){return{ii:this.wl,lfx:this.Gg,lfy:this.Hg,lfo:this.Gc?this.Gc.uid:-1,am:this.Pd,en:this.enabled,fall:this.qg,ft:this.jl,dx:this.F,dy:this.I,ms:this.Xe,acc:this.Ld,dec:this.oh,js:this.mj,g:this.Uc,g1:this.Sn,mf:this.Qg,wof:this.pi,woj:this.qi?this.qi.uid:-1,ga:this.sh,
edj:this.In,cdj:this.yi,dj:this.Fi,sus:this.xo}};c.Mb=function(c){this.wl=c.ii;this.Gg=c.lfx;this.Hg=c.lfy;this.Eo=c.lfo;this.Pd=c.am;this.enabled=c.en;this.qg=c.fall;this.jl=c.ft;this.F=c.dx;this.I=c.dy;this.Xe=c.ms;this.Ld=c.acc;this.oh=c.dec;this.mj=c.js;this.Uc=c.g;this.Sn=c.g1;this.Qg=c.mf;this.pi=c.wof;this.Fo=c.woj;this.sh=c.ga;this.In=c.edj;this.yi=c.cdj;this.Fi=c.dj;this.xo=c.sus;this.dk=this.Gm=this.Fm=this.Eh=this.Fh=this.Xj=this.qj=!1;this.Zg=0;this.$t()};c.Nd=function(){-1===this.Eo?
this.Gc=null:this.Gc=this.b.ug(this.Eo);-1===this.Fo?this.qi=null:this.qi=this.b.ug(this.Fo)};c.Ij=function(c){this.Gc==c&&(this.Gc=null)};c.Sg=function(){this.Gc=null;this.b.gt(this.Cj)};c.Wo=function(c){switch(c.which){case 38:c.preventDefault();this.Fh=!0;break;case 37:c.preventDefault();this.qj=!0;break;case 39:c.preventDefault(),this.Xj=!0}};c.Xo=function(c){switch(c.which){case 38:c.preventDefault();this.Eh=this.Fh=!1;break;case 37:c.preventDefault();this.qj=!1;break;case 39:c.preventDefault(),
this.Xj=!1}};c.Rf=function(){this.Fh=this.Xj=this.qj=!1};c.xi=function(){return 0>this.Uc?-1:1};c.Ir=function(){var c=null,d=null,a,e;a=this.c.x;e=this.c.y;this.c.x+=this.Ab;this.c.y+=this.Bb;this.c.J();if(this.Gc&&this.b.ic(this.c,this.Gc))return this.c.x=a,this.c.y=e,this.c.J(),this.Gc;(c=this.b.Pb(this.c))||0!==this.qg||(d=this.b.kf(this.c,!0));this.c.x=a;this.c.y=e;this.c.J();if(c){if(this.b.ic(this.c,c))return null;this.ll=!1;return c}if(d&&d.length){e=c=0;for(a=d.length;cthis.Qg&&(this.I=this.Qg)),r&&(this.Eh=!0));this.pi=!!f;x==e&&(0>this.F?(this.F+=this.oh*c,0this.F&&(this.F=0)));x&&!e&&(this.F=0this.F?this.F+(this.Ld+this.oh)*c:this.F+this.Ld*c);this.F>this.Xe?this.F=this.Xe:this.F<-this.Xe&&(this.F=-this.Xe);x=!1;0!==this.F&&(m=this.c.x,q=this.c.y,d=this.F*c*this.Tg,a=this.F*c*this.Ug,this.c.x+=
this.Tg*(1this.F?1:-1),this.Ug*(0>this.F?1:
-1),d,!1)?!f||k||this.ll||(m=this.c.x,q=this.c.y,this.c.x+=this.Ab,this.c.y+=this.Bb,this.b.Pb(this.c)?this.b.Fd(this.c,-this.Ab,-this.Bb,3,!1)||(this.c.x=m,this.c.y=q,this.c.J()):(this.c.x=m,this.c.y=q,this.c.J())):(this.c.x=m,this.c.y=q,this.c.J()),k||(this.F=0)):!b&&!r&&Math.abs(this.I)this.I?1:-1),this.Bb*(0>this.I?1:-1),d,k,a)?(this.Gc=a,this.Gg=a.x,this.Hg=a.y,(this.ll=k)&&(x=!0),this.I=0):(this.c.x=m,this.c.y=q,this.c.J(),this.pi=!0,k||(this.I=0)))}3!==this.Pd&&0this.I};d.prototype.Mu=function(){return 0this.Xe&&(this.Xe=0)};q.prototype.$v=function(c){this.Qg=c;0>this.Qg&&(this.Qg=0)};q.prototype.uw=function(c){switch(c){case 0:this.Fm=!0;break;case 1:this.Gm=!0;break;case 2:this.dk=!0}};q.prototype.kw=function(c){this.F=c};q.prototype.lw=function(c){this.I=c};q.prototype.ih=function(c){this.enabled!==(1===c)&&(this.enabled=1===c,this.enabled||(this.Gc=null))};k.A=new q;n.prototype.zq=function(c){c.D(Math.sqrt(this.F*this.F+this.I*this.I))};n.prototype.Bw=function(c){c.D(this.F)};n.prototype.Cw=
function(c){c.D(this.I)};k.ja=new n})();function Kc(d){this.b=d}
(function(){function d(){}function q(){}function n(){}var k=Kc.prototype;k.Z=function(a){this.behavior=a;this.b=a.b};k.Z.prototype.P=function(){};k.S=function(a,c){this.type=a;this.behavior=a.behavior;this.c=c;this.b=a.b;this.G=0};var c=k.S.prototype,p=2*Math.PI,g=Math.PI/2,a=3*Math.PI/2;c.P=function(){this.H=1===this.C[0];this.Bj=this.C[1];this.Wp=this.C[2];this.$e=this.C[3];this.$e+=Math.random()*this.C[4];0===this.$e?this.G=0:(this.G=this.C[5]/this.$e*p,this.G+=Math.random()*this.C[6]/this.$e*
p);this.sc=this.C[7];this.sc+=Math.random()*this.C[8];this.we=this.zg=this.va=0;this.init()};c.tb=function(){return{i:this.G,a:this.H,mv:this.Bj,w:this.Wp,p:this.$e,mag:this.sc,iv:this.va,iv2:this.zg,r:this.we,lkv:this.Lb,lkv2:this.oj}};c.Mb=function(a){this.G=a.i;this.H=a.a;this.Bj=a.mv;this.Wp=a.w;this.$e=a.p;this.sc=a.mag;this.va=a.iv;this.zg=a.iv2||0;this.we=a.r;this.Lb=a.lkv;this.oj=a.lkv2||0};c.init=function(){switch(this.Bj){case 0:this.va=this.c.x;break;case 1:this.va=this.c.y;break;case 2:this.va=
this.c.width;this.we=this.c.height/this.c.width;break;case 3:this.va=this.c.width;break;case 4:this.va=this.c.height;break;case 5:this.va=this.c.n;this.sc=Q(this.sc);break;case 6:this.va=this.c.opacity;break;case 7:this.va=0;break;case 8:this.va=this.c.x,this.zg=this.c.y}this.Lb=this.va;this.oj=this.zg};c.Ee=function(c){c=c%p;switch(this.Wp){case 0:return Math.sin(c);case 1:return c<=g?c/g:c<=a?1-2*(c-g)/Math.PI:(c-a)/g-1;case 2:return 2*c/p-1;case 3:return-2*c/p+1;case 4:return cthis.c.opacity?this.c.opacity=0:1d.right||0>d.bottom||d.left>n.width||d.top>n.height)&&this.b.Fe(this.c)}})();function tc(d){this.b=d}
(function(){function d(){}var q=tc.prototype;q.Z=function(d){this.behavior=d;this.b=d.b};q.Z.prototype.P=function(){};q.S=function(d,c){this.type=d;this.behavior=d.behavior;this.c=c;this.b=d.b};var n=q.S.prototype;n.P=function(){this.c.O.jumpthruEnabled=0!==this.C[0]};n.Pa=function(){};q.k=new function(){};d.prototype.ih=function(d){this.c.O.jumpthruEnabled=!!d};q.A=new d})();function Mc(d){this.b=d}
(function(){function d(c,d){return(c/=d)<1/2.75?7.5625*c*c+0:c<2/2.75?1*(7.5625*(c-=1.5/2.75)*c+.75)+0:c<2.5/2.75?1*(7.5625*(c-=2.25/2.75)*c+.9375)+0:1*(7.5625*(c-=2.625/2.75)*c+.984375)+0}var q=Mc.prototype;q.Z=function(c){this.behavior=c;this.b=c.b};q.Z.prototype.P=function(){};q.S=function(c,d){this.type=c;this.behavior=c.behavior;this.c=d;this.b=c.b;this.G=0};var n=q.S.prototype;n.xi=function(c){1=c&&(gc[this.group]=c)};n.rr=function(){""!=
this.group&&("undefined"===typeof hc&&(hc={},gc={}),"undefined"===typeof hc[this.group]&&(hc[this.group]=[],gc[this.group]=-1),-1==hc[this.group].indexOf(this)&&hc[this.group].push(this))};n.Tf=function(){this.rd=this.c.width;this.qd=this.c.height;this.ji=this.c.n;this.Tt=this.c.opacity;this.Zf=this.c.x;this.$f=this.c.y;this.Xm=this.value};n.P=function(){this.H=1===this.C[0];this.L=this.C[1];this.Gi=this.C[2];this.B=this.C[3];this.target=this.C[4];this.duration=this.C[5];this.dh=this.C[6];this.U=
this.C[7];this.value=this.C[8];this.ac=this.C[9];this.Nn=1===this.C[10];this.group=this.C[11];this.tc=null;this.Lc=0;5==this.U&&(this.Lc=1);this.rr();this.Dg=!1;this.ea=this.c.x;this.lb=this.c.y;this.ha=parseFloat(this.target.split(",")[0]);this.gb=parseFloat(this.target.split(",")[1]);this.Tf();this.ki=this.Yb=this.Ga=this.hb=this.ma=0;this.we=this.c.height/this.c.width;this.tm=this.reverse=!1;this.Vd=this.Ud=!0;this.loop=!1;this.Sa=this.Da=0;this.Ao=this.U;this.Hc=this.Lb=this.ma;this.kd=this.hb;
this.Nn&&this.init();""==this.B&&(this.B="current");this.Gj=this.Th=this.Hj=this.Uh=this.Lj=this.Wh=this.Kj=this.Vh=!1;this.H&&this.init()};n.init=function(){this.Vh=!1;""===this.B&&(this.B="current");""===this.target&&(this.target="current");var c="current"===this.B,d="current"===this.target,g="OBJ"===this.target;"OBJ"===this.target&&null!=this.tc&&(0==this.L?this.target=1==this.ac?this.tc.x-this.c.x+","+(this.tc.y-this.c.y):this.tc.x+","+this.tc.y:1==this.L||2==this.L||3==this.L||7==this.L?this.target=
1==this.ac?(2==this.L?1:this.tc.width)+","+(3==this.L?1:this.tc.height):(2==this.L?1:this.tc.width/this.rd)+","+(3==this.L?1:this.tc.height/this.qd):4==this.L?this.target=1==this.ac?Ha(this.tc.n-this.c.n)+"":Ha(this.tc.n)+"":5==this.L&&(this.target=1==this.ac?100*(this.tc.opacity-this.c.opacity)+"":100*this.tc.opacity+""));if(0==this.L)d&&(this.target=this.c.x+","+this.c.y),c?this.B=1==this.ac?this.c.x+","+this.c.y:this.Zf+","+this.$f:this.reverse||1==this.U||(this.c.x=parseFloat(this.B.split(",")[0]),
this.c.y=parseFloat(this.B.split(",")[1])),1==this.ac?(this.loop&&(this.c.x=this.Zf,this.c.y=this.$f),this.ea=this.c.x,this.lb=this.c.y,this.reverse?(this.ha=-parseFloat(this.target.split(",")[0]),this.gb=-parseFloat(this.target.split(",")[1])):(this.ha=parseFloat(this.target.split(",")[0]),this.gb=parseFloat(this.target.split(",")[1])),this.ma=this.ea,this.hb=this.lb,this.Ga=this.ma+this.ha,this.Yb=this.hb+this.gb):(this.reverse?(this.c.x=parseFloat(this.target.split(",")[0]),this.c.y=parseFloat(this.target.split(",")[1]),
this.ha=this.Zf,this.gb=this.$f):(this.c.x=this.Zf,this.c.y=this.$f,this.ha=parseFloat(this.target.split(",")[0]),this.gb=parseFloat(this.target.split(",")[1])),this.ea=this.c.x,this.lb=this.c.y,this.ma=this.ea,this.hb=this.lb,this.Ga=this.ha,this.Yb=this.gb,-6==this.U&&(this.Ga=this.Zf,this.Yb=this.$f));else if(1==this.L||2==this.L||3==this.L){d&&(this.target="1,1");"current"==this.B&&(this.B="1,1");this.B=""+this.B;this.target=""+this.target;2==this.L?(-1==this.B.indexOf(",")&&(this.B=parseFloat(this.B)+
",1"),-1==this.target.indexOf(",")&&(this.target=parseFloat(this.target)+",1")):3==this.L?(-1==this.B.indexOf(",")&&(this.B="1,"+parseFloat(this.B)),-1==this.target.indexOf(",")&&(this.target="1,"+parseFloat(this.target))):(-1==this.B.indexOf(",")&&(this.B=parseFloat(this.B)+","+parseFloat(this.B)),-1==this.target.indexOf(",")&&(this.target=parseFloat(this.target)+","+parseFloat(this.target)));var a=parseFloat(this.B.split(",")[0]),e=parseFloat(this.B.split(",")[1]);this.Ud=!0;var k=parseFloat(this.target.split(",")[0]);
if(0==k||isNaN(k))this.Ud=!1;3==this.L&&(this.Ud=!1);this.Vd=!0;var b=parseFloat(this.target.split(",")[1]);if(0==b||isNaN(b))this.Vd=!1;2==this.L&&(this.Vd=!1);1==this.ac?(this.loop&&(this.c.width=this.rd,this.c.height=this.qd),c||(this.reverse?(this.c.width=this.c.width*k,this.c.height=this.c.height*b):(this.c.width=this.c.width*a,this.c.height=this.c.height*e)),this.ea=this.c.width,this.lb=this.c.height,this.ma=this.ea,this.hb=this.lb,this.reverse?(this.ha=this.ea*a/k,this.gb=this.lb*e/b):(this.ha=
this.ea*k,this.gb=this.lb*b)):(c||(this.reverse?(this.c.width=this.rd*k,this.c.height=this.qd*b):(this.c.width=this.rd*a,this.c.height=this.qd*e)),this.ea=this.c.width,this.lb=this.c.height,this.ma=this.ea,this.hb=this.lb,this.reverse?(this.ha=this.rd*a,this.gb=this.qd*e):(this.ha=this.rd*k,this.gb=this.qd*b));this.Ga=this.ha;this.Yb=this.gb;-6==this.U&&(this.Ga=this.rd*a,this.Yb=this.qd*e)}else if(4==this.L)d&&(this.target=Ha(this.c.n)),"current"==this.B||this.reverse||1==this.U||(this.c.n=Q(parseFloat(this.B.split(",")[0]))),
1==this.ac?(this.loop&&(this.c.n=this.ji),this.ea=this.c.n,this.reverse?this.ha=this.c.n-Q(parseFloat(this.target.split(",")[0])):this.ha=this.c.n+Q(parseFloat(this.target.split(",")[0]))):this.reverse?(this.c.n=Q(parseFloat(this.target.split(",")[0])),this.ea=this.c.n,this.ha=this.ji):(this.c.n=this.ji,this.ea=this.c.n,this.ha=Q(parseFloat(this.target.split(",")[0]))),this.ma=this.ea,this.Ga=Ha(this.ha),-6==this.U&&(this.Ga=Ha(this.ji)),this.ki=Q(this.Ga);else if(5==this.L)"current"==this.B&&(this.B=
this.c.opacity),d&&(this.target=""+this.c.opacity),c||this.reverse||1==this.U||(this.c.opacity=parseFloat(this.B.split(",")[0])/100),1==this.ac?(this.loop&&(this.c.opacity=this.Tt),this.ma=this.ea=this.c.opacity,this.ha=this.reverse?-parseFloat(this.target.split(",")[0])/100:parseFloat(this.target.split(",")[0])/100,this.Ga=this.ma+this.ha):(this.ea=this.c.opacity,this.reverse?(this.ma=parseFloat(this.target.split(",")[0])/100,this.ha=parseFloat(this.B.split(",")[0])/100):(this.ma=this.ea,this.ha=
parseFloat(this.target.split(",")[0])/100),this.Ga=this.ha),-6==this.U&&(this.Ga=this.Tt);else if(6==this.L)isNaN(this.value)&&(this.value=0),"current"==this.B&&(this.B=""+this.value),d&&(this.target=""+this.value),c||this.reverse||1==this.U||(this.value=parseFloat(this.B.split(",")[0])),1==this.ac?(this.loop&&(this.value=this.Xm),c||(this.value=this.reverse?parseFloat(this.target.split(",")[0]):parseFloat(this.B.split(",")[0])),this.ea=this.value,this.reverse?this.ha=this.ea-parseFloat(this.target.split(",")[0]):
this.ha=this.ea+parseFloat(this.target.split(",")[0]),this.ma=this.ea,this.Ga=this.ha):(c||(this.value=this.reverse?parseFloat(this.target.split(",")[0]):parseFloat(this.B.split(",")[0])),this.ea=this.value,this.ha=this.reverse?parseFloat(this.B.split(",")[0]):parseFloat(this.target.split(",")[0]),this.ma=this.ea,this.Ga=this.ha),-6==this.U&&(this.Ga=this.Xm);else if(7==this.L){d&&(this.target=this.c.width+","+this.c.height);"current"==this.B||this.reverse||1==this.U||(this.c.width=parseFloat(this.B.split(",")[0]),
this.c.height=parseFloat(this.B.split(",")[1]));this.Ud=!0;k=parseFloat(this.target.split(",")[0]);if(0>k||isNaN(k))this.Ud=!1;this.Vd=!0;b=parseFloat(this.target.split(",")[1]);if(0>b||isNaN(b))this.Vd=!1;1==this.ac?(this.loop&&(this.c.width=this.rd,this.c.height=this.qd),this.ea=this.c.width,this.lb=this.c.height,this.reverse?(this.ha=this.ea-parseFloat(this.target.split(",")[0]),this.gb=this.lb-parseFloat(this.target.split(",")[1])):(this.ha=this.ea+parseFloat(this.target.split(",")[0]),this.gb=
this.lb+parseFloat(this.target.split(",")[1]))):(c||(this.reverse?(this.c.width=parseFloat(this.target.split(",")[0]),this.c.height=parseFloat(this.target.split(",")[1])):(this.c.width=this.rd,this.c.height=this.qd)),this.ea=this.c.width,this.lb=this.c.height,this.reverse?(this.ha=this.rd,this.gb=this.qd):(this.ha=parseFloat(this.target.split(",")[0]),this.gb=parseFloat(this.target.split(",")[1])));this.ma=this.ea;this.hb=this.lb;this.Ga=this.ha;this.Yb=this.gb;-6==this.U&&(this.Ga=this.rd,this.Yb=
this.qd)}this.Hc=this.Lb=this.ma;this.kd=this.hb;this.Da=parseFloat(this.dh.split(",")[0]);this.Sa=parseFloat(this.dh.split(",")[1]);if(0>this.Da||isNaN(this.Da))this.Da=0;if(0>this.Sa||isNaN(this.Sa))this.Sa=0;c&&(this.B="current");d&&(this.target="current");g&&(this.target="OBJ")};n.Hx=function(c,k){switch(this.Gi){case 0:return 1*c/k+0;case 1:return 1*(c/=k)*c+0;case 2:return-1*(c/=k)*(c-2)+0;case 3:return 1>(c/=k/2)?.5*c*c+0:-.5*(--c*(c-2)-1)+0;case 4:return 1*(c/=k)*c*c+0;case 5:return 1*((c=
c/k-1)*c*c+1)+0;case 6:return 1>(c/=k/2)?.5*c*c*c+0:.5*((c-=2)*c*c+2)+0;case 7:return 1*(c/=k)*c*c*c+0;case 8:return-1*((c=c/k-1)*c*c*c-1)+0;case 9:return 1>(c/=k/2)?.5*c*c*c*c+0:-.5*((c-=2)*c*c*c-2)+0;case 10:return 1*(c/=k)*c*c*c*c+0;case 11:return 1*((c=c/k-1)*c*c*c*c+1)+0;case 12:return 1>(c/=k/2)?.5*c*c*c*c*c+0:.5*((c-=2)*c*c*c*c+2)+0;case 13:return-1*(Math.sqrt(1-(c/=k)*c)-1)+0;case 14:return 1*Math.sqrt(1-(c=c/k-1)*c)+0;case 15:return 1>(c/=k/2)?-.5*(Math.sqrt(1-c*c)-1)+0:.5*(Math.sqrt(1-(c-=
2)*c)+1)+0;case 16:var g=0;0==g&&(g=1.70158);return 1*(c/=k)*c*((g+1)*c-g)+0;case 17:return g=0,0==g&&(g=1.70158),1*((c=c/k-1)*c*((g+1)*c+g)+1)+0;case 18:return g=0,0==g&&(g=1.70158),1>(c/=k/2)?.5*c*c*(((g*=1.525)+1)*c-g)+0:.5*((c-=2)*c*(((g*=1.525)+1)*c+g)+2)+0;case 19:var a=0,e=0;if(0==c)break;if(1==(c/=k))return 1;0==e&&(e=.3*k);0==a||ac?-.5*a*Math.pow(2,10*--c)*Math.sin(2*(c*k-g)*Math.PI/e)+0:a*Math.pow(2,-10*--c)*Math.sin(2*(c*k-g)*Math.PI/e)*.5+1;case 22:return 1-d(k-c,k)+0;case 23:return d(c,k);case 24:return c=this.duration+this.Da&&(c=this.ki),this.c.n=Ja(c)):5==this.L?(1==this.ac&&this.c.opacity!==this.Hc&&(this.ma=this.c.opacity),this.c.opacity=this.ma+(this.Ga-this.ma)*c,this.Hc=this.c.opacity):
6==this.L?this.value=this.ma+(this.Ga-this.ma)*c:7==this.L&&(1==this.ac&&(this.c.width!==this.Hc&&(this.ma=this.c.width),this.c.height!==this.kd&&(this.hb=this.c.height)),this.Ud&&(this.c.width=this.ma+(this.Ga-this.ma)*c),this.Vd&&(this.c.height=this.hb+(this.Yb-this.hb)*c),this.Hc=this.c.width,this.kd=this.c.height),this.c.J()),this.G>=this.duration+this.Da&&(this.jx(d),this.c.J(),0==this.Uh&&(this.Uh=!0,this.b.trigger(Mc.prototype.k.iq,this.c),this.Hj=!0))))};n.jx=function(c){switch(this.L){case 0:this.c.x=
this.Ga;this.c.y=this.Yb;break;case 1:this.Ud&&(this.c.width=this.Ga);this.Vd?this.c.height=this.Yb:this.c.height=this.c.width*this.we;break;case 2:this.c.width=this.Ga;break;case 3:this.c.height=this.Yb;break;case 4:this.c.n=Ja(this.ki);this.Lb=this.c.n;break;case 5:this.c.opacity=this.Ga;break;case 6:this.value=this.Ga;break;case 7:this.Ud&&(this.c.width=this.Ga),this.Vd&&(this.c.height=this.Yb)}this.G>=this.duration+this.Da+this.Sa&&(0==this.U?(this.reverse=this.H=!1,this.G=this.duration+this.Da+
this.Sa):1==this.U?(this.G=0,this.init(),this.H=!0):2==this.U?c?(this.reverse=!1,this.init()):(this.reverse=!this.reverse,this.G=0,this.init(),this.H=!0):3==this.U?this.b.Fe(this.c):4==this.U?(this.loop=!0,this.G=0,this.init(),this.H=!0):5==this.U?c?(this.reverse=!1,this.init()):0>=this.Lc?(this.G=this.duration+this.Da+this.Sa,this.H=!1):(this.reverse?(--this.Lc,this.reverse=!1):(--this.Lc,this.reverse=!0),this.G=0,this.init(),this.H=!0):-6==this.U?(this.U=this.Ao,this.reverse=!1,this.G=0,this.H=
!1):6==this.U&&(this.reverse=!1,this.G=this.duration+this.Da+this.Sa,this.H=!1));0==this.Th&&(this.Th=!0,this.b.trigger(Mc.prototype.k.dv,this.c),this.Gj=!0)};q.k={};n=q.k;n.aq=function(){return this.H};n.OA=function(c,d){var g=[];hc[this.group].forEach(function(a){g.push(a.G/(a.duration+a.Da+a.Sa))});return fc(Math.min.apply(null,g),c,d)};n.RA=function(c,d){return fc(this.G/(this.duration+this.Da+this.Sa),c,d)};n.Cv=function(){if(!1===this.Kj)return this.Vh};n.Gv=function(){if(!1===this.Lj)return this.Wh};
n.iq=function(){if(!1===this.Hj)return this.Uh};n.dv=function(){if(!1===this.Gj)return this.Th};q.A={};var k=q.A;k.Pv=function(c){this.H=1===c};k.KB=function(c,d){""===d&&(d=this.group);(1===c||hc[d].every(function(c){return!c.H}))&&hc[d].forEach(function(d){1===c?k.Zp.apply(d):k.vw.apply(d)})};k.LB=function(c,d){""===d&&(d=this.group);hc[d].forEach(function(d){k.jn.apply(d,[c])})};k.pB=function(c,d,g){""===g&&(g=this.group);(1===c||hc[g].every(function(a){return!a.H}))&&hc[g].forEach(function(a){1===
c?k.Eu.apply(a,[d]):k.Nv.apply(a,[d])})};k.Zp=function(){this.loop=4===this.U;5==this.U&&(this.Lc=1);6==this.U||-6==this.U?this.G=this.duration+this.Sa+this.Da&&(this.reverse=!0,this.G=
0,this.Lc=2,this.init(),this.H=!0):(this.reverse=!0,this.G=0,this.init(),this.H=!0)};k.vw=function(){this.H||(this.loop=4===this.U,5==this.U&&(this.Lc=1),6==this.U||-6==this.U?this.G=this.duration+this.Sa+this.Da&&(this.reverse=!0,this.G=0,this.Lc=2,this.init(),this.H=!0):(this.reverse=!0,this.G=0,this.init(),this.H=!0))};k.Uv=function(c){this.duration=c};k.pw=
function(c){this.dh=c;this.Da=parseFloat(this.dh.split(",")[0]);this.Sa=parseFloat(this.dh.split(",")[1]);if(0>this.Da||isNaN(this.Da))this.Da=0;if(0>this.Sa||isNaN(this.Sa))this.Sa=0};k.gw=function(c){"string"==typeof c?(this.target=c,this.ha=parseFloat(c.split(",")[0]),this.gb=parseFloat(c.split(",")[1])):this.ha=this.target=c;this.H||this.init()};k.GB=function(c){c&&(c=c.Ni())&&(this.tc=c,this.target="OBJ")};k.hw=function(c){2==this.L||3==this.L||4==this.L||5==this.L||6==this.L?("string"==typeof c?
this.target=parseFloat(c.split(",")[0]):this.target=""+c+","+this.gb,this.ha=this.target):(this.target=String(c)+","+this.target.split(",")[1],this.ha=parseFloat(this.target.split(",")[0]),this.gb=parseFloat(this.target.split(",")[1]));this.H||(this.Tf(),this.init())};k.iw=function(c){2==this.L||3==this.L||4==this.L||5==this.L||6==this.L?this.ha=this.target="string"==typeof c?parseFloat(c)+"":this.ha+","+c:(this.target=this.target.split(",")[0]+","+String(c),this.ha=parseFloat(this.target.split(",")[0]),
this.gb=parseFloat(this.target.split(",")[1]));this.H||(this.Tf(),this.init())};k.Wv=function(c){"string"==typeof c?(this.B=c,this.ea=parseFloat(c.split(",")[0]),this.lb=parseFloat(c.split(",")[1])):(this.B=""+c,this.ea=c);6==this.L&&(this.value=this.ea);this.H||(this.Tf(),this.init())};k.zB=function(c){2==this.L||3==this.L||4==this.L||5==this.L||6==this.L?("string"==typeof c?this.B=parseFloat(c):this.B=""+c+","+this.lb,this.ea=this.B):(""==this.B&&(this.B="current"),this.B=String(c)+","+("current"==
this.B?this.$f:this.B.split(",")[1]),this.ea=parseFloat(this.B.split(",")[0]),this.lb=parseFloat(this.B.split(",")[1]));6==this.L&&(this.value=this.ea);this.H||(this.Tf(),this.init())};k.AB=function(c){2==this.L||3==this.L||4==this.L||5==this.L||6==this.L?("string"==typeof c?this.B=parseFloat(c):this.B=""+this.ea+","+c,this.ea=this.B):(""==this.B&&(this.B="current"),this.B=("current"==this.B?this.Zf:this.B.split(",")[0])+","+String(c),this.ea=parseFloat(this.B.split(",")[0]),this.lb=parseFloat(this.B.split(",")[1]));
this.H||(this.Tf(),this.init())};k.JB=function(c){this.value=c};k.IB=function(c){this.L=c};k.vB=function(c){this.Gi=c};k.CB=function(c){this.U=c};k.BB=function(c,d,g,a,e,n,b,h){this.L=c;this.U=d;this.Gi=g;k.Wv.apply(this,[a]);k.gw.apply(this,[e]);k.Uv.apply(this,[n]);k.pw.apply(this,[b]);this.ac=h;this.Tf()};q.ja={};q=q.ja;q.mB=function(c){c.D(this.G/(this.duration+this.Da+this.Sa))};q.nB=function(c){c.D(this.G)};q.yu=function(c){c.D(this.duration)};q.WA=function(c){c.D(this.Da)};q.TA=function(c){c.D(this.Sa)};
q.MB=function(c){c.fc(this.target)};q.Aw=function(c){c.D(this.value)};q.Dg=function(c){c.Oa(this.Dg?1:0)}})();function Nc(d){this.b=d;this.Em=this.ck=this.Xg=this.Dm=0}
(function(){function d(){}var q=Nc.prototype;q.Z=function(d){this.behavior=d;this.b=d.b};q.Z.prototype.P=function(){};q.S=function(d,c){this.type=d;this.behavior=d.behavior;this.c=c;this.b=d.b};var n=q.S.prototype;n.P=function(){this.enabled=0!==this.C[0]};n.tb=function(){return{smg:this.behavior.Dm,ss:this.behavior.Xg,se:this.behavior.ck,smd:this.behavior.Em}};n.Mb=function(d){this.behavior.Dm=d.smg;this.behavior.Xg=d.ss;this.behavior.ck=d.se;this.behavior.Em=d.smd};n.Pa=function(){};n.lk=function(){if(this.enabled){var d=
this.behavior.Tl.pf(),c=0,n=0,g,a,e,q=0;g=0;for(a=d.length;g=this.behavior.Xg&&a