Skip to content

armgit / GSAP

Public Imported from GitHub
0

GSAP (GreenSock Animation Platform): high-performance JavaScript animation for anything JavaScript can touch. 100% free, including every plugin.

Fixed Firefox bug

Jack Doyle7a65b088c892
diff --git a/src/minified/TweenMax.min.js b/src/minified/TweenMax.min.js
index 7875c55..8d59bae 100755
--- a/src/minified/TweenMax.min.js
+++ b/src/minified/TweenMax.min.js
@@ -1,6 +1,6 @@
/**
- * VERSION: beta 1.668
- * DATE: 2013-01-01
+ * VERSION: beta 1.669
+ * DATE: 2013-01-02
* JavaScript (ActionScript 3 and 2 also available)
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -12,7 +12,7 @@
*
* @author: Jack Doyle, [email protected]
**/
-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(r,k,h){var q=function(g,d,a){h.call(this,g,d,a);this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},l=q.prototype=h.to({},0.1,{}),b=[];q.version=1.668;l.constructor=q;l.kill()._gc=!1;q.killTweensOf=q.killDelayedCallsTo=h.killTweensOf;q.getTweensOf=h.getTweensOf;q.ticker=h.ticker;
+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(r,k,h){var q=function(g,d,a){h.call(this,g,d,a);this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},l=q.prototype=h.to({},0.1,{}),b=[];q.version=1.669;l.constructor=q;l.kill()._gc=!1;q.killTweensOf=q.killDelayedCallsTo=h.killTweensOf;q.getTweensOf=h.getTweensOf;q.ticker=h.ticker;
l.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return h.prototype.invalidate.call(this)};l.updateTo=function(g,d){var a=this.ratio,f;d&&(null!=this.timeline&&this._startTime<this._timeline._time)&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(f in g)this.vars[f]=g[f];if(this._initted)if(d)this._initted=
!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&h._onPluginEvent("_onDisable",this),0.998<this._time/this._duration)a=this._time,this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1);else if(0<this._time){this._initted=!1;this._init();a=1/(1-a);f=this._firstPT;for(var u;f;)u=f.s+f.c,f.c*=a,f.s=u-f.c,f=f._next}return this};l.render=function(g,d,a){var f=!this._dirty?this._totalDuration:this.totalDuration(),u=this._time,c=this._totalTime,t=this._cycle,v,E;if(g>=f){if(this._totalTime=f,
this._cycle=this._repeat,this._yoyo&&0!==(this._cycle&1)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(v=!0,E="onComplete"),0===this._duration){if(0===g||0>this._rawPrevTime)this._rawPrevTime!==g&&(a=!0);this._rawPrevTime=g}}else if(0>=g){this._totalTime=this._time=this._cycle=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==c||0===this._duration&&0<this._rawPrevTime)E=
@@ -72,7 +72,7 @@ this._s2=this._curSeg[0];this._prec=1/this._curSeg.length}if(b=this._autoRotate)
c&&(this._l2=h[++g])<=a;);this._l1=h[g-1];this._li=g;this._curSeg=k=this._segments[g];this._s2=k[this._s1=this._si=0]}else if(a<this._l1&&0<g){for(;0<g&&(this._l1=h[--g])>=a;);0===g&&a<this._l1?this._l1=0:g++;this._l2=h[g];this._li=g;this._curSeg=k=this._segments[g];this._s1=k[(this._si=k.length-1)-1]||0;this._s2=k[this._si]}h=g;a-=this._l1;g=this._si;if(a>this._s2&&g<k.length-1){for(c=k.length-1;g<c&&(this._s2=k[++g])<=a;);this._s1=k[g-1];this._si=g}else if(a<this._s1&&0<g){for(;0<g&&(this._s1=k[--g])>=
a;);0===g&&a<this._s1?this._s1=0:g++;this._s2=k[g];this._si=g}k=(g+(a-this._s1)/(this._s2-this._s1))*this._prec}else h=0>a?0:1<=a?c-1:c*a>>0,k=(a-h*(1/c))*c;c=1-k;for(g=this._props.length;-1<--g;)if(a=this._props[g],l=this._beziers[a][h],n=(k*k*l.da+3*c*(k*l.ca+c*l.ba))*k+l.a,this._round[a]&&(n=n+(0<n?0.5:-0.5)>>0),b[a])d[a](n);else d[a]=n;if(this._autoRotate){var c=this._autoRotate,r,t,A,y,j;for(g=c.length;-1<--g;)a=c[g][2],y=c[g][3]||0,j=!0===c[g][4]?1:q,l=this._beziers[c[g][0]][h],n=this._beziers[c[g][1]][h],
r=l.a+(l.b-l.a)*k,t=l.b+(l.c-l.b)*k,r+=(t-r)*k,t+=(l.c+(l.d-l.c)*k-t)*k,l=n.a+(n.b-n.a)*k,A=n.b+(n.c-n.b)*k,l+=(A-l)*k,A+=(n.c+(n.d-n.c)*k-A)*k,n=Math.atan2(A-l,t-r)*j+y,b[a]?b[a].call(d,n):d[a]=n}};h._roundProps=function(a,c){for(var b=this._overwriteProps,d=b.length;-1<--d;)if(a[b[d]]||a.bezier||a.bezierThrough)this._round[b[d]]=c};h._kill=function(a){var c=this._props,b,d;for(b in this._beziers)if(b in a){delete this._beziers[b];delete this._func[b];for(d=c.length;-1<--d;)c[d]===b&&c.splice(d,
-1)}return r.prototype._kill.call(this,a)};r.activate([k]);return k},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(r){var k=function(){r.call(this,"css");this._overwriteProps.length=0},h,q,l,b,t={},c=k.prototype=new r("css");c.constructor=k;k.version=1.667;k.API=2;k.defaultTransformPerspective=0;c="px";k.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c};var a=/(?:\d|\-\d|\.\d|\-\.\d)+/g,g=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
+1)}return r.prototype._kill.call(this,a)};r.activate([k]);return k},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(r){var k=function(){r.call(this,"css");this._overwriteProps.length=0},h,q,l,b,t={},c=k.prototype=new r("css");c.constructor=k;k.version=1.669;k.API=2;k.defaultTransformPerspective=0;c="px";k.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c};var a=/(?:\d|\-\d|\.\d|\-\.\d)+/g,g=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
d=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,A=/[^\d\-\.]/g,f=/(?:\d|\-|\+|=|#|\.)*/g,u=/opacity *= *([^)]*)/,X=/opacity:([^;]*)/,Q=/alpha\(opacity *=.+?\)/i,v=/([A-Z])/g,E=/-([a-z])/gi,s=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,C=function(a,e){return e.toUpperCase()},n=/(?:Left|Right|Width)/i,T=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,L=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,J=Math.PI/180,y=180/Math.PI,j={},B=document,x=B.createElement("div"),G=B.createElement("img"),z=k._internals=
{_specialProps:t},w=navigator.userAgent,R,e,m,p,F,I,D,aa=w.indexOf("Android"),Y=B.createElement("div");F=(m=-1!==w.indexOf("Safari")&&-1===w.indexOf("Chrome")&&(-1===aa||3<Number(w.substr(aa+8,1))))&&6>Number(w.substr(w.indexOf("Version/")+8,1));p=-1!==w.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(w);I=parseFloat(RegExp.$1);Y.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";D=(w=Y.getElementsByTagName("a")[0])?/^0.55/.test(w.style.opacity):!1;var la=function(a){return u.test("string"===
typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},ma="",ga="",ba=function(a,e){e=e||x;var c=e.style,b,d;if(void 0!==c[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);b=["O","Moz","ms","Ms","Webkit"];for(d=5;-1<--d&&void 0===c[b[d]+a];);return 0<=d?(ga=3===d?"ms":b[d],ma="-"+ga.toLowerCase()+"-",ga+a):null},ca=B.defaultView?B.defaultView.getComputedStyle:function(){},M=k.getStyle=function(a,e,c,b,d){var j;if(!D&&"opacity"===e)return la(a);!b&&a.style[e]?
@@ -100,40 +100,40 @@ q;b.z=n}}else if(!U||0===p.length||b.x!==p[4]||b.y!==p[5]||!b.rotationX&&!b.rota
n=(h-b.skewX)%Math.PI;if(void 0===b.skewX||1E-6<l||-1E-6>l||1E-6<q||-1E-6>q||1E-6<d||-1E-6>d||1E-6<n||-1E-6>n)b.scaleX=f,b.scaleY=g,b.rotation=j,b.skewX=h;U&&(b.rotationX=b.rotationY=b.z=0,b.perspective=parseFloat(k.defaultTransformPerspective)||0,b.scaleZ=1)}b.zOrigin=m;for(e in b)1E-6>b[e]&&-1E-6<b[e]&&(b[e]=0);c&&(a._gsTransform=b);return b},wa=function(a){var e=this.data,b=-e.rotation,c=b+e.skewX,d=(1E5*Math.cos(b)*e.scaleX>>0)/1E5,b=(1E5*Math.sin(b)*e.scaleX>>0)/1E5,j=(1E5*Math.sin(c)*-e.scaleY>>
0)/1E5,c=(1E5*Math.cos(c)*e.scaleY>>0)/1E5,p=this.t.style,m=this.t.currentStyle,h,g;if(m){g=b;b=-j;j=-g;h=m.filter;p.filter="";var l=this.t.offsetWidth;g=this.t.offsetHeight;var k="absolute"!==m.position,q="progid:DXImageTransform.Microsoft.Matrix(M11="+d+", M12="+b+", M21="+j+", M22="+c,n=e.x,F=e.y,t,D;null!=e.ox&&(t=(e.oxp?0.01*l*e.ox:e.ox)-l/2,D=(e.oyp?0.01*g*e.oy:e.oy)-g/2,n+=t-(t*d+D*b),F+=D-(t*j+D*c));if(k)t=l/2,D=g/2,q+=", Dx="+(t-(t*d+D*b)+n)+", Dy="+(D-(t*j+D*c)+F)+")";else{var r=8>I?1:-1;
t=e.ieOffsetX||0;D=e.ieOffsetY||0;e.ieOffsetX=Math.round((l-((0>d?-d:d)*l+(0>b?-b:b)*g))/2+n);e.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>j?-j:j)*l))/2+F);for(O=0;4>O;O++)l=ua[O],g=m[l],g=-1!==g.indexOf("px")?parseFloat(g):S(this.t,l,parseFloat(g),g.replace(f,""))||0,n=g!==e[l]?2>O?-e.ieOffsetX:-e.ieOffsetY:2>O?t-e.ieOffsetX:D-e.ieOffsetY,p[l]=(e[l]=Math.round(g-n*(0===O||2===O?1:r)))+"px";q+=", sizingMethod='auto expand')"}p.filter=-1!==h.indexOf("DXImageTransform.Microsoft.Matrix(")?h.replace(L,
-q):q+" "+h;if(0===a||1===a)if(1===d&&0===b&&0===j&&1===c&&(!k||-1!==q.indexOf("Dx=0, Dy=0")))(!u.test(h)||100===parseFloat(RegExp.$1))&&-1===h.indexOf("gradient(")&&p.removeAttribute("filter")}},xa=function(){var a=this.data,e=this.t.style,b=a.perspective,c=a.scaleX,d=0,j=0,m=0,g=0,h=a.scaleY,f=0,l=0,q=0,k=0,n=a.scaleZ,F=0,I=0,t=0,D=b?-1/b:0,r=a.rotation,u=a.zOrigin,s,v,w,x,B;p&&(v=e.top+"",s=parseFloat(v)||0,v=v.substr((s+"").length),a._ffFix=!a._ffFix,e.top=(a._ffFix?s+0.05:s-0.05)+(""===v?"px":
-v));r&&(s=Math.cos(r),r=Math.sin(r),w=h*r,d=c*-r,h*=s,c*=s,g=w);if(r=a.rotationY)s=Math.cos(r),r=Math.sin(r),x=n*-r,B=D*-r,j=c*r,f=g*r,n*=s,D*=s,c*=s,g*=s,q=x,I=B;if(r=a.rotationX)s=Math.cos(r),r=Math.sin(r),v=d*s+j*r,w=h*s+f*r,x=k*s+n*r,B=t*s+D*r,j=d*-r+j*s,f=h*-r+f*s,n=k*-r+n*s,D=t*-r+D*s,d=v,h=w,k=x,t=B;u&&(F-=u,m=j*F,l=f*F,F=n*F+u);m+=a.x;l+=a.y;F=(1E5*(F+a.z)>>0)/1E5;e[P]="matrix3d("+(1E5*c>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*q>>0)/1E5+","+(1E5*I>>0)/1E5+","+(1E5*d>>0)/1E5+","+(1E5*h>>0)/1E5+
-","+(1E5*k>>0)/1E5+","+(1E5*t>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*f>>0)/1E5+","+(1E5*n>>0)/1E5+","+(1E5*D>>0)/1E5+","+(1E5*m>>0)/1E5+","+(1E5*l>>0)/1E5+","+F+","+(b?1+-F/b:1)+")"},ya=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[P]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var e=a.rotation,b=e-a.skewX,c=(1E5*Math.cos(e)*a.scaleX>>0)/1E5,e=(1E5*Math.sin(e)*a.scaleX>>0)/1E5,d=(1E5*Math.sin(b)*-a.scaleY>>0)/1E5,b=(1E5*Math.cos(b)*a.scaleY>>0)/1E5;this.t.style[P]=
-"matrix("+c+","+e+","+d+","+b+","+a.x+","+a.y+")"}};K("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,e,b,c,d,p,m){if(c._transform)return d;e=c._transform=da(a,l,!0);var g=a.style,h=ra.length,f,q,k,n,F;if("string"===typeof m.transform&&P)q=g[P],g[P]=m.transform,f=da(a,null,!1),g[P]=q;else if("object"===typeof m){q=null!=m.rotation?m.rotation:
-null!=m.rotationZ?m.rotationZ:e.rotation*y;f={scaleX:V(null!=m.scaleX?m.scaleX:m.scale,e.scaleX),scaleY:V(null!=m.scaleY?m.scaleY:m.scale,e.scaleY),scaleZ:V(null!=m.scaleZ?m.scaleZ:m.scale,e.scaleZ),x:V(m.x,e.x),y:V(m.y,e.y),z:V(m.z,e.z),perspective:V(m.transformPerspective,e.perspective)};f.rotation=null!=m.shortRotation||null!=m.shortRotationZ?ja(m.shortRotation||m.shortRotationZ||0,e.rotation):"number"===typeof q?q*J:Z(q,e.rotation);U&&(f.rotationX=null!=m.shortRotationX?ja(m.shortRotationX,e.rotationX):
-"number"===typeof m.rotationX?m.rotationX*J:Z(m.rotationX,e.rotationX),f.rotationY=null!=m.shortRotationY?ja(m.shortRotationY,e.rotationY):"number"===typeof m.rotationY?m.rotationY*J:Z(m.rotationY,e.rotationY),1E-6>f.rotationX&&-1E-6<f.rotationX&&(f.rotationX=0),1E-6>f.rotationY&&-1E-6<f.rotationY&&(f.rotationY=0));f.skewX=null==m.skewX?e.skewX:"number"===typeof m.skewX?m.skewX*J:Z(m.skewX,e.skewX);f.skewY=null==m.skewY?e.skewY:"number"===typeof m.skewY?m.skewY*J:Z(m.skewY,e.skewY);if(q=f.skewY-e.skewY)f.skewX+=
-q,f.rotation+=q;1E-6>f.skewY&&-1E-6<f.skewY&&(f.skewY=0);1E-6>f.skewX&&-1E-6<f.skewX&&(f.skewX=0);1E-6>f.rotation&&-1E-6<f.rotation&&(f.rotation=0)}n=e.z||e.rotationX||e.rotationY||f.z||f.rotationX||f.rotationY||f.perspective;!n&&null!=f.scale&&(f.scaleZ=1);for(;-1<--h;)if(b=ra[h],k=f[b]-e[b],1E-6<k||-1E-6>k||null!=j[b])F=!0,d=new N(e,b,e[b],k,d),d.xs0=0,d.plugin=p,c._overwriteProps.push(d.n);if((k=m.transformOrigin)||U&&n&&e.zOrigin)P?(F=!0,k=(k||M(a,b,l,!1,"50% 50%"))+"",b=sa,d=new N(g,b,0,0,d,
--1,"css_transformOrigin"),d.b=g[b],d.plugin=p,U?(q=e.zOrigin,k=k.split(" "),e.zOrigin=(2<k.length?parseFloat(k[2]):q)||0,d.xs0=d.e=g[b]=k[0]+" "+(k[1]||"50%")+" 0px",d=new N(e,"zOrigin",0,0,d,-1,d.n),d.b=q,d.xs0=d.e=e.zOrigin):d.xs0=d.e=g[b]=k):ia(k+"",e);F&&(c._transformType=n||3===this._transformType?3:2);return d},!0);K("boxShadow","0px 0px 0px 0px #999",null,!0,!0);K("borderRadius","0px",function(a,e,b,c,d){e=this.format(e);c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius",
-"borderBottomLeftRadius"];var m=a.style,j,p,f,g,h,k,n,F,r,D,s,I;F=parseFloat(a.offsetWidth);r=parseFloat(a.offsetHeight);e=e.split(" ");for(j=0;j<c.length;j++)this.p.indexOf("border")&&(c[j]=ba(c[j])),g=f=M(a,c[j],l,!1,"0px"),-1!==g.indexOf(" ")&&(f=g.split(" "),g=f[0],f=f[1]),h=p=e[j],k=parseFloat(g),s=g.substr((k+"").length),(I="="===h.charAt(1))?(n=parseInt(h.charAt(0)+"1",10),h=h.substr(2),n*=parseFloat(h),D=h.substr((n+"").length-(0>n?1:0))||""):(n=parseFloat(h),D=h.substr((n+"").length)),""===
-D&&(D=q[b]||s),D!==s&&(g=S(a,"borderLeft",k,s),k=S(a,"borderTop",k,s),"%"===D?(g=100*(g/F)+"%",f=100*(k/r)+"%"):"em"===D?(s=S(a,"borderLeft",1,"em"),g=g/s+"em",f=k/s+"em"):(g+="px",f=k+"px"),I&&(h=parseFloat(g)+n+D,p=parseFloat(f)+n+D)),d=fa(m,c[j],g+" "+f,h+" "+p,!1,"0px",d);return d},!0,!1,pa("0px 0px 0px 0px",!1,!0));K("backgroundPosition","0 0",function(a,e,b,c,d,j){b=l||ca(a,null);b=this.format((b?I?b.getPropertyValue("background-position-x")+" "+b.getPropertyValue("background-position-y"):b.getPropertyValue("background-position"):
-a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");e=this.format(e);var m,p,f,g;if(-1!==b.indexOf("%")!==(-1!==e.indexOf("%"))){c=b.split(" ");m=e.split(" ");G.setAttribute("src",M(a,"backgroundImage").replace(s,""));for(p=2;-1<--p;)b=c[p],f=-1!==b.indexOf("%"),f!==(-1!==m[p].indexOf("%"))&&(g=0===p?a.offsetWidth-G.width:a.offsetHeight-G.height,c[p]=f?parseFloat(b)/100*g+"px":100*(parseFloat(b)/g)+"%");b=c.join(" ")}return this.parseComplex(a.style,b,e,d,j)},!1,!1,
-ia);K("backgroundSize","0 0",null,!1,!1,ia);K("perspective","0px",null,!0);K("perspectiveOrigin","50% 50%",null,!0);K("transformStyle","preserve-3d",null,!0);K("backfaceVisibility","visible",null,!0);K("margin",null,w("marginTop,marginRight,marginBottom,marginLeft"));K("padding",null,w("paddingTop,paddingRight,paddingBottom,paddingLeft"));K("clip","rect(0px,0px,0px,0px)");K("textShadow","0px 0px 0px #999",null,!1,!0);K("autoRound",null,function(a,e,b,c,d){return d});K("border","0px solid #000",function(a,
-e,b,c,d,j){return this.parseComplex(a.style,this.format(M(a,"borderTopWidth",l,!1,"0px")+" "+M(a,"borderTopStyle",l,!1,"solid")+" "+M(a,"borderTopColor",l,!1,"#000")),this.format(e),d,j)},!1,!0,function(a){var e=a.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(a.match(W)||["#000"])[0]});var za=function(a){var e=this.t,b=e.filter;a=this.s+this.c*a>>0;var c;100===a&&(-1===b.indexOf("atrix(")&&-1===b.indexOf("radient(")?(e.removeAttribute("filter"),c=!M(this.data,"filter")):(e.filter=b.replace(Q,""),
-c=!0));c||(this.xn1&&(e.filter=b=b||"alpha(opacity=100)"),e.filter=-1===b.indexOf("opacity")?e.filter+(" alpha(opacity="+a+")"):b.replace(u,"opacity="+a))};K("opacity,alpha,autoAlpha","1",function(a,e,b,c,d,j){var m=parseFloat(M(a,"opacity",l,!1,"1")),p=a.style,f;e=parseFloat(e);"autoAlpha"===b&&(f=M(a,"visibility",l),1===m&&("hidden"===f&&0!==e)&&(m=0),d=new N(p,"visibility",0,0,d,-1,null,!1,0,0!==m?"visible":"hidden",0===e?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));D?d=new N(p,
-"opacity",m,e-m,d):(d=new N(p,"opacity",100*m,100*(e-m),d),d.xn1="autoAlpha"===b?1:0,p.zoom=1,d.type=2,d.b="alpha(opacity="+d.s+")",d.e="alpha(opacity="+(d.s+d.c)+")",d.data=a,d.plugin=j,d.setRatio=za);return d});var Aa=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var e=this.t.style,b=e.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)e[a.p]=a.v;else e[b](a.p.replace(v,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=
-this.b)};K("className",null,function(a,e,b,c,d,m,j){var p=a.className,f=a.style.cssText;d=c._classNamePT=new N(a,b,0,0,d,2);d.setRatio=Aa;d.b=p;d.e="="!==e.charAt(1)?e:"+"===e.charAt(0)?p+" "+e.substr(2):p.split(e.substr(2)).join("");c._tween._duration&&(e=ea(a,l,!0),a.className=d.e,j=na(a,e,ea(a),j),a.className=p,d.data=j.firstMPT,a.style.cssText=f,d=d.xfirst=c.parse(a,j.difs,d,m));return d});c=["bezier","throwProps","physicsProps","physics2D"];for(O=c.length;O--;)z(c[O]);c=k.prototype;c._firstPT=
-null;c._onInitTween=function(a,c,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=c;R=c.autoRound;h=!1;q=c.suffixMap||k.suffixMap;l=ca(a,"");b=this._overwriteProps;d=a.style;var j,p,f,g;if(e&&""===d.zIndex&&(j=M(a,"zIndex",l),"auto"===j||""===j))d.zIndex=0;"string"===typeof c&&(p=d.cssText,j=ea(a,l),d.cssText=p+";"+c,j=na(a,j,ea(a)).difs,!D&&X.test(c)&&(j.opacity=parseFloat(RegExp.$1)),c=j,d.cssText=p);this._firstPT=c=this.parse(a,c,null);if(this._transformType){j=3===this._transformType;
-if(P){if(m){e=!0;if(""===d.zIndex&&(g=M(a,"zIndex",l),"auto"===g||""===g))d.zIndex=0;F&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(j?"visible":"hidden"))}}else d.zoom=1;for(d=c;d&&d._next;)d=d._next;g=new N(a,"transform",0,0,null,2);this._linkCSSP(g,null,d);g.setRatio=j&&U?xa:P?ya:wa;g.data=this._transform||da(a,l,!0);b.pop()}if(h){for(;c;){a=c._next;for(d=p;d&&d.pr>c.pr;)d=d._next;(c._prev=d?d._prev:f)?c._prev._next=c:p=c;(c._next=d)?d._prev=c:f=c;c=a}this._firstPT=p}return!0};
-c.parse=function(a,e,b,c){var d=a.style,j,m,p,f,g,h,k,n;for(j in e){g=e[j];if(m=t[j])b=m.parse(a,g,j,this,b,c,e);else if(m=M(a,j,l)+"",k="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||k&&!g.indexOf("rgb"))k||(g=ka(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),b=fa(d,j,m,g,!0,"transparent",b,0,c);else if(k&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))b=fa(d,j,m,g,!0,null,b,0,c);else{p=parseFloat(m);h=m.substr((p+"").length);if(""===m||"auto"===m)if("width"===
-j||"height"===j){p=a;n=j;f=l;h=parseFloat("width"===n?p.offsetWidth:p.offsetHeight);n=ta[n];var F=n.length;for(f=f||ca(p,null);-1<--F;)h-=parseFloat(M(p,"padding"+n[F],f,!0))||0,h-=parseFloat(M(p,"border"+n[F]+"Width",f,!0))||0;p=h;h="px"}else p="opacity"!==j?0:1,h="";(n=k&&"="===g.charAt(1))?(f=parseInt(g.charAt(0)+"1",10),g=g.substr(2),f*=parseFloat(g),k=g.substr((f+"").length-(0>f?1:0))||""):(f=parseFloat(g),k=k?g.substr((f+"").length)||"":"");""===k&&(k=q[j]||h);g=f||0===f?(n?f+p:f)+k:e[j];if(h!==
-k&&""!==k&&(f||0===f))if(p||0===p)if(p=S(a,j,p,h),"%"===k?(p/=S(a,j,100,"%")/100,100<p&&(p=100)):"em"===k?p/=S(a,j,1,"em"):(f=S(a,j,f,k),k="px"),n&&(f||0===f))g=f+p+k;n&&(f+=p);(p||0===p)&&(f||0===f)?(b=new N(d,j,p,f-p,b,0,"css_"+j,!1!==R&&("px"===k||"zIndex"===j),0,m,g),b.xs0=k):!g&&("NaN"===g+""||null==g)?window.console&&console.log("invalid "+j+" tween value. "):(b=new N(d,j,f||p||0,0,b,-1,"css_"+j,!1,0,m,g),b.xs0="display"===j&&"none"===g?m:g)}c&&(b&&!b.plugin)&&(b.plugin=c)}return b};c.setRatio=
-function(a){var e=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;e;)2!==e.type?e.t[e.p]=e.e:e.setRatio(a),e=e._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;e;){b=e.c*a+e.s;e.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<b&&(b=0);if(e.type)if(1===e.type)if(c=e.l,2===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===
-c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{b=e.xs0+b+e.xs1;for(c=1;c<e.l;c++)b+=e["xn"+c]+e["xs"+(c+1)];e.t[e.p]=b}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next};c._enableTransforms=function(e){this._transformType=e||3===this._transformType?3:2};c._linkCSSP=function(e,a,b,c){e&&(a&&(a._prev=
-e),e._next&&(e._next._prev=e._prev),b?b._next=e:!c&&null===this._firstPT&&(this._firstPT=e),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next),e._next=a,e._prev=b);return e};c._kill=function(e){var a=e,b=!1,c,d;if(e.css_autoAlpha||e.css_alpha){a={};for(d in e)a[d]=e[d];a.css_opacity=1;a.css_autoAlpha&&(a.css_visibility=1)}if(e.css_className&&(c=this._classNamePT))(e=c.xfirst)&&e._prev?this._linkCSSP(e._prev,c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=null),c._next&&
-this._linkCSSP(c._next,c._next._next,e._prev),this._target._gsOverwrittenClassNamePT=this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,b=!0;return r.prototype._kill.call(this,a)||b};r.activate([k]);return k},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(r){var k=function(){r.call(this,"roundProps",-1);this._overwriteProps.length=0},h=k.prototype=new r("roundProps",-1);h.constructor=k;k.API=2;h._onInitTween=function(h,k,b){this._tween=b;return!0};
-h._onInitAllProps=function(){for(var h=this._tween,k=h.vars.roundProps instanceof Array?h.vars.roundProps:h.vars.roundProps.split(","),b=k.length,r={},c=h._propLookup.roundProps,a,g,d;-1<--b;)r[k[b]]=1;for(b=k.length;-1<--b;){a=k[b];for(g=h._firstPT;g;)d=g._next,g.pg?g.t._roundProps(r,!0):g.n===a&&(this._add(g.t,a,g.s,g.c),d&&(d._prev=g._prev),g._prev?g._prev._next=d:h._firstPT===g&&(h._firstPT=d),g._next=g._prev=null,h._propLookup[a]=c),g=d}return!1};h._add=function(h,k,b,r){this._addTween(h,k,b,
-b+r,k,!0);this._overwriteProps.push(k)};r.activate([k]);return k},!0);_gsDefine("easing.Back",["easing.Ease"],function(r){var k=window.com.greensock._class,h=function(a,b){var c=k("easing."+a,function(){},!0),d=c.prototype=new r;d.constructor=c;d.getRatio=b;return c},q=function(a,b){var c=k("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new r;d.constructor=c;d.getRatio=b;d.config=function(a){return new c(a)};return c},l=q("BackOut",function(a){return(a-=
-1)*a*((this._p1+1)*a+this._p1)+1}),b=q("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),q=q("BackInOut",function(a){return 1>(a*=2)?0.5*a*a*((this._p2+1)*a-this._p2):0.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)}),t=h("BounceOut",function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375}),c=h("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:a<2/2.75?1-(7.5625*(a-=1.5/2.75)*a+0.75):a<2.5/2.75?
-1-(7.5625*(a-=2.25/2.75)*a+0.9375):1-(7.5625*(a-=2.625/2.75)*a+0.984375)}),a=h("BounceInOut",function(a){var b=0.5>a;a=b?1-2*a:2*a-1;a=a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375;return b?0.5*(1-a):0.5*a+0.5}),g=h("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),d=h("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),A=h("CircInOut",function(a){return 1>(a*=2)?-0.5*(Math.sqrt(1-a*a)-1):0.5*(Math.sqrt(1-(a-=
-2)*a)+1)}),f=2*Math.PI,u=function(a,b,c){var d=k("easing."+a,function(a,b){this._p1=a||1;this._p2=b||c;this._p3=this._p2/f*(Math.asin(1/this._p1)||0)},!0);a=d.prototype=new r;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},X=u("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*f/this._p2)+1},0.3),Q=u("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*f/this._p2))},0.3),u=u("ElasticInOut",function(a){return 1>
-(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*f/this._p2):0.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*f/this._p2)+1},0.45),v=h("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),E=h("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),s=h("ExpoInOut",function(a){return 1>(a*=2)?0.5*Math.pow(2,10*(a-1)):0.5*(2-Math.pow(2,-10*(a-1)))}),C=Math.PI/2,n=h("SineOut",function(a){return Math.sin(a*C)}),T=h("SineIn",function(a){return-Math.cos(a*C)+1}),h=h("SineInOut",function(a){return-0.5*
-(Math.cos(Math.PI*a)-1)}),L=k("easing.SlowMo",function(a,b,c){null==a?a=0.7:1<a&&(a=1);this._p=1!=a?b||0===b?b:0.7:0;this._p1=(1-a)/2;this._p2=a;this._p3=this._p1+this._p2;this._calcEnd=!0===c},!0),J=L.prototype=new r;J.constructor=L;J.getRatio=function(a){var b=a+(0.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b};L.ease=new L(0.7,0.7);J.config=
-L.config=function(a,b,c){return new L(a,b,c)};var y=k("easing.SteppedEase",function(a){a=a||1;this._p1=1/a;this._p2=a+1},!0),J=y.prototype=new r;J.constructor=y;J.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};J.config=y.config=function(a){return new y(a)};k("easing.Bounce",{easeOut:new t,easeIn:new c,easeInOut:new a},!0);k("easing.Circ",{easeOut:new g,easeIn:new d,easeInOut:new A},!0);k("easing.Elastic",{easeOut:new X,easeIn:new Q,easeInOut:new u},!0);k("easing.Expo",
-{easeOut:new v,easeIn:new E,easeInOut:new s},!0);k("easing.Sine",{easeOut:new n,easeIn:new T,easeInOut:new h},!0);return{easeOut:new l,easeIn:new b,easeInOut:new q}},!0)});
+q):q+" "+h;if(0===a||1===a)if(1===d&&0===b&&0===j&&1===c&&(!k||-1!==q.indexOf("Dx=0, Dy=0")))(!u.test(h)||100===parseFloat(RegExp.$1))&&-1===h.indexOf("gradient(")&&p.removeAttribute("filter")}},xa=function(){var a=this.data,e=this.t.style,b=a.perspective,c=a.scaleX,d=0,j=0,m=0,g=0,h=a.scaleY,f=0,l=0,q=0,k=0,n=a.scaleZ,F=0,I=0,t=0,D=b?-1/b:0,r=a.rotation,u=a.zOrigin,s,v,w,x,B;p&&(v=M(this.t,"top",null,!1,"0"),s=parseFloat(v)||0,v=v.substr((s+"").length),a._ffFix=!a._ffFix,e.top=(a._ffFix?s+0.05:s-
+0.05)+(""===v?"px":v));r&&(s=Math.cos(r),r=Math.sin(r),w=h*r,d=c*-r,h*=s,c*=s,g=w);if(r=a.rotationY)s=Math.cos(r),r=Math.sin(r),x=n*-r,B=D*-r,j=c*r,f=g*r,n*=s,D*=s,c*=s,g*=s,q=x,I=B;if(r=a.rotationX)s=Math.cos(r),r=Math.sin(r),v=d*s+j*r,w=h*s+f*r,x=k*s+n*r,B=t*s+D*r,j=d*-r+j*s,f=h*-r+f*s,n=k*-r+n*s,D=t*-r+D*s,d=v,h=w,k=x,t=B;u&&(F-=u,m=j*F,l=f*F,F=n*F+u);m+=a.x;l+=a.y;F=(1E5*(F+a.z)>>0)/1E5;e[P]="matrix3d("+(1E5*c>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*q>>0)/1E5+","+(1E5*I>>0)/1E5+","+(1E5*d>>0)/1E5+
+","+(1E5*h>>0)/1E5+","+(1E5*k>>0)/1E5+","+(1E5*t>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*f>>0)/1E5+","+(1E5*n>>0)/1E5+","+(1E5*D>>0)/1E5+","+(1E5*m>>0)/1E5+","+(1E5*l>>0)/1E5+","+F+","+(b?1+-F/b:1)+")"},ya=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[P]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var e=a.rotation,b=e-a.skewX,c=(1E5*Math.cos(e)*a.scaleX>>0)/1E5,e=(1E5*Math.sin(e)*a.scaleX>>0)/1E5,d=(1E5*Math.sin(b)*-a.scaleY>>0)/1E5,b=(1E5*Math.cos(b)*a.scaleY>>0)/
+1E5;this.t.style[P]="matrix("+c+","+e+","+d+","+b+","+a.x+","+a.y+")"}};K("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,e,b,c,d,p,m){if(c._transform)return d;e=c._transform=da(a,l,!0);var g=a.style,h=ra.length,f,q,k,n,F;if("string"===typeof m.transform&&P)q=g[P],g[P]=m.transform,f=da(a,null,!1),g[P]=q;else if("object"===typeof m){q=null!=
+m.rotation?m.rotation:null!=m.rotationZ?m.rotationZ:e.rotation*y;f={scaleX:V(null!=m.scaleX?m.scaleX:m.scale,e.scaleX),scaleY:V(null!=m.scaleY?m.scaleY:m.scale,e.scaleY),scaleZ:V(null!=m.scaleZ?m.scaleZ:m.scale,e.scaleZ),x:V(m.x,e.x),y:V(m.y,e.y),z:V(m.z,e.z),perspective:V(m.transformPerspective,e.perspective)};f.rotation=null!=m.shortRotation||null!=m.shortRotationZ?ja(m.shortRotation||m.shortRotationZ||0,e.rotation):"number"===typeof q?q*J:Z(q,e.rotation);U&&(f.rotationX=null!=m.shortRotationX?
+ja(m.shortRotationX,e.rotationX):"number"===typeof m.rotationX?m.rotationX*J:Z(m.rotationX,e.rotationX),f.rotationY=null!=m.shortRotationY?ja(m.shortRotationY,e.rotationY):"number"===typeof m.rotationY?m.rotationY*J:Z(m.rotationY,e.rotationY),1E-6>f.rotationX&&-1E-6<f.rotationX&&(f.rotationX=0),1E-6>f.rotationY&&-1E-6<f.rotationY&&(f.rotationY=0));f.skewX=null==m.skewX?e.skewX:"number"===typeof m.skewX?m.skewX*J:Z(m.skewX,e.skewX);f.skewY=null==m.skewY?e.skewY:"number"===typeof m.skewY?m.skewY*J:
+Z(m.skewY,e.skewY);if(q=f.skewY-e.skewY)f.skewX+=q,f.rotation+=q;1E-6>f.skewY&&-1E-6<f.skewY&&(f.skewY=0);1E-6>f.skewX&&-1E-6<f.skewX&&(f.skewX=0);1E-6>f.rotation&&-1E-6<f.rotation&&(f.rotation=0)}n=e.z||e.rotationX||e.rotationY||f.z||f.rotationX||f.rotationY||f.perspective;!n&&null!=f.scale&&(f.scaleZ=1);for(;-1<--h;)if(b=ra[h],k=f[b]-e[b],1E-6<k||-1E-6>k||null!=j[b])F=!0,d=new N(e,b,e[b],k,d),d.xs0=0,d.plugin=p,c._overwriteProps.push(d.n);if((k=m.transformOrigin)||U&&n&&e.zOrigin)P?(F=!0,k=(k||
+M(a,b,l,!1,"50% 50%"))+"",b=sa,d=new N(g,b,0,0,d,-1,"css_transformOrigin"),d.b=g[b],d.plugin=p,U?(q=e.zOrigin,k=k.split(" "),e.zOrigin=(2<k.length?parseFloat(k[2]):q)||0,d.xs0=d.e=g[b]=k[0]+" "+(k[1]||"50%")+" 0px",d=new N(e,"zOrigin",0,0,d,-1,d.n),d.b=q,d.xs0=d.e=e.zOrigin):d.xs0=d.e=g[b]=k):ia(k+"",e);F&&(c._transformType=n||3===this._transformType?3:2);return d},!0);K("boxShadow","0px 0px 0px 0px #999",null,!0,!0);K("borderRadius","0px",function(a,e,b,c,d){e=this.format(e);c=["borderTopLeftRadius",
+"borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];var m=a.style,j,p,f,g,h,k,n,F,r,D,s,I;F=parseFloat(a.offsetWidth);r=parseFloat(a.offsetHeight);e=e.split(" ");for(j=0;j<c.length;j++)this.p.indexOf("border")&&(c[j]=ba(c[j])),g=f=M(a,c[j],l,!1,"0px"),-1!==g.indexOf(" ")&&(f=g.split(" "),g=f[0],f=f[1]),h=p=e[j],k=parseFloat(g),s=g.substr((k+"").length),(I="="===h.charAt(1))?(n=parseInt(h.charAt(0)+"1",10),h=h.substr(2),n*=parseFloat(h),D=h.substr((n+"").length-(0>n?1:0))||""):
+(n=parseFloat(h),D=h.substr((n+"").length)),""===D&&(D=q[b]||s),D!==s&&(g=S(a,"borderLeft",k,s),k=S(a,"borderTop",k,s),"%"===D?(g=100*(g/F)+"%",f=100*(k/r)+"%"):"em"===D?(s=S(a,"borderLeft",1,"em"),g=g/s+"em",f=k/s+"em"):(g+="px",f=k+"px"),I&&(h=parseFloat(g)+n+D,p=parseFloat(f)+n+D)),d=fa(m,c[j],g+" "+f,h+" "+p,!1,"0px",d);return d},!0,!1,pa("0px 0px 0px 0px",!1,!0));K("backgroundPosition","0 0",function(a,e,b,c,d,j){b=l||ca(a,null);b=this.format((b?I?b.getPropertyValue("background-position-x")+
+" "+b.getPropertyValue("background-position-y"):b.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");e=this.format(e);var m,p,f,g;if(-1!==b.indexOf("%")!==(-1!==e.indexOf("%"))){c=b.split(" ");m=e.split(" ");G.setAttribute("src",M(a,"backgroundImage").replace(s,""));for(p=2;-1<--p;)b=c[p],f=-1!==b.indexOf("%"),f!==(-1!==m[p].indexOf("%"))&&(g=0===p?a.offsetWidth-G.width:a.offsetHeight-G.height,c[p]=f?parseFloat(b)/100*g+"px":
+100*(parseFloat(b)/g)+"%");b=c.join(" ")}return this.parseComplex(a.style,b,e,d,j)},!1,!1,ia);K("backgroundSize","0 0",null,!1,!1,ia);K("perspective","0px",null,!0);K("perspectiveOrigin","50% 50%",null,!0);K("transformStyle","preserve-3d",null,!0);K("backfaceVisibility","visible",null,!0);K("margin",null,w("marginTop,marginRight,marginBottom,marginLeft"));K("padding",null,w("paddingTop,paddingRight,paddingBottom,paddingLeft"));K("clip","rect(0px,0px,0px,0px)");K("textShadow","0px 0px 0px #999",null,
+!1,!0);K("autoRound",null,function(a,e,b,c,d){return d});K("border","0px solid #000",function(a,e,b,c,d,j){return this.parseComplex(a.style,this.format(M(a,"borderTopWidth",l,!1,"0px")+" "+M(a,"borderTopStyle",l,!1,"solid")+" "+M(a,"borderTopColor",l,!1,"#000")),this.format(e),d,j)},!1,!0,function(a){var e=a.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(a.match(W)||["#000"])[0]});var za=function(a){var e=this.t,b=e.filter;a=this.s+this.c*a>>0;var c;100===a&&(-1===b.indexOf("atrix(")&&-1===b.indexOf("radient(")?
+(e.removeAttribute("filter"),c=!M(this.data,"filter")):(e.filter=b.replace(Q,""),c=!0));c||(this.xn1&&(e.filter=b=b||"alpha(opacity=100)"),e.filter=-1===b.indexOf("opacity")?e.filter+(" alpha(opacity="+a+")"):b.replace(u,"opacity="+a))};K("opacity,alpha,autoAlpha","1",function(a,e,b,c,d,j){var m=parseFloat(M(a,"opacity",l,!1,"1")),p=a.style,f;e=parseFloat(e);"autoAlpha"===b&&(f=M(a,"visibility",l),1===m&&("hidden"===f&&0!==e)&&(m=0),d=new N(p,"visibility",0,0,d,-1,null,!1,0,0!==m?"visible":"hidden",
+0===e?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));D?d=new N(p,"opacity",m,e-m,d):(d=new N(p,"opacity",100*m,100*(e-m),d),d.xn1="autoAlpha"===b?1:0,p.zoom=1,d.type=2,d.b="alpha(opacity="+d.s+")",d.e="alpha(opacity="+(d.s+d.c)+")",d.data=a,d.plugin=j,d.setRatio=za);return d});var Aa=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var e=this.t.style,b=e.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)e[a.p]=a.v;else e[b](a.p.replace(v,
+"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};K("className",null,function(a,e,b,c,d,m,j){var p=a.className,f=a.style.cssText;d=c._classNamePT=new N(a,b,0,0,d,2);d.setRatio=Aa;d.b=p;d.e="="!==e.charAt(1)?e:"+"===e.charAt(0)?p+" "+e.substr(2):p.split(e.substr(2)).join("");c._tween._duration&&(e=ea(a,l,!0),a.className=d.e,j=na(a,e,ea(a),j),a.className=p,d.data=j.firstMPT,a.style.cssText=f,d=d.xfirst=c.parse(a,j.difs,d,m));return d});c=["bezier","throwProps",
+"physicsProps","physics2D"];for(O=c.length;O--;)z(c[O]);c=k.prototype;c._firstPT=null;c._onInitTween=function(a,c,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=c;R=c.autoRound;h=!1;q=c.suffixMap||k.suffixMap;l=ca(a,"");b=this._overwriteProps;d=a.style;var j,p,f,g;if(e&&""===d.zIndex&&(j=M(a,"zIndex",l),"auto"===j||""===j))d.zIndex=0;"string"===typeof c&&(p=d.cssText,j=ea(a,l),d.cssText=p+";"+c,j=na(a,j,ea(a)).difs,!D&&X.test(c)&&(j.opacity=parseFloat(RegExp.$1)),c=j,d.cssText=
+p);this._firstPT=c=this.parse(a,c,null);if(this._transformType){j=3===this._transformType;if(P){if(m){e=!0;if(""===d.zIndex&&(g=M(a,"zIndex",l),"auto"===g||""===g))d.zIndex=0;F&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(j?"visible":"hidden"))}}else d.zoom=1;for(d=c;d&&d._next;)d=d._next;g=new N(a,"transform",0,0,null,2);this._linkCSSP(g,null,d);g.setRatio=j&&U?xa:P?ya:wa;g.data=this._transform||da(a,l,!0);b.pop()}if(h){for(;c;){a=c._next;for(d=p;d&&d.pr>c.pr;)d=d._next;(c._prev=
+d?d._prev:f)?c._prev._next=c:p=c;(c._next=d)?d._prev=c:f=c;c=a}this._firstPT=p}return!0};c.parse=function(a,e,b,c){var d=a.style,j,m,p,f,g,h,k,n;for(j in e){g=e[j];if(m=t[j])b=m.parse(a,g,j,this,b,c,e);else if(m=M(a,j,l)+"",k="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||k&&!g.indexOf("rgb"))k||(g=ka(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),b=fa(d,j,m,g,!0,"transparent",b,0,c);else if(k&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))b=fa(d,j,m,g,!0,null,
+b,0,c);else{p=parseFloat(m);h=m.substr((p+"").length);if(""===m||"auto"===m)if("width"===j||"height"===j){p=a;n=j;f=l;h=parseFloat("width"===n?p.offsetWidth:p.offsetHeight);n=ta[n];var F=n.length;for(f=f||ca(p,null);-1<--F;)h-=parseFloat(M(p,"padding"+n[F],f,!0))||0,h-=parseFloat(M(p,"border"+n[F]+"Width",f,!0))||0;p=h;h="px"}else p="opacity"!==j?0:1,h="";(n=k&&"="===g.charAt(1))?(f=parseInt(g.charAt(0)+"1",10),g=g.substr(2),f*=parseFloat(g),k=g.substr((f+"").length-(0>f?1:0))||""):(f=parseFloat(g),
+k=k?g.substr((f+"").length)||"":"");""===k&&(k=q[j]||h);g=f||0===f?(n?f+p:f)+k:e[j];if(h!==k&&""!==k&&(f||0===f))if(p||0===p)if(p=S(a,j,p,h),"%"===k?(p/=S(a,j,100,"%")/100,100<p&&(p=100)):"em"===k?p/=S(a,j,1,"em"):(f=S(a,j,f,k),k="px"),n&&(f||0===f))g=f+p+k;n&&(f+=p);(p||0===p)&&(f||0===f)?(b=new N(d,j,p,f-p,b,0,"css_"+j,!1!==R&&("px"===k||"zIndex"===j),0,m,g),b.xs0=k):!g&&("NaN"===g+""||null==g)?window.console&&console.log("invalid "+j+" tween value. "):(b=new N(d,j,f||p||0,0,b,-1,"css_"+j,!1,0,
+m,g),b.xs0="display"===j&&"none"===g?m:g)}c&&(b&&!b.plugin)&&(b.plugin=c)}return b};c.setRatio=function(a){var e=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;e;)2!==e.type?e.t[e.p]=e.e:e.setRatio(a),e=e._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;e;){b=e.c*a+e.s;e.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<b&&(b=0);if(e.type)if(1===e.type)if(c=e.l,2===c)e.t[e.p]=e.xs0+
+b+e.xs1+e.xn1+e.xs2;else if(3===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{b=e.xs0+b+e.xs1;for(c=1;c<e.l;c++)b+=e["xn"+c]+e["xs"+(c+1)];e.t[e.p]=b}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next};c._enableTransforms=function(e){this._transformType=
+e||3===this._transformType?3:2};c._linkCSSP=function(e,a,b,c){e&&(a&&(a._prev=e),e._next&&(e._next._prev=e._prev),b?b._next=e:!c&&null===this._firstPT&&(this._firstPT=e),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next),e._next=a,e._prev=b);return e};c._kill=function(e){var a=e,b=!1,c,d;if(e.css_autoAlpha||e.css_alpha){a={};for(d in e)a[d]=e[d];a.css_opacity=1;a.css_autoAlpha&&(a.css_visibility=1)}if(e.css_className&&(c=this._classNamePT))(e=c.xfirst)&&e._prev?this._linkCSSP(e._prev,
+c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=null),c._next&&this._linkCSSP(c._next,c._next._next,e._prev),this._target._gsOverwrittenClassNamePT=this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,b=!0;return r.prototype._kill.call(this,a)||b};r.activate([k]);return k},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(r){var k=function(){r.call(this,"roundProps",-1);this._overwriteProps.length=0},h=k.prototype=new r("roundProps",-1);
+h.constructor=k;k.API=2;h._onInitTween=function(h,k,b){this._tween=b;return!0};h._onInitAllProps=function(){for(var h=this._tween,k=h.vars.roundProps instanceof Array?h.vars.roundProps:h.vars.roundProps.split(","),b=k.length,r={},c=h._propLookup.roundProps,a,g,d;-1<--b;)r[k[b]]=1;for(b=k.length;-1<--b;){a=k[b];for(g=h._firstPT;g;)d=g._next,g.pg?g.t._roundProps(r,!0):g.n===a&&(this._add(g.t,a,g.s,g.c),d&&(d._prev=g._prev),g._prev?g._prev._next=d:h._firstPT===g&&(h._firstPT=d),g._next=g._prev=null,
+h._propLookup[a]=c),g=d}return!1};h._add=function(h,k,b,r){this._addTween(h,k,b,b+r,k,!0);this._overwriteProps.push(k)};r.activate([k]);return k},!0);_gsDefine("easing.Back",["easing.Ease"],function(r){var k=window.com.greensock._class,h=function(a,b){var c=k("easing."+a,function(){},!0),d=c.prototype=new r;d.constructor=c;d.getRatio=b;return c},q=function(a,b){var c=k("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new r;d.constructor=c;d.getRatio=b;
+d.config=function(a){return new c(a)};return c},l=q("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),b=q("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),q=q("BackInOut",function(a){return 1>(a*=2)?0.5*a*a*((this._p2+1)*a-this._p2):0.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)}),t=h("BounceOut",function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375}),c=h("BounceIn",function(a){return(a=
+1-a)<1/2.75?1-7.5625*a*a:a<2/2.75?1-(7.5625*(a-=1.5/2.75)*a+0.75):a<2.5/2.75?1-(7.5625*(a-=2.25/2.75)*a+0.9375):1-(7.5625*(a-=2.625/2.75)*a+0.984375)}),a=h("BounceInOut",function(a){var b=0.5>a;a=b?1-2*a:2*a-1;a=a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375;return b?0.5*(1-a):0.5*a+0.5}),g=h("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),d=h("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),A=h("CircInOut",
+function(a){return 1>(a*=2)?-0.5*(Math.sqrt(1-a*a)-1):0.5*(Math.sqrt(1-(a-=2)*a)+1)}),f=2*Math.PI,u=function(a,b,c){var d=k("easing."+a,function(a,b){this._p1=a||1;this._p2=b||c;this._p3=this._p2/f*(Math.asin(1/this._p1)||0)},!0);a=d.prototype=new r;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},X=u("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*f/this._p2)+1},0.3),Q=u("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*
+Math.sin((a-this._p3)*f/this._p2))},0.3),u=u("ElasticInOut",function(a){return 1>(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*f/this._p2):0.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*f/this._p2)+1},0.45),v=h("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),E=h("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),s=h("ExpoInOut",function(a){return 1>(a*=2)?0.5*Math.pow(2,10*(a-1)):0.5*(2-Math.pow(2,-10*(a-1)))}),C=Math.PI/2,n=h("SineOut",function(a){return Math.sin(a*
+C)}),T=h("SineIn",function(a){return-Math.cos(a*C)+1}),h=h("SineInOut",function(a){return-0.5*(Math.cos(Math.PI*a)-1)}),L=k("easing.SlowMo",function(a,b,c){null==a?a=0.7:1<a&&(a=1);this._p=1!=a?b||0===b?b:0.7:0;this._p1=(1-a)/2;this._p2=a;this._p3=this._p1+this._p2;this._calcEnd=!0===c},!0),J=L.prototype=new r;J.constructor=L;J.getRatio=function(a){var b=a+(0.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*
+a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b};L.ease=new L(0.7,0.7);J.config=L.config=function(a,b,c){return new L(a,b,c)};var y=k("easing.SteppedEase",function(a){a=a||1;this._p1=1/a;this._p2=a+1},!0),J=y.prototype=new r;J.constructor=y;J.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};J.config=y.config=function(a){return new y(a)};k("easing.Bounce",{easeOut:new t,easeIn:new c,easeInOut:new a},!0);k("easing.Circ",{easeOut:new g,easeIn:new d,easeInOut:new A},
+!0);k("easing.Elastic",{easeOut:new X,easeIn:new Q,easeInOut:new u},!0);k("easing.Expo",{easeOut:new v,easeIn:new E,easeInOut:new s},!0);k("easing.Sine",{easeOut:new n,easeIn:new T,easeInOut:new h},!0);return{easeOut:new l,easeIn:new b,easeInOut:new q}},!0)});
(function(r){var k=function(a){a=a.split(".");var b=r,c;for(c=0;c<a.length;c++)b[a[c]]=b=b[a[c]]||{};return b},h=k("com.greensock"),q,l,b,t,c,a={},g=function(e,b,c,d){this.sc=a[e]?a[e].sc:[];a[e]=this;this.gsClass=null;this.def=c;var f=b||[],h=[];this.check=function(b){for(var m=f.length,j=0,l;-1<--m;)(l=a[f[m]]||new g(f[m])).gsClass?h[m]=l.gsClass:(j++,b&&l.sc.push(this));if(0===j&&c){b=("com.greensock."+e).split(".");var m=b.pop(),n=k(b.join("."))[m]=this.gsClass=c.apply(c,h);d&&((r.GreenSockGlobals||
r)[m]=n,"function"===typeof define&&define.amd?define((r.GreenSockAMDPath?r.GreenSockAMDPath+"/":"")+e.split(".").join("/"),[],function(){return n}):"undefined"!==typeof module&&module.exports&&(module.exports=n));for(m=0;m<this.sc.length;m++)this.sc[m].check(!1)}};this.check(!0)},d=h._class=function(a,b,c){b=b||function(){};new g(a,[],function(){return b},c);return b};r._gsDefine=function(a,b,c,d){return new g(a,b,c,d)};var A=[0,0,1,1],f=[],u=d("easing.Ease",function(a,b,c,d){this._func=a;this._type=
c||0;this._power=d||0;this._params=b?A.concat(b):A},!0);b=u.prototype;b._calcEnd=!1;b.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:0.5>a?2*a:2*(1-a);1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d);return 1===b?1-d:2===b?d:0.5>a?d/2:1-d/2};q=["Linear","Quad","Cubic","Quart","Quint"];for(l=q.length;-1<--l;)b=d("easing."+q[l],null,!0),t=d("easing.Power"+l,null,!0),b.easeOut=t.easeOut=new u(null,
diff --git a/src/minified/plugins/CSSPlugin.min.js b/src/minified/plugins/CSSPlugin.min.js
index 19255b3..ee943c1 100755
--- a/src/minified/plugins/CSSPlugin.min.js
+++ b/src/minified/plugins/CSSPlugin.min.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.667
- * DATE: 2012-12-30
+ * VERSION: beta 1.669
+ * DATE: 2013-01-02
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -10,56 +10,56 @@
*
* @author: Jack Doyle, [email protected]
*/
-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(V){var B=function(){V.call(this,"css");this._overwriteProps.length=0},ba,ca,r,da,L={},m=B.prototype=new V("css");m.constructor=B;B.version=1.667;B.API=2;B.defaultTransformPerspective=0;m="px";B.suffixMap={top:m,right:m,bottom:m,left:m,width:m,height:m,fontSize:m,padding:m,margin:m,perspective:m};var ea=/(?:\d|\-\d|\.\d|\-\.\d)+/g,pa=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
-fa=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,W=/[^\d\-\.]/g,Ha=/(?:\d|\-|\+|=|#|\.)*/g,ga=/opacity *= *([^)]*)/,Ia=/opacity:([^;]*)/,Ja=/alpha\(opacity *=.+?\)/i,qa=/([A-Z])/g,ra=/-([a-z])/gi,Ka=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,sa=function(a,b){return b.toUpperCase()},La=/(?:Left|Right|Width)/i,Ma=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Na=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,E=Math.PI/180,R=180/Math.PI,X={},M=document,S=M.createElement("div"),ha=M.createElement("img"),
-N=B._internals={_specialProps:L},A=navigator.userAgent,ia,ta,ua,va,wa,ja,O,xa=A.indexOf("Android"),ya=M.createElement("div");wa=(ua=-1!==A.indexOf("Safari")&&-1===A.indexOf("Chrome")&&(-1===xa||3<Number(A.substr(xa+8,1))))&&6>Number(A.substr(A.indexOf("Version/")+8,1));va=-1!==A.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(A);ja=parseFloat(RegExp.$1);ya.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";O=(A=ya.getElementsByTagName("a")[0])?/^0.55/.test(A.style.opacity):!1;var za=function(a){return ga.test("string"===
-typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Aa="",ka="",T=function(a,b){b=b||S;var d=b.style,c,f;if(void 0!==d[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(f=5;-1<--f&&void 0===d[c[f]+a];);return 0<=f?(ka=3===f?"ms":c[f],Aa="-"+ka.toLowerCase()+"-",ka+a):null},U=M.defaultView?M.defaultView.getComputedStyle:function(){},x=B.getStyle=function(a,b,d,c,f){var j;if(!O&&"opacity"===b)return za(a);!c&&a.style[b]?
+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(V){var A=function(){V.call(this,"css");this._overwriteProps.length=0},ba,ca,r,da,L={},m=A.prototype=new V("css");m.constructor=A;A.version=1.669;A.API=2;A.defaultTransformPerspective=0;m="px";A.suffixMap={top:m,right:m,bottom:m,left:m,width:m,height:m,fontSize:m,padding:m,margin:m,perspective:m};var ea=/(?:\d|\-\d|\.\d|\-\.\d)+/g,pa=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
+fa=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,W=/[^\d\-\.]/g,Ha=/(?:\d|\-|\+|=|#|\.)*/g,ga=/opacity *= *([^)]*)/,Ia=/opacity:([^;]*)/,Ja=/alpha\(opacity *=.+?\)/i,qa=/([A-Z])/g,ra=/-([a-z])/gi,Ka=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,sa=function(a,b){return b.toUpperCase()},La=/(?:Left|Right|Width)/i,Ma=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Na=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D=Math.PI/180,R=180/Math.PI,X={},M=document,S=M.createElement("div"),ha=M.createElement("img"),
+N=A._internals={_specialProps:L},z=navigator.userAgent,ia,ta,ua,va,wa,ja,O,xa=z.indexOf("Android"),ya=M.createElement("div");wa=(ua=-1!==z.indexOf("Safari")&&-1===z.indexOf("Chrome")&&(-1===xa||3<Number(z.substr(xa+8,1))))&&6>Number(z.substr(z.indexOf("Version/")+8,1));va=-1!==z.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(z);ja=parseFloat(RegExp.$1);ya.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";O=(z=ya.getElementsByTagName("a")[0])?/^0.55/.test(z.style.opacity):!1;var za=function(a){return ga.test("string"===
+typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Aa="",ka="",T=function(a,b){b=b||S;var d=b.style,c,f;if(void 0!==d[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(f=5;-1<--f&&void 0===d[c[f]+a];);return 0<=f?(ka=3===f?"ms":c[f],Aa="-"+ka.toLowerCase()+"-",ka+a):null},U=M.defaultView?M.defaultView.getComputedStyle:function(){},E=A.getStyle=function(a,b,d,c,f){var j;if(!O&&"opacity"===b)return za(a);!c&&a.style[b]?
j=a.style[b]:(d=d||U(a,null))?j=(a=d.getPropertyValue(b.replace(qa,"-$1").toLowerCase()))||d.length?a:d[b]:a.currentStyle&&(d=a.currentStyle,j=d[b]);return null!=f&&(!j||"none"===j||"auto"===j||"auto auto"===j)?f:j},Z=function(a,b,d){var c={},f=a._gsOverwrittenClassNamePT,j;if(f&&!d){for(;f;)f.setRatio(0),f=f._next;a._gsOverwrittenClassNamePT=null}if(b=b||U(a,null))if(j=b.length)for(;-1<--j;)c[b[j].replace(ra,sa)]=b.getPropertyValue(b[j]);else for(j in b)c[j]=b[j];else if(b=a.currentStyle||a.style)for(j in b)c[j.replace(ra,
sa)]=b[j];O||(c.opacity=za(a));a=Y(a,b,!1);c.rotation=a.rotation*R;c.skewX=a.skewX*R;c.scaleX=a.scaleX;c.scaleY=a.scaleY;c.x=a.x;c.y=a.y;I&&(c.z=a.z,c.rotationX=a.rotationX*R,c.rotationY=a.rotationY*R,c.scaleZ=a.scaleZ);c.filters&&delete c.filters;return c},Ba=function(a,b,d,c){var f={};a=a.style;var j,e,h;for(e in d)if("cssText"!==e&&"length"!==e&&isNaN(e)&&b[e]!==(j=d[e]))if(-1===e.indexOf("Origin")&&("number"===typeof j||"string"===typeof j))f[e]=(""===j||"auto"===j||"none"===j)&&"string"===typeof b[e]&&
""!==b[e].replace(W,"")?0:j,void 0!==a[e]&&(h=new la(a,e,a[e],h));if(c)for(e in c)"className"!==e&&(f[e]=c[e]);return{difs:f,firstMPT:h}},Oa={width:["Left","Right"],height:["Top","Bottom"]},Pa=["marginLeft","marginRight","marginTop","marginBottom"],F=function(a,b,d,c,f){if("px"===c||!c)return d;if("auto"===c||!d)return 0;var j=La.test(b),e=a,h=S.style,k=0>d;k&&(d=-d);"%"===c&&-1!==b.indexOf("border")?j=d/100*(j?a.clientWidth:a.clientHeight):(h.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",
"%"===c||"em"===c||!e.appendChild?(e=a.parentNode||M.body,h[j?"width":"height"]=d+c):h[j?"borderLeftWidth":"borderTopWidth"]=d+c,e.appendChild(S),j=parseFloat(S[j?"offsetWidth":"offsetHeight"]),e.removeChild(S),0===j&&!f&&(j=F(a,b,d,c,!0)));return k?-j:j},ma=function(a,b){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var d=a.split(" "),c=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];null==f?f="0":"center"===
f&&(f="50%");if("center"===c||isNaN(parseFloat(c)))c="50%";b&&(b.oxp=-1!==c.indexOf("%"),b.oyp=-1!==f.indexOf("%"),b.oxr="="===c.charAt(1),b.oyr="="===f.charAt(1),b.ox=parseFloat(c.replace(W,"")),b.oy=parseFloat(f.replace(W,"")));return c+" "+f+(2<d.length?" "+d[2]:"")},Ca=function(a,b){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},G=function(a,b){return null==a?b:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+
-"1",10)*Number(a.substr(2))+b:parseFloat(a)},P=function(a,b){if(null==a)return b;var d=-1===a.indexOf("rad")?E:1,c="="===a.charAt(1);a=Number(a.replace(W,""))*d;return c?a+b:a},na=function(a,b){var d=(("number"===typeof a?a*E:P(a,b))-b)%(2*Math.PI);d!==d%Math.PI&&(d+=Math.PI*(0>d?2:-2));return b+d},Q={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,
+"1",10)*Number(a.substr(2))+b:parseFloat(a)},P=function(a,b){if(null==a)return b;var d=-1===a.indexOf("rad")?D:1,c="="===a.charAt(1);a=Number(a.replace(W,""))*d;return c?a+b:a},na=function(a,b){var d=(("number"===typeof a?a*D:P(a,b))-b)%(2*Math.PI);d!==d%Math.PI&&(d+=Math.PI*(0>d?2:-2));return b+d},Q={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,
255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},oa=function(a){if(!a||""===a)return Q.black;if(Q[a])return Q[a];if("number"===typeof a)return[a>>16,a>>8&255,a&255];if("#"===a.charAt(0)){if(4===a.length){var b=a.charAt(1),d=a.charAt(2);a=a.charAt(3);a="#"+b+b+d+d+a+a}a=parseInt(a.substr(1),16);return[a>>16,a>>8&255,a&255]}a=a.match(ea)||Q.transparent;a[0]=Number(a[0]);a[1]=Number(a[1]);a[2]=
Number(a[2]);3<a.length&&(a[3]=Number(a[3]));return a},J="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(m in Q)J+="|"+m+"\\b";var J=RegExp(J+")","gi"),Da=function(a,b,d){if(null==a)return function(a){return a};var c=b?(a.match(J)||[""])[0]:"",f=a.split(c).join("").match(fa)||[],j=a.substr(0,a.indexOf(f[0])),e=")"===a.charAt(a.length-1)?")":"",h=-1!==a.indexOf(" ")?" ":",",k=f.length,g=0<k?f[0].replace(ea,""):"";return b?function(a){"number"===typeof a&&(a+=g);var b=(a.match(J)||[c])[0];a=a.split(b).join("").match(fa)||
-[];var n=a.length;if(k>n--)for(;++n<k;)a[n]=d?a[(n-1)/2>>0]:f[n];return j+a.join(h)+h+b+e}:function(a){"number"===typeof a&&(a+=g);a=a.match(fa)||[];var b=a.length;if(k>b--)for(;++b<k;)a[b]=d?a[(b-1)/2>>0]:f[b];return j+a.join(h)+e}},A=function(a){a=a.split(",");return function(b,d,c,f,j,e,h){d=(d+"").split(" ");h={};for(c=0;4>c;c++)h[a[c]]=d[c]=d[c]||d[(c-1)/2>>0];return f.parse(b,h,j,e)}};N._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b=this.data,d=b.proxy,c=b.firstMPT,f;c;)f=d[c.v],
+[];var n=a.length;if(k>n--)for(;++n<k;)a[n]=d?a[(n-1)/2>>0]:f[n];return j+a.join(h)+h+b+e}:function(a){"number"===typeof a&&(a+=g);a=a.match(fa)||[];var b=a.length;if(k>b--)for(;++b<k;)a[b]=d?a[(b-1)/2>>0]:f[b];return j+a.join(h)+e}},z=function(a){a=a.split(",");return function(b,d,c,f,j,e,h){d=(d+"").split(" ");h={};for(c=0;4>c;c++)h[a[c]]=d[c]=d[c]||d[(c-1)/2>>0];return f.parse(b,h,j,e)}};N._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b=this.data,d=b.proxy,c=b.firstMPT,f;c;)f=d[c.v],
c.r?f=0<f?f+0.5>>0:f-0.5>>0:1E-6>f&&-1E-6<f&&(f=0),c.t[c.p]=f,c=c._next;b.autoRotate&&(b.autoRotate.rotation=d.rotation);if(1===a)for(c=b.firstMPT;c;){a=c.t;if(a.type){if(1===a.type){d=a.xs0+a.s+a.xs1;for(b=1;b<a.l;b++)d+=a["xn"+b]+a["xs"+(b+1)];a.e=d}}else a.e=a.s+a.xs0;c=c._next}};var la=function(a,b,d,c,f){this.t=a;this.p=b;this.v=d;this.r=f;c&&(c._prev=this,this._next=c)};N._parseToProxy=function(a,b,d,c,f,j){var e=c,h={},k={},g=d._transform,l=X,p;d._transform=null;X=b;c=a=d.parse(a,b,c,f);X=
-l;j&&(d._transform=g,e&&(e._prev=null,e._prev&&(e._prev._next=null)));for(;c&&c!==e;){if(1>=c.type&&(g=c.p,k[g]=c.s+c.c,h[g]=c.s,j||(p=new la(c,"s",g,p,c.r),c.c=0),1===c.type))for(d=c.l;0<--d;)l="xn"+d,g=c.p+"_"+l,k[g]=c.data[l],h[g]=c[l],j||(p=new la(c,l,g,p,c.rxp[l]));c=c._next}return{proxy:h,end:k,firstMPT:p,pt:a}};var y=N.CSSPropTween=function(a,b,d,c,f,j,e,h,k,g,l){this.t=a;this.p=b;this.s=d;this.c=c;this.n=e||"css_"+b;a instanceof y||da.push(this.n);this.r=h;this.type=j||0;k&&(this.pr=k,ba=
-!0);this.b=void 0===g?d:g;this.e=void 0===l?d+c:l;f&&(this._next=f,f._prev=this)},aa=B.parseComplex=function(a,b,d,c,f,j,e,h,k,g){e=new y(a,b,0,0,e,g?2:1,null,!1,h,d,c);a=d.split(", ").join(",").split(" ");b=(c+"").split(", ").join(",").split(" ");d=a.length;h=!1!==ia;var l,p,n,$,m;d!==b.length&&(a=(j||"").split(" "),d=a.length);e.plugin=k;e.setRatio=g;for(j=0;j<d;j++)if(k=a[j],l=b[j],(g=parseFloat(k))||0===g)e.appendXtra("",g,Ca(l,g),l.replace(pa,""),h&&-1!==l.indexOf("px"),!0);else if(f&&("#"===
+l;j&&(d._transform=g,e&&(e._prev=null,e._prev&&(e._prev._next=null)));for(;c&&c!==e;){if(1>=c.type&&(g=c.p,k[g]=c.s+c.c,h[g]=c.s,j||(p=new la(c,"s",g,p,c.r),c.c=0),1===c.type))for(d=c.l;0<--d;)l="xn"+d,g=c.p+"_"+l,k[g]=c.data[l],h[g]=c[l],j||(p=new la(c,l,g,p,c.rxp[l]));c=c._next}return{proxy:h,end:k,firstMPT:p,pt:a}};var v=N.CSSPropTween=function(a,b,d,c,f,j,e,h,k,g,l){this.t=a;this.p=b;this.s=d;this.c=c;this.n=e||"css_"+b;a instanceof v||da.push(this.n);this.r=h;this.type=j||0;k&&(this.pr=k,ba=
+!0);this.b=void 0===g?d:g;this.e=void 0===l?d+c:l;f&&(this._next=f,f._prev=this)},aa=A.parseComplex=function(a,b,d,c,f,j,e,h,k,g){e=new v(a,b,0,0,e,g?2:1,null,!1,h,d,c);a=d.split(", ").join(",").split(" ");b=(c+"").split(", ").join(",").split(" ");d=a.length;h=!1!==ia;var l,p,n,$,m;d!==b.length&&(a=(j||"").split(" "),d=a.length);e.plugin=k;e.setRatio=g;for(j=0;j<d;j++)if(k=a[j],l=b[j],(g=parseFloat(k))||0===g)e.appendXtra("",g,Ca(l,g),l.replace(pa,""),h&&-1!==l.indexOf("px"),!0);else if(f&&("#"===
k.charAt(0)||0===k.indexOf("rgb")||Q[k]))k=oa(k),l=oa(l),(g=6<k.length+l.length)&&!O&&0===l[3]?(e["xs"+e.l]+=e.l?" transparent":"transparent",e.e=e.e.split(b[j]).join("transparent")):(e.appendXtra(g?"rgba(":"rgb(",k[0],l[0]-k[0],",",!0,!0).appendXtra("",k[1],l[1]-k[1],",",!0).appendXtra("",k[2],l[2]-k[2],g?",":")",!0),g&&(k=4>k.length?1:k[3],e.appendXtra("",k,(4>l.length?1:l[3])-k,")",!1)));else if(g=k.match(ea)){n=l.match(pa);if(!n||n.length!==g.length)return e;for(l=p=0;l<g.length;l++)m=g[l],$=
-k.indexOf(m,p),e.appendXtra(k.substr(p,$-p),Number(m),Ca(n[l],m),"",h&&"px"===k.substr($+m.length,2),0===l),p=$+m.length;e["xs"+e.l]+=k.substr(p)}else e["xs"+e.l]+=e.l?" "+k:k;if(-1!==c.indexOf("=")&&e.data){c=e.xs0+e.data.s;for(j=1;j<e.l;j++)c+=e["xs"+j]+e.data["xn"+j];e.e=c+e["xs"+j]}e.l||(e.type=-1,e.xs0=e.e);return e.xfirst||e},v=9,m=y.prototype;for(m.l=m.pr=0;0<--v;)m["xn"+v]=0,m["xs"+v]="";m.xs0="";m._next=m._prev=m.xfirst=m.data=m.plugin=m.setRatio=m.rxp=null;m.appendXtra=function(a,b,d,c,
-f,j){var e=this.l;this["xs"+e]+=j&&e?" "+a:a||"";if(!d&&0!==e&&!this.plugin)return this["xs"+e]+=b+(c||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=c||"";if(0<e)return this.data["xn"+e]=b+d,this.rxp["xn"+e]=f,this["xn"+e]=b,this.plugin||(this.xfirst=new y(this,"xn"+e,b,d,this.xfirst||this,0,this.n,f,this.pr),this.xfirst.xs0=0),this;this.data={s:b+d};this.rxp={};this.s=b;this.c=d;this.r=f;return this};var Ea=function(a,b,d,c,f,j,e){this.p=c?T(a)||a:a;L[a]=L[this.p]=this;this.format=
+k.indexOf(m,p),e.appendXtra(k.substr(p,$-p),Number(m),Ca(n[l],m),"",h&&"px"===k.substr($+m.length,2),0===l),p=$+m.length;e["xs"+e.l]+=k.substr(p)}else e["xs"+e.l]+=e.l?" "+k:k;if(-1!==c.indexOf("=")&&e.data){c=e.xs0+e.data.s;for(j=1;j<e.l;j++)c+=e["xs"+j]+e.data["xn"+j];e.e=c+e["xs"+j]}e.l||(e.type=-1,e.xs0=e.e);return e.xfirst||e},w=9,m=v.prototype;for(m.l=m.pr=0;0<--w;)m["xn"+w]=0,m["xs"+w]="";m.xs0="";m._next=m._prev=m.xfirst=m.data=m.plugin=m.setRatio=m.rxp=null;m.appendXtra=function(a,b,d,c,
+f,j){var e=this.l;this["xs"+e]+=j&&e?" "+a:a||"";if(!d&&0!==e&&!this.plugin)return this["xs"+e]+=b+(c||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=c||"";if(0<e)return this.data["xn"+e]=b+d,this.rxp["xn"+e]=f,this["xn"+e]=b,this.plugin||(this.xfirst=new v(this,"xn"+e,b,d,this.xfirst||this,0,this.n,f,this.pr),this.xfirst.xs0=0),this;this.data={s:b+d};this.rxp={};this.s=b;this.c=d;this.r=f;return this};var Ea=function(a,b,d,c,f,j,e){this.p=c?T(a)||a:a;L[a]=L[this.p]=this;this.format=
j||Da(b,f);d&&(this.parse=d);this.clrs=f;this.dflt=b;this.pr=e||0},q=N._registerComplexSpecialProp=function(a,b,d,c,f,j,e){a=a.split(",");b=b instanceof Array?b:[b];for(var h=a.length;-1<--h;)new Ea(a[h],b[h],d,c&&0===h,f,j,e)},N=function(a){if(!L[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";q(a,null,function(a,c,f,j,e,h,k){var g=window.com.greensock.plugins[b];if(!g)return window.console&&console.log("Error: "+b+" js file not loaded."),e;g._cssRegister();return L[f].parse(a,c,f,j,e,h,
-k)})}},m=Ea.prototype;m.parseComplex=function(a,b,d,c,f,j){return aa(a,this.p,b,d,this.clrs,this.dflt,c,this.pr,f,j)};m.parse=function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(x(a,d,r,!1,this.dflt)),this.format(b),f,j)};B.registerSpecialProp=function(a,b,d){q(a,null,function(a,f,j,e,h,k){h=new y(a,j,0,0,h,2,j,!1,d);h.plugin=k;h.setRatio=b(a,f,e._tween,j);return h},!1,!1,null,d)};var Fa="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),H=T("transform"),
-Qa=Aa+"transform",Ga=T("transformOrigin"),I=null!==T("perspective"),Y=function(a,b,d){var c=d?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,j=I?parseFloat(x(a,Ga,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,e,h,k,g,l,p,n,m;H?e=x(a,Qa,b,!0):a.currentStyle&&(e=(e=a.currentStyle.filter.match(Ma))&&4===e.length?e[0].substr(4)+","+Number(e[2].substr(4))+","+Number(e[1].substr(4))+","+e[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null);h=(e||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(b=h.length;-1<--b;)e=
-Number(h[b]),h[b]=(1E5*e+(0>e?-0.5:0.5)>>0)/1E5;if(16===h.length){if(f=h[8],e=h[9],l=h[10],p=h[12],n=h[13],m=h[14],c.zOrigin&&(m=-c.zOrigin,p=f*m-h[12],n=e*m-h[13],m=l*m+c.zOrigin-h[14]),!d||p!==c.x||n!==c.y||m!==c.z){var K=h[0],s=h[1],w=h[2],q=h[3],t=h[4],r=h[5],u=h[6],y=h[7];h=h[11];var v=-Math.PI+1E-4,A=Math.PI-1E-4,z=c.rotationX=Math.atan2(u,l),F=z<v||z>A,E,G,C,D;z&&(C=Math.cos(-z),D=Math.sin(-z),z=t*C+f*D,E=r*C+e*D,G=u*C+l*D,f=t*-D+f*C,e=r*-D+e*C,l=u*-D+l*C,h=y*-D+h*C,t=z,r=E,u=G);if(z=c.rotationY=
-Math.atan2(f,K))k=z<v||z>A,C=Math.cos(-z),D=Math.sin(-z),E=s*C-e*D,G=w*C-l*D,e=s*D+e*C,l=w*D+l*C,h=q*D+h*C,K=K*C-f*D,s=E,w=G;if(z=c.rotation=Math.atan2(s,r))g=z<v||z>A,C=Math.cos(-z),D=Math.sin(-z),K=K*C+t*D,E=s*C+r*D,r=s*-D+r*C,u=w*-D+u*C,s=E;g&&F?c.rotation=c.rotationX=0:g&&k?c.rotation=c.rotationY=0:k&&F&&(c.rotationY=c.rotationX=0);c.scaleX=(1E5*Math.sqrt(K*K+s*s)+0.5>>0)/1E5;c.scaleY=(1E5*Math.sqrt(r*r+e*e)+0.5>>0)/1E5;c.scaleZ=(1E5*Math.sqrt(u*u+l*l)+0.5>>0)/1E5;c.skewX=0;c.perspective=h?1/
+k)})}},m=Ea.prototype;m.parseComplex=function(a,b,d,c,f,j){return aa(a,this.p,b,d,this.clrs,this.dflt,c,this.pr,f,j)};m.parse=function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(E(a,d,r,!1,this.dflt)),this.format(b),f,j)};A.registerSpecialProp=function(a,b,d){q(a,null,function(a,f,j,e,h,k){h=new v(a,j,0,0,h,2,j,!1,d);h.plugin=k;h.setRatio=b(a,f,e._tween,j);return h},!1,!1,null,d)};var Fa="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),H=T("transform"),
+Qa=Aa+"transform",Ga=T("transformOrigin"),I=null!==T("perspective"),Y=function(a,b,d){var c=d?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,j=I?parseFloat(E(a,Ga,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,e,h,k,g,l,p,n,m;H?e=E(a,Qa,b,!0):a.currentStyle&&(e=(e=a.currentStyle.filter.match(Ma))&&4===e.length?e[0].substr(4)+","+Number(e[2].substr(4))+","+Number(e[1].substr(4))+","+e[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null);h=(e||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(b=h.length;-1<--b;)e=
+Number(h[b]),h[b]=(1E5*e+(0>e?-0.5:0.5)>>0)/1E5;if(16===h.length){if(f=h[8],e=h[9],l=h[10],p=h[12],n=h[13],m=h[14],c.zOrigin&&(m=-c.zOrigin,p=f*m-h[12],n=e*m-h[13],m=l*m+c.zOrigin-h[14]),!d||p!==c.x||n!==c.y||m!==c.z){var K=h[0],s=h[1],x=h[2],q=h[3],t=h[4],r=h[5],u=h[6],v=h[7];h=h[11];var w=-Math.PI+1E-4,z=Math.PI-1E-4,y=c.rotationX=Math.atan2(u,l),F=y<w||y>z,D,G,B,C;y&&(B=Math.cos(-y),C=Math.sin(-y),y=t*B+f*C,D=r*B+e*C,G=u*B+l*C,f=t*-C+f*B,e=r*-C+e*B,l=u*-C+l*B,h=v*-C+h*B,t=y,r=D,u=G);if(y=c.rotationY=
+Math.atan2(f,K))k=y<w||y>z,B=Math.cos(-y),C=Math.sin(-y),D=s*B-e*C,G=x*B-l*C,e=s*C+e*B,l=x*C+l*B,h=q*C+h*B,K=K*B-f*C,s=D,x=G;if(y=c.rotation=Math.atan2(s,r))g=y<w||y>z,B=Math.cos(-y),C=Math.sin(-y),K=K*B+t*C,D=s*B+r*C,r=s*-C+r*B,u=x*-C+u*B,s=D;g&&F?c.rotation=c.rotationX=0:g&&k?c.rotation=c.rotationY=0:k&&F&&(c.rotationY=c.rotationX=0);c.scaleX=(1E5*Math.sqrt(K*K+s*s)+0.5>>0)/1E5;c.scaleY=(1E5*Math.sqrt(r*r+e*e)+0.5>>0)/1E5;c.scaleZ=(1E5*Math.sqrt(u*u+l*l)+0.5>>0)/1E5;c.skewX=0;c.perspective=h?1/
h:0;c.x=p;c.y=n;c.z=m}}else if(!I||0===h.length||c.x!==h[4]||c.y!==h[5]||!c.rotationX&&!c.rotationY){e=(k=6<=h.length)?h[0]:1;p=h[1]||0;l=h[2]||0;n=k?h[3]:1;c.x=h[4]||0;c.y=h[5]||0;k=Math.sqrt(e*e+p*p);g=Math.sqrt(n*n+l*l);e=e||p?Math.atan2(p,e):c.rotation||0;l=l||n?Math.atan2(l,n)+e:c.skewX||0;p=k-Math.abs(c.scaleX||0);n=g-Math.abs(c.scaleY||0);Math.abs(l)>Math.PI/2&&Math.abs(l)<1.5*Math.PI&&(f?(k*=-1,l+=0>=e?Math.PI:-Math.PI,e+=0>=e?Math.PI:-Math.PI):(g*=-1,l+=0>=l?Math.PI:-Math.PI));f=(e-c.rotation)%
-Math.PI;m=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<p||-1E-6>p||1E-6<n||-1E-6>n||1E-6<f||-1E-6>f||1E-6<m||-1E-6>m)c.scaleX=k,c.scaleY=g,c.rotation=e,c.skewX=l;I&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(B.defaultTransformPerspective)||0,c.scaleZ=1)}c.zOrigin=j;for(b in c)1E-6>c[b]&&-1E-6<c[b]&&(c[b]=0);d&&(a._gsTransform=c);return c},Ra=function(a){var b=this.data,d=-b.rotation,c=d+b.skewX,f=(1E5*Math.cos(d)*b.scaleX>>0)/1E5,d=(1E5*Math.sin(d)*b.scaleX>>0)/1E5,j=(1E5*Math.sin(c)*
--b.scaleY>>0)/1E5,c=(1E5*Math.cos(c)*b.scaleY>>0)/1E5,e=this.t.style,h=this.t.currentStyle,k,g;if(h){g=d;d=-j;j=-g;k=h.filter;e.filter="";var l=this.t.offsetWidth;g=this.t.offsetHeight;var p="absolute"!==h.position,n="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+d+", M21="+j+", M22="+c,m=b.x,r=b.y,s,w;null!=b.ox&&(s=(b.oxp?0.01*l*b.ox:b.ox)-l/2,w=(b.oyp?0.01*g*b.oy:b.oy)-g/2,m+=s-(s*f+w*d),r+=w-(s*j+w*c));if(p)s=l/2,w=g/2,n+=", Dx="+(s-(s*f+w*d)+m)+", Dy="+(w-(s*j+w*c)+r)+")";else{var q=
-8>ja?1:-1;s=b.ieOffsetX||0;w=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>d?-d:d)*g))/2+m);b.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>j?-j:j)*l))/2+r);for(v=0;4>v;v++)l=Pa[v],g=h[l],g=-1!==g.indexOf("px")?parseFloat(g):F(this.t,l,parseFloat(g),g.replace(Ha,""))||0,m=g!==b[l]?2>v?-b.ieOffsetX:-b.ieOffsetY:2>v?s-b.ieOffsetX:w-b.ieOffsetY,e[l]=(b[l]=Math.round(g-m*(0===v||2===v?1:q)))+"px";n+=", sizingMethod='auto expand')"}e.filter=-1!==k.indexOf("DXImageTransform.Microsoft.Matrix(")?k.replace(Na,
-n):n+" "+k;if(0===a||1===a)if(1===f&&0===d&&0===j&&1===c&&(!p||-1!==n.indexOf("Dx=0, Dy=0")))(!ga.test(k)||100===parseFloat(RegExp.$1))&&-1===k.indexOf("gradient(")&&e.removeAttribute("filter")}},Sa=function(){var a=this.data,b=this.t.style,d=a.perspective,c=a.scaleX,f=0,j=0,e=0,h=0,k=a.scaleY,g=0,l=0,p=0,m=0,r=a.scaleZ,q=0,s=0,w=0,v=d?-1/d:0,t=a.rotation,A=a.zOrigin,u,x,y,B,z;va&&(x=b.top+"",u=parseFloat(x)||0,x=x.substr((u+"").length),a._ffFix=!a._ffFix,b.top=(a._ffFix?u+0.05:u-0.05)+(""===x?"px":
-x));t&&(u=Math.cos(t),t=Math.sin(t),y=k*t,f=c*-t,k*=u,c*=u,h=y);if(t=a.rotationY)u=Math.cos(t),t=Math.sin(t),B=r*-t,z=v*-t,j=c*t,g=h*t,r*=u,v*=u,c*=u,h*=u,p=B,s=z;if(t=a.rotationX)u=Math.cos(t),t=Math.sin(t),x=f*u+j*t,y=k*u+g*t,B=m*u+r*t,z=w*u+v*t,j=f*-t+j*u,g=k*-t+g*u,r=m*-t+r*u,v=w*-t+v*u,f=x,k=y,m=B,w=z;A&&(q-=A,e=j*q,l=g*q,q=r*q+A);e+=a.x;l+=a.y;q=(1E5*(q+a.z)>>0)/1E5;b[H]="matrix3d("+(1E5*c>>0)/1E5+","+(1E5*h>>0)/1E5+","+(1E5*p>>0)/1E5+","+(1E5*s>>0)/1E5+","+(1E5*f>>0)/1E5+","+(1E5*k>>0)/1E5+
-","+(1E5*m>>0)/1E5+","+(1E5*w>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*r>>0)/1E5+","+(1E5*v>>0)/1E5+","+(1E5*e>>0)/1E5+","+(1E5*l>>0)/1E5+","+q+","+(d?1+-q/d:1)+")"},Ta=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[H]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var b=a.rotation,d=b-a.skewX,c=(1E5*Math.cos(b)*a.scaleX>>0)/1E5,b=(1E5*Math.sin(b)*a.scaleX>>0)/1E5,f=(1E5*Math.sin(d)*-a.scaleY>>0)/1E5,d=(1E5*Math.cos(d)*a.scaleY>>0)/1E5;this.t.style[H]=
-"matrix("+c+","+b+","+f+","+d+","+a.x+","+a.y+")"}};q("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,b,d,c,f,j,e){if(c._transform)return f;b=c._transform=Y(a,r,!0);var h=a.style,k=Fa.length,g,l,p,m,q;if("string"===typeof e.transform&&H)l=h[H],h[H]=e.transform,g=Y(a,null,!1),h[H]=l;else if("object"===typeof e){l=null!=e.rotation?e.rotation:
-null!=e.rotationZ?e.rotationZ:b.rotation*R;g={scaleX:G(null!=e.scaleX?e.scaleX:e.scale,b.scaleX),scaleY:G(null!=e.scaleY?e.scaleY:e.scale,b.scaleY),scaleZ:G(null!=e.scaleZ?e.scaleZ:e.scale,b.scaleZ),x:G(e.x,b.x),y:G(e.y,b.y),z:G(e.z,b.z),perspective:G(e.transformPerspective,b.perspective)};g.rotation=null!=e.shortRotation||null!=e.shortRotationZ?na(e.shortRotation||e.shortRotationZ||0,b.rotation):"number"===typeof l?l*E:P(l,b.rotation);I&&(g.rotationX=null!=e.shortRotationX?na(e.shortRotationX,b.rotationX):
-"number"===typeof e.rotationX?e.rotationX*E:P(e.rotationX,b.rotationX),g.rotationY=null!=e.shortRotationY?na(e.shortRotationY,b.rotationY):"number"===typeof e.rotationY?e.rotationY*E:P(e.rotationY,b.rotationY),1E-6>g.rotationX&&-1E-6<g.rotationX&&(g.rotationX=0),1E-6>g.rotationY&&-1E-6<g.rotationY&&(g.rotationY=0));g.skewX=null==e.skewX?b.skewX:"number"===typeof e.skewX?e.skewX*E:P(e.skewX,b.skewX);g.skewY=null==e.skewY?b.skewY:"number"===typeof e.skewY?e.skewY*E:P(e.skewY,b.skewY);if(l=g.skewY-b.skewY)g.skewX+=
-l,g.rotation+=l;1E-6>g.skewY&&-1E-6<g.skewY&&(g.skewY=0);1E-6>g.skewX&&-1E-6<g.skewX&&(g.skewX=0);1E-6>g.rotation&&-1E-6<g.rotation&&(g.rotation=0)}m=b.z||b.rotationX||b.rotationY||g.z||g.rotationX||g.rotationY||g.perspective;!m&&null!=g.scale&&(g.scaleZ=1);for(;-1<--k;)if(d=Fa[k],p=g[d]-b[d],1E-6<p||-1E-6>p||null!=X[d])q=!0,f=new y(b,d,b[d],p,f),f.xs0=0,f.plugin=j,c._overwriteProps.push(f.n);if((p=e.transformOrigin)||I&&m&&b.zOrigin)H?(q=!0,p=(p||x(a,d,r,!1,"50% 50%"))+"",d=Ga,f=new y(h,d,0,0,f,
--1,"css_transformOrigin"),f.b=h[d],f.plugin=j,I?(l=b.zOrigin,p=p.split(" "),b.zOrigin=(2<p.length?parseFloat(p[2]):l)||0,f.xs0=f.e=h[d]=p[0]+" "+(p[1]||"50%")+" 0px",f=new y(b,"zOrigin",0,0,f,-1,f.n),f.b=l,f.xs0=f.e=b.zOrigin):f.xs0=f.e=h[d]=p):ma(p+"",b);q&&(c._transformType=m||3===this._transformType?3:2);return f},!0);q("boxShadow","0px 0px 0px 0px #999",null,!0,!0);q("borderRadius","0px",function(a,b,d,c,f){b=this.format(b);c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius",
-"borderBottomLeftRadius"];var j=a.style,e,h,k,g,l,m,n,q,v,s,w,y;q=parseFloat(a.offsetWidth);v=parseFloat(a.offsetHeight);b=b.split(" ");for(e=0;e<c.length;e++)this.p.indexOf("border")&&(c[e]=T(c[e])),g=k=x(a,c[e],r,!1,"0px"),-1!==g.indexOf(" ")&&(k=g.split(" "),g=k[0],k=k[1]),l=h=b[e],m=parseFloat(g),w=g.substr((m+"").length),(y="="===l.charAt(1))?(n=parseInt(l.charAt(0)+"1",10),l=l.substr(2),n*=parseFloat(l),s=l.substr((n+"").length-(0>n?1:0))||""):(n=parseFloat(l),s=l.substr((n+"").length)),""===
-s&&(s=ca[d]||w),s!==w&&(g=F(a,"borderLeft",m,w),m=F(a,"borderTop",m,w),"%"===s?(g=100*(g/q)+"%",k=100*(m/v)+"%"):"em"===s?(w=F(a,"borderLeft",1,"em"),g=g/w+"em",k=m/w+"em"):(g+="px",k=m+"px"),y&&(l=parseFloat(g)+n+s,h=parseFloat(k)+n+s)),f=aa(j,c[e],g+" "+k,l+" "+h,!1,"0px",f);return f},!0,!1,Da("0px 0px 0px 0px",!1,!0));q("backgroundPosition","0 0",function(a,b,d,c,f,j){d=r||U(a,null);d=this.format((d?ja?d.getPropertyValue("background-position-x")+" "+d.getPropertyValue("background-position-y"):
-d.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");b=this.format(b);var e,h,k,g;if(-1!==d.indexOf("%")!==(-1!==b.indexOf("%"))){c=d.split(" ");e=b.split(" ");ha.setAttribute("src",x(a,"backgroundImage").replace(Ka,""));for(h=2;-1<--h;)d=c[h],k=-1!==d.indexOf("%"),k!==(-1!==e[h].indexOf("%"))&&(g=0===h?a.offsetWidth-ha.width:a.offsetHeight-ha.height,c[h]=k?parseFloat(d)/100*g+"px":100*(parseFloat(d)/g)+"%");d=c.join(" ")}return this.parseComplex(a.style,
-d,b,f,j)},!1,!1,ma);q("backgroundSize","0 0",null,!1,!1,ma);q("perspective","0px",null,!0);q("perspectiveOrigin","50% 50%",null,!0);q("transformStyle","preserve-3d",null,!0);q("backfaceVisibility","visible",null,!0);q("margin",null,A("marginTop,marginRight,marginBottom,marginLeft"));q("padding",null,A("paddingTop,paddingRight,paddingBottom,paddingLeft"));q("clip","rect(0px,0px,0px,0px)");q("textShadow","0px 0px 0px #999",null,!1,!0);q("autoRound",null,function(a,b,d,c,f){return f});q("border","0px solid #000",
-function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(x(a,"borderTopWidth",r,!1,"0px")+" "+x(a,"borderTopStyle",r,!1,"solid")+" "+x(a,"borderTopColor",r,!1,"#000")),this.format(b),f,j)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(J)||["#000"])[0]});var Ua=function(a){var b=this.t,d=b.filter;a=this.s+this.c*a>>0;var c;100===a&&(-1===d.indexOf("atrix(")&&-1===d.indexOf("radient(")?(b.removeAttribute("filter"),c=!x(this.data,"filter")):(b.filter=d.replace(Ja,
-""),c=!0));c||(this.xn1&&(b.filter=d=d||"alpha(opacity=100)"),b.filter=-1===d.indexOf("opacity")?b.filter+(" alpha(opacity="+a+")"):d.replace(ga,"opacity="+a))};q("opacity,alpha,autoAlpha","1",function(a,b,d,c,f,j){var e=parseFloat(x(a,"opacity",r,!1,"1")),h=a.style,k;b=parseFloat(b);"autoAlpha"===d&&(k=x(a,"visibility",r),1===e&&("hidden"===k&&0!==b)&&(e=0),f=new y(h,"visibility",0,0,f,-1,null,!1,0,0!==e?"visible":"hidden",0===b?"hidden":"visible"),f.xs0="visible",c._overwriteProps.push(f.n));O?
-f=new y(h,"opacity",e,b-e,f):(f=new y(h,"opacity",100*e,100*(b-e),f),f.xn1="autoAlpha"===d?1:0,h.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=j,f.setRatio=Ua);return f});var Va=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var b=this.t.style,d=b.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)b[a.p]=a.v;else b[d](a.p.replace(qa,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=
-this.b)};q("className",null,function(a,b,d,c,f,j,e){var h=a.className,k=a.style.cssText;f=c._classNamePT=new y(a,d,0,0,f,2);f.setRatio=Va;f.b=h;f.e="="!==b.charAt(1)?b:"+"===b.charAt(0)?h+" "+b.substr(2):h.split(b.substr(2)).join("");c._tween._duration&&(b=Z(a,r,!0),a.className=f.e,e=Ba(a,b,Z(a),e),a.className=h,f.data=e.firstMPT,a.style.cssText=k,f=f.xfirst=c.parse(a,e.difs,f,j));return f});m=["bezier","throwProps","physicsProps","physics2D"];for(v=m.length;v--;)N(m[v]);m=B.prototype;m._firstPT=
-null;m._onInitTween=function(a,b,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=b;ia=b.autoRound;ba=!1;ca=b.suffixMap||B.suffixMap;r=U(a,"");da=this._overwriteProps;d=a.style;var c,f,j,e;if(ta&&""===d.zIndex&&(c=x(a,"zIndex",r),"auto"===c||""===c))d.zIndex=0;"string"===typeof b&&(f=d.cssText,c=Z(a,r),d.cssText=f+";"+b,c=Ba(a,c,Z(a)).difs,!O&&Ia.test(b)&&(c.opacity=parseFloat(RegExp.$1)),b=c,d.cssText=f);this._firstPT=b=this.parse(a,b,null);if(this._transformType){c=3===this._transformType;
-if(H){if(ua){ta=!0;if(""===d.zIndex&&(e=x(a,"zIndex",r),"auto"===e||""===e))d.zIndex=0;wa&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(c?"visible":"hidden"))}}else d.zoom=1;for(d=b;d&&d._next;)d=d._next;e=new y(a,"transform",0,0,null,2);this._linkCSSP(e,null,d);e.setRatio=c&&I?Sa:H?Ta:Ra;e.data=this._transform||Y(a,r,!0);da.pop()}if(ba){for(;b;){a=b._next;for(d=f;d&&d.pr>b.pr;)d=d._next;(b._prev=d?d._prev:j)?b._prev._next=b:f=b;(b._next=d)?d._prev=b:j=b;b=a}this._firstPT=f}return!0};
-m.parse=function(a,b,d,c){var f=a.style,j,e,h,k,g,l,m,n;for(j in b){g=b[j];if(e=L[j])d=e.parse(a,g,j,this,d,c,b);else if(e=x(a,j,r)+"",m="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||m&&!g.indexOf("rgb"))m||(g=oa(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),d=aa(f,j,e,g,!0,"transparent",d,0,c);else if(m&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))d=aa(f,j,e,g,!0,null,d,0,c);else{h=parseFloat(e);l=e.substr((h+"").length);if(""===e||"auto"===e)if("width"===
-j||"height"===j){h=a;n=j;k=r;l=parseFloat("width"===n?h.offsetWidth:h.offsetHeight);n=Oa[n];var q=n.length;for(k=k||U(h,null);-1<--q;)l-=parseFloat(x(h,"padding"+n[q],k,!0))||0,l-=parseFloat(x(h,"border"+n[q]+"Width",k,!0))||0;h=l;l="px"}else h="opacity"!==j?0:1,l="";(n=m&&"="===g.charAt(1))?(k=parseInt(g.charAt(0)+"1",10),g=g.substr(2),k*=parseFloat(g),m=g.substr((k+"").length-(0>k?1:0))||""):(k=parseFloat(g),m=m?g.substr((k+"").length)||"":"");""===m&&(m=ca[j]||l);g=k||0===k?(n?k+h:k)+m:b[j];if(l!==
-m&&""!==m&&(k||0===k))if(h||0===h)if(h=F(a,j,h,l),"%"===m?(h/=F(a,j,100,"%")/100,100<h&&(h=100)):"em"===m?h/=F(a,j,1,"em"):(k=F(a,j,k,m),m="px"),n&&(k||0===k))g=k+h+m;n&&(k+=h);(h||0===h)&&(k||0===k)?(d=new y(f,j,h,k-h,d,0,"css_"+j,!1!==ia&&("px"===m||"zIndex"===j),0,e,g),d.xs0=m):!g&&("NaN"===g+""||null==g)?window.console&&console.log("invalid "+j+" tween value. "):(d=new y(f,j,k||h||0,0,d,-1,"css_"+j,!1,0,e,g),d.xs0="display"===j&&"none"===g?e:g)}c&&(d&&!d.plugin)&&(d.plugin=c)}return d};m.setRatio=
+Math.PI;m=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<p||-1E-6>p||1E-6<n||-1E-6>n||1E-6<f||-1E-6>f||1E-6<m||-1E-6>m)c.scaleX=k,c.scaleY=g,c.rotation=e,c.skewX=l;I&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(A.defaultTransformPerspective)||0,c.scaleZ=1)}c.zOrigin=j;for(b in c)1E-6>c[b]&&-1E-6<c[b]&&(c[b]=0);d&&(a._gsTransform=c);return c},Ra=function(a){var b=this.data,d=-b.rotation,c=d+b.skewX,f=(1E5*Math.cos(d)*b.scaleX>>0)/1E5,d=(1E5*Math.sin(d)*b.scaleX>>0)/1E5,j=(1E5*Math.sin(c)*
+-b.scaleY>>0)/1E5,c=(1E5*Math.cos(c)*b.scaleY>>0)/1E5,e=this.t.style,h=this.t.currentStyle,k,g;if(h){g=d;d=-j;j=-g;k=h.filter;e.filter="";var l=this.t.offsetWidth;g=this.t.offsetHeight;var p="absolute"!==h.position,n="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+d+", M21="+j+", M22="+c,m=b.x,r=b.y,s,x;null!=b.ox&&(s=(b.oxp?0.01*l*b.ox:b.ox)-l/2,x=(b.oyp?0.01*g*b.oy:b.oy)-g/2,m+=s-(s*f+x*d),r+=x-(s*j+x*c));if(p)s=l/2,x=g/2,n+=", Dx="+(s-(s*f+x*d)+m)+", Dy="+(x-(s*j+x*c)+r)+")";else{var q=
+8>ja?1:-1;s=b.ieOffsetX||0;x=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>d?-d:d)*g))/2+m);b.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>j?-j:j)*l))/2+r);for(w=0;4>w;w++)l=Pa[w],g=h[l],g=-1!==g.indexOf("px")?parseFloat(g):F(this.t,l,parseFloat(g),g.replace(Ha,""))||0,m=g!==b[l]?2>w?-b.ieOffsetX:-b.ieOffsetY:2>w?s-b.ieOffsetX:x-b.ieOffsetY,e[l]=(b[l]=Math.round(g-m*(0===w||2===w?1:q)))+"px";n+=", sizingMethod='auto expand')"}e.filter=-1!==k.indexOf("DXImageTransform.Microsoft.Matrix(")?k.replace(Na,
+n):n+" "+k;if(0===a||1===a)if(1===f&&0===d&&0===j&&1===c&&(!p||-1!==n.indexOf("Dx=0, Dy=0")))(!ga.test(k)||100===parseFloat(RegExp.$1))&&-1===k.indexOf("gradient(")&&e.removeAttribute("filter")}},Sa=function(){var a=this.data,b=this.t.style,d=a.perspective,c=a.scaleX,f=0,j=0,e=0,h=0,k=a.scaleY,g=0,l=0,p=0,m=0,r=a.scaleZ,q=0,s=0,x=0,w=d?-1/d:0,t=a.rotation,z=a.zOrigin,u,v,A,D,y;va&&(v=E(this.t,"top",null,!1,"0"),u=parseFloat(v)||0,v=v.substr((u+"").length),a._ffFix=!a._ffFix,b.top=(a._ffFix?u+0.05:
+u-0.05)+(""===v?"px":v));t&&(u=Math.cos(t),t=Math.sin(t),A=k*t,f=c*-t,k*=u,c*=u,h=A);if(t=a.rotationY)u=Math.cos(t),t=Math.sin(t),D=r*-t,y=w*-t,j=c*t,g=h*t,r*=u,w*=u,c*=u,h*=u,p=D,s=y;if(t=a.rotationX)u=Math.cos(t),t=Math.sin(t),v=f*u+j*t,A=k*u+g*t,D=m*u+r*t,y=x*u+w*t,j=f*-t+j*u,g=k*-t+g*u,r=m*-t+r*u,w=x*-t+w*u,f=v,k=A,m=D,x=y;z&&(q-=z,e=j*q,l=g*q,q=r*q+z);e+=a.x;l+=a.y;q=(1E5*(q+a.z)>>0)/1E5;b[H]="matrix3d("+(1E5*c>>0)/1E5+","+(1E5*h>>0)/1E5+","+(1E5*p>>0)/1E5+","+(1E5*s>>0)/1E5+","+(1E5*f>>0)/1E5+
+","+(1E5*k>>0)/1E5+","+(1E5*m>>0)/1E5+","+(1E5*x>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*r>>0)/1E5+","+(1E5*w>>0)/1E5+","+(1E5*e>>0)/1E5+","+(1E5*l>>0)/1E5+","+q+","+(d?1+-q/d:1)+")"},Ta=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[H]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var b=a.rotation,d=b-a.skewX,c=(1E5*Math.cos(b)*a.scaleX>>0)/1E5,b=(1E5*Math.sin(b)*a.scaleX>>0)/1E5,f=(1E5*Math.sin(d)*-a.scaleY>>0)/1E5,d=(1E5*Math.cos(d)*a.scaleY>>0)/
+1E5;this.t.style[H]="matrix("+c+","+b+","+f+","+d+","+a.x+","+a.y+")"}};q("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,b,d,c,f,j,e){if(c._transform)return f;b=c._transform=Y(a,r,!0);var h=a.style,k=Fa.length,g,l,p,m,q;if("string"===typeof e.transform&&H)l=h[H],h[H]=e.transform,g=Y(a,null,!1),h[H]=l;else if("object"===typeof e){l=null!=e.rotation?
+e.rotation:null!=e.rotationZ?e.rotationZ:b.rotation*R;g={scaleX:G(null!=e.scaleX?e.scaleX:e.scale,b.scaleX),scaleY:G(null!=e.scaleY?e.scaleY:e.scale,b.scaleY),scaleZ:G(null!=e.scaleZ?e.scaleZ:e.scale,b.scaleZ),x:G(e.x,b.x),y:G(e.y,b.y),z:G(e.z,b.z),perspective:G(e.transformPerspective,b.perspective)};g.rotation=null!=e.shortRotation||null!=e.shortRotationZ?na(e.shortRotation||e.shortRotationZ||0,b.rotation):"number"===typeof l?l*D:P(l,b.rotation);I&&(g.rotationX=null!=e.shortRotationX?na(e.shortRotationX,
+b.rotationX):"number"===typeof e.rotationX?e.rotationX*D:P(e.rotationX,b.rotationX),g.rotationY=null!=e.shortRotationY?na(e.shortRotationY,b.rotationY):"number"===typeof e.rotationY?e.rotationY*D:P(e.rotationY,b.rotationY),1E-6>g.rotationX&&-1E-6<g.rotationX&&(g.rotationX=0),1E-6>g.rotationY&&-1E-6<g.rotationY&&(g.rotationY=0));g.skewX=null==e.skewX?b.skewX:"number"===typeof e.skewX?e.skewX*D:P(e.skewX,b.skewX);g.skewY=null==e.skewY?b.skewY:"number"===typeof e.skewY?e.skewY*D:P(e.skewY,b.skewY);if(l=
+g.skewY-b.skewY)g.skewX+=l,g.rotation+=l;1E-6>g.skewY&&-1E-6<g.skewY&&(g.skewY=0);1E-6>g.skewX&&-1E-6<g.skewX&&(g.skewX=0);1E-6>g.rotation&&-1E-6<g.rotation&&(g.rotation=0)}m=b.z||b.rotationX||b.rotationY||g.z||g.rotationX||g.rotationY||g.perspective;!m&&null!=g.scale&&(g.scaleZ=1);for(;-1<--k;)if(d=Fa[k],p=g[d]-b[d],1E-6<p||-1E-6>p||null!=X[d])q=!0,f=new v(b,d,b[d],p,f),f.xs0=0,f.plugin=j,c._overwriteProps.push(f.n);if((p=e.transformOrigin)||I&&m&&b.zOrigin)H?(q=!0,p=(p||E(a,d,r,!1,"50% 50%"))+"",
+d=Ga,f=new v(h,d,0,0,f,-1,"css_transformOrigin"),f.b=h[d],f.plugin=j,I?(l=b.zOrigin,p=p.split(" "),b.zOrigin=(2<p.length?parseFloat(p[2]):l)||0,f.xs0=f.e=h[d]=p[0]+" "+(p[1]||"50%")+" 0px",f=new v(b,"zOrigin",0,0,f,-1,f.n),f.b=l,f.xs0=f.e=b.zOrigin):f.xs0=f.e=h[d]=p):ma(p+"",b);q&&(c._transformType=m||3===this._transformType?3:2);return f},!0);q("boxShadow","0px 0px 0px 0px #999",null,!0,!0);q("borderRadius","0px",function(a,b,d,c,f){b=this.format(b);c=["borderTopLeftRadius","borderTopRightRadius",
+"borderBottomRightRadius","borderBottomLeftRadius"];var j=a.style,e,h,k,g,l,m,n,q,v,s,x,w;q=parseFloat(a.offsetWidth);v=parseFloat(a.offsetHeight);b=b.split(" ");for(e=0;e<c.length;e++)this.p.indexOf("border")&&(c[e]=T(c[e])),g=k=E(a,c[e],r,!1,"0px"),-1!==g.indexOf(" ")&&(k=g.split(" "),g=k[0],k=k[1]),l=h=b[e],m=parseFloat(g),x=g.substr((m+"").length),(w="="===l.charAt(1))?(n=parseInt(l.charAt(0)+"1",10),l=l.substr(2),n*=parseFloat(l),s=l.substr((n+"").length-(0>n?1:0))||""):(n=parseFloat(l),s=l.substr((n+
+"").length)),""===s&&(s=ca[d]||x),s!==x&&(g=F(a,"borderLeft",m,x),m=F(a,"borderTop",m,x),"%"===s?(g=100*(g/q)+"%",k=100*(m/v)+"%"):"em"===s?(x=F(a,"borderLeft",1,"em"),g=g/x+"em",k=m/x+"em"):(g+="px",k=m+"px"),w&&(l=parseFloat(g)+n+s,h=parseFloat(k)+n+s)),f=aa(j,c[e],g+" "+k,l+" "+h,!1,"0px",f);return f},!0,!1,Da("0px 0px 0px 0px",!1,!0));q("backgroundPosition","0 0",function(a,b,d,c,f,j){d=r||U(a,null);d=this.format((d?ja?d.getPropertyValue("background-position-x")+" "+d.getPropertyValue("background-position-y"):
+d.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");b=this.format(b);var e,h,k,g;if(-1!==d.indexOf("%")!==(-1!==b.indexOf("%"))){c=d.split(" ");e=b.split(" ");ha.setAttribute("src",E(a,"backgroundImage").replace(Ka,""));for(h=2;-1<--h;)d=c[h],k=-1!==d.indexOf("%"),k!==(-1!==e[h].indexOf("%"))&&(g=0===h?a.offsetWidth-ha.width:a.offsetHeight-ha.height,c[h]=k?parseFloat(d)/100*g+"px":100*(parseFloat(d)/g)+"%");d=c.join(" ")}return this.parseComplex(a.style,
+d,b,f,j)},!1,!1,ma);q("backgroundSize","0 0",null,!1,!1,ma);q("perspective","0px",null,!0);q("perspectiveOrigin","50% 50%",null,!0);q("transformStyle","preserve-3d",null,!0);q("backfaceVisibility","visible",null,!0);q("margin",null,z("marginTop,marginRight,marginBottom,marginLeft"));q("padding",null,z("paddingTop,paddingRight,paddingBottom,paddingLeft"));q("clip","rect(0px,0px,0px,0px)");q("textShadow","0px 0px 0px #999",null,!1,!0);q("autoRound",null,function(a,b,d,c,f){return f});q("border","0px solid #000",
+function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(E(a,"borderTopWidth",r,!1,"0px")+" "+E(a,"borderTopStyle",r,!1,"solid")+" "+E(a,"borderTopColor",r,!1,"#000")),this.format(b),f,j)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(J)||["#000"])[0]});var Ua=function(a){var b=this.t,d=b.filter;a=this.s+this.c*a>>0;var c;100===a&&(-1===d.indexOf("atrix(")&&-1===d.indexOf("radient(")?(b.removeAttribute("filter"),c=!E(this.data,"filter")):(b.filter=d.replace(Ja,
+""),c=!0));c||(this.xn1&&(b.filter=d=d||"alpha(opacity=100)"),b.filter=-1===d.indexOf("opacity")?b.filter+(" alpha(opacity="+a+")"):d.replace(ga,"opacity="+a))};q("opacity,alpha,autoAlpha","1",function(a,b,d,c,f,j){var e=parseFloat(E(a,"opacity",r,!1,"1")),h=a.style,k;b=parseFloat(b);"autoAlpha"===d&&(k=E(a,"visibility",r),1===e&&("hidden"===k&&0!==b)&&(e=0),f=new v(h,"visibility",0,0,f,-1,null,!1,0,0!==e?"visible":"hidden",0===b?"hidden":"visible"),f.xs0="visible",c._overwriteProps.push(f.n));O?
+f=new v(h,"opacity",e,b-e,f):(f=new v(h,"opacity",100*e,100*(b-e),f),f.xn1="autoAlpha"===d?1:0,h.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=j,f.setRatio=Ua);return f});var Va=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var b=this.t.style,d=b.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)b[a.p]=a.v;else b[d](a.p.replace(qa,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=
+this.b)};q("className",null,function(a,b,d,c,f,j,e){var h=a.className,k=a.style.cssText;f=c._classNamePT=new v(a,d,0,0,f,2);f.setRatio=Va;f.b=h;f.e="="!==b.charAt(1)?b:"+"===b.charAt(0)?h+" "+b.substr(2):h.split(b.substr(2)).join("");c._tween._duration&&(b=Z(a,r,!0),a.className=f.e,e=Ba(a,b,Z(a),e),a.className=h,f.data=e.firstMPT,a.style.cssText=k,f=f.xfirst=c.parse(a,e.difs,f,j));return f});m=["bezier","throwProps","physicsProps","physics2D"];for(w=m.length;w--;)N(m[w]);m=A.prototype;m._firstPT=
+null;m._onInitTween=function(a,b,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=b;ia=b.autoRound;ba=!1;ca=b.suffixMap||A.suffixMap;r=U(a,"");da=this._overwriteProps;d=a.style;var c,f,j,e;if(ta&&""===d.zIndex&&(c=E(a,"zIndex",r),"auto"===c||""===c))d.zIndex=0;"string"===typeof b&&(f=d.cssText,c=Z(a,r),d.cssText=f+";"+b,c=Ba(a,c,Z(a)).difs,!O&&Ia.test(b)&&(c.opacity=parseFloat(RegExp.$1)),b=c,d.cssText=f);this._firstPT=b=this.parse(a,b,null);if(this._transformType){c=3===this._transformType;
+if(H){if(ua){ta=!0;if(""===d.zIndex&&(e=E(a,"zIndex",r),"auto"===e||""===e))d.zIndex=0;wa&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(c?"visible":"hidden"))}}else d.zoom=1;for(d=b;d&&d._next;)d=d._next;e=new v(a,"transform",0,0,null,2);this._linkCSSP(e,null,d);e.setRatio=c&&I?Sa:H?Ta:Ra;e.data=this._transform||Y(a,r,!0);da.pop()}if(ba){for(;b;){a=b._next;for(d=f;d&&d.pr>b.pr;)d=d._next;(b._prev=d?d._prev:j)?b._prev._next=b:f=b;(b._next=d)?d._prev=b:j=b;b=a}this._firstPT=f}return!0};
+m.parse=function(a,b,d,c){var f=a.style,j,e,h,k,g,l,m,n;for(j in b){g=b[j];if(e=L[j])d=e.parse(a,g,j,this,d,c,b);else if(e=E(a,j,r)+"",m="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||m&&!g.indexOf("rgb"))m||(g=oa(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),d=aa(f,j,e,g,!0,"transparent",d,0,c);else if(m&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))d=aa(f,j,e,g,!0,null,d,0,c);else{h=parseFloat(e);l=e.substr((h+"").length);if(""===e||"auto"===e)if("width"===
+j||"height"===j){h=a;n=j;k=r;l=parseFloat("width"===n?h.offsetWidth:h.offsetHeight);n=Oa[n];var q=n.length;for(k=k||U(h,null);-1<--q;)l-=parseFloat(E(h,"padding"+n[q],k,!0))||0,l-=parseFloat(E(h,"border"+n[q]+"Width",k,!0))||0;h=l;l="px"}else h="opacity"!==j?0:1,l="";(n=m&&"="===g.charAt(1))?(k=parseInt(g.charAt(0)+"1",10),g=g.substr(2),k*=parseFloat(g),m=g.substr((k+"").length-(0>k?1:0))||""):(k=parseFloat(g),m=m?g.substr((k+"").length)||"":"");""===m&&(m=ca[j]||l);g=k||0===k?(n?k+h:k)+m:b[j];if(l!==
+m&&""!==m&&(k||0===k))if(h||0===h)if(h=F(a,j,h,l),"%"===m?(h/=F(a,j,100,"%")/100,100<h&&(h=100)):"em"===m?h/=F(a,j,1,"em"):(k=F(a,j,k,m),m="px"),n&&(k||0===k))g=k+h+m;n&&(k+=h);(h||0===h)&&(k||0===k)?(d=new v(f,j,h,k-h,d,0,"css_"+j,!1!==ia&&("px"===m||"zIndex"===j),0,e,g),d.xs0=m):!g&&("NaN"===g+""||null==g)?window.console&&console.log("invalid "+j+" tween value. "):(d=new v(f,j,k||h||0,0,d,-1,"css_"+j,!1,0,e,g),d.xs0="display"===j&&"none"===g?e:g)}c&&(d&&!d.plugin)&&(d.plugin=c)}return d};m.setRatio=
function(a){var b=this._firstPT,d,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;b;)2!==b.type?b.t[b.p]=b.e:b.setRatio(a),b=b._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;b;){d=b.c*a+b.s;b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0);if(b.type)if(1===b.type)if(c=b.l,2===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2;else if(3===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===
c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{d=b.xs0+d+b.xs1;for(c=1;c<b.l;c++)d+=b["xn"+c]+b["xs"+(c+1)];b.t[b.p]=d}else-1===b.type?b.t[b.p]=b.xs0:b.setRatio&&b.setRatio(a);else b.t[b.p]=d+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next};m._enableTransforms=function(a){this._transformType=a||3===this._transformType?3:2};m._linkCSSP=function(a,b,d,c){a&&(b&&(b._prev=
a),a._next&&(a._next._prev=a._prev),d?d._next=a:!c&&null===this._firstPT&&(this._firstPT=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=d);return a};m._kill=function(a){var b=a,d=!1,c,f;if(a.css_autoAlpha||a.css_alpha){b={};for(f in a)b[f]=a[f];b.css_opacity=1;b.css_autoAlpha&&(b.css_visibility=1)}if(a.css_className&&(c=this._classNamePT))(a=c.xfirst)&&a._prev?this._linkCSSP(a._prev,c._next,a._prev._prev):a===this._firstPT&&(this._firstPT=null),c._next&&
-this._linkCSSP(c._next,c._next._next,a._prev),this._target._gsOverwrittenClassNamePT=this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,d=!0;return V.prototype._kill.call(this,b)||d};V.activate([B]);return B},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
+this._linkCSSP(c._next,c._next._next,a._prev),this._target._gsOverwrittenClassNamePT=this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,d=!0;return V.prototype._kill.call(this,b)||d};V.activate([A]);return A},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
diff --git a/src/uncompressed/TweenMax.js b/src/uncompressed/TweenMax.js
index 8066c4b..718bf3d 100755
--- a/src/uncompressed/TweenMax.js
+++ b/src/uncompressed/TweenMax.js
@@ -1,6 +1,6 @@
/**
- * VERSION: beta 1.668
- * DATE: 2013-01-01
+ * VERSION: beta 1.669
+ * DATE: 2013-01-02
* JavaScript (ActionScript 3 and 2 also available)
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -33,7 +33,7 @@
p = TweenMax.prototype = TweenLite.to({}, 0.1, {}),
_blankArray = [];
- TweenMax.version = 1.668;
+ TweenMax.version = 1.669;
p.constructor = TweenMax;
p.kill()._gc = false;
TweenMax.killTweensOf = TweenMax.killDelayedCallsTo = TweenLite.killTweensOf;
@@ -2063,7 +2063,7 @@
p = CSSPlugin.prototype = new TweenPlugin("css");
p.constructor = CSSPlugin;
- CSSPlugin.version = 1.667;
+ CSSPlugin.version = 1.669;
CSSPlugin.API = 2;
CSSPlugin.defaultTransformPerspective = 0;
p = "px"; //we'll reuse the "p" variable to keep file size down
@@ -3229,7 +3229,7 @@
rnd = 100000,
cos, sin, t1, t2, t3, t4, top, n, sfx;
if (_isFirefox) { //Firefox has a bug that causes 3D elements to randomly disappear during animation unless a repaint is forced. One way to do this is change "top" by 0.05 which is imperceptible, so we go back and forth. Another way is to change the display to "none", read the clientTop, and then revert the display but that is much slower.
- top = style.top + "";
+ top = _getStyle(this.t, "top", null, false, "0");
n = parseFloat(top) || 0;
sfx = top.substr((n + "").length);
t._ffFix = !t._ffFix;
diff --git a/src/uncompressed/plugins/CSSPlugin.js b/src/uncompressed/plugins/CSSPlugin.js
index e83253d..f7b2d8c 100755
--- a/src/uncompressed/plugins/CSSPlugin.js
+++ b/src/uncompressed/plugins/CSSPlugin.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.667
- * DATE: 2012-12-30
+ * VERSION: beta 1.669
+ * DATE: 2013-01-02
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -29,7 +29,7 @@
p = CSSPlugin.prototype = new TweenPlugin("css");
p.constructor = CSSPlugin;
- CSSPlugin.version = 1.667;
+ CSSPlugin.version = 1.669;
CSSPlugin.API = 2;
CSSPlugin.defaultTransformPerspective = 0;
p = "px"; //we'll reuse the "p" variable to keep file size down
@@ -1197,7 +1197,7 @@
rnd = 100000,
cos, sin, t1, t2, t3, t4, top, n, sfx;
if (_isFirefox) { //Firefox has a bug that causes 3D elements to randomly disappear during animation unless a repaint is forced. One way to do this is change "top" by 0.05 which is imperceptible, so we go back and forth. Another way is to change the display to "none", read the clientTop, and then revert the display but that is much slower.
- top = style.top + "";
+ top = _getStyle(this.t, "top", null, false, "0");
n = parseFloat(top) || 0;
sfx = top.substr((n + "").length);
t._ffFix = !t._ffFix;