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.

Worked around Mozilla 3D bug

Jack Doylebb412f0abb6f
diff --git a/src/minified/TweenLite.min.js b/src/minified/TweenLite.min.js
index f2c6378..c4fbf71 100755
--- a/src/minified/TweenLite.min.js
+++ b/src/minified/TweenLite.min.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.642
- * DATE: 2012-11-11
+ * VERSION: beta 1.651
+ * DATE: 2012-12-10
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -15,8 +15,8 @@ m)[f]=j,"function"===typeof define&&define.amd?define((m.GreenSockAMDPath?m.Gree
b||0;this._power=k||0;this._params=c?I.concat(c):I},!0);d=t.prototype;d._calcEnd=!1;d.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var c=this._type,b=this._power,k=1===c?1-a:2===c?a:0.5>a?2*a:2*(1-a);1===b?k*=k:2===b?k*=k*k:3===b?k*=k*k*k:4===b&&(k*=k*k*k*k);return 1===c?1-k:2===c?k:0.5>a?k/2:1-k/2};p=["Linear","Quad","Cubic","Quart","Quint"];for(j=p.length;-1<--j;)d=r("easing."+p[j],null,!0),B=r("easing.Power"+j,null,!0),d.easeOut=B.easeOut=new t(null,
null,1,j),d.easeIn=B.easeIn=new t(null,null,2,j),d.easeInOut=B.easeInOut=new t(null,null,3,j);r("easing.Strong",l.easing.Power4,!0);l.easing.Linear.easeNone=l.easing.Linear.easeIn;var J=r("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this});d=J.prototype;d.addEventListener=function(a,c,b,k,e){var e=e||0,d=this._listeners[a],i=0,f;null==d&&(this._listeners[a]=d=[]);for(f=d.length;-1<--f;)a=d[f],a.c===c?d.splice(f,1):0===i&&a.pr<e&&(i=f+1);d.splice(i,0,{c:c,s:b,up:k,pr:e})};
d.removeEventListener=function(a,c){var b=this._listeners[a],k;if(b)for(k=b.length;-1<--k;)if(b[k].c===c){b.splice(k,1);break}};d.dispatchEvent=function(a){var c=this._listeners[a];if(c)for(var b=c.length,k=this._eventTarget,d;-1<--b;)d=c[b],d.up?d.c.call(d.s||k,{type:a,target:k}):d.c.call(d.s||k)};var y=m.requestAnimationFrame,E=m.cancelAnimationFrame,K=Date.now||function(){return(new Date).getTime()};p=["ms","moz","webkit","o"];for(j=p.length;-1<--j&&!y;)y=m[p[j]+"RequestAnimationFrame"],E=m[p[j]+
-"CancelAnimationFrame"]||m[p[j]+"CancelRequestAnimationFrame"];r("Ticker",function(a,c){var b=this,k=K(),d=!1!==c&&y,g,i,f,h,n,j=function(){null!=f&&(!d||!E?m.clearTimeout(f):E(f),f=null)},l=function(a){b.time=(K()-k)/1E3;if(!g||b.time>=n||a)b.frame++,n=b.time>n?b.time+h-(b.time-n):b.time+h-0.001,n<b.time+0.001&&(n=b.time+0.001),b.dispatchEvent("tick");!0!==a&&(f=i(l))};J.call(b);this.time=this.frame=0;this.tick=function(){l(!0)};this.fps=function(a){if(!arguments.length)return g;g=a;h=1/(g||60);
-n=this.time+h;i=0===g?function(){}:!d||!y?function(a){return m.setTimeout(a,1E3*(n-b.time)+1>>0||1)}:y;j();f=i(l)};this.useRAF=function(a){if(!arguments.length)return d;j();d=a;b.fps(g)};b.fps(a);m.setTimeout(function(){d&&!f&&b.useRAF(!1)},1E3)});d=l.Ticker.prototype=new l.events.EventDispatcher;d.constructor=l.Ticker;var q=r("core.Animation",function(a,c){this.vars=c||{};this._duration=this._totalDuration=a||0;this._delay=Number(this.vars.delay)||0;this._timeScale=1;this._active=!0===this.vars.immediateRender;
+"CancelAnimationFrame"]||m[p[j]+"CancelRequestAnimationFrame"];r("Ticker",function(a,c){var b=this,k=K(),d=!1!==c&&y,g,i,f,h,n,j=function(){null!=f&&(!d||!E?m.clearTimeout(f):E(f),f=null)},l=function(a){b.time=(K()-k)/1E3;if(!g||b.time>=n||!0===a)b.frame++,n=b.time>n?b.time+h-(b.time-n):b.time+h-0.001,n<b.time+0.001&&(n=b.time+0.001),b.dispatchEvent("tick");!0!==a&&(f=i(l))};J.call(b);this.time=this.frame=0;this.tick=function(){l(!0)};this.fps=function(a){if(!arguments.length)return g;g=a;h=1/(g||
+60);n=this.time+h;i=0===g?function(){}:!d||!y?function(a){return m.setTimeout(a,1E3*(n-b.time)+1>>0||1)}:y;j();f=i(l)};this.useRAF=function(a){if(!arguments.length)return d;j();d=a;b.fps(g)};b.fps(a);m.setTimeout(function(){d&&!f&&b.useRAF(!1)},1E3)});d=l.Ticker.prototype=new l.events.EventDispatcher;d.constructor=l.Ticker;var q=r("core.Animation",function(a,c){this.vars=c||{};this._duration=this._totalDuration=a||0;this._delay=Number(this.vars.delay)||0;this._timeScale=1;this._active=!0===this.vars.immediateRender;
this.data=this.vars.data;this._reversed=!0===this.vars.reversed;if(u){H||(s.tick(),H=!0);var b=this.vars.useFrames?x:u;b.insert(this,b._time);this.vars.paused&&this.paused(!0)}}),s=q.ticker=new l.Ticker;d=q.prototype;d._dirty=d._gc=d._initted=d._paused=!1;d._totalTime=d._time=0;d._rawPrevTime=-1;d._next=d._last=d._onUpdate=d._timeline=d.timeline=null;d._paused=!1;d.play=function(a,c){arguments.length&&this.seek(a,c);this.reversed(!1);return this.paused(!1)};d.pause=function(a,c){arguments.length&&
this.seek(a,c);return this.paused(!0)};d.resume=function(a,c){arguments.length&&this.seek(a,c);return this.paused(!1)};d.seek=function(a,c){return this.totalTime(Number(a),!1!=c)};d.restart=function(a,c){this.reversed(!1);this.paused(!1);return this.totalTime(a?-this._delay:0,!1!==c)};d.reverse=function(a,c){arguments.length&&this.seek(a||this.totalDuration(),c);this.reversed(!0);return this.paused(!1)};d.render=function(){};d.invalidate=function(){return this};d._enabled=function(a,c){this._gc=!a;
this._active=a&&!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration;!0!==c&&(a&&null==this.timeline?this._timeline.insert(this,this._startTime-this._delay):!a&&null!=this.timeline&&this._timeline._remove(this,!0));return!1};d._kill=function(){return this._enabled(!1,!1)};d.kill=function(a,c){this._kill(a,c);return this};d._uncache=function(a){for(a=a?this:this.timeline;a;)a._dirty=!0,a=a.timeline;return this};d.eventCallback=function(a,c,b,d){if(null==a)return null;if("on"===a.substr(0,
@@ -29,7 +29,7 @@ a,this._active=!this._paused&&0<this._totalTime&&this._totalTime<this._totalDura
a.timeline._remove(a,!0);a.timeline=a._timeline=this;a._gc&&a._enabled(!0,!0);var b=this._last;if(this._sortChildren)for(var d=a._startTime;b&&b._startTime>d;)b=b._prev;b?(a._next=b._next,b._next=a):(a._next=this._first,this._first=a);a._next?a._next._prev=a:this._last=a;a._prev=b;this._timeline&&this._uncache(!0);return this};d._remove=function(a,c){a.timeline===this&&(c||a._enabled(!1,!0),a.timeline=null,a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=
a._prev:this._last===a&&(this._last=a._prev),this._timeline&&this._uncache(!0));return this};d.render=function(a,c){var b=this._first,d;for(this._totalTime=this._time=this._rawPrevTime=a;b;){d=b._next;if(b._active||a>=b._startTime&&!b._paused)b._reversed?b.render((!b._dirty?b._totalDuration:b.totalDuration())-(a-b._startTime)*b._timeScale,c,!1):b.render((a-b._startTime)*b._timeScale,c,!1);b=d}};d.rawTime=function(){return this._totalTime};var h=r("TweenLite",function(a,c,b){q.call(this,c,b);if(null==
a)throw"Cannot tween an undefined reference.";this.target=a;this._overwrite=null==this.vars.overwrite?L[h.defaultOverwrite]:"number"===typeof this.vars.overwrite?this.vars.overwrite>>0:L[this.vars.overwrite];if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){this._targets=a.slice(0);this._propLookup=[];this._siblings=[];for(a=0;a<this._targets.length;a++)b=this._targets[a],b.jquery?(this._targets.splice(a--,1),this._targets=this._targets.concat(b.constructor.makeArray(b))):(this._siblings[a]=
-z(b,this,!1),1===this._overwrite&&1<this._siblings[a].length&&F(b,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=z(a,this,!1),1===this._overwrite&&1<this._siblings.length&&F(a,this,null,1,this._siblings);(this.vars.immediateRender||0===c&&0===this._delay&&!1!==this.vars.immediateRender)&&this.render(-this._delay,!1,!0)},!0);d=h.prototype=new q;d.constructor=h;d.kill()._gc=!1;d.ratio=0;d._firstPT=d._targets=d._overwrittenProps=null;d._notifyPluginsOfEnabled=!1;h.version=1.642;
+z(b,this,!1),1===this._overwrite&&1<this._siblings[a].length&&F(b,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=z(a,this,!1),1===this._overwrite&&1<this._siblings.length&&F(a,this,null,1,this._siblings);(this.vars.immediateRender||0===c&&0===this._delay&&!1!==this.vars.immediateRender)&&this.render(-this._delay,!1,!0)},!0);d=h.prototype=new q;d.constructor=h;d.kill()._gc=!1;d.ratio=0;d._firstPT=d._targets=d._overwrittenProps=null;d._notifyPluginsOfEnabled=!1;h.version=1.651;
h.defaultEase=d._ease=new t(null,null,1,1);h.defaultOverwrite="auto";h.ticker=s;var M=h._plugins={},v=h._tweenLookup={},O=0,P={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,orientToBezier:1,immediateRender:1,repeat:1,
repeatDelay:1,data:1,paused:1,reversed:1},L={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},x=q._rootFramesTimeline=new l,u=q._rootTimeline=new l;u._startTime=s.time;x._startTime=s.frame;u._active=x._active=!0;q._updateRoot=function(){u.render((s.time-u._startTime)*u._timeScale,!1,!1);x.render((s.frame-x._startTime)*x._timeScale,!1,!1);if(!(s.frame%120)){var a,c,b;for(b in v){c=v[b].tweens;for(a=c.length;-1<--a;)c[a]._gc&&c.splice(a,1);0===c.length&&delete v[b]}}};
s.addEventListener("tick",q._updateRoot);var z=function(a,c,b){var d=a._gsTweenID,e;if(!v[d||(a._gsTweenID=d="t"+O++)])v[d]={target:a,tweens:[]};if(c&&(a=v[d].tweens,a[e=a.length]=c,b))for(;-1<--e;)a[e]===c&&a.splice(e,1);return v[d].tweens},F=function(a,c,b,d,e){var g,i,f;if(1===d||4<=d){a=e.length;for(g=0;g<a;g++)if((f=e[g])!==c)f._gc||f._enabled(!1,!1)&&(i=!0);else if(5===d)break;return i}var h=c._startTime+1E-10,n=[],j=0,l=0===c._duration,m;for(g=e.length;-1<--g;)if(!((f=e[g])===c||f._gc||f._paused))f._timeline!==
diff --git a/src/minified/TweenMax.min.js b/src/minified/TweenMax.min.js
index fb0b9c3..95c1005 100755
--- a/src/minified/TweenMax.min.js
+++ b/src/minified/TweenMax.min.js
@@ -1,6 +1,6 @@
/**
- * VERSION: beta 1.65
- * DATE: 2012-11-30
+ * VERSION: beta 1.651
+ * DATE: 2012-12-10
* JavaScript (ActionScript 3 and 2 also available)
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -12,133 +12,133 @@
*
* @author: Jack Doyle, [email protected]
**/
-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(p,t,g){var n=function(E,c,e){g.call(this,E,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},j=n.prototype=g.to({},0.1,{}),d=[];n.version=1.65;j.constructor=n;j.kill()._gc=!1;n.killTweensOf=n.killDelayedCallsTo=g.killTweensOf;n.getTweensOf=g.getTweensOf;n.ticker=g.ticker;
-j.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return g.prototype.invalidate.call(this)};j.updateTo=function(E,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 E)this.vars[a]=E[a];if(this._initted)if(c)this._initted=
-!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&g._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 H;a;)H=a.s+a.c,a.c*=e,a.s=H-a.c,a=a._next}return this};j.render=function(a,c,e){var i=!this._dirty?this._totalDuration:this.totalDuration(),H=this._time,b=this._totalTime,v=this._cycle,h,x;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,x="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)x=
+(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;
+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=
"onReverseComplete",h=this._reversed;0>a?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(e=!0),this._rawPrevTime=a)):this._initted||(e=!0)}else if(this._totalTime=this._time=a,0!==this._repeat&&(a=this._duration+this._repeatDelay,this._cycle=this._totalTime/a>>0,0!==this._cycle&&this._cycle===this._totalTime/a&&this._cycle--,this._time=this._totalTime-this._cycle*a,this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time),this._time>this._duration?this._time=this._duration:
-0>this._time&&(this._time=0)),this._easeType){var a=this._time/this._duration,i=this._easeType,q=this._easePower;if(1===i||3===i&&0.5<=a)a=1-a;3===i&&(a*=2);1===q?a*=a:2===q?a*=a*a:3===q?a*=a*a*a:4===q&&(a*=a*a*a*a);this.ratio=1===i?1-a:2===i?a:0.5>this._time/this._duration?a/2:1-a/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(H===this._time&&!e)b!==this._totalTime&&this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||d));else{this._initted||
+0>this._time&&(this._time=0)),this._easeType){var a=this._time/this._duration,i=this._easeType,p=this._easePower;if(1===i||3===i&&0.5<=a)a=1-a;3===i&&(a*=2);1===p?a*=a:2===p?a*=a*a:3===p?a*=a*a*a:4===p&&(a*=a*a*a*a);this.ratio=1===i?1-a:2===i?a:0.5>this._time/this._duration?a/2:1-a/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(J===this._time&&!e)b!==this._totalTime&&this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||d));else{this._initted||
(this._init(),!h&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===b&&this.vars.onStart&&(0!==this._totalTime||0===this._duration))c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||d);for(e=this._firstPT;e;){if(e.f)e.t[e.p](e.c*this.ratio+e.s);else e.t[e.p]=e.c*this.ratio+e.s;e=e._next}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||d));this._cycle!==
-v&&(c||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||d));x&&!this._gc&&(h&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),c||this.vars[x]&&this.vars[x].apply(this.vars[x+"Scope"]||this,this.vars[x+"Params"]||d))}};n.to=function(a,c,e){return new n(a,c,e)};n.from=function(a,c,e){e.runBackwards=!0;!1!==e.immediateRender&&(e.immediateRender=!0);return new n(a,c,e)};n.fromTo=function(a,c,e,i){i.startAt=e;e.immediateRender&&
-(i.immediateRender=!0);return new n(a,c,i)};n.staggerTo=n.allTo=function(a,c,e,i,H,b,d){var i=i||0,h=[],v=a.length,q=e.delay||0,B,s,g;for(s=0;s<v;s++){B={};for(g in e)B[g]=e[g];B.delay=q;s===v-1&&H&&(B.onComplete=function(){e.onComplete&&e.onComplete.apply(e.onCompleteScope,e.onCompleteParams);H.apply(d,b)});h[s]=new n(a[s],c,B);q+=i}return h};n.staggerFrom=n.allFrom=function(a,c,e,i,b,d,v){e.runBackwards=!0;!1!==e.immediateRender&&(e.immediateRender=!0);return n.staggerTo(a,c,e,i,b,d,v)};n.staggerFromTo=
-n.allFromTo=function(a,c,e,i,b,d,v,h){i.startAt=e;e.immediateRender&&(i.immediateRender=!0);return n.staggerTo(a,c,i,b,d,v,h)};n.delayedCall=function(a,c,e,i,b){return new n(c,0,{delay:a,onComplete:c,onCompleteParams:e,onCompleteScope:i,onReverseComplete:c,onReverseCompleteParams:e,onReverseCompleteScope:i,immediateRender:!1,useFrames:b,overwrite:0})};n.set=function(a,c){return new n(a,0,c)};n.isTweening=function(a){for(var a=g.getTweensOf(a),c=a.length,e;-1<--c;)if((e=a[c])._active||e._startTime===
-e.timeline._time&&e.timeline._active)return!0;return!1};var v=function(a,c){for(var e=[],i=0,b=a._first;b;)b instanceof g?e[i++]=b:(c&&(e[i++]=b),e=e.concat(v(b,c)),i=e.length),b=b._next;return e},b=n.getAllTweens=function(a){return v(p._rootTimeline,a).concat(v(p._rootFramesTimeline,a))};n.killAll=function(a,c,e,i){null==c&&(c=!0);null==e&&(e=!0);var H=b(!1!=i),d=H.length,i=c&&e&&i,v,h,x;for(x=0;x<d;x++)if(h=H[x],i||h instanceof t||(v=h.target===h.vars.onComplete)&&e||c&&!v)a?h.totalTime(h.totalDuration()):
-h._enabled(!1,!1)};n.killChildTweensOf=function(a,c){if(null!=a)if(a.jquery)a.each(function(a,e){n.killChildTweensOf(e,c)});else{var e=g._tweenLookup,i=[],b,d;for(d in e)for(b=e[d].target.parentNode;b;)b===a&&(i=i.concat(e[d].tweens)),b=b.parentNode;b=i.length;for(e=0;e<b;e++)c&&i[e].totalTime(i[e].totalDuration()),i[e]._enabled(!1,!1)}};n.pauseAll=function(E,c,e){a(!0,E,c,e)};n.resumeAll=function(E,c,e){a(!1,E,c,e)};var a=function(a,c,e,i){void 0==c&&(c=!0);void 0==e&&(e=!0);for(var d=b(i),i=c&&
-e&&i,v=d.length,g,h;-1<--v;)h=d[v],(i||h instanceof t||(g=h.target===h.vars.onComplete)&&e||c&&!g)&&h.paused(a)};j.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),!1)};j.totalProgress=function(a){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*a,!1)};j.time=function(a,c){if(!arguments.length)return this._time;
-this._dirty&&this.totalDuration();a>this._duration&&(a=this._duration);this._yoyo&&0!==(this._cycle&1)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!=this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(a,c)};j.totalDuration=function(a){return!arguments.length?(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration):-1===this._repeat?
-this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1))};j.repeat=function(a){if(!arguments.length)return this._repeat;this._repeat=a;return this._uncache(!0)};j.repeatDelay=function(a){if(!arguments.length)return this._repeatDelay;this._repeatDelay=a;return this._uncache(!0)};j.yoyo=function(a){if(!arguments.length)return this._yoyo;this._yoyo=a;return this};return n},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(p,t,g){var n=function(a){t.call(this,
-a);this._labels={};this.autoRemoveChildren=!0===this.vars.autoRemoveChildren;this.smoothChildTiming=!0===this.vars.smoothChildTiming;this._sortChildren=!0;this._onUpdate=this.vars.onUpdate;for(var a=j.length,b,c;-1<--a;)if(c=this.vars[j[a]])for(b=c.length;-1<--b;)"{self}"===c[b]&&(c=this.vars[j[a]]=c.concat(),c[b]=this);this.vars.tweens instanceof Array&&this.insertMultiple(this.vars.tweens,0,this.vars.align||"normal",this.vars.stagger||0)},j=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams",
-"onRepeatParams"],d=[],v=function(a){var b={},c;for(c in a)b[c]=a[c];return b},b=n.prototype=new t;n.version=1.641;b.constructor=n;b.kill()._gc=!1;b.to=function(a,b,c,e,i){return this.insert(new g(a,b,c),this._parseTimeOrLabel(i,e,!0))};b.from=function(a,b,c,e,i){return this.insert(g.from(a,b,c),this._parseTimeOrLabel(i,e,!0))};b.fromTo=function(a,b,c,e,i,d){return this.insert(g.fromTo(a,b,c,e),this._parseTimeOrLabel(d,i,!0))};b.staggerTo=function(a,b,c,e,i,d,j,F,h){j=new n({onComplete:j,onCompleteParams:F,
-onCompleteScope:h});e=e||0;for(F=0;F<a.length;F++)null!=c.startAt&&(c.startAt=v(c.startAt)),j.insert(new g(a[F],b,v(c)),F*e);return this.insert(j,this._parseTimeOrLabel(d,i,!0))};b.staggerFrom=function(a,b,c,e,i,d,v,g,h){null==c.immediateRender&&(c.immediateRender=!0);c.runBackwards=!0;return this.staggerTo(a,b,c,e,i,d,v,g,h)};b.staggerFromTo=function(a,b,c,e,i,d,v,g,h,x){e.startAt=c;c.immediateRender&&(e.immediateRender=!0);return this.staggerTo(a,b,e,i,d,v,g,h,x)};b.call=function(a,b,c,e,i){return this.insert(g.delayedCall(0,
-a,b,c),this._parseTimeOrLabel(i,e,!0))};b.set=function(a,b,c,e){b.immediateRender=!1;return this.insert(new g(a,0,b),this._parseTimeOrLabel(e,c,!0))};n.exportRoot=function(a,b){a=a||{};null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var c=new n(a),e=c._timeline;null==b&&(b=!0);e._remove(c,!0);c._startTime=0;c._rawPrevTime=c._time=c._totalTime=e._time;for(var i=e._first,d;i;)d=i._next,(!b||!(i instanceof g&&i.target===i.vars.onComplete))&&c.insert(i,i._startTime-i._delay),i=d;e.insert(c,0);return c};
-b.insert=function(a,b){if(!(a instanceof p)){if(a instanceof Array)return this.insertMultiple(a,b);if("string"===typeof a)return this.addLabel(a,this._parseTimeOrLabel(b||0,0,!0));if("function"===typeof a)a=g.delayedCall(0,a);else throw"ERROR: Cannot insert() "+a+" into the TimelineLite/Max because it is neither a tween, timeline, function, nor a String.";}t.prototype.insert.call(this,a,this._parseTimeOrLabel(b||0,0,!0));if(this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(var c=
-this;c._gc&&c._timeline;)c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._enabled(!0,!1),c=c._timeline;return this};b.remove=function(a){if(a instanceof p)return this._remove(a,!1);if(a instanceof Array){for(var b=a.length;-1<--b;)this.remove(a[b]);return this}return"string"===typeof a?this.removeLabel(a):this.kill(null,a)};b.append=function(a,b){return this.insert(a,this._parseTimeOrLabel(null,b,!0))};b.insertMultiple=function(a,b,c,e){for(var c=c||"normal",e=e||0,i,d=this._parseTimeOrLabel(b||
-0,0,!0),v=a.length,b=0;b<v;b++){if((i=a[b])instanceof Array)i=new n({tweens:i});this.insert(i,d);"string"===typeof i||"function"===typeof i||("sequence"===c?d=i._startTime+i.totalDuration()/i._timeScale:"start"===c&&(i._startTime-=i.delay()));d+=e}return this._uncache(!0)};b.appendMultiple=function(a,b,c,e){return this.insertMultiple(a,this._parseTimeOrLabel(null,b,!0),c,e)};b.addLabel=function(a,b){this._labels[a]=b;return this};b.removeLabel=function(a){delete this._labels[a];return this};b.getLabelTime=
+v&&(c||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||d));w&&!this._gc&&(h&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),c||this.vars[w]&&this.vars[w].apply(this.vars[w+"Scope"]||this,this.vars[w+"Params"]||d))}};l.to=function(a,c,e){return new l(a,c,e)};l.from=function(a,c,e){e.runBackwards=!0;!1!==e.immediateRender&&(e.immediateRender=!0);return new l(a,c,e)};l.fromTo=function(a,c,e,i){i.startAt=e;e.immediateRender&&
+(i.immediateRender=!0);return new l(a,c,i)};l.staggerTo=l.allTo=function(a,c,e,i,b,d,v){var i=i||0,h=[],w=a.length,p=e.delay||0,C,r,f;for(r=0;r<w;r++){C={};for(f in e)C[f]=e[f];C.delay=p;r===w-1&&b&&(C.onComplete=function(){e.onComplete&&e.onComplete.apply(e.onCompleteScope,e.onCompleteParams);b.apply(v,d)});h[r]=new l(a[r],c,C);p+=i}return h};l.staggerFrom=l.allFrom=function(a,c,e,i,b,d,v){e.runBackwards=!0;!1!==e.immediateRender&&(e.immediateRender=!0);return l.staggerTo(a,c,e,i,b,d,v)};l.staggerFromTo=
+l.allFromTo=function(a,c,e,i,b,d,v,h){i.startAt=e;e.immediateRender&&(i.immediateRender=!0);return l.staggerTo(a,c,i,b,d,v,h)};l.delayedCall=function(a,c,e,i,b){return new l(c,0,{delay:a,onComplete:c,onCompleteParams:e,onCompleteScope:i,onReverseComplete:c,onReverseCompleteParams:e,onReverseCompleteScope:i,immediateRender:!1,useFrames:b,overwrite:0})};l.set=function(a,c){return new l(a,0,c)};l.isTweening=function(a){for(var a=f.getTweensOf(a),c=a.length,e;-1<--c;)if((e=a[c])._active||e._startTime===
+e.timeline._time&&e.timeline._active)return!0;return!1};var v=function(a,c){for(var e=[],i=0,b=a._first;b;)b instanceof f?e[i++]=b:(c&&(e[i++]=b),e=e.concat(v(b,c)),i=e.length),b=b._next;return e},b=l.getAllTweens=function(a){return v(n._rootTimeline,a).concat(v(n._rootFramesTimeline,a))};l.killAll=function(a,c,e,i){null==c&&(c=!0);null==e&&(e=!0);var d=b(!1!=i),v=d.length,i=c&&e&&i,f,h,w;for(w=0;w<v;w++)if(h=d[w],i||h instanceof s||(f=h.target===h.vars.onComplete)&&e||c&&!f)a?h.totalTime(h.totalDuration()):
+h._enabled(!1,!1)};l.killChildTweensOf=function(a,c){if(null!=a)if(a.jquery)a.each(function(a,e){l.killChildTweensOf(e,c)});else{var e=f._tweenLookup,i=[],b,d;for(d in e)for(b=e[d].target.parentNode;b;)b===a&&(i=i.concat(e[d].tweens)),b=b.parentNode;b=i.length;for(e=0;e<b;e++)c&&i[e].totalTime(i[e].totalDuration()),i[e]._enabled(!1,!1)}};l.pauseAll=function(F,c,e){a(!0,F,c,e)};l.resumeAll=function(F,c,e){a(!1,F,c,e)};var a=function(a,c,e,i){void 0==c&&(c=!0);void 0==e&&(e=!0);for(var d=b(i),i=c&&
+e&&i,v=d.length,f,h;-1<--v;)h=d[v],(i||h instanceof s||(f=h.target===h.vars.onComplete)&&e||c&&!f)&&h.paused(a)};k.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),!1)};k.totalProgress=function(a){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*a,!1)};k.time=function(a,c){if(!arguments.length)return this._time;
+this._dirty&&this.totalDuration();a>this._duration&&(a=this._duration);this._yoyo&&0!==(this._cycle&1)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!=this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(a,c)};k.totalDuration=function(a){return!arguments.length?(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration):-1===this._repeat?
+this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1))};k.repeat=function(a){if(!arguments.length)return this._repeat;this._repeat=a;return this._uncache(!0)};k.repeatDelay=function(a){if(!arguments.length)return this._repeatDelay;this._repeatDelay=a;return this._uncache(!0)};k.yoyo=function(a){if(!arguments.length)return this._yoyo;this._yoyo=a;return this};return l},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(n,s,f){var l=function(a){s.call(this,
+a);this._labels={};this.autoRemoveChildren=!0===this.vars.autoRemoveChildren;this.smoothChildTiming=!0===this.vars.smoothChildTiming;this._sortChildren=!0;this._onUpdate=this.vars.onUpdate;for(var a=k.length,b,c;-1<--a;)if(c=this.vars[k[a]])for(b=c.length;-1<--b;)"{self}"===c[b]&&(c=this.vars[k[a]]=c.concat(),c[b]=this);this.vars.tweens instanceof Array&&this.insertMultiple(this.vars.tweens,0,this.vars.align||"normal",this.vars.stagger||0)},k=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams",
+"onRepeatParams"],d=[],v=function(a){var b={},c;for(c in a)b[c]=a[c];return b},b=l.prototype=new s;l.version=1.641;b.constructor=l;b.kill()._gc=!1;b.to=function(a,b,c,e,i){return this.insert(new f(a,b,c),this._parseTimeOrLabel(i,e,!0))};b.from=function(a,b,c,e,i){return this.insert(f.from(a,b,c),this._parseTimeOrLabel(i,e,!0))};b.fromTo=function(a,b,c,e,i,d){return this.insert(f.fromTo(a,b,c,e),this._parseTimeOrLabel(d,i,!0))};b.staggerTo=function(a,b,c,e,i,d,k,G,h){k=new l({onComplete:k,onCompleteParams:G,
+onCompleteScope:h});e=e||0;for(G=0;G<a.length;G++)null!=c.startAt&&(c.startAt=v(c.startAt)),k.insert(new f(a[G],b,v(c)),G*e);return this.insert(k,this._parseTimeOrLabel(d,i,!0))};b.staggerFrom=function(a,b,c,e,i,d,v,f,h){null==c.immediateRender&&(c.immediateRender=!0);c.runBackwards=!0;return this.staggerTo(a,b,c,e,i,d,v,f,h)};b.staggerFromTo=function(a,b,c,e,i,d,v,f,h,w){e.startAt=c;c.immediateRender&&(e.immediateRender=!0);return this.staggerTo(a,b,e,i,d,v,f,h,w)};b.call=function(a,b,c,e,i){return this.insert(f.delayedCall(0,
+a,b,c),this._parseTimeOrLabel(i,e,!0))};b.set=function(a,b,c,e){b.immediateRender=!1;return this.insert(new f(a,0,b),this._parseTimeOrLabel(e,c,!0))};l.exportRoot=function(a,b){a=a||{};null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var c=new l(a),e=c._timeline;null==b&&(b=!0);e._remove(c,!0);c._startTime=0;c._rawPrevTime=c._time=c._totalTime=e._time;for(var i=e._first,d;i;)d=i._next,(!b||!(i instanceof f&&i.target===i.vars.onComplete))&&c.insert(i,i._startTime-i._delay),i=d;e.insert(c,0);return c};
+b.insert=function(a,b){if(!(a instanceof n)){if(a instanceof Array)return this.insertMultiple(a,b);if("string"===typeof a)return this.addLabel(a,this._parseTimeOrLabel(b||0,0,!0));if("function"===typeof a)a=f.delayedCall(0,a);else throw"ERROR: Cannot insert() "+a+" into the TimelineLite/Max because it is neither a tween, timeline, function, nor a String.";}s.prototype.insert.call(this,a,this._parseTimeOrLabel(b||0,0,!0));if(this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(var c=
+this;c._gc&&c._timeline;)c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._enabled(!0,!1),c=c._timeline;return this};b.remove=function(a){if(a instanceof n)return this._remove(a,!1);if(a instanceof Array){for(var b=a.length;-1<--b;)this.remove(a[b]);return this}return"string"===typeof a?this.removeLabel(a):this.kill(null,a)};b.append=function(a,b){return this.insert(a,this._parseTimeOrLabel(null,b,!0))};b.insertMultiple=function(a,b,c,e){for(var c=c||"normal",e=e||0,i,d=this._parseTimeOrLabel(b||
+0,0,!0),v=a.length,b=0;b<v;b++){if((i=a[b])instanceof Array)i=new l({tweens:i});this.insert(i,d);"string"===typeof i||"function"===typeof i||("sequence"===c?d=i._startTime+i.totalDuration()/i._timeScale:"start"===c&&(i._startTime-=i.delay()));d+=e}return this._uncache(!0)};b.appendMultiple=function(a,b,c,e){return this.insertMultiple(a,this._parseTimeOrLabel(null,b,!0),c,e)};b.addLabel=function(a,b){this._labels[a]=b;return this};b.removeLabel=function(a){delete this._labels[a];return this};b.getLabelTime=
function(a){return null!=this._labels[a]?this._labels[a]:-1};b._parseTimeOrLabel=function(a,b,c){if("string"===typeof b)return this._parseTimeOrLabel(b,c&&"number"===typeof a&&null==this._labels[b]?a-this.duration():0,c);b=b||0;return null==a?this.duration()+b:"string"===typeof a&&isNaN(a)?null==this._labels[a]?c?this._labels[a]=this.duration()+b:b:this._labels[a]+b:Number(a)+b};b.seek=function(a,b){return this.totalTime(this._parseTimeOrLabel(a),!1!=b)};b.stop=function(){return this.paused(!0)};
-b.gotoAndPlay=function(a,b){return t.prototype.play.call(this,a,b)};b.gotoAndStop=function(a,b){return this.pause(a,b)};b.render=function(a,b,c){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var e=!this._dirty?this._totalDuration:this.totalDuration(),i=this._time,v=this._startTime,g=this._timeScale,n=this._paused,h,x,q;if(a>=e){this._totalTime=this._time=e;if(!this._reversed&&!this._hasPausedChild()&&(h=!0,q="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime)))this._rawPrevTime!==
-a&&(c=!0);this._rawPrevTime=a;a=e+1E-6}else if(0>=a){this._totalTime=this._time=0;if(0!==i||0===this._duration&&0<this._rawPrevTime)q="onReverseComplete",h=this._reversed;0>a?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(c=!0)):this._initted||(c=!0);this._rawPrevTime=a;a=-1E-6}else this._totalTime=this._time=this._rawPrevTime=a;if(this._time!==i||c){this._initted||(this._initted=!0);0===i&&this.vars.onStart&&0!==this._time&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||
-d));if(this._time>i)for(c=this._first;c;){x=c._next;if(this._paused&&!n)break;else if(c._active||c._startTime<=this._time&&!c._paused&&!c._gc)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=x}else for(c=this._last;c;){x=c._prev;if(this._paused&&!n)break;else if(c._active||c._startTime<=i&&!c._paused&&!c._gc)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,
-b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=x}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||d));if(q&&!this._gc&&(v===this._startTime||g!=this._timeScale))if(0===this._time||e>=this.totalDuration())h&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[q]&&this.vars[q].apply(this.vars[q+"Scope"]||this,this.vars[q+"Params"]||d)}};b._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof
-n&&a._hasPausedChild())return!0;a=a._next}return!1};b.getChildren=function(a,b,c,e){for(var e=e||-9999999999,i=[],d=this._first,v=0;d;)d._startTime<e||(d instanceof g?!1!=b&&(i[v++]=d):(!1!=c&&(i[v++]=d),!1!=a&&(i=i.concat(d.getChildren(!0,b,c)),v=i.length))),d=d._next;return i};b.getTweensOf=function(a,b){for(var c=g.getTweensOf(a),e=c.length,i=[],d=0;-1<--e;)if(c[e].timeline===this||b&&this._contains(c[e]))i[d++]=c[e];return i};b._contains=function(a){for(a=a.timeline;a;){if(a===this)return!0;a=
+b.gotoAndPlay=function(a,b){return s.prototype.play.call(this,a,b)};b.gotoAndStop=function(a,b){return this.pause(a,b)};b.render=function(a,b,c){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var e=!this._dirty?this._totalDuration:this.totalDuration(),i=this._time,v=this._startTime,f=this._timeScale,l=this._paused,h,w,p;if(a>=e){this._totalTime=this._time=e;if(!this._reversed&&!this._hasPausedChild()&&(h=!0,p="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime)))this._rawPrevTime!==
+a&&(c=!0);this._rawPrevTime=a;a=e+1E-6}else if(0>=a){this._totalTime=this._time=0;if(0!==i||0===this._duration&&0<this._rawPrevTime)p="onReverseComplete",h=this._reversed;0>a?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(c=!0)):this._initted||(c=!0);this._rawPrevTime=a;a=-1E-6}else this._totalTime=this._time=this._rawPrevTime=a;if(this._time!==i||c){this._initted||(this._initted=!0);0===i&&this.vars.onStart&&0!==this._time&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||
+d));if(this._time>i)for(c=this._first;c;){w=c._next;if(this._paused&&!l)break;else if(c._active||c._startTime<=this._time&&!c._paused&&!c._gc)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=w}else for(c=this._last;c;){w=c._prev;if(this._paused&&!l)break;else if(c._active||c._startTime<=i&&!c._paused&&!c._gc)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,
+b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=w}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||d));if(p&&!this._gc&&(v===this._startTime||f!=this._timeScale))if(0===this._time||e>=this.totalDuration())h&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[p]&&this.vars[p].apply(this.vars[p+"Scope"]||this,this.vars[p+"Params"]||d)}};b._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof
+l&&a._hasPausedChild())return!0;a=a._next}return!1};b.getChildren=function(a,b,c,e){for(var e=e||-9999999999,i=[],d=this._first,v=0;d;)d._startTime<e||(d instanceof f?!1!=b&&(i[v++]=d):(!1!=c&&(i[v++]=d),!1!=a&&(i=i.concat(d.getChildren(!0,b,c)),v=i.length))),d=d._next;return i};b.getTweensOf=function(a,b){for(var c=f.getTweensOf(a),e=c.length,i=[],d=0;-1<--e;)if(c[e].timeline===this||b&&this._contains(c[e]))i[d++]=c[e];return i};b._contains=function(a){for(a=a.timeline;a;){if(a===this)return!0;a=
a.timeline}return!1};b.shiftChildren=function(a,b,c){for(var c=c||0,e=this._first;e;)e._startTime>=c&&(e._startTime+=a),e=e._next;if(b)for(var i in this._labels)this._labels[i]>=c&&(this._labels[i]+=a);return this._uncache(!0)};b._kill=function(a,b){if(null==a&&null==b)return this._enabled(!1,!1);for(var c=null==b?this.getChildren(!0,!0,!1):this.getTweensOf(b),e=c.length,i=!1;-1<--e;)c[e]._kill(a,b)&&(i=!0);return i};b.clear=function(a){var b=this.getChildren(!1,!0,!0),c=b.length;for(this._time=this._totalTime=
-0;-1<--c;)b[c]._enabled(!1,!1);!1!=a&&(this._labels={});return this._uncache(!0)};b.invalidate=function(){for(var a=this._first;a;)a.invalidate(),a=a._next;return this};b._enabled=function(a,b){if(a===this._gc)for(var c=this._first;c;)c._enabled(a,!0),c=c._next;return t.prototype._enabled.call(this,a,b)};b.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*a,!1)};b.duration=function(a){if(!arguments.length)return this._dirty&&this.totalDuration(),
+0;-1<--c;)b[c]._enabled(!1,!1);!1!=a&&(this._labels={});return this._uncache(!0)};b.invalidate=function(){for(var a=this._first;a;)a.invalidate(),a=a._next;return this};b._enabled=function(a,b){if(a===this._gc)for(var c=this._first;c;)c._enabled(a,!0),c=c._next;return s.prototype._enabled.call(this,a,b)};b.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*a,!1)};b.duration=function(a){if(!arguments.length)return this._dirty&&this.totalDuration(),
this._duration;0!==this.duration()&&0!==a&&this.timeScale(this._duration/a);return this};b.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var b=0,c=this._first,e=-999999999999,i;c;)i=c._next,c._startTime<e&&this._sortChildren?this.insert(c,c._startTime-c._delay):e=c._startTime,0>c._startTime&&(b-=c._startTime,this.shiftChildren(-c._startTime,!1,-9999999999)),c=c._startTime+(!c._dirty?c._totalDuration:c.totalDuration())/c._timeScale,c>b&&(b=c),c=i;this._duration=this._totalDuration=
-b;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a);return this};b.usesFrames=function(){for(var a=this._timeline;a._timeline;)a=a._timeline;return a===p._rootFramesTimeline};b.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return n},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(p,
-t,g){var n=function(d){p.call(this,d);this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._cycle=0;this._yoyo=!0==this.vars.yoyo;this._dirty=!0},j=[],d=new g(null,null,1,0),g=n.prototype=new p;g.constructor=n;g.kill()._gc=!1;n.version=1.641;g.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return p.prototype.invalidate.call(this)};g.addCallback=function(d,b,a,g){return this.insert(t.delayedCall(0,
-d,a,g),b)};g.removeCallback=function(d,b){if(null==b)this._kill(null,d);else for(var a=this.getTweensOf(d,!1),g=a.length,c=this._parseTimeOrLabel(b);-1<--g;)a[g]._startTime===c&&a[g]._enabled(!1,!1);return this};g.tweenTo=function(v,b){var b=b||{},a={ease:d,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1},g,c;for(g in b)a[g]=b[g];a.time=this._parseTimeOrLabel(v);c=new t(this,Math.abs(Number(a.time)-this._time)/this._timeScale||0.001,a);a.onStart=function(){c.target.paused(!0);c.vars.time!==
-c.target.time()&&c.duration(Math.abs(c.vars.time-c.target.time())/c.target._timeScale);b.onStart&&b.onStart.apply(b.onStartScope||c,b.onStartParams||j)};return c};g.tweenFromTo=function(d,b,a){a=a||{};a.startAt={time:this._parseTimeOrLabel(d)};d=this.tweenTo(b,a);return d.duration(Math.abs(d.vars.time-d.vars.startAt.time)/this._timeScale||0.001)};g.render=function(d,b,a){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var g=!this._dirty?this._totalDuration:this.totalDuration(),c=this._time,
-e=this._totalTime,i=this._startTime,n=this._timeScale,t=this._rawPrevTime,F=this._paused,h=this._cycle,x,q;if(d>=g){this._locked||(this._totalTime=g,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(x=!0,q="onComplete",0===this._duration&&(0===d||0>this._rawPrevTime)))this._rawPrevTime!==d&&(a=!0);this._rawPrevTime=d;this._yoyo&&0!==(this._cycle&1)?(this._time=0,d=-1E-6):(this._time=this._duration,d=this._duration+1E-6)}else if(0>=d){this._locked||(this._totalTime=this._cycle=
-0);this._time=0;if(0!==c||0===this._duration&&0<this._rawPrevTime&&!this._locked)q="onReverseComplete",x=this._reversed;0>d?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(a=!0)):this._initted||(a=!0);this._rawPrevTime=d;d=0===this._duration?0:-1E-6}else if(this._time=this._rawPrevTime=d,!this._locked&&(this._totalTime=d,0!==this._repeat)){var B=this._duration+this._repeatDelay;this._cycle=this._totalTime/B>>0;0!==this._cycle&&this._cycle===this._totalTime/B&&this._cycle--;this._time=
-this._totalTime-this._cycle*B;this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time);this._time>this._duration?(this._time=this._duration,d=this._duration+1E-6):0>this._time?this._time=d=0:d=this._time}if(this._cycle!==h&&!this._locked){var B=this._yoyo&&0!==(h&1),s=B===(this._yoyo&&0!==(this._cycle&1)),O=this._totalTime,I=this._cycle,D=this._rawPrevTime,y=this._time;this._totalTime=h*this._duration;this._cycle<h?B=!B:this._totalTime+=this._duration;this._time=c;this._rawPrevTime=
-0===this._duration?t-1E-5:t;this._cycle=h;this._locked=!0;c=B?0:this._duration;this.render(c,b,0===this._duration);b||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||j);s&&(c=B?this._duration+1E-6:-1E-6,this.render(c,!0,!1));this._time=y;this._totalTime=O;this._cycle=I;this._rawPrevTime=D;this._locked=!1}if(this._time===c&&!a)e!==this._totalTime&&this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||
-j));else{this._initted||(this._initted=!0);0===e&&this.vars.onStart&&0!==this._totalTime&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||j));if(this._time>c)for(a=this._first;a;){e=a._next;if(this._paused&&!F)break;else if(a._active||a._startTime<=this._time&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(d-a._startTime)*a._timeScale,b,!1):a.render((d-a._startTime)*a._timeScale,b,!1);a=e}else for(a=this._last;a;){e=a._prev;
-if(this._paused&&!F)break;else if(a._active||a._startTime<=c&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(d-a._startTime)*a._timeScale,b,!1):a.render((d-a._startTime)*a._timeScale,b,!1);a=e}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||j));if(q&&!this._locked&&!this._gc&&(i===this._startTime||n!==this._timeScale))if(0===this._time||g>=this.totalDuration())x&&(this._timeline.autoRemoveChildren&&this._enabled(!1,
-!1),this._active=!1),b||this.vars[q]&&this.vars[q].apply(this.vars[q+"Scope"]||this,this.vars[q+"Params"]||j)}};g.getActive=function(d,b,a){null==d&&(d=!0);null==b&&(b=!0);null==a&&(a=!1);var g=[],d=this.getChildren(d,b,a),b=0,a=d.length,c,e;for(c=0;c<a;c++)if(e=d[c],!e._paused&&e._timeline._time>=e._startTime&&e._timeline._time<e._startTime+e._totalDuration/e._timeScale){var i;a:{for(i=e._timeline;i;){if(i._paused){i=!0;break a}i=i._timeline}i=!1}i||(g[b++]=e)}return g};g.getLabelAfter=function(d){!d&&
-0!==d&&(d=this._time);var b=this.getLabelsArray(),a=b.length,g;for(g=0;g<a;g++)if(b[g].time>d)return b[g].name;return null};g.getLabelBefore=function(d){null==d&&(d=this._time);for(var b=this.getLabelsArray(),a=b.length;-1<--a;)if(b[a].time<d)return b[a].name;return null};g.getLabelsArray=function(){var d=[],b=0,a;for(a in this._labels)d[b++]={time:this._labels[a],name:a};d.sort(function(a,b){return a.time-b.time});return d};g.progress=function(d){return!arguments.length?this._time/this.duration():
-this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-d:d)+this._cycle*(this._duration+this._repeatDelay),!1)};g.totalProgress=function(d){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*d,!1)};g.totalDuration=function(d){return!arguments.length?(this._dirty&&(p.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration):-1===this._repeat?
-this:this.duration((d-this._repeat*this._repeatDelay)/(this._repeat+1))};g.time=function(d,b){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();d>this._duration&&(d=this._duration);this._yoyo&&0!==(this._cycle&1)?d=this._duration-d+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(d+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(d,b)};g.repeat=function(d){if(!arguments.length)return this._repeat;this._repeat=d;return this._uncache(!0)};
-g.repeatDelay=function(d){if(!arguments.length)return this._repeatDelay;this._repeatDelay=d;return this._uncache(!0)};g.yoyo=function(d){if(!arguments.length)return this._yoyo;this._yoyo=d;return this};g.currentLabel=function(d){return!arguments.length?this.getLabelBefore(this._time+1E-8):this.seek(d,!0)};return n},!0);_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(p){var t=function(){p.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},g=t.prototype=
-new p("bezier",1),n=180/Math.PI,j=[],d=[],v=[],b={},a=function(a,b,c,d){this.a=a;this.b=b;this.c=c;this.d=d;this.da=d-a;this.ca=c-a;this.ba=b-a},E=t.bezierThrough=function(e,i,g,n,F,h){var x={},q=[],B,s,t,F="string"===typeof F?","+F+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";null==i&&(i=1);for(s in e[0])q.push(s);j.length=d.length=v.length=0;for(B=q.length;-1<--B;){s=q[B];
-b[s]=-1!==F.indexOf(","+s+",");t=x;var I=s,D;D=e;var y=s,k=b[s],A=h,r=[],C=void 0,u=void 0,p=void 0,E=void 0,f=void 0,C=void 0;if(A){D=[A].concat(D);for(u=D.length;-1<--u;)if("string"===typeof(C=D[u][y]))"="===C.charAt(1)&&(D[u][y]=A[y]+Number(C.charAt(0)+C.substr(2)))}C=D.length-2;if(0>C)r[0]=new a(D[0][y],0,0,D[-1>C?0:1][y]);else{for(u=0;u<C;u++)p=D[u][y],E=D[u+1][y],r[u]=new a(p,0,0,E),k&&(f=D[u+2][y],j[u]=(j[u]||0)+(E-p)*(E-p),d[u]=(d[u]||0)+(f-E)*(f-E));r[u]=new a(D[u][y],0,0,D[u+1][y])}D=r;
-t[I]=D}for(B=j.length;-1<--B;)j[B]=Math.sqrt(j[B]),d[B]=Math.sqrt(d[B]);if(!n){for(B=q.length;-1<--B;)if(b[s]){e=x[q[B]];t=e.length-1;for(F=0;F<t;F++)h=e[F+1].da/d[F]+e[F].da/j[F],v[F]=(v[F]||0)+h*h}for(B=v.length;-1<--B;)v[B]=Math.sqrt(v[B])}for(B=q.length;-1<--B;){s=q[B];e=x[s];F=i;h=g;t=n;s=b[s];I=e.length-1;D=0;for(var y=e[0].a,l=f=E=A=C=E=p=C=u=p=r=A=k=void 0,k=0;k<I;k++)u=e[D],A=u.a,r=u.d,p=e[D+1].d,s?(E=j[k],f=d[k],l=0.25*(f+E)*F/(t?0.5:v[k]||0.5),C=r-(r-A)*(t?0.5*F:l/E),p=r+(p-r)*(t?0.5*F:
-l/f),E=r-(C+(p-C)*(3*E/(E+f)+0.5)/4)):(C=r-0.5*(r-A)*F,p=r+0.5*(p-r)*F,E=r-(C+p)/2),C+=E,p+=E,u.c=C,u.b=0!==k?y:y=u.a+0.6*(u.c-u.a),u.da=r-A,u.ca=C-A,u.ba=y-A,h?(A=c(A,y,C,r),e.splice(D,1,A[0],A[1],A[2],A[3]),D+=4):D++,y=p;u=e[D];u.b=y;u.c=y+0.4*(u.d-y);u.da=u.d-u.a;u.ca=u.c-u.a;u.ba=y-u.a;h&&(A=c(u.a,y,u.c,u.d),e.splice(D,1,A[0],A[1],A[2],A[3]))}return x},c=t.cubicToQuadratic=function(a,b,c,d){var g={a:a},h={},x={},q={c:d},n=(a+b)/2,s=(b+c)/2,c=(c+d)/2,b=(n+s)/2,s=(s+c)/2,j=(s-b)/8;g.b=n+(a-n)/4;
-h.b=b+j;g.c=h.a=(g.b+h.b)/2;h.c=x.a=(b+s)/2;x.b=s-j;q.b=c+(d-c)/4;x.c=q.a=(x.b+q.b)/2;return[g,h,x,q]};t.quadraticToCubic=function(b,c,d){return new a(b,(2*c+b)/3,(2*c+d)/3,d)};g.constructor=t;t.API=2;t._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,b=a._parseToProxy,c=a._setPluginRatio,d=a._specialProps,g=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,e,q,n,s,j){e instanceof Array&&(e={values:e});var j=new t,q=e.values,p=q.length-
-1,v=[],y={},k,A,r;if(0>p)return s;for(k=0;k<=p;k++)r=b(a,q[k],n,s,j,p!==k),v[k]=r.end;for(A in e)y[A]=e[A];y.values=v;s=new g(a,"bezier",0,0,r.pt,2);s.data=r;s.plugin=j;s.setRatio=c;0===y.autoRotate&&(y.autoRotate=!0);y.autoRotate&&!(y.autoRotate instanceof Array)&&(k=!0===y.autoRotate?0:Number(y.autoRotate)*_DEG2RAD,y.autoRotate=null!=r.end.left?[["left","top","rotation",k,!0]]:null!=r.end.x?[["x","y","rotation",k,!0]]:!1);y.autoRotate&&(n._transform||(s=d.rotation.parse(a,0,A,n,s,j,{})),r.autoRotate=
-n._transform);j._onInitTween(r.proxy,y,n._tween);return s})}};g._onInitTween=function(b,c,d){this._target=b;c instanceof Array&&(c={values:c});this._props=[];this._timeRes=null==c.timeResolution?6:parseInt(c.timeResolution);var g=c.values||[],n={},h=g[0],d=c.autoRotate||d.vars.orientToBezier,x,q,j;this._autoRotate=d?d instanceof Array?d:[["x","y","rotation",!0===d?0:Number(d)||0]]:null;for(x in h)this._props.push(x);for(h=this._props.length;-1<--h;)x=this._props[h],this._overwriteProps.push(x),d=
-this._func[x]="function"===typeof b[x],n[x]=!d?parseFloat(b[x]):b[x.indexOf("set")||"function"!==typeof b["get"+x.substr(3)]?x:"get"+x.substr(3)](),j||n[x]!==g[0][x]&&(j=n);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)n=E(g,isNaN(c.curviness)?1:c.curviness,!1,"thruBasic"===c.type,c.correlate,j);else{d=(d=c.type)||"soft";c={};j="cubic"===d?3:2;var d="soft"===d,h=[],s,t,p,v,y,k,A,r,C;d&&n&&(g=[n].concat(g));if(null==g||g.length<j+1)throw"invalid Bezier data";for(t in g[0])h.push(t);for(k=
-h.length;-1<--k;){t=h[k];c[t]=y=[];C=0;r=g.length;for(A=0;A<r;A++)s=null==n?g[A][t]:"string"===typeof(p=g[A][t])&&"="===p.charAt(1)?n[t]+Number(p.charAt(0)+p.substr(2)):Number(p),d&&1<A&&A<r-1&&(y[C++]=(s+y[C-2])/2),y[C++]=s;r=C-j+1;for(A=C=0;A<r;A+=j)s=y[A],t=y[A+1],p=y[A+2],v=2===j?0:y[A+3],y[C++]=p=3===j?new a(s,t,p,v):new a(s,(2*t+s)/3,(2*t+p)/3,p);y.length=C}n=c}this._beziers=n;this._segCount=this._beziers[x].length;if(this._timeRes){h=this._beziers;x=this._timeRes;x=x>>0||6;n=[];t=[];g=p=0;
-c=x-1;j=[];d=[];for(q in h){s=h[q];y=n;k=x;A=1/k;r=s.length;for(var u=void 0,P=void 0,L=v=C=P=void 0,f=u=void 0,l=void 0,l=L=void 0;-1<--r;){L=s[r];P=L.a;C=L.d-P;v=L.c-P;L=L.b-P;P=0;for(f=1;f<=k;f++)u=A*f,l=1-u,u=P-(P=(u*u*C+3*l*(u*v+l*L))*u),l=r*k+f-1,y[l]=(y[l]||0)+u*u}}h=n.length;for(q=0;q<h;q++)p+=Math.sqrt(n[q]),s=q%x,d[s]=p,s===c&&(g+=p,s=q/x>>0,j[s]=d,t[s]=g,p=0,d=[]);this._length=g;this._lengths=t;this._segments=j;this._l1=this._li=this._s1=this._si=0;this._l2=this._lengths[0];this._curSeg=
-this._segments[0];this._s2=this._curSeg[0];this._prec=1/this._curSeg.length}if(d=this._autoRotate){d[0]instanceof Array||(this._autoRotate=d=[d]);for(h=d.length;-1<--h;)for(q=0;3>q;q++)x=d[h][q],this._func[x]="function"===typeof b[x]?b[x.indexOf("set")||"function"!==typeof b["get"+x.substr(3)]?x:"get"+x.substr(3)]:!1}return!0};g.setRatio=function(a){var c=this._segCount,b=this._func,d=this._target,g,h,j,q,p;if(this._timeRes){g=this._lengths;q=this._curSeg;a*=this._length;h=this._li;if(a>this._l2&&
-h<c-1){for(c-=1;h<c&&(this._l2=g[++h])<=a;);this._l1=g[h-1];this._li=h;this._curSeg=q=this._segments[h];this._s2=q[this._s1=this._si=0]}else if(a<this._l1&&0<h){for(;0<h&&(this._l1=g[--h])>=a;);0===h&&a<this._l1?this._l1=0:h++;this._l2=g[h];this._li=h;this._curSeg=q=this._segments[h];this._s1=q[(this._si=q.length-1)-1]||0;this._s2=q[this._si]}g=h;a-=this._l1;h=this._si;if(a>this._s2&&h<q.length-1){for(c=q.length-1;h<c&&(this._s2=q[++h])<=a;);this._s1=q[h-1];this._si=h}else if(a<this._s1&&0<h){for(;0<
-h&&(this._s1=q[--h])>=a;);0===h&&a<this._s1?this._s1=0:h++;this._s2=q[h];this._si=h}q=(h+(a-this._s1)/(this._s2-this._s1))*this._prec}else g=0>a?0:1<=a?c-1:c*a>>0,q=(a-g*(1/c))*c;c=1-q;for(h=this._props.length;-1<--h;)if(a=this._props[h],j=this._beziers[a][g],p=(q*q*j.da+3*c*(q*j.ca+c*j.ba))*q+j.a,this._round[a]&&(p=p+(0<p?0.5:-0.5)>>0),b[a])d[a](p);else d[a]=p;if(this._autoRotate){var c=this._autoRotate,s,t,v,E,y;for(h=c.length;-1<--h;)a=c[h][2],E=c[h][3]||0,y=!0===c[h][4]?1:n,j=this._beziers[c[h][0]][g],
-p=this._beziers[c[h][1]][g],s=j.a+(j.b-j.a)*q,t=j.b+(j.c-j.b)*q,s+=(t-s)*q,t+=(j.c+(j.d-j.c)*q-t)*q,j=p.a+(p.b-p.a)*q,v=p.b+(p.c-p.b)*q,j+=(v-j)*q,v+=(p.c+(p.d-p.c)*q-v)*q,p=Math.atan2(v-j,t-s)*y+E,b[a]?b[a].call(d,p):d[a]=p}};g._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};g._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 p.prototype._kill.call(this,a)};p.activate([t]);return t},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(p){var t=function(){p.call(this,"css");this._overwriteProps.length=0},g,n,j,d,v={},b=t.prototype=new p("css");b.constructor=t;t.version=1.65;t.API=2;t.defaultTransformPerspective=0;b="px";t.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,E=
-/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,c=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,e=/[^\d\-\.]/g,i=/(?:\d|\-|\+|=|#|\.)*/g,H=/opacity *= *([^)]*)/,X=/opacity:([^;]*)/,F=/([A-Z])/g,h=/-([a-z])/gi,x=function(a,$){return $.toUpperCase()},q=/(?:Left|Right|Width)/i,B=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,s=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,O=Math.PI/180,I=180/Math.PI,D={},y=document,k=y.createElement("div"),A=t._internals={_specialProps:v},r=navigator.userAgent,
-C,u,P,L,f,l,m=r.indexOf("Android"),G=y.createElement("div");L=(P=-1!==r.indexOf("Safari")&&-1===r.indexOf("Chrome")&&(-1===m||3<Number(r.substr(m+8,1))))&&6>Number(r.substr(r.indexOf("Version/")+8,1));/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(r);f=parseFloat(RegExp.$1);G.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";l=(r=G.getElementsByTagName("a")[0])?/^0.55/.test(r.style.opacity):!1;var w=function(a){return H.test("string"===typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/
-100:1},J="",ea="",S=function(a,$){var $=$||k,f=$.style,c,b;if(void 0!==f[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(b=5;-1<--b&&void 0===f[c[b]+a];);return 0<=b?(ea=3===b?"ms":c[b],J="-"+ea.toLowerCase()+"-",ea+a):null},ba=y.defaultView?y.defaultView.getComputedStyle:function(){},M=t.getStyle=function(a,f,c,b,d){var m;if(!l&&"opacity"===f)return w(a);!b&&a.style[f]?m=a.style[f]:(c=c||ba(a,null))?m=(a=c.getPropertyValue(f.replace(F,"-$1").toLowerCase()))||
-c.length?a:c[f]:a.currentStyle&&(c=a.currentStyle,m=c[f],!m&&"backgroundPosition"===f&&(m=c[f+"X"]+" "+c[f+"Y"]));return null!=d&&(!m||"none"===m||"auto"===m||"auto auto"===m)?d:m},ca=function(a,f,c){var b={},d=a._gsOverwrittenClassNamePT,m;if(d&&!c){for(;d;)d.setRatio(0),d=d._next;a._gsOverwrittenClassNamePT=null}if(f=f||ba(a,null))if(m=f.length)for(;-1<--m;)b[f[m].replace(h,x)]=f.getPropertyValue(f[m]);else for(m in f)b[m]=f[m];else if(f=a.currentStyle||a.style)for(m in f)b[m.replace(h,x)]=f[m];
-l||(b.opacity=w(a));a=fa(a,f,!1);b.rotation=a.rotation*I;b.rotationX=a.rotationX*I;b.rotationY=a.rotationY*I;b.skewX=a.skewX*I;b.scaleX=a.scaleX;b.scaleY=a.scaleY;b.scaleZ=a.scaleZ;b.x=a.x;b.y=a.y;b.z=a.z;b.filters&&delete b.filters;return b},ka=function(a,f,c,b){var d={},a=a.style,m,z,l;for(z in c)if("cssText"!==z&&"length"!==z&&isNaN(z)&&f[z]!==(m=c[z]))if(-1===z.indexOf("Origin")&&("number"===typeof m||"string"===typeof m))d[z]=(""===m||"auto"===m||"none"===m)&&"string"===typeof f[z]&&""!==f[z].replace(e,
-"")?0:m,void 0!==a[z]&&(l=new ga(a,z,a[z],l));if(b)for(z in b)"className"!==z&&(d[z]=b[z]);return{difs:d,firstMPT:l}},qa={width:["Left","Right"],height:["Top","Bottom"]},ra=["marginLeft","marginRight","marginTop","marginBottom"],T=function(a,f,c,b,d){if("px"===b||!b)return c;if("auto"===b||!c)return 0;var m=q.test(f),z=a,l=k.style,e=0>c;e&&(c=-c);"%"===b&&-1!==f.indexOf("border")?m=c/100*(m?a.clientWidth:a.clientHeight):(l.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",
-"%"===b||"em"===b||!z.appendChild?(z=a.parentNode||y.body,l[m?"width":"height"]=c+b):l[m?"borderLeftWidth":"borderTopWidth"]=c+b,z.appendChild(k),m=parseFloat(k[m?"offsetWidth":"offsetHeight"]),z.removeChild(k),0===m&&!d&&(m=T(a,f,c,b,!0)));return e?-m:m},ha=function(a,f){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var c=a.split(" "),b=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":c[0],d=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":c[1];null==d?d="0":"center"===
-d&&(d="50%");if("center"===b||isNaN(parseFloat(b)))b="50%";f&&(f.oxp=-1!==b.indexOf("%"),f.oyp=-1!==d.indexOf("%"),f.oxr="="===b.charAt(1),f.oyr="="===d.charAt(1),f.ox=parseFloat(b.replace(e,"")),f.oy=parseFloat(d.replace(e,"")));return b+" "+d+(2<c.length?" "+c[2]:"")},la=function(a,f){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(f)},U=function(a,f){return null==a?f:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+
-"1")*Number(a.substr(2))+f:Number(a)},Y=function(a,f){if(null==a)return f;var c=-1===a.indexOf("rad")?O:1,b="="===a.charAt(1),a=Number(a.replace(e,""))*c;return b?a+f:a},ia=function(a,f){var c=(("number"===typeof a?a*O:Y(a,f))-f)%(2*Math.PI);c!==c%Math.PI&&(c+=Math.PI*(0>c?2:-2));return f+c},Z={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(f){if(!f||""===f)return Z.black;if(Z[f])return Z[f];if("number"===typeof f)return[f>>16,f>>8&255,f&255];if("#"===f.charAt(0)){if(4===f.length)var c=f.charAt(1),b=f.charAt(2),f=f.charAt(3),f="#"+c+c+b+b+f+f;f=parseInt(f.substr(1),16);return[f>>16,f>>8&255,f&255]}f=f.match(a)||Z.transparent;f[0]=Number(f[0]);f[1]=Number(f[1]);f[2]=Number(f[2]);
-3<f.length&&(f[3]=Number(f[3]));return f},V="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(b in Z)V+="|"+b+"\\b";var V=RegExp(V+")","gi"),ma=function(f,b,d){if(null==f)return function(a){return a};var m=b?(f.match(V)||[""])[0]:"",l=f.split(m).join("").match(c)||[],k=f.substr(0,f.indexOf(l[0])),z=")"===f.charAt(f.length-1)?")":"",e=-1!==f.indexOf(" ")?" ":",",g=l.length,aa=0<g?l[0].replace(a,""):"";return b?function(a){"number"===typeof a&&(a+=aa);var f=(a.match(V)||[m])[0],a=a.split(f).join("").match(c)||
-[],b=a.length;if(g>b--)for(;++b<g;)a[b]=d?a[(b-1)/2>>0]:l[b];return k+a.join(e)+e+f+z}:function(a){"number"===typeof a&&(a+=aa);var a=a.match(c)||[],f=a.length;if(g>f--)for(;++f<g;)a[f]=d?a[(f-1)/2>>0]:l[f];return k+a.join(e)+z}},r=function(a){a=a.split(",");return function(f,c,b,d,m,l,k){c=(c+"").split(" ");k={};for(b=0;4>b;b++)k[a[b]]=c[b]=c[b]||c[(b-1)/2>>0];return d.parse(f,k,m,l)}};A._setPluginRatio=function(a){this.plugin.setRatio(a);for(var f=this.data,c=f.proxy,b=f.firstMPT,d;b;)d=c[b.v],
-b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0),b.t[b.p]=d,b=b._next;f.autoRotate&&(f.autoRotate.rotation=c.rotation);if(1===a)for(b=f.firstMPT;b;){a=b.t;if(a.type){if(1===a.type){c=a.xs0+a.s+a.xs1;for(f=1;f<a.l;f++)c+=a["xn"+f]+a["xs"+(f+1)];a.e=c}}else a.e=a.s+a.xs0;b=b._next}};var ga=function(a,f,b,c,d){this.t=a;this.p=f;this.v=b;this.r=d;c&&(c._prev=this,this._next=c)};A._parseToProxy=function(a,f,b,c,d,m){var l=c,k={},e={},g=b._transform,i=D,j;b._transform=null;D=f;c=a=b.parse(a,f,c,d);D=
-i;m&&(b._transform=g,l&&(l._prev=null,l._prev&&(l._prev._next=null)));for(;c&&c!==l;){if(1>=c.type&&(g=c.p,e[g]=c.s+c.c,k[g]=c.s,m||(j=new ga(c,"s",g,j,c.r),c.c=0),1===c.type))for(b=c.l;0<--b;)i="xn"+b,g=c.p+"_"+i,e[g]=c.data[i],k[g]=c[i],m||(j=new ga(c,i,g,j,c.rxp[i]));c=c._next}return{proxy:k,end:e,firstMPT:j,pt:a}};var N=A.CSSPropTween=function(a,f,c,b,m,l,k,e,i,aa,j){this.t=a;this.p=f;this.s=c;this.c=b;this.n=k||"css_"+f;a instanceof N||d.push(this.n);this.r=e;this.type=l||0;i&&(this.pr=i,g=!0);
-this.b=void 0===aa?c:aa;this.e=void 0===j?c+b:j;m&&(this._next=m,m._prev=this)},da=t.parseComplex=function(f,c,b,d,m,k,z,e,g,i){var z=new N(f,c,0,0,z,i?2:1,null,!1,e,b,d),f=b.split(", ").join(",").split(" "),c=(d+"").split(", ").join(",").split(" "),b=f.length,e=!1!==C,j,h,n,G,p;b!==c.length&&(f=(k||"").split(" "),b=f.length);z.plugin=g;z.setRatio=i;for(k=0;k<b;k++)if(g=f[k],j=c[k],(i=parseFloat(g))||0===i)z.appendXtra("",i,la(j,i),j.replace(E,""),e&&-1!==j.indexOf("px"),!0);else if(m&&("#"===g.charAt(0)||
-0===g.indexOf("rgb")||Z[g]))g=ja(g),j=ja(j),(i=6<g.length+j.length)&&!l&&0===j[3]?(z["xs"+z.l]+=z.l?" transparent":"transparent",z.e=z.e.split(c[k]).join("transparent")):(z.appendXtra(i?"rgba(":"rgb(",g[0],j[0]-g[0],",",!0,!0).appendXtra("",g[1],j[1]-g[1],",",!0).appendXtra("",g[2],j[2]-g[2],i?",":")",!0),i&&(g=4>g.length?1:g[3],z.appendXtra("",g,(4>j.length?1:j[3])-g,")",!1)));else if(i=g.match(a)){n=j.match(E);if(!n||n.length!==i.length)return z;for(j=h=0;j<i.length;j++)p=i[j],G=g.indexOf(p,h),
-z.appendXtra(g.substr(h,G-h),Number(p),la(n[j],p),"",e&&"px"===g.substr(G+p.length,2),0===j),h=G+p.length;z["xs"+z.l]+=g.substr(h)}else z["xs"+z.l]+=z.l?" "+g:g;if(-1!==d.indexOf("=")&&z.data){d=z.xs0+z.data.s;for(k=1;k<z.l;k++)d+=z["xs"+k]+z.data["xn"+k];z.e=d+z["xs"+k]}z.l||(z.type=-1,z.xs0=z.e);return z.xfirst||z},Q=9,b=N.prototype;for(b.l=b.pr=0;0<--Q;)b["xn"+Q]=0,b["xs"+Q]="";b.xs0="";b._next=b._prev=b.xfirst=b.data=b.plugin=b.setRatio=b.rxp=null;b.appendXtra=function(a,f,c,b,d,m){var l=this.l;
-this["xs"+l]+=m&&l?" "+a:a||"";if(!c&&0!==l&&!this.plugin)return this["xs"+l]+=f+(b||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=b||"";if(0<l)return this.data["xn"+l]=f+c,this.rxp["xn"+l]=d,this["xn"+l]=f,this.plugin||(this.xfirst=new N(this,"xn"+l,f,c,this.xfirst||this,0,this.n,d,this.pr),this.xfirst.xs0=0),this;this.data={s:f+c};this.rxp={};this.s=f;this.c=c;this.r=d;return this};var na=function(a,f,c,b,d,m,l){this.p=b?S(a)||a:a;v[a]=v[this.p]=this;this.format=m||ma(f,d);c&&
-(this.parse=c);this.clrs=d;this.dflt=f;this.pr=l||0},K=A._registerComplexSpecialProp=function(a,f,c,b,d,m,l){for(var a=a.split(","),f=f instanceof Array?f:[f],k=a.length;-1<--k;)new na(a[k],f[k],c,b&&0===k,d,m,l)},A=function(a,f){v[a]||K(a,null,function(a,c,b,d,m,l,k){var e=window.com.greensock.plugins[f];if(!e)return window.console&&console.log("Error: "+f+" js file not loaded."),m;e._cssRegister();return v[b].parse(a,c,b,d,m,l,k)})},b=na.prototype;b.parseComplex=function(a,f,c,b,d,m){return da(a,
-this.p,f,c,this.clrs,this.dflt,b,this.pr,d,m)};b.parse=function(a,f,c,b,d,m){return this.parseComplex(a.style,this.format(M(a,c,j,!1,this.dflt)),this.format(f),d,m)};t.registerSpecialProp=function(a,f,c){K(a,null,function(a,b,d,m,l,k){l=new N(a,d,0,0,l,2,d,!1,c);l.plugin=k;l.setRatio=f(a,b,m._tween,d);return l},!1,!1,null,c)};var oa="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),R=S("transform"),sa=J+"transform",pa=S("transformOrigin"),W=null!==S("perspective"),
-fa=function(a,f,c){var b=c?a._gsTransform||{skewY:0}:{skewY:0},d=0>b.scaleX,m=W?parseFloat(M(a,pa,f,!1,"0 0 0").split(" ")[2])||b.zOrigin||0:0,l,k,e,g,i,j,h,n;R?l=M(a,sa,f,!0):a.currentStyle&&(l=(l=a.currentStyle.filter.match(B))&&4===l.length?l[0].substr(4)+","+Number(l[2].substr(4))+","+Number(l[1].substr(4))+","+l[3].substr(4)+","+(b?b.x:0)+","+(b?b.y:0):null);k=(l||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(f=k.length;-1<--f;)k[f]=Number(k[f]);if(16===k.length){if(d=k[8],l=k[9],e=k[10],g=k[12],
-i=k[13],j=k[14],b.zOrigin&&(j=-b.zOrigin,g=d*j-k[12],i=l*j-k[13],j=e*j+b.zOrigin-k[14]),!c||g!==b.x||i!==b.y||j!==b.z){h=k[0];n=k[1];var G=k[2],p=k[3],q=k[4],s=k[5],w=k[6],A=k[7];k=k[11];var J=b.rotationX=Math.atan2(w,e),v,S,r,u;J&&(r=Math.cos(-J),u=Math.sin(-J),J=q*r+d*u,v=s*r+l*u,S=w*r+e*u,d=q*-u+d*r,l=s*-u+l*r,e=w*-u+e*r,k=A*-u+k*r,q=J,s=v,w=S);if(J=b.rotationY=Math.atan2(d,h))r=Math.cos(-J),u=Math.sin(-J),v=n*r-l*u,S=G*r-e*u,l=n*u+l*r,e=G*u+e*r,k=p*u+k*r,h=h*r-d*u,n=v,G=S;if(J=b.rotation=Math.atan2(n,
-s))r=Math.cos(-J),u=Math.sin(-J),h=h*r+q*u,v=n*r+s*u,s=n*-u+s*r,w=G*-u+w*r,n=v;Math.abs(b.rotationY)>Math.PI/2&&(b.rotationY*=-1,b.rotationX+=Math.PI,b.rotation=Math.PI-b.rotation);b.scaleX=Math.sqrt(h*h+n*n);b.scaleY=Math.sqrt(s*s+l*l);b.scaleZ=Math.sqrt(w*w+e*e);b.skewX=0;b.perspective=k?1/k:0;b.x=g;b.y=i;b.z=j}}else if(!W||0===k.length||b.x!==k[4]||b.y!==k[5]||!b.rotationX&&!b.rotationY){g=(l=6<=k.length)?k[0]:1;j=k[1]||0;i=k[2]||0;h=l?k[3]:1;b.x=k[4]||0;b.y=k[5]||0;l=Math.sqrt(g*g+j*j);e=Math.sqrt(h*
-h+i*i);g=g||j?Math.atan2(j,g):b.rotation||0;i=i||h?Math.atan2(i,h)+g:b.skewX||0;j=l-Math.abs(b.scaleX||0);h=e-Math.abs(b.scaleY||0);Math.abs(i)>Math.PI/2&&Math.abs(i)<1.5*Math.PI&&(d?(l*=-1,i+=0>=g?Math.PI:-Math.PI,g+=0>=g?Math.PI:-Math.PI):(e*=-1,i+=0>=i?Math.PI:-Math.PI));d=(g-b.rotation)%Math.PI;n=(i-b.skewX)%Math.PI;if(void 0===b.skewX||1E-6<j||-1E-6>j||1E-6<h||-1E-6>h||1E-6<d||-1E-6>d||1E-6<n||-1E-6>n)b.scaleX=l,b.scaleY=e,b.rotation=g,b.skewX=i;W&&(b.rotationX=b.rotationY=b.z=0,b.perspective=
-parseFloat(t.defaultTransformPerspective)||0,b.scaleZ=1)}b.zOrigin=m;for(f in b)1E-6>b[f]&&-1E-6<b[f]&&(b[f]=0);c&&(a._gsTransform=b);return b},ta=function(a){var b=this.data,c=-b.rotation,d=c+b.skewX,l=Math.cos(c)*b.scaleX,c=Math.sin(c)*b.scaleX,m=Math.sin(d)*-b.scaleY,d=Math.cos(d)*b.scaleY,k=1E-6,e=this.t.style,g=this.t.currentStyle,j;if(g){l<k&&l>-k&&(l=0);c<k&&c>-k&&(c=0);m<k&&m>-k&&(m=0);d<k&&d>-k&&(d=0);k=c;c=-m;m=-k;k=g.filter;e.filter="";var h=this.t.offsetWidth;j=this.t.offsetHeight;var n=
-"absolute"!==g.position,G="progid:DXImageTransform.Microsoft.Matrix(M11="+l+", M12="+c+", M21="+m+", M22="+d,p=b.x,q=b.y,w,r;null!=b.ox&&(w=(b.oxp?0.01*h*b.ox:b.ox)-h/2,r=(b.oyp?0.01*j*b.oy:b.oy)-j/2,p+=w-(w*l+r*c),q+=r-(w*m+r*d));if(n)w=h/2,r=j/2,G+=", Dx="+(w-(w*l+r*c)+p)+", Dy="+(r-(w*m+r*d)+q)+")";else{var u=8>f?1:-1;w=b.ieOffsetX||0;r=b.ieOffsetY||0;b.ieOffsetX=Math.round((h-((0>l?-l:l)*h+(0>c?-c:c)*j))/2+p);b.ieOffsetY=Math.round((j-((0>d?-d:d)*j+(0>m?-m:m)*h))/2+q);for(Q=0;4>Q;Q++)h=ra[Q],
-j=g[h],j=-1!==j.indexOf("px")?parseFloat(j):T(this.t,h,parseFloat(j),j.replace(i,""))||0,p=j!==b[h]?2>Q?-b.ieOffsetX:-b.ieOffsetY:2>Q?w-b.ieOffsetX:r-b.ieOffsetY,e[h]=(b[h]=Math.round(j-p*(0===Q||2===Q?1:u)))+"px";G+=", sizingMethod='auto expand')"}e.filter=-1!==k.indexOf("DXImageTransform.Microsoft.Matrix(")?k.replace(s,G):G+" "+k;if(0===a||1===a)if(1===l&&0===c&&0===m&&1===d&&(!n||-1!==G.indexOf("Dx=0, Dy=0")))(!H.test(k)||100===parseFloat(RegExp.$1))&&-1===k.indexOf("gradient(")&&e.removeAttribute("filter")}},
-ua=function(){var a=this.data,f=a.perspective,b=a.scaleX,c=0,d=0,k=0,l=0,m=a.scaleY,e=0,g=0,j=0,i=0,h=a.scaleZ,n=0,G=0,p=0,q=f?-1/f:0,w=a.rotation,s=a.zOrigin,r,u,t,J,v;w&&(r=Math.cos(w),w=Math.sin(w),t=m*w,c=b*-w,m*=r,b*=r,l=t);if(w=a.rotationY)r=Math.cos(w),w=Math.sin(w),J=h*-w,v=q*-w,d=b*w,e=l*w,h*=r,q*=r,b*=r,l*=r,j=J,G=v;if(w=a.rotationX)r=Math.cos(w),w=Math.sin(w),u=c*r+d*w,t=m*r+e*w,J=i*r+h*w,v=p*r+q*w,d=c*-w+d*r,e=m*-w+e*r,h=i*-w+h*r,q=p*-w+q*r,c=u,m=t,i=J,p=v;s&&(n-=s,k=d*n,g=e*n,n=h*n+s);
-k+=a.x;g+=a.y;n+=a.z;1E-6>n&&-1E-6<n&&(n=0);this.t.style[R]="matrix3d("+(1E-6>b&&-1E-6<b?0:b)+","+(1E-6>l&&-1E-6<l?0:l)+","+(1E-6>j&&-1E-6<j?0:j)+","+(1E-6>G&&-1E-6<G?0:G)+","+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>m&&-1E-6<m?0:m)+","+(1E-6>i&&-1E-6<i?0:i)+","+(1E-6>p&&-1E-6<p?0:p)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>e&&-1E-6<e?0:e)+","+(1E-6>h&&-1E-6<h?0:h)+","+(1E-6>q&&-1E-6<q?0:q)+","+(1E-6>k&&-1E-6<k?0:k)+","+(1E-6>g&&-1E-6<g?0:g)+","+n+","+(f?1+-n/f:1)+")"},va=function(){var a=this.data;if(!a.rotation&&
-!a.skewX)this.t.style[R]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var f=a.rotation,b=f-a.skewX,c=Math.cos(f)*a.scaleX,f=Math.sin(f)*a.scaleX,d=Math.sin(b)*-a.scaleY,b=Math.cos(b)*a.scaleY;this.t.style[R]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>b&&-1E-6<b?0: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,f,b,c,m,k,l){if(c._transform)return m;var f=c._transform=fa(a,j,!0),e=a.style,g=oa.length,i,h,n,w;if("string"===typeof l.transform&&R)h=e[R],e[R]=l.transform,i=fa(a,null,!1),e[R]=h;else if("object"===typeof l){h=null!=l.rotation?l.rotation:null!=l.rotationZ?l.rotationZ:f.rotation*I;i={scaleX:U(null!=l.scaleX?l.scaleX:l.scale,f.scaleX),scaleY:U(null!=l.scaleY?l.scaleY:l.scale,f.scaleY),scaleZ:U(null!=l.scaleZ?l.scaleZ:l.scale,f.scaleZ),x:U(l.x,f.x),y:U(l.y,f.y),z:U(l.z,f.z),perspective:U(l.transformPerspective,
-f.perspective)};i.rotation=null!=l.shortRotation||null!=l.shortRotationZ?ia(l.shortRotation||l.shortRotationZ||0,f.rotation):"number"===typeof h?h*O:Y(h,f.rotation);W&&(i.rotationX=null!=l.shortRotationX?ia(l.shortRotationX,f.rotationX):"number"===typeof l.rotationX?l.rotationX*O:Y(l.rotationX,f.rotationX),i.rotationY=null!=l.shortRotationY?ia(l.shortRotationY,f.rotationY):"number"===typeof l.rotationY?l.rotationY*O:Y(l.rotationY,f.rotationY),1E-6>i.rotationX&&-1E-6<i.rotationX&&(i.rotationX=0),1E-6>
-i.rotationY&&-1E-6<i.rotationY&&(i.rotationY=0));i.skewX=null==l.skewX?f.skewX:"number"===typeof l.skewX?l.skewX*O:Y(l.skewX,f.skewX);i.skewY=null==l.skewY?f.skewY:"number"===typeof l.skewY?l.skewY*O:Y(l.skewY,f.skewY);if(h=i.skewY-f.skewY)i.skewX+=h,i.rotation+=h;1E-6>i.skewY&&-1E-6<i.skewY&&(i.skewY=0);1E-6>i.skewX&&-1E-6<i.skewX&&(i.skewX=0);1E-6>i.rotation&&-1E-6<i.rotation&&(i.rotation=0)}w=f.z||f.rotationX||f.rotationY||i.z||i.rotationX||i.rotationY||i.perspective;!w&&null!=i.scale&&(i.scaleZ=
-1);if(R){if(P){u=!0;if(""===e.zIndex&&(h=M(a,"zIndex",j),"auto"===h||""===h))e.zIndex=0;L&&(e.WebkitBackfaceVisibility=l.WebkitBackfaceVisibility||(w?"visible":"hidden"))}}else e.zoom=1;m=new N(a,"transform",0,0,m,2);m.setRatio=w&&W?ua:R?va:ta;m.plugin=k;m.data=f;for(d.pop();-1<--g;)if(b=oa[g],n=i[b]-f[b],1E-6<n||-1E-6>n||null!=D[b])m=new N(f,b,f[b],n,m),m.xs0=0,m.plugin=k,c._overwriteProps.push(m.n);if((n=l.transformOrigin)||W&&w&&f.zOrigin)R?(n=(n||M(a,b,j,!1,"50% 50%"))+"",b=pa,m=new N(e,b,0,0,
-m,-1,"css_transformOrigin"),m.b=e[b],m.plugin=k,W?(h=f.zOrigin,n=n.split(" "),f.zOrigin=(2<n.length?parseFloat(n[2]):h)||0,m.xs0=m.e=e[b]=n[0]+" "+(n[1]||"50%")+" 0px",m=new N(f,"zOrigin",0,0,m,-1,m.n),m.b=h,m.xs0=m.e=f.zOrigin):m.xs0=m.e=e[b]=n):ha(n+"",f);return m.t===a?(m._next&&(m._next._prev=null),m._next):m},!0);K("boxShadow","0px 0px 0px 0px #999",null,!0,!0);K("borderRadius","0px",function(a,f,b,c,d){var f=this.format(f),c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius",
-"borderBottomLeftRadius"],l=a.style,m,k,e,g,i,h,w,G,p,r,q,s;G=parseFloat(a.offsetWidth);p=parseFloat(a.offsetHeight);f=f.split(" ");for(m=0;m<c.length;m++)this.p.indexOf("border")&&(c[m]=S(c[m])),g=e=M(a,c[m],j,!1,"0px"),i=k=f[m],h=parseFloat(g),q=g.substr((h+"").length),(s="="===i.charAt(1))?(w=parseInt(i.charAt(0)+"1"),i=i.substr(2),w*=parseFloat(i),r=i.substr((w+"").length-(0>w?1:0))||""):(w=parseFloat(i),r=i.substr((w+"").length)),""===r&&(r=n[b]||q),r!==q&&(g=T(a,"borderLeft",h,q),h=T(a,"borderTop",
-h,q),"%"===r?(g=100*(g/G)+"%",e=100*(h/p)+"%"):"em"===r?(q=T(a,"borderLeft",1,"em"),g=g/q+"em",e=h/q+"em"):(g+="px",e=h+"px"),s&&(i=parseFloat(g)+w+r,k=parseFloat(e)+w+r)),d=da(l,c[m],g+" "+e,i+" "+k,!1,"0px",d);return d},!0,!1,ma("0px 0px 0px 0px",!1,!0));K("backgroundPosition","0 0",null,!1,!1,ha);K("backgroundSize","0 0",null,!1,!1,ha);K("perspective","0px",null,!0);K("perspectiveOrigin","50% 50%",null,!0);K("transformStyle","preserve-3d",null,!0);K("margin",null,r("marginTop,marginRight,marginBottom,marginLeft"));
-K("padding",null,r("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,f,b,c,d){return d});K("border","0px solid #000",function(a,f,b,c,d,l){return this.parseComplex(a.style,this.format(M(a,"borderTopWidth",j,!1,"0px")+" "+M(a,"borderTopStyle",j,!1,"solid")+" "+M(a,"borderTopColor",j,!1,"#000")),this.format(f),d,l)},!1,!0,function(a){var f=a.split(" ");return f[0]+" "+(f[1]||"solid")+" "+
-(a.match(V)||["#000"])[0]});var wa=function(a){var f=this.t,a=this.s+this.c*a,b;100===a&&(f.removeAttribute("filter"),b=!M(this.data,"filter"));b||(this.xn1&&(f.filter=f.filter||"alpha(opacity=100)"),f.filter=-1===f.filter.indexOf("opacity")?f.filter+(" alpha(opacity="+(a>>0)+")"):f.filter.replace(H,"opacity="+(a>>0)))};K("opacity,alpha,autoAlpha","1",function(a,f,b,c,d,m){var k=parseFloat(M(a,"opacity",j,!1,"1")),f=parseFloat(f),e=a.style,g;"autoAlpha"===b&&(g=M(a,"visibility",j),1===k&&"hidden"===
-g&&(k=0),d=new N(e,"visibility",0,0,d,-1,null,!1,0,0!==k?"visible":"hidden",0===f?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));l?d=new N(e,"opacity",k,f-k,d):(d=new N(e,"opacity",100*k,100*(f-k),d),d.xn1="autoAlpha"===b?1:0,e.zoom=1,d.type=2,d.b="alpha(opacity="+d.s+")",d.e="alpha(opacity="+(d.s+d.c)+")",d.data=a,d.plugin=m,d.setRatio=wa);return d});var xa=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;for(var a=this.data,f=this.t.style,b=f.removeProperty?"removeProperty":
-"removeAttribute";a;){if(a.v)f[a.p]=a.v;else f[b](a.p.replace(F,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};K("className",null,function(a,f,b,c,d,l,m){var k=a.className,e=a.style.cssText,d=c._classNamePT=new N(a,b,0,0,d,2);d.setRatio=xa;d.b=k;d.e="="!==f.charAt(1)?f:"+"===f.charAt(0)?k+" "+f.substr(2):k.split(f.substr(2)).join("");c._tween._duration&&(f=ca(a,j,!0),a.className=d.e,m=ka(a,f,ca(a),m),a.className=k,d.data=m.firstMPT,a.style.cssText=e,d=
-d.xfirst=c.parse(a,m.difs,d,l));return d});A("bezier","BezierPlugin");A("throwProps","ThrowPropsPlugin");b=t.prototype;b._firstPT=null;b._onInitTween=function(a,f,b){if(!a.nodeType)return!1;this._target=a;this._tween=b;C=f.autoRound;g=!1;n=f.suffixMap||t.suffixMap;j=ba(a,"");d=this._overwriteProps;var b=a.style,c,m,k;if(u&&""===b.zIndex&&(c=M(a,"zIndex",j),"auto"===c||""===c))b.zIndex=0;"string"===typeof f&&(m=b.cssText,c=ca(a,j),b.cssText=m+";"+f,c=ka(a,c,ca(a)).difs,!l&&X.test(f)&&(c.opacity=parseFloat(RegExp.$1)),
-f=c,b.cssText=m);this._firstPT=a=this.parse(a,f,null);if(g){for(;a;){b=a._next;for(f=m;f&&f.pr>a.pr;)f=f._next;(a._prev=f?f._prev:k)?a._prev._next=a:m=a;(a._next=f)?f._prev=a:k=a;a=b}this._firstPT=m}return!0};b.parse=function(a,f,b,c){var d=a.style,m,l,k,e,g,i,h,w;for(m in f){g=f[m];if(l=v[m])b=l.parse(a,g,m,this,b,c,f);else if(l=M(a,m,j)+"",h="string"===typeof g,"color"===m||"fill"===m||"stroke"===m||-1!==m.indexOf("Color")||h&&!g.indexOf("rgb"))h||(g=ja(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+
-")"),b=da(d,m,l,g,!0,"transparent",b,0,c);else if(h&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))b=da(d,m,l,g,!0,null,b,0,c);else{k=parseFloat(l);i=l.substr((k+"").length);if(""===l||"auto"===l)if("width"===m||"height"===m){k=a;w=m;e=j;i=parseFloat("width"===w?k.offsetWidth:k.offsetHeight);w=qa[w];var G=w.length;for(e=e||ba(k,null);-1<--G;)i-=parseFloat(M(k,"padding"+w[G],e,!0))||0,i-=parseFloat(M(k,"border"+w[G]+"Width",e,!0))||0;k=i;i="px"}else k="opacity"!==m?0:1,i="";(w=h&&"="===g.charAt(1))?(e=
-parseInt(g.charAt(0)+"1"),g=g.substr(2),e*=parseFloat(g),h=g.substr((e+"").length-(0>e?1:0))||""):(e=parseFloat(g),h=h?g.substr((e+"").length)||"":"");""===h&&(h=n[m]||i);g=e||0===e?(w?e+k:e)+h:f[m];if(i!==h&&""!==h&&(e||0===e))if(k||0===k)if(k=T(a,m,k,i),"%"===h?(k/=T(a,m,100,"%")/100,100<k&&(k=100)):"em"===h?k/=T(a,m,1,"em"):(e=T(a,m,e,h),h="px"),w&&(e||0===e))g=e+k+h;w&&(e+=k);(k||0===k)&&(e||0===e)?(b=new N(d,m,k,e-k,b,0,"css_"+m,!1!==C&&("px"===h||"zIndex"===m),0,l,g),b.xs0=h):(b=new N(d,m,e||
-k||0,0,b,-1,"css_"+m,!1,0,l,g),b.xs0="display"===m&&"none"===g?l:g)}c&&(b&&!b.plugin)&&(b.plugin=c)}return b};b.setRatio=function(a){var f=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;f;)2!==f.type?f.t[f.p]=f.e:f.setRatio(a),f=f._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;f;){b=f.c*a+f.s;f.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<b&&(b=0);if(f.type)if(1===f.type)if(c=
-f.l,2===c)f.t[f.p]=f.xs0+b+f.xs1+f.xn1+f.xs2;else if(3===c)f.t[f.p]=f.xs0+b+f.xs1+f.xn1+f.xs2+f.xn2+f.xs3;else if(4===c)f.t[f.p]=f.xs0+b+f.xs1+f.xn1+f.xs2+f.xn2+f.xs3+f.xn3+f.xs4;else if(5===c)f.t[f.p]=f.xs0+b+f.xs1+f.xn1+f.xs2+f.xn2+f.xs3+f.xn3+f.xs4+f.xn4+f.xs5;else{b=f.xs0+b+f.xs1;for(c=1;c<f.l;c++)b+=f["xn"+c]+f["xs"+(c+1)];f.t[f.p]=b}else-1===f.type?f.t[f.p]=f.xs0:f.setRatio&&f.setRatio(a);else f.t[f.p]=b+f.xs0;f=f._next}else for(;f;)2!==f.type?f.t[f.p]=f.b:f.setRatio(a),f=f._next};b._linkCSSP=
-function(a,f,b){a&&(f&&(f._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=f,a._prev=b);return a};b._kill=function(a){var f=a,b=!1,c,d;if(a.css_autoAlpha||a.css_alpha){f={};for(d in a)f[d]=a[d];f.css_opacity=1;f.css_autoAlpha&&(f.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 p.prototype._kill.call(this,f)||b};p.activate([t]);return t},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(p){var t=function(){p.call(this,"roundProps",-1);this._overwriteProps.length=0},g=t.prototype=new p("roundProps",-1);g.constructor=t;t.API=2;g._onInitTween=function(g,j,d){this._tween=d;return!0};g._onInitAllProps=
-function(){for(var g=this._tween,j=g.vars.roundProps instanceof Array?g.vars.roundProps:g.vars.roundProps.split(","),d=j.length,p={},b=g._propLookup.roundProps,a,t,c;-1<--d;)p[j[d]]=1;for(d=j.length;-1<--d;){a=j[d];for(t=g._firstPT;t;)c=t._next,t.pg?t.t._roundProps(p,!0):t.n===a&&(this._add(t.t,a,t.s,t.c),c&&(c._prev=t._prev),t._prev?t._prev._next=c:g._firstPT===t&&(g._firstPT=c),t._next=t._prev=null,g._propLookup[a]=b),t=c}return!1};g._add=function(g,j,d,p){this._addTween(g,j,d,d+p,j,!0);this._overwriteProps.push(j)};
-p.activate([t]);return t},!0);_gsDefine("easing.Back",["easing.Ease"],function(p){var t=window.com.greensock._class,g=function(a,b){var c=t("easing."+a,function(){},!0),d=c.prototype=new p;d.constructor=c;d.getRatio=b;return c},n=function(a,b){var c=t("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new p;d.constructor=c;d.getRatio=b;d.config=function(a){return new c(a)};return c},j=n("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),
-d=n("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),n=n("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=g("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=g("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=g("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}),E=g("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),c=g("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),e=g("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,H=function(a,
-b,c){var d=t("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 p;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},X=H("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*i/this._p2)+1},0.3),F=H("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*i/this._p2))},0.3),H=H("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=g("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),x=g("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),q=g("ExpoInOut",function(a){return 1>(a*=2)?0.5*Math.pow(2,10*(a-1)):0.5*(2-Math.pow(2,-10*(a-1)))}),B=Math.PI/2,s=g("SineOut",function(a){return Math.sin(a*B)}),O=g("SineIn",function(a){return-Math.cos(a*B)+1}),g=g("SineInOut",function(a){return-0.5*(Math.cos(Math.PI*
-a)-1)}),I=t("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),D=I.prototype=new p;D.constructor=I;D.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);D.config=I.config=function(a,
-b,c){return new I(a,b,c)};var y=t("easing.SteppedEase",function(a){a=a||1;this._p1=1/a;this._p2=a+1},!0),D=y.prototype=new p;D.constructor=y;D.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};D.config=y.config=function(a){return new y(a)};t("easing.Bounce",{easeOut:new v,easeIn:new b,easeInOut:new a},!0);t("easing.Circ",{easeOut:new E,easeIn:new c,easeInOut:new e},!0);t("easing.Elastic",{easeOut:new X,easeIn:new F,easeInOut:new H},!0);t("easing.Expo",{easeOut:new h,
-easeIn:new x,easeInOut:new q},!0);t("easing.Sine",{easeOut:new s,easeIn:new O,easeInOut:new g},!0);return{easeOut:new j,easeIn:new d,easeInOut:new n}},!0)});
-(function(p){var t=function(a){var a=a.split("."),b=p,c;for(c=0;c<a.length;c++)b[a[c]]=b=b[a[c]]||{};return b},g=t("com.greensock"),n,j,d,v,b,a={},E=function(f,b,c,d){this.sc=a[f]?a[f].sc:[];a[f]=this;this.gsClass=null;this.def=c;var e=b||[],g=[];this.check=function(b){for(var l=e.length,i=0,h;-1<--l;)(h=a[e[l]]||new E(e[l])).gsClass?g[l]=h.gsClass:(i++,b&&h.sc.push(this));if(0===i&&c){var b=("com.greensock."+f).split("."),l=b.pop(),j=t(b.join("."))[l]=this.gsClass=c.apply(c,g);d&&((p.GreenSockGlobals||
-p)[l]=j,"function"===typeof define&&define.amd?define((p.GreenSockAMDPath?p.GreenSockAMDPath+"/":"")+f.split(".").join("/"),[],function(){return j}):"undefined"!==typeof module&&module.exports&&(module.exports=j));for(l=0;l<this.sc.length;l++)this.sc[l].check(!1)}};this.check(!0)},c=g._class=function(a,b,c){b=b||function(){};new E(a,[],function(){return b},c);return b};p._gsDefine=function(a,b,c,d){return new E(a,b,c,d)};var e=[0,0,1,1],i=[],H=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=H.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};n=["Linear","Quad","Cubic","Quart","Quint"];for(j=n.length;-1<--j;)d=c("easing."+n[j],null,!0),v=c("easing.Power"+j,null,!0),d.easeOut=v.easeOut=new H(null,
-null,1,j),d.easeIn=v.easeIn=new H(null,null,2,j),d.easeInOut=v.easeInOut=new H(null,null,3,j);c("easing.Strong",g.easing.Power4,!0);g.easing.Linear.easeNone=g.easing.Linear.easeIn;var X=c("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this});d=X.prototype;d.addEventListener=function(a,b,c,d,e){var e=e||0,g=this._listeners[a],i=0,h;null==g&&(this._listeners[a]=g=[]);for(h=g.length;-1<--h;)a=g[h],a.c===b?g.splice(h,1):0===i&&a.pr<e&&(i=h+1);g.splice(i,0,{c:b,s:c,up:d,pr:e})};
-d.removeEventListener=function(a,b){var c=this._listeners[a],d;if(c)for(d=c.length;-1<--d;)if(c[d].c===b){c.splice(d,1);break}};d.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var c=b.length,d=this._eventTarget,e;-1<--c;)e=b[c],e.up?e.c.call(e.s||d,{type:a,target:d}):e.c.call(e.s||d)};var F=p.requestAnimationFrame,h=p.cancelAnimationFrame,x=Date.now||function(){return(new Date).getTime()};n=["ms","moz","webkit","o"];for(j=n.length;-1<--j&&!F;)F=p[n[j]+"RequestAnimationFrame"],h=p[n[j]+
-"CancelAnimationFrame"]||p[n[j]+"CancelRequestAnimationFrame"];c("Ticker",function(a,b){var c=this,d=x(),e=!1!==b&&F,g,i,j,k,n,q=function(){null!=j&&(!e||!h?p.clearTimeout(j):h(j),j=null)},r=function(a){c.time=(x()-d)/1E3;if(!g||c.time>=n||a)c.frame++,n=c.time>n?c.time+k-(c.time-n):c.time+k-0.001,n<c.time+0.001&&(n=c.time+0.001),c.dispatchEvent("tick");!0!==a&&(j=i(r))};X.call(c);this.time=this.frame=0;this.tick=function(){r(!0)};this.fps=function(a){if(!arguments.length)return g;g=a;k=1/(g||60);
-n=this.time+k;i=0===g?function(){}:!e||!F?function(a){return p.setTimeout(a,1E3*(n-c.time)+1>>0||1)}:F;q();j=i(r)};this.useRAF=function(a){if(!arguments.length)return e;q();e=a;c.fps(g)};c.fps(a);p.setTimeout(function(){e&&!j&&c.useRAF(!1)},1E3)});d=g.Ticker.prototype=new g.events.EventDispatcher;d.constructor=g.Ticker;var q=c("core.Animation",function(a,c){this.vars=c||{};this._duration=this._totalDuration=a||0;this._delay=Number(this.vars.delay)||0;this._timeScale=1;this._active=!0===this.vars.immediateRender;
-this.data=this.vars.data;this._reversed=!0===this.vars.reversed;if(r){b||(B.tick(),b=!0);var d=this.vars.useFrames?A:r;d.insert(this,d._time);this.vars.paused&&this.paused(!0)}}),B=q.ticker=new g.Ticker;d=q.prototype;d._dirty=d._gc=d._initted=d._paused=!1;d._totalTime=d._time=0;d._rawPrevTime=-1;d._next=d._last=d._onUpdate=d._timeline=d.timeline=null;d._paused=!1;d.play=function(a,b){arguments.length&&this.seek(a,b);this.reversed(!1);return this.paused(!1)};d.pause=function(a,b){arguments.length&&
+b;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a);return this};b.usesFrames=function(){for(var a=this._timeline;a._timeline;)a=a._timeline;return a===n._rootFramesTimeline};b.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return l},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(n,
+s,f){var l=function(d){n.call(this,d);this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._dirty=!0},k=[],d=new f(null,null,1,0),f=l.prototype=new n;f.constructor=l;f.kill()._gc=!1;l.version=1.641;f.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return n.prototype.invalidate.call(this)};f.addCallback=function(d,b,a,f){return this.insert(s.delayedCall(0,
+d,a,f),b)};f.removeCallback=function(d,b){if(null==b)this._kill(null,d);else for(var a=this.getTweensOf(d,!1),f=a.length,c=this._parseTimeOrLabel(b);-1<--f;)a[f]._startTime===c&&a[f]._enabled(!1,!1);return this};f.tweenTo=function(v,b){var b=b||{},a={ease:d,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1},f,c;for(f in b)a[f]=b[f];a.time=this._parseTimeOrLabel(v);c=new s(this,Math.abs(Number(a.time)-this._time)/this._timeScale||0.001,a);a.onStart=function(){c.target.paused(!0);c.vars.time!==
+c.target.time()&&c.duration(Math.abs(c.vars.time-c.target.time())/c.target._timeScale);b.onStart&&b.onStart.apply(b.onStartScope||c,b.onStartParams||k)};return c};f.tweenFromTo=function(d,b,a){a=a||{};a.startAt={time:this._parseTimeOrLabel(d)};d=this.tweenTo(b,a);return d.duration(Math.abs(d.vars.time-d.vars.startAt.time)/this._timeScale||0.001)};f.render=function(d,b,a){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var f=!this._dirty?this._totalDuration:this.totalDuration(),c=this._time,
+e=this._totalTime,i=this._startTime,l=this._timeScale,s=this._rawPrevTime,G=this._paused,h=this._cycle,w,p;if(d>=f){this._locked||(this._totalTime=f,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(w=!0,p="onComplete",0===this._duration&&(0===d||0>this._rawPrevTime)))this._rawPrevTime!==d&&(a=!0);this._rawPrevTime=d;this._yoyo&&0!==(this._cycle&1)?(this._time=0,d=-1E-6):(this._time=this._duration,d=this._duration+1E-6)}else if(0>=d){this._locked||(this._totalTime=this._cycle=
+0);this._time=0;if(0!==c||0===this._duration&&0<this._rawPrevTime&&!this._locked)p="onReverseComplete",w=this._reversed;0>d?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(a=!0)):this._initted||(a=!0);this._rawPrevTime=d;d=0===this._duration?0:-1E-6}else if(this._time=this._rawPrevTime=d,!this._locked&&(this._totalTime=d,0!==this._repeat)){var C=this._duration+this._repeatDelay;this._cycle=this._totalTime/C>>0;0!==this._cycle&&this._cycle===this._totalTime/C&&this._cycle--;this._time=
+this._totalTime-this._cycle*C;this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time);this._time>this._duration?(this._time=this._duration,d=this._duration+1E-6):0>this._time?this._time=d=0:d=this._time}if(this._cycle!==h&&!this._locked){var C=this._yoyo&&0!==(h&1),r=C===(this._yoyo&&0!==(this._cycle&1)),P=this._totalTime,I=this._cycle,E=this._rawPrevTime,y=this._time;this._totalTime=h*this._duration;this._cycle<h?C=!C:this._totalTime+=this._duration;this._time=c;this._rawPrevTime=
+0===this._duration?s-1E-5:s;this._cycle=h;this._locked=!0;c=C?0:this._duration;this.render(c,b,0===this._duration);b||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||k);r&&(c=C?this._duration+1E-6:-1E-6,this.render(c,!0,!1));this._time=y;this._totalTime=P;this._cycle=I;this._rawPrevTime=E;this._locked=!1}if(this._time===c&&!a)e!==this._totalTime&&this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||
+k));else{this._initted||(this._initted=!0);0===e&&this.vars.onStart&&0!==this._totalTime&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||k));if(this._time>c)for(a=this._first;a;){e=a._next;if(this._paused&&!G)break;else if(a._active||a._startTime<=this._time&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(d-a._startTime)*a._timeScale,b,!1):a.render((d-a._startTime)*a._timeScale,b,!1);a=e}else for(a=this._last;a;){e=a._prev;
+if(this._paused&&!G)break;else if(a._active||a._startTime<=c&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(d-a._startTime)*a._timeScale,b,!1):a.render((d-a._startTime)*a._timeScale,b,!1);a=e}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||k));if(p&&!this._locked&&!this._gc&&(i===this._startTime||l!==this._timeScale))if(0===this._time||f>=this.totalDuration())w&&(this._timeline.autoRemoveChildren&&this._enabled(!1,
+!1),this._active=!1),b||this.vars[p]&&this.vars[p].apply(this.vars[p+"Scope"]||this,this.vars[p+"Params"]||k)}};f.getActive=function(d,b,a){null==d&&(d=!0);null==b&&(b=!0);null==a&&(a=!1);var f=[],d=this.getChildren(d,b,a),b=0,a=d.length,c,e;for(c=0;c<a;c++)if(e=d[c],!e._paused&&e._timeline._time>=e._startTime&&e._timeline._time<e._startTime+e._totalDuration/e._timeScale){var i;a:{for(i=e._timeline;i;){if(i._paused){i=!0;break a}i=i._timeline}i=!1}i||(f[b++]=e)}return f};f.getLabelAfter=function(d){!d&&
+0!==d&&(d=this._time);var b=this.getLabelsArray(),a=b.length,f;for(f=0;f<a;f++)if(b[f].time>d)return b[f].name;return null};f.getLabelBefore=function(d){null==d&&(d=this._time);for(var b=this.getLabelsArray(),a=b.length;-1<--a;)if(b[a].time<d)return b[a].name;return null};f.getLabelsArray=function(){var d=[],b=0,a;for(a in this._labels)d[b++]={time:this._labels[a],name:a};d.sort(function(a,b){return a.time-b.time});return d};f.progress=function(d){return!arguments.length?this._time/this.duration():
+this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-d:d)+this._cycle*(this._duration+this._repeatDelay),!1)};f.totalProgress=function(d){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*d,!1)};f.totalDuration=function(d){return!arguments.length?(this._dirty&&(n.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration):-1===this._repeat?
+this:this.duration((d-this._repeat*this._repeatDelay)/(this._repeat+1))};f.time=function(d,b){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();d>this._duration&&(d=this._duration);this._yoyo&&0!==(this._cycle&1)?d=this._duration-d+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(d+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(d,b)};f.repeat=function(d){if(!arguments.length)return this._repeat;this._repeat=d;return this._uncache(!0)};
+f.repeatDelay=function(d){if(!arguments.length)return this._repeatDelay;this._repeatDelay=d;return this._uncache(!0)};f.yoyo=function(d){if(!arguments.length)return this._yoyo;this._yoyo=d;return this};f.currentLabel=function(d){return!arguments.length?this.getLabelBefore(this._time+1E-8):this.seek(d,!0)};return l},!0);_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(n){var s=function(){n.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},f=s.prototype=
+new n("bezier",1),l=180/Math.PI,k=[],d=[],v=[],b={},a=function(a,b,c,d){this.a=a;this.b=b;this.c=c;this.d=d;this.da=d-a;this.ca=c-a;this.ba=b-a},F=s.bezierThrough=function(e,i,f,l,G,h){var w={},p=[],C,r,s,G="string"===typeof G?","+G+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";null==i&&(i=1);for(r in e[0])p.push(r);k.length=d.length=v.length=0;for(C=p.length;-1<--C;){r=p[C];
+b[r]=-1!==G.indexOf(","+r+",");s=w;var I=r,E;E=e;var y=r,j=b[r],x=h,t=[],D=void 0,A=void 0,n=void 0,F=void 0,g=void 0,D=void 0;if(x){E=[x].concat(E);for(A=E.length;-1<--A;)if("string"===typeof(D=E[A][y]))"="===D.charAt(1)&&(E[A][y]=x[y]+Number(D.charAt(0)+D.substr(2)))}D=E.length-2;if(0>D)t[0]=new a(E[0][y],0,0,E[-1>D?0:1][y]);else{for(A=0;A<D;A++)n=E[A][y],F=E[A+1][y],t[A]=new a(n,0,0,F),j&&(g=E[A+2][y],k[A]=(k[A]||0)+(F-n)*(F-n),d[A]=(d[A]||0)+(g-F)*(g-F));t[A]=new a(E[A][y],0,0,E[A+1][y])}E=t;
+s[I]=E}for(C=k.length;-1<--C;)k[C]=Math.sqrt(k[C]),d[C]=Math.sqrt(d[C]);if(!l){for(C=p.length;-1<--C;)if(b[r]){e=w[p[C]];s=e.length-1;for(G=0;G<s;G++)h=e[G+1].da/d[G]+e[G].da/k[G],v[G]=(v[G]||0)+h*h}for(C=v.length;-1<--C;)v[C]=Math.sqrt(v[C])}for(C=p.length;-1<--C;){r=p[C];e=w[r];G=i;h=f;s=l;r=b[r];I=e.length-1;E=0;for(var y=e[0].a,m=g=F=x=D=F=n=D=A=n=t=x=j=void 0,j=0;j<I;j++)A=e[E],x=A.a,t=A.d,n=e[E+1].d,r?(F=k[j],g=d[j],m=0.25*(g+F)*G/(s?0.5:v[j]||0.5),D=t-(t-x)*(s?0.5*G:m/F),n=t+(n-t)*(s?0.5*G:
+m/g),F=t-(D+(n-D)*(3*F/(F+g)+0.5)/4)):(D=t-0.5*(t-x)*G,n=t+0.5*(n-t)*G,F=t-(D+n)/2),D+=F,n+=F,A.c=D,A.b=0!==j?y:y=A.a+0.6*(A.c-A.a),A.da=t-x,A.ca=D-x,A.ba=y-x,h?(x=c(x,y,D,t),e.splice(E,1,x[0],x[1],x[2],x[3]),E+=4):E++,y=n;A=e[E];A.b=y;A.c=y+0.4*(A.d-y);A.da=A.d-A.a;A.ca=A.c-A.a;A.ba=y-A.a;h&&(x=c(A.a,y,A.c,A.d),e.splice(E,1,x[0],x[1],x[2],x[3]))}return w},c=s.cubicToQuadratic=function(a,b,c,d){var f={a:a},h={},w={},p={c:d},l=(a+b)/2,r=(b+c)/2,c=(c+d)/2,b=(l+r)/2,r=(r+c)/2,k=(r-b)/8;f.b=l+(a-l)/4;
+h.b=b+k;f.c=h.a=(f.b+h.b)/2;h.c=w.a=(b+r)/2;w.b=r-k;p.b=c+(d-c)/4;w.c=p.a=(w.b+p.b)/2;return[f,h,w,p]};s.quadraticToCubic=function(b,c,d){return new a(b,(2*c+b)/3,(2*c+d)/3,d)};f.constructor=s;s.API=2;s._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,b=a._parseToProxy,c=a._setPluginRatio,d=a._specialProps,f=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,e,p,l,r,k){e instanceof Array&&(e={values:e});var k=new s,p=e.values,n=p.length-
+1,v=[],y={},j,x,t;if(0>n)return r;for(j=0;j<=n;j++)t=b(a,p[j],l,r,k,n!==j),v[j]=t.end;for(x in e)y[x]=e[x];y.values=v;r=new f(a,"bezier",0,0,t.pt,2);r.data=t;r.plugin=k;r.setRatio=c;0===y.autoRotate&&(y.autoRotate=!0);y.autoRotate&&!(y.autoRotate instanceof Array)&&(j=!0===y.autoRotate?0:Number(y.autoRotate)*_DEG2RAD,y.autoRotate=null!=t.end.left?[["left","top","rotation",j,!0]]:null!=t.end.x?[["x","y","rotation",j,!0]]:!1);y.autoRotate&&(l._transform||(r=d.rotation.parse(a,0,x,l,r,k,{})),t.autoRotate=
+l._transform);k._onInitTween(t.proxy,y,l._tween);return r})}};f._onInitTween=function(b,c,d){this._target=b;c instanceof Array&&(c={values:c});this._props=[];this._timeRes=null==c.timeResolution?6:parseInt(c.timeResolution);var f=c.values||[],l={},h=f[0],d=c.autoRotate||d.vars.orientToBezier,w,p,k;this._autoRotate=d?d instanceof Array?d:[["x","y","rotation",!0===d?0:Number(d)||0]]:null;for(w in h)this._props.push(w);for(h=this._props.length;-1<--h;)w=this._props[h],this._overwriteProps.push(w),d=
+this._func[w]="function"===typeof b[w],l[w]=!d?parseFloat(b[w]):b[w.indexOf("set")||"function"!==typeof b["get"+w.substr(3)]?w:"get"+w.substr(3)](),k||l[w]!==f[0][w]&&(k=l);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)l=F(f,isNaN(c.curviness)?1:c.curviness,!1,"thruBasic"===c.type,c.correlate,k);else{d=(d=c.type)||"soft";c={};k="cubic"===d?3:2;var d="soft"===d,h=[],r,s,n,v,y,j,x,t,D;d&&l&&(f=[l].concat(f));if(null==f||f.length<k+1)throw"invalid Bezier data";for(s in f[0])h.push(s);for(j=
+h.length;-1<--j;){s=h[j];c[s]=y=[];D=0;t=f.length;for(x=0;x<t;x++)r=null==l?f[x][s]:"string"===typeof(n=f[x][s])&&"="===n.charAt(1)?l[s]+Number(n.charAt(0)+n.substr(2)):Number(n),d&&1<x&&x<t-1&&(y[D++]=(r+y[D-2])/2),y[D++]=r;t=D-k+1;for(x=D=0;x<t;x+=k)r=y[x],s=y[x+1],n=y[x+2],v=2===k?0:y[x+3],y[D++]=n=3===k?new a(r,s,n,v):new a(r,(2*s+r)/3,(2*s+n)/3,n);y.length=D}l=c}this._beziers=l;this._segCount=this._beziers[w].length;if(this._timeRes){h=this._beziers;w=this._timeRes;w=w>>0||6;l=[];s=[];f=n=0;
+c=w-1;k=[];d=[];for(p in h){r=h[p];y=l;j=w;x=1/j;t=r.length;for(var A=void 0,Q=void 0,M=v=D=Q=void 0,g=A=void 0,m=void 0,m=M=void 0;-1<--t;){M=r[t];Q=M.a;D=M.d-Q;v=M.c-Q;M=M.b-Q;Q=0;for(g=1;g<=j;g++)A=x*g,m=1-A,A=Q-(Q=(A*A*D+3*m*(A*v+m*M))*A),m=t*j+g-1,y[m]=(y[m]||0)+A*A}}h=l.length;for(p=0;p<h;p++)n+=Math.sqrt(l[p]),r=p%w,d[r]=n,r===c&&(f+=n,r=p/w>>0,k[r]=d,s[r]=f,n=0,d=[]);this._length=f;this._lengths=s;this._segments=k;this._l1=this._li=this._s1=this._si=0;this._l2=this._lengths[0];this._curSeg=
+this._segments[0];this._s2=this._curSeg[0];this._prec=1/this._curSeg.length}if(d=this._autoRotate){d[0]instanceof Array||(this._autoRotate=d=[d]);for(h=d.length;-1<--h;)for(p=0;3>p;p++)w=d[h][p],this._func[w]="function"===typeof b[w]?b[w.indexOf("set")||"function"!==typeof b["get"+w.substr(3)]?w:"get"+w.substr(3)]:!1}return!0};f.setRatio=function(a){var c=this._segCount,b=this._func,d=this._target,f,h,k,p,n;if(this._timeRes){f=this._lengths;p=this._curSeg;a*=this._length;h=this._li;if(a>this._l2&&
+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,
+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,
+"-$1").toLowerCase()))||c.length?a:c[g]:a.currentStyle&&(c=a.currentStyle,m=c[g],!m&&"backgroundPosition"===g&&(m=c[g+"X"]+" "+c[g+"Y"]));return null!=d&&(!m||"none"===m||"auto"===m||"auto auto"===m)?d:m},da=function(a,g,c){var b={},d=a._gsOverwrittenClassNamePT,m;if(d&&!c){for(;d;)d.setRatio(0),d=d._next;a._gsOverwrittenClassNamePT=null}if(g=g||ca(a,null))if(m=g.length)for(;-1<--m;)b[g[m].replace(h,w)]=g.getPropertyValue(g[m]);else for(m in g)b[m]=g[m];else if(g=a.currentStyle||a.style)for(m in g)b[m.replace(h,
+w)]=g[m];q||(b.opacity=K(a));a=fa(a,g,!1);b.rotation=a.rotation*I;b.rotationX=a.rotationX*I;b.rotationY=a.rotationY*I;b.skewX=a.skewX*I;b.scaleX=a.scaleX;b.scaleY=a.scaleY;b.scaleZ=a.scaleZ;b.x=a.x;b.y=a.y;b.z=a.z;b.filters&&delete b.filters;return b},la=function(a,g,c,b){var d={},a=a.style,m,z,q;for(z in c)if("cssText"!==z&&"length"!==z&&isNaN(z)&&g[z]!==(m=c[z]))if(-1===z.indexOf("Origin")&&("number"===typeof m||"string"===typeof m))d[z]=(""===m||"auto"===m||"none"===m)&&"string"===typeof g[z]&&
+""!==g[z].replace(e,"")?0:m,void 0!==a[z]&&(q=new ga(a,z,a[z],q));if(b)for(z in b)"className"!==z&&(d[z]=b[z]);return{difs:d,firstMPT:q}},ra={width:["Left","Right"],height:["Top","Bottom"]},sa=["marginLeft","marginRight","marginTop","marginBottom"],T=function(a,g,c,b,d){if("px"===b||!b)return c;if("auto"===b||!c)return 0;var m=p.test(g),z=a,q=j.style,e=0>c;e&&(c=-c);"%"===b&&-1!==g.indexOf("border")?m=c/100*(m?a.clientWidth:a.clientHeight):(q.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",
+"%"===b||"em"===b||!z.appendChild?(z=a.parentNode||y.body,q[m?"width":"height"]=c+b):q[m?"borderLeftWidth":"borderTopWidth"]=c+b,z.appendChild(j),m=parseFloat(j[m?"offsetWidth":"offsetHeight"]),z.removeChild(j),0===m&&!d&&(m=T(a,g,c,b,!0)));return e?-m:m},ha=function(a,g){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var c=a.split(" "),b=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":c[0],d=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":c[1];null==d?d="0":"center"===
+d&&(d="50%");if("center"===b||isNaN(parseFloat(b)))b="50%";g&&(g.oxp=-1!==b.indexOf("%"),g.oyp=-1!==d.indexOf("%"),g.oxr="="===b.charAt(1),g.oyr="="===d.charAt(1),g.ox=parseFloat(b.replace(e,"")),g.oy=parseFloat(d.replace(e,"")));return b+" "+d+(2<c.length?" "+c[2]:"")},ma=function(a,g){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(g)},U=function(a,g){return null==a?g:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+
+"1")*Number(a.substr(2))+g:Number(a)},Y=function(a,g){if(null==a)return g;var c=-1===a.indexOf("rad")?P:1,b="="===a.charAt(1),a=Number(a.replace(e,""))*c;return b?a+g:a},ia=function(a,g){var c=(("number"===typeof a?a*P:Y(a,g))-g)%(2*Math.PI);c!==c%Math.PI&&(c+=Math.PI*(0>c?2:-2));return g+c},Z={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(g){if(!g||""===g)return Z.black;if(Z[g])return Z[g];if("number"===typeof g)return[g>>16,g>>8&255,g&255];if("#"===g.charAt(0)){if(4===g.length)var c=g.charAt(1),b=g.charAt(2),g=g.charAt(3),g="#"+c+c+b+b+g+g;g=parseInt(g.substr(1),16);return[g>>16,g>>8&255,g&255]}g=g.match(a)||Z.transparent;g[0]=Number(g[0]);g[1]=Number(g[1]);g[2]=Number(g[2]);
+3<g.length&&(g[3]=Number(g[3]));return g},V="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(b in Z)V+="|"+b+"\\b";var V=RegExp(V+")","gi"),na=function(g,b,d){if(null==g)return function(a){return a};var m=b?(g.match(V)||[""])[0]:"",q=g.split(m).join("").match(c)||[],j=g.substr(0,g.indexOf(q[0])),z=")"===g.charAt(g.length-1)?")":"",e=-1!==g.indexOf(" ")?" ":",",f=q.length,ba=0<f?q[0].replace(a,""):"";return b?function(a){"number"===typeof a&&(a+=ba);var g=(a.match(V)||[m])[0],a=a.split(g).join("").match(c)||
+[],b=a.length;if(f>b--)for(;++b<f;)a[b]=d?a[(b-1)/2>>0]:q[b];return j+a.join(e)+e+g+z}:function(a){"number"===typeof a&&(a+=ba);var a=a.match(c)||[],g=a.length;if(f>g--)for(;++g<f;)a[g]=d?a[(g-1)/2>>0]:q[g];return j+a.join(e)+z}},t=function(a){a=a.split(",");return function(g,b,c,d,m,q,j){b=(b+"").split(" ");j={};for(c=0;4>c;c++)j[a[c]]=b[c]=b[c]||b[(c-1)/2>>0];return d.parse(g,j,m,q)}};x._setPluginRatio=function(a){this.plugin.setRatio(a);for(var g=this.data,c=g.proxy,b=g.firstMPT,d;b;)d=c[b.v],
+b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0),b.t[b.p]=d,b=b._next;g.autoRotate&&(g.autoRotate.rotation=c.rotation);if(1===a)for(b=g.firstMPT;b;){a=b.t;if(a.type){if(1===a.type){c=a.xs0+a.s+a.xs1;for(g=1;g<a.l;g++)c+=a["xn"+g]+a["xs"+(g+1)];a.e=c}}else a.e=a.s+a.xs0;b=b._next}};var ga=function(a,g,b,c,d){this.t=a;this.p=g;this.v=b;this.r=d;c&&(c._prev=this,this._next=c)};x._parseToProxy=function(a,g,b,c,d,m){var q=c,j={},e={},f=b._transform,i=E,k;b._transform=null;E=g;c=a=b.parse(a,g,c,d);E=
+i;m&&(b._transform=f,q&&(q._prev=null,q._prev&&(q._prev._next=null)));for(;c&&c!==q;){if(1>=c.type&&(f=c.p,e[f]=c.s+c.c,j[f]=c.s,m||(k=new ga(c,"s",f,k,c.r),c.c=0),1===c.type))for(b=c.l;0<--b;)i="xn"+b,f=c.p+"_"+i,e[f]=c.data[i],j[f]=c[i],m||(k=new ga(c,i,f,k,c.rxp[i]));c=c._next}return{proxy:j,end:e,firstMPT:k,pt:a}};var O=x.CSSPropTween=function(a,g,c,b,m,q,j,e,i,ba,k){this.t=a;this.p=g;this.s=c;this.c=b;this.n=j||"css_"+g;a instanceof O||d.push(this.n);this.r=e;this.type=q||0;i&&(this.pr=i,f=!0);
+this.b=void 0===ba?c:ba;this.e=void 0===k?c+b:k;m&&(this._next=m,m._prev=this)},ea=s.parseComplex=function(g,c,b,d,m,j,z,e,f,i){var z=new O(g,c,0,0,z,i?2:1,null,!1,e,b,d),g=b.split(", ").join(",").split(" "),c=(d+"").split(", ").join(",").split(" "),b=g.length,e=!1!==D,k,h,l,H,n;b!==c.length&&(g=(j||"").split(" "),b=g.length);z.plugin=f;z.setRatio=i;for(j=0;j<b;j++)if(f=g[j],k=c[j],(i=parseFloat(f))||0===i)z.appendXtra("",i,ma(k,i),k.replace(F,""),e&&-1!==k.indexOf("px"),!0);else if(m&&("#"===f.charAt(0)||
+0===f.indexOf("rgb")||Z[f]))f=ja(f),k=ja(k),(i=6<f.length+k.length)&&!q&&0===k[3]?(z["xs"+z.l]+=z.l?" transparent":"transparent",z.e=z.e.split(c[j]).join("transparent")):(z.appendXtra(i?"rgba(":"rgb(",f[0],k[0]-f[0],",",!0,!0).appendXtra("",f[1],k[1]-f[1],",",!0).appendXtra("",f[2],k[2]-f[2],i?",":")",!0),i&&(f=4>f.length?1:f[3],z.appendXtra("",f,(4>k.length?1:k[3])-f,")",!1)));else if(i=f.match(a)){l=k.match(F);if(!l||l.length!==i.length)return z;for(k=h=0;k<i.length;k++)n=i[k],H=f.indexOf(n,h),
+z.appendXtra(f.substr(h,H-h),Number(n),ma(l[k],n),"",e&&"px"===f.substr(H+n.length,2),0===k),h=H+n.length;z["xs"+z.l]+=f.substr(h)}else z["xs"+z.l]+=z.l?" "+f:f;if(-1!==d.indexOf("=")&&z.data){d=z.xs0+z.data.s;for(j=1;j<z.l;j++)d+=z["xs"+j]+z.data["xn"+j];z.e=d+z["xs"+j]}z.l||(z.type=-1,z.xs0=z.e);return z.xfirst||z},R=9,b=O.prototype;for(b.l=b.pr=0;0<--R;)b["xn"+R]=0,b["xs"+R]="";b.xs0="";b._next=b._prev=b.xfirst=b.data=b.plugin=b.setRatio=b.rxp=null;b.appendXtra=function(a,g,c,b,d,m){var q=this.l;
+this["xs"+q]+=m&&q?" "+a:a||"";if(!c&&0!==q&&!this.plugin)return this["xs"+q]+=g+(b||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=b||"";if(0<q)return this.data["xn"+q]=g+c,this.rxp["xn"+q]=d,this["xn"+q]=g,this.plugin||(this.xfirst=new O(this,"xn"+q,g,c,this.xfirst||this,0,this.n,d,this.pr),this.xfirst.xs0=0),this;this.data={s:g+c};this.rxp={};this.s=g;this.c=c;this.r=d;return this};var oa=function(a,g,c,b,d,m,q){this.p=b?aa(a)||a:a;v[a]=v[this.p]=this;this.format=m||na(g,d);c&&
+(this.parse=c);this.clrs=d;this.dflt=g;this.pr=q||0},L=x._registerComplexSpecialProp=function(a,g,c,b,d,m,q){for(var a=a.split(","),g=g instanceof Array?g:[g],j=a.length;-1<--j;)new oa(a[j],g[j],c,b&&0===j,d,m,q)},x=function(a){if(!v[a]){var g=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";L(a,null,function(a,c,b,d,m,q,j){var e=window.com.greensock.plugins[g];if(!e)return window.console&&console.log("Error: "+g+" js file not loaded."),m;e._cssRegister();return v[b].parse(a,c,b,d,m,q,j)})}},b=oa.prototype;
+b.parseComplex=function(a,g,c,b,d,m){return ea(a,this.p,g,c,this.clrs,this.dflt,b,this.pr,d,m)};b.parse=function(a,g,c,b,d,m){return this.parseComplex(a.style,this.format(N(a,c,k,!1,this.dflt)),this.format(g),d,m)};s.registerSpecialProp=function(a,g,c){L(a,null,function(a,b,d,m,q,j){q=new O(a,d,0,0,q,2,d,!1,c);q.plugin=j;q.setRatio=g(a,b,m._tween,d);return q},!1,!1,null,c)};var pa="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),S=aa("transform"),ta=ka+"transform",
+qa=aa("transformOrigin"),W=null!==aa("perspective"),fa=function(a,g,c){var b=c?a._gsTransform||{skewY:0}:{skewY:0},d=0>b.scaleX,m=W?parseFloat(N(a,qa,g,!1,"0 0 0").split(" ")[2])||b.zOrigin||0:0,q,j,e,f,i,k,h,l;S?q=N(a,ta,g,!0):a.currentStyle&&(q=(q=a.currentStyle.filter.match(C))&&4===q.length?q[0].substr(4)+","+Number(q[2].substr(4))+","+Number(q[1].substr(4))+","+q[3].substr(4)+","+(b?b.x:0)+","+(b?b.y:0):null);j=(q||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(g=j.length;-1<--g;)j[g]=Number(j[g]);
+if(16===j.length){if(d=j[8],q=j[9],e=j[10],f=j[12],i=j[13],k=j[14],b.zOrigin&&(k=-b.zOrigin,f=d*k-j[12],i=q*k-j[13],k=e*k+b.zOrigin-j[14]),!c||f!==b.x||i!==b.y||k!==b.z){h=j[0];l=j[1];var H=j[2],n=j[3],p=j[4],r=j[5],u=j[6],x=j[7];j=j[11];var K=b.rotationX=Math.atan2(u,e),v,w,t,B;K&&(t=Math.cos(-K),B=Math.sin(-K),K=p*t+d*B,v=r*t+q*B,w=u*t+e*B,d=p*-B+d*t,q=r*-B+q*t,e=u*-B+e*t,j=x*-B+j*t,p=K,r=v,u=w);if(K=b.rotationY=Math.atan2(d,h))t=Math.cos(-K),B=Math.sin(-K),v=l*t-q*B,w=H*t-e*B,q=l*B+q*t,e=H*B+e*
+t,j=n*B+j*t,h=h*t-d*B,l=v,H=w;if(K=b.rotation=Math.atan2(l,r))t=Math.cos(-K),B=Math.sin(-K),h=h*t+p*B,v=l*t+r*B,r=l*-B+r*t,u=H*-B+u*t,l=v;Math.abs(b.rotationY)>Math.PI/2&&(b.rotationY*=-1,b.rotationX+=Math.PI,b.rotation=Math.PI-b.rotation);b.scaleX=Math.sqrt(h*h+l*l);b.scaleY=Math.sqrt(r*r+q*q);b.scaleZ=Math.sqrt(u*u+e*e);b.skewX=0;b.perspective=j?1/j:0;b.x=f;b.y=i;b.z=k}}else if(!W||0===j.length||b.x!==j[4]||b.y!==j[5]||!b.rotationX&&!b.rotationY){f=(q=6<=j.length)?j[0]:1;k=j[1]||0;i=j[2]||0;h=q?
+j[3]:1;b.x=j[4]||0;b.y=j[5]||0;q=Math.sqrt(f*f+k*k);e=Math.sqrt(h*h+i*i);f=f||k?Math.atan2(k,f):b.rotation||0;i=i||h?Math.atan2(i,h)+f:b.skewX||0;k=q-Math.abs(b.scaleX||0);h=e-Math.abs(b.scaleY||0);Math.abs(i)>Math.PI/2&&Math.abs(i)<1.5*Math.PI&&(d?(q*=-1,i+=0>=f?Math.PI:-Math.PI,f+=0>=f?Math.PI:-Math.PI):(e*=-1,i+=0>=i?Math.PI:-Math.PI));d=(f-b.rotation)%Math.PI;l=(i-b.skewX)%Math.PI;if(void 0===b.skewX||1E-6<k||-1E-6>k||1E-6<h||-1E-6>h||1E-6<d||-1E-6>d||1E-6<l||-1E-6>l)b.scaleX=q,b.scaleY=e,b.rotation=
+f,b.skewX=i;W&&(b.rotationX=b.rotationY=b.z=0,b.perspective=parseFloat(s.defaultTransformPerspective)||0,b.scaleZ=1)}b.zOrigin=m;for(g in b)1E-6>b[g]&&-1E-6<b[g]&&(b[g]=0);c&&(a._gsTransform=b);return b},ua=function(a){var g=this.data,b=-g.rotation,c=b+g.skewX,d=Math.cos(b)*g.scaleX,b=Math.sin(b)*g.scaleX,q=Math.sin(c)*-g.scaleY,c=Math.cos(c)*g.scaleY,j=1E-6,e=this.t.style,f=this.t.currentStyle,k;if(f){d<j&&d>-j&&(d=0);b<j&&b>-j&&(b=0);q<j&&q>-j&&(q=0);c<j&&c>-j&&(c=0);j=b;b=-q;q=-j;j=f.filter;e.filter=
+"";var h=this.t.offsetWidth;k=this.t.offsetHeight;var l="absolute"!==f.position,H="progid:DXImageTransform.Microsoft.Matrix(M11="+d+", M12="+b+", M21="+q+", M22="+c,n=g.x,p=g.y,u,t;null!=g.ox&&(u=(g.oxp?0.01*h*g.ox:g.ox)-h/2,t=(g.oyp?0.01*k*g.oy:g.oy)-k/2,n+=u-(u*d+t*b),p+=t-(u*q+t*c));if(l)u=h/2,t=k/2,H+=", Dx="+(u-(u*d+t*b)+n)+", Dy="+(t-(u*q+t*c)+p)+")";else{var B=8>m?1:-1;u=g.ieOffsetX||0;t=g.ieOffsetY||0;g.ieOffsetX=Math.round((h-((0>d?-d:d)*h+(0>b?-b:b)*k))/2+n);g.ieOffsetY=Math.round((k-((0>
+c?-c:c)*k+(0>q?-q:q)*h))/2+p);for(R=0;4>R;R++)h=sa[R],k=f[h],k=-1!==k.indexOf("px")?parseFloat(k):T(this.t,h,parseFloat(k),k.replace(i,""))||0,n=k!==g[h]?2>R?-g.ieOffsetX:-g.ieOffsetY:2>R?u-g.ieOffsetX:t-g.ieOffsetY,e[h]=(g[h]=Math.round(k-n*(0===R||2===R?1:B)))+"px";H+=", sizingMethod='auto expand')"}e.filter=-1!==j.indexOf("DXImageTransform.Microsoft.Matrix(")?j.replace(r,H):H+" "+j;if(0===a||1===a)if(1===d&&0===b&&0===q&&1===c&&(!l||-1!==H.indexOf("Dx=0, Dy=0")))(!J.test(j)||100===parseFloat(RegExp.$1))&&
+-1===j.indexOf("gradient(")&&e.removeAttribute("filter")}},va=function(){var a=this.data,g=a.perspective,b=a.scaleX,c=0,d=0,q=0,j=0,m=a.scaleY,e=0,f=0,k=0,i=0,h=a.scaleZ,l=0,H=0,n=0,p=g?-1/g:0,u=a.rotation,r=a.zOrigin,t=this.t.style,B,s,K,v,x;u&&(B=Math.cos(u),u=Math.sin(u),K=m*u,c=b*-u,m*=B,b*=B,j=K);if(u=a.rotationY)B=Math.cos(u),u=Math.sin(u),v=h*-u,x=p*-u,d=b*u,e=j*u,h*=B,p*=B,b*=B,j*=B,k=v,H=x;if(u=a.rotationX)B=Math.cos(u),u=Math.sin(u),s=c*B+d*u,K=m*B+e*u,v=i*B+h*u,x=n*B+p*u,d=c*-u+d*B,e=m*
+-u+e*B,h=i*-u+h*B,p=n*-u+p*B,c=s,m=K,i=v,n=x;r&&(l-=r,q=d*l,f=e*l,l=h*l+r);q+=a.x;f+=a.y;l+=a.z;1E-6>l&&-1E-6<l&&(l=0);t[S]="matrix3d("+(1E-6>b&&-1E-6<b?0:b)+","+(1E-6>j&&-1E-6<j?0:j)+","+(1E-6>k&&-1E-6<k?0:k)+","+(1E-6>H&&-1E-6<H?0:H)+","+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>m&&-1E-6<m?0:m)+","+(1E-6>i&&-1E-6<i?0:i)+","+(1E-6>n&&-1E-6<n?0:n)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>e&&-1E-6<e?0:e)+","+(1E-6>h&&-1E-6<h?0:h)+","+(1E-6>p&&-1E-6<p?0:p)+","+(1E-6>q&&-1E-6<q?0:q)+","+(1E-6>f&&-1E-6<f?0:f)+","+l+
+","+(g?1+-l/g:1)+")";if(M)return s=t.display,t.display="none",K=this.t.offsetWidth,t.display=s,K},wa=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[S]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var g=a.rotation,b=g-a.skewX,c=Math.cos(g)*a.scaleX,g=Math.sin(g)*a.scaleX,d=Math.sin(b)*-a.scaleY,b=Math.cos(b)*a.scaleY;this.t.style[S]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>g&&-1E-6<g?0:g)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>b&&-1E-6<b?0:b)+","+a.x+","+a.y+")"}};L("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",
+null,function(a,b,c,q,j,m,e){if(q._transform)return j;var b=q._transform=fa(a,k,!0),f=a.style,i=pa.length,h,l,u,H;if("string"===typeof e.transform&&S)l=f[S],f[S]=e.transform,h=fa(a,null,!1),f[S]=l;else if("object"===typeof e){l=null!=e.rotation?e.rotation:null!=e.rotationZ?e.rotationZ:b.rotation*I;h={scaleX:U(null!=e.scaleX?e.scaleX:e.scale,b.scaleX),scaleY:U(null!=e.scaleY?e.scaleY:e.scale,b.scaleY),scaleZ:U(null!=e.scaleZ?e.scaleZ:e.scale,b.scaleZ),x:U(e.x,b.x),y:U(e.y,b.y),z:U(e.z,b.z),perspective:U(e.transformPerspective,
+b.perspective)};h.rotation=null!=e.shortRotation||null!=e.shortRotationZ?ia(e.shortRotation||e.shortRotationZ||0,b.rotation):"number"===typeof l?l*P:Y(l,b.rotation);W&&(h.rotationX=null!=e.shortRotationX?ia(e.shortRotationX,b.rotationX):"number"===typeof e.rotationX?e.rotationX*P:Y(e.rotationX,b.rotationX),h.rotationY=null!=e.shortRotationY?ia(e.shortRotationY,b.rotationY):"number"===typeof e.rotationY?e.rotationY*P:Y(e.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==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)});
+(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,
+null,1,k),d.easeIn=v.easeIn=new J(null,null,2,k),d.easeInOut=v.easeInOut=new J(null,null,3,k);c("easing.Strong",f.easing.Power4,!0);f.easing.Linear.easeNone=f.easing.Linear.easeIn;var X=c("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this});d=X.prototype;d.addEventListener=function(a,b,c,d,e){var e=e||0,f=this._listeners[a],h=0,i;null==f&&(this._listeners[a]=f=[]);for(i=f.length;-1<--i;)a=f[i],a.c===b?f.splice(i,1):0===h&&a.pr<e&&(h=i+1);f.splice(h,0,{c:b,s:c,up:d,pr:e})};
+d.removeEventListener=function(a,b){var c=this._listeners[a],d;if(c)for(d=c.length;-1<--d;)if(c[d].c===b){c.splice(d,1);break}};d.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var c=b.length,d=this._eventTarget,e;-1<--c;)e=b[c],e.up?e.c.call(e.s||d,{type:a,target:d}):e.c.call(e.s||d)};var G=n.requestAnimationFrame,h=n.cancelAnimationFrame,w=Date.now||function(){return(new Date).getTime()};l=["ms","moz","webkit","o"];for(k=l.length;-1<--k&&!G;)G=n[l[k]+"RequestAnimationFrame"],h=n[l[k]+
+"CancelAnimationFrame"]||n[l[k]+"CancelRequestAnimationFrame"];c("Ticker",function(a,b){var c=this,d=w(),e=!1!==b&&G,f,i,j,k,l,p=function(){null!=j&&(!e||!h?n.clearTimeout(j):h(j),j=null)},r=function(a){c.time=(w()-d)/1E3;if(!f||c.time>=l||!0===a)c.frame++,l=c.time>l?c.time+k-(c.time-l):c.time+k-0.001,l<c.time+0.001&&(l=c.time+0.001),c.dispatchEvent("tick");!0!==a&&(j=i(r))};X.call(c);this.time=this.frame=0;this.tick=function(){r(!0)};this.fps=function(a){if(!arguments.length)return f;f=a;k=1/(f||
+60);l=this.time+k;i=0===f?function(){}:!e||!G?function(a){return n.setTimeout(a,1E3*(l-c.time)+1>>0||1)}:G;p();j=i(r)};this.useRAF=function(a){if(!arguments.length)return e;p();e=a;c.fps(f)};c.fps(a);n.setTimeout(function(){e&&!j&&c.useRAF(!1)},1E3)});d=f.Ticker.prototype=new f.events.EventDispatcher;d.constructor=f.Ticker;var p=c("core.Animation",function(a,c){this.vars=c||{};this._duration=this._totalDuration=a||0;this._delay=Number(this.vars.delay)||0;this._timeScale=1;this._active=!0===this.vars.immediateRender;
+this.data=this.vars.data;this._reversed=!0===this.vars.reversed;if(t){b||(C.tick(),b=!0);var d=this.vars.useFrames?x:t;d.insert(this,d._time);this.vars.paused&&this.paused(!0)}}),C=p.ticker=new f.Ticker;d=p.prototype;d._dirty=d._gc=d._initted=d._paused=!1;d._totalTime=d._time=0;d._rawPrevTime=-1;d._next=d._last=d._onUpdate=d._timeline=d.timeline=null;d._paused=!1;d.play=function(a,b){arguments.length&&this.seek(a,b);this.reversed(!1);return this.paused(!1)};d.pause=function(a,b){arguments.length&&
this.seek(a,b);return this.paused(!0)};d.resume=function(a,b){arguments.length&&this.seek(a,b);return this.paused(!1)};d.seek=function(a,b){return this.totalTime(Number(a),!1!=b)};d.restart=function(a,b){this.reversed(!1);this.paused(!1);return this.totalTime(a?-this._delay:0,!1!==b)};d.reverse=function(a,b){arguments.length&&this.seek(a||this.totalDuration(),b);this.reversed(!0);return this.paused(!1)};d.render=function(){};d.invalidate=function(){return this};d._enabled=function(a,b){this._gc=!a;
this._active=a&&!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration;!0!==b&&(a&&null==this.timeline?this._timeline.insert(this,this._startTime-this._delay):!a&&null!=this.timeline&&this._timeline._remove(this,!0));return!1};d._kill=function(){return this._enabled(!1,!1)};d.kill=function(a,b){this._kill(a,b);return this};d._uncache=function(a){for(a=a?this:this.timeline;a;)a._dirty=!0,a=a.timeline;return this};d.eventCallback=function(a,b,c,d){if(null==a)return null;if("on"===a.substr(0,
2)){if(1===arguments.length)return this.vars[a];if(null==b)delete this.vars[a];else if(this.vars[a]=b,this.vars[a+"Params"]=c,this.vars[a+"Scope"]=d,c)for(var e=c.length;-1<--e;)"{self}"===c[e]&&(c=this.vars[a+"Params"]=c.concat(),c[e]=this);"onUpdate"===a&&(this._onUpdate=b)}return this};d.delay=function(a){if(!arguments.length)return this._delay;this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay);this._delay=a;return this};d.duration=function(a){if(!arguments.length)return this._dirty=
@@ -146,28 +146,28 @@ this._active=a&&!this._paused&&0<this._totalTime&&this._totalTime<this._totalDur
b){if(!arguments.length)return this._totalTime;if(this._timeline){0>a&&(a+=this.totalDuration());if(this._timeline.smoothChildTiming&&(this._dirty&&this.totalDuration(),a>this._totalDuration&&(a=this._totalDuration),this._startTime=(this._paused?this._pauseTime:this._timeline._time)-(!this._reversed?a:this._totalDuration-a)/this._timeScale,this._timeline._dirty||this._uncache(!1),!this._timeline._active))for(var c=this._timeline;c._timeline;)c.totalTime(c._totalTime,!0),c=c._timeline;this._gc&&this._enabled(!0,
!1);this._totalTime!==a&&this.render(a,b,!1)}return this};d.startTime=function(a){if(!arguments.length)return this._startTime;a!=this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.insert(this,a-this._delay));return this};d.timeScale=function(a){if(!arguments.length)return this._timeScale;a=a||1E-6;if(this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime||0===this._pauseTime?this._pauseTime:this._timeline._totalTime;this._startTime=b-(b-
this._startTime)*this._timeScale/a}this._timeScale=a;return this._uncache(!1)};d.reversed=function(a){if(!arguments.length)return this._reversed;a!==this._reversed&&(this._reversed=a,this.totalTime(this._totalTime,!0));return this};d.paused=function(a){if(!arguments.length)return this._paused;a!==this._paused&&this._timeline&&(!a&&this._timeline.smoothChildTiming&&(this._startTime+=this._timeline.rawTime()-this._pauseTime,this._uncache(!1)),this._pauseTime=a?this._timeline.rawTime():null,this._paused=
-a,this._active=!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration);this._gc&&(a||this._enabled(!0,!1));return this};g=c("core.SimpleTimeline",function(a){q.call(this,0,a);this.autoRemoveChildren=this.smoothChildTiming=!0});d=g.prototype=new q;d.constructor=g;d.kill()._gc=!1;d._first=d._last=null;d._sortChildren=!1;d.insert=function(a,b){a._startTime=Number(b||0)+a._delay;a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale);a.timeline&&
+a,this._active=!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration);this._gc&&(a||this._enabled(!0,!1));return this};f=c("core.SimpleTimeline",function(a){p.call(this,0,a);this.autoRemoveChildren=this.smoothChildTiming=!0});d=f.prototype=new p;d.constructor=f;d.kill()._gc=!1;d._first=d._last=null;d._sortChildren=!1;d.insert=function(a,b){a._startTime=Number(b||0)+a._delay;a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale);a.timeline&&
a.timeline._remove(a,!0);a.timeline=a._timeline=this;a._gc&&a._enabled(!0,!0);var c=this._last;if(this._sortChildren)for(var d=a._startTime;c&&c._startTime>d;)c=c._prev;c?(a._next=c._next,c._next=a):(a._next=this._first,this._first=a);a._next?a._next._prev=a:this._last=a;a._prev=c;this._timeline&&this._uncache(!0);return this};d._remove=function(a,b){a.timeline===this&&(b||a._enabled(!1,!0),a.timeline=null,a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=
-a._prev:this._last===a&&(this._last=a._prev),this._timeline&&this._uncache(!0));return this};d.render=function(a,b){var c=this._first,d;for(this._totalTime=this._time=this._rawPrevTime=a;c;){d=c._next;if(c._active||a>=c._startTime&&!c._paused)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=d}};d.rawTime=function(){return this._totalTime};var s=c("TweenLite",function(a,b,c){q.call(this,b,c);if(null==
-a)throw"Cannot tween an undefined reference.";this.target=a;this._overwrite=null==this.vars.overwrite?k[s.defaultOverwrite]:"number"===typeof this.vars.overwrite?this.vars.overwrite>>0:k[this.vars.overwrite];if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){this._targets=a.slice(0);this._propLookup=[];this._siblings=[];for(a=0;a<this._targets.length;a++)c=this._targets[a],c.jquery?(this._targets.splice(a--,1),this._targets=this._targets.concat(c.constructor.makeArray(c))):(this._siblings[a]=
-C(c,this,!1),1===this._overwrite&&1<this._siblings[a].length&&u(c,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=C(a,this,!1),1===this._overwrite&&1<this._siblings.length&&u(a,this,null,1,this._siblings);(this.vars.immediateRender||0===b&&0===this._delay&&!1!==this.vars.immediateRender)&&this.render(-this._delay,!1,!0)},!0);d=s.prototype=new q;d.constructor=s;d.kill()._gc=!1;d.ratio=0;d._firstPT=d._targets=d._overwrittenProps=null;d._notifyPluginsOfEnabled=!1;s.version=1.642;
-s.defaultEase=d._ease=new H(null,null,1,1);s.defaultOverwrite="auto";s.ticker=B;var O=s._plugins={},I=s._tweenLookup={},D=0,y={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,orientToBezier:1,immediateRender:1,repeat:1,
-repeatDelay:1,data:1,paused:1,reversed:1},k={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},A=q._rootFramesTimeline=new g,r=q._rootTimeline=new g;r._startTime=B.time;A._startTime=B.frame;r._active=A._active=!0;q._updateRoot=function(){r.render((B.time-r._startTime)*r._timeScale,!1,!1);A.render((B.frame-A._startTime)*A._timeScale,!1,!1);if(!(B.frame%120)){var a,b,c;for(c in I){b=I[c].tweens;for(a=b.length;-1<--a;)b[a]._gc&&b.splice(a,1);0===b.length&&delete I[c]}}};
-B.addEventListener("tick",q._updateRoot);var C=function(a,b,c){var d=a._gsTweenID,e;if(!I[d||(a._gsTweenID=d="t"+D++)])I[d]={target:a,tweens:[]};if(b&&(a=I[d].tweens,a[e=a.length]=b,c))for(;-1<--e;)a[e]===b&&a.splice(e,1);return I[d].tweens},u=function(a,b,c,d,e){var g,i,h;if(1===d||4<=d){a=e.length;for(g=0;g<a;g++)if((h=e[g])!==b)h._gc||h._enabled(!1,!1)&&(i=!0);else if(5===d)break;return i}var j=b._startTime+1E-10,k=[],n=0,p=0===b._duration,q;for(g=e.length;-1<--g;)if(!((h=e[g])===b||h._gc||h._paused))h._timeline!==
-b._timeline?(q=q||P(b,0,p),0===P(h,q,p)&&(k[n++]=h)):h._startTime<=j&&h._startTime+h.totalDuration()/h._timeScale+1E-10>j&&((p||!h._initted)&&2E-10>=j-h._startTime||(k[n++]=h));for(g=n;-1<--g;)if(h=k[g],2===d&&h._kill(c,a)&&(i=!0),2!==d||!h._firstPT&&h._initted)h._enabled(!1,!1)&&(i=!0);return i},P=function(a,b,c){for(var d=a._timeline,e=d._timeScale,g=a._startTime;d._timeline;){g+=d._startTime;e*=d._timeScale;if(d._paused)return-100;d=d._timeline}g/=e;return g>b?g-b:c&&g===b||!a._initted&&2E-10>
-g-b?1E-10:(g+=a.totalDuration()/a._timeScale/e)>b?0:g-b-1E-10};d._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,s.to(this.target,0,this.vars.startAt));var a,b;this._ease=this.vars.ease instanceof H?this.vars.easeParams instanceof Array?this.vars.ease.config.apply(this.vars.ease,this.vars.easeParams):this.vars.ease:"function"===typeof this.vars.ease?new H(this.vars.ease,this.vars.easeParams):s.defaultEase;this._easeType=this._ease._type;this._easePower=
-this._ease._power;this._firstPT=null;if(this._targets)for(a=this._targets.length;-1<--a;){if(this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],this._overwrittenProps?this._overwrittenProps[a]:null))b=!0}else b=this._initProps(this.target,this._propLookup,this._siblings,this._overwrittenProps);b&&s._onPluginEvent("_onInitAllProps",this);this._overwrittenProps&&null==this._firstPT&&"function"!==typeof this.target&&this._enabled(!1,!1);if(this.vars.runBackwards)for(a=this._firstPT;a;)a.s+=
-a.c,a.c=-a.c,a=a._next;this._onUpdate=this.vars.onUpdate;this._initted=!0};d._initProps=function(a,b,c,d){var e,g,i,h,j,k;if(null==a)return!1;for(e in this.vars){if(y[e]){if("onStartParams"===e||"onUpdateParams"===e||"onCompleteParams"===e||"onReverseCompleteParams"===e||"onRepeatParams"===e)if(j=this.vars[e])for(g=j.length;-1<--g;)"{self}"===j[g]&&(j=this.vars[e]=j.concat(),j[g]=this)}else if(O[e]&&(h=new O[e])._onInitTween(a,this.vars[e],this)){this._firstPT=k={_next:this._firstPT,t:h,p:"setRatio",
-s:0,c:1,f:!0,n:e,pg:!0,pr:h._priority};for(g=h._overwriteProps.length;-1<--g;)b[h._overwriteProps[g]]=this._firstPT;if(h._priority||h._onInitAllProps)i=!0;if(h._onDisable||h._onEnable)this._notifyPluginsOfEnabled=!0}else this._firstPT=b[e]=k={_next:this._firstPT,t:a,p:e,f:"function"===typeof a[e],n:e,pg:!1,pr:0},k.s=!k.f?parseFloat(a[e]):a[e.indexOf("set")||"function"!==typeof a["get"+e.substr(3)]?e:"get"+e.substr(3)](),g=this.vars[e],k.c="number"===typeof g?g-k.s:"string"===typeof g&&"="===g.charAt(1)?
-parseInt(g.charAt(0)+"1")*Number(g.substr(2)):Number(g)||0;k&&k._next&&(k._next._prev=k)}return d&&this._kill(d,a)?this._initProps(a,b,c,d):1<this._overwrite&&this._firstPT&&1<c.length&&u(a,this,b,this._overwrite,c)?(this._kill(b,a),this._initProps(a,b,c,d)):i};d.render=function(a,b,c){var d=this._time,e,g;if(a>=this._duration){if(this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(e=!0,g="onComplete"),0===this._duration){if(0===a||0>
-this._rawPrevTime)this._rawPrevTime!==a&&(c=!0);this._rawPrevTime=a}}else if(0>=a){this._totalTime=this._time=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==d||0===this._duration&&0<this._rawPrevTime)g="onReverseComplete",e=this._reversed;0>a?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(c=!0),this._rawPrevTime=a)):this._initted||(c=!0)}else if(this._totalTime=this._time=a,this._easeType){var h=a/this._duration,j=this._easeType,k=this._easePower;if(1===j||3===j&&0.5<=
+a._prev:this._last===a&&(this._last=a._prev),this._timeline&&this._uncache(!0));return this};d.render=function(a,b){var c=this._first,d;for(this._totalTime=this._time=this._rawPrevTime=a;c;){d=c._next;if(c._active||a>=c._startTime&&!c._paused)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=d}};d.rawTime=function(){return this._totalTime};var r=c("TweenLite",function(a,b,c){p.call(this,b,c);if(null==
+a)throw"Cannot tween an undefined reference.";this.target=a;this._overwrite=null==this.vars.overwrite?j[r.defaultOverwrite]:"number"===typeof this.vars.overwrite?this.vars.overwrite>>0:j[this.vars.overwrite];if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){this._targets=a.slice(0);this._propLookup=[];this._siblings=[];for(a=0;a<this._targets.length;a++)c=this._targets[a],c.jquery?(this._targets.splice(a--,1),this._targets=this._targets.concat(c.constructor.makeArray(c))):(this._siblings[a]=
+D(c,this,!1),1===this._overwrite&&1<this._siblings[a].length&&A(c,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=D(a,this,!1),1===this._overwrite&&1<this._siblings.length&&A(a,this,null,1,this._siblings);(this.vars.immediateRender||0===b&&0===this._delay&&!1!==this.vars.immediateRender)&&this.render(-this._delay,!1,!0)},!0);d=r.prototype=new p;d.constructor=r;d.kill()._gc=!1;d.ratio=0;d._firstPT=d._targets=d._overwrittenProps=null;d._notifyPluginsOfEnabled=!1;r.version=1.651;
+r.defaultEase=d._ease=new J(null,null,1,1);r.defaultOverwrite="auto";r.ticker=C;var P=r._plugins={},I=r._tweenLookup={},E=0,y={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,orientToBezier:1,immediateRender:1,repeat:1,
+repeatDelay:1,data:1,paused:1,reversed:1},j={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},x=p._rootFramesTimeline=new f,t=p._rootTimeline=new f;t._startTime=C.time;x._startTime=C.frame;t._active=x._active=!0;p._updateRoot=function(){t.render((C.time-t._startTime)*t._timeScale,!1,!1);x.render((C.frame-x._startTime)*x._timeScale,!1,!1);if(!(C.frame%120)){var a,b,c;for(c in I){b=I[c].tweens;for(a=b.length;-1<--a;)b[a]._gc&&b.splice(a,1);0===b.length&&delete I[c]}}};
+C.addEventListener("tick",p._updateRoot);var D=function(a,b,c){var d=a._gsTweenID,e;if(!I[d||(a._gsTweenID=d="t"+E++)])I[d]={target:a,tweens:[]};if(b&&(a=I[d].tweens,a[e=a.length]=b,c))for(;-1<--e;)a[e]===b&&a.splice(e,1);return I[d].tweens},A=function(a,b,c,d,e){var f,i,h;if(1===d||4<=d){a=e.length;for(f=0;f<a;f++)if((h=e[f])!==b)h._gc||h._enabled(!1,!1)&&(i=!0);else if(5===d)break;return i}var j=b._startTime+1E-10,k=[],l=0,n=0===b._duration,p;for(f=e.length;-1<--f;)if(!((h=e[f])===b||h._gc||h._paused))h._timeline!==
+b._timeline?(p=p||Q(b,0,n),0===Q(h,p,n)&&(k[l++]=h)):h._startTime<=j&&h._startTime+h.totalDuration()/h._timeScale+1E-10>j&&((n||!h._initted)&&2E-10>=j-h._startTime||(k[l++]=h));for(f=l;-1<--f;)if(h=k[f],2===d&&h._kill(c,a)&&(i=!0),2!==d||!h._firstPT&&h._initted)h._enabled(!1,!1)&&(i=!0);return i},Q=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){f+=d._startTime;e*=d._timeScale;if(d._paused)return-100;d=d._timeline}f/=e;return f>b?f-b:c&&f===b||!a._initted&&2E-10>
+f-b?1E-10:(f+=a.totalDuration()/a._timeScale/e)>b?0:f-b-1E-10};d._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,r.to(this.target,0,this.vars.startAt));var a,b;this._ease=this.vars.ease instanceof J?this.vars.easeParams instanceof Array?this.vars.ease.config.apply(this.vars.ease,this.vars.easeParams):this.vars.ease:"function"===typeof this.vars.ease?new J(this.vars.ease,this.vars.easeParams):r.defaultEase;this._easeType=this._ease._type;this._easePower=
+this._ease._power;this._firstPT=null;if(this._targets)for(a=this._targets.length;-1<--a;){if(this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],this._overwrittenProps?this._overwrittenProps[a]:null))b=!0}else b=this._initProps(this.target,this._propLookup,this._siblings,this._overwrittenProps);b&&r._onPluginEvent("_onInitAllProps",this);this._overwrittenProps&&null==this._firstPT&&"function"!==typeof this.target&&this._enabled(!1,!1);if(this.vars.runBackwards)for(a=this._firstPT;a;)a.s+=
+a.c,a.c=-a.c,a=a._next;this._onUpdate=this.vars.onUpdate;this._initted=!0};d._initProps=function(a,b,c,d){var e,f,h,i,j,k;if(null==a)return!1;for(e in this.vars){if(y[e]){if("onStartParams"===e||"onUpdateParams"===e||"onCompleteParams"===e||"onReverseCompleteParams"===e||"onRepeatParams"===e)if(j=this.vars[e])for(f=j.length;-1<--f;)"{self}"===j[f]&&(j=this.vars[e]=j.concat(),j[f]=this)}else if(P[e]&&(i=new P[e])._onInitTween(a,this.vars[e],this)){this._firstPT=k={_next:this._firstPT,t:i,p:"setRatio",
+s:0,c:1,f:!0,n:e,pg:!0,pr:i._priority};for(f=i._overwriteProps.length;-1<--f;)b[i._overwriteProps[f]]=this._firstPT;if(i._priority||i._onInitAllProps)h=!0;if(i._onDisable||i._onEnable)this._notifyPluginsOfEnabled=!0}else this._firstPT=b[e]=k={_next:this._firstPT,t:a,p:e,f:"function"===typeof a[e],n:e,pg:!1,pr:0},k.s=!k.f?parseFloat(a[e]):a[e.indexOf("set")||"function"!==typeof a["get"+e.substr(3)]?e:"get"+e.substr(3)](),f=this.vars[e],k.c="number"===typeof f?f-k.s:"string"===typeof f&&"="===f.charAt(1)?
+parseInt(f.charAt(0)+"1")*Number(f.substr(2)):Number(f)||0;k&&k._next&&(k._next._prev=k)}return d&&this._kill(d,a)?this._initProps(a,b,c,d):1<this._overwrite&&this._firstPT&&1<c.length&&A(a,this,b,this._overwrite,c)?(this._kill(b,a),this._initProps(a,b,c,d)):h};d.render=function(a,b,c){var d=this._time,e,f;if(a>=this._duration){if(this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(e=!0,f="onComplete"),0===this._duration){if(0===a||0>
+this._rawPrevTime)this._rawPrevTime!==a&&(c=!0);this._rawPrevTime=a}}else if(0>=a){this._totalTime=this._time=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==d||0===this._duration&&0<this._rawPrevTime)f="onReverseComplete",e=this._reversed;0>a?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(c=!0),this._rawPrevTime=a)):this._initted||(c=!0)}else if(this._totalTime=this._time=a,this._easeType){var h=a/this._duration,j=this._easeType,k=this._easePower;if(1===j||3===j&&0.5<=
h)h=1-h;3===j&&(h*=2);1===k?h*=h:2===k?h*=h*h:3===k?h*=h*h*h:4===k&&(h*=h*h*h*h);this.ratio=1===j?1-h:2===j?h:0.5>a/this._duration?h/2:1-h/2}else this.ratio=this._ease.getRatio(a/this._duration);if(this._time!==d||c){this._initted||(this._init(),!e&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===d&&this.vars.onStart&&(0!==this._time||0===this._duration))b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||
-i);for(a=this._firstPT;a;){if(a.f)a.t[a.p](a.c*this.ratio+a.s);else a.t[a.p]=a.c*this.ratio+a.s;a=a._next}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||i));g&&!this._gc&&(e&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[g]&&this.vars[g].apply(this.vars[g+"Scope"]||this,this.vars[g+"Params"]||i))}};d._kill=function(a,b){"all"===a&&(a=null);if(null==a&&(null==b||b==this.target))return this._enabled(!1,!1);var b=
-b||this._targets||this.target,c,d,e,g,h,i,j;if((b instanceof Array||b.jquery)&&"object"===typeof b[0])for(c=b.length;-1<--c;)this._kill(a,b[c])&&(h=!0);else{if(this._targets)for(c=this._targets.length;-1<--c;){if(b===this._targets[c]){g=this._propLookup[c]||{};this._overwrittenProps=this._overwrittenProps||[];d=this._overwrittenProps[c]=a?this._overwrittenProps[c]||{}:"all";break}}else{if(b!==this.target)return!1;g=this._propLookup;d=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(g)for(e in i=
-a||g,j=a!=d&&"all"!=d&&a!=g&&(null==a||!0!=a._tempKill),i){if(c=g[e]){c.pg&&c.t._kill(i)&&(h=!0);if(!c.pg||0===c.t._overwriteProps.length)c._prev?c._prev._next=c._next:c===this._firstPT&&(this._firstPT=c._next),c._next&&(c._next._prev=c._prev),c._next=c._prev=null;delete g[e]}j&&(d[e]=1)}}return h};d.invalidate=function(){this._notifyPluginsOfEnabled&&s._onPluginEvent("_onDisable",this);this._onUpdate=this._overwrittenProps=this._firstPT=null;this._initted=this._active=this._notifyPluginsOfEnabled=
-!1;this._propLookup=this._targets?{}:[];return this};d._enabled=function(a,b){if(a&&this._gc)if(this._targets)for(var c=this._targets.length;-1<--c;)this._siblings[c]=C(this._targets[c],this,!0);else this._siblings=C(this.target,this,!0);q.prototype._enabled.call(this,a,b);return this._notifyPluginsOfEnabled&&this._firstPT?s._onPluginEvent(a?"_onEnable":"_onDisable",this):!1};s.to=function(a,b,c){return new s(a,b,c)};s.from=function(a,b,c){c.runBackwards=!0;!1!=c.immediateRender&&(c.immediateRender=
-!0);return new s(a,b,c)};s.fromTo=function(a,b,c,d){d.startAt=c;c.immediateRender&&(d.immediateRender=!0);return new s(a,b,d)};s.delayedCall=function(a,b,c,d,e){return new s(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:e,overwrite:0})};s.set=function(a,b){return new s(a,0,b)};s.killTweensOf=s.killDelayedCallsTo=function(a,b){for(var c=s.getTweensOf(a),d=c.length;-1<--d;)c[d]._kill(b,
-a)};s.getTweensOf=function(a){if(null!=a){var b,c,d;if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){b=a.length;for(c=[];-1<--b;)c=c.concat(s.getTweensOf(a[b]));for(b=c.length;-1<--b;){d=c[b];for(a=b;-1<--a;)d===c[a]&&c.splice(b,1)}}else{c=C(a).concat();for(b=c.length;-1<--b;)c[b]._gc&&c.splice(b,1)}return c}};var L=c("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(",");this._propName=this._overwriteProps[0];this._priority=b||0},!0);d=L.prototype;L.version=12;L.API=
-2;d._firstPT=null;d._addTween=function(a,b,c,d,e,g){var h;if(null!=d&&(h="number"===typeof d||"="!==d.charAt(1)?Number(d)-c:parseInt(d.charAt(0)+"1")*Number(d.substr(2))))this._firstPT=a={_next:this._firstPT,t:a,p:b,s:c,c:h,f:"function"===typeof a[b],n:e||b,r:g},a._next&&(a._next._prev=a)};d.setRatio=function(a){for(var b=this._firstPT,c;b;){c=b.c*a+b.s;b.r&&(c=c+(0<c?0.5:-0.5)>>0);if(b.f)b.t[b.p](c);else b.t[b.p]=c;b=b._next}};d._kill=function(a){if(null!=a[this._propName])this._overwriteProps=[];
-else for(var b=this._overwriteProps.length;-1<--b;)null!=a[this._overwriteProps[b]]&&this._overwriteProps.splice(b,1);for(b=this._firstPT;b;)null!=a[b.n]&&(b._next&&(b._next._prev=b._prev),b._prev?(b._prev._next=b._next,b._prev=null):this._firstPT===b&&(this._firstPT=b._next)),b=b._next;return!1};d._roundProps=function(a,b){for(var c=this._firstPT;c;){if(a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")])c.r=b;c=c._next}};s._onPluginEvent=function(a,b){var c=b._firstPT,d;if("_onInitAllProps"===
-a){for(var e,g,h,i;c;){i=c._next;for(e=g;e&&e.pr>c.pr;)e=e._next;(c._prev=e?e._prev:h)?c._prev._next=c:g=c;(c._next=e)?e._prev=c:h=c;c=i}c=b._firstPT=g}for(;c;)c.pg&&"function"===typeof c.t[a]&&c.t[a]()&&(d=!0),c=c._next;return d};L.activate=function(a){for(var b=a.length;-1<--b;)a[b].API===L.API&&(s._plugins[(new a[b])._propName]=a[b]);return!0};if(n=p._gsQueue){for(j=0;j<n.length;j++)n[j]();for(d in a)a[d].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+d)}})(window);
\ No newline at end of file
+i);for(a=this._firstPT;a;){if(a.f)a.t[a.p](a.c*this.ratio+a.s);else a.t[a.p]=a.c*this.ratio+a.s;a=a._next}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||i));f&&!this._gc&&(e&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[f]&&this.vars[f].apply(this.vars[f+"Scope"]||this,this.vars[f+"Params"]||i))}};d._kill=function(a,b){"all"===a&&(a=null);if(null==a&&(null==b||b==this.target))return this._enabled(!1,!1);var b=
+b||this._targets||this.target,c,d,e,f,h,i,j;if((b instanceof Array||b.jquery)&&"object"===typeof b[0])for(c=b.length;-1<--c;)this._kill(a,b[c])&&(h=!0);else{if(this._targets)for(c=this._targets.length;-1<--c;){if(b===this._targets[c]){f=this._propLookup[c]||{};this._overwrittenProps=this._overwrittenProps||[];d=this._overwrittenProps[c]=a?this._overwrittenProps[c]||{}:"all";break}}else{if(b!==this.target)return!1;f=this._propLookup;d=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(f)for(e in i=
+a||f,j=a!=d&&"all"!=d&&a!=f&&(null==a||!0!=a._tempKill),i){if(c=f[e]){c.pg&&c.t._kill(i)&&(h=!0);if(!c.pg||0===c.t._overwriteProps.length)c._prev?c._prev._next=c._next:c===this._firstPT&&(this._firstPT=c._next),c._next&&(c._next._prev=c._prev),c._next=c._prev=null;delete f[e]}j&&(d[e]=1)}}return h};d.invalidate=function(){this._notifyPluginsOfEnabled&&r._onPluginEvent("_onDisable",this);this._onUpdate=this._overwrittenProps=this._firstPT=null;this._initted=this._active=this._notifyPluginsOfEnabled=
+!1;this._propLookup=this._targets?{}:[];return this};d._enabled=function(a,b){if(a&&this._gc)if(this._targets)for(var c=this._targets.length;-1<--c;)this._siblings[c]=D(this._targets[c],this,!0);else this._siblings=D(this.target,this,!0);p.prototype._enabled.call(this,a,b);return this._notifyPluginsOfEnabled&&this._firstPT?r._onPluginEvent(a?"_onEnable":"_onDisable",this):!1};r.to=function(a,b,c){return new r(a,b,c)};r.from=function(a,b,c){c.runBackwards=!0;!1!=c.immediateRender&&(c.immediateRender=
+!0);return new r(a,b,c)};r.fromTo=function(a,b,c,d){d.startAt=c;c.immediateRender&&(d.immediateRender=!0);return new r(a,b,d)};r.delayedCall=function(a,b,c,d,e){return new r(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:e,overwrite:0})};r.set=function(a,b){return new r(a,0,b)};r.killTweensOf=r.killDelayedCallsTo=function(a,b){for(var c=r.getTweensOf(a),d=c.length;-1<--d;)c[d]._kill(b,
+a)};r.getTweensOf=function(a){if(null!=a){var b,c,d;if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){b=a.length;for(c=[];-1<--b;)c=c.concat(r.getTweensOf(a[b]));for(b=c.length;-1<--b;){d=c[b];for(a=b;-1<--a;)d===c[a]&&c.splice(b,1)}}else{c=D(a).concat();for(b=c.length;-1<--b;)c[b]._gc&&c.splice(b,1)}return c}};var M=c("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(",");this._propName=this._overwriteProps[0];this._priority=b||0},!0);d=M.prototype;M.version=12;M.API=
+2;d._firstPT=null;d._addTween=function(a,b,c,d,e,f){var h;if(null!=d&&(h="number"===typeof d||"="!==d.charAt(1)?Number(d)-c:parseInt(d.charAt(0)+"1")*Number(d.substr(2))))this._firstPT=a={_next:this._firstPT,t:a,p:b,s:c,c:h,f:"function"===typeof a[b],n:e||b,r:f},a._next&&(a._next._prev=a)};d.setRatio=function(a){for(var b=this._firstPT,c;b;){c=b.c*a+b.s;b.r&&(c=c+(0<c?0.5:-0.5)>>0);if(b.f)b.t[b.p](c);else b.t[b.p]=c;b=b._next}};d._kill=function(a){if(null!=a[this._propName])this._overwriteProps=[];
+else for(var b=this._overwriteProps.length;-1<--b;)null!=a[this._overwriteProps[b]]&&this._overwriteProps.splice(b,1);for(b=this._firstPT;b;)null!=a[b.n]&&(b._next&&(b._next._prev=b._prev),b._prev?(b._prev._next=b._next,b._prev=null):this._firstPT===b&&(this._firstPT=b._next)),b=b._next;return!1};d._roundProps=function(a,b){for(var c=this._firstPT;c;){if(a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")])c.r=b;c=c._next}};r._onPluginEvent=function(a,b){var c=b._firstPT,d;if("_onInitAllProps"===
+a){for(var e,f,h,i;c;){i=c._next;for(e=f;e&&e.pr>c.pr;)e=e._next;(c._prev=e?e._prev:h)?c._prev._next=c:f=c;(c._next=e)?e._prev=c:h=c;c=i}c=b._firstPT=f}for(;c;)c.pg&&"function"===typeof c.t[a]&&c.t[a]()&&(d=!0),c=c._next;return d};M.activate=function(a){for(var b=a.length;-1<--b;)a[b].API===M.API&&(r._plugins[(new a[b])._propName]=a[b]);return!0};if(l=n._gsQueue){for(k=0;k<l.length;k++)l[k]();for(d in a)a[d].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+d)}})(window);
\ No newline at end of file
diff --git a/src/minified/plugins/CSSPlugin.min.js b/src/minified/plugins/CSSPlugin.min.js
index 423f99e..80fad52 100755
--- a/src/minified/plugins/CSSPlugin.min.js
+++ b/src/minified/plugins/CSSPlugin.min.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.65
- * DATE: 2012-11-30
+ * VERSION: beta 1.651
+ * DATE: 2012-12-10
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -10,53 +10,53 @@
*
* @author: Jack Doyle, [email protected]
*/
-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(R){var w=function(){R.call(this,"css");this._overwriteProps.length=0},X,Y,s,Z,J={},l=w.prototype=new R("css");l.constructor=w;w.version=1.65;w.API=2;w.defaultTransformPerspective=0;l="px";w.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l};var $=/(?:\d|\-\d|\.\d|\-\.\d)+/g,ja=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
-aa=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,S=/[^\d\-\.]/g,Ba=/(?:\d|\-|\+|=|#|\.)*/g,ba=/opacity *= *([^)]*)/,Ca=/opacity:([^;]*)/,ka=/([A-Z])/g,la=/-([a-z])/gi,ma=function(a,b){return b.toUpperCase()},Da=/(?:Left|Right|Width)/i,Ea=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Fa=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,E=Math.PI/180,N=180/Math.PI,T={},O=document,P=O.createElement("div"),F=w._internals={_specialProps:J},x=navigator.userAgent,ca,na,oa,pa,qa,K,ra=x.indexOf("Android"),sa=
-O.createElement("div");pa=(oa=-1!==x.indexOf("Safari")&&-1===x.indexOf("Chrome")&&(-1===ra||3<Number(x.substr(ra+8,1))))&&6>Number(x.substr(x.indexOf("Version/")+8,1));/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(x);qa=parseFloat(RegExp.$1);sa.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";K=(x=sa.getElementsByTagName("a")[0])?/^0.55/.test(x.style.opacity):!1;var ta=function(a){return ba.test("string"===typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},ua=
-"",da="",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?(da=3===f?"ms":c[f],ua="-"+da.toLowerCase()+"-",da+a):null},U=O.defaultView?O.defaultView.getComputedStyle:function(){},v=w.getStyle=function(a,b,e,c,f){var i;if(!K&&"opacity"===b)return ta(a);!c&&a.style[b]?i=a.style[b]:(e=e||U(a,null))?i=(a=e.getPropertyValue(b.replace(ka,"-$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(la,ma)]=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(la,ma)]=b[i];K||(c.opacity=
-ta(a));a=ea(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},va=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 fa(a,d,a[d],g));if(c)for(d in c)"className"!==d&&(f[d]=c[d]);return{difs:f,firstMPT:g}},Ga={width:["Left","Right"],height:["Top","Bottom"]},Ha=["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=Da.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},ga=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]:"")},wa=function(a,b){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*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")*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},ha=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]},ia=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($)||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},H="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(l in M)H+="|"+l+"\\b";var H=RegExp(H+")","gi"),xa=function(a,b,e){if(null==a)return function(a){return a};var c=b?(a.match(H)||[""])[0]:"",f=a.split(c).join("").match(aa)||[],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($,""):"";return b?function(a){"number"===typeof a&&(a+=h);var b=(a.match(H)||[c])[0],a=a.split(b).join("").match(aa)||
-[],n=a.length;if(j>n--)for(;++n<j;)a[n]=e?a[(n-1)/2>>0]:f[n];return i+a.join(g)+g+b+d}:function(a){"number"===typeof a&&(a+=h);var a=a.match(aa)||[],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}},x=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)}};F._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 fa=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)};F._parseToProxy=function(a,b,e,c,f,i){var d=c,g={},j={},h=e._transform,k=T,m;e._transform=null;T=b;c=a=e.parse(a,b,c,f);T=
-k;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||(m=new fa(c,"s",h,m,c.r),c.c=0),1===c.type))for(e=c.l;0<--e;)k="xn"+e,h=c.p+"_"+k,j[h]=c.data[k],g[h]=c[k],i||(m=new fa(c,k,h,m,c.rxp[k]));c=c._next}return{proxy:g,end:j,firstMPT:m,pt:a}};var q=F.CSSPropTween=function(a,b,e,c,f,i,d,g,j,h,k){this.t=a;this.p=b;this.s=e;this.c=c;this.n=d||"css_"+b;a instanceof q||Z.push(this.n);this.r=g;this.type=i||0;j&&(this.pr=j,X=!0);
-this.b=void 0===h?e:h;this.e=void 0===k?e+c:k;f&&(this._next=f,f._prev=this)},W=w.parseComplex=function(a,b,e,c,f,i,d,g,j,h){var d=new q(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!==ca,k,m,n,A,l;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],k=b[i],(h=parseFloat(j))||0===h)d.appendXtra("",h,wa(k,h),k.replace(ja,""),g&&-1!==k.indexOf("px"),!0);else if(f&&("#"===j.charAt(0)||
-0===j.indexOf("rgb")||M[j]))j=ia(j),k=ia(k),(h=6<j.length+k.length)&&!K&&0===k[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],k[0]-j[0],",",!0,!0).appendXtra("",j[1],k[1]-j[1],",",!0).appendXtra("",j[2],k[2]-j[2],h?",":")",!0),h&&(j=4>j.length?1:j[3],d.appendXtra("",j,(4>k.length?1:k[3])-j,")",!1)));else if(h=j.match($)){n=k.match(ja);if(!n||n.length!==h.length)return d;for(k=m=0;k<h.length;k++)l=h[k],A=j.indexOf(l,m),
-d.appendXtra(j.substr(m,A-m),Number(l),wa(n[k],l),"",g&&"px"===j.substr(A+l.length,2),0===k),m=A+l.length;d["xs"+d.l]+=j.substr(m)}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},B=9,l=q.prototype;for(l.l=l.pr=0;0<--B;)l["xn"+B]=0,l["xs"+B]="";l.xs0="";l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null;l.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 q(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 ya=function(a,b,e,c,f,i,d){this.p=c?Q(a)||a:a;J[a]=J[this.p]=this;this.format=i||xa(b,f);e&&
-(this.parse=e);this.clrs=f;this.dflt=b;this.pr=d||0},p=F._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 ya(a[g],b[g],e,c&&0===g,f,i,d)},F=function(a,b){J[a]||p(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 J[f].parse(a,c,f,i,d,g,j)})},l=ya.prototype;l.parseComplex=function(a,b,e,c,f,i){return W(a,
-this.p,b,e,this.clrs,this.dflt,c,this.pr,f,i)};l.parse=function(a,b,e,c,f,i){return this.parseComplex(a.style,this.format(v(a,e,s,!1,this.dflt)),this.format(b),f,i)};w.registerSpecialProp=function(a,b,e){p(a,null,function(a,f,i,d,g,j){g=new q(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 za="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),C=Q("transform"),Ia=ua+"transform",Aa=Q("transformOrigin"),I=null!==Q("perspective"),
-ea=function(a,b,e){var c=e?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,i=I?parseFloat(v(a,Aa,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,d,g,j,h,k,m,n,A;C?d=v(a,Ia,b,!0):a.currentStyle&&(d=(d=a.currentStyle.filter.match(Ea))&&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],
-k=g[13],m=g[14],c.zOrigin&&(m=-c.zOrigin,h=f*m-g[12],k=d*m-g[13],m=j*m+c.zOrigin-g[14]),!e||h!==c.x||k!==c.y||m!==c.z){n=g[0];A=g[1];var l=g[2],z=g[3],t=g[4],r=g[5],p=g[6],Ja=g[7];g=g[11];var s=c.rotationX=Math.atan2(p,j),q,x,u,y;s&&(u=Math.cos(-s),y=Math.sin(-s),s=t*u+f*y,q=r*u+d*y,x=p*u+j*y,f=t*-y+f*u,d=r*-y+d*u,j=p*-y+j*u,g=Ja*-y+g*u,t=s,r=q,p=x);if(s=c.rotationY=Math.atan2(f,n))u=Math.cos(-s),y=Math.sin(-s),q=A*u-d*y,x=l*u-j*y,d=A*y+d*u,j=l*y+j*u,g=z*y+g*u,n=n*u-f*y,A=q,l=x;if(s=c.rotation=Math.atan2(A,
-r))u=Math.cos(-s),y=Math.sin(-s),n=n*u+t*y,q=A*u+r*y,r=A*-y+r*u,p=l*-y+p*u,A=q;Math.abs(c.rotationY)>Math.PI/2&&(c.rotationY*=-1,c.rotationX+=Math.PI,c.rotation=Math.PI-c.rotation);c.scaleX=Math.sqrt(n*n+A*A);c.scaleY=Math.sqrt(r*r+d*d);c.scaleZ=Math.sqrt(p*p+j*j);c.skewX=0;c.perspective=g?1/g:0;c.x=h;c.y=k;c.z=m}}else if(!I||0===g.length||c.x!==g[4]||c.y!==g[5]||!c.rotationX&&!c.rotationY){h=(d=6<=g.length)?g[0]:1;m=g[1]||0;k=g[2]||0;n=d?g[3]:1;c.x=g[4]||0;c.y=g[5]||0;d=Math.sqrt(h*h+m*m);j=Math.sqrt(n*
-n+k*k);h=h||m?Math.atan2(m,h):c.rotation||0;k=k||n?Math.atan2(k,n)+h:c.skewX||0;m=d-Math.abs(c.scaleX||0);n=j-Math.abs(c.scaleY||0);Math.abs(k)>Math.PI/2&&Math.abs(k)<1.5*Math.PI&&(f?(d*=-1,k+=0>=h?Math.PI:-Math.PI,h+=0>=h?Math.PI:-Math.PI):(j*=-1,k+=0>=k?Math.PI:-Math.PI));f=(h-c.rotation)%Math.PI;A=(k-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<m||-1E-6>m||1E-6<n||-1E-6>n||1E-6<f||-1E-6>f||1E-6<A||-1E-6>A)c.scaleX=d,c.scaleY=j,c.rotation=h,c.skewX=k;I&&(c.rotationX=c.rotationY=c.z=0,c.perspective=
-parseFloat(w.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},Ka=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 k=this.t.offsetWidth;h=this.t.offsetHeight;var m=
-"absolute"!==j.position,n="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+e+", M21="+i+", M22="+c,l=b.x,s=b.y,z,t;null!=b.ox&&(z=(b.oxp?0.01*k*b.ox:b.ox)-k/2,t=(b.oyp?0.01*h*b.oy:b.oy)-h/2,l+=z-(z*f+t*e),s+=t-(z*i+t*c));if(m)z=k/2,t=h/2,n+=", Dx="+(z-(z*f+t*e)+l)+", Dy="+(t-(z*i+t*c)+s)+")";else{var r=8>qa?1:-1;z=b.ieOffsetX||0;t=b.ieOffsetY||0;b.ieOffsetX=Math.round((k-((0>f?-f:f)*k+(0>e?-e:e)*h))/2+l);b.ieOffsetY=Math.round((h-((0>c?-c:c)*h+(0>i?-i:i)*k))/2+s);for(B=0;4>B;B++)k=Ha[B],
-h=j[k],h=-1!==h.indexOf("px")?parseFloat(h):D(this.t,k,parseFloat(h),h.replace(Ba,""))||0,l=h!==b[k]?2>B?-b.ieOffsetX:-b.ieOffsetY:2>B?z-b.ieOffsetX:t-b.ieOffsetY,g[k]=(b[k]=Math.round(h-l*(0===B||2===B?1:r)))+"px";n+=", sizingMethod='auto expand')"}g.filter=-1!==d.indexOf("DXImageTransform.Microsoft.Matrix(")?d.replace(Fa,n):n+" "+d;if(0===a||1===a)if(1===f&&0===e&&0===i&&1===c&&(!m||-1!==n.indexOf("Dx=0, Dy=0")))(!ba.test(d)||100===parseFloat(RegExp.$1))&&-1===d.indexOf("gradient(")&&g.removeAttribute("filter")}},
-La=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,k=0,m=0,n=a.scaleZ,l=0,s=0,z=0,t=b?-1/b:0,r=a.rotation,p=a.zOrigin,q,x,v,w,u;r&&(q=Math.cos(r),r=Math.sin(r),v=g*r,c=e*-r,g*=q,e*=q,d=v);if(r=a.rotationY)q=Math.cos(r),r=Math.sin(r),w=n*-r,u=t*-r,f=e*r,j=d*r,n*=q,t*=q,e*=q,d*=q,k=w,s=u;if(r=a.rotationX)q=Math.cos(r),r=Math.sin(r),x=c*q+f*r,v=g*q+j*r,w=m*q+n*r,u=z*q+t*r,f=c*-r+f*q,j=g*-r+j*q,n=m*-r+n*q,t=z*-r+t*q,c=x,g=v,m=w,z=u;p&&(l-=p,i=f*l,h=j*l,l=n*l+p);
-i+=a.x;h+=a.y;l+=a.z;1E-6>l&&-1E-6<l&&(l=0);this.t.style[C]="matrix3d("+(1E-6>e&&-1E-6<e?0:e)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>k&&-1E-6<k?0:k)+","+(1E-6>s&&-1E-6<s?0:s)+","+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>g&&-1E-6<g?0:g)+","+(1E-6>m&&-1E-6<m?0:m)+","+(1E-6>z&&-1E-6<z?0:z)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>j&&-1E-6<j?0:j)+","+(1E-6>n&&-1E-6<n?0:n)+","+(1E-6>t&&-1E-6<t?0:t)+","+(1E-6>i&&-1E-6<i?0:i)+","+(1E-6>h&&-1E-6<h?0:h)+","+l+","+(b?1+-l/b:1)+")"},Ma=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+")"}};p("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=ea(a,s,!0),g=a.style,j=za.length,h,k,m,n;if("string"===typeof d.transform&&C)k=g[C],g[C]=d.transform,h=ea(a,null,!1),g[C]=k;else if("object"===typeof d){k=null!=d.rotation?d.rotation:null!=d.rotationZ?d.rotationZ:b.rotation*N;h={scaleX:G(null!=d.scaleX?d.scaleX:d.scale,b.scaleX),scaleY:G(null!=d.scaleY?d.scaleY:d.scale,b.scaleY),scaleZ:G(null!=d.scaleZ?d.scaleZ:d.scale,b.scaleZ),x:G(d.x,b.x),y:G(d.y,b.y),z:G(d.z,b.z),perspective:G(d.transformPerspective,
-b.perspective)};h.rotation=null!=d.shortRotation||null!=d.shortRotationZ?ha(d.shortRotation||d.shortRotationZ||0,b.rotation):"number"===typeof k?k*E:L(k,b.rotation);I&&(h.rotationX=null!=d.shortRotationX?ha(d.shortRotationX,b.rotationX):"number"===typeof d.rotationX?d.rotationX*E:L(d.rotationX,b.rotationX),h.rotationY=null!=d.shortRotationY?ha(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(k=h.skewY-b.skewY)h.skewX+=k,h.rotation+=k;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)}n=b.z||b.rotationX||b.rotationY||h.z||h.rotationX||h.rotationY||h.perspective;!n&&null!=h.scale&&(h.scaleZ=
-1);if(C){if(oa){na=!0;if(""===g.zIndex&&(k=v(a,"zIndex",s),"auto"===k||""===k))g.zIndex=0;pa&&(g.WebkitBackfaceVisibility=d.WebkitBackfaceVisibility||(n?"visible":"hidden"))}}else g.zoom=1;f=new q(a,"transform",0,0,f,2);f.setRatio=n&&I?La:C?Ma:Ka;f.plugin=i;f.data=b;for(Z.pop();-1<--j;)if(e=za[j],m=h[e]-b[e],1E-6<m||-1E-6>m||null!=T[e])f=new q(b,e,b[e],m,f),f.xs0=0,f.plugin=i,c._overwriteProps.push(f.n);if((m=d.transformOrigin)||I&&n&&b.zOrigin)C?(m=(m||v(a,e,s,!1,"50% 50%"))+"",e=Aa,f=new q(g,e,
-0,0,f,-1,"css_transformOrigin"),f.b=g[e],f.plugin=i,I?(k=b.zOrigin,m=m.split(" "),b.zOrigin=(2<m.length?parseFloat(m[2]):k)||0,f.xs0=f.e=g[e]=m[0]+" "+(m[1]||"50%")+" 0px",f=new q(b,"zOrigin",0,0,f,-1,f.n),f.b=k,f.xs0=f.e=b.zOrigin):f.xs0=f.e=g[e]=m):ga(m+"",b);return f.t===a?(f._next&&(f._next._prev=null),f._next):f},!0);p("boxShadow","0px 0px 0px 0px #999",null,!0,!0);p("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,k,m,n,l,q,p,t,r;l=parseFloat(a.offsetWidth);q=parseFloat(a.offsetHeight);b=b.split(" ");for(d=0;d<c.length;d++)this.p.indexOf("border")&&(c[d]=Q(c[d])),h=j=v(a,c[d],s,!1,"0px"),k=g=b[d],m=parseFloat(h),t=h.substr((m+"").length),(r="="===k.charAt(1))?(n=parseInt(k.charAt(0)+"1"),k=k.substr(2),n*=parseFloat(k),p=k.substr((n+"").length-(0>n?1:0))||""):(n=parseFloat(k),p=k.substr((n+"").length)),""===p&&(p=Y[e]||t),p!==t&&(h=D(a,"borderLeft",m,t),m=D(a,"borderTop",
-m,t),"%"===p?(h=100*(h/l)+"%",j=100*(m/q)+"%"):"em"===p?(t=D(a,"borderLeft",1,"em"),h=h/t+"em",j=m/t+"em"):(h+="px",j=m+"px"),r&&(k=parseFloat(h)+n+p,g=parseFloat(j)+n+p)),f=W(i,c[d],h+" "+j,k+" "+g,!1,"0px",f);return f},!0,!1,xa("0px 0px 0px 0px",!1,!0));p("backgroundPosition","0 0",null,!1,!1,ga);p("backgroundSize","0 0",null,!1,!1,ga);p("perspective","0px",null,!0);p("perspectiveOrigin","50% 50%",null,!0);p("transformStyle","preserve-3d",null,!0);p("margin",null,x("marginTop,marginRight,marginBottom,marginLeft"));
-p("padding",null,x("paddingTop,paddingRight,paddingBottom,paddingLeft"));p("clip","rect(0px,0px,0px,0px)");p("textShadow","0px 0px 0px #999",null,!1,!0);p("autoRound",null,function(a,b,e,c,f){return f});p("border","0px solid #000",function(a,b,e,c,f,i){return this.parseComplex(a.style,this.format(v(a,"borderTopWidth",s,!1,"0px")+" "+v(a,"borderTopStyle",s,!1,"solid")+" "+v(a,"borderTopColor",s,!1,"#000")),this.format(b),f,i)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+
-(a.match(H)||["#000"])[0]});var Na=function(a){var b=this.t,a=this.s+this.c*a,e;100===a&&(b.removeAttribute("filter"),e=!v(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(ba,"opacity="+(a>>0)))};p("opacity,alpha,autoAlpha","1",function(a,b,e,c,f,i){var d=parseFloat(v(a,"opacity",s,!1,"1")),b=parseFloat(b),g=a.style,j;"autoAlpha"===e&&(j=v(a,"visibility",s),1===d&&"hidden"===
-j&&(d=0),f=new q(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 q(g,"opacity",d,b-d,f):(f=new q(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=Na);return f});var Oa=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(ka,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};p("className",null,function(a,b,e,c,f,i,d){var g=a.className,j=a.style.cssText,f=c._classNamePT=new q(a,e,0,0,f,2);f.setRatio=Oa;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,s,!0),a.className=f.e,d=va(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});F("bezier","BezierPlugin");F("throwProps","ThrowPropsPlugin");l=w.prototype;l._firstPT=null;l._onInitTween=function(a,b,e){if(!a.nodeType)return!1;this._target=a;this._tween=e;ca=b.autoRound;X=!1;Y=b.suffixMap||w.suffixMap;s=U(a,"");Z=this._overwriteProps;var e=a.style,c,f,i;if(na&&""===e.zIndex&&(c=v(a,"zIndex",s),"auto"===c||""===c))e.zIndex=0;"string"===typeof b&&(f=e.cssText,c=V(a,s),e.cssText=f+";"+b,c=va(a,c,V(a)).difs,!K&&Ca.test(b)&&(c.opacity=parseFloat(RegExp.$1)),
-b=c,e.cssText=f);this._firstPT=a=this.parse(a,b,null);if(X){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};l.parse=function(a,b,e,c){var f=a.style,i,d,g,j,h,k,m,l;for(i in b){h=b[i];if(d=J[i])e=d.parse(a,h,i,this,e,c,b);else if(d=v(a,i,s)+"",m="string"===typeof h,"color"===i||"fill"===i||"stroke"===i||-1!==i.indexOf("Color")||m&&!h.indexOf("rgb"))m||(h=ia(h),h=(3<h.length?"rgba(":"rgb(")+h.join(",")+
-")"),e=W(f,i,d,h,!0,"transparent",e,0,c);else if(m&&(-1!==h.indexOf(" ")||-1!==h.indexOf(",")))e=W(f,i,d,h,!0,null,e,0,c);else{g=parseFloat(d);k=d.substr((g+"").length);if(""===d||"auto"===d)if("width"===i||"height"===i){g=a;l=i;j=s;k=parseFloat("width"===l?g.offsetWidth:g.offsetHeight);l=Ga[l];var p=l.length;for(j=j||U(g,null);-1<--p;)k-=parseFloat(v(g,"padding"+l[p],j,!0))||0,k-=parseFloat(v(g,"border"+l[p]+"Width",j,!0))||0;g=k;k="px"}else g="opacity"!==i?0:1,k="";(l=m&&"="===h.charAt(1))?(j=parseInt(h.charAt(0)+
-"1"),h=h.substr(2),j*=parseFloat(h),m=h.substr((j+"").length-(0>j?1:0))||""):(j=parseFloat(h),m=m?h.substr((j+"").length)||"":"");""===m&&(m=Y[i]||k);h=j||0===j?(l?j+g:j)+m:b[i];if(k!==m&&""!==m&&(j||0===j))if(g||0===g)if(g=D(a,i,g,k),"%"===m?(g/=D(a,i,100,"%")/100,100<g&&(g=100)):"em"===m?g/=D(a,i,1,"em"):(j=D(a,i,j,m),m="px"),l&&(j||0===j))h=j+g+m;l&&(j+=g);(g||0===g)&&(j||0===j)?(e=new q(f,i,g,j-g,e,0,"css_"+i,!1!==ca&&("px"===m||"zIndex"===i),0,d,h),e.xs0=m):(e=new q(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};l.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};l._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};l._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([w]);return w},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
+(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)||"")?
+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"===
+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
diff --git a/src/minified/plugins/ThrowPropsPlugin.min.js b/src/minified/plugins/ThrowPropsPlugin.min.js
new file mode 100755
index 0000000..da99b55
--- /dev/null
+++ b/src/minified/plugins/ThrowPropsPlugin.min.js
@@ -0,0 +1,21 @@
+/**
+ * VERSION: beta 0.51
+ * DATE: 2012-11-10
+ * JavaScript (also available in AS3 and AS2)
+ * UPDATES AND DOCS AT: http://www.greensock.com
+ *
+ * Copyright (c) 2008-2012, GreenSock. All rights reserved.
+ * ThrowPropsPlugin is a Club GreenSock membership benefit; You must have a valid membership to use
+ * this code without violating the terms of use. Visit http://www.greensock.com/club/ to sign up or get more details.
+ * This work is subject to the software agreement that was issued with your membership.
+ *
+ * @author: Jack Doyle, [email protected]
+ **/
+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.ThrowPropsPlugin",["plugins.TweenPlugin","TweenLite","easing.Ease"],function(y,u,t){var r=function(){y.call(this,"throwProps");this._overwriteProps.length=0},z=r.calculateChange=function(a,b,d,c){null==c&&(c=0.05);b=b instanceof t?b:!b?u.defaultEase:new t(b);return d*c*a/b.getRatio(c)},A=r.calculateDuration=function(a,b,d,c,q){q=q||0.05;c=c instanceof t?c:!c?u.defaultEase:new t(c);return Math.abs((b-a)*c.getRatio(q)/d/q)},
+B=r.calculateTweenDuration=function(a,b,d,c,q){var m=0,e=9999999999,f=b.throwProps||b,b=b.ease instanceof t?b.ease:!b.ease?u.defaultEase:new t(b.ease),h=isNaN(f.checkpoint)?0.05:Number(f.checkpoint),p=isNaN(f.resistance)?r.defaultResistance:Number(f.resistance),j,g,k,l,i,n,s;for(j in f)"resistance"!==j&&"checkpoint"!==j&&(g=f[j],"number"===typeof g?(l=Number(g),k=0<l*p?l/p:l/-p):(l=Number(g.velocity)||0,k=isNaN(g.resistance)?p:Number(g.resistance),k=0<l*k?l/k:l/-k,i="function"===typeof a[j]?a[j.indexOf("set")||
+"function"!==typeof a["get"+j.substr(3)]?j:"get"+j.substr(3)]():a[j],n=i+z(l,b,k,h),null!=g.max&&n>Number(g.max)?(s=i>g.max||-15<l&&45>l?0.75:A(i,g.max,l,b,h),s+q<e&&(e=s+q)):null!=g.min&&n<Number(g.min)&&(s=i<g.min||-45<l&&15>l?0.75:A(i,g.min,l,b,h),s+q<e&&(e=s+q)),s>m&&(m=s)),k>m&&(m=k));m>e&&(m=e);return m>d?d:m<c?c:m},v=r.prototype=new y("throwProps"),w,x,C,D;v.constructor=r;r.API=2;r.defaultResistance=100;r._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,
+b=a._parseToProxy,d=a._setPluginRatio,c=a.CSSPropTween;a._registerComplexSpecialProp("throwProps",null,function(a,m,e,f,h,p){var p=new r,e={},j={},g={},k={},l,i,n;x={};for(n in m)i=m[n],"object"===typeof i?(e[n]=i.velocity,null!=i.min&&(j[n]=i.min),null!=i.max&&(g[n]=i.max),null!=i.resistance&&(l=!0,k[n]=i.resistance)):e[n]=i;i=b(a,e,f,h,p);w=i.proxy;e=i.end;j=b(a,j,f,h,p,!0).end;g=b(a,g,f,h,p,!0).end;l&&(k=b(a,k,f,h,p,!0).end);for(n in w)x[n]={velocity:e[n],min:j[n],max:g[n],resistance:k[n]};null!=
+m.resistance&&(x.resistance=m.resistance);h=new c(a,"throwProps",0,0,i.pt,2);h.plugin=p;h.setRatio=d;h.data=i;p._onInitTween(w,x,f._tween);return h})}};r.to=function(a,b,d,c,q){if(!b.throwProps){if(b.css)return a=new u(a,1,b),a.render(0,!0,!0),a.duration(B(w,x,d,c,q)),a._delay&&!a.vars.immediateRender?a.invalidate():C._onInitTween(w,D,a),a;b={throwProps:b}}return new u(a,B(a,b,d,c,q),b)};v._onInitTween=function(a,b,d){this._target=a;this._props=[];C=this;D=b;var c=d._ease,q=isNaN(b.checkpoint)?0.05:
+Number(b.checkpoint),d=d._duration,m=0,e,f,h,p,j,g,k;for(e in b)if("resistance"!==e&&"checkpoint"!==e){f=b[e];if("number"===typeof f)h=Number(f);else{if(isNaN(f.velocity))throw"ERROR: No velocity was defined in the throwProps tween of "+a+" property: "+e;h=Number(f.velocity)}j=z(h,c,d,q);k=0;h=(p="function"===typeof a[e])?a[e.indexOf("set")||"function"!==typeof a["get"+e.substr(3)]?e:"get"+e.substr(3)]():a[e];"number"!==typeof f&&(g=h+j,null!=f.max&&Number(f.max)<g?k=f.max-h-j:null!=f.min&&Number(f.min)>
+g&&(k=f.min-h-j));this._props[m++]={p:e,s:h,c1:j,c2:k,f:p,r:!1};this._overwriteProps[m]=e}return!0};v._kill=function(a){for(var b=this._props.length;-1<--b;)null!=a[this._props[b].p]&&this._props.splice(b,1);return y.prototype._kill.call(this,a)};v._roundProps=function(a,b){for(var d=this._props,c=d.length;-1<--c;)if(a[d[c]]||a.throwProps)d[c].r=b};v.setRatio=function(a){for(var b=this._props.length,d,c;-1<--b;)if(d=this._props[b],c=d.s+d.c1*a+d.c2*a*a,d.r&&(c=c+(0<c?0.5:-0.5)>>0),d.f)this._target[d.p](c);
+else this._target[d.p]=c};y.activate([r]);return r},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
diff --git a/src/uncompressed/TweenLite.js b/src/uncompressed/TweenLite.js
index 184b34d..3bcb272 100755
--- a/src/uncompressed/TweenLite.js
+++ b/src/uncompressed/TweenLite.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.642
- * DATE: 2012-11-11
+ * VERSION: beta 1.651
+ * DATE: 2012-12-10
* JavaScript (ActionScript 3 and 2 also available)
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -230,7 +230,7 @@
},
_tick = function(manual) {
_self.time = (_getTime() - _startTime) / 1000;
- if (!_fps || _self.time >= _nextTime || manual) {
+ if (!_fps || _self.time >= _nextTime || (manual === true)) {
_self.frame++;
_nextTime = (_self.time > _nextTime) ? _self.time + _gap - (_self.time - _nextTime) : _self.time + _gap - 0.001;
if (_nextTime < _self.time + 0.001) {
@@ -730,7 +730,7 @@
p._firstPT = p._targets = p._overwrittenProps = null;
p._notifyPluginsOfEnabled = false;
- TweenLite.version = 1.642;
+ TweenLite.version = 1.651;
TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);
TweenLite.defaultOverwrite = "auto";
TweenLite.ticker = _ticker;
diff --git a/src/uncompressed/TweenMax.js b/src/uncompressed/TweenMax.js
index e110923..2f656d2 100755
--- a/src/uncompressed/TweenMax.js
+++ b/src/uncompressed/TweenMax.js
@@ -1,6 +1,6 @@
/**
- * VERSION: beta 1.65
- * DATE: 2012-11-30
+ * VERSION: beta 1.651
+ * DATE: 2012-12-10
* 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.65;
+ TweenMax.version = 1.651;
p.constructor = TweenMax;
p.kill()._gc = false;
TweenMax.killTweensOf = TweenMax.killDelayedCallsTo = TweenLite.killTweensOf;
@@ -1077,7 +1077,7 @@
this._repeat = this.vars.repeat || 0;
this._repeatDelay = this.vars.repeatDelay || 0;
this._cycle = 0;
- this._yoyo = (this.vars.yoyo == true);
+ this._yoyo = (this.vars.yoyo === true);
this._dirty = true;
},
_blankArray = [],
@@ -1888,7 +1888,7 @@
}
}
return true;
- }
+ };
//gets called every time the tween updates, passing the new ratio (typically a value between 0 and 1, but not always (for example, if an Elastic.easeOut is used, the value can jump above 1 mid-tween). It will always start and 0 and end at 1.
p.setRatio = function(v) {
@@ -1913,7 +1913,7 @@
this._curSeg = curSeg = this._segments[i];
this._s2 = curSeg[(this._s1 = this._si = 0)];
} else if (v < this._l1 && i > 0) {
- while (i > 0 && (this._l1 = lengths[--i]) >= v) { }
+ while (i > 0 && (this._l1 = lengths[--i]) >= v) { }
if (i === 0 && v < this._l1) {
this._l1 = 0;
} else {
@@ -1931,11 +1931,11 @@
i = this._si;
if (v > this._s2 && i < curSeg.length - 1) {
l = curSeg.length - 1;
- while (i < l && (this._s2 = curSeg[++i]) <= v) { }
+ while (i < l && (this._s2 = curSeg[++i]) <= v) { }
this._s1 = curSeg[i-1];
this._si = i;
} else if (v < this._s1 && i > 0) {
- while (i > 0 && (this._s1 = curSeg[--i]) >= v) { }
+ while (i > 0 && (this._s1 = curSeg[--i]) >= v) { }
if (i === 0 && v < this._s1) {
this._s1 = 0;
} else {
@@ -1994,7 +1994,7 @@
}
}
}
- }
+ };
p._roundProps = function(lookup, value) {
var op = this._overwriteProps,
@@ -2004,7 +2004,7 @@
this._round[op[i]] = value;
}
}
- }
+ };
p._kill = function(lookup) {
var a = this._props,
@@ -2022,7 +2022,7 @@
}
}
return TweenPlugin.prototype._kill.call(this, lookup);
- }
+ };
TweenPlugin.activate([BezierPlugin]);
return BezierPlugin;
@@ -2064,7 +2064,7 @@
p = CSSPlugin.prototype = new TweenPlugin("css");
p.constructor = CSSPlugin;
- CSSPlugin.version = 1.65;
+ CSSPlugin.version = 1.651;
CSSPlugin.API = 2;
CSSPlugin.defaultTransformPerspective = 0;
p = "px"; //we'll reuse the "p" variable to keep file size down
@@ -2096,6 +2096,7 @@
_reqSafariFix, //we won't apply the Safari transform fix until we actually come across a tween that affects a transform property (to maintain best performance).
_isSafari,
+ _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.
@@ -2104,6 +2105,7 @@
_isSafari = (_agent.indexOf("Safari") !== -1 && _agent.indexOf("Chrome") === -1 && (i === -1 || Number(_agent.substr(i+8, 1)) > 3));
_isSafariLT6 = (_isSafari && (Number(_agent.substr(_agent.indexOf("Version/")+8, 1)) < 6));
+ _isMozilla = (_agent.indexOf("Mozilla") !== -1);
(/MSIE ([0-9]{1,}[\.0-9]{0,})/).exec(_agent);
_ieVers = parseFloat( RegExp.$1 );
@@ -2870,8 +2872,9 @@
}
},
//creates a placeholder special prop for a plugin so that the property gets caught the first time a tween of it is attempted, and at that time it makes the plugin register itself, thus taking over for all future tweens of that property. This allows us to not mandate that things load in a particular order and it also allows us to log() an error that informs the user when they attempt to tween an external plugin-related property without loading its .js file.
- _registerPluginProp = function(p, pluginName) {
+ _registerPluginProp = function(p) {
if (!_specialProps[p]) {
+ var pluginName = p.charAt(0).toUpperCase() + p.substr(1) + "Plugin";
_registerComplexSpecialProp(p, null, function(t, e, p, cssp, pt, plugin, vars) {
var pluginClass = window.com.greensock.plugins[pluginName];
if (!pluginClass) {
@@ -3225,6 +3228,7 @@
a41 = 0, a42 = 0, a43 = (perspective) ? -1 / perspective : 0,
min = 0.000001, angle = t.rotation,
zOrigin = t.zOrigin,
+ style = this.t.style,
delimiter = ",",
cos, sin, t1, t2, t3, t4;
@@ -3286,7 +3290,15 @@
a34 = 0;
}
- this.t.style[_transformProp] = "matrix3d(" + ((a11 < min && a11 > -min) ? 0 : a11) + delimiter + ((a21 < min && a21 > -min) ? 0 : a21) + delimiter + ((a31 < min && a31 > -min) ? 0 : a31) + delimiter + ((a41 < min && a41 > -min) ? 0 : a41) + delimiter + ((a12 < min && a12 > -min) ? 0 : a12) + delimiter + ((a22 < min && a22 > -min) ? 0 : a22) + delimiter + ((a32 < min && a32 > -min) ? 0 : a32) + delimiter + ((a42 < min && a42 > -min) ? 0 : a42) + delimiter + ((a13 < min && a13 > -min) ? 0 : a13) + delimiter + ((a23 < min && a23 > -min) ? 0 : a23) + delimiter + ((a33 < min && a33 > -min) ? 0 : a33) + delimiter + ((a43 < min && a43 > -min) ? 0 : a43) + delimiter + ((a14 < min && a14 > -min) ? 0 : a14) + delimiter + ((a24 < min && a24 > -min) ? 0 : a24) + delimiter + a34 + delimiter + (perspective ? (1 + (-a34 / perspective)) : 1) + ")";
+ style[_transformProp] = "matrix3d(" + ((a11 < min && a11 > -min) ? 0 : a11) + delimiter + ((a21 < min && a21 > -min) ? 0 : a21) + delimiter + ((a31 < min && a31 > -min) ? 0 : a31) + delimiter + ((a41 < min && a41 > -min) ? 0 : a41) + delimiter + ((a12 < min && a12 > -min) ? 0 : a12) + delimiter + ((a22 < min && a22 > -min) ? 0 : a22) + delimiter + ((a32 < min && a32 > -min) ? 0 : a32) + delimiter + ((a42 < min && a42 > -min) ? 0 : a42) + delimiter + ((a13 < min && a13 > -min) ? 0 : a13) + delimiter + ((a23 < min && a23 > -min) ? 0 : a23) + delimiter + ((a33 < min && a33 > -min) ? 0 : a33) + delimiter + ((a43 < min && a43 > -min) ? 0 : a43) + delimiter + ((a14 < min && a14 > -min) ? 0 : a14) + delimiter + ((a24 < min && a24 > -min) ? 0 : a24) + delimiter + a34 + delimiter + (perspective ? (1 + (-a34 / perspective)) : 1) + ")";
+
+ if (_isMozilla) { //Firefox (Mozilla) has a bug that causes 3D elements to randomly disappear during animation unless a repaint is forced. One way is to change the display to "none", read the offsetWidth, and then revert the display. Another option is to change a property like "top" by at least about 0.05 pixels, but we can't just immediately revert that, so we'd have to vibrate back and forth (+/-0.05) which would be visibly imperceptible but could cause small issues with accurately reading the value elsewhere, so we opt for the cleanest approach here...
+ t1 = style.display;
+ style.display = "none";
+ t2 = this.t.offsetWidth;
+ style.display = t1;
+ return t2; //we only return a value to prevent the t2 assignment from being stripped out during minification, but there's no real purpose for this function returning the value.
+ }
},
_set2DTransformRatio = function(v) {
var t = this.data; //refers to the element's _gsTransform object
@@ -3453,7 +3465,6 @@
}, 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);
@@ -3615,8 +3626,11 @@
return pt;
});
- _registerPluginProp("bezier", "BezierPlugin");
- _registerPluginProp("throwProps", "ThrowPropsPlugin");
+ p = "bezier,throwProps,physicsProps,physics2D".split(",");
+ i = p.length;
+ while (i--) {
+ _registerPluginProp(p[i]);
+ }
@@ -3816,7 +3830,6 @@
}
if (!pt.type) {
pt.t[pt.p] = val + pt.xs0;
-
} else if (pt.type === 1) { //complex value (one that typically has multiple numbers inside a string, like "rect(5px,10px,20px,25px)"
i = pt.l;
if (i === 2) {
@@ -3855,7 +3868,7 @@
pt = pt._next;
}
}
- }
+ };
p._linkCSSP = function(pt, next, prev) {
if (pt) {
@@ -3877,7 +3890,7 @@
pt._prev = prev;
}
return pt;
- }
+ };
//we need to make sure that if alpha or autoAlpha is killed, opacity is too. And autoAlpha affects the "visibility" property.
p._kill = function(lookup) {
@@ -3909,7 +3922,7 @@
changed = true;
}
return TweenPlugin.prototype._kill.call(this, copy) || changed;
- }
+ };
TweenPlugin.activate([CSSPlugin]);
@@ -3995,7 +4008,7 @@
return RoundPropsPlugin;
- }, true)
+ }, true);
@@ -4051,22 +4064,22 @@
if (p < 1 / 2.75) {
return 7.5625 * p * p;
} else if (p < 2 / 2.75) {
- return 7.5625 * (p -= 1.5 / 2.75) * p + .75;
+ return 7.5625 * (p -= 1.5 / 2.75) * p + 0.75;
} else if (p < 2.5 / 2.75) {
- return 7.5625 * (p -= 2.25 / 2.75) * p + .9375;
+ return 7.5625 * (p -= 2.25 / 2.75) * p + 0.9375;
} else {
- return 7.5625 * (p -= 2.625 / 2.75) * p + .984375;
+ return 7.5625 * (p -= 2.625 / 2.75) * p + 0.984375;
}
}),
BounceIn = _create("BounceIn", function(p) {
if ((p = 1 - p) < 1 / 2.75) {
return 1 - (7.5625 * p * p);
} else if (p < 2 / 2.75) {
- return 1 - (7.5625 * (p -= 1.5 / 2.75) * p + .75);
+ return 1 - (7.5625 * (p -= 1.5 / 2.75) * p + 0.75);
} else if (p < 2.5 / 2.75) {
- return 1 - (7.5625 * (p -= 2.25 / 2.75) * p + .9375);
+ return 1 - (7.5625 * (p -= 2.25 / 2.75) * p + 0.9375);
} else {
- return 1 - (7.5625 * (p -= 2.625 / 2.75) * p + .984375);
+ return 1 - (7.5625 * (p -= 2.625 / 2.75) * p + 0.984375);
}
}),
BounceInOut = _create("BounceInOut", function(p) {
@@ -4079,11 +4092,11 @@
if (p < 1 / 2.75) {
p = 7.5625 * p * p;
} else if (p < 2 / 2.75) {
- p = 7.5625 * (p -= 1.5 / 2.75) * p + .75;
+ p = 7.5625 * (p -= 1.5 / 2.75) * p + 0.75;
} else if (p < 2.5 / 2.75) {
- p = 7.5625 * (p -= 2.25 / 2.75) * p + .9375;
+ p = 7.5625 * (p -= 2.25 / 2.75) * p + 0.9375;
} else {
- p = 7.5625 * (p -= 2.625 / 2.75) * p + .984375;
+ p = 7.5625 * (p -= 2.625 / 2.75) * p + 0.984375;
}
return invert ? (1 - p) * 0.5 : p * 0.5 + 0.5;
}),
@@ -4479,7 +4492,7 @@
},
_tick = function(manual) {
_self.time = (_getTime() - _startTime) / 1000;
- if (!_fps || _self.time >= _nextTime || manual) {
+ if (!_fps || _self.time >= _nextTime || (manual === true)) {
_self.frame++;
_nextTime = (_self.time > _nextTime) ? _self.time + _gap - (_self.time - _nextTime) : _self.time + _gap - 0.001;
if (_nextTime < _self.time + 0.001) {
@@ -4979,7 +4992,7 @@
p._firstPT = p._targets = p._overwrittenProps = null;
p._notifyPluginsOfEnabled = false;
- TweenLite.version = 1.642;
+ TweenLite.version = 1.651;
TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);
TweenLite.defaultOverwrite = "auto";
TweenLite.ticker = _ticker;
diff --git a/src/uncompressed/easing/EasePack.js b/src/uncompressed/easing/EasePack.js
index 990ef9e..0ab69ce 100755
--- a/src/uncompressed/easing/EasePack.js
+++ b/src/uncompressed/easing/EasePack.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.26
- * DATE: 2012-05-24
+ * VERSION: beta 1.3
+ * DATE: 2012-12-03
* JavaScript (ActionScript 3 and 2 also available)
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -26,17 +26,17 @@
//BACK
_createBack = function(n, f) {
- var c = _class("easing." + n, function(overshoot) {
+ var C = _class("easing." + n, function(overshoot) {
this._p1 = (overshoot || overshoot === 0) ? overshoot : 1.70158;
this._p2 = this._p1 * 1.525;
}, true),
- p = c.prototype = new Ease();
- p.constructor = c;
+ p = C.prototype = new Ease();
+ p.constructor = C;
p.getRatio = f;
p.config = function(overshoot) {
- return new c(overshoot);
+ return new C(overshoot);
};
- return c;
+ return C;
},
BackOut = _createBack("BackOut", function(p) {
return ((p = p - 1) * p * ((this._p1 + 1) * p + this._p1) + 1);
@@ -81,11 +81,11 @@
if (p < 1 / 2.75) {
p = 7.5625 * p * p;
} else if (p < 2 / 2.75) {
- p = 7.5625 * (p -= 1.5 / 2.75) * p + .75;
+ p = 7.5625 * (p -= 1.5 / 2.75) * p + 0.75;
} else if (p < 2.5 / 2.75) {
- p = 7.5625 * (p -= 2.25 / 2.75) * p + .9375;
+ p = 7.5625 * (p -= 2.25 / 2.75) * p + 0.9375;
} else {
- p = 7.5625 * (p -= 2.625 / 2.75) * p + .984375;
+ p = 7.5625 * (p -= 2.625 / 2.75) * p + 0.984375;
}
return invert ? (1 - p) * 0.5 : p * 0.5 + 0.5;
}),
@@ -104,18 +104,18 @@
//ELASTIC
_2PI = Math.PI * 2,
_createElastic = function(n, f, def) {
- var c = _class("easing." + n, function(amplitude, period) {
+ var C = _class("easing." + n, function(amplitude, period) {
this._p1 = amplitude || 1;
this._p2 = period || def;
this._p3 = this._p2 / _2PI * (Math.asin(1 / this._p1) || 0);
}, true),
- p = c.prototype = new Ease();
- p.constructor = c;
+ p = C.prototype = new Ease();
+ p.constructor = C;
p.getRatio = f;
p.config = function(amplitude, period) {
- return new c(amplitude, period);
+ return new C(amplitude, period);
};
- return c;
+ return C;
},
ElasticOut = _createElastic("ElasticOut", function(p) {
return this._p1 * Math.pow(2, -10 * p) * Math.sin( (p - this._p3) * _2PI / this._p2 ) + 1;
@@ -124,7 +124,7 @@
return -(this._p1 * Math.pow(2, 10 * (p -= 1)) * Math.sin( (p - this._p3) * _2PI / this._p2 ));
}, 0.3),
ElasticInOut = _createElastic("ElasticInOut", function(p) {
- return ((p *= 2) < 1) ? -.5 * (this._p1 * Math.pow(2, 10 * (p -= 1)) * Math.sin( (p - this._p3) * _2PI / this._p2)) : this._p1 * Math.pow(2, -10 *(p -= 1)) * Math.sin( (p - this._p3) * _2PI / this._p2 ) *.5 + 1;
+ return ((p *= 2) < 1) ? -0.5 * (this._p1 * Math.pow(2, 10 * (p -= 1)) * Math.sin( (p - this._p3) * _2PI / this._p2)) : this._p1 * Math.pow(2, -10 *(p -= 1)) * Math.sin( (p - this._p3) * _2PI / this._p2 ) *0.5 + 1;
}, 0.45),
//Expo
@@ -158,7 +158,7 @@
} else if (linearRatio > 1) {
linearRatio = 1;
}
- this._p = (linearRatio != 1) ? power : 0;
+ this._p = (linearRatio !== 1) ? power : 0;
this._p1 = (1 - linearRatio) / 2;
this._p2 = linearRatio;
this._p3 = this._p1 + this._p2;
diff --git a/src/uncompressed/plugins/CSSPlugin.js b/src/uncompressed/plugins/CSSPlugin.js
index fedaacf..2462666 100755
--- a/src/uncompressed/plugins/CSSPlugin.js
+++ b/src/uncompressed/plugins/CSSPlugin.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.65
- * DATE: 2012-11-30
+ * VERSION: beta 1.651
+ * DATE: 2012-12-10
* 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.65;
+ CSSPlugin.version = 1.651;
CSSPlugin.API = 2;
CSSPlugin.defaultTransformPerspective = 0;
p = "px"; //we'll reuse the "p" variable to keep file size down
@@ -61,6 +61,7 @@
_reqSafariFix, //we won't apply the Safari transform fix until we actually come across a tween that affects a transform property (to maintain best performance).
_isSafari,
+ _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.
@@ -69,6 +70,7 @@
_isSafari = (_agent.indexOf("Safari") !== -1 && _agent.indexOf("Chrome") === -1 && (i === -1 || Number(_agent.substr(i+8, 1)) > 3));
_isSafariLT6 = (_isSafari && (Number(_agent.substr(_agent.indexOf("Version/")+8, 1)) < 6));
+ _isMozilla = (_agent.indexOf("Mozilla") !== -1);
(/MSIE ([0-9]{1,}[\.0-9]{0,})/).exec(_agent);
_ieVers = parseFloat( RegExp.$1 );
@@ -835,8 +837,9 @@
}
},
//creates a placeholder special prop for a plugin so that the property gets caught the first time a tween of it is attempted, and at that time it makes the plugin register itself, thus taking over for all future tweens of that property. This allows us to not mandate that things load in a particular order and it also allows us to log() an error that informs the user when they attempt to tween an external plugin-related property without loading its .js file.
- _registerPluginProp = function(p, pluginName) {
+ _registerPluginProp = function(p) {
if (!_specialProps[p]) {
+ var pluginName = p.charAt(0).toUpperCase() + p.substr(1) + "Plugin";
_registerComplexSpecialProp(p, null, function(t, e, p, cssp, pt, plugin, vars) {
var pluginClass = window.com.greensock.plugins[pluginName];
if (!pluginClass) {
@@ -1094,7 +1097,7 @@
}
return tm;
},
- //for setting 2D transforms in IE6, IE7, and IE8 (must use a "filter" to emulate the behavior of modern day browser transforms)
+ //for setting 2D transforms in IE6, IE7, and IE8 (must use a "filter" to emulate the behavior of modern day browser transforms)
_setIETransformRatio = function(v) {
var t = this.data, //refers to the element's _gsTransform object
ang = -t.rotation,
@@ -1219,6 +1222,7 @@
a41 = 0, a42 = 0, a43 = (perspective) ? -1 / perspective : 0,
min = 0.000001, angle = t.rotation,
zOrigin = t.zOrigin,
+ style = this.t.style,
delimiter = ",",
cos, sin, t1, t2, t3, t4;
@@ -1280,7 +1284,15 @@
a34 = 0;
}
- this.t.style[_transformProp] = "matrix3d(" + ((a11 < min && a11 > -min) ? 0 : a11) + delimiter + ((a21 < min && a21 > -min) ? 0 : a21) + delimiter + ((a31 < min && a31 > -min) ? 0 : a31) + delimiter + ((a41 < min && a41 > -min) ? 0 : a41) + delimiter + ((a12 < min && a12 > -min) ? 0 : a12) + delimiter + ((a22 < min && a22 > -min) ? 0 : a22) + delimiter + ((a32 < min && a32 > -min) ? 0 : a32) + delimiter + ((a42 < min && a42 > -min) ? 0 : a42) + delimiter + ((a13 < min && a13 > -min) ? 0 : a13) + delimiter + ((a23 < min && a23 > -min) ? 0 : a23) + delimiter + ((a33 < min && a33 > -min) ? 0 : a33) + delimiter + ((a43 < min && a43 > -min) ? 0 : a43) + delimiter + ((a14 < min && a14 > -min) ? 0 : a14) + delimiter + ((a24 < min && a24 > -min) ? 0 : a24) + delimiter + a34 + delimiter + (perspective ? (1 + (-a34 / perspective)) : 1) + ")";
+ style[_transformProp] = "matrix3d(" + ((a11 < min && a11 > -min) ? 0 : a11) + delimiter + ((a21 < min && a21 > -min) ? 0 : a21) + delimiter + ((a31 < min && a31 > -min) ? 0 : a31) + delimiter + ((a41 < min && a41 > -min) ? 0 : a41) + delimiter + ((a12 < min && a12 > -min) ? 0 : a12) + delimiter + ((a22 < min && a22 > -min) ? 0 : a22) + delimiter + ((a32 < min && a32 > -min) ? 0 : a32) + delimiter + ((a42 < min && a42 > -min) ? 0 : a42) + delimiter + ((a13 < min && a13 > -min) ? 0 : a13) + delimiter + ((a23 < min && a23 > -min) ? 0 : a23) + delimiter + ((a33 < min && a33 > -min) ? 0 : a33) + delimiter + ((a43 < min && a43 > -min) ? 0 : a43) + delimiter + ((a14 < min && a14 > -min) ? 0 : a14) + delimiter + ((a24 < min && a24 > -min) ? 0 : a24) + delimiter + a34 + delimiter + (perspective ? (1 + (-a34 / perspective)) : 1) + ")";
+
+ if (_isMozilla) { //Firefox (Mozilla) has a bug that causes 3D elements to randomly disappear during animation unless a repaint is forced. One way is to change the display to "none", read the offsetWidth, and then revert the display. Another option is to change a property like "top" by at least about 0.05 pixels, but we can't just immediately revert that, so we'd have to vibrate back and forth (+/-0.05) which would be visibly imperceptible but could cause small issues with accurately reading the value elsewhere, so we opt for the cleanest approach here...
+ t1 = style.display;
+ style.display = "none";
+ t2 = this.t.offsetWidth;
+ style.display = t1;
+ return t2; //we only return a value to prevent the t2 assignment from being stripped out during minification, but there's no real purpose for this function returning the value.
+ }
},
_set2DTransformRatio = function(v) {
var t = this.data; //refers to the element's _gsTransform object
@@ -1646,8 +1658,11 @@
return pt;
});
- _registerPluginProp("bezier", "BezierPlugin");
- _registerPluginProp("throwProps", "ThrowPropsPlugin");
+ p = "bezier,throwProps,physicsProps,physics2D".split(",");
+ i = p.length;
+ while (i--) {
+ _registerPluginProp(p[i]);
+ }
@@ -1847,7 +1862,6 @@
}
if (!pt.type) {
pt.t[pt.p] = val + pt.xs0;
-
} else if (pt.type === 1) { //complex value (one that typically has multiple numbers inside a string, like "rect(5px,10px,20px,25px)"
i = pt.l;
if (i === 2) {
@@ -1886,7 +1900,7 @@
pt = pt._next;
}
}
- }
+ };
p._linkCSSP = function(pt, next, prev) {
if (pt) {
@@ -1908,7 +1922,7 @@
pt._prev = prev;
}
return pt;
- }
+ };
//we need to make sure that if alpha or autoAlpha is killed, opacity is too. And autoAlpha affects the "visibility" property.
p._kill = function(lookup) {
@@ -1940,7 +1954,7 @@
changed = true;
}
return TweenPlugin.prototype._kill.call(this, copy) || changed;
- }
+ };
TweenPlugin.activate([CSSPlugin]);
diff --git a/src/uncompressed/plugins/ThrowPropsPlugin.js b/src/uncompressed/plugins/ThrowPropsPlugin.js
new file mode 100755
index 0000000..5d31053
--- /dev/null
+++ b/src/uncompressed/plugins/ThrowPropsPlugin.js
@@ -0,0 +1,264 @@
+/**
+ * VERSION: 0.51
+ * DATE: 2012-11-10
+ * JavaScript (also available in ActionScript 3 and 2)
+ * UPDATES AND DOCS AT: http://www.greensock.com
+ *
+ * Copyright (c) 2008-2012, GreenSock. All rights reserved.
+ * ThrowPropsPlugin is a Club GreenSock membership benefit; You must have a valid membership to use
+ * this code without violating the terms of use. Visit http://www.greensock.com/club/ to sign up or get more details.
+ * This work is subject to the software agreement that was issued with your membership.
+ *
+ * @author: Jack Doyle, [email protected]
+ **/
+(window._gsQueue || (window._gsQueue = [])).push( function() {
+
+ _gsDefine("plugins.ThrowPropsPlugin", ["plugins.TweenPlugin", "TweenLite", "easing.Ease"], function(TweenPlugin, TweenLite, Ease) {
+
+ var ThrowPropsPlugin = function(props, priority) {
+ TweenPlugin.call(this, "throwProps");
+ this._overwriteProps.length = 0;
+ },
+ _calculateChange = ThrowPropsPlugin.calculateChange = function(velocity, ease, duration, checkpoint) {
+ if (checkpoint == null) {
+ checkpoint = 0.05;
+ }
+ var e = (ease instanceof Ease) ? ease : (!ease) ? TweenLite.defaultEase : new Ease(ease);
+ return (duration * checkpoint * velocity) / e.getRatio(checkpoint);
+ },
+ _calculateDuration = ThrowPropsPlugin.calculateDuration = function(start, end, velocity, ease, checkpoint) {
+ checkpoint = checkpoint || 0.05;
+ var e = (ease instanceof Ease) ? ease : (!ease) ? TweenLite.defaultEase : new Ease(ease);
+ return Math.abs( (end - start) * e.getRatio(checkpoint) / velocity / checkpoint );
+ },
+ _calculateTweenDuration = ThrowPropsPlugin.calculateTweenDuration = function(target, vars, maxDuration, minDuration, overshootTolerance) {
+ var duration = 0,
+ clippedDuration = 9999999999,
+ throwPropsVars = vars.throwProps || vars,
+ ease = (vars.ease instanceof Ease) ? vars.ease : (!vars.ease) ? TweenLite.defaultEase : new Ease(vars.ease),
+ checkpoint = isNaN(throwPropsVars.checkpoint) ? 0.05 : Number(throwPropsVars.checkpoint),
+ resistance = isNaN(throwPropsVars.resistance) ? ThrowPropsPlugin.defaultResistance : Number(throwPropsVars.resistance),
+ p, curProp, curDuration, curVelocity, curResistance, curVal, end, curClippedDuration;
+
+ for (p in throwPropsVars) {
+
+ if (p !== "resistance" && p !== "checkpoint") {
+ curProp = throwPropsVars[p];
+ if (typeof(curProp) === "number") {
+ curVelocity = Number(curProp);
+ curDuration = (curVelocity * resistance > 0) ? curVelocity / resistance : curVelocity / -resistance;
+
+ } else {
+ curVelocity = Number(curProp.velocity) || 0;
+ curResistance = isNaN(curProp.resistance) ? resistance : Number(curProp.resistance);
+ curDuration = (curVelocity * curResistance > 0) ? curVelocity / curResistance : curVelocity / -curResistance;
+ curVal = (typeof(target[p]) === "function") ? target[ ((p.indexOf("set") || typeof(target["get" + p.substr(3)]) !== "function") ? p : "get" + p.substr(3)) ]() : target[p];
+ end = curVal + _calculateChange(curVelocity, ease, curDuration, checkpoint);
+ if (curProp.max != null && end > Number(curProp.max)) {
+ //if the value is already exceeding the max or the velocity is too low, the duration can end up being uncomfortably long but in most situations, users want the snapping to occur relatively quickly (0.75 seconds), so we implement a cap here to make things more intuitive.
+ curClippedDuration = (curVal > curProp.max || (curVelocity > -15 && curVelocity < 45)) ? 0.75 : _calculateDuration(curVal, curProp.max, curVelocity, ease, checkpoint);
+ if (curClippedDuration + overshootTolerance < clippedDuration) {
+ clippedDuration = curClippedDuration + overshootTolerance;
+ }
+
+ } else if (curProp.min != null && end < Number(curProp.min)) {
+ //if the value is already exceeding the min or if the velocity is too low, the duration can end up being uncomfortably long but in most situations, users want the snapping to occur relatively quickly (0.75 seconds), so we implement a cap here to make things more intuitive.
+ curClippedDuration = (curVal < curProp.min || (curVelocity > -45 && curVelocity < 15)) ? 0.75 : _calculateDuration(curVal, curProp.min, curVelocity, ease, checkpoint);
+ if (curClippedDuration + overshootTolerance < clippedDuration) {
+ clippedDuration = curClippedDuration + overshootTolerance;
+ }
+ }
+
+ if (curClippedDuration > duration) {
+ duration = curClippedDuration;
+ }
+ }
+
+ if (curDuration > duration) {
+ duration = curDuration;
+ }
+
+ }
+ }
+ if (duration > clippedDuration) {
+ duration = clippedDuration;
+ }
+ if (duration > maxDuration) {
+ return maxDuration;
+ } else if (duration < minDuration) {
+ return minDuration;
+ }
+ return duration;
+ },
+ p = ThrowPropsPlugin.prototype = new TweenPlugin("throwProps"),
+ _cssProxy, _cssVars, _last, _lastValue; //these serve as a cache of sorts, recording the last css-related proxy and the throwProps vars that get calculated in the _cssRegister() method. This allows us to grab them in the ThrowPropsPlugin.to() function and calculate the duration. Of course we could have structured things in a more "clean" fashion, but performance is of paramount importance.
+
+
+ p.constructor = ThrowPropsPlugin;
+ ThrowPropsPlugin.API = 2;
+ ThrowPropsPlugin.defaultResistance = 100;
+
+ ThrowPropsPlugin._cssRegister = function() {
+ var CSSPlugin = window.com.greensock.plugins.CSSPlugin;
+ if (!CSSPlugin) {
+ return;
+ }
+ var _internals = CSSPlugin._internals,
+ _parseToProxy = _internals._parseToProxy,
+ _setPluginRatio = _internals._setPluginRatio,
+ CSSPropTween = _internals.CSSPropTween;
+ _internals._registerComplexSpecialProp("throwProps", null, function(t, e, prop, cssp, pt, plugin) {
+ plugin = new ThrowPropsPlugin();
+ var velocities = {},
+ min = {},
+ max = {},
+ res = {},
+ hasResistance, val, p, data;
+ _cssVars = {};
+ for (p in e) {
+ val = e[p];
+ if (typeof(val) === "object") {
+ velocities[p] = val.velocity;
+ if (val.min != null) {
+ min[p] = val.min;
+ }
+ if (val.max != null) {
+ max[p] = val.max;
+ }
+ if (val.resistance != null) {
+ hasResistance = true;
+ res[p] = val.resistance;
+ }
+ } else {
+ velocities[p] = val;
+ }
+ }
+ data = _parseToProxy(t, velocities, cssp, pt, plugin);
+ _cssProxy = data.proxy;
+ velocities = data.end;
+ min = _parseToProxy(t, min, cssp, pt, plugin, true).end;
+ max = _parseToProxy(t, max, cssp, pt, plugin, true).end;
+ if (hasResistance) {
+ res = _parseToProxy(t, res, cssp, pt, plugin, true).end;
+ }
+ for (p in _cssProxy) {
+ _cssVars[p] = {velocity:velocities[p], min:min[p], max:max[p], resistance:res[p]};
+ }
+ if (e.resistance != null) {
+ _cssVars.resistance = e.resistance;
+ }
+ pt = new CSSPropTween(t, "throwProps", 0, 0, data.pt, 2);
+ pt.plugin = plugin;
+ pt.setRatio = _setPluginRatio;
+ pt.data = data;
+ plugin._onInitTween(_cssProxy, _cssVars, cssp._tween);
+ return pt;
+ });
+ };
+
+
+ ThrowPropsPlugin.to = function(target, vars, maxDuration, minDuration, overshootTolerance) {
+ if (!vars.throwProps) {
+ if (vars.css) {
+ var tween = new TweenLite(target, 1, vars);
+ tween.render(0, true, true); //we force a render so that the CSSPlugin instantiates and populates the _cssProxy and _cssVars which we need in order to calculate the tween duration. Remember, we can't use the regular target for calculating the duration because the current values wouldn't be able to be grabbed like target["propertyName"], as css properties can be complex like boxShadow:"10px 10px 20px 30px red" or backgroundPosition:"25px 50px". The proxy is the result of breaking all that complex data down and finding just the numeric values and assigning them to a generic proxy object with unique names. THAT is what the _calculateTweenDuration() can look at. We also needed to to the same break down of any min or max or velocity data
+ tween.duration(_calculateTweenDuration(_cssProxy, _cssVars, maxDuration, minDuration, overshootTolerance));
+ if (tween._delay && !tween.vars.immediateRender) {
+ tween.invalidate(); //if there's a delay, the starting values could be off, so invalidate() to force reinstantiation when the tween actually starts.
+ } else {
+ _last._onInitTween(_cssProxy, _lastValue, tween);
+ }
+ return tween;
+ } else {
+ vars = {throwProps:vars};
+ }
+ }
+ return new TweenLite(target, _calculateTweenDuration(target, vars, maxDuration, minDuration, overshootTolerance), vars);
+ };
+
+ p._onInitTween = function(target, value, tween) {
+ this._target = target;
+ this._props = [];
+ _last = this;
+ _lastValue = value;
+ var ease = tween._ease,
+ checkpoint = isNaN(value.checkpoint) ? 0.05 : Number(value.checkpoint),
+ duration = tween._duration,
+ cnt = 0,
+ p, curProp, curVal, isFunc, velocity, change1, end, change2;
+ for (p in value) {
+ if (p !== "resistance" && p !== "checkpoint") {
+ curProp = value[p];
+ if (typeof(curProp) === "number") {
+ velocity = Number(curProp);
+ } else if (!isNaN(curProp.velocity)) {
+ velocity = Number(curProp.velocity);
+ } else {
+ velocity = 0;
+ throw("ERROR: No velocity was defined in the throwProps tween of " + target + " property: " + p);
+ }
+ change1 = _calculateChange(velocity, ease, duration, checkpoint);
+ change2 = 0;
+ isFunc = (typeof(target[p]) === "function");
+ curVal = (isFunc) ? target[ ((p.indexOf("set") || typeof(target["get" + p.substr(3)]) !== "function") ? p : "get" + p.substr(3)) ]() : target[p];
+ if (typeof(curProp) !== "number") {
+ end = curVal + change1;
+ if (curProp.max != null && Number(curProp.max) < end) {
+ change2 = (curProp.max - curVal) - change1;
+
+ } else if (curProp.min != null && Number(curProp.min) > end) {
+ change2 = (curProp.min - curVal) - change1;
+ }
+ }
+ this._props[cnt++] = {p:p, s:curVal, c1:change1, c2:change2, f:isFunc, r:false};
+ this._overwriteProps[cnt] = p;
+ }
+ }
+ return true;
+ };
+
+ p._kill = function(lookup) {
+ var i = this._props.length;
+ while (--i > -1) {
+ if (lookup[this._props[i].p] != null) {
+ this._props.splice(i, 1);
+ }
+ }
+ return TweenPlugin.prototype._kill.call(this, lookup);
+ };
+
+ p._roundProps = function(lookup, value) {
+ var p = this._props,
+ i = p.length;
+ while (--i > -1) {
+ if (lookup[p[i]] || lookup.throwProps) {
+ p[i].r = value;
+ }
+ }
+ };
+
+ p.setRatio = function(v) {
+ var i = this._props.length,
+ cp, val;
+ while (--i > -1) {
+ cp = this._props[i];
+ val = cp.s + cp.c1 * v + cp.c2 * v * v;
+ //console.log("cp: "+this._props[i].p+": "+cp.s);
+ if (cp.r) {
+ val = (val + ((val > 0) ? 0.5 : -0.5)) >> 0;
+ }
+ if (cp.f) {
+ this._target[cp.p](val);
+ } else {
+ this._target[cp.p] = val;
+ }
+ }
+ };
+
+ TweenPlugin.activate([ThrowPropsPlugin]);
+
+ return ThrowPropsPlugin;
+
+ }, true);
+
+}); if (window._gsDefine) { _gsQueue.pop()(); }
\ No newline at end of file