(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3062],{85957:function(t,e,i){"use strict";i.d(e,{Aq:function(){return d},EA:function(){return h},Lp:function(){return f},ML:function(){return r},MQ:function(){return o},SX:function(){return u},VN:function(){return p},Yp:function(){return m},ZP:function(){return n},bJ:function(){return _},fw:function(){return l},li:function(){return a},qD:function(){return c}}),t=i.hmd(t);var r="undefined"!==typeof window?window:t.exports&&"undefined"!==typeof i.g?i.g:{},n=function(t){var e={},i=t.document,r=t.GreenSockGlobals=t.GreenSockGlobals||t;if(r.TweenLite)return r.TweenLite;var n,a,s,o,l,u=function(t){var e,i=t.split("."),n=r;for(e=0;e-1;)(l=m[i[f]]||new p(i[f],[])).gsClass?(s[f]=l.gsClass,d--):o&&l.sc.push(this);if(0===d&&n)for(c=(_=("com.greensock."+t).split(".")).pop(),h=u(_.join("."))[c]=this.gsClass=n.apply(n,s),a&&(r[c]=e[c]=h),f=0;f-1;)for(a=l[u],n=r?v("easing."+a,null,!0):_.easing[a]||{},s=c.length;--s>-1;)o=c[s],w[a+"."+o]=w[o+a]=n[o]=t.getRatio?t:t[o]||new t};for((s=T.prototype)._calcEnd=!1,s.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:t<.5?r/2:1-r/2},a=(n=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)s=n[a]+",Power"+a,b(new T(null,null,1,a),s,"easeOut",!0),b(new T(null,null,2,a),s,"easeIn"+(0===a?",easeNone":"")),b(new T(null,null,3,a),s,"easeInOut");w.linear=_.easing.Linear.easeIn,w.swing=_.easing.Quad.easeInOut;var P=v("events.EventDispatcher",(function(t){this._listeners={},this._eventTarget=t||this}));(s=P.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var a,s,u=this._listeners[t],_=0;for(this!==o||l||o.wake(),null==u&&(this._listeners[t]=u=[]),s=u.length;--s>-1;)(a=u[s]).c===e&&a.s===i?u.splice(s,1):0===_&&a.pr-1;)if(r[i].c===e)return void r.splice(i,1)},s.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for((e=n.length)>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var S=t.requestAnimationFrame,k=t.cancelAnimationFrame,R=Date.now||function(){return(new Date).getTime()},C=R();for(a=(n=["ms","moz","webkit","o"]).length;--a>-1&&!S;)S=t[n[a]+"RequestAnimationFrame"],k=t[n[a]+"CancelAnimationFrame"]||t[n[a]+"CancelRequestAnimationFrame"];v("Ticker",(function(t,e){var r,n,a,s,u,_=this,c=R(),h=!(!1===e||!S)&&"auto",d=500,m=33,p=function(t){var e,i,o=R()-C;o>d&&(c+=o-m),C+=o,_.time=(C-c)/1e3,e=_.time-u,(!r||e>0||!0===t)&&(_.frame++,u+=e+(e>=s?.004:s-e),i=!0),!0!==t&&(a=n(p)),i&&_.dispatchEvent("tick")};P.call(_),_.time=_.frame=0,_.tick=function(){p(!0)},_.lagSmoothing=function(t,e){if(!arguments.length)return d<1e8;d=t||1e8,m=Math.min(e,d,0)},_.sleep=function(){null!=a&&(h&&k?k(a):clearTimeout(a),n=f,a=null,_===o&&(l=!1))},_.wake=function(t){null!==a?_.sleep():t?c+=-C+(C=R()):_.frame>10&&(C=R()-d+5),n=0===r?f:h&&S?S:function(t){return setTimeout(t,1e3*(u-_.time)+1|0)},_===o&&(l=!0),p(2)},_.fps=function(t){if(!arguments.length)return r;s=1/((r=t)||60),u=this.time+s,_.wake()},_.useRAF=function(t){if(!arguments.length)return h;_.sleep(),h=t,_.fps(r)},_.fps(t),setTimeout((function(){"auto"===h&&_.frame<5&&"hidden"!==(i||{}).visibilityState&&_.useRAF(!1)}),1500)})),(s=_.Ticker.prototype=new _.events.EventDispatcher).constructor=_.Ticker;var x=v("core.Animation",(function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,W){l||o.wake();var i=this.vars.useFrames?H:W;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));o=x.ticker=new _.Ticker,(s=x.prototype)._dirty=s._gc=s._initted=s._paused=!1,s._totalTime=s._time=0,s._rawPrevTime=-1,s._next=s._last=s._onUpdate=s._timeline=s.timeline=null,s._paused=!1;var A=function(){l&&R()-C>2e3&&("hidden"!==(i||{}).visibilityState||!o.lagSmoothing())&&o.wake();var t=setTimeout(A,2e3);t.unref&&t.unref()};A(),s.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},s.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},s.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},s.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},s.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},s.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},s.render=function(t,e,i){},s.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},s.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t-1;)"{self}"===t[e]&&(i[e]=this);return i},s._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},s.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=d(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},s.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},s.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},s.totalTime=function(t,e,i){if(l||o.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(L.length&&V(),this.render(t,e,!1),L.length&&V())}return this},s.progress=s.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},s.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},s.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},s.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||c,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},s.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},s.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(l||t||o.wake(),i=(e=r.rawTime())-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var D=v("core.SimpleTimeline",(function(t){x.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0}));(s=D.prototype=new x).constructor=D,s.kill()._gc=!1,s._first=s._last=s._recent=null,s._sortChildren=!1,s.add=s.insert=function(t,e,i,r){var n,a;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(a=t._startTime;n&&n._startTime>a;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},s._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},s.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},s.rawTime=function(){return l||o.wake(),this._totalTime};var E=v("TweenLite",(function(e,i,r){if(x.call(this,i,r),this.render=E.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!==typeof e?e:E.selector(e)||e;var n,a,s,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?X[E.defaultOverwrite]:"number"===typeof l?l>>0:X[l],(o||e instanceof Array||e.push&&d(e))&&"number"!==typeof e[0])for(this._targets=s=h(e),this._propLookup=[],this._siblings=[],n=0;n1&&K(a,this,null,1,this._siblings[n])):"string"===typeof(a=s[n--]=E.selector(a))&&s.splice(n+1,1):s.splice(n--,1);else this._propLookup={},this._siblings=Y(e,this,!1),1===l&&this._siblings.length>1&&K(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))}),!0),O=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(s=E.prototype=new x).constructor=E,s.kill()._gc=!1,s.ratio=0,s._firstPT=s._targets=s._overwrittenProps=s._startAt=null,s._notifyPluginsOfEnabled=s._lazy=!1,E.version="2.1.3",E.defaultEase=s._ease=new T(null,null,1,1),E.defaultOverwrite="auto",E.ticker=o,E.autoSleep=120,E.lagSmoothing=function(t,e){o.lagSmoothing(t,e)},E.selector=t.$||t.jQuery||function(e){var r=t.$||t.jQuery;return r?(E.selector=r,r(e)):(i||(i=t.document),i?i.querySelectorAll?i.querySelectorAll(e):i.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var L=[],M={},I=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,z=/[\+-]=-?[\.\d]/,F=function(t){for(var e,i=this._firstPT,r=1e-6;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):e-r&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},N=function(t){return(1e3*t|0)/1e3+""},G=function(t,e,i,r){var n,a,s,o,l,u,_,c=[],h=0,f="",d=0;for(c.start=t,c.end=e,t=c[0]=t+"",e=c[1]=e+"",i&&(i(c),t=c[0],e=c[1]),c.length=0,n=t.match(I)||[],a=e.match(I)||[],r&&(r._next=null,r.blob=1,c._firstPT=c._applyPT=r),l=a.length,o=0;o=$){for(i in $=o.frame+(parseInt(E.autoSleep,10)||120),q){for(t=(e=q[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete q[i]}if((!(i=W._first)||i._paused)&&E.autoSleep&&!H._first&&1===o._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||o.sleep()}}},o.addEventListener("tick",x._updateRoot);var Y=function(t,e,i){var r,n,a=t._gsTweenID;if(q[a||(t._gsTweenID=a="t"+Z++)]||(q[a]={target:t,tweens:[]}),e&&((r=q[a].tweens)[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return q[a].tweens},J=function(t,e,i,r){var n,a,s=t.vars.onOverwrite;return s&&(n=s(t,e,i,r)),(s=E.onOverwrite)&&(a=s(t,e,i,r)),!1!==n&&!1!==a},K=function(t,e,i,r,n){var a,s,o,l;if(1===r||r>=4){for(l=n.length,a=0;a-1;)(o=n[a])===e||o._gc||o._paused||(o._timeline!==e._timeline?(u=u||tt(e,0,d),0===tt(o,u,d)&&(h[f++]=o)):o._startTime<=_&&o._startTime+o.totalDuration()/o._timeScale>_&&((d||!o._initted)&&_-o._startTime<=2e-8||(h[f++]=o)));for(a=f;--a>-1;)if(l=(o=h[a])._firstPT,2===r&&o._kill(i,t,e)&&(s=!0),2!==r||!o._firstPT&&o._initted&&l){if(2!==r&&!J(o,e))continue;o._enabled(!1,!1)&&(s=!0)}return s},tt=function(t,e,i){for(var r=t._timeline,n=r._timeScale,a=t._startTime;r._timeline;){if(a+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return(a/=n)>e?a-e:i&&a===e||!t._initted&&a-e<2e-8?c:(a+=t.totalDuration()/t._timeScale/n)>e+c?0:a-e-c};s._init=function(){var t,e,i,r,n,a,s=this.vars,o=this._overwrittenProps,l=this._duration,u=!!s.immediateRender,_=s.ease,c=this._startAt;if(s.startAt){for(r in c&&(c.render(-1,!0),c.kill()),n={},s.startAt)n[r]=s.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=u&&!1!==s.lazy,n.startAt=n.delay=null,n.onUpdate=s.onUpdate,n.onUpdateParams=s.onUpdateParams,n.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=E.to(this.target||{},0,n),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(s.runBackwards&&0!==l)if(c)c.render(-1,!0),c.kill(),this._startAt=null;else{for(r in 0!==this._time&&(u=!1),i={},s)Q[r]&&"autoCSS"!==r||(i[r]=s[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=u&&!1!==s.lazy,i.immediateRender=u,this._startAt=E.to(this.target,0,i),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=_=_?_ instanceof T?_:"function"===typeof _?new T(_,s.easeParams):w[_]||E.defaultEase:E.defaultEase,s.easeParams instanceof Array&&_.config&&(this._ease=_.config.apply(_,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(a=this._targets.length,t=0;t-1;)i[u._overwriteProps[o]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),_._next&&(_._next._prev=_)}else i[s]=U.call(this,e,s,"get",c,s,0,null,this.vars.stringFilter,a);return n&&this._kill(n,e)?this._initProps(e,i,r,n,a):this._overwrite>1&&this._firstPT&&r.length>1&&K(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,n,a)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(M[e._gsTweenID]=!0),l)},s.render=function(t,e,i){var r,n,a,s,o=this,l=o._time,u=o._duration,_=o._rawPrevTime;if(t>=u-c&&t>=0)o._totalTime=o._time=u,o.ratio=o._ease._calcEnd?o._ease.getRatio(1):1,o._reversed||(r=!0,n="onComplete",i=i||o._timeline.autoRemoveChildren),0===u&&(o._initted||!o.vars.lazy||i)&&(o._startTime===o._timeline._duration&&(t=0),(_<0||t<=0&&t>=-1e-8||_===c&&"isPause"!==o.data)&&_!==t&&(i=!0,_>c&&(n="onReverseComplete")),o._rawPrevTime=s=!e||t||_===t?t:c);else if(t0)&&(n="onReverseComplete",r=o._reversed),t>-1e-8?t=0:t<0&&(o._active=!1,0===u&&(o._initted||!o.vars.lazy||i)&&(_>=0&&(_!==c||"isPause"!==o.data)&&(i=!0),o._rawPrevTime=s=!e||t||_===t?t:c)),(!o._initted||o._startAt&&o._startAt.progress())&&(i=!0);else if(o._totalTime=o._time=t,o._easeType){var h=t/u,f=o._easeType,d=o._easePower;(1===f||3===f&&h>=.5)&&(h=1-h),3===f&&(h*=2),1===d?h*=h:2===d?h*=h*h:3===d?h*=h*h*h:4===d&&(h*=h*h*h*h),o.ratio=1===f?1-h:2===f?h:t/u<.5?h/2:1-h/2}else o.ratio=o._ease.getRatio(t/u);if(o._time!==l||i){if(!o._initted){if(o._init(),!o._initted||o._gc)return;if(!i&&o._firstPT&&(!1!==o.vars.lazy&&o._duration||o.vars.lazy&&!o._duration))return o._time=o._totalTime=l,o._rawPrevTime=_,L.push(o),void(o._lazy=[t,e]);o._time&&!r?o.ratio=o._ease.getRatio(o._time/u):r&&o._ease._calcEnd&&(o.ratio=o._ease.getRatio(0===o._time?0:1))}for(!1!==o._lazy&&(o._lazy=!1),o._active||!o._paused&&o._time!==l&&t>=0&&(o._active=!0),0===l&&(o._startAt&&(t>=0?o._startAt.render(t,!0,i):n||(n="_dummyGS")),o.vars.onStart&&(0===o._time&&0!==u||e||o._callback("onStart"))),a=o._firstPT;a;)a.f?a.t[a.p](a.c*o.ratio+a.s):a.t[a.p]=a.c*o.ratio+a.s,a=a._next;o._onUpdate&&(t<0&&o._startAt&&-1e-4!==t&&o._startAt.render(t,!0,i),e||(o._time!==l||r||i)&&o._callback("onUpdate")),n&&(o._gc&&!i||(t<0&&o._startAt&&!o._onUpdate&&-1e-4!==t&&o._startAt.render(t,!0,i),r&&(o._timeline.autoRemoveChildren&&o._enabled(!1,!1),o._active=!1),!e&&o.vars[n]&&o._callback(n),0===u&&o._rawPrevTime===c&&s!==c&&(o._rawPrevTime=0)))}},s._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!==typeof e?e||this._targets||this.target:E.selector(e)||e;var r,n,a,s,o,l,u,_,c,h=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,f=this._firstPT;if((d(e)||O(e))&&"number"!==typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){o=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(u=t||o,_=t!==n&&"all"!==n&&t!==o&&("object"!==typeof t||!t._tempKill),i&&(E.onOverwrite||this.vars.onOverwrite)){for(a in u)o[a]&&(c||(c=[]),c.push(a));if((c||!t)&&!J(this,i,e,c))return!1}for(a in u)(s=o[a])&&(h&&(s.f?s.t[s.p](s.s):s.t[s.p]=s.s,l=!0),s.pg&&s.t._kill(u)&&(l=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete o[a]),_&&(n[a]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return l},s.invalidate=function(){this._notifyPluginsOfEnabled&&E._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],x.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(t,!1,!1!==this.vars.lazy)),this},s._enabled=function(t,e){if(l||o.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=Y(r[i],this,!0);else this._siblings=Y(this.target,this,!0)}return x.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&E._onPluginEvent(t?"_onEnable":"_onDisable",this)},E.to=function(t,e,i){return new E(t,e,i)},E.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new E(t,e,i)},E.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new E(t,e,r)},E.delayedCall=function(t,e,i,r,n){return new E(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},E.set=function(t,e){return new E(t,0,e)},E.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,a;if(t="string"!==typeof t?t:E.selector(t)||t,(d(t)||O(t))&&"number"!==typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(E.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(a=r[i],n=i;--n>-1;)a===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(i=(r=Y(t).concat()).length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},E.killTweensOf=E.killDelayedCallsTo=function(t,e,i){"object"===typeof e&&(i=e,e=!1);for(var r=E.getTweensOf(t,e),n=r.length;--n>-1;)r[n]._kill(i,t)};var et=v("plugins.TweenPlugin",(function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=et.prototype}),!0);if(s=et.prototype,et.version="1.19.0",et.API=2,s._firstPT=null,s._addTween=U,s.setRatio=F,s._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},s._mod=s._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"===typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},E._onPluginEvent=function(t,e){var i,r,n,a,s,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(s=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:a)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:a=o,o=s}o=e._firstPT=n}for(;o;)o.pg&&"function"===typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},et.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===et.API&&(j[(new t[e])._propName]=t[e]);return!0},g.plugin=function(t){if(!t||!t.propName||!t.init||!t.API)throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,a={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=v("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){et.call(this,i,r),this._overwriteProps=n||[]}),!0===t.global),o=s.prototype=new et(i);for(e in o.constructor=s,s.API=t.API,a)"function"===typeof t[e]&&(o[a[e]]=t[e]);return s.version=t.version,et.activate([s]),s},n=t._gsQueue){for(a=0;ag&&(g=m),mT?T-1:o?"y"===o?T/y:y:Math.max(y,T/y))||0,w.b=T<0?n-T:n}return T=(w[t]-w.min)/w.max,w.b+(i?i.getRatio(T):T)*w.v}},m=t.prototype=new r.MQ;return t.version="2.1.3",t.distribute=d,m.constructor=t,m.kill()._gc=m._forcingPlayhead=m._hasPause=!1,m.to=function(t,e,i,n){var a=i.repeat&&u.TweenMax||r.ZP;return e?this.add(new a(t,e,i),n):this.set(t,i,n)},m.from=function(t,e,i,n){return this.add((i.repeat&&u.TweenMax||r.ZP).from(t,e,f(0,i)),n)},m.fromTo=function(t,e,i,n,a){var s=n.repeat&&u.TweenMax||r.ZP;return n=f(0,n,i),e?this.add(s.fromTo(t,e,i,n),a):this.set(t,n,a)},m.staggerTo=function(e,i,n,s,o,l,u,h){var f,m,p=new t({onComplete:l,onCompleteParams:u,callbackScope:h,smoothChildTiming:this.smoothChildTiming}),g=d(n.stagger||s),v=n.startAt,y=n.cycle;for("string"===typeof e&&(e=r.ZP.selector(e)||e),a(e=e||[])&&(e=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i}(e)),m=0;m1e-5)&&e.render(o,!1,!1)),(f._gc||f._time===f._duration)&&!f._paused&&f._duratione._startTime;c._timeline;)h&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return f},m.remove=function(t){if(t instanceof r.fw){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?r.fw._rootFramesTimeline:r.fw._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&s(t)){for(var i=t.length;--i>-1;)this.remove(t[i]);return this}return"string"===typeof t?this.removeLabel(t):this.kill(null,t)},m._remove=function(t,e){return r.MQ.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},m.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},m.insert=m.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},m.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},m.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},m.addPause=function(t,e,i,n){var a=r.ZP.delayedCall(0,h,i,n||this);return a.vars.onComplete=a.vars.onReverseComplete=e,a.data="isPause",this._hasPause=!0,this.add(a,t)},m.removeLabel=function(t){return delete this._labels[t],this},m.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},m._parseTimeOrLabel=function(t,e,i,n){var a,o;if(n instanceof r.fw&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&s(n)))for(o=n.length;--o>-1;)n[o]instanceof r.fw&&n[o].timeline===this&&this.remove(n[o]);if(a="number"!==typeof t||e?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"===typeof e)return this._parseTimeOrLabel(e,i&&"number"===typeof t&&null==this._labels[e]?t-a:0,i);if(e=e||0,"string"!==typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=a);else{if(-1===(o=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=a+e:e:this._labels[t]+e;e=parseInt(t.charAt(o-1)+"1",10)*Number(t.substr(o+1)),t=o>1?this._parseTimeOrLabel(t.substr(0,o-1),0,i):a}return Number(t)+e},m.seek=function(t,e){return this.totalTime("number"===typeof t?t:this._parseTimeOrLabel(t),!1!==e)},m.stop=function(){return this.paused(!0)},m.gotoAndPlay=function(t,e){return this.play(t,e)},m.gotoAndStop=function(t,e){return this.pause(t,e)},m.render=function(t,i,r){this._gc&&this._enabled(!0,!1);var n,a,s,u,_,c,h,f,d=this,m=d._time,p=d._dirty?d.totalDuration():d._totalDuration,g=d._startTime,v=d._timeScale,y=d._paused;if(m!==d._time&&(t+=d._time-m),d._hasPause&&!d._forcingPlayhead&&!i){if(t>m)for(n=d._first;n&&n._startTime<=t&&!c;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===d._rawPrevTime||(c=n),n=n._next;else for(n=d._last;n&&n._startTime>=t&&!c;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(c=n),n=n._prev;c&&(d._time=d._totalTime=t=c._startTime,f=d._startTime+(d._reversed?d._duration-t:t)/d._timeScale)}if(t>=p-e&&t>=0)d._totalTime=d._time=p,d._reversed||d._hasPausedChild()||(a=!0,u="onComplete",_=!!d._timeline.autoRemoveChildren,0===d._duration&&(t<=0&&t>=-1e-8||d._rawPrevTime<0||d._rawPrevTime===e)&&d._rawPrevTime!==t&&d._first&&(_=!0,d._rawPrevTime>e&&(u="onReverseComplete"))),d._rawPrevTime=d._duration||!i||t||d._rawPrevTime===t?t:e,t=p+1e-4;else if(t-1e-8&&(t=0),(0!==m||0===d._duration&&d._rawPrevTime!==e&&(d._rawPrevTime>0||t<0&&d._rawPrevTime>=0))&&(u="onReverseComplete",a=d._reversed),t<0)d._active=!1,d._timeline.autoRemoveChildren&&d._reversed?(_=a=!0,u="onReverseComplete"):d._rawPrevTime>=0&&d._first&&(_=!0),d._rawPrevTime=t;else{if(d._rawPrevTime=d._duration||!i||t||d._rawPrevTime===t?t:e,0===t&&a)for(n=d._first;n&&0===n._startTime;)n._duration||(a=!1),n=n._next;t=0,d._initted||(_=!0)}else d._totalTime=d._time=d._rawPrevTime=t;if(d._time!==m&&d._first||r||_||c){if(d._initted||(d._initted=!0),d._active||!d._paused&&d._time!==m&&t>0&&(d._active=!0),0===m&&d.vars.onStart&&(0===d._time&&d._duration||i||d._callback("onStart")),(h=d._time)>=m)for(n=d._first;n&&(s=n._next,h===d._time&&(!d._paused||y));)(n._active||n._startTime<=h&&!n._paused&&!n._gc)&&(c===n&&(d.pause(),d._pauseTime=f),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,i,r):n.render((t-n._startTime)*n._timeScale,i,r)),n=s;else for(n=d._last;n&&(s=n._prev,h===d._time&&(!d._paused||y));){if(n._active||n._startTime<=m&&!n._paused&&!n._gc){if(c===n){for(c=n._prev;c&&c.endTime()>d._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,i,r),c=c._prev;c=null,d.pause(),d._pauseTime=f}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,i,r):n.render((t-n._startTime)*n._timeScale,i,r)}n=s}d._onUpdate&&(i||(o.length&&l(),d._callback("onUpdate"))),u&&(d._gc||g!==d._startTime&&v===d._timeScale||(0===d._time||p>=d.totalDuration())&&(a&&(o.length&&l(),d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!i&&d.vars[u]&&d._callback(u)))}},m._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},m.getChildren=function(t,e,i,n){n=n||-9999999999;for(var a=[],s=this._first,o=0;s;)s._startTime-1;)(i[n].timeline===this||e&&this._contains(i[n]))&&(s[o++]=i[n]);return a&&this._enabled(!1,!0),s},m.recent=function(){return this._recent},m._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},m.shiftChildren=function(t,e,i){i=i||0;for(var r,n=this._first,a=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in a)a[r]>=i&&(a[r]+=t);return this._uncache(!0)},m._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},m.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},m.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return r.fw.prototype.invalidate.call(this)},m._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return r.MQ.prototype._enabled.call(this,t,e)},m.totalTime=function(t,e,i){this._forcingPlayhead=!0;var n=r.fw.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},m.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},m.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,n=this,a=n._last,s=999999999999;a;)e=a._prev,a._dirty&&a.totalDuration(),a._startTime>s&&n._sortChildren&&!a._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(a,a._startTime-a._delay),n._calculatingDuration=0):s=a._startTime,a._startTime<0&&!a._paused&&(r-=a._startTime,n._timeline.smoothChildTiming&&(n._startTime+=a._startTime/n._timeScale,n._time-=a._startTime,n._totalTime-=a._startTime,n._rawPrevTime-=a._startTime),n.shiftChildren(-a._startTime,!1,-9999999999),s=0),(i=a._startTime+a._totalDuration/a._timeScale)>r&&(r=i),a=e;n._duration=n._totalDuration=r,n._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},m.paused=function(t){if(!1===t&&this._paused)for(var e=this._first;e;)e._startTime===this._time&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return r.fw.prototype.paused.apply(this,arguments)},m.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===r.fw._rootFramesTimeline},m.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},t}),!0);var n=r.li.TimelineLite;r.ML._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(){var t=function(t){n.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},e=1e-8,i=r.ZP._internals,a=i.lazyTweens,s=i.lazyRender,o=r.ML._gsDefine.globals,l=new r.SX(null,null,1,0),u=t.prototype=new n;return u.constructor=t,u.kill()._gc=!1,t.version="2.1.3",u.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),n.prototype.invalidate.call(this)},u.addCallback=function(t,e,i,n){return this.add(r.ZP.delayedCall(0,t,i,n),e)},u.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),r=i.length,n=this._parseTimeOrLabel(e);--r>-1;)i[r]._startTime===n&&i[r]._enabled(!1,!1);return this},u.removePause=function(t){return this.removeCallback(n._internals.pauseCallback,t)},u.tweenTo=function(t,e){e=e||{};var i,n,a,s={ease:l,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},u=e.repeat&&o.TweenMax||r.ZP;for(n in e)s[n]=e[n];return s.time=this._parseTimeOrLabel(t),i=Math.abs(Number(s.time)-this._time)/this._timeScale||.001,a=new u(this,i,s),s.onStart=function(){a.target.paused(!0),a.vars.time===a.target.time()||i!==a.duration()||a.isFromTo||a.duration(Math.abs(a.vars.time-a.target.time())/a.target._timeScale).render(a.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||a,e.onStartParams||[])},a},u.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var r=this.tweenTo(e,i);return r.isFromTo=1,r.duration(Math.abs(r.vars.time-t)/this._timeScale||.001)},u.render=function(t,i,r){this._gc&&this._enabled(!0,!1);var n,o,l,u,_,c,h,f,d,m=this,p=m._time,g=m._dirty?m.totalDuration():m._totalDuration,v=m._duration,y=m._totalTime,T=m._startTime,w=m._timeScale,b=m._rawPrevTime,P=m._paused,S=m._cycle;if(p!==m._time&&(t+=m._time-p),t>=g-e&&t>=0)m._locked||(m._totalTime=g,m._cycle=m._repeat),m._reversed||m._hasPausedChild()||(o=!0,u="onComplete",_=!!m._timeline.autoRemoveChildren,0===m._duration&&(t<=0&&t>=-1e-8||b<0||b===e)&&b!==t&&m._first&&(_=!0,b>e&&(u="onReverseComplete"))),m._rawPrevTime=m._duration||!i||t||m._rawPrevTime===t?t:e,m._yoyo&&1&m._cycle?m._time=t=0:(m._time=v,t=v+1e-4);else if(t-1e-8&&(t=0),(0!==p||0===v&&b!==e&&(b>0||t<0&&b>=0)&&!m._locked)&&(u="onReverseComplete",o=m._reversed),t<0)m._active=!1,m._timeline.autoRemoveChildren&&m._reversed?(_=o=!0,u="onReverseComplete"):b>=0&&m._first&&(_=!0),m._rawPrevTime=t;else{if(m._rawPrevTime=v||!i||t||m._rawPrevTime===t?t:e,0===t&&o)for(n=m._first;n&&0===n._startTime;)n._duration||(o=!1),n=n._next;t=0,m._initted||(_=!0)}else 0===v&&b<0&&(_=!0),m._time=m._rawPrevTime=t,m._locked||(m._totalTime=t,0!==m._repeat&&(c=v+m._repeatDelay,m._cycle=m._totalTime/c>>0,m._cycle&&m._cycle===m._totalTime/c&&y<=t&&m._cycle--,m._time=m._totalTime-m._cycle*c,m._yoyo&&1&m._cycle&&(m._time=v-m._time),m._time>v?(m._time=v,t=v+1e-4):m._time<0?m._time=t=0:t=m._time));if(m._hasPause&&!m._forcingPlayhead&&!i){if((t=m._time)>p||m._repeat&&S!==m._cycle)for(n=m._first;n&&n._startTime<=t&&!h;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===m._rawPrevTime||(h=n),n=n._next;else for(n=m._last;n&&n._startTime>=t&&!h;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(h=n),n=n._prev;h&&(d=m._startTime+(m._reversed?m._duration-h._startTime:h._startTime)/m._timeScale,h._startTime0&&(m._active=!0),0===y&&m.vars.onStart&&(0===m._totalTime&&m._totalDuration||i||m._callback("onStart")),(f=m._time)>=p)for(n=m._first;n&&(l=n._next,f===m._time&&(!m._paused||P));)(n._active||n._startTime<=m._time&&!n._paused&&!n._gc)&&(h===n&&(m.pause(),m._pauseTime=d),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,i,r):n.render((t-n._startTime)*n._timeScale,i,r)),n=l;else for(n=m._last;n&&(l=n._prev,f===m._time&&(!m._paused||P));){if(n._active||n._startTime<=p&&!n._paused&&!n._gc){if(h===n){for(h=n._prev;h&&h.endTime()>m._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,i,r),h=h._prev;h=null,m.pause(),m._pauseTime=d}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,i,r):n.render((t-n._startTime)*n._timeScale,i,r)}n=l}m._onUpdate&&(i||(a.length&&s(),m._callback("onUpdate"))),u&&(m._locked||m._gc||T!==m._startTime&&w===m._timeScale||(0===m._time||g>=m.totalDuration())&&(o&&(a.length&&s(),m._timeline.autoRemoveChildren&&m._enabled(!1,!1),m._active=!1),!i&&m.vars[u]&&m._callback(u)))}else y!==m._totalTime&&m._onUpdate&&(i||m._callback("onUpdate"))},u.getActive=function(t,e,i){var r,n,a=[],s=this.getChildren(t||null==t,e||null==t,!!i),o=0,l=s.length;for(r=0;rt)return i[e].name;return null},u.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].timei&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},u.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},u.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},u.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},u.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+e)},t}),!0);var a=r.li.TimelineMax;r.ML._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},e=function(t,e,i){var r,n,a=t.cycle;for(r in a)n=a[r],t[r]="function"===typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},i=function(t){if("function"===typeof t)return t;var e="object"===typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,a={},s=isNaN(r),o=e.axis,l={center:.5,end:1}[r]||0;return function(t,u,_){var c,h,f,d,m,p,g,v,y,T=(_||e).length,w=a[T];if(!w){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=_[y++].getBoundingClientRect().left)&&yg&&(g=m),mT?T-1:o?"y"===o?T/y:y:Math.max(y,T/y))||0,w.b=T<0?n-T:n}return T=(w[t]-w.min)/w.max,w.b+(i?i.getRatio(T):T)*w.v}},n=function(t,e,i){r.ZP.call(this,t,e,i),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=n.prototype.render},a=1e-8,s=r.ZP._internals,o=s.isSelector,l=s.isArray,u=n.prototype=r.ZP.to({},.1,{}),_=[];n.version="2.1.3",u.constructor=n,u.kill()._gc=!1,n.killTweensOf=n.killDelayedCallsTo=r.ZP.killTweensOf,n.getTweensOf=r.ZP.getTweensOf,n.lagSmoothing=r.ZP.lagSmoothing,n.ticker=r.ZP.ticker,n.render=r.ZP.render,n.distribute=i,u.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),r.ZP.prototype.invalidate.call(this)},u.updateTo=function(t,e){var i,n=this,a=n.ratio,s=n.vars.immediateRender||t.immediateRender;for(i in e&&n._startTime.998){var o=n._totalTime;n.render(0,!0,!1),n._initted=!1,n.render(o,!0,!1)}else if(n._initted=!1,n._init(),n._time>0||s)for(var l,u=1/(1-a),_=n._firstPT;_;)l=_.s+_.c,_.c*=u,_.s=l-_.c,_=_._next;return n},u.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,o,l,u,_,c,h,f,d,m=this,p=m._dirty?m.totalDuration():m._totalDuration,g=m._time,v=m._totalTime,y=m._cycle,T=m._duration,w=m._rawPrevTime;if(t>=p-a&&t>=0?(m._totalTime=p,m._cycle=m._repeat,m._yoyo&&0!==(1&m._cycle)?(m._time=0,m.ratio=m._ease._calcEnd?m._ease.getRatio(0):0):(m._time=T,m.ratio=m._ease._calcEnd?m._ease.getRatio(1):1),m._reversed||(n=!0,o="onComplete",i=i||m._timeline.autoRemoveChildren),0===T&&(m._initted||!m.vars.lazy||i)&&(m._startTime===m._timeline._duration&&(t=0),(w<0||t<=0&&t>=-1e-8||w===a&&"isPause"!==m.data)&&w!==t&&(i=!0,w>a&&(o="onReverseComplete")),m._rawPrevTime=f=!e||t||w===t?t:a)):t0)&&(o="onReverseComplete",n=m._reversed),t>-1e-8?t=0:t<0&&(m._active=!1,0===T&&(m._initted||!m.vars.lazy||i)&&(w>=0&&(i=!0),m._rawPrevTime=f=!e||t||w===t?t:a)),m._initted||(i=!0)):(m._totalTime=m._time=t,0!==m._repeat&&(u=T+m._repeatDelay,m._cycle=m._totalTime/u>>0,0!==m._cycle&&m._cycle===m._totalTime/u&&v<=t&&m._cycle--,m._time=m._totalTime-m._cycle*u,m._yoyo&&0!==(1&m._cycle)&&(m._time=T-m._time,(d=m._yoyoEase||m.vars.yoyoEase)&&(m._yoyoEase||(!0!==d||m._initted?m._yoyoEase=d=!0===d?m._ease:d instanceof r.SX?d:r.SX.map[d]:(d=m.vars.ease,m._yoyoEase=d=d?d instanceof r.SX?d:"function"===typeof d?new r.SX(d,m.vars.easeParams):r.SX.map[d]||r.ZP.defaultEase:r.ZP.defaultEase)),m.ratio=d?1-d.getRatio((T-m._time)/T):0)),m._time>T?m._time=T:m._time<0&&(m._time=0)),m._easeType&&!d?(_=m._time/T,(1===(c=m._easeType)||3===c&&_>=.5)&&(_=1-_),3===c&&(_*=2),1===(h=m._easePower)?_*=_:2===h?_*=_*_:3===h?_*=_*_*_:4===h&&(_*=_*_*_*_),m.ratio=1===c?1-_:2===c?_:m._time/T<.5?_/2:1-_/2):d||(m.ratio=m._ease.getRatio(m._time/T))),g!==m._time||i||y!==m._cycle){if(!m._initted){if(m._init(),!m._initted||m._gc)return;if(!i&&m._firstPT&&(!1!==m.vars.lazy&&m._duration||m.vars.lazy&&!m._duration))return m._time=g,m._totalTime=v,m._rawPrevTime=w,m._cycle=y,s.lazyTweens.push(m),void(m._lazy=[t,e]);!m._time||n||d?n&&this._ease._calcEnd&&!d&&(m.ratio=m._ease.getRatio(0===m._time?0:1)):m.ratio=m._ease.getRatio(m._time/T)}for(!1!==m._lazy&&(m._lazy=!1),m._active||!m._paused&&m._time!==g&&t>=0&&(m._active=!0),0===v&&(2===m._initted&&t>0&&m._init(),m._startAt&&(t>=0?m._startAt.render(t,!0,i):o||(o="_dummyGS")),m.vars.onStart&&(0===m._totalTime&&0!==T||e||m._callback("onStart"))),l=m._firstPT;l;)l.f?l.t[l.p](l.c*m.ratio+l.s):l.t[l.p]=l.c*m.ratio+l.s,l=l._next;m._onUpdate&&(t<0&&m._startAt&&m._startTime&&m._startAt.render(t,!0,i),e||(m._totalTime!==v||o)&&m._callback("onUpdate")),m._cycle!==y&&(e||m._gc||m.vars.onRepeat&&m._callback("onRepeat")),o&&(m._gc&&!i||(t<0&&m._startAt&&!m._onUpdate&&m._startTime&&m._startAt.render(t,!0,i),n&&(m._timeline.autoRemoveChildren&&m._enabled(!1,!1),m._active=!1),!e&&m.vars[o]&&m._callback(o),0===T&&m._rawPrevTime===a&&f!==a&&(m._rawPrevTime=0)))}else v!==m._totalTime&&m._onUpdate&&(e||m._callback("onUpdate"))},n.to=function(t,e,i){return new n(t,e,i)},n.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new n(t,e,i)},n.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new n(t,e,r)},n.staggerTo=n.allTo=function(a,s,u,c,h,f,d){var m,p,g,v,y=[],T=i(u.stagger||c),w=u.cycle,b=(u.startAt||_).cycle;for(l(a)||("string"===typeof a&&(a=r.ZP.selector(a)||a),o(a)&&(a=t(a))),m=(a=a||[]).length-1,g=0;g<=m;g++){for(v in p={},u)p[v]=u[v];if(w&&(e(p,a,g),null!=p.duration&&(s=p.duration,delete p.duration)),b){for(v in b=p.startAt={},u.startAt)b[v]=u.startAt[v];e(p.startAt,a,g)}p.delay=T(g,a[g],a)+(p.delay||0),g===m&&h&&(p.onComplete=function(){u.onComplete&&u.onComplete.apply(u.onCompleteScope||this,arguments),h.apply(d||u.callbackScope||this,f||_)}),y[g]=new n(a[g],s,p)}return y},n.staggerFrom=n.allFrom=function(t,e,i,r,a,s,o){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,n.staggerTo(t,e,i,r,a,s,o)},n.staggerFromTo=n.allFromTo=function(t,e,i,r,a,s,o,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,n.staggerTo(t,e,r,a,s,o,l)},n.delayedCall=function(t,e,i,r,a){return new n(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:a,overwrite:0})},n.set=function(t,e){return new n(t,0,e)},n.isTweening=function(t){return r.ZP.getTweensOf(t,!0).length>0};var c=function(t,e){for(var i=[],n=0,a=t._first;a;)a instanceof r.ZP?i[n++]=a:(e&&(i[n++]=a),n=(i=i.concat(c(a,e))).length),a=a._next;return i},h=n.getAllTweens=function(t){return c(r.fw._rootTimeline,t).concat(c(r.fw._rootFramesTimeline,t))};n.killAll=function(t,e,i,n){null==e&&(e=!0),null==i&&(i=!0);var a,s,o,l=h(0!=n),u=l.length,_=e&&i&&n;for(o=0;o-1;)n.killChildTweensOf(e[c],i);else{for(_ in a=[],f)for(u=f[_].target.parentNode;u;)u===e&&(a=a.concat(f[_].tweens)),u=u.parentNode;for(h=a.length,c=0;c-1;)s=o[u],(l||s instanceof r.MQ||(a=s.target===s.vars.onComplete)&&i||e&&!a)&&s.paused(t)};return n.pauseAll=function(t,e,i){f(!0,t,e,i)},n.resumeAll=function(t,e,i){f(!1,t,e,i)},n.globalTimeScale=function(t){var e=r.fw._rootTimeline,i=r.ZP.ticker.time;return arguments.length?(t=t||a,e._startTime=i-(i-e._startTime)*e._timeScale/t,e=r.fw._rootFramesTimeline,i=r.ZP.ticker.frame,e._startTime=i-(i-e._startTime)*e._timeScale/t,e._timeScale=r.fw._rootTimeline._timeScale=t,t):e._timeScale},u.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},u.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},u.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,n=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},u.duration=function(t){return arguments.length?r.fw.prototype.duration.call(this,t):this._duration},u.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-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)},u.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},u.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},u.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},n}),!0);var s=r.li.TweenMax,o=i(9975),l=r.ML._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,r){var n,a;if("function"!==typeof t.setAttribute)return!1;for(n in e)"function"===typeof(a=e[n])&&(a=a(r,t)),this._addTween(t,"setAttribute",t.getAttribute(n)+"",a+"",n,!1,n),this._overwriteProps.push(n);return!0}}),u=r.ML._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),_=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(i){return(Math.round(i/t)*t*e|0)/e}},c=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},h=u.prototype;h._onInitAllProps=function(){var t,e,i,r,n=this._tween,a=n.vars.roundProps,s={},o=n._propLookup.roundProps;if("object"!==typeof a||a.push)for("string"===typeof a&&(a=a.split(",")),i=a.length;--i>-1;)s[a[i]]=Math.round;else for(r in a)s[r]=_(a[r]);for(r in s)for(t=n._firstPT;t;)e=t._next,t.pg?t.t._mod(s):t.n===r&&(2===t.f&&t.t?c(t.t._firstPT,s[r]):(this._add(t.t,r,t.s,t.c,s[r]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:n._firstPT===t&&(n._firstPT=e),t._next=t._prev=null,n._propLookup[r]=o)),t=e;return!1},h._add=function(t,e,i,r,n){this._addTween(t,e,i,i+r,e,n||Math.round),this._overwriteProps.push(e)};var f=r.ML._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,r){"object"!==typeof e&&(e={rotation:e}),this.finals={};var n,a,s,o,l,u,_=!0===e.useRadians?2*Math.PI:360,c=1e-6;for(n in e)"useRadians"!==n&&("function"===typeof(o=e[n])&&(o=o(r,t)),a=(u=(o+"").split("_"))[0],s=parseFloat("function"!==typeof t[n]?t[n]:t[n.indexOf("set")||"function"!==typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]()),l=(o=this.finals[n]="string"===typeof a&&"="===a.charAt(1)?s+parseInt(a.charAt(0)+"1",10)*Number(a.substr(2)):Number(a)||0)-s,u.length&&(-1!==(a=u.join("_")).indexOf("short")&&(l%=_)!==l%(_/2)&&(l=l<0?l+_:l-_),-1!==a.indexOf("_cw")&&l<0?l=(l+9999999999*_)%_-(l/_|0)*_:-1!==a.indexOf("ccw")&&l>0&&(l=(l-9999999999*_)%_-(l/_|0)*_)),(l>c||l<-c)&&(this._addTween(t,n,s,s+l,n),this._overwriteProps.push(n)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}});f._autoCSS=!0;var d=180/Math.PI,m=[],p=[],g=[],v={},y=r.ML._gsDefine.globals,T=function(t,e,i,r){i===r&&(i=r-(r-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=r,this.da=r-t,this.ca=i-t,this.ba=e-t},w=function(t,e,i,r){var n={a:t},a={},s={},o={c:r},l=(t+e)/2,u=(e+i)/2,_=(i+r)/2,c=(l+u)/2,h=(u+_)/2,f=(h-c)/8;return n.b=l+(t-l)/4,a.b=c+f,n.c=a.a=(n.b+a.b)/2,a.c=s.a=(c+h)/2,s.b=h-f,o.b=_+(r-_)/4,s.c=o.a=(s.b+o.b)/2,[n,a,s,o]},b=function(t,e,i,r,n){var a,s,o,l,u,_,c,h,f,d,v,y,T,b=t.length-1,P=0,S=t[0].a;for(a=0;a-1;)"string"===typeof(u=t[a][e])&&"="===u.charAt(1)&&(t[a][e]=r[e]+Number(u.charAt(0)+u.substr(2)));if((n=t.length-2)<0)return _[0]=new T(t[0][e],0,0,t[0][e]),_;for(a=0;a1){for(f=t[t.length-1],h=!0,s=y.length;--s>-1;)if(o=y[s],Math.abs(T[o]-f[o])>.05){h=!1;break}h&&(t=t.concat(),a&&t.unshift(a),t.push(t[1]),a=t[t.length-3])}for(m.length=p.length=g.length=0,s=y.length;--s>-1;)o=y[s],v[o]=-1!==n.indexOf(","+o+","),d[o]=P(t,o,v[o],a);for(s=m.length;--s>-1;)m[s]=Math.sqrt(m[s]),p[s]=Math.sqrt(p[s]);if(!r){for(s=y.length;--s>-1;)if(v[o])for(c=(l=d[y[s]]).length-1,u=0;u-1;)g[s]=Math.sqrt(g[s])}for(s=y.length,u=i?4:1;--s>-1;)l=d[o=y[s]],b(l,e,i,r,v[o]),h&&(l.splice(0,u),l.splice(l.length-u,u));return d},k=function(t,e,i){for(var r,n,a,s,o,l,u,_,c,h,f,d=1/i,m=t.length;--m>-1;)for(a=(h=t[m]).a,s=h.d-a,o=h.c-a,l=h.b-a,r=n=0,_=1;_<=i;_++)r=n-(n=((u=d*_)*u*s+3*(c=1-u)*(u*o+c*l))*u),e[f=m*i+_-1]=(e[f]||0)+r*r},R=r.ML._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var r,n,a,s,o,l=e.values||[],u={},_=l[0],c=e.autoRotate||i.vars.orientToBezier;for(r in this._autoRotate=c?c instanceof Array?c:[["x","y","rotation",!0===c?0:Number(c)||0]]:null,_)this._props.push(r);for(a=this._props.length;--a>-1;)r=this._props[a],this._overwriteProps.push(r),n=this._func[r]="function"===typeof t[r],u[r]=n?t[r.indexOf("set")||"function"!==typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),o||u[r]!==l[0][r]&&(o=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?S(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,o):function(t,e,i){var r,n,a,s,o,l,u,_,c,h,f,d={},m="cubic"===(e=e||"soft")?3:2,p="soft"===e,g=[];if(p&&i&&(t=[i].concat(t)),null==t||t.length-1;){for(d[c=g[l]]=o=[],h=0,_=t.length,u=0;u<_;u++)r=null==i?t[u][c]:"string"===typeof(f=t[u][c])&&"="===f.charAt(1)?i[c]+Number(f.charAt(0)+f.substr(2)):Number(f),p&&u>1&&u<_-1&&(o[h++]=(r+o[h-2])/2),o[h++]=r;for(_=h-m+1,h=0,u=0;u<_;u+=m)r=o[u],n=o[u+1],a=o[u+2],s=2===m?0:o[u+3],o[h++]=f=3===m?new T(r,n,a,s):new T(r,(2*n+r)/3,(2*n+a)/3,a);o.length=h}return d}(l,e.type,u),this._segCount=this._beziers[r].length,this._timeRes){var h=function(t,e){var i,r,n,a,s=[],o=[],l=0,u=0,_=(e=e>>0||6)-1,c=[],h=[];for(i in t)k(t[i],s,e);for(n=s.length,r=0;r>0]=h,o[a]=u,l=0,h=[]);return{length:u,lengths:o,segments:c}}(this._beziers,this._timeRes);this._length=h.length,this._lengths=h.lengths,this._segments=h.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(c=this._autoRotate)for(this._initialRotations=[],c[0]instanceof Array||(this._autoRotate=c=[c]),a=c.length;--a>-1;){for(s=0;s<3;s++)r=c[a][s],this._func[r]="function"===typeof t[r]&&t[r.indexOf("set")||"function"!==typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)];r=c[a][2],this._initialRotations[a]=(this._func[r]?this._func[r].call(this._target):this._target[r])||0,this._overwriteProps.push(r)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,r,n,a,s,o,l,u,_,c,h=this._segCount,f=this._func,m=this._target,p=t!==this._startRatio;if(this._timeRes){if(u=this._lengths,_=this._curSeg,c=t*this._length,r=this._li,c>this._l2&&r0){for(;r>0&&(this._l1=u[--r])>=c;);0===r&&cthis._s2&&r<_.length-1){for(l=_.length-1;r0){for(;r>0&&(this._s1=_[--r])>=c;);0===r&&c=1?h-1:h*t>>0)*(1/h))*h;for(i=1-s,r=this._props.length;--r>-1;)n=this._props[r],o=(s*s*(a=this._beziers[n][e]).da+3*i*(s*a.ca+i*a.ba))*s+a.a,this._mod[n]&&(o=this._mod[n](o,m)),f[n]?m[n](o):m[n]=o;if(this._autoRotate){var g,v,y,T,w,b,P,S=this._autoRotate;for(r=S.length;--r>-1;)n=S[r][2],b=S[r][3]||0,P=!0===S[r][4]?1:d,a=this._beziers[S[r][0]],g=this._beziers[S[r][1]],a&&g&&(a=a[e],g=g[e],v=a.a+(a.b-a.a)*s,v+=((T=a.b+(a.c-a.b)*s)-v)*s,T+=(a.c+(a.d-a.c)*s-T)*s,y=g.a+(g.b-g.a)*s,y+=((w=g.b+(g.c-g.b)*s)-y)*s,w+=(g.c+(g.d-g.c)*s-w)*s,o=p?Math.atan2(w-y,T-v)*P+b:this._initialRotations[r],this._mod[n]&&(o=this._mod[n](o,m)),f[n]?m[n](o):m[n]=o)}}}),C=R.prototype;R.bezierThrough=S,R.cubicToQuadratic=w,R._autoCSS=!0,R.quadraticToCubic=function(t,e,i){return new T(t,(2*e+t)/3,(2*e+i)/3,i)},R._cssRegister=function(){var t=y.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,r=e._setPluginRatio,n=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,a,s,o,l){e instanceof Array&&(e={values:e}),l=new R;var u,_,c,h=e.values,f=h.length-1,d=[],m={};if(f<0)return o;for(u=0;u<=f;u++)c=i(t,h[u],s,o,l,f!==u),d[u]=c.end;for(_ in e)m[_]=e[_];return m.values=d,(o=new n(t,"bezier",0,0,c.pt,2)).data=c,o.plugin=l,o.setRatio=r,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(u=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=c.end.left?[["left","top","rotation",u,!1]]:null!=c.end.x&&[["x","y","rotation",u,!1]]),m.autoRotate&&(s._transform||s._enableTransforms(!1),c.autoRotate=s._target._gsTransform,c.proxy.rotation=c.autoRotate.rotation||0,s._overwriteProps.push("rotation")),l._onInitTween(c.proxy,m,s._tween),o}})}},C._mod=function(t){for(var e,i=this._overwriteProps,r=i.length;--r>-1;)(e=t[i[r]])&&"function"===typeof e&&(this._mod[i[r]]=e)},C._kill=function(t){var e,i,r=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=r.length;--i>-1;)r[i]===e&&r.splice(i,1);if(r=this._autoRotate)for(i=r.length;--i>-1;)t[r[i][2]]&&r.splice(i,1);return this._super._kill.call(this,t)},r.ML._gsDefine("easing.Back",["easing.Ease"],(function(){var t,e,i,n,a=r.ML.GreenSockGlobals||r.ML,s=a.com.greensock,o=2*Math.PI,l=Math.PI/2,u=s._class,_=function(t,e){var i=u("easing."+t,(function(){}),!0),n=i.prototype=new r.SX;return n.constructor=i,n.getRatio=e,i},c=r.SX.register||function(){},h=function(t,e,i,r,n){var a=u("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return c(a,t),a},f=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},d=function(t,e){var i=u("easing."+t,(function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1}),!0),n=i.prototype=new r.SX;return n.constructor=i,n.getRatio=e,n.config=function(t){return new i(t)},i},m=h("Back",d("BackOut",(function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1})),d("BackIn",(function(t){return t*t*((this._p1+1)*t-this._p1)})),d("BackInOut",(function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)}))),p=u("easing.SlowMo",(function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i}),!0),g=p.prototype=new r.SX;return g.constructor=p,g.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},p.ease=new p(.7,.7),g.config=p.config=function(t,e,i){return new p(t,e,i)},(g=(t=u("easing.SteppedEase",(function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0}),!0)).prototype=new r.SX).constructor=t,g.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=t.config=function(e,i){return new t(e,i)},(g=(e=u("easing.ExpoScaleEase",(function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i}),!0)).prototype=new r.SX).constructor=e,g.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},g.config=e.config=function(t,i,r){return new e(t,i,r)},(g=(i=u("easing.RoughEase",(function(t){for(var e,i,n,a,s,o,l=(t=t||{}).taper||"none",u=[],_=0,c=0|(t.points||20),h=c,d=!1!==t.randomize,m=!0===t.clamp,p=t.template instanceof r.SX?t.template:null,g="number"===typeof t.strength?.4*t.strength:.4;--h>-1;)e=d?Math.random():1/c*h,i=p?p.getRatio(e):e,n="none"===l?g:"out"===l?(a=1-e)*a*g:"in"===l?e*e*g:e<.5?(a=2*e)*a*.5*g:(a=2*(1-e))*a*.5*g,d?i+=Math.random()*n-.5*n:h%2?i+=.5*n:i-=.5*n,m&&(i>1?i=1:i<0&&(i=0)),u[_++]={x:e,y:i};for(u.sort((function(t,e){return t.x-e.x})),o=new f(1,1,null),h=c;--h>-1;)s=u[h],o=new f(s.x,s.y,o);this._prev=new f(0,0,0!==o.t?o:o.next)}),!0)).prototype=new r.SX).constructor=i,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new i(t)},i.ease=new i,h("Bounce",_("BounceOut",(function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375})),_("BounceIn",(function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)})),_("BounceInOut",(function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5}))),h("Circ",_("CircOut",(function(t){return Math.sqrt(1-(t-=1)*t)})),_("CircIn",(function(t){return-(Math.sqrt(1-t*t)-1)})),_("CircInOut",(function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}))),n=function(t,e,i){var n=u("easing."+t,(function(t,e){this._p1=t>=1?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/o*(Math.asin(1/this._p1)||0),this._p2=o/this._p2}),!0),a=n.prototype=new r.SX;return a.constructor=n,a.getRatio=e,a.config=function(t,e){return new n(t,e)},n},h("Elastic",n("ElasticOut",(function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1}),.3),n("ElasticIn",(function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)}),.3),n("ElasticInOut",(function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1}),.45)),h("Expo",_("ExpoOut",(function(t){return 1-Math.pow(2,-10*t)})),_("ExpoIn",(function(t){return Math.pow(2,10*(t-1))-.001})),_("ExpoInOut",(function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))}))),h("Sine",_("SineOut",(function(t){return Math.sin(t*l)})),_("SineIn",(function(t){return 1-Math.cos(t*l)})),_("SineInOut",(function(t){return-.5*(Math.cos(Math.PI*t)-1)}))),u("easing.EaseLookup",{find:function(t){return r.SX.map[t]}},!0),c(a.SlowMo,"SlowMo","ease,"),c(i,"RoughEase","ease,"),c(t,"SteppedEase","ease,"),m}),!0);var x=r.li.Back,A=r.li.Elastic,D=r.li.Bounce,E=r.li.RoughEase,O=r.li.SlowMo,L=r.li.SteppedEase,M=r.li.Circ,I=r.li.Expo,z=r.li.Sine,F=r.li.ExpoScaleEase,N=s;N._autoActivated=[n,a,o.Z,l,R,u,f,x,A,D,E,O,L,M,I,z,F]},45650:function(t,e,i){var r,n,a,s=t.exports&&"undefined"!==typeof i.g?i.g:this||window;(s._gsQueue||(s._gsQueue=[])).push((function(){"use strict";s._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(t,e,i){var r=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},n=1e-8,a=e._internals,o=a.lazyTweens,l=a.lazyRender,u=s._gsDefine.globals,_=new i(null,null,1,0),c=r.prototype=new t;return c.constructor=r,c.kill()._gc=!1,r.version="2.1.3",c.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},c.addCallback=function(t,i,r,n){return this.add(e.delayedCall(0,t,r,n),i)},c.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),r=i.length,n=this._parseTimeOrLabel(e);--r>-1;)i[r]._startTime===n&&i[r]._enabled(!1,!1);return this},c.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},c.tweenTo=function(t,i){i=i||{};var r,n,a,s={ease:_,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},o=i.repeat&&u.TweenMax||e;for(n in i)s[n]=i[n];return s.time=this._parseTimeOrLabel(t),r=Math.abs(Number(s.time)-this._time)/this._timeScale||.001,a=new o(this,r,s),s.onStart=function(){a.target.paused(!0),a.vars.time===a.target.time()||r!==a.duration()||a.isFromTo||a.duration(Math.abs(a.vars.time-a.target.time())/a.target._timeScale).render(a.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||a,i.onStartParams||[])},a},c.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var r=this.tweenTo(e,i);return r.isFromTo=1,r.duration(Math.abs(r.vars.time-t)/this._timeScale||.001)},c.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,a,s,u,_,c,h,f,d,m=this,p=m._time,g=m._dirty?m.totalDuration():m._totalDuration,v=m._duration,y=m._totalTime,T=m._startTime,w=m._timeScale,b=m._rawPrevTime,P=m._paused,S=m._cycle;if(p!==m._time&&(t+=m._time-p),t>=g-n&&t>=0)m._locked||(m._totalTime=g,m._cycle=m._repeat),m._reversed||m._hasPausedChild()||(a=!0,u="onComplete",_=!!m._timeline.autoRemoveChildren,0===m._duration&&(t<=0&&t>=-1e-8||b<0||b===n)&&b!==t&&m._first&&(_=!0,b>n&&(u="onReverseComplete"))),m._rawPrevTime=m._duration||!e||t||m._rawPrevTime===t?t:n,m._yoyo&&1&m._cycle?m._time=t=0:(m._time=v,t=v+1e-4);else if(t-1e-8&&(t=0),(0!==p||0===v&&b!==n&&(b>0||t<0&&b>=0)&&!m._locked)&&(u="onReverseComplete",a=m._reversed),t<0)m._active=!1,m._timeline.autoRemoveChildren&&m._reversed?(_=a=!0,u="onReverseComplete"):b>=0&&m._first&&(_=!0),m._rawPrevTime=t;else{if(m._rawPrevTime=v||!e||t||m._rawPrevTime===t?t:n,0===t&&a)for(r=m._first;r&&0===r._startTime;)r._duration||(a=!1),r=r._next;t=0,m._initted||(_=!0)}else 0===v&&b<0&&(_=!0),m._time=m._rawPrevTime=t,m._locked||(m._totalTime=t,0!==m._repeat&&(c=v+m._repeatDelay,m._cycle=m._totalTime/c>>0,m._cycle&&m._cycle===m._totalTime/c&&y<=t&&m._cycle--,m._time=m._totalTime-m._cycle*c,m._yoyo&&1&m._cycle&&(m._time=v-m._time),m._time>v?(m._time=v,t=v+1e-4):m._time<0?m._time=t=0:t=m._time));if(m._hasPause&&!m._forcingPlayhead&&!e){if((t=m._time)>p||m._repeat&&S!==m._cycle)for(r=m._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===m._rawPrevTime||(h=r),r=r._next;else for(r=m._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&(d=m._startTime+(m._reversed?m._duration-h._startTime:h._startTime)/m._timeScale,h._startTime0&&(m._active=!0),0===y&&m.vars.onStart&&(0===m._totalTime&&m._totalDuration||e||m._callback("onStart")),(f=m._time)>=p)for(r=m._first;r&&(s=r._next,f===m._time&&(!m._paused||P));)(r._active||r._startTime<=m._time&&!r._paused&&!r._gc)&&(h===r&&(m.pause(),m._pauseTime=d),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s;else for(r=m._last;r&&(s=r._prev,f===m._time&&(!m._paused||P));){if(r._active||r._startTime<=p&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>m._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,m.pause(),m._pauseTime=d}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=s}m._onUpdate&&(e||(o.length&&l(),m._callback("onUpdate"))),u&&(m._locked||m._gc||T!==m._startTime&&w===m._timeScale||(0===m._time||g>=m.totalDuration())&&(a&&(o.length&&l(),m._timeline.autoRemoveChildren&&m._enabled(!1,!1),m._active=!1),!e&&m.vars[u]&&m._callback(u)))}else y!==m._totalTime&&m._onUpdate&&(e||m._callback("onUpdate"))},c.getActive=function(t,e,i){var r,n,a=[],s=this.getChildren(t||null==t,e||null==t,!!i),o=0,l=s.length;for(r=0;rt)return i[e].name;return null},c.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].timei&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},c.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},c.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},c.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},c.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+n)},r}),!0),s._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(t,e,i){var r=function(t){e.call(this,t);var i,r,n=this,a=n.vars;for(r in n._labels={},n.autoRemoveChildren=!!a.autoRemoveChildren,n.smoothChildTiming=!!a.smoothChildTiming,n._sortChildren=!0,n._onUpdate=a.onUpdate,a)i=a[r],u(i)&&-1!==i.join("").indexOf("{self}")&&(a[r]=n._swapSelfInParams(i));u(a.tweens)&&n.add(a.tweens,0,a.align,a.stagger)},n=1e-8,a=i._internals,o=r._internals={},l=a.isSelector,u=a.isArray,_=a.lazyTweens,c=a.lazyRender,h=s._gsDefine.globals,f=function(t){var e,i={};for(e in t)i[e]=t[e];return i},d=function(t,e,i){var r,n,a=t.cycle;for(r in a)n=a[r],t[r]="function"===typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},m=o.pauseCallback=function(){},p=function(t,e,i,r){var n="immediateRender";return n in e||(e[n]=!(i&&!1===i[n]||r)),e},g=function(t){if("function"===typeof t)return t;var e="object"===typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,a={},s=isNaN(r),o=e.axis,l={center:.5,end:1}[r]||0;return function(t,u,_){var c,h,f,d,m,p,g,v,y,T=(_||e).length,w=a[T];if(!w){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=_[y++].getBoundingClientRect().left)&&yg&&(g=m),mT?T-1:o?"y"===o?T/y:y:Math.max(y,T/y))||0,w.b=T<0?n-T:n}return T=(w[t]-w.min)/w.max,w.b+(i?i.getRatio(T):T)*w.v}},v=r.prototype=new e;return r.version="2.1.3",r.distribute=g,v.constructor=r,v.kill()._gc=v._forcingPlayhead=v._hasPause=!1,v.to=function(t,e,r,n){var a=r.repeat&&h.TweenMax||i;return e?this.add(new a(t,e,r),n):this.set(t,r,n)},v.from=function(t,e,r,n){return this.add((r.repeat&&h.TweenMax||i).from(t,e,p(0,r)),n)},v.fromTo=function(t,e,r,n,a){var s=n.repeat&&h.TweenMax||i;return n=p(0,n,r),e?this.add(s.fromTo(t,e,r,n),a):this.set(t,n,a)},v.staggerTo=function(t,e,n,a,s,o,u,_){var c,h,m=new r({onComplete:o,onCompleteParams:u,callbackScope:_,smoothChildTiming:this.smoothChildTiming}),p=g(n.stagger||a),v=n.startAt,y=n.cycle;for("string"===typeof t&&(t=i.selector(t)||t),l(t=t||[])&&(t=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i}(t)),h=0;h1e-5)&&n.render(l,!1,!1)),(m._gc||m._time===m._duration)&&!m._paused&&m._durationn._startTime;f._timeline;)d&&f._timeline.smoothChildTiming?f.totalTime(f._totalTime,!0):f._gc&&f._enabled(!0,!1),f=f._timeline;return m},v.remove=function(e){if(e instanceof t){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&u(e)){for(var r=e.length;--r>-1;)this.remove(e[r]);return this}return"string"===typeof e?this.removeLabel(e):this.kill(null,e)},v._remove=function(t,i){return e.prototype._remove.call(this,t,i),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},v.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},v.insert=v.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},v.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},v.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},v.addPause=function(t,e,r,n){var a=i.delayedCall(0,m,r,n||this);return a.vars.onComplete=a.vars.onReverseComplete=e,a.data="isPause",this._hasPause=!0,this.add(a,t)},v.removeLabel=function(t){return delete this._labels[t],this},v.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},v._parseTimeOrLabel=function(e,i,r,n){var a,s;if(n instanceof t&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&u(n)))for(s=n.length;--s>-1;)n[s]instanceof t&&n[s].timeline===this&&this.remove(n[s]);if(a="number"!==typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"===typeof i)return this._parseTimeOrLabel(i,r&&"number"===typeof e&&null==this._labels[i]?e-a:0,r);if(i=i||0,"string"!==typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=a);else{if(-1===(s=e.indexOf("=")))return null==this._labels[e]?r?this._labels[e]=a+i:i:this._labels[e]+i;i=parseInt(e.charAt(s-1)+"1",10)*Number(e.substr(s+1)),e=s>1?this._parseTimeOrLabel(e.substr(0,s-1),0,r):a}return Number(e)+i},v.seek=function(t,e){return this.totalTime("number"===typeof t?t:this._parseTimeOrLabel(t),!1!==e)},v.stop=function(){return this.paused(!0)},v.gotoAndPlay=function(t,e){return this.play(t,e)},v.gotoAndStop=function(t,e){return this.pause(t,e)},v.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,a,s,o,l,u,h,f,d=this,m=d._time,p=d._dirty?d.totalDuration():d._totalDuration,g=d._startTime,v=d._timeScale,y=d._paused;if(m!==d._time&&(t+=d._time-m),d._hasPause&&!d._forcingPlayhead&&!e){if(t>m)for(r=d._first;r&&r._startTime<=t&&!u;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===d._rawPrevTime||(u=r),r=r._next;else for(r=d._last;r&&r._startTime>=t&&!u;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(u=r),r=r._prev;u&&(d._time=d._totalTime=t=u._startTime,f=d._startTime+(d._reversed?d._duration-t:t)/d._timeScale)}if(t>=p-n&&t>=0)d._totalTime=d._time=p,d._reversed||d._hasPausedChild()||(a=!0,o="onComplete",l=!!d._timeline.autoRemoveChildren,0===d._duration&&(t<=0&&t>=-1e-8||d._rawPrevTime<0||d._rawPrevTime===n)&&d._rawPrevTime!==t&&d._first&&(l=!0,d._rawPrevTime>n&&(o="onReverseComplete"))),d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,t=p+1e-4;else if(t-1e-8&&(t=0),(0!==m||0===d._duration&&d._rawPrevTime!==n&&(d._rawPrevTime>0||t<0&&d._rawPrevTime>=0))&&(o="onReverseComplete",a=d._reversed),t<0)d._active=!1,d._timeline.autoRemoveChildren&&d._reversed?(l=a=!0,o="onReverseComplete"):d._rawPrevTime>=0&&d._first&&(l=!0),d._rawPrevTime=t;else{if(d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,0===t&&a)for(r=d._first;r&&0===r._startTime;)r._duration||(a=!1),r=r._next;t=0,d._initted||(l=!0)}else d._totalTime=d._time=d._rawPrevTime=t;if(d._time!==m&&d._first||i||l||u){if(d._initted||(d._initted=!0),d._active||!d._paused&&d._time!==m&&t>0&&(d._active=!0),0===m&&d.vars.onStart&&(0===d._time&&d._duration||e||d._callback("onStart")),(h=d._time)>=m)for(r=d._first;r&&(s=r._next,h===d._time&&(!d._paused||y));)(r._active||r._startTime<=h&&!r._paused&&!r._gc)&&(u===r&&(d.pause(),d._pauseTime=f),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s;else for(r=d._last;r&&(s=r._prev,h===d._time&&(!d._paused||y));){if(r._active||r._startTime<=m&&!r._paused&&!r._gc){if(u===r){for(u=r._prev;u&&u.endTime()>d._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,i),u=u._prev;u=null,d.pause(),d._pauseTime=f}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=s}d._onUpdate&&(e||(_.length&&c(),d._callback("onUpdate"))),o&&(d._gc||g!==d._startTime&&v===d._timeScale||(0===d._time||p>=d.totalDuration())&&(a&&(_.length&&c(),d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[o]&&d._callback(o)))}},v._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof r&&t._hasPausedChild())return!0;t=t._next}return!1},v.getChildren=function(t,e,r,n){n=n||-9999999999;for(var a=[],s=this._first,o=0;s;)s._startTime-1;)(r[n].timeline===this||e&&this._contains(r[n]))&&(s[o++]=r[n]);return a&&this._enabled(!1,!0),s},v.recent=function(){return this._recent},v._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},v.shiftChildren=function(t,e,i){i=i||0;for(var r,n=this._first,a=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in a)a[r]>=i&&(a[r]+=t);return this._uncache(!0)},v._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},v.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},v.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},v._enabled=function(t,i){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return e.prototype._enabled.call(this,t,i)},v.totalTime=function(e,i,r){this._forcingPlayhead=!0;var n=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},v.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},v.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,n=this,a=n._last,s=999999999999;a;)e=a._prev,a._dirty&&a.totalDuration(),a._startTime>s&&n._sortChildren&&!a._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(a,a._startTime-a._delay),n._calculatingDuration=0):s=a._startTime,a._startTime<0&&!a._paused&&(r-=a._startTime,n._timeline.smoothChildTiming&&(n._startTime+=a._startTime/n._timeScale,n._time-=a._startTime,n._totalTime-=a._startTime,n._rawPrevTime-=a._startTime),n.shiftChildren(-a._startTime,!1,-9999999999),s=0),(i=a._startTime+a._totalDuration/a._timeScale)>r&&(r=i),a=e;n._duration=n._totalDuration=r,n._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},v.paused=function(e){if(!1===e&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},v.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},v.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},r}),!0)})),s._gsDefine&&s._gsQueue.pop()(),function(o){"use strict";var l=function(){return(s.GreenSockGlobals||s).TimelineMax};t.exports?(i(79415),t.exports=l()):(n=[i(79415)],void 0===(a="function"===typeof(r=l)?r.apply(e,n):r)||(t.exports=a))}()},79415:function(t,e,i){var r;!function(i,n){"use strict";var a={},s=i.document,o=i.GreenSockGlobals=i.GreenSockGlobals||i,l=o.TweenLite;if(l)return t.exports&&(t.exports=l),l;var u,_,c,h,f,d=function(t){var e,i=t.split("."),r=o;for(e=0;e-1;)(h=T[s[g]]||new w(s[g],[])).gsClass?(_[g]=h.gsClass,v--):c&&h.sc.push(this);if(0===v&&l){if(m=(f=("com.greensock."+i).split(".")).pop(),p=d(f.join("."))[m]=this.gsClass=l.apply(l,_),u)if(o[m]=a[m]=p,t.exports)if(i===n)for(g in t.exports=a.TweenLite=p,a)p[g]=a[g];else a.TweenLite&&(a.TweenLite[m]=p);else void 0===(r=function(){return p}.apply(e,[]))||(t.exports=r);for(g=0;g-1;)for(a=l[u],n=r?P("easing."+a,null,!0):m.easing[a]||{},s=_.length;--s>-1;)o=_[s],R[a+"."+o]=R[o+a]=n[o]=t.getRatio?t:t[o]||new t};for((c=k.prototype)._calcEnd=!1,c.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:t<.5?r/2:1-r/2},_=(u=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--_>-1;)c=u[_]+",Power"+_,C(new k(null,null,1,_),c,"easeOut",!0),C(new k(null,null,2,_),c,"easeIn"+(0===_?",easeNone":"")),C(new k(null,null,3,_),c,"easeInOut");R.linear=m.easing.Linear.easeIn,R.swing=m.easing.Quad.easeInOut;var x=P("events.EventDispatcher",(function(t){this._listeners={},this._eventTarget=t||this}));(c=x.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var a,s,o=this._listeners[t],l=0;for(this!==h||f||h.wake(),null==o&&(this._listeners[t]=o=[]),s=o.length;--s>-1;)(a=o[s]).c===e&&a.s===i?o.splice(s,1):0===l&&a.pr-1;)if(r[i].c===e)return void r.splice(i,1)},c.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for((e=n.length)>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var A=i.requestAnimationFrame,D=i.cancelAnimationFrame,E=Date.now||function(){return(new Date).getTime()},O=E();for(_=(u=["ms","moz","webkit","o"]).length;--_>-1&&!A;)A=i[u[_]+"RequestAnimationFrame"],D=i[u[_]+"CancelAnimationFrame"]||i[u[_]+"CancelRequestAnimationFrame"];P("Ticker",(function(t,e){var i,r,n,a,o,l=this,u=E(),_=!(!1===e||!A)&&"auto",c=500,d=33,m=function(t){var e,s,_=E()-O;_>c&&(u+=_-d),O+=_,l.time=(O-u)/1e3,e=l.time-o,(!i||e>0||!0===t)&&(l.frame++,o+=e+(e>=a?.004:a-e),s=!0),!0!==t&&(n=r(m)),s&&l.dispatchEvent("tick")};x.call(l),l.time=l.frame=0,l.tick=function(){m(!0)},l.lagSmoothing=function(t,e){if(!arguments.length)return c<1e8;c=t||1e8,d=Math.min(e,c,0)},l.sleep=function(){null!=n&&(_&&D?D(n):clearTimeout(n),r=v,n=null,l===h&&(f=!1))},l.wake=function(t){null!==n?l.sleep():t?u+=-O+(O=E()):l.frame>10&&(O=E()-c+5),r=0===i?v:_&&A?A:function(t){return setTimeout(t,1e3*(o-l.time)+1|0)},l===h&&(f=!0),m(2)},l.fps=function(t){if(!arguments.length)return i;a=1/((i=t)||60),o=this.time+a,l.wake()},l.useRAF=function(t){if(!arguments.length)return _;l.sleep(),_=t,l.fps(i)},l.fps(t),setTimeout((function(){"auto"===_&&l.frame<5&&"hidden"!==(s||{}).visibilityState&&l.useRAF(!1)}),1500)})),(c=m.Ticker.prototype=new m.events.EventDispatcher).constructor=m.Ticker;var L=P("core.Animation",(function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,K){f||h.wake();var i=this.vars.useFrames?J:K;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));h=L.ticker=new m.Ticker,(c=L.prototype)._dirty=c._gc=c._initted=c._paused=!1,c._totalTime=c._time=0,c._rawPrevTime=-1,c._next=c._last=c._onUpdate=c._timeline=c.timeline=null,c._paused=!1;var M=function(){f&&E()-O>2e3&&("hidden"!==(s||{}).visibilityState||!h.lagSmoothing())&&h.wake();var t=setTimeout(M,2e3);t.unref&&t.unref()};M(),c.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},c.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},c.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},c.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},c.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},c.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},c.render=function(t,e,i){},c.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},c.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t-1;)"{self}"===t[e]&&(i[e]=this);return i},c._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},c.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=y(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},c.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},c.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},c.totalTime=function(t,e,i){if(f||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(N.length&&et(),this.render(t,e,!1),N.length&&et())}return this},c.progress=c.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},c.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},c.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},c.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||p,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},c.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},c.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(f||t||h.wake(),i=(e=r.rawTime())-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var I=P("core.SimpleTimeline",(function(t){L.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0}));(c=I.prototype=new L).constructor=I,c.kill()._gc=!1,c._first=c._last=c._recent=null,c._sortChildren=!1,c.add=c.insert=function(t,e,i,r){var n,a;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(a=t._startTime;n&&n._startTime>a;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},c._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},c.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},c.rawTime=function(){return f||h.wake(),this._totalTime};var z=P("TweenLite",(function(t,e,r){if(L.call(this,e,r),this.render=z.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!==typeof t?t:z.selector(t)||t;var n,a,s,o=t.jquery||t.length&&t!==i&&t[0]&&(t[0]===i||t[0].nodeType&&t[0].style&&!t.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?Y[z.defaultOverwrite]:"number"===typeof l?l>>0:Y[l],(o||t instanceof Array||t.push&&y(t))&&"number"!==typeof t[0])for(this._targets=s=g(t),this._propLookup=[],this._siblings=[],n=0;n1&&nt(a,this,null,1,this._siblings[n])):"string"===typeof(a=s[n--]=z.selector(a))&&s.splice(n+1,1):s.splice(n--,1);else this._propLookup={},this._siblings=it(t,this,!1),1===l&&this._siblings.length>1&&nt(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))}),!0),F=function(t){return t&&t.length&&t!==i&&t[0]&&(t[0]===i||t[0].nodeType&&t[0].style&&!t.nodeType)};(c=z.prototype=new L).constructor=z,c.kill()._gc=!1,c.ratio=0,c._firstPT=c._targets=c._overwrittenProps=c._startAt=null,c._notifyPluginsOfEnabled=c._lazy=!1,z.version="2.1.3",z.defaultEase=c._ease=new k(null,null,1,1),z.defaultOverwrite="auto",z.ticker=h,z.autoSleep=120,z.lagSmoothing=function(t,e){h.lagSmoothing(t,e)},z.selector=i.$||i.jQuery||function(t){var e=i.$||i.jQuery;return e?(z.selector=e,e(t)):(s||(s=i.document),s?s.querySelectorAll?s.querySelectorAll(t):s.getElementById("#"===t.charAt(0)?t.substr(1):t):t)};var N=[],G={},U=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,B=/[\+-]=-?[\.\d]/,j=function(t){for(var e,i=this._firstPT,r=1e-6;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):e-r&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},q=function(t){return(1e3*t|0)/1e3+""},Z=function(t,e,i,r){var n,a,s,o,l,u,_,c=[],h=0,f="",d=0;for(c.start=t,c.end=e,t=c[0]=t+"",e=c[1]=e+"",i&&(i(c),t=c[0],e=c[1]),c.length=0,n=t.match(U)||[],a=e.match(U)||[],r&&(r._next=null,r.blob=1,c._firstPT=c._applyPT=r),l=a.length,o=0;o=tt){for(i in tt=h.frame+(parseInt(z.autoSleep,10)||120),W){for(t=(e=W[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete W[i]}if((!(i=K._first)||i._paused)&&z.autoSleep&&!J._first&&1===h._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||h.sleep()}}},h.addEventListener("tick",L._updateRoot);var it=function(t,e,i){var r,n,a=t._gsTweenID;if(W[a||(t._gsTweenID=a="t"+$++)]||(W[a]={target:t,tweens:[]}),e&&((r=W[a].tweens)[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return W[a].tweens},rt=function(t,e,i,r){var n,a,s=t.vars.onOverwrite;return s&&(n=s(t,e,i,r)),(s=z.onOverwrite)&&(a=s(t,e,i,r)),!1!==n&&!1!==a},nt=function(t,e,i,r,n){var a,s,o,l;if(1===r||r>=4){for(l=n.length,a=0;a-1;)(o=n[a])===e||o._gc||o._paused||(o._timeline!==e._timeline?(u=u||at(e,0,f),0===at(o,u,f)&&(c[h++]=o)):o._startTime<=_&&o._startTime+o.totalDuration()/o._timeScale>_&&((f||!o._initted)&&_-o._startTime<=2e-8||(c[h++]=o)));for(a=h;--a>-1;)if(l=(o=c[a])._firstPT,2===r&&o._kill(i,t,e)&&(s=!0),2!==r||!o._firstPT&&o._initted&&l){if(2!==r&&!rt(o,e))continue;o._enabled(!1,!1)&&(s=!0)}return s},at=function(t,e,i){for(var r=t._timeline,n=r._timeScale,a=t._startTime;r._timeline;){if(a+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return(a/=n)>e?a-e:i&&a===e||!t._initted&&a-e<2e-8?p:(a+=t.totalDuration()/t._timeScale/n)>e+p?0:a-e-p};c._init=function(){var t,e,i,r,n,a,s=this.vars,o=this._overwrittenProps,l=this._duration,u=!!s.immediateRender,_=s.ease,c=this._startAt;if(s.startAt){for(r in c&&(c.render(-1,!0),c.kill()),n={},s.startAt)n[r]=s.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=u&&!1!==s.lazy,n.startAt=n.delay=null,n.onUpdate=s.onUpdate,n.onUpdateParams=s.onUpdateParams,n.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=z.to(this.target||{},0,n),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(s.runBackwards&&0!==l)if(c)c.render(-1,!0),c.kill(),this._startAt=null;else{for(r in 0!==this._time&&(u=!1),i={},s)V[r]&&"autoCSS"!==r||(i[r]=s[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=u&&!1!==s.lazy,i.immediateRender=u,this._startAt=z.to(this.target,0,i),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=_=_?_ instanceof k?_:"function"===typeof _?new k(_,s.easeParams):R[_]||z.defaultEase:z.defaultEase,s.easeParams instanceof Array&&_.config&&(this._ease=_.config.apply(_,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(a=this._targets.length,t=0;t-1;)e[u._overwriteProps[o]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),_._next&&(_._next._prev=_)}else e[s]=Q.call(this,t,s,"get",c,s,0,null,this.vars.stringFilter,a);return n&&this._kill(n,t)?this._initProps(t,e,r,n,a):this._overwrite>1&&this._firstPT&&r.length>1&&nt(t,this,e,this._overwrite,r)?(this._kill(e,t),this._initProps(t,e,r,n,a)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(G[t._gsTweenID]=!0),l)},c.render=function(t,e,i){var r,n,a,s,o=this,l=o._time,u=o._duration,_=o._rawPrevTime;if(t>=u-p&&t>=0)o._totalTime=o._time=u,o.ratio=o._ease._calcEnd?o._ease.getRatio(1):1,o._reversed||(r=!0,n="onComplete",i=i||o._timeline.autoRemoveChildren),0===u&&(o._initted||!o.vars.lazy||i)&&(o._startTime===o._timeline._duration&&(t=0),(_<0||t<=0&&t>=-1e-8||_===p&&"isPause"!==o.data)&&_!==t&&(i=!0,_>p&&(n="onReverseComplete")),o._rawPrevTime=s=!e||t||_===t?t:p);else if(t0)&&(n="onReverseComplete",r=o._reversed),t>-1e-8?t=0:t<0&&(o._active=!1,0===u&&(o._initted||!o.vars.lazy||i)&&(_>=0&&(_!==p||"isPause"!==o.data)&&(i=!0),o._rawPrevTime=s=!e||t||_===t?t:p)),(!o._initted||o._startAt&&o._startAt.progress())&&(i=!0);else if(o._totalTime=o._time=t,o._easeType){var c=t/u,h=o._easeType,f=o._easePower;(1===h||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===f?c*=c:2===f?c*=c*c:3===f?c*=c*c*c:4===f&&(c*=c*c*c*c),o.ratio=1===h?1-c:2===h?c:t/u<.5?c/2:1-c/2}else o.ratio=o._ease.getRatio(t/u);if(o._time!==l||i){if(!o._initted){if(o._init(),!o._initted||o._gc)return;if(!i&&o._firstPT&&(!1!==o.vars.lazy&&o._duration||o.vars.lazy&&!o._duration))return o._time=o._totalTime=l,o._rawPrevTime=_,N.push(o),void(o._lazy=[t,e]);o._time&&!r?o.ratio=o._ease.getRatio(o._time/u):r&&o._ease._calcEnd&&(o.ratio=o._ease.getRatio(0===o._time?0:1))}for(!1!==o._lazy&&(o._lazy=!1),o._active||!o._paused&&o._time!==l&&t>=0&&(o._active=!0),0===l&&(o._startAt&&(t>=0?o._startAt.render(t,!0,i):n||(n="_dummyGS")),o.vars.onStart&&(0===o._time&&0!==u||e||o._callback("onStart"))),a=o._firstPT;a;)a.f?a.t[a.p](a.c*o.ratio+a.s):a.t[a.p]=a.c*o.ratio+a.s,a=a._next;o._onUpdate&&(t<0&&o._startAt&&-1e-4!==t&&o._startAt.render(t,!0,i),e||(o._time!==l||r||i)&&o._callback("onUpdate")),n&&(o._gc&&!i||(t<0&&o._startAt&&!o._onUpdate&&-1e-4!==t&&o._startAt.render(t,!0,i),r&&(o._timeline.autoRemoveChildren&&o._enabled(!1,!1),o._active=!1),!e&&o.vars[n]&&o._callback(n),0===u&&o._rawPrevTime===p&&s!==p&&(o._rawPrevTime=0)))}},c._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!==typeof e?e||this._targets||this.target:z.selector(e)||e;var r,n,a,s,o,l,u,_,c,h=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,f=this._firstPT;if((y(e)||F(e))&&"number"!==typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){o=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(u=t||o,_=t!==n&&"all"!==n&&t!==o&&("object"!==typeof t||!t._tempKill),i&&(z.onOverwrite||this.vars.onOverwrite)){for(a in u)o[a]&&(c||(c=[]),c.push(a));if((c||!t)&&!rt(this,i,e,c))return!1}for(a in u)(s=o[a])&&(h&&(s.f?s.t[s.p](s.s):s.t[s.p]=s.s,l=!0),s.pg&&s.t._kill(u)&&(l=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete o[a]),_&&(n[a]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return l},c.invalidate=function(){this._notifyPluginsOfEnabled&&z._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],L.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(t,!1,!1!==this.vars.lazy)),this},c._enabled=function(t,e){if(f||h.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=it(r[i],this,!0);else this._siblings=it(this.target,this,!0)}return L.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&z._onPluginEvent(t?"_onEnable":"_onDisable",this)},z.to=function(t,e,i){return new z(t,e,i)},z.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new z(t,e,i)},z.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new z(t,e,r)},z.delayedCall=function(t,e,i,r,n){return new z(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},z.set=function(t,e){return new z(t,0,e)},z.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,a;if(t="string"!==typeof t?t:z.selector(t)||t,(y(t)||F(t))&&"number"!==typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(z.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(a=r[i],n=i;--n>-1;)a===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(i=(r=it(t).concat()).length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},z.killTweensOf=z.killDelayedCallsTo=function(t,e,i){"object"===typeof e&&(i=e,e=!1);for(var r=z.getTweensOf(t,e),n=r.length;--n>-1;)r[n]._kill(i,t)};var st=P("plugins.TweenPlugin",(function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=st.prototype}),!0);if(c=st.prototype,st.version="1.19.0",st.API=2,c._firstPT=null,c._addTween=Q,c.setRatio=j,c._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},c._mod=c._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"===typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},z._onPluginEvent=function(t,e){var i,r,n,a,s,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(s=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:a)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:a=o,o=s}o=e._firstPT=n}for(;o;)o.pg&&"function"===typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},st.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===st.API&&(H[(new t[e])._propName]=t[e]);return!0},b.plugin=function(t){if(!t||!t.propName||!t.init||!t.API)throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,a={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=P("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){st.call(this,i,r),this._overwriteProps=n||[]}),!0===t.global),o=s.prototype=new st(i);for(e in o.constructor=s,s.API=t.API,a)"function"===typeof t[e]&&(o[a[e]]=t[e]);return s.version=t.version,st.activate([s]),s},u=i._gsQueue){for(_=0;_ As of ScrollMagic 2.0.0 you need to use 'new ScrollMagic.Controller()' to create a new controller instance. Use 'new ScrollMagic.Scene()' to instance a scene.")};t.version="2.0.8","undefined"!==typeof window&&window.addEventListener("mousewheel",void 0);var e="data-scrollmagic-pin-spacer";t.Controller=function(r){var a,s,o="ScrollMagic.Controller",l="FORWARD",u="REVERSE",_="PAUSED",c=i.defaults,h=this,f=n.extend({},c,r),d=[],m=!1,p=0,g=_,v=!0,y=0,T=!0,w=function(){for(var e in f)c.hasOwnProperty(e)||(D(2,'WARNING: Unknown option "'+e+'"'),delete f[e]);if(f.container=n.get.elements(f.container)[0],!f.container)throw D(1,"ERROR creating object "+o+": No valid scroll container supplied"),o+" init failed.";(v=f.container===window||f.container===document.body||!document.body.contains(f.container))&&(f.container=window),y=S(),f.container.addEventListener("resize",x),f.container.addEventListener("scroll",x);var i=parseInt(f.refreshInterval,10);f.refreshInterval=n.type.Number(i)?i:c.refreshInterval,b(),D(3,"added new "+o+" controller (v"+t.version+")")},b=function(){f.refreshInterval>0&&(s=window.setTimeout(A,f.refreshInterval))},P=function(){return f.vertical?n.get.scrollTop(f.container):n.get.scrollLeft(f.container)},S=function(){return f.vertical?n.get.height(f.container):n.get.width(f.container)},k=this._setScrollPos=function(t){f.vertical?v?window.scrollTo(n.get.scrollLeft(),t):f.container.scrollTop=t:v?window.scrollTo(t,n.get.scrollTop()):f.container.scrollLeft=t},R=function(){if(T&&m){var t=n.type.Array(m)?m:d.slice(0);m=!1;var e=p,i=(p=h.scrollPos())-e;0!==i&&(g=i>0?l:u),g===u&&t.reverse(),t.forEach((function(e,i){D(3,"updating Scene "+(i+1)+"/"+t.length+" ("+d.length+" total)"),e.update(!0)})),0===t.length&&f.loglevel>=3&&D(3,"updating 0 Scenes (nothing added to controller)")}},C=function(){a=n.rAF(R)},x=function(t){D(3,"event fired causing an update:",t.type),"resize"==t.type&&(y=S(),g=_),!0!==m&&(m=!0,C())},A=function(){if(!v&&y!=S()){var t;try{t=new Event("resize",{bubbles:!1,cancelable:!1})}catch(e){(t=document.createEvent("Event")).initEvent("resize",!1,!1)}f.container.dispatchEvent(t)}d.forEach((function(t,e){t.refresh()})),b()},D=this._log=function(t,e){f.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+o+") ->"),n.log.apply(window,arguments))};this._options=f;var E=function(t){if(t.length<=1)return t;var e=t.slice(0);return e.sort((function(t,e){return t.scrollOffset()>e.scrollOffset()?1:-1})),e};return this.addScene=function(e){if(n.type.Array(e))e.forEach((function(t,e){h.addScene(t)}));else if(e instanceof t.Scene){if(e.controller()!==h)e.addTo(h);else if(d.indexOf(e)<0){for(var i in d.push(e),d=E(d),e.on("shift.controller_sort",(function(){d=E(d)})),f.globalSceneOptions)e[i]&&e[i].call(e,f.globalSceneOptions[i]);D(3,"adding Scene (now "+d.length+" total)")}}else D(1,"ERROR: invalid argument supplied for '.addScene()'");return h},this.removeScene=function(t){if(n.type.Array(t))t.forEach((function(t,e){h.removeScene(t)}));else{var e=d.indexOf(t);e>-1&&(t.off("shift.controller_sort"),d.splice(e,1),D(3,"removing Scene (now "+d.length+" left)"),t.remove())}return h},this.updateScene=function(e,i){return n.type.Array(e)?e.forEach((function(t,e){h.updateScene(t,i)})):i?e.update(!0):!0!==m&&e instanceof t.Scene&&(-1==(m=m||[]).indexOf(e)&&m.push(e),m=E(m),C()),h},this.update=function(t){return x({type:"resize"}),t&&R(),h},this.scrollTo=function(i,r){if(n.type.Number(i))k.call(f.container,i,r);else if(i instanceof t.Scene)i.controller()===h?h.scrollTo(i.scrollOffset(),r):D(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",i);else if(n.type.Function(i))k=i;else{var a=n.get.elements(i)[0];if(a){for(;a.parentNode.hasAttribute(e);)a=a.parentNode;var s=f.vertical?"top":"left",o=n.get.offset(f.container),l=n.get.offset(a);v||(o[s]-=h.scrollPos()),h.scrollTo(l[s]-o[s],r)}else D(2,"scrollTo(): The supplied argument is invalid. Scroll cancelled.",i)}return h},this.scrollPos=function(t){return arguments.length?(n.type.Function(t)?P=t:D(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),h):P.call(h)},this.info=function(t){var e={size:y,vertical:f.vertical,scrollPos:p,scrollDirection:g,container:f.container,isDocument:v};return arguments.length?void 0!==e[t]?e[t]:void D(1,'ERROR: option "'+t+'" is not available'):e},this.loglevel=function(t){return arguments.length?(f.loglevel!=t&&(f.loglevel=t),h):f.loglevel},this.enabled=function(t){return arguments.length?(T!=t&&(T=!!t,h.updateScene(d,!0)),h):T},this.destroy=function(t){window.clearTimeout(s);for(var e=d.length;e--;)d[e].destroy(t);return f.container.removeEventListener("resize",x),f.container.removeEventListener("scroll",x),n.cAF(a),D(3,"destroyed "+o+" (reset: "+(t?"true":"false")+")"),null},w(),h};var i={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};t.Controller.addOption=function(t,e){i.defaults[t]=e},t.Controller.extend=function(e){var i=this;t.Controller=function(){return i.apply(this,arguments),this.$super=n.extend({},this),e.apply(this,arguments)||this},n.extend(t.Controller,i),t.Controller.prototype=i.prototype,t.Controller.prototype.constructor=t.Controller},t.Scene=function(i){var a,s,o="ScrollMagic.Scene",l="BEFORE",u="DURING",_="AFTER",c=r.defaults,h=this,f=n.extend({},c,i),d=l,m=0,p={start:0,end:0},g=0,v=!0,y=function(){for(var t in f)c.hasOwnProperty(t)||(w(2,'WARNING: Unknown option "'+t+'"'),delete f[t]);for(var e in c)E(e);A()},T={};this.on=function(t,e){return n.type.Function(e)?(t=t.trim().split(" ")).forEach((function(t){var i=t.split("."),r=i[0],n=i[1];"*"!=r&&(T[r]||(T[r]=[]),T[r].push({namespace:n||"",callback:e}))})):w(1,"ERROR when calling '.on()': Supplied callback for '"+t+"' is not a valid function!"),h},this.off=function(t,e){return t?((t=t.trim().split(" ")).forEach((function(t,i){var r=t.split("."),n=r[0],a=r[1]||"";("*"===n?Object.keys(T):[n]).forEach((function(t){for(var i=T[t]||[],r=i.length;r--;){var n=i[r];!n||a!==n.namespace&&"*"!==a||e&&e!=n.callback||i.splice(r,1)}i.length||delete T[t]}))})),h):(w(1,"ERROR: Invalid event name supplied."),h)},this.trigger=function(e,i){if(e){var r=e.trim().split("."),n=r[0],a=r[1],s=T[n];w(3,"event fired:",n,i?"->":"",i||""),s&&s.forEach((function(e,r){a&&a!==e.namespace||e.callback.call(h,new t.Event(n,e.namespace,h,i))}))}else w(1,"ERROR: Invalid event name supplied.");return h},h.on("change.internal",(function(t){"loglevel"!==t.what&&"tweenChanges"!==t.what&&("triggerElement"===t.what?R():"reverse"===t.what&&h.update())})).on("shift.internal",(function(t){S(),h.update()}));var w=this._log=function(t,e){f.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+o+") ->"),n.log.apply(window,arguments))};this.addTo=function(e){return e instanceof t.Controller?s!=e&&(s&&s.removeScene(h),s=e,A(),k(!0),R(!0),S(),s.info("container").addEventListener("resize",C),e.addScene(h),h.trigger("add",{controller:s}),w(3,"added "+o+" to controller"),h.update()):w(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),h},this.enabled=function(t){return arguments.length?(v!=t&&(v=!!t,h.update(!0)),h):v},this.remove=function(){if(s){s.info("container").removeEventListener("resize",C);var t=s;s=void 0,t.removeScene(h),h.trigger("remove"),w(3,"removed "+o+" from controller")}return h},this.destroy=function(t){return h.trigger("destroy",{reset:t}),h.remove(),h.off("*.*"),w(3,"destroyed "+o+" (reset: "+(t?"true":"false")+")"),null},this.update=function(t){if(s)if(t)if(s.enabled()&&v){var e,i=s.info("scrollPos");e=f.duration>0?(i-p.start)/(p.end-p.start):i>=p.start?1:0,h.trigger("update",{startPos:p.start,endPos:p.end,scrollPos:i}),h.progress(e)}else b&&d===u&&O(!0);else s.updateScene(h,!1);return h},this.refresh=function(){return k(),R(),h},this.progress=function(t){if(arguments.length){var e=!1,i=d,r=s?s.info("scrollDirection"):"PAUSED",n=f.reverse||t>=m;if(0===f.duration?(e=m!=t,d=0===(m=t<1&&n?0:1)?l:u):t<0&&d!==l&&n?(m=0,d=l,e=!0):t>=0&&t<1&&n?(m=t,d=u,e=!0):t>=1&&d!==_?(m=1,d=_,e=!0):d!==u||n||O(),e){var a={progress:m,state:d,scrollDirection:r},o=d!=i,c=function(t){h.trigger(t,a)};o&&i!==u&&(c("enter"),c(i===l?"start":"end")),c("progress"),o&&d!==u&&(c(d===l?"start":"end"),c("leave"))}return h}return m};var b,P,S=function(){p={start:g+f.offset},s&&f.triggerElement&&(p.start-=s.info("size")*f.triggerHook),p.end=p.start+f.duration},k=function(t){if(a){var e="duration";D(e,a.call(h))&&!t&&(h.trigger("change",{what:e,newval:f[e]}),h.trigger("shift",{reason:e}))}},R=function(t){var i=0,r=f.triggerElement;if(s&&(r||g>0)){if(r)if(r.parentNode){for(var a=s.info(),o=n.get.offset(a.container),l=a.vertical?"top":"left";r.parentNode.hasAttribute(e);)r=r.parentNode;var u=n.get.offset(r);a.isDocument||(o[l]-=s.scrollPos()),i=u[l]-o[l]}else w(2,"WARNING: triggerElement was removed from DOM and will be reset to",void 0),h.triggerElement(void 0);var _=i!=g;g=i,_&&!t&&h.trigger("shift",{reason:"triggerElementPosition"})}},C=function(t){f.triggerHook>0&&h.trigger("shift",{reason:"containerResize"})},x=n.extend(r.validate,{duration:function(t){if(n.type.String(t)&&t.match(/^(\.|\d)*\d+%$/)){var e=parseFloat(t)/100;t=function(){return s?s.info("size")*e:0}}if(n.type.Function(t)){a=t;try{t=parseFloat(a.call(h))}catch(i){t=-1}}if(t=parseFloat(t),!n.type.Number(t)||t<0)throw a?(a=void 0,['Invalid return value of supplied function for option "duration":',t]):['Invalid value for option "duration":',t];return t}}),A=function(t){(t=arguments.length?[t]:Object.keys(x)).forEach((function(t,e){var i;if(x[t])try{i=x[t](f[t])}catch(a){i=c[t];var r=n.type.String(a)?[a]:a;n.type.Array(r)?(r[0]="ERROR: "+r[0],r.unshift(1),w.apply(this,r)):w(1,"ERROR: Problem executing validation callback for option '"+t+"':",a.message)}finally{f[t]=i}}))},D=function(t,e){var i=!1,r=f[t];return f[t]!=e&&(f[t]=e,A(t),i=r!=f[t]),i},E=function(t){h[t]||(h[t]=function(e){return arguments.length?("duration"===t&&(a=void 0),D(t,e)&&(h.trigger("change",{what:t,newval:f[t]}),r.shifts.indexOf(t)>-1&&h.trigger("shift",{reason:t})),h):f[t]})};this.controller=function(){return s},this.state=function(){return d},this.scrollOffset=function(){return p.start},this.triggerPosition=function(){var t=f.offset;return s&&(f.triggerElement?t+=g:t+=s.info("size")*h.triggerHook()),t},h.on("shift.internal",(function(t){var e="duration"===t.reason;(d===_&&e||d===u&&0===f.duration)&&O(),e&&L()})).on("progress.internal",(function(t){O()})).on("add.internal",(function(t){L()})).on("destroy.internal",(function(t){h.removePin(t.reset)}));var O=function(t){if(b&&s){var e=s.info(),i=P.spacer.firstChild;if(t||d!==u){var r={position:P.inFlow?"relative":"absolute",top:0,left:0},a=n.css(i,"position")!=r.position;P.pushFollowers?f.duration>0&&(d===_&&0===parseFloat(n.css(P.spacer,"padding-top"))||d===l&&0===parseFloat(n.css(P.spacer,"padding-bottom")))&&(a=!0):r[e.vertical?"top":"left"]=f.duration*m,n.css(i,r),a&&L()}else{"fixed"!=n.css(i,"position")&&(n.css(i,{position:"fixed"}),L());var o=n.get.offset(P.spacer,!0),c=f.reverse||0===f.duration?e.scrollPos-p.start:Math.round(m*f.duration*10)/10;o[e.vertical?"top":"left"]+=c,n.css(P.spacer.firstChild,{top:o.top,left:o.left})}}},L=function(){if(b&&s&&P.inFlow){var t=d===u,e=s.info("vertical"),i=P.spacer.firstChild,r=n.isMarginCollapseType(n.css(P.spacer,"display")),a={};P.relSize.width||P.relSize.autoFullWidth?t?n.css(b,{width:n.get.width(P.spacer)}):n.css(b,{width:"100%"}):(a["min-width"]=n.get.width(e?b:i,!0,!0),a.width=t?a["min-width"]:"auto"),P.relSize.height?t?n.css(b,{height:n.get.height(P.spacer)-(P.pushFollowers?f.duration:0)}):n.css(b,{height:"100%"}):(a["min-height"]=n.get.height(e?i:b,!0,!r),a.height=t?a["min-height"]:"auto"),P.pushFollowers&&(a["padding"+(e?"Top":"Left")]=f.duration*m,a["padding"+(e?"Bottom":"Right")]=f.duration*(1-m)),n.css(P.spacer,a)}},M=function(){s&&b&&d===u&&!s.info("isDocument")&&O()},I=function(){s&&b&&d===u&&((P.relSize.width||P.relSize.autoFullWidth)&&n.get.width(window)!=n.get.width(P.spacer.parentNode)||P.relSize.height&&n.get.height(window)!=n.get.height(P.spacer.parentNode))&&L()},z=function(t){s&&b&&d===u&&!s.info("isDocument")&&(t.preventDefault(),s._setScrollPos(s.info("scrollPos")-((t.wheelDelta||t[s.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-t.detail)))};this.setPin=function(t,i){var r={pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},a=i&&i.hasOwnProperty("pushFollowers");if(i=n.extend({},r,i),!(t=n.get.elements(t)[0]))return w(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),h;if("fixed"===n.css(t,"position"))return w(1,"ERROR calling method 'setPin()': Pin does not work with elements that are positioned 'fixed'."),h;if(b){if(b===t)return h;h.removePin()}var s=(b=t).parentNode.style.display,o=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];b.parentNode.style.display="none";var l="absolute"!=n.css(b,"position"),u=n.css(b,o.concat(["display"])),_=n.css(b,["width","height"]);b.parentNode.style.display=s,!l&&i.pushFollowers&&(w(2,"WARNING: If the pinned element is positioned absolutely pushFollowers will be disabled."),i.pushFollowers=!1),window.setTimeout((function(){b&&0===f.duration&&a&&i.pushFollowers&&w(2,"WARNING: pushFollowers =",!0,"has no effect, when scene duration is 0.")}),0);var c=b.parentNode.insertBefore(document.createElement("div"),b),d=n.extend(u,{position:l?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(l||n.extend(d,n.css(b,["width","height"])),n.css(c,d),c.setAttribute(e,""),n.addClass(c,i.spacerClass),P={spacer:c,relSize:{width:"%"===_.width.slice(-1),height:"%"===_.height.slice(-1),autoFullWidth:"auto"===_.width&&l&&n.isMarginCollapseType(u.display)},pushFollowers:i.pushFollowers,inFlow:l},!b.___origStyle){b.___origStyle={};var m=b.style;o.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach((function(t){b.___origStyle[t]=m[t]||""}))}return P.relSize.width&&n.css(c,{width:_.width}),P.relSize.height&&n.css(c,{height:_.height}),c.appendChild(b),n.css(b,{position:l?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(P.relSize.width||P.relSize.autoFullWidth)&&n.css(b,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",M),window.addEventListener("resize",M),window.addEventListener("resize",I),b.addEventListener("mousewheel",z),b.addEventListener("DOMMouseScroll",z),w(3,"added pin"),O(),h},this.removePin=function(t){if(b){if(d===u&&O(!0),t||!s){var i=P.spacer.firstChild;if(i.hasAttribute(e)){var r=P.spacer.style,a={};["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach((function(t){a[t]=r[t]||""})),n.css(i,a)}P.spacer.parentNode.insertBefore(i,P.spacer),P.spacer.parentNode.removeChild(P.spacer),b.parentNode.hasAttribute(e)||(n.css(b,b.___origStyle),delete b.___origStyle)}window.removeEventListener("scroll",M),window.removeEventListener("resize",M),window.removeEventListener("resize",I),b.removeEventListener("mousewheel",z),b.removeEventListener("DOMMouseScroll",z),b=void 0,w(3,"removed pin (reset: "+(t?"true":"false")+")")}return h};var F,N=[];return h.on("destroy.internal",(function(t){h.removeClassToggle(t.reset)})),this.setClassToggle=function(t,e){var i=n.get.elements(t);return 0!==i.length&&n.type.String(e)?(N.length>0&&h.removeClassToggle(),F=e,N=i,h.on("enter.internal_class leave.internal_class",(function(t){var e="enter"===t.type?n.addClass:n.removeClass;N.forEach((function(t,i){e(t,F)}))})),h):(w(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===i.length?"element":"classes")+" supplied."),h)},this.removeClassToggle=function(t){return t&&N.forEach((function(t,e){n.removeClass(t,F)})),h.off("start.internal_class end.internal_class"),F=void 0,N=[],h},y(),h};var r={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(t){if(t=parseFloat(t),!n.type.Number(t))throw['Invalid value for option "offset":',t];return t},triggerElement:function(t){if(t=t||void 0){var e=n.get.elements(t)[0];if(!e||!e.parentNode)throw['Element defined in option "triggerElement" was not found:',t];t=e}return t},triggerHook:function(t){var e={onCenter:.5,onEnter:1,onLeave:0};if(n.type.Number(t))t=Math.max(0,Math.min(parseFloat(t),1));else{if(!(t in e))throw['Invalid value for option "triggerHook": ',t];t=e[t]}return t},reverse:function(t){return!!t},loglevel:function(t){if(t=parseInt(t),!n.type.Number(t)||t<0||t>3)throw['Invalid value for option "loglevel":',t];return t}},shifts:["duration","offset","triggerHook"]};t.Scene.addOption=function(e,i,n,a){e in r.defaults?t._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+e+"', because it already exists."):(r.defaults[e]=i,r.validate[e]=n,a&&r.shifts.push(e))},t.Scene.extend=function(e){var i=this;t.Scene=function(){return i.apply(this,arguments),this.$super=n.extend({},this),e.apply(this,arguments)||this},n.extend(t.Scene,i),t.Scene.prototype=i.prototype,t.Scene.prototype.constructor=t.Scene},t.Event=function(t,e,i,r){for(var n in r=r||{})this[n]=r[n];return this.type=t,this.target=this.currentTarget=i,this.namespace=e||"",this.timeStamp=this.timestamp=Date.now(),this};var n=t._util=function(t){var e,i={},r=function(t){return parseFloat(t)||0},n=function(e){return e.currentStyle?e.currentStyle:t.getComputedStyle(e)},a=function(e,i,a,s){if((i=i===document?t:i)===t)s=!1;else if(!d.DomElement(i))return 0;e=e.charAt(0).toUpperCase()+e.substr(1).toLowerCase();var o=(a?i["offset"+e]||i["outer"+e]:i["client"+e]||i["inner"+e])||0;if(a&&s){var l=n(i);o+="Height"===e?r(l.marginTop)+r(l.marginBottom):r(l.marginLeft)+r(l.marginRight)}return o},s=function(t){return t.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))};i.extend=function(t){for(t=t||{},e=1;e-1};var o=0,l=["ms","moz","webkit","o"],u=t.requestAnimationFrame,_=t.cancelAnimationFrame;for(e=0;!u&&ec.length||t<=0)&&(t=c.length);var e=new Date,i=("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)+":"+("0"+e.getSeconds()).slice(-2)+":"+("00"+e.getMilliseconds()).slice(-3),r=c[t-1],n=Array.prototype.splice.call(arguments,1),a=Function.prototype.bind.call(h[r],h);n.unshift(i),a.apply(h,n)};var d=i.type=function(t){return Object.prototype.toString.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};d.String=function(t){return"string"===d(t)},d.Function=function(t){return"function"===d(t)},d.Array=function(t){return Array.isArray(t)},d.Number=function(t){return!d.Array(t)&&t-parseFloat(t)+1>=0},d.DomElement=function(t){return"object"===typeof HTMLElement||"function"===typeof HTMLElement?t instanceof HTMLElement||t instanceof SVGElement:t&&"object"===typeof t&&null!==t&&1===t.nodeType&&"string"===typeof t.nodeName};var m=i.get={};return m.elements=function(e){var i=[];if(d.String(e))try{e=document.querySelectorAll(e)}catch(s){return i}if("nodelist"===d(e)||d.Array(e)||e instanceof NodeList)for(var r=0,n=i.length=e.length;r ERROR calling addIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},t.Scene.prototype.removeIndicators=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},t.Scene.prototype.setTween=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},t.Scene.prototype.removeTween=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},t.Scene.prototype.setVelocity=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},t.Scene.prototype.removeVelocity=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},t},void 0===(n="function"===typeof r?r.call(e,i,e,t):r)||(t.exports=n)},98350:function(t,e,i){var r,n,a;n=[i(42306),i(48922),i(91595),i(45650)],r=function(t,e,i,r){"use strict";var n="animation.gsap",a=e&&parseFloat(e.version)>=3,s=window.console||{},o=Function.prototype.bind.call(s.error||s.log||function(){},s);t||o("("+n+") -> ERROR: The ScrollMagic main module could not be found. Please make sure it's loaded before this plugin or use an asynchronous loader like requirejs."),i||o("("+n+") -> ERROR: TweenLite or TweenMax could not be found. Please make sure GSAP is loaded before ScrollMagic or use an asynchronous loader like requirejs."),t.Scene.addOption("tweenChanges",!1,(function(t){return!!t})),t.Scene.extend((function(){var t,e=this,s=function(){e._log&&(Array.prototype.splice.call(arguments,1,0,"("+n+")","->"),e._log.apply(this,arguments))};e.on("progress.plugin_gsap",(function(){o()})),e.on("destroy.plugin_gsap",(function(t){e.removeTween(t.reset)}));var o=function(){if(t){var i=e.progress(),r=e.state();t.repeat&&-1===t.repeat()?"DURING"===r&&t.paused()?t.play():"DURING"===r||t.paused()||t.pause():i!=t.progress()&&(0===e.duration()?i>0?t.play():t.reverse():e.tweenChanges()&&t.tweenTo?t.tweenTo(i*t.duration()):t.progress(i).pause())}};e.setTween=function(n,l,u){var _;if(arguments.length>1){var c="number"===typeof arguments[1];a?(c||(u=l),u.hasOwnProperty("duration")||(u.duration=c?l:1)):arguments.length<3&&(u=l,l=1),n=a?i.to(n,u):i.to(n,l,u)}try{(_=r&&!a?new r({smoothChildTiming:!0}).add(n):n).pause()}catch(T){return s(1,"ERROR calling method 'setTween()': Supplied argument is not a valid TweenObject"),e}if(t&&e.removeTween(),t=_,n.repeat&&-1===n.repeat()&&(t.repeat(-1),t.yoyo(n.yoyo())),e.tweenChanges()&&!t.tweenTo&&s(2,"WARNING: tweenChanges will only work if the TimelineMax object is available for ScrollMagic."),t&&e.controller()&&e.triggerElement()&&e.loglevel()>=2){var h=i.getTweensOf(e.triggerElement()),f=e.controller().info("vertical");h.forEach((function(t,e){var i=t.vars.css||t.vars;if(f?void 0!==i.top||void 0!==i.bottom:void 0!==i.left||void 0!==i.right)return s(2,"WARNING: Tweening the position of the trigger element affects the scene timing and should be avoided!"),!1}))}if(parseFloat(TweenLite.version)>=1.14)for(var d,m,p=a?"onInterrupt":"onOverwrite",g=t.getChildren?t.getChildren(!0,!0,!1):[t],v=function(){s(2,"WARNING: tween was overwritten by another. To learn how to avoid this issue see here: https://github.com/janpaepke/ScrollMagic/wiki/WARNING:-tween-was-overwritten-by-another")},y=0;y ERROR: The ScrollMagic main module could not be found. Please make sure it's loaded before this plugin or use an asynchronous loader like requirejs.");var n="0.85em",a="9999",s=15,o=t._util,l=0;t.Scene.extend((function(){var t,e=this;e.addIndicators=function(i){if(!t){var r={name:"",indent:0,parent:void 0,colorStart:"green",colorEnd:"red",colorTrigger:"blue"};i=o.extend({},r,i),l++,t=new u(e,i),e.on("add.plugin_addIndicators",t.add),e.on("remove.plugin_addIndicators",t.remove),e.on("destroy.plugin_addIndicators",e.removeIndicators),e.controller()&&t.add()}return e},e.removeIndicators=function(){return t&&(t.remove(),this.off("*.plugin_addIndicators"),t=void 0),e}})),t.Controller.addOption("addIndicators",!1),t.Controller.extend((function(){var i=this,r=i.info(),n=r.container,a=r.isDocument,l=r.vertical,u={groups:[]},_=function(){i._log&&(Array.prototype.splice.call(arguments,1,0,"("+e+")","->"),i._log.apply(this,arguments))};i._indicators&&_(2,"WARNING: Scene already has a property '_indicators', which will be overwritten by plugin."),this._indicators=u;var c=function(){u.updateBoundsPositions()},h=function(){u.updateTriggerGroupPositions()};return n.addEventListener("resize",h),a||(window.addEventListener("resize",h),window.addEventListener("scroll",h)),n.addEventListener("resize",c),n.addEventListener("scroll",c),this._indicators.updateBoundsPositions=function(t){for(var e,i,r,a=t?[o.extend({},t.triggerGroup,{members:[t]})]:u.groups,_=a.length,c={},h=l?"left":"top",f=l?"width":"height",d=l?o.get.scrollLeft(n)+o.get.width(n)-s:o.get.scrollTop(n)+o.get.height(n)-s;_--;)for(e=(r=a[_]).members.length,i=o.get[f](r.element.firstChild);e--;)c[h]=d-i,o.css(r.members[e].bounds,c)},this._indicators.updateTriggerGroupPositions=function(t){for(var e,r,_,c,h=t?[t]:u.groups,f=h.length,d=a?document.body:n,m=a?{top:0,left:0}:o.get.offset(d,!0),p=l?o.get.width(n)-s:o.get.height(n)-s,g=l?"width":"height",v=l?"Y":"X";f--;)r=(e=h[f]).element,c=(_=e.triggerHook*i.info("size"))>o.get[g](r.firstChild.firstChild)?"translate"+v+"(-100%)":"",o.css(r,{top:m.top+(l?_:p-e.members[0].options.indent),left:m.left+(l?p-e.members[0].options.indent:_)}),o.css(r.firstChild.firstChild,{"-ms-transform":c,"-webkit-transform":c,transform:c})},this._indicators.updateTriggerGroupLabel=function(t){var e="trigger"+(t.members.length>1?"":" "+t.members[0].options.name),i=t.element.firstChild.firstChild;i.textContent!==e&&(i.textContent=e,l&&u.updateBoundsPositions())},this.addScene=function(e){this._options.addIndicators&&e instanceof t.Scene&&e.controller()===i&&e.addIndicators(),this.$super.addScene.apply(this,arguments)},this.destroy=function(){n.removeEventListener("resize",h),a||(window.removeEventListener("resize",h),window.removeEventListener("scroll",h)),n.removeEventListener("resize",c),n.removeEventListener("scroll",c),this.$super.destroy.apply(this,arguments)},i}));var u=function(t,i){var r,n,a=this,s=_.bounds(),u=_.start(i.colorStart),c=_.end(i.colorEnd),h=i.parent&&o.get.elements(i.parent)[0],f=function(){t._log&&(Array.prototype.splice.call(arguments,1,0,"("+e+")","->"),t._log.apply(this,arguments))};i.name=i.name||l,u.firstChild.textContent+=" "+i.name,c.textContent+=" "+i.name,s.appendChild(u),s.appendChild(c),a.options=i,a.bounds=s,a.triggerGroup=void 0,this.add=function(){n=t.controller(),r=n.info("vertical");var e=n.info("isDocument");h||(h=e?document.body:n.info("container")),e||"static"!==o.css(h,"position")||o.css(h,{position:"relative"}),t.on("change.plugin_addIndicators",m),t.on("shift.plugin_addIndicators",d),w(),v(),setTimeout((function(){n._indicators.updateBoundsPositions(a)}),0),f(3,"added indicators")},this.remove=function(){if(a.triggerGroup){if(t.off("change.plugin_addIndicators",m),t.off("shift.plugin_addIndicators",d),a.triggerGroup.members.length>1){var e=a.triggerGroup;e.members.splice(e.members.indexOf(a),1),n._indicators.updateTriggerGroupLabel(e),n._indicators.updateTriggerGroupPositions(e),a.triggerGroup=void 0}else T();g(),f(3,"removed indicators")}};var d=function(){v()},m=function(t){"triggerHook"===t.what&&w()},p=function(){var t=n.info("vertical");o.css(u.firstChild,{"border-bottom-width":t?1:0,"border-right-width":t?0:1,bottom:t?-1:i.indent,right:t?i.indent:-1,padding:t?"0 8px":"2px 4px"}),o.css(c,{"border-top-width":t?1:0,"border-left-width":t?0:1,top:t?"100%":"",right:t?i.indent:"",bottom:t?"":i.indent,left:t?"":"100%",padding:t?"0 8px":"2px 4px"}),h.appendChild(s)},g=function(){s.parentNode.removeChild(s)},v=function(){s.parentNode!==h&&p();var e={};e[r?"top":"left"]=t.triggerPosition(),e[r?"height":"width"]=t.duration(),o.css(s,e),o.css(c,{display:t.duration()>0?"":"none"})},y=function(){var e=_.trigger(i.colorTrigger),s={};s[r?"right":"bottom"]=0,s[r?"border-top-width":"border-left-width"]=1,o.css(e.firstChild,s),o.css(e.firstChild.firstChild,{padding:r?"0 8px 3px 8px":"3px 4px"}),document.body.appendChild(e);var l={triggerHook:t.triggerHook(),element:e,members:[a]};n._indicators.groups.push(l),a.triggerGroup=l,n._indicators.updateTriggerGroupLabel(l),n._indicators.updateTriggerGroupPositions(l)},T=function(){n._indicators.groups.splice(n._indicators.groups.indexOf(a.triggerGroup),1),a.triggerGroup.element.parentNode.removeChild(a.triggerGroup.element),a.triggerGroup=void 0},w=function(){var e=t.triggerHook(),i=1e-4;if(!(a.triggerGroup&&Math.abs(a.triggerGroup.triggerHook-e)