GSAP (GreenSock Animation Platform): high-performance JavaScript animation for anything JavaScript can touch. 100% free, including every plugin.
JavaScript animationcanvasgsapjavascriptjavascript-libraryreactscrollscrolltriggerspringsvgweb-animations
Improved BezierPlugin, fixed issue fontWeight conflict in CSSPlugin, and an issue that caused strings to be interpreted as relative in raw tweens
Jack Doyleaa1d7874ce01
diff --git a/src/minified/TweenLite.min.js b/src/minified/TweenLite.min.jsindex 931f7de..0323d3e 100755--- a/src/minified/TweenLite.min.js+++ b/src/minified/TweenLite.min.js@@ -1,6 +1,6 @@/*!- * VERSION: beta 1.668- * DATE: 2013-01-01+ * VERSION: beta 1.67+ * DATE: 2013-01-09* JavaScript* UPDATES AND DOCS AT: http://www.greensock.com*@@ -10,43 +10,4 @@** @author: Jack Doyle, [email protected]*/-(function(n){var H=function(a){a=a.split(".");var c=n,b;for(b=0;b<a.length;b++)c[a[b]]=c=c[a[b]]||{};return c},m=H("com.greensock"),q,k,d,C,I,x={},D=function(a,c,b,l){this.sc=x[a]?x[a].sc:[];x[a]=this;this.gsClass=null;this.def=b;var e=c||[],d=[];this.check=function(c){for(var f=e.length,h=0,p;-1<--f;)(p=x[e[f]]||new D(e[f])).gsClass?d[f]=p.gsClass:(h++,c&&p.sc.push(this));if(0===h&&b){c=("com.greensock."+a).split(".");var f=c.pop(),k=H(c.join("."))[f]=this.gsClass=b.apply(b,d);l&&((n.GreenSockGlobals||-n)[f]=k,"function"===typeof define&&define.amd?define((n.GreenSockAMDPath?n.GreenSockAMDPath+"/":"")+a.split(".").join("/"),[],function(){return k}):"undefined"!==typeof module&&module.exports&&(module.exports=k));for(f=0;f<this.sc.length;f++)this.sc[f].check(!1)}};this.check(!0)},s=m._class=function(a,c,b){c=c||function(){};new D(a,[],function(){return c},b);return c};n._gsDefine=function(a,c,b,l){return new D(a,c,b,l)};var J=[0,0,1,1],E=[],u=s("easing.Ease",function(a,c,b,l){this._func=a;this._type=-b||0;this._power=l||0;this._params=c?J.concat(c):J},!0);d=u.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,l=1===c?1-a:2===c?a:0.5>a?2*a:2*(1-a);1===b?l*=l:2===b?l*=l*l:3===b?l*=l*l*l:4===b&&(l*=l*l*l*l);return 1===c?1-l:2===c?l:0.5>a?l/2:1-l/2};q=["Linear","Quad","Cubic","Quart","Quint"];for(k=q.length;-1<--k;)d=s("easing."+q[k],null,!0),C=s("easing.Power"+k,null,!0),d.easeOut=C.easeOut=new u(null,-null,1,k),d.easeIn=C.easeIn=new u(null,null,2,k),d.easeInOut=C.easeInOut=new u(null,null,3,k);s("easing.Strong",m.easing.Power4,!0);m.easing.Linear.easeNone=m.easing.Linear.easeIn;var K=s("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this});d=K.prototype;d.addEventListener=function(a,c,b,l,e){e=e||0;var d=this._listeners[a],j=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===j&&a.pr<e&&(j=f+1);d.splice(j,0,{c:c,s:b,up:l,pr:e})};-d.removeEventListener=function(a,c){var b=this._listeners[a],l;if(b)for(l=b.length;-1<--l;)if(b[l].c===c){b.splice(l,1);break}};d.dispatchEvent=function(a){var c=this._listeners[a];if(c)for(var b=c.length,l=this._eventTarget,d;-1<--b;)d=c[b],d.up?d.c.call(d.s||l,{type:a,target:l}):d.c.call(d.s||l)};var z=n.requestAnimationFrame,F=n.cancelAnimationFrame,L=Date.now||function(){return(new Date).getTime()};q=["ms","moz","webkit","o"];for(k=q.length;-1<--k&&!z;)z=n[q[k]+"RequestAnimationFrame"],F=n[q[k]+-"CancelAnimationFrame"]||n[q[k]+"CancelRequestAnimationFrame"];s("Ticker",function(a,c){var b=this,l=L(),d=!1!==c&&z,g,j,f,h,p,k=function(){null!=f&&(!d||!F?n.clearTimeout(f):F(f),f=null)},m=function(a){b.time=(L()-l)/1E3;if(!g||b.time>=p||!0===a)b.frame++,p=b.time>p?b.time+h-(b.time-p):b.time+h-0.001,p<b.time+0.001&&(p=b.time+0.001),b.dispatchEvent("tick");!0!==a&&(f=j(m))};K.call(b);this.time=this.frame=0;this.tick=function(){m(!0)};this.fps=function(a){if(!arguments.length)return g;g=a;h=1/(g||-60);p=this.time+h;j=0===g?function(){}:!d||!z?function(a){return n.setTimeout(a,1E3*(p-b.time)+1>>0||1)}:z;k();f=j(m)};this.useRAF=function(a){if(!arguments.length)return d;k();d=a;b.fps(g)};b.fps(a);n.setTimeout(function(){d&&!f&&b.useRAF(!1)},1E3)});d=m.Ticker.prototype=new m.events.EventDispatcher;d.constructor=m.Ticker;var r=s("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(v){I||(t.tick(),I=!0);var b=this.vars.useFrames?y:v;b.insert(this,b._time);this.vars.paused&&this.paused(!0)}}),t=r.ticker=new m.Ticker;d=r.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,2)){if(1===arguments.length)return this.vars[a];if(null==c)delete this.vars[a];else if(this.vars[a]=c,this.vars[a+"Params"]=b,this.vars[a+"Scope"]=d,b)for(var e=b.length;-1<--e;)"{self}"===b[e]&&(b=this.vars[a+"Params"]=b.concat(),b[e]=this);"onUpdate"===a&&(this._onUpdate=c)}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=-!1,this._duration;this._duration=this._totalDuration=a;this._uncache(!0);this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==a&&this.totalTime(this._totalTime*(a/this._duration),!0);return this};d.totalDuration=function(a){this._dirty=!1;return!arguments.length?this._totalDuration:this.duration(a)};d.time=function(a,c){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();a>this._duration&&(a=this._duration);return this.totalTime(a,c)};d.totalTime=function(a,-c){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 b=this._timeline;b._timeline;)b.totalTime(b._totalTime,!0),b=b._timeline;this._gc&&this._enabled(!0,-!1);this._totalTime!==a&&this.render(a,c,!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 c=this._pauseTime||0===this._pauseTime?this._pauseTime:this._timeline._totalTime;this._startTime=c-(c--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};m=s("core.SimpleTimeline",function(a){r.call(this,0,a);this.autoRemoveChildren=this.smoothChildTiming=!0});d=m.prototype=new r;d.constructor=m;d.kill()._gc=!1;d._first=d._last=null;d._sortChildren=!1;d.insert=function(a,c){a._startTime=Number(c||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 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=s("TweenLite",function(a,c,b){r.call(this,c,b);if(null==-a)throw"Cannot tween an undefined reference.";this.target=a;this._overwrite=null==this.vars.overwrite?M[h.defaultOverwrite]:"number"===typeof this.vars.overwrite?this.vars.overwrite>>0:M[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]=-A(b,this,!1),1===this._overwrite&&1<this._siblings[a].length&&G(b,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=A(a,this,!1),1===this._overwrite&&1<this._siblings.length&&G(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 r;d.constructor=h;d.kill()._gc=!1;d.ratio=0;d._firstPT=d._targets=d._overwrittenProps=null;d._notifyPluginsOfEnabled=!1;h.version=1.668;-h.defaultEase=d._ease=new u(null,null,1,1);h.defaultOverwrite="auto";h.ticker=t;var N=h._plugins={},w=h._tweenLookup={},P=0,Q={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},M={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},y=r._rootFramesTimeline=new m,v=r._rootTimeline=new m;v._startTime=t.time;y._startTime=t.frame;v._active=y._active=!0;r._updateRoot=function(){v.render((t.time-v._startTime)*v._timeScale,!1,!1);y.render((t.frame-y._startTime)*y._timeScale,!1,!1);if(!(t.frame%120)){var a,c,b;for(b in w){c=w[b].tweens;for(a=c.length;-1<--a;)c[a]._gc&&c.splice(a,1);0===c.length&&delete w[b]}}};-t.addEventListener("tick",r._updateRoot);var A=function(a,c,b){var d=a._gsTweenID,e;if(!w[d||(a._gsTweenID=d="t"+P++)])w[d]={target:a,tweens:[]};if(c&&(a=w[d].tweens,a[e=a.length]=c,b))for(;-1<--e;)a[e]===c&&a.splice(e,1);return w[d].tweens},G=function(a,c,b,d,e){var g,j,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)&&(j=!0);else if(5===d)break;return j}var h=c._startTime+1E-10,p=[],k=0,m=0===c._duration,n;for(g=e.length;-1<--g;)if(!((f=e[g])===c||f._gc||f._paused))f._timeline!==-c._timeline?(n=n||O(c,0,m),0===O(f,n,m)&&(p[k++]=f)):f._startTime<=h&&f._startTime+f.totalDuration()/f._timeScale+1E-10>h&&((m||!f._initted)&&2E-10>=h-f._startTime||(p[k++]=f));for(g=k;-1<--g;)if(f=p[g],2===d&&f._kill(b,a)&&(j=!0),2!==d||!f._firstPT&&f._initted)f._enabled(!1,!1)&&(j=!0);return j},O=function(a,c,b){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>c?g-c:b&&g===c||!a._initted&&2E-10>-g-c?1E-10:(g+=a.totalDuration()/a._timeScale/e)>c?0:g-c-1E-10};d._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,h.to(this.target,0,this.vars.startAt));var a,c;this._ease=this.vars.ease instanceof u?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 u(this.vars.ease,this.vars.easeParams):h.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))c=!0}else c=this._initProps(this.target,this._propLookup,this._siblings,this._overwrittenProps);c&&h._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,c,b,d){var e,g,j,f,h,k;if(null==a)return!1;for(e in this.vars){if(Q[e]){if("onStartParams"===e||"onUpdateParams"===e||"onCompleteParams"===e||"onReverseCompleteParams"===e||"onRepeatParams"===e)if(h=this.vars[e])for(g=h.length;-1<--g;)"{self}"===h[g]&&(h=this.vars[e]=h.concat(),h[g]=this)}else if(N[e]&&(f=new N[e])._onInitTween(a,this.vars[e],this)){this._firstPT=k={_next:this._firstPT,t:f,p:"setRatio",-s:0,c:1,f:!0,n:e,pg:!0,pr:f._priority};for(g=f._overwriteProps.length;-1<--g;)c[f._overwriteProps[g]]=this._firstPT;if(f._priority||f._onInitAllProps)j=!0;if(f._onDisable||f._onEnable)this._notifyPluginsOfEnabled=!0}else this._firstPT=c[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",10)*Number(g.substr(2)):Number(g)||0;k&&k._next&&(k._next._prev=k)}return d&&this._kill(d,a)?this._initProps(a,c,b,d):1<this._overwrite&&this._firstPT&&1<b.length&&G(a,this,c,this._overwrite,b)?(this._kill(c,a),this._initProps(a,c,b,d)):j};d.render=function(a,c,b){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&&(b=!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&&(b=!0),this._rawPrevTime=a)):this._initted||(b=!0)}else if(this._totalTime=this._time=a,this._easeType){var j=a/this._duration,f=this._easeType,h=this._easePower;if(1===f||3===f&&-0.5<=j)j=1-j;3===f&&(j*=2);1===h?j*=j:2===h?j*=j*j:3===h?j*=j*j*j:4===h&&(j*=j*j*j*j);this.ratio=1===f?1-j:2===f?j:0.5>a/this._duration?j/2:1-j/2}else this.ratio=this._ease.getRatio(a/this._duration);if(this._time!==d||b){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))c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||-E);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&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||E));g&&!this._gc&&(e&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),c||this.vars[g]&&this.vars[g].apply(this.vars[g+"Scope"]||this,this.vars[g+"Params"]||E))}};d._kill=function(a,c){"all"===a&&(a=null);if(null==a&&(null==c||c===this.target))return this._enabled(!1,!1);c=-c||this._targets||this.target;var b,d,e,g,h,f,k;if((c instanceof Array||c.jquery)&&"object"===typeof c[0])for(b=c.length;-1<--b;)this._kill(a,c[b])&&(h=!0);else{if(this._targets)for(b=this._targets.length;-1<--b;){if(c===this._targets[b]){g=this._propLookup[b]||{};this._overwrittenProps=this._overwrittenProps||[];d=this._overwrittenProps[b]=a?this._overwrittenProps[b]||{}:"all";break}}else{if(c!==this.target)return!1;g=this._propLookup;d=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(g)for(e in f=-a||g,k=a!==d&&"all"!==d&&a!==g&&(null==a||!0!==a._tempKill),f){if(b=g[e]){b.pg&&b.t._kill(f)&&(h=!0);if(!b.pg||0===b.t._overwriteProps.length)b._prev?b._prev._next=b._next:b===this._firstPT&&(this._firstPT=b._next),b._next&&(b._next._prev=b._prev),b._next=b._prev=null;delete g[e]}k&&(d[e]=1)}}return h};d.invalidate=function(){this._notifyPluginsOfEnabled&&h._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,c){if(a&&this._gc)if(this._targets)for(var b=this._targets.length;-1<--b;)this._siblings[b]=A(this._targets[b],this,!0);else this._siblings=A(this.target,this,!0);r.prototype._enabled.call(this,a,c);return this._notifyPluginsOfEnabled&&this._firstPT?h._onPluginEvent(a?"_onEnable":"_onDisable",this):!1};h.to=function(a,c,b){return new h(a,c,b)};h.from=function(a,c,b){b.runBackwards=!0;!1!==b.immediateRender&&(b.immediateRender=-!0);return new h(a,c,b)};h.fromTo=function(a,c,b,d){d.startAt=b;b.immediateRender&&(d.immediateRender=!0);return new h(a,c,d)};h.delayedCall=function(a,c,b,d,e){return new h(c,0,{delay:a,onComplete:c,onCompleteParams:b,onCompleteScope:d,onReverseComplete:c,onReverseCompleteParams:b,onReverseCompleteScope:d,immediateRender:!1,useFrames:e,overwrite:0})};h.set=function(a,c){return new h(a,0,c)};h.killTweensOf=h.killDelayedCallsTo=function(a,c){for(var b=h.getTweensOf(a),d=b.length;-1<--d;)b[d]._kill(c,-a)};h.getTweensOf=function(a){if(null!=a){var c,b,d;if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){c=a.length;for(b=[];-1<--c;)b=b.concat(h.getTweensOf(a[c]));for(c=b.length;-1<--c;){d=b[c];for(a=c;-1<--a;)d===b[a]&&b.splice(c,1)}}else{b=A(a).concat();for(c=b.length;-1<--c;)b[c]._gc&&b.splice(c,1)}return b}};var B=s("plugins.TweenPlugin",function(a,c){this._overwriteProps=(a||"").split(",");this._propName=this._overwriteProps[0];this._priority=c||0},!0);d=B.prototype;B.version=12;B.API=-2;d._firstPT=null;d._addTween=function(a,c,b,d,e,g){var h;if(null!=d&&(h="number"===typeof d||"="!==d.charAt(1)?Number(d)-b:parseInt(d.charAt(0)+"1",10)*Number(d.substr(2))))this._firstPT=a={_next:this._firstPT,t:a,p:c,s:b,c:h,f:"function"===typeof a[c],n:e||c,r:g},a._next&&(a._next._prev=a)};d.setRatio=function(a){for(var c=this._firstPT,b;c;){b=c.c*a+c.s;c.r&&(b=b+(0<b?0.5:-0.5)>>0);if(c.f)c.t[c.p](b);else c.t[c.p]=b;c=c._next}};d._kill=function(a){if(null!=a[this._propName])this._overwriteProps=-[];else for(var c=this._overwriteProps.length;-1<--c;)null!=a[this._overwriteProps[c]]&&this._overwriteProps.splice(c,1);for(c=this._firstPT;c;)null!=a[c.n]&&(c._next&&(c._next._prev=c._prev),c._prev?(c._prev._next=c._next,c._prev=null):this._firstPT===c&&(this._firstPT=c._next)),c=c._next;return!1};d._roundProps=function(a,c){for(var b=this._firstPT;b;){if(a[this._propName]||null!=b.n&&a[b.n.split(this._propName+"_").join("")])b.r=c;b=b._next}};h._onPluginEvent=function(a,c){var b=c._firstPT,d;if("_onInitAllProps"===-a){for(var e,g,h,f;b;){f=b._next;for(e=g;e&&e.pr>b.pr;)e=e._next;(b._prev=e?e._prev:h)?b._prev._next=b:g=b;(b._next=e)?e._prev=b:h=b;b=f}b=c._firstPT=g}for(;b;)b.pg&&"function"===typeof b.t[a]&&b.t[a]()&&(d=!0),b=b._next;return d};B.activate=function(a){for(var c=a.length;-1<--c;)a[c].API===B.API&&(h._plugins[(new a[c])._propName]=a[c]);return!0};if(q=n._gsQueue){for(k=0;k<q.length;k++)q[k]();for(d in x)x[d].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+d)}})(window);\ No newline at end of file+(function(a){"use strict";var d,e,f,g,h,i,b=function(b){var e,c=b.split("."),d=a;for(e=0;c.length>e;e++)d[c[e]]=d=d[c[e]]||{};return d},c=b("com.greensock"),j={},k=function(c,d,e,f){this.sc=j[c]?j[c].sc:[],j[c]=this,this.gsClass=null,this.def=e;var g=d||[],h=[];this.check=function(d){for(var m,i=g.length,l=0;--i>-1;)(m=j[g[i]]||new k(g[i])).gsClass?h[i]=m.gsClass:(l++,d&&m.sc.push(this));if(0===l&&e){var n=("com.greensock."+c).split("."),o=n.pop(),p=b(n.join("."))[o]=this.gsClass=e.apply(e,h);for(f&&((a.GreenSockGlobals||a)[o]=p,"function"==typeof define&&define.amd?define((a.GreenSockAMDPath?a.GreenSockAMDPath+"/":"")+c.split(".").join("/"),[],function(){return p}):"undefined"!=typeof module&&module.exports&&(module.exports=p)),i=0;this.sc.length>i;i++)this.sc[i].check(!1)}},this.check(!0)},l=c._class=function(a,b,c){return b=b||function(){},new k(a,[],function(){return b},c),b};a._gsDefine=function(a,b,c,d){return new k(a,b,c,d)};var m=[0,0,1,1],n=[],o=l("easing.Ease",function(a,b,c,d){this._func=a,this._type=c||0,this._power=d||0,this._params=b?m.concat(b):m},!0);for(h=o.prototype,h._calcEnd=!1,h.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:.5>a?2*a:2*(1-a);return 1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:.5>a?d/2:1-d/2},d=["Linear","Quad","Cubic","Quart","Quint"],e=d.length;--e>-1;)f=l("easing."+d[e],null,!0),g=l("easing.Power"+e,null,!0),f.easeOut=g.easeOut=new o(null,null,1,e),f.easeIn=g.easeIn=new o(null,null,2,e),f.easeInOut=g.easeInOut=new o(null,null,3,e);l("easing.Strong",c.easing.Power4,!0),c.easing.Linear.easeNone=c.easing.Linear.easeIn;var p=l("events.EventDispatcher",function(a){this._listeners={},this._eventTarget=a||this});h=p.prototype,h.addEventListener=function(a,b,c,d,e){e=e||0;var h,i,f=this._listeners[a],g=0;for(null==f&&(this._listeners[a]=f=[]),i=f.length;--i>-1;)h=f[i],h.c===b?f.splice(i,1):0===g&&e>h.pr&&(g=i+1);f.splice(g,0,{c:b,s:c,up:d,pr:e})},h.removeEventListener=function(a,b){var d,c=this._listeners[a];if(c)for(d=c.length;--d>-1;)if(c[d].c===b)return c.splice(d,1),void 0},h.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var e,c=b.length,d=this._eventTarget;--c>-1;)e=b[c],e.up?e.c.call(e.s||d,{type:a,target:d}):e.c.call(e.s||d)};var q=a.requestAnimationFrame,r=a.cancelAnimationFrame,s=Date.now||function(){return(new Date).getTime()};for(d=["ms","moz","webkit","o"],e=d.length;--e>-1&&!q;)q=a[d[e]+"RequestAnimationFrame"],r=a[d[e]+"CancelAnimationFrame"]||a[d[e]+"CancelRequestAnimationFrame"];l("Ticker",function(b,c){var g,h,i,j,k,d=this,e=s(),f=c!==!1&&q,l=function(){null!=i&&(f&&r?r(i):a.clearTimeout(i),i=null)},m=function(a){d.time=(s()-e)/1e3,(!g||d.time>=k||a===!0)&&(d.frame++,k=d.time>k?d.time+j-(d.time-k):d.time+j-.001,d.time+.001>k&&(k=d.time+.001),d.dispatchEvent("tick")),a!==!0&&(i=h(m))};p.call(d),this.time=this.frame=0,this.tick=function(){m(!0)},this.fps=function(b){return arguments.length?(g=b,j=1/(g||60),k=this.time+j,h=0===g?function(){}:f&&q?q:function(b){return a.setTimeout(b,1e3*(k-d.time)+1>>0||1)},l(),i=h(m),void 0):g},this.useRAF=function(a){return arguments.length?(l(),f=a,d.fps(g),void 0):f},d.fps(b),a.setTimeout(function(){f&&!i&&d.useRAF(!1)},1e3)}),h=c.Ticker.prototype=new c.events.EventDispatcher,h.constructor=c.Ticker;var t=l("core.Animation",function(a,b){if(this.vars=b||{},this._duration=this._totalDuration=a||0,this._delay=Number(this.vars.delay)||0,this._timeScale=1,this._active=this.vars.immediateRender===!0,this.data=this.vars.data,this._reversed=this.vars.reversed===!0,D){i||(u.tick(),i=!0);var c=this.vars.useFrames?C:D;c.insert(this,c._time),this.vars.paused&&this.paused(!0)}}),u=t.ticker=new c.Ticker;h=t.prototype,h._dirty=h._gc=h._initted=h._paused=!1,h._totalTime=h._time=0,h._rawPrevTime=-1,h._next=h._last=h._onUpdate=h._timeline=h.timeline=null,h._paused=!1,h.play=function(a,b){return arguments.length&&this.seek(a,b),this.reversed(!1),this.paused(!1)},h.pause=function(a,b){return arguments.length&&this.seek(a,b),this.paused(!0)},h.resume=function(a,b){return arguments.length&&this.seek(a,b),this.paused(!1)},h.seek=function(a,b){return this.totalTime(Number(a),b!==!1)},h.restart=function(a,b){return this.reversed(!1),this.paused(!1),this.totalTime(a?-this._delay:0,b!==!1)},h.reverse=function(a,b){return arguments.length&&this.seek(a||this.totalDuration(),b),this.reversed(!0),this.paused(!1)},h.render=function(){},h.invalidate=function(){return this},h._enabled=function(a,b){return this._gc=!a,this._active=a&&!this._paused&&this._totalTime>0&&this._totalTime<this._totalDuration,b!==!0&&(a&&null==this.timeline?this._timeline.insert(this,this._startTime-this._delay):a||null==this.timeline||this._timeline._remove(this,!0)),!1},h._kill=function(){return this._enabled(!1,!1)},h.kill=function(a,b){return this._kill(a,b),this},h._uncache=function(a){for(var b=a?this:this.timeline;b;)b._dirty=!0,b=b.timeline;return this},h.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;--e>-1;)"{self}"===c[e]&&(c=this.vars[a+"Params"]=c.concat(),c[e]=this);"onUpdate"===a&&(this._onUpdate=b)}return this},h.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},h.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==a&&this.totalTime(this._totalTime*(a/this._duration),!0),this):(this._dirty=!1,this._duration)},h.totalDuration=function(a){return this._dirty=!1,arguments.length?this.duration(a):this._totalDuration},h.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),a>this._duration&&(a=this._duration),this.totalTime(a,b)):this._time},h.totalTime=function(a,b){if(!arguments.length)return this._totalTime;if(this._timeline){if(0>a&&(a+=this.totalDuration()),this._timeline.smoothChildTiming&&(this._dirty&&this.totalDuration(),a>this._totalDuration&&(a=this._totalDuration),this._startTime=(this._paused?this._pauseTime:this._timeline._time)-(this._reversed?this._totalDuration-a: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},h.startTime=function(a){return arguments.length?(a!==this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.insert(this,a-this._delay)),this):this._startTime},h.timeScale=function(a){if(!arguments.length)return this._timeScale;if(a=a||1e-6,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}return this._timeScale=a,this._uncache(!1)},h.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totalTime(this._totalTime,!0)),this):this._reversed},h.paused=function(a){return arguments.length?(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&&this._totalTime>0&&this._totalTime<this._totalDuration),this._gc&&(a||this._enabled(!0,!1)),this):this._paused};var v=l("core.SimpleTimeline",function(a){t.call(this,0,a),this.autoRemoveChildren=this.smoothChildTiming=!0});h=v.prototype=new t,h.constructor=v,h.kill()._gc=!1,h._first=h._last=null,h._sortChildren=!1,h.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;return 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),this},h._remove=function(a,b){return 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)),this},h.render=function(a,b){var e,d=this._first;for(this._totalTime=this._time=this._rawPrevTime=a;d;)e=d._next,(d._active||a>=d._startTime&&!d._paused)&&(d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,!1):d.render((a-d._startTime)*d._timeScale,b,!1)),d=e},h.rawTime=function(){return this._totalTime};var w=l("TweenLite",function(a,b,c){if(t.call(this,b,c),null==a)throw"Cannot tween an undefined reference.";this.target=a,this._overwrite=null==this.vars.overwrite?B[w.defaultOverwrite]:"number"==typeof this.vars.overwrite?this.vars.overwrite>>0:B[this.vars.overwrite];var e,f;if((a instanceof Array||a.jquery)&&"object"==typeof a[0])for(this._targets=a.slice(0),this._propLookup=[],this._siblings=[],e=0;this._targets.length>e;e++)f=this._targets[e],f.jquery?(this._targets.splice(e--,1),this._targets=this._targets.concat(f.constructor.makeArray(f))):(this._siblings[e]=E(f,this,!1),1===this._overwrite&&this._siblings[e].length>1&&F(f,this,null,1,this._siblings[e]));else this._propLookup={},this._siblings=E(a,this,!1),1===this._overwrite&&this._siblings.length>1&&F(a,this,null,1,this._siblings);(this.vars.immediateRender||0===b&&0===this._delay&&this.vars.immediateRender!==!1)&&this.render(-this._delay,!1,!0)},!0);h=w.prototype=new t,h.constructor=w,h.kill()._gc=!1,h.ratio=0,h._firstPT=h._targets=h._overwrittenProps=null,h._notifyPluginsOfEnabled=!1,w.version=1.67,w.defaultEase=h._ease=new o(null,null,1,1),w.defaultOverwrite="auto",w.ticker=u;var x=w._plugins={},y=w._tweenLookup={},z=0,A={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},B={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},C=t._rootFramesTimeline=new v,D=t._rootTimeline=new v;D._startTime=u.time,C._startTime=u.frame,D._active=C._active=!0,t._updateRoot=function(){if(D.render((u.time-D._startTime)*D._timeScale,!1,!1),C.render((u.frame-C._startTime)*C._timeScale,!1,!1),!(u.frame%120)){var a,b,c;for(c in y){for(b=y[c].tweens,a=b.length;--a>-1;)b[a]._gc&&b.splice(a,1);0===b.length&&delete y[c]}}},u.addEventListener("tick",t._updateRoot);var E=function(a,b,c){var e,f,d=a._gsTweenID;if(y[d||(a._gsTweenID=d="t"+z++)]||(y[d]={target:a,tweens:[]}),b&&(e=y[d].tweens,e[f=e.length]=b,c))for(;--f>-1;)e[f]===b&&e.splice(f,1);return y[d].tweens},F=function(a,b,c,d,e){var f,g,h,i;if(1===d||d>=4){for(i=e.length,f=0;i>f;f++)if((h=e[f])!==b)h._gc||h._enabled(!1,!1)&&(g=!0);else if(5===d)break;return g}var n,j=b._startTime+1e-10,k=[],l=0,m=0===b._duration;for(f=e.length;--f>-1;)(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(n=n||G(b,0,m),0===G(h,n,m)&&(k[l++]=h)):j>=h._startTime&&h._startTime+h.totalDuration()/h._timeScale+1e-10>j&&((m||!h._initted)&&2e-10>=j-h._startTime||(k[l++]=h)));for(f=l;--f>-1;)h=k[f],2===d&&h._kill(c,a)&&(g=!0),(2!==d||!h._firstPT&&h._initted)&&h._enabled(!1,!1)&&(g=!0);return g},G=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){if(f+=d._startTime,e*=d._timeScale,d._paused)return-100;d=d._timeline}return f/=e,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};h._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,w.to(this.target,0,this.vars.startAt));var a,b,c;if(this._ease=this.vars.ease instanceof o?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 o(this.vars.ease,this.vars.easeParams):w.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(a=this._targets.length;--a>-1;)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);if(b&&w._onPluginEvent("_onInitAllProps",this),this._overwrittenProps&&null==this._firstPT&&"function"!=typeof this.target&&this._enabled(!1,!1),this.vars.runBackwards)for(c=this._firstPT;c;)c.s+=c.c,c.c=-c.c,c=c._next;this._onUpdate=this.vars.onUpdate,this._initted=!0},h._initProps=function(a,b,c,d){var e,f,g,h,i,j,k;if(null==a)return!1;for(e in this.vars){if(A[e]){if(("onStartParams"===e||"onUpdateParams"===e||"onCompleteParams"===e||"onReverseCompleteParams"===e||"onRepeatParams"===e)&&(i=this.vars[e]))for(f=i.length;--f>-1;)"{self}"===i[f]&&(i=this.vars[e]=i.concat(),i[f]=this)}else if(x[e]&&(h=new x[e])._onInitTween(a,this.vars[e],this)){for(this._firstPT=j={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:!0,n:e,pg:!0,pr:h._priority},f=h._overwriteProps.length;--f>-1;)b[h._overwriteProps[f]]=this._firstPT;(h._priority||h._onInitAllProps)&&(g=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=b[e]=j={_next:this._firstPT,t:a,p:e,f:"function"==typeof a[e],n:e,pg:!1,pr:0},j.s=j.f?a[e.indexOf("set")||"function"!=typeof a["get"+e.substr(3)]?e:"get"+e.substr(3)]():parseFloat(a[e]),k=this.vars[e],j.c="string"==typeof k&&"="===k.charAt(1)?parseInt(k.charAt(0)+"1",10)*Number(k.substr(2)):Number(k)-j.s||0;j&&j._next&&(j._next._prev=j)}return d&&this._kill(d,a)?this._initProps(a,b,c,d):this._overwrite>1&&this._firstPT&&c.length>1&&F(a,this,b,this._overwrite,c)?(this._kill(b,a),this._initProps(a,b,c,d)):g},h.render=function(a,b,c){var e,f,g,d=this._time;if(a>=this._duration)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&&((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,(0!==d||0===this._duration&&this._rawPrevTime>0)&&(f="onReverseComplete",e=this._reversed),0>a?(this._active=!1,0===this._duration&&(this._rawPrevTime>=0&&(c=!0),this._rawPrevTime=a)):this._initted||(c=!0);else if(this._totalTime=this._time=a,this._easeType){var h=a/this._duration,i=this._easeType,j=this._easePower;(1===i||3===i&&h>=.5)&&(h=1-h),3===i&&(h*=2),1===j?h*=h:2===j?h*=h*h:3===j?h*=h*h*h:4===j&&(h*=h*h*h*h),this.ratio=1===i?1-h:2===i?h:.5>a/this._duration?h/2:1-h/2}else this.ratio=this._ease.getRatio(a/this._duration);if(this._time!==d||c){for(this._initted||(this._init(),!e&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration))),this._active||this._paused||(this._active=!0),0===d&&this.vars.onStart&&(0!==this._time||0===this._duration)&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||n)),g=this._firstPT;g;)g.f?g.t[g.p](g.c*this.ratio+g.s):g.t[g.p]=g.c*this.ratio+g.s,g=g._next;this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||n)),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"]||n)))}},h._kill=function(a,b){if("all"===a&&(a=null),null==a&&(null==b||b===this.target))return this._enabled(!1,!1);b=b||this._targets||this.target;var c,d,e,f,g,h,i,j;if((b instanceof Array||b.jquery)&&"object"==typeof b[0])for(c=b.length;--c>-1;)this._kill(a,b[c])&&(h=!0);else{if(this._targets){for(c=this._targets.length;--c>-1;)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){i=a||g,j=a!==d&&"all"!==d&&a!==g&&(null==a||a._tempKill!==!0);for(e in i)(f=g[e])&&(f.pg&&f.t._kill(i)&&(h=!0),f.pg&&0!==f.t._overwriteProps.length||(f._prev?f._prev._next=f._next:f===this._firstPT&&(this._firstPT=f._next),f._next&&(f._next._prev=f._prev),f._next=f._prev=null),delete g[e]),j&&(d[e]=1)}}return h},h.invalidate=function(){return this._notifyPluginsOfEnabled&&w._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._initted=this._active=this._notifyPluginsOfEnabled=!1,this._propLookup=this._targets?{}:[],this},h._enabled=function(a,b){if(a&&this._gc)if(this._targets)for(var c=this._targets.length;--c>-1;)this._siblings[c]=E(this._targets[c],this,!0);else this._siblings=E(this.target,this,!0);return t.prototype._enabled.call(this,a,b),this._notifyPluginsOfEnabled&&this._firstPT?w._onPluginEvent(a?"_onEnable":"_onDisable",this):!1},w.to=function(a,b,c){return new w(a,b,c)},w.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender!==!1&&(c.immediateRender=!0),new w(a,b,c)},w.fromTo=function(a,b,c,d){return d.startAt=c,c.immediateRender&&(d.immediateRender=!0),new w(a,b,d)},w.delayedCall=function(a,b,c,d,e){return new w(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:e,overwrite:0})},w.set=function(a,b){return new w(a,0,b)},w.killTweensOf=w.killDelayedCallsTo=function(a,b){for(var c=w.getTweensOf(a),d=c.length;--d>-1;)c[d]._kill(b,a)},w.getTweensOf=function(a){if(null!=a){var b,c,d,e;if((a instanceof Array||a.jquery)&&"object"==typeof a[0]){for(b=a.length,c=[];--b>-1;)c=c.concat(w.getTweensOf(a[b]));for(b=c.length;--b>-1;)for(e=c[b],d=b;--d>-1;)e===c[d]&&c.splice(b,1)}else for(c=E(a).concat(),b=c.length;--b>-1;)c[b]._gc&&c.splice(b,1);return c}};var H=l("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(","),this._propName=this._overwriteProps[0],this._priority=b||0},!0);if(h=H.prototype,H.version=12,H.API=2,h._firstPT=null,h._addTween=function(a,b,c,d,e,f){var g,h;null!=d&&(g="number"==typeof d||"="!==d.charAt(1)?Number(d)-c:parseInt(d.charAt(0)+"1",10)*Number(d.substr(2)))&&(this._firstPT=h={_next:this._firstPT,t:a,p:b,s:c,c:g,f:"function"==typeof a[b],n:e||b,r:f},h._next&&(h._next._prev=h))},h.setRatio=function(a){for(var c,b=this._firstPT;b;)c=b.c*a+b.s,b.r&&(c=c+(c>0?.5:-.5)>>0),b.f?b.t[b.p](c):b.t[b.p]=c,b=b._next},h._kill=function(a){if(null!=a[this._propName])this._overwriteProps=[];else for(var b=this._overwriteProps.length;--b>-1;)null!=a[this._overwriteProps[b]]&&this._overwriteProps.splice(b,1);for(var c=this._firstPT;c;)null!=a[c.n]&&(c._next&&(c._next._prev=c._prev),c._prev?(c._prev._next=c._next,c._prev=null):this._firstPT===c&&(this._firstPT=c._next)),c=c._next;return!1},h._roundProps=function(a,b){for(var c=this._firstPT;c;)(a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")])&&(c.r=b),c=c._next},w._onPluginEvent=function(a,b){var d,c=b._firstPT;if("_onInitAllProps"===a){for(var e,f,g,h;c;){for(h=c._next,e=f;e&&e.pr>c.pr;)e=e._next;(c._prev=e?e._prev:g)?c._prev._next=c:f=c,(c._next=e)?e._prev=c:g=c,c=h}c=b._firstPT=f}for(;c;)c.pg&&"function"==typeof c.t[a]&&c.t[a]()&&(d=!0),c=c._next;return d},H.activate=function(a){for(var b=a.length;--b>-1;)a[b].API===H.API&&(w._plugins[(new a[b])._propName]=a[b]);return!0},d=a._gsQueue){for(e=0;d.length>e;e++)d[e]();for(h in j)j[h].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+h)}})(window);\ No newline at end of filediff --git a/src/minified/TweenMax.min.js b/src/minified/TweenMax.min.jsindex 8d59bae..db11517 100755--- a/src/minified/TweenMax.min.js+++ b/src/minified/TweenMax.min.js@@ -1,6 +1,6 @@/**- * VERSION: beta 1.669- * DATE: 2013-01-02+ * VERSION: beta 1.67+ * DATE: 2013-01-09* JavaScript (ActionScript 3 and 2 also available)* UPDATES AND DOCS AT: http://www.greensock.com*@@ -12,165 +12,6 @@** @author: Jack Doyle, [email protected]**/-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(r,k,h){var q=function(g,d,a){h.call(this,g,d,a);this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},l=q.prototype=h.to({},0.1,{}),b=[];q.version=1.669;l.constructor=q;l.kill()._gc=!1;q.killTweensOf=q.killDelayedCallsTo=h.killTweensOf;q.getTweensOf=h.getTweensOf;q.ticker=h.ticker;-l.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return h.prototype.invalidate.call(this)};l.updateTo=function(g,d){var a=this.ratio,f;d&&(null!=this.timeline&&this._startTime<this._timeline._time)&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(f in g)this.vars[f]=g[f];if(this._initted)if(d)this._initted=-!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&h._onPluginEvent("_onDisable",this),0.998<this._time/this._duration)a=this._time,this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1);else if(0<this._time){this._initted=!1;this._init();a=1/(1-a);f=this._firstPT;for(var u;f;)u=f.s+f.c,f.c*=a,f.s=u-f.c,f=f._next}return this};l.render=function(g,d,a){var f=!this._dirty?this._totalDuration:this.totalDuration(),u=this._time,c=this._totalTime,t=this._cycle,v,E;if(g>=f){if(this._totalTime=f,-this._cycle=this._repeat,this._yoyo&&0!==(this._cycle&1)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(v=!0,E="onComplete"),0===this._duration){if(0===g||0>this._rawPrevTime)this._rawPrevTime!==g&&(a=!0);this._rawPrevTime=g}}else if(0>=g){this._totalTime=this._time=this._cycle=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==c||0===this._duration&&0<this._rawPrevTime)E=-"onReverseComplete",v=this._reversed;0>g?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(a=!0),this._rawPrevTime=g)):this._initted||(a=!0)}else if(this._totalTime=this._time=g,0!==this._repeat&&(g=this._duration+this._repeatDelay,this._cycle=this._totalTime/g>>0,0!==this._cycle&&this._cycle===this._totalTime/g&&this._cycle--,this._time=this._totalTime-this._cycle*g,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){g=this._time/this._duration;var f=this._easeType,s=this._easePower;if(1===f||3===f&&0.5<=g)g=1-g;3===f&&(g*=2);1===s?g*=g:2===s?g*=g*g:3===s?g*=g*g*g:4===s&&(g*=g*g*g*g);this.ratio=1===f?1-g:2===f?g:0.5>this._time/this._duration?g/2:1-g/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(u===this._time&&!a)c!==this._totalTime&&this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));else{this._initted||-(this._init(),!v&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===c&&this.vars.onStart&&(0!==this._totalTime||0===this._duration))d||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||b);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&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));this._cycle!==-t&&(d||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||b));E&&!this._gc&&(v&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),d||this.vars[E]&&this.vars[E].apply(this.vars[E+"Scope"]||this,this.vars[E+"Params"]||b))}};q.to=function(a,d,A){return new q(a,d,A)};q.from=function(a,d,A){A.runBackwards=!0;!1!==A.immediateRender&&(A.immediateRender=!0);return new q(a,d,A)};q.fromTo=function(a,d,A,f){f.startAt=A;A.immediateRender&&-(f.immediateRender=!0);return new q(a,d,f)};q.staggerTo=q.allTo=function(a,d,A,f,u,c,b){f=f||0;var t=[],E=a.length,s=A.delay||0,C,n,h;for(n=0;n<E;n++){C={};for(h in A)C[h]=A[h];C.delay=s;n===E-1&&u&&(C.onComplete=function(){A.onComplete&&A.onComplete.apply(A.onCompleteScope,A.onCompleteParams);u.apply(b,c)});t[n]=new q(a[n],d,C);s+=f}return t};q.staggerFrom=q.allFrom=function(a,d,A,f,u,c,b){A.runBackwards=!0;!1!==A.immediateRender&&(A.immediateRender=!0);return q.staggerTo(a,d,A,f,u,c,b)};q.staggerFromTo=-q.allFromTo=function(a,d,A,f,c,b,t,v){f.startAt=A;A.immediateRender&&(f.immediateRender=!0);return q.staggerTo(a,d,f,c,b,t,v)};q.delayedCall=function(a,d,c,f,u){return new q(d,0,{delay:a,onComplete:d,onCompleteParams:c,onCompleteScope:f,onReverseComplete:d,onReverseCompleteParams:c,onReverseCompleteScope:f,immediateRender:!1,useFrames:u,overwrite:0})};q.set=function(a,d){return new q(a,0,d)};q.isTweening=function(a){a=h.getTweensOf(a);for(var d=a.length,c;-1<--d;)if((c=a[d])._active||c._startTime===-c.timeline._time&&c.timeline._active)return!0;return!1};var t=function(a,d){for(var c=[],f=0,u=a._first;u;)u instanceof h?c[f++]=u:(d&&(c[f++]=u),c=c.concat(t(u,d)),f=c.length),u=u._next;return c},c=q.getAllTweens=function(a){return t(r._rootTimeline,a).concat(t(r._rootFramesTimeline,a))};q.killAll=function(a,d,A,f){null==d&&(d=!0);null==A&&(A=!0);var u=c(!1!=f),b=u.length;f=d&&A&&f;var t,v,E;for(E=0;E<b;E++)if(v=u[E],f||v instanceof k||(t=v.target===v.vars.onComplete)&&A||d&&!t)a?v.totalTime(v.totalDuration()):-v._enabled(!1,!1)};q.killChildTweensOf=function(a,d){if(null!=a)if(a.jquery)a.each(function(a,f){q.killChildTweensOf(f,d)});else{var c=h._tweenLookup,f=[],u,b;for(b in c)for(u=c[b].target.parentNode;u;)u===a&&(f=f.concat(c[b].tweens)),u=u.parentNode;u=f.length;for(c=0;c<u;c++)d&&f[c].totalTime(f[c].totalDuration()),f[c]._enabled(!1,!1)}};q.pauseAll=function(g,d,c){a(!0,g,d,c)};q.resumeAll=function(g,d,c){a(!1,g,d,c)};var a=function(a,d,b,f){void 0==d&&(d=!0);void 0==b&&(b=!0);var u=c(f);f=d&&b&&f;-for(var t=u.length,h,v;-1<--t;)v=u[t],(f||v instanceof k||(h=v.target===v.vars.onComplete)&&b||d&&!h)&&v.paused(a)};l.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)};l.totalProgress=function(a){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*a,!1)};l.time=function(a,d){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,d)};l.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))};l.repeat=function(a){if(!arguments.length)return this._repeat;this._repeat=a;return this._uncache(!0)};l.repeatDelay=function(a){if(!arguments.length)return this._repeatDelay;this._repeatDelay=a;return this._uncache(!0)};l.yoyo=function(a){if(!arguments.length)return this._yoyo;this._yoyo=a;return this};return q},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(r,k,h){var q=function(a){k.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;a=l.length;for(var g,d;-1<--a;)if(d=this.vars[l[a]])for(g=d.length;-1<--g;)"{self}"===d[g]&&(d=this.vars[l[a]]=d.concat(),d[g]=this);this.vars.tweens instanceof Array&&this.insertMultiple(this.vars.tweens,0,this.vars.align||"normal",this.vars.stagger||0)},l=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams",-"onRepeatParams"],b=[],t=function(a){var g={},d;for(d in a)g[d]=a[d];return g},c=q.prototype=new k;q.version=1.641;c.constructor=q;c.kill()._gc=!1;c.to=function(a,g,d,c,f){return this.insert(new h(a,g,d),this._parseTimeOrLabel(f,c,!0))};c.from=function(a,g,d,c,f){return this.insert(h.from(a,g,d),this._parseTimeOrLabel(f,c,!0))};c.fromTo=function(a,g,d,c,f,u){return this.insert(h.fromTo(a,g,d,c),this._parseTimeOrLabel(u,f,!0))};c.staggerTo=function(a,g,d,c,f,u,b,l,v){b=new q({onComplete:b,onCompleteParams:l,-onCompleteScope:v});c=c||0;for(l=0;l<a.length;l++)null!=d.startAt&&(d.startAt=t(d.startAt)),b.insert(new h(a[l],g,t(d)),l*c);return this.insert(b,this._parseTimeOrLabel(u,f,!0))};c.staggerFrom=function(a,g,d,c,f,u,b,t,v){null==d.immediateRender&&(d.immediateRender=!0);d.runBackwards=!0;return this.staggerTo(a,g,d,c,f,u,b,t,v)};c.staggerFromTo=function(a,g,d,c,f,u,b,t,v,E){c.startAt=d;d.immediateRender&&(c.immediateRender=!0);return this.staggerTo(a,g,c,f,u,b,t,v,E)};c.call=function(a,g,d,c,f){return this.insert(h.delayedCall(0,-a,g,d),this._parseTimeOrLabel(f,c,!0))};c.set=function(a,g,d,c){g.immediateRender=!1;return this.insert(new h(a,0,g),this._parseTimeOrLabel(c,d,!0))};q.exportRoot=function(a,c){a=a||{};null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var d=new q(a),b=d._timeline;null==c&&(c=!0);b._remove(d,!0);d._startTime=0;d._rawPrevTime=d._time=d._totalTime=b._time;for(var f=b._first,u;f;)u=f._next,(!c||!(f instanceof h&&f.target===f.vars.onComplete))&&d.insert(f,f._startTime-f._delay),f=u;b.insert(d,0);return d};-c.insert=function(a,c){if(!(a instanceof r)){if(a instanceof Array)return this.insertMultiple(a,c);if("string"===typeof a)return this.addLabel(a,this._parseTimeOrLabel(c||0,0,!0));if("function"===typeof a)a=h.delayedCall(0,a);else throw"ERROR: Cannot insert() "+a+" into the TimelineLite/Max because it is neither a tween, timeline, function, nor a String.";}k.prototype.insert.call(this,a,this._parseTimeOrLabel(c||0,0,!0));if(this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(var d=-this;d._gc&&d._timeline;)d._timeline.smoothChildTiming?d.totalTime(d._totalTime,!0):d._enabled(!0,!1),d=d._timeline;return this};c.remove=function(a){if(a instanceof r)return this._remove(a,!1);if(a instanceof Array){for(var c=a.length;-1<--c;)this.remove(a[c]);return this}return"string"===typeof a?this.removeLabel(a):this.kill(null,a)};c.append=function(a,c){return this.insert(a,this._parseTimeOrLabel(null,c,!0))};c.insertMultiple=function(a,c,d,b){d=d||"normal";b=b||0;var f,u=this._parseTimeOrLabel(c||-0,0,!0),t=a.length;for(c=0;c<t;c++){if((f=a[c])instanceof Array)f=new q({tweens:f});this.insert(f,u);"string"===typeof f||"function"===typeof f||("sequence"===d?u=f._startTime+f.totalDuration()/f._timeScale:"start"===d&&(f._startTime-=f.delay()));u+=b}return this._uncache(!0)};c.appendMultiple=function(a,c,d,b){return this.insertMultiple(a,this._parseTimeOrLabel(null,c,!0),d,b)};c.addLabel=function(a,c){this._labels[a]=c;return this};c.removeLabel=function(a){delete this._labels[a];return this};c.getLabelTime=-function(a){return null!=this._labels[a]?this._labels[a]:-1};c._parseTimeOrLabel=function(a,c,d){if("string"===typeof c)return this._parseTimeOrLabel(c,d&&"number"===typeof a&&null==this._labels[c]?a-this.duration():0,d);c=c||0;return null==a?this.duration()+c:"string"===typeof a&&isNaN(a)?null==this._labels[a]?d?this._labels[a]=this.duration()+c:c:this._labels[a]+c:Number(a)+c};c.seek=function(a,c){return this.totalTime(this._parseTimeOrLabel(a),!1!=c)};c.stop=function(){return this.paused(!0)};-c.gotoAndPlay=function(a,c){return k.prototype.play.call(this,a,c)};c.gotoAndStop=function(a,c){return this.pause(a,c)};c.render=function(a,c,d){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var t=!this._dirty?this._totalDuration:this.totalDuration(),f=this._time,u=this._startTime,h=this._timeScale,q=this._paused,v,E,s;if(a>=t){this._totalTime=this._time=t;if(!this._reversed&&!this._hasPausedChild()&&(v=!0,s="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime)))this._rawPrevTime!==-a&&(d=!0);this._rawPrevTime=a;a=t+1E-6}else if(0>=a){this._totalTime=this._time=0;if(0!==f||0===this._duration&&0<this._rawPrevTime)s="onReverseComplete",v=this._reversed;0>a?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(d=!0)):this._initted||(d=!0);this._rawPrevTime=a;a=-1E-6}else this._totalTime=this._time=this._rawPrevTime=a;if(this._time!==f||d){this._initted||(this._initted=!0);0===f&&this.vars.onStart&&0!==this._time&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||-b));if(this._time>f)for(d=this._first;d;){E=d._next;if(this._paused&&!q)break;else if(d._active||d._startTime<=this._time&&!d._paused&&!d._gc)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(a-d._startTime)*d._timeScale,c,!1):d.render((a-d._startTime)*d._timeScale,c,!1);d=E}else for(d=this._last;d;){E=d._prev;if(this._paused&&!q)break;else if(d._active||d._startTime<=f&&!d._paused&&!d._gc)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(a-d._startTime)*d._timeScale,-c,!1):d.render((a-d._startTime)*d._timeScale,c,!1);d=E}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));if(s&&!this._gc&&(u===this._startTime||h!=this._timeScale))if(0===this._time||t>=this.totalDuration())v&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),c||this.vars[s]&&this.vars[s].apply(this.vars[s+"Scope"]||this,this.vars[s+"Params"]||b)}};c._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof-q&&a._hasPausedChild())return!0;a=a._next}return!1};c.getChildren=function(a,c,d,b){b=b||-9999999999;for(var f=[],u=this._first,t=0;u;)u._startTime<b||(u instanceof h?!1!=c&&(f[t++]=u):(!1!=d&&(f[t++]=u),!1!=a&&(f=f.concat(u.getChildren(!0,c,d)),t=f.length))),u=u._next;return f};c.getTweensOf=function(a,c){for(var d=h.getTweensOf(a),b=d.length,f=[],u=0;-1<--b;)if(d[b].timeline===this||c&&this._contains(d[b]))f[u++]=d[b];return f};c._contains=function(a){for(a=a.timeline;a;){if(a===this)return!0;a=-a.timeline}return!1};c.shiftChildren=function(a,c,d){d=d||0;for(var b=this._first;b;)b._startTime>=d&&(b._startTime+=a),b=b._next;if(c)for(var f in this._labels)this._labels[f]>=d&&(this._labels[f]+=a);return this._uncache(!0)};c._kill=function(a,c){if(null==a&&null==c)return this._enabled(!1,!1);for(var d=null==c?this.getChildren(!0,!0,!1):this.getTweensOf(c),b=d.length,f=!1;-1<--b;)d[b]._kill(a,c)&&(f=!0);return f};c.clear=function(a){var c=this.getChildren(!1,!0,!0),d=c.length;for(this._time=this._totalTime=-0;-1<--d;)c[d]._enabled(!1,!1);!1!=a&&(this._labels={});return this._uncache(!0)};c.invalidate=function(){for(var a=this._first;a;)a.invalidate(),a=a._next;return this};c._enabled=function(a,c){if(a===this._gc)for(var d=this._first;d;)d._enabled(a,!0),d=d._next;return k.prototype._enabled.call(this,a,c)};c.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*a,!1)};c.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};c.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var c=0,d=this._first,b=-999999999999,f;d;)f=d._next,d._startTime<b&&this._sortChildren?this.insert(d,d._startTime-d._delay):b=d._startTime,0>d._startTime&&(c-=d._startTime,this.shiftChildren(-d._startTime,!1,-9999999999)),d=d._startTime+(!d._dirty?d._totalDuration:d.totalDuration())/d._timeScale,d>c&&(c=d),d=f;this._duration=this._totalDuration=-c;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a);return this};c.usesFrames=function(){for(var a=this._timeline;a._timeline;)a=a._timeline;return a===r._rootFramesTimeline};c.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return q},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(r,-k,h){var q=function(b){r.call(this,b);this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._dirty=!0},l=[],b=new h(null,null,1,0);h=q.prototype=new r;h.constructor=q;h.kill()._gc=!1;q.version=1.641;h.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return r.prototype.invalidate.call(this)};h.addCallback=function(b,c,a,g){return this.insert(k.delayedCall(0,-b,a,g),c)};h.removeCallback=function(b,c){if(null==c)this._kill(null,b);else for(var a=this.getTweensOf(b,!1),g=a.length,d=this._parseTimeOrLabel(c);-1<--g;)a[g]._startTime===d&&a[g]._enabled(!1,!1);return this};h.tweenTo=function(t,c){c=c||{};var a={ease:b,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1},g,d;for(g in c)a[g]=c[g];a.time=this._parseTimeOrLabel(t);d=new k(this,Math.abs(Number(a.time)-this._time)/this._timeScale||0.001,a);a.onStart=function(){d.target.paused(!0);d.vars.time!==-d.target.time()&&d.duration(Math.abs(d.vars.time-d.target.time())/d.target._timeScale);c.onStart&&c.onStart.apply(c.onStartScope||d,c.onStartParams||l)};return d};h.tweenFromTo=function(b,c,a){a=a||{};a.startAt={time:this._parseTimeOrLabel(b)};b=this.tweenTo(c,a);return b.duration(Math.abs(b.vars.time-b.vars.startAt.time)/this._timeScale||0.001)};h.render=function(b,c,a){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var g=!this._dirty?this._totalDuration:this.totalDuration(),d=this._time,-h=this._totalTime,f=this._startTime,u=this._timeScale,q=this._rawPrevTime,k=this._paused,v=this._cycle,E,s;if(b>=g){this._locked||(this._totalTime=g,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(E=!0,s="onComplete",0===this._duration&&(0===b||0>this._rawPrevTime)))this._rawPrevTime!==b&&(a=!0);this._rawPrevTime=b;this._yoyo&&0!==(this._cycle&1)?(this._time=0,b=-1E-6):(this._time=this._duration,b=this._duration+1E-6)}else if(0>=b){this._locked||(this._totalTime=this._cycle=-0);this._time=0;if(0!==d||0===this._duration&&0<this._rawPrevTime&&!this._locked)s="onReverseComplete",E=this._reversed;0>b?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(a=!0)):this._initted||(a=!0);this._rawPrevTime=b;b=0===this._duration?0:-1E-6}else if(this._time=this._rawPrevTime=b,!this._locked&&(this._totalTime=b,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,b=this._duration+1E-6):0>this._time?this._time=b=0:b=this._time}if(this._cycle!==v&&!this._locked){var C=this._yoyo&&0!==(v&1),n=C===(this._yoyo&&0!==(this._cycle&1)),T=this._totalTime,L=this._cycle,J=this._rawPrevTime,y=this._time;this._totalTime=v*this._duration;this._cycle<v?C=!C:this._totalTime+=this._duration;this._time=d;this._rawPrevTime=-0===this._duration?q-1E-5:q;this._cycle=v;this._locked=!0;d=C?0:this._duration;this.render(d,c,0===this._duration);c||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||l);n&&(d=C?this._duration+1E-6:-1E-6,this.render(d,!0,!1));this._time=y;this._totalTime=T;this._cycle=L;this._rawPrevTime=J;this._locked=!1}if(this._time===d&&!a)h!==this._totalTime&&this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||-l));else{this._initted||(this._initted=!0);0===h&&this.vars.onStart&&0!==this._totalTime&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||l));if(this._time>d)for(a=this._first;a;){h=a._next;if(this._paused&&!k)break;else if(a._active||a._startTime<=this._time&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(b-a._startTime)*a._timeScale,c,!1):a.render((b-a._startTime)*a._timeScale,c,!1);a=h}else for(a=this._last;a;){h=a._prev;-if(this._paused&&!k)break;else if(a._active||a._startTime<=d&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(b-a._startTime)*a._timeScale,c,!1):a.render((b-a._startTime)*a._timeScale,c,!1);a=h}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||l));if(s&&!this._locked&&!this._gc&&(f===this._startTime||u!==this._timeScale))if(0===this._time||g>=this.totalDuration())E&&(this._timeline.autoRemoveChildren&&this._enabled(!1,-!1),this._active=!1),c||this.vars[s]&&this.vars[s].apply(this.vars[s+"Scope"]||this,this.vars[s+"Params"]||l)}};h.getActive=function(b,c,a){null==b&&(b=!0);null==c&&(c=!0);null==a&&(a=!1);var g=[];b=this.getChildren(b,c,a);c=0;a=b.length;var d,h;for(d=0;d<a;d++)if(h=b[d],!h._paused&&h._timeline._time>=h._startTime&&h._timeline._time<h._startTime+h._totalDuration/h._timeScale){var f;a:{for(f=h._timeline;f;){if(f._paused){f=!0;break a}f=f._timeline}f=!1}f||(g[c++]=h)}return g};h.getLabelAfter=function(b){!b&&-0!==b&&(b=this._time);var c=this.getLabelsArray(),a=c.length,g;for(g=0;g<a;g++)if(c[g].time>b)return c[g].name;return null};h.getLabelBefore=function(b){null==b&&(b=this._time);for(var c=this.getLabelsArray(),a=c.length;-1<--a;)if(c[a].time<b)return c[a].name;return null};h.getLabelsArray=function(){var b=[],c=0,a;for(a in this._labels)b[c++]={time:this._labels[a],name:a};b.sort(function(a,c){return a.time-c.time});return b};h.progress=function(b){return!arguments.length?this._time/this.duration():-this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-b:b)+this._cycle*(this._duration+this._repeatDelay),!1)};h.totalProgress=function(b){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*b,!1)};h.totalDuration=function(b){return!arguments.length?(this._dirty&&(r.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((b-this._repeat*this._repeatDelay)/(this._repeat+1))};h.time=function(b,c){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();b>this._duration&&(b=this._duration);this._yoyo&&0!==(this._cycle&1)?b=this._duration-b+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(b+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(b,c)};h.repeat=function(b){if(!arguments.length)return this._repeat;this._repeat=b;return this._uncache(!0)};-h.repeatDelay=function(b){if(!arguments.length)return this._repeatDelay;this._repeatDelay=b;return this._uncache(!0)};h.yoyo=function(b){if(!arguments.length)return this._yoyo;this._yoyo=b;return this};h.currentLabel=function(b){return!arguments.length?this.getLabelBefore(this._time+1E-8):this.seek(b,!0)};return q},!0);_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(r){var k=function(){r.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},h=k.prototype=-new r("bezier",1),q=180/Math.PI,l=Math.PI/180,b=[],t=[],c=[],a={},g=function(a,c,d,b){this.a=a;this.b=c;this.c=d;this.d=b;this.da=b-a;this.ca=d-a;this.ba=c-a},d=k.bezierThrough=function(d,u,h,q,v,E){var s={},C=[],n,l,k;v="string"===typeof v?","+v+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";null==u&&(u=1);for(l in d[0])C.push(l);b.length=t.length=c.length=0;for(n=C.length;-1<---n;){l=C[n];a[l]=-1!==v.indexOf(","+l+",");k=s;var J=l,y;y=d;var j=l,B=a[l],x=E,G=[],z=void 0,w=void 0,r=void 0,e=void 0,m=void 0,z=void 0;if(x){y=[x].concat(y);for(w=y.length;-1<--w;)if("string"===typeof(z=y[w][j]))"="===z.charAt(1)&&(y[w][j]=x[j]+Number(z.charAt(0)+z.substr(2)))}z=y.length-2;if(0>z)G[0]=new g(y[0][j],0,0,y[-1>z?0:1][j]);else{for(w=0;w<z;w++)r=y[w][j],e=y[w+1][j],G[w]=new g(r,0,0,e),B&&(m=y[w+2][j],b[w]=(b[w]||0)+(e-r)*(e-r),t[w]=(t[w]||0)+(m-e)*(m-e));G[w]=new g(y[w][j],0,0,y[w+-1][j])}y=G;k[J]=y}for(n=b.length;-1<--n;)b[n]=Math.sqrt(b[n]),t[n]=Math.sqrt(t[n]);if(!q){for(n=C.length;-1<--n;)if(a[l]){d=s[C[n]];k=d.length-1;for(v=0;v<k;v++)E=d[v+1].da/t[v]+d[v].da/b[v],c[v]=(c[v]||0)+E*E}for(n=c.length;-1<--n;)c[n]=Math.sqrt(c[n])}for(n=C.length;-1<--n;){l=C[n];d=s[l];v=u;E=h;k=q;l=a[l];J=d.length-1;y=0;for(var j=d[0].a,p=m=e=x=z=e=r=z=w=r=G=x=B=void 0,B=0;B<J;B++)w=d[y],x=w.a,G=w.d,r=d[y+1].d,l?(e=b[B],m=t[B],p=0.25*(m+e)*v/(k?0.5:c[B]||0.5),z=G-(G-x)*(k?0.5*v:p/e),r=G+(r--G)*(k?0.5*v:p/m),e=G-(z+(r-z)*(3*e/(e+m)+0.5)/4)):(z=G-0.5*(G-x)*v,r=G+0.5*(r-G)*v,e=G-(z+r)/2),z+=e,r+=e,w.c=z,w.b=0!==B?j:j=w.a+0.6*(w.c-w.a),w.da=G-x,w.ca=z-x,w.ba=j-x,E?(x=A(x,j,z,G),d.splice(y,1,x[0],x[1],x[2],x[3]),y+=4):y++,j=r;w=d[y];w.b=j;w.c=j+0.4*(w.d-j);w.da=w.d-w.a;w.ca=w.c-w.a;w.ba=j-w.a;E&&(x=A(w.a,j,w.c,w.d),d.splice(y,1,x[0],x[1],x[2],x[3]))}return s},A=k.cubicToQuadratic=function(a,c,d,b){var g={a:a},h={},s={},l={c:b},n=(a+c)/2,q=(c+d)/2;d=(d+b)/2;c=(n+q)/2;var q=(q+d)/2,k=(q-c)/-8;g.b=n+(a-n)/4;h.b=c+k;g.c=h.a=(g.b+h.b)/2;h.c=s.a=(c+q)/2;s.b=q-k;l.b=d+(b-d)/4;s.c=l.a=(s.b+l.b)/2;return[g,h,s,l]};k.quadraticToCubic=function(a,c,d){return new g(a,(2*c+a)/3,(2*c+d)/3,d)};h.constructor=k;k.API=2;k._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,c=a._parseToProxy,d=a._setPluginRatio,b=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,f,g,h,n,q){f instanceof Array&&(f={values:f});q=new k;g=f.values;var r=g.length--1,t=[],y={},j,B,x;if(0>r)return n;for(j=0;j<=r;j++)x=c(a,g[j],h,n,q,r!==j),t[j]=x.end;for(B in f)y[B]=f[B];y.values=t;n=new b(a,"bezier",0,0,x.pt,2);n.data=x;n.plugin=q;n.setRatio=d;0===y.autoRotate&&(y.autoRotate=!0);y.autoRotate&&!(y.autoRotate instanceof Array)&&(j=!0===y.autoRotate?0:Number(y.autoRotate)*l,y.autoRotate=null!=x.end.left?[["left","top","rotation",j,!0]]:null!=x.end.x?[["x","y","rotation",j,!0]]:!1);y.autoRotate&&(h._transform||h._enableTransforms(!1),x.autoRotate=h._target._gsTransform);-q._onInitTween(x.proxy,y,h._tween);return n})}};h._onInitTween=function(a,c,b){this._target=a;c instanceof Array&&(c={values:c});this._props=[];this._timeRes=null==c.timeResolution?6:parseInt(c.timeResolution,10);var h=c.values||[],q={},l=h[0];b=c.autoRotate||b.vars.orientToBezier;var s,C,n;this._autoRotate=b?b instanceof Array?b:[["x","y","rotation",!0===b?0:Number(b)||0]]:null;for(s in l)this._props.push(s);for(l=this._props.length;-1<--l;)s=this._props[l],this._overwriteProps.push(s),b=this._func[s]=-"function"===typeof a[s],q[s]=!b?parseFloat(a[s]):a[s.indexOf("set")||"function"!==typeof a["get"+s.substr(3)]?s:"get"+s.substr(3)](),n||q[s]!==h[0][s]&&(n=q);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)q=d(h,isNaN(c.curviness)?1:c.curviness,!1,"thruBasic"===c.type,c.correlate,n);else{b=(b=c.type)||"soft";c={};n="cubic"===b?3:2;b="soft"===b;var l=[],k,r,t,y,j,B,x,G,z;b&&q&&(h=[q].concat(h));if(null==h||h.length<n+1)throw"invalid Bezier data";for(r in h[0])l.push(r);for(B=l.length;-1<---B;){r=l[B];c[r]=j=[];z=0;G=h.length;for(x=0;x<G;x++)k=null==q?h[x][r]:"string"===typeof(t=h[x][r])&&"="===t.charAt(1)?q[r]+Number(t.charAt(0)+t.substr(2)):Number(t),b&&1<x&&x<G-1&&(j[z++]=(k+j[z-2])/2),j[z++]=k;G=z-n+1;for(x=z=0;x<G;x+=n)k=j[x],r=j[x+1],t=j[x+2],y=2===n?0:j[x+3],j[z++]=t=3===n?new g(k,r,t,y):new g(k,(2*r+k)/3,(2*r+t)/3,t);j.length=z}q=c}this._beziers=q;this._segCount=this._beziers[s].length;if(this._timeRes){l=this._beziers;s=this._timeRes;s=s>>0||6;q=[];r=[];h=t=0;c=s-1;n=[];b=-[];for(C in l){k=l[C];j=q;B=s;x=1/B;G=k.length;for(var w=void 0,A=void 0,e=y=z=A=void 0,m=w=void 0,p=void 0,p=e=void 0;-1<--G;){e=k[G];A=e.a;z=e.d-A;y=e.c-A;e=e.b-A;A=0;for(m=1;m<=B;m++)w=x*m,p=1-w,w=A-(A=(w*w*z+3*p*(w*y+p*e))*w),p=G*B+m-1,j[p]=(j[p]||0)+w*w}}l=q.length;for(C=0;C<l;C++)t+=Math.sqrt(q[C]),k=C%s,b[k]=t,k===c&&(h+=t,k=C/s>>0,n[k]=b,r[k]=h,t=0,b=[]);this._length=h;this._lengths=r;this._segments=n;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(b=this._autoRotate){b[0]instanceof Array||(this._autoRotate=b=[b]);for(l=b.length;-1<--l;)for(C=0;3>C;C++)s=b[l][C],this._func[s]="function"===typeof a[s]?a[s.indexOf("set")||"function"!==typeof a["get"+s.substr(3)]?s:"get"+s.substr(3)]:!1}return!0};h.setRatio=function(a){var c=this._segCount,b=this._func,d=this._target,h,g,l,k,n;if(this._timeRes){h=this._lengths;k=this._curSeg;a*=this._length;g=this._li;if(a>this._l2&&g<c-1){for(c-=1;g<-c&&(this._l2=h[++g])<=a;);this._l1=h[g-1];this._li=g;this._curSeg=k=this._segments[g];this._s2=k[this._s1=this._si=0]}else if(a<this._l1&&0<g){for(;0<g&&(this._l1=h[--g])>=a;);0===g&&a<this._l1?this._l1=0:g++;this._l2=h[g];this._li=g;this._curSeg=k=this._segments[g];this._s1=k[(this._si=k.length-1)-1]||0;this._s2=k[this._si]}h=g;a-=this._l1;g=this._si;if(a>this._s2&&g<k.length-1){for(c=k.length-1;g<c&&(this._s2=k[++g])<=a;);this._s1=k[g-1];this._si=g}else if(a<this._s1&&0<g){for(;0<g&&(this._s1=k[--g])>=-a;);0===g&&a<this._s1?this._s1=0:g++;this._s2=k[g];this._si=g}k=(g+(a-this._s1)/(this._s2-this._s1))*this._prec}else h=0>a?0:1<=a?c-1:c*a>>0,k=(a-h*(1/c))*c;c=1-k;for(g=this._props.length;-1<--g;)if(a=this._props[g],l=this._beziers[a][h],n=(k*k*l.da+3*c*(k*l.ca+c*l.ba))*k+l.a,this._round[a]&&(n=n+(0<n?0.5:-0.5)>>0),b[a])d[a](n);else d[a]=n;if(this._autoRotate){var c=this._autoRotate,r,t,A,y,j;for(g=c.length;-1<--g;)a=c[g][2],y=c[g][3]||0,j=!0===c[g][4]?1:q,l=this._beziers[c[g][0]][h],n=this._beziers[c[g][1]][h],-r=l.a+(l.b-l.a)*k,t=l.b+(l.c-l.b)*k,r+=(t-r)*k,t+=(l.c+(l.d-l.c)*k-t)*k,l=n.a+(n.b-n.a)*k,A=n.b+(n.c-n.b)*k,l+=(A-l)*k,A+=(n.c+(n.d-n.c)*k-A)*k,n=Math.atan2(A-l,t-r)*j+y,b[a]?b[a].call(d,n):d[a]=n}};h._roundProps=function(a,c){for(var b=this._overwriteProps,d=b.length;-1<--d;)if(a[b[d]]||a.bezier||a.bezierThrough)this._round[b[d]]=c};h._kill=function(a){var c=this._props,b,d;for(b in this._beziers)if(b in a){delete this._beziers[b];delete this._func[b];for(d=c.length;-1<--d;)c[d]===b&&c.splice(d,-1)}return r.prototype._kill.call(this,a)};r.activate([k]);return k},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(r){var k=function(){r.call(this,"css");this._overwriteProps.length=0},h,q,l,b,t={},c=k.prototype=new r("css");c.constructor=k;k.version=1.669;k.API=2;k.defaultTransformPerspective=0;c="px";k.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c};var a=/(?:\d|\-\d|\.\d|\-\.\d)+/g,g=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,-d=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,A=/[^\d\-\.]/g,f=/(?:\d|\-|\+|=|#|\.)*/g,u=/opacity *= *([^)]*)/,X=/opacity:([^;]*)/,Q=/alpha\(opacity *=.+?\)/i,v=/([A-Z])/g,E=/-([a-z])/gi,s=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,C=function(a,e){return e.toUpperCase()},n=/(?:Left|Right|Width)/i,T=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,L=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,J=Math.PI/180,y=180/Math.PI,j={},B=document,x=B.createElement("div"),G=B.createElement("img"),z=k._internals=-{_specialProps:t},w=navigator.userAgent,R,e,m,p,F,I,D,aa=w.indexOf("Android"),Y=B.createElement("div");F=(m=-1!==w.indexOf("Safari")&&-1===w.indexOf("Chrome")&&(-1===aa||3<Number(w.substr(aa+8,1))))&&6>Number(w.substr(w.indexOf("Version/")+8,1));p=-1!==w.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(w);I=parseFloat(RegExp.$1);Y.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";D=(w=Y.getElementsByTagName("a")[0])?/^0.55/.test(w.style.opacity):!1;var la=function(a){return u.test("string"===-typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},ma="",ga="",ba=function(a,e){e=e||x;var c=e.style,b,d;if(void 0!==c[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);b=["O","Moz","ms","Ms","Webkit"];for(d=5;-1<--d&&void 0===c[b[d]+a];);return 0<=d?(ga=3===d?"ms":b[d],ma="-"+ga.toLowerCase()+"-",ga+a):null},ca=B.defaultView?B.defaultView.getComputedStyle:function(){},M=k.getStyle=function(a,e,c,b,d){var j;if(!D&&"opacity"===e)return la(a);!b&&a.style[e]?-j=a.style[e]:(c=c||ca(a,null))?j=(a=c.getPropertyValue(e.replace(v,"-$1").toLowerCase()))||c.length?a:c[e]:a.currentStyle&&(c=a.currentStyle,j=c[e]);return null!=d&&(!j||"none"===j||"auto"===j||"auto auto"===j)?d:j},ea=function(a,e,c){var b={},d=a._gsOverwrittenClassNamePT,j;if(d&&!c){for(;d;)d.setRatio(0),d=d._next;a._gsOverwrittenClassNamePT=null}if(e=e||ca(a,null))if(j=e.length)for(;-1<--j;)b[e[j].replace(E,C)]=e.getPropertyValue(e[j]);else for(j in e)b[j]=e[j];else if(e=a.currentStyle||a.style)for(j in e)b[j.replace(E,-C)]=e[j];D||(b.opacity=la(a));a=da(a,e,!1);b.rotation=a.rotation*y;b.skewX=a.skewX*y;b.scaleX=a.scaleX;b.scaleY=a.scaleY;b.x=a.x;b.y=a.y;U&&(b.z=a.z,b.rotationX=a.rotationX*y,b.rotationY=a.rotationY*y,b.scaleZ=a.scaleZ);b.filters&&delete b.filters;return b},na=function(a,e,c,b){var d={};a=a.style;var j,H,p;for(H in c)if("cssText"!==H&&"length"!==H&&isNaN(H)&&e[H]!==(j=c[H]))if(-1===H.indexOf("Origin")&&("number"===typeof j||"string"===typeof j))d[H]=(""===j||"auto"===j||"none"===j)&&"string"===typeof e[H]&&-""!==e[H].replace(A,"")?0:j,void 0!==a[H]&&(p=new ha(a,H,a[H],p));if(b)for(H in b)"className"!==H&&(d[H]=b[H]);return{difs:d,firstMPT:p}},ta={width:["Left","Right"],height:["Top","Bottom"]},ua=["marginLeft","marginRight","marginTop","marginBottom"],S=function(a,e,c,b,d){if("px"===b||!b)return c;if("auto"===b||!c)return 0;var j=n.test(e),H=a,p=x.style,m=0>c;m&&(c=-c);"%"===b&&-1!==e.indexOf("border")?j=c/100*(j?a.clientWidth:a.clientHeight):(p.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",-"%"===b||"em"===b||!H.appendChild?(H=a.parentNode||B.body,p[j?"width":"height"]=c+b):p[j?"borderLeftWidth":"borderTopWidth"]=c+b,H.appendChild(x),j=parseFloat(x[j?"offsetWidth":"offsetHeight"]),H.removeChild(x),0===j&&!d&&(j=S(a,e,c,b,!0)));return m?-j:j},ia=function(a,e){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%";e&&(e.oxp=-1!==b.indexOf("%"),e.oyp=-1!==d.indexOf("%"),e.oxr="="===b.charAt(1),e.oyr="="===d.charAt(1),e.ox=parseFloat(b.replace(A,"")),e.oy=parseFloat(d.replace(A,"")));return b+" "+d+(2<c.length?" "+c[2]:"")},oa=function(a,e){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(e)},V=function(a,e){return null==a?e:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+-"1",10)*Number(a.substr(2))+e:parseFloat(a)},Z=function(a,e){if(null==a)return e;var c=-1===a.indexOf("rad")?J:1,b="="===a.charAt(1);a=Number(a.replace(A,""))*c;return b?a+e:a},ja=function(a,e){var c=(("number"===typeof a?a*J:Z(a,e))-e)%(2*Math.PI);c!==c%Math.PI&&(c+=Math.PI*(0>c?2:-2));return e+c},$={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]},ka=function(e){if(!e||""===e)return $.black;if($[e])return $[e];if("number"===typeof e)return[e>>16,e>>8&255,e&255];if("#"===e.charAt(0)){if(4===e.length){var c=e.charAt(1),b=e.charAt(2);e=e.charAt(3);e="#"+c+c+b+b+e+e}e=parseInt(e.substr(1),16);return[e>>16,e>>8&255,e&255]}e=e.match(a)||$.transparent;e[0]=Number(e[0]);e[1]=Number(e[1]);e[2]=-Number(e[2]);3<e.length&&(e[3]=Number(e[3]));return e},W="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(c in $)W+="|"+c+"\\b";var W=RegExp(W+")","gi"),pa=function(e,c,b){if(null==e)return function(a){return a};var j=c?(e.match(W)||[""])[0]:"",p=e.split(j).join("").match(d)||[],m=e.substr(0,e.indexOf(p[0])),H=")"===e.charAt(e.length-1)?")":"",g=-1!==e.indexOf(" ")?" ":",",h=p.length,f=0<h?p[0].replace(a,""):"";return c?function(a){"number"===typeof a&&(a+=f);var e=(a.match(W)||[j])[0];a=a.split(e).join("").match(d)||-[];var c=a.length;if(h>c--)for(;++c<h;)a[c]=b?a[(c-1)/2>>0]:p[c];return m+a.join(g)+g+e+H}:function(a){"number"===typeof a&&(a+=f);a=a.match(d)||[];var e=a.length;if(h>e--)for(;++e<h;)a[e]=b?a[(e-1)/2>>0]:p[e];return m+a.join(g)+H}},w=function(a){a=a.split(",");return function(e,c,b,d,j,p,m){c=(c+"").split(" ");m={};for(b=0;4>b;b++)m[a[b]]=c[b]=c[b]||c[(b-1)/2>>0];return d.parse(e,m,j,p)}};z._setPluginRatio=function(a){this.plugin.setRatio(a);for(var e=this.data,c=e.proxy,b=e.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;e.autoRotate&&(e.autoRotate.rotation=c.rotation);if(1===a)for(b=e.firstMPT;b;){a=b.t;if(a.type){if(1===a.type){c=a.xs0+a.s+a.xs1;for(e=1;e<a.l;e++)c+=a["xn"+e]+a["xs"+(e+1)];a.e=c}}else a.e=a.s+a.xs0;b=b._next}};var ha=function(a,e,c,b,d){this.t=a;this.p=e;this.v=c;this.r=d;b&&(b._prev=this,this._next=b)};z._parseToProxy=function(a,e,c,b,d,p){var H=b,m={},g={},h=c._transform,f=j,l;c._transform=null;j=e;b=a=c.parse(a,e,b,d);j=-f;p&&(c._transform=h,H&&(H._prev=null,H._prev&&(H._prev._next=null)));for(;b&&b!==H;){if(1>=b.type&&(h=b.p,g[h]=b.s+b.c,m[h]=b.s,p||(l=new ha(b,"s",h,l,b.r),b.c=0),1===b.type))for(c=b.l;0<--c;)f="xn"+c,h=b.p+"_"+f,g[h]=b.data[f],m[h]=b[f],p||(l=new ha(b,f,h,l,b.rxp[f]));b=b._next}return{proxy:m,end:g,firstMPT:l,pt:a}};var N=z.CSSPropTween=function(a,e,c,d,j,p,H,m,g,f,l){this.t=a;this.p=e;this.s=c;this.c=d;this.n=H||"css_"+e;a instanceof N||b.push(this.n);this.r=m;this.type=p||0;g&&(this.pr=g,h=!0);-this.b=void 0===f?c:f;this.e=void 0===l?c+d:l;j&&(this._next=j,j._prev=this)},fa=k.parseComplex=function(e,c,b,d,j,p,m,h,f,l){m=new N(e,c,0,0,m,l?2:1,null,!1,h,b,d);e=b.split(", ").join(",").split(" ");c=(d+"").split(", ").join(",").split(" ");b=e.length;h=!1!==R;var k,q,n,F,I;b!==c.length&&(e=(p||"").split(" "),b=e.length);m.plugin=f;m.setRatio=l;for(p=0;p<b;p++)if(f=e[p],k=c[p],(l=parseFloat(f))||0===l)m.appendXtra("",l,oa(k,l),k.replace(g,""),h&&-1!==k.indexOf("px"),!0);else if(j&&("#"===f.charAt(0)||-0===f.indexOf("rgb")||$[f]))f=ka(f),k=ka(k),(l=6<f.length+k.length)&&!D&&0===k[3]?(m["xs"+m.l]+=m.l?" transparent":"transparent",m.e=m.e.split(c[p]).join("transparent")):(m.appendXtra(l?"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],l?",":")",!0),l&&(f=4>f.length?1:f[3],m.appendXtra("",f,(4>k.length?1:k[3])-f,")",!1)));else if(l=f.match(a)){n=k.match(g);if(!n||n.length!==l.length)return m;for(k=q=0;k<l.length;k++)I=l[k],F=f.indexOf(I,q),-m.appendXtra(f.substr(q,F-q),Number(I),oa(n[k],I),"",h&&"px"===f.substr(F+I.length,2),0===k),q=F+I.length;m["xs"+m.l]+=f.substr(q)}else m["xs"+m.l]+=m.l?" "+f:f;if(-1!==d.indexOf("=")&&m.data){d=m.xs0+m.data.s;for(p=1;p<m.l;p++)d+=m["xs"+p]+m.data["xn"+p];m.e=d+m["xs"+p]}m.l||(m.type=-1,m.xs0=m.e);return m.xfirst||m},O=9,c=N.prototype;for(c.l=c.pr=0;0<--O;)c["xn"+O]=0,c["xs"+O]="";c.xs0="";c._next=c._prev=c.xfirst=c.data=c.plugin=c.setRatio=c.rxp=null;c.appendXtra=function(a,e,c,b,d,j){var m=this.l;-this["xs"+m]+=j&&m?" "+a:a||"";if(!c&&0!==m&&!this.plugin)return this["xs"+m]+=e+(b||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=b||"";if(0<m)return this.data["xn"+m]=e+c,this.rxp["xn"+m]=d,this["xn"+m]=e,this.plugin||(this.xfirst=new N(this,"xn"+m,e,c,this.xfirst||this,0,this.n,d,this.pr),this.xfirst.xs0=0),this;this.data={s:e+c};this.rxp={};this.s=e;this.c=c;this.r=d;return this};var qa=function(a,e,c,b,d,m,j){this.p=b?ba(a)||a:a;t[a]=t[this.p]=this;this.format=m||pa(e,d);c&&-(this.parse=c);this.clrs=d;this.dflt=e;this.pr=j||0},K=z._registerComplexSpecialProp=function(a,e,c,b,d,m,j){a=a.split(",");e=e instanceof Array?e:[e];for(var p=a.length;-1<--p;)new qa(a[p],e[p],c,b&&0===p,d,m,j)},z=function(a){if(!t[a]){var e=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";K(a,null,function(a,c,b,d,m,j,p){var f=window.com.greensock.plugins[e];if(!f)return window.console&&console.log("Error: "+e+" js file not loaded."),m;f._cssRegister();return t[b].parse(a,c,b,d,m,j,p)})}},c=qa.prototype;-c.parseComplex=function(a,e,c,b,d,m){return fa(a,this.p,e,c,this.clrs,this.dflt,b,this.pr,d,m)};c.parse=function(a,e,c,b,d,m){return this.parseComplex(a.style,this.format(M(a,c,l,!1,this.dflt)),this.format(e),d,m)};k.registerSpecialProp=function(a,e,c){K(a,null,function(a,b,d,m,j,p){j=new N(a,d,0,0,j,2,d,!1,c);j.plugin=p;j.setRatio=e(a,b,m._tween,d);return j},!1,!1,null,c)};var ra="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),P=ba("transform"),va=ma+"transform",-sa=ba("transformOrigin"),U=null!==ba("perspective"),da=function(a,e,c){var b=c?a._gsTransform||{skewY:0}:{skewY:0},d=0>b.scaleX,m=U?parseFloat(M(a,sa,e,!1,"0 0 0").split(" ")[2])||b.zOrigin||0:0,j,p,f,g,h,l,q,n;P?j=M(a,va,e,!0):a.currentStyle&&(j=(j=a.currentStyle.filter.match(T))&&4===j.length?j[0].substr(4)+","+Number(j[2].substr(4))+","+Number(j[1].substr(4))+","+j[3].substr(4)+","+(b?b.x:0)+","+(b?b.y:0):null);p=(j||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(e=p.length;-1<--e;)j=Number(p[e]),-p[e]=(1E5*j+(0>j?-0.5:0.5)>>0)/1E5;if(16===p.length){if(d=p[8],j=p[9],h=p[10],l=p[12],q=p[13],n=p[14],b.zOrigin&&(n=-b.zOrigin,l=d*n-p[12],q=j*n-p[13],n=h*n+b.zOrigin-p[14]),!c||l!==b.x||q!==b.y||n!==b.z){var F=p[0],I=p[1],t=p[2],r=p[3],u=p[4],D=p[5],s=p[6],x=p[7];p=p[11];var w=-Math.PI+1E-4,Y=Math.PI-1E-4,v=b.rotationX=Math.atan2(s,h),aa=v<w||v>Y,y,A,B,z;v&&(B=Math.cos(-v),z=Math.sin(-v),v=u*B+d*z,y=D*B+j*z,A=s*B+h*z,d=u*-z+d*B,j=D*-z+j*B,h=s*-z+h*B,p=x*-z+p*B,u=v,D=y,s=A);if(v=b.rotationY=Math.atan2(d,-F))f=v<w||v>Y,B=Math.cos(-v),z=Math.sin(-v),y=I*B-j*z,A=t*B-h*z,j=I*z+j*B,h=t*z+h*B,p=r*z+p*B,F=F*B-d*z,I=y,t=A;if(v=b.rotation=Math.atan2(I,D))g=v<w||v>Y,B=Math.cos(-v),z=Math.sin(-v),F=F*B+u*z,y=I*B+D*z,D=I*-z+D*B,s=t*-z+s*B,I=y;g&&aa?b.rotation=b.rotationX=0:g&&f?b.rotation=b.rotationY=0:f&&aa&&(b.rotationY=b.rotationX=0);b.scaleX=(1E5*Math.sqrt(F*F+I*I)+0.5>>0)/1E5;b.scaleY=(1E5*Math.sqrt(D*D+j*j)+0.5>>0)/1E5;b.scaleZ=(1E5*Math.sqrt(s*s+h*h)+0.5>>0)/1E5;b.skewX=0;b.perspective=p?1/p:0;b.x=l;b.y=-q;b.z=n}}else if(!U||0===p.length||b.x!==p[4]||b.y!==p[5]||!b.rotationX&&!b.rotationY){j=(f=6<=p.length)?p[0]:1;l=p[1]||0;h=p[2]||0;q=f?p[3]:1;b.x=p[4]||0;b.y=p[5]||0;f=Math.sqrt(j*j+l*l);g=Math.sqrt(q*q+h*h);j=j||l?Math.atan2(l,j):b.rotation||0;h=h||q?Math.atan2(h,q)+j:b.skewX||0;l=f-Math.abs(b.scaleX||0);q=g-Math.abs(b.scaleY||0);Math.abs(h)>Math.PI/2&&Math.abs(h)<1.5*Math.PI&&(d?(f*=-1,h+=0>=j?Math.PI:-Math.PI,j+=0>=j?Math.PI:-Math.PI):(g*=-1,h+=0>=h?Math.PI:-Math.PI));d=(j-b.rotation)%Math.PI;-n=(h-b.skewX)%Math.PI;if(void 0===b.skewX||1E-6<l||-1E-6>l||1E-6<q||-1E-6>q||1E-6<d||-1E-6>d||1E-6<n||-1E-6>n)b.scaleX=f,b.scaleY=g,b.rotation=j,b.skewX=h;U&&(b.rotationX=b.rotationY=b.z=0,b.perspective=parseFloat(k.defaultTransformPerspective)||0,b.scaleZ=1)}b.zOrigin=m;for(e in b)1E-6>b[e]&&-1E-6<b[e]&&(b[e]=0);c&&(a._gsTransform=b);return b},wa=function(a){var e=this.data,b=-e.rotation,c=b+e.skewX,d=(1E5*Math.cos(b)*e.scaleX>>0)/1E5,b=(1E5*Math.sin(b)*e.scaleX>>0)/1E5,j=(1E5*Math.sin(c)*-e.scaleY>>-0)/1E5,c=(1E5*Math.cos(c)*e.scaleY>>0)/1E5,p=this.t.style,m=this.t.currentStyle,h,g;if(m){g=b;b=-j;j=-g;h=m.filter;p.filter="";var l=this.t.offsetWidth;g=this.t.offsetHeight;var k="absolute"!==m.position,q="progid:DXImageTransform.Microsoft.Matrix(M11="+d+", M12="+b+", M21="+j+", M22="+c,n=e.x,F=e.y,t,D;null!=e.ox&&(t=(e.oxp?0.01*l*e.ox:e.ox)-l/2,D=(e.oyp?0.01*g*e.oy:e.oy)-g/2,n+=t-(t*d+D*b),F+=D-(t*j+D*c));if(k)t=l/2,D=g/2,q+=", Dx="+(t-(t*d+D*b)+n)+", Dy="+(D-(t*j+D*c)+F)+")";else{var r=8>I?1:-1;-t=e.ieOffsetX||0;D=e.ieOffsetY||0;e.ieOffsetX=Math.round((l-((0>d?-d:d)*l+(0>b?-b:b)*g))/2+n);e.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>j?-j:j)*l))/2+F);for(O=0;4>O;O++)l=ua[O],g=m[l],g=-1!==g.indexOf("px")?parseFloat(g):S(this.t,l,parseFloat(g),g.replace(f,""))||0,n=g!==e[l]?2>O?-e.ieOffsetX:-e.ieOffsetY:2>O?t-e.ieOffsetX:D-e.ieOffsetY,p[l]=(e[l]=Math.round(g-n*(0===O||2===O?1:r)))+"px";q+=", sizingMethod='auto expand')"}p.filter=-1!==h.indexOf("DXImageTransform.Microsoft.Matrix(")?h.replace(L,-q):q+" "+h;if(0===a||1===a)if(1===d&&0===b&&0===j&&1===c&&(!k||-1!==q.indexOf("Dx=0, Dy=0")))(!u.test(h)||100===parseFloat(RegExp.$1))&&-1===h.indexOf("gradient(")&&p.removeAttribute("filter")}},xa=function(){var a=this.data,e=this.t.style,b=a.perspective,c=a.scaleX,d=0,j=0,m=0,g=0,h=a.scaleY,f=0,l=0,q=0,k=0,n=a.scaleZ,F=0,I=0,t=0,D=b?-1/b:0,r=a.rotation,u=a.zOrigin,s,v,w,x,B;p&&(v=M(this.t,"top",null,!1,"0"),s=parseFloat(v)||0,v=v.substr((s+"").length),a._ffFix=!a._ffFix,e.top=(a._ffFix?s+0.05:s--0.05)+(""===v?"px":v));r&&(s=Math.cos(r),r=Math.sin(r),w=h*r,d=c*-r,h*=s,c*=s,g=w);if(r=a.rotationY)s=Math.cos(r),r=Math.sin(r),x=n*-r,B=D*-r,j=c*r,f=g*r,n*=s,D*=s,c*=s,g*=s,q=x,I=B;if(r=a.rotationX)s=Math.cos(r),r=Math.sin(r),v=d*s+j*r,w=h*s+f*r,x=k*s+n*r,B=t*s+D*r,j=d*-r+j*s,f=h*-r+f*s,n=k*-r+n*s,D=t*-r+D*s,d=v,h=w,k=x,t=B;u&&(F-=u,m=j*F,l=f*F,F=n*F+u);m+=a.x;l+=a.y;F=(1E5*(F+a.z)>>0)/1E5;e[P]="matrix3d("+(1E5*c>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*q>>0)/1E5+","+(1E5*I>>0)/1E5+","+(1E5*d>>0)/1E5+-","+(1E5*h>>0)/1E5+","+(1E5*k>>0)/1E5+","+(1E5*t>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*f>>0)/1E5+","+(1E5*n>>0)/1E5+","+(1E5*D>>0)/1E5+","+(1E5*m>>0)/1E5+","+(1E5*l>>0)/1E5+","+F+","+(b?1+-F/b:1)+")"},ya=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[P]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var e=a.rotation,b=e-a.skewX,c=(1E5*Math.cos(e)*a.scaleX>>0)/1E5,e=(1E5*Math.sin(e)*a.scaleX>>0)/1E5,d=(1E5*Math.sin(b)*-a.scaleY>>0)/1E5,b=(1E5*Math.cos(b)*a.scaleY>>0)/-1E5;this.t.style[P]="matrix("+c+","+e+","+d+","+b+","+a.x+","+a.y+")"}};K("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,e,b,c,d,p,m){if(c._transform)return d;e=c._transform=da(a,l,!0);var g=a.style,h=ra.length,f,q,k,n,F;if("string"===typeof m.transform&&P)q=g[P],g[P]=m.transform,f=da(a,null,!1),g[P]=q;else if("object"===typeof m){q=null!=-m.rotation?m.rotation:null!=m.rotationZ?m.rotationZ:e.rotation*y;f={scaleX:V(null!=m.scaleX?m.scaleX:m.scale,e.scaleX),scaleY:V(null!=m.scaleY?m.scaleY:m.scale,e.scaleY),scaleZ:V(null!=m.scaleZ?m.scaleZ:m.scale,e.scaleZ),x:V(m.x,e.x),y:V(m.y,e.y),z:V(m.z,e.z),perspective:V(m.transformPerspective,e.perspective)};f.rotation=null!=m.shortRotation||null!=m.shortRotationZ?ja(m.shortRotation||m.shortRotationZ||0,e.rotation):"number"===typeof q?q*J:Z(q,e.rotation);U&&(f.rotationX=null!=m.shortRotationX?-ja(m.shortRotationX,e.rotationX):"number"===typeof m.rotationX?m.rotationX*J:Z(m.rotationX,e.rotationX),f.rotationY=null!=m.shortRotationY?ja(m.shortRotationY,e.rotationY):"number"===typeof m.rotationY?m.rotationY*J:Z(m.rotationY,e.rotationY),1E-6>f.rotationX&&-1E-6<f.rotationX&&(f.rotationX=0),1E-6>f.rotationY&&-1E-6<f.rotationY&&(f.rotationY=0));f.skewX=null==m.skewX?e.skewX:"number"===typeof m.skewX?m.skewX*J:Z(m.skewX,e.skewX);f.skewY=null==m.skewY?e.skewY:"number"===typeof m.skewY?m.skewY*J:-Z(m.skewY,e.skewY);if(q=f.skewY-e.skewY)f.skewX+=q,f.rotation+=q;1E-6>f.skewY&&-1E-6<f.skewY&&(f.skewY=0);1E-6>f.skewX&&-1E-6<f.skewX&&(f.skewX=0);1E-6>f.rotation&&-1E-6<f.rotation&&(f.rotation=0)}n=e.z||e.rotationX||e.rotationY||f.z||f.rotationX||f.rotationY||f.perspective;!n&&null!=f.scale&&(f.scaleZ=1);for(;-1<--h;)if(b=ra[h],k=f[b]-e[b],1E-6<k||-1E-6>k||null!=j[b])F=!0,d=new N(e,b,e[b],k,d),d.xs0=0,d.plugin=p,c._overwriteProps.push(d.n);if((k=m.transformOrigin)||U&&n&&e.zOrigin)P?(F=!0,k=(k||-M(a,b,l,!1,"50% 50%"))+"",b=sa,d=new N(g,b,0,0,d,-1,"css_transformOrigin"),d.b=g[b],d.plugin=p,U?(q=e.zOrigin,k=k.split(" "),e.zOrigin=(2<k.length?parseFloat(k[2]):q)||0,d.xs0=d.e=g[b]=k[0]+" "+(k[1]||"50%")+" 0px",d=new N(e,"zOrigin",0,0,d,-1,d.n),d.b=q,d.xs0=d.e=e.zOrigin):d.xs0=d.e=g[b]=k):ia(k+"",e);F&&(c._transformType=n||3===this._transformType?3:2);return d},!0);K("boxShadow","0px 0px 0px 0px #999",null,!0,!0);K("borderRadius","0px",function(a,e,b,c,d){e=this.format(e);c=["borderTopLeftRadius",-"borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];var m=a.style,j,p,f,g,h,k,n,F,r,D,s,I;F=parseFloat(a.offsetWidth);r=parseFloat(a.offsetHeight);e=e.split(" ");for(j=0;j<c.length;j++)this.p.indexOf("border")&&(c[j]=ba(c[j])),g=f=M(a,c[j],l,!1,"0px"),-1!==g.indexOf(" ")&&(f=g.split(" "),g=f[0],f=f[1]),h=p=e[j],k=parseFloat(g),s=g.substr((k+"").length),(I="="===h.charAt(1))?(n=parseInt(h.charAt(0)+"1",10),h=h.substr(2),n*=parseFloat(h),D=h.substr((n+"").length-(0>n?1:0))||""):-(n=parseFloat(h),D=h.substr((n+"").length)),""===D&&(D=q[b]||s),D!==s&&(g=S(a,"borderLeft",k,s),k=S(a,"borderTop",k,s),"%"===D?(g=100*(g/F)+"%",f=100*(k/r)+"%"):"em"===D?(s=S(a,"borderLeft",1,"em"),g=g/s+"em",f=k/s+"em"):(g+="px",f=k+"px"),I&&(h=parseFloat(g)+n+D,p=parseFloat(f)+n+D)),d=fa(m,c[j],g+" "+f,h+" "+p,!1,"0px",d);return d},!0,!1,pa("0px 0px 0px 0px",!1,!0));K("backgroundPosition","0 0",function(a,e,b,c,d,j){b=l||ca(a,null);b=this.format((b?I?b.getPropertyValue("background-position-x")+-" "+b.getPropertyValue("background-position-y"):b.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");e=this.format(e);var m,p,f,g;if(-1!==b.indexOf("%")!==(-1!==e.indexOf("%"))){c=b.split(" ");m=e.split(" ");G.setAttribute("src",M(a,"backgroundImage").replace(s,""));for(p=2;-1<--p;)b=c[p],f=-1!==b.indexOf("%"),f!==(-1!==m[p].indexOf("%"))&&(g=0===p?a.offsetWidth-G.width:a.offsetHeight-G.height,c[p]=f?parseFloat(b)/100*g+"px":-100*(parseFloat(b)/g)+"%");b=c.join(" ")}return this.parseComplex(a.style,b,e,d,j)},!1,!1,ia);K("backgroundSize","0 0",null,!1,!1,ia);K("perspective","0px",null,!0);K("perspectiveOrigin","50% 50%",null,!0);K("transformStyle","preserve-3d",null,!0);K("backfaceVisibility","visible",null,!0);K("margin",null,w("marginTop,marginRight,marginBottom,marginLeft"));K("padding",null,w("paddingTop,paddingRight,paddingBottom,paddingLeft"));K("clip","rect(0px,0px,0px,0px)");K("textShadow","0px 0px 0px #999",null,-!1,!0);K("autoRound",null,function(a,e,b,c,d){return d});K("border","0px solid #000",function(a,e,b,c,d,j){return this.parseComplex(a.style,this.format(M(a,"borderTopWidth",l,!1,"0px")+" "+M(a,"borderTopStyle",l,!1,"solid")+" "+M(a,"borderTopColor",l,!1,"#000")),this.format(e),d,j)},!1,!0,function(a){var e=a.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(a.match(W)||["#000"])[0]});var za=function(a){var e=this.t,b=e.filter;a=this.s+this.c*a>>0;var c;100===a&&(-1===b.indexOf("atrix(")&&-1===b.indexOf("radient(")?-(e.removeAttribute("filter"),c=!M(this.data,"filter")):(e.filter=b.replace(Q,""),c=!0));c||(this.xn1&&(e.filter=b=b||"alpha(opacity=100)"),e.filter=-1===b.indexOf("opacity")?e.filter+(" alpha(opacity="+a+")"):b.replace(u,"opacity="+a))};K("opacity,alpha,autoAlpha","1",function(a,e,b,c,d,j){var m=parseFloat(M(a,"opacity",l,!1,"1")),p=a.style,f;e=parseFloat(e);"autoAlpha"===b&&(f=M(a,"visibility",l),1===m&&("hidden"===f&&0!==e)&&(m=0),d=new N(p,"visibility",0,0,d,-1,null,!1,0,0!==m?"visible":"hidden",-0===e?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));D?d=new N(p,"opacity",m,e-m,d):(d=new N(p,"opacity",100*m,100*(e-m),d),d.xn1="autoAlpha"===b?1:0,p.zoom=1,d.type=2,d.b="alpha(opacity="+d.s+")",d.e="alpha(opacity="+(d.s+d.c)+")",d.data=a,d.plugin=j,d.setRatio=za);return d});var Aa=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var e=this.t.style,b=e.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)e[a.p]=a.v;else e[b](a.p.replace(v,-"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};K("className",null,function(a,e,b,c,d,m,j){var p=a.className,f=a.style.cssText;d=c._classNamePT=new N(a,b,0,0,d,2);d.setRatio=Aa;d.b=p;d.e="="!==e.charAt(1)?e:"+"===e.charAt(0)?p+" "+e.substr(2):p.split(e.substr(2)).join("");c._tween._duration&&(e=ea(a,l,!0),a.className=d.e,j=na(a,e,ea(a),j),a.className=p,d.data=j.firstMPT,a.style.cssText=f,d=d.xfirst=c.parse(a,j.difs,d,m));return d});c=["bezier","throwProps",-"physicsProps","physics2D"];for(O=c.length;O--;)z(c[O]);c=k.prototype;c._firstPT=null;c._onInitTween=function(a,c,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=c;R=c.autoRound;h=!1;q=c.suffixMap||k.suffixMap;l=ca(a,"");b=this._overwriteProps;d=a.style;var j,p,f,g;if(e&&""===d.zIndex&&(j=M(a,"zIndex",l),"auto"===j||""===j))d.zIndex=0;"string"===typeof c&&(p=d.cssText,j=ea(a,l),d.cssText=p+";"+c,j=na(a,j,ea(a)).difs,!D&&X.test(c)&&(j.opacity=parseFloat(RegExp.$1)),c=j,d.cssText=-p);this._firstPT=c=this.parse(a,c,null);if(this._transformType){j=3===this._transformType;if(P){if(m){e=!0;if(""===d.zIndex&&(g=M(a,"zIndex",l),"auto"===g||""===g))d.zIndex=0;F&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(j?"visible":"hidden"))}}else d.zoom=1;for(d=c;d&&d._next;)d=d._next;g=new N(a,"transform",0,0,null,2);this._linkCSSP(g,null,d);g.setRatio=j&&U?xa:P?ya:wa;g.data=this._transform||da(a,l,!0);b.pop()}if(h){for(;c;){a=c._next;for(d=p;d&&d.pr>c.pr;)d=d._next;(c._prev=-d?d._prev:f)?c._prev._next=c:p=c;(c._next=d)?d._prev=c:f=c;c=a}this._firstPT=p}return!0};c.parse=function(a,e,b,c){var d=a.style,j,m,p,f,g,h,k,n;for(j in e){g=e[j];if(m=t[j])b=m.parse(a,g,j,this,b,c,e);else if(m=M(a,j,l)+"",k="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||k&&!g.indexOf("rgb"))k||(g=ka(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),b=fa(d,j,m,g,!0,"transparent",b,0,c);else if(k&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))b=fa(d,j,m,g,!0,null,-b,0,c);else{p=parseFloat(m);h=m.substr((p+"").length);if(""===m||"auto"===m)if("width"===j||"height"===j){p=a;n=j;f=l;h=parseFloat("width"===n?p.offsetWidth:p.offsetHeight);n=ta[n];var F=n.length;for(f=f||ca(p,null);-1<--F;)h-=parseFloat(M(p,"padding"+n[F],f,!0))||0,h-=parseFloat(M(p,"border"+n[F]+"Width",f,!0))||0;p=h;h="px"}else p="opacity"!==j?0:1,h="";(n=k&&"="===g.charAt(1))?(f=parseInt(g.charAt(0)+"1",10),g=g.substr(2),f*=parseFloat(g),k=g.substr((f+"").length-(0>f?1:0))||""):(f=parseFloat(g),-k=k?g.substr((f+"").length)||"":"");""===k&&(k=q[j]||h);g=f||0===f?(n?f+p:f)+k:e[j];if(h!==k&&""!==k&&(f||0===f))if(p||0===p)if(p=S(a,j,p,h),"%"===k?(p/=S(a,j,100,"%")/100,100<p&&(p=100)):"em"===k?p/=S(a,j,1,"em"):(f=S(a,j,f,k),k="px"),n&&(f||0===f))g=f+p+k;n&&(f+=p);(p||0===p)&&(f||0===f)?(b=new N(d,j,p,f-p,b,0,"css_"+j,!1!==R&&("px"===k||"zIndex"===j),0,m,g),b.xs0=k):!g&&("NaN"===g+""||null==g)?window.console&&console.log("invalid "+j+" tween value. "):(b=new N(d,j,f||p||0,0,b,-1,"css_"+j,!1,0,-m,g),b.xs0="display"===j&&"none"===g?m:g)}c&&(b&&!b.plugin)&&(b.plugin=c)}return b};c.setRatio=function(a){var e=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;e;)2!==e.type?e.t[e.p]=e.e:e.setRatio(a),e=e._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;e;){b=e.c*a+e.s;e.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<b&&(b=0);if(e.type)if(1===e.type)if(c=e.l,2===c)e.t[e.p]=e.xs0+-b+e.xs1+e.xn1+e.xs2;else if(3===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{b=e.xs0+b+e.xs1;for(c=1;c<e.l;c++)b+=e["xn"+c]+e["xs"+(c+1)];e.t[e.p]=b}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next};c._enableTransforms=function(e){this._transformType=-e||3===this._transformType?3:2};c._linkCSSP=function(e,a,b,c){e&&(a&&(a._prev=e),e._next&&(e._next._prev=e._prev),b?b._next=e:!c&&null===this._firstPT&&(this._firstPT=e),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next),e._next=a,e._prev=b);return e};c._kill=function(e){var a=e,b=!1,c,d;if(e.css_autoAlpha||e.css_alpha){a={};for(d in e)a[d]=e[d];a.css_opacity=1;a.css_autoAlpha&&(a.css_visibility=1)}if(e.css_className&&(c=this._classNamePT))(e=c.xfirst)&&e._prev?this._linkCSSP(e._prev,-c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=null),c._next&&this._linkCSSP(c._next,c._next._next,e._prev),this._target._gsOverwrittenClassNamePT=this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,b=!0;return r.prototype._kill.call(this,a)||b};r.activate([k]);return k},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(r){var k=function(){r.call(this,"roundProps",-1);this._overwriteProps.length=0},h=k.prototype=new r("roundProps",-1);-h.constructor=k;k.API=2;h._onInitTween=function(h,k,b){this._tween=b;return!0};h._onInitAllProps=function(){for(var h=this._tween,k=h.vars.roundProps instanceof Array?h.vars.roundProps:h.vars.roundProps.split(","),b=k.length,r={},c=h._propLookup.roundProps,a,g,d;-1<--b;)r[k[b]]=1;for(b=k.length;-1<--b;){a=k[b];for(g=h._firstPT;g;)d=g._next,g.pg?g.t._roundProps(r,!0):g.n===a&&(this._add(g.t,a,g.s,g.c),d&&(d._prev=g._prev),g._prev?g._prev._next=d:h._firstPT===g&&(h._firstPT=d),g._next=g._prev=null,-h._propLookup[a]=c),g=d}return!1};h._add=function(h,k,b,r){this._addTween(h,k,b,b+r,k,!0);this._overwriteProps.push(k)};r.activate([k]);return k},!0);_gsDefine("easing.Back",["easing.Ease"],function(r){var k=window.com.greensock._class,h=function(a,b){var c=k("easing."+a,function(){},!0),d=c.prototype=new r;d.constructor=c;d.getRatio=b;return c},q=function(a,b){var c=k("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new r;d.constructor=c;d.getRatio=b;-d.config=function(a){return new c(a)};return c},l=q("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),b=q("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),q=q("BackInOut",function(a){return 1>(a*=2)?0.5*a*a*((this._p2+1)*a-this._p2):0.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)}),t=h("BounceOut",function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375}),c=h("BounceIn",function(a){return(a=-1-a)<1/2.75?1-7.5625*a*a:a<2/2.75?1-(7.5625*(a-=1.5/2.75)*a+0.75):a<2.5/2.75?1-(7.5625*(a-=2.25/2.75)*a+0.9375):1-(7.5625*(a-=2.625/2.75)*a+0.984375)}),a=h("BounceInOut",function(a){var b=0.5>a;a=b?1-2*a:2*a-1;a=a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375;return b?0.5*(1-a):0.5*a+0.5}),g=h("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),d=h("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),A=h("CircInOut",-function(a){return 1>(a*=2)?-0.5*(Math.sqrt(1-a*a)-1):0.5*(Math.sqrt(1-(a-=2)*a)+1)}),f=2*Math.PI,u=function(a,b,c){var d=k("easing."+a,function(a,b){this._p1=a||1;this._p2=b||c;this._p3=this._p2/f*(Math.asin(1/this._p1)||0)},!0);a=d.prototype=new r;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},X=u("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*f/this._p2)+1},0.3),Q=u("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*-Math.sin((a-this._p3)*f/this._p2))},0.3),u=u("ElasticInOut",function(a){return 1>(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*f/this._p2):0.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*f/this._p2)+1},0.45),v=h("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),E=h("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),s=h("ExpoInOut",function(a){return 1>(a*=2)?0.5*Math.pow(2,10*(a-1)):0.5*(2-Math.pow(2,-10*(a-1)))}),C=Math.PI/2,n=h("SineOut",function(a){return Math.sin(a*-C)}),T=h("SineIn",function(a){return-Math.cos(a*C)+1}),h=h("SineInOut",function(a){return-0.5*(Math.cos(Math.PI*a)-1)}),L=k("easing.SlowMo",function(a,b,c){null==a?a=0.7:1<a&&(a=1);this._p=1!=a?b||0===b?b:0.7:0;this._p1=(1-a)/2;this._p2=a;this._p3=this._p1+this._p2;this._calcEnd=!0===c},!0),J=L.prototype=new r;J.constructor=L;J.getRatio=function(a){var b=a+(0.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*-a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b};L.ease=new L(0.7,0.7);J.config=L.config=function(a,b,c){return new L(a,b,c)};var y=k("easing.SteppedEase",function(a){a=a||1;this._p1=1/a;this._p2=a+1},!0),J=y.prototype=new r;J.constructor=y;J.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};J.config=y.config=function(a){return new y(a)};k("easing.Bounce",{easeOut:new t,easeIn:new c,easeInOut:new a},!0);k("easing.Circ",{easeOut:new g,easeIn:new d,easeInOut:new A},-!0);k("easing.Elastic",{easeOut:new X,easeIn:new Q,easeInOut:new u},!0);k("easing.Expo",{easeOut:new v,easeIn:new E,easeInOut:new s},!0);k("easing.Sine",{easeOut:new n,easeIn:new T,easeInOut:new h},!0);return{easeOut:new l,easeIn:new b,easeInOut:new q}},!0)});-(function(r){var k=function(a){a=a.split(".");var b=r,c;for(c=0;c<a.length;c++)b[a[c]]=b=b[a[c]]||{};return b},h=k("com.greensock"),q,l,b,t,c,a={},g=function(e,b,c,d){this.sc=a[e]?a[e].sc:[];a[e]=this;this.gsClass=null;this.def=c;var f=b||[],h=[];this.check=function(b){for(var m=f.length,j=0,l;-1<--m;)(l=a[f[m]]||new g(f[m])).gsClass?h[m]=l.gsClass:(j++,b&&l.sc.push(this));if(0===j&&c){b=("com.greensock."+e).split(".");var m=b.pop(),n=k(b.join("."))[m]=this.gsClass=c.apply(c,h);d&&((r.GreenSockGlobals||-r)[m]=n,"function"===typeof define&&define.amd?define((r.GreenSockAMDPath?r.GreenSockAMDPath+"/":"")+e.split(".").join("/"),[],function(){return n}):"undefined"!==typeof module&&module.exports&&(module.exports=n));for(m=0;m<this.sc.length;m++)this.sc[m].check(!1)}};this.check(!0)},d=h._class=function(a,b,c){b=b||function(){};new g(a,[],function(){return b},c);return b};r._gsDefine=function(a,b,c,d){return new g(a,b,c,d)};var A=[0,0,1,1],f=[],u=d("easing.Ease",function(a,b,c,d){this._func=a;this._type=-c||0;this._power=d||0;this._params=b?A.concat(b):A},!0);b=u.prototype;b._calcEnd=!1;b.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:0.5>a?2*a:2*(1-a);1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d);return 1===b?1-d:2===b?d:0.5>a?d/2:1-d/2};q=["Linear","Quad","Cubic","Quart","Quint"];for(l=q.length;-1<--l;)b=d("easing."+q[l],null,!0),t=d("easing.Power"+l,null,!0),b.easeOut=t.easeOut=new u(null,-null,1,l),b.easeIn=t.easeIn=new u(null,null,2,l),b.easeInOut=t.easeInOut=new u(null,null,3,l);d("easing.Strong",h.easing.Power4,!0);h.easing.Linear.easeNone=h.easing.Linear.easeIn;var X=d("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this});b=X.prototype;b.addEventListener=function(a,b,c,d,f){f=f||0;var g=this._listeners[a],h=0,j;null==g&&(this._listeners[a]=g=[]);for(j=g.length;-1<--j;)a=g[j],a.c===b?g.splice(j,1):0===h&&a.pr<f&&(h=j+1);g.splice(h,0,{c:b,s:c,up:d,pr:f})};-b.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}};b.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var c=b.length,d=this._eventTarget,f;-1<--c;)f=b[c],f.up?f.c.call(f.s||d,{type:a,target:d}):f.c.call(f.s||d)};var Q=r.requestAnimationFrame,v=r.cancelAnimationFrame,E=Date.now||function(){return(new Date).getTime()};q=["ms","moz","webkit","o"];for(l=q.length;-1<--l&&!Q;)Q=r[q[l]+"RequestAnimationFrame"],v=r[q[l]+-"CancelAnimationFrame"]||r[q[l]+"CancelRequestAnimationFrame"];d("Ticker",function(a,b){var c=this,d=E(),f=!1!==b&&Q,g,h,j,k,l,n=function(){null!=j&&(!f||!v?r.clearTimeout(j):v(j),j=null)},q=function(a){c.time=(E()-d)/1E3;if(!g||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=h(q))};X.call(c);this.time=this.frame=0;this.tick=function(){q(!0)};this.fps=function(a){if(!arguments.length)return g;g=a;k=1/(g||-60);l=this.time+k;h=0===g?function(){}:!f||!Q?function(a){return r.setTimeout(a,1E3*(l-c.time)+1>>0||1)}:Q;n();j=h(q)};this.useRAF=function(a){if(!arguments.length)return f;n();f=a;c.fps(g)};c.fps(a);r.setTimeout(function(){f&&!j&&c.useRAF(!1)},1E3)});b=h.Ticker.prototype=new h.events.EventDispatcher;b.constructor=h.Ticker;var s=d("core.Animation",function(a,b){this.vars=b||{};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(x){c||(C.tick(),c=!0);var d=this.vars.useFrames?B:x;d.insert(this,d._time);this.vars.paused&&this.paused(!0)}}),C=s.ticker=new h.Ticker;b=s.prototype;b._dirty=b._gc=b._initted=b._paused=!1;b._totalTime=b._time=0;b._rawPrevTime=-1;b._next=b._last=b._onUpdate=b._timeline=b.timeline=null;b._paused=!1;b.play=function(a,b){arguments.length&&this.seek(a,b);this.reversed(!1);return this.paused(!1)};b.pause=function(a,b){arguments.length&&-this.seek(a,b);return this.paused(!0)};b.resume=function(a,b){arguments.length&&this.seek(a,b);return this.paused(!1)};b.seek=function(a,b){return this.totalTime(Number(a),!1!==b)};b.restart=function(a,b){this.reversed(!1);this.paused(!1);return this.totalTime(a?-this._delay:0,!1!==b)};b.reverse=function(a,b){arguments.length&&this.seek(a||this.totalDuration(),b);this.reversed(!0);return this.paused(!1)};b.render=function(){};b.invalidate=function(){return this};b._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};b._kill=function(){return this._enabled(!1,!1)};b.kill=function(a,b){this._kill(a,b);return this};b._uncache=function(a){for(a=a?this:this.timeline;a;)a._dirty=!0,a=a.timeline;return this};b.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 f=c.length;-1<--f;)"{self}"===c[f]&&(c=this.vars[a+"Params"]=c.concat(),c[f]=this);"onUpdate"===a&&(this._onUpdate=b)}return this};b.delay=function(a){if(!arguments.length)return this._delay;this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay);this._delay=a;return this};b.duration=function(a){if(!arguments.length)return this._dirty=-!1,this._duration;this._duration=this._totalDuration=a;this._uncache(!0);this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==a&&this.totalTime(this._totalTime*(a/this._duration),!0);return this};b.totalDuration=function(a){this._dirty=!1;return!arguments.length?this._totalDuration:this.duration(a)};b.time=function(a,b){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();a>this._duration&&(a=this._duration);return this.totalTime(a,b)};b.totalTime=function(a,-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};b.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};b.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)};b.reversed=function(a){if(!arguments.length)return this._reversed;a!=this._reversed&&(this._reversed=a,this.totalTime(this._totalTime,!0));return this};b.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};h=d("core.SimpleTimeline",function(a){s.call(this,0,a);this.autoRemoveChildren=this.smoothChildTiming=!0});b=h.prototype=new s;b.constructor=h;b.kill()._gc=!1;b._first=b._last=null;b._sortChildren=!1;b.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};b._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};b.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}};b.rawTime=function(){return this._totalTime};var n=d("TweenLite",function(a,b,c){s.call(this,b,c);if(null==-a)throw"Cannot tween an undefined reference.";this.target=a;this._overwrite=null==this.vars.overwrite?j[n.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]=-G(c,this,!1),1===this._overwrite&&1<this._siblings[a].length&&z(c,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=G(a,this,!1),1===this._overwrite&&1<this._siblings.length&&z(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);b=n.prototype=new s;b.constructor=n;b.kill()._gc=!1;b.ratio=0;b._firstPT=b._targets=b._overwrittenProps=null;b._notifyPluginsOfEnabled=!1;n.version=1.668;-n.defaultEase=b._ease=new u(null,null,1,1);n.defaultOverwrite="auto";n.ticker=C;var T=n._plugins={},L=n._tweenLookup={},J=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},B=s._rootFramesTimeline=new h,x=s._rootTimeline=new h;x._startTime=C.time;B._startTime=C.frame;x._active=B._active=!0;s._updateRoot=function(){x.render((C.time-x._startTime)*x._timeScale,!1,!1);B.render((C.frame-B._startTime)*B._timeScale,!1,!1);if(!(C.frame%120)){var a,b,c;for(c in L){b=L[c].tweens;for(a=b.length;-1<--a;)b[a]._gc&&b.splice(a,1);0===b.length&&delete L[c]}}};-C.addEventListener("tick",s._updateRoot);var G=function(a,b,c){var d=a._gsTweenID,f;if(!L[d||(a._gsTweenID=d="t"+J++)])L[d]={target:a,tweens:[]};if(b&&(a=L[d].tweens,a[f=a.length]=b,c))for(;-1<--f;)a[f]===b&&a.splice(f,1);return L[d].tweens},z=function(a,b,c,d,f){var g,h,j;if(1===d||4<=d){a=f.length;for(g=0;g<a;g++)if((j=f[g])!==b)j._gc||j._enabled(!1,!1)&&(h=!0);else if(5===d)break;return h}var k=b._startTime+1E-10,l=[],n=0,q=0===b._duration,r;for(g=f.length;-1<--g;)if(!((j=f[g])===b||j._gc||j._paused))j._timeline!==-b._timeline?(r=r||w(b,0,q),0===w(j,r,q)&&(l[n++]=j)):j._startTime<=k&&j._startTime+j.totalDuration()/j._timeScale+1E-10>k&&((q||!j._initted)&&2E-10>=k-j._startTime||(l[n++]=j));for(g=n;-1<--g;)if(j=l[g],2===d&&j._kill(c,a)&&(h=!0),2!==d||!j._firstPT&&j._initted)j._enabled(!1,!1)&&(h=!0);return h},w=function(a,b,c){for(var d=a._timeline,f=d._timeScale,g=a._startTime;d._timeline;){g+=d._startTime;f*=d._timeScale;if(d._paused)return-100;d=d._timeline}g/=f;return g>b?g-b:c&&g===b||!a._initted&&2E-10>-g-b?1E-10:(g+=a.totalDuration()/a._timeScale/f)>b?0:g-b-1E-10};b._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,n.to(this.target,0,this.vars.startAt));var a,b;this._ease=this.vars.ease instanceof u?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 u(this.vars.ease,this.vars.easeParams):n.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&&n._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};b._initProps=function(a,b,c,d){var f,g,h,j,k,l;if(null==a)return!1;for(f in this.vars){if(y[f]){if("onStartParams"===f||"onUpdateParams"===f||"onCompleteParams"===f||"onReverseCompleteParams"===f||"onRepeatParams"===f)if(k=this.vars[f])for(g=k.length;-1<--g;)"{self}"===k[g]&&(k=this.vars[f]=k.concat(),k[g]=this)}else if(T[f]&&(j=new T[f])._onInitTween(a,this.vars[f],this)){this._firstPT=l={_next:this._firstPT,t:j,p:"setRatio",-s:0,c:1,f:!0,n:f,pg:!0,pr:j._priority};for(g=j._overwriteProps.length;-1<--g;)b[j._overwriteProps[g]]=this._firstPT;if(j._priority||j._onInitAllProps)h=!0;if(j._onDisable||j._onEnable)this._notifyPluginsOfEnabled=!0}else this._firstPT=b[f]=l={_next:this._firstPT,t:a,p:f,f:"function"===typeof a[f],n:f,pg:!1,pr:0},l.s=!l.f?parseFloat(a[f]):a[f.indexOf("set")||"function"!==typeof a["get"+f.substr(3)]?f:"get"+f.substr(3)](),g=this.vars[f],l.c="number"===typeof g?g-l.s:"string"===typeof g&&"="===g.charAt(1)?-parseInt(g.charAt(0)+"1",10)*Number(g.substr(2)):Number(g)||0;l&&l._next&&(l._next._prev=l)}return d&&this._kill(d,a)?this._initProps(a,b,c,d):1<this._overwrite&&this._firstPT&&1<c.length&&z(a,this,b,this._overwrite,c)?(this._kill(b,a),this._initProps(a,b,c,d)):h};b.render=function(a,b,c){var d=this._time,g,j;if(a>=this._duration){if(this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(g=!0,j="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)j="onReverseComplete",g=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,k=this._easeType,l=this._easePower;if(1===k||3===k&&-0.5<=h)h=1-h;3===k&&(h*=2);1===l?h*=h:2===l?h*=h*h:3===l?h*=h*h*h:4===l&&(h*=h*h*h*h);this.ratio=1===k?1-h:2===k?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(),!g&&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||-f);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||f));j&&!this._gc&&(g&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[j]&&this.vars[j].apply(this.vars[j+"Scope"]||this,this.vars[j+"Params"]||f))}};b._kill=function(a,b){"all"===a&&(a=null);if(null==a&&(null==b||b===this.target))return this._enabled(!1,!1);b=-b||this._targets||this.target;var c,d,f,g,h,j,k;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(f in j=-a||g,k=a!==d&&"all"!==d&&a!==g&&(null==a||!0!==a._tempKill),j){if(c=g[f]){c.pg&&c.t._kill(j)&&(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[f]}k&&(d[f]=1)}}return h};b.invalidate=function(){this._notifyPluginsOfEnabled&&n._onPluginEvent("_onDisable",this);this._onUpdate=this._overwrittenProps=this._firstPT=null;this._initted=this._active=this._notifyPluginsOfEnabled=-!1;this._propLookup=this._targets?{}:[];return this};b._enabled=function(a,b){if(a&&this._gc)if(this._targets)for(var c=this._targets.length;-1<--c;)this._siblings[c]=G(this._targets[c],this,!0);else this._siblings=G(this.target,this,!0);s.prototype._enabled.call(this,a,b);return this._notifyPluginsOfEnabled&&this._firstPT?n._onPluginEvent(a?"_onEnable":"_onDisable",this):!1};n.to=function(a,b,c){return new n(a,b,c)};n.from=function(a,b,c){c.runBackwards=!0;!1!==c.immediateRender&&(c.immediateRender=-!0);return new n(a,b,c)};n.fromTo=function(a,b,c,d){d.startAt=c;c.immediateRender&&(d.immediateRender=!0);return new n(a,b,d)};n.delayedCall=function(a,b,c,d,f){return new n(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:f,overwrite:0})};n.set=function(a,b){return new n(a,0,b)};n.killTweensOf=n.killDelayedCallsTo=function(a,b){for(var c=n.getTweensOf(a),d=c.length;-1<--d;)c[d]._kill(b,-a)};n.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(n.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=G(a).concat();for(b=c.length;-1<--b;)c[b]._gc&&c.splice(b,1)}return c}};var R=d("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(",");this._propName=this._overwriteProps[0];this._priority=b||0},!0);b=R.prototype;R.version=12;R.API=-2;b._firstPT=null;b._addTween=function(a,b,c,d,f,g){var h;if(null!=d&&(h="number"===typeof d||"="!==d.charAt(1)?Number(d)-c:parseInt(d.charAt(0)+"1",10)*Number(d.substr(2))))this._firstPT=a={_next:this._firstPT,t:a,p:b,s:c,c:h,f:"function"===typeof a[b],n:f||b,r:g},a._next&&(a._next._prev=a)};b.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}};b._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};b._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}};n._onPluginEvent=function(a,b){var c=b._firstPT,d;if("_onInitAllProps"===-a){for(var f,g,h,j;c;){j=c._next;for(f=g;f&&f.pr>c.pr;)f=f._next;(c._prev=f?f._prev:h)?c._prev._next=c:g=c;(c._next=f)?f._prev=c:h=c;c=j}c=b._firstPT=g}for(;c;)c.pg&&"function"===typeof c.t[a]&&c.t[a]()&&(d=!0),c=c._next;return d};R.activate=function(a){for(var b=a.length;-1<--b;)a[b].API===R.API&&(n._plugins[(new a[b])._propName]=a[b]);return!0};if(q=r._gsQueue){for(l=0;l<q.length;l++)q[l]();for(b in a)a[b].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+b)}})(window);\ No newline at end of file+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(a,b,c){var d=function(a,b,d){c.call(this,a,b,d),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0},e=d.prototype=c.to({},.1,{}),f=[];d.version=1.67,e.constructor=d,e.kill()._gc=!1,d.killTweensOf=d.killDelayedCallsTo=c.killTweensOf,d.getTweensOf=c.getTweensOf,d.ticker=c.ticker,e.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),c.prototype.invalidate.call(this)},e.updateTo=function(a,b){var e,d=this.ratio;b&&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(e in a)this.vars[e]=a[e];if(this._initted)if(b)this._initted=!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&c._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var f=this._time;this.render(0,!0,!1),this._initted=!1,this.render(f,!0,!1)}else if(this._time>0){this._initted=!1,this._init();for(var i,g=1/(1-d),h=this._firstPT;h;)i=h.s+h.c,h.c*=g,h.s=i-h.c,h=h._next}return this},e.render=function(a,b,c){var i,j,k,d=this._dirty?this.totalDuration():this._totalDuration,e=this._time,g=this._totalTime,h=this._cycle;if(a>=d)this._totalTime=d,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle)?(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||(i=!0,j="onComplete"),0===this._duration&&((0===a||0>this._rawPrevTime)&&this._rawPrevTime!==a&&(c=!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,(0!==g||0===this._duration&&this._rawPrevTime>0)&&(j="onReverseComplete",i=this._reversed),0>a?(this._active=!1,0===this._duration&&(this._rawPrevTime>=0&&(c=!0),this._rawPrevTime=a)):this._initted||(c=!0);else{if(this._totalTime=this._time=a,0!==this._repeat){var l=this._duration+this._repeatDelay;this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!==(1&this._cycle)&&(this._time=this._duration-this._time),this._time>this._duration?this._time=this._duration:0>this._time&&(this._time=0)}if(this._easeType){var m=this._time/this._duration,n=this._easeType,o=this._easePower;(1===n||3===n&&m>=.5)&&(m=1-m),3===n&&(m*=2),1===o?m*=m:2===o?m*=m*m:3===o?m*=m*m*m:4===o&&(m*=m*m*m*m),this.ratio=1===n?1-m:2===n?m:.5>this._time/this._duration?m/2:1-m/2}else this.ratio=this._ease.getRatio(this._time/this._duration)}if(e===this._time&&!c)return g!==this._totalTime&&this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||f)),void 0;for(this._initted||(this._init(),!i&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration))),this._active||this._paused||(this._active=!0),0===g&&this.vars.onStart&&(0!==this._totalTime||0===this._duration)&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||f)),k=this._firstPT;k;)k.f?k.t[k.p](k.c*this.ratio+k.s):k.t[k.p]=k.c*this.ratio+k.s,k=k._next;this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||f)),this._cycle!==h&&(b||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||f)),j&&(this._gc||(i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[j]&&this.vars[j].apply(this.vars[j+"Scope"]||this,this.vars[j+"Params"]||f)))},d.to=function(a,b,c){return new d(a,b,c)},d.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender!==!1&&(c.immediateRender=!0),new d(a,b,c)},d.fromTo=function(a,b,c,e){return e.startAt=c,c.immediateRender&&(e.immediateRender=!0),new d(a,b,e)},d.staggerTo=d.allTo=function(a,b,c,e,f,g,h){e=e||0;var l,m,n,i=[],j=a.length,k=c.delay||0;for(m=0;j>m;m++){l={};for(n in c)l[n]=c[n];l.delay=k,m===j-1&&f&&(l.onComplete=function(){c.onComplete&&c.onComplete.apply(c.onCompleteScope,c.onCompleteParams),f.apply(h,g)}),i[m]=new d(a[m],b,l),k+=e}return i},d.staggerFrom=d.allFrom=function(a,b,c,e,f,g,h){return c.runBackwards=!0,c.immediateRender!==!1&&(c.immediateRender=!0),d.staggerTo(a,b,c,e,f,g,h)},d.staggerFromTo=d.allFromTo=function(a,b,c,e,f,g,h,i){return e.startAt=c,c.immediateRender&&(e.immediateRender=!0),d.staggerTo(a,b,e,f,g,h,i)},d.delayedCall=function(a,b,c,e,f){return new d(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:e,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:e,immediateRender:!1,useFrames:f,overwrite:0})},d.set=function(a,b){return new d(a,0,b)},d.isTweening=function(a){for(var e,b=c.getTweensOf(a),d=b.length;--d>-1;)if((e=b[d])._active||e._startTime===e.timeline._time&&e.timeline._active)return!0;return!1};var g=function(a,b){for(var d=[],e=0,f=a._first;f;)f instanceof c?d[e++]=f:(b&&(d[e++]=f),d=d.concat(g(f,b)),e=d.length),f=f._next;return d},h=d.getAllTweens=function(b){var c=g(a._rootTimeline,b);return c.concat(g(a._rootFramesTimeline,b))};d.killAll=function(a,c,d,e){null==c&&(c=!0),null==d&&(d=!0);var j,k,l,f=h(0!=e),g=f.length,i=c&&d&&e;for(l=0;g>l;l++)k=f[l],(i||k instanceof b||(j=k.target===k.vars.onComplete)&&d||c&&!j)&&(a?k.totalTime(k.totalDuration()):k._enabled(!1,!1))},d.killChildTweensOf=function(a,b){if(null!=a){if(a.jquery)return a.each(function(a,c){d.killChildTweensOf(c,b)}),void 0;var h,i,j,k,e=c._tweenLookup,f=[];for(i in e)for(h=e[i].target.parentNode;h;)h===a&&(f=f.concat(e[i].tweens)),h=h.parentNode;for(k=f.length,j=0;k>j;j++)b&&f[j].totalTime(f[j].totalDuration()),f[j]._enabled(!1,!1)}},d.pauseAll=function(a,b,c){i(!0,a,b,c)},d.resumeAll=function(a,b,c){i(!1,a,b,c)};var i=function(a,c,d,e){void 0==c&&(c=!0),void 0==d&&(d=!0);for(var j,k,f=h(e),g=c&&d&&e,i=f.length;--i>-1;)k=f[i],(g||k instanceof b||(j=k.target===k.vars.onComplete)&&d||c&&!j)&&k.paused(a)};return e.progress=function(a){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},e.totalProgress=function(a){return arguments.length?this.totalTime(this.totalDuration()*a,!1):this._totalTime/this.totalDuration()},e.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),a>this._duration&&(a=this._duration),this._yoyo&&0!==(1&this._cycle)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!=this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(a,b)):this._time},e.totalDuration=function(a){return arguments.length?-1===this._repeat?this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},e.repeat=function(a){return arguments.length?(this._repeat=a,this._uncache(!0)):this._repeat},e.repeatDelay=function(a){return arguments.length?(this._repeatDelay=a,this._uncache(!0)):this._repeatDelay},e.yoyo=function(a){return arguments.length?(this._yoyo=a,this):this._yoyo},d},!0),_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(a,b,c){"use strict";var d=function(a){b.call(this,a),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;for(var d,f,c=e.length;--c>-1;)if(f=this.vars[e[c]])for(d=f.length;--d>-1;)"{self}"===f[d]&&(f=this.vars[e[c]]=f.concat(),f[d]=this);this.vars.tweens instanceof Array&&this.insertMultiple(this.vars.tweens,0,this.vars.align||"normal",this.vars.stagger||0)},e=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams","onRepeatParams"],f=[],g=function(a){var c,b={};for(c in a)b[c]=a[c];return b},h=d.prototype=new b;return d.version=1.641,h.constructor=d,h.kill()._gc=!1,h.to=function(a,b,d,e,f){return this.insert(new c(a,b,d),this._parseTimeOrLabel(f,e,!0))},h.from=function(a,b,d,e,f){return this.insert(c.from(a,b,d),this._parseTimeOrLabel(f,e,!0))},h.fromTo=function(a,b,d,e,f,g){return this.insert(c.fromTo(a,b,d,e),this._parseTimeOrLabel(g,f,!0))},h.staggerTo=function(a,b,e,f,h,i,j,k,l){var m=new d({onComplete:j,onCompleteParams:k,onCompleteScope:l});f=f||0;for(var n=0;a.length>n;n++)null!=e.startAt&&(e.startAt=g(e.startAt)),m.insert(new c(a[n],b,g(e)),n*f);return this.insert(m,this._parseTimeOrLabel(i,h,!0))},h.staggerFrom=function(a,b,c,d,e,f,g,h,i){return null==c.immediateRender&&(c.immediateRender=!0),c.runBackwards=!0,this.staggerTo(a,b,c,d,e,f,g,h,i)},h.staggerFromTo=function(a,b,c,d,e,f,g,h,i,j){return d.startAt=c,c.immediateRender&&(d.immediateRender=!0),this.staggerTo(a,b,d,e,f,g,h,i,j)},h.call=function(a,b,d,e,f){return this.insert(c.delayedCall(0,a,b,d),this._parseTimeOrLabel(f,e,!0))},h.set=function(a,b,d,e){return b.immediateRender=!1,this.insert(new c(a,0,b),this._parseTimeOrLabel(e,d,!0))},d.exportRoot=function(a,b){a=a||{},null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var e=new d(a),f=e._timeline;null==b&&(b=!0),f._remove(e,!0),e._startTime=0,e._rawPrevTime=e._time=e._totalTime=f._time;for(var h,g=f._first;g;)h=g._next,b&&g instanceof c&&g.target===g.vars.onComplete||e.insert(g,g._startTime-g._delay),g=h;return f.insert(e,0),e},h.insert=function(d,e){if(d instanceof a);else{if(d instanceof Array)return this.insertMultiple(d,e);if("string"==typeof d)return this.addLabel(d,this._parseTimeOrLabel(e||0,0,!0));if("function"!=typeof d)throw"ERROR: Cannot insert() "+d+" into the TimelineLite/Max because it is neither a tween, timeline, function, nor a String.";d=c.delayedCall(0,d)}if(b.prototype.insert.call(this,d,this._parseTimeOrLabel(e||0,0,!0)),this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(var f=this;f._gc&&f._timeline;)f._timeline.smoothChildTiming?f.totalTime(f._totalTime,!0):f._enabled(!0,!1),f=f._timeline;return this},h.remove=function(b){if(b instanceof a)return this._remove(b,!1);if(b instanceof Array){for(var c=b.length;--c>-1;)this.remove(b[c]);return this}return"string"==typeof b?this.removeLabel(b):this.kill(null,b)},h.append=function(a,b){return this.insert(a,this._parseTimeOrLabel(null,b,!0))},h.insertMultiple=function(a,b,c,e){c=c||"normal",e=e||0;var f,g,h=this._parseTimeOrLabel(b||0,0,!0),i=a.length;for(f=0;i>f;f++)(g=a[f])instanceof Array&&(g=new d({tweens:g})),this.insert(g,h),"string"==typeof g||"function"==typeof g||("sequence"===c?h=g._startTime+g.totalDuration()/g._timeScale:"start"===c&&(g._startTime-=g.delay())),h+=e;return this._uncache(!0)},h.appendMultiple=function(a,b,c,d){return this.insertMultiple(a,this._parseTimeOrLabel(null,b,!0),c,d)},h.addLabel=function(a,b){return this._labels[a]=b,this},h.removeLabel=function(a){return delete this._labels[a],this},h.getLabelTime=function(a){return null!=this._labels[a]?this._labels[a]:-1},h._parseTimeOrLabel=function(a,b,c){return"string"==typeof b?this._parseTimeOrLabel(b,c&&"number"==typeof a&&null==this._labels[b]?a-this.duration():0,c):(b=b||0,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)},h.seek=function(a,b){return this.totalTime(this._parseTimeOrLabel(a),0!=b)},h.stop=function(){return this.paused(!0)},h.gotoAndPlay=function(a,c){return b.prototype.play.call(this,a,c)},h.gotoAndStop=function(a,b){return this.pause(a,b)},h.render=function(a,b,c){this._gc&&this._enabled(!0,!1),this._active=!this._paused;var j,k,l,m,d=this._dirty?this.totalDuration():this._totalDuration,e=this._time,g=this._startTime,h=this._timeScale,i=this._paused;if(a>=d?(this._totalTime=this._time=d,this._reversed||this._hasPausedChild()||(k=!0,m="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime)&&this._rawPrevTime!==a&&(c=!0)),this._rawPrevTime=a,a=d+1e-6):0>=a?(this._totalTime=this._time=0,(0!==e||0===this._duration&&this._rawPrevTime>0)&&(m="onReverseComplete",k=this._reversed),0>a?(this._active=!1,0===this._duration&&this._rawPrevTime>=0&&(c=!0)):this._initted||(c=!0),this._rawPrevTime=a,a=-1e-6):this._totalTime=this._time=this._rawPrevTime=a,this._time!==e||c){if(this._initted||(this._initted=!0),0===e&&this.vars.onStart&&0!==this._time&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||f)),this._time>e)for(j=this._first;j&&(l=j._next,!this._paused||i);)(j._active||j._startTime<=this._time&&!j._paused&&!j._gc)&&(j._reversed?j.render((j._dirty?j.totalDuration():j._totalDuration)-(a-j._startTime)*j._timeScale,b,!1):j.render((a-j._startTime)*j._timeScale,b,!1)),j=l;else for(j=this._last;j&&(l=j._prev,!this._paused||i);)(j._active||e>=j._startTime&&!j._paused&&!j._gc)&&(j._reversed?j.render((j._dirty?j.totalDuration():j._totalDuration)-(a-j._startTime)*j._timeScale,b,!1):j.render((a-j._startTime)*j._timeScale,b,!1)),j=l;this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||f)),m&&(this._gc||(g===this._startTime||h!=this._timeScale)&&(0===this._time||d>=this.totalDuration())&&(k&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[m]&&this.vars[m].apply(this.vars[m+"Scope"]||this,this.vars[m+"Params"]||f)))}},h._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof d&&a._hasPausedChild())return!0;a=a._next}return!1},h.getChildren=function(a,b,d,e){e=e||-9999999999;for(var f=[],g=this._first,h=0;g;)e>g._startTime||(g instanceof c?0!=b&&(f[h++]=g):(0!=d&&(f[h++]=g),0!=a&&(f=f.concat(g.getChildren(!0,b,d)),h=f.length))),g=g._next;return f},h.getTweensOf=function(a,b){for(var d=c.getTweensOf(a),e=d.length,f=[],g=0;--e>-1;)(d[e].timeline===this||b&&this._contains(d[e]))&&(f[g++]=d[e]);return f},h._contains=function(a){for(var b=a.timeline;b;){if(b===this)return!0;b=b.timeline}return!1},h.shiftChildren=function(a,b,c){c=c||0;for(var d=this._first;d;)d._startTime>=c&&(d._startTime+=a),d=d._next;if(b)for(var e in this._labels)this._labels[e]>=c&&(this._labels[e]+=a);return this._uncache(!0)},h._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),d=c.length,e=!1;--d>-1;)c[d]._kill(a,b)&&(e=!0);return e},h.clear=function(a){var b=this.getChildren(!1,!0,!0),c=b.length;for(this._time=this._totalTime=0;--c>-1;)b[c]._enabled(!1,!1);return 0!=a&&(this._labels={}),this._uncache(!0)},h.invalidate=function(){for(var a=this._first;a;)a.invalidate(),a=a._next;return this},h._enabled=function(a,c){if(a===this._gc)for(var d=this._first;d;)d._enabled(a,!0),d=d._next;return b.prototype._enabled.call(this,a,c)},h.progress=function(a){return arguments.length?this.totalTime(this.duration()*a,!1):this._time/this.duration()},h.duration=function(a){return arguments.length?(0!==this.duration()&&0!==a&&this.timeScale(this._duration/a),this):(this._dirty&&this.totalDuration(),this._duration)},h.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var e,f,b=0,c=this._first,d=-999999999999;c;)e=c._next,d>c._startTime&&this._sortChildren?this.insert(c,c._startTime-c._delay):d=c._startTime,0>c._startTime&&(b-=c._startTime,this.shiftChildren(-c._startTime,!1,-9999999999)),f=c._startTime+(c._dirty?c.totalDuration():c._totalDuration)/c._timeScale,f>b&&(b=f),c=e;this._duration=this._totalDuration=b,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a),this},h.usesFrames=function(){for(var b=this._timeline;b._timeline;)b=b._timeline;return b===a._rootFramesTimeline},h.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},d},!0),_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(a,b,c){var d=function(b){a.call(this,b),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},e=[],f=new c(null,null,1,0),g=function(a){for(;a;){if(a._paused)return!0;a=a._timeline}return!1},h=d.prototype=new a;return h.constructor=d,h.kill()._gc=!1,d.version=1.641,h.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),a.prototype.invalidate.call(this)},h.addCallback=function(a,c,d,e){return this.insert(b.delayedCall(0,a,d,e),c)},h.removeCallback=function(a,b){if(null==b)this._kill(null,a);else for(var c=this.getTweensOf(a,!1),d=c.length,e=this._parseTimeOrLabel(b);--d>-1;)c[d]._startTime===e&&c[d]._enabled(!1,!1);return this},h.tweenTo=function(a,c){c=c||{};var g,h,d={ease:f,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1};for(g in c)d[g]=c[g];return d.time=this._parseTimeOrLabel(a),h=new b(this,Math.abs(Number(d.time)-this._time)/this._timeScale||.001,d),d.onStart=function(){h.target.paused(!0),h.vars.time!==h.target.time()&&h.duration(Math.abs(h.vars.time-h.target.time())/h.target._timeScale),c.onStart&&c.onStart.apply(c.onStartScope||h,c.onStartParams||e)},h},h.tweenFromTo=function(a,b,c){c=c||{},c.startAt={time:this._parseTimeOrLabel(a)};var d=this.tweenTo(b,c);return d.duration(Math.abs(d.vars.time-d.vars.startAt.time)/this._timeScale||.001)},h.render=function(a,b,c){this._gc&&this._enabled(!0,!1),this._active=!this._paused;var m,n,o,q,d=this._dirty?this.totalDuration():this._totalDuration,f=this._time,g=this._totalTime,h=this._startTime,i=this._timeScale,j=this._rawPrevTime,k=this._paused,l=this._cycle;if(a>=d)this._locked||(this._totalTime=d,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(n=!0,q="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime)&&this._rawPrevTime!==a&&(c=!0)),this._rawPrevTime=a,this._yoyo&&0!==(1&this._cycle)?(this._time=0,a=-1e-6):(this._time=this._duration,a=this._duration+1e-6);else if(0>=a)this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==f||0===this._duration&&this._rawPrevTime>0&&!this._locked)&&(q="onReverseComplete",n=this._reversed),0>a?(this._active=!1,0===this._duration&&this._rawPrevTime>=0&&(c=!0)):this._initted||(c=!0),this._rawPrevTime=a,a=0===this._duration?0:-1e-6;else if(this._time=this._rawPrevTime=a,!this._locked&&(this._totalTime=a,0!==this._repeat)){var r=this._duration+this._repeatDelay;this._cycle=this._totalTime/r>>0,0!==this._cycle&&this._cycle===this._totalTime/r&&this._cycle--,this._time=this._totalTime-this._cycle*r,this._yoyo&&0!==(1&this._cycle)&&(this._time=this._duration-this._time),this._time>this._duration?(this._time=this._duration,a=this._duration+1e-6):0>this._time?this._time=a=0:a=this._time}if(this._cycle!==l&&!this._locked){var s=this._yoyo&&0!==(1&l),t=s===(this._yoyo&&0!==(1&this._cycle)),u=this._totalTime,v=this._cycle,w=this._rawPrevTime,x=this._time;this._totalTime=l*this._duration,l>this._cycle?s=!s:this._totalTime+=this._duration,this._time=f,this._rawPrevTime=0===this._duration?j-1e-5:j,this._cycle=l,this._locked=!0,f=s?0:this._duration,this.render(f,b,0===this._duration),b||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||e),t&&(f=s?this._duration+1e-6:-1e-6,this.render(f,!0,!1)),this._time=x,this._totalTime=u,this._cycle=v,this._rawPrevTime=w,this._locked=!1}if(this._time===f&&!c)return g!==this._totalTime&&this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||e)),void 0;if(this._initted||(this._initted=!0),0===g&&this.vars.onStart&&0!==this._totalTime&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||e)),this._time>f)for(m=this._first;m&&(o=m._next,!this._paused||k);)(m._active||m._startTime<=this._time&&!m._paused&&!m._gc)&&(m._reversed?m.render((m._dirty?m.totalDuration():m._totalDuration)-(a-m._startTime)*m._timeScale,b,!1):m.render((a-m._startTime)*m._timeScale,b,!1)),m=o;else for(m=this._last;m&&(o=m._prev,!this._paused||k);)(m._active||f>=m._startTime&&!m._paused&&!m._gc)&&(m._reversed?m.render((m._dirty?m.totalDuration():m._totalDuration)-(a-m._startTime)*m._timeScale,b,!1):m.render((a-m._startTime)*m._timeScale,b,!1)),m=o;this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||e)),q&&(this._locked||this._gc||(h===this._startTime||i!==this._timeScale)&&(0===this._time||d>=this.totalDuration())&&(n&&(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"]||e)))},h.getActive=function(a,b,c){null==a&&(a=!0),null==b&&(b=!0),null==c&&(c=!1);var i,j,d=[],e=this.getChildren(a,b,c),f=0,h=e.length;for(i=0;h>i;i++)j=e[i],j._paused||j._timeline._time>=j._startTime&&j._timeline._time<j._startTime+j._totalDuration/j._timeScale&&(g(j._timeline)||(d[f++]=j));return d},h.getLabelAfter=function(a){a||0!==a&&(a=this._time);var d,b=this.getLabelsArray(),c=b.length;for(d=0;c>d;d++)if(b[d].time>a)return b[d].name;return null},h.getLabelBefore=function(a){null==a&&(a=this._time);for(var b=this.getLabelsArray(),c=b.length;--c>-1;)if(a>b[c].time)return b[c].name;return null},h.getLabelsArray=function(){var c,a=[],b=0;for(c in this._labels)a[b++]={time:this._labels[c],name:c};return a.sort(function(a,b){return a.time-b.time}),a},h.progress=function(a){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},h.totalProgress=function(a){return arguments.length?this.totalTime(this.totalDuration()*a,!1):this._totalTime/this.totalDuration()},h.totalDuration=function(b){return arguments.length?-1===this._repeat?this:this.duration((b-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(a.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},h.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),a>this._duration&&(a=this._duration),this._yoyo&&0!==(1&this._cycle)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(a,b)):this._time},h.repeat=function(a){return arguments.length?(this._repeat=a,this._uncache(!0)):this._repeat},h.repeatDelay=function(a){return arguments.length?(this._repeatDelay=a,this._uncache(!0)):this._repeatDelay},h.yoyo=function(a){return arguments.length?(this._yoyo=a,this):this._yoyo},h.currentLabel=function(a){return arguments.length?this.seek(a,!0):this.getLabelBefore(this._time+1e-8)},d},!0),_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(a){var b=function(){a.call(this,"bezier",-1),this._overwriteProps.pop(),this._func={},this._round={}},c=b.prototype=new a("bezier",1),d=180/Math.PI,e=Math.PI/180,f=[],g=[],h=[],i={},j=function j(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},k=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",l=b.bezierThrough=function(a,b,c,d,e,j){var q,r,s,t,u,v,w,x,l={},m=[],p=j||a[0];e="string"==typeof e?","+e+",":k,null==b&&(b=1);for(r in a[0])m.push(r);if(a.length>1){for(x=a[a.length-1],w=!0,q=m.length;--q>-1;)if(r=m[q],Math.abs(p[r]-x[r])>.05){w=!1;break}w&&(a=a.concat(),j&&a.unshift(j),a.push(a[1]),j=a[a.length-3])}for(f.length=g.length=h.length=0,q=m.length;--q>-1;)r=m[q],i[r]=-1!==e.indexOf(","+r+","),l[r]=n(a,r,i[r],j);for(q=f.length;--q>-1;)f[q]=Math.sqrt(f[q]),g[q]=Math.sqrt(g[q]);if(!d){for(q=m.length;--q>-1;)if(i[r])for(s=l[m[q]],v=s.length-1,t=0;v>t;t++)u=s[t+1].da/g[t]+s[t].da/f[t],h[t]=(h[t]||0)+u*u;for(q=h.length;--q>-1;)h[q]=Math.sqrt(h[q])}for(q=m.length,t=c?4:1;--q>-1;)r=m[q],s=l[r],o(s,b,c,d,i[r]),w&&(s.splice(0,t),s.splice(s.length-t,t));return l},m=function(a,b,c){b=b||"soft";var h,i,k,l,m,n,o,p,q,r,s,d={},e="cubic"===b?3:2,f="soft"===b,g=[];if(f&&c&&(a=[c].concat(a)),null==a||e+1>a.length)throw"invalid Bezier data";for(q in a[0])g.push(q);for(n=g.length;--n>-1;){for(q=g[n],d[q]=m=[],r=0,p=a.length,o=0;p>o;o++)h=null==c?a[o][q]:"string"==typeof(s=a[o][q])&&"="===s.charAt(1)?c[q]+Number(s.charAt(0)+s.substr(2)):Number(s),f&&o>1&&p-1>o&&(m[r++]=(h+m[r-2])/2),m[r++]=h;for(p=r-e+1,r=0,o=0;p>o;o+=e)h=m[o],i=m[o+1],k=m[o+2],l=2===e?0:m[o+3],m[r++]=s=3===e?new j(h,i,k,l):new j(h,(2*i+h)/3,(2*i+k)/3,k);m.length=r}return d},n=function(a,b,c,d){var h,i,k,l,m,n,e=[];if(d)for(a=[d].concat(a),i=a.length;--i>-1;)"string"==typeof(n=a[i][b])&&"="===n.charAt(1)&&(a[i][b]=d[b]+Number(n.charAt(0)+n.substr(2)));if(h=a.length-2,0>h)return e[0]=new j(a[0][b],0,0,a[-1>h?0:1][b]),e;for(i=0;h>i;i++)k=a[i][b],l=a[i+1][b],e[i]=new j(k,0,0,l),c&&(m=a[i+2][b],f[i]=(f[i]||0)+(l-k)*(l-k),g[i]=(g[i]||0)+(m-l)*(m-l));return e[i]=new j(a[i][b],0,0,a[i+1][b]),e},o=function(a,b,c,d,e){var l,m,n,o,q,r,s,t,u,v,w,x,y,i=a.length-1,j=0,k=a[0].a;for(l=0;i>l;l++)q=a[j],m=q.a,n=q.d,o=a[j+1].d,e?(w=f[l],x=g[l],y=.25*(x+w)*b/(d?.5:h[l]||.5),r=n-(n-m)*(d?.5*b:y/w),s=n+(o-n)*(d?.5*b:y/x),t=n-(r+(s-r)*(3*w/(w+x)+.5)/4)):(r=n-.5*(n-m)*b,s=n+.5*(o-n)*b,t=n-(r+s)/2),r+=t,s+=t,q.c=u=r,q.b=0!==l?k:k=q.a+.6*(q.c-q.a),q.da=n-m,q.ca=u-m,q.ba=k-m,c?(v=p(m,k,u,n),a.splice(j,1,v[0],v[1],v[2],v[3]),j+=4):j++,k=s;q=a[j],q.b=k,q.c=k+.4*(q.d-k),q.da=q.d-q.a,q.ca=q.c-q.a,q.ba=k-q.a,c&&(v=p(q.a,k,q.c,q.d),a.splice(j,1,v[0],v[1],v[2],v[3]))},p=b.cubicToQuadratic=function(a,b,c,d){var e={a:a},f={},g={},h={c:d},i=(a+b)/2,j=(b+c)/2,k=(c+d)/2,l=(i+j)/2,m=(j+k)/2,n=(m-l)/8;return e.b=i+(a-i)/4,f.b=l+n,e.c=f.a=(e.b+f.b)/2,f.c=g.a=(l+m)/2,g.b=m-n,h.b=k+(d-k)/4,g.c=h.a=(g.b+h.b)/2,[e,f,g,h]},r=(b.quadraticToCubic=function(a,b,c){return new j(a,(2*b+a)/3,(2*b+c)/3,c)},function(a,b){b=b>>0||6;var j,k,l,m,c=[],d=[],e=0,f=0,g=b-1,h=[],i=[];for(j in a)s(a[j],c,b);for(l=c.length,k=0;l>k;k++)e+=Math.sqrt(c[k]),m=k%b,i[m]=e,m===g&&(f+=e,m=k/b>>0,h[m]=i,d[m]=f,e=0,i=[]);return{length:f,lengths:d,segments:h}}),s=function(a,b,c){for(var f,g,h,i,j,k,l,m,n,o,p,d=1/c,e=a.length;--e>-1;)for(o=a[e],h=o.a,i=o.d-h,j=o.c-h,k=o.b-h,f=g=0,m=1;c>=m;m++)l=d*m,n=1-l,f=g-(g=(l*l*i+3*n*(l*j+n*k))*l),p=e*c+m-1,b[p]=(b[p]||0)+f*f};return c.constructor=b,b.API=2,b._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var c=a._internals,d=c._parseToProxy,f=c._setPluginRatio,g=c.CSSPropTween;c._registerComplexSpecialProp("bezier",null,function(a,c,h,i,j,k){c instanceof Array&&(c={values:c}),k=new b;var p,q,r,l=c.values,m=l.length-1,n=[],o={};if(0>m)return j;for(p=0;m>=p;p++)r=d(a,l[p],i,j,k,m!==p),n[p]=r.end;for(q in c)o[q]=c[q];return o.values=n,j=new g(a,"bezier",0,0,r.pt,2),j.data=r,j.plugin=k,j.setRatio=f,0===o.autoRotate&&(o.autoRotate=!0),o.autoRotate&&(o.autoRotate instanceof Array||(p=o.autoRotate===!0?0:Number(o.autoRotate)*e,o.autoRotate=null!=r.end.left?[["left","top","rotation",p,!0]]:null!=r.end.x?[["x","y","rotation",p,!0]]:!1)),o.autoRotate&&(i._transform||i._enableTransforms(!1),r.autoRotate=i._target._gsTransform),k._onInitTween(r.proxy,o,i._tween),j})}},c._onInitTween=function(a,b,c){this._target=a,b instanceof Array&&(b={values:b}),this._props=[],this._timeRes=null==b.timeResolution?6:parseInt(b.timeResolution,10);var h,i,j,k,n,d=b.values||[],e={},f=d[0],g=b.autoRotate||c.vars.orientToBezier;this._autoRotate=g?g instanceof Array?g:[["x","y","rotation",g===!0?0:Number(g)||0]]:null;for(h in f)this._props.push(h);for(j=this._props.length;--j>-1;)h=this._props[j],this._overwriteProps.push(h),i=this._func[h]="function"==typeof a[h],e[h]=i?a[h.indexOf("set")||"function"!=typeof a["get"+h.substr(3)]?h:"get"+h.substr(3)]():parseFloat(a[h]),n||e[h]!==d[0][h]&&(n=e);if(this._beziers="cubic"!==b.type&&"quadratic"!==b.type&&"soft"!==b.type?l(d,isNaN(b.curviness)?1:b.curviness,!1,"thruBasic"===b.type,b.correlate,n):m(d,b.type,e),this._segCount=this._beziers[h].length,this._timeRes){var o=r(this._beziers,this._timeRes);this._length=o.length,this._lengths=o.lengths,this._segments=o.segments,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(g=this._autoRotate)for(g[0]instanceof Array||(this._autoRotate=g=[g]),j=g.length;--j>-1;)for(k=0;3>k;k++)h=g[j][k],this._func[h]="function"==typeof a[h]?a[h.indexOf("set")||"function"!=typeof a["get"+h.substr(3)]?h:"get"+h.substr(3)]:!1;return!0},c.setRatio=function(a){var f,g,h,i,j,k,l,m,n,o,b=this._segCount,c=this._func,e=this._target;if(this._timeRes){if(n=this._lengths,o=this._curSeg,a*=this._length,h=this._li,a>this._l2&&b-1>h){for(m=b-1;m>h&&a>=(this._l2=n[++h]););this._l1=n[h-1],this._li=h,this._curSeg=o=this._segments[h],this._s2=o[this._s1=this._si=0]}else if(this._l1>a&&h>0){for(;h>0&&(this._l1=n[--h])>=a;);0===h&&this._l1>a?this._l1=0:h++,this._l2=n[h],this._li=h,this._curSeg=o=this._segments[h],this._s1=o[(this._si=o.length-1)-1]||0,this._s2=o[this._si]}if(f=h,a-=this._l1,h=this._si,a>this._s2&&o.length-1>h){for(m=o.length-1;m>h&&a>=(this._s2=o[++h]););this._s1=o[h-1],this._si=h}else if(this._s1>a&&h>0){for(;h>0&&(this._s1=o[--h])>=a;);0===h&&this._s1>a?this._s1=0:h++,this._s2=o[h],this._si=h}k=(h+(a-this._s1)/(this._s2-this._s1))*this._prec}else f=0>a?0:a>=1?b-1:b*a>>0,k=(a-f*(1/b))*b;for(g=1-k,h=this._props.length;--h>-1;)i=this._props[h],j=this._beziers[i][f],l=(k*k*j.da+3*g*(k*j.ca+g*j.ba))*k+j.a,this._round[i]&&(l=l+(l>0?.5:-.5)>>0),c[i]?e[i](l):e[i]=l;if(this._autoRotate){var q,r,s,t,u,v,w,p=this._autoRotate;for(h=p.length;--h>-1;)i=p[h][2],v=p[h][3]||0,w=p[h][4]===!0?1:d,j=this._beziers[p[h][0]][f],q=this._beziers[p[h][1]][f],r=j.a+(j.b-j.a)*k,t=j.b+(j.c-j.b)*k,r+=(t-r)*k,t+=(j.c+(j.d-j.c)*k-t)*k,s=q.a+(q.b-q.a)*k,u=q.b+(q.c-q.b)*k,s+=(u-s)*k,u+=(q.c+(q.d-q.c)*k-u)*k,l=Math.atan2(u-s,t-r)*w+v,c[i]?c[i].call(e,l):e[i]=l}},c._roundProps=function(a,b){for(var c=this._overwriteProps,d=c.length;--d>-1;)(a[c[d]]||a.bezier||a.bezierThrough)&&(this._round[c[d]]=b)},c._kill=function(b){var d,e,c=this._props;for(d in this._beziers)if(d in b)for(delete this._beziers[d],delete this._func[d],e=c.length;--e>-1;)c[e]===d&&c.splice(e,1);return a.prototype._kill.call(this,b)},a.activate([b]),b},!0),_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(a){"use strict";var d,e,f,g,c=function(){a.call(this,"css"),this._overwriteProps.length=0},h={},i=c.prototype=new a("css");i.constructor=c,c.version=1.67,c.API=2,c.defaultTransformPerspective=0,i="px",c.suffixMap={top:i,right:i,bottom:i,left:i,width:i,height:i,fontSize:i,padding:i,margin:i,perspective:i};var G,H,I,J,K,L,j=/(?:\d|\-\d|\.\d|\-\.\d)+/g,k=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,l=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,m=/[^\d\-\.]/g,n=/(?:\d|\-|\+|=|#|\.)*/g,o=/opacity *= *([^)]*)/,p=/opacity:([^;]*)/,q=/alpha\(opacity *=.+?\)/i,r=/([A-Z])/g,s=/-([a-z])/gi,t=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,u=function(a,b){return b.toUpperCase()},v=/(?:Left|Right|Width)/i,w=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,x=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,y=Math.PI/180,z=180/Math.PI,A={},B=document,C=B.createElement("div"),D=B.createElement("img"),E=c._internals={_specialProps:h},F=navigator.userAgent,M=function(){var c,a=F.indexOf("Android"),b=B.createElement("div");return I=-1!==F.indexOf("Safari")&&-1===F.indexOf("Chrome")&&(-1===a||Number(F.substr(a+8,1))>3),K=I&&6>Number(F.substr(F.indexOf("Version/")+8,1)),J=-1!==F.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(F),L=parseFloat(RegExp.$1),b.innerHTML="<a style='top:1px;opacity:.55;'>a</a>",c=b.getElementsByTagName("a")[0],c?/^0.55/.test(c.style.opacity):!1+}(),N=function(a){return o.test("string"==typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},O=function(a){window.console&&console.log(a)},P="",Q="",R=function(a,b){b=b||C;var d,e,c=b.style;if(void 0!==c[a])return a;for(a=a.charAt(0).toUpperCase()+a.substr(1),d=["O","Moz","ms","Ms","Webkit"],e=5;--e>-1&&void 0===c[d[e]+a];);return e>=0?(Q=3===e?"ms":d[e],P="-"+Q.toLowerCase()+"-",Q+a):null},S=B.defaultView?B.defaultView.getComputedStyle:function(){},T=c.getStyle=function(a,b,c,d,e){var f;return M||"opacity"!==b?(!d&&a.style[b]?f=a.style[b]:(c=c||S(a,null))?(a=c.getPropertyValue(b.replace(r,"-$1").toLowerCase()),f=a||c.length?a:c[b]):a.currentStyle&&(c=a.currentStyle,f=c[b]),null==e||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:e):N(a)},U=function(a,b,c){var f,g,d={},e=a._gsOverwrittenClassNamePT;if(e&&!c){for(;e;)e.setRatio(0),e=e._next;a._gsOverwrittenClassNamePT=null}if(b=b||S(a,null))if(f=b.length)for(;--f>-1;)d[b[f].replace(s,u)]=b.getPropertyValue(b[f]);else for(f in b)d[f]=b[f];else if(b=a.currentStyle||a.style)for(f in b)d[f.replace(s,u)]=b[f];return M||(d.opacity=N(a)),g=wb(a,b,!1),d.rotation=g.rotation*z,d.skewX=g.skewX*z,d.scaleX=g.scaleX,d.scaleY=g.scaleY,d.x=g.x,d.y=g.y,vb&&(d.z=g.z,d.rotationX=g.rotationX*z,d.rotationY=g.rotationY*z,d.scaleZ=g.scaleZ),d.filters&&delete d.filters,d},V=function(a,b,c,d){var g,h,i,e={},f=a.style;for(h in c)"cssText"!==h&&"length"!==h&&isNaN(h)&&b[h]!==(g=c[h])&&-1===h.indexOf("Origin")&&("number"==typeof g||"string"==typeof g)&&(e[h]=""!==g&&"auto"!==g&&"none"!==g||"string"!=typeof b[h]||""===b[h].replace(m,"")?g:0,void 0!==f[h]&&(i=new jb(f,h,f[h],i)));if(d)for(h in d)"className"!==h&&(e[h]=d[h]);return{difs:e,firstMPT:i}},W={width:["Left","Right"],height:["Top","Bottom"]},X=["marginLeft","marginRight","marginTop","marginBottom"],Y=function(a,b,c){var d=parseFloat("width"===b?a.offsetWidth:a.offsetHeight),e=W[b],f=e.length;for(c=c||S(a,null);--f>-1;)d-=parseFloat(T(a,"padding"+e[f],c,!0))||0,d-=parseFloat(T(a,"border"+e[f]+"Width",c,!0))||0;return d},Z=function(a,b,c,d,e){if("px"===d||!d)return c;if("auto"===d||!c)return 0;var j,f=v.test(b),g=a,h=C.style,i=0>c;return i&&(c=-c),"%"===d&&-1!==b.indexOf("border")?j=c/100*(f?a.clientWidth:a.clientHeight):(h.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;","%"!==d&&"em"!==d&&g.appendChild?h[f?"borderLeftWidth":"borderTopWidth"]=c+d:(g=a.parentNode||B.body,h[f?"width":"height"]=c+d),g.appendChild(C),j=parseFloat(C[f?"offsetWidth":"offsetHeight"]),g.removeChild(C),0!==j||e||(j=Z(a,b,c,d,!0))),i?-j:j},$=function(a,b){(null==a||""===a||"auto"===a||"auto auto"===a)&&(a="0 0");var c=a.split(" "),d=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":c[0],e=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":c[1];return null==e?e="0":"center"===e&&(e="50%"),("center"===d||isNaN(parseFloat(d)))&&(d="50%"),b&&(b.oxp=-1!==d.indexOf("%"),b.oyp=-1!==e.indexOf("%"),b.oxr="="===d.charAt(1),b.oyr="="===e.charAt(1),b.ox=parseFloat(d.replace(m,"")),b.oy=parseFloat(e.replace(m,""))),d+" "+e+(c.length>2?" "+c[2]:"")},_=function(a,b){return"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},ab=function(a,b){return null==a?b:"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*Number(a.substr(2))+b:parseFloat(a)},bb=function(a,b){if(null==a)return b;var c=-1===a.indexOf("rad")?y:1,d="="===a.charAt(1);return a=Number(a.replace(m,""))*c,d?a+b:a},cb=function(a,b){var c="number"==typeof a?a*y:bb(a,b),d=(c-b)%(2*Math.PI);return d!==d%Math.PI&&(d+=Math.PI*(0>d?2:-2)),b+d},db={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]},eb=function(a){if(!a||""===a)return db.black;if(db[a])return db[a];if("number"==typeof a)return[a>>16,255&a>>8,255&a];if("#"===a.charAt(0)){if(4===a.length){var b=a.charAt(1),c=a.charAt(2),d=a.charAt(3);a="#"+b+b+c+c+d+d}return a=parseInt(a.substr(1),16),[a>>16,255&a>>8,255&a]}return a=a.match(j)||db.transparent,a[0]=Number(a[0]),a[1]=Number(a[1]),a[2]=Number(a[2]),a.length>3&&(a[3]=Number(a[3])),a},fb="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(i in db)fb+="|"+i+"\\b";fb=RegExp(fb+")","gi");var gb=function(a,b,c){if(null==a)return function(a){return a};var d=b?(a.match(fb)||[""])[0]:"",e=a.split(d).join("").match(l)||[],f=a.substr(0,a.indexOf(e[0])),g=")"===a.charAt(a.length-1)?")":"",h=-1!==a.indexOf(" ")?" ":",",i=e.length,k=i>0?e[0].replace(j,""):"";return b?function(a){"number"==typeof a&&(a+=k);var b=(a.match(fb)||[d])[0],j=a.split(b).join("").match(l)||[],m=j.length;if(i>m--)for(;i>++m;)j[m]=c?j[(m-1)/2>>0]:e[m];return f+j.join(h)+h+b+g}:function(a){"number"==typeof a&&(a+=k);var b=a.match(l)||[],d=b.length;if(i>d--)for(;i>++d;)b[d]=c?b[(d-1)/2>>0]:e[d];return f+b.join(h)+g}},hb=function(a){return a=a.split(","),function(b,c,d,e,f,g,h){var j,i=(c+"").split(" ");for(h={},j=0;4>j;j++)h[a[j]]=i[j]=i[j]||i[(j-1)/2>>0];return e.parse(b,h,f,g)}},jb=(E._setPluginRatio=function(a){this.plugin.setRatio(a);for(var f,g,h,i,b=this.data,c=b.proxy,d=b.firstMPT,e=1e-6;d;)f=c[d.v],d.r?f=f>0?f+.5>>0:f-.5>>0:e>f&&f>-e&&(f=0),d.t[d.p]=f,d=d._next;if(b.autoRotate&&(b.autoRotate.rotation=c.rotation),1===a)for(d=b.firstMPT;d;){if(g=d.t,g.type){if(1===g.type){for(i=g.xs0+g.s+g.xs1,h=1;g.l>h;h++)i+=g["xn"+h]+g["xs"+(h+1)];g.e=i}}else g.e=g.s+g.xs0;d=d._next}},function(a,b,c,d,e){this.t=a,this.p=b,this.v=c,this.r=e,d&&(d._prev=this,this._next=d)}),lb=(E._parseToProxy=function(a,b,c,d,e,f){var l,m,n,o,p,g=d,h={},i={},j=c._transform,k=A;for(c._transform=null,A=b,d=p=c.parse(a,b,d,e),A=k,f&&(c._transform=j,g&&(g._prev=null,g._prev&&(g._prev._next=null)));d&&d!==g;){if(1>=d.type&&(m=d.p,i[m]=d.s+d.c,h[m]=d.s,f||(o=new jb(d,"s",m,o,d.r),d.c=0),1===d.type))for(l=d.l;--l>0;)n="xn"+l,m=d.p+"_"+n,i[m]=d.data[n],h[m]=d[n],f||(o=new jb(d,n,m,o,d.rxp[n]));d=d._next}return{proxy:h,end:i,firstMPT:o,pt:p}},E.CSSPropTween=function(a,b,c,e,f,h,i,j,k,l,m){this.t=a,this.p=b,this.s=c,this.c=e,this.n=i||"css_"+b,a instanceof lb||g.push(this.n),this.r=j,this.type=h||0,k&&(this.pr=k,d=!0),this.b=void 0===l?c:l,this.e=void 0===m?c+e:m,f&&(this._next=f,f._prev=this)}),mb=c.parseComplex=function(a,b,c,d,e,f,g,h,i,l){g=new lb(a,b,0,0,g,l?2:1,null,!1,h,c,d);var q,r,s,t,u,v,w,x,y,z,A,B,m=c.split(", ").join(",").split(" "),n=(d+"").split(", ").join(",").split(" "),o=m.length,p=G!==!1;for(o!==n.length&&(m=(f||"").split(" "),o=m.length),g.plugin=i,g.setRatio=l,q=0;o>q;q++)if(t=m[q],u=n[q],x=parseFloat(t),x||0===x)g.appendXtra("",x,_(u,x),u.replace(k,""),p&&-1!==u.indexOf("px"),!0);else if(e&&("#"===t.charAt(0)||0===t.indexOf("rgb")||db[t]))t=eb(t),u=eb(u),y=t.length+u.length>6,y&&!M&&0===u[3]?(g["xs"+g.l]+=g.l?" transparent":"transparent",g.e=g.e.split(n[q]).join("transparent")):(g.appendXtra(y?"rgba(":"rgb(",t[0],u[0]-t[0],",",!0,!0).appendXtra("",t[1],u[1]-t[1],",",!0).appendXtra("",t[2],u[2]-t[2],y?",":")",!0),y&&(t=4>t.length?1:t[3],g.appendXtra("",t,(4>u.length?1:u[3])-t,")",!1)));else if(v=t.match(j)){if(w=u.match(k),!w||w.length!==v.length)return g;for(s=0,r=0;v.length>r;r++)A=v[r],z=t.indexOf(A,s),g.appendXtra(t.substr(s,z-s),Number(A),_(w[r],A),"",p&&"px"===t.substr(z+A.length,2),0===r),s=z+A.length;g["xs"+g.l]+=t.substr(s)}else g["xs"+g.l]+=g.l?" "+t:t;if(-1!==d.indexOf("=")&&g.data){for(B=g.xs0+g.data.s,q=1;g.l>q;q++)B+=g["xs"+q]+g.data["xn"+q];g.e=B+g["xs"+q]}return g.l||(g.type=-1,g.xs0=g.e),g.xfirst||g},nb=9;for(i=lb.prototype,i.l=i.pr=0;--nb>0;)i["xn"+nb]=0,i["xs"+nb]="";i.xs0="",i._next=i._prev=i.xfirst=i.data=i.plugin=i.setRatio=i.rxp=null,i.appendXtra=function(a,b,c,d,e,f){var g=this,h=g.l;return g["xs"+h]+=f&&h?" "+a:a||"",c||0===h||g.plugin?(g.l++,g.type=g.setRatio?2:1,g["xs"+g.l]=d||"",h>0?(g.data["xn"+h]=b+c,g.rxp["xn"+h]=e,g["xn"+h]=b,g.plugin||(g.xfirst=new lb(g,"xn"+h,b,c,g.xfirst||g,0,g.n,e,g.pr),g.xfirst.xs0=0),g):(g.data={s:b+c},g.rxp={},g.s=b,g.c=c,g.r=e,g)):(g["xs"+h]+=b+(d||""),g)};var ob=function(a,b,c,d,e,f,g){this.p=d?R(a)||a:a,h[a]=h[this.p]=this,this.format=f||gb(b,e),c&&(this.parse=c),this.clrs=e,this.dflt=b,this.pr=g||0},pb=E._registerComplexSpecialProp=function(a,b,c,d,e,f,g){for(var k,h=a.split(","),i=b instanceof Array?b:[b],j=h.length;--j>-1;)k=new ob(h[j],i[j],c,d&&0===j,e,f,g)},qb=function(a){if(!h[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";pb(a,null,function(a,c,d,e,f,g,i){var j=window.com.greensock.plugins[b];return j?(j._cssRegister(),h[d].parse(a,c,d,e,f,g,i)):(O("Error: "+b+" js file not loaded."),f)})}};i=ob.prototype,i.parseComplex=function(a,b,c,d,e,f){return mb(a,this.p,b,c,this.clrs,this.dflt,d,this.pr,e,f)},i.parse=function(a,b,c,d,e,g){return this.parseComplex(a.style,this.format(T(a,c,f,!1,this.dflt)),this.format(b),e,g)},c.registerSpecialProp=function(a,b,c){pb(a,null,function(a,d,e,f,g,h){var j=new lb(a,e,0,0,g,2,e,!1,c);return j.plugin=h,j.setRatio=b(a,d,f._tween,e),j},!1,!1,null,c)};var rb=["scaleX","scaleY","scaleZ","x","y","z","skewX","rotation","rotationX","rotationY","perspective"],sb=R("transform"),tb=P+"transform",ub=R("transformOrigin"),vb=null!==R("perspective"),wb=function(a,b,d){var j,k,l,m,n,o,p,q,r,s,t,u,e=d?a._gsTransform||{skewY:0}:{skewY:0},f=0>e.scaleX,g=1e-6,h=1e5,i=vb?parseFloat(T(a,ub,b,!1,"0 0 0").split(" ")[2])||e.zOrigin||0:0;for(sb?j=T(a,tb,b,!0):a.currentStyle&&(j=a.currentStyle.filter.match(w),j=j&&4===j.length?j[0].substr(4)+","+Number(j[2].substr(4))+","+Number(j[1].substr(4))+","+j[3].substr(4)+","+(e?e.x:0)+","+(e?e.y:0):null),k=(j||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],l=k.length;--l>-1;)m=Number(k[l]),k[l]=(m*h+(0>m?-.5:.5)>>0)/h;if(16===k.length){var v=k[8],x=k[9],y=k[10],z=k[12],A=k[13],B=k[14];if(e.zOrigin&&(B=-e.zOrigin,z=v*B-k[12],A=x*B-k[13],B=y*B+e.zOrigin-k[14]),!d||z!==e.x||A!==e.y||B!==e.z){var P,Q,R,S,U,V,W,X,C=k[0],D=k[1],E=k[2],F=k[3],G=k[4],H=k[5],I=k[6],J=k[7],K=k[11],L=-Math.PI+1e-4,M=Math.PI-1e-4,N=e.rotationX=Math.atan2(I,y),O=L>N||N>M;N&&(U=Math.cos(-N),V=Math.sin(-N),P=G*U+v*V,Q=H*U+x*V,R=I*U+y*V,S=J*U+K*V,v=G*-V+v*U,x=H*-V+x*U,y=I*-V+y*U,K=J*-V+K*U,G=P,H=Q,I=R),N=e.rotationY=Math.atan2(v,C),N&&(W=L>N||N>M,U=Math.cos(-N),V=Math.sin(-N),P=C*U-v*V,Q=D*U-x*V,R=E*U-y*V,S=F*U-K*V,x=D*V+x*U,y=E*V+y*U,K=F*V+K*U,C=P,D=Q,E=R),N=e.rotation=Math.atan2(D,H),N&&(X=L>N||N>M,U=Math.cos(-N),V=Math.sin(-N),C=C*U+G*V,Q=D*U+H*V,H=D*-V+H*U,I=E*-V+I*U,D=Q),X&&O?e.rotation=e.rotationX=0:X&&W?e.rotation=e.rotationY=0:W&&O&&(e.rotationY=e.rotationX=0),e.scaleX=(Math.sqrt(C*C+D*D)*h+.5>>0)/h,e.scaleY=(Math.sqrt(H*H+x*x)*h+.5>>0)/h,e.scaleZ=(Math.sqrt(I*I+y*y)*h+.5>>0)/h,e.skewX=0,e.perspective=K?1/K:0,e.x=z,e.y=A,e.z=B}}else if(!vb||0===k.length||e.x!==k[4]||e.y!==k[5]||!e.rotationX&&!e.rotationY){var Y=k.length>=6,Z=Y?k[0]:1,$=k[1]||0,_=k[2]||0,ab=Y?k[3]:1;e.x=k[4]||0,e.y=k[5]||0,n=Math.sqrt(Z*Z+$*$),o=Math.sqrt(ab*ab+_*_),p=Z||$?Math.atan2($,Z):e.rotation||0,q=_||ab?Math.atan2(_,ab)+p:e.skewX||0,r=n-Math.abs(e.scaleX||0),s=o-Math.abs(e.scaleY||0),Math.abs(q)>Math.PI/2&&Math.abs(q)<1.5*Math.PI&&(f?(n*=-1,q+=0>=p?Math.PI:-Math.PI,p+=0>=p?Math.PI:-Math.PI):(o*=-1,q+=0>=q?Math.PI:-Math.PI)),t=(p-e.rotation)%Math.PI,u=(q-e.skewX)%Math.PI,(void 0===e.skewX||r>g||-g>r||s>g||-g>s||t>g||-g>t||u>g||-g>u)&&(e.scaleX=n,e.scaleY=o,e.rotation=p,e.skewX=q),vb&&(e.rotationX=e.rotationY=e.z=0,e.perspective=parseFloat(c.defaultTransformPerspective)||0,e.scaleZ=1)}e.zOrigin=i;for(l in e)g>e[l]&&e[l]>-g&&(e[l]=0);return d&&(a._gsTransform=e),e},xb=function(a){var l,m,b=this.data,c=-b.rotation,d=c+b.skewX,e=1e5,f=(Math.cos(c)*b.scaleX*e>>0)/e,g=(Math.sin(c)*b.scaleX*e>>0)/e,h=(Math.sin(d)*-b.scaleY*e>>0)/e,i=(Math.cos(d)*b.scaleY*e>>0)/e,j=this.t.style,k=this.t.currentStyle;if(k){m=g,g=-h,h=-m,l=k.filter,j.filter="";var v,w,p=this.t.offsetWidth,q=this.t.offsetHeight,r="absolute"!==k.position,s="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+g+", M21="+h+", M22="+i,t=b.x,u=b.y;if(null!=b.ox&&(v=(b.oxp?.01*p*b.ox:b.ox)-p/2,w=(b.oyp?.01*q*b.oy:b.oy)-q/2,t+=v-(v*f+w*g),u+=w-(v*h+w*i)),r)v=p/2,w=q/2,s+=", Dx="+(v-(v*f+w*g)+t)+", Dy="+(w-(v*h+w*i)+u)+")";else{var z,A,B,y=8>L?1:-1;for(v=b.ieOffsetX||0,w=b.ieOffsetY||0,b.ieOffsetX=Math.round((p-((0>f?-f:f)*p+(0>g?-g:g)*q))/2+t),b.ieOffsetY=Math.round((q-((0>i?-i:i)*q+(0>h?-h:h)*p))/2+u),nb=0;4>nb;nb++)A=X[nb],z=k[A],m=-1!==z.indexOf("px")?parseFloat(z):Z(this.t,A,parseFloat(z),z.replace(n,""))||0,B=m!==b[A]?2>nb?-b.ieOffsetX:-b.ieOffsetY:2>nb?v-b.ieOffsetX:w-b.ieOffsetY,j[A]=(b[A]=Math.round(m-B*(0===nb||2===nb?1:y)))+"px";s+=", sizingMethod='auto expand')"}j.filter=-1!==l.indexOf("DXImageTransform.Microsoft.Matrix(")?l.replace(x,s):s+" "+l,(0===a||1===a)&&1===f&&0===g&&0===h&&1===i&&(r&&-1===s.indexOf("Dx=0, Dy=0")||o.test(l)&&100!==parseFloat(RegExp.$1)||-1===l.indexOf("gradient(")&&j.removeAttribute("filter"))}},yb=function(){var x,y,z,A,B,C,D,E,F,b=this.data,c=this.t.style,d=b.perspective,e=b.scaleX,f=0,g=0,h=0,i=0,j=b.scaleY,k=0,l=0,m=0,n=0,o=b.scaleZ,p=0,q=0,r=0,s=d?-1/d:0,t=b.rotation,u=b.zOrigin,v=",",w=1e5;J&&(D=T(this.t,"top",null,!1,"0"),E=parseFloat(D)||0,F=D.substr((E+"").length),b._ffFix=!b._ffFix,c.top=(b._ffFix?E+.05:E-.05)+(""===F?"px":F)),t&&(x=Math.cos(t),y=Math.sin(t),z=e*x,A=j*y,f=e*-y,j*=x,e=z,i=A),t=b.rotationY,t&&(x=Math.cos(t),y=Math.sin(t),z=e*x,A=i*x,B=o*-y,C=s*-y,g=e*y,k=i*y,o*=x,s*=x,e=z,i=A,m=B,q=C),t=b.rotationX,t&&(x=Math.cos(t),y=Math.sin(t),z=f*x+g*y,A=j*x+k*y,B=n*x+o*y,C=r*x+s*y,g=f*-y+g*x,k=j*-y+k*x,o=n*-y+o*x,s=r*-y+s*x,f=z,j=A,n=B,r=C),u&&(p-=u,h=g*p,l=k*p,p=o*p+u),h+=b.x,l+=b.y,p=((p+b.z)*w>>0)/w,c[sb]="matrix3d("+(e*w>>0)/w+v+(i*w>>0)/w+v+(m*w>>0)/w+v+(q*w>>0)/w+v+(f*w>>0)/w+v+(j*w>>0)/w+v+(n*w>>0)/w+v+(r*w>>0)/w+v+(g*w>>0)/w+v+(k*w>>0)/w+v+(o*w>>0)/w+v+(s*w>>0)/w+v+(h*w>>0)/w+v+(l*w>>0)/w+v+p+v+(d?1+-p/d:1)+")"},zb=function(){var b=this.data;if(b.rotation||b.skewX){var c=b.rotation,d=c-b.skewX,e=1e5,f=(Math.cos(c)*b.scaleX*e>>0)/e,g=(Math.sin(c)*b.scaleX*e>>0)/e,h=(Math.sin(d)*-b.scaleY*e>>0)/e,i=(Math.cos(d)*b.scaleY*e>>0)/e;this.t.style[sb]="matrix("+f+","+g+","+h+","+i+","+b.x+","+b.y+")"}else this.t.style[sb]="matrix("+b.scaleX+",0,0,"+b.scaleY+","+b.x+","+b.y+")"};pb("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,d,e,g,h){if(d._transform)return e;var n,o,p,q,r,s,t,i=d._transform=wb(a,f,!0),j=a.style,k=1e-6,l=rb.length,m=h;for("string"==typeof m.transform&&sb?(q=j[sb],j[sb]=m.transform,n=wb(a,null,!1),j[sb]=q):"object"==typeof m&&(o=null!=m.rotation?m.rotation:null!=m.rotationZ?m.rotationZ:i.rotation*z,n={scaleX:ab(null!=m.scaleX?m.scaleX:m.scale,i.scaleX),scaleY:ab(null!=m.scaleY?m.scaleY:m.scale,i.scaleY),scaleZ:ab(null!=m.scaleZ?m.scaleZ:m.scale,i.scaleZ),x:ab(m.x,i.x),y:ab(m.y,i.y),z:ab(m.z,i.z),perspective:ab(m.transformPerspective,i.perspective)},n.rotation=null!=m.shortRotation||null!=m.shortRotationZ?cb(m.shortRotation||m.shortRotationZ||0,i.rotation):"number"==typeof o?o*y:bb(o,i.rotation),vb&&(n.rotationX=null!=m.shortRotationX?cb(m.shortRotationX,i.rotationX):"number"==typeof m.rotationX?m.rotationX*y:bb(m.rotationX,i.rotationX),n.rotationY=null!=m.shortRotationY?cb(m.shortRotationY,i.rotationY):"number"==typeof m.rotationY?m.rotationY*y:bb(m.rotationY,i.rotationY),k>n.rotationX&&n.rotationX>-k&&(n.rotationX=0),k>n.rotationY&&n.rotationY>-k&&(n.rotationY=0)),n.skewX=null==m.skewX?i.skewX:"number"==typeof m.skewX?m.skewX*y:bb(m.skewX,i.skewX),n.skewY=null==m.skewY?i.skewY:"number"==typeof m.skewY?m.skewY*y:bb(m.skewY,i.skewY),(p=n.skewY-i.skewY)&&(n.skewX+=p,n.rotation+=p),k>n.skewY&&n.skewY>-k&&(n.skewY=0),k>n.skewX&&n.skewX>-k&&(n.skewX=0),k>n.rotation&&n.rotation>-k&&(n.rotation=0)),s=i.z||i.rotationX||i.rotationY||n.z||n.rotationX||n.rotationY||n.perspective,s||null==n.scale||(n.scaleZ=1);--l>-1;)c=rb[l],r=n[c]-i[c],(r>k||-k>r||null!=A[c])&&(t=!0,e=new lb(i,c,i[c],r,e),e.xs0=0,e.plugin=g,d._overwriteProps.push(e.n));return r=m.transformOrigin,(r||vb&&s&&i.zOrigin)&&(sb?(t=!0,r=(r||T(a,c,f,!1,"50% 50%"))+"",c=ub,e=new lb(j,c,0,0,e,-1,"css_transformOrigin"),e.b=j[c],e.plugin=g,vb?(q=i.zOrigin,r=r.split(" "),i.zOrigin=(r.length>2?parseFloat(r[2]):q)||0,e.xs0=e.e=j[c]=r[0]+" "+(r[1]||"50%")+" 0px",e=new lb(i,"zOrigin",0,0,e,-1,e.n),e.b=q,e.xs0=e.e=i.zOrigin):e.xs0=e.e=j[c]=r):$(r+"",i)),t&&(d._transformType=s||3===this._transformType?3:2),e},!0),pb("boxShadow","0px 0px 0px 0px #999",null,!0,!0),pb("borderRadius","0px",function(a,b,c,d,g){b=this.format(b);var k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,i=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],j=a.style;for(s=parseFloat(a.offsetWidth),t=parseFloat(a.offsetHeight),k=b.split(" "),l=0;i.length>l;l++)this.p.indexOf("border")&&(i[l]=R(i[l])),o=n=T(a,i[l],f,!1,"0px"),-1!==o.indexOf(" ")&&(n=o.split(" "),o=n[0],n=n[1]),p=m=k[l],q=parseFloat(o),v=o.substr((q+"").length),w="="===p.charAt(1),w?(r=parseInt(p.charAt(0)+"1",10),p=p.substr(2),r*=parseFloat(p),u=p.substr((r+"").length-(0>r?1:0))||""):(r=parseFloat(p),u=p.substr((r+"").length)),""===u&&(u=e[c]||v),u!==v&&(x=Z(a,"borderLeft",q,v),y=Z(a,"borderTop",q,v),"%"===u?(o=100*(x/s)+"%",n=100*(y/t)+"%"):"em"===u?(z=Z(a,"borderLeft",1,"em"),o=x/z+"em",n=y/z+"em"):(o=x+"px",n=y+"px"),w&&(p=parseFloat(o)+r+u,m=parseFloat(n)+r+u)),g=mb(j,i[l],o+" "+n,p+" "+m,!1,"0px",g);return g},!0,!1,gb("0px 0px 0px 0px",!1,!0)),pb("backgroundPosition","0 0",function(a,b,c,d,e,g){var l,m,n,o,p,h="background-position",i=f||S(a,null),j=this.format((i?L?i.getPropertyValue(h+"-x")+" "+i.getPropertyValue(h+"-y"):i.getPropertyValue(h):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0"),k=this.format(b);if(-1!==j.indexOf("%")!=(-1!==k.indexOf("%"))){for(l=j.split(" "),m=k.split(" "),D.setAttribute("src",T(a,"backgroundImage").replace(t,"")),n=2;--n>-1;)j=l[n],o=-1!==j.indexOf("%"),o!==(-1!==m[n].indexOf("%"))&&(p=0===n?a.offsetWidth-D.width:a.offsetHeight-D.height,l[n]=o?parseFloat(j)/100*p+"px":100*(parseFloat(j)/p)+"%");j=l.join(" ")}return this.parseComplex(a.style,j,k,e,g)},!1,!1,$),pb("backgroundSize","0 0",null,!1,!1,$),pb("perspective","0px",null,!0),pb("perspectiveOrigin","50% 50%",null,!0),pb("transformStyle","preserve-3d",null,!0),pb("backfaceVisibility","visible",null,!0),pb("margin",null,hb("marginTop,marginRight,marginBottom,marginLeft")),pb("padding",null,hb("paddingTop,paddingRight,paddingBottom,paddingLeft")),pb("clip","rect(0px,0px,0px,0px)"),pb("textShadow","0px 0px 0px #999",null,!1,!0),pb("autoRound",null,function(a,b,c,d,e){return e}),pb("border","0px solid #000",function(a,b,c,d,e,g){return this.parseComplex(a.style,this.format(T(a,"borderTopWidth",f,!1,"0px")+" "+T(a,"borderTopStyle",f,!1,"solid")+" "+T(a,"borderTopColor",f,!1,"#000")),this.format(b),e,g)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(fb)||["#000"])[0]});var Ab=function(a){var e,b=this.t,c=b.filter,d=this.s+this.c*a>>0;100===d&&(-1===c.indexOf("atrix(")&&-1===c.indexOf("radient(")?(b.removeAttribute("filter"),e=!T(this.data,"filter")):(b.filter=c.replace(q,""),e=!0)),e||(this.xn1&&(b.filter=c=c||"alpha(opacity=100)"),-1===c.indexOf("opacity")?b.filter+=" alpha(opacity="+d+")":b.filter=c.replace(o,"opacity="+d))};pb("opacity,alpha,autoAlpha","1",function(a,b,c,d,e,g){var j,h=parseFloat(T(a,"opacity",f,!1,"1")),i=a.style;return b=parseFloat(b),"autoAlpha"===c&&(j=T(a,"visibility",f),1===h&&"hidden"===j&&0!==b&&(h=0),e=new lb(i,"visibility",0,0,e,-1,null,!1,0,0!==h?"visible":"hidden",0===b?"hidden":"visible"),e.xs0="visible",d._overwriteProps.push(e.n)),M?e=new lb(i,"opacity",h,b-h,e):(e=new lb(i,"opacity",100*h,100*(b-h),e),e.xn1="autoAlpha"===c?1:0,i.zoom=1,e.type=2,e.b="alpha(opacity="+e.s+")",e.e="alpha(opacity="+(e.s+e.c)+")",e.data=a,e.plugin=g,e.setRatio=Ab),e});var Bb=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;for(var b=this.data,c=this.t.style,d=c.removeProperty?"removeProperty":"removeAttribute";b;)b.v?c[b.p]=b.v:c[d](b.p.replace(r,"-$1").toLowerCase()),b=b._next}else this.t.className!==this.b&&(this.t.className=this.b)};for(pb("className",null,function(a,b,c,d,e,g,h){var k,l,i=a.className,j=a.style.cssText;return e=d._classNamePT=new lb(a,c,0,0,e,2),e.setRatio=Bb,e.b=i,e.e="="!==b.charAt(1)?b:"+"===b.charAt(0)?i+" "+b.substr(2):i.split(b.substr(2)).join(""),d._tween._duration&&(l=U(a,f,!0),a.className=e.e,k=V(a,l,U(a),h),a.className=i,e.data=k.firstMPT,a.style.cssText=j,e=e.xfirst=d.parse(a,k.difs,e,g)),e}),i="bezier,throwProps,physicsProps,physics2D".split(","),nb=i.length;nb--;)qb(i[nb]);return i=c.prototype,i._firstPT=null,i._onInitTween=function(a,b,h){if(!a.nodeType)return!1;this._target=a,this._tween=h,this._vars=b,G=b.autoRound,d=!1,e=b.suffixMap||c.suffixMap,f=S(a,""),g=this._overwriteProps;var j,k,l,m,n,o,q,r,s,i=a.style;if(H&&""===i.zIndex&&(j=T(a,"zIndex",f),("auto"===j||""===j)&&(i.zIndex=0)),"string"==typeof b&&(m=i.cssText,j=U(a,f),i.cssText=m+";"+b,j=V(a,j,U(a)).difs,!M&&p.test(b)&&(j.opacity=parseFloat(RegExp.$1)),b=j,i.cssText=m),this._firstPT=k=this.parse(a,b,null),this._transformType){for(s=3===this._transformType,sb?I&&(H=!0,""===i.zIndex&&(q=T(a,"zIndex",f),("auto"===q||""===q)&&(i.zIndex=0)),K&&(i.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(s?"visible":"hidden"))):i.zoom=1,l=k;l&&l._next;)l=l._next;r=new lb(a,"transform",0,0,null,2),this._linkCSSP(r,null,l),r.setRatio=s&&vb?yb:sb?zb:xb,r.data=this._transform||wb(a,f,!0),g.pop()}if(d){for(;k;){for(o=k._next,l=m;l&&l.pr>k.pr;)l=l._next;(k._prev=l?l._prev:n)?k._prev._next=k:m=k,(k._next=l)?l._prev=k:n=k,k=o}this._firstPT=m}return!0},i.parse=function(a,b,c,d){var i,j,k,l,m,n,o,p,q,r,g=a.style;for(i in b)n=b[i],j=h[i],j?c=j.parse(a,n,i,this,c,d,b):(m=T(a,i,f)+"",q="string"==typeof n,"color"===i||"fill"===i||"stroke"===i||-1!==i.indexOf("Color")||q&&!n.indexOf("rgb")?(q||(n=eb(n),n=(n.length>3?"rgba(":"rgb(")+n.join(",")+")"),c=mb(g,i,m,n,!0,"transparent",c,0,d)):!q||-1===n.indexOf(" ")&&-1===n.indexOf(",")?(k=parseFloat(m),o=k||0===k?m.substr((k+"").length):"",(""===m||"auto"===m)&&("width"===i||"height"===i?(k=Y(a,i,f),o="px"):(k="opacity"!==i?0:1,o="")),r=q&&"="===n.charAt(1),r?(l=parseInt(n.charAt(0)+"1",10),n=n.substr(2),l*=parseFloat(n),p=n.substr((l+"").length-(0>l?1:0))||""):(l=parseFloat(n),p=q?n.substr((l+"").length)||"":""),""===p&&(p=e[i]||o),n=l||0===l?(r?l+k:l)+p:b[i],o!==p&&""!==p&&(l||0===l)&&(k||0===k)&&(k=Z(a,i,k,o),"%"===p?(k/=Z(a,i,100,"%")/100,k>100&&(k=100)):"em"===p?k/=Z(a,i,1,"em"):(l=Z(a,i,l,p),p="px"),r&&(l||0===l)&&(n=l+k+p)),r&&(l+=k),!k&&0!==k||!l&&0!==l?n||"NaN"!=n+""&&null!=n?(c=new lb(g,i,l||k||0,0,c,-1,"css_"+i,!1,0,m,n),c.xs0="display"===i&&"none"===n?m:n):O("invalid "+i+" tween value. "):(c=new lb(g,i,k,l-k,c,0,"css_"+i,G!==!1&&("px"===p||"zIndex"===i),0,m,n),c.xs0=p)):c=mb(g,i,m,n,!0,null,c,0,d)),d&&c&&!c.plugin&&(c.plugin=d);return c},i.setRatio=function(a){var d,e,f,b=this._firstPT,c=1e-6;if(1!==a||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(a||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;b;){if(d=b.c*a+b.s,b.r?d=d>0?d+.5>>0:d-.5>>0:c>d&&d>-c&&(d=0),b.type)if(1===b.type)if(f=b.l,2===f)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2;else if(3===f)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===f)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===f)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{for(e=b.xs0+d+b.xs1,f=1;b.l>f;f++)e+=b["xn"+f]+b["xs"+(f+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]=d+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next;else for(;b;)2!==b.type?b.t[b.p]=b.e:b.setRatio(a),b=b._next},i._enableTransforms=function(a){this._transformType=a||3===this._transformType?3:2},i._linkCSSP=function(a,b,c,d){return a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),c?c._next=a:d||null!==this._firstPT||(this._firstPT=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=c),a},i._kill=function(b){var e,f,g,c=b,d=!1;if(b.css_autoAlpha||b.css_alpha){c={};for(f in b)c[f]=b[f];c.css_opacity=1,c.css_autoAlpha&&(c.css_visibility=1)}return b.css_className&&(e=this._classNamePT)&&(g=e.xfirst,g&&g._prev?this._linkCSSP(g._prev,e._next,g._prev._prev):g===this._firstPT&&(this._firstPT=null),e._next&&this._linkCSSP(e._next,e._next._next,g._prev),this._target._gsOverwrittenClassNamePT=this._linkCSSP(e,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,d=!0),a.prototype._kill.call(this,c)||d},a.activate([c]),c},!0),_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(a){var b=function(){a.call(this,"roundProps",-1),this._overwriteProps.length=0},c=b.prototype=new a("roundProps",-1);return c.constructor=b,b.API=2,c._onInitTween=function(a,b,c){return this._tween=c,!0},c._onInitAllProps=function(){for(var f,g,h,a=this._tween,b=a.vars.roundProps instanceof Array?a.vars.roundProps:a.vars.roundProps.split(","),c=b.length,d={},e=a._propLookup.roundProps;--c>-1;)d[b[c]]=1;for(c=b.length;--c>-1;)for(f=b[c],g=a._firstPT;g;)h=g._next,g.pg?g.t._roundProps(d,!0):g.n===f&&(this._add(g.t,f,g.s,g.c),h&&(h._prev=g._prev),g._prev?g._prev._next=h:a._firstPT===g&&(a._firstPT=h),g._next=g._prev=null,a._propLookup[f]=e),g=h;return!1},c._add=function(a,b,c,d){this._addTween(a,b,c,c+d,b,!0),this._overwriteProps.push(b)},a.activate([b]),b},!0),_gsDefine("easing.Back",["easing.Ease"],function(a){var b=window.com.greensock,c=b._class,d=function(b,d){var e=c("easing."+b,function(){},!0),f=e.prototype=new a;return f.constructor=e,f.getRatio=d,e},e=function(b,d){var e=c("easing."+b,function(a){this._p1=a||0===a?a:1.70158,this._p2=1.525*this._p1},!0),f=e.prototype=new a;return f.constructor=e,f.getRatio=d,f.config=function(a){return new e(a)},e},f=e("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),g=e("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),h=e("BackInOut",function(a){return 1>(a*=2)?.5*a*a*((this._p2+1)*a-this._p2):.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)}),i=d("BounceOut",function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375}),j=d("BounceIn",function(a){return 1/2.75>(a=1-a)?1-7.5625*a*a:2/2.75>a?1-(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>a?1-(7.5625*(a-=2.25/2.75)*a+.9375):1-(7.5625*(a-=2.625/2.75)*a+.984375)}),k=d("BounceInOut",function(a){var b=.5>a;return a=b?1-2*a:2*a-1,a=1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375,b?.5*(1-a):.5*a+.5}),l=d("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),m=d("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),n=d("CircInOut",function(a){return 1>(a*=2)?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)}),o=2*Math.PI,p=function(b,d,e){var f=c("easing."+b,function(a,b){this._p1=a||1,this._p2=b||e,this._p3=this._p2/o*(Math.asin(1/this._p1)||0)},!0),g=f.prototype=new a;return g.constructor=f,g.getRatio=d,g.config=function(a,b){return new f(a,b)},f},q=p("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*o/this._p2)+1},.3),r=p("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*o/this._p2))},.3),s=p("ElasticInOut",function(a){return 1>(a*=2)?-.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*o/this._p2):.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*o/this._p2)+1},.45),t=d("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),u=d("ExpoIn",function(a){return Math.pow(2,10*(a-1))-.001}),v=d("ExpoInOut",function(a){return 1>(a*=2)?.5*Math.pow(2,10*(a-1)):.5*(2-Math.pow(2,-10*(a-1)))}),w=Math.PI/2,x=d("SineOut",function(a){return Math.sin(a*w)}),y=d("SineIn",function(a){return-Math.cos(a*w)+1}),z=d("SineInOut",function(a){return-.5*(Math.cos(Math.PI*a)-1)}),A=c("easing.SlowMo",function(a,b,c){b=b||0===b?b:.7,null==a?a=.7:a>1&&(a=1),this._p=1!=a?b:0,this._p1=(1-a)/2,this._p2=a,this._p3=this._p1+this._p2,this._calcEnd=c===!0},!0),B=A.prototype=new a;B.constructor=A,B.getRatio=function(a){var b=a+(.5-a)*this._p;return this._p1>a?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},A.ease=new A(.7,.7),B.config=A.config=function(a,b,c){return new A(a,b,c)};var C=c("easing.SteppedEase",function(a){a=a||1,this._p1=1/a,this._p2=a+1},!0);return B=C.prototype=new a,B.constructor=C,B.getRatio=function(a){return 0>a?a=0:a>=1&&(a=.999999999),(this._p2*a>>0)*this._p1},B.config=C.config=function(a){return new C(a)},c("easing.Bounce",{easeOut:new i,easeIn:new j,easeInOut:new k},!0),c("easing.Circ",{easeOut:new l,easeIn:new m,easeInOut:new n},!0),c("easing.Elastic",{easeOut:new q,easeIn:new r,easeInOut:new s},!0),c("easing.Expo",{easeOut:new t,easeIn:new u,easeInOut:new v},!0),c("easing.Sine",{easeOut:new x,easeIn:new y,easeInOut:new z},!0),{easeOut:new f,easeIn:new g,easeInOut:new h}},!0)}),function(a){"use strict";var d,e,f,g,h,i,b=function(b){var e,c=b.split("."),d=a;for(e=0;c.length>e;e++)d[c[e]]=d=d[c[e]]||{};return d},c=b("com.greensock"),j={},k=function(c,d,e,f){this.sc=j[c]?j[c].sc:[],j[c]=this,this.gsClass=null,this.def=e;var g=d||[],h=[];this.check=function(d){for(var m,i=g.length,l=0;--i>-1;)(m=j[g[i]]||new k(g[i])).gsClass?h[i]=m.gsClass:(l++,d&&m.sc.push(this));if(0===l&&e){var n=("com.greensock."+c).split("."),o=n.pop(),p=b(n.join("."))[o]=this.gsClass=e.apply(e,h);for(f&&((a.GreenSockGlobals||a)[o]=p,"function"==typeof define&&define.amd?define((a.GreenSockAMDPath?a.GreenSockAMDPath+"/":"")+c.split(".").join("/"),[],function(){return p}):"undefined"!=typeof module&&module.exports&&(module.exports=p)),i=0;this.sc.length>i;i++)this.sc[i].check(!1)}},this.check(!0)},l=c._class=function(a,b,c){return b=b||function(){},new k(a,[],function(){return b},c),b};a._gsDefine=function(a,b,c,d){return new k(a,b,c,d)};var m=[0,0,1,1],n=[],o=l("easing.Ease",function(a,b,c,d){this._func=a,this._type=c||0,this._power=d||0,this._params=b?m.concat(b):m},!0);for(h=o.prototype,h._calcEnd=!1,h.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:.5>a?2*a:2*(1-a);return 1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:.5>a?d/2:1-d/2},d=["Linear","Quad","Cubic","Quart","Quint"],e=d.length;--e>-1;)f=l("easing."+d[e],null,!0),g=l("easing.Power"+e,null,!0),f.easeOut=g.easeOut=new o(null,null,1,e),f.easeIn=g.easeIn=new o(null,null,2,e),f.easeInOut=g.easeInOut=new o(null,null,3,e);l("easing.Strong",c.easing.Power4,!0),c.easing.Linear.easeNone=c.easing.Linear.easeIn;var p=l("events.EventDispatcher",function(a){this._listeners={},this._eventTarget=a||this});h=p.prototype,h.addEventListener=function(a,b,c,d,e){e=e||0;var h,i,f=this._listeners[a],g=0;for(null==f&&(this._listeners[a]=f=[]),i=f.length;--i>-1;)h=f[i],h.c===b?f.splice(i,1):0===g&&e>h.pr&&(g=i+1);f.splice(g,0,{c:b,s:c,up:d,pr:e})},h.removeEventListener=function(a,b){var d,c=this._listeners[a];if(c)for(d=c.length;--d>-1;)if(c[d].c===b)return c.splice(d,1),void 0},h.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var e,c=b.length,d=this._eventTarget;--c>-1;)e=b[c],e.up?e.c.call(e.s||d,{type:a,target:d}):e.c.call(e.s||d)};var q=a.requestAnimationFrame,r=a.cancelAnimationFrame,s=Date.now||function(){return(new Date).getTime()};for(d=["ms","moz","webkit","o"],e=d.length;--e>-1&&!q;)q=a[d[e]+"RequestAnimationFrame"],r=a[d[e]+"CancelAnimationFrame"]||a[d[e]+"CancelRequestAnimationFrame"];+l("Ticker",function(b,c){var g,h,i,j,k,d=this,e=s(),f=c!==!1&&q,l=function(){null!=i&&(f&&r?r(i):a.clearTimeout(i),i=null)},m=function(a){d.time=(s()-e)/1e3,(!g||d.time>=k||a===!0)&&(d.frame++,k=d.time>k?d.time+j-(d.time-k):d.time+j-.001,d.time+.001>k&&(k=d.time+.001),d.dispatchEvent("tick")),a!==!0&&(i=h(m))};p.call(d),this.time=this.frame=0,this.tick=function(){m(!0)},this.fps=function(b){return arguments.length?(g=b,j=1/(g||60),k=this.time+j,h=0===g?function(){}:f&&q?q:function(b){return a.setTimeout(b,1e3*(k-d.time)+1>>0||1)},l(),i=h(m),void 0):g},this.useRAF=function(a){return arguments.length?(l(),f=a,d.fps(g),void 0):f},d.fps(b),a.setTimeout(function(){f&&!i&&d.useRAF(!1)},1e3)}),h=c.Ticker.prototype=new c.events.EventDispatcher,h.constructor=c.Ticker;var t=l("core.Animation",function(a,b){if(this.vars=b||{},this._duration=this._totalDuration=a||0,this._delay=Number(this.vars.delay)||0,this._timeScale=1,this._active=this.vars.immediateRender===!0,this.data=this.vars.data,this._reversed=this.vars.reversed===!0,D){i||(u.tick(),i=!0);var c=this.vars.useFrames?C:D;c.insert(this,c._time),this.vars.paused&&this.paused(!0)}}),u=t.ticker=new c.Ticker;h=t.prototype,h._dirty=h._gc=h._initted=h._paused=!1,h._totalTime=h._time=0,h._rawPrevTime=-1,h._next=h._last=h._onUpdate=h._timeline=h.timeline=null,h._paused=!1,h.play=function(a,b){return arguments.length&&this.seek(a,b),this.reversed(!1),this.paused(!1)},h.pause=function(a,b){return arguments.length&&this.seek(a,b),this.paused(!0)},h.resume=function(a,b){return arguments.length&&this.seek(a,b),this.paused(!1)},h.seek=function(a,b){return this.totalTime(Number(a),b!==!1)},h.restart=function(a,b){return this.reversed(!1),this.paused(!1),this.totalTime(a?-this._delay:0,b!==!1)},h.reverse=function(a,b){return arguments.length&&this.seek(a||this.totalDuration(),b),this.reversed(!0),this.paused(!1)},h.render=function(){},h.invalidate=function(){return this},h._enabled=function(a,b){return this._gc=!a,this._active=a&&!this._paused&&this._totalTime>0&&this._totalTime<this._totalDuration,b!==!0&&(a&&null==this.timeline?this._timeline.insert(this,this._startTime-this._delay):a||null==this.timeline||this._timeline._remove(this,!0)),!1},h._kill=function(){return this._enabled(!1,!1)},h.kill=function(a,b){return this._kill(a,b),this},h._uncache=function(a){for(var b=a?this:this.timeline;b;)b._dirty=!0,b=b.timeline;return this},h.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;--e>-1;)"{self}"===c[e]&&(c=this.vars[a+"Params"]=c.concat(),c[e]=this);"onUpdate"===a&&(this._onUpdate=b)}return this},h.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},h.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==a&&this.totalTime(this._totalTime*(a/this._duration),!0),this):(this._dirty=!1,this._duration)},h.totalDuration=function(a){return this._dirty=!1,arguments.length?this.duration(a):this._totalDuration},h.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),a>this._duration&&(a=this._duration),this.totalTime(a,b)):this._time},h.totalTime=function(a,b){if(!arguments.length)return this._totalTime;if(this._timeline){if(0>a&&(a+=this.totalDuration()),this._timeline.smoothChildTiming&&(this._dirty&&this.totalDuration(),a>this._totalDuration&&(a=this._totalDuration),this._startTime=(this._paused?this._pauseTime:this._timeline._time)-(this._reversed?this._totalDuration-a: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},h.startTime=function(a){return arguments.length?(a!==this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.insert(this,a-this._delay)),this):this._startTime},h.timeScale=function(a){if(!arguments.length)return this._timeScale;if(a=a||1e-6,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}return this._timeScale=a,this._uncache(!1)},h.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totalTime(this._totalTime,!0)),this):this._reversed},h.paused=function(a){return arguments.length?(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&&this._totalTime>0&&this._totalTime<this._totalDuration),this._gc&&(a||this._enabled(!0,!1)),this):this._paused};var v=l("core.SimpleTimeline",function(a){t.call(this,0,a),this.autoRemoveChildren=this.smoothChildTiming=!0});h=v.prototype=new t,h.constructor=v,h.kill()._gc=!1,h._first=h._last=null,h._sortChildren=!1,h.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;return 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),this},h._remove=function(a,b){return 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)),this},h.render=function(a,b){var e,d=this._first;for(this._totalTime=this._time=this._rawPrevTime=a;d;)e=d._next,(d._active||a>=d._startTime&&!d._paused)&&(d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,!1):d.render((a-d._startTime)*d._timeScale,b,!1)),d=e},h.rawTime=function(){return this._totalTime};var w=l("TweenLite",function(a,b,c){if(t.call(this,b,c),null==a)throw"Cannot tween an undefined reference.";this.target=a,this._overwrite=null==this.vars.overwrite?B[w.defaultOverwrite]:"number"==typeof this.vars.overwrite?this.vars.overwrite>>0:B[this.vars.overwrite];var e,f;if((a instanceof Array||a.jquery)&&"object"==typeof a[0])for(this._targets=a.slice(0),this._propLookup=[],this._siblings=[],e=0;this._targets.length>e;e++)f=this._targets[e],f.jquery?(this._targets.splice(e--,1),this._targets=this._targets.concat(f.constructor.makeArray(f))):(this._siblings[e]=E(f,this,!1),1===this._overwrite&&this._siblings[e].length>1&&F(f,this,null,1,this._siblings[e]));else this._propLookup={},this._siblings=E(a,this,!1),1===this._overwrite&&this._siblings.length>1&&F(a,this,null,1,this._siblings);(this.vars.immediateRender||0===b&&0===this._delay&&this.vars.immediateRender!==!1)&&this.render(-this._delay,!1,!0)},!0);h=w.prototype=new t,h.constructor=w,h.kill()._gc=!1,h.ratio=0,h._firstPT=h._targets=h._overwrittenProps=null,h._notifyPluginsOfEnabled=!1,w.version=1.67,w.defaultEase=h._ease=new o(null,null,1,1),w.defaultOverwrite="auto",w.ticker=u;var x=w._plugins={},y=w._tweenLookup={},z=0,A={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},B={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},C=t._rootFramesTimeline=new v,D=t._rootTimeline=new v;D._startTime=u.time,C._startTime=u.frame,D._active=C._active=!0,t._updateRoot=function(){if(D.render((u.time-D._startTime)*D._timeScale,!1,!1),C.render((u.frame-C._startTime)*C._timeScale,!1,!1),!(u.frame%120)){var a,b,c;for(c in y){for(b=y[c].tweens,a=b.length;--a>-1;)b[a]._gc&&b.splice(a,1);0===b.length&&delete y[c]}}},u.addEventListener("tick",t._updateRoot);var E=function(a,b,c){var e,f,d=a._gsTweenID;if(y[d||(a._gsTweenID=d="t"+z++)]||(y[d]={target:a,tweens:[]}),b&&(e=y[d].tweens,e[f=e.length]=b,c))for(;--f>-1;)e[f]===b&&e.splice(f,1);return y[d].tweens},F=function(a,b,c,d,e){var f,g,h,i;if(1===d||d>=4){for(i=e.length,f=0;i>f;f++)if((h=e[f])!==b)h._gc||h._enabled(!1,!1)&&(g=!0);else if(5===d)break;return g}var n,j=b._startTime+1e-10,k=[],l=0,m=0===b._duration;for(f=e.length;--f>-1;)(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(n=n||G(b,0,m),0===G(h,n,m)&&(k[l++]=h)):j>=h._startTime&&h._startTime+h.totalDuration()/h._timeScale+1e-10>j&&((m||!h._initted)&&2e-10>=j-h._startTime||(k[l++]=h)));for(f=l;--f>-1;)h=k[f],2===d&&h._kill(c,a)&&(g=!0),(2!==d||!h._firstPT&&h._initted)&&h._enabled(!1,!1)&&(g=!0);return g},G=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){if(f+=d._startTime,e*=d._timeScale,d._paused)return-100;d=d._timeline}return f/=e,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};h._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,w.to(this.target,0,this.vars.startAt));var a,b,c;if(this._ease=this.vars.ease instanceof o?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 o(this.vars.ease,this.vars.easeParams):w.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(a=this._targets.length;--a>-1;)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);if(b&&w._onPluginEvent("_onInitAllProps",this),this._overwrittenProps&&null==this._firstPT&&"function"!=typeof this.target&&this._enabled(!1,!1),this.vars.runBackwards)for(c=this._firstPT;c;)c.s+=c.c,c.c=-c.c,c=c._next;this._onUpdate=this.vars.onUpdate,this._initted=!0},h._initProps=function(a,b,c,d){var e,f,g,h,i,j,k;if(null==a)return!1;for(e in this.vars){if(A[e]){if(("onStartParams"===e||"onUpdateParams"===e||"onCompleteParams"===e||"onReverseCompleteParams"===e||"onRepeatParams"===e)&&(i=this.vars[e]))for(f=i.length;--f>-1;)"{self}"===i[f]&&(i=this.vars[e]=i.concat(),i[f]=this)}else if(x[e]&&(h=new x[e])._onInitTween(a,this.vars[e],this)){for(this._firstPT=j={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:!0,n:e,pg:!0,pr:h._priority},f=h._overwriteProps.length;--f>-1;)b[h._overwriteProps[f]]=this._firstPT;(h._priority||h._onInitAllProps)&&(g=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=b[e]=j={_next:this._firstPT,t:a,p:e,f:"function"==typeof a[e],n:e,pg:!1,pr:0},j.s=j.f?a[e.indexOf("set")||"function"!=typeof a["get"+e.substr(3)]?e:"get"+e.substr(3)]():parseFloat(a[e]),k=this.vars[e],j.c="string"==typeof k&&"="===k.charAt(1)?parseInt(k.charAt(0)+"1",10)*Number(k.substr(2)):Number(k)-j.s||0;j&&j._next&&(j._next._prev=j)}return d&&this._kill(d,a)?this._initProps(a,b,c,d):this._overwrite>1&&this._firstPT&&c.length>1&&F(a,this,b,this._overwrite,c)?(this._kill(b,a),this._initProps(a,b,c,d)):g},h.render=function(a,b,c){var e,f,g,d=this._time;if(a>=this._duration)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&&((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,(0!==d||0===this._duration&&this._rawPrevTime>0)&&(f="onReverseComplete",e=this._reversed),0>a?(this._active=!1,0===this._duration&&(this._rawPrevTime>=0&&(c=!0),this._rawPrevTime=a)):this._initted||(c=!0);else if(this._totalTime=this._time=a,this._easeType){var h=a/this._duration,i=this._easeType,j=this._easePower;(1===i||3===i&&h>=.5)&&(h=1-h),3===i&&(h*=2),1===j?h*=h:2===j?h*=h*h:3===j?h*=h*h*h:4===j&&(h*=h*h*h*h),this.ratio=1===i?1-h:2===i?h:.5>a/this._duration?h/2:1-h/2}else this.ratio=this._ease.getRatio(a/this._duration);if(this._time!==d||c){for(this._initted||(this._init(),!e&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration))),this._active||this._paused||(this._active=!0),0===d&&this.vars.onStart&&(0!==this._time||0===this._duration)&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||n)),g=this._firstPT;g;)g.f?g.t[g.p](g.c*this.ratio+g.s):g.t[g.p]=g.c*this.ratio+g.s,g=g._next;this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||n)),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"]||n)))}},h._kill=function(a,b){if("all"===a&&(a=null),null==a&&(null==b||b===this.target))return this._enabled(!1,!1);b=b||this._targets||this.target;var c,d,e,f,g,h,i,j;if((b instanceof Array||b.jquery)&&"object"==typeof b[0])for(c=b.length;--c>-1;)this._kill(a,b[c])&&(h=!0);else{if(this._targets){for(c=this._targets.length;--c>-1;)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){i=a||g,j=a!==d&&"all"!==d&&a!==g&&(null==a||a._tempKill!==!0);for(e in i)(f=g[e])&&(f.pg&&f.t._kill(i)&&(h=!0),f.pg&&0!==f.t._overwriteProps.length||(f._prev?f._prev._next=f._next:f===this._firstPT&&(this._firstPT=f._next),f._next&&(f._next._prev=f._prev),f._next=f._prev=null),delete g[e]),j&&(d[e]=1)}}return h},h.invalidate=function(){return this._notifyPluginsOfEnabled&&w._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._initted=this._active=this._notifyPluginsOfEnabled=!1,this._propLookup=this._targets?{}:[],this},h._enabled=function(a,b){if(a&&this._gc)if(this._targets)for(var c=this._targets.length;--c>-1;)this._siblings[c]=E(this._targets[c],this,!0);else this._siblings=E(this.target,this,!0);return t.prototype._enabled.call(this,a,b),this._notifyPluginsOfEnabled&&this._firstPT?w._onPluginEvent(a?"_onEnable":"_onDisable",this):!1},w.to=function(a,b,c){return new w(a,b,c)},w.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender!==!1&&(c.immediateRender=!0),new w(a,b,c)},w.fromTo=function(a,b,c,d){return d.startAt=c,c.immediateRender&&(d.immediateRender=!0),new w(a,b,d)},w.delayedCall=function(a,b,c,d,e){return new w(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:e,overwrite:0})},w.set=function(a,b){return new w(a,0,b)},w.killTweensOf=w.killDelayedCallsTo=function(a,b){for(var c=w.getTweensOf(a),d=c.length;--d>-1;)c[d]._kill(b,a)},w.getTweensOf=function(a){if(null!=a){var b,c,d,e;if((a instanceof Array||a.jquery)&&"object"==typeof a[0]){for(b=a.length,c=[];--b>-1;)c=c.concat(w.getTweensOf(a[b]));for(b=c.length;--b>-1;)for(e=c[b],d=b;--d>-1;)e===c[d]&&c.splice(b,1)}else for(c=E(a).concat(),b=c.length;--b>-1;)c[b]._gc&&c.splice(b,1);return c}};var H=l("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(","),this._propName=this._overwriteProps[0],this._priority=b||0},!0);if(h=H.prototype,H.version=12,H.API=2,h._firstPT=null,h._addTween=function(a,b,c,d,e,f){var g,h;null!=d&&(g="number"==typeof d||"="!==d.charAt(1)?Number(d)-c:parseInt(d.charAt(0)+"1",10)*Number(d.substr(2)))&&(this._firstPT=h={_next:this._firstPT,t:a,p:b,s:c,c:g,f:"function"==typeof a[b],n:e||b,r:f},h._next&&(h._next._prev=h))},h.setRatio=function(a){for(var c,b=this._firstPT;b;)c=b.c*a+b.s,b.r&&(c=c+(c>0?.5:-.5)>>0),b.f?b.t[b.p](c):b.t[b.p]=c,b=b._next},h._kill=function(a){if(null!=a[this._propName])this._overwriteProps=[];else for(var b=this._overwriteProps.length;--b>-1;)null!=a[this._overwriteProps[b]]&&this._overwriteProps.splice(b,1);for(var c=this._firstPT;c;)null!=a[c.n]&&(c._next&&(c._next._prev=c._prev),c._prev?(c._prev._next=c._next,c._prev=null):this._firstPT===c&&(this._firstPT=c._next)),c=c._next;return!1},h._roundProps=function(a,b){for(var c=this._firstPT;c;)(a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")])&&(c.r=b),c=c._next},w._onPluginEvent=function(a,b){var d,c=b._firstPT;if("_onInitAllProps"===a){for(var e,f,g,h;c;){for(h=c._next,e=f;e&&e.pr>c.pr;)e=e._next;(c._prev=e?e._prev:g)?c._prev._next=c:f=c,(c._next=e)?e._prev=c:g=c,c=h}c=b._firstPT=f}for(;c;)c.pg&&"function"==typeof c.t[a]&&c.t[a]()&&(d=!0),c=c._next;return d},H.activate=function(a){for(var b=a.length;--b>-1;)a[b].API===H.API&&(w._plugins[(new a[b])._propName]=a[b]);return!0},d=a._gsQueue){for(e=0;d.length>e;e++)d[e]();for(h in j)j[h].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+h)}}(window);\ No newline at end of filediff --git a/src/minified/plugins/BezierPlugin.min.js b/src/minified/plugins/BezierPlugin.min.jsindex a09ee69..959a441 100755--- a/src/minified/plugins/BezierPlugin.min.js+++ b/src/minified/plugins/BezierPlugin.min.js@@ -1,6 +1,6 @@/*!- * VERSION: beta 1.15- * DATE: 2012-12-14+ * VERSION: beta 1.16+ * DATE: 2013-01-09* JavaScript (also available in AS3 and AS2)* UPDATES AND DOCS AT: http://www.greensock.com*@@ -10,18 +10,4 @@** @author: Jack Doyle, [email protected]*/-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(F){var z=function(){F.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},E=z.prototype=new F("bezier",1),I=180/Math.PI,J=Math.PI/180,A=[],B=[],C=[],G={},D=function(a,c,g,p){this.a=a;this.b=c;this.c=g;this.d=p;this.da=p-a;this.ca=g-a;this.ba=c-a},K=z.bezierThrough=function(a,c,g,p,j,b){var d={},f=[],e,k,q;j="string"===typeof j?","+j+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";-null==c&&(c=1);for(k in a[0])f.push(k);A.length=B.length=C.length=0;for(e=f.length;-1<--e;){k=f[e];G[k]=-1!==j.indexOf(","+k+",");q=d;var s=k,n;n=a;var m=k,w=G[k],l=b,t=[],r=void 0,h=void 0,v=void 0,u=void 0,x=void 0,r=void 0;if(l){n=[l].concat(n);for(h=n.length;-1<--h;)if("string"===typeof(r=n[h][m]))"="===r.charAt(1)&&(n[h][m]=l[m]+Number(r.charAt(0)+r.substr(2)))}r=n.length-2;if(0>r)t[0]=new D(n[0][m],0,0,n[-1>r?0:1][m]);else{for(h=0;h<r;h++)v=n[h][m],u=n[h+1][m],t[h]=new D(v,0,0,u),w&&(x=n[h+-2][m],A[h]=(A[h]||0)+(u-v)*(u-v),B[h]=(B[h]||0)+(x-u)*(x-u));t[h]=new D(n[h][m],0,0,n[h+1][m])}n=t;q[s]=n}for(e=A.length;-1<--e;)A[e]=Math.sqrt(A[e]),B[e]=Math.sqrt(B[e]);if(!p){for(e=f.length;-1<--e;)if(G[k]){a=d[f[e]];q=a.length-1;for(j=0;j<q;j++)b=a[j+1].da/B[j]+a[j].da/A[j],C[j]=(C[j]||0)+b*b}for(e=C.length;-1<--e;)C[e]=Math.sqrt(C[e])}for(e=f.length;-1<--e;){k=f[e];a=d[k];j=c;b=g;q=p;k=G[k];s=a.length-1;n=0;for(var m=a[0].a,y=x=u=l=r=u=v=r=h=v=t=l=w=void 0,w=0;w<s;w++)h=a[n],l=h.a,t=h.d,v=a[n+-1].d,k?(u=A[w],x=B[w],y=0.25*(x+u)*j/(q?0.5:C[w]||0.5),r=t-(t-l)*(q?0.5*j:y/u),v=t+(v-t)*(q?0.5*j:y/x),u=t-(r+(v-r)*(3*u/(u+x)+0.5)/4)):(r=t-0.5*(t-l)*j,v=t+0.5*(v-t)*j,u=t-(r+v)/2),r+=u,v+=u,h.c=r,h.b=0!==w?m:m=h.a+0.6*(h.c-h.a),h.da=t-l,h.ca=r-l,h.ba=m-l,b?(l=H(l,m,r,t),a.splice(n,1,l[0],l[1],l[2],l[3]),n+=4):n++,m=v;h=a[n];h.b=m;h.c=m+0.4*(h.d-m);h.da=h.d-h.a;h.ca=h.c-h.a;h.ba=m-h.a;b&&(l=H(h.a,m,h.c,h.d),a.splice(n,1,l[0],l[1],l[2],l[3]))}return d},H=z.cubicToQuadratic=function(a,c,g,p){var j=-{a:a},b={},d={},f={c:p},e=(a+c)/2,k=(c+g)/2;g=(g+p)/2;c=(e+k)/2;var k=(k+g)/2,q=(k-c)/8;j.b=e+(a-e)/4;b.b=c+q;j.c=b.a=(j.b+b.b)/2;b.c=d.a=(c+k)/2;d.b=k-q;f.b=g+(p-g)/4;d.c=f.a=(d.b+f.b)/2;return[j,b,d,f]};z.quadraticToCubic=function(a,c,g){return new D(a,(2*c+a)/3,(2*c+g)/3,g)};E.constructor=z;z.API=2;z._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,c=a._parseToProxy,g=a._setPluginRatio,p=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,-b,d,f,e,k){b instanceof Array&&(b={values:b});k=new z;d=b.values;var q=d.length-1,s=[],n={},m,w,l;if(0>q)return e;for(m=0;m<=q;m++)l=c(a,d[m],f,e,k,q!==m),s[m]=l.end;for(w in b)n[w]=b[w];n.values=s;e=new p(a,"bezier",0,0,l.pt,2);e.data=l;e.plugin=k;e.setRatio=g;0===n.autoRotate&&(n.autoRotate=!0);n.autoRotate&&!(n.autoRotate instanceof Array)&&(m=!0===n.autoRotate?0:Number(n.autoRotate)*J,n.autoRotate=null!=l.end.left?[["left","top","rotation",m,!0]]:null!=l.end.x?[["x","y","rotation",m,!0]]:!1);-n.autoRotate&&(f._transform||f._enableTransforms(!1),l.autoRotate=f._target._gsTransform);k._onInitTween(l.proxy,n,f._tween);return e})}};E._onInitTween=function(a,c,g){this._target=a;c instanceof Array&&(c={values:c});this._props=[];this._timeRes=null==c.timeResolution?6:parseInt(c.timeResolution);var p=c.values||[],j={},b=p[0];g=c.autoRotate||g.vars.orientToBezier;var d,f,e;this._autoRotate=g?g instanceof Array?g:[["x","y","rotation",!0===g?0:Number(g)||0]]:null;for(d in b)this._props.push(d);for(b=-this._props.length;-1<--b;)d=this._props[b],this._overwriteProps.push(d),g=this._func[d]="function"===typeof a[d],j[d]=!g?parseFloat(a[d]):a[d.indexOf("set")||"function"!==typeof a["get"+d.substr(3)]?d:"get"+d.substr(3)](),e||j[d]!==p[0][d]&&(e=j);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)j=K(p,isNaN(c.curviness)?1:c.curviness,!1,"thruBasic"===c.type,c.correlate,e);else{g=(g=c.type)||"soft";c={};e="cubic"===g?3:2;g="soft"===g;var b=[],k,q,s,n,m,w,l,t,r;g&&j&&(p=[j].concat(p));if(null==-p||p.length<e+1)throw"invalid Bezier data";for(q in p[0])b.push(q);for(w=b.length;-1<--w;){q=b[w];c[q]=m=[];r=0;t=p.length;for(l=0;l<t;l++)k=null==j?p[l][q]:"string"===typeof(s=p[l][q])&&"="===s.charAt(1)?j[q]+Number(s.charAt(0)+s.substr(2)):Number(s),g&&1<l&&l<t-1&&(m[r++]=(k+m[r-2])/2),m[r++]=k;t=r-e+1;for(l=r=0;l<t;l+=e)k=m[l],q=m[l+1],s=m[l+2],n=2===e?0:m[l+3],m[r++]=s=3===e?new D(k,q,s,n):new D(k,(2*q+k)/3,(2*q+s)/3,s);m.length=r}j=c}this._beziers=j;this._segCount=this._beziers[d].length;if(this._timeRes){b=-this._beziers;d=this._timeRes;d=d>>0||6;j=[];q=[];p=s=0;c=d-1;e=[];g=[];for(f in b){k=b[f];m=j;w=d;l=1/w;t=k.length;for(var h=void 0,v=void 0,u=n=r=v=void 0,x=h=void 0,y=void 0,y=u=void 0;-1<--t;){u=k[t];v=u.a;r=u.d-v;n=u.c-v;u=u.b-v;v=0;for(x=1;x<=w;x++)h=l*x,y=1-h,h=v-(v=(h*h*r+3*y*(h*n+y*u))*h),y=t*w+x-1,m[y]=(m[y]||0)+h*h}}b=j.length;for(f=0;f<b;f++)s+=Math.sqrt(j[f]),k=f%d,g[k]=s,k===c&&(p+=s,k=f/d>>0,e[k]=g,q[k]=p,s=0,g=[]);this._length=p;this._lengths=q;this._segments=e;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(g=this._autoRotate){g[0]instanceof Array||(this._autoRotate=g=[g]);for(b=g.length;-1<--b;)for(f=0;3>f;f++)d=g[b][f],this._func[d]="function"===typeof a[d]?a[d.indexOf("set")||"function"!==typeof a["get"+d.substr(3)]?d:"get"+d.substr(3)]:!1}return!0};E.setRatio=function(a){var c=this._segCount,g=this._func,p=this._target,j,b,d,f,e;if(this._timeRes){j=this._lengths;f=this._curSeg;-a*=this._length;b=this._li;if(a>this._l2&&b<c-1){for(c-=1;b<c&&(this._l2=j[++b])<=a;);this._l1=j[b-1];this._li=b;this._curSeg=f=this._segments[b];this._s2=f[this._s1=this._si=0]}else if(a<this._l1&&0<b){for(;0<b&&(this._l1=j[--b])>=a;);0===b&&a<this._l1?this._l1=0:b++;this._l2=j[b];this._li=b;this._curSeg=f=this._segments[b];this._s1=f[(this._si=f.length-1)-1]||0;this._s2=f[this._si]}j=b;a-=this._l1;b=this._si;if(a>this._s2&&b<f.length-1){for(c=f.length-1;b<c&&(this._s2=f[++b])<=a;);this._s1=f[b--1];this._si=b}else if(a<this._s1&&0<b){for(;0<b&&(this._s1=f[--b])>=a;);0===b&&a<this._s1?this._s1=0:b++;this._s2=f[b];this._si=b}f=(b+(a-this._s1)/(this._s2-this._s1))*this._prec}else j=0>a?0:1<=a?c-1:c*a>>0,f=(a-j*(1/c))*c;c=1-f;for(b=this._props.length;-1<--b;)if(a=this._props[b],d=this._beziers[a][j],e=(f*f*d.da+3*c*(f*d.ca+c*d.ba))*f+d.a,this._round[a]&&(e=e+(0<e?0.5:-0.5)>>0),g[a])p[a](e);else p[a]=e;if(this._autoRotate){var c=this._autoRotate,k,q,s,n,m;for(b=c.length;-1<--b;)a=c[b][2],n=c[b][3]||-0,m=!0===c[b][4]?1:I,d=this._beziers[c[b][0]][j],e=this._beziers[c[b][1]][j],k=d.a+(d.b-d.a)*f,q=d.b+(d.c-d.b)*f,k+=(q-k)*f,q+=(d.c+(d.d-d.c)*f-q)*f,d=e.a+(e.b-e.a)*f,s=e.b+(e.c-e.b)*f,d+=(s-d)*f,s+=(e.c+(e.d-e.c)*f-s)*f,e=Math.atan2(s-d,q-k)*m+n,g[a]?g[a].call(p,e):p[a]=e}};E._roundProps=function(a,c){for(var g=this._overwriteProps,p=g.length;-1<--p;)if(a[g[p]]||a.bezier||a.bezierThrough)this._round[g[p]]=c};E._kill=function(a){var c=this._props,g,p;for(g in this._beziers)if(g in a){delete this._beziers[g];-delete this._func[g];for(p=c.length;-1<--p;)c[p]===g&&c.splice(p,1)}return F.prototype._kill.call(this,a)};F.activate([z]);return z},!0)});window._gsDefine&&_gsQueue.pop()();\ No newline at end of file+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(a){var b=function(){a.call(this,"bezier",-1),this._overwriteProps.pop(),this._func={},this._round={}},c=b.prototype=new a("bezier",1),d=180/Math.PI,e=Math.PI/180,f=[],g=[],h=[],i={},j=function j(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},k=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",l=b.bezierThrough=function(a,b,c,d,e,j){var q,r,s,t,u,v,w,x,l={},m=[],p=j||a[0];e="string"==typeof e?","+e+",":k,null==b&&(b=1);for(r in a[0])m.push(r);if(a.length>1){for(x=a[a.length-1],w=!0,q=m.length;--q>-1;)if(r=m[q],Math.abs(p[r]-x[r])>.05){w=!1;break}w&&(a=a.concat(),j&&a.unshift(j),a.push(a[1]),j=a[a.length-3])}for(f.length=g.length=h.length=0,q=m.length;--q>-1;)r=m[q],i[r]=-1!==e.indexOf(","+r+","),l[r]=n(a,r,i[r],j);for(q=f.length;--q>-1;)f[q]=Math.sqrt(f[q]),g[q]=Math.sqrt(g[q]);if(!d){for(q=m.length;--q>-1;)if(i[r])for(s=l[m[q]],v=s.length-1,t=0;v>t;t++)u=s[t+1].da/g[t]+s[t].da/f[t],h[t]=(h[t]||0)+u*u;for(q=h.length;--q>-1;)h[q]=Math.sqrt(h[q])}for(q=m.length,t=c?4:1;--q>-1;)r=m[q],s=l[r],o(s,b,c,d,i[r]),w&&(s.splice(0,t),s.splice(s.length-t,t));return l},m=function(a,b,c){b=b||"soft";var h,i,k,l,m,n,o,p,q,r,s,d={},e="cubic"===b?3:2,f="soft"===b,g=[];if(f&&c&&(a=[c].concat(a)),null==a||e+1>a.length)throw"invalid Bezier data";for(q in a[0])g.push(q);for(n=g.length;--n>-1;){for(q=g[n],d[q]=m=[],r=0,p=a.length,o=0;p>o;o++)h=null==c?a[o][q]:"string"==typeof(s=a[o][q])&&"="===s.charAt(1)?c[q]+Number(s.charAt(0)+s.substr(2)):Number(s),f&&o>1&&p-1>o&&(m[r++]=(h+m[r-2])/2),m[r++]=h;for(p=r-e+1,r=0,o=0;p>o;o+=e)h=m[o],i=m[o+1],k=m[o+2],l=2===e?0:m[o+3],m[r++]=s=3===e?new j(h,i,k,l):new j(h,(2*i+h)/3,(2*i+k)/3,k);m.length=r}return d},n=function(a,b,c,d){var h,i,k,l,m,n,e=[];if(d)for(a=[d].concat(a),i=a.length;--i>-1;)"string"==typeof(n=a[i][b])&&"="===n.charAt(1)&&(a[i][b]=d[b]+Number(n.charAt(0)+n.substr(2)));if(h=a.length-2,0>h)return e[0]=new j(a[0][b],0,0,a[-1>h?0:1][b]),e;for(i=0;h>i;i++)k=a[i][b],l=a[i+1][b],e[i]=new j(k,0,0,l),c&&(m=a[i+2][b],f[i]=(f[i]||0)+(l-k)*(l-k),g[i]=(g[i]||0)+(m-l)*(m-l));return e[i]=new j(a[i][b],0,0,a[i+1][b]),e},o=function(a,b,c,d,e){var l,m,n,o,q,r,s,t,u,v,w,x,y,i=a.length-1,j=0,k=a[0].a;for(l=0;i>l;l++)q=a[j],m=q.a,n=q.d,o=a[j+1].d,e?(w=f[l],x=g[l],y=.25*(x+w)*b/(d?.5:h[l]||.5),r=n-(n-m)*(d?.5*b:y/w),s=n+(o-n)*(d?.5*b:y/x),t=n-(r+(s-r)*(3*w/(w+x)+.5)/4)):(r=n-.5*(n-m)*b,s=n+.5*(o-n)*b,t=n-(r+s)/2),r+=t,s+=t,q.c=u=r,q.b=0!==l?k:k=q.a+.6*(q.c-q.a),q.da=n-m,q.ca=u-m,q.ba=k-m,c?(v=p(m,k,u,n),a.splice(j,1,v[0],v[1],v[2],v[3]),j+=4):j++,k=s;q=a[j],q.b=k,q.c=k+.4*(q.d-k),q.da=q.d-q.a,q.ca=q.c-q.a,q.ba=k-q.a,c&&(v=p(q.a,k,q.c,q.d),a.splice(j,1,v[0],v[1],v[2],v[3]))},p=b.cubicToQuadratic=function(a,b,c,d){var e={a:a},f={},g={},h={c:d},i=(a+b)/2,j=(b+c)/2,k=(c+d)/2,l=(i+j)/2,m=(j+k)/2,n=(m-l)/8;return e.b=i+(a-i)/4,f.b=l+n,e.c=f.a=(e.b+f.b)/2,f.c=g.a=(l+m)/2,g.b=m-n,h.b=k+(d-k)/4,g.c=h.a=(g.b+h.b)/2,[e,f,g,h]},r=(b.quadraticToCubic=function(a,b,c){return new j(a,(2*b+a)/3,(2*b+c)/3,c)},function(a,b){b=b>>0||6;var j,k,l,m,c=[],d=[],e=0,f=0,g=b-1,h=[],i=[];for(j in a)s(a[j],c,b);for(l=c.length,k=0;l>k;k++)e+=Math.sqrt(c[k]),m=k%b,i[m]=e,m===g&&(f+=e,m=k/b>>0,h[m]=i,d[m]=f,e=0,i=[]);return{length:f,lengths:d,segments:h}}),s=function(a,b,c){for(var f,g,h,i,j,k,l,m,n,o,p,d=1/c,e=a.length;--e>-1;)for(o=a[e],h=o.a,i=o.d-h,j=o.c-h,k=o.b-h,f=g=0,m=1;c>=m;m++)l=d*m,n=1-l,f=g-(g=(l*l*i+3*n*(l*j+n*k))*l),p=e*c+m-1,b[p]=(b[p]||0)+f*f};return c.constructor=b,b.API=2,b._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var c=a._internals,d=c._parseToProxy,f=c._setPluginRatio,g=c.CSSPropTween;c._registerComplexSpecialProp("bezier",null,function(a,c,h,i,j,k){c instanceof Array&&(c={values:c}),k=new b;var p,q,r,l=c.values,m=l.length-1,n=[],o={};if(0>m)return j;for(p=0;m>=p;p++)r=d(a,l[p],i,j,k,m!==p),n[p]=r.end;for(q in c)o[q]=c[q];return o.values=n,j=new g(a,"bezier",0,0,r.pt,2),j.data=r,j.plugin=k,j.setRatio=f,0===o.autoRotate&&(o.autoRotate=!0),o.autoRotate&&(o.autoRotate instanceof Array||(p=o.autoRotate===!0?0:Number(o.autoRotate)*e,o.autoRotate=null!=r.end.left?[["left","top","rotation",p,!0]]:null!=r.end.x?[["x","y","rotation",p,!0]]:!1)),o.autoRotate&&(i._transform||i._enableTransforms(!1),r.autoRotate=i._target._gsTransform),k._onInitTween(r.proxy,o,i._tween),j})}},c._onInitTween=function(a,b,c){this._target=a,b instanceof Array&&(b={values:b}),this._props=[],this._timeRes=null==b.timeResolution?6:parseInt(b.timeResolution,10);var h,i,j,k,n,d=b.values||[],e={},f=d[0],g=b.autoRotate||c.vars.orientToBezier;this._autoRotate=g?g instanceof Array?g:[["x","y","rotation",g===!0?0:Number(g)||0]]:null;for(h in f)this._props.push(h);for(j=this._props.length;--j>-1;)h=this._props[j],this._overwriteProps.push(h),i=this._func[h]="function"==typeof a[h],e[h]=i?a[h.indexOf("set")||"function"!=typeof a["get"+h.substr(3)]?h:"get"+h.substr(3)]():parseFloat(a[h]),n||e[h]!==d[0][h]&&(n=e);if(this._beziers="cubic"!==b.type&&"quadratic"!==b.type&&"soft"!==b.type?l(d,isNaN(b.curviness)?1:b.curviness,!1,"thruBasic"===b.type,b.correlate,n):m(d,b.type,e),this._segCount=this._beziers[h].length,this._timeRes){var o=r(this._beziers,this._timeRes);this._length=o.length,this._lengths=o.lengths,this._segments=o.segments,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(g=this._autoRotate)for(g[0]instanceof Array||(this._autoRotate=g=[g]),j=g.length;--j>-1;)for(k=0;3>k;k++)h=g[j][k],this._func[h]="function"==typeof a[h]?a[h.indexOf("set")||"function"!=typeof a["get"+h.substr(3)]?h:"get"+h.substr(3)]:!1;return!0},c.setRatio=function(a){var f,g,h,i,j,k,l,m,n,o,b=this._segCount,c=this._func,e=this._target;if(this._timeRes){if(n=this._lengths,o=this._curSeg,a*=this._length,h=this._li,a>this._l2&&b-1>h){for(m=b-1;m>h&&a>=(this._l2=n[++h]););this._l1=n[h-1],this._li=h,this._curSeg=o=this._segments[h],this._s2=o[this._s1=this._si=0]}else if(this._l1>a&&h>0){for(;h>0&&(this._l1=n[--h])>=a;);0===h&&this._l1>a?this._l1=0:h++,this._l2=n[h],this._li=h,this._curSeg=o=this._segments[h],this._s1=o[(this._si=o.length-1)-1]||0,this._s2=o[this._si]}if(f=h,a-=this._l1,h=this._si,a>this._s2&&o.length-1>h){for(m=o.length-1;m>h&&a>=(this._s2=o[++h]););this._s1=o[h-1],this._si=h}else if(this._s1>a&&h>0){for(;h>0&&(this._s1=o[--h])>=a;);0===h&&this._s1>a?this._s1=0:h++,this._s2=o[h],this._si=h}k=(h+(a-this._s1)/(this._s2-this._s1))*this._prec}else f=0>a?0:a>=1?b-1:b*a>>0,k=(a-f*(1/b))*b;for(g=1-k,h=this._props.length;--h>-1;)i=this._props[h],j=this._beziers[i][f],l=(k*k*j.da+3*g*(k*j.ca+g*j.ba))*k+j.a,this._round[i]&&(l=l+(l>0?.5:-.5)>>0),c[i]?e[i](l):e[i]=l;if(this._autoRotate){var q,r,s,t,u,v,w,p=this._autoRotate;for(h=p.length;--h>-1;)i=p[h][2],v=p[h][3]||0,w=p[h][4]===!0?1:d,j=this._beziers[p[h][0]][f],q=this._beziers[p[h][1]][f],r=j.a+(j.b-j.a)*k,t=j.b+(j.c-j.b)*k,r+=(t-r)*k,t+=(j.c+(j.d-j.c)*k-t)*k,s=q.a+(q.b-q.a)*k,u=q.b+(q.c-q.b)*k,s+=(u-s)*k,u+=(q.c+(q.d-q.c)*k-u)*k,l=Math.atan2(u-s,t-r)*w+v,c[i]?c[i].call(e,l):e[i]=l}},c._roundProps=function(a,b){for(var c=this._overwriteProps,d=c.length;--d>-1;)(a[c[d]]||a.bezier||a.bezierThrough)&&(this._round[c[d]]=b)},c._kill=function(b){var d,e,c=this._props;for(d in this._beziers)if(d in b)for(delete this._beziers[d],delete this._func[d],e=c.length;--e>-1;)c[e]===d&&c.splice(e,1);return a.prototype._kill.call(this,b)},a.activate([b]),b},!0)}),window._gsDefine&&_gsQueue.pop()();\ No newline at end of filediff --git a/src/minified/plugins/CSSPlugin.min.js b/src/minified/plugins/CSSPlugin.min.jsindex ee943c1..4979552 100755--- a/src/minified/plugins/CSSPlugin.min.js+++ b/src/minified/plugins/CSSPlugin.min.js@@ -1,6 +1,6 @@/*!- * VERSION: beta 1.669- * DATE: 2013-01-02+ * VERSION: beta 1.67+ * DATE: 2013-01-09* JavaScript* UPDATES AND DOCS AT: http://www.greensock.com*@@ -10,56 +10,4 @@** @author: Jack Doyle, [email protected]*/-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(V){var A=function(){V.call(this,"css");this._overwriteProps.length=0},ba,ca,r,da,L={},m=A.prototype=new V("css");m.constructor=A;A.version=1.669;A.API=2;A.defaultTransformPerspective=0;m="px";A.suffixMap={top:m,right:m,bottom:m,left:m,width:m,height:m,fontSize:m,padding:m,margin:m,perspective:m};var ea=/(?:\d|\-\d|\.\d|\-\.\d)+/g,pa=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,-fa=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,W=/[^\d\-\.]/g,Ha=/(?:\d|\-|\+|=|#|\.)*/g,ga=/opacity *= *([^)]*)/,Ia=/opacity:([^;]*)/,Ja=/alpha\(opacity *=.+?\)/i,qa=/([A-Z])/g,ra=/-([a-z])/gi,Ka=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,sa=function(a,b){return b.toUpperCase()},La=/(?:Left|Right|Width)/i,Ma=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Na=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D=Math.PI/180,R=180/Math.PI,X={},M=document,S=M.createElement("div"),ha=M.createElement("img"),-N=A._internals={_specialProps:L},z=navigator.userAgent,ia,ta,ua,va,wa,ja,O,xa=z.indexOf("Android"),ya=M.createElement("div");wa=(ua=-1!==z.indexOf("Safari")&&-1===z.indexOf("Chrome")&&(-1===xa||3<Number(z.substr(xa+8,1))))&&6>Number(z.substr(z.indexOf("Version/")+8,1));va=-1!==z.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(z);ja=parseFloat(RegExp.$1);ya.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";O=(z=ya.getElementsByTagName("a")[0])?/^0.55/.test(z.style.opacity):!1;var za=function(a){return ga.test("string"===-typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Aa="",ka="",T=function(a,b){b=b||S;var d=b.style,c,f;if(void 0!==d[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(f=5;-1<--f&&void 0===d[c[f]+a];);return 0<=f?(ka=3===f?"ms":c[f],Aa="-"+ka.toLowerCase()+"-",ka+a):null},U=M.defaultView?M.defaultView.getComputedStyle:function(){},E=A.getStyle=function(a,b,d,c,f){var j;if(!O&&"opacity"===b)return za(a);!c&&a.style[b]?-j=a.style[b]:(d=d||U(a,null))?j=(a=d.getPropertyValue(b.replace(qa,"-$1").toLowerCase()))||d.length?a:d[b]:a.currentStyle&&(d=a.currentStyle,j=d[b]);return null!=f&&(!j||"none"===j||"auto"===j||"auto auto"===j)?f:j},Z=function(a,b,d){var c={},f=a._gsOverwrittenClassNamePT,j;if(f&&!d){for(;f;)f.setRatio(0),f=f._next;a._gsOverwrittenClassNamePT=null}if(b=b||U(a,null))if(j=b.length)for(;-1<--j;)c[b[j].replace(ra,sa)]=b.getPropertyValue(b[j]);else for(j in b)c[j]=b[j];else if(b=a.currentStyle||a.style)for(j in b)c[j.replace(ra,-sa)]=b[j];O||(c.opacity=za(a));a=Y(a,b,!1);c.rotation=a.rotation*R;c.skewX=a.skewX*R;c.scaleX=a.scaleX;c.scaleY=a.scaleY;c.x=a.x;c.y=a.y;I&&(c.z=a.z,c.rotationX=a.rotationX*R,c.rotationY=a.rotationY*R,c.scaleZ=a.scaleZ);c.filters&&delete c.filters;return c},Ba=function(a,b,d,c){var f={};a=a.style;var j,e,h;for(e in d)if("cssText"!==e&&"length"!==e&&isNaN(e)&&b[e]!==(j=d[e]))if(-1===e.indexOf("Origin")&&("number"===typeof j||"string"===typeof j))f[e]=(""===j||"auto"===j||"none"===j)&&"string"===typeof b[e]&&-""!==b[e].replace(W,"")?0:j,void 0!==a[e]&&(h=new la(a,e,a[e],h));if(c)for(e in c)"className"!==e&&(f[e]=c[e]);return{difs:f,firstMPT:h}},Oa={width:["Left","Right"],height:["Top","Bottom"]},Pa=["marginLeft","marginRight","marginTop","marginBottom"],F=function(a,b,d,c,f){if("px"===c||!c)return d;if("auto"===c||!d)return 0;var j=La.test(b),e=a,h=S.style,k=0>d;k&&(d=-d);"%"===c&&-1!==b.indexOf("border")?j=d/100*(j?a.clientWidth:a.clientHeight):(h.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",-"%"===c||"em"===c||!e.appendChild?(e=a.parentNode||M.body,h[j?"width":"height"]=d+c):h[j?"borderLeftWidth":"borderTopWidth"]=d+c,e.appendChild(S),j=parseFloat(S[j?"offsetWidth":"offsetHeight"]),e.removeChild(S),0===j&&!f&&(j=F(a,b,d,c,!0)));return k?-j:j},ma=function(a,b){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var d=a.split(" "),c=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];null==f?f="0":"center"===-f&&(f="50%");if("center"===c||isNaN(parseFloat(c)))c="50%";b&&(b.oxp=-1!==c.indexOf("%"),b.oyp=-1!==f.indexOf("%"),b.oxr="="===c.charAt(1),b.oyr="="===f.charAt(1),b.ox=parseFloat(c.replace(W,"")),b.oy=parseFloat(f.replace(W,"")));return c+" "+f+(2<d.length?" "+d[2]:"")},Ca=function(a,b){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},G=function(a,b){return null==a?b:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+-"1",10)*Number(a.substr(2))+b:parseFloat(a)},P=function(a,b){if(null==a)return b;var d=-1===a.indexOf("rad")?D:1,c="="===a.charAt(1);a=Number(a.replace(W,""))*d;return c?a+b:a},na=function(a,b){var d=(("number"===typeof a?a*D:P(a,b))-b)%(2*Math.PI);d!==d%Math.PI&&(d+=Math.PI*(0>d?2:-2));return b+d},Q={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,-255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},oa=function(a){if(!a||""===a)return Q.black;if(Q[a])return Q[a];if("number"===typeof a)return[a>>16,a>>8&255,a&255];if("#"===a.charAt(0)){if(4===a.length){var b=a.charAt(1),d=a.charAt(2);a=a.charAt(3);a="#"+b+b+d+d+a+a}a=parseInt(a.substr(1),16);return[a>>16,a>>8&255,a&255]}a=a.match(ea)||Q.transparent;a[0]=Number(a[0]);a[1]=Number(a[1]);a[2]=-Number(a[2]);3<a.length&&(a[3]=Number(a[3]));return a},J="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(m in Q)J+="|"+m+"\\b";var J=RegExp(J+")","gi"),Da=function(a,b,d){if(null==a)return function(a){return a};var c=b?(a.match(J)||[""])[0]:"",f=a.split(c).join("").match(fa)||[],j=a.substr(0,a.indexOf(f[0])),e=")"===a.charAt(a.length-1)?")":"",h=-1!==a.indexOf(" ")?" ":",",k=f.length,g=0<k?f[0].replace(ea,""):"";return b?function(a){"number"===typeof a&&(a+=g);var b=(a.match(J)||[c])[0];a=a.split(b).join("").match(fa)||-[];var n=a.length;if(k>n--)for(;++n<k;)a[n]=d?a[(n-1)/2>>0]:f[n];return j+a.join(h)+h+b+e}:function(a){"number"===typeof a&&(a+=g);a=a.match(fa)||[];var b=a.length;if(k>b--)for(;++b<k;)a[b]=d?a[(b-1)/2>>0]:f[b];return j+a.join(h)+e}},z=function(a){a=a.split(",");return function(b,d,c,f,j,e,h){d=(d+"").split(" ");h={};for(c=0;4>c;c++)h[a[c]]=d[c]=d[c]||d[(c-1)/2>>0];return f.parse(b,h,j,e)}};N._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b=this.data,d=b.proxy,c=b.firstMPT,f;c;)f=d[c.v],-c.r?f=0<f?f+0.5>>0:f-0.5>>0:1E-6>f&&-1E-6<f&&(f=0),c.t[c.p]=f,c=c._next;b.autoRotate&&(b.autoRotate.rotation=d.rotation);if(1===a)for(c=b.firstMPT;c;){a=c.t;if(a.type){if(1===a.type){d=a.xs0+a.s+a.xs1;for(b=1;b<a.l;b++)d+=a["xn"+b]+a["xs"+(b+1)];a.e=d}}else a.e=a.s+a.xs0;c=c._next}};var la=function(a,b,d,c,f){this.t=a;this.p=b;this.v=d;this.r=f;c&&(c._prev=this,this._next=c)};N._parseToProxy=function(a,b,d,c,f,j){var e=c,h={},k={},g=d._transform,l=X,p;d._transform=null;X=b;c=a=d.parse(a,b,c,f);X=-l;j&&(d._transform=g,e&&(e._prev=null,e._prev&&(e._prev._next=null)));for(;c&&c!==e;){if(1>=c.type&&(g=c.p,k[g]=c.s+c.c,h[g]=c.s,j||(p=new la(c,"s",g,p,c.r),c.c=0),1===c.type))for(d=c.l;0<--d;)l="xn"+d,g=c.p+"_"+l,k[g]=c.data[l],h[g]=c[l],j||(p=new la(c,l,g,p,c.rxp[l]));c=c._next}return{proxy:h,end:k,firstMPT:p,pt:a}};var v=N.CSSPropTween=function(a,b,d,c,f,j,e,h,k,g,l){this.t=a;this.p=b;this.s=d;this.c=c;this.n=e||"css_"+b;a instanceof v||da.push(this.n);this.r=h;this.type=j||0;k&&(this.pr=k,ba=-!0);this.b=void 0===g?d:g;this.e=void 0===l?d+c:l;f&&(this._next=f,f._prev=this)},aa=A.parseComplex=function(a,b,d,c,f,j,e,h,k,g){e=new v(a,b,0,0,e,g?2:1,null,!1,h,d,c);a=d.split(", ").join(",").split(" ");b=(c+"").split(", ").join(",").split(" ");d=a.length;h=!1!==ia;var l,p,n,$,m;d!==b.length&&(a=(j||"").split(" "),d=a.length);e.plugin=k;e.setRatio=g;for(j=0;j<d;j++)if(k=a[j],l=b[j],(g=parseFloat(k))||0===g)e.appendXtra("",g,Ca(l,g),l.replace(pa,""),h&&-1!==l.indexOf("px"),!0);else if(f&&("#"===-k.charAt(0)||0===k.indexOf("rgb")||Q[k]))k=oa(k),l=oa(l),(g=6<k.length+l.length)&&!O&&0===l[3]?(e["xs"+e.l]+=e.l?" transparent":"transparent",e.e=e.e.split(b[j]).join("transparent")):(e.appendXtra(g?"rgba(":"rgb(",k[0],l[0]-k[0],",",!0,!0).appendXtra("",k[1],l[1]-k[1],",",!0).appendXtra("",k[2],l[2]-k[2],g?",":")",!0),g&&(k=4>k.length?1:k[3],e.appendXtra("",k,(4>l.length?1:l[3])-k,")",!1)));else if(g=k.match(ea)){n=l.match(pa);if(!n||n.length!==g.length)return e;for(l=p=0;l<g.length;l++)m=g[l],$=-k.indexOf(m,p),e.appendXtra(k.substr(p,$-p),Number(m),Ca(n[l],m),"",h&&"px"===k.substr($+m.length,2),0===l),p=$+m.length;e["xs"+e.l]+=k.substr(p)}else e["xs"+e.l]+=e.l?" "+k:k;if(-1!==c.indexOf("=")&&e.data){c=e.xs0+e.data.s;for(j=1;j<e.l;j++)c+=e["xs"+j]+e.data["xn"+j];e.e=c+e["xs"+j]}e.l||(e.type=-1,e.xs0=e.e);return e.xfirst||e},w=9,m=v.prototype;for(m.l=m.pr=0;0<--w;)m["xn"+w]=0,m["xs"+w]="";m.xs0="";m._next=m._prev=m.xfirst=m.data=m.plugin=m.setRatio=m.rxp=null;m.appendXtra=function(a,b,d,c,-f,j){var e=this.l;this["xs"+e]+=j&&e?" "+a:a||"";if(!d&&0!==e&&!this.plugin)return this["xs"+e]+=b+(c||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=c||"";if(0<e)return this.data["xn"+e]=b+d,this.rxp["xn"+e]=f,this["xn"+e]=b,this.plugin||(this.xfirst=new v(this,"xn"+e,b,d,this.xfirst||this,0,this.n,f,this.pr),this.xfirst.xs0=0),this;this.data={s:b+d};this.rxp={};this.s=b;this.c=d;this.r=f;return this};var Ea=function(a,b,d,c,f,j,e){this.p=c?T(a)||a:a;L[a]=L[this.p]=this;this.format=-j||Da(b,f);d&&(this.parse=d);this.clrs=f;this.dflt=b;this.pr=e||0},q=N._registerComplexSpecialProp=function(a,b,d,c,f,j,e){a=a.split(",");b=b instanceof Array?b:[b];for(var h=a.length;-1<--h;)new Ea(a[h],b[h],d,c&&0===h,f,j,e)},N=function(a){if(!L[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";q(a,null,function(a,c,f,j,e,h,k){var g=window.com.greensock.plugins[b];if(!g)return window.console&&console.log("Error: "+b+" js file not loaded."),e;g._cssRegister();return L[f].parse(a,c,f,j,e,h,-k)})}},m=Ea.prototype;m.parseComplex=function(a,b,d,c,f,j){return aa(a,this.p,b,d,this.clrs,this.dflt,c,this.pr,f,j)};m.parse=function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(E(a,d,r,!1,this.dflt)),this.format(b),f,j)};A.registerSpecialProp=function(a,b,d){q(a,null,function(a,f,j,e,h,k){h=new v(a,j,0,0,h,2,j,!1,d);h.plugin=k;h.setRatio=b(a,f,e._tween,j);return h},!1,!1,null,d)};var Fa="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),H=T("transform"),-Qa=Aa+"transform",Ga=T("transformOrigin"),I=null!==T("perspective"),Y=function(a,b,d){var c=d?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,j=I?parseFloat(E(a,Ga,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,e,h,k,g,l,p,n,m;H?e=E(a,Qa,b,!0):a.currentStyle&&(e=(e=a.currentStyle.filter.match(Ma))&&4===e.length?e[0].substr(4)+","+Number(e[2].substr(4))+","+Number(e[1].substr(4))+","+e[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null);h=(e||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(b=h.length;-1<--b;)e=-Number(h[b]),h[b]=(1E5*e+(0>e?-0.5:0.5)>>0)/1E5;if(16===h.length){if(f=h[8],e=h[9],l=h[10],p=h[12],n=h[13],m=h[14],c.zOrigin&&(m=-c.zOrigin,p=f*m-h[12],n=e*m-h[13],m=l*m+c.zOrigin-h[14]),!d||p!==c.x||n!==c.y||m!==c.z){var K=h[0],s=h[1],x=h[2],q=h[3],t=h[4],r=h[5],u=h[6],v=h[7];h=h[11];var w=-Math.PI+1E-4,z=Math.PI-1E-4,y=c.rotationX=Math.atan2(u,l),F=y<w||y>z,D,G,B,C;y&&(B=Math.cos(-y),C=Math.sin(-y),y=t*B+f*C,D=r*B+e*C,G=u*B+l*C,f=t*-C+f*B,e=r*-C+e*B,l=u*-C+l*B,h=v*-C+h*B,t=y,r=D,u=G);if(y=c.rotationY=-Math.atan2(f,K))k=y<w||y>z,B=Math.cos(-y),C=Math.sin(-y),D=s*B-e*C,G=x*B-l*C,e=s*C+e*B,l=x*C+l*B,h=q*C+h*B,K=K*B-f*C,s=D,x=G;if(y=c.rotation=Math.atan2(s,r))g=y<w||y>z,B=Math.cos(-y),C=Math.sin(-y),K=K*B+t*C,D=s*B+r*C,r=s*-C+r*B,u=x*-C+u*B,s=D;g&&F?c.rotation=c.rotationX=0:g&&k?c.rotation=c.rotationY=0:k&&F&&(c.rotationY=c.rotationX=0);c.scaleX=(1E5*Math.sqrt(K*K+s*s)+0.5>>0)/1E5;c.scaleY=(1E5*Math.sqrt(r*r+e*e)+0.5>>0)/1E5;c.scaleZ=(1E5*Math.sqrt(u*u+l*l)+0.5>>0)/1E5;c.skewX=0;c.perspective=h?1/-h:0;c.x=p;c.y=n;c.z=m}}else if(!I||0===h.length||c.x!==h[4]||c.y!==h[5]||!c.rotationX&&!c.rotationY){e=(k=6<=h.length)?h[0]:1;p=h[1]||0;l=h[2]||0;n=k?h[3]:1;c.x=h[4]||0;c.y=h[5]||0;k=Math.sqrt(e*e+p*p);g=Math.sqrt(n*n+l*l);e=e||p?Math.atan2(p,e):c.rotation||0;l=l||n?Math.atan2(l,n)+e:c.skewX||0;p=k-Math.abs(c.scaleX||0);n=g-Math.abs(c.scaleY||0);Math.abs(l)>Math.PI/2&&Math.abs(l)<1.5*Math.PI&&(f?(k*=-1,l+=0>=e?Math.PI:-Math.PI,e+=0>=e?Math.PI:-Math.PI):(g*=-1,l+=0>=l?Math.PI:-Math.PI));f=(e-c.rotation)%-Math.PI;m=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<p||-1E-6>p||1E-6<n||-1E-6>n||1E-6<f||-1E-6>f||1E-6<m||-1E-6>m)c.scaleX=k,c.scaleY=g,c.rotation=e,c.skewX=l;I&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(A.defaultTransformPerspective)||0,c.scaleZ=1)}c.zOrigin=j;for(b in c)1E-6>c[b]&&-1E-6<c[b]&&(c[b]=0);d&&(a._gsTransform=c);return c},Ra=function(a){var b=this.data,d=-b.rotation,c=d+b.skewX,f=(1E5*Math.cos(d)*b.scaleX>>0)/1E5,d=(1E5*Math.sin(d)*b.scaleX>>0)/1E5,j=(1E5*Math.sin(c)*--b.scaleY>>0)/1E5,c=(1E5*Math.cos(c)*b.scaleY>>0)/1E5,e=this.t.style,h=this.t.currentStyle,k,g;if(h){g=d;d=-j;j=-g;k=h.filter;e.filter="";var l=this.t.offsetWidth;g=this.t.offsetHeight;var p="absolute"!==h.position,n="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+d+", M21="+j+", M22="+c,m=b.x,r=b.y,s,x;null!=b.ox&&(s=(b.oxp?0.01*l*b.ox:b.ox)-l/2,x=(b.oyp?0.01*g*b.oy:b.oy)-g/2,m+=s-(s*f+x*d),r+=x-(s*j+x*c));if(p)s=l/2,x=g/2,n+=", Dx="+(s-(s*f+x*d)+m)+", Dy="+(x-(s*j+x*c)+r)+")";else{var q=-8>ja?1:-1;s=b.ieOffsetX||0;x=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>d?-d:d)*g))/2+m);b.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>j?-j:j)*l))/2+r);for(w=0;4>w;w++)l=Pa[w],g=h[l],g=-1!==g.indexOf("px")?parseFloat(g):F(this.t,l,parseFloat(g),g.replace(Ha,""))||0,m=g!==b[l]?2>w?-b.ieOffsetX:-b.ieOffsetY:2>w?s-b.ieOffsetX:x-b.ieOffsetY,e[l]=(b[l]=Math.round(g-m*(0===w||2===w?1:q)))+"px";n+=", sizingMethod='auto expand')"}e.filter=-1!==k.indexOf("DXImageTransform.Microsoft.Matrix(")?k.replace(Na,-n):n+" "+k;if(0===a||1===a)if(1===f&&0===d&&0===j&&1===c&&(!p||-1!==n.indexOf("Dx=0, Dy=0")))(!ga.test(k)||100===parseFloat(RegExp.$1))&&-1===k.indexOf("gradient(")&&e.removeAttribute("filter")}},Sa=function(){var a=this.data,b=this.t.style,d=a.perspective,c=a.scaleX,f=0,j=0,e=0,h=0,k=a.scaleY,g=0,l=0,p=0,m=0,r=a.scaleZ,q=0,s=0,x=0,w=d?-1/d:0,t=a.rotation,z=a.zOrigin,u,v,A,D,y;va&&(v=E(this.t,"top",null,!1,"0"),u=parseFloat(v)||0,v=v.substr((u+"").length),a._ffFix=!a._ffFix,b.top=(a._ffFix?u+0.05:-u-0.05)+(""===v?"px":v));t&&(u=Math.cos(t),t=Math.sin(t),A=k*t,f=c*-t,k*=u,c*=u,h=A);if(t=a.rotationY)u=Math.cos(t),t=Math.sin(t),D=r*-t,y=w*-t,j=c*t,g=h*t,r*=u,w*=u,c*=u,h*=u,p=D,s=y;if(t=a.rotationX)u=Math.cos(t),t=Math.sin(t),v=f*u+j*t,A=k*u+g*t,D=m*u+r*t,y=x*u+w*t,j=f*-t+j*u,g=k*-t+g*u,r=m*-t+r*u,w=x*-t+w*u,f=v,k=A,m=D,x=y;z&&(q-=z,e=j*q,l=g*q,q=r*q+z);e+=a.x;l+=a.y;q=(1E5*(q+a.z)>>0)/1E5;b[H]="matrix3d("+(1E5*c>>0)/1E5+","+(1E5*h>>0)/1E5+","+(1E5*p>>0)/1E5+","+(1E5*s>>0)/1E5+","+(1E5*f>>0)/1E5+-","+(1E5*k>>0)/1E5+","+(1E5*m>>0)/1E5+","+(1E5*x>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*r>>0)/1E5+","+(1E5*w>>0)/1E5+","+(1E5*e>>0)/1E5+","+(1E5*l>>0)/1E5+","+q+","+(d?1+-q/d:1)+")"},Ta=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[H]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var b=a.rotation,d=b-a.skewX,c=(1E5*Math.cos(b)*a.scaleX>>0)/1E5,b=(1E5*Math.sin(b)*a.scaleX>>0)/1E5,f=(1E5*Math.sin(d)*-a.scaleY>>0)/1E5,d=(1E5*Math.cos(d)*a.scaleY>>0)/-1E5;this.t.style[H]="matrix("+c+","+b+","+f+","+d+","+a.x+","+a.y+")"}};q("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,b,d,c,f,j,e){if(c._transform)return f;b=c._transform=Y(a,r,!0);var h=a.style,k=Fa.length,g,l,p,m,q;if("string"===typeof e.transform&&H)l=h[H],h[H]=e.transform,g=Y(a,null,!1),h[H]=l;else if("object"===typeof e){l=null!=e.rotation?-e.rotation:null!=e.rotationZ?e.rotationZ:b.rotation*R;g={scaleX:G(null!=e.scaleX?e.scaleX:e.scale,b.scaleX),scaleY:G(null!=e.scaleY?e.scaleY:e.scale,b.scaleY),scaleZ:G(null!=e.scaleZ?e.scaleZ:e.scale,b.scaleZ),x:G(e.x,b.x),y:G(e.y,b.y),z:G(e.z,b.z),perspective:G(e.transformPerspective,b.perspective)};g.rotation=null!=e.shortRotation||null!=e.shortRotationZ?na(e.shortRotation||e.shortRotationZ||0,b.rotation):"number"===typeof l?l*D:P(l,b.rotation);I&&(g.rotationX=null!=e.shortRotationX?na(e.shortRotationX,-b.rotationX):"number"===typeof e.rotationX?e.rotationX*D:P(e.rotationX,b.rotationX),g.rotationY=null!=e.shortRotationY?na(e.shortRotationY,b.rotationY):"number"===typeof e.rotationY?e.rotationY*D:P(e.rotationY,b.rotationY),1E-6>g.rotationX&&-1E-6<g.rotationX&&(g.rotationX=0),1E-6>g.rotationY&&-1E-6<g.rotationY&&(g.rotationY=0));g.skewX=null==e.skewX?b.skewX:"number"===typeof e.skewX?e.skewX*D:P(e.skewX,b.skewX);g.skewY=null==e.skewY?b.skewY:"number"===typeof e.skewY?e.skewY*D:P(e.skewY,b.skewY);if(l=-g.skewY-b.skewY)g.skewX+=l,g.rotation+=l;1E-6>g.skewY&&-1E-6<g.skewY&&(g.skewY=0);1E-6>g.skewX&&-1E-6<g.skewX&&(g.skewX=0);1E-6>g.rotation&&-1E-6<g.rotation&&(g.rotation=0)}m=b.z||b.rotationX||b.rotationY||g.z||g.rotationX||g.rotationY||g.perspective;!m&&null!=g.scale&&(g.scaleZ=1);for(;-1<--k;)if(d=Fa[k],p=g[d]-b[d],1E-6<p||-1E-6>p||null!=X[d])q=!0,f=new v(b,d,b[d],p,f),f.xs0=0,f.plugin=j,c._overwriteProps.push(f.n);if((p=e.transformOrigin)||I&&m&&b.zOrigin)H?(q=!0,p=(p||E(a,d,r,!1,"50% 50%"))+"",-d=Ga,f=new v(h,d,0,0,f,-1,"css_transformOrigin"),f.b=h[d],f.plugin=j,I?(l=b.zOrigin,p=p.split(" "),b.zOrigin=(2<p.length?parseFloat(p[2]):l)||0,f.xs0=f.e=h[d]=p[0]+" "+(p[1]||"50%")+" 0px",f=new v(b,"zOrigin",0,0,f,-1,f.n),f.b=l,f.xs0=f.e=b.zOrigin):f.xs0=f.e=h[d]=p):ma(p+"",b);q&&(c._transformType=m||3===this._transformType?3:2);return f},!0);q("boxShadow","0px 0px 0px 0px #999",null,!0,!0);q("borderRadius","0px",function(a,b,d,c,f){b=this.format(b);c=["borderTopLeftRadius","borderTopRightRadius",-"borderBottomRightRadius","borderBottomLeftRadius"];var j=a.style,e,h,k,g,l,m,n,q,v,s,x,w;q=parseFloat(a.offsetWidth);v=parseFloat(a.offsetHeight);b=b.split(" ");for(e=0;e<c.length;e++)this.p.indexOf("border")&&(c[e]=T(c[e])),g=k=E(a,c[e],r,!1,"0px"),-1!==g.indexOf(" ")&&(k=g.split(" "),g=k[0],k=k[1]),l=h=b[e],m=parseFloat(g),x=g.substr((m+"").length),(w="="===l.charAt(1))?(n=parseInt(l.charAt(0)+"1",10),l=l.substr(2),n*=parseFloat(l),s=l.substr((n+"").length-(0>n?1:0))||""):(n=parseFloat(l),s=l.substr((n+-"").length)),""===s&&(s=ca[d]||x),s!==x&&(g=F(a,"borderLeft",m,x),m=F(a,"borderTop",m,x),"%"===s?(g=100*(g/q)+"%",k=100*(m/v)+"%"):"em"===s?(x=F(a,"borderLeft",1,"em"),g=g/x+"em",k=m/x+"em"):(g+="px",k=m+"px"),w&&(l=parseFloat(g)+n+s,h=parseFloat(k)+n+s)),f=aa(j,c[e],g+" "+k,l+" "+h,!1,"0px",f);return f},!0,!1,Da("0px 0px 0px 0px",!1,!0));q("backgroundPosition","0 0",function(a,b,d,c,f,j){d=r||U(a,null);d=this.format((d?ja?d.getPropertyValue("background-position-x")+" "+d.getPropertyValue("background-position-y"):-d.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");b=this.format(b);var e,h,k,g;if(-1!==d.indexOf("%")!==(-1!==b.indexOf("%"))){c=d.split(" ");e=b.split(" ");ha.setAttribute("src",E(a,"backgroundImage").replace(Ka,""));for(h=2;-1<--h;)d=c[h],k=-1!==d.indexOf("%"),k!==(-1!==e[h].indexOf("%"))&&(g=0===h?a.offsetWidth-ha.width:a.offsetHeight-ha.height,c[h]=k?parseFloat(d)/100*g+"px":100*(parseFloat(d)/g)+"%");d=c.join(" ")}return this.parseComplex(a.style,-d,b,f,j)},!1,!1,ma);q("backgroundSize","0 0",null,!1,!1,ma);q("perspective","0px",null,!0);q("perspectiveOrigin","50% 50%",null,!0);q("transformStyle","preserve-3d",null,!0);q("backfaceVisibility","visible",null,!0);q("margin",null,z("marginTop,marginRight,marginBottom,marginLeft"));q("padding",null,z("paddingTop,paddingRight,paddingBottom,paddingLeft"));q("clip","rect(0px,0px,0px,0px)");q("textShadow","0px 0px 0px #999",null,!1,!0);q("autoRound",null,function(a,b,d,c,f){return f});q("border","0px solid #000",-function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(E(a,"borderTopWidth",r,!1,"0px")+" "+E(a,"borderTopStyle",r,!1,"solid")+" "+E(a,"borderTopColor",r,!1,"#000")),this.format(b),f,j)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(J)||["#000"])[0]});var Ua=function(a){var b=this.t,d=b.filter;a=this.s+this.c*a>>0;var c;100===a&&(-1===d.indexOf("atrix(")&&-1===d.indexOf("radient(")?(b.removeAttribute("filter"),c=!E(this.data,"filter")):(b.filter=d.replace(Ja,-""),c=!0));c||(this.xn1&&(b.filter=d=d||"alpha(opacity=100)"),b.filter=-1===d.indexOf("opacity")?b.filter+(" alpha(opacity="+a+")"):d.replace(ga,"opacity="+a))};q("opacity,alpha,autoAlpha","1",function(a,b,d,c,f,j){var e=parseFloat(E(a,"opacity",r,!1,"1")),h=a.style,k;b=parseFloat(b);"autoAlpha"===d&&(k=E(a,"visibility",r),1===e&&("hidden"===k&&0!==b)&&(e=0),f=new v(h,"visibility",0,0,f,-1,null,!1,0,0!==e?"visible":"hidden",0===b?"hidden":"visible"),f.xs0="visible",c._overwriteProps.push(f.n));O?-f=new v(h,"opacity",e,b-e,f):(f=new v(h,"opacity",100*e,100*(b-e),f),f.xn1="autoAlpha"===d?1:0,h.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=j,f.setRatio=Ua);return f});var Va=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var b=this.t.style,d=b.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)b[a.p]=a.v;else b[d](a.p.replace(qa,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=-this.b)};q("className",null,function(a,b,d,c,f,j,e){var h=a.className,k=a.style.cssText;f=c._classNamePT=new v(a,d,0,0,f,2);f.setRatio=Va;f.b=h;f.e="="!==b.charAt(1)?b:"+"===b.charAt(0)?h+" "+b.substr(2):h.split(b.substr(2)).join("");c._tween._duration&&(b=Z(a,r,!0),a.className=f.e,e=Ba(a,b,Z(a),e),a.className=h,f.data=e.firstMPT,a.style.cssText=k,f=f.xfirst=c.parse(a,e.difs,f,j));return f});m=["bezier","throwProps","physicsProps","physics2D"];for(w=m.length;w--;)N(m[w]);m=A.prototype;m._firstPT=-null;m._onInitTween=function(a,b,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=b;ia=b.autoRound;ba=!1;ca=b.suffixMap||A.suffixMap;r=U(a,"");da=this._overwriteProps;d=a.style;var c,f,j,e;if(ta&&""===d.zIndex&&(c=E(a,"zIndex",r),"auto"===c||""===c))d.zIndex=0;"string"===typeof b&&(f=d.cssText,c=Z(a,r),d.cssText=f+";"+b,c=Ba(a,c,Z(a)).difs,!O&&Ia.test(b)&&(c.opacity=parseFloat(RegExp.$1)),b=c,d.cssText=f);this._firstPT=b=this.parse(a,b,null);if(this._transformType){c=3===this._transformType;-if(H){if(ua){ta=!0;if(""===d.zIndex&&(e=E(a,"zIndex",r),"auto"===e||""===e))d.zIndex=0;wa&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(c?"visible":"hidden"))}}else d.zoom=1;for(d=b;d&&d._next;)d=d._next;e=new v(a,"transform",0,0,null,2);this._linkCSSP(e,null,d);e.setRatio=c&&I?Sa:H?Ta:Ra;e.data=this._transform||Y(a,r,!0);da.pop()}if(ba){for(;b;){a=b._next;for(d=f;d&&d.pr>b.pr;)d=d._next;(b._prev=d?d._prev:j)?b._prev._next=b:f=b;(b._next=d)?d._prev=b:j=b;b=a}this._firstPT=f}return!0};-m.parse=function(a,b,d,c){var f=a.style,j,e,h,k,g,l,m,n;for(j in b){g=b[j];if(e=L[j])d=e.parse(a,g,j,this,d,c,b);else if(e=E(a,j,r)+"",m="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||m&&!g.indexOf("rgb"))m||(g=oa(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),d=aa(f,j,e,g,!0,"transparent",d,0,c);else if(m&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))d=aa(f,j,e,g,!0,null,d,0,c);else{h=parseFloat(e);l=e.substr((h+"").length);if(""===e||"auto"===e)if("width"===-j||"height"===j){h=a;n=j;k=r;l=parseFloat("width"===n?h.offsetWidth:h.offsetHeight);n=Oa[n];var q=n.length;for(k=k||U(h,null);-1<--q;)l-=parseFloat(E(h,"padding"+n[q],k,!0))||0,l-=parseFloat(E(h,"border"+n[q]+"Width",k,!0))||0;h=l;l="px"}else h="opacity"!==j?0:1,l="";(n=m&&"="===g.charAt(1))?(k=parseInt(g.charAt(0)+"1",10),g=g.substr(2),k*=parseFloat(g),m=g.substr((k+"").length-(0>k?1:0))||""):(k=parseFloat(g),m=m?g.substr((k+"").length)||"":"");""===m&&(m=ca[j]||l);g=k||0===k?(n?k+h:k)+m:b[j];if(l!==-m&&""!==m&&(k||0===k))if(h||0===h)if(h=F(a,j,h,l),"%"===m?(h/=F(a,j,100,"%")/100,100<h&&(h=100)):"em"===m?h/=F(a,j,1,"em"):(k=F(a,j,k,m),m="px"),n&&(k||0===k))g=k+h+m;n&&(k+=h);(h||0===h)&&(k||0===k)?(d=new v(f,j,h,k-h,d,0,"css_"+j,!1!==ia&&("px"===m||"zIndex"===j),0,e,g),d.xs0=m):!g&&("NaN"===g+""||null==g)?window.console&&console.log("invalid "+j+" tween value. "):(d=new v(f,j,k||h||0,0,d,-1,"css_"+j,!1,0,e,g),d.xs0="display"===j&&"none"===g?e:g)}c&&(d&&!d.plugin)&&(d.plugin=c)}return d};m.setRatio=-function(a){var b=this._firstPT,d,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;b;)2!==b.type?b.t[b.p]=b.e:b.setRatio(a),b=b._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;b;){d=b.c*a+b.s;b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0);if(b.type)if(1===b.type)if(c=b.l,2===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2;else if(3===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===-c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{d=b.xs0+d+b.xs1;for(c=1;c<b.l;c++)d+=b["xn"+c]+b["xs"+(c+1)];b.t[b.p]=d}else-1===b.type?b.t[b.p]=b.xs0:b.setRatio&&b.setRatio(a);else b.t[b.p]=d+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next};m._enableTransforms=function(a){this._transformType=a||3===this._transformType?3:2};m._linkCSSP=function(a,b,d,c){a&&(b&&(b._prev=-a),a._next&&(a._next._prev=a._prev),d?d._next=a:!c&&null===this._firstPT&&(this._firstPT=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=d);return a};m._kill=function(a){var b=a,d=!1,c,f;if(a.css_autoAlpha||a.css_alpha){b={};for(f in a)b[f]=a[f];b.css_opacity=1;b.css_autoAlpha&&(b.css_visibility=1)}if(a.css_className&&(c=this._classNamePT))(a=c.xfirst)&&a._prev?this._linkCSSP(a._prev,c._next,a._prev._prev):a===this._firstPT&&(this._firstPT=null),c._next&&-this._linkCSSP(c._next,c._next._next,a._prev),this._target._gsOverwrittenClassNamePT=this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,d=!0;return V.prototype._kill.call(this,b)||d};V.activate([A]);return A},!0)});window._gsDefine&&_gsQueue.pop()();\ No newline at end of file+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(a){"use strict";var d,e,f,g,c=function(){a.call(this,"css"),this._overwriteProps.length=0},h={},i=c.prototype=new a("css");i.constructor=c,c.version=1.67,c.API=2,c.defaultTransformPerspective=0,i="px",c.suffixMap={top:i,right:i,bottom:i,left:i,width:i,height:i,fontSize:i,padding:i,margin:i,perspective:i};var G,H,I,J,K,L,j=/(?:\d|\-\d|\.\d|\-\.\d)+/g,k=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,l=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,m=/[^\d\-\.]/g,n=/(?:\d|\-|\+|=|#|\.)*/g,o=/opacity *= *([^)]*)/,p=/opacity:([^;]*)/,q=/alpha\(opacity *=.+?\)/i,r=/([A-Z])/g,s=/-([a-z])/gi,t=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,u=function(a,b){return b.toUpperCase()},v=/(?:Left|Right|Width)/i,w=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,x=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,y=Math.PI/180,z=180/Math.PI,A={},B=document,C=B.createElement("div"),D=B.createElement("img"),E=c._internals={_specialProps:h},F=navigator.userAgent,M=function(){var c,a=F.indexOf("Android"),b=B.createElement("div");return I=-1!==F.indexOf("Safari")&&-1===F.indexOf("Chrome")&&(-1===a||Number(F.substr(a+8,1))>3),K=I&&6>Number(F.substr(F.indexOf("Version/")+8,1)),J=-1!==F.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(F),L=parseFloat(RegExp.$1),b.innerHTML="<a style='top:1px;opacity:.55;'>a</a>",c=b.getElementsByTagName("a")[0],c?/^0.55/.test(c.style.opacity):!1}(),N=function(a){return o.test("string"==typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},O=function(a){window.console&&console.log(a)},P="",Q="",R=function(a,b){b=b||C;var d,e,c=b.style;if(void 0!==c[a])return a;for(a=a.charAt(0).toUpperCase()+a.substr(1),d=["O","Moz","ms","Ms","Webkit"],e=5;--e>-1&&void 0===c[d[e]+a];);return e>=0?(Q=3===e?"ms":d[e],P="-"+Q.toLowerCase()+"-",Q+a):null},S=B.defaultView?B.defaultView.getComputedStyle:function(){},T=c.getStyle=function(a,b,c,d,e){var f;return M||"opacity"!==b?(!d&&a.style[b]?f=a.style[b]:(c=c||S(a,null))?(a=c.getPropertyValue(b.replace(r,"-$1").toLowerCase()),f=a||c.length?a:c[b]):a.currentStyle&&(c=a.currentStyle,f=c[b]),null==e||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:e):N(a)},U=function(a,b,c){var f,g,d={},e=a._gsOverwrittenClassNamePT;if(e&&!c){for(;e;)e.setRatio(0),e=e._next;a._gsOverwrittenClassNamePT=null}if(b=b||S(a,null))if(f=b.length)for(;--f>-1;)d[b[f].replace(s,u)]=b.getPropertyValue(b[f]);else for(f in b)d[f]=b[f];else if(b=a.currentStyle||a.style)for(f in b)d[f.replace(s,u)]=b[f];return M||(d.opacity=N(a)),g=wb(a,b,!1),d.rotation=g.rotation*z,d.skewX=g.skewX*z,d.scaleX=g.scaleX,d.scaleY=g.scaleY,d.x=g.x,d.y=g.y,vb&&(d.z=g.z,d.rotationX=g.rotationX*z,d.rotationY=g.rotationY*z,d.scaleZ=g.scaleZ),d.filters&&delete d.filters,d},V=function(a,b,c,d){var g,h,i,e={},f=a.style;for(h in c)"cssText"!==h&&"length"!==h&&isNaN(h)&&b[h]!==(g=c[h])&&-1===h.indexOf("Origin")&&("number"==typeof g||"string"==typeof g)&&(e[h]=""!==g&&"auto"!==g&&"none"!==g||"string"!=typeof b[h]||""===b[h].replace(m,"")?g:0,void 0!==f[h]&&(i=new jb(f,h,f[h],i)));if(d)for(h in d)"className"!==h&&(e[h]=d[h]);return{difs:e,firstMPT:i}},W={width:["Left","Right"],height:["Top","Bottom"]},X=["marginLeft","marginRight","marginTop","marginBottom"],Y=function(a,b,c){var d=parseFloat("width"===b?a.offsetWidth:a.offsetHeight),e=W[b],f=e.length;for(c=c||S(a,null);--f>-1;)d-=parseFloat(T(a,"padding"+e[f],c,!0))||0,d-=parseFloat(T(a,"border"+e[f]+"Width",c,!0))||0;return d},Z=function(a,b,c,d,e){if("px"===d||!d)return c;if("auto"===d||!c)return 0;var j,f=v.test(b),g=a,h=C.style,i=0>c;return i&&(c=-c),"%"===d&&-1!==b.indexOf("border")?j=c/100*(f?a.clientWidth:a.clientHeight):(h.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;","%"!==d&&"em"!==d&&g.appendChild?h[f?"borderLeftWidth":"borderTopWidth"]=c+d:(g=a.parentNode||B.body,h[f?"width":"height"]=c+d),g.appendChild(C),j=parseFloat(C[f?"offsetWidth":"offsetHeight"]),g.removeChild(C),0!==j||e||(j=Z(a,b,c,d,!0))),i?-j:j},$=function(a,b){(null==a||""===a||"auto"===a||"auto auto"===a)&&(a="0 0");var c=a.split(" "),d=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":c[0],e=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":c[1];return null==e?e="0":"center"===e&&(e="50%"),("center"===d||isNaN(parseFloat(d)))&&(d="50%"),b&&(b.oxp=-1!==d.indexOf("%"),b.oyp=-1!==e.indexOf("%"),b.oxr="="===d.charAt(1),b.oyr="="===e.charAt(1),b.ox=parseFloat(d.replace(m,"")),b.oy=parseFloat(e.replace(m,""))),d+" "+e+(c.length>2?" "+c[2]:"")},_=function(a,b){return"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},ab=function(a,b){return null==a?b:"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*Number(a.substr(2))+b:parseFloat(a)},bb=function(a,b){if(null==a)return b;var c=-1===a.indexOf("rad")?y:1,d="="===a.charAt(1);return a=Number(a.replace(m,""))*c,d?a+b:a},cb=function(a,b){var c="number"==typeof a?a*y:bb(a,b),d=(c-b)%(2*Math.PI);return d!==d%Math.PI&&(d+=Math.PI*(0>d?2:-2)),b+d},db={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]},eb=function(a){if(!a||""===a)return db.black;if(db[a])return db[a];if("number"==typeof a)return[a>>16,255&a>>8,255&a];if("#"===a.charAt(0)){if(4===a.length){var b=a.charAt(1),c=a.charAt(2),d=a.charAt(3);a="#"+b+b+c+c+d+d}return a=parseInt(a.substr(1),16),[a>>16,255&a>>8,255&a]}return a=a.match(j)||db.transparent,a[0]=Number(a[0]),a[1]=Number(a[1]),a[2]=Number(a[2]),a.length>3&&(a[3]=Number(a[3])),a},fb="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(i in db)fb+="|"+i+"\\b";fb=RegExp(fb+")","gi");var gb=function(a,b,c){if(null==a)return function(a){return a};var d=b?(a.match(fb)||[""])[0]:"",e=a.split(d).join("").match(l)||[],f=a.substr(0,a.indexOf(e[0])),g=")"===a.charAt(a.length-1)?")":"",h=-1!==a.indexOf(" ")?" ":",",i=e.length,k=i>0?e[0].replace(j,""):"";return b?function(a){"number"==typeof a&&(a+=k);var b=(a.match(fb)||[d])[0],j=a.split(b).join("").match(l)||[],m=j.length;if(i>m--)for(;i>++m;)j[m]=c?j[(m-1)/2>>0]:e[m];return f+j.join(h)+h+b+g}:function(a){"number"==typeof a&&(a+=k);var b=a.match(l)||[],d=b.length;if(i>d--)for(;i>++d;)b[d]=c?b[(d-1)/2>>0]:e[d];return f+b.join(h)+g}},hb=function(a){return a=a.split(","),function(b,c,d,e,f,g,h){var j,i=(c+"").split(" ");for(h={},j=0;4>j;j++)h[a[j]]=i[j]=i[j]||i[(j-1)/2>>0];return e.parse(b,h,f,g)}},jb=(E._setPluginRatio=function(a){this.plugin.setRatio(a);for(var f,g,h,i,b=this.data,c=b.proxy,d=b.firstMPT,e=1e-6;d;)f=c[d.v],d.r?f=f>0?f+.5>>0:f-.5>>0:e>f&&f>-e&&(f=0),d.t[d.p]=f,d=d._next;if(b.autoRotate&&(b.autoRotate.rotation=c.rotation),1===a)for(d=b.firstMPT;d;){if(g=d.t,g.type){if(1===g.type){for(i=g.xs0+g.s+g.xs1,h=1;g.l>h;h++)i+=g["xn"+h]+g["xs"+(h+1)];g.e=i}}else g.e=g.s+g.xs0;d=d._next}},function(a,b,c,d,e){this.t=a,this.p=b,this.v=c,this.r=e,d&&(d._prev=this,this._next=d)}),lb=(E._parseToProxy=function(a,b,c,d,e,f){var l,m,n,o,p,g=d,h={},i={},j=c._transform,k=A;for(c._transform=null,A=b,d=p=c.parse(a,b,d,e),A=k,f&&(c._transform=j,g&&(g._prev=null,g._prev&&(g._prev._next=null)));d&&d!==g;){if(1>=d.type&&(m=d.p,i[m]=d.s+d.c,h[m]=d.s,f||(o=new jb(d,"s",m,o,d.r),d.c=0),1===d.type))for(l=d.l;--l>0;)n="xn"+l,m=d.p+"_"+n,i[m]=d.data[n],h[m]=d[n],f||(o=new jb(d,n,m,o,d.rxp[n]));d=d._next}return{proxy:h,end:i,firstMPT:o,pt:p}},E.CSSPropTween=function(a,b,c,e,f,h,i,j,k,l,m){this.t=a,this.p=b,this.s=c,this.c=e,this.n=i||"css_"+b,a instanceof lb||g.push(this.n),this.r=j,this.type=h||0,k&&(this.pr=k,d=!0),this.b=void 0===l?c:l,this.e=void 0===m?c+e:m,f&&(this._next=f,f._prev=this)}),mb=c.parseComplex=function(a,b,c,d,e,f,g,h,i,l){g=new lb(a,b,0,0,g,l?2:1,null,!1,h,c,d);var q,r,s,t,u,v,w,x,y,z,A,B,m=c.split(", ").join(",").split(" "),n=(d+"").split(", ").join(",").split(" "),o=m.length,p=G!==!1;for(o!==n.length&&(m=(f||"").split(" "),o=m.length),g.plugin=i,g.setRatio=l,q=0;o>q;q++)if(t=m[q],u=n[q],x=parseFloat(t),x||0===x)g.appendXtra("",x,_(u,x),u.replace(k,""),p&&-1!==u.indexOf("px"),!0);else if(e&&("#"===t.charAt(0)||0===t.indexOf("rgb")||db[t]))t=eb(t),u=eb(u),y=t.length+u.length>6,y&&!M&&0===u[3]?(g["xs"+g.l]+=g.l?" transparent":"transparent",g.e=g.e.split(n[q]).join("transparent")):(g.appendXtra(y?"rgba(":"rgb(",t[0],u[0]-t[0],",",!0,!0).appendXtra("",t[1],u[1]-t[1],",",!0).appendXtra("",t[2],u[2]-t[2],y?",":")",!0),y&&(t=4>t.length?1:t[3],g.appendXtra("",t,(4>u.length?1:u[3])-t,")",!1)));else if(v=t.match(j)){if(w=u.match(k),!w||w.length!==v.length)return g;for(s=0,r=0;v.length>r;r++)A=v[r],z=t.indexOf(A,s),g.appendXtra(t.substr(s,z-s),Number(A),_(w[r],A),"",p&&"px"===t.substr(z+A.length,2),0===r),s=z+A.length;g["xs"+g.l]+=t.substr(s)}else g["xs"+g.l]+=g.l?" "+t:t;if(-1!==d.indexOf("=")&&g.data){for(B=g.xs0+g.data.s,q=1;g.l>q;q++)B+=g["xs"+q]+g.data["xn"+q];g.e=B+g["xs"+q]}return g.l||(g.type=-1,g.xs0=g.e),g.xfirst||g},nb=9;for(i=lb.prototype,i.l=i.pr=0;--nb>0;)i["xn"+nb]=0,i["xs"+nb]="";i.xs0="",i._next=i._prev=i.xfirst=i.data=i.plugin=i.setRatio=i.rxp=null,i.appendXtra=function(a,b,c,d,e,f){var g=this,h=g.l;return g["xs"+h]+=f&&h?" "+a:a||"",c||0===h||g.plugin?(g.l++,g.type=g.setRatio?2:1,g["xs"+g.l]=d||"",h>0?(g.data["xn"+h]=b+c,g.rxp["xn"+h]=e,g["xn"+h]=b,g.plugin||(g.xfirst=new lb(g,"xn"+h,b,c,g.xfirst||g,0,g.n,e,g.pr),g.xfirst.xs0=0),g):(g.data={s:b+c},g.rxp={},g.s=b,g.c=c,g.r=e,g)):(g["xs"+h]+=b+(d||""),g)};var ob=function(a,b,c,d,e,f,g){this.p=d?R(a)||a:a,h[a]=h[this.p]=this,this.format=f||gb(b,e),c&&(this.parse=c),this.clrs=e,this.dflt=b,this.pr=g||0},pb=E._registerComplexSpecialProp=function(a,b,c,d,e,f,g){for(var k,h=a.split(","),i=b instanceof Array?b:[b],j=h.length;--j>-1;)k=new ob(h[j],i[j],c,d&&0===j,e,f,g)},qb=function(a){if(!h[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";pb(a,null,function(a,c,d,e,f,g,i){var j=window.com.greensock.plugins[b];return j?(j._cssRegister(),h[d].parse(a,c,d,e,f,g,i)):(O("Error: "+b+" js file not loaded."),f)})}};i=ob.prototype,i.parseComplex=function(a,b,c,d,e,f){return mb(a,this.p,b,c,this.clrs,this.dflt,d,this.pr,e,f)},i.parse=function(a,b,c,d,e,g){return this.parseComplex(a.style,this.format(T(a,c,f,!1,this.dflt)),this.format(b),e,g)},c.registerSpecialProp=function(a,b,c){pb(a,null,function(a,d,e,f,g,h){var j=new lb(a,e,0,0,g,2,e,!1,c);return j.plugin=h,j.setRatio=b(a,d,f._tween,e),j},!1,!1,null,c)};var rb=["scaleX","scaleY","scaleZ","x","y","z","skewX","rotation","rotationX","rotationY","perspective"],sb=R("transform"),tb=P+"transform",ub=R("transformOrigin"),vb=null!==R("perspective"),wb=function(a,b,d){var j,k,l,m,n,o,p,q,r,s,t,u,e=d?a._gsTransform||{skewY:0}:{skewY:0},f=0>e.scaleX,g=1e-6,h=1e5,i=vb?parseFloat(T(a,ub,b,!1,"0 0 0").split(" ")[2])||e.zOrigin||0:0;for(sb?j=T(a,tb,b,!0):a.currentStyle&&(j=a.currentStyle.filter.match(w),j=j&&4===j.length?j[0].substr(4)+","+Number(j[2].substr(4))+","+Number(j[1].substr(4))+","+j[3].substr(4)+","+(e?e.x:0)+","+(e?e.y:0):null),k=(j||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],l=k.length;--l>-1;)m=Number(k[l]),k[l]=(m*h+(0>m?-.5:.5)>>0)/h;if(16===k.length){var v=k[8],x=k[9],y=k[10],z=k[12],A=k[13],B=k[14];if(e.zOrigin&&(B=-e.zOrigin,z=v*B-k[12],A=x*B-k[13],B=y*B+e.zOrigin-k[14]),!d||z!==e.x||A!==e.y||B!==e.z){var P,Q,R,S,U,V,W,X,C=k[0],D=k[1],E=k[2],F=k[3],G=k[4],H=k[5],I=k[6],J=k[7],K=k[11],L=-Math.PI+1e-4,M=Math.PI-1e-4,N=e.rotationX=Math.atan2(I,y),O=L>N||N>M;N&&(U=Math.cos(-N),V=Math.sin(-N),P=G*U+v*V,Q=H*U+x*V,R=I*U+y*V,S=J*U+K*V,v=G*-V+v*U,x=H*-V+x*U,y=I*-V+y*U,K=J*-V+K*U,G=P,H=Q,I=R),N=e.rotationY=Math.atan2(v,C),N&&(W=L>N||N>M,U=Math.cos(-N),V=Math.sin(-N),P=C*U-v*V,Q=D*U-x*V,R=E*U-y*V,S=F*U-K*V,x=D*V+x*U,y=E*V+y*U,K=F*V+K*U,C=P,D=Q,E=R),N=e.rotation=Math.atan2(D,H),N&&(X=L>N||N>M,U=Math.cos(-N),V=Math.sin(-N),C=C*U+G*V,Q=D*U+H*V,H=D*-V+H*U,I=E*-V+I*U,D=Q),X&&O?e.rotation=e.rotationX=0:X&&W?e.rotation=e.rotationY=0:W&&O&&(e.rotationY=e.rotationX=0),e.scaleX=(Math.sqrt(C*C+D*D)*h+.5>>0)/h,e.scaleY=(Math.sqrt(H*H+x*x)*h+.5>>0)/h,e.scaleZ=(Math.sqrt(I*I+y*y)*h+.5>>0)/h,e.skewX=0,e.perspective=K?1/K:0,e.x=z,e.y=A,e.z=B}}else if(!vb||0===k.length||e.x!==k[4]||e.y!==k[5]||!e.rotationX&&!e.rotationY){var Y=k.length>=6,Z=Y?k[0]:1,$=k[1]||0,_=k[2]||0,ab=Y?k[3]:1;e.x=k[4]||0,e.y=k[5]||0,n=Math.sqrt(Z*Z+$*$),o=Math.sqrt(ab*ab+_*_),p=Z||$?Math.atan2($,Z):e.rotation||0,q=_||ab?Math.atan2(_,ab)+p:e.skewX||0,r=n-Math.abs(e.scaleX||0),s=o-Math.abs(e.scaleY||0),Math.abs(q)>Math.PI/2&&Math.abs(q)<1.5*Math.PI&&(f?(n*=-1,q+=0>=p?Math.PI:-Math.PI,p+=0>=p?Math.PI:-Math.PI):(o*=-1,q+=0>=q?Math.PI:-Math.PI)),t=(p-e.rotation)%Math.PI,u=(q-e.skewX)%Math.PI,(void 0===e.skewX||r>g||-g>r||s>g||-g>s||t>g||-g>t||u>g||-g>u)&&(e.scaleX=n,e.scaleY=o,e.rotation=p,e.skewX=q),vb&&(e.rotationX=e.rotationY=e.z=0,e.perspective=parseFloat(c.defaultTransformPerspective)||0,e.scaleZ=1)}e.zOrigin=i;for(l in e)g>e[l]&&e[l]>-g&&(e[l]=0);return d&&(a._gsTransform=e),e},xb=function(a){var l,m,b=this.data,c=-b.rotation,d=c+b.skewX,e=1e5,f=(Math.cos(c)*b.scaleX*e>>0)/e,g=(Math.sin(c)*b.scaleX*e>>0)/e,h=(Math.sin(d)*-b.scaleY*e>>0)/e,i=(Math.cos(d)*b.scaleY*e>>0)/e,j=this.t.style,k=this.t.currentStyle;if(k){m=g,g=-h,h=-m,l=k.filter,j.filter="";var v,w,p=this.t.offsetWidth,q=this.t.offsetHeight,r="absolute"!==k.position,s="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+g+", M21="+h+", M22="+i,t=b.x,u=b.y;if(null!=b.ox&&(v=(b.oxp?.01*p*b.ox:b.ox)-p/2,w=(b.oyp?.01*q*b.oy:b.oy)-q/2,t+=v-(v*f+w*g),u+=w-(v*h+w*i)),r)v=p/2,w=q/2,s+=", Dx="+(v-(v*f+w*g)+t)+", Dy="+(w-(v*h+w*i)+u)+")";else{var z,A,B,y=8>L?1:-1;for(v=b.ieOffsetX||0,w=b.ieOffsetY||0,b.ieOffsetX=Math.round((p-((0>f?-f:f)*p+(0>g?-g:g)*q))/2+t),b.ieOffsetY=Math.round((q-((0>i?-i:i)*q+(0>h?-h:h)*p))/2+u),nb=0;4>nb;nb++)A=X[nb],z=k[A],m=-1!==z.indexOf("px")?parseFloat(z):Z(this.t,A,parseFloat(z),z.replace(n,""))||0,B=m!==b[A]?2>nb?-b.ieOffsetX:-b.ieOffsetY:2>nb?v-b.ieOffsetX:w-b.ieOffsetY,j[A]=(b[A]=Math.round(m-B*(0===nb||2===nb?1:y)))+"px";s+=", sizingMethod='auto expand')"}j.filter=-1!==l.indexOf("DXImageTransform.Microsoft.Matrix(")?l.replace(x,s):s+" "+l,(0===a||1===a)&&1===f&&0===g&&0===h&&1===i&&(r&&-1===s.indexOf("Dx=0, Dy=0")||o.test(l)&&100!==parseFloat(RegExp.$1)||-1===l.indexOf("gradient(")&&j.removeAttribute("filter"))}},yb=function(){var x,y,z,A,B,C,D,E,F,b=this.data,c=this.t.style,d=b.perspective,e=b.scaleX,f=0,g=0,h=0,i=0,j=b.scaleY,k=0,l=0,m=0,n=0,o=b.scaleZ,p=0,q=0,r=0,s=d?-1/d:0,t=b.rotation,u=b.zOrigin,v=",",w=1e5;J&&(D=T(this.t,"top",null,!1,"0"),E=parseFloat(D)||0,F=D.substr((E+"").length),b._ffFix=!b._ffFix,c.top=(b._ffFix?E+.05:E-.05)+(""===F?"px":F)),t&&(x=Math.cos(t),y=Math.sin(t),z=e*x,A=j*y,f=e*-y,j*=x,e=z,i=A),t=b.rotationY,t&&(x=Math.cos(t),y=Math.sin(t),z=e*x,A=i*x,B=o*-y,C=s*-y,g=e*y,k=i*y,o*=x,s*=x,e=z,i=A,m=B,q=C),t=b.rotationX,t&&(x=Math.cos(t),y=Math.sin(t),z=f*x+g*y,A=j*x+k*y,B=n*x+o*y,C=r*x+s*y,g=f*-y+g*x,k=j*-y+k*x,o=n*-y+o*x,s=r*-y+s*x,f=z,j=A,n=B,r=C),u&&(p-=u,h=g*p,l=k*p,p=o*p+u),h+=b.x,l+=b.y,p=((p+b.z)*w>>0)/w,c[sb]="matrix3d("+(e*w>>0)/w+v+(i*w>>0)/w+v+(m*w>>0)/w+v+(q*w>>0)/w+v+(f*w>>0)/w+v+(j*w>>0)/w+v+(n*w>>0)/w+v+(r*w>>0)/w+v+(g*w>>0)/w+v+(k*w>>0)/w+v+(o*w>>0)/w+v+(s*w>>0)/w+v+(h*w>>0)/w+v+(l*w>>0)/w+v+p+v+(d?1+-p/d:1)+")"},zb=function(){var b=this.data;if(b.rotation||b.skewX){var c=b.rotation,d=c-b.skewX,e=1e5,f=(Math.cos(c)*b.scaleX*e>>0)/e,g=(Math.sin(c)*b.scaleX*e>>0)/e,h=(Math.sin(d)*-b.scaleY*e>>0)/e,i=(Math.cos(d)*b.scaleY*e>>0)/e;this.t.style[sb]="matrix("+f+","+g+","+h+","+i+","+b.x+","+b.y+")"}else this.t.style[sb]="matrix("+b.scaleX+",0,0,"+b.scaleY+","+b.x+","+b.y+")"};pb("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,d,e,g,h){if(d._transform)return e;var n,o,p,q,r,s,t,i=d._transform=wb(a,f,!0),j=a.style,k=1e-6,l=rb.length,m=h;for("string"==typeof m.transform&&sb?(q=j[sb],j[sb]=m.transform,n=wb(a,null,!1),j[sb]=q):"object"==typeof m&&(o=null!=m.rotation?m.rotation:null!=m.rotationZ?m.rotationZ:i.rotation*z,n={scaleX:ab(null!=m.scaleX?m.scaleX:m.scale,i.scaleX),scaleY:ab(null!=m.scaleY?m.scaleY:m.scale,i.scaleY),scaleZ:ab(null!=m.scaleZ?m.scaleZ:m.scale,i.scaleZ),x:ab(m.x,i.x),y:ab(m.y,i.y),z:ab(m.z,i.z),perspective:ab(m.transformPerspective,i.perspective)},n.rotation=null!=m.shortRotation||null!=m.shortRotationZ?cb(m.shortRotation||m.shortRotationZ||0,i.rotation):"number"==typeof o?o*y:bb(o,i.rotation),vb&&(n.rotationX=null!=m.shortRotationX?cb(m.shortRotationX,i.rotationX):"number"==typeof m.rotationX?m.rotationX*y:bb(m.rotationX,i.rotationX),n.rotationY=null!=m.shortRotationY?cb(m.shortRotationY,i.rotationY):"number"==typeof m.rotationY?m.rotationY*y:bb(m.rotationY,i.rotationY),k>n.rotationX&&n.rotationX>-k&&(n.rotationX=0),k>n.rotationY&&n.rotationY>-k&&(n.rotationY=0)),n.skewX=null==m.skewX?i.skewX:"number"==typeof m.skewX?m.skewX*y:bb(m.skewX,i.skewX),n.skewY=null==m.skewY?i.skewY:"number"==typeof m.skewY?m.skewY*y:bb(m.skewY,i.skewY),(p=n.skewY-i.skewY)&&(n.skewX+=p,n.rotation+=p),k>n.skewY&&n.skewY>-k&&(n.skewY=0),k>n.skewX&&n.skewX>-k&&(n.skewX=0),k>n.rotation&&n.rotation>-k&&(n.rotation=0)),s=i.z||i.rotationX||i.rotationY||n.z||n.rotationX||n.rotationY||n.perspective,s||null==n.scale||(n.scaleZ=1);--l>-1;)c=rb[l],r=n[c]-i[c],(r>k||-k>r||null!=A[c])&&(t=!0,e=new lb(i,c,i[c],r,e),e.xs0=0,e.plugin=g,d._overwriteProps.push(e.n));return r=m.transformOrigin,(r||vb&&s&&i.zOrigin)&&(sb?(t=!0,r=(r||T(a,c,f,!1,"50% 50%"))+"",c=ub,e=new lb(j,c,0,0,e,-1,"css_transformOrigin"),e.b=j[c],e.plugin=g,vb?(q=i.zOrigin,r=r.split(" "),i.zOrigin=(r.length>2?parseFloat(r[2]):q)||0,e.xs0=e.e=j[c]=r[0]+" "+(r[1]||"50%")+" 0px",e=new lb(i,"zOrigin",0,0,e,-1,e.n),e.b=q,e.xs0=e.e=i.zOrigin):e.xs0=e.e=j[c]=r):$(r+"",i)),t&&(d._transformType=s||3===this._transformType?3:2),e},!0),pb("boxShadow","0px 0px 0px 0px #999",null,!0,!0),pb("borderRadius","0px",function(a,b,c,d,g){b=this.format(b);var k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,i=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],j=a.style;for(s=parseFloat(a.offsetWidth),t=parseFloat(a.offsetHeight),k=b.split(" "),l=0;i.length>l;l++)this.p.indexOf("border")&&(i[l]=R(i[l])),o=n=T(a,i[l],f,!1,"0px"),-1!==o.indexOf(" ")&&(n=o.split(" "),o=n[0],n=n[1]),p=m=k[l],q=parseFloat(o),v=o.substr((q+"").length),w="="===p.charAt(1),w?(r=parseInt(p.charAt(0)+"1",10),p=p.substr(2),r*=parseFloat(p),u=p.substr((r+"").length-(0>r?1:0))||""):(r=parseFloat(p),u=p.substr((r+"").length)),""===u&&(u=e[c]||v),u!==v&&(x=Z(a,"borderLeft",q,v),y=Z(a,"borderTop",q,v),"%"===u?(o=100*(x/s)+"%",n=100*(y/t)+"%"):"em"===u?(z=Z(a,"borderLeft",1,"em"),o=x/z+"em",n=y/z+"em"):(o=x+"px",n=y+"px"),w&&(p=parseFloat(o)+r+u,m=parseFloat(n)+r+u)),g=mb(j,i[l],o+" "+n,p+" "+m,!1,"0px",g);return g},!0,!1,gb("0px 0px 0px 0px",!1,!0)),pb("backgroundPosition","0 0",function(a,b,c,d,e,g){var l,m,n,o,p,h="background-position",i=f||S(a,null),j=this.format((i?L?i.getPropertyValue(h+"-x")+" "+i.getPropertyValue(h+"-y"):i.getPropertyValue(h):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0"),k=this.format(b);if(-1!==j.indexOf("%")!=(-1!==k.indexOf("%"))){for(l=j.split(" "),m=k.split(" "),D.setAttribute("src",T(a,"backgroundImage").replace(t,"")),n=2;--n>-1;)j=l[n],o=-1!==j.indexOf("%"),o!==(-1!==m[n].indexOf("%"))&&(p=0===n?a.offsetWidth-D.width:a.offsetHeight-D.height,l[n]=o?parseFloat(j)/100*p+"px":100*(parseFloat(j)/p)+"%");j=l.join(" ")}return this.parseComplex(a.style,j,k,e,g)},!1,!1,$),pb("backgroundSize","0 0",null,!1,!1,$),pb("perspective","0px",null,!0),pb("perspectiveOrigin","50% 50%",null,!0),pb("transformStyle","preserve-3d",null,!0),pb("backfaceVisibility","visible",null,!0),pb("margin",null,hb("marginTop,marginRight,marginBottom,marginLeft")),pb("padding",null,hb("paddingTop,paddingRight,paddingBottom,paddingLeft")),pb("clip","rect(0px,0px,0px,0px)"),pb("textShadow","0px 0px 0px #999",null,!1,!0),pb("autoRound",null,function(a,b,c,d,e){return e}),pb("border","0px solid #000",function(a,b,c,d,e,g){return this.parseComplex(a.style,this.format(T(a,"borderTopWidth",f,!1,"0px")+" "+T(a,"borderTopStyle",f,!1,"solid")+" "+T(a,"borderTopColor",f,!1,"#000")),this.format(b),e,g)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(fb)||["#000"])[0]});var Ab=function(a){var e,b=this.t,c=b.filter,d=this.s+this.c*a>>0;100===d&&(-1===c.indexOf("atrix(")&&-1===c.indexOf("radient(")?(b.removeAttribute("filter"),e=!T(this.data,"filter")):(b.filter=c.replace(q,""),e=!0)),e||(this.xn1&&(b.filter=c=c||"alpha(opacity=100)"),-1===c.indexOf("opacity")?b.filter+=" alpha(opacity="+d+")":b.filter=c.replace(o,"opacity="+d))};pb("opacity,alpha,autoAlpha","1",function(a,b,c,d,e,g){var j,h=parseFloat(T(a,"opacity",f,!1,"1")),i=a.style;return b=parseFloat(b),"autoAlpha"===c&&(j=T(a,"visibility",f),1===h&&"hidden"===j&&0!==b&&(h=0),e=new lb(i,"visibility",0,0,e,-1,null,!1,0,0!==h?"visible":"hidden",0===b?"hidden":"visible"),e.xs0="visible",d._overwriteProps.push(e.n)),M?e=new lb(i,"opacity",h,b-h,e):(e=new lb(i,"opacity",100*h,100*(b-h),e),e.xn1="autoAlpha"===c?1:0,i.zoom=1,e.type=2,e.b="alpha(opacity="+e.s+")",e.e="alpha(opacity="+(e.s+e.c)+")",e.data=a,e.plugin=g,e.setRatio=Ab),e});var Bb=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;for(var b=this.data,c=this.t.style,d=c.removeProperty?"removeProperty":"removeAttribute";b;)b.v?c[b.p]=b.v:c[d](b.p.replace(r,"-$1").toLowerCase()),b=b._next}else this.t.className!==this.b&&(this.t.className=this.b)};for(pb("className",null,function(a,b,c,d,e,g,h){var k,l,i=a.className,j=a.style.cssText;return e=d._classNamePT=new lb(a,c,0,0,e,2),e.setRatio=Bb,e.b=i,e.e="="!==b.charAt(1)?b:"+"===b.charAt(0)?i+" "+b.substr(2):i.split(b.substr(2)).join(""),d._tween._duration&&(l=U(a,f,!0),a.className=e.e,k=V(a,l,U(a),h),a.className=i,e.data=k.firstMPT,a.style.cssText=j,e=e.xfirst=d.parse(a,k.difs,e,g)),e}),i="bezier,throwProps,physicsProps,physics2D".split(","),nb=i.length;nb--;)qb(i[nb]);return i=c.prototype,i._firstPT=null,i._onInitTween=function(a,b,h){if(!a.nodeType)return!1;this._target=a,this._tween=h,this._vars=b,G=b.autoRound,d=!1,e=b.suffixMap||c.suffixMap,f=S(a,""),g=this._overwriteProps;var j,k,l,m,n,o,q,r,s,i=a.style;if(H&&""===i.zIndex&&(j=T(a,"zIndex",f),("auto"===j||""===j)&&(i.zIndex=0)),"string"==typeof b&&(m=i.cssText,j=U(a,f),i.cssText=m+";"+b,j=V(a,j,U(a)).difs,!M&&p.test(b)&&(j.opacity=parseFloat(RegExp.$1)),b=j,i.cssText=m),this._firstPT=k=this.parse(a,b,null),this._transformType){for(s=3===this._transformType,sb?I&&(H=!0,""===i.zIndex&&(q=T(a,"zIndex",f),("auto"===q||""===q)&&(i.zIndex=0)),K&&(i.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(s?"visible":"hidden"))):i.zoom=1,l=k;l&&l._next;)l=l._next;r=new lb(a,"transform",0,0,null,2),this._linkCSSP(r,null,l),r.setRatio=s&&vb?yb:sb?zb:xb,r.data=this._transform||wb(a,f,!0),g.pop()}if(d){for(;k;){for(o=k._next,l=m;l&&l.pr>k.pr;)l=l._next;(k._prev=l?l._prev:n)?k._prev._next=k:m=k,(k._next=l)?l._prev=k:n=k,k=o}this._firstPT=m}return!0},i.parse=function(a,b,c,d){var i,j,k,l,m,n,o,p,q,r,g=a.style;for(i in b)n=b[i],j=h[i],j?c=j.parse(a,n,i,this,c,d,b):(m=T(a,i,f)+"",q="string"==typeof n,"color"===i||"fill"===i||"stroke"===i||-1!==i.indexOf("Color")||q&&!n.indexOf("rgb")?(q||(n=eb(n),n=(n.length>3?"rgba(":"rgb(")+n.join(",")+")"),c=mb(g,i,m,n,!0,"transparent",c,0,d)):!q||-1===n.indexOf(" ")&&-1===n.indexOf(",")?(k=parseFloat(m),o=k||0===k?m.substr((k+"").length):"",(""===m||"auto"===m)&&("width"===i||"height"===i?(k=Y(a,i,f),o="px"):(k="opacity"!==i?0:1,o="")),r=q&&"="===n.charAt(1),r?(l=parseInt(n.charAt(0)+"1",10),n=n.substr(2),l*=parseFloat(n),p=n.substr((l+"").length-(0>l?1:0))||""):(l=parseFloat(n),p=q?n.substr((l+"").length)||"":""),""===p&&(p=e[i]||o),n=l||0===l?(r?l+k:l)+p:b[i],o!==p&&""!==p&&(l||0===l)&&(k||0===k)&&(k=Z(a,i,k,o),"%"===p?(k/=Z(a,i,100,"%")/100,k>100&&(k=100)):"em"===p?k/=Z(a,i,1,"em"):(l=Z(a,i,l,p),p="px"),r&&(l||0===l)&&(n=l+k+p)),r&&(l+=k),!k&&0!==k||!l&&0!==l?n||"NaN"!=n+""&&null!=n?(c=new lb(g,i,l||k||0,0,c,-1,"css_"+i,!1,0,m,n),c.xs0="display"===i&&"none"===n?m:n):O("invalid "+i+" tween value. "):(c=new lb(g,i,k,l-k,c,0,"css_"+i,G!==!1&&("px"===p||"zIndex"===i),0,m,n),c.xs0=p)):c=mb(g,i,m,n,!0,null,c,0,d)),d&&c&&!c.plugin&&(c.plugin=d);return c},i.setRatio=function(a){var d,e,f,b=this._firstPT,c=1e-6;if(1!==a||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(a||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;b;){if(d=b.c*a+b.s,b.r?d=d>0?d+.5>>0:d-.5>>0:c>d&&d>-c&&(d=0),b.type)if(1===b.type)if(f=b.l,2===f)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2;else if(3===f)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===f)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===f)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{for(e=b.xs0+d+b.xs1,f=1;b.l>f;f++)e+=b["xn"+f]+b["xs"+(f+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]=d+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next;else for(;b;)2!==b.type?b.t[b.p]=b.e:b.setRatio(a),b=b._next},i._enableTransforms=function(a){this._transformType=a||3===this._transformType?3:2},i._linkCSSP=function(a,b,c,d){return a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),c?c._next=a:d||null!==this._firstPT||(this._firstPT=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=c),a},i._kill=function(b){var e,f,g,c=b,d=!1;if(b.css_autoAlpha||b.css_alpha){c={};for(f in b)c[f]=b[f];c.css_opacity=1,c.css_autoAlpha&&(c.css_visibility=1)}return b.css_className&&(e=this._classNamePT)&&(g=e.xfirst,g&&g._prev?this._linkCSSP(g._prev,e._next,g._prev._prev):g===this._firstPT&&(this._firstPT=null),e._next&&this._linkCSSP(e._next,e._next._next,g._prev),this._target._gsOverwrittenClassNamePT=this._linkCSSP(e,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,d=!0),a.prototype._kill.call(this,c)||d},a.activate([c]),c},!0)}),window._gsDefine&&_gsQueue.pop()();\ No newline at end of filediff --git a/src/uncompressed/TweenLite.js b/src/uncompressed/TweenLite.jsindex 4871526..c32fa84 100755--- a/src/uncompressed/TweenLite.js+++ b/src/uncompressed/TweenLite.js@@ -1,6 +1,6 @@/*!- * VERSION: beta 1.668- * DATE: 2013-01-01+ * VERSION: beta 1.67+ * DATE: 2013-01-09* JavaScript (ActionScript 3 and 2 also available)* UPDATES AND DOCS AT: http://www.greensock.com*@@ -729,7 +729,7 @@p._firstPT = p._targets = p._overwrittenProps = null;p._notifyPluginsOfEnabled = false;- TweenLite.version = 1.668;+ TweenLite.version = 1.67;TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);TweenLite.defaultOverwrite = "auto";TweenLite.ticker = _ticker;@@ -946,7 +946,7 @@this._firstPT = propLookup[p] = pt = {_next:this._firstPT, t:target, p:p, f:(typeof(target[p]) === "function"), n:p, pg:false, pr:0};pt.s = (!pt.f) ? parseFloat(target[p]) : target[ ((p.indexOf("set") || typeof(target["get" + p.substr(3)]) !== "function") ? p : "get" + p.substr(3)) ]();v = this.vars[p];- pt.c = (typeof(v) === "number") ? v - pt.s : (typeof(v) === "string" && v.charAt(1) === "=") ? parseInt(v.charAt(0)+"1", 10) * Number(v.substr(2)) : Number(v) || 0; //previously, we used Number(v.split("=").join("")) but that wouldn't adequately handle a value like "+=-500" or "-=-500".+ pt.c = (typeof(v) === "string" && v.charAt(1) === "=") ? parseInt(v.charAt(0) + "1", 10) * Number(v.substr(2)) : (Number(v) - pt.s) || 0;}if (pt) if (pt._next) {pt._next._prev = pt;diff --git a/src/uncompressed/TweenMax.js b/src/uncompressed/TweenMax.jsindex 718bf3d..f694910 100755--- a/src/uncompressed/TweenMax.js+++ b/src/uncompressed/TweenMax.js@@ -1,6 +1,6 @@/**- * VERSION: beta 1.669- * DATE: 2013-01-02+ * VERSION: beta 1.67+ * DATE: 2013-01-09* 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.669;+ TweenMax.version = 1.67;p.constructor = TweenMax;p.kill()._gc = false;TweenMax.killTweensOf = TweenMax.killDelayedCallsTo = TweenLite.killTweensOf;@@ -1529,7 +1529,8 @@bezierThrough = BezierPlugin.bezierThrough = function(values, curviness, quadratic, basic, correlate, prepend) {var obj = {},props = [],- i, p, a, j, r, l;+ first = prepend || values[0],+ i, p, a, j, r, l, seamless, last;correlate = (typeof(correlate) === "string") ? ","+correlate+"," : _correlate;if (curviness == null) {curviness = 1;@@ -1537,6 +1538,27 @@for (p in values[0]) {props.push(p);}+ //check to see if the last and first values are identical (well, within 0.05). If so, make seamless by appending the second element to the very end of the values array and the 2nd-to-last element to the very beginning (we'll remove those segments later)+ if (values.length > 1) {+ last = values[values.length - 1];+ seamless = true;+ i = props.length;+ while (--i > -1) {+ p = props[i];+ if (Math.abs(first[p] - last[p]) > 0.05) { //build in a tolerance of +/-0.05 to accommodate rounding errors. For example, if you set an object's position to 4.945, Flash will make it 4.9+ seamless = false;+ break;+ }+ }+ if (seamless) {+ values = values.concat(); //duplicate the array to avoid contaminating the original which the user may be reusing for other tweens+ if (prepend) {+ values.unshift(prepend);+ }+ values.push(values[1]);+ prepend = values[values.length - 3];+ }+ }_r1.length = _r2.length = _r3.length = 0;i = props.length;while (--i > -1) {@@ -1567,9 +1589,15 @@}}i = props.length;+ j = quadratic ? 4 : 1;while (--i > -1) {p = props[i];- _calculateControlPoints(obj[p], curviness, quadratic, basic, _corProps[p]); //this method requires that _parseAnchors() and _setSegmentRatios() ran first so that _r1, _r2, and _r3 values are populated for all properties+ a = obj[p];+ _calculateControlPoints(a, curviness, quadratic, basic, _corProps[p]); //this method requires that _parseAnchors() and _setSegmentRatios() ran first so that _r1, _r2, and _r3 values are populated for all properties+ if (seamless) {+ a.splice(0, j);+ a.splice(a.length - j, j);+ }}return obj;},@@ -2063,7 +2091,7 @@p = CSSPlugin.prototype = new TweenPlugin("css");p.constructor = CSSPlugin;- CSSPlugin.version = 1.669;+ CSSPlugin.version = 1.67;CSSPlugin.API = 2;CSSPlugin.defaultTransformPerspective = 0;p = "px"; //we'll reuse the "p" variable to keep file size down@@ -2960,6 +2988,8 @@++//transform-related methods and propertiesvar _transformProps = ["scaleX","scaleY","scaleZ","x","y","z","skewX","rotation","rotationX","rotationY","perspective"],_transformProp = _checkPropPrefix("transform"), //the Javascript (camelCase) transform property, like msTransform, WebkitTransform, MozTransform, or OTransform.@@ -3418,7 +3448,6 @@return pt;}, 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);@@ -3750,7 +3779,7 @@} else {bn = parseFloat(bs);- bsfx = bs.substr((bn + "").length);+ bsfx = (bn || bn === 0) ? bs.substr((bn + "").length) : ""; //remember, bs could be non-numeric like "normal" for fontWeight, so we should default to a blank suffix in that case.if (bs === "" || bs === "auto") {if (p === "width" || p === "height") {@@ -4310,7 +4339,7 @@/** ----------------------------------------------------------------- * Base classes like TweenLite, SimpleTimeline, Ease, Ticker, etc. (!TweenLite)+ * Base classes like TweenLite, SimpleTimeline, Ease, Ticker, etc.* ----------------------------------------------------------------*/(function(window) {@@ -5032,7 +5061,7 @@p._firstPT = p._targets = p._overwrittenProps = null;p._notifyPluginsOfEnabled = false;- TweenLite.version = 1.668;+ TweenLite.version = 1.67;TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);TweenLite.defaultOverwrite = "auto";TweenLite.ticker = _ticker;@@ -5249,7 +5278,7 @@this._firstPT = propLookup[p] = pt = {_next:this._firstPT, t:target, p:p, f:(typeof(target[p]) === "function"), n:p, pg:false, pr:0};pt.s = (!pt.f) ? parseFloat(target[p]) : target[ ((p.indexOf("set") || typeof(target["get" + p.substr(3)]) !== "function") ? p : "get" + p.substr(3)) ]();v = this.vars[p];- pt.c = (typeof(v) === "number") ? v - pt.s : (typeof(v) === "string" && v.charAt(1) === "=") ? parseInt(v.charAt(0)+"1", 10) * Number(v.substr(2)) : Number(v) || 0; //previously, we used Number(v.split("=").join("")) but that wouldn't adequately handle a value like "+=-500" or "-=-500".+ pt.c = (typeof(v) === "string" && v.charAt(1) === "=") ? parseInt(v.charAt(0) + "1", 10) * Number(v.substr(2)) : (Number(v) - pt.s) || 0;}if (pt) if (pt._next) {pt._next._prev = pt;diff --git a/src/uncompressed/plugins/BezierPlugin.js b/src/uncompressed/plugins/BezierPlugin.jsindex 9db4964..51dfcf0 100755--- a/src/uncompressed/plugins/BezierPlugin.js+++ b/src/uncompressed/plugins/BezierPlugin.js@@ -1,6 +1,6 @@/**- * VERSION: beta 1.151- * DATE: 2012-12-20+ * VERSION: beta 1.16+ * DATE: 2013-01-09* JavaScript (also available in AS3 and AS2)* UPDATES AND DOCS AT: http://www.greensock.com*@@ -40,7 +40,8 @@bezierThrough = BezierPlugin.bezierThrough = function(values, curviness, quadratic, basic, correlate, prepend) {var obj = {},props = [],- i, p, a, j, r, l;+ first = prepend || values[0],+ i, p, a, j, r, l, seamless, last;correlate = (typeof(correlate) === "string") ? ","+correlate+"," : _correlate;if (curviness == null) {curviness = 1;@@ -48,6 +49,27 @@for (p in values[0]) {props.push(p);}+ //check to see if the last and first values are identical (well, within 0.05). If so, make seamless by appending the second element to the very end of the values array and the 2nd-to-last element to the very beginning (we'll remove those segments later)+ if (values.length > 1) {+ last = values[values.length - 1];+ seamless = true;+ i = props.length;+ while (--i > -1) {+ p = props[i];+ if (Math.abs(first[p] - last[p]) > 0.05) { //build in a tolerance of +/-0.05 to accommodate rounding errors. For example, if you set an object's position to 4.945, Flash will make it 4.9+ seamless = false;+ break;+ }+ }+ if (seamless) {+ values = values.concat(); //duplicate the array to avoid contaminating the original which the user may be reusing for other tweens+ if (prepend) {+ values.unshift(prepend);+ }+ values.push(values[1]);+ prepend = values[values.length - 3];+ }+ }_r1.length = _r2.length = _r3.length = 0;i = props.length;while (--i > -1) {@@ -78,9 +100,15 @@}}i = props.length;+ j = quadratic ? 4 : 1;while (--i > -1) {p = props[i];- _calculateControlPoints(obj[p], curviness, quadratic, basic, _corProps[p]); //this method requires that _parseAnchors() and _setSegmentRatios() ran first so that _r1, _r2, and _r3 values are populated for all properties+ a = obj[p];+ _calculateControlPoints(a, curviness, quadratic, basic, _corProps[p]); //this method requires that _parseAnchors() and _setSegmentRatios() ran first so that _r1, _r2, and _r3 values are populated for all properties+ if (seamless) {+ a.splice(0, j);+ a.splice(a.length - j, j);+ }}return obj;},diff --git a/src/uncompressed/plugins/CSSPlugin.js b/src/uncompressed/plugins/CSSPlugin.jsindex f7b2d8c..88dccb2 100755--- a/src/uncompressed/plugins/CSSPlugin.js+++ b/src/uncompressed/plugins/CSSPlugin.js@@ -1,6 +1,6 @@/*!- * VERSION: beta 1.669- * DATE: 2013-01-02+ * VERSION: beta 1.67+ * DATE: 2013-01-09* 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.669;+ CSSPlugin.version = 1.67;CSSPlugin.API = 2;CSSPlugin.defaultTransformPerspective = 0;p = "px"; //we'll reuse the "p" variable to keep file size down@@ -1794,7 +1794,7 @@} else {bn = parseFloat(bs);- bsfx = bs.substr((bn + "").length);+ bsfx = (bn || bn === 0) ? bs.substr((bn + "").length) : ""; //remember, bs could be non-numeric like "normal" for fontWeight, so we should default to a blank suffix in that case.if (bs === "" || bs === "auto") {if (p === "width" || p === "height") {