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 borderRadius issue

Jack Doyle1a98429c8e5a
diff --git a/src/minified/TweenMax.min.js b/src/minified/TweenMax.min.js
index 95c1005..7ebaf61 100755
--- a/src/minified/TweenMax.min.js
+++ b/src/minified/TweenMax.min.js
@@ -1,6 +1,6 @@
/**
- * VERSION: beta 1.651
- * DATE: 2012-12-10
+ * VERSION: beta 1.652
+ * DATE: 2012-12-11
* 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(n,s,f){var l=function(F,c,e){f.call(this,F,c,e);this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},k=l.prototype=f.to({},0.1,{}),d=[];l.version=1.651;k.constructor=l;k.kill()._gc=!1;l.killTweensOf=l.killDelayedCallsTo=f.killTweensOf;l.getTweensOf=f.getTweensOf;l.ticker=f.ticker;
+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(n,s,f){var l=function(F,c,e){f.call(this,F,c,e);this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},k=l.prototype=f.to({},0.1,{}),d=[];l.version=1.652;k.constructor=l;k.kill()._gc=!1;l.killTweensOf=l.killDelayedCallsTo=f.killTweensOf;l.getTweensOf=f.getTweensOf;l.ticker=f.ticker;
k.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return f.prototype.invalidate.call(this)};k.updateTo=function(F,c){var e=this.ratio,a;c&&(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(a in F)this.vars[a]=F[a];if(this._initted)if(c)this._initted=
!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&f._onPluginEvent("_onDisable",this),0.998<this._time/this._duration)e=this._time,this.render(0,!0,!1),this._initted=!1,this.render(e,!0,!1);else if(0<this._time){this._initted=!1;this._init();e=1/(1-e);a=this._firstPT;for(var J;a;)J=a.s+a.c,a.c*=e,a.s=J-a.c,a=a._next}return this};k.render=function(a,c,e){var i=!this._dirty?this._totalDuration:this.totalDuration(),J=this._time,b=this._totalTime,v=this._cycle,h,w;if(a>=i){if(this._totalTime=i,
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||(h=!0,w="onComplete"),0===this._duration){if(0===a||0>this._rawPrevTime)this._rawPrevTime!==a&&(e=!0);this._rawPrevTime=a}}else if(0>=a){this._totalTime=this._time=this._cycle=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==b||0===this._duration&&0<this._rawPrevTime)w=
@@ -72,7 +72,7 @@ this._segments[0];this._s2=this._curSeg[0];this._prec=1/this._curSeg.length}if(d
h<c-1){for(c-=1;h<c&&(this._l2=f[++h])<=a;);this._l1=f[h-1];this._li=h;this._curSeg=p=this._segments[h];this._s2=p[this._s1=this._si=0]}else if(a<this._l1&&0<h){for(;0<h&&(this._l1=f[--h])>=a;);0===h&&a<this._l1?this._l1=0:h++;this._l2=f[h];this._li=h;this._curSeg=p=this._segments[h];this._s1=p[(this._si=p.length-1)-1]||0;this._s2=p[this._si]}f=h;a-=this._l1;h=this._si;if(a>this._s2&&h<p.length-1){for(c=p.length-1;h<c&&(this._s2=p[++h])<=a;);this._s1=p[h-1];this._si=h}else if(a<this._s1&&0<h){for(;0<
h&&(this._s1=p[--h])>=a;);0===h&&a<this._s1?this._s1=0:h++;this._s2=p[h];this._si=h}p=(h+(a-this._s1)/(this._s2-this._s1))*this._prec}else f=0>a?0:1<=a?c-1:c*a>>0,p=(a-f*(1/c))*c;c=1-p;for(h=this._props.length;-1<--h;)if(a=this._props[h],k=this._beziers[a][f],n=(p*p*k.da+3*c*(p*k.ca+c*k.ba))*p+k.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,s,v,F,y;for(h=c.length;-1<--h;)a=c[h][2],F=c[h][3]||0,y=!0===c[h][4]?1:l,k=this._beziers[c[h][0]][f],
n=this._beziers[c[h][1]][f],r=k.a+(k.b-k.a)*p,s=k.b+(k.c-k.b)*p,r+=(s-r)*p,s+=(k.c+(k.d-k.c)*p-s)*p,k=n.a+(n.b-n.a)*p,v=n.b+(n.c-n.b)*p,k+=(v-k)*p,v+=(n.c+(n.d-n.c)*p-v)*p,n=Math.atan2(v-k,s-r)*y+F,b[a]?b[a].call(d,n):d[a]=n}};f._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};f._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 n.prototype._kill.call(this,a)};n.activate([s]);return s},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(n){var s=function(){n.call(this,"css");this._overwriteProps.length=0},f,l,k,d,v={},b=s.prototype=new n("css");b.constructor=s;s.version=1.651;s.API=2;s.defaultTransformPerspective=0;b="px";s.suffixMap={top:b,right:b,bottom:b,left:b,width:b,height:b,fontSize:b,padding:b,margin:b,perspective:b};var a=/(?:\d|\-\d|\.\d|\-\.\d)+/g,
+--d;)c[d]===b&&c.splice(d,1)}return n.prototype._kill.call(this,a)};n.activate([s]);return s},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(n){var s=function(){n.call(this,"css");this._overwriteProps.length=0},f,l,k,d,v={},b=s.prototype=new n("css");b.constructor=s;s.version=1.652;s.API=2;s.defaultTransformPerspective=0;b="px";s.suffixMap={top:b,right:b,bottom:b,left:b,width:b,height:b,fontSize:b,padding:b,margin:b,perspective:b};var a=/(?:\d|\-\d|\.\d|\-\.\d)+/g,
F=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,c=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,e=/[^\d\-\.]/g,i=/(?:\d|\-|\+|=|#|\.)*/g,J=/opacity *= *([^)]*)/,X=/opacity:([^;]*)/,G=/([A-Z])/g,h=/-([a-z])/gi,w=function(a,$){return $.toUpperCase()},p=/(?:Left|Right|Width)/i,C=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,r=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,P=Math.PI/180,I=180/Math.PI,E={},y=document,j=y.createElement("div"),x=s._internals={_specialProps:v},t=navigator.userAgent,
D,A,Q,M,g,m,q,H=t.indexOf("Android"),u=y.createElement("div");g=(Q=-1!==t.indexOf("Safari")&&-1===t.indexOf("Chrome")&&(-1===H||3<Number(t.substr(H+8,1))))&&6>Number(t.substr(t.indexOf("Version/")+8,1));M=-1!==t.indexOf("Mozilla");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(t);m=parseFloat(RegExp.$1);u.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";q=(t=u.getElementsByTagName("a")[0])?/^0.55/.test(t.style.opacity):!1;var K=function(a){return J.test("string"===typeof a?a:(a.currentStyle?a.currentStyle.filter:
a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},ka="",B="",aa=function(a,$){var $=$||j,g=$.style,c,b;if(void 0!==g[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(b=5;-1<--b&&void 0===g[c[b]+a];);return 0<=b?(B=3===b?"ms":c[b],ka="-"+B.toLowerCase()+"-",B+a):null},ca=y.defaultView?y.defaultView.getComputedStyle:function(){},N=s.getStyle=function(a,g,c,b,d){var m;if(!q&&"opacity"===g)return K(a);!b&&a.style[g]?m=a.style[g]:(c=c||ca(a,null))?m=(a=c.getPropertyValue(g.replace(G,
@@ -108,29 +108,29 @@ b.perspective)};h.rotation=null!=e.shortRotation||null!=e.shortRotationZ?ia(e.sh
h.rotationY&&-1E-6<h.rotationY&&(h.rotationY=0));h.skewX=null==e.skewX?b.skewX:"number"===typeof e.skewX?e.skewX*P:Y(e.skewX,b.skewX);h.skewY=null==e.skewY?b.skewY:"number"===typeof e.skewY?e.skewY*P:Y(e.skewY,b.skewY);if(l=h.skewY-b.skewY)h.skewX+=l,h.rotation+=l;1E-6>h.skewY&&-1E-6<h.skewY&&(h.skewY=0);1E-6>h.skewX&&-1E-6<h.skewX&&(h.skewX=0);1E-6>h.rotation&&-1E-6<h.rotation&&(h.rotation=0)}H=b.z||b.rotationX||b.rotationY||h.z||h.rotationX||h.rotationY||h.perspective;!H&&null!=h.scale&&(h.scaleZ=
1);if(S){if(Q){A=!0;if(""===f.zIndex&&(l=N(a,"zIndex",k),"auto"===l||""===l))f.zIndex=0;g&&(f.WebkitBackfaceVisibility=e.WebkitBackfaceVisibility||(H?"visible":"hidden"))}}else f.zoom=1;j=new O(a,"transform",0,0,j,2);j.setRatio=H&&W?va:S?wa:ua;j.plugin=m;j.data=b;for(d.pop();-1<--i;)if(c=pa[i],u=h[c]-b[c],1E-6<u||-1E-6>u||null!=E[c])j=new O(b,c,b[c],u,j),j.xs0=0,j.plugin=m,q._overwriteProps.push(j.n);if((u=e.transformOrigin)||W&&H&&b.zOrigin)S?(u=(u||N(a,c,k,!1,"50% 50%"))+"",c=qa,j=new O(f,c,0,0,
j,-1,"css_transformOrigin"),j.b=f[c],j.plugin=m,W?(l=b.zOrigin,u=u.split(" "),b.zOrigin=(2<u.length?parseFloat(u[2]):l)||0,j.xs0=j.e=f[c]=u[0]+" "+(u[1]||"50%")+" 0px",j=new O(b,"zOrigin",0,0,j,-1,j.n),j.b=l,j.xs0=j.e=b.zOrigin):j.xs0=j.e=f[c]=u):ha(u+"",b);return j.t===a?(j._next&&(j._next._prev=null),j._next):j},!0);L("boxShadow","0px 0px 0px 0px #999",null,!0,!0);L("borderRadius","0px",function(a,g,b,c,d){var g=this.format(g),c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius",
-"borderBottomLeftRadius"],j=a.style,q,m,e,f,h,i,u,H,n,p,B,r;H=parseFloat(a.offsetWidth);n=parseFloat(a.offsetHeight);g=g.split(" ");for(q=0;q<c.length;q++)this.p.indexOf("border")&&(c[q]=aa(c[q])),f=e=N(a,c[q],k,!1,"0px"),h=m=g[q],i=parseFloat(f),B=f.substr((i+"").length),(r="="===h.charAt(1))?(u=parseInt(h.charAt(0)+"1"),h=h.substr(2),u*=parseFloat(h),p=h.substr((u+"").length-(0>u?1:0))||""):(u=parseFloat(h),p=h.substr((u+"").length)),""===p&&(p=l[b]||B),p!==B&&(f=T(a,"borderLeft",i,B),i=T(a,"borderTop",
-i,B),"%"===p?(f=100*(f/H)+"%",e=100*(i/n)+"%"):"em"===p?(B=T(a,"borderLeft",1,"em"),f=f/B+"em",e=i/B+"em"):(f+="px",e=i+"px"),r&&(h=parseFloat(f)+u+p,m=parseFloat(e)+u+p)),d=ea(j,c[q],f+" "+e,h+" "+m,!1,"0px",d);return d},!0,!1,na("0px 0px 0px 0px",!1,!0));L("backgroundPosition","0 0",null,!1,!1,ha);L("backgroundSize","0 0",null,!1,!1,ha);L("perspective","0px",null,!0);L("perspectiveOrigin","50% 50%",null,!0);L("transformStyle","preserve-3d",null,!0);L("margin",null,t("marginTop,marginRight,marginBottom,marginLeft"));
-L("padding",null,t("paddingTop,paddingRight,paddingBottom,paddingLeft"));L("clip","rect(0px,0px,0px,0px)");L("textShadow","0px 0px 0px #999",null,!1,!0);L("autoRound",null,function(a,g,b,c,d){return d});L("border","0px solid #000",function(a,g,b,c,d,j){return this.parseComplex(a.style,this.format(N(a,"borderTopWidth",k,!1,"0px")+" "+N(a,"borderTopStyle",k,!1,"solid")+" "+N(a,"borderTopColor",k,!1,"#000")),this.format(g),d,j)},!1,!0,function(a){var g=a.split(" ");return g[0]+" "+(g[1]||"solid")+" "+
-(a.match(V)||["#000"])[0]});var xa=function(a){var g=this.t,a=this.s+this.c*a,b;100===a&&(g.removeAttribute("filter"),b=!N(this.data,"filter"));b||(this.xn1&&(g.filter=g.filter||"alpha(opacity=100)"),g.filter=-1===g.filter.indexOf("opacity")?g.filter+(" alpha(opacity="+(a>>0)+")"):g.filter.replace(J,"opacity="+(a>>0)))};L("opacity,alpha,autoAlpha","1",function(a,g,b,c,d,j){var e=parseFloat(N(a,"opacity",k,!1,"1")),g=parseFloat(g),m=a.style,f;"autoAlpha"===b&&(f=N(a,"visibility",k),1===e&&"hidden"===
-f&&(e=0),d=new O(m,"visibility",0,0,d,-1,null,!1,0,0!==e?"visible":"hidden",0===g?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));q?d=new O(m,"opacity",e,g-e,d):(d=new O(m,"opacity",100*e,100*(g-e),d),d.xn1="autoAlpha"===b?1:0,m.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=xa);return d});var ya=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;for(var a=this.data,g=this.t.style,b=g.removeProperty?"removeProperty":
-"removeAttribute";a;){if(a.v)g[a.p]=a.v;else g[b](a.p.replace(G,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};L("className",null,function(a,g,b,c,d,j,q){var e=a.className,m=a.style.cssText,d=c._classNamePT=new O(a,b,0,0,d,2);d.setRatio=ya;d.b=e;d.e="="!==g.charAt(1)?g:"+"===g.charAt(0)?e+" "+g.substr(2):e.split(g.substr(2)).join("");c._tween._duration&&(g=da(a,k,!0),a.className=d.e,q=la(a,g,da(a),q),a.className=e,d.data=q.firstMPT,a.style.cssText=m,d=
-d.xfirst=c.parse(a,q.difs,d,j));return d});b=["bezier","throwProps","physicsProps","physics2D"];for(R=b.length;R--;)x(b[R]);b=s.prototype;b._firstPT=null;b._onInitTween=function(a,g,b){if(!a.nodeType)return!1;this._target=a;this._tween=b;D=g.autoRound;f=!1;l=g.suffixMap||s.suffixMap;k=ca(a,"");d=this._overwriteProps;var b=a.style,c,j,e;if(A&&""===b.zIndex&&(c=N(a,"zIndex",k),"auto"===c||""===c))b.zIndex=0;"string"===typeof g&&(j=b.cssText,c=da(a,k),b.cssText=j+";"+g,c=la(a,c,da(a)).difs,!q&&X.test(g)&&
-(c.opacity=parseFloat(RegExp.$1)),g=c,b.cssText=j);this._firstPT=a=this.parse(a,g,null);if(f){for(;a;){b=a._next;for(g=j;g&&g.pr>a.pr;)g=g._next;(a._prev=g?g._prev:e)?a._prev._next=a:j=a;(a._next=g)?g._prev=a:e=a;a=b}this._firstPT=j}return!0};b.parse=function(a,g,b,c){var d=a.style,j,q,e,m,f,h,i,u;for(j in g){f=g[j];if(q=v[j])b=q.parse(a,f,j,this,b,c,g);else if(q=N(a,j,k)+"",i="string"===typeof f,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||i&&!f.indexOf("rgb"))i||(f=ja(f),f=(3<
-f.length?"rgba(":"rgb(")+f.join(",")+")"),b=ea(d,j,q,f,!0,"transparent",b,0,c);else if(i&&(-1!==f.indexOf(" ")||-1!==f.indexOf(",")))b=ea(d,j,q,f,!0,null,b,0,c);else{e=parseFloat(q);h=q.substr((e+"").length);if(""===q||"auto"===q)if("width"===j||"height"===j){e=a;u=j;m=k;h=parseFloat("width"===u?e.offsetWidth:e.offsetHeight);u=ra[u];var H=u.length;for(m=m||ca(e,null);-1<--H;)h-=parseFloat(N(e,"padding"+u[H],m,!0))||0,h-=parseFloat(N(e,"border"+u[H]+"Width",m,!0))||0;e=h;h="px"}else e="opacity"!==
-j?0:1,h="";(u=i&&"="===f.charAt(1))?(m=parseInt(f.charAt(0)+"1"),f=f.substr(2),m*=parseFloat(f),i=f.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(f),i=i?f.substr((m+"").length)||"":"");""===i&&(i=l[j]||h);f=m||0===m?(u?m+e:m)+i:g[j];if(h!==i&&""!==i&&(m||0===m))if(e||0===e)if(e=T(a,j,e,h),"%"===i?(e/=T(a,j,100,"%")/100,100<e&&(e=100)):"em"===i?e/=T(a,j,1,"em"):(m=T(a,j,m,i),i="px"),u&&(m||0===m))f=m+e+i;u&&(m+=e);(e||0===e)&&(m||0===m)?(b=new O(d,j,e,m-e,b,0,"css_"+j,!1!==D&&("px"===i||"zIndex"===
-j),0,q,f),b.xs0=i):(b=new O(d,j,m||e||0,0,b,-1,"css_"+j,!1,0,q,f),b.xs0="display"===j&&"none"===f?q:f)}c&&(b&&!b.plugin)&&(b.plugin=c)}return b};b.setRatio=function(a){var g=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;g;)2!==g.type?g.t[g.p]=g.e:g.setRatio(a),g=g._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;g;){b=g.c*a+g.s;g.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<
-b&&(b=0);if(g.type)if(1===g.type)if(c=g.l,2===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2;else if(3===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2+g.xn2+g.xs3;else if(4===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2+g.xn2+g.xs3+g.xn3+g.xs4;else if(5===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2+g.xn2+g.xs3+g.xn3+g.xs4+g.xn4+g.xs5;else{b=g.xs0+b+g.xs1;for(c=1;c<g.l;c++)b+=g["xn"+c]+g["xs"+(c+1)];g.t[g.p]=b}else-1===g.type?g.t[g.p]=g.xs0:g.setRatio&&g.setRatio(a);else g.t[g.p]=b+g.xs0;g=g._next}else for(;g;)2!==g.type?g.t[g.p]=
-g.b:g.setRatio(a),g=g._next};b._linkCSSP=function(a,g,b){a&&(g&&(g._prev=a),a._next&&(a._next._prev=a._prev),b&&(b._next=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=g,a._prev=b);return a};b._kill=function(a){var g=a,b=!1,c,d;if(a.css_autoAlpha||a.css_alpha){g={};for(d in a)g[d]=a[d];g.css_opacity=1;g.css_autoAlpha&&(g.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,b=!0;return n.prototype._kill.call(this,g)||b};n.activate([s]);return s},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(n){var s=function(){n.call(this,"roundProps",-1);this._overwriteProps.length=0},f=s.prototype=new n("roundProps",-1);f.constructor=s;s.API=2;f._onInitTween=function(f,
-k,d){this._tween=d;return!0};f._onInitAllProps=function(){for(var f=this._tween,k=f.vars.roundProps instanceof Array?f.vars.roundProps:f.vars.roundProps.split(","),d=k.length,n={},b=f._propLookup.roundProps,a,s,c;-1<--d;)n[k[d]]=1;for(d=k.length;-1<--d;){a=k[d];for(s=f._firstPT;s;)c=s._next,s.pg?s.t._roundProps(n,!0):s.n===a&&(this._add(s.t,a,s.s,s.c),c&&(c._prev=s._prev),s._prev?s._prev._next=c:f._firstPT===s&&(f._firstPT=c),s._next=s._prev=null,f._propLookup[a]=b),s=c}return!1};f._add=function(f,
-k,d,n){this._addTween(f,k,d,d+n,k,!0);this._overwriteProps.push(k)};n.activate([s]);return s},!0);_gsDefine("easing.Back",["easing.Ease"],function(n){var s=window.com.greensock._class,f=function(a,b){var c=s("easing."+a,function(){},!0),d=c.prototype=new n;d.constructor=c;d.getRatio=b;return c},l=function(a,b){var c=s("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new n;d.constructor=c;d.getRatio=b;d.config=function(a){return new c(a)};return c},k=l("BackOut",
-function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),d=l("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),l=l("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)}),v=f("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}),b=f("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=f("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}),F=f("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),c=f("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),e=f("CircInOut",function(a){return 1>(a*=2)?-0.5*(Math.sqrt(1-a*a)-
-1):0.5*(Math.sqrt(1-(a-=2)*a)+1)}),i=2*Math.PI,J=function(a,b,c){var d=s("easing."+a,function(a,b){this._p1=a||1;this._p2=b||c;this._p3=this._p2/i*(Math.asin(1/this._p1)||0)},!0),a=d.prototype=new n;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},X=J("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*i/this._p2)+1},0.3),G=J("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*i/this._p2))},0.3),J=J("ElasticInOut",
-function(a){return 1>(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*i/this._p2):0.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*i/this._p2)+1},0.45),h=f("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),w=f("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),p=f("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,r=f("SineOut",function(a){return Math.sin(a*C)}),P=f("SineIn",function(a){return-Math.cos(a*C)+
-1}),f=f("SineInOut",function(a){return-0.5*(Math.cos(Math.PI*a)-1)}),I=s("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),E=I.prototype=new n;E.constructor=I;E.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};I.ease=new I(0.7,0.7);E.config=I.config=function(a,b,c){return new I(a,b,c)};var y=s("easing.SteppedEase",function(a){a=a||1;this._p1=1/a;this._p2=a+1},!0),E=y.prototype=new n;E.constructor=y;E.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};E.config=y.config=function(a){return new y(a)};s("easing.Bounce",{easeOut:new v,easeIn:new b,easeInOut:new a},!0);s("easing.Circ",{easeOut:new F,easeIn:new c,easeInOut:new e},!0);s("easing.Elastic",{easeOut:new X,easeIn:new G,
-easeInOut:new J},!0);s("easing.Expo",{easeOut:new h,easeIn:new w,easeInOut:new p},!0);s("easing.Sine",{easeOut:new r,easeIn:new P,easeInOut:new f},!0);return{easeOut:new k,easeIn:new d,easeInOut:new l}},!0)});
+"borderBottomLeftRadius"],j=a.style,q,m,e,f,h,i,u,H,n,p,B,r;H=parseFloat(a.offsetWidth);n=parseFloat(a.offsetHeight);g=g.split(" ");for(q=0;q<c.length;q++)this.p.indexOf("border")&&(c[q]=aa(c[q])),f=e=N(a,c[q],k,!1,"0px"),-1!==f.indexOf(" ")&&(e=f.split(" "),f=e[0],e=e[1]),h=m=g[q],i=parseFloat(f),B=f.substr((i+"").length),(r="="===h.charAt(1))?(u=parseInt(h.charAt(0)+"1"),h=h.substr(2),u*=parseFloat(h),p=h.substr((u+"").length-(0>u?1:0))||""):(u=parseFloat(h),p=h.substr((u+"").length)),""===p&&(p=
+l[b]||B),p!==B&&(f=T(a,"borderLeft",i,B),i=T(a,"borderTop",i,B),"%"===p?(f=100*(f/H)+"%",e=100*(i/n)+"%"):"em"===p?(B=T(a,"borderLeft",1,"em"),f=f/B+"em",e=i/B+"em"):(f+="px",e=i+"px"),r&&(h=parseFloat(f)+u+p,m=parseFloat(e)+u+p)),d=ea(j,c[q],f+" "+e,h+" "+m,!1,"0px",d);return d},!0,!1,na("0px 0px 0px 0px",!1,!0));L("backgroundPosition","0 0",null,!1,!1,ha);L("backgroundSize","0 0",null,!1,!1,ha);L("perspective","0px",null,!0);L("perspectiveOrigin","50% 50%",null,!0);L("transformStyle","preserve-3d",
+null,!0);L("margin",null,t("marginTop,marginRight,marginBottom,marginLeft"));L("padding",null,t("paddingTop,paddingRight,paddingBottom,paddingLeft"));L("clip","rect(0px,0px,0px,0px)");L("textShadow","0px 0px 0px #999",null,!1,!0);L("autoRound",null,function(a,g,b,c,d){return d});L("border","0px solid #000",function(a,g,b,c,d,j){return this.parseComplex(a.style,this.format(N(a,"borderTopWidth",k,!1,"0px")+" "+N(a,"borderTopStyle",k,!1,"solid")+" "+N(a,"borderTopColor",k,!1,"#000")),this.format(g),
+d,j)},!1,!0,function(a){var g=a.split(" ");return g[0]+" "+(g[1]||"solid")+" "+(a.match(V)||["#000"])[0]});var xa=function(a){var g=this.t,a=this.s+this.c*a,b;100===a&&(g.removeAttribute("filter"),b=!N(this.data,"filter"));b||(this.xn1&&(g.filter=g.filter||"alpha(opacity=100)"),g.filter=-1===g.filter.indexOf("opacity")?g.filter+(" alpha(opacity="+(a>>0)+")"):g.filter.replace(J,"opacity="+(a>>0)))};L("opacity,alpha,autoAlpha","1",function(a,g,b,c,d,j){var e=parseFloat(N(a,"opacity",k,!1,"1")),g=parseFloat(g),
+m=a.style,f;"autoAlpha"===b&&(f=N(a,"visibility",k),1===e&&"hidden"===f&&(e=0),d=new O(m,"visibility",0,0,d,-1,null,!1,0,0!==e?"visible":"hidden",0===g?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));q?d=new O(m,"opacity",e,g-e,d):(d=new O(m,"opacity",100*e,100*(g-e),d),d.xn1="autoAlpha"===b?1:0,m.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=xa);return d});var ya=function(a){if(1===a||0===a){this.t.className=1===a?
+this.e:this.b;for(var a=this.data,g=this.t.style,b=g.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)g[a.p]=a.v;else g[b](a.p.replace(G,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};L("className",null,function(a,g,b,c,d,j,q){var e=a.className,m=a.style.cssText,d=c._classNamePT=new O(a,b,0,0,d,2);d.setRatio=ya;d.b=e;d.e="="!==g.charAt(1)?g:"+"===g.charAt(0)?e+" "+g.substr(2):e.split(g.substr(2)).join("");c._tween._duration&&(g=da(a,k,!0),a.className=
+d.e,q=la(a,g,da(a),q),a.className=e,d.data=q.firstMPT,a.style.cssText=m,d=d.xfirst=c.parse(a,q.difs,d,j));return d});b=["bezier","throwProps","physicsProps","physics2D"];for(R=b.length;R--;)x(b[R]);b=s.prototype;b._firstPT=null;b._onInitTween=function(a,g,b){if(!a.nodeType)return!1;this._target=a;this._tween=b;D=g.autoRound;f=!1;l=g.suffixMap||s.suffixMap;k=ca(a,"");d=this._overwriteProps;var b=a.style,c,j,e;if(A&&""===b.zIndex&&(c=N(a,"zIndex",k),"auto"===c||""===c))b.zIndex=0;"string"===typeof g&&
+(j=b.cssText,c=da(a,k),b.cssText=j+";"+g,c=la(a,c,da(a)).difs,!q&&X.test(g)&&(c.opacity=parseFloat(RegExp.$1)),g=c,b.cssText=j);this._firstPT=a=this.parse(a,g,null);if(f){for(;a;){b=a._next;for(g=j;g&&g.pr>a.pr;)g=g._next;(a._prev=g?g._prev:e)?a._prev._next=a:j=a;(a._next=g)?g._prev=a:e=a;a=b}this._firstPT=j}return!0};b.parse=function(a,g,b,c){var d=a.style,j,q,e,m,f,h,i,u;for(j in g){f=g[j];if(q=v[j])b=q.parse(a,f,j,this,b,c,g);else if(q=N(a,j,k)+"",i="string"===typeof f,"color"===j||"fill"===j||
+"stroke"===j||-1!==j.indexOf("Color")||i&&!f.indexOf("rgb"))i||(f=ja(f),f=(3<f.length?"rgba(":"rgb(")+f.join(",")+")"),b=ea(d,j,q,f,!0,"transparent",b,0,c);else if(i&&(-1!==f.indexOf(" ")||-1!==f.indexOf(",")))b=ea(d,j,q,f,!0,null,b,0,c);else{e=parseFloat(q);h=q.substr((e+"").length);if(""===q||"auto"===q)if("width"===j||"height"===j){e=a;u=j;m=k;h=parseFloat("width"===u?e.offsetWidth:e.offsetHeight);u=ra[u];var H=u.length;for(m=m||ca(e,null);-1<--H;)h-=parseFloat(N(e,"padding"+u[H],m,!0))||0,h-=
+parseFloat(N(e,"border"+u[H]+"Width",m,!0))||0;e=h;h="px"}else e="opacity"!==j?0:1,h="";(u=i&&"="===f.charAt(1))?(m=parseInt(f.charAt(0)+"1"),f=f.substr(2),m*=parseFloat(f),i=f.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(f),i=i?f.substr((m+"").length)||"":"");""===i&&(i=l[j]||h);f=m||0===m?(u?m+e:m)+i:g[j];if(h!==i&&""!==i&&(m||0===m))if(e||0===e)if(e=T(a,j,e,h),"%"===i?(e/=T(a,j,100,"%")/100,100<e&&(e=100)):"em"===i?e/=T(a,j,1,"em"):(m=T(a,j,m,i),i="px"),u&&(m||0===m))f=m+e+i;u&&(m+=e);(e||
+0===e)&&(m||0===m)?(b=new O(d,j,e,m-e,b,0,"css_"+j,!1!==D&&("px"===i||"zIndex"===j),0,q,f),b.xs0=i):(b=new O(d,j,m||e||0,0,b,-1,"css_"+j,!1,0,q,f),b.xs0="display"===j&&"none"===f?q:f)}c&&(b&&!b.plugin)&&(b.plugin=c)}return b};b.setRatio=function(a){var g=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;g;)2!==g.type?g.t[g.p]=g.e:g.setRatio(a),g=g._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;g;){b=
+g.c*a+g.s;g.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<b&&(b=0);if(g.type)if(1===g.type)if(c=g.l,2===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2;else if(3===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2+g.xn2+g.xs3;else if(4===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2+g.xn2+g.xs3+g.xn3+g.xs4;else if(5===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2+g.xn2+g.xs3+g.xn3+g.xs4+g.xn4+g.xs5;else{b=g.xs0+b+g.xs1;for(c=1;c<g.l;c++)b+=g["xn"+c]+g["xs"+(c+1)];g.t[g.p]=b}else-1===g.type?g.t[g.p]=g.xs0:g.setRatio&&g.setRatio(a);else g.t[g.p]=
+b+g.xs0;g=g._next}else for(;g;)2!==g.type?g.t[g.p]=g.b:g.setRatio(a),g=g._next};b._linkCSSP=function(a,g,b){a&&(g&&(g._prev=a),a._next&&(a._next._prev=a._prev),b&&(b._next=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=g,a._prev=b);return a};b._kill=function(a){var g=a,b=!1,c,d;if(a.css_autoAlpha||a.css_alpha){g={};for(d in a)g[d]=a[d];g.css_opacity=1;g.css_autoAlpha&&(g.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,b=!0;return n.prototype._kill.call(this,g)||b};n.activate([s]);return s},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(n){var s=function(){n.call(this,"roundProps",-1);this._overwriteProps.length=0},f=s.prototype=new n("roundProps",-1);
+f.constructor=s;s.API=2;f._onInitTween=function(f,k,d){this._tween=d;return!0};f._onInitAllProps=function(){for(var f=this._tween,k=f.vars.roundProps instanceof Array?f.vars.roundProps:f.vars.roundProps.split(","),d=k.length,n={},b=f._propLookup.roundProps,a,s,c;-1<--d;)n[k[d]]=1;for(d=k.length;-1<--d;){a=k[d];for(s=f._firstPT;s;)c=s._next,s.pg?s.t._roundProps(n,!0):s.n===a&&(this._add(s.t,a,s.s,s.c),c&&(c._prev=s._prev),s._prev?s._prev._next=c:f._firstPT===s&&(f._firstPT=c),s._next=s._prev=null,
+f._propLookup[a]=b),s=c}return!1};f._add=function(f,k,d,n){this._addTween(f,k,d,d+n,k,!0);this._overwriteProps.push(k)};n.activate([s]);return s},!0);_gsDefine("easing.Back",["easing.Ease"],function(n){var s=window.com.greensock._class,f=function(a,b){var c=s("easing."+a,function(){},!0),d=c.prototype=new n;d.constructor=c;d.getRatio=b;return c},l=function(a,b){var c=s("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new n;d.constructor=c;d.getRatio=b;
+d.config=function(a){return new c(a)};return c},k=l("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),d=l("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),l=l("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)}),v=f("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}),b=f("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=f("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}),F=f("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),c=f("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),e=f("CircInOut",
+function(a){return 1>(a*=2)?-0.5*(Math.sqrt(1-a*a)-1):0.5*(Math.sqrt(1-(a-=2)*a)+1)}),i=2*Math.PI,J=function(a,b,c){var d=s("easing."+a,function(a,b){this._p1=a||1;this._p2=b||c;this._p3=this._p2/i*(Math.asin(1/this._p1)||0)},!0),a=d.prototype=new n;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},X=J("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*i/this._p2)+1},0.3),G=J("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*
+Math.sin((a-this._p3)*i/this._p2))},0.3),J=J("ElasticInOut",function(a){return 1>(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*i/this._p2):0.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*i/this._p2)+1},0.45),h=f("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),w=f("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),p=f("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,r=f("SineOut",function(a){return Math.sin(a*
+C)}),P=f("SineIn",function(a){return-Math.cos(a*C)+1}),f=f("SineInOut",function(a){return-0.5*(Math.cos(Math.PI*a)-1)}),I=s("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),E=I.prototype=new n;E.constructor=I;E.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};I.ease=new I(0.7,0.7);E.config=I.config=function(a,b,c){return new I(a,b,c)};var y=s("easing.SteppedEase",function(a){a=a||1;this._p1=1/a;this._p2=a+1},!0),E=y.prototype=new n;E.constructor=y;E.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};E.config=y.config=function(a){return new y(a)};s("easing.Bounce",{easeOut:new v,easeIn:new b,easeInOut:new a},!0);s("easing.Circ",{easeOut:new F,easeIn:new c,easeInOut:new e},
+!0);s("easing.Elastic",{easeOut:new X,easeIn:new G,easeInOut:new J},!0);s("easing.Expo",{easeOut:new h,easeIn:new w,easeInOut:new p},!0);s("easing.Sine",{easeOut:new r,easeIn:new P,easeInOut:new f},!0);return{easeOut:new k,easeIn:new d,easeInOut:new l}},!0)});
(function(n){var s=function(a){var a=a.split("."),b=n,c;for(c=0;c<a.length;c++)b[a[c]]=b=b[a[c]]||{};return b},f=s("com.greensock"),l,k,d,v,b,a={},F=function(g,b,c,d){this.sc=a[g]?a[g].sc:[];a[g]=this;this.gsClass=null;this.def=c;var e=b||[],f=[];this.check=function(b){for(var m=e.length,h=0,i;-1<--m;)(i=a[e[m]]||new F(e[m])).gsClass?f[m]=i.gsClass:(h++,b&&i.sc.push(this));if(0===h&&c){var b=("com.greensock."+g).split("."),m=b.pop(),j=s(b.join("."))[m]=this.gsClass=c.apply(c,f);d&&((n.GreenSockGlobals||
n)[m]=j,"function"===typeof define&&define.amd?define((n.GreenSockAMDPath?n.GreenSockAMDPath+"/":"")+g.split(".").join("/"),[],function(){return j}):"undefined"!==typeof module&&module.exports&&(module.exports=j));for(m=0;m<this.sc.length;m++)this.sc[m].check(!1)}};this.check(!0)},c=f._class=function(a,b,c){b=b||function(){};new F(a,[],function(){return b},c);return b};n._gsDefine=function(a,b,c,d){return new F(a,b,c,d)};var e=[0,0,1,1],i=[],J=c("easing.Ease",function(a,b,c,d){this._func=a;this._type=
c||0;this._power=d||0;this._params=b?e.concat(b):e},!0);d=J.prototype;d._calcEnd=!1;d.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};l=["Linear","Quad","Cubic","Quart","Quint"];for(k=l.length;-1<--k;)d=c("easing."+l[k],null,!0),v=c("easing.Power"+k,null,!0),d.easeOut=v.easeOut=new J(null,
diff --git a/src/minified/plugins/CSSPlugin.min.js b/src/minified/plugins/CSSPlugin.min.js
index 80fad52..135536a 100755
--- a/src/minified/plugins/CSSPlugin.min.js
+++ b/src/minified/plugins/CSSPlugin.min.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.651
- * DATE: 2012-12-10
+ * VERSION: beta 1.652
+ * DATE: 2012-12-11
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -10,53 +10,54 @@
*
* @author: Jack Doyle, [email protected]
*/
-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(R){var B=function(){R.call(this,"css");this._overwriteProps.length=0},Y,Z,q,$,I={},k=B.prototype=new R("css");k.constructor=B;B.version=1.651;B.API=2;B.defaultTransformPerspective=0;k="px";B.suffixMap={top:k,right:k,bottom:k,left:k,width:k,height:k,fontSize:k,padding:k,margin:k,perspective:k};var aa=/(?:\d|\-\d|\.\d|\-\.\d)+/g,ka=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
-ba=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,S=/[^\d\-\.]/g,Da=/(?:\d|\-|\+|=|#|\.)*/g,ca=/opacity *= *([^)]*)/,Ea=/opacity:([^;]*)/,la=/([A-Z])/g,ma=/-([a-z])/gi,na=function(a,b){return b.toUpperCase()},Fa=/(?:Left|Right|Width)/i,Ga=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Ha=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,E=Math.PI/180,N=180/Math.PI,T={},O=document,P=O.createElement("div"),J=B._internals={_specialProps:I},y=navigator.userAgent,da,oa,pa,qa,ra,sa,K,ta=y.indexOf("Android"),
-ua=O.createElement("div");ra=(pa=-1!==y.indexOf("Safari")&&-1===y.indexOf("Chrome")&&(-1===ta||3<Number(y.substr(ta+8,1))))&&6>Number(y.substr(y.indexOf("Version/")+8,1));qa=-1!==y.indexOf("Mozilla");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(y);sa=parseFloat(RegExp.$1);ua.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";K=(y=ua.getElementsByTagName("a")[0])?/^0.55/.test(y.style.opacity):!1;var va=function(a){return ca.test("string"===typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?
+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(R){var B=function(){R.call(this,"css");this._overwriteProps.length=0},Y,Z,q,$,I={},k=B.prototype=new R("css");k.constructor=B;B.version=1.652;B.API=2;B.defaultTransformPerspective=0;k="px";B.suffixMap={top:k,right:k,bottom:k,left:k,width:k,height:k,fontSize:k,padding:k,margin:k,perspective:k};var aa=/(?:\d|\-\d|\.\d|\-\.\d)+/g,ka=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
+ba=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,S=/[^\d\-\.]/g,Da=/(?:\d|\-|\+|=|#|\.)*/g,ca=/opacity *= *([^)]*)/,Ea=/opacity:([^;]*)/,la=/([A-Z])/g,ma=/-([a-z])/gi,na=function(a,b){return b.toUpperCase()},Fa=/(?:Left|Right|Width)/i,Ga=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Ha=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,E=Math.PI/180,N=180/Math.PI,T={},O=document,P=O.createElement("div"),J=B._internals={_specialProps:I},z=navigator.userAgent,da,oa,pa,qa,ra,sa,K,ta=z.indexOf("Android"),
+ua=O.createElement("div");ra=(pa=-1!==z.indexOf("Safari")&&-1===z.indexOf("Chrome")&&(-1===ta||3<Number(z.substr(ta+8,1))))&&6>Number(z.substr(z.indexOf("Version/")+8,1));qa=-1!==z.indexOf("Mozilla");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(z);sa=parseFloat(RegExp.$1);ua.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";K=(z=ua.getElementsByTagName("a")[0])?/^0.55/.test(z.style.opacity):!1;var va=function(a){return ca.test("string"===typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?
parseFloat(RegExp.$1)/100:1},wa="",ea="",Q=function(a,b){var b=b||P,e=b.style,c,f;if(void 0!==e[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(f=5;-1<--f&&void 0===e[c[f]+a];);return 0<=f?(ea=3===f?"ms":c[f],wa="-"+ea.toLowerCase()+"-",ea+a):null},U=O.defaultView?O.defaultView.getComputedStyle:function(){},A=B.getStyle=function(a,b,e,c,f){var i;if(!K&&"opacity"===b)return va(a);!c&&a.style[b]?i=a.style[b]:(e=e||U(a,null))?i=(a=e.getPropertyValue(b.replace(la,
"-$1").toLowerCase()))||e.length?a:e[b]:a.currentStyle&&(e=a.currentStyle,i=e[b],!i&&"backgroundPosition"===b&&(i=e[b+"X"]+" "+e[b+"Y"]));return null!=f&&(!i||"none"===i||"auto"===i||"auto auto"===i)?f:i},V=function(a,b,e){var c={},f=a._gsOverwrittenClassNamePT,i;if(f&&!e){for(;f;)f.setRatio(0),f=f._next;a._gsOverwrittenClassNamePT=null}if(b=b||U(a,null))if(i=b.length)for(;-1<--i;)c[b[i].replace(ma,na)]=b.getPropertyValue(b[i]);else for(i in b)c[i]=b[i];else if(b=a.currentStyle||a.style)for(i in b)c[i.replace(ma,
-na)]=b[i];K||(c.opacity=va(a));a=fa(a,b,!1);c.rotation=a.rotation*N;c.rotationX=a.rotationX*N;c.rotationY=a.rotationY*N;c.skewX=a.skewX*N;c.scaleX=a.scaleX;c.scaleY=a.scaleY;c.scaleZ=a.scaleZ;c.x=a.x;c.y=a.y;c.z=a.z;c.filters&&delete c.filters;return c},xa=function(a,b,e,c){var f={},a=a.style,i,d,g;for(d in e)if("cssText"!==d&&"length"!==d&&isNaN(d)&&b[d]!==(i=e[d]))if(-1===d.indexOf("Origin")&&("number"===typeof i||"string"===typeof i))f[d]=(""===i||"auto"===i||"none"===i)&&"string"===typeof b[d]&&
-""!==b[d].replace(S,"")?0:i,void 0!==a[d]&&(g=new ga(a,d,a[d],g));if(c)for(d in c)"className"!==d&&(f[d]=c[d]);return{difs:f,firstMPT:g}},Ia={width:["Left","Right"],height:["Top","Bottom"]},Ja=["marginLeft","marginRight","marginTop","marginBottom"],D=function(a,b,e,c,f){if("px"===c||!c)return e;if("auto"===c||!e)return 0;var i=Fa.test(b),d=a,g=P.style,j=0>e;j&&(e=-e);"%"===c&&-1!==b.indexOf("border")?i=e/100*(i?a.clientWidth:a.clientHeight):(g.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",
-"%"===c||"em"===c||!d.appendChild?(d=a.parentNode||O.body,g[i?"width":"height"]=e+c):g[i?"borderLeftWidth":"borderTopWidth"]=e+c,d.appendChild(P),i=parseFloat(P[i?"offsetWidth":"offsetHeight"]),d.removeChild(P),0===i&&!f&&(i=D(a,b,e,c,!0)));return j?-i:i},ha=function(a,b){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var e=a.split(" "),c=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":e[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":e[1];null==f?f="0":"center"===
+na)]=b[i];K||(c.opacity=va(a));a=fa(a,b,!1);c.rotation=a.rotation*N;c.rotationX=a.rotationX*N;c.rotationY=a.rotationY*N;c.skewX=a.skewX*N;c.scaleX=a.scaleX;c.scaleY=a.scaleY;c.scaleZ=a.scaleZ;c.x=a.x;c.y=a.y;c.z=a.z;c.filters&&delete c.filters;return c},xa=function(a,b,e,c){var f={},a=a.style,i,d,h;for(d in e)if("cssText"!==d&&"length"!==d&&isNaN(d)&&b[d]!==(i=e[d]))if(-1===d.indexOf("Origin")&&("number"===typeof i||"string"===typeof i))f[d]=(""===i||"auto"===i||"none"===i)&&"string"===typeof b[d]&&
+""!==b[d].replace(S,"")?0:i,void 0!==a[d]&&(h=new ga(a,d,a[d],h));if(c)for(d in c)"className"!==d&&(f[d]=c[d]);return{difs:f,firstMPT:h}},Ia={width:["Left","Right"],height:["Top","Bottom"]},Ja=["marginLeft","marginRight","marginTop","marginBottom"],D=function(a,b,e,c,f){if("px"===c||!c)return e;if("auto"===c||!e)return 0;var i=Fa.test(b),d=a,h=P.style,j=0>e;j&&(e=-e);"%"===c&&-1!==b.indexOf("border")?i=e/100*(i?a.clientWidth:a.clientHeight):(h.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",
+"%"===c||"em"===c||!d.appendChild?(d=a.parentNode||O.body,h[i?"width":"height"]=e+c):h[i?"borderLeftWidth":"borderTopWidth"]=e+c,d.appendChild(P),i=parseFloat(P[i?"offsetWidth":"offsetHeight"]),d.removeChild(P),0===i&&!f&&(i=D(a,b,e,c,!0)));return j?-i:i},ha=function(a,b){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var e=a.split(" "),c=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":e[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":e[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(S,"")),b.oy=parseFloat(f.replace(S,"")));return c+" "+f+(2<e.length?" "+e[2]:"")},ya=function(a,b){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},F=function(a,b){return null==a?b:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+
"1")*Number(a.substr(2))+b:Number(a)},L=function(a,b){if(null==a)return b;var e=-1===a.indexOf("rad")?E:1,c="="===a.charAt(1),a=Number(a.replace(S,""))*e;return c?a+b:a},ia=function(a,b){var e=(("number"===typeof a?a*E:L(a,b))-b)%(2*Math.PI);e!==e%Math.PI&&(e+=Math.PI*(0>e?2:-2));return b+e},M={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]},ja=function(a){if(!a||""===a)return M.black;if(M[a])return M[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),e=a.charAt(2),a=a.charAt(3),a="#"+b+b+e+e+a+a;a=parseInt(a.substr(1),16);return[a>>16,a>>8&255,a&255]}a=a.match(aa)||M.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},G="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(k in M)G+="|"+k+"\\b";var G=RegExp(G+")","gi"),za=function(a,b,e){if(null==a)return function(a){return a};var c=b?(a.match(G)||[""])[0]:"",f=a.split(c).join("").match(ba)||[],i=a.substr(0,a.indexOf(f[0])),d=")"===a.charAt(a.length-1)?")":"",g=-1!==a.indexOf(" ")?" ":",",j=f.length,h=0<j?f[0].replace(aa,""):"";return b?function(a){"number"===typeof a&&(a+=h);var b=(a.match(G)||[c])[0],a=a.split(b).join("").match(ba)||
-[],m=a.length;if(j>m--)for(;++m<j;)a[m]=e?a[(m-1)/2>>0]:f[m];return i+a.join(g)+g+b+d}:function(a){"number"===typeof a&&(a+=h);var a=a.match(ba)||[],b=a.length;if(j>b--)for(;++b<j;)a[b]=e?a[(b-1)/2>>0]:f[b];return i+a.join(g)+d}},y=function(a){a=a.split(",");return function(b,e,c,f,i,d,g){e=(e+"").split(" ");g={};for(c=0;4>c;c++)g[a[c]]=e[c]=e[c]||e[(c-1)/2>>0];return f.parse(b,g,i,d)}};J._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b=this.data,e=b.proxy,c=b.firstMPT,f;c;)f=e[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=e.rotation);if(1===a)for(c=b.firstMPT;c;){a=c.t;if(a.type){if(1===a.type){e=a.xs0+a.s+a.xs1;for(b=1;b<a.l;b++)e+=a["xn"+b]+a["xs"+(b+1)];a.e=e}}else a.e=a.s+a.xs0;c=c._next}};var ga=function(a,b,e,c,f){this.t=a;this.p=b;this.v=e;this.r=f;c&&(c._prev=this,this._next=c)};J._parseToProxy=function(a,b,e,c,f,i){var d=c,g={},j={},h=e._transform,l=T,n;e._transform=null;T=b;c=a=e.parse(a,b,c,f);T=
-l;i&&(e._transform=h,d&&(d._prev=null,d._prev&&(d._prev._next=null)));for(;c&&c!==d;){if(1>=c.type&&(h=c.p,j[h]=c.s+c.c,g[h]=c.s,i||(n=new ga(c,"s",h,n,c.r),c.c=0),1===c.type))for(e=c.l;0<--e;)l="xn"+e,h=c.p+"_"+l,j[h]=c.data[l],g[h]=c[l],i||(n=new ga(c,l,h,n,c.rxp[l]));c=c._next}return{proxy:g,end:j,firstMPT:n,pt:a}};var z=J.CSSPropTween=function(a,b,e,c,f,i,d,g,j,h,l){this.t=a;this.p=b;this.s=e;this.c=c;this.n=d||"css_"+b;a instanceof z||$.push(this.n);this.r=g;this.type=i||0;j&&(this.pr=j,Y=!0);
-this.b=void 0===h?e:h;this.e=void 0===l?e+c:l;f&&(this._next=f,f._prev=this)},X=B.parseComplex=function(a,b,e,c,f,i,d,g,j,h){var d=new z(a,b,0,0,d,h?2:1,null,!1,g,e,c),a=e.split(", ").join(",").split(" "),b=(c+"").split(", ").join(",").split(" "),e=a.length,g=!1!==da,l,n,m,W,k;e!==b.length&&(a=(i||"").split(" "),e=a.length);d.plugin=j;d.setRatio=h;for(i=0;i<e;i++)if(j=a[i],l=b[i],(h=parseFloat(j))||0===h)d.appendXtra("",h,ya(l,h),l.replace(ka,""),g&&-1!==l.indexOf("px"),!0);else if(f&&("#"===j.charAt(0)||
-0===j.indexOf("rgb")||M[j]))j=ja(j),l=ja(l),(h=6<j.length+l.length)&&!K&&0===l[3]?(d["xs"+d.l]+=d.l?" transparent":"transparent",d.e=d.e.split(b[i]).join("transparent")):(d.appendXtra(h?"rgba(":"rgb(",j[0],l[0]-j[0],",",!0,!0).appendXtra("",j[1],l[1]-j[1],",",!0).appendXtra("",j[2],l[2]-j[2],h?",":")",!0),h&&(j=4>j.length?1:j[3],d.appendXtra("",j,(4>l.length?1:l[3])-j,")",!1)));else if(h=j.match(aa)){m=l.match(ka);if(!m||m.length!==h.length)return d;for(l=n=0;l<h.length;l++)k=h[l],W=j.indexOf(k,n),
-d.appendXtra(j.substr(n,W-n),Number(k),ya(m[l],k),"",g&&"px"===j.substr(W+k.length,2),0===l),n=W+k.length;d["xs"+d.l]+=j.substr(n)}else d["xs"+d.l]+=d.l?" "+j:j;if(-1!==c.indexOf("=")&&d.data){c=d.xs0+d.data.s;for(i=1;i<d.l;i++)c+=d["xs"+i]+d.data["xn"+i];d.e=c+d["xs"+i]}d.l||(d.type=-1,d.xs0=d.e);return d.xfirst||d},t=9,k=z.prototype;for(k.l=k.pr=0;0<--t;)k["xn"+t]=0,k["xs"+t]="";k.xs0="";k._next=k._prev=k.xfirst=k.data=k.plugin=k.setRatio=k.rxp=null;k.appendXtra=function(a,b,e,c,f,i){var d=this.l;
-this["xs"+d]+=i&&d?" "+a:a||"";if(!e&&0!==d&&!this.plugin)return this["xs"+d]+=b+(c||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=c||"";if(0<d)return this.data["xn"+d]=b+e,this.rxp["xn"+d]=f,this["xn"+d]=b,this.plugin||(this.xfirst=new z(this,"xn"+d,b,e,this.xfirst||this,0,this.n,f,this.pr),this.xfirst.xs0=0),this;this.data={s:b+e};this.rxp={};this.s=b;this.c=e;this.r=f;return this};var Aa=function(a,b,e,c,f,i,d){this.p=c?Q(a)||a:a;I[a]=I[this.p]=this;this.format=i||za(b,f);e&&
-(this.parse=e);this.clrs=f;this.dflt=b;this.pr=d||0},r=J._registerComplexSpecialProp=function(a,b,e,c,f,i,d){for(var a=a.split(","),b=b instanceof Array?b:[b],g=a.length;-1<--g;)new Aa(a[g],b[g],e,c&&0===g,f,i,d)},J=function(a){if(!I[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";r(a,null,function(a,c,f,i,d,g,j){var h=window.com.greensock.plugins[b];if(!h)return window.console&&console.log("Error: "+b+" js file not loaded."),d;h._cssRegister();return I[f].parse(a,c,f,i,d,g,j)})}},k=Aa.prototype;
-k.parseComplex=function(a,b,e,c,f,i){return X(a,this.p,b,e,this.clrs,this.dflt,c,this.pr,f,i)};k.parse=function(a,b,e,c,f,i){return this.parseComplex(a.style,this.format(A(a,e,q,!1,this.dflt)),this.format(b),f,i)};B.registerSpecialProp=function(a,b,e){r(a,null,function(a,f,i,d,g,j){g=new z(a,i,0,0,g,2,i,!1,e);g.plugin=j;g.setRatio=b(a,f,d._tween,i);return g},!1,!1,null,e)};var Ba="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),C=Q("transform"),Ka=wa+"transform",
-Ca=Q("transformOrigin"),H=null!==Q("perspective"),fa=function(a,b,e){var c=e?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,i=H?parseFloat(A(a,Ca,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,d,g,j,h,l,n,m,k;C?d=A(a,Ka,b,!0):a.currentStyle&&(d=(d=a.currentStyle.filter.match(Ga))&&4===d.length?d[0].substr(4)+","+Number(d[2].substr(4))+","+Number(d[1].substr(4))+","+d[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null);g=(d||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(b=g.length;-1<--b;)g[b]=Number(g[b]);
-if(16===g.length){if(f=g[8],d=g[9],j=g[10],h=g[12],l=g[13],n=g[14],c.zOrigin&&(n=-c.zOrigin,h=f*n-g[12],l=d*n-g[13],n=j*n+c.zOrigin-g[14]),!e||h!==c.x||l!==c.y||n!==c.z){m=g[0];k=g[1];var r=g[2],u=g[3],s=g[4],p=g[5],q=g[6],z=g[7];g=g[11];var v=c.rotationX=Math.atan2(q,j),t,y,w,x;v&&(w=Math.cos(-v),x=Math.sin(-v),v=s*w+f*x,t=p*w+d*x,y=q*w+j*x,f=s*-x+f*w,d=p*-x+d*w,j=q*-x+j*w,g=z*-x+g*w,s=v,p=t,q=y);if(v=c.rotationY=Math.atan2(f,m))w=Math.cos(-v),x=Math.sin(-v),t=k*w-d*x,y=r*w-j*x,d=k*x+d*w,j=r*x+j*
-w,g=u*x+g*w,m=m*w-f*x,k=t,r=y;if(v=c.rotation=Math.atan2(k,p))w=Math.cos(-v),x=Math.sin(-v),m=m*w+s*x,t=k*w+p*x,p=k*-x+p*w,q=r*-x+q*w,k=t;Math.abs(c.rotationY)>Math.PI/2&&(c.rotationY*=-1,c.rotationX+=Math.PI,c.rotation=Math.PI-c.rotation);c.scaleX=Math.sqrt(m*m+k*k);c.scaleY=Math.sqrt(p*p+d*d);c.scaleZ=Math.sqrt(q*q+j*j);c.skewX=0;c.perspective=g?1/g:0;c.x=h;c.y=l;c.z=n}}else if(!H||0===g.length||c.x!==g[4]||c.y!==g[5]||!c.rotationX&&!c.rotationY){h=(d=6<=g.length)?g[0]:1;n=g[1]||0;l=g[2]||0;m=d?
-g[3]:1;c.x=g[4]||0;c.y=g[5]||0;d=Math.sqrt(h*h+n*n);j=Math.sqrt(m*m+l*l);h=h||n?Math.atan2(n,h):c.rotation||0;l=l||m?Math.atan2(l,m)+h:c.skewX||0;n=d-Math.abs(c.scaleX||0);m=j-Math.abs(c.scaleY||0);Math.abs(l)>Math.PI/2&&Math.abs(l)<1.5*Math.PI&&(f?(d*=-1,l+=0>=h?Math.PI:-Math.PI,h+=0>=h?Math.PI:-Math.PI):(j*=-1,l+=0>=l?Math.PI:-Math.PI));f=(h-c.rotation)%Math.PI;k=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<n||-1E-6>n||1E-6<m||-1E-6>m||1E-6<f||-1E-6>f||1E-6<k||-1E-6>k)c.scaleX=d,c.scaleY=j,c.rotation=
-h,c.skewX=l;H&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(B.defaultTransformPerspective)||0,c.scaleZ=1)}c.zOrigin=i;for(b in c)1E-6>c[b]&&-1E-6<c[b]&&(c[b]=0);e&&(a._gsTransform=c);return c},La=function(a){var b=this.data,e=-b.rotation,c=e+b.skewX,f=Math.cos(e)*b.scaleX,e=Math.sin(e)*b.scaleX,i=Math.sin(c)*-b.scaleY,c=Math.cos(c)*b.scaleY,d=1E-6,g=this.t.style,j=this.t.currentStyle,h;if(j){f<d&&f>-d&&(f=0);e<d&&e>-d&&(e=0);i<d&&i>-d&&(i=0);c<d&&c>-d&&(c=0);d=e;e=-i;i=-d;d=j.filter;g.filter=
-"";var l=this.t.offsetWidth;h=this.t.offsetHeight;var n="absolute"!==j.position,m="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+e+", M21="+i+", M22="+c,k=b.x,q=b.y,u,s;null!=b.ox&&(u=(b.oxp?0.01*l*b.ox:b.ox)-l/2,s=(b.oyp?0.01*h*b.oy:b.oy)-h/2,k+=u-(u*f+s*e),q+=s-(u*i+s*c));if(n)u=l/2,s=h/2,m+=", Dx="+(u-(u*f+s*e)+k)+", Dy="+(s-(u*i+s*c)+q)+")";else{var p=8>sa?1:-1;u=b.ieOffsetX||0;s=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>e?-e:e)*h))/2+k);b.ieOffsetY=Math.round((h-((0>
-c?-c:c)*h+(0>i?-i:i)*l))/2+q);for(t=0;4>t;t++)l=Ja[t],h=j[l],h=-1!==h.indexOf("px")?parseFloat(h):D(this.t,l,parseFloat(h),h.replace(Da,""))||0,k=h!==b[l]?2>t?-b.ieOffsetX:-b.ieOffsetY:2>t?u-b.ieOffsetX:s-b.ieOffsetY,g[l]=(b[l]=Math.round(h-k*(0===t||2===t?1:p)))+"px";m+=", sizingMethod='auto expand')"}g.filter=-1!==d.indexOf("DXImageTransform.Microsoft.Matrix(")?d.replace(Ha,m):m+" "+d;if(0===a||1===a)if(1===f&&0===e&&0===i&&1===c&&(!n||-1!==m.indexOf("Dx=0, Dy=0")))(!ca.test(d)||100===parseFloat(RegExp.$1))&&
--1===d.indexOf("gradient(")&&g.removeAttribute("filter")}},Ma=function(){var a=this.data,b=a.perspective,e=a.scaleX,c=0,f=0,i=0,d=0,g=a.scaleY,j=0,h=0,l=0,n=0,m=a.scaleZ,k=0,q=0,u=0,s=b?-1/b:0,p=a.rotation,r=a.zOrigin,t=this.t.style,v,y,z,w,x;p&&(v=Math.cos(p),p=Math.sin(p),z=g*p,c=e*-p,g*=v,e*=v,d=z);if(p=a.rotationY)v=Math.cos(p),p=Math.sin(p),w=m*-p,x=s*-p,f=e*p,j=d*p,m*=v,s*=v,e*=v,d*=v,l=w,q=x;if(p=a.rotationX)v=Math.cos(p),p=Math.sin(p),y=c*v+f*p,z=g*v+j*p,w=n*v+m*p,x=u*v+s*p,f=c*-p+f*v,j=g*
--p+j*v,m=n*-p+m*v,s=u*-p+s*v,c=y,g=z,n=w,u=x;r&&(k-=r,i=f*k,h=j*k,k=m*k+r);i+=a.x;h+=a.y;k+=a.z;1E-6>k&&-1E-6<k&&(k=0);t[C]="matrix3d("+(1E-6>e&&-1E-6<e?0:e)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>l&&-1E-6<l?0:l)+","+(1E-6>q&&-1E-6<q?0:q)+","+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>g&&-1E-6<g?0:g)+","+(1E-6>n&&-1E-6<n?0:n)+","+(1E-6>u&&-1E-6<u?0:u)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>j&&-1E-6<j?0:j)+","+(1E-6>m&&-1E-6<m?0:m)+","+(1E-6>s&&-1E-6<s?0:s)+","+(1E-6>i&&-1E-6<i?0:i)+","+(1E-6>h&&-1E-6<h?0:h)+","+k+
-","+(b?1+-k/b:1)+")";qa&&(y=t.display,t.display="none",t.display=y)},Na=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[C]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var b=a.rotation,e=b-a.skewX,c=Math.cos(b)*a.scaleX,b=Math.sin(b)*a.scaleX,f=Math.sin(e)*-a.scaleY,e=Math.cos(e)*a.scaleY;this.t.style[C]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>b&&-1E-6<b?0:b)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>e&&-1E-6<e?0:e)+","+a.x+","+a.y+")"}};r("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",
-null,function(a,b,e,c,f,i,d){if(c._transform)return f;var b=c._transform=fa(a,q,!0),g=a.style,j=Ba.length,h,l,n,k;if("string"===typeof d.transform&&C)l=g[C],g[C]=d.transform,h=fa(a,null,!1),g[C]=l;else if("object"===typeof d){l=null!=d.rotation?d.rotation:null!=d.rotationZ?d.rotationZ:b.rotation*N;h={scaleX:F(null!=d.scaleX?d.scaleX:d.scale,b.scaleX),scaleY:F(null!=d.scaleY?d.scaleY:d.scale,b.scaleY),scaleZ:F(null!=d.scaleZ?d.scaleZ:d.scale,b.scaleZ),x:F(d.x,b.x),y:F(d.y,b.y),z:F(d.z,b.z),perspective:F(d.transformPerspective,
-b.perspective)};h.rotation=null!=d.shortRotation||null!=d.shortRotationZ?ia(d.shortRotation||d.shortRotationZ||0,b.rotation):"number"===typeof l?l*E:L(l,b.rotation);H&&(h.rotationX=null!=d.shortRotationX?ia(d.shortRotationX,b.rotationX):"number"===typeof d.rotationX?d.rotationX*E:L(d.rotationX,b.rotationX),h.rotationY=null!=d.shortRotationY?ia(d.shortRotationY,b.rotationY):"number"===typeof d.rotationY?d.rotationY*E:L(d.rotationY,b.rotationY),1E-6>h.rotationX&&-1E-6<h.rotationX&&(h.rotationX=0),1E-6>
-h.rotationY&&-1E-6<h.rotationY&&(h.rotationY=0));h.skewX=null==d.skewX?b.skewX:"number"===typeof d.skewX?d.skewX*E:L(d.skewX,b.skewX);h.skewY=null==d.skewY?b.skewY:"number"===typeof d.skewY?d.skewY*E:L(d.skewY,b.skewY);if(l=h.skewY-b.skewY)h.skewX+=l,h.rotation+=l;1E-6>h.skewY&&-1E-6<h.skewY&&(h.skewY=0);1E-6>h.skewX&&-1E-6<h.skewX&&(h.skewX=0);1E-6>h.rotation&&-1E-6<h.rotation&&(h.rotation=0)}k=b.z||b.rotationX||b.rotationY||h.z||h.rotationX||h.rotationY||h.perspective;!k&&null!=h.scale&&(h.scaleZ=
-1);if(C){if(pa){oa=!0;if(""===g.zIndex&&(l=A(a,"zIndex",q),"auto"===l||""===l))g.zIndex=0;ra&&(g.WebkitBackfaceVisibility=d.WebkitBackfaceVisibility||(k?"visible":"hidden"))}}else g.zoom=1;f=new z(a,"transform",0,0,f,2);f.setRatio=k&&H?Ma:C?Na:La;f.plugin=i;f.data=b;for($.pop();-1<--j;)if(e=Ba[j],n=h[e]-b[e],1E-6<n||-1E-6>n||null!=T[e])f=new z(b,e,b[e],n,f),f.xs0=0,f.plugin=i,c._overwriteProps.push(f.n);if((n=d.transformOrigin)||H&&k&&b.zOrigin)C?(n=(n||A(a,e,q,!1,"50% 50%"))+"",e=Ca,f=new z(g,e,
-0,0,f,-1,"css_transformOrigin"),f.b=g[e],f.plugin=i,H?(l=b.zOrigin,n=n.split(" "),b.zOrigin=(2<n.length?parseFloat(n[2]):l)||0,f.xs0=f.e=g[e]=n[0]+" "+(n[1]||"50%")+" 0px",f=new z(b,"zOrigin",0,0,f,-1,f.n),f.b=l,f.xs0=f.e=b.zOrigin):f.xs0=f.e=g[e]=n):ha(n+"",b);return f.t===a?(f._next&&(f._next._prev=null),f._next):f},!0);r("boxShadow","0px 0px 0px 0px #999",null,!0,!0);r("borderRadius","0px",function(a,b,e,c,f){var b=this.format(b),c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius",
-"borderBottomLeftRadius"],i=a.style,d,g,j,h,l,k,m,r,t,u,s,p;r=parseFloat(a.offsetWidth);t=parseFloat(a.offsetHeight);b=b.split(" ");for(d=0;d<c.length;d++)this.p.indexOf("border")&&(c[d]=Q(c[d])),h=j=A(a,c[d],q,!1,"0px"),l=g=b[d],k=parseFloat(h),s=h.substr((k+"").length),(p="="===l.charAt(1))?(m=parseInt(l.charAt(0)+"1"),l=l.substr(2),m*=parseFloat(l),u=l.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(l),u=l.substr((m+"").length)),""===u&&(u=Z[e]||s),u!==s&&(h=D(a,"borderLeft",k,s),k=D(a,"borderTop",
-k,s),"%"===u?(h=100*(h/r)+"%",j=100*(k/t)+"%"):"em"===u?(s=D(a,"borderLeft",1,"em"),h=h/s+"em",j=k/s+"em"):(h+="px",j=k+"px"),p&&(l=parseFloat(h)+m+u,g=parseFloat(j)+m+u)),f=X(i,c[d],h+" "+j,l+" "+g,!1,"0px",f);return f},!0,!1,za("0px 0px 0px 0px",!1,!0));r("backgroundPosition","0 0",null,!1,!1,ha);r("backgroundSize","0 0",null,!1,!1,ha);r("perspective","0px",null,!0);r("perspectiveOrigin","50% 50%",null,!0);r("transformStyle","preserve-3d",null,!0);r("margin",null,y("marginTop,marginRight,marginBottom,marginLeft"));
-r("padding",null,y("paddingTop,paddingRight,paddingBottom,paddingLeft"));r("clip","rect(0px,0px,0px,0px)");r("textShadow","0px 0px 0px #999",null,!1,!0);r("autoRound",null,function(a,b,e,c,f){return f});r("border","0px solid #000",function(a,b,e,c,f,i){return this.parseComplex(a.style,this.format(A(a,"borderTopWidth",q,!1,"0px")+" "+A(a,"borderTopStyle",q,!1,"solid")+" "+A(a,"borderTopColor",q,!1,"#000")),this.format(b),f,i)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+
-(a.match(G)||["#000"])[0]});var Oa=function(a){var b=this.t,a=this.s+this.c*a,e;100===a&&(b.removeAttribute("filter"),e=!A(this.data,"filter"));e||(this.xn1&&(b.filter=b.filter||"alpha(opacity=100)"),b.filter=-1===b.filter.indexOf("opacity")?b.filter+(" alpha(opacity="+(a>>0)+")"):b.filter.replace(ca,"opacity="+(a>>0)))};r("opacity,alpha,autoAlpha","1",function(a,b,e,c,f,i){var d=parseFloat(A(a,"opacity",q,!1,"1")),b=parseFloat(b),g=a.style,j;"autoAlpha"===e&&(j=A(a,"visibility",q),1===d&&"hidden"===
-j&&(d=0),f=new z(g,"visibility",0,0,f,-1,null,!1,0,0!==d?"visible":"hidden",0===b?"hidden":"visible"),f.xs0="visible",c._overwriteProps.push(f.n));K?f=new z(g,"opacity",d,b-d,f):(f=new z(g,"opacity",100*d,100*(b-d),f),f.xn1="autoAlpha"===e?1:0,g.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=i,f.setRatio=Oa);return f});var Pa=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;for(var a=this.data,b=this.t.style,e=b.removeProperty?"removeProperty":
-"removeAttribute";a;){if(a.v)b[a.p]=a.v;else b[e](a.p.replace(la,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};r("className",null,function(a,b,e,c,f,i,d){var g=a.className,j=a.style.cssText,f=c._classNamePT=new z(a,e,0,0,f,2);f.setRatio=Pa;f.b=g;f.e="="!==b.charAt(1)?b:"+"===b.charAt(0)?g+" "+b.substr(2):g.split(b.substr(2)).join("");c._tween._duration&&(b=V(a,q,!0),a.className=f.e,d=xa(a,b,V(a),d),a.className=g,f.data=d.firstMPT,a.style.cssText=j,f=f.xfirst=
-c.parse(a,d.difs,f,i));return f});k=["bezier","throwProps","physicsProps","physics2D"];for(t=k.length;t--;)J(k[t]);k=B.prototype;k._firstPT=null;k._onInitTween=function(a,b,e){if(!a.nodeType)return!1;this._target=a;this._tween=e;da=b.autoRound;Y=!1;Z=b.suffixMap||B.suffixMap;q=U(a,"");$=this._overwriteProps;var e=a.style,c,f,i;if(oa&&""===e.zIndex&&(c=A(a,"zIndex",q),"auto"===c||""===c))e.zIndex=0;"string"===typeof b&&(f=e.cssText,c=V(a,q),e.cssText=f+";"+b,c=xa(a,c,V(a)).difs,!K&&Ea.test(b)&&(c.opacity=
-parseFloat(RegExp.$1)),b=c,e.cssText=f);this._firstPT=a=this.parse(a,b,null);if(Y){for(;a;){e=a._next;for(b=f;b&&b.pr>a.pr;)b=b._next;(a._prev=b?b._prev:i)?a._prev._next=a:f=a;(a._next=b)?b._prev=a:i=a;a=e}this._firstPT=f}return!0};k.parse=function(a,b,e,c){var f=a.style,i,d,g,j,h,l,k,m;for(i in b){h=b[i];if(d=I[i])e=d.parse(a,h,i,this,e,c,b);else if(d=A(a,i,q)+"",k="string"===typeof h,"color"===i||"fill"===i||"stroke"===i||-1!==i.indexOf("Color")||k&&!h.indexOf("rgb"))k||(h=ja(h),h=(3<h.length?"rgba(":
-"rgb(")+h.join(",")+")"),e=X(f,i,d,h,!0,"transparent",e,0,c);else if(k&&(-1!==h.indexOf(" ")||-1!==h.indexOf(",")))e=X(f,i,d,h,!0,null,e,0,c);else{g=parseFloat(d);l=d.substr((g+"").length);if(""===d||"auto"===d)if("width"===i||"height"===i){g=a;m=i;j=q;l=parseFloat("width"===m?g.offsetWidth:g.offsetHeight);m=Ia[m];var r=m.length;for(j=j||U(g,null);-1<--r;)l-=parseFloat(A(g,"padding"+m[r],j,!0))||0,l-=parseFloat(A(g,"border"+m[r]+"Width",j,!0))||0;g=l;l="px"}else g="opacity"!==i?0:1,l="";(m=k&&"="===
-h.charAt(1))?(j=parseInt(h.charAt(0)+"1"),h=h.substr(2),j*=parseFloat(h),k=h.substr((j+"").length-(0>j?1:0))||""):(j=parseFloat(h),k=k?h.substr((j+"").length)||"":"");""===k&&(k=Z[i]||l);h=j||0===j?(m?j+g:j)+k:b[i];if(l!==k&&""!==k&&(j||0===j))if(g||0===g)if(g=D(a,i,g,l),"%"===k?(g/=D(a,i,100,"%")/100,100<g&&(g=100)):"em"===k?g/=D(a,i,1,"em"):(j=D(a,i,j,k),k="px"),m&&(j||0===j))h=j+g+k;m&&(j+=g);(g||0===g)&&(j||0===j)?(e=new z(f,i,g,j-g,e,0,"css_"+i,!1!==da&&("px"===k||"zIndex"===i),0,d,h),e.xs0=
-k):(e=new z(f,i,j||g||0,0,e,-1,"css_"+i,!1,0,d,h),e.xs0="display"===i&&"none"===h?d:h)}c&&(e&&!e.plugin)&&(e.plugin=c)}return e};k.setRatio=function(a){var b=this._firstPT,e,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;){e=b.c*a+b.s;b.r?e=0<e?e+0.5>>0:e-0.5>>0:1E-6>e&&-1E-6<e&&(e=0);if(b.type)if(1===
-b.type)if(c=b.l,2===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2;else if(3===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{e=b.xs0+e+b.xs1;for(c=1;c<b.l;c++)e+=b["xn"+c]+b["xs"+(c+1)];b.t[b.p]=e}else-1===b.type?b.t[b.p]=b.xs0:b.setRatio&&b.setRatio(a);else b.t[b.p]=e+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next};
-k._linkCSSP=function(a,b,e){a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),e&&(e._next=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=e);return a};k._kill=function(a){var b=a,e=!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,e=!0;return R.prototype._kill.call(this,b)||e};R.activate([B]);return B},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
+3<a.length&&(a[3]=Number(a[3]));return a},G="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(k in M)G+="|"+k+"\\b";var G=RegExp(G+")","gi"),za=function(a,b,e){if(null==a)return function(a){return a};var c=b?(a.match(G)||[""])[0]:"",f=a.split(c).join("").match(ba)||[],i=a.substr(0,a.indexOf(f[0])),d=")"===a.charAt(a.length-1)?")":"",h=-1!==a.indexOf(" ")?" ":",",j=f.length,g=0<j?f[0].replace(aa,""):"";return b?function(a){"number"===typeof a&&(a+=g);var b=(a.match(G)||[c])[0],a=a.split(b).join("").match(ba)||
+[],m=a.length;if(j>m--)for(;++m<j;)a[m]=e?a[(m-1)/2>>0]:f[m];return i+a.join(h)+h+b+d}:function(a){"number"===typeof a&&(a+=g);var a=a.match(ba)||[],b=a.length;if(j>b--)for(;++b<j;)a[b]=e?a[(b-1)/2>>0]:f[b];return i+a.join(h)+d}},z=function(a){a=a.split(",");return function(b,e,c,f,i,d,h){e=(e+"").split(" ");h={};for(c=0;4>c;c++)h[a[c]]=e[c]=e[c]||e[(c-1)/2>>0];return f.parse(b,h,i,d)}};J._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b=this.data,e=b.proxy,c=b.firstMPT,f;c;)f=e[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=e.rotation);if(1===a)for(c=b.firstMPT;c;){a=c.t;if(a.type){if(1===a.type){e=a.xs0+a.s+a.xs1;for(b=1;b<a.l;b++)e+=a["xn"+b]+a["xs"+(b+1)];a.e=e}}else a.e=a.s+a.xs0;c=c._next}};var ga=function(a,b,e,c,f){this.t=a;this.p=b;this.v=e;this.r=f;c&&(c._prev=this,this._next=c)};J._parseToProxy=function(a,b,e,c,f,i){var d=c,h={},j={},g=e._transform,l=T,n;e._transform=null;T=b;c=a=e.parse(a,b,c,f);T=
+l;i&&(e._transform=g,d&&(d._prev=null,d._prev&&(d._prev._next=null)));for(;c&&c!==d;){if(1>=c.type&&(g=c.p,j[g]=c.s+c.c,h[g]=c.s,i||(n=new ga(c,"s",g,n,c.r),c.c=0),1===c.type))for(e=c.l;0<--e;)l="xn"+e,g=c.p+"_"+l,j[g]=c.data[l],h[g]=c[l],i||(n=new ga(c,l,g,n,c.rxp[l]));c=c._next}return{proxy:h,end:j,firstMPT:n,pt:a}};var y=J.CSSPropTween=function(a,b,e,c,f,i,d,h,j,g,l){this.t=a;this.p=b;this.s=e;this.c=c;this.n=d||"css_"+b;a instanceof y||$.push(this.n);this.r=h;this.type=i||0;j&&(this.pr=j,Y=!0);
+this.b=void 0===g?e:g;this.e=void 0===l?e+c:l;f&&(this._next=f,f._prev=this)},X=B.parseComplex=function(a,b,e,c,f,i,d,h,j,g){var d=new y(a,b,0,0,d,g?2:1,null,!1,h,e,c),a=e.split(", ").join(",").split(" "),b=(c+"").split(", ").join(",").split(" "),e=a.length,h=!1!==da,l,n,m,W,k;e!==b.length&&(a=(i||"").split(" "),e=a.length);d.plugin=j;d.setRatio=g;for(i=0;i<e;i++)if(j=a[i],l=b[i],(g=parseFloat(j))||0===g)d.appendXtra("",g,ya(l,g),l.replace(ka,""),h&&-1!==l.indexOf("px"),!0);else if(f&&("#"===j.charAt(0)||
+0===j.indexOf("rgb")||M[j]))j=ja(j),l=ja(l),(g=6<j.length+l.length)&&!K&&0===l[3]?(d["xs"+d.l]+=d.l?" transparent":"transparent",d.e=d.e.split(b[i]).join("transparent")):(d.appendXtra(g?"rgba(":"rgb(",j[0],l[0]-j[0],",",!0,!0).appendXtra("",j[1],l[1]-j[1],",",!0).appendXtra("",j[2],l[2]-j[2],g?",":")",!0),g&&(j=4>j.length?1:j[3],d.appendXtra("",j,(4>l.length?1:l[3])-j,")",!1)));else if(g=j.match(aa)){m=l.match(ka);if(!m||m.length!==g.length)return d;for(l=n=0;l<g.length;l++)k=g[l],W=j.indexOf(k,n),
+d.appendXtra(j.substr(n,W-n),Number(k),ya(m[l],k),"",h&&"px"===j.substr(W+k.length,2),0===l),n=W+k.length;d["xs"+d.l]+=j.substr(n)}else d["xs"+d.l]+=d.l?" "+j:j;if(-1!==c.indexOf("=")&&d.data){c=d.xs0+d.data.s;for(i=1;i<d.l;i++)c+=d["xs"+i]+d.data["xn"+i];d.e=c+d["xs"+i]}d.l||(d.type=-1,d.xs0=d.e);return d.xfirst||d},t=9,k=y.prototype;for(k.l=k.pr=0;0<--t;)k["xn"+t]=0,k["xs"+t]="";k.xs0="";k._next=k._prev=k.xfirst=k.data=k.plugin=k.setRatio=k.rxp=null;k.appendXtra=function(a,b,e,c,f,i){var d=this.l;
+this["xs"+d]+=i&&d?" "+a:a||"";if(!e&&0!==d&&!this.plugin)return this["xs"+d]+=b+(c||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=c||"";if(0<d)return this.data["xn"+d]=b+e,this.rxp["xn"+d]=f,this["xn"+d]=b,this.plugin||(this.xfirst=new y(this,"xn"+d,b,e,this.xfirst||this,0,this.n,f,this.pr),this.xfirst.xs0=0),this;this.data={s:b+e};this.rxp={};this.s=b;this.c=e;this.r=f;return this};var Aa=function(a,b,e,c,f,i,d){this.p=c?Q(a)||a:a;I[a]=I[this.p]=this;this.format=i||za(b,f);e&&
+(this.parse=e);this.clrs=f;this.dflt=b;this.pr=d||0},r=J._registerComplexSpecialProp=function(a,b,e,c,f,i,d){for(var a=a.split(","),b=b instanceof Array?b:[b],h=a.length;-1<--h;)new Aa(a[h],b[h],e,c&&0===h,f,i,d)},J=function(a){if(!I[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";r(a,null,function(a,c,f,i,d,h,j){var g=window.com.greensock.plugins[b];if(!g)return window.console&&console.log("Error: "+b+" js file not loaded."),d;g._cssRegister();return I[f].parse(a,c,f,i,d,h,j)})}},k=Aa.prototype;
+k.parseComplex=function(a,b,e,c,f,i){return X(a,this.p,b,e,this.clrs,this.dflt,c,this.pr,f,i)};k.parse=function(a,b,e,c,f,i){return this.parseComplex(a.style,this.format(A(a,e,q,!1,this.dflt)),this.format(b),f,i)};B.registerSpecialProp=function(a,b,e){r(a,null,function(a,f,i,d,h,j){h=new y(a,i,0,0,h,2,i,!1,e);h.plugin=j;h.setRatio=b(a,f,d._tween,i);return h},!1,!1,null,e)};var Ba="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),C=Q("transform"),Ka=wa+"transform",
+Ca=Q("transformOrigin"),H=null!==Q("perspective"),fa=function(a,b,e){var c=e?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,i=H?parseFloat(A(a,Ca,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,d,h,j,g,l,n,m,k;C?d=A(a,Ka,b,!0):a.currentStyle&&(d=(d=a.currentStyle.filter.match(Ga))&&4===d.length?d[0].substr(4)+","+Number(d[2].substr(4))+","+Number(d[1].substr(4))+","+d[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null);h=(d||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(b=h.length;-1<--b;)h[b]=Number(h[b]);
+if(16===h.length){if(f=h[8],d=h[9],j=h[10],g=h[12],l=h[13],n=h[14],c.zOrigin&&(n=-c.zOrigin,g=f*n-h[12],l=d*n-h[13],n=j*n+c.zOrigin-h[14]),!e||g!==c.x||l!==c.y||n!==c.z){m=h[0];k=h[1];var r=h[2],u=h[3],s=h[4],p=h[5],q=h[6],y=h[7];h=h[11];var v=c.rotationX=Math.atan2(q,j),t,z,w,x;v&&(w=Math.cos(-v),x=Math.sin(-v),v=s*w+f*x,t=p*w+d*x,z=q*w+j*x,f=s*-x+f*w,d=p*-x+d*w,j=q*-x+j*w,h=y*-x+h*w,s=v,p=t,q=z);if(v=c.rotationY=Math.atan2(f,m))w=Math.cos(-v),x=Math.sin(-v),t=k*w-d*x,z=r*w-j*x,d=k*x+d*w,j=r*x+j*
+w,h=u*x+h*w,m=m*w-f*x,k=t,r=z;if(v=c.rotation=Math.atan2(k,p))w=Math.cos(-v),x=Math.sin(-v),m=m*w+s*x,t=k*w+p*x,p=k*-x+p*w,q=r*-x+q*w,k=t;Math.abs(c.rotationY)>Math.PI/2&&(c.rotationY*=-1,c.rotationX+=Math.PI,c.rotation=Math.PI-c.rotation);c.scaleX=Math.sqrt(m*m+k*k);c.scaleY=Math.sqrt(p*p+d*d);c.scaleZ=Math.sqrt(q*q+j*j);c.skewX=0;c.perspective=h?1/h:0;c.x=g;c.y=l;c.z=n}}else if(!H||0===h.length||c.x!==h[4]||c.y!==h[5]||!c.rotationX&&!c.rotationY){g=(d=6<=h.length)?h[0]:1;n=h[1]||0;l=h[2]||0;m=d?
+h[3]:1;c.x=h[4]||0;c.y=h[5]||0;d=Math.sqrt(g*g+n*n);j=Math.sqrt(m*m+l*l);g=g||n?Math.atan2(n,g):c.rotation||0;l=l||m?Math.atan2(l,m)+g:c.skewX||0;n=d-Math.abs(c.scaleX||0);m=j-Math.abs(c.scaleY||0);Math.abs(l)>Math.PI/2&&Math.abs(l)<1.5*Math.PI&&(f?(d*=-1,l+=0>=g?Math.PI:-Math.PI,g+=0>=g?Math.PI:-Math.PI):(j*=-1,l+=0>=l?Math.PI:-Math.PI));f=(g-c.rotation)%Math.PI;k=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<n||-1E-6>n||1E-6<m||-1E-6>m||1E-6<f||-1E-6>f||1E-6<k||-1E-6>k)c.scaleX=d,c.scaleY=j,c.rotation=
+g,c.skewX=l;H&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(B.defaultTransformPerspective)||0,c.scaleZ=1)}c.zOrigin=i;for(b in c)1E-6>c[b]&&-1E-6<c[b]&&(c[b]=0);e&&(a._gsTransform=c);return c},La=function(a){var b=this.data,e=-b.rotation,c=e+b.skewX,f=Math.cos(e)*b.scaleX,e=Math.sin(e)*b.scaleX,i=Math.sin(c)*-b.scaleY,c=Math.cos(c)*b.scaleY,d=1E-6,h=this.t.style,j=this.t.currentStyle,g;if(j){f<d&&f>-d&&(f=0);e<d&&e>-d&&(e=0);i<d&&i>-d&&(i=0);c<d&&c>-d&&(c=0);d=e;e=-i;i=-d;d=j.filter;h.filter=
+"";var l=this.t.offsetWidth;g=this.t.offsetHeight;var n="absolute"!==j.position,m="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+e+", M21="+i+", M22="+c,k=b.x,q=b.y,u,s;null!=b.ox&&(u=(b.oxp?0.01*l*b.ox:b.ox)-l/2,s=(b.oyp?0.01*g*b.oy:b.oy)-g/2,k+=u-(u*f+s*e),q+=s-(u*i+s*c));if(n)u=l/2,s=g/2,m+=", Dx="+(u-(u*f+s*e)+k)+", Dy="+(s-(u*i+s*c)+q)+")";else{var p=8>sa?1:-1;u=b.ieOffsetX||0;s=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>e?-e:e)*g))/2+k);b.ieOffsetY=Math.round((g-((0>
+c?-c:c)*g+(0>i?-i:i)*l))/2+q);for(t=0;4>t;t++)l=Ja[t],g=j[l],g=-1!==g.indexOf("px")?parseFloat(g):D(this.t,l,parseFloat(g),g.replace(Da,""))||0,k=g!==b[l]?2>t?-b.ieOffsetX:-b.ieOffsetY:2>t?u-b.ieOffsetX:s-b.ieOffsetY,h[l]=(b[l]=Math.round(g-k*(0===t||2===t?1:p)))+"px";m+=", sizingMethod='auto expand')"}h.filter=-1!==d.indexOf("DXImageTransform.Microsoft.Matrix(")?d.replace(Ha,m):m+" "+d;if(0===a||1===a)if(1===f&&0===e&&0===i&&1===c&&(!n||-1!==m.indexOf("Dx=0, Dy=0")))(!ca.test(d)||100===parseFloat(RegExp.$1))&&
+-1===d.indexOf("gradient(")&&h.removeAttribute("filter")}},Ma=function(){var a=this.data,b=a.perspective,e=a.scaleX,c=0,f=0,i=0,d=0,h=a.scaleY,j=0,g=0,l=0,n=0,m=a.scaleZ,k=0,q=0,u=0,s=b?-1/b:0,p=a.rotation,r=a.zOrigin,t=this.t.style,v,z,y,w,x;p&&(v=Math.cos(p),p=Math.sin(p),y=h*p,c=e*-p,h*=v,e*=v,d=y);if(p=a.rotationY)v=Math.cos(p),p=Math.sin(p),w=m*-p,x=s*-p,f=e*p,j=d*p,m*=v,s*=v,e*=v,d*=v,l=w,q=x;if(p=a.rotationX)v=Math.cos(p),p=Math.sin(p),z=c*v+f*p,y=h*v+j*p,w=n*v+m*p,x=u*v+s*p,f=c*-p+f*v,j=h*
+-p+j*v,m=n*-p+m*v,s=u*-p+s*v,c=z,h=y,n=w,u=x;r&&(k-=r,i=f*k,g=j*k,k=m*k+r);i+=a.x;g+=a.y;k+=a.z;1E-6>k&&-1E-6<k&&(k=0);t[C]="matrix3d("+(1E-6>e&&-1E-6<e?0:e)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>l&&-1E-6<l?0:l)+","+(1E-6>q&&-1E-6<q?0:q)+","+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>h&&-1E-6<h?0:h)+","+(1E-6>n&&-1E-6<n?0:n)+","+(1E-6>u&&-1E-6<u?0:u)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>j&&-1E-6<j?0:j)+","+(1E-6>m&&-1E-6<m?0:m)+","+(1E-6>s&&-1E-6<s?0:s)+","+(1E-6>i&&-1E-6<i?0:i)+","+(1E-6>g&&-1E-6<g?0:g)+","+k+
+","+(b?1+-k/b:1)+")";if(qa)return z=t.display,t.display="none",y=this.t.offsetWidth,t.display=z,y},Na=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[C]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var b=a.rotation,e=b-a.skewX,c=Math.cos(b)*a.scaleX,b=Math.sin(b)*a.scaleX,f=Math.sin(e)*-a.scaleY,e=Math.cos(e)*a.scaleY;this.t.style[C]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>b&&-1E-6<b?0:b)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>e&&-1E-6<e?0:e)+","+a.x+","+a.y+")"}};
+r("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,b,e,c,f,i,d){if(c._transform)return f;var b=c._transform=fa(a,q,!0),h=a.style,j=Ba.length,g,l,n,k;if("string"===typeof d.transform&&C)l=h[C],h[C]=d.transform,g=fa(a,null,!1),h[C]=l;else if("object"===typeof d){l=null!=d.rotation?d.rotation:null!=d.rotationZ?d.rotationZ:b.rotation*N;g={scaleX:F(null!=
+d.scaleX?d.scaleX:d.scale,b.scaleX),scaleY:F(null!=d.scaleY?d.scaleY:d.scale,b.scaleY),scaleZ:F(null!=d.scaleZ?d.scaleZ:d.scale,b.scaleZ),x:F(d.x,b.x),y:F(d.y,b.y),z:F(d.z,b.z),perspective:F(d.transformPerspective,b.perspective)};g.rotation=null!=d.shortRotation||null!=d.shortRotationZ?ia(d.shortRotation||d.shortRotationZ||0,b.rotation):"number"===typeof l?l*E:L(l,b.rotation);H&&(g.rotationX=null!=d.shortRotationX?ia(d.shortRotationX,b.rotationX):"number"===typeof d.rotationX?d.rotationX*E:L(d.rotationX,
+b.rotationX),g.rotationY=null!=d.shortRotationY?ia(d.shortRotationY,b.rotationY):"number"===typeof d.rotationY?d.rotationY*E:L(d.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==d.skewX?b.skewX:"number"===typeof d.skewX?d.skewX*E:L(d.skewX,b.skewX);g.skewY=null==d.skewY?b.skewY:"number"===typeof d.skewY?d.skewY*E:L(d.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)}k=b.z||b.rotationX||b.rotationY||g.z||g.rotationX||g.rotationY||g.perspective;!k&&null!=g.scale&&(g.scaleZ=1);if(C){if(pa){oa=!0;if(""===h.zIndex&&(l=A(a,"zIndex",q),"auto"===l||""===l))h.zIndex=0;ra&&(h.WebkitBackfaceVisibility=d.WebkitBackfaceVisibility||(k?"visible":"hidden"))}}else h.zoom=1;f=new y(a,"transform",0,0,f,2);f.setRatio=k&&H?Ma:C?Na:La;f.plugin=i;f.data=b;for($.pop();-1<--j;)if(e=
+Ba[j],n=g[e]-b[e],1E-6<n||-1E-6>n||null!=T[e])f=new y(b,e,b[e],n,f),f.xs0=0,f.plugin=i,c._overwriteProps.push(f.n);if((n=d.transformOrigin)||H&&k&&b.zOrigin)C?(n=(n||A(a,e,q,!1,"50% 50%"))+"",e=Ca,f=new y(h,e,0,0,f,-1,"css_transformOrigin"),f.b=h[e],f.plugin=i,H?(l=b.zOrigin,n=n.split(" "),b.zOrigin=(2<n.length?parseFloat(n[2]):l)||0,f.xs0=f.e=h[e]=n[0]+" "+(n[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[e]=n):ha(n+"",b);return f.t===a?(f._next&&(f._next._prev=
+null),f._next):f},!0);r("boxShadow","0px 0px 0px 0px #999",null,!0,!0);r("borderRadius","0px",function(a,b,e,c,f){var b=this.format(b),c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],i=a.style,d,h,j,g,l,k,m,r,t,u,s,p;r=parseFloat(a.offsetWidth);t=parseFloat(a.offsetHeight);b=b.split(" ");for(d=0;d<c.length;d++)this.p.indexOf("border")&&(c[d]=Q(c[d])),g=j=A(a,c[d],q,!1,"0px"),-1!==g.indexOf(" ")&&(j=g.split(" "),g=j[0],j=j[1]),l=h=b[d],k=parseFloat(g),
+s=g.substr((k+"").length),(p="="===l.charAt(1))?(m=parseInt(l.charAt(0)+"1"),l=l.substr(2),m*=parseFloat(l),u=l.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(l),u=l.substr((m+"").length)),""===u&&(u=Z[e]||s),u!==s&&(g=D(a,"borderLeft",k,s),k=D(a,"borderTop",k,s),"%"===u?(g=100*(g/r)+"%",j=100*(k/t)+"%"):"em"===u?(s=D(a,"borderLeft",1,"em"),g=g/s+"em",j=k/s+"em"):(g+="px",j=k+"px"),p&&(l=parseFloat(g)+m+u,h=parseFloat(j)+m+u)),f=X(i,c[d],g+" "+j,l+" "+h,!1,"0px",f);return f},!0,!1,za("0px 0px 0px 0px",
+!1,!0));r("backgroundPosition","0 0",null,!1,!1,ha);r("backgroundSize","0 0",null,!1,!1,ha);r("perspective","0px",null,!0);r("perspectiveOrigin","50% 50%",null,!0);r("transformStyle","preserve-3d",null,!0);r("margin",null,z("marginTop,marginRight,marginBottom,marginLeft"));r("padding",null,z("paddingTop,paddingRight,paddingBottom,paddingLeft"));r("clip","rect(0px,0px,0px,0px)");r("textShadow","0px 0px 0px #999",null,!1,!0);r("autoRound",null,function(a,b,e,c,f){return f});r("border","0px solid #000",
+function(a,b,e,c,f,i){return this.parseComplex(a.style,this.format(A(a,"borderTopWidth",q,!1,"0px")+" "+A(a,"borderTopStyle",q,!1,"solid")+" "+A(a,"borderTopColor",q,!1,"#000")),this.format(b),f,i)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(G)||["#000"])[0]});var Oa=function(a){var b=this.t,a=this.s+this.c*a,e;100===a&&(b.removeAttribute("filter"),e=!A(this.data,"filter"));e||(this.xn1&&(b.filter=b.filter||"alpha(opacity=100)"),b.filter=-1===b.filter.indexOf("opacity")?
+b.filter+(" alpha(opacity="+(a>>0)+")"):b.filter.replace(ca,"opacity="+(a>>0)))};r("opacity,alpha,autoAlpha","1",function(a,b,e,c,f,i){var d=parseFloat(A(a,"opacity",q,!1,"1")),b=parseFloat(b),h=a.style,j;"autoAlpha"===e&&(j=A(a,"visibility",q),1===d&&"hidden"===j&&(d=0),f=new y(h,"visibility",0,0,f,-1,null,!1,0,0!==d?"visible":"hidden",0===b?"hidden":"visible"),f.xs0="visible",c._overwriteProps.push(f.n));K?f=new y(h,"opacity",d,b-d,f):(f=new y(h,"opacity",100*d,100*(b-d),f),f.xn1="autoAlpha"===
+e?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=i,f.setRatio=Oa);return f});var Pa=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;for(var a=this.data,b=this.t.style,e=b.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)b[a.p]=a.v;else b[e](a.p.replace(la,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};r("className",null,function(a,b,e,c,f,i,d){var h=a.className,j=a.style.cssText,
+f=c._classNamePT=new y(a,e,0,0,f,2);f.setRatio=Pa;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=V(a,q,!0),a.className=f.e,d=xa(a,b,V(a),d),a.className=h,f.data=d.firstMPT,a.style.cssText=j,f=f.xfirst=c.parse(a,d.difs,f,i));return f});k=["bezier","throwProps","physicsProps","physics2D"];for(t=k.length;t--;)J(k[t]);k=B.prototype;k._firstPT=null;k._onInitTween=function(a,b,e){if(!a.nodeType)return!1;this._target=a;this._tween=e;
+da=b.autoRound;Y=!1;Z=b.suffixMap||B.suffixMap;q=U(a,"");$=this._overwriteProps;var e=a.style,c,f,i;if(oa&&""===e.zIndex&&(c=A(a,"zIndex",q),"auto"===c||""===c))e.zIndex=0;"string"===typeof b&&(f=e.cssText,c=V(a,q),e.cssText=f+";"+b,c=xa(a,c,V(a)).difs,!K&&Ea.test(b)&&(c.opacity=parseFloat(RegExp.$1)),b=c,e.cssText=f);this._firstPT=a=this.parse(a,b,null);if(Y){for(;a;){e=a._next;for(b=f;b&&b.pr>a.pr;)b=b._next;(a._prev=b?b._prev:i)?a._prev._next=a:f=a;(a._next=b)?b._prev=a:i=a;a=e}this._firstPT=f}return!0};
+k.parse=function(a,b,e,c){var f=a.style,i,d,h,j,g,l,k,m;for(i in b){g=b[i];if(d=I[i])e=d.parse(a,g,i,this,e,c,b);else if(d=A(a,i,q)+"",k="string"===typeof g,"color"===i||"fill"===i||"stroke"===i||-1!==i.indexOf("Color")||k&&!g.indexOf("rgb"))k||(g=ja(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),e=X(f,i,d,g,!0,"transparent",e,0,c);else if(k&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))e=X(f,i,d,g,!0,null,e,0,c);else{h=parseFloat(d);l=d.substr((h+"").length);if(""===d||"auto"===d)if("width"===i||
+"height"===i){h=a;m=i;j=q;l=parseFloat("width"===m?h.offsetWidth:h.offsetHeight);m=Ia[m];var r=m.length;for(j=j||U(h,null);-1<--r;)l-=parseFloat(A(h,"padding"+m[r],j,!0))||0,l-=parseFloat(A(h,"border"+m[r]+"Width",j,!0))||0;h=l;l="px"}else h="opacity"!==i?0:1,l="";(m=k&&"="===g.charAt(1))?(j=parseInt(g.charAt(0)+"1"),g=g.substr(2),j*=parseFloat(g),k=g.substr((j+"").length-(0>j?1:0))||""):(j=parseFloat(g),k=k?g.substr((j+"").length)||"":"");""===k&&(k=Z[i]||l);g=j||0===j?(m?j+h:j)+k:b[i];if(l!==k&&
+""!==k&&(j||0===j))if(h||0===h)if(h=D(a,i,h,l),"%"===k?(h/=D(a,i,100,"%")/100,100<h&&(h=100)):"em"===k?h/=D(a,i,1,"em"):(j=D(a,i,j,k),k="px"),m&&(j||0===j))g=j+h+k;m&&(j+=h);(h||0===h)&&(j||0===j)?(e=new y(f,i,h,j-h,e,0,"css_"+i,!1!==da&&("px"===k||"zIndex"===i),0,d,g),e.xs0=k):(e=new y(f,i,j||h||0,0,e,-1,"css_"+i,!1,0,d,g),e.xs0="display"===i&&"none"===g?d:g)}c&&(e&&!e.plugin)&&(e.plugin=c)}return e};k.setRatio=function(a){var b=this._firstPT,e,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;){e=b.c*a+b.s;b.r?e=0<e?e+0.5>>0:e-0.5>>0:1E-6>e&&-1E-6<e&&(e=0);if(b.type)if(1===b.type)if(c=b.l,2===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2;else if(3===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===c)b.t[b.p]=b.xs0+
+e+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{e=b.xs0+e+b.xs1;for(c=1;c<b.l;c++)e+=b["xn"+c]+b["xs"+(c+1)];b.t[b.p]=e}else-1===b.type?b.t[b.p]=b.xs0:b.setRatio&&b.setRatio(a);else b.t[b.p]=e+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next};k._linkCSSP=function(a,b,e){a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),e&&(e._next=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=e);return a};k._kill=function(a){var b=
+a,e=!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,e=!0;return R.prototype._kill.call(this,b)||e};R.activate([B]);
+return B},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
diff --git a/src/uncompressed/TweenMax.js b/src/uncompressed/TweenMax.js
index 2f656d2..d3ecb0b 100755
--- a/src/uncompressed/TweenMax.js
+++ b/src/uncompressed/TweenMax.js
@@ -1,6 +1,6 @@
/**
- * VERSION: beta 1.651
- * DATE: 2012-12-10
+ * VERSION: beta 1.652
+ * DATE: 2012-12-11
* 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.651;
+ TweenMax.version = 1.652;
p.constructor = TweenMax;
p.kill()._gc = false;
TweenMax.killTweensOf = TweenMax.killDelayedCallsTo = TweenLite.killTweensOf;
@@ -2064,7 +2064,7 @@
p = CSSPlugin.prototype = new TweenPlugin("css");
p.constructor = CSSPlugin;
- CSSPlugin.version = 1.651;
+ CSSPlugin.version = 1.652;
CSSPlugin.API = 2;
CSSPlugin.defaultTransformPerspective = 0;
p = "px"; //we'll reuse the "p" variable to keep file size down
@@ -2099,7 +2099,7 @@
_isMozilla, //Mozilla (Firefox) has a bug that causes 3D transformed elements to randomly disappear unless a repaint is forced after each update on each element.
_isSafariLT6, //Safari (and Android 4 which uses a flavor of Safari) has a bug that prevents changes to "top" and "left" properties from rendering properly if changed on the same frame as a transform UNLESS we set the element's WebkitBackfaceVisibility to hidden (weird, I know). Doing this for Android 3 and earlier seems to actually cause other problems, though (fun!)
_ieVers,
- _supportsOpacity = (function() { //we set _isSafari, _ieVers, and _supportsOpacity all in one function here to reduce file size slightly, especially in the minified version.
+ _supportsOpacity = (function() { //we set _isSafari, _ieVers, _isMozilla, and _supportsOpacity all in one function here to reduce file size slightly, especially in the minified version.
var i = _agent.indexOf("Android"),
d = _doc.createElement("div"), a;
@@ -3465,6 +3465,7 @@
}, true);
+
_registerComplexSpecialProp("boxShadow", "0px 0px 0px 0px #999", null, true, true);
_registerComplexSpecialProp("borderRadius", "0px", function(t, e, p, cssp, pt, plugin) {
e = this.format(e);
@@ -3479,6 +3480,11 @@
props[i] = _checkPropPrefix(props[i]);
}
bs = bs2 = _getStyle(t, props[i], _cs, false, "0px");
+ if (bs.indexOf(" ") !== -1) {
+ bs2 = bs.split(" ");
+ bs = bs2[0];
+ bs2 = bs2[1];
+ }
es = es2 = ea1[i];
bn = parseFloat(bs);
bsfx = bs.substr((bn + "").length);
@@ -3495,7 +3501,6 @@
if (esfx === "") {
esfx = _suffixMap[p] || bsfx;
}
-
if (esfx !== bsfx) {
hn = _convertToPixels(t, "borderLeft", bn, bsfx); //horizontal number (we use a bogus "borderLeft" property just because the _convertToPixels() method searches for the keywords "Left", "Right", "Top", and "Bottom" to determine of it's a horizontal or vertical property, and we need "border" in the name so that it knows it should measure relative to the element itself, not its parent.
vn = _convertToPixels(t, "borderTop", bn, bsfx); //vertical number
diff --git a/src/uncompressed/plugins/CSSPlugin.js b/src/uncompressed/plugins/CSSPlugin.js
index 2462666..459cffe 100755
--- a/src/uncompressed/plugins/CSSPlugin.js
+++ b/src/uncompressed/plugins/CSSPlugin.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.651
- * DATE: 2012-12-10
+ * VERSION: beta 1.652
+ * DATE: 2012-12-11
* 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.651;
+ CSSPlugin.version = 1.652;
CSSPlugin.API = 2;
CSSPlugin.defaultTransformPerspective = 0;
p = "px"; //we'll reuse the "p" variable to keep file size down
@@ -64,7 +64,7 @@
_isMozilla, //Mozilla (Firefox) has a bug that causes 3D transformed elements to randomly disappear unless a repaint is forced after each update on each element.
_isSafariLT6, //Safari (and Android 4 which uses a flavor of Safari) has a bug that prevents changes to "top" and "left" properties from rendering properly if changed on the same frame as a transform UNLESS we set the element's WebkitBackfaceVisibility to hidden (weird, I know). Doing this for Android 3 and earlier seems to actually cause other problems, though (fun!)
_ieVers,
- _supportsOpacity = (function() { //we set _isSafari, _ieVers, and _supportsOpacity all in one function here to reduce file size slightly, especially in the minified version.
+ _supportsOpacity = (function() { //we set _isSafari, _ieVers, _isMozilla, and _supportsOpacity all in one function here to reduce file size slightly, especially in the minified version.
var i = _agent.indexOf("Android"),
d = _doc.createElement("div"), a;
@@ -1511,6 +1511,11 @@
props[i] = _checkPropPrefix(props[i]);
}
bs = bs2 = _getStyle(t, props[i], _cs, false, "0px");
+ if (bs.indexOf(" ") !== -1) {
+ bs2 = bs.split(" ");
+ bs = bs2[0];
+ bs2 = bs2[1];
+ }
es = es2 = ea1[i];
bn = parseFloat(bs);
bsfx = bs.substr((bn + "").length);
@@ -1527,7 +1532,6 @@
if (esfx === "") {
esfx = _suffixMap[p] || bsfx;
}
-
if (esfx !== bsfx) {
hn = _convertToPixels(t, "borderLeft", bn, bsfx); //horizontal number (we use a bogus "borderLeft" property just because the _convertToPixels() method searches for the keywords "Left", "Right", "Top", and "Bottom" to determine of it's a horizontal or vertical property, and we need "border" in the name so that it knows it should measure relative to the element itself, not its parent.
vn = _convertToPixels(t, "borderTop", bn, bsfx); //vertical number