diff --git a/example/bundle.js b/example/bundle.js index 62fa1a3..d5c1787 100644 --- a/example/bundle.js +++ b/example/bundle.js @@ -1,16 +1,16 @@ -!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=149)}([function(t,e,n){"use strict";(function(t,i){n.d(e,"k",function(){return r}),n.d(e,"l",function(){return o}),n.d(e,"i",function(){return a}),n.d(e,"a",function(){return l}),n.d(e,"b",function(){return u}),n.d(e,"c",function(){return c}),n.d(e,"d",function(){return h}),n.d(e,"e",function(){return f}),n.d(e,"f",function(){return p}),n.d(e,"g",function(){return d}),n.d(e,"h",function(){return _}),n.d(e,"j",function(){return m}); +!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=151)}([function(t,e,n){"use strict";(function(t,i){n.d(e,"k",function(){return r}),n.d(e,"m",function(){return s}),n.d(e,"l",function(){return o}),n.d(e,"i",function(){return l}),n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c}),n.d(e,"c",function(){return h}),n.d(e,"d",function(){return f}),n.d(e,"e",function(){return p}),n.d(e,"f",function(){return d}),n.d(e,"g",function(){return _}),n.d(e,"h",function(){return m}),n.d(e,"j",function(){return v}); /*! - * VERSION: 2.0.1 - * DATE: 2018-05-30 + * VERSION: 2.1.2 + * DATE: 2019-03-01 * UPDATES AND DOCS AT: http://greensock.com * - * @license Copyright (c) 2008-2018, GreenSock. All rights reserved. + * @license Copyright (c) 2008-2019, GreenSock. All rights reserved. * This work is subject to the terms at http://greensock.com/standard-license or for * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com */ -const r="undefined"!=typeof window?window:void 0!==t&&t.exports&&void 0!==i?i:{},o=function(t,e){var n={},i=t.document,r=t.GreenSockGlobals=t.GreenSockGlobals||t;if(r.TweenLite)return r.TweenLite;var o,s,a,l,u,c,h,f=function(t){var e,n=t.split("."),i=r;for(e=0;e-1;)(l=v[e[p]]||new g(e[p],[])).gsClass?(s[p]=l.gsClass,d--):a&&l.sc.push(this);if(0===d&&i)for(c=(u=("com.greensock."+t).split(".")).pop(),h=f(u.join("."))[c]=this.gsClass=i.apply(i,s),o&&(r[c]=n[c]=h),p=0;p-1;)for(o=l[u],r=i?b("easing."+o,null,!0):p.easing[o]||{},s=c.length;--s>-1;)a=c[s],w[o+"."+a]=w[a+o]=r[a]=t.getRatio?t:t[a]||new t};for((a=x.prototype)._calcEnd=!1,a.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,n=this._power,i=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===e?1-i:2===e?i:t<.5?i/2:1-i/2},s=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--s>-1;)a=o[s]+",Power"+s,P(new x(null,null,1,s),a,"easeOut",!0),P(new x(null,null,2,s),a,"easeIn"+(0===s?",easeNone":"")),P(new x(null,null,3,s),a,"easeInOut");w.linear=p.easing.Linear.easeIn,w.swing=p.easing.Quad.easeInOut;var O=b("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(a=O.prototype).addEventListener=function(t,e,n,i,r){r=r||0;var o,s,a=this._listeners[t],c=0;for(this!==l||u||l.wake(),null==a&&(this._listeners[t]=a=[]),s=a.length;--s>-1;)(o=a[s]).c===e&&o.s===n?a.splice(s,1):0===c&&o.pr-1;)if(i[n].c===e)return void i.splice(n,1)},a.dispatchEvent=function(t){var e,n,i,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),n=this._eventTarget;--e>-1;)(i=r[e])&&(i.up?i.c.call(i.s||n,{type:t,target:n}):i.c.call(i.s||n))};var S=t.requestAnimationFrame,E=t.cancelAnimationFrame,k=Date.now||function(){return(new Date).getTime()},A=k();for(s=(o=["ms","moz","webkit","o"]).length;--s>-1&&!S;)S=t[o[s]+"RequestAnimationFrame"],E=t[o[s]+"CancelAnimationFrame"]||t[o[s]+"CancelRequestAnimationFrame"];b("Ticker",function(t,e){var n,r,o,s,a,c=this,h=k(),f=!(!1===e||!S)&&"auto",p=500,d=33,m=function(t){var e,i,l=k()-A;l>p&&(h+=l-d),A+=l,c.time=(A-h)/1e3,e=c.time-a,(!n||e>0||!0===t)&&(c.frame++,a+=e+(e>=s?.004:s-e),i=!0),!0!==t&&(o=r(m)),i&&c.dispatchEvent("tick")};O.call(c),c.time=c.frame=0,c.tick=function(){m(!0)},c.lagSmoothing=function(t,e){if(!arguments.length)return p<1e10;p=t||1e10,d=Math.min(e,p,0)},c.sleep=function(){null!=o&&(f&&E?E(o):clearTimeout(o),r=_,o=null,c===l&&(u=!1))},c.wake=function(t){null!==o?c.sleep():t?h+=-A+(A=k()):c.frame>10&&(A=k()-p+5),r=0===n?_:f&&S?S:function(t){return setTimeout(t,1e3*(a-c.time)+1|0)},c===l&&(u=!0),m(2)},c.fps=function(t){if(!arguments.length)return n;s=1/((n=t)||60),a=this.time+s,c.wake()},c.useRAF=function(t){if(!arguments.length)return f;c.sleep(),f=t,c.fps(n)},c.fps(t),setTimeout(function(){"auto"===f&&c.frame<5&&"hidden"!==(i||{}).visibilityState&&c.useRAF(!1)},1500)}),(a=p.Ticker.prototype=new p.events.EventDispatcher).constructor=p.Ticker;var C=b("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=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,$){u||l.wake();var n=this.vars.useFrames?q:$;n.add(this,n._time),this.vars.paused&&this.paused(!0)}});l=C.ticker=new p.Ticker,(a=C.prototype)._dirty=a._gc=a._initted=a._paused=!1,a._totalTime=a._time=0,a._rawPrevTime=-1,a._next=a._last=a._onUpdate=a._timeline=a.timeline=null,a._paused=!1;var R=function(){u&&k()-A>2e3&&("hidden"!==(i||{}).visibilityState||!l.lagSmoothing())&&l.wake();var t=setTimeout(R,2e3);t.unref&&t.unref()};R(),a.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},a.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},a.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},a.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},a.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},a.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},a.render=function(t,e,n){},a.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},a.isActive=function(){var t,e=this._timeline,n=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=n&&t-1;)"{self}"===t[e]&&(n[e]=this);return n},a._callback=function(t){var e=this.vars,n=e[t],i=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(i?i.length:0){case 0:n.call(r);break;case 1:n.call(r,i[0]);break;case 2:n.call(r,i[0],i[1]);break;default:n.apply(r,i)}},a.eventCallback=function(t,e,n,i){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=m(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,r[t+"Scope"]=i),"onUpdate"===t&&(this._onUpdate=e)}return this},a.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},a.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},a.totalTime=function(t,e,n){if(u||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!n&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,r=this._timeline;if(t>i&&!n&&(t=i),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?i-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(L.length&&Q(),this.render(t,e,!1),L.length&&Q())}return this},a.progress=a.totalProgress=function(t,e){var n=this.duration();return arguments.length?this.totalTime(n*t,e):n?this._time/n:this.ratio},a.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},a.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},a.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,n;for(t=t||1e-10,this._timeline&&this._timeline.smoothChildTiming&&(n=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=n-(n-this._startTime)*this._timeScale/t),this._timeScale=t,n=this.timeline;n&&n.timeline;)n._dirty=!0,n.totalDuration(),n=n.timeline;return this},a.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},a.paused=function(t){if(!arguments.length)return this._paused;var e,n,i=this._timeline;return t!=this._paused&&i&&(u||t||l.wake(),n=(e=i.rawTime())-this._pauseTime,!t&&i.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==n&&this._initted&&this.duration()&&(e=i.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var j=b("core.SimpleTimeline",function(t){C.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(a=j.prototype=new C).constructor=j,a.kill()._gc=!1,a._first=a._last=a._recent=null,a._sortChildren=!1,a.add=a.insert=function(t,e,n,i){var r,o;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),r=this._last,this._sortChildren)for(o=t._startTime;r&&r._startTime>o;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},a._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},a.render=function(t,e,n){var i,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)i=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)),r=i},a.rawTime=function(){return u||l.wake(),this._totalTime};var M=b("TweenLite",function(e,n,i){if(C.call(this,n,i),this.render=M.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:M.selector(e)||e;var r,o,s,a=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?G[M.defaultOverwrite]:"number"==typeof l?l>>0:G[l],(a||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=s=d(e),this._propLookup=[],this._siblings=[],r=0;r1&&tt(o,this,null,1,this._siblings[r])):"string"==typeof(o=s[r--]=M.selector(o))&&s.splice(r+1,1):s.splice(r--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))},!0),I=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(a=M.prototype=new C).constructor=M,a.kill()._gc=!1,a.ratio=0,a._firstPT=a._targets=a._overwrittenProps=a._startAt=null,a._notifyPluginsOfEnabled=a._lazy=!1,M.version="2.0.1",M.defaultEase=a._ease=new x(null,null,1,1),M.defaultOverwrite="auto",M.ticker=l,M.autoSleep=120,M.lagSmoothing=function(t,e){l.lagSmoothing(t,e)},M.selector=t.$||t.jQuery||function(e){var n=t.$||t.jQuery;return n?(M.selector=n,n(e)):(i||(i=t.document),i?i.querySelectorAll?i.querySelectorAll(e):i.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var L=[],D={},N=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,z=/[\+-]=-?[\.\d]/,F=function(t){for(var e,n=this._firstPT;n;)e=n.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:n.c*t+n.s,n.m?e=n.m.call(this._tween,e,this._target||n.t,this._tween):e<1e-6&&e>-1e-6&&!n.blob&&(e=0),n.f?n.fp?n.t[n.p](n.fp,e):n.t[n.p](e):n.t[n.p]=e,n=n._next},V=function(t,e,n,i){var r,o,s,a,l,u,c,h=[],f=0,p="",d=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",n&&(n(h),t=h[0],e=h[1]),h.length=0,r=t.match(N)||[],o=e.match(N)||[],i&&(i._next=null,i.blob=1,h._firstPT=h._applyPT=i),l=o.length,a=0;a-1;)(t=L[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);L.length=0};$._startTime=l.time,q._startTime=l.frame,$._active=q._active=!0,setTimeout(Q,1),C._updateRoot=M.render=function(){var t,e,n;if(L.length&&Q(),$.render((l.time-$._startTime)*$._timeScale,!1,!1),q.render((l.frame-q._startTime)*q._timeScale,!1,!1),L.length&&Q(),l.frame>=Z){for(n in Z=l.frame+(parseInt(M.autoSleep,10)||120),U){for(t=(e=U[n].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete U[n]}if((!(n=$._first)||n._paused)&&M.autoSleep&&!q._first&&1===l._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||l.sleep()}}},l.addEventListener("tick",C._updateRoot);var K=function(t,e,n){var i,r,o=t._gsTweenID;if(U[o||(t._gsTweenID=o="t"+Y++)]||(U[o]={target:t,tweens:[]}),e&&((i=U[o].tweens)[r=i.length]=e,n))for(;--r>-1;)i[r]===e&&i.splice(r,1);return U[o].tweens},J=function(t,e,n,i){var r,o,s=t.vars.onOverwrite;return s&&(r=s(t,e,n,i)),(s=M.onOverwrite)&&(o=s(t,e,n,i)),!1!==r&&!1!==o},tt=function(t,e,n,i,r){var o,s,a,l;if(1===i||i>=4){for(l=r.length,o=0;o-1;)(a=r[o])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||et(e,0,p),0===et(a,u,p)&&(h[f++]=a)):a._startTime<=c&&a._startTime+a.totalDuration()/a._timeScale>c&&((p||!a._initted)&&c-a._startTime<=2e-10||(h[f++]=a)));for(o=f;--o>-1;)if(a=h[o],2===i&&a._kill(n,t,e)&&(s=!0),2!==i||!a._firstPT&&a._initted){if(2!==i&&!J(a,e))continue;a._enabled(!1,!1)&&(s=!0)}return s},et=function(t,e,n){for(var i=t._timeline,r=i._timeScale,o=t._startTime;i._timeline;){if(o+=i._startTime,r*=i._timeScale,i._paused)return-100;i=i._timeline}return(o/=r)>e?o-e:n&&o===e||!t._initted&&o-e<2e-10?1e-10:(o+=t.totalDuration()/t._timeScale/r)>e+1e-10?0:o-e-1e-10};a._init=function(){var t,e,n,i,r,o,s=this.vars,a=this._overwrittenProps,l=this._duration,u=!!s.immediateRender,c=s.ease;if(s.startAt){for(i in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={},s.startAt)r[i]=s.startAt[i];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=u&&!1!==s.lazy,r.startAt=r.delay=null,r.onUpdate=s.onUpdate,r.onUpdateParams=s.onUpdateParams,r.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=M.to(this.target||{},0,r),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(s.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(i in 0!==this._time&&(u=!1),n={},s)W[i]&&"autoCSS"!==i||(n[i]=s[i]);if(n.overwrite=0,n.data="isFromStart",n.lazy=u&&!1!==s.lazy,n.immediateRender=u,this._startAt=M.to(this.target,0,n),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof x?c:"function"==typeof c?new x(c,s.easeParams):w[c]||M.defaultEase:M.defaultEase,s.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;t-1;)n[u._overwriteProps[a]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else n[s]=B.call(this,e,s,"get",h,s,0,null,this.vars.stringFilter,o);return r&&this._kill(r,e)?this._initProps(e,n,i,r,o):this._overwrite>1&&this._firstPT&&i.length>1&&tt(e,this,n,this._overwrite,i)?(this._kill(n,e),this._initProps(e,n,i,r,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(D[e._gsTweenID]=!0),l)},a.render=function(t,e,n){var i,r,o,s,a=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(i=!0,r="onComplete",n=n||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(u<0||t<=0&&t>=-1e-7||1e-10===u&&"isPause"!==this.data)&&u!==t&&(n=!0,u>1e-10&&(r="onReverseComplete")),this._rawPrevTime=s=!e||t||u===t?t:1e-10);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&u>0)&&(r="onReverseComplete",i=this._reversed),t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||n)&&(u>=0&&(1e-10!==u||"isPause"!==this.data)&&(n=!0),this._rawPrevTime=s=!e||t||u===t?t:1e-10)),(!this._initted||this._startAt&&this._startAt.progress())&&(n=!0);else if(this._totalTime=this._time=t,this._easeType){var c=t/l,h=this._easeType,f=this._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),this.ratio=1===h?1-c:2===h?c:t/l<.5?c/2:1-c/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||n){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=u,L.push(this),void(this._lazy=[t,e]);this._time&&!i?this.ratio=this._ease.getRatio(this._time/l):i&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,!0,n):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,n),e||(this._time!==a||i||n)&&this._callback("onUpdate")),r&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,n),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&1e-10===this._rawPrevTime&&1e-10!==s&&(this._rawPrevTime=0)))}},a._kill=function(t,e,n){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:M.selector(e)||e;var i,r,o,s,a,l,u,c,h,f=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline;if((m(e)||I(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i],n)&&(l=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){a=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(u=t||a,c=t!==r&&"all"!==r&&t!==a&&("object"!=typeof t||!t._tempKill),n&&(M.onOverwrite||this.vars.onOverwrite)){for(o in u)a[o]&&(h||(h=[]),h.push(o));if((h||!t)&&!J(this,n,e,h))return!1}for(o in u)(s=a[o])&&(f&&(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 a[o]),c&&(r[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},a.invalidate=function(){return this._notifyPluginsOfEnabled&&M._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],C.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},a._enabled=function(t,e){if(u||l.wake(),t&&this._gc){var n,i=this._targets;if(i)for(n=i.length;--n>-1;)this._siblings[n]=K(i[n],this,!0);else this._siblings=K(this.target,this,!0)}return C.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&M._onPluginEvent(t?"_onEnable":"_onDisable",this)},M.to=function(t,e,n){return new M(t,e,n)},M.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new M(t,e,n)},M.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new M(t,e,i)},M.delayedCall=function(t,e,n,i,r){return new M(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},M.set=function(t,e){return new M(t,0,e)},M.getTweensOf=function(t,e){if(null==t)return[];var n,i,r,o;if(t="string"!=typeof t?t:M.selector(t)||t,(m(t)||I(t))&&"number"!=typeof t[0]){for(n=t.length,i=[];--n>-1;)i=i.concat(M.getTweensOf(t[n],e));for(n=i.length;--n>-1;)for(o=i[n],r=n;--r>-1;)o===i[r]&&i.splice(n,1)}else if(t._gsTweenID)for(n=(i=K(t).concat()).length;--n>-1;)(i[n]._gc||e&&!i[n].isActive())&&i.splice(n,1);return i||[]},M.killTweensOf=M.killDelayedCallsTo=function(t,e,n){"object"==typeof e&&(n=e,e=!1);for(var i=M.getTweensOf(t,e),r=i.length;--r>-1;)i[r]._kill(n,t)};var nt=b("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=nt.prototype},!0);if(a=nt.prototype,nt.version="1.19.0",nt.API=2,a._firstPT=null,a._addTween=B,a.setRatio=F,a._kill=function(t){var e,n=this._overwriteProps,i=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=n.length;--e>-1;)null!=t[n[e]]&&n.splice(e,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},a._mod=a._roundProps=function(t){for(var e,n=this._firstPT;n;)(e=t[this._propName]||null!=n.n&&t[n.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===n.f?n.t._applyPT.m=e:n.m=e),n=n._next},M._onPluginEvent=function(t,e){var n,i,r,o,s,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(s=a._next,i=r;i&&i.pr>a.pr;)i=i._next;(a._prev=i?i._prev:o)?a._prev._next=a:r=a,(a._next=i)?i._prev=a:o=a,a=s}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(n=!0),a=a._next;return n},nt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===nt.API&&(H[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,n=t.propName,i=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=b("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",function(){nt.call(this,n,i),this._overwriteProps=r||[]},!0===t.global),a=s.prototype=new nt(n);for(e in a.constructor=s,s.API=t.API,o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return s.version=t.version,nt.activate([s]),s},o=t._gsQueue){for(s=0;s-1;)(l=m[n[p]]||new v(n[p],[])).gsClass?(s[p]=l.gsClass,d--):a&&l.sc.push(this);if(0===d&&r)for(c=(u=("com.greensock."+t).split(".")).pop(),f=h(u.join("."))[c]=this.gsClass=r.apply(r,s),o&&(i[c]=e[c]=f),p=0;p-1;)for(o=l[u],r=i?y("easing."+o,null,!0):f.easing[o]||{},s=c.length;--s>-1;)a=c[s],x[o+"."+a]=x[a+o]=r[a]=t.getRatio?t:t[a]||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,n=this._power,i=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===e?1-i:2===e?i:t<.5?i/2:1-i/2},o=(r=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--o>-1;)s=r[o]+",Power"+o,w(new T(null,null,1,o),s,"easeOut",!0),w(new T(null,null,2,o),s,"easeIn"+(0===o?",easeNone":"")),w(new T(null,null,3,o),s,"easeInOut");x.linear=f.easing.Linear.easeIn,x.swing=f.easing.Quad.easeInOut;var P=y("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(s=P.prototype).addEventListener=function(t,e,n,i,r){r=r||0;var o,s,u=this._listeners[t],c=0;for(this!==a||l||a.wake(),null==u&&(this._listeners[t]=u=[]),s=u.length;--s>-1;)(o=u[s]).c===e&&o.s===n?u.splice(s,1):0===c&&o.pr-1;)if(i[n].c===e)return void i.splice(n,1)},s.dispatchEvent=function(t){var e,n,i,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),n=this._eventTarget;--e>-1;)(i=r[e])&&(i.up?i.c.call(i.s||n,{type:t,target:n}):i.c.call(i.s||n))};var O=t.requestAnimationFrame,S=t.cancelAnimationFrame,E=Date.now||function(){return(new Date).getTime()},k=E();for(o=(r=["ms","moz","webkit","o"]).length;--o>-1&&!O;)O=t[r[o]+"RequestAnimationFrame"],S=t[r[o]+"CancelAnimationFrame"]||t[r[o]+"CancelRequestAnimationFrame"];y("Ticker",function(t,e){var i,r,o,s,u,c=this,h=E(),f=!(!1===e||!O)&&"auto",p=500,_=33,m=function(t){var e,n,a=E()-k;a>p&&(h+=a-_),k+=a,c.time=(k-h)/1e3,e=c.time-u,(!i||e>0||!0===t)&&(c.frame++,u+=e+(e>=s?.004:s-e),n=!0),!0!==t&&(o=r(m)),n&&c.dispatchEvent("tick")};P.call(c),c.time=c.frame=0,c.tick=function(){m(!0)},c.lagSmoothing=function(t,e){if(!arguments.length)return p<1e8;p=t||1e8,_=Math.min(e,p,0)},c.sleep=function(){null!=o&&(f&&S?S(o):clearTimeout(o),r=d,o=null,c===a&&(l=!1))},c.wake=function(t){null!==o?c.sleep():t?h+=-k+(k=E()):c.frame>10&&(k=E()-p+5),r=0===i?d:f&&O?O:function(t){return setTimeout(t,1e3*(u-c.time)+1|0)},c===a&&(l=!0),m(2)},c.fps=function(t){if(!arguments.length)return i;s=1/((i=t)||60),u=this.time+s,c.wake()},c.useRAF=function(t){if(!arguments.length)return f;c.sleep(),f=t,c.fps(i)},c.fps(t),setTimeout(function(){"auto"===f&&c.frame<5&&"hidden"!==(n||{}).visibilityState&&c.useRAF(!1)},1500)}),(s=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var C=y("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,$){l||a.wake();var n=this.vars.useFrames?q:$;n.add(this,n._time),this.vars.paused&&this.paused(!0)}});a=C.ticker=new f.Ticker,(s=C.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&&E()-k>2e3&&("hidden"!==(n||{}).visibilityState||!a.lagSmoothing())&&a.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,n){},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,n=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=n&&t-1;)"{self}"===t[e]&&(n[e]=this);return n},s._callback=function(t){var e=this.vars,n=e[t],i=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(i?i.length:0){case 0:n.call(r);break;case 1:n.call(r,i[0]);break;case 2:n.call(r,i[0],i[1]);break;default:n.apply(r,i)}},s.eventCallback=function(t,e,n,i){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=_(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,r[t+"Scope"]=i),"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,n){if(l||a.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!n&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,r=this._timeline;if(t>i&&!n&&(t=i),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?i-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(I.length&&Q(),this.render(t,e,!1),I.length&&Q())}return this},s.progress=s.totalProgress=function(t,e){var n=this.duration();return arguments.length?this.totalTime(n*t,e):n?this._time/n: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,n;for(t=t||1e-8,this._timeline&&this._timeline.smoothChildTiming&&(n=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=n-(n-this._startTime)*this._timeScale/t),this._timeScale=t,n=this.timeline;n&&n.timeline;)n._dirty=!0,n.totalDuration(),n=n.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,n,i=this._timeline;return t!=this._paused&&i&&(l||t||a.wake(),n=(e=i.rawTime())-this._pauseTime,!t&&i.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==n&&this._initted&&this.duration()&&(e=i.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var M=y("core.SimpleTimeline",function(t){C.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(s=M.prototype=new C).constructor=M,s.kill()._gc=!1,s._first=s._last=s._recent=null,s._sortChildren=!1,s.add=s.insert=function(t,e,n,i){var r,o;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),r=this._last,this._sortChildren)for(o=t._startTime;r&&r._startTime>o;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,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,n){var i,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)i=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)),r=i},s.rawTime=function(){return l||a.wake(),this._totalTime};var j=y("TweenLite",function(e,n,i){if(C.call(this,n,i),this.render=j.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:j.selector(e)||e;var r,o,s,a=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?G[j.defaultOverwrite]:"number"==typeof l?l>>0:G[l],(a||e instanceof Array||e.push&&_(e))&&"number"!=typeof e[0])for(this._targets=s=p(e),this._propLookup=[],this._siblings=[],r=0;r1&&tt(o,this,null,1,this._siblings[r])):"string"==typeof(o=s[r--]=j.selector(o))&&s.splice(r+1,1):s.splice(r--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))},!0),R=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(s=j.prototype=new C).constructor=j,s.kill()._gc=!1,s.ratio=0,s._firstPT=s._targets=s._overwrittenProps=s._startAt=null,s._notifyPluginsOfEnabled=s._lazy=!1,j.version="2.1.2",j.defaultEase=s._ease=new T(null,null,1,1),j.defaultOverwrite="auto",j.ticker=a,j.autoSleep=120,j.lagSmoothing=function(t,e){a.lagSmoothing(t,e)},j.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(j.selector=i,i(e)):(n||(n=t.document),n?n.querySelectorAll?n.querySelectorAll(e):n.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var I=[],L={},D=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/[\+-]=-?[\.\d]/,z=function(t){for(var e,n=this._firstPT;n;)e=n.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:n.c*t+n.s,n.m?e=n.m.call(this._tween,e,this._target||n.t,this._tween):e<1e-6&&e>-1e-6&&!n.blob&&(e=0),n.f?n.fp?n.t[n.p](n.fp,e):n.t[n.p](e):n.t[n.p]=e,n=n._next},F=function(t){return(1e3*t|0)/1e3+""},V=function(t,e,n,i){var r,o,s,a,l,u,c,h=[],f=0,p="",d=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",n&&(n(h),t=h[0],e=h[1]),h.length=0,r=t.match(D)||[],o=e.match(D)||[],i&&(i._next=null,i.blob=1,h._firstPT=h._applyPT=i),l=o.length,a=0;a=Z){for(n in Z=a.frame+(parseInt(j.autoSleep,10)||120),U){for(t=(e=U[n].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete U[n]}if((!(n=$._first)||n._paused)&&j.autoSleep&&!q._first&&1===a._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||a.sleep()}}},a.addEventListener("tick",C._updateRoot);var K=function(t,e,n){var i,r,o=t._gsTweenID;if(U[o||(t._gsTweenID=o="t"+Y++)]||(U[o]={target:t,tweens:[]}),e&&((i=U[o].tweens)[r=i.length]=e,n))for(;--r>-1;)i[r]===e&&i.splice(r,1);return U[o].tweens},J=function(t,e,n,i){var r,o,s=t.vars.onOverwrite;return s&&(r=s(t,e,n,i)),(s=j.onOverwrite)&&(o=s(t,e,n,i)),!1!==r&&!1!==o},tt=function(t,e,n,i,r){var o,s,a,l;if(1===i||i>=4){for(l=r.length,o=0;o-1;)(a=r[o])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||et(e,0,p),0===et(a,u,p)&&(h[f++]=a)):a._startTime<=c&&a._startTime+a.totalDuration()/a._timeScale>c&&((p||!a._initted)&&c-a._startTime<=2e-8||(h[f++]=a)));for(o=f;--o>-1;)if(l=(a=h[o])._firstPT,2===i&&a._kill(n,t,e)&&(s=!0),2!==i||!a._firstPT&&a._initted&&l){if(2!==i&&!J(a,e))continue;a._enabled(!1,!1)&&(s=!0)}return s},et=function(t,e,n){for(var i=t._timeline,r=i._timeScale,o=t._startTime;i._timeline;){if(o+=i._startTime,r*=i._timeScale,i._paused)return-100;i=i._timeline}return(o/=r)>e?o-e:n&&o===e||!t._initted&&o-e<2e-8?1e-8:(o+=t.totalDuration()/t._timeScale/r)>e+1e-8?0:o-e-1e-8};s._init=function(){var t,e,n,i,r,o,s=this.vars,a=this._overwrittenProps,l=this._duration,u=!!s.immediateRender,c=s.ease,h=this._startAt;if(s.startAt){for(i in h&&(h.render(-1,!0),h.kill()),r={},s.startAt)r[i]=s.startAt[i];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=u&&!1!==s.lazy,r.startAt=r.delay=null,r.onUpdate=s.onUpdate,r.onUpdateParams=s.onUpdateParams,r.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=j.to(this.target||{},0,r),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(s.runBackwards&&0!==l)if(h)h.render(-1,!0),h.kill(),this._startAt=null;else{for(i in 0!==this._time&&(u=!1),n={},s)W[i]&&"autoCSS"!==i||(n[i]=s[i]);if(n.overwrite=0,n.data="isFromStart",n.lazy=u&&!1!==s.lazy,n.immediateRender=u,this._startAt=j.to(this.target,0,n),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof T?c:"function"==typeof c?new T(c,s.easeParams):x[c]||j.defaultEase:j.defaultEase,s.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;t-1;)n[u._overwriteProps[a]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else n[s]=B.call(this,e,s,"get",h,s,0,null,this.vars.stringFilter,o);return r&&this._kill(r,e)?this._initProps(e,n,i,r,o):this._overwrite>1&&this._firstPT&&i.length>1&&tt(e,this,n,this._overwrite,i)?(this._kill(n,e),this._initProps(e,n,i,r,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(L[e._gsTweenID]=!0),l)},s.render=function(t,e,n){var i,r,o,s,a=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l-1e-8&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(i=!0,r="onComplete",n=n||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(u<0||t<=0&&t>=-1e-8||1e-8===u&&"isPause"!==this.data)&&u!==t&&(n=!0,u>1e-8&&(r="onReverseComplete")),this._rawPrevTime=s=!e||t||u===t?t:1e-8);else if(t<1e-8)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&u>0)&&(r="onReverseComplete",i=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||n)&&(u>=0&&(1e-8!==u||"isPause"!==this.data)&&(n=!0),this._rawPrevTime=s=!e||t||u===t?t:1e-8)),(!this._initted||this._startAt&&this._startAt.progress())&&(n=!0);else if(this._totalTime=this._time=t,this._easeType){var c=t/l,h=this._easeType,f=this._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),this.ratio=1===h?1-c:2===h?c:t/l<.5?c/2:1-c/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||n){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=u,I.push(this),void(this._lazy=[t,e]);this._time&&!i?this.ratio=this._ease.getRatio(this._time/l):i&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,!0,n):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,n),e||(this._time!==a||i||n)&&this._callback("onUpdate")),r&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,n),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&1e-8===this._rawPrevTime&&1e-8!==s&&(this._rawPrevTime=0)))}},s._kill=function(t,e,n){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:j.selector(e)||e;var i,r,o,s,a,l,u,c,h,f=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline,p=this._firstPT;if((_(e)||R(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i],n)&&(l=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){a=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(u=t||a,c=t!==r&&"all"!==r&&t!==a&&("object"!=typeof t||!t._tempKill),n&&(j.onOverwrite||this.vars.onOverwrite)){for(o in u)a[o]&&(h||(h=[]),h.push(o));if((h||!t)&&!J(this,n,e,h))return!1}for(o in u)(s=a[o])&&(f&&(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 a[o]),c&&(r[o]=1);!this._firstPT&&this._initted&&p&&this._enabled(!1,!1)}}return l},s.invalidate=function(){this._notifyPluginsOfEnabled&&j._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?{}:[],C.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||a.wake(),t&&this._gc){var n,i=this._targets;if(i)for(n=i.length;--n>-1;)this._siblings[n]=K(i[n],this,!0);else this._siblings=K(this.target,this,!0)}return C.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&j._onPluginEvent(t?"_onEnable":"_onDisable",this)},j.to=function(t,e,n){return new j(t,e,n)},j.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new j(t,e,n)},j.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new j(t,e,i)},j.delayedCall=function(t,e,n,i,r){return new j(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},j.set=function(t,e){return new j(t,0,e)},j.getTweensOf=function(t,e){if(null==t)return[];var n,i,r,o;if(t="string"!=typeof t?t:j.selector(t)||t,(_(t)||R(t))&&"number"!=typeof t[0]){for(n=t.length,i=[];--n>-1;)i=i.concat(j.getTweensOf(t[n],e));for(n=i.length;--n>-1;)for(o=i[n],r=n;--r>-1;)o===i[r]&&i.splice(n,1)}else if(t._gsTweenID)for(n=(i=K(t).concat()).length;--n>-1;)(i[n]._gc||e&&!i[n].isActive())&&i.splice(n,1);return i||[]},j.killTweensOf=j.killDelayedCallsTo=function(t,e,n){"object"==typeof e&&(n=e,e=!1);for(var i=j.getTweensOf(t,e),r=i.length;--r>-1;)i[r]._kill(n,t)};var nt=y("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=nt.prototype},!0);if(s=nt.prototype,nt.version="1.19.0",nt.API=2,s._firstPT=null,s._addTween=B,s.setRatio=z,s._kill=function(t){var e,n=this._overwriteProps,i=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=n.length;--e>-1;)null!=t[n[e]]&&n.splice(e,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},s._mod=s._roundProps=function(t){for(var e,n=this._firstPT;n;)(e=t[this._propName]||null!=n.n&&t[n.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===n.f?n.t._applyPT.m=e:n.m=e),n=n._next},j._onPluginEvent=function(t,e){var n,i,r,o,s,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(s=a._next,i=r;i&&i.pr>a.pr;)i=i._next;(a._prev=i?i._prev:o)?a._prev._next=a:r=a,(a._next=i)?i._prev=a:o=a,a=s}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(n=!0),a=a._next;return n},nt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===nt.API&&(H[(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,n=t.propName,i=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=y("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",function(){nt.call(this,n,i),this._overwriteProps=r||[]},!0===t.global),a=s.prototype=new nt(n);for(e in a.constructor=s,s.API=t.API,o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return s.version=t.version,nt.activate([s]),s},r=t._gsQueue){for(o=0;o=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function l(t,e){return function(n,i){e(n,i,t)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,n,i){return new(n||(n=Promise))(function(r,o){function s(t){try{l(i.next(t))}catch(t){o(t)}}function a(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){t.done?r(t.value):new n(function(e){e(t.value)}).then(s,a)}l((i=i.apply(t,e||[])).next())})}function h(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=i[2&o[0]?"return":o[0]?"throw":"next"])&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[0,r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function d(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s}function _(){for(var t=[],e=0;e1||a(t,e)})})}function a(t,e){try{(n=r[t](e)).value instanceof m?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(t){c(o[0][3],t)}var n}function l(t){a("next",t)}function u(t){a("throw",t)}function c(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}function g(t){var e,n;return e={},i("next"),i("throw",function(t){throw t}),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,r){t[i]&&(e[i]=function(e){return(n=!n)?{value:m(t[i](e)),done:"return"===i}:r?r(e):e})}}function y(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator];return e?e.call(t):p(t)}function b(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function T(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function x(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";n.r(e);var i=n(0); /*! - * VERSION: 2.0.1 - * DATE: 2018-05-30 + * VERSION: 2.1.2 + * DATE: 2019-03-01 * UPDATES AND DOCS AT: http://greensock.com * - * @license Copyright (c) 2008-2018, GreenSock. All rights reserved. + * @license Copyright (c) 2008-2019, GreenSock. All rights reserved. * This work is subject to the terms at http://greensock.com/standard-license or for * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com - */i.k._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){i.i.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,n,r=this.vars;for(n in r)e=r[n],o(e)&&-1!==e.join("").indexOf("{self}")&&(r[n]=this._swapSelfInParams(e));o(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},e=i.l._internals,n=t._internals={},r=e.isSelector,o=e.isArray,s=e.lazyTweens,a=e.lazyRender,l=i.k._gsDefine.globals,u=function(t){var e,n={};for(e in t)n[e]=t[e];return n},c=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n]):r[n%r.length];delete t.cycle},h=n.pauseCallback=function(){},f=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},p=t.prototype=new i.i;return t.version="2.0.1",p.constructor=t,p.kill()._gc=p._forcingPlayhead=p._hasPause=!1,p.to=function(t,e,n,r){var o=n.repeat&&l.TweenMax||i.l;return e?this.add(new o(t,e,n),r):this.set(t,n,r)},p.from=function(t,e,n,r){return this.add((n.repeat&&l.TweenMax||i.l).from(t,e,n),r)},p.fromTo=function(t,e,n,r,o){var s=r.repeat&&l.TweenMax||i.l;return e?this.add(s.fromTo(t,e,n,r),o):this.set(t,r,o)},p.staggerTo=function(e,n,o,s,a,l,h,p){var d,_,m=new t({onComplete:l,onCompleteParams:h,callbackScope:p,smoothChildTiming:this.smoothChildTiming}),v=o.cycle;for("string"==typeof e&&(e=i.l.selector(e)||e),r(e=e||[])&&(e=f(e)),(s=s||0)<0&&((e=f(e)).reverse(),s*=-1),_=0;_e._startTime;h._timeline;)f&&h._timeline.smoothChildTiming?h.totalTime(h._totalTime,!0):h._gc&&h._enabled(!0,!1),h=h._timeline;return this},p.remove=function(t){if(t instanceof i.a){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?i.a._rootFramesTimeline:i.a._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&&o(t)){for(var n=t.length;--n>-1;)this.remove(t[n]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},p._remove=function(t,e){return i.i.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},p.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},p.insert=p.insertMultiple=function(t,e,n,i){return this.add(t,e||0,n,i)},p.appendMultiple=function(t,e,n,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),n,i)},p.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},p.addPause=function(t,e,n,r){var o=i.l.delayedCall(0,h,n,r||this);return o.vars.onComplete=o.vars.onReverseComplete=e,o.data="isPause",this._hasPause=!0,this.add(o,t)},p.removeLabel=function(t){return delete this._labels[t],this},p.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},p._parseTimeOrLabel=function(t,e,n,r){var s,a;if(r instanceof i.a&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&o(r)))for(a=r.length;--a>-1;)r[a]instanceof i.a&&r[a].timeline===this&&this.remove(r[a]);if(s="number"!=typeof t||e?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,n&&"number"==typeof t&&null==this._labels[e]?t-s:0,n);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=s);else{if(-1===(a=t.indexOf("=")))return null==this._labels[t]?n?this._labels[t]=s+e:e:this._labels[t]+e;e=parseInt(t.charAt(a-1)+"1",10)*Number(t.substr(a+1)),t=a>1?this._parseTimeOrLabel(t.substr(0,a-1),0,n):s}return Number(t)+e},p.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},p.stop=function(){return this.paused(!0)},p.gotoAndPlay=function(t,e){return this.play(t,e)},p.gotoAndStop=function(t,e){return this.pause(t,e)},p.render=function(t,e,n){this._gc&&this._enabled(!0,!1);var i,r,o,l,u,c,h,f=this._time,p=this._dirty?this.totalDuration():this._totalDuration,d=this._startTime,_=this._timeScale,m=this._paused;if(f!==this._time&&(t+=this._time-f),t>=p-1e-7&&t>=0)this._totalTime=this._time=p,this._reversed||this._hasPausedChild()||(r=!0,l="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||this._rawPrevTime<0||1e-10===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(u=!0,this._rawPrevTime>1e-10&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,t=p+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&1e-10!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(l="onReverseComplete",r=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=r=!0,l="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(u=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&r)for(i=this._first;i&&0===i._startTime;)i._duration||(r=!1),i=i._next;t=0,this._initted||(u=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=f)for(i=this._first;i&&i._startTime<=t&&!c;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===this._rawPrevTime||(c=i),i=i._next;else for(i=this._last;i&&i._startTime>=t&&!c;)i._duration||"isPause"===i.data&&i._rawPrevTime>0&&(c=i),i=i._prev;c&&(this._time=t=c._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==f&&this._first||n||u||c){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(h=this._time)>=f)for(i=this._first;i&&(o=i._next,h===this._time&&(!this._paused||m));)(i._active||i._startTime<=h&&!i._paused&&!i._gc)&&(c===i&&this.pause(),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)),i=o;else for(i=this._last;i&&(o=i._prev,h===this._time&&(!this._paused||m));){if(i._active||i._startTime<=f&&!i._paused&&!i._gc){if(c===i){for(c=i._prev;c&&c.endTime()>this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,n),c=c._prev;c=null,this.pause()}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)}i=o}this._onUpdate&&(e||(s.length&&a(),this._callback("onUpdate"))),l&&(this._gc||d!==this._startTime&&_===this._timeScale||(0===this._time||p>=this.totalDuration())&&(r&&(s.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}},p._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},p.getChildren=function(t,e,n,r){r=r||-9999999999;for(var o=[],s=this._first,a=0;s;)s._startTime-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(s[a++]=n[r]);return o&&this._enabled(!1,!0),s},p.recent=function(){return this._recent},p._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},p.shiftChildren=function(t,e,n){n=n||0;for(var i,r=this._first,o=this._labels;r;)r._startTime>=n&&(r._startTime+=t),r=r._next;if(e)for(i in o)o[i]>=n&&(o[i]+=t);return this._uncache(!0)},p._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var n=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=n.length,r=!1;--i>-1;)n[i]._kill(t,e)&&(r=!0);return r},p.clear=function(t){var e=this.getChildren(!1,!0,!0),n=e.length;for(this._time=this._totalTime=0;--n>-1;)e[n]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},p.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return i.a.prototype.invalidate.call(this)},p._enabled=function(t,e){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return i.i.prototype._enabled.call(this,t,e)},p.totalTime=function(t,e,n){this._forcingPlayhead=!0;var r=i.a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},p.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},p.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,n,i=0,r=this._last,o=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>o&&this._sortChildren&&!r._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(r,r._startTime-r._delay),this._calculatingDuration=0):o=r._startTime,r._startTime<0&&!r._paused&&(i-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale,this._time-=r._startTime,this._totalTime-=r._startTime,this._rawPrevTime-=r._startTime),this.shiftChildren(-r._startTime,!1,-9999999999),o=0),(n=r._startTime+r._totalDuration/r._timeScale)>i&&(i=n),r=e;this._duration=this._totalDuration=i,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},p.paused=function(t){if(!t)for(var e=this._first,n=this._time;e;)e._startTime===n&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return i.a.prototype.paused.apply(this,arguments)},p.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===i.a._rootFramesTimeline},p.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);const r=i.k.TimelineLite; + */i.k._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){i.i.call(this,t);var e,n,r=this.vars;for(n in this._labels={},this.autoRemoveChildren=!!r.autoRemoveChildren,this.smoothChildTiming=!!r.smoothChildTiming,this._sortChildren=!0,this._onUpdate=r.onUpdate,r)e=r[n],o(e)&&-1!==e.join("").indexOf("{self}")&&(r[n]=this._swapSelfInParams(e));o(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},e=i.l._internals,n=t._internals={},r=e.isSelector,o=e.isArray,s=e.lazyTweens,a=e.lazyRender,l=i.k._gsDefine.globals,u=function(t){var e,n={};for(e in t)n[e]=t[e];return n},c=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n],e):r[n%r.length];delete t.cycle},h=n.pauseCallback=function(){},f=function(t,e,n,i){var r="immediateRender";return r in e||(e[r]=!(n&&!1===n[r]||i)),e},p=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},n=e.ease,i=e.from||0,r=e.base||0,o={},s=isNaN(i),a=e.axis,l={center:.5,end:1}[i]||0;return function(t,u,c){var h,f,p,d,_,m,v,g,y,b=(c||e).length,T=o[b];if(!T){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(v=-1/0;v<(v=c[y++].getBoundingClientRect().left)&&yv&&(v=_),_b?b:a?"y"===a?b/y:y:Math.max(y,b/y))||0,T.b=b<0?r-b:r}return b=(T[t]-T.min)/T.max,T.b+(n?n.getRatio(b):b)*T.v}},d=t.prototype=new i.i;return t.version="2.1.2",t.distribute=p,d.constructor=t,d.kill()._gc=d._forcingPlayhead=d._hasPause=!1,d.to=function(t,e,n,r){var o=n.repeat&&l.TweenMax||i.l;return e?this.add(new o(t,e,n),r):this.set(t,n,r)},d.from=function(t,e,n,r){return this.add((n.repeat&&l.TweenMax||i.l).from(t,e,f(0,n)),r)},d.fromTo=function(t,e,n,r,o){var s=r.repeat&&l.TweenMax||i.l;return r=f(0,r,n),e?this.add(s.fromTo(t,e,n,r),o):this.set(t,r,o)},d.staggerTo=function(e,n,o,s,a,l,h,f){var d,_,m=new t({onComplete:l,onCompleteParams:h,callbackScope:f,smoothChildTiming:this.smoothChildTiming}),v=p(o.stagger||s),g=o.startAt,y=o.cycle;for("string"==typeof e&&(e=i.l.selector(e)||e),r(e=e||[])&&(e=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n}(e)),_=0;_1e-5)&&e.render(a,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duratione._startTime;h._timeline;)f&&h._timeline.smoothChildTiming?h.totalTime(h._totalTime,!0):h._gc&&h._enabled(!0,!1),h=h._timeline;return this},d.remove=function(t){if(t instanceof i.a){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?i.a._rootFramesTimeline:i.a._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&&o(t)){for(var n=t.length;--n>-1;)this.remove(t[n]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},d._remove=function(t,e){return i.i.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},d.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},d.insert=d.insertMultiple=function(t,e,n,i){return this.add(t,e||0,n,i)},d.appendMultiple=function(t,e,n,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),n,i)},d.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},d.addPause=function(t,e,n,r){var o=i.l.delayedCall(0,h,n,r||this);return o.vars.onComplete=o.vars.onReverseComplete=e,o.data="isPause",this._hasPause=!0,this.add(o,t)},d.removeLabel=function(t){return delete this._labels[t],this},d.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},d._parseTimeOrLabel=function(t,e,n,r){var s,a;if(r instanceof i.a&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&o(r)))for(a=r.length;--a>-1;)r[a]instanceof i.a&&r[a].timeline===this&&this.remove(r[a]);if(s="number"!=typeof t||e?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,n&&"number"==typeof t&&null==this._labels[e]?t-s:0,n);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=s);else{if(-1===(a=t.indexOf("=")))return null==this._labels[t]?n?this._labels[t]=s+e:e:this._labels[t]+e;e=parseInt(t.charAt(a-1)+"1",10)*Number(t.substr(a+1)),t=a>1?this._parseTimeOrLabel(t.substr(0,a-1),0,n):s}return Number(t)+e},d.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},d.stop=function(){return this.paused(!0)},d.gotoAndPlay=function(t,e){return this.play(t,e)},d.gotoAndStop=function(t,e){return this.pause(t,e)},d.render=function(t,e,n){this._gc&&this._enabled(!0,!1);var i,r,o,l,u,c,h,f,p=this._time,d=this._dirty?this.totalDuration():this._totalDuration,_=this._startTime,m=this._timeScale,v=this._paused;if(p!==this._time&&(t+=this._time-p),t>=d-1e-8&&t>=0)this._totalTime=this._time=d,this._reversed||this._hasPausedChild()||(r=!0,l="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||this._rawPrevTime<0||1e-8===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(u=!0,this._rawPrevTime>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,t=d+1e-4;else if(t<1e-8)if(this._totalTime=this._time=0,t>-1e-8&&(t=0),(0!==p||0===this._duration&&1e-8!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(l="onReverseComplete",r=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=r=!0,l="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(u=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&r)for(i=this._first;i&&0===i._startTime;)i._duration||(r=!1),i=i._next;t=0,this._initted||(u=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=p)for(i=this._first;i&&i._startTime<=t&&!c;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===this._rawPrevTime||(c=i),i=i._next;else for(i=this._last;i&&i._startTime>=t&&!c;)i._duration||"isPause"===i.data&&i._rawPrevTime>0&&(c=i),i=i._prev;c&&(this._time=this._totalTime=t=c._startTime,f=this._startTime+t/this._timeScale)}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==p&&this._first||n||u||c){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&t>0&&(this._active=!0),0===p&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(h=this._time)>=p)for(i=this._first;i&&(o=i._next,h===this._time&&(!this._paused||v));)(i._active||i._startTime<=h&&!i._paused&&!i._gc)&&(c===i&&(this.pause(),this._pauseTime=f),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)),i=o;else for(i=this._last;i&&(o=i._prev,h===this._time&&(!this._paused||v));){if(i._active||i._startTime<=p&&!i._paused&&!i._gc){if(c===i){for(c=i._prev;c&&c.endTime()>this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,n),c=c._prev;c=null,this.pause(),this._pauseTime=f}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)}i=o}this._onUpdate&&(e||(s.length&&a(),this._callback("onUpdate"))),l&&(this._gc||_!==this._startTime&&m===this._timeScale||(0===this._time||d>=this.totalDuration())&&(r&&(s.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}},d._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},d.getChildren=function(t,e,n,r){r=r||-9999999999;for(var o=[],s=this._first,a=0;s;)s._startTime-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(s[a++]=n[r]);return o&&this._enabled(!1,!0),s},d.recent=function(){return this._recent},d._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},d.shiftChildren=function(t,e,n){n=n||0;for(var i,r=this._first,o=this._labels;r;)r._startTime>=n&&(r._startTime+=t),r=r._next;if(e)for(i in o)o[i]>=n&&(o[i]+=t);return this._uncache(!0)},d._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var n=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=n.length,r=!1;--i>-1;)n[i]._kill(t,e)&&(r=!0);return r},d.clear=function(t){var e=this.getChildren(!1,!0,!0),n=e.length;for(this._time=this._totalTime=0;--n>-1;)e[n]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},d.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return i.a.prototype.invalidate.call(this)},d._enabled=function(t,e){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return i.i.prototype._enabled.call(this,t,e)},d.totalTime=function(t,e,n){this._forcingPlayhead=!0;var r=i.a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},d.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},d.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,n,i=0,r=this._last,o=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>o&&this._sortChildren&&!r._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(r,r._startTime-r._delay),this._calculatingDuration=0):o=r._startTime,r._startTime<0&&!r._paused&&(i-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale,this._time-=r._startTime,this._totalTime-=r._startTime,this._rawPrevTime-=r._startTime),this.shiftChildren(-r._startTime,!1,-9999999999),o=0),(n=r._startTime+r._totalDuration/r._timeScale)>i&&(i=n),r=e;this._duration=this._totalDuration=i,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},d.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 i.a.prototype.paused.apply(this,arguments)},d.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===i.a._rootFramesTimeline},d.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 r=i.m.TimelineLite; /*! - * VERSION: 2.0.1 - * DATE: 2018-05-30 + * VERSION: 2.1.2 + * DATE: 2019-03-01 * UPDATES AND DOCS AT: http://greensock.com * - * @license Copyright (c) 2008-2018, GreenSock. All rights reserved. + * @license Copyright (c) 2008-2019, GreenSock. All rights reserved. * This work is subject to the terms at http://greensock.com/standard-license or for * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com - */i.k._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(){var t=function(t){r.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},e=i.l._internals,n=e.lazyTweens,o=e.lazyRender,s=i.k._gsDefine.globals,a=new i.b(null,null,1,0),l=t.prototype=new r;return l.constructor=t,l.kill()._gc=!1,t.version="2.0.1",l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),r.prototype.invalidate.call(this)},l.addCallback=function(t,e,n,r){return this.add(i.l.delayedCall(0,t,n,r),e)},l.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var n=this.getTweensOf(t,!1),i=n.length,r=this._parseTimeOrLabel(e);--i>-1;)n[i]._startTime===r&&n[i]._enabled(!1,!1);return this},l.removePause=function(t){return this.removeCallback(r._internals.pauseCallback,t)},l.tweenTo=function(t,e){e=e||{};var n,r,o,l={ease:a,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},u=e.repeat&&s.TweenMax||i.l;for(r in e)l[r]=e[r];return l.time=this._parseTimeOrLabel(t),n=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,o=new u(this,n,l),l.onStart=function(){o.target.paused(!0),o.vars.time===o.target.time()||n!==o.duration()||o.isFromTo||o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale).render(o.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||o,e.onStartParams||[])},o},l.tweenFromTo=function(t,e,n){n=n||{},t=this._parseTimeOrLabel(t),n.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},n.immediateRender=!1!==n.immediateRender;var i=this.tweenTo(e,n);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-t)/this._timeScale||.001)},l.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,a,l,u,c,h,f,p=this._time,d=this._dirty?this.totalDuration():this._totalDuration,_=this._duration,m=this._totalTime,v=this._startTime,g=this._timeScale,y=this._rawPrevTime,b=this._paused,T=this._cycle;if(p!==this._time&&(t+=this._time-p),t>=d-1e-7&&t>=0)this._locked||(this._totalTime=d,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,l="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||y<0||1e-10===y)&&y!==t&&this._first&&(u=!0,y>1e-10&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=_,t=_+1e-4);else if(t<1e-7)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==p||0===_&&1e-10!==y&&(y>0||t<0&&y>=0)&&!this._locked)&&(l="onReverseComplete",s=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=s=!0,l="onReverseComplete"):y>=0&&this._first&&(u=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=_||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,this._initted||(u=!0)}else if(0===_&&y<0&&(u=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(c=_+this._repeatDelay,this._cycle=this._totalTime/c>>0,0!==this._cycle&&this._cycle===this._totalTime/c&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*c,this._yoyo&&0!=(1&this._cycle)&&(this._time=_-this._time),this._time>_?(this._time=_,t=_+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>=p||this._repeat&&T!==this._cycle)for(r=this._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(h=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&h._startTime<_&&(this._time=t=h._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==T&&!this._locked){var x=this._yoyo&&0!=(1&T),w=x===(this._yoyo&&0!=(1&this._cycle)),P=this._totalTime,O=this._cycle,S=this._rawPrevTime,E=this._time;if(this._totalTime=T*_,this._cycle0&&(this._active=!0),0===m&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(f=this._time)>=p)for(r=this._first;r&&(a=r._next,f===this._time&&(!this._paused||b));)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(h===r&&this.pause(),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=a;else for(r=this._last;r&&(a=r._prev,f===this._time&&(!this._paused||b));){if(r._active||r._startTime<=p&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,this.pause()}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=a}this._onUpdate&&(e||(n.length&&o(),this._callback("onUpdate"))),l&&(this._locked||this._gc||v!==this._startTime&&g===this._timeScale||(0===this._time||d>=this.totalDuration())&&(s&&(n.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},l.getActive=function(t,e,n){null==t&&(t=!0),null==e&&(e=!0),null==n&&(n=!1);var i,r,o=[],s=this.getChildren(t,e,n),a=0,l=s.length;for(i=0;it)return n[e].name;return null},l.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),n=e.length;--n>-1;)if(e[n].timethis._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},l.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},t},!0);const o=i.k.TimelineMax; + */i.k._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(){var t=function(t){r.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=i.l._internals,n=e.lazyTweens,o=e.lazyRender,s=i.k._gsDefine.globals,a=new i.b(null,null,1,0),l=t.prototype=new r;return l.constructor=t,l.kill()._gc=!1,t.version="2.1.2",l.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),r.prototype.invalidate.call(this)},l.addCallback=function(t,e,n,r){return this.add(i.l.delayedCall(0,t,n,r),e)},l.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var n=this.getTweensOf(t,!1),i=n.length,r=this._parseTimeOrLabel(e);--i>-1;)n[i]._startTime===r&&n[i]._enabled(!1,!1);return this},l.removePause=function(t){return this.removeCallback(r._internals.pauseCallback,t)},l.tweenTo=function(t,e){e=e||{};var n,r,o,l={ease:a,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},u=e.repeat&&s.TweenMax||i.l;for(r in e)l[r]=e[r];return l.time=this._parseTimeOrLabel(t),n=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,o=new u(this,n,l),l.onStart=function(){o.target.paused(!0),o.vars.time===o.target.time()||n!==o.duration()||o.isFromTo||o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale).render(o.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||o,e.onStartParams||[])},o},l.tweenFromTo=function(t,e,n){n=n||{},t=this._parseTimeOrLabel(t),n.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},n.immediateRender=!1!==n.immediateRender;var i=this.tweenTo(e,n);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-t)/this._timeScale||.001)},l.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,a,l,u,c,h,f,p,d=this._time,_=this._dirty?this.totalDuration():this._totalDuration,m=this._duration,v=this._totalTime,g=this._startTime,y=this._timeScale,b=this._rawPrevTime,T=this._paused,x=this._cycle;if(d!==this._time&&(t+=this._time-d),t>=_-1e-8&&t>=0)this._locked||(this._totalTime=_,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,l="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||b<0||1e-8===b)&&b!==t&&this._first&&(u=!0,b>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,this._yoyo&&1&this._cycle?this._time=t=0:(this._time=m,t=m+1e-4);else if(t<1e-8)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,t>-1e-8&&(t=0),(0!==d||0===m&&1e-8!==b&&(b>0||t<0&&b>=0)&&!this._locked)&&(l="onReverseComplete",s=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=s=!0,l="onReverseComplete"):b>=0&&this._first&&(u=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=m||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,this._initted||(u=!0)}else if(0===m&&b<0&&(u=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(c=m+this._repeatDelay,this._cycle=this._totalTime/c>>0,this._cycle&&this._cycle===this._totalTime/c&&v<=t&&this._cycle--,this._time=this._totalTime-this._cycle*c,this._yoyo&&1&this._cycle&&(this._time=m-this._time),this._time>m?(this._time=m,t=m+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>=d||this._repeat&&x!==this._cycle)for(r=this._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(h=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&(p=this._startTime+h._startTime/this._timeScale,h._startTime0&&(this._active=!0),0===v&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(f=this._time)>=d)for(r=this._first;r&&(a=r._next,f===this._time&&(!this._paused||T));)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(h===r&&(this.pause(),this._pauseTime=p),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=a;else for(r=this._last;r&&(a=r._prev,f===this._time&&(!this._paused||T));){if(r._active||r._startTime<=d&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,this.pause(),this._pauseTime=p}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=a}this._onUpdate&&(e||(n.length&&o(),this._callback("onUpdate"))),l&&(this._locked||this._gc||g!==this._startTime&&y===this._timeScale||(0===this._time||_>=this.totalDuration())&&(s&&(n.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}else v!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},l.getActive=function(t,e,n){var i,r,o=[],s=this.getChildren(t||null==t,e||null==t,!!n),a=0,l=s.length;for(i=0;it)return n[e].name;return null},l.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),n=e.length;--n>-1;)if(e[n].timen&&(t=n),this.totalTime(this._yoyo&&1&i?n-t+r:this._repeat?t+r:t,e)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},l.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},t},!0);var o=i.m.TimelineMax; /*! - * VERSION: 2.0.1 - * DATE: 2018-05-30 + * VERSION: 2.1.2 + * DATE: 2019-03-01 * UPDATES AND DOCS AT: http://greensock.com * - * @license Copyright (c) 2008-2018, GreenSock. All rights reserved. + * @license Copyright (c) 2008-2019, GreenSock. All rights reserved. * This work is subject to the terms at http://greensock.com/standard-license or for * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com - **/i.k._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},e=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n]):r[n%r.length];delete t.cycle},n=function(t,e,r){i.l.call(this,t,e,r),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},r=i.l._internals,o=r.isSelector,s=r.isArray,a=n.prototype=i.l.to({},.1,{}),l=[];n.version="2.0.1",a.constructor=n,a.kill()._gc=!1,n.killTweensOf=n.killDelayedCallsTo=i.l.killTweensOf,n.getTweensOf=i.l.getTweensOf,n.lagSmoothing=i.l.lagSmoothing,n.ticker=i.l.ticker,n.render=i.l.render,a.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),i.l.prototype.invalidate.call(this)},a.updateTo=function(t,e){var n,r=this.ratio,o=this.vars.immediateRender||t.immediateRender;for(n in e&&this._startTime.998){var s=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(s,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||o)for(var a,l=1/(1-r),u=this._firstPT;u;)a=u.s+u.c,u.c*=l,u.s=a-u.c,u=u._next;return this},a.render=function(t,e,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var o,s,a,l,u,c,h,f,p,d=this._dirty?this.totalDuration():this._totalDuration,_=this._time,m=this._totalTime,v=this._cycle,g=this._duration,y=this._rawPrevTime;if(t>=d-1e-7&&t>=0?(this._totalTime=d,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=g,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(o=!0,s="onComplete",n=n||this._timeline.autoRemoveChildren),0===g&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(y<0||t<=0&&t>=-1e-7||1e-10===y&&"isPause"!==this.data)&&y!==t&&(n=!0,y>1e-10&&(s="onReverseComplete")),this._rawPrevTime=f=!e||t||y===t?t:1e-10)):t<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===g&&y>0)&&(s="onReverseComplete",o=this._reversed),t<0&&(this._active=!1,0===g&&(this._initted||!this.vars.lazy||n)&&(y>=0&&(n=!0),this._rawPrevTime=f=!e||t||y===t?t:1e-10)),this._initted||(n=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=g+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=g-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof i.b?p:i.b.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof i.b?p:"function"==typeof p?new i.b(p,this.vars.easeParams):i.b.map[p]||i.l.defaultEase:i.l.defaultEase)),this.ratio=p?1-p.getRatio((g-this._time)/g):0)),this._time>g?this._time=g:this._time<0&&(this._time=0)),this._easeType&&!p?(u=this._time/g,c=this._easeType,h=this._easePower,(1===c||3===c&&u>=.5)&&(u=1-u),3===c&&(u*=2),1===h?u*=u:2===h?u*=u*u:3===h?u*=u*u*u:4===h&&(u*=u*u*u*u),1===c?this.ratio=1-u:2===c?this.ratio=u:this._time/g<.5?this.ratio=u/2:this.ratio=1-u/2):p||(this.ratio=this._ease.getRatio(this._time/g))),_!==this._time||n||v!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=_,this._totalTime=m,this._rawPrevTime=y,this._cycle=v,r.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||o||p?o&&this._ease._calcEnd&&!p&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/g)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==_&&t>=0&&(this._active=!0),0===m&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,n):s||(s="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==g||e||this._callback("onStart"))),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,n),e||(this._totalTime!==m||s)&&this._callback("onUpdate")),this._cycle!==v&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),s&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,n),o&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===g&&1e-10===this._rawPrevTime&&1e-10!==f&&(this._rawPrevTime=0)))}else m!==this._totalTime&&this._onUpdate&&(e||this._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(r,a,u,c,h,f,p){c=c||0;var d,_,m,v,g=0,y=[],b=function(){u.onComplete&&u.onComplete.apply(u.onCompleteScope||this,arguments),h.apply(p||u.callbackScope||this,f||l)},T=u.cycle,x=u.startAt&&u.startAt.cycle;for(s(r)||("string"==typeof r&&(r=i.l.selector(r)||r),o(r)&&(r=t(r))),r=r||[],c<0&&((r=t(r)).reverse(),c*=-1),d=r.length-1,m=0;m<=d;m++){for(v in _={},u)_[v]=u[v];if(T&&(e(_,r,m),null!=_.duration&&(a=_.duration,delete _.duration)),x){for(v in x=_.startAt={},u.startAt)x[v]=u.startAt[v];e(_.startAt,r,m)}_.delay=g+(_.delay||0),m===d&&h&&(_.onComplete=b),y[m]=new n(r[m],a,_),g+=c}return y},n.staggerFrom=n.allFrom=function(t,e,i,r,o,s,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,n.staggerTo(t,e,i,r,o,s,a)},n.staggerFromTo=n.allFromTo=function(t,e,i,r,o,s,a,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,n.staggerTo(t,e,r,o,s,a,l)},n.delayedCall=function(t,e,i,r,o){return new n(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:o,overwrite:0})},n.set=function(t,e){return new n(t,0,e)},n.isTweening=function(t){return i.l.getTweensOf(t,!0).length>0};var u=function(t,e){for(var n=[],r=0,o=t._first;o;)o instanceof i.l?n[r++]=o:(e&&(n[r++]=o),r=(n=n.concat(u(o,e))).length),o=o._next;return n},c=n.getAllTweens=function(t){return u(i.a._rootTimeline,t).concat(u(i.a._rootFramesTimeline,t))};n.killAll=function(t,e,n,r){null==e&&(e=!0),null==n&&(n=!0);var o,s,a,l=c(0!=r),u=l.length,h=e&&n&&r;for(a=0;a-1;)n.killChildTweensOf(e[h],a);else{for(c in l=[],p)for(u=p[c].target.parentNode;u;)u===e&&(l=l.concat(p[c].tweens)),u=u.parentNode;for(f=l.length,h=0;h-1;)s=a[u],(l||s instanceof i.i||(o=s.target===s.vars.onComplete)&&n||e&&!o)&&s.paused(t)};return n.pauseAll=function(t,e,n){h(!0,t,e,n)},n.resumeAll=function(t,e,n){h(!1,t,e,n)},n.globalTimeScale=function(t){var e=i.a._rootTimeline,n=i.l.ticker.time;return arguments.length?(t=t||1e-10,e._startTime=n-(n-e._startTime)*e._timeScale/t,e=i.a._rootFramesTimeline,n=i.l.ticker.frame,e._startTime=n-(n-e._startTime)*e._timeScale/t,e._timeScale=i.a._rootTimeline._timeScale=t,t):e._timeScale},a.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._time/this.duration()},a.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},a.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},a.duration=function(t){return arguments.length?i.a.prototype.duration.call(this,t):this._duration},a.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)},a.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},a.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},a.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},n},!0);const s=i.k.TweenMax; + **/i.k._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},e=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n],e):r[n%r.length];delete t.cycle},n=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},n=e.ease,i=e.from||0,r=e.base||0,o={},s=isNaN(i),a=e.axis,l={center:.5,end:1}[i]||0;return function(t,u,c){var h,f,p,d,_,m,v,g,y,b=(c||e).length,T=o[b];if(!T){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(v=-1/0;v<(v=c[y++].getBoundingClientRect().left)&&yv&&(v=_),_b?b:a?"y"===a?b/y:y:Math.max(y,b/y))||0,T.b=b<0?r-b:r}return b=(T[t]-T.min)/T.max,T.b+(n?n.getRatio(b):b)*T.v}},r=function(t,e,n){i.l.call(this,t,e,n),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=r.prototype.render},o=i.l._internals,s=o.isSelector,a=o.isArray,l=r.prototype=i.l.to({},.1,{}),u=[];r.version="2.1.2",l.constructor=r,l.kill()._gc=!1,r.killTweensOf=r.killDelayedCallsTo=i.l.killTweensOf,r.getTweensOf=i.l.getTweensOf,r.lagSmoothing=i.l.lagSmoothing,r.ticker=i.l.ticker,r.render=i.l.render,r.distribute=n,l.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),i.l.prototype.invalidate.call(this)},l.updateTo=function(t,e){var n,r=this.ratio,o=this.vars.immediateRender||t.immediateRender;for(n in e&&this._startTime.998){var s=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(s,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||o)for(var a,l=1/(1-r),u=this._firstPT;u;)a=u.s+u.c,u.c*=l,u.s=a-u.c,u=u._next;return this},l.render=function(t,e,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var r,s,a,l,u,c,h,f,p,d=this._dirty?this.totalDuration():this._totalDuration,_=this._time,m=this._totalTime,v=this._cycle,g=this._duration,y=this._rawPrevTime;if(t>=d-1e-8&&t>=0?(this._totalTime=d,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=g,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(r=!0,s="onComplete",n=n||this._timeline.autoRemoveChildren),0===g&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(y<0||t<=0&&t>=-1e-8||1e-8===y&&"isPause"!==this.data)&&y!==t&&(n=!0,y>1e-8&&(s="onReverseComplete")),this._rawPrevTime=f=!e||t||y===t?t:1e-8)):t<1e-8?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===g&&y>0)&&(s="onReverseComplete",r=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===g&&(this._initted||!this.vars.lazy||n)&&(y>=0&&(n=!0),this._rawPrevTime=f=!e||t||y===t?t:1e-8)),this._initted||(n=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=g+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=g-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof i.b?p:i.b.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof i.b?p:"function"==typeof p?new i.b(p,this.vars.easeParams):i.b.map[p]||i.l.defaultEase:i.l.defaultEase)),this.ratio=p?1-p.getRatio((g-this._time)/g):0)),this._time>g?this._time=g:this._time<0&&(this._time=0)),this._easeType&&!p?(u=this._time/g,c=this._easeType,h=this._easePower,(1===c||3===c&&u>=.5)&&(u=1-u),3===c&&(u*=2),1===h?u*=u:2===h?u*=u*u:3===h?u*=u*u*u:4===h&&(u*=u*u*u*u),this.ratio=1===c?1-u:2===c?u:this._time/g<.5?u/2:1-u/2):p||(this.ratio=this._ease.getRatio(this._time/g))),_!==this._time||n||v!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=_,this._totalTime=m,this._rawPrevTime=y,this._cycle=v,o.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||r||p?r&&this._ease._calcEnd&&!p&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/g)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==_&&t>=0&&(this._active=!0),0===m&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,n):s||(s="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==g||e||this._callback("onStart"))),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,n),e||(this._totalTime!==m||s)&&this._callback("onUpdate")),this._cycle!==v&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),s&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,n),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===g&&1e-8===this._rawPrevTime&&1e-8!==f&&(this._rawPrevTime=0)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},r.to=function(t,e,n){return new r(t,e,n)},r.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new r(t,e,n)},r.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new r(t,e,i)},r.staggerTo=r.allTo=function(o,l,c,h,f,p,d){var _,m,v,g,y=[],b=n(c.stagger||h),T=c.cycle,x=(c.startAt||u).cycle;for(a(o)||("string"==typeof o&&(o=i.l.selector(o)||o),s(o)&&(o=t(o))),_=(o=o||[]).length-1,v=0;v<=_;v++){for(g in m={},c)m[g]=c[g];if(T&&(e(m,o,v),null!=m.duration&&(l=m.duration,delete m.duration)),x){for(g in x=m.startAt={},c.startAt)x[g]=c.startAt[g];e(m.startAt,o,v)}m.delay=b(v,o[v],o)+(m.delay||0),v===_&&f&&(m.onComplete=function(){c.onComplete&&c.onComplete.apply(c.onCompleteScope||this,arguments),f.apply(d||c.callbackScope||this,p||u)}),y[v]=new r(o[v],l,m)}return y},r.staggerFrom=r.allFrom=function(t,e,n,i,o,s,a){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,r.staggerTo(t,e,n,i,o,s,a)},r.staggerFromTo=r.allFromTo=function(t,e,n,i,o,s,a,l){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,r.staggerTo(t,e,i,o,s,a,l)},r.delayedCall=function(t,e,n,i,o){return new r(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,useFrames:o,overwrite:0})},r.set=function(t,e){return new r(t,0,e)},r.isTweening=function(t){return i.l.getTweensOf(t,!0).length>0};var c=function(t,e){for(var n=[],r=0,o=t._first;o;)o instanceof i.l?n[r++]=o:(e&&(n[r++]=o),r=(n=n.concat(c(o,e))).length),o=o._next;return n},h=r.getAllTweens=function(t){return c(i.a._rootTimeline,t).concat(c(i.a._rootFramesTimeline,t))};r.killAll=function(t,e,n,r){null==e&&(e=!0),null==n&&(n=!0);var o,s,a,l=h(0!=r),u=l.length,c=e&&n&&r;for(a=0;a-1;)r.killChildTweensOf(e[h],n);else{for(c in l=[],p)for(u=p[c].target.parentNode;u;)u===e&&(l=l.concat(p[c].tweens)),u=u.parentNode;for(f=l.length,h=0;h-1;)s=a[u],(l||s instanceof i.i||(o=s.target===s.vars.onComplete)&&n||e&&!o)&&s.paused(t)};return r.pauseAll=function(t,e,n){f(!0,t,e,n)},r.resumeAll=function(t,e,n){f(!1,t,e,n)},r.globalTimeScale=function(t){var e=i.a._rootTimeline,n=i.l.ticker.time;return arguments.length?(t=t||1e-8,e._startTime=n-(n-e._startTime)*e._timeScale/t,e=i.a._rootFramesTimeline,n=i.l.ticker.frame,e._startTime=n-(n-e._startTime)*e._timeScale/t,e._timeScale=i.a._rootTimeline._timeScale=t,t):e._timeScale},l.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._time/this.duration()},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},l.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var n=this._duration,i=this._cycle,r=i*(n+this._repeatDelay);return t>n&&(t=n),this.totalTime(this._yoyo&&1&i?n-t+r:this._repeat?t+r:t,e)},l.duration=function(t){return arguments.length?i.a.prototype.duration.call(this,t):this._duration},l.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)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r},!0);var s=i.m.TweenMax; /*! - * VERSION: 1.20.5 - * DATE: 2018-05-30 + * VERSION: 2.1.0 + * DATE: 2019-02-15 * UPDATES AND DOCS AT: http://greensock.com * - * @license Copyright (c) 2008-2018, GreenSock. All rights reserved. + * @license Copyright (c) 2008-2019, GreenSock. All rights reserved. * This work is subject to the terms at http://greensock.com/standard-license or for * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com */ -i.k._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(){var t,e,n,r,o=function(){i.j.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},s=i.k._gsDefine.globals,a={},l=o.prototype=new i.j("css");l.constructor=o,o.version="1.20.5",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,l="px",o.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var u,c,h,f,p,d,_,m,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,g=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,y=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,x=/opacity *= *([^)]*)/i,w=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,O=/^(rgb|hsl)/,S=/([A-Z])/g,E=/-([a-z])/gi,k=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,A=function(t,e){return e.toUpperCase()},C=/(?:Left|Right|Width)/i,R=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,j=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,M=/,(?=[^\)]*(?:\(|$))/gi,I=/[\s,\(]/i,L=Math.PI/180,D=180/Math.PI,N={},z={style:{}},F=i.k.document||{createElement:function(){return z}},V=function(t,e){return F.createElementNS?F.createElementNS(e||"http://www.w3.org/1999/xhtml",t):F.createElement(t)},B=V("div"),X=V("img"),H=o._internals={_specialProps:a},U=(i.k.navigator||{}).userAgent||"",Y=function(){var t=U.indexOf("Android"),e=V("a");return h=-1!==U.indexOf("Safari")&&-1===U.indexOf("Chrome")&&(-1===t||parseFloat(U.substr(t+8,2))>3),p=h&&parseFloat(U.substr(U.indexOf("Version/")+8,2))<6,f=-1!==U.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(U)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(U))&&(d=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),W=function(t){return x.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},G=function(t){i.k.console&&console.log(t)},q="",$="",Z=function(t,e){var n,i,r=(e=e||B).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===r[n[i]+t];);return i>=0?(q="-"+($=3===i?"ms":n[i]).toLowerCase()+"-",$+t):null},Q=("undefined"!=typeof window?window:F.defaultView||{getComputedStyle:function(){}}).getComputedStyle,K=o.getStyle=function(t,e,n,i,r){var o;return Y||"opacity"!==e?(!i&&t.style[e]?o=t.style[e]:(n=n||Q(t))?o=n[e]||n.getPropertyValue(e)||n.getPropertyValue(e.replace(S,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==r||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:r):W(t)},J=H.convertToPixels=function(t,e,n,r,s){if("px"===r||!r&&"lineHeight"!==e)return n;if("auto"===r||!n)return 0;var a,l,u,c=C.test(e),h=t,f=B.style,p=n<0,d=1===n;if(p&&(n=-n),d&&(n*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))a=n/100*(c?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+K(t,"position")+";line-height:0;","%"!==r&&h.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)f[c?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(h=t.parentNode||F.body,-1!==K(h,"display").indexOf("flex")&&(f.position="absolute"),l=h._gsCache,u=i.l.ticker.frame,l&&c&&l.time===u)return l.width*n/100;f[c?"width":"height"]=n+r}h.appendChild(B),a=parseFloat(B[c?"offsetWidth":"offsetHeight"]),h.removeChild(B),c&&"%"===r&&!1!==o.cacheWidths&&((l=h._gsCache=h._gsCache||{}).time=u,l.width=a/n*100),0!==a||s||(a=J(t,e,n,r,!0))}else l=Q(t).lineHeight,t.style.lineHeight=n,a=parseFloat(Q(t).lineHeight),t.style.lineHeight=l;return d&&(a/=100),p?-a:a},tt=H.calculateOffset=function(t,e,n){if("absolute"!==K(t,"position",n))return 0;var i="left"===e?"Left":"Top",r=K(t,"margin"+i,n);return t["offset"+i]-(J(t,e,parseFloat(r),r.replace(T,""))||0)},et=function(t,e){var n,i,r,o={};if(e=e||Q(t,null))if(n=e.length)for(;--n>-1;)-1!==(r=e[n]).indexOf("-transform")&&jt!==r||(o[r.replace(E,A)]=e.getPropertyValue(r));else for(n in e)-1!==n.indexOf("Transform")&&Rt!==n||(o[n]=e[n]);else if(e=t.currentStyle||t.style)for(n in e)"string"==typeof n&&void 0===o[n]&&(o[n.replace(E,A)]=e[n]);return Y||(o.opacity=W(t)),i=Yt(t,e,!1),o.rotation=i.rotation,o.skewX=i.skewX,o.scaleX=i.scaleX,o.scaleY=i.scaleY,o.x=i.x,o.y=i.y,It&&(o.z=i.z,o.rotationX=i.rotationX,o.rotationY=i.rotationY,o.scaleZ=i.scaleZ),o.filters&&delete o.filters,o},nt=function(t,e,n,i,r){var o,s,a,l={},u=t.style;for(s in n)"cssText"!==s&&"length"!==s&&isNaN(s)&&(e[s]!==(o=n[s])||r&&r[s])&&-1===s.indexOf("Origin")&&("number"!=typeof o&&"string"!=typeof o||(l[s]="auto"!==o||"left"!==s&&"top"!==s?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[s]||""===e[s].replace(b,"")?o:0:tt(t,s),void 0!==u[s]&&(a=new vt(u,s,u[s],a))));if(i)for(s in i)"className"!==s&&(l[s]=i[s]);return{difs:l,firstMPT:a}},it={width:["Left","Right"],height:["Top","Bottom"]},rt=["marginLeft","marginRight","marginTop","marginBottom"],ot=function(t,e,n){if("svg"===(t.nodeName+"").toLowerCase())return(n||Q(t))[e]||0;if(t.getCTM&&Xt(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=it[e],o=r.length;for(n=n||Q(t,null);--o>-1;)i-=parseFloat(K(t,"padding"+r[o],n,!0))||0,i-=parseFloat(K(t,"border"+r[o]+"Width",n,!0))||0;return i},st=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var n,i=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],o=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];if(i.length>3&&!e){for(i=t.split(", ").join(",").split(","),t=[],n=0;n2?" "+i[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==o.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===o.charAt(1),e.ox=parseFloat(r.replace(b,"")),e.oy=parseFloat(o.replace(b,"")),e.v=t),e||t},at=function(t,e){return"function"==typeof t&&(t=t(m,_)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},lt=function(t,e){return"function"==typeof t&&(t=t(m,_)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ut=function(t,e,n,i){var r,o,s,a,l;return"function"==typeof t&&(t=t(m,_)),null==t?a=e:"number"==typeof t?a=t:(r=360,o=t.split("_"),s=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(o[0].substr(2)):parseFloat(o[0]))*(-1===t.indexOf("rad")?1:D)-(l?0:e),o.length&&(i&&(i[n]=e+s),-1!==t.indexOf("short")&&(s%=r)!==s%(r/2)&&(s=s<0?s+r:s-r),-1!==t.indexOf("_cw")&&s<0?s=(s+9999999999*r)%r-(s/r|0)*r:-1!==t.indexOf("ccw")&&s>0&&(s=(s-9999999999*r)%r-(s/r|0)*r)),a=e+s),a<1e-6&&a>-1e-6&&(a=0),a},ct={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ht=function(t,e,n){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},ft=o.parseColor=function(t,e){var n,i,r,o,s,a,l,u,c,h,f;if(t)if("number"==typeof t)n=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ct[t])n=ct[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(i=t.charAt(1))+i+(r=t.charAt(2))+r+(o=t.charAt(3))+o),n=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(n=f=t.match(v),e){if(-1!==t.indexOf("="))return t.match(g)}else s=Number(n[0])%360/360,a=Number(n[1])/100,i=2*(l=Number(n[2])/100)-(r=l<=.5?l*(a+1):l+a-l*a),n.length>3&&(n[3]=Number(n[3])),n[0]=ht(s+1/3,i,r),n[1]=ht(s,i,r),n[2]=ht(s-1/3,i,r);else n=t.match(v)||ct.transparent;n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3]))}else n=ct.black;return e&&!f&&(i=n[0]/255,r=n[1]/255,o=n[2]/255,l=((u=Math.max(i,r,o))+(c=Math.min(i,r,o)))/2,u===c?s=a=0:(h=u-c,a=l>.5?h/(2-u-c):h/(u+c),s=u===i?(r-o)/h+(r0?s[0].replace(v,""):"";return c?r=e?function(t){var e,f,p,d;if("number"==typeof t)t+=h;else if(i&&M.test(t)){for(d=t.replace(M,"|").split("|"),p=0;pp--)for(;++pf--)for(;++f>0];return r.parse(e,a,o,s)}},vt=(H._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,n,i,r,o,s=this.data,a=s.proxy,l=s.firstMPT;l;)e=a[l.v],l.r?e=l.r(e):e<1e-6&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(s.autoRotate&&(s.autoRotate.rotation=s.mod?s.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===t||0===t)for(l=s.firstMPT,o=1===t?"e":"b";l;){if((n=l.t).type){if(1===n.type){for(r=n.xs0+n.s+n.xs1,i=1;i0;)l="xn"+s,p[a=i.p+"_"+l]=i.data[l],f[a]=i[l],o||(u=new vt(i,l,a,u,i.rxp[l]));i=i._next}return{proxy:f,end:p,firstMPT:u,pt:c}},H.CSSPropTween=function(e,n,i,o,s,a,l,u,c,h,f){this.t=e,this.p=n,this.s=i,this.c=o,this.n=l||n,e instanceof gt||r.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=a||0,c&&(this.pr=c,t=!0),this.b=void 0===h?i:h,this.e=void 0===f?i+o:f,s&&(this._next=s,s._prev=this)}),yt=function(t,e,n,i,r,o){var s=new gt(t,e,n,i-n,r,-1,o);return s.b=n,s.e=s.xs0=i,s},bt=o.parseComplex=function(t,e,n,i,r,s,a,l,c,h){n=n||s||"","function"==typeof i&&(i=i(m,_)),a=new gt(t,e,0,0,a,h?2:1,null,!1,l,n,i),i+="",r&&dt.test(i+n)&&(i=[n,i],o.colorStringFilter(i),n=i[0],i=i[1]);var f,p,d,y,b,T,x,w,P,O,S,E,k,A=n.split(", ").join(",").split(" "),C=i.split(", ").join(",").split(" "),R=A.length,j=!1!==u;for(-1===i.indexOf(",")&&-1===n.indexOf(",")||(-1!==(i+n).indexOf("rgb")||-1!==(i+n).indexOf("hsl")?(A=A.join(" ").replace(M,", ").split(" "),C=C.join(" ").replace(M,", ").split(" ")):(A=A.join(" ").split(",").join(", ").split(" "),C=C.join(" ").split(",").join(", ").split(" ")),R=A.length),R!==C.length&&(R=(A=(s||"").split(" ")).length),a.plugin=c,a.setRatio=h,dt.lastIndex=0,f=0;f6)&&!Y&&0===b[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(C[f]).join("transparent")):(Y||(P=!1),k?a.appendXtra(O.substr(0,O.indexOf("hsl"))+(P?"hsla(":"hsl("),y[0],at(b[0],y[0]),",",!1,!0).appendXtra("",y[1],at(b[1],y[1]),"%,",!1).appendXtra("",y[2],at(b[2],y[2]),P?"%,":"%"+E,!1):a.appendXtra(O.substr(0,O.indexOf("rgb"))+(P?"rgba(":"rgb("),y[0],b[0]-y[0],",",Math.round,!0).appendXtra("",y[1],b[1]-y[1],",",Math.round).appendXtra("",y[2],b[2]-y[2],P?",":E,Math.round),P&&(y=y.length<4?1:y[3],a.appendXtra("",y,(b.length<4?1:b[3])-y,E,!1))),dt.lastIndex=0;else if(T=y.match(v)){if(!(x=b.match(g))||x.length!==T.length)return a;for(d=0,p=0;p0;)l["xn"+Tt]=0,l["xs"+Tt]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,n,i,r,o){var s=this,a=s.l;return s["xs"+a]+=o&&(a||s["xs"+a])?" "+t:t||"",n||0===a||s.plugin?(s.l++,s.type=s.setRatio?2:1,s["xs"+s.l]=i||"",a>0?(s.data["xn"+a]=e+n,s.rxp["xn"+a]=r,s["xn"+a]=e,s.plugin||(s.xfirst=new gt(s,"xn"+a,e,n,s.xfirst||s,0,s.n,r,s.pr),s.xfirst.xs0=0),s):(s.data={s:e+n},s.rxp={},s.s=e,s.c=n,s.r=r,s)):(s["xs"+a]+=e+(i||""),s)};var xt=function(t,e){e=e||{},this.p=e.prefix&&Z(t)||t,a[t]=a[this.p]=this,this.format=e.formatter||_t(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},wt=H._registerComplexSpecialProp=function(t,e,n){"object"!=typeof e&&(e={parser:n});var i,r=t.split(","),o=e.defaultValue;for(n=n||[o],i=0;ia.length?l.length:a.length,s=0;s-1;)o=Number(r[Tt]),r[Tt]=(s=o-(o|=0))?(1e5*s+(s<0?-.5:.5)|0)/1e5+o:o;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Yt=H.getTransform=function(t,e,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var s,a,l,u,c,h,f=n&&t._gsTransform||new Lt,p=f.scaleX<0,d=It&&(parseFloat(K(t,Mt,e,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,_=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Xt(t)),f.svg&&(Vt(t,K(t,Mt,e,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ot=o.useSVGTransformAttr||Ft),(s=Ut(t))!==Ht){if(16===s.length){var m,v,g,y,b,T=s[0],x=s[1],w=s[2],P=s[3],O=s[4],S=s[5],E=s[6],k=s[7],A=s[8],C=s[9],R=s[10],j=s[12],M=s[13],I=s[14],L=s[11],N=Math.atan2(E,R);f.zOrigin&&(j=A*(I=-f.zOrigin)-s[12],M=C*I-s[13],I=R*I+f.zOrigin-s[14]),f.rotationX=N*D,N&&(m=O*(y=Math.cos(-N))+A*(b=Math.sin(-N)),v=S*y+C*b,g=E*y+R*b,A=O*-b+A*y,C=S*-b+C*y,R=E*-b+R*y,L=k*-b+L*y,O=m,S=v,E=g),N=Math.atan2(-w,R),f.rotationY=N*D,N&&(v=x*(y=Math.cos(-N))-C*(b=Math.sin(-N)),g=w*y-R*b,C=x*b+C*y,R=w*b+R*y,L=P*b+L*y,T=m=T*y-A*b,x=v,w=g),N=Math.atan2(x,T),f.rotation=N*D,N&&(m=T*(y=Math.cos(N))+x*(b=Math.sin(N)),v=O*y+S*b,g=A*y+C*b,x=x*y-T*b,S=S*y-O*b,C=C*y-A*b,T=m,O=v,A=g),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),N=Math.atan2(O,S),f.scaleX=(1e5*Math.sqrt(T*T+x*x+w*w)+.5|0)/1e5,f.scaleY=(1e5*Math.sqrt(S*S+E*E)+.5|0)/1e5,f.scaleZ=(1e5*Math.sqrt(A*A+C*C+R*R)+.5|0)/1e5,T/=f.scaleX,O/=f.scaleY,x/=f.scaleX,S/=f.scaleY,Math.abs(N)>2e-5?(f.skewX=N*D,O=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(N))):f.skewX=0,f.perspective=L?1/(L<0?-L:L):0,f.x=j,f.y=M,f.z=I,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*T-f.yOrigin*O),f.y-=f.yOrigin-(f.yOrigin*x-f.xOrigin*S))}else if(!It||r||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var z=s.length>=6,F=z?s[0]:1,V=s[1]||0,B=s[2]||0,X=z?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(F*F+V*V),u=Math.sqrt(X*X+B*B),c=F||V?Math.atan2(V,F)*D:f.rotation||0,h=B||X?Math.atan2(B,X)*D+c:f.skewX||0,f.scaleX=l,f.scaleY=u,f.rotation=c,f.skewX=h,It&&(f.rotationX=f.rotationY=f.z=0,f.perspective=_,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*F+f.yOrigin*B),f.y-=f.yOrigin-(f.xOrigin*V+f.yOrigin*X))}for(a in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(p?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=d,f)f[a]<2e-5&&f[a]>-2e-5&&(f[a]=0)}return n&&(t._gsTransform=f,f.svg&&(Ot&&t.style[Rt]?i.l.delayedCall(.001,function(){$t(t.style,Rt)}):!Ot&&t.getAttribute("transform")&&i.l.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Wt=function(t){var e,n,i=this.data,r=-i.rotation*L,o=r+i.skewX*L,s=(Math.cos(r)*i.scaleX*1e5|0)/1e5,a=(Math.sin(r)*i.scaleX*1e5|0)/1e5,l=(Math.sin(o)*-i.scaleY*1e5|0)/1e5,u=(Math.cos(o)*i.scaleY*1e5|0)/1e5,c=this.t.style,h=this.t.currentStyle;if(h){n=a,a=-l,l=-n,e=h.filter,c.filter="";var f,p,_=this.t.offsetWidth,m=this.t.offsetHeight,v="absolute"!==h.position,g="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+a+", M21="+l+", M22="+u,y=i.x+_*i.xPercent/100,b=i.y+m*i.yPercent/100;if(null!=i.ox&&(y+=(f=(i.oxp?_*i.ox*.01:i.ox)-_/2)-(f*s+(p=(i.oyp?m*i.oy*.01:i.oy)-m/2)*a),b+=p-(f*l+p*u)),g+=v?", Dx="+((f=_/2)-(f*s+(p=m/2)*a)+y)+", Dy="+(p-(f*l+p*u)+b)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?c.filter=e.replace(j,g):c.filter=g+" "+e,0!==t&&1!==t||1===s&&0===a&&0===l&&1===u&&(v&&-1===g.indexOf("Dx=0, Dy=0")||x.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&c.removeAttribute("filter")),!v){var w,P,O,S=d<8?1:-1;for(f=i.ieOffsetX||0,p=i.ieOffsetY||0,i.ieOffsetX=Math.round((_-((s<0?-s:s)*_+(a<0?-a:a)*m))/2+y),i.ieOffsetY=Math.round((m-((u<0?-u:u)*m+(l<0?-l:l)*_))/2+b),Tt=0;Tt<4;Tt++)O=(n=-1!==(w=h[P=rt[Tt]]).indexOf("px")?parseFloat(w):J(this.t,P,parseFloat(w),w.replace(T,""))||0)!==i[P]?Tt<2?-i.ieOffsetX:-i.ieOffsetY:Tt<2?f-i.ieOffsetX:p-i.ieOffsetY,c[P]=(i[P]=Math.round(n-O*(0===Tt||2===Tt?1:S)))+"px"}}},Gt=H.set3DTransformRatio=H.setTransformRatio=function(t){var e,n,i,r,o,s,a,l,u,c,h,p,d,_,m,v,g,y,b,T,x,w=this.data,P=this.t.style,O=w.rotation,S=w.rotationX,E=w.rotationY,k=w.scaleX,A=w.scaleY,C=w.scaleZ,R=w.x,j=w.y,M=w.z,I=w.svg,D=w.perspective,N=w.force3D,z=w.skewY,F=w.skewX;if(z&&(F+=z,O+=z),!((1!==t&&0!==t||"auto"!==N||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&N||M||D||E||S||1!==C)||Ot&&I||!It)O||F||I?(O*=L,T=F*L,x=1e5,n=Math.cos(O)*k,o=Math.sin(O)*k,i=Math.sin(O-T)*-A,s=Math.cos(O-T)*A,T&&"simple"===w.skewType&&(e=Math.tan(T-z*L),i*=e=Math.sqrt(1+e*e),s*=e,z&&(e=Math.tan(z*L),n*=e=Math.sqrt(1+e*e),o*=e)),I&&(R+=w.xOrigin-(w.xOrigin*n+w.yOrigin*i)+w.xOffset,j+=w.yOrigin-(w.xOrigin*o+w.yOrigin*s)+w.yOffset,Ot&&(w.xPercent||w.yPercent)&&(m=this.t.getBBox(),R+=.01*w.xPercent*m.width,j+=.01*w.yPercent*m.height),R<(m=1e-6)&&R>-m&&(R=0),j-m&&(j=0)),b=(n*x|0)/x+","+(o*x|0)/x+","+(i*x|0)/x+","+(s*x|0)/x+","+R+","+j+")",I&&Ot?this.t.setAttribute("transform","matrix("+b):P[Rt]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix(":"matrix(")+b):P[Rt]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix(":"matrix(")+k+",0,0,"+A+","+R+","+j+")";else{if(f&&(k<(m=1e-4)&&k>-m&&(k=C=2e-5),A-m&&(A=C=2e-5),!D||w.z||w.rotationX||w.rotationY||(D=0)),O||F)O*=L,v=n=Math.cos(O),g=o=Math.sin(O),F&&(O-=F*L,v=Math.cos(O),g=Math.sin(O),"simple"===w.skewType&&(e=Math.tan((F-z)*L),v*=e=Math.sqrt(1+e*e),g*=e,w.skewY&&(e=Math.tan(z*L),n*=e=Math.sqrt(1+e*e),o*=e))),i=-g,s=v;else{if(!(E||S||1!==C||D||I))return void(P[Rt]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) translate3d(":"translate3d(")+R+"px,"+j+"px,"+M+"px)"+(1!==k||1!==A?" scale("+k+","+A+")":""));n=s=1,i=o=0}c=1,r=a=l=u=h=p=0,d=D?-1/D:0,_=w.zOrigin,m=1e-6,",","0",(O=E*L)&&(v=Math.cos(O),l=-(g=Math.sin(O)),h=d*-g,r=n*g,a=o*g,c=v,d*=v,n*=v,o*=v),(O=S*L)&&(e=i*(v=Math.cos(O))+r*(g=Math.sin(O)),y=s*v+a*g,u=c*g,p=d*g,r=i*-g+r*v,a=s*-g+a*v,c*=v,d*=v,i=e,s=y),1!==C&&(r*=C,a*=C,c*=C,d*=C),1!==A&&(i*=A,s*=A,u*=A,p*=A),1!==k&&(n*=k,o*=k,l*=k,h*=k),(_||I)&&(_&&(R+=r*-_,j+=a*-_,M+=c*-_+_),I&&(R+=w.xOrigin-(w.xOrigin*n+w.yOrigin*i)+w.xOffset,j+=w.yOrigin-(w.xOrigin*o+w.yOrigin*s)+w.yOffset),R-m&&(R="0"),j-m&&(j="0"),M-m&&(M=0)),b=w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix3d(":"matrix3d(",b+=(n-m?"0":n)+","+(o-m?"0":o)+","+(l-m?"0":l),b+=","+(h-m?"0":h)+","+(i-m?"0":i)+","+(s-m?"0":s),S||E||1!==C?(b+=","+(u-m?"0":u)+","+(p-m?"0":p)+","+(r-m?"0":r),b+=","+(a-m?"0":a)+","+(c-m?"0":c)+","+(d-m?"0":d)+","):b+=",0,0,0,0,1,0,",b+=R+","+j+","+M+","+(D?1+-M/D:1)+")",P[Rt]=b}};(l=Lt.prototype).x=l.y=l.z=l.skewX=l.skewY=l.rotation=l.rotationX=l.rotationY=l.zOrigin=l.xPercent=l.yPercent=l.xOffset=l.yOffset=0,l.scaleX=l.scaleY=l.scaleZ=1,wt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,s,a,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var u,c=l.scale&&"function"==typeof l.scale?l.scale:0;"function"==typeof l[i]&&(u=l[i],l[i]=e),c&&(l.scale=c(m,t));var h,f,p,d,v,g,y,b,T,x=t._gsTransform,w=t.style,P=Ct.length,O=l,S={},E=Yt(t,n,!0,O.parseTransform),k=O.transform&&("function"==typeof O.transform?O.transform(m,_):O.transform);if(E.skewType=O.skewType||E.skewType||o.defaultSkewType,r._transform=E,k&&"string"==typeof k&&Rt)(f=B.style)[Rt]=k,f.display="block",f.position="absolute",-1!==k.indexOf("%")&&(f.width=K(t,"width"),f.height=K(t,"height")),F.body.appendChild(B),h=Yt(B,null,!1),"simple"===E.skewType&&(h.scaleY*=Math.cos(h.skewX*L)),E.svg&&(g=E.xOrigin,y=E.yOrigin,h.x-=E.xOffset,h.y-=E.yOffset,(O.transformOrigin||O.svgOrigin)&&(k={},Vt(t,st(O.transformOrigin),k,O.svgOrigin,O.smoothOrigin,!0),g=k.xOrigin,y=k.yOrigin,h.x-=k.xOffset-E.xOffset,h.y-=k.yOffset-E.yOffset),(g||y)&&(b=Ut(B,!0),h.x-=g-(g*b[0]+y*b[2]),h.y-=y-(g*b[1]+y*b[3]))),F.body.removeChild(B),h.perspective||(h.perspective=E.perspective),null!=O.xPercent&&(h.xPercent=lt(O.xPercent,E.xPercent)),null!=O.yPercent&&(h.yPercent=lt(O.yPercent,E.yPercent));else if("object"==typeof O){if(h={scaleX:lt(null!=O.scaleX?O.scaleX:O.scale,E.scaleX),scaleY:lt(null!=O.scaleY?O.scaleY:O.scale,E.scaleY),scaleZ:lt(O.scaleZ,E.scaleZ),x:lt(O.x,E.x),y:lt(O.y,E.y),z:lt(O.z,E.z),xPercent:lt(O.xPercent,E.xPercent),yPercent:lt(O.yPercent,E.yPercent),perspective:lt(O.transformPerspective,E.perspective)},null!=(v=O.directionalRotation))if("object"==typeof v)for(f in v)O[f]=v[f];else O.rotation=v;"string"==typeof O.x&&-1!==O.x.indexOf("%")&&(h.x=0,h.xPercent=lt(O.x,E.xPercent)),"string"==typeof O.y&&-1!==O.y.indexOf("%")&&(h.y=0,h.yPercent=lt(O.y,E.yPercent)),h.rotation=ut("rotation"in O?O.rotation:"shortRotation"in O?O.shortRotation+"_short":"rotationZ"in O?O.rotationZ:E.rotation,E.rotation,"rotation",S),It&&(h.rotationX=ut("rotationX"in O?O.rotationX:"shortRotationX"in O?O.shortRotationX+"_short":E.rotationX||0,E.rotationX,"rotationX",S),h.rotationY=ut("rotationY"in O?O.rotationY:"shortRotationY"in O?O.shortRotationY+"_short":E.rotationY||0,E.rotationY,"rotationY",S)),h.skewX=ut(O.skewX,E.skewX),h.skewY=ut(O.skewY,E.skewY)}for(It&&null!=O.force3D&&(E.force3D=O.force3D,d=!0),(p=E.force3D||E.z||E.rotationX||E.rotationY||h.z||h.rotationX||h.rotationY||h.perspective)||null==O.scale||(h.scaleZ=1);--P>-1;)((k=h[T=Ct[P]]-E[T])>1e-6||k<-1e-6||null!=O[T]||null!=N[T])&&(d=!0,s=new gt(E,T,E[T],k,s),T in S&&(s.e=S[T]),s.xs0=0,s.plugin=a,r._overwriteProps.push(s.n));return k=O.transformOrigin,E.svg&&(k||O.svgOrigin)&&(g=E.xOffset,y=E.yOffset,Vt(t,st(k),h,O.svgOrigin,O.smoothOrigin),s=yt(E,"xOrigin",(x?E:h).xOrigin,h.xOrigin,s,"transformOrigin"),s=yt(E,"yOrigin",(x?E:h).yOrigin,h.yOrigin,s,"transformOrigin"),g===E.xOffset&&y===E.yOffset||(s=yt(E,"xOffset",x?g:E.xOffset,E.xOffset,s,"transformOrigin"),s=yt(E,"yOffset",x?y:E.yOffset,E.yOffset,s,"transformOrigin")),k="0px 0px"),(k||It&&p&&E.zOrigin)&&(Rt?(d=!0,T=Mt,k=(k||K(t,T,n,!1,"50% 50%"))+"",(s=new gt(w,T,0,0,s,-1,"transformOrigin")).b=w[T],s.plugin=a,It?(f=E.zOrigin,k=k.split(" "),E.zOrigin=(k.length>2&&(0===f||"0px"!==k[2])?parseFloat(k[2]):f)||0,s.xs0=s.e=k[0]+" "+(k[1]||"50%")+" 0px",(s=new gt(E,"zOrigin",0,0,s,-1,s.n)).b=f,s.xs0=s.e=E.zOrigin):s.xs0=s.e=k):st(k+"",E)),d&&(r._transformType=E.svg&&Ot||!p&&3!==this._transformType?2:3),u&&(l[i]=u),c&&(l.scale=c),s},prefix:!0}),wt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),wt("borderRadius",{defaultValue:"0px",parser:function(t,i,r,o,s,a){i=this.format(i);var l,u,c,h,f,p,d,_,m,v,g,y,b,T,x,w,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],O=t.style;for(m=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=i.split(" "),u=0;u-1;)(c=-1!==(m=a[u]).indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(h=0===u?t.offsetWidth-X.width:t.offsetHeight-X.height,a[u]=c?parseFloat(m)/100*h+"px":parseFloat(m)/h*100+"%");m=a.join(" ")}return this.parseComplex(t.style,m,v,o,s)},formatter:st}),wt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:st(-1===t.indexOf(" ")?t+" "+t:t)}}),wt("perspective",{defaultValue:"0px",prefix:!0}),wt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),wt("transformStyle",{prefix:!0}),wt("backfaceVisibility",{prefix:!0}),wt("userSelect",{prefix:!0}),wt("margin",{parser:mt("marginTop,marginRight,marginBottom,marginLeft")}),wt("padding",{parser:mt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),wt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,o,s){var a,l,u;return d<9?(l=t.currentStyle,u=d<8?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(K(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,o,s)}}),wt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),wt("autoRound,strictUnits",{parser:function(t,e,n,i,r){return r}}),wt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,o,s){var a=K(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(T,"");return"px"!==u&&(a=parseFloat(a)/J(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(a+" "+K(t,"borderTopStyle",n,!1,"solid")+" "+K(t,"borderTopColor",n,!1,"#000")),l.join(" "),o,s)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(dt)||["#000"])[0]}}),wt("borderWidth",{parser:mt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),wt("float,cssFloat,styleFloat",{parser:function(t,e,n,i,r,o){var s=t.style,a="cssFloat"in s?"cssFloat":"styleFloat";return new gt(s,a,0,0,r,-1,n,!1,0,s[a],e)}});var qt=function(t){var e,n=this.t,i=n.filter||K(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(n.removeAttribute("filter"),e=!K(this.data,"filter")):(n.filter=i.replace(P,""),e=!0)),e||(this.xn1&&(n.filter=i=i||"alpha(opacity="+r+")"),-1===i.indexOf("pacity")?0===r&&this.xn1||(n.filter=i+" alpha(opacity="+r+")"):n.filter=i.replace(x,"opacity="+r))};wt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,o,s){var a=parseFloat(K(t,"opacity",n,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),u&&1===a&&"hidden"===K(t,"visibility",n)&&0!==e&&(a=0),Y?o=new gt(l,"opacity",a,e-a,o):((o=new gt(l,"opacity",100*a,100*(e-a),o)).xn1=u?1:0,l.zoom=1,o.type=2,o.b="alpha(opacity="+o.s+")",o.e="alpha(opacity="+(o.s+o.c)+")",o.data=t,o.plugin=s,o.setRatio=qt),u&&((o=new gt(l,"visibility",0,0,o,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(o.n),r._overwriteProps.push(i)),o}});var $t=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(S,"-$1").toLowerCase())):t.removeAttribute(e))},Zt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,n=this.t.style;e;)e.v?n[e.p]=e.v:$t(n,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};wt("className",{parser:function(e,i,r,o,s,a,l){var u,c,h,f,p,d=e.getAttribute("class")||"",_=e.style.cssText;if((s=o._classNamePT=new gt(e,r,0,0,s,2)).setRatio=Zt,s.pr=-11,t=!0,s.b=d,c=et(e,n),h=e._gsClassPT){for(f={},p=h.data;p;)f[p.p]=1,p=p._next;h.setRatio(1)}return e._gsClassPT=s,s.e="="!==i.charAt(1)?i:d.replace(new RegExp("(?:\\s|^)"+i.substr(2)+"(?![\\w-])"),"")+("+"===i.charAt(0)?" "+i.substr(2):""),e.setAttribute("class",s.e),u=nt(e,c,et(e),l,f),e.setAttribute("class",d),s.data=u.firstMPT,e.style.cssText=_,s=s.xfirst=o.parse(e,u.difs,s,a)}});var Qt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,n,i,r,o,s=this.t.style,l=a.transform.parse;if("all"===this.e)s.cssText="",r=!0;else for(i=(e=this.e.split(" ").join("").split(",")).length;--i>-1;)n=e[i],a[n]&&(a[n].parse===l?r=!0:n="transformOrigin"===n?Mt:a[n].p),$t(s,n);r&&($t(s,Rt),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(wt("clearProps",{parser:function(e,n,i,r,o){return(o=new gt(e,i,0,0,o,2)).setRatio=Qt,o.e=n,o.pr=-10,o.data=r._tween,t=!0,o}}),l="bezier,throwProps,physicsProps,physics2D".split(","),Tt=l.length;Tt--;)Pt(l[Tt]);(l=o.prototype)._firstPT=l._lastParsedTransform=l._transform=null,l._onInitTween=function(i,s,l,f){if(!i.nodeType)return!1;this._target=_=i,this._tween=l,this._vars=s,m=f,u=s.autoRound,t=!1,e=s.suffixMap||o.suffixMap,n=Q(i,""),r=this._overwriteProps;var d,v,g,y,b,T,x,P,O,S=i.style;if(c&&""===S.zIndex&&("auto"!==(d=K(i,"zIndex",n))&&""!==d||this._addLazySet(S,"zIndex",0)),"string"==typeof s&&(y=S.cssText,d=et(i,n),S.cssText=y+";"+s,d=nt(i,d,et(i)).difs,!Y&&w.test(s)&&(d.opacity=parseFloat(RegExp.$1)),s=d,S.cssText=y),s.className?this._firstPT=v=a.className.parse(i,s.className,"className",this,null,null,s):this._firstPT=v=this.parse(i,s,null),this._transformType){for(O=3===this._transformType,Rt?h&&(c=!0,""===S.zIndex&&("auto"!==(x=K(i,"zIndex",n))&&""!==x||this._addLazySet(S,"zIndex",0)),p&&this._addLazySet(S,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(O?"visible":"hidden"))):S.zoom=1,g=v;g&&g._next;)g=g._next;P=new gt(i,"transform",0,0,null,2),this._linkCSSP(P,null,g),P.setRatio=Rt?Gt:Wt,P.data=this._transform||Yt(i,n,!0),P.tween=l,P.pr=-1,r.pop()}if(t){for(;v;){for(T=v._next,g=y;g&&g.pr>v.pr;)g=g._next;(v._prev=g?g._prev:b)?v._prev._next=v:y=v,(v._next=g)?g._prev=v:b=v,v=T}this._firstPT=y}return!0},l.parse=function(t,i,r,o){var s,l,c,h,f,p,d,v,g,y,b=t.style;for(s in i){if("function"==typeof(p=i[s])&&(p=p(m,_)),l=a[s])r=l.parse(t,p,s,this,r,o,i);else{if("--"===s.substr(0,2)){this._tween._propLookup[s]=this._addTween.call(this._tween,t.style,"setProperty",Q(t).getPropertyValue(s)+"",p+"",s,!1,s);continue}f=K(t,s,n)+"",g="string"==typeof p,"color"===s||"fill"===s||"stroke"===s||-1!==s.indexOf("Color")||g&&O.test(p)?(g||(p=((p=ft(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),r=bt(b,s,f,p,!0,"transparent",r,0,o)):g&&I.test(p)?r=bt(b,s,f,p,!0,null,r,0,o):(d=(c=parseFloat(f))||0===c?f.substr((c+"").length):"",""!==f&&"auto"!==f||("width"===s||"height"===s?(c=ot(t,s,n),d="px"):"left"===s||"top"===s?(c=tt(t,s,n),d="px"):(c="opacity"!==s?0:1,d="")),(y=g&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),v=p.replace(T,"")):(h=parseFloat(p),v=g?p.replace(T,""):""),""===v&&(v=s in e?e[s]:d),p=h||0===h?(y?h+c:h)+v:i[s],d!==v&&(""===v&&"lineHeight"!==s||(h||0===h)&&c&&(c=J(t,s,c,d),"%"===v?(c/=J(t,s,100,"%")/100,!0!==i.strictUnits&&(f=c+"%")):"em"===v||"rem"===v||"vw"===v||"vh"===v?c/=J(t,s,1,v):"px"!==v&&(h=J(t,s,h,v),v="px"),y&&(h||0===h)&&(p=h+c+v))),y&&(h+=c),!c&&0!==c||!h&&0!==h?void 0!==b[s]&&(p||p+""!="NaN"&&null!=p)?(r=new gt(b,s,h||c||0,0,r,-1,s,!1,0,f,p)).xs0="none"!==p||"display"!==s&&-1===s.indexOf("Style")?p:f:G("invalid "+s+" tween value: "+i[s]):(r=new gt(b,s,c,h-c,r,0,s,!1!==u&&("px"===v||"zIndex"===s),0,f,p)).xs0=v)}o&&r&&!r.plugin&&(r.plugin=o)}return r},l.setRatio=function(t){var e,n,i,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=r.r(e):e<1e-6&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(2===(i=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(n=r.xs0+e+r.xs1,i=1;i-1;)Jt(t[r],e,n);else for(r=(i=t.childNodes).length;--r>-1;)s=(o=i[r]).type,o.style&&(e.push(et(o)),n&&n.push(o)),1!==s&&9!==s&&11!==s||!o.childNodes.length||Jt(o,e,n)};return o.cascadeTo=function(t,e,n){var r,o,s,a,l=i.l.to(t,e,n),u=[l],c=[],h=[],f=[],p=i.l._internals.reservedProps;for(t=l._targets||l.target,Jt(t,c,f),l.render(e,!0,!0),Jt(t,h),l.render(0,!0,!0),l._enabled(!0),r=f.length;--r>-1;)if((o=nt(f[r],c[r],h[r])).firstMPT){for(s in o=o.difs,n)p[s]&&(o[s]=n[s]);for(s in a={},o)a[s]=c[r][s];u.push(i.l.fromTo(f[r],e,a,o))}return u},i.j.activate([o]),o},!0);const a=i.k.CSSPlugin,l=i.k._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,n,i){var r,o;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(o=e[r])&&(o=o(i,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",o+"",r,!1,r),this._overwriteProps.push(r);return!0}}),u=i.k._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,n){return this._tween=n,!0}}),c=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(n){return(Math.round(n/t)*t*e|0)/e}},h=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},f=u.prototype; +i.k._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(){var t,e,n,r,o=function(){i.j.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},s=i.k._gsDefine.globals,a={},l=o.prototype=new i.j("css");l.constructor=o,o.version="2.1.0",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,l="px",o.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var u,c,h,f,p,d,_,m,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,g=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,y=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,x=/opacity *= *([^)]*)/i,w=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,O=/^(rgb|hsl)/,S=/([A-Z])/g,E=/-([a-z])/gi,k=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,C=function(t,e){return e.toUpperCase()},A=/(?:Left|Right|Width)/i,M=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,j=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,R=/,(?=[^\)]*(?:\(|$))/gi,I=/[\s,\(]/i,L=Math.PI/180,D=180/Math.PI,N={},z={style:{}},F=i.k.document||{createElement:function(){return z}},V=function(t,e){return e&&F.createElementNS?F.createElementNS(e,t):F.createElement(t)},B=V("div"),X=V("img"),H=o._internals={_specialProps:a},U=(i.k.navigator||{}).userAgent||"",Y=function(){var t=U.indexOf("Android"),e=V("a");return h=-1!==U.indexOf("Safari")&&-1===U.indexOf("Chrome")&&(-1===t||parseFloat(U.substr(t+8,2))>3),p=h&&parseFloat(U.substr(U.indexOf("Version/")+8,2))<6,f=-1!==U.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(U)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(U))&&(d=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),W=function(t){return x.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},G=function(t){i.k.console&&console.log(t)},q="",$="",Z=function(t,e){var n,i,r=(e=e||B).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===r[n[i]+t];);return i>=0?(q="-"+($=3===i?"ms":n[i]).toLowerCase()+"-",$+t):null},Q="undefined"!=typeof window?window:F.defaultView||{getComputedStyle:function(){}},K=function(t){return Q.getComputedStyle(t)},J=o.getStyle=function(t,e,n,i,r){var o;return Y||"opacity"!==e?(!i&&t.style[e]?o=t.style[e]:(n=n||K(t))?o=n[e]||n.getPropertyValue(e)||n.getPropertyValue(e.replace(S,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==r||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:r):W(t)},tt=H.convertToPixels=function(t,e,n,r,s){if("px"===r||!r&&"lineHeight"!==e)return n;if("auto"===r||!n)return 0;var a,l,u,c=A.test(e),h=t,f=B.style,p=n<0,d=1===n;if(p&&(n=-n),d&&(n*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))a=n/100*(c?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+J(t,"position")+";line-height:0;","%"!==r&&h.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)f[c?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(h=t.parentNode||F.body,-1!==J(h,"display").indexOf("flex")&&(f.position="absolute"),l=h._gsCache,u=i.l.ticker.frame,l&&c&&l.time===u)return l.width*n/100;f[c?"width":"height"]=n+r}h.appendChild(B),a=parseFloat(B[c?"offsetWidth":"offsetHeight"]),h.removeChild(B),c&&"%"===r&&!1!==o.cacheWidths&&((l=h._gsCache=h._gsCache||{}).time=u,l.width=a/n*100),0!==a||s||(a=tt(t,e,n,r,!0))}else l=K(t).lineHeight,t.style.lineHeight=n,a=parseFloat(K(t).lineHeight),t.style.lineHeight=l;return d&&(a/=100),p?-a:a},et=H.calculateOffset=function(t,e,n){if("absolute"!==J(t,"position",n))return 0;var i="left"===e?"Left":"Top",r=J(t,"margin"+i,n);return t["offset"+i]-(tt(t,e,parseFloat(r),r.replace(T,""))||0)},nt=function(t,e){var n,i,r,o={};if(e=e||K(t))if(n=e.length)for(;--n>-1;)-1!==(r=e[n]).indexOf("-transform")&&Rt!==r||(o[r.replace(E,C)]=e.getPropertyValue(r));else for(n in e)-1!==n.indexOf("Transform")&&jt!==n||(o[n]=e[n]);else if(e=t.currentStyle||t.style)for(n in e)"string"==typeof n&&void 0===o[n]&&(o[n.replace(E,C)]=e[n]);return Y||(o.opacity=W(t)),i=Wt(t,e,!1),o.rotation=i.rotation,o.skewX=i.skewX,o.scaleX=i.scaleX,o.scaleY=i.scaleY,o.x=i.x,o.y=i.y,Lt&&(o.z=i.z,o.rotationX=i.rotationX,o.rotationY=i.rotationY,o.scaleZ=i.scaleZ),o.filters&&delete o.filters,o},it=function(t,e,n,i,r){var o,s,a,l={},u=t.style;for(s in n)"cssText"!==s&&"length"!==s&&isNaN(s)&&(e[s]!==(o=n[s])||r&&r[s])&&-1===s.indexOf("Origin")&&("number"!=typeof o&&"string"!=typeof o||(l[s]="auto"!==o||"left"!==s&&"top"!==s?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[s]||""===e[s].replace(b,"")?o:0:et(t,s),void 0!==u[s]&&(a=new gt(u,s,u[s],a))));if(i)for(s in i)"className"!==s&&(l[s]=i[s]);return{difs:l,firstMPT:a}},rt={width:["Left","Right"],height:["Top","Bottom"]},ot=["marginLeft","marginRight","marginTop","marginBottom"],st=function(t,e,n){if("svg"===(t.nodeName+"").toLowerCase())return(n||K(t))[e]||0;if(t.getCTM&&Ht(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=rt[e],o=r.length;for(n=n||K(t);--o>-1;)i-=parseFloat(J(t,"padding"+r[o],n,!0))||0,i-=parseFloat(J(t,"border"+r[o]+"Width",n,!0))||0;return i},at=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var n,i=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],o=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];if(i.length>3&&!e){for(i=t.split(", ").join(",").split(","),t=[],n=0;n2?" "+i[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==o.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===o.charAt(1),e.ox=parseFloat(r.replace(b,"")),e.oy=parseFloat(o.replace(b,"")),e.v=t),e||t},lt=function(t,e){return"function"==typeof t&&(t=t(m,_)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ut=function(t,e){"function"==typeof t&&(t=t(m,_));var n="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(n?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(n?t.substr(2):t)/100)),null==t?e:n?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ct=function(t,e,n,i){var r,o,s,a,l;return"function"==typeof t&&(t=t(m,_)),null==t?a=e:"number"==typeof t?a=t:(r=360,o=t.split("_"),s=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(o[0].substr(2)):parseFloat(o[0]))*(-1===t.indexOf("rad")?1:D)-(l?0:e),o.length&&(i&&(i[n]=e+s),-1!==t.indexOf("short")&&(s%=r)!==s%(r/2)&&(s=s<0?s+r:s-r),-1!==t.indexOf("_cw")&&s<0?s=(s+9999999999*r)%r-(s/r|0)*r:-1!==t.indexOf("ccw")&&s>0&&(s=(s-9999999999*r)%r-(s/r|0)*r)),a=e+s),a<1e-6&&a>-1e-6&&(a=0),a},ht={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ft=function(t,e,n){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},pt=o.parseColor=function(t,e){var n,i,r,o,s,a,l,u,c,h,f;if(t)if("number"==typeof t)n=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ht[t])n=ht[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(i=t.charAt(1))+i+(r=t.charAt(2))+r+(o=t.charAt(3))+o),n=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(n=f=t.match(v),e){if(-1!==t.indexOf("="))return t.match(g)}else s=Number(n[0])%360/360,a=Number(n[1])/100,i=2*(l=Number(n[2])/100)-(r=l<=.5?l*(a+1):l+a-l*a),n.length>3&&(n[3]=Number(n[3])),n[0]=ft(s+1/3,i,r),n[1]=ft(s,i,r),n[2]=ft(s-1/3,i,r);else n=t.match(v)||ht.transparent;n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3]))}else n=ht.black;return e&&!f&&(i=n[0]/255,r=n[1]/255,o=n[2]/255,l=((u=Math.max(i,r,o))+(c=Math.min(i,r,o)))/2,u===c?s=a=0:(h=u-c,a=l>.5?h/(2-u-c):h/(u+c),s=u===i?(r-o)/h+(r0?s[0].replace(v,""):"";return c?r=e?function(t){var e,f,p,d;if("number"==typeof t)t+=h;else if(i&&R.test(t)){for(d=t.replace(R,"|").split("|"),p=0;pp--)for(;++pf--)for(;++f>0];return r.parse(e,a,o,s)}},gt=(H._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,n,i,r,o,s=this.data,a=s.proxy,l=s.firstMPT;l;)e=a[l.v],l.r?e=l.r(e):e<1e-6&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(s.autoRotate&&(s.autoRotate.rotation=s.mod?s.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===t||0===t)for(l=s.firstMPT,o=1===t?"e":"b";l;){if((n=l.t).type){if(1===n.type){for(r=n.xs0+n.s+n.xs1,i=1;i0;)l="xn"+s,p[a=i.p+"_"+l]=i.data[l],f[a]=i[l],o||(u=new gt(i,l,a,u,i.rxp[l]));i=i._next}return{proxy:f,end:p,firstMPT:u,pt:c}},H.CSSPropTween=function(e,n,i,o,s,a,l,u,c,h,f){this.t=e,this.p=n,this.s=i,this.c=o,this.n=l||n,e instanceof yt||r.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=a||0,c&&(this.pr=c,t=!0),this.b=void 0===h?i:h,this.e=void 0===f?i+o:f,s&&(this._next=s,s._prev=this)}),bt=function(t,e,n,i,r,o){var s=new yt(t,e,n,i-n,r,-1,o);return s.b=n,s.e=s.xs0=i,s},Tt=o.parseComplex=function(t,e,n,i,r,s,a,l,c,h){n=n||s||"","function"==typeof i&&(i=i(m,_)),a=new yt(t,e,0,0,a,h?2:1,null,!1,l,n,i),i+="",r&&_t.test(i+n)&&(i=[n,i],o.colorStringFilter(i),n=i[0],i=i[1]);var f,p,d,y,b,T,x,w,P,O,S,E,k,C=n.split(", ").join(",").split(" "),A=i.split(", ").join(",").split(" "),M=C.length,j=!1!==u;for(-1===i.indexOf(",")&&-1===n.indexOf(",")||(-1!==(i+n).indexOf("rgb")||-1!==(i+n).indexOf("hsl")?(C=C.join(" ").replace(R,", ").split(" "),A=A.join(" ").replace(R,", ").split(" ")):(C=C.join(" ").split(",").join(", ").split(" "),A=A.join(" ").split(",").join(", ").split(" ")),M=C.length),M!==A.length&&(M=(C=(s||"").split(" ")).length),a.plugin=c,a.setRatio=h,_t.lastIndex=0,f=0;f6)&&!Y&&0===b[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(A[f]).join("transparent")):(Y||(P=!1),k?a.appendXtra(O.substr(0,O.indexOf("hsl"))+(P?"hsla(":"hsl("),y[0],lt(b[0],y[0]),",",!1,!0).appendXtra("",y[1],lt(b[1],y[1]),"%,",!1).appendXtra("",y[2],lt(b[2],y[2]),P?"%,":"%"+E,!1):a.appendXtra(O.substr(0,O.indexOf("rgb"))+(P?"rgba(":"rgb("),y[0],b[0]-y[0],",",Math.round,!0).appendXtra("",y[1],b[1]-y[1],",",Math.round).appendXtra("",y[2],b[2]-y[2],P?",":E,Math.round),P&&(y=y.length<4?1:y[3],a.appendXtra("",y,(b.length<4?1:b[3])-y,E,!1))),_t.lastIndex=0;else if(T=y.match(v)){if(!(x=b.match(g))||x.length!==T.length)return a;for(d=0,p=0;p0;)l["xn"+xt]=0,l["xs"+xt]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,n,i,r,o){var s=this,a=s.l;return s["xs"+a]+=o&&(a||s["xs"+a])?" "+t:t||"",n||0===a||s.plugin?(s.l++,s.type=s.setRatio?2:1,s["xs"+s.l]=i||"",a>0?(s.data["xn"+a]=e+n,s.rxp["xn"+a]=r,s["xn"+a]=e,s.plugin||(s.xfirst=new yt(s,"xn"+a,e,n,s.xfirst||s,0,s.n,r,s.pr),s.xfirst.xs0=0),s):(s.data={s:e+n},s.rxp={},s.s=e,s.c=n,s.r=r,s)):(s["xs"+a]+=e+(i||""),s)};var wt=function(t,e){e=e||{},this.p=e.prefix&&Z(t)||t,a[t]=a[this.p]=this,this.format=e.formatter||mt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Pt=H._registerComplexSpecialProp=function(t,e,n){"object"!=typeof e&&(e={parser:n});var i,r=t.split(","),o=e.defaultValue;for(n=n||[o],i=0;ia.length?l.length:a.length,s=0;s-1;)o=Number(r[xt]),r[xt]=(s=o-(o|=0))?(1e5*s+(s<0?-.5:.5)|0)/1e5+o:o;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Wt=H.getTransform=function(t,e,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var s,a,l,u,c,h,f=n&&t._gsTransform||new Dt,p=f.scaleX<0,d=Lt&&(parseFloat(J(t,It,e,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,_=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Ht(t)),f.svg&&(Bt(t,J(t,It,e,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),St=o.useSVGTransformAttr||Vt),(s=Yt(t))!==Ut){if(16===s.length){var m,v,g,y,b,T=s[0],x=s[1],w=s[2],P=s[3],O=s[4],S=s[5],E=s[6],k=s[7],C=s[8],A=s[9],M=s[10],j=s[12],R=s[13],I=s[14],L=s[11],N=Math.atan2(E,M);f.zOrigin&&(j=C*(I=-f.zOrigin)-s[12],R=A*I-s[13],I=M*I+f.zOrigin-s[14]),f.rotationX=N*D,N&&(m=O*(y=Math.cos(-N))+C*(b=Math.sin(-N)),v=S*y+A*b,g=E*y+M*b,C=O*-b+C*y,A=S*-b+A*y,M=E*-b+M*y,L=k*-b+L*y,O=m,S=v,E=g),N=Math.atan2(-w,M),f.rotationY=N*D,N&&(v=x*(y=Math.cos(-N))-A*(b=Math.sin(-N)),g=w*y-M*b,A=x*b+A*y,M=w*b+M*y,L=P*b+L*y,T=m=T*y-C*b,x=v,w=g),N=Math.atan2(x,T),f.rotation=N*D,N&&(m=T*(y=Math.cos(N))+x*(b=Math.sin(N)),v=O*y+S*b,g=C*y+A*b,x=x*y-T*b,S=S*y-O*b,A=A*y-C*b,T=m,O=v,C=g),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),N=Math.atan2(O,S),f.scaleX=(1e5*Math.sqrt(T*T+x*x+w*w)+.5|0)/1e5,f.scaleY=(1e5*Math.sqrt(S*S+E*E)+.5|0)/1e5,f.scaleZ=(1e5*Math.sqrt(C*C+A*A+M*M)+.5|0)/1e5,T/=f.scaleX,O/=f.scaleY,x/=f.scaleX,S/=f.scaleY,Math.abs(N)>2e-5?(f.skewX=N*D,O=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(N))):f.skewX=0,f.perspective=L?1/(L<0?-L:L):0,f.x=j,f.y=R,f.z=I,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*T-f.yOrigin*O),f.y-=f.yOrigin-(f.yOrigin*x-f.xOrigin*S))}else if(!Lt||r||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var z=s.length>=6,F=z?s[0]:1,V=s[1]||0,B=s[2]||0,X=z?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(F*F+V*V),u=Math.sqrt(X*X+B*B),c=F||V?Math.atan2(V,F)*D:f.rotation||0,h=B||X?Math.atan2(B,X)*D+c:f.skewX||0,f.scaleX=l,f.scaleY=u,f.rotation=c,f.skewX=h,Lt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=_,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*F+f.yOrigin*B),f.y-=f.yOrigin-(f.xOrigin*V+f.yOrigin*X))}for(a in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(p?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=d,f)f[a]<2e-5&&f[a]>-2e-5&&(f[a]=0)}return n&&(t._gsTransform=f,f.svg&&(St&&t.style[jt]?i.l.delayedCall(.001,function(){Zt(t.style,jt)}):!St&&t.getAttribute("transform")&&i.l.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Gt=function(t){var e,n,i=this.data,r=-i.rotation*L,o=r+i.skewX*L,s=(Math.cos(r)*i.scaleX*1e5|0)/1e5,a=(Math.sin(r)*i.scaleX*1e5|0)/1e5,l=(Math.sin(o)*-i.scaleY*1e5|0)/1e5,u=(Math.cos(o)*i.scaleY*1e5|0)/1e5,c=this.t.style,h=this.t.currentStyle;if(h){n=a,a=-l,l=-n,e=h.filter,c.filter="";var f,p,_=this.t.offsetWidth,m=this.t.offsetHeight,v="absolute"!==h.position,g="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+a+", M21="+l+", M22="+u,y=i.x+_*i.xPercent/100,b=i.y+m*i.yPercent/100;if(null!=i.ox&&(y+=(f=(i.oxp?_*i.ox*.01:i.ox)-_/2)-(f*s+(p=(i.oyp?m*i.oy*.01:i.oy)-m/2)*a),b+=p-(f*l+p*u)),g+=v?", Dx="+((f=_/2)-(f*s+(p=m/2)*a)+y)+", Dy="+(p-(f*l+p*u)+b)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?c.filter=e.replace(j,g):c.filter=g+" "+e,0!==t&&1!==t||1===s&&0===a&&0===l&&1===u&&(v&&-1===g.indexOf("Dx=0, Dy=0")||x.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&c.removeAttribute("filter")),!v){var w,P,O,S=d<8?1:-1;for(f=i.ieOffsetX||0,p=i.ieOffsetY||0,i.ieOffsetX=Math.round((_-((s<0?-s:s)*_+(a<0?-a:a)*m))/2+y),i.ieOffsetY=Math.round((m-((u<0?-u:u)*m+(l<0?-l:l)*_))/2+b),xt=0;xt<4;xt++)O=(n=-1!==(w=h[P=ot[xt]]).indexOf("px")?parseFloat(w):tt(this.t,P,parseFloat(w),w.replace(T,""))||0)!==i[P]?xt<2?-i.ieOffsetX:-i.ieOffsetY:xt<2?f-i.ieOffsetX:p-i.ieOffsetY,c[P]=(i[P]=Math.round(n-O*(0===xt||2===xt?1:S)))+"px"}}},qt=H.set3DTransformRatio=H.setTransformRatio=function(t){var e,n,i,r,o,s,a,l,u,c,h,p,d,_,m,v,g,y,b,T,x,w=this.data,P=this.t.style,O=w.rotation,S=w.rotationX,E=w.rotationY,k=w.scaleX,C=w.scaleY,A=w.scaleZ,M=w.x,j=w.y,R=w.z,I=w.svg,D=w.perspective,N=w.force3D,z=w.skewY,F=w.skewX;if(z&&(F+=z,O+=z),!((1!==t&&0!==t||"auto"!==N||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&N||R||D||E||S||1!==A)||St&&I||!Lt)O||F||I?(O*=L,T=F*L,x=1e5,n=Math.cos(O)*k,o=Math.sin(O)*k,i=Math.sin(O-T)*-C,s=Math.cos(O-T)*C,T&&"simple"===w.skewType&&(e=Math.tan(T-z*L),i*=e=Math.sqrt(1+e*e),s*=e,z&&(e=Math.tan(z*L),n*=e=Math.sqrt(1+e*e),o*=e)),I&&(M+=w.xOrigin-(w.xOrigin*n+w.yOrigin*i)+w.xOffset,j+=w.yOrigin-(w.xOrigin*o+w.yOrigin*s)+w.yOffset,St&&(w.xPercent||w.yPercent)&&(m=this.t.getBBox(),M+=.01*w.xPercent*m.width,j+=.01*w.yPercent*m.height),M<(m=1e-6)&&M>-m&&(M=0),j-m&&(j=0)),b=(n*x|0)/x+","+(o*x|0)/x+","+(i*x|0)/x+","+(s*x|0)/x+","+M+","+j+")",I&&St?this.t.setAttribute("transform","matrix("+b):P[jt]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix(":"matrix(")+b):P[jt]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix(":"matrix(")+k+",0,0,"+C+","+M+","+j+")";else{if(f&&(k<(m=1e-4)&&k>-m&&(k=A=2e-5),C-m&&(C=A=2e-5),!D||w.z||w.rotationX||w.rotationY||(D=0)),O||F)O*=L,v=n=Math.cos(O),g=o=Math.sin(O),F&&(O-=F*L,v=Math.cos(O),g=Math.sin(O),"simple"===w.skewType&&(e=Math.tan((F-z)*L),v*=e=Math.sqrt(1+e*e),g*=e,w.skewY&&(e=Math.tan(z*L),n*=e=Math.sqrt(1+e*e),o*=e))),i=-g,s=v;else{if(!(E||S||1!==A||D||I))return void(P[jt]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) translate3d(":"translate3d(")+M+"px,"+j+"px,"+R+"px)"+(1!==k||1!==C?" scale("+k+","+C+")":""));n=s=1,i=o=0}c=1,r=a=l=u=h=p=0,d=D?-1/D:0,_=w.zOrigin,m=1e-6,",","0",(O=E*L)&&(v=Math.cos(O),l=-(g=Math.sin(O)),h=d*-g,r=n*g,a=o*g,c=v,d*=v,n*=v,o*=v),(O=S*L)&&(e=i*(v=Math.cos(O))+r*(g=Math.sin(O)),y=s*v+a*g,u=c*g,p=d*g,r=i*-g+r*v,a=s*-g+a*v,c*=v,d*=v,i=e,s=y),1!==A&&(r*=A,a*=A,c*=A,d*=A),1!==C&&(i*=C,s*=C,u*=C,p*=C),1!==k&&(n*=k,o*=k,l*=k,h*=k),(_||I)&&(_&&(M+=r*-_,j+=a*-_,R+=c*-_+_),I&&(M+=w.xOrigin-(w.xOrigin*n+w.yOrigin*i)+w.xOffset,j+=w.yOrigin-(w.xOrigin*o+w.yOrigin*s)+w.yOffset),M-m&&(M="0"),j-m&&(j="0"),R-m&&(R=0)),b=w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix3d(":"matrix3d(",b+=(n-m?"0":n)+","+(o-m?"0":o)+","+(l-m?"0":l),b+=","+(h-m?"0":h)+","+(i-m?"0":i)+","+(s-m?"0":s),S||E||1!==A?(b+=","+(u-m?"0":u)+","+(p-m?"0":p)+","+(r-m?"0":r),b+=","+(a-m?"0":a)+","+(c-m?"0":c)+","+(d-m?"0":d)+","):b+=",0,0,0,0,1,0,",b+=M+","+j+","+R+","+(D?1+-R/D:1)+")",P[jt]=b}};(l=Dt.prototype).x=l.y=l.z=l.skewX=l.skewY=l.rotation=l.rotationX=l.rotationY=l.zOrigin=l.xPercent=l.yPercent=l.xOffset=l.yOffset=0,l.scaleX=l.scaleY=l.scaleZ=1,Pt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,s,a,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var u=l.scale&&"function"==typeof l.scale?l.scale:0;u&&(l.scale=u(m,t));var c,h,f,p,d,v,g,y,b,T=t._gsTransform,x=t.style,w=Mt.length,P=l,O={},S=Wt(t,n,!0,P.parseTransform),E=P.transform&&("function"==typeof P.transform?P.transform(m,_):P.transform);if(S.skewType=P.skewType||S.skewType||o.defaultSkewType,r._transform=S,"rotationZ"in P&&(P.rotation=P.rotationZ),E&&"string"==typeof E&&jt)(h=B.style)[jt]=E,h.display="block",h.position="absolute",-1!==E.indexOf("%")&&(h.width=J(t,"width"),h.height=J(t,"height")),F.body.appendChild(B),c=Wt(B,null,!1),"simple"===S.skewType&&(c.scaleY*=Math.cos(c.skewX*L)),S.svg&&(v=S.xOrigin,g=S.yOrigin,c.x-=S.xOffset,c.y-=S.yOffset,(P.transformOrigin||P.svgOrigin)&&(E={},Bt(t,at(P.transformOrigin),E,P.svgOrigin,P.smoothOrigin,!0),v=E.xOrigin,g=E.yOrigin,c.x-=E.xOffset-S.xOffset,c.y-=E.yOffset-S.yOffset),(v||g)&&(y=Yt(B,!0),c.x-=v-(v*y[0]+g*y[2]),c.y-=g-(v*y[1]+g*y[3]))),F.body.removeChild(B),c.perspective||(c.perspective=S.perspective),null!=P.xPercent&&(c.xPercent=ut(P.xPercent,S.xPercent)),null!=P.yPercent&&(c.yPercent=ut(P.yPercent,S.yPercent));else if("object"==typeof P){if(c={scaleX:ut(null!=P.scaleX?P.scaleX:P.scale,S.scaleX),scaleY:ut(null!=P.scaleY?P.scaleY:P.scale,S.scaleY),scaleZ:ut(P.scaleZ,S.scaleZ),x:ut(P.x,S.x),y:ut(P.y,S.y),z:ut(P.z,S.z),xPercent:ut(P.xPercent,S.xPercent),yPercent:ut(P.yPercent,S.yPercent),perspective:ut(P.transformPerspective,S.perspective)},null!=(d=P.directionalRotation))if("object"==typeof d)for(h in d)P[h]=d[h];else P.rotation=d;"string"==typeof P.x&&-1!==P.x.indexOf("%")&&(c.x=0,c.xPercent=ut(P.x,S.xPercent)),"string"==typeof P.y&&-1!==P.y.indexOf("%")&&(c.y=0,c.yPercent=ut(P.y,S.yPercent)),c.rotation=ct("rotation"in P?P.rotation:"shortRotation"in P?P.shortRotation+"_short":S.rotation,S.rotation,"rotation",O),Lt&&(c.rotationX=ct("rotationX"in P?P.rotationX:"shortRotationX"in P?P.shortRotationX+"_short":S.rotationX||0,S.rotationX,"rotationX",O),c.rotationY=ct("rotationY"in P?P.rotationY:"shortRotationY"in P?P.shortRotationY+"_short":S.rotationY||0,S.rotationY,"rotationY",O)),c.skewX=ct(P.skewX,S.skewX),c.skewY=ct(P.skewY,S.skewY)}for(Lt&&null!=P.force3D&&(S.force3D=P.force3D,p=!0),(f=S.force3D||S.z||S.rotationX||S.rotationY||c.z||c.rotationX||c.rotationY||c.perspective)||null==P.scale||(c.scaleZ=1);--w>-1;)((E=c[b=Mt[w]]-S[b])>1e-6||E<-1e-6||null!=P[b]||null!=N[b])&&(p=!0,s=new yt(S,b,S[b],E,s),b in O&&(s.e=O[b]),s.xs0=0,s.plugin=a,r._overwriteProps.push(s.n));return E="function"==typeof P.transformOrigin?P.transformOrigin(m,_):P.transformOrigin,S.svg&&(E||P.svgOrigin)&&(v=S.xOffset,g=S.yOffset,Bt(t,at(E),c,P.svgOrigin,P.smoothOrigin),s=bt(S,"xOrigin",(T?S:c).xOrigin,c.xOrigin,s,"transformOrigin"),s=bt(S,"yOrigin",(T?S:c).yOrigin,c.yOrigin,s,"transformOrigin"),v===S.xOffset&&g===S.yOffset||(s=bt(S,"xOffset",T?v:S.xOffset,S.xOffset,s,"transformOrigin"),s=bt(S,"yOffset",T?g:S.yOffset,S.yOffset,s,"transformOrigin")),E="0px 0px"),(E||Lt&&f&&S.zOrigin)&&(jt?(p=!0,b=It,E||(E=(E=(J(t,b,n,!1,"50% 50%")+"").split(" "))[0]+" "+E[1]+" "+S.zOrigin+"px"),E+="",(s=new yt(x,b,0,0,s,-1,"transformOrigin")).b=x[b],s.plugin=a,Lt?(h=S.zOrigin,E=E.split(" "),S.zOrigin=(E.length>2?parseFloat(E[2]):h)||0,s.xs0=s.e=E[0]+" "+(E[1]||"50%")+" 0px",(s=new yt(S,"zOrigin",0,0,s,-1,s.n)).b=h,s.xs0=s.e=S.zOrigin):s.xs0=s.e=E):at(E+"",S)),p&&(r._transformType=S.svg&&St||!f&&3!==this._transformType?2:3),u&&(l.scale=u),s},allowFunc:!0,prefix:!0}),Pt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Pt("clipPath",{defaultValue:"inset(0px)",prefix:!0,multi:!0,formatter:mt("inset(0px 0px 0px 0px)",!1,!0)}),Pt("borderRadius",{defaultValue:"0px",parser:function(t,i,r,o,s,a){i=this.format(i);var l,u,c,h,f,p,d,_,m,v,g,y,b,T,x,w,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],O=t.style;for(m=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=i.split(" "),u=0;u-1;)(c=-1!==(m=a[u]).indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(h=0===u?t.offsetWidth-X.width:t.offsetHeight-X.height,a[u]=c?parseFloat(m)/100*h+"px":parseFloat(m)/h*100+"%");m=a.join(" ")}return this.parseComplex(t.style,m,v,o,s)},formatter:at}),Pt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:at(-1===t.indexOf(" ")?t+" "+t:t)}}),Pt("perspective",{defaultValue:"0px",prefix:!0}),Pt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Pt("transformStyle",{prefix:!0}),Pt("backfaceVisibility",{prefix:!0}),Pt("userSelect",{prefix:!0}),Pt("margin",{parser:vt("marginTop,marginRight,marginBottom,marginLeft")}),Pt("padding",{parser:vt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Pt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,o,s){var a,l,u;return d<9?(l=t.currentStyle,u=d<8?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(J(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,o,s)}}),Pt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Pt("autoRound,strictUnits",{parser:function(t,e,n,i,r){return r}}),Pt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,o,s){var a=J(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(T,"");return"px"!==u&&(a=parseFloat(a)/tt(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(a+" "+J(t,"borderTopStyle",n,!1,"solid")+" "+J(t,"borderTopColor",n,!1,"#000")),l.join(" "),o,s)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(_t)||["#000"])[0]}}),Pt("borderWidth",{parser:vt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Pt("float,cssFloat,styleFloat",{parser:function(t,e,n,i,r,o){var s=t.style,a="cssFloat"in s?"cssFloat":"styleFloat";return new yt(s,a,0,0,r,-1,n,!1,0,s[a],e)}});var $t=function(t){var e,n=this.t,i=n.filter||J(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(n.removeAttribute("filter"),e=!J(this.data,"filter")):(n.filter=i.replace(P,""),e=!0)),e||(this.xn1&&(n.filter=i=i||"alpha(opacity="+r+")"),-1===i.indexOf("pacity")?0===r&&this.xn1||(n.filter=i+" alpha(opacity="+r+")"):n.filter=i.replace(x,"opacity="+r))};Pt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,o,s){var a=parseFloat(J(t,"opacity",n,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),u&&1===a&&"hidden"===J(t,"visibility",n)&&0!==e&&(a=0),Y?o=new yt(l,"opacity",a,e-a,o):((o=new yt(l,"opacity",100*a,100*(e-a),o)).xn1=u?1:0,l.zoom=1,o.type=2,o.b="alpha(opacity="+o.s+")",o.e="alpha(opacity="+(o.s+o.c)+")",o.data=t,o.plugin=s,o.setRatio=$t),u&&((o=new yt(l,"visibility",0,0,o,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(o.n),r._overwriteProps.push(i)),o}});var Zt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(S,"-$1").toLowerCase())):t.removeAttribute(e))},Qt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,n=this.t.style;e;)e.v?n[e.p]=e.v:Zt(n,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Pt("className",{parser:function(e,i,r,o,s,a,l){var u,c,h,f,p,d=e.getAttribute("class")||"",_=e.style.cssText;if((s=o._classNamePT=new yt(e,r,0,0,s,2)).setRatio=Qt,s.pr=-11,t=!0,s.b=d,c=nt(e,n),h=e._gsClassPT){for(f={},p=h.data;p;)f[p.p]=1,p=p._next;h.setRatio(1)}return e._gsClassPT=s,s.e="="!==i.charAt(1)?i:d.replace(new RegExp("(?:\\s|^)"+i.substr(2)+"(?![\\w-])"),"")+("+"===i.charAt(0)?" "+i.substr(2):""),e.setAttribute("class",s.e),u=it(e,c,nt(e),l,f),e.setAttribute("class",d),s.data=u.firstMPT,e.style.cssText=_,s=s.xfirst=o.parse(e,u.difs,s,a)}});var Kt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,n,i,r,o,s=this.t.style,l=a.transform.parse;if("all"===this.e)s.cssText="",r=!0;else for(i=(e=this.e.split(" ").join("").split(",")).length;--i>-1;)n=e[i],a[n]&&(a[n].parse===l?r=!0:n="transformOrigin"===n?It:a[n].p),Zt(s,n);r&&(Zt(s,jt),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Pt("clearProps",{parser:function(e,n,i,r,o){return(o=new yt(e,i,0,0,o,2)).setRatio=Kt,o.e=n,o.pr=-10,o.data=r._tween,t=!0,o}}),l="bezier,throwProps,physicsProps,physics2D".split(","),xt=l.length;xt--;)Ot(l[xt]);(l=o.prototype)._firstPT=l._lastParsedTransform=l._transform=null,l._onInitTween=function(i,s,l,f){if(!i.nodeType)return!1;this._target=_=i,this._tween=l,this._vars=s,m=f,u=s.autoRound,t=!1,e=s.suffixMap||o.suffixMap,n=K(i),r=this._overwriteProps;var d,v,g,y,b,T,x,P,O,S=i.style;if(c&&""===S.zIndex&&("auto"!==(d=J(i,"zIndex",n))&&""!==d||this._addLazySet(S,"zIndex",0)),"string"==typeof s&&(y=S.cssText,d=nt(i,n),S.cssText=y+";"+s,d=it(i,d,nt(i)).difs,!Y&&w.test(s)&&(d.opacity=parseFloat(RegExp.$1)),s=d,S.cssText=y),s.className?this._firstPT=v=a.className.parse(i,s.className,"className",this,null,null,s):this._firstPT=v=this.parse(i,s,null),this._transformType){for(O=3===this._transformType,jt?h&&(c=!0,""===S.zIndex&&("auto"!==(x=J(i,"zIndex",n))&&""!==x||this._addLazySet(S,"zIndex",0)),p&&this._addLazySet(S,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(O?"visible":"hidden"))):S.zoom=1,g=v;g&&g._next;)g=g._next;P=new yt(i,"transform",0,0,null,2),this._linkCSSP(P,null,g),P.setRatio=jt?qt:Gt,P.data=this._transform||Wt(i,n,!0),P.tween=l,P.pr=-1,r.pop()}if(t){for(;v;){for(T=v._next,g=y;g&&g.pr>v.pr;)g=g._next;(v._prev=g?g._prev:b)?v._prev._next=v:y=v,(v._next=g)?g._prev=v:b=v,v=T}this._firstPT=y}return!0},l.parse=function(t,i,r,o){var s,l,c,h,f,p,d,v,g,y,b=t.style;for(s in i){if(p=i[s],l=a[s],"function"!=typeof p||l&&l.allowFunc||(p=p(m,_)),l)r=l.parse(t,p,s,this,r,o,i);else{if("--"===s.substr(0,2)){this._tween._propLookup[s]=this._addTween.call(this._tween,t.style,"setProperty",K(t).getPropertyValue(s)+"",p+"",s,!1,s);continue}f=J(t,s,n)+"",g="string"==typeof p,"color"===s||"fill"===s||"stroke"===s||-1!==s.indexOf("Color")||g&&O.test(p)?(g||(p=((p=pt(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),r=Tt(b,s,f,p,!0,"transparent",r,0,o)):g&&I.test(p)?r=Tt(b,s,f,p,!0,null,r,0,o):(d=(c=parseFloat(f))||0===c?f.substr((c+"").length):"",""!==f&&"auto"!==f||("width"===s||"height"===s?(c=st(t,s,n),d="px"):"left"===s||"top"===s?(c=et(t,s,n),d="px"):(c="opacity"!==s?0:1,d="")),(y=g&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),v=p.replace(T,"")):(h=parseFloat(p),v=g?p.replace(T,""):""),""===v&&(v=s in e?e[s]:d),p=h||0===h?(y?h+c:h)+v:i[s],d!==v&&(""===v&&"lineHeight"!==s||(h||0===h)&&c&&(c=tt(t,s,c,d),"%"===v?(c/=tt(t,s,100,"%")/100,!0!==i.strictUnits&&(f=c+"%")):"em"===v||"rem"===v||"vw"===v||"vh"===v?c/=tt(t,s,1,v):"px"!==v&&(h=tt(t,s,h,v),v="px"),y&&(h||0===h)&&(p=h+c+v))),y&&(h+=c),!c&&0!==c||!h&&0!==h?void 0!==b[s]&&(p||p+""!="NaN"&&null!=p)?(r=new yt(b,s,h||c||0,0,r,-1,s,!1,0,f,p)).xs0="none"!==p||"display"!==s&&-1===s.indexOf("Style")?p:f:G("invalid "+s+" tween value: "+i[s]):(r=new yt(b,s,c,h-c,r,0,s,!1!==u&&("px"===v||"zIndex"===s),0,f,p)).xs0=v)}o&&r&&!r.plugin&&(r.plugin=o)}return r},l.setRatio=function(t){var e,n,i,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=r.r(e):e<1e-6&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(2===(i=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(n=r.xs0+e+r.xs1,i=1;i-1;)te(t[r],e,n);else for(r=(i=t.childNodes).length;--r>-1;)s=(o=i[r]).type,o.style&&(e.push(nt(o)),n&&n.push(o)),1!==s&&9!==s&&11!==s||!o.childNodes.length||te(o,e,n)};return o.cascadeTo=function(t,e,n){var r,o,s,a,l=i.l.to(t,e,n),u=[l],c=[],h=[],f=[],p=i.l._internals.reservedProps;for(t=l._targets||l.target,te(t,c,f),l.render(e,!0,!0),te(t,h),l.render(0,!0,!0),l._enabled(!0),r=f.length;--r>-1;)if((o=it(f[r],c[r],h[r])).firstMPT){for(s in o=o.difs,n)p[s]&&(o[s]=n[s]);for(s in a={},o)a[s]=c[r][s];u.push(i.l.fromTo(f[r],e,a,o))}return u},i.j.activate([o]),o},!0);var a=i.m.CSSPlugin,l=i.k._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,n,i){var r,o;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(o=e[r])&&(o=o(i,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",o+"",r,!1,r),this._overwriteProps.push(r);return!0}}),u=i.k._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,n){return this._tween=n,!0}}),c=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(n){return(Math.round(n/t)*t*e|0)/e}},h=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},f=u.prototype; /*! * VERSION: 0.6.1 - * DATE: 2018-05-30 + * DATE: 2018-08-27 * UPDATES AND DOCS AT: http://greensock.com * - * @license Copyright (c) 2008-2018, GreenSock. All rights reserved. + * @license Copyright (c) 2008-2019, GreenSock. All rights reserved. * This work is subject to the terms at http://greensock.com/standard-license or for * Club GreenSock members, the software agreement that was issued with your membership. * @@ -84,22 +84,22 @@ i.k._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function() */f._onInitAllProps=function(){var t,e,n,i,r=this._tween,o=r.vars.roundProps,s={},a=r._propLookup.roundProps;if("object"!=typeof o||o.push)for("string"==typeof o&&(o=o.split(",")),n=o.length;--n>-1;)s[o[n]]=Math.round;else for(i in o)s[i]=c(o[i]);for(i in s)for(t=r._firstPT;t;)e=t._next,t.pg?t.t._mod(s):t.n===i&&(2===t.f&&t.t?h(t.t._firstPT,s[i]):(this._add(t.t,i,t.s,t.c,s[i]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:r._firstPT===t&&(r._firstPT=e),t._next=t._prev=null,r._propLookup[i]=a)),t=e;return!1},f._add=function(t,e,n,i,r){this._addTween(t,e,n,n+i,e,r||Math.round),this._overwriteProps.push(e)}; /*! * VERSION: 0.3.1 - * DATE: 2018-05-30 + * DATE: 2018-08-27 * UPDATES AND DOCS AT: http://greensock.com * - * @license Copyright (c) 2008-2018, GreenSock. All rights reserved. + * @license Copyright (c) 2008-2019, GreenSock. All rights reserved. * This work is subject to the terms at http://greensock.com/standard-license or for * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com **/ -const p=i.k._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,n,i){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r,o,s,a,l,u,c=!0===e.useRadians?2*Math.PI:360;for(r in e)"useRadians"!==r&&("function"==typeof(a=e[r])&&(a=a(i,t)),o=(u=(a+"").split("_"))[0],s=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(a=this.finals[r]="string"==typeof o&&"="===o.charAt(1)?s+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0)-s,u.length&&(-1!==(o=u.join("_")).indexOf("short")&&(l%=c)!==l%(c/2)&&(l=l<0?l+c:l-c),-1!==o.indexOf("_cw")&&l<0?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==o.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>1e-6||l<-1e-6)&&(this._addTween(t,r,s,s+l,r),this._overwriteProps.push(r)));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}});p._autoCSS=!0; +var p=i.k._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,n,i){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r,o,s,a,l,u,c=!0===e.useRadians?2*Math.PI:360;for(r in e)"useRadians"!==r&&("function"==typeof(a=e[r])&&(a=a(i,t)),o=(u=(a+"").split("_"))[0],s=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(a=this.finals[r]="string"==typeof o&&"="===o.charAt(1)?s+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0)-s,u.length&&(-1!==(o=u.join("_")).indexOf("short")&&(l%=c)!==l%(c/2)&&(l=l<0?l+c:l-c),-1!==o.indexOf("_cw")&&l<0?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==o.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>1e-6||l<-1e-6)&&(this._addTween(t,r,s,s+l,r),this._overwriteProps.push(r)));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}});p._autoCSS=!0; /*! * VERSION: 1.3.8 * DATE: 2018-05-30 * UPDATES AND DOCS AT: http://greensock.com * - * @license Copyright (c) 2008-2018, GreenSock. All rights reserved. + * @license Copyright (c) 2008-2019, GreenSock. All rights reserved. * This work is subject to the terms at http://greensock.com/standard-license or for * Club GreenSock members, the software agreement that was issued with your membership. * @@ -117,7 +117,19 @@ var d=180/Math.PI,_=[],m=[],v=[],g={},y=i.k._gsDefine.globals,b=function(t,e,n,i * * @author: Jack Doyle, jack@greensock.com **/ -i.k._gsDefine("easing.Back",["easing.Ease"],function(){var t,e,n,r,o=i.k.GreenSockGlobals||i.k,s=o.com.greensock,a=2*Math.PI,l=Math.PI/2,u=s._class,c=function(t,e){var n=u("easing."+t,function(){},!0),r=n.prototype=new i.b;return r.constructor=n,r.getRatio=e,n},h=i.b.register||function(){},f=function(t,e,n,i,r){var o=u("easing."+t,{easeOut:new e,easeIn:new n,easeInOut:new i},!0);return h(o,t),o},p=function(t,e,n){this.t=t,this.v=e,n&&(this.next=n,n.prev=this,this.c=n.v-e,this.gap=n.t-t)},d=function(t,e){var n=u("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=n.prototype=new i.b;return r.constructor=n,r.getRatio=e,r.config=function(t){return new n(t)},n},_=f("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)})),m=u("easing.SlowMo",function(t,e,n){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===n},!0),v=m.prototype=new i.b;return v.constructor=m,v.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},m.ease=new m(.7,.7),v.config=m.config=function(t,e,n){return new m(t,e,n)},(v=(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 i.b).constructor=t,v.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},v.config=t.config=function(e,n){return new t(e,n)},(v=(e=u("easing.ExpoScaleEase",function(t,e,n){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=n},!0)).prototype=new i.b).constructor=e,v.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},v.config=e.config=function(t,n,i){return new e(t,n,i)},(v=(n=u("easing.RoughEase",function(t){for(var e,n,r,o,s,a,l=(t=t||{}).taper||"none",u=[],c=0,h=0|(t.points||20),f=h,d=!1!==t.randomize,_=!0===t.clamp,m=t.template instanceof i.b?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;--f>-1;)e=d?Math.random():1/h*f,n=m?m.getRatio(e):e,r="none"===l?v:"out"===l?(o=1-e)*o*v:"in"===l?e*e*v:e<.5?(o=2*e)*o*.5*v:(o=2*(1-e))*o*.5*v,d?n+=Math.random()*r-.5*r:f%2?n+=.5*r:n-=.5*r,_&&(n>1?n=1:n<0&&(n=0)),u[c++]={x:e,y:n};for(u.sort(function(t,e){return t.x-e.x}),a=new p(1,1,null),f=h;--f>-1;)s=u[f],a=new p(s.x,s.y,a);this._prev=new p(0,0,0!==a.t?a:a.next)},!0)).prototype=new i.b).constructor=n,v.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},v.config=function(t){return new n(t)},n.ease=new n,f("Bounce",c("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}),c("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)}),c("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})),f("Circ",c("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),c("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),c("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),f("Elastic",(r=function(t,e,n){var r=u("easing."+t,function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(t<1?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),o=r.prototype=new i.b;return o.constructor=r,o.getRatio=e,o.config=function(t,e){return new r(t,e)},r})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),r("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),r("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)),f("Expo",c("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),c("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),c("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",c("SineOut",function(t){return Math.sin(t*l)}),c("SineIn",function(t){return 1-Math.cos(t*l)}),c("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),u("easing.EaseLookup",{find:function(t){return i.b.map[t]}},!0),h(o.SlowMo,"SlowMo","ease,"),h(n,"RoughEase","ease,"),h(t,"SteppedEase","ease,"),_},!0);const k=i.k.Back,A=i.k.Elastic,C=i.k.Bounce,R=i.k.RoughEase,j=i.k.SlowMo,M=i.k.SteppedEase,I=i.k.Circ,L=i.k.Expo,D=i.k.Sine,N=i.k.ExpoScaleEase,z=s;z._autoActivated=[r,o,a,l,S,u,p,k,A,C,R,j,M,I,L,D,N],n.d(e,"default",function(){return z}),n.d(e,"TweenLite",function(){return i.l}),n.d(e,"TweenMax",function(){return z}),n.d(e,"TimelineLite",function(){return r}),n.d(e,"TimelineMax",function(){return o}),n.d(e,"CSSPlugin",function(){return a}),n.d(e,"AttrPlugin",function(){return l}),n.d(e,"BezierPlugin",function(){return S}),n.d(e,"RoundPropsPlugin",function(){return u}),n.d(e,"DirectionalRotationPlugin",function(){return p}),n.d(e,"TweenPlugin",function(){return i.j}),n.d(e,"Ease",function(){return i.b}),n.d(e,"Power0",function(){return i.d}),n.d(e,"Power1",function(){return i.e}),n.d(e,"Power2",function(){return i.f}),n.d(e,"Power3",function(){return i.g}),n.d(e,"Power4",function(){return i.h}),n.d(e,"Linear",function(){return i.c}),n.d(e,"Back",function(){return k}),n.d(e,"Elastic",function(){return A}),n.d(e,"Bounce",function(){return C}),n.d(e,"RoughEase",function(){return R}),n.d(e,"SlowMo",function(){return j}),n.d(e,"SteppedEase",function(){return M}),n.d(e,"Circ",function(){return I}),n.d(e,"Expo",function(){return L}),n.d(e,"Sine",function(){return D}),n.d(e,"ExpoScaleEase",function(){return N}),n.d(e,"_gsScope",function(){return i.k})},function(t,e,n){var i=n(74)("wks"),r=n(44),o=n(5).Symbol,s="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=i},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){var i=n(125),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();t.exports=o},function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(t,e,n){"use strict";var i=n(12);e.__esModule=!0,e.default=void 0;var r=i(n(83)),o=i(n(134)),s=function(t){function e(e){var n;return n=t.call(this)||this,Object.defineProperty((0,o.default)(n),"element",{configurable:!0,enumerable:!0,writable:!0,value:void 0}),n.element=e,n}(0,r.default)(e,t);var n=e.prototype;return n.getElement=function(t,e){return void 0===e&&(e=this.element),e.querySelector(t)},n.getElements=function(t,e){return void 0===e&&(e=this.element),Array.from(e.querySelectorAll(t))},n.dispose=function(){this.element=null,t.prototype.dispose.call(this)},e}(i(n(133)).default);e.default=s},function(t,e,n){var i=n(5),r=n(8),o=n(24),s=n(21),a=n(16),l=function(t,e,n){var u,c,h,f,p=t&l.F,d=t&l.G,_=t&l.S,m=t&l.P,v=t&l.B,g=d?i:_?i[e]||(i[e]={}):(i[e]||{}).prototype,y=d?r:r[e]||(r[e]={}),b=y.prototype||(y.prototype={});for(u in d&&(n=e),n)h=((c=!p&&g&&void 0!==g[u])?g:n)[u],f=v&&c?a(h,i):m&&"function"==typeof h?a(Function.call,h):h,g&&s(g,u,h,t&l.U),y[u]!=h&&o(y,u,f),m&&b[u]!=h&&(b[u]=h)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){var e=t.getAttribute("data-component");if(e&&(0,i.hasComponentInstance)(e))return((0,i.getComponentInstances)(e).find(function(e){return e.element===t})||{}).instance;return null};var i=n(47)},function(t,e,n){var i=n(228),r=n(225);t.exports=function(t,e){var n=r(t,e);return i(n)?n:void 0}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var i=n(115);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(30)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(4);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var i=n(19),r=n(118),o=n(116),s=Object.defineProperty;e.f=n(18)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(5),r=n(24),o=n(17),s=n(44)("src"),a=n(297),l=(""+a).split("toString");n(8).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(u&&(o(n,s)||r(n,s,t[e]?""+t[e]:l.join(String(e)))),t===i?t[e]=n:a?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(t,e,n){var i=n(31),r=n(311),o=n(310),s="[object Null]",a="[object Undefined]",l=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?a:s:l&&l in Object(t)?r(t):o(t)}},function(t,e,n){var i=n(4);t.exports=function(t,e){if(!i(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var i=n(20),r=n(43);t.exports=n(18)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(84),r=n(316);e.EventPhase=r.default;var o=n(131);e.EventListenerData=o.default;var s=n(315);e.CallListenerResult=s.default;var a=n(130);e.AbstractEvent=a.default,e.default=i.default},function(t,e,n){"use strict";var i;e.__esModule=!0,e.default=void 0,function(t){t[t.IN=0]="IN",t[t.OUT=1]="OUT"}(i||(i={}));var r=i;e.default=r},function(t,e,n){var i=n(22),r=n(11),o="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||r(t)&&i(t)==o}},function(t,e,n){var i=n(16),r=n(110),o=n(109),s=n(19),a=n(41),l=n(108),u={},c={};(e=t.exports=function(t,e,n,h,f){var p,d,_,m,v=f?function(){return t}:l(t),g=i(n,h,e?2:1),y=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(p=a(t.length);p>y;y++)if((m=e?g(s(d=t[y])[0],d[1]):g(t[y]))===u||m===c)return m}else for(_=v.call(t);!(d=_.next()).done;)if((m=r(_,g,d.value,e))===u||m===c)return m}).BREAK=u,e.RETURN=c},function(t,e){t.exports={}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(7).Symbol;t.exports=i},function(t,e){t.exports=function(t){return t}},function(t,e,n){var i=n(27),r=1/0;t.exports=function(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-r?"-0":e}},function(t,e,n){var i=n(96),r=n(53);t.exports=function(t){return null!=t&&r(t.length)&&!i(t)}},function(t,e,n){var i=n(216);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){var i=n(14)(Object,"create");t.exports=i},function(t,e,n){var i=n(58);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},function(t,e,n){var i=n(238),r=n(237),o=n(236),s=n(235),a=n(234);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e0?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(68),r=n(71);t.exports=function(t){return i(r(t))}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";e.__esModule=!0,e.registerComponent=function(t){t.displayName?(r=r.filter(function(e){return e.displayName!==t.displayName})).push(t):console.error('missing "block" definition on component',t)},e.updateComponent=function(t){var e=t;o(e.displayName).forEach(function(t){t.instance.dispose&&t.instance.dispose(),t.instance=new e(t.element)})},e.getComponents=function(){return r},e.getComponentInstances=o,e.hasComponentInstance=function(t){return t in i},e.setComponentInstance=function(t,e){i[t]||(i[t]=[]);i[t].push(e)},e.removeComponentByElement=function(t,e){var n=o(t).findIndex(function(t){return t.element===e});if(-1!==n)return i[t].splice(n,1)[0];return null};var i={},r=[];function o(t){return i[t]||[]}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){t.exports=!n(141)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){"use strict";var i=n(12);e.__esModule=!0,e.default=function(t){var e=[];(0,o.getComponents)().forEach(function(n){var i=n,r=i.displayName;t.getAttribute("data-component")===r&&e.push({component:n,element:t,depth:s(t)}),Array.from(t.querySelectorAll('[data-component="'+r+'"]')).forEach(function(t){e.push({component:n,element:t,depth:s(t)})})});var n=[];(0,r.default)(e,["depth"]).reverse().forEach(function(t){var e=t.component,i=t.element,r=e,s=r.displayName;try{var a=new r(i);(0,o.setComponentInstance)(s,{instance:a,element:i}),n.push(a)}catch(t){console.error(t)}}),n.forEach(function(t){"function"==typeof t.adopted&&t.adopted()})};var r=i(n(246)),o=n(47);function s(t){for(var e=0,n=t;n.parentElement;)++e,n=n.parentElement;return e}},function(t,e,n){var i=n(6),r=n(27),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(i(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!r(t))||s.test(t)||!o.test(t)||null!=e&&t in Object(e)}},function(t,e){var n=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}},function(t,e){var n=9007199254740991,i=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?n:e)&&("number"==r||"symbol"!=r&&i.test(t))&&t>-1&&t%1==0&&t0?i:n)(t)}},function(t,e,n){"use strict";var i=n(296)(!0);n(70)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var i=n(8),r=n(5),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(119)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(75),r=n(3)("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?n:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){"use strict";var i=n(76),r={};r[n(3)("toStringTag")]="z",r+""!="[object z]"&&n(21)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=n(130),o=n(128),s=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.point=n,r.side=i,r}return i.__extends(e,t),e.prototype.clone=function(){return new e(this.type,this.point,this.side)},e}(r.default);s.ENTER_VIEW=o.EVENT_TYPE_PLACEHOLDER,s.LEAVE_VIEW=o.EVENT_TYPE_PLACEHOLDER,s.BOUNDS_CHANGED=o.EVENT_TYPE_PLACEHOLDER,s.SCROLLED_BEYOND=o.EVENT_TYPE_PLACEHOLDER,o.generateEventTypes({ScrollTrackerEvent:s}),e.default=s},function(t,e,n){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.X=1]="X",t[t.Y=2]="Y"}(i||(i={})),e.default=i},function(t,e){function n(t,e){for(var n=0;n0;if(this.listeners[t]){for(var i=0;i0&&(i=!0,2===s))break}}return i}},function(t,e,n){var i=n(6),r=n(52),o=n(180),s=n(177);t.exports=function(t,e){return i(t)?t:r(t,e)?[t]:o(s(t))}},function(t,e,n){var i=n(85),r=n(33);t.exports=function(t,e){for(var n=0,o=(e=i(e,t)).length;null!=t&&nf))return!1;var d=c.get(t);if(d&&c.get(e))return d==e;var _=-1,m=!0,v=n&a?new i:void 0;for(c.set(t,e),c.set(e,t);++_u;)for(var f,p=a(arguments[u++]),d=c?i(p).concat(c(p)):i(p),_=d.length,m=0;_>m;)h.call(p,f=d[m++])&&(n[f]=p[f]);return n}:l},function(t,e,n){var i=n(16),r=n(68),o=n(40),s=n(41),a=n(270);t.exports=function(t,e){var n=1==t,l=2==t,u=3==t,c=4==t,h=6==t,f=5==t||h,p=e||a;return function(e,a,d){for(var _,m,v=o(e),g=r(v),y=i(a,d,3),b=s(g.length),T=0,x=n?p(e,b):l?p(e,0):void 0;b>T;T++)if((f||T in g)&&(m=y(_=g[T],T,v),t))if(n)x[T]=m;else if(m)switch(t){case 3:return!0;case 5:return _;case 6:return T;case 2:x.push(_)}else if(c)return!1;return h?-1:u||c?c:x}}},function(t,e,n){var i=n(76),r=n(280);t.exports=function(t){return function(){if(i(this)!=t)throw TypeError(t+"#toJSON isn't generic");return r(this)}}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(3)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},t(o)}catch(t){}return n}},function(t,e,n){var i=n(76),r=n(3)("iterator"),o=n(29);t.exports=n(8).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},function(t,e,n){var i=n(29),r=n(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},function(t,e,n){var i=n(19);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},function(t,e,n){"use strict";var i=n(20).f,r=n(114),o=n(64),s=n(16),a=n(63),l=n(28),u=n(70),c=n(112),h=n(285),f=n(18),p=n(39).fastKey,d=n(23),_=f?"_s":"size",m=function(t,e){var n,i=p(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var c=t(function(t,i){a(t,c,e,"_i"),t._t=e,t._i=r(null),t._f=void 0,t._l=void 0,t[_]=0,void 0!=i&&l(i,n,t[u],t)});return o(c.prototype,{clear:function(){for(var t=d(this,e),n=t._i,i=t._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];t._f=t._l=void 0,t[_]=0},delete:function(t){var n=d(this,e),i=m(n,t);if(i){var r=i.n,o=i.p;delete n._i[i.i],i.r=!0,o&&(o.n=r),r&&(r.p=o),n._f==i&&(n._f=r),n._l==i&&(n._l=o),n[_]--}return!!i},forEach:function(t){d(this,e);for(var n,i=s(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(i(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!m(d(this,e),t)}}),f&&i(c.prototype,"size",{get:function(){return d(this,e)[_]}}),c},def:function(t,e,n){var i,r,o=m(t,e);return o?o.v=n:(t._l=o={i:r=p(e,!0),k:e,v:n,p:i=t._l,n:void 0,r:!1},t._f||(t._f=o),i&&(i.n=o),t[_]++,"F"!==r&&(t._i[r]=o)),t},getEntry:m,setStrong:function(t,e,n){u(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?c(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,c(1))},n?"entries":"values",!n,!0),h(e)}}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(19),r=n(294),o=n(113),s=n(67)("IE_PROTO"),a=function(){},l=function(){var t,e=n(117)("iframe"),i=o.length;for(e.style.display="none",n(290).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("