diff --git a/simpleAni/simpleAni.html b/simpleAni/simpleAni.html new file mode 100644 index 0000000..eba9f24 --- /dev/null +++ b/simpleAni/simpleAni.html @@ -0,0 +1,46 @@ + + + + + + simpleAni + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + diff --git a/simpleAni/simpleAni.hyperesources/1AE42C-restorable.plist b/simpleAni/simpleAni.hyperesources/1AE42C-restorable.plist new file mode 100644 index 0000000..f0e0fc2 Binary files /dev/null and b/simpleAni/simpleAni.hyperesources/1AE42C-restorable.plist differ diff --git a/simpleAni/simpleAni.hyperesources/HYPE-754.full.min.js b/simpleAni/simpleAni.hyperesources/HYPE-754.full.min.js new file mode 100644 index 0000000..573cd08 --- /dev/null +++ b/simpleAni/simpleAni.hyperesources/HYPE-754.full.min.js @@ -0,0 +1,181 @@ +(function(){var ba=void 0,h=!0,k=null,p=!1,da=parseFloat,r=Math,v=window,ea=parseInt,ga=encodeURIComponent,ja=navigator,w=document,ma=Number;function oa(R,J){return R.backgroundImage=J}function pa(R,J){return R.width=J}function qa(R,J){return R.display=J}function ra(R,J){return R.play=J}function ta(R,J){return R.loop=J}function ua(R,J){return R.height=J}function wa(R,J){return R.position=J}function xa(R,J){return R.length=J}function ya(R,J){return R.pause=J}function za(R,J){return R.innerHTML=J} +function Aa(R,J){return R.className=J}function Ba(R,J){return R.left=J}function Fa(R,J){return R.zIndex=J} +var Ga="lastPosition",Ha="create",Ja="Play",Ka="userAgent",z="push",La="type",Ma="location",Pa="detachEvent",Qa="closed",Ra="embeds",Sa="clearTimeout",Ta="join",Ua="sqrt",ab="addEventListener",bb="splice",gb="preventDefault",hb="getElementsByTagName",ib="search",jb="MAX_VALUE",kb="getAttribute",G="width",lb="display",mb="startTime",H="style",tb="slice",ub="play",vb="unshift",wb="button",xb="clientHeight",I="hasOwnProperty",yb="body",Cb="ceil",Db="atan2",Eb="removeAttribute",Fb="appendChild",Gb="round", +Hb="offsetWidth",Qb="event",Rb="clientX",Sb="clientY",Tb="attachEvent",Ub="ctrlKey",Vb="getElementById",L="height",Wb="position",$b="indexOf",ac="clientWidth",bc="opera",X="length",cc="duration",dc="parentNode",ec="changedTouches",fc="setTimeout",gc="touches",hc="toFixed",ic="path",jc="ownerDocument",kc="pause",uc="replace",vc="className",wc="identifier",xc="options",yc="parentElement",zc="start",Ac="source",Bc="element",Cc="removeChild",Dc="direction",Ec="floor",Fc="toLowerCase",Gc="childNodes", +Hc="charAt",Rc="removeEventListener",Y="setAttribute",Sc="createElement",Tc="zIndex",Z="",Uc="\n",$=" ",Vc=" -webkit-gradient(linear,left top,left bottom,from(transparent),color-stop(",Wc=" : ",Xc=" C ",Yc=" L ",Zc=" Z",$c=" path ",ad=" rotate(",bd=" rotateX(",cd=" rotateY(",dd=" scaleX(",ed=" scaleY(",fd=" skew(",gd=" translateX(",hd=" translateY(",id=" translateZ(",jd='" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="100%" y2="0%" gradientTransform="">',kd='" patternUnits="objectBoundingBox" width="1" height="1" viewBox="0 0 1 1" preserveAspectRatio="xMidYMid slice">', +ld='" pointer-events="visiblePainted" fill="none" />',md="#",nd="#000",od="#90EE90",Ld="%",Md="%25",Nd="%27",Od="&",Pd=" ",Qd="' not found",Rd="')",Sd="'autoplay='false'class='video'>",Td="'classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B'codebase='http://apple.com/qtactivex/qtplugin.cab'width='",Ud="'controller='",Vd="'enablejavascript='true'postdomevents='true'scale='tofit'name='embedobj_",Wd="'height='",Xd="'id='embedobj_",Yd="'loop='",Zd="'volume='",$d="(",ae=")",be=") ",ce="*", +de=",",ee=", ",fe=",M12=",ge=",M21=",he=",M22=",ie=",SizingMethod='auto expand')",De=",transparent),to(rgba(255,255,255,.5)))",Ee="-1",Fe="-10000",Ge="-2",He="-bottom",Ie="-moz-",Je="-moz-crisp-edges",Ke="-moz-perspective",Le="-ms-interpolation-mode",Me="-ms-transform",Ne="-ms-transform-origin",Oe="-o-",Pe="-pie-background",Qe="-webkit-",Re="-webkit-crisp-edges",Se="-webkit-perspective",Te="-webkit-tap-highlight-color",Ue="-webkit-transform",Ve=".",We=".AlphaImageLoader(sizingMethod='scale',src='", +Xe=".HYPE_element{-webkit-transform:rotateY(0);}video.HYPE_element{-webkit-transform:none;}^{color:#000;`size:16px;`weight:normal;`family:Helvetica,Arial,Sans-Serif;`weight:normal;`style:normal;`variant:normal;text-decoration:none;text-align:left;text-transform:none;text-indent:0;text-shadow:none;line-height:normal;letter-spacing:normal;white-space:normal;word-spacing:normal;@:baseline;border:none;background-color:transparent;background-image:none;-webkit-`smoothing:antialiased;-moz-backface-visibility:hidden;}", +Ye=".HYPE_scene ",Ze=".Matrix(M11=",$e=".gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)",af=".png",bf="/",cf="0",Rf="0 0 ",Sf="0%",Tf="0.0",Uf="0123456789ABCDEF",Vf="0px",Wf="1",Xf="1.0",Yf="100",Zf="100%",$f="50%",ag="600px",bg=": ",cg="",dg="",eg="",fg="",gg="",hg="",ig="",jg="
",kg="", +mg="=a&&(a=1E-6);c==h&&(d=0,e=1,a=Infinity);b.restitution=d;b.friction=e;b.frictionAir=f;c!=h&&B.Body.setDensity(b,a)}}function mc(a,b){var c,d,e,f=zb(a);if(!(fa!=h||a==k||0=q&&(q=1E-6);1==l&&(f=0,g=1,q=Infinity);xj(a);var t=M[a.id];d=n(a,wp,0.5);c=n(a,xp,0.5);e=nb(t,h);t=ob(t,h);d*=e;c*=t;e=gf(a);d=qd(e,[d,c]);c=d[0];d=d[1];e=r.PI*((da(n(a,Ym,0))-da(n(a,xm,0)))/180);var t= +c-n(a,qj,0),u=d-n(a,wl,0),s=e-r.PI*(n(a,$m,0)/180);if(m!=k){l=1==l;if(1<1E5*r.abs(m[Wb].x-c)||1<1E5*r.abs(m[Wb].y-d)||1<1E5*r.abs(m.angle-e)||m.restitution!=f||m.friction!=g||m.frictionAir!=j||m.density!=q||m.isStatic!=l||m.Ga!=k||b==h||m.isSleeping!=p)m.isStatic!=l&&B.Body.setStatic(m,l),B.Body.setAngle(m,0),l!=h&&B.Body.setDensity(m,q),B.Body.setPosition(m,{x:c,y:d}),B.Body.setAngle(m,e),m.Ga==k?(B.Body.setVelocity(m,{x:c-t,y:d-u}),B.Body.setAngularVelocity(m,e-s)):(B.Body.setVelocity(m,{x:0,y:0}), +B.Body.setAngularVelocity(m,0)),m.restitution=f,m.friction=g,m.frictionAir=j,B.Sleeping.set(m,p),m.force={x:0,y:0},m.torque=0,m.positionImpulse={x:0,y:0},m.constraintImpulse={x:0,y:0,angle:0},m.angularSpeed=0,m.motion=0;rd();m.Ga!=k&&(m.Ga.pointA=E(c,d))}yj(a);Eg()}}}function Ic(a){var b=zb(a);if(!(fa!=h||a==k||b==k||b.ob==h)){var c=b.Qa[M[a.id]];if(!(0==n(a,il,0)||c==k)){Ib+=1;for(var d=[],e=b.oa.pairs.list,f=b.oa.pairs.table,g=0;gf[X])return v.HYPE_DEBUG_PHYSICS==h&&console.log(Vm+a.id+$c+b),k;e==p&&B.Vertices.isConvex(f)==p&&(f=B.Vertices.hull(f));var g=B.Vertices.centre(f),j=n(a,Gm,p),m=k;B.HypePlugin&&B.HypePlugin.fromVerticesWithFallback?(g=B.HypePlugin.fromVerticesWithFallback(g.x,g.y,f,{elementId:a.id}, +p,0.1,10,1,e,c,j),m=g.physicsBody,g=g.centerPoint):m=B.Bodies.fromVertices(g.x,g.y,f,{elementId:a.id},p,0.1,10,1);if(m==k)return v.HYPE_DEBUG_PHYSICS==h&&console.log(Wm+a.id),k;m.render.path=b;b=gf(a);b=zj(b);b=qd(b,[g.x,g.y]);g=nb(d,h);d=ob(d,h);g=b[0]/g;d=b[1]/d;n(a,Am)==k&&V(a,Am,n(a,wp,0.5));n(a,Bm)==k&&V(a,Bm,n(a,xp,0.5));V(a,ym,g);V(a,zm,d);Fg(a,g,d);V(a,xm,n(a,Ym,0));return m}function Aj(a,b,c){var d=n(a,ol,0);if(Jc!=h||0==d||36==d)return{x:b,y:c};var e=M[a.id],f=me(e),g=hf(f),j=Hg(f),m=hf(e), +f=n(a,Hl,k);a=n(a,im,k);f==k&&(f=m[G]);a==k&&(a=m[L]);var l=nb(e),q=ob(e),t=l-f,u=q-a,s=f,x=a,e=b,m=c,y=0!=(d&1),C=0!=(d&4),T=0!=(d&2),D=0!=(d&8),N=0!=(d&32),O=0!=(d&16),na=0!=(d&64)&&T==h&&O==h,d=0!=(d&128)&&T==h&&O==h,F=j[G]/g[G],A=j[L]/g[L];y==h&&C==h&&T==h?s=l+(j[G]-g[G])-t:T==h&&(s=r[Cb](l*F-t));D==h&&N==h&&O==h?x=q+(j[L]-g[L])-u:O==h&&(x=r[Cb](q*A-u));y==h&&C==p&&T==p?e=b-(j[G]-g[G]):y==h&&C==h&&T==p?e=(b+l/2)/F-l/2:y==h&&C==h&&T==h?e=b:T==h&&(e=y==h&&C==p?b+(s-f)-(j[G]-g[G]):b);D==h&&N==p&& +O==p?m=c-(j[L]-g[L]):D==h&&N==h&&O==p?m=(c+q/2)/A-q/2:D==h&&N==h&&O==h?m=c:O==h&&(m=D==h&&N==p?c+(x-a)-(j[L]-g[L]):c);if((na==h||d==h)==h)c=s,b=x,g=s/f,x/=a,j=g,na==h?j=g<=x?g:x:d==h&&(j=g>=x?g:x),f=c-f*j,a=b-a*j,y==h&&C==p?e-=f:y==h&&C==h&&(e-=f/2),D==h&&N==p?m-=a:D==h&&N==h&&(m-=a/2);return{x:e,y:m}}function gf(a){for(var b=[1,0,0,1,0,0],c=[],d=a;d!=k;){d=n(d,bl);if(d==k)break;d=ka(d);if(sd(d)==h)break;c[bb](0,0,d)}c[z](a);for(a=0;a=m)g=[];else{e=[m[0]];l=e[0];for(f=1;fg&&0>u)m[z](E(j.x-r.cos(s)*q,j.y-r.sin(s)*q)),m[z](E(j.x-r.cos(t)*q,j.y-r.sin(t)*q));else m[z](E(j.x+C,j.y+x));if(y>g&&0<= +u)l[z](E(j.x+r.cos(s)*q,j.y+r.sin(s)*q)),l[z](E(j.x+r.cos(t)*q,j.y+r.sin(t)*q));else l[z](E(j.x-C,j.y-x))}g=m.concat(l.reverse())}}else g=Dj(e);for(j=0;jC;C+=y)e=m*B.Common.cos(C*r.PI/180)+(d-m),f=s*B.Common.sin(C*r.PI/180)+s,b[z](E(e,f))}b[z](E(d,s));b[z](E(d,c-u));if(0C;C+=y)e=t*B.Common.cos(C*r.PI/180)+(d-t),f=u*B.Common.sin(C*r.PI/180)+(c-u),b[z](E(e,f))}b[z](E(d-t,c));b[z](E(j,c));if(0C;C+=y)e=j*B.Common.cos(C*r.PI/180)+j,f=q*B.Common.sin(C*r.PI/180)+(c-q),b[z](E(e,f))}b[z](E(0,c-q));b[z](E(0,l));if(0C;C+=y)e=g*B.Common.cos(C*r.PI/180)+g,f=l*B.Common.sin(C*r.PI/180)+l,b[z](E(e,f))}}d=gf(a);a=[];for(j=0;j=f&&20>g;)B.Engine.update(a.oa,f),a.Va-=f,g+=1;kf=a.ob=h;v.HYPE_DEBUG_PHYSICS==h&&a.Wb.controller.world(a.Wb);f=B.Composite.allBodies(a.oa.world);for(g=0;gd?r.PI:0))*(180/r.PI);a.Qb=r[Ua](c*c+d*d);d=a[wc];lf(d)==h&&(c=mf(d)*a.Qb,d=nf(d)+a.Pb,a.oa.world.gravity.x=c*B.Common.cos(d*r.PI/180),a.oa.world.gravity.y=c*B.Common.sin(d*r.PI/180));le(a);rd()}}function of(a){for(;a!=k;){a=Fj(a);if(a==k)break;if(sd(a)==h)return a}return k}function Fj(a){var b=n(a,bl);if(b==k){var c=Wa(a);a=A[c].v[M[a.id]];a!=k&&(b=a.bF)}return ka(b)}function zb(a){a= +of(a);return Lg(a!=k?a.id:k)}function Eg(){Ib=r.max(0,Ib-1)}function Lg(a){a==k&&(a=J);for(var b=0;bF.$?Z:hq;if(d==Qo||d==Ro||d==So){var l=d==Ro?Zf:a;c[Y](dq,Z+(d==So?Zf:j));c[Y](on,Z+l);c[Y](Bo,Tp);c[Y](Ao,Tp);c[Eb](Zp);c[Eb](Lo);f[Y](m+qn,g);f[Y](dq,Z+j);f[Y](on,Z+a);f[Eb](Lo)}else c[Y](dq, +Wf),c[Y](on,Wf),c[Y](Bo,qo),c[Y](Zp,Rf+j+$+a),c[Y](Lo,gq),c[Eb](Ao),f[Y](m+qn,g),f[Y](dq,Z+j),f[Y](on,Z+a),f[Y](Lo,gq)}b[Y](bn,e)}function db(a){var b=Jb(a),c=eb(n(a,lm)),d=n(a,km,0),e=n(a,mm,Gl),f=n(a,nm,Un),g=n(a,om,4),j=n(a,sm,oo),m=n(a,tm,0),l=n(a,um,1),q=n(a,pm,0),t=n(a,qm,0),u=n(a,rm,0);a=n(a,Sl);a!=no&&(a=aq);b[Y](Io,a);b[Y](mp,c);b[Y](sp,d);b[Y](pp,e);b[Y](qp,f);b[Y](rp,g);b[Y](cn,j);0==m?1E-4>r.abs(1-l)?u=t=q=0:(c=b.getTotalLength(),0==l&&(c=r[Cb](c)),t=q=c,u=c-c*l):(0.3>q&&(q=0),0.3>t&& +(t=0));0!=q||0!=t||0!=u?(b[Y](np,Z+q+de+t),b[Y](op,Z+u)):(b[Eb](np),b[Eb](op));F.$!=k&&b[Y](im,b[kb](im))}function Hj(a){var b=n(a,Hl),c=n(a,im);b==k||c==k||(a=a[hb](up),0!=a[X]&&a[0][Y](Zp,Rf+b+$+c))}function Jb(a){var b=a.id+Ui;if(w[Vb](b)==k&&n(a,jm)!=k){var c=a.id+Si,d=a.id+Ti,e=12>F.$?Z:hq,f;f=Z+tg+ig;f+=ng+c+jd;f+=qg;f+=rg;f+=eg;f+=pg+d+kd;f+=mg+e+rn;f+=fg;f+=cg;f+=og+b+ld;f+=hg;za(a,f);P.cN(a,no);Hj(a)}return w[Vb](b)}function Pg(a){var b=a.b,b=b==k?a.s:b,c=a.e;if(b&&c){var d=ka(a.o),e=n(d, +Cm,0),d=b[Qa]==h||c[Qa]==h;d==h&&b[Qa]==p&&(b=Ij(b),Jj(b));d==h&&c[Qa]==p&&(c=Ij(c),Jj(c));var f=new Kj(b),g=new Kj(c),d=p;if(f.ba[X]>g.ba[X])var d=h,j=g,g=f,f=j;j=k;if(1==e){if(e=f,j=g.ba[X]-e.ba[X],0l.jc(e)/e.ba[X]){var q=l.vb(),t=E(m.x+m[G]/2,m.y+m[L]/2),u=E(g.x+g[G]/2,g.y+g[L]/2),t=E(u.x-t.x,u.y-t.y); +q.zb(t);j[z](q)}t=g[G]*g[L];u=m[G]*m[L];q=r.min(t,u);t=r.max(t,u);0!=q&&(0!=t&&0.75>q/t)&&(l=l.vb(),q=E(g[G]/m[G],g[L]/m[L]),t=E(g.x-m.x*q.x,g.y-m.y*q.y),l.$b(q),l.zb(t),j[z](l));m=[];for(l=0;lf.Db&&(f=l)}e=f.kb;g=f.tb;j=e.Ea; +(0!=j.x||0!=j.y)&&e.zb(E(-j.x,-j.y));j=e.Fa;(1!=j.x||1!=j.y)&&e.$b(E(1/j.x,1/j.y))}j=e={kb:e,tb:g};e=j.kb;g=j.tb;d==h&&(j=g,g=e,e=j);b=e.Nb(b);c=g.Nb(c);a.cf=b;a.ct=c}}function Lj(a,b,c){if(0==c)return 0;a=pb(a.aa,b.aa);if(1>a)return 1;c=1-r.min(a,c)/c;return r.max(0,r.min(c*(2/3)/1.5,1))}function Nj(a,b,c){var d=[];a=Qg(a);b=Qg(b);d[z](a);for(var e=0;eF.$?e||4==c[wb]:e||1==c[wb]||c.metaKey==h)?9>F.$||F.$!=k&&F.Yb||F.Xa!=k?v.open(f,Ri):(9==F.$||15>F[bc])&&!(c instanceof MouseEvent)?v.open(f,Ri):(e=w[Sc](Vi),e[Y](qn,f),e[Y](Ap, +Ri),w[yb][Fb](e),f=w.createEvent(zi),f.initMouseEvent(dm,c.bubbles,c.cancelable,c.view,c.detail,c.screenX,c.screenY,c[Rb],c[Sb],c[Ub],c.altKey,c.shiftKey,c.metaKey,c[wb],w[yb][dc]),e.dispatchEvent(f),w[yb][Cc](e)):v.top.location=f);else if(6==f){var j=e.l,m=e.m,e=e.n,f=Sn;j!=k&&(f+=escape(j));if(m!=k||e!=k)f+=vg,j=[],m!=k&&j[z](tp+ga(m)),e!=k&&j[z](Al+ga(e)),f+=j[Ta](Od);f!=Sn&&(v.top.location=f)}else if(12==f)f=e.o,e=e.q,e!=h&&(e=p),f!=k&&qq(f,e);else if(13==f)f=e.o,f!=k&&Tg(f)[kc]();else if(14== +f)e=e.B,e!=k&&Uj(e);else if(15==f){var l=e.s,e=Z+l+$d+e.t[Ta](de)+ae;try{eval(e)}catch(q){qe(Dh+l+bg+q)}}}}}function Sj(a,b){var c=-1;if(b==k||0==b)a:{for(c=0;cF.$)){var c=b==h?xh:Z,d=n(a,c+hl,0),e=n(a,c+cl,0),f=n(a,c+dl,0),g=n(a,c+el,1), +j=n(a,c+fl,1),m=n(a,c+gl,1),c=Z;0!=d&&(c+=zl+d+Oo);0!=e&&(c+=dp+e+be);0!=f&&(c+=tn+(Z+f+Hm)+be);1!=g&&(c+=ap+g+be);if(1!=j){if(6==F.Zb||F.Na!=k&&536.26>=F.xa)j-=1,1F.$?se(a):zd(a);fa==h&&Ic(a)}function Zg(a){function b(a,b){var j=b==h?(r.abs(e)+180)%360:(360-r.abs(e)+270)%360;return Z+a+Pn+(Z+j+Hm)+de+eb(c)+de+eb(d)+ae}if(Jb(a)!=k)ud(a);else{var c=n(a,ho);if(!(c==k||c==Z)){var d=n(a,Rn);if(!(d== +k||d==Z)){var e=n(a,Nn);e!=k&&(F.xa!=k?oa(a[H],b(ca.wa,p)):F.lc!=k?oa(a[H],b(Ie,p)):10>F.$?a[H][Pe]=b(Z,p):oa(a[H],15>F[bc]?b(Oe,p):b(Z,h)))}}}}function Xj(a){var b=0==n(a,Nm,1)&&n(a,Wi)==k&&n(a,$i)==k&&n(a,Xi)==k&&n(a,jl)==k;if(n(a,gi,p)!=b){var c=n(a,Cp);b==h?(a[Y](Rk,h),P.ti(a,k)):(a[Eb](Rk),P.ti(a,c));V(a,gi,b)}}function Yj(a){var b=a[H][lb];qa(a[H],n(a,Zl,p)==h?no:n(a,Po,Z));b==no&&vf(M[a.id])}function Nb(a){Kc[a.id]=k;Lc(a)}function Lc(a){try{if(kf==h)-1==Ia(te,a)&&te[z](a);else{var b=n(a,ol, +36),c=Yg(a),d=M[a.id],e=me(d),f=hf(e),g=Hg(e),j=hf(d),m=n(a,Vi,0),l=n(a,Yk,0),q=n(a,Hl,k),t=n(a,im,k),u=e=h;q==k&&(e=p,q=j[G]);t==k&&(u=p,t=j[L]);var s=nb(d),x=ob(d),y=x-t,j=m,C=l,T=s,D=x,N=p;if(Jc==h&&36!=b){var O=0!=(b&1),na=0!=(b&4),A=0!=(b&2),B=0!=(b&8),J=0!=(b&32),E=0!=(b&16),Q=0!=(b&64)&&A==h&&E==h,U=0!=(b&128)&&A==h&&E==h,N=0!=(b&256)&&(A==h||E==h),S=0==f[G]?0:g[G]/f[G],P=0==f[L]?0:g[L]/f[L];A==h&&(T=O==h&&na==h?s+(g[G]-f[G]):r[Cb](s*S));O==h&&na==h&&A==p?(b=m+s/2,j=r[Cb](b*S-s/2)):O==h&&na== +p&&A==h?j=g[G]-f[G]+m-(T-s):O==h&&na==p?j=g[G]-f[G]+m:O==p&&na==p&&(j=r[Cb](m*S));E==h&&(D=B==h&&J==h?x+(g[L]-f[L]):r[Cb](x*P));B==h&&J==h&&E==p?C=r[Cb]((l+x/2)*P-x/2):B==h&&J==p&&E==h?C=g[L]-f[L]+l-(D-x):B==h&&J==p?C=g[L]-f[L]+l:B==p&&J==p&&(C=r[Cb](l*P));if((Q==h||U==h)==h)g=T,f=D,l=T/s,S=D/x,P=l,Q==h?P=l<=S?l:S:U==h&&(P=l>=S?l:S),T=r[Cb](s*P),D=r[Cb](x*P),Q=g-T,U=f-D,O==h&&na==p?j+=Q:O==h&&na==h&&(j+=r[Cb](Q/2)),B==h&&J==p?C+=U:B==h&&J==h&&(C+=r[Cb](U/2))}var R=r.max(0,T-(s-q)),W=r.max(0,D-y), +y=p;if(fa==h){var aa=n(a,ai,0),ha=n(a,bi,0);V(a,ai,R);V(a,bi,W);y=aa!=R||ha!=W}e==h?(N==h&&(j+=n(a,wp,0.5)*(T-s),V(a,di,r.max(0,T/s)),R=q),pa(a[H],K(R,2))):pa(a[H],Z);u==h?(N==h&&(C+=n(a,xp,0.5)*(D-x),V(a,ei,r.max(0,D/x)),W=t),ua(a[H],K(W,2))):ua(a[H],Z);if(8>F.$){var ca=w[Vb](En+a.id);ca!=k&&(q=function(){pa(ca[H],K(a[ac]));ua(ca[H],K(a[xb]))},0==a[ac]&&0==a[xb]?v[fc](q,0):q())}if(9>F.$){n(a,Ym)!=k&&se(a);var ia=a[jc][Ra][Rm+a.id];ia!=k&&(ia[Y](dq,R),ia[Y](on,W))}V(a,Oh,C);V(a,Ph,j);c==p&&(C+=n(a, +Wh,0),j+=n(a,Vh,0),a[H].top=K(C),Ba(a[H],K(j)));if(c==h||N==h)9>F.$?se(a):zd(a);fa==h&&(y==h?Ic(a):mc(a));n(a,jm)!=k==h&&Hj(a);if(n(a,Dm)==Hi){var la=Zj(d);0=u){s=e!=k?e[Ma].y+(x[Ma].y-e[Ma].y)*(u-e[Ma].x)/(x[Ma].x-e[Ma].x):x[Ma].y;break a}e=x}e=k}s=x[Ma].y}u=l;e=a.a;if(pd[t]&& +2==pd[t].p)u=s;else if(e!=ba){d=ah[e];if(a.b!=k){if(c.rb[e]==k&&(d=a.o,l=a.a,l!=ba)){q=ah[l];a={};t=[];for(f=x=C=0;fu;u++)D[u]=c[u]+(j[u]-c[u])*s;u=dk(D)}else if(g==jm&&0!=s&&1!=s){if((a.cf==k||a.ct==k)&&Pg(a),j=c.da?a.ct:a.cf,(a.cf==k||a.ct==k)&&Pg(a),a=c.da?a.cf:a.ct,j&&a&&(c=s,u=j,D=j[ic],s=a[ic],D&&s&&D[X]==s[X])){u=[];for(a=0;ad;d++)l=D[a][d],e[z](l+(s[a][d]-l)*c);u[z](e)}u={path:u, +closed:j[Qa]}}}else if(1==s||d==h&&0!=s)u=q;W(m,g,u);fa==h&&Jg(m,g,u,b)}function ob(a,b){var c=ka(a),d=n(c,b==h?bi:im,0),e=0;0==d?d=c[xb]:e=n(c,jj,0)+n(c,gj,0);return d+e+(n(c,Di,0)+n(c,xi,0))}function nb(a,b){var c=ka(a),d=n(c,b==h?ai:Hl,0),e=0;0==d?d=c[ac]:e=n(c,hj,0)+n(c,ij,0);return d+e+(n(c,Ci,0)+n(c,Bi,0))}function ck(a,b,c){var d;d=a[X];var e=0,f,g=0,g={};if(0>b||1b){var q=a.va[0];2<=q.ea[X]&&(f=q.ea[0],e=q.ea[1],j=f)}else m=-1,l=1-b,q=a.va[a.va[X]-1],2<=q.ea[X]&& +(f=q.ea[q.ea[X]-2],j=e=q.ea[q.ea[X]-1]);if(f!=k&&e!=k){a=m*(e[Ma].x-f[Ma].x);b=m*(e[Ma].y-f[Ma].y);d*=l;0==b?(g.y=0,g.x=d):(g.y=r[Ua](r.pow(d,2)/(r.pow(a,2)/r.pow(b,2)+1)),g.x=g.y*a/b);if(0a&&0>g.x)g.x*=-1;if(0b&&0>g.y)g.y*=-1;g.x+=j[Ma].x;g.y+=j[Ma].y;g.Ra=ek(f[Ma],e[Ma])}}else if(0==d)g={x:a.va[0].sa.x,y:a.va[0].sa.y,Ra:0};else{if(1==b)d=a.va,f=d[d[X]-1],g=1;else{for(g=0;gb){f=q;break}e+=q[X]}g=(b-e/d)/(f[X]/d);d=f[X]*g;for(b=a=g=0;b< +f.ea[X];b++)if(e=f.ea[b],a+e[X]<=d)a+=e[X],g=b;else break;g=(g+(d-a)/(g+1=f){if(b.Ca=d+1,rb[g][j]==b.ca)if(1==e.p&&b.fa==h){if(e=A[U].v[g].aH,f=ka(g),e==h&&f[ub]&&(f.autoplay=h,f=f[ub](),f!==ba))f[cm](lq())}else 0==e.p&&b.qa[z](e)}else break}c=[];for(d=0;d=f){if(Bd[e]==b.ca){var q=m.G;b.da==p&&(q=m.z?q-l:q+l);q=Da(r.max(0,q),j);Cd(j,p);f=Mc(q,j,h,h,p);f==p&&Mb(e,q,h)}b.ya[bb](d,1);d--}}for(d=b.Pa;d=f)){b.Pa=d+1;var q=m.z,t=m.E,n=t,s=m.G;b.da==h&&(s=q?s-l:s+l,s=Da(s,j),q=!q);var x=s;if(t){f=a-f;if(f>l)n=p,f=l;else b.ya[z](m);x=q?x-f:x+f;x=Da(r.max(0,x),j)}if(n){if(f=Xb(s,e,h,h))continue;q&&Cd(j,q);if(s!=x&&(f=Xb(x,e,h,h)))continue;b.fa?(ue(j,b.ja),wd(e,q,p,p)):Mb(e,k)}else t==p&&Mb(e,k),Xb(x,e,p,h);Bd[e]=b.ca}}}function Mc(a,b,c,d,e){kf=h;for(var f=b.ia,g=b.da?b.ab:b.ra,j=[],m=r.min(a*b.ja,Ca(b)),l=b.Ca;l=t)&&j[z](q)}e=p;if(0==j[X]||d==p)ch(m,b,g);else{for(var q=d=0,n=b.fa,s=b.da,l=0;lb&&(a=e.pa.q==h?r.max(0,a-r[Ec](a/b)*b):b),e.da==h&&(a=b-a),d==h&&(a=Da(a, +e)),e.Ca=0,e.Pa=0,e.qa=[],e.ya=[],d=Bb(ba)/1E3,e.ia=d-a,e.na=d-e.ia,e.fa==h&&(v[Sa](e.Da),e.Da=v[fc](function(){Ed(e)},1E3*((b-a)/e.ja))),dh(e,p),hk(e,p),eh(e,0),ik(e,a),a=Mc(a,e,p,h,c),rd(),a}function Nc(a,b){var c=la(a);if(c==k)return 0;var d=0;c.fa==h?(d=Bb(ba)/1E3-c.ia,d*=c.ja):d=c.na;var e=Ca(c);b==h&&c.da==h&&(d=e-d);d=r.max(0,d);return d=r.min(e,d)}function ik(a,b){for(var c={},d=a.da?a.ab:a.ra,e=0;e=b&&(c[g]==k&&(c[g]={}),l!=h&&c[g][j]==k&&(l=ka(g),m==ba&&(a.da==h&&0==f.d)&&(m=f.s),W(l,j,m)),c[g][j]=h)}}}}function wd(a,b,c,d){Af(a);var e=la(a);e!=k&&(c&&ue(e,1),Cd(e,b),e.fa==p&&(e.ia!=k?e.na==Ca(e)?d&&Lb(a,k,b):(e.fa=h,e.ia=Bb(ba)/1E3-e.na/e.ja,v[Sa](e.Da),e.Da=v[fc](function(){Ed(e)},1E3*((Ca(e)-e.na)/e.ja)),e.Ja!=h&&(eh(e,e.na),e.Ca=0,e.Pa=0,e.qa=[],e.ya=[]),Mc(e.na/e.ja,e,p,p)):(d==h||0==e.na)&&Lb(a,k,b)),rd())}function Mb(a,b,c){for(var d in Bd)Bd[I](d)!=p&&Bd[d]==a&&Mb(d, +k);Af(a);a=la(a);a!=k&&a.fa==h&&(ue(a,1),a.na=b!=k?b:Bb(ba)/1E3-a.ia,a.fa=p,v[Sa](a.Da),c==h&&(a.pa!=k&&a.na==a.pa.d)&&Ed(a))}function Ed(a){if(!(fa==h&&a.Ja==h)&&(a.ja=1,!Mc(Ca(a),a,h,h)))if(a.pa.q==h)Lb(a.ca,k,a.da);else if(Dd(a),ve!=k&&Bf==a.ca)a=ve,Bf=ve=k,a();else if(a={type:ti,timelineName:a.pa.n},Ab(a,k)!==p){var b=va();if(b!=k){var c=A[Cf(Oc(U))].F;c!=k&&ia(b,c.a)(a)}}}function Da(a,b){return fa==h&&b.Ja==h?Df(a,60):Df(a,b.pa.f)}function Df(a,b){var c=r[Ec](a);return c+r[Gb]((a-c)*b)/b}function Ca(a){return fa== +h&&a.Ja==h?86400:Da(a.pa.d,a)}function rd(){if(zf!==h){zf=h;var a=function(a){v[fc](a,1E3/60)};(v.requestAnimationFrame||v.webkitRequestAnimationFrame||v.mozRequestAnimationFrame||a)(function(){zf=p;gk()})}}function Dd(a){v[Sa](a.Da);a.Ca=0;a.Pa=0;a.qa=[];a.ya=[];a.sc=k;a.ia=k;a.fa=p;a.ja=1;a.na=Ca(a);a=Ia(Pb,a);-1!=a&&Pb[bb](a,1)}function jk(a){for(var b=0;b=b&&(cb[f]===ba||cb[f][g]===ba||cb[f][g]==a.ca))rb[f][g]=a.ca}jk(a)}function Lb(a,b,c){Af(a);for(var d=0;dF.$&&0==a[$b](Vo)&&(a=dk(oe(a),h)); +return a}function dk(a,b){if(1==a[3]||b==h){for(var c=ca.xb,d=md,e=0;3>e;e++)d+=c[Hc](a[e]/16)+c[Hc](a[e]%16);return d}return Wo+ea(a[0])+de+ea(a[1])+de+ea(a[2])+de+da(a[3])+ae}function K(a,b){var c=r.pow(10,b==k?0:b);return Z+r[Gb](a*c)/c+No}function oe(a){var b=[0,0,0,1];if(0==a[$b](Uo)){var c=a[$b]($d),d=a[$b](ae);if(3c;c++)b[c]=16*e[$b](a[Hc](c* +(1+d)))+e[$b](a[Hc](c*(1+d)+d))}return b}function bh(a){typeof a!=po&&(a=da(a));return isNaN(a)?0:a}function gh(a,b,c,d){Ef=p;c!=k&&delete A[U].T[c];qa(b[H],yl);W(b,ml,0,mj,0);V(b,$h,cf);W(b,Yk,0,Vi,0,iq,1,Nm,1);c=A[U].a;c!=k?(pa(b[H],Zf),pa(S[H],c+Ld)):(pa(b[H],K(A[U].Y)),pa(S[H],b[H][G]));c=A[U].b;c!=k?(ua(b[H],Zf),ua(S[H],c+Ld)):(ua(b[H],K(A[U].Z)),ua(S[H],b[H][L]));Kc[S.id]=k;Kc[b.id]=k;for(c=0;cF.$){a=Fd(a);for(c=0;cq;q++)for(var t=0;tt&&(t=y[H][Tc]))}else l[z]([g, +j]);if(ha[j].Ub==p){fa==h&&Og(Yb[j]);rk(y,h);ha[j].Ub=h;j=Fd(y);for(s=0;sr.abs(c.x-ye[b].x)&&25>r.abs(c.y-ye[b].y)&&(a.stopPropagation(),a[gb]())}}function tk(a){var b=[],c=A[U].U,d;for(d in c)c[I](d)!=p&&c[d].n==a&&b[z](pc[d]);return b}function Uj(a){var b={type:ui,customBehaviorName:a},c=If[a];if(c!=k)for(var d=0;d=d;d++)c[z]({start:{x:0,y:0},end:{x:0,y:0},lastPosition:{x:0,y:0}});a.Sa=c;a.Ua=ba;a.wb=p;var c=a.ma?b[gc][0]:b,e;e=function(b){kh(a);a.Ka=am;Mf(b,a)};a.ta=e;b=a.ma?a.Ma:w;a.ma?Ya(Gp,a.ta,b,p):v.self!=v.top&&Ya(Yn,function(a){(a.relatedTarget===w.documentElement||a.toElement=== +k)&&e(a)},b,p);c=Hf(c);d=a.Sa[0];d[zc].x=c.x;d.end.x=c.x;d[Ga].x=c.x;d[zc].y=c.y;d.end.y=c.y;d[Ga].y=c.y;xk(a,c);a.Kb=function(b){if(!(a.Ka===Sm||a.Ka===am))if(Kf==h)a.ta(b);else{var c=a[xc];if(a.mb==p==h){Jf++;a.mb=h;if(c.Za!=k){var d=h;if(c.ga==k)c.ga=[];else for(var e=0;eF.$&&(a.Ma.ondragstart=function(a){return a==k?p:h});var s=x=0,C=1,T=1;if(a.Ma!=k)for(var D=me(M[a.Ma.id]);D!=k&&D!=J;)e=ka(D),x+=n(e,Vi,0),s+=n(e,Yk,0),C*=n(e,Tl,1),C*=n(e,di,1),T*=n(e,Ul,1),T*=n(e,ei,1),D=me(D);if(c.ga!=k){for(var N=c.ga,N=[],O=5<=pb(y.end,y[zc]),e=0;e< +c.ga[X];e++){l=c.ga[e];if(16==l.p&&a.qb==p)if(O==p)continue;else if(q=l.b,!(0==l.c&&(a.Aa==On||a.Aa==Yo))&&!(1==l.c&&(a.Aa==Pp||a.Aa==Km))){t=la(q);t=t.pa.fc;t!=k&&t();c.ga[bb](e,1);e--;continue}else a.Ib=Nc(q,p);N[z](l)}a.qb=a.qb||O;for(e=0;eu,(D||c==p||Ae==h)&&a.ta(b)):c.ka==zp&&5=N?On:Yo:0>=N&&-180<=N?Pp:Km)!=y,N=s/C;else{C=y=Nc(q.ca,p);for(u=s=0;uc.ib?(b={type:pi+c[Dc][Hc](0).toUpperCase()+c[Dc][tb](1)+zg},a.Lb(b)):a.ta(b)):c.ka==zp?1500>q&&a.Lb(b):a.ta(b);kh(a)}}};Ya(a.ma?Hp:$n,a.Jb,b,p);b.setCapture&&b.setCapture();a.lb=Bb();a.yb=a.lb;a.mb=p;Ae=Kf=a.qb=p}}}function kh(a){if(a.wb!=h){a.wb=h;cb={};var b=a.ma?a.Ma:w;b.releaseCapture&&b.releaseCapture();Be(a.ma?Ip:Xn,a.Kb,b);Be(a.ma?Hp:$n,a.Jb,b);a.ma?Be(Gp,a.ta,b):Be(Yn,a.ta,b);a[xc].ka==Lm&&(Ae=p); +a.mb==h&&Jf--;fa==h&&a[xc]&&mc(a[xc].za)}}function Mf(a,b){b[xc].gc==h&&(a.hypeGesturePhase=b.Ka,a.hypeGestureXPosition=b.Sa[0].end.x,a.hypeGestureYPosition=b.Sa[0].end.y,b.Lb(a))}function Be(a,b,c){var d=Jb(c);d!=k&&(c=d);c[Rc]?c[Rc](a,b,p):c[Pa]&&c[Pa](so+a,b)}function Ya(a,b,c,d){var e=Jb(c);e!=k&&(c=e);e={eventType:a,handler:b,element:c};d&&Nf[z](e);c[ab]?c[ab](a,b,F.Gb?{passive:p}:p):c[Tb]&&c[Tb](so+a,b);Xj(c)}function Hf(a){var b={};if(a.pageX||a.pageY)b.x=a.pageX,b.y=a.pageY;else if(a[Rb]|| +a[Sb])b.x=a[Rb]+w[yb].scrollLeft+w.documentElement.scrollLeft,b.y=a[Sb]+w[yb].scrollTop+w.documentElement.scrollTop;return b}function zk(a){var b;0==a.c?0==a.A?b=Yo:1==a.A&&(b=On):1==a.c&&(0==a.A?b=Pp:1==a.A&&(b=Km));return b}function xk(a,b){var c=a[xc],d=c[Dc]==Yo||c[Dc]==On?b.x:b.y;a.Ua=a.Ua==ba?d:c[Dc]==Yo||c[Dc]==Km?r.max(a.Ua,d):r.min(a.Ua,d)}function yk(a,b,c){a=Ak(a,b);c=r.min(45,45*c/2E3);if(a>=135+c||a<=-135-c)return On;if(a<=45-c&&a>=-45+c)return Yo;if(a<-45-c&&a>-135+c)return Pp;if(a> +45+c&&a<135-c)return Km}function Ak(a,b){var c=r[Db](b.y-a.y,b.x-a.x);return r[Gb](180*c/r.PI)}function Tg(a){for(var b=Hd[a],c={},d=0;dF.$?uq:Ck;d={};d.Fb=F.Na!=k&&603>F.xa;var e=Of[a];if(e==k){try{e=new b(a,c)}catch(f){b==Bk&&(e=new Ck(a))}e.yc=a;e.cb=c;e.options=d;e.Eb= +function(){var a=[],b;for(b in e.cb)e.cb[I](b)!=p&&a[z](b);return a.sort()}}return e}function qq(a,b){var c=Tg(a);ta(c,b);c[ub]()}function Dk(a){a=Hd[a];if(a!=k){for(var b=1=Zb[X]?Ek():b==h&&mh==p&&(mh=h,v[fc](function(){Fk()},1))}function Fk(){0>=Zb[X]||(mh=p,Gk(Zb[0],h))}function Gk(a,b){var c= +Na[a].p;if(1==c)if(c=Na[a].g,c!=k&&Dk(c)!=a)lh(a,b);else{var c=new Image,d=function(){lh(a,b)},e=Pc(a);c.onload=d;c.onerror=d;c.onabort=d;c.src=e;c.Ac=a}else 2==c&&(c=function(){for(var c=Hd[Na[a].g],e=0;eF.xa||9>F.$?v[fc](c,1):d.load(c,c))}function Ek(){df!=k&&df(p,S);if(Ab({type:ji},S)!==p)if(-1==Dg)vd(qb);else{Id=h;for(var a=-1,b=0;bc&&(c=a),pa(S[H],K(c)),Kc[S.id]=k,S[H].margin==Vk&&W(b,Vi,r.max(0,(jb&&(b=g),ua(S[H],K(b)))} +function tc(a){var b=S[dc].offsetHeight,c=A[a].b;return c!=k?c/100*b:A[a].Z}function sc(a){var b=S[dc][Hb],c=A[a].a;return c!=k?c/100*b:A[a].Y}function Pf(a,b,c,d){if(!(Oc(a)==k||Ef==h)){c==k&&(c=1.1);c=Df(c,60);Ef=h;var e=function(){d!=k&&d();sb=[];If={};var e=va();Jc=A[a].a!=k||A[a].b!=k?h:p;var f=Oc(a),g=U,j=va();if(j!=k){for(var m=j[hb](Vp),l=0;lf?u:f,aa[J].a=0,aa[J].b=0)):(Gd(e,E,h,p),u!=f&&(fb(Q,im,0,K,Hl,J,u,f),aa[J]={},aa[J].c=P>B?P:B,aa[J].d=u,aa[J].a=0,aa[J].b=0)),g=Vi,q=B,n=-1*B,5==b?(q=-1*P,n=P):6==b?(g=Yk,q=-1*u,n=u):7==b&&(g=Yk,q=f,n=-1*f),e!=k&&(l=M[e.id],W(e,Hl,P,im,u),fb(Q,g,0,K,Hl,l,0,q)),fb(Q,g,0,K,Hl,M[E.id],n,0), +W(E,Hl,B,im,f,g,n),nh(Yh,K,Q,e,E),qa(E[H],yl)):(Gd(e,E,p,p),gh(e,E,k,h));rc()},f=p,g=va();g[Eb](Rk);if(Hk==h&&g!=k){var g=Cf(Oc(U)),j={type:oi};if(Ab(j,va())!==p){var m=A[g].B;if(m!=k){for(var l=m.a,q=ia(va(),l),m=0;m=a.y?90:-90:180*r.atan((b.y-a.y)/(b.x-a.x))/r.PI;b.xd);e++)c=b[e]._}b=A[c].n;d=Ab({type:ki,layoutName:b,sceneName:a.n},S);typeof d===lp&&d!=b&&(a=Ik(d,a),-1!=a&&(c=a));return c}function Hg(a){var b=Yb[Oc(U)];a!=k&&(b=Yb[a]);a=Kc[b];a==k&&(a=w[Vb](b),a={width:a[Hb],height:a.offsetHeight},Kc[b]=a);return a}function hf(a){var b=0,c=0;a==k?(b= +w[Vb](Yb[a]),a=Wa(b),b=A[a].Y,c=A[a].Z):(b=nb(a),c=ob(a));return{width:b,height:c}}function Yg(a){return(F.xa!=k||3.5<=F.Xa||10<=F.$)&&n(a,$h)==Wf}function Kg(){kf=p;$g=h;for(var a=0;ac;c++)var d=r[Ec](r.random()*b[X]),a=a+b.substring(d,d+1);return a}function qe(a){v.console&&v.console.log(a)}function Ck(a){var b=this;Of[a]=b;b.bb=function(){var a=w[Sc](Tk);b.ua=a;for(var d=b.Eb(),e=0;eF.$&& +(b=b.match(/('|")(http.*?css.*?)('|")/),b!=k&&2<=b[X]&&w.createStyleSheet(b[2]));v[fc](rc,120);v[fc](rc,1200);a=w[Sc](Jm);a.id=Lh;qa(a[H],no);a[Y](Rk,h);S[Fb](a);for(b=0;bF.$&&(e.perspective=c.p);S[Fb](d);var e=c.v,j;for(j in e)if(e[I](j)!=p&&(f=e[j],(g=f.cL)&&ha[g]==k)){var m=c.T,l=[],q;for(q in m)if(m[I](q)!= +p){var n=c.T[q],u=n.a;n.s==g&&(n=we(q,u,n,g),l[z](n))}m=Mk(c,f,j,[Ih,vi]);if(F.eb==h&&(F.$==k||11<=F.$))n=Lk(m,f,c.p),n[Y](Nh,c._),a[Fb](n);else a[Fb](m);ha[g]={element:m,Hb:l,kc:f.cS,Ub:p,Ob:[]}}l=c.O;for(u=0;uF.$)Fk();else for(E=0;EF.$||F.$!=k&&F.Yb){if(1==ea(b))V(a,Uh,Z),V(a,Th,Z);else{var c=Bg+r[Gb](100*b)+ae;V(a,Uh,ca.pb+Ve+c);V(a,Th,c[Fc]());a[H].backgroundColor==Z&&a[H].backgroundImage==Z&&w[Vb](En+a.id)==k&&oa(a[H],Rp+wf(Pc(Ge))+Rd)}se(a)}a[H].opacity=b;a[H].MozOpacity=b;Xj(a)},aP:function(a,b){a[H].cursor=b},bD:function(a,b){a[H][ca.wa+Sp]=b;a[H].MozUserSelect=b;a.onselectstart= +function(){return b!=no}},N:function(a,b){a[H].borderLeftWidth=K(b);Nb(a)},O:function(a,b){a[H].borderRightWidth=K(b);Nb(a)},P:function(a,b){a[H].borderTopWidth=K(b);Nb(a)},M:function(a,b){a[H].borderBottomWidth=K(b);Nb(a)},B:function(a,b){a[H].borderLeftColor=eb(b)},C:function(a,b){a[H].borderRightColor=eb(b)},D:function(a,b){a[H].borderTopColor=eb(b)},A:function(a,b){a[H].borderBottomColor=eb(b)},J:function(a,b){a[H].borderLeftStyle=b},K:function(a,b){a[H].borderRightStyle=b},L:function(a,b){a[H].borderTopStyle= +b},I:function(a,b){a[H].borderBottomStyle=b},aK:function(a,b){b=typeof b!=po?b:K(b);a[H].borderTopLeftRadius=b;a[H].MozBorderRadiusTopleft=b;9>F.$&&tf(a);fa==h&&Ic(a)},aL:function(a,b){b=typeof b!=po?b:K(b);a[H].borderTopRightRadius=b;a[H].MozBorderRadiusTopright=b;9>F.$&&tf(a);fa==h&&Ic(a)},aI:function(a,b){b=typeof b!=po?b:K(b);a[H].borderBottomLeftRadius=b;a[H].MozBorderRadiusBottomleft=b;9>F.$&&tf(a);fa==h&&Ic(a)},aJ:function(a,b){b=typeof b!=po?b:K(b);a[H].borderBottomRightRadius=b;a[H].MozBorderRadiusBottomright= +b;9>F.$&&tf(a);fa==h&&Ic(a)},bE:function(a,b){za(a,Z);var c,d=Hd[b];if(d!=k){for(var e=0;eF.$){d=a[jc][Sc](Jm);Aa(d,Ih);for(e=0;e +F.$)try{c.SetControllerVisible(0!=ea(b))}catch(d){v[fc](function(){P.aO(a,b)},100)}},dA:function(a,b){a[Y](Ho,b)},aR:function(a,b){a.muted=0!=b;a.volume=0!=b?Tf:Xf;var c=a[jc][Ra][Rm+a.id];if(c!=k&&9>F.$)try{c.SetMute(0!=ea(b))}catch(d){v[fc](function(){P.aR(a,b)},100)}},aQ:function(a,b){a[Y](Qn,b);ta(a,0!=b);var c=a[jc][Ra][Rm+a.id];if(c!=k&&9>F.$)try{c.uc(0!=ea(b))}catch(d){v[fc](function(){P.aQ(a,b)},100)}},j:function(a,b){wa(a[H],b)},r:Yj,cY:Yj,aG:function(a,b){a[Y](Fp,b);a[Y](rj,b)},dB:function(a, +b){a[Y](Zo,b)},g:function(a,b){Jb(a)!=k?ud(a):a[H].backgroundColor=eb(b)},n:Zg,m:Zg,l:Zg,h:function(a,b){var c=Dk(b);c!=k&&(c=Pc(c),W(a,$l,c))},cZ:function(a,b){if(Jb(a)!=k)ud(a);else if((3.6>F.Xa||9>F.$)&&(a[H].backgroundRepeat==k||a[H].backgroundRepeat==Z||a[H].backgroundRepeat==mo)){var c=En+a.id,d=w[Vb](c);d!=k?d.src=b:(d=w[Sc](Dn),d.src=b,d.id=c,wa(d[H],pj),pa(d[H],Zf),ua(d[H],Zf),d[H].top=cf,Ba(d[H],cf),Fa(d[H],Fe),a[Fb](d));V(d,Rh,d.src);9>F.$&&b.substr(b[X]-4)[Fc]()==af&&(d.src=Pc(Ge),c=wf(b)[uc](/\%/gi, +Md),V(d,Sh,ca.pb+We+c+Rd),V(d,Qh,ca.pb+$e),se(d));Lc(a)}else oa(a[H],Rp+wf(b)+Rd)},q:function(a,b){a[H].backgroundSize=b;a[H][ca.wa+vl]=b;a[H].MozBackgroundSize=b},o:function(a,b){a[H].backgroundOrigin=b;a[H][ca.wa+ul]=b;a[H].MozBackgroundOrigin=b},p:function(a,b){if(Jb(a)!=k)ud(a);else{if(b!=k&&b!=mo){var c=w[Vb](En+a.id);c!=k&&(oa(a[H],Rp+wf(n(c,Rh))+Rd),c[dc][Cc](c))}a[H].backgroundRepeat=b}},x:function(a,b){a[H].overflow=b},aT:function(a,b){a[H].paddingLeft=K(b);Nb(a)},aU:function(a,b){a[H].paddingRight= +K(b);Nb(a)},aV:function(a,b){a[H].paddingTop=K(b);Nb(a)},aS:function(a,b){a[H].paddingBottom=K(b);Nb(a)},S:re,T:re,R:re,Q:re,gg:re,bB:uf,bC:uf,bA:uf,aZ:uf,bL:function(a){xd(a);F.Wa!=k&&a[H][Ue]==Z&&(a[H][Ue]=no)},bG:xd,bH:xd,bI:xd,bJ:xd,bK:xd,BDbL:yd,BDbG:yd,BDbH:yd,BDbI:yd,BDbJ:yd,BDbK:yd,Z:function(a,b){a[H].wordWrap=b},yy:function(a,b){a[H].whiteSpace=b},y:function(a,b){a[H].whiteSpaceCollapsing=b},z:function(a,b){Fa(a[H],b);a[dc][vc]==Kh&&Fa(a[dc][H],b)},aA:function(a,b){var c=ia(a,b.a);ke&&(Qc(a, +{Ta:1,ka:zp},c),a[H][Te]=Xo);Za(dm,a,c,h)},aD:function(a,b){Za(Zn,a,ia(a,b.a),p)},aC:function(a,b){Za(Yn,a,ia(a,b.a),p)},aE:function(a,b){var c=ia(a,b.a);ke&&(Za(Hp,a,c,h),a[H][Te]=Xo);Za($n,a,c,h)},aB:function(a,b){var c=ia(a,b.a);if(ke){var d=h;if(F.Na!=k)for(var e=b.a,f=0;fF.$?c():Rj(a,c,Tm)},cX:function(a,b){9>F.$||Rj(a,ia(a,b.a),Xm)},cG:function(a, +b){Qc(a,{Ta:1,direction:Yo,ib:30,ka:vp},ia(a,b.a))},cH:function(a,b){Qc(a,{Ta:1,direction:On,ib:30,ka:vp},ia(a,b.a))},cI:function(a,b){Qc(a,{Ta:1,direction:Pp,ib:30,ka:vp},ia(a,b.a))},cJ:function(a,b){Qc(a,{Ta:1,direction:Km,ib:30,ka:vp},ia(a,b.a))},cK:nc,cF:nc,aM:function(a,b){Za(Zn,a,Vg(a,b),p);Za(Yn,a,sf(a,b),p)},aN:function(a,b){ke&&(Za(Jp,a,Vg(a,b),p),Za(Ip,a,sf(a,b),p),Za(Hp,a,sf(a,b),p),a[H][Te]=Xo);Za(Wn,a,Vg(a,b),p);Za($n,a,sf(a,b),p)},V:Wg,U:Wg,W:Wg,w:function(a,b){var c=w[Vb](En+a.id), +c=c!=k?c.cloneNode(h):k;za(a,b);for(var d=a[hb](bp),e=0;eF.Zb&&(a[H][Cn]=Re),a[H][Le]=jo)},aF:function(a,b){a[H].cssText+=Uc+b},dY:function(a,b){if(!(a.tagName[Fc]()!=An&&n(a,Mi)!=k))for(var c=0;cF.$){var c=function(b){b=b?b:v[Qb];if(a[H][Io]==no){var c=a[H][lb];qa(a[H],no);var f=w.elementFromPoint(b[Rb],b[Sb]);qa(a[H],c?c:Z);w.createEvent?(b[gb](),c=w.createEvent(zi),c.initMouseEvent(b[La], +b.bubbles,b.cancelable,b.view,b.detail,b.screenX,b.screenY,b[Rb],b[Sb],b[Ub],b.altKey,b.shiftKey,b.metaKey,b[wb],k),f.dispatchEvent(c)):(c=w.createEventObject(),c.clientX=b[Rb],c.clientY=b[Sb],f.fireEvent(so+b[La],c),event.cancelBubble=h)}};Ya(yi,c,a,h);Ya($n,c,a,h);Ya(Wn,c,a,h);Ya(dm,c,a,h)}}},Of={},Kj=function b(c){var d=this;d.copy=function(){var c=new b;c.ba=d.ba[tb](0);c.Ea=Oa(d.Ea);c.Fa=Oa(d.Fa);return c};d.vb=function(){for(var c=new b,f=0;f=t[X]))for(var u=0;uc&&(c=l.x);l.yj&&(j=l.y)}return{x:b,y:g,width:c-b,height:j-g}};d.zb=function(b){for(var c=0;cpb(l,q),s=0.5>pb(m,t);u==h&&s==h?f+=Yc+m.x[hc](2)+$+m.y[hc](2):(u==h&&(q=l),s==h&&(t=m),f+=Xc+q.x[hc](2)+$+q.y[hc](2)+ee+t.x[hc](2)+$+t.y[hc](2)+ee+m.x[hc](2)+$+m.y[hc](2))}d==h&&(f+=Zc)}c[Y](im,f);0==e&&db(b);fa==h&&Ic(b)};P.dD=db;P.dE=db;P.dF= +db;P.dG=db;P.dH=db;P.dM=db;P.dN=db;P.dI=db;P.dJ=db;P.dK=db;P.dL=db;P.dO=ud;P.dP=ud;P.dV=nc;var B=v.Matter,Ea=[],Ib=0,td=[Vi,Yk,Ym];B&&!B.Common.sin&&(B.Common.sin=function(b){return da(r.sin(b)[hc](8))},B.Common.cos=function(b){return da(r.cos(b)[hc](8))},B.Common.sqrt=function(b){return da(r[Ua](b)[hc](8))},B.Common.abs=function(b){return da(r.abs(b)[hc](8))},B.Common.atan2=function(b,c){return da(r[Db](b,c)[hc](8))},B.Common.acos=function(b){return da(r.acos(b)[hc](8))},B.Sleeping._motionWakeThreshold= +0.2,B.Sleeping._motionSleepThreshold=0.1);P.bM=mc;P.bU=ff;P.bV=ff;P.cT=ff;P.bW=ff;P.dZ=nc;ca.API={kSceneTransitionInstant:Lf,kSceneTransitionCrossfade:2,kSceneTransitionSwap:3,kSceneTransitionPushLeftToRight:4,kSceneTransitionPushRightToLeft:5,kSceneTransitionPushBottomToTop:6,kSceneTransitionPushTopToBottom:7,kPhysicsBodyTypeDead:0,kPhysicsBodyTypeStatic:1,kPhysicsBodyTypeDynamic:2,kHypeGesturePhaseStart:hp,kHypeGesturePhaseMove:ao,kHypeGesturePhaseEnd:Sm,kHypeGesturePhaseCancel:am,documentName:function(){return R}, +documentId:function(){return J},sceneNames:ph,customData:{},currentSceneName:function(){return Va[qb].n},currentSceneId:function(){return va().id},layoutsForSceneNamed:function(b){b=b!=k?Ia(ph(),b):qb;return oh(Va[b])},currentLayoutName:function(){return A[U].n},showLayoutNamed:function(b){b=Ik(b,Va[qb]);-1!=b&&(Id=h,Pf(b,Lf,0))},showSceneNamed:function(b,c,d){b=Ia(ph(),b);vd(b,c,d)},showNextScene:function(b,c){vd(qb+1,b,c)},showPreviousScene:function(b,c){vd(qb-1,b,c)},playTimelineNamed:mk,startTimelineNamed:mk, +goToTimeInTimelineNamed:function(b,c){var d=qc(c);Xb(b,d,p,p)},pauseTimelineNamed:function(b){b=qc(b);Mb(b,k)},continueTimelineNamed:function(b,c,d){b=qc(b);c==ba&&(c=0);wd(b,1==c?h:p,h,d)},getElementById:function(b){var c=uh[b];c==k&&(c=b);return w[Vb](c)},setElementProperty:function(b,c,d,e,f){var g={easein:im,easeout:Nm,easeinout:Hl,linear:Yk},j=ok[c];if(j!=k&&(j.HYP_x!=h&&(d=bh(d)),nk(b,c)!=d)){c=j.HYP_r;var m=M[b.id],j=Z+m+c,l=[il,iq,$l];0x.ea||x.ea!=k&&x.ub||x.Na!=k?z.open(f,Zf):(9==x.ea||15>x.opera)&&!(c instanceof MouseEvent)?z.open(f,Zf):(d=B[Tb]($f),d[Sb](Ui,f),d[Sb](jk,Zf),B[Xa][cb](d),f=B.createEvent(If),f.initMouseEvent(ri,c.bubbles,c.cancelable,c.view,c.detail,c.screenX,c.screenY,c[gb],c[lb],c[nb],c.altKey, +c.shiftKey,c.metaKey,c[Wa],B[Xa][V]),d.dispatchEvent(f),B[Xa][Nb](d)):z.top.location=f);else if(6==f){var l=d.l,v=d.m,d=d.n,f=pj;l!=k&&(f+=escape(l));if(v!=k||d!=k)f+=je,l=[],v!=k&&l[C](dk+ea(v)),d!=k&&l[C](Wh+ea(d)),f+=l[Ea](Dc);f!=pj&&(z.top.location=f)}else if(12==f)f=d.o,d=d.q,d!=h&&(d=m),f!=k&&playAudioResourceGroupOid(f,d);else if(13==f)f=d.o,f!=k&&pauseAudioResourceGroupOid(f);else if(14==f)d=d.B,d!=k&&ng(d);else if(15==f){var t=d.s,d=Z+t+Hc+d.t[Ea](Kc)+Ic;try{eval(d)}catch(p){Pc(ve+t+ce+p)}}}}} +function Lk(a,b){var c=-1;if(b==k||0==b)a:{for(c=0;cx.ea)){var c=b==h?pe:Z,e=q(a,c+Ih,0),d=q(a,c+Dh,0),f=q(a,c+Eh,0),j=q(a,c+Fh,1),l=q(a,c+Gh,1),v=q(a,c+Hh,1),c=Z;0!=e&&(c+=Vh+e+Oj);0!=d&&(c+=Zj+d+Jc);0!=f&&(c+=Wi+(Z+f+Ai)+Jc);1!=j&&(c+=Wj+j+Jc);if(1!=l){if(6==x.jb||x.Ja!=k&&536.26>=x.va)l-=1,1x.opera?b(kd,m):b(Z,h))}}}function qg(a){var b=0==q(a,Fi,1)&&q(a,ag)==k&&q(a,eg)==k&&q(a,bg)==k&&q(a,Jh)==k;if(q(a,qf,m)!=b){var c=q(a,lk);b==h?(a[Sb](wh,h),fc.ti(a,k)):(a[bb](wh),fc.ti(a,c));Ra(a,qf,b)}}function rg(a){var b=a[H][Pa];ja(a[H],q(a,ni,m)==h?Aj:q(a,Pj,Z));b== +Aj&&He(M[a.id])}function Ya(a){Ib[a.id]=k;kc(a)}function kc(a){try{if(Fd==h)-1==Rc[qb](a)&&Rc[C](a);else{var b=q(a,Oh,36),c=Fe(a),e=M[a.id],d=Ed(e),f=sg(d),j=tg(d),l=sg(e),v=q(a,$f,0),t=q(a,yh,0),p=q(a,ai,k),N=q(a,vi,k),s=d=h;p==k&&(d=m,p=l[Oa]);N==k&&(s=m,N=l[pb]);var r=Sc(e),y=Tc(e),l=y-N,va=v,D=t,A=r,R=y,u=m;if(jc==h&&36!=b){var K=0!=(b&1),x=0!=(b&4),w=0!=(b&2),G=0!=(b&8),F=0!=(b&32),J=0!=(b&16),I=0!=(b&64)&&w==h&&J==h,P=0!=(b&128)&&w==h&&J==h,u=0!=(b&256)&&(w==h||J==h),U=0==f[Oa]?0:j[Oa]/f[Oa], +S=0==f[pb]?0:j[pb]/f[pb];w==h&&(A=K==h&&x==h?r+(j[Oa]-f[Oa]):n[ab](r*U));K==h&&x==h&&w==m?(b=v+r/2,va=n[ab](b*U-r/2)):K==h&&x==m&&w==h?va=j[Oa]-f[Oa]+v-(A-r):K==h&&x==m?va=j[Oa]-f[Oa]+v:K==m&&x==m&&(va=n[ab](v*U));J==h&&(R=G==h&&F==h?y+(j[pb]-f[pb]):n[ab](y*S));G==h&&F==h&&J==m?D=n[ab]((t+y/2)*S-y/2):G==h&&F==m&&J==h?D=j[pb]-f[pb]+t-(R-y):G==h&&F==m?D=j[pb]-f[pb]+t:G==m&&F==m&&(D=n[ab](t*S));if((I==h||P==h)==h)j=A,f=R,t=A/r,U=R/y,S=t,I==h?S=t<=U?t:U:P==h&&(S=t>=U?t:U),A=n[ab](r*S),R=n[ab](y*S),I= +j-A,P=f-R,K==h&&x==m?va+=I:K==h&&x==h&&(va+=n[ab](I/2)),G==h&&F==m?D+=P:G==h&&F==h&&(D+=n[ab](P/2))}var Y=n.max(0,A-(r-p)),W=n.max(0,R-l);d==h?(u==h&&(va+=q(a,fk,0.5)*(A-r),Ra(a,of,n.max(0,A/r)),Y=p),ga(a[H],E(Y,2))):ga(a[H],Z);s==h?(u==h&&(D+=q(a,gk,0.5)*(R-y),Ra(a,pf,n.max(0,R/y)),W=N),ka(a[H],E(W,2))):ka(a[H],Z);Ra(a,hf,D);Ra(a,jf,va);c==m&&(a[H].top=E(D),a[H].left=E(va));(c==h||u==h)&&ic(a);if(q(a,xi)==Qf){var X=ug(e);0=s){r=b!=k?b[Aa].y+(y[Aa].y-b[Aa].y)*(s-b[Aa].x)/(y[Aa].x-b[Aa].x):y[Aa].y;break a}b=y}b=k}r=y[Aa].y}s=t;b=a.a;if(dc[N]&&2==dc[N].p)s=r;else if(b!=g){e=Je[b];if(a.b!=k){if(c.Ra[b]==k&&(e=a.o,t=a.a,t!=g)){p=Je[t];a={};N=[];for(d=y=u=0;ds;s++)c[s]=l[s]+(A[s]-l[s])*r;if(1==c[3]){l=T.Xa;A=zc;for(r=0;3>r;r++)A+=l[Qb](c[r]/16)+l[Qb](c[r]%16);s=A}else s=Sj+da(c[0])+Kc+da(c[1])+Kc+da(c[2])+Kc+ba(c[3])+Ic}else if(1== +r||e==h&&0!=r)s=p;aa(v,j,s)}function Tc(a){a=la(a);var b=q(a,vi,0),c=0;0==b?b=a.clientHeight:c=q(a,oh,0)+q(a,hg,0);return b+c+(q(a,Mf,0)+q(a,Gf,0))}function Sc(a){a=la(a);var b=q(a,ai,0),c=0;0==b?b=a.clientWidth:c=q(a,mh,0)+q(a,nh,0);return b+c+(q(a,Lf,0)+q(a,Kf,0))}function yg(a,b,c){var e;e=a[O];var d=0,f,j=0,j={};if(0>b||1b){var p=a.oa[0];2<=p.ba[O]&&(f=p.ba[0],d=p.ba[1],l=f)}else v=-1,t=1-b,p=a.oa[a.oa[O]-1],2<=p.ba[O]&&(f=p.ba[p.ba[O]-2],l=d=p.ba[p.ba[O]-1]);if(f!= +k&&d!=k){a=v*(d[Aa].x-f[Aa].x);b=v*(d[Aa].y-f[Aa].y);e*=t;0==b?(j.y=0,j.x=e):(j.y=n.sqrt(n.pow(e,2)/(n.pow(a,2)/n.pow(b,2)+1)),j.x=j.y*a/b);if(0a&&0>j.x)j.x*=-1;if(0b&&0>j.y)j.y*=-1;j.x+=l[Aa].x;j.y+=l[Aa].y;j.za=Ag(f[Aa],d[Aa])}}else if(0==e)j={x:a.oa[0].qa.x,y:a.oa[0].qa.y,za:0};else{if(1==b)e=a.oa,f=e[e[O]-1],j=1;else{for(j=0;jb){f=p;break}d+=p[O]}j=(b-d/e)/(f[O]/e);e=f[O]*j;for(b=a=j=0;b=f){if(b.sa=e+1,La[j][l]==b.aa)if(1==d.p&&b.fa==h){if(d=u[P].v[j].aH,f=la(j),d==h&&f.play&&(f.autoplay=h,f=f.play(),f!==g))f[qi](Hk())}else 0==d.p&&b.ja[C](d)}else break}c=[];for(e=0;e=f){if(mc[d]==b.aa){var p=v.G;b.$==m&&(p=v.z?p-t:p+t);p=na(n.max(0,p),l);nc(l,m);f=Jb(p,l,h,h,m);f==m&&ib(d,p,h)}b.ra[Ga](e,1);e--}}for(e=b.wa;e= +f)){b.wa=e+1;var p=v.z,q=v.E,s=q,r=v.G;b.$==h&&(r=p?r-t:r+t,r=na(r,l),p=!p);var y=r;if(q){f=a-f;if(f>t)s=m,f=t;else b.ra[C](v);y=p?y-f:y+f;y=na(n.max(0,y),l)}if(s){if(f=jb(r,d,h,h))continue;p&&nc(l,p);if(r!=y&&(f=jb(y,d,h,h)))continue;b.fa?(Uc(l,b.ca),Oc(d,p,m,m)):ib(d,k)}else q==m&&ib(d,k),jb(y,d,m,h);mc[d]=b.aa}}}function Jb(a,b,c,e,d){Fd=h;var f=b.ga,j=b.$?b.Ka:b.ma,l=[];a=n.min(a*b.ca,ma(b));for(var v=b.sa;v=p)&&l[C](t)}d=m;if(0==l[O]|| +e==m)Me(a,b,j);else{for(var t=e=0,q=b.fa,s=b.$,v=0;vb&&(a=d.ka.q==h?n.max(0,a-n[Pb](a/b)*b):b),d.$==h&&(a=b-a),e==h&&(a=na(a,d)),d.sa=0,d.wa=0,d.ja=[],d.ra=[],e=Sa(g)/1E3,d.ga=e-a,d.ia=e-d.ga,d.fa==h&&(z[Da](d.ta),d.ta=z[zb](function(){pc(d)},1E3*((b-a)/d.ca))),Ne(d,m),Eg(d,m),Oe(d,0),Fg(d,a),a=Jb(a,d,m,h,c),Hd(), +a}function qc(a,b){var c=ha(a);if(c==k)return 0;var e=0;c.fa==h?(e=Sa(g)/1E3-c.ga,e*=c.ca):e=c.ia;var d=ma(c);b==h&&c.$==h&&(e=d-e);e=n.max(0,e);return e=n.min(d,e)}function Fg(a,b){for(var c={},e=a.$?a.Ka:a.ma,d=0;d=b&&(c[j]==k&&(c[j]={}),t!=h&&c[j][l]==k&&(t=la(j),v==g&&(a.$==h&&0==f.d)&&(v=f.s),aa(t,l,v)),c[j][l]=h)}}}}function Oc(a,b,c,e){Jd(a);var d=ha(a);d!=k&&(c&&Uc(d,1),nc(d,b),d.fa== +m&&(d.ga!=k?d.ia==ma(d)?e&&hb(a,k,b):(d.fa=h,d.ga=Sa(g)/1E3-d.ia/d.ca,z[Da](d.ta),d.ta=z[zb](function(){pc(d)},1E3*((ma(d)-d.ia)/d.ca)),d.Qa!=h&&(Oe(d,d.ia),d.sa=0,d.wa=0,d.ja=[],d.ra=[]),Jb(d.ia/d.ca,d,m,m)):(e==h||0==d.ia)&&hb(a,k,b)),Hd())}function ib(a,b,c){for(var e in mc)mc[L](e)!=m&&mc[e]==a&&ib(e,k);Jd(a);a=ha(a);a!=k&&a.fa==h&&(Uc(a,1),a.ia=b!=k?b:Sa(g)/1E3-a.ga,a.fa=m,z[Da](a.ta),c==h&&(a.ka!=k&&a.ia==a.ka.d)&&pc(a))}function pc(a){a.ca=1;if(!Jb(ma(a),a,h,h))if(a.ka.q==h)hb(a.aa,k,a.$); +else if(oc(a),Vc!=k&&Kd==a.aa)a=Vc,Kd=Vc=k,a();else if(a={type:Df,timelineName:a.ka.n},Qa(a,k)!==m){var b=ia();if(b!=k){var c=u[Ld(rc(P))].F;c!=k&&Y(b,c.a)(a)}}}function na(a,b){return Pe(a,b.ka.f)}function Pe(a,b){var c=n[Pb](a);return c+n[db]((a-c)*b)/b}function ma(a){return na(a.ka.d,a)}function Hd(){if(Id!==h){Id=h;var a=function(a){z[zb](a,1E3/60)};(z.requestAnimationFrame||z.webkitRequestAnimationFrame||z.mozRequestAnimationFrame||a)(function(){Id=m;Dg()})}}function oc(a){z[Da](a.ta);a.sa=0; +a.wa=0;a.ja=[];a.ra=[];a.vb=k;a.ga=k;a.fa=m;a.ca=1;a.ia=ma(a);a=$a[qb](a);-1!=a&&$a[Ga](a,1)}function Gg(a){for(var b=0;b<$a[O];b++){var c=$a[b];if(!(a!=k&&c.aa==a.aa))for(var e=0;e=b&&(Ma[f]===g||Ma[f][j]===g||Ma[f][j]==a.aa))La[f][j]=a.aa}Gg(a)}function hb(a,b,c){Jd(a);for(var e=0;ec;c++)b[c]=16*d[qb](a[Qb](c*(1+e)))+d[qb](a[Qb](c*(1+e)+e))}return b}function Le(a){typeof a!=Bj&&(a=ba(a));return isNaN(a)? +0:a}function Mg(a,b,c){Nd=m;c!=k&&delete u[P].T[c];ja(b[H],Uh);aa(b,Mh,0,rh,0);Ra(b,mf,td);aa(b,yh,0,$f,0,Ek,1,Fi,1);c=u[P].a;c!=k?(ga(b[H],yd),ga(G[H],c+Bc)):(ga(b[H],E(u[P].Y)),ga(G[H],b[H][Oa]));c=u[P].b;c!=k?(ka(b[H],yd),ka(G[H],c+Bc)):(ka(b[H],E(u[P].Z)),ka(G[H],b[H][pb]));Ib[G.id]=k;Ib[b.id]=k;for(c=0;ct;t++)for(var p=0;pn.abs(c.x-Yc[b].x)&&25>n.abs(c.y-Yc[b].y)&&(a.stopPropagation(),a[Ha]())}}function Sg(a){var b=[],c=u[P].U,e;for(e in c)c[L](e)!=m&&c[e].n==a&&b[C](ub[e]);return b}function ng(a){var b={type:Ef,customBehaviorName:a},c=Rd[a];if(c!=k)for(var e=0;e=e;e++)c[C]({start:{x:0,y:0},end:{x:0,y:0},lastPosition:{x:0, +y:0}});a.Ca=c;a.Fa=g;a.Wa=m;var c=a.ha?b[Ab][0]:b,d;d=function(b){Se(a);a.ua=pi;Ud(b,a)};a.la=d;b=a.ha?a.xa:B;a.ha?xa(pk,a.la,b,m):z.self!=z.top&&xa(uj,function(a){(a.relatedTarget===B.documentElement||a.toElement===k)&&d(a)},b,m);c=Qd(c);e=a.Ca[0];e[Fb].x=c.x;e.end.x=c.x;e[sa].x=c.x;e[Fb].y=c.y;e.end.y=c.y;e[sa].y=c.y;Wg(a,c);a.ab=function(b){if(!(a.ua===Hi||a.ua===pi))if(Td==h)a.la(b);else{var c=a[Db];if(a.Pa==m==h&&(Sd++,a.Pa=h,c.da==Di)){$c==h&&a.la(b);a.xa!=B&&($c=h);if(c.na!=k)for(var d=0;d< +c.na[O];d++){var e=c.na[d].b,t=ha(e);ib(e,k);nc(t,m);a.lb=qc(t.aa,m);for(var p=t.ma,u=0;uu,(A||c== +m||$c==h)&&a.la(b)):c.da==ik&&5=R?lj:Uj:0>=R&&-180<=R?xk:Ci)!=x,w=r/D;else{x=s=qc(p.aa,m);for(r=D=0;rc.Ma?(b={type:zf+c[Ob][Qb](0).toUpperCase()+c[Ob][Va](1)+ne},a.bb(b)):a.la(b)):c.da==ik?1500>p&&a.bb(b):a.la(b);Se(a)}}};xa(a.ha?qk:wj,a.$a,b,m);b.setCapture&&b.setCapture();a.Oa=Sa();a.Ya=a.Oa;$c=Td=a.Pa=m}}}function Se(a){if(a.Wa!=h){a.Wa=h;Ma={};var b=a.ha?a.xa:B;b.releaseCapture&&b.releaseCapture();ad(a.ha?rk:tj,a.ab,b);ad(a.ha?qk: +wj,a.$a,b);a.ha?ad(pk,a.la,b):ad(uj,a.la,b);a[Db].da==Di&&($c=m);a.Pa==h&&Sd--}}function Ud(a,b){b[Db].nb==h&&(a.hypeGesturePhase=b.ua,a.hypeGestureXPosition=b.Ca[0].end.x,a.hypeGestureYPosition=b.Ca[0].end.y,b.bb(a))}function ad(a,b,c){c[Rb]?c[Rb](a,b,m):c[Ca]&&c[Ca](Cj+a,b)}function xa(a,b,c,e){var d={eventType:a,handler:b,element:c};e&&Wd[C](d);c[Fa]?c[Fa](a,b,x.Za?{passive:m}:m):c[mb]&&c[mb](Cj+a,b);qg(c)}function Qd(a){var b={};if(a.pageX||a.pageY)b.x=a.pageX,b.y=a.pageY;else if(a[gb]||a[lb])b.x= +a[gb]+B[Xa].scrollLeft+B.documentElement.scrollLeft,b.y=a[lb]+B[Xa].scrollTop+B.documentElement.scrollTop;return b}function Yg(a){var b;0==a.c?0==a.A?b=Uj:1==a.A&&(b=lj):1==a.c&&(0==a.A?b=xk:1==a.A&&(b=Ci));return b}function Wg(a,b){var c=a[Db],e=c[Ob]==Uj||c[Ob]==lj?b.x:b.y;a.Fa=a.Fa==g?e:c[Ob]==Uj||c[Ob]==Ci?n.max(a.Fa,e):n.min(a.Fa,e)}function Xg(a,b,c){a=n[db](180*n.atan2(b.y-a.y,b.x-a.x)/n.PI);c=n.min(45,45*c/2E3);if(a>=135+c||a<=-135-c)return lj;if(a<=45-c&&a>=-45+c)return Uj;if(a<-45-c&&a> +-135+c)return xk;if(a>45+c&&a<135-c)return Ci}function Zg(a){a=Xd[a];if(a!=k){for(var b=1=Lb[O]&&ah()}function ah(){zd!=k&&zd(m,G);if(Qa({type:tf}, +G)!==m)if(-1==Ae)Nc(Ka);else{sc=h;for(var a=-1,b=0;bc&&(c=a),ga(G[H],E(c)),Ib[G.id]=k,G[H].margin==xh&&aa(b,$f,n.max(0,(lb&&(b=j),ka(G[H],E(b)))}function ae(a){var b= +G[V].offsetHeight,c=u[a].b;return c!=k?c/100*b:u[a].Z}function $d(a){var b=G[V][eb],c=u[a].a;return c!=k?c/100*b:u[a].Y}function Yd(a,b,c,e){if(!(rc(a)==k||Nd==h)){c==k&&(c=1.1);c=Pe(c,60);Nd=h;var d=function(){e!=k&&e();Ta=[];Rd={};var d=ia();jc=u[a].a!=k||u[a].b!=k?h:m;var f=rc(a),j=P,l=ia();if(l!=k)for(var l=l[Ia](Bk),p=0;pE&&(E=Q[H][Ub]))}else v[C]([N,p]);if(S[p].gb==m){Rg(Q,h);S[p].gb=h;p=Wc(Q);for(U=0;Ul?F:l,I[ca].a=0,I[ca].b=0)):(Zd(d,$,h,m),F!=l&&(wb(s,vi,0,X,ai,ca,F,l),I[ca]={}, +I[ca].c=r>W?r:W,I[ca].d=F,I[ca].a=0,I[ca].b=0)),j=$f,f=W,p=-1*W,5==b?(f=-1*r,p=r):6==b?(j=yh,f=-1*F,p=F):7==b&&(j=yh,f=l,p=-1*l),d!=k&&(t=M[d.id],aa(d,ai,r,vi,F),wb(s,j,0,X,ai,t,0,f)),wb(s,j,0,X,ai,M[$.id],p,0),aa($,ai,W,vi,l,j,p),bh(lf,X,s,d,$),ja($[H],Uh)):(Zd(d,$,m,m),Mg(d,$,k));Mb()},f=m,j=ia();j[bb](wh);if(ch==h&&j!=k){var j=Ld(rc(P)),l={type:yf};if(Qa(l,ia())!==m){var v=u[j].B;if(v!=k){for(var t=v.a,p=Y(ia(),t),v=0;v=a.y?90:-90:180*n.atan((b.y-a.y)/(b.x-a.x))/n.PI;b.xe);d++)c=b[d]._}b=u[c].n;e=Qa({type:uf,layoutName:b,sceneName:a.n},G);typeof e===ck&&e!=b&&(a=eh(e,a),-1!=a&&(c=a));return c}function tg(a){var b=xb[rc(P)];a!=k&&(b=xb[a]);a=Ib[b];a==k&&(a=B[ob](b),a={width:a[eb],height:a.offsetHeight}, +Ib[b]=a);return a}function sg(a){var b=0,c=0;a==k?(b=B[ob](xb[a]),a=kb(b),b=u[a].Y,c=u[a].Z):(b=Sc(a),c=Tc(a));return{width:b,height:c}}function Fe(a){return(x.va!=k||3.5<=x.Na||10<=x.ea)&&q(a,mf)==wd}function Cg(){Fd=m;Ie=h;for(var a=0;ac;c++)var e=n[Pb](n.random()*b[O]),a=a+b.substring(e,e+1);return a}function Pc(a){z.console&&z.console.log(a)}var T=this,G=B[ob](ca),Od=[li,mi],Xc=[ag,dg,cg,eg,bg,Jh,fg,gg,Ph,ki],Hg=[nk,Gk,mk,Ri,ti,Fk,$j],Lg={top:{HYP_r:yh},left:{HYP_r:$f},width:{HYP_r:ai},height:{HYP_r:vi},"background-image":{HYP_x:h,HYP_r:oi}, +rotateZ:{HYP_r:Ki,HYP_s:0},scaleX:{HYP_r:ii,HYP_s:1},scaleY:{HYP_r:ji,HYP_s:1},"z-index":{HYP_r:Ek},opacity:{HYP_r:Fi,HYP_s:1}},Ka=0,P=0,Ta=[],$a=[],La={},Ma={},mc={},ub={},S={},Id=m,Xd={},Lb=[],I={},Qe={},Zc=[],tc={},Vc=k,Kd=k,xb={},M={},$e={},kh=0,Nd=m,Wd=[],Je={},lc={},ch=m,jc=m,Fd=m,Ie=m,Rc=[],Ib={},Rd={},We={d:[[0,0,0.42,0,1,1,1,1]],e:[[0,0,0,0,0.58,1,1,1]],c:[[0,0,0.42,0,0.58,1,1,1]]},sc=m,Xe=m,Mc=z.HYPE_w_754,Bd=[],Ye=m,Gd=k;T.Xa=vd;T.pa=ld;var $c=m,Sd=0,Td=m,Yc=[];T.z_o=function(){0==kh&& +(kh=Ze());zd!=k&&zd(h,G);Ad=Ad&&x.va!=k;x.Ja!=k&&B[Xa][Fa](rk,Hk(),x.Za?{passive:m}:m);xb[ca]=ca;M[ca]=ca;$e[ca]=ca;for(var a=0;ax.ea&&(d.perspective=c.p);G[cb](e);var d=c.v,l;for(l in d)if(d[L](l)!=m&&(f=d[l],(j=f.cL)&&S[j]==k)){var q=c.T,t=[],p;for(p in q)if(q[L](p)!=m){var w=c.T[p],s=w.a;w.s==j&&(w=Md(p,s,w,j),t[C](w))}q=ih(c,f,l,[ye,Ff]);if(x.Ta==h&&(x.ea==k|| +11<=x.ea))w=hh(q,f,c.p),w[Sb](gf,c._),a[cb](w);else a[cb](q);S[j]={element:q,kb:t,ob:f.cS,gb:m,cb:[]}}t=c.O;for(s=0;sx.jb&&(a[H][cj]=md),a[H][hd]=zj)},aF:function(a,b){a[H].cssText+=Vb+b},dY:function(a,b){if(!(a.tagName.toLowerCase()!=bj&&q(a,Uf)!=k))for(var c=0;cx.ea){var c=function(b){b=b?b:z[fb];if(a[H][Lj]==Aj){var c=a[H][Pa];ja(a[H],Aj);var f=B.elementFromPoint(b[gb],b[lb]);ja(a[H],c?c:Z);B.createEvent&&(b[Ha](),c=B.createEvent(If),c.initMouseEvent(b[ua],b.bubbles,b.cancelable,b.view,b.detail,b.screenX,b.screenY,b[gb],b[lb],b[nb],b.altKey,b.shiftKey,b.metaKey,b[Wa],k),f.dispatchEvent(c))}};xa(Hf,c,a,h);xa(wj,c,a,h);xa(sj,c,a,h);xa(ri,c,a,h)}}};T.API={kSceneTransitionInstant:1,kSceneTransitionCrossfade:2,kSceneTransitionSwap:3,kSceneTransitionPushLeftToRight:4, +kSceneTransitionPushRightToLeft:5,kSceneTransitionPushBottomToTop:6,kSceneTransitionPushTopToBottom:7,kHypeGesturePhaseStart:bk,kHypeGesturePhaseMove:xj,kHypeGesturePhaseEnd:Hi,kHypeGesturePhaseCancel:pi,documentName:function(){return Q},documentId:function(){return ca},sceneNames:Ve,customData:{},currentSceneName:function(){return Ba[Ka].n},currentSceneId:function(){return ia().id},layoutsForSceneNamed:function(a){a=a!=k?Ve()[qb](a):Ka;return Ue(Ba[a])},currentLayoutName:function(){return u[P].n}, +showLayoutNamed:function(a){a=eh(a,Ba[Ka]);-1!=a&&(sc=h,Yd(a,1,0))},showSceneNamed:function(a,b,c){var e=Ve();Nc(e[qb](a),b,c)},showNextScene:function(a,b){Nc(Ka+1,a,b)},showPreviousScene:function(a,b){Nc(Ka-1,a,b)},playTimelineNamed:Jg,startTimelineNamed:Jg,goToTimeInTimelineNamed:function(a,b){var c=vb(b);jb(a,c,m,m)},pauseTimelineNamed:function(a){a=vb(a);ib(a,k)},continueTimelineNamed:function(a,b,c){a=vb(a);b==g&&(b=0);Oc(a,1==b?h:m,h,c)},getElementById:function(a){var b=$e[a];b==k&&(b=a);return B[ob](b)}, +setElementProperty:function(a,b,c,e,d){var f={easein:vi,easeout:Fi,easeinout:ai,linear:yh},j=Lg[b];if(j!=k&&(j.HYP_x!=h&&(c=Le(c)),Kg(a,b)!=c)){b=j.HYP_r;var l=M[a.id],j=Z+l+b,q=[Ek,oi];0 + + + + + + + + diff --git a/simpleAni/simpleAni.hyperesources/blank.gif b/simpleAni/simpleAni.hyperesources/blank.gif new file mode 100644 index 0000000..f191b28 Binary files /dev/null and b/simpleAni/simpleAni.hyperesources/blank.gif differ diff --git a/simpleAni/simpleAni.hyperesources/simpleani_hype_generated_script.js b/simpleAni/simpleAni.hyperesources/simpleani_hype_generated_script.js new file mode 100644 index 0000000..d712aa9 --- /dev/null +++ b/simpleAni/simpleAni.hyperesources/simpleani_hype_generated_script.js @@ -0,0 +1,7 @@ +// HYPE.documents["simpleAni"] + +(function(){(function m(){function k(a,b,c,d){var e=!1;null==window[a]&&(null==window[b]?(window[b]=[],window[b].push(m),a=document.getElementsByTagName("head")[0],b=document.createElement("script"),e=l,false==!0&&(e=""),b.type="text/javascript",""!=d&&(b.integrity=d,b.setAttribute("crossorigin","anonymous")),b.src=e+"/"+c,a.appendChild(b)):window[b].push(m),e=!0);return e}var l="simpleAni.hyperesources",f="simpleAni",g="simpleani_hype_container";if(false== +!1)try{for(var c=document.getElementsByTagName("script"),a=0;ac;a=!0==d?"HYPE-754.full.min.js":"HYPE-754.thin.min.js";c=!0==d?"F":"T"; +d=d?"":"";if(false==!1&&(a=k("HYPE_754"+c,"HYPE_dtl_754"+c,a,d),false==!0&&(a=a||k("HYPE_w_754","HYPE_wdtl_754","HYPE-754.waypoints.min.js","")),false==!0&&(a=a||k("Matter","HYPE_pdtl_754","HYPE-754.physics.min.js","")),a))return;d=window.HYPE.documents;if(null!=d[f]){b=1;a=f;do f=""+a+"-"+b++;while(null!=d[f]);for(var e= +document.getElementsByTagName("div"),b=!1,a=0;a