tweenmax.min.js 116 KB

1234567891011121314
  1. /*
  2. * VERSION: 2.1.3
  3. * DATE: 2019-05-17
  4. * UPDATES AND DOCS AT: http://greensock.com
  5. *
  6. * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
  7. *
  8. * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
  9. * This work is subject to the terms at http://greensock.com/standard-license or for
  10. * Club GreenSock members, the software agreement that was issued with your membership.
  11. *
  12. * @author: Jack Doyle, jack@greensock.com
  13. **/
  14. var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(q,r,s){var t=function(e){var f,g=[],h=e.length;for(f=0;f!==h;g.push(e[f++])){}return g},u=function(g,h,i){var j,k,l=g.cycle;for(j in l){k=l[j],g[j]="function"==typeof k?k(i,h[i],h):k[i%k.length]}delete g.cycle},v=function(j){if("function"==typeof j){return j}var k="object"==typeof j?j:{each:j},l=k.ease,m=k.from||0,n=k.base||0,o={},p=isNaN(m),G=k.axis,H={center:0.5,end:1}[m]||0;return function(b,c,d){var e,f,g,h,i,I,J,K,L,M=(d||k).length,N=o[M];if(!N){if(L="auto"===k.grid?0:(k.grid||[1/0])[0],!L){for(J=-(1/0);J<(J=d[L++].getBoundingClientRect().left)&&M>L;){}L--}for(N=o[M]=[],e=p?Math.min(L,M)*H-0.5:m%L,f=p?M*H/L-0.5:m/L|0,J=0,K=1/0,I=0;M>I;I++){g=I%L-e,h=f-(I/L|0),N[I]=i=G?Math.abs("y"===G?h:g):Math.sqrt(g*g+h*h),i>J&&(J=i),K>i&&(K=i)}N.max=J-K,N.min=K,N.v=M=k.amount||k.each*(L>M?M-1:G?"y"===G?M/L:L:Math.max(L,M/L))||0,N.b=0>M?n-M:n}return M=(N[b]-N.min)/N.max,N.b+(l?l.getRatio(M):M)*N.v}},w=function(c,e,f){s.call(this,c,e,f),this._cycle=0,this._yoyo=this.vars.yoyo===!0||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=w.prototype.render},x=1e-08,y=s._internals,z=y.isSelector,A=y.isArray,B=w.prototype=s.to({},0.1,{}),C=[];w.version="2.1.3",B.constructor=w,B.kill()._gc=!1,w.killTweensOf=w.killDelayedCallsTo=s.killTweensOf,w.getTweensOf=s.getTweensOf,w.lagSmoothing=s.lagSmoothing,w.ticker=s.ticker,w.render=s.render,w.distribute=v,B.invalidate=function(){return this._yoyo=this.vars.yoyo===!0||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),s.prototype.invalidate.call(this)},B.updateTo=function(c,l){var m,n=this,o=n.ratio,p=n.vars.immediateRender||c.immediateRender;l&&n._startTime<n._timeline._time&&(n._startTime=n._timeline._time,n._uncache(!1),n._gc?n._enabled(!0,!1):n._timeline.insert(n,n._startTime-n._delay));for(m in c){n.vars[m]=c[m]}if(n._initted||p){if(l){n._initted=!1,p&&n.render(0,!0,!0)}else{if(n._gc&&n._enabled(!0,!1),n._notifyPluginsOfEnabled&&n._firstPT&&s._onPluginEvent("_onDisable",n),n._time/n._duration>0.998){var G=n._totalTime;n.render(0,!0,!1),n._initted=!1,n.render(G,!0,!1)}else{if(n._initted=!1,n._init(),n._time>0||p){for(var H,I=1/(1-o),J=n._firstPT;J;){H=J.s+J.c,J.c*=I,J.s=H-J.c,J=J._next}}}}}return n},B.render=function(c,h,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var G,H,I,J,K,L,M,N,O,P=this,Q=P._dirty?P.totalDuration():P._totalDuration,R=P._time,S=P._totalTime,T=P._cycle,U=P._duration,V=P._rawPrevTime;if(c>=Q-x&&c>=0?(P._totalTime=Q,P._cycle=P._repeat,P._yoyo&&0!==(1&P._cycle)?(P._time=0,P.ratio=P._ease._calcEnd?P._ease.getRatio(0):0):(P._time=U,P.ratio=P._ease._calcEnd?P._ease.getRatio(1):1),P._reversed||(G=!0,H="onComplete",i=i||P._timeline.autoRemoveChildren),0===U&&(P._initted||!P.vars.lazy||i)&&(P._startTime===P._timeline._duration&&(c=0),(0>V||0>=c&&c>=-x||V===x&&"isPause"!==P.data)&&V!==c&&(i=!0,V>x&&(H="onReverseComplete")),P._rawPrevTime=N=!h||c||V===c?c:x)):x>c?(P._totalTime=P._time=P._cycle=0,P.ratio=P._ease._calcEnd?P._ease.getRatio(0):0,(0!==S||0===U&&V>0)&&(H="onReverseComplete",G=P._reversed),c>-x?c=0:0>c&&(P._active=!1,0===U&&(P._initted||!P.vars.lazy||i)&&(V>=0&&(i=!0),P._rawPrevTime=N=!h||c||V===c?c:x)),P._initted||(i=!0)):(P._totalTime=P._time=c,0!==P._repeat&&(J=U+P._repeatDelay,P._cycle=P._totalTime/J>>0,0!==P._cycle&&P._cycle===P._totalTime/J&&c>=S&&P._cycle--,P._time=P._totalTime-P._cycle*J,P._yoyo&&0!==(1&P._cycle)&&(P._time=U-P._time,O=P._yoyoEase||P.vars.yoyoEase,O&&(P._yoyoEase||(O!==!0||P._initted?P._yoyoEase=O=O===!0?P._ease:O instanceof Ease?O:Ease.map[O]:(O=P.vars.ease,P._yoyoEase=O=O?O instanceof Ease?O:"function"==typeof O?new Ease(O,P.vars.easeParams):Ease.map[O]||s.defaultEase:s.defaultEase)),P.ratio=O?1-O.getRatio((U-P._time)/U):0)),P._time>U?P._time=U:P._time<0&&(P._time=0)),P._easeType&&!O?(K=P._time/U,L=P._easeType,M=P._easePower,(1===L||3===L&&K>=0.5)&&(K=1-K),3===L&&(K*=2),1===M?K*=K:2===M?K*=K*K:3===M?K*=K*K*K:4===M&&(K*=K*K*K*K),P.ratio=1===L?1-K:2===L?K:P._time/U<0.5?K/2:1-K/2):O||(P.ratio=P._ease.getRatio(P._time/U))),R===P._time&&!i&&T===P._cycle){return void (S!==P._totalTime&&P._onUpdate&&(h||P._callback("onUpdate")))}if(!P._initted){if(P._init(),!P._initted||P._gc){return}if(!i&&P._firstPT&&(P.vars.lazy!==!1&&P._duration||P.vars.lazy&&!P._duration)){return P._time=R,P._totalTime=S,P._rawPrevTime=V,P._cycle=T,y.lazyTweens.push(P),void (P._lazy=[c,h])}!P._time||G||O?G&&this._ease._calcEnd&&!O&&(P.ratio=P._ease.getRatio(0===P._time?0:1)):P.ratio=P._ease.getRatio(P._time/U)}for(P._lazy!==!1&&(P._lazy=!1),P._active||!P._paused&&P._time!==R&&c>=0&&(P._active=!0),0===S&&(2===P._initted&&c>0&&P._init(),P._startAt&&(c>=0?P._startAt.render(c,!0,i):H||(H="_dummyGS")),P.vars.onStart&&(0!==P._totalTime||0===U)&&(h||P._callback("onStart"))),I=P._firstPT;I;){I.f?I.t[I.p](I.c*P.ratio+I.s):I.t[I.p]=I.c*P.ratio+I.s,I=I._next}P._onUpdate&&(0>c&&P._startAt&&P._startTime&&P._startAt.render(c,!0,i),h||(P._totalTime!==S||H)&&P._callback("onUpdate")),P._cycle!==T&&(h||P._gc||P.vars.onRepeat&&P._callback("onRepeat")),H&&(!P._gc||i)&&(0>c&&P._startAt&&!P._onUpdate&&P._startTime&&P._startAt.render(c,!0,i),G&&(P._timeline.autoRemoveChildren&&P._enabled(!1,!1),P._active=!1),!h&&P.vars[H]&&P._callback(H),0===U&&P._rawPrevTime===x&&N!==x&&(P._rawPrevTime=0))},w.to=function(d,e,f){return new w(d,e,f)},w.from=function(d,e,f){return f.runBackwards=!0,f.immediateRender=0!=f.immediateRender,new w(d,e,f)},w.fromTo=function(e,f,g,h){return h.startAt=g,h.immediateRender=0!=h.immediateRender&&0!=g.immediateRender,new w(e,f,h)},w.staggerTo=w.allTo=function(c,d,e,f,g,j,k){var m,G,H,I,J=[],K=v(e.stagger||f),L=e.cycle,M=(e.startAt||C).cycle;for(A(c)||("string"==typeof c&&(c=s.selector(c)||c),z(c)&&(c=t(c))),c=c||[],m=c.length-1,H=0;m>=H;H++){G={};for(I in e){G[I]=e[I]}if(L&&(u(G,c,H),null!=G.duration&&(d=G.duration,delete G.duration)),M){M=G.startAt={};for(I in e.startAt){M[I]=e.startAt[I]}u(G.startAt,c,H)}G.delay=K(H,c[H],c)+(G.delay||0),H===m&&g&&(G.onComplete=function(){e.onComplete&&e.onComplete.apply(e.onCompleteScope||this,arguments),g.apply(k||e.callbackScope||this,j||C)}),J[H]=new w(c[H],d,G)}return J},w.staggerFrom=w.allFrom=function(g,i,j,k,l,m,n){return j.runBackwards=!0,j.immediateRender=0!=j.immediateRender,w.staggerTo(g,i,j,k,l,m,n)},w.staggerFromTo=w.allFromTo=function(g,j,k,l,m,n,o,p){return l.startAt=k,l.immediateRender=0!=l.immediateRender&&0!=k.immediateRender,w.staggerTo(g,j,l,m,n,o,p)},w.delayedCall=function(f,g,h,i,j){return new w(g,0,{delay:f,onComplete:g,onCompleteParams:h,callbackScope:i,onReverseComplete:g,onReverseCompleteParams:h,immediateRender:!1,useFrames:j,overwrite:0})},w.set=function(c,d){return new w(c,0,d)},w.isTweening=function(b){return s.getTweensOf(b,!0).length>0};var D=function(c,g){for(var h=[],i=0,j=c._first;j;){j instanceof s?h[i++]=j:(g&&(h[i++]=j),h=h.concat(D(j,g)),i=h.length),j=j._next}return h},E=w.getAllTweens=function(a){return D(q._rootTimeline,a).concat(D(q._rootFramesTimeline,a))};w.killAll=function(b,l,m,n){null==l&&(l=!0),null==m&&(m=!0);var o,p,G,H=E(0!=n),I=H.length,J=l&&m&&n;for(G=0;I>G;G++){p=H[G],(J||p instanceof r||(o=p.target===p.vars.onComplete)&&m||l&&!o)&&(b?p.totalTime(p._reversed?0:p.totalDuration()):p._enabled(!1,!1))}},w.killChildTweensOf=function(c,d){if(null!=c){var g,i,j,k,o,p=y.tweenLookup;if("string"==typeof c&&(c=s.selector(c)||c),z(c)&&(c=t(c)),A(c)){for(k=c.length;--k>-1;){w.killChildTweensOf(c[k],d)}}else{g=[];for(j in p){for(i=p[j].target.parentNode;i;){i===c&&(g=g.concat(p[j].tweens)),i=i.parentNode}}for(o=g.length,k=0;o>k;k++){d&&g[k].totalTime(g[k].totalDuration()),g[k]._enabled(!1,!1)}}}};var F=function(b,k,l,m){k=k!==!1,l=l!==!1,m=m!==!1;for(var n,o,p=E(m),G=k&&l&&m,H=p.length;--H>-1;){o=p[H],(G||o instanceof r||(n=o.target===o.vars.onComplete)&&l||k&&!n)&&o.paused(b)}};return w.pauseAll=function(d,e,f){F(!0,d,e,f)},w.resumeAll=function(d,e,f){F(!1,d,e,f)},w.globalTimeScale=function(a){var c=q._rootTimeline,f=s.ticker.time;return arguments.length?(a=a||x,c._startTime=f-(f-c._startTime)*c._timeScale/a,c=q._rootFramesTimeline,f=s.ticker.frame,c._startTime=f-(f-c._startTime)*c._timeScale/a,c._timeScale=q._rootTimeline._timeScale=a,a):c._timeScale},B.progress=function(c,d){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-c:c)+this._cycle*(this._duration+this._repeatDelay),d):this.duration()?this._time/this._duration:this.ratio},B.totalProgress=function(c,d){return arguments.length?this.totalTime(this.totalDuration()*c,d):this._totalTime/this.totalDuration()},B.time=function(f,g){if(!arguments.length){return this._time}this._dirty&&this.totalDuration();var h=this._duration,i=this._cycle,j=i*(h+this._repeatDelay);return f>h&&(f=h),this.totalTime(this._yoyo&&1&i?h-f+j:this._repeat?f+j:f,g)},B.duration=function(a){return arguments.length?q.prototype.duration.call(this,a):this._duration},B.totalDuration=function(b){return arguments.length?-1===this._repeat?this:this.duration((b-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)},B.repeat=function(b){return arguments.length?(this._repeat=b,this._uncache(!0)):this._repeat},B.repeatDelay=function(b){return arguments.length?(this._repeatDelay=b,this._uncache(!0)):this._repeatDelay},B.yoyo=function(b){return arguments.length?(this._yoyo=b,this):this._yoyo},w},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,u,v){var w=function(b){u.call(this,b);var g,h,i=this,j=i.vars;i._labels={},i.autoRemoveChildren=!!j.autoRemoveChildren,i.smoothChildTiming=!!j.smoothChildTiming,i._sortChildren=!0,i._onUpdate=j.onUpdate;for(h in j){g=j[h],B(g)&&-1!==g.join("").indexOf("{self}")&&(j[h]=i._swapSelfInParams(g))}B(j.tweens)&&i.add(j.tweens,0,j.align,j.stagger)},x=1e-08,y=v._internals,z=w._internals={},A=y.isSelector,B=y.isArray,C=y.lazyTweens,D=y.lazyRender,E=_gsScope._gsDefine.globals,F=function(d){var e,f={};for(e in d){f[e]=d[e]}return f},G=function(g,h,i){var j,k,l=g.cycle;for(j in l){k=l[j],g[j]="function"==typeof k?k(i,h[i],h):k[i%k.length]}delete g.cycle},H=z.pauseCallback=function(){},I=function(e){var f,g=[],h=e.length;for(f=0;f!==h;g.push(e[f++])){}return g},J=function(f,g,h,i){var j="immediateRender";return j in g||(g[j]=!(h&&h[j]===!1||i)),g},K=function(j){if("function"==typeof j){return j}var k="object"==typeof j?j:{each:j},l=k.ease,m=k.from||0,n=k.base||0,o={},p=isNaN(m),q=k.axis,r={center:0.5,end:1}[m]||0;return function(b,c,d){var e,f,g,h,i,M,N,O,P,Q=(d||k).length,R=o[Q];if(!R){if(P="auto"===k.grid?0:(k.grid||[1/0])[0],!P){for(N=-(1/0);N<(N=d[P++].getBoundingClientRect().left)&&Q>P;){}P--}for(R=o[Q]=[],e=p?Math.min(P,Q)*r-0.5:m%P,f=p?Q*r/P-0.5:m/P|0,N=0,O=1/0,M=0;Q>M;M++){g=M%P-e,h=f-(M/P|0),R[M]=i=q?Math.abs("y"===q?h:g):Math.sqrt(g*g+h*h),i>N&&(N=i),O>i&&(O=i)}R.max=N-O,R.min=O,R.v=Q=k.amount||k.each*(P>Q?Q-1:q?"y"===q?Q/P:P:Math.max(P,Q/P))||0,R.b=0>Q?n-Q:n}return Q=(R[b]-R.min)/R.max,R.b+(l?l.getRatio(Q):Q)*R.v}},L=w.prototype=new u;return w.version="2.1.3",w.distribute=K,L.constructor=w,L.kill()._gc=L._forcingPlayhead=L._hasPause=!1,L.to=function(c,g,h,i){var j=h.repeat&&E.TweenMax||v;return g?this.add(new j(c,g,h),i):this.set(c,h,i)},L.from=function(c,f,g,h){return this.add((g.repeat&&E.TweenMax||v).from(c,f,J(this,g)),h)},L.fromTo=function(c,h,i,j,k){var l=j.repeat&&E.TweenMax||v;return j=J(this,j,i),h?this.add(l.fromTo(c,h,i,j),k):this.set(c,j,k)},L.staggerTo=function(c,d,h,m,n,p,r,M){var N,O,P=new w({onComplete:p,onCompleteParams:r,callbackScope:M,smoothChildTiming:this.smoothChildTiming}),Q=K(h.stagger||m),R=h.startAt,S=h.cycle;for("string"==typeof c&&(c=v.selector(c)||c),c=c||[],A(c)&&(c=I(c)),O=0;O<c.length;O++){N=F(h),R&&(N.startAt=F(R),R.cycle&&G(N.startAt,c,O)),S&&(G(N,c,O),null!=N.duration&&(d=N.duration,delete N.duration)),P.to(c[O],d,N,Q(O,c[O],c))}return this.add(P,n)},L.staggerFrom=function(i,j,k,l,m,n,o,p){return k.runBackwards=!0,this.staggerTo(i,j,J(this,k),l,m,n,o,p)},L.staggerFromTo=function(j,k,l,m,n,o,p,q,r){return m.startAt=l,this.staggerTo(j,k,J(this,m,l),n,o,p,q,r)},L.call=function(c,f,g,h){return this.add(v.delayedCall(0,c,f,g),h)},L.set=function(c,e,f){return this.add(new v(c,0,J(this,e,null,!0)),f)},w.exportRoot=function(c,d){c=c||{},null==c.smoothChildTiming&&(c.smoothChildTiming=!0);var k,l,m,n,o=new w(c),p=o._timeline;for(null==d&&(d=!0),p._remove(o,!0),o._startTime=0,o._rawPrevTime=o._time=o._totalTime=p._time,m=p._first;m;){n=m._next,d&&m instanceof v&&m.target===m.vars.onComplete||(l=m._startTime-m._delay,0>l&&(k=1),o.add(m,l)),m=n}return p.add(o,0),k&&o.totalDuration(),o},L.add=function(a,b,c,d){var i,q,r,s,M,N,O=this;if("number"!=typeof b&&(b=O._parseTimeOrLabel(b,0,!0,a)),!(a instanceof t)){if(a instanceof Array||a&&a.push&&B(a)){for(c=c||"normal",d=d||0,i=b,q=a.length,r=0;q>r;r++){B(s=a[r])&&(s=new w({tweens:s})),O.add(s,i),"string"!=typeof s&&"function"!=typeof s&&("sequence"===c?i=s._startTime+s.totalDuration()/s._timeScale:"start"===c&&(s._startTime-=s.delay())),i+=d}return O._uncache(!0)}if("string"==typeof a){return O.addLabel(a,b)}if("function"!=typeof a){throw"Cannot add "+a+" into the timeline; it is not a tween, timeline, function, or string."}a=v.delayedCall(0,a)}if(u.prototype.add.call(O,a,b),(a._time||!a._duration&&a._initted)&&(i=(O.rawTime()-a._startTime)*a._timeScale,(!a._duration||Math.abs(Math.max(0,Math.min(a.totalDuration(),i)))-a._totalTime>1e-05)&&a.render(i,!1,!1)),(O._gc||O._time===O._duration)&&!O._paused&&O._duration<O.duration()){for(M=O,N=M.rawTime()>a._startTime;M._timeline;){N&&M._timeline.smoothChildTiming?M.totalTime(M._totalTime,!0):M._gc&&M._enabled(!0,!1),M=M._timeline}}return O},L.remove=function(a){if(a instanceof t){this._remove(a,!1);var e=a._timeline=a.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return a._startTime=(a._paused?a._pauseTime:e._time)-(a._reversed?a.totalDuration()-a._totalTime:a._totalTime)/a._timeScale,this}if(a instanceof Array||a&&a.push&&B(a)){for(var f=a.length;--f>-1;){this.remove(a[f])}return this}return"string"==typeof a?this.removeLabel(a):this.kill(null,a)},L._remove=function(b,e){u.prototype._remove.call(this,b,e);var f=this._last;return f?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},L.append=function(c,d){return this.add(c,this._parseTimeOrLabel(null,d,!0,c))},L.insert=L.insertMultiple=function(e,f,g,h){return this.add(e,f||0,g,h)},L.appendMultiple=function(e,f,g,h){return this.add(e,this._parseTimeOrLabel(null,f,!0,e),g,h)},L.addLabel=function(c,d){return this._labels[c]=this._parseTimeOrLabel(d),this},L.addPause=function(c,g,h,i){var j=v.delayedCall(0,H,h,i||this);return j.vars.onComplete=j.vars.onReverseComplete=g,j.data="isPause",this._hasPause=!0,this.add(j,c)},L.removeLabel=function(b){return delete this._labels[b],this},L.getLabelTime=function(b){return null!=this._labels[b]?this._labels[b]:-1},L._parseTimeOrLabel=function(a,h,i,j){var k,l;if(j instanceof t&&j.timeline===this){this.remove(j)}else{if(j&&(j instanceof Array||j.push&&B(j))){for(l=j.length;--l>-1;){j[l] instanceof t&&j[l].timeline===this&&this.remove(j[l])}}}if(k="number"!=typeof a||h?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof h){return this._parseTimeOrLabel(h,i&&"number"==typeof a&&null==this._labels[h]?a-k:0,i)}if(h=h||0,"string"!=typeof a||!isNaN(a)&&null==this._labels[a]){null==a&&(a=k)}else{if(l=a.indexOf("="),-1===l){return null==this._labels[a]?i?this._labels[a]=k+h:h:this._labels[a]+h}h=parseInt(a.charAt(l-1)+"1",10)*Number(a.substr(l+1)),a=l>1?this._parseTimeOrLabel(a.substr(0,l-1),0,i):k}return Number(a)+h},L.seek=function(c,d){return this.totalTime("number"==typeof c?c:this._parseTimeOrLabel(c),d!==!1)},L.stop=function(){return this.paused(!0)},L.gotoAndPlay=function(c,d){return this.play(c,d)},L.gotoAndStop=function(c,d){return this.pause(c,d)},L.render=function(e,j,k){this._gc&&this._enabled(!0,!1);var M,N,O,P,Q,R,S,T,U=this,V=U._time,W=U._dirty?U.totalDuration():U._totalDuration,X=U._startTime,Y=U._timeScale,Z=U._paused;if(V!==U._time&&(e+=U._time-V),U._hasPause&&!U._forcingPlayhead&&!j){if(e>V){for(M=U._first;M&&M._startTime<=e&&!R;){M._duration||"isPause"!==M.data||M.ratio||0===M._startTime&&0===U._rawPrevTime||(R=M),M=M._next}}else{for(M=U._last;M&&M._startTime>=e&&!R;){M._duration||"isPause"===M.data&&M._rawPrevTime>0&&(R=M),M=M._prev}}R&&(U._time=U._totalTime=e=R._startTime,T=U._startTime+(U._reversed?U._duration-e:e)/U._timeScale)}if(e>=W-x&&e>=0){U._totalTime=U._time=W,U._reversed||U._hasPausedChild()||(N=!0,P="onComplete",Q=!!U._timeline.autoRemoveChildren,0===U._duration&&(0>=e&&e>=-x||U._rawPrevTime<0||U._rawPrevTime===x)&&U._rawPrevTime!==e&&U._first&&(Q=!0,U._rawPrevTime>x&&(P="onReverseComplete"))),U._rawPrevTime=U._duration||!j||e||U._rawPrevTime===e?e:x,e=W+0.0001}else{if(x>e){if(U._totalTime=U._time=0,e>-x&&(e=0),(0!==V||0===U._duration&&U._rawPrevTime!==x&&(U._rawPrevTime>0||0>e&&U._rawPrevTime>=0))&&(P="onReverseComplete",N=U._reversed),0>e){U._active=!1,U._timeline.autoRemoveChildren&&U._reversed?(Q=N=!0,P="onReverseComplete"):U._rawPrevTime>=0&&U._first&&(Q=!0),U._rawPrevTime=e}else{if(U._rawPrevTime=U._duration||!j||e||U._rawPrevTime===e?e:x,0===e&&N){for(M=U._first;M&&0===M._startTime;){M._duration||(N=!1),M=M._next}}e=0,U._initted||(Q=!0)}}else{U._totalTime=U._time=U._rawPrevTime=e}}if(U._time!==V&&U._first||k||Q||R){if(U._initted||(U._initted=!0),U._active||!U._paused&&U._time!==V&&e>0&&(U._active=!0),0===V&&U.vars.onStart&&(0===U._time&&U._duration||j||U._callback("onStart")),S=U._time,S>=V){for(M=U._first;M&&(O=M._next,S===U._time&&(!U._paused||Z));){(M._active||M._startTime<=S&&!M._paused&&!M._gc)&&(R===M&&(U.pause(),U._pauseTime=T),M._reversed?M.render((M._dirty?M.totalDuration():M._totalDuration)-(e-M._startTime)*M._timeScale,j,k):M.render((e-M._startTime)*M._timeScale,j,k)),M=O}}else{for(M=U._last;M&&(O=M._prev,S===U._time&&(!U._paused||Z));){if(M._active||M._startTime<=V&&!M._paused&&!M._gc){if(R===M){for(R=M._prev;R&&R.endTime()>U._time;){R.render(R._reversed?R.totalDuration()-(e-R._startTime)*R._timeScale:(e-R._startTime)*R._timeScale,j,k),R=R._prev}R=null,U.pause(),U._pauseTime=T}M._reversed?M.render((M._dirty?M.totalDuration():M._totalDuration)-(e-M._startTime)*M._timeScale,j,k):M.render((e-M._startTime)*M._timeScale,j,k)}M=O}}U._onUpdate&&(j||(C.length&&D(),U._callback("onUpdate"))),P&&(U._gc||(X===U._startTime||Y!==U._timeScale)&&(0===U._time||W>=U.totalDuration())&&(N&&(C.length&&D(),U._timeline.autoRemoveChildren&&U._enabled(!1,!1),U._active=!1),!j&&U.vars[P]&&U._callback(P)))}},L._hasPausedChild=function(){for(var b=this._first;b;){if(b._paused||b instanceof w&&b._hasPausedChild()){return !0}b=b._next}return !1},L.getChildren=function(c,i,j,k){k=k||-9999999999;for(var l=[],m=this._first,n=0;m;){m._startTime<k||(m instanceof v?i!==!1&&(l[n++]=m):(j!==!1&&(l[n++]=m),c!==!1&&(l=l.concat(m.getChildren(!0,i,j)),n=l.length))),m=m._next}return l},L.getTweensOf=function(c,i){var j,k,l=this._gc,m=[],n=0;for(l&&this._enabled(!0,!0),j=v.getTweensOf(c),k=j.length;--k>-1;){(j[k].timeline===this||i&&this._contains(j[k]))&&(m[n++]=j[k])}return l&&this._enabled(!1,!0),m},L.recent=function(){return this._recent},L._contains=function(c){for(var d=c.timeline;d;){if(d===this){return !0}d=d.timeline}return !1},L.shiftChildren=function(g,h,i){i=i||0;for(var j,k=this._first,l=this._labels;k;){k._startTime>=i&&(k._startTime+=g),k=k._next}if(h){for(j in l){l[j]>=i&&(l[j]+=g)}}return this._uncache(!0)},L._kill=function(f,g){if(!f&&!g){return this._enabled(!1,!1)}for(var h=g?this.getTweensOf(g):this.getChildren(!0,!0,!1),i=h.length,j=!1;--i>-1;){h[i]._kill(f,g)&&(j=!0)}return j},L.clear=function(d){var e=this.getChildren(!1,!0,!0),f=e.length;for(this._time=this._totalTime=0;--f>-1;){e[f]._enabled(!1,!1)}return d!==!1&&(this._labels={}),this._uncache(!0)},L.invalidate=function(){for(var a=this._first;a;){a.invalidate(),a=a._next}return t.prototype.invalidate.call(this)},L._enabled=function(b,e){if(b===this._gc){for(var f=this._first;f;){f._enabled(b,!0),f=f._next}}return u.prototype._enabled.call(this,b,e)},L.totalTime=function(a,f,g){this._forcingPlayhead=!0;var h=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,h},L.duration=function(b){return arguments.length?(0!==this.duration()&&0!==b&&this.timeScale(this._duration/b),this):(this._dirty&&this.totalDuration(),this._duration)},L.totalDuration=function(h){if(!arguments.length){if(this._dirty){for(var i,j,k=0,l=this,m=l._last,n=999999999999;m;){i=m._prev,m._dirty&&m.totalDuration(),m._startTime>n&&l._sortChildren&&!m._paused&&!l._calculatingDuration?(l._calculatingDuration=1,l.add(m,m._startTime-m._delay),l._calculatingDuration=0):n=m._startTime,m._startTime<0&&!m._paused&&(k-=m._startTime,l._timeline.smoothChildTiming&&(l._startTime+=m._startTime/l._timeScale,l._time-=m._startTime,l._totalTime-=m._startTime,l._rawPrevTime-=m._startTime),l.shiftChildren(-m._startTime,!1,-9999999999),n=0),j=m._startTime+m._totalDuration/m._timeScale,j>k&&(k=j),m=i}l._duration=l._totalDuration=k,l._dirty=!1}return this._totalDuration}return h&&this.totalDuration()?this.timeScale(this._totalDuration/h):this},L.paused=function(a){if(a===!1&&this._paused){for(var d=this._first;d;){d._startTime===this._time&&"isPause"===d.data&&(d._rawPrevTime=0),d=d._next}}return t.prototype.paused.apply(this,arguments)},L.usesFrames=function(){for(var a=this._timeline;a._timeline;){a=a._timeline}return a===t._rootFramesTimeline},L.rawTime=function(b){return b&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(b)-this._startTime)*this._timeScale},w},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(l,m,n){var o=function(a){l.call(this,a),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},p=1e-08,q=m._internals,r=q.lazyTweens,s=q.lazyRender,t=_gsScope._gsDefine.globals,u=new n(null,null,1,0),v=o.prototype=new l;return v.constructor=o,v.kill()._gc=!1,o.version="2.1.3",v.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),l.prototype.invalidate.call(this)},v.addCallback=function(b,f,g,h){return this.add(m.delayedCall(0,b,g,h),f)},v.removeCallback=function(f,g){if(f){if(null==g){this._kill(null,f)}else{for(var h=this.getTweensOf(f,!1),i=h.length,j=this._parseTimeOrLabel(g);--i>-1;){h[i]._startTime===j&&h[i]._enabled(!1,!1)}}}return this},v.removePause=function(a){return this.removeCallback(l._internals.pauseCallback,a)},v.tweenTo=function(b,i){i=i||{};var j,k,w,x={ease:u,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},y=i.repeat&&t.TweenMax||m;for(k in i){x[k]=i[k]}return x.time=this._parseTimeOrLabel(b),j=Math.abs(Number(x.time)-this._time)/this._timeScale||0.001,w=new y(this,j,x),x.onStart=function(){w.target.paused(!0),w.vars.time===w.target.time()||j!==w.duration()||w.isFromTo||w.duration(Math.abs(w.vars.time-w.target.time())/w.target._timeScale).render(w.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||w,i.onStartParams||[])},w},v.tweenFromTo=function(e,f,g){g=g||{},e=this._parseTimeOrLabel(e),g.startAt={onComplete:this.seek,onCompleteParams:[e],callbackScope:this},g.immediateRender=g.immediateRender!==!1;var h=this.tweenTo(f,g);return h.isFromTo=1,h.duration(Math.abs(h.vars.time-e)/this._timeScale||0.001)},v.render=function(e,h,G){this._gc&&this._enabled(!0,!1);var I,L,M,N,O,P,Q,R,S,T=this,U=T._time,V=T._dirty?T.totalDuration():T._totalDuration,W=T._duration,X=T._totalTime,Y=T._startTime,Z=T._timeScale,aa=T._rawPrevTime,ab=T._paused,ac=T._cycle;if(U!==T._time&&(e+=T._time-U),e>=V-p&&e>=0){T._locked||(T._totalTime=V,T._cycle=T._repeat),T._reversed||T._hasPausedChild()||(L=!0,N="onComplete",O=!!T._timeline.autoRemoveChildren,0===T._duration&&(0>=e&&e>=-p||0>aa||aa===p)&&aa!==e&&T._first&&(O=!0,aa>p&&(N="onReverseComplete"))),T._rawPrevTime=T._duration||!h||e||T._rawPrevTime===e?e:p,T._yoyo&&1&T._cycle?T._time=e=0:(T._time=W,e=W+0.0001)}else{if(p>e){if(T._locked||(T._totalTime=T._cycle=0),T._time=0,e>-p&&(e=0),(0!==U||0===W&&aa!==p&&(aa>0||0>e&&aa>=0)&&!T._locked)&&(N="onReverseComplete",L=T._reversed),0>e){T._active=!1,T._timeline.autoRemoveChildren&&T._reversed?(O=L=!0,N="onReverseComplete"):aa>=0&&T._first&&(O=!0),T._rawPrevTime=e}else{if(T._rawPrevTime=W||!h||e||T._rawPrevTime===e?e:p,0===e&&L){for(I=T._first;I&&0===I._startTime;){I._duration||(L=!1),I=I._next}}e=0,T._initted||(O=!0)}}else{0===W&&0>aa&&(O=!0),T._time=T._rawPrevTime=e,T._locked||(T._totalTime=e,0!==T._repeat&&(P=W+T._repeatDelay,T._cycle=T._totalTime/P>>0,T._cycle&&T._cycle===T._totalTime/P&&e>=X&&T._cycle--,T._time=T._totalTime-T._cycle*P,T._yoyo&&1&T._cycle&&(T._time=W-T._time),T._time>W?(T._time=W,e=W+0.0001):T._time<0?T._time=e=0:e=T._time))}}if(T._hasPause&&!T._forcingPlayhead&&!h){if(e=T._time,e>U||T._repeat&&ac!==T._cycle){for(I=T._first;I&&I._startTime<=e&&!Q;){I._duration||"isPause"!==I.data||I.ratio||0===I._startTime&&0===T._rawPrevTime||(Q=I),I=I._next}}else{for(I=T._last;I&&I._startTime>=e&&!Q;){I._duration||"isPause"===I.data&&I._rawPrevTime>0&&(Q=I),I=I._prev}}Q&&(S=T._startTime+(T._reversed?T._duration-Q._startTime:Q._startTime)/T._timeScale,Q._startTime<W&&(T._time=T._rawPrevTime=e=Q._startTime,T._totalTime=e+T._cycle*(T._totalDuration+T._repeatDelay)))}if(T._cycle!==ac&&!T._locked){var ad=T._yoyo&&0!==(1&ac),g=ad===(T._yoyo&&0!==(1&T._cycle)),F=T._totalTime,H=T._cycle,J=T._rawPrevTime,K=T._time;if(T._totalTime=ac*W,T._cycle<ac?ad=!ad:T._totalTime+=W,T._time=U,T._rawPrevTime=0===W?aa-0.0001:aa,T._cycle=ac,T._locked=!0,U=ad?0:W,T.render(U,h,0===W),h||T._gc||T.vars.onRepeat&&(T._cycle=H,T._locked=!1,T._callback("onRepeat")),U!==T._time){return}if(g&&(T._cycle=ac,T._locked=!0,U=ad?W+0.0001:-0.0001,T.render(U,!0,!1)),T._locked=!1,T._paused&&!ab){return}T._time=K,T._totalTime=F,T._cycle=H,T._rawPrevTime=J}if(!(T._time!==U&&T._first||G||O||Q)){return void (X!==T._totalTime&&T._onUpdate&&(h||T._callback("onUpdate")))}if(T._initted||(T._initted=!0),T._active||!T._paused&&T._totalTime!==X&&e>0&&(T._active=!0),0===X&&T.vars.onStart&&(0===T._totalTime&&T._totalDuration||h||T._callback("onStart")),R=T._time,R>=U){for(I=T._first;I&&(M=I._next,R===T._time&&(!T._paused||ab));){(I._active||I._startTime<=T._time&&!I._paused&&!I._gc)&&(Q===I&&(T.pause(),T._pauseTime=S),I._reversed?I.render((I._dirty?I.totalDuration():I._totalDuration)-(e-I._startTime)*I._timeScale,h,G):I.render((e-I._startTime)*I._timeScale,h,G)),I=M}}else{for(I=T._last;I&&(M=I._prev,R===T._time&&(!T._paused||ab));){if(I._active||I._startTime<=U&&!I._paused&&!I._gc){if(Q===I){for(Q=I._prev;Q&&Q.endTime()>T._time;){Q.render(Q._reversed?Q.totalDuration()-(e-Q._startTime)*Q._timeScale:(e-Q._startTime)*Q._timeScale,h,G),Q=Q._prev}Q=null,T.pause(),T._pauseTime=S}I._reversed?I.render((I._dirty?I.totalDuration():I._totalDuration)-(e-I._startTime)*I._timeScale,h,G):I.render((e-I._startTime)*I._timeScale,h,G)}I=M}}T._onUpdate&&(h||(r.length&&s(),T._callback("onUpdate"))),N&&(T._locked||T._gc||(Y===T._startTime||Z!==T._timeScale)&&(0===T._time||V>=T.totalDuration())&&(L&&(r.length&&s(),T._timeline.autoRemoveChildren&&T._enabled(!1,!1),T._active=!1),!h&&T.vars[N]&&T._callback(N)))},v.getActive=function(j,k,w){var x,y,z=[],A=this.getChildren(j||null==j,k||null==j,!!w),B=0,C=A.length;for(x=0;C>x;x++){y=A[x],y.isActive()&&(z[B++]=y)}return z},v.getLabelAfter=function(e){e||0!==e&&(e=this._time);var f,g=this.getLabelsArray(),h=g.length;for(f=0;h>f;f++){if(g[f].time>e){return g[f].name}}return null},v.getLabelBefore=function(d){null==d&&(d=this._time);for(var e=this.getLabelsArray(),f=e.length;--f>-1;){if(e[f].time<d){return e[f].name}}return null},v.getLabelsArray=function(){var d,e=[],f=0;for(d in this._labels){e[f++]={time:this._labels[d],name:d}}return e.sort(function(c,g){return c.time-g.time}),e},v.invalidate=function(){return this._locked=!1,l.prototype.invalidate.call(this)},v.progress=function(c,d){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-c:c)+this._cycle*(this._duration+this._repeatDelay),d):this._time/this.duration()||0},v.totalProgress=function(c,d){return arguments.length?this.totalTime(this.totalDuration()*c,d):this._totalTime/this.totalDuration()||0},v.totalDuration=function(a){return arguments.length?-1!==this._repeat&&a?this.timeScale(this.totalDuration()/a):this:(this._dirty&&(l.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},v.time=function(f,g){if(!arguments.length){return this._time}this._dirty&&this.totalDuration();var h=this._duration,i=this._cycle,j=i*(h+this._repeatDelay);return f>h&&(f=h),this.totalTime(this._yoyo&&1&i?h-f+j:this._repeat?f+j:f,g)},v.repeat=function(b){return arguments.length?(this._repeat=b,this._uncache(!0)):this._repeat},v.repeatDelay=function(b){return arguments.length?(this._repeatDelay=b,this._uncache(!0)):this._repeatDelay},v.yoyo=function(b){return arguments.length?(this._yoyo=b,this):this._yoyo},v.currentLabel=function(b){return arguments.length?this.seek(b,!0):this.getLabelBefore(this._time+p)},o},!0),function(){var r=180/Math.PI,s=[],t=[],u=[],v={},w=_gsScope._gsDefine.globals,x=function(e,f,g,h){g===h&&(g=h-(h-f)/1000000),e===f&&(f=e+(g-e)/1000000),this.a=e,this.b=f,this.c=g,this.d=h,this.da=h-e,this.ca=g-e,this.ba=f-e},y=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",z=function(o,p,q,I){var J={a:o},K={},L={},M={c:I},N=(o+p)/2,O=(p+q)/2,P=(q+I)/2,Q=(N+O)/2,R=(O+P)/2,S=(R-Q)/8;return J.b=N+(o-N)/4,K.b=Q+S,J.c=K.a=(J.b+K.b)/2,K.c=L.a=(Q+R)/2,L.b=R-S,M.b=P+(I-P)/4,L.c=M.a=(L.b+M.b)/2,[J,K,L,M]},A=function(b,c,d,i,I){var J,K,L,M,N,O,P,Q,R,S,T,U,V,W=b.length-1,X=0,Y=b[0].a;for(J=0;W>J;J++){N=b[X],K=N.a,L=N.d,M=b[X+1].d,I?(T=s[J],U=t[J],V=(U+T)*c*0.25/(i?0.5:u[J]||0.5),O=L-(L-K)*(i?0.5*c:0!==T?V/T:0),P=L+(M-L)*(i?0.5*c:0!==U?V/U:0),Q=L-(O+((P-O)*(3*T/(T+U)+0.5)/4||0))):(O=L-(L-K)*c*0.5,P=L+(M-L)*c*0.5,Q=L-(O+P)/2),O+=Q,P+=Q,N.c=R=O,0!==J?N.b=Y:N.b=Y=N.a+0.6*(N.c-N.a),N.da=L-K,N.ca=R-K,N.ba=Y-K,d?(S=z(K,Y,R,L),b.splice(X,1,S[0],S[1],S[2],S[3]),X+=4):X++,Y=P}N=b[X],N.b=Y,N.c=Y+0.4*(N.d-Y),N.da=N.d-N.a,N.ca=N.c-N.a,N.ba=Y-N.a,d&&(S=z(N.a,Y,N.c,N.d),b.splice(X,1,S[0],S[1],S[2],S[3]))},B=function(b,c,g,o){var p,q,I,J,K,L,M=[];if(o){for(b=[o].concat(b),q=b.length;--q>-1;){"string"==typeof(L=b[q][c])&&"="===L.charAt(1)&&(b[q][c]=o[c]+Number(L.charAt(0)+L.substr(2)))}}if(p=b.length-2,0>p){return M[0]=new x(b[0][c],0,0,b[0][c]),M}for(q=0;p>q;q++){I=b[q][c],J=b[q+1][c],M[q]=new x(I,0,0,J),g&&(K=b[q+2][c],s[q]=(s[q]||0)+(J-I)*(J-I),t[q]=(t[q]||0)+(K-J)*(K-J))}return M[q]=new x(b[q][c],0,0,b[q+1][c]),M},C=function(b,c,d,e,h,j){var k,I,J,K,L,M,N,O,P={},Q=[],R=j||b[0];h="string"==typeof h?","+h+",":y,null==c&&(c=1);for(I in b[0]){Q.push(I)}if(b.length>1){for(O=b[b.length-1],N=!0,k=Q.length;--k>-1;){if(I=Q[k],Math.abs(R[I]-O[I])>0.05){N=!1;break}}N&&(b=b.concat(),j&&b.unshift(j),b.push(b[1]),j=b[b.length-3])}for(s.length=t.length=u.length=0,k=Q.length;--k>-1;){I=Q[k],v[I]=-1!==h.indexOf(","+I+","),P[I]=B(b,I,v[I],j)}for(k=s.length;--k>-1;){s[k]=Math.sqrt(s[k]),t[k]=Math.sqrt(t[k])}if(!e){for(k=Q.length;--k>-1;){if(v[I]){for(J=P[Q[k]],M=J.length-1,K=0;M>K;K++){L=J[K+1].da/t[K]+J[K].da/s[K]||0,u[K]=(u[K]||0)+L*L}}}for(k=u.length;--k>-1;){u[k]=Math.sqrt(u[k])}}for(k=Q.length,K=d?4:1;--k>-1;){I=Q[k],J=P[I],A(J,c,d,e,v[I]),N&&(J.splice(0,K),J.splice(J.length-K,K))}return P},D=function(g,I,J){I=I||"soft";var K,L,M,N,O,P,Q,R,S,T,U,V={},W="cubic"===I?3:2,X="soft"===I,Y=[];if(X&&J&&(g=[J].concat(g)),null==g||g.length<W+1){throw"invalid Bezier data"}for(S in g[0]){Y.push(S)}for(P=Y.length;--P>-1;){for(S=Y[P],V[S]=O=[],T=0,R=g.length,Q=0;R>Q;Q++){K=null==J?g[Q][S]:"string"==typeof(U=g[Q][S])&&"="===U.charAt(1)?J[S]+Number(U.charAt(0)+U.substr(2)):Number(U),X&&Q>1&&R-1>Q&&(O[T++]=(K+O[T-2])/2),O[T++]=K}for(R=T-W+1,T=0,Q=0;R>Q;Q+=W){K=O[Q],L=O[Q+1],M=O[Q+2],N=2===W?0:O[Q+3],O[T++]=U=3===W?new x(K,L,M,N):new x(K,(2*L+K)/3,(2*L+M)/3,M)}O.length=T}return V},E=function(q,I,J){for(var K,L,M,N,O,P,Q,R,S,T,U,V=1/J,W=q.length;--W>-1;){for(T=q[W],M=T.a,N=T.d-M,O=T.c-M,P=T.b-M,K=L=0,R=1;J>=R;R++){Q=V*R,S=1-Q,K=L-(L=(Q*Q*N+3*S*(Q*O+S*P))*Q),U=W*J+R-1,I[U]=(I[U]||0)+K*K}}},F=function(n,o){o=o>>0||6;var p,q,I,J,K=[],L=[],M=0,N=0,O=o-1,P=[],Q=[];for(p in n){E(n[p],K,o)}for(I=K.length,q=0;I>q;q++){M+=Math.sqrt(K[q]),J=q%o,Q[J]=M,J===O&&(N+=M,J=q/o>>0,P[J]=Q,L[J]=N,M=0,Q=[])}return{length:N,lengths:L,segments:P}},G=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(l,m,o){this._target=l,m instanceof Array&&(m={values:m}),this._func={},this._mod={},this._props=[],this._timeRes=null==m.timeResolution?6:parseInt(m.timeResolution,10);var q,I,J,K,L,M=m.values||[],N={},O=M[0],P=m.autoRotate||o.vars.orientToBezier;this._autoRotate=P?P instanceof Array?P:[["x","y","rotation",P===!0?0:Number(P)||0]]:null;for(q in O){this._props.push(q)}for(J=this._props.length;--J>-1;){q=this._props[J],this._overwriteProps.push(q),I=this._func[q]="function"==typeof l[q],N[q]=I?l[q.indexOf("set")||"function"!=typeof l["get"+q.substr(3)]?q:"get"+q.substr(3)]():parseFloat(l[q]),L||N[q]!==M[0][q]&&(L=N)}if(this._beziers="cubic"!==m.type&&"quadratic"!==m.type&&"soft"!==m.type?C(M,isNaN(m.curviness)?1:m.curviness,!1,"thruBasic"===m.type,m.correlate,L):D(M,m.type,N),this._segCount=this._beziers[q].length,this._timeRes){var Q=F(this._beziers,this._timeRes);this._length=Q.length,this._lengths=Q.lengths,this._segments=Q.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(P=this._autoRotate){for(this._initialRotations=[],P[0] instanceof Array||(this._autoRotate=P=[P]),J=P.length;--J>-1;){for(K=0;3>K;K++){q=P[J][K],this._func[q]="function"==typeof l[q]?l[q.indexOf("set")||"function"!=typeof l["get"+q.substr(3)]?q:"get"+q.substr(3)]:!1}q=P[J][2],this._initialRotations[J]=(this._func[q]?this._func[q].call(this._target):this._target[q])||0,this._overwriteProps.push(q)}}return this._startRatio=o.vars.runBackwards?1:0,!0},set:function(a){var I,J,K,L,M,N,O,P,Q,R,S,T=this._segCount,U=this._func,V=this._target,W=a!==this._startRatio;if(this._timeRes){if(Q=this._lengths,R=this._curSeg,S=a*this._length,K=this._li,S>this._l2&&T-1>K){for(P=T-1;P>K&&(this._l2=Q[++K])<=S;){}this._l1=Q[K-1],this._li=K,this._curSeg=R=this._segments[K],this._s2=R[this._s1=this._si=0]}else{if(S<this._l1&&K>0){for(;K>0&&(this._l1=Q[--K])>=S;){}0===K&&S<this._l1?this._l1=0:K++,this._l2=Q[K],this._li=K,this._curSeg=R=this._segments[K],this._s1=R[(this._si=R.length-1)-1]||0,this._s2=R[this._si]}}if(I=K,S-=this._l1,K=this._si,S>this._s2&&K<R.length-1){for(P=R.length-1;P>K&&(this._s2=R[++K])<=S;){}this._s1=R[K-1],this._si=K}else{if(S<this._s1&&K>0){for(;K>0&&(this._s1=R[--K])>=S;){}0===K&&S<this._s1?this._s1=0:K++,this._s2=R[K],this._si=K}}N=1===a?1:(K+(S-this._s1)/(this._s2-this._s1))*this._prec||0}else{I=0>a?0:a>=1?T-1:T*a>>0,N=(a-I*(1/T))*T}for(J=1-N,K=this._props.length;--K>-1;){L=this._props[K],M=this._beziers[L][I],O=(N*N*M.da+3*J*(N*M.ca+J*M.ba))*N+M.a,this._mod[L]&&(O=this._mod[L](O,V)),U[L]?V[L](O):V[L]=O}if(this._autoRotate){var X,Y,Z,aa,ab,ac,ad,ae=this._autoRotate;for(K=ae.length;--K>-1;){L=ae[K][2],ac=ae[K][3]||0,ad=ae[K][4]===!0?1:r,M=this._beziers[ae[K][0]],X=this._beziers[ae[K][1]],M&&X&&(M=M[I],X=X[I],Y=M.a+(M.b-M.a)*N,aa=M.b+(M.c-M.b)*N,Y+=(aa-Y)*N,aa+=(M.c+(M.d-M.c)*N-aa)*N,Z=X.a+(X.b-X.a)*N,ab=X.b+(X.c-X.b)*N,Z+=(ab-Z)*N,ab+=(X.c+(X.d-X.c)*N-ab)*N,O=W?Math.atan2(ab-Z,aa-Y)*ad+ac:this._initialRotations[K],this._mod[L]&&(O=this._mod[L](O,V)),U[L]?V[L](O):V[L]=O)}}}}),H=G.prototype;G.bezierThrough=C,G.cubicToQuadratic=z,G._autoCSS=!0,G.quadraticToCubic=function(d,e,f){return new x(d,(2*e+d)/3,(2*e+f)/3,f)},G._cssRegister=function(){var f=w.CSSPlugin;if(f){var g=f._internals,h=g._parseToProxy,i=g._setPluginRatio,j=g.CSSPropTween;g._registerComplexSpecialProp("bezier",{parser:function(c,d,e,p,I,J){d instanceof Array&&(d={values:d}),J=new G;var K,L,M,N=d.values,O=N.length-1,P=[],Q={};if(0>O){return I}for(K=0;O>=K;K++){M=h(c,N[K],p,I,J,O!==K),P[K]=M.end}for(L in d){Q[L]=d[L]}return Q.values=P,I=new j(c,"bezier",0,0,M.pt,2),I.data=M,I.plugin=J,I.setRatio=i,0===Q.autoRotate&&(Q.autoRotate=!0),!Q.autoRotate||Q.autoRotate instanceof Array||(K=Q.autoRotate===!0?0:Number(Q.autoRotate),Q.autoRotate=null!=M.end.left?[["left","top","rotation",K,!1]]:null!=M.end.x?[["x","y","rotation",K,!1]]:!1),Q.autoRotate&&(p._transform||p._enableTransforms(!1),M.autoRotate=p._target._gsTransform,M.proxy.rotation=M.autoRotate.rotation||0,p._overwriteProps.push("rotation")),J._onInitTween(M.proxy,Q,p._tween),I}})}},H._mod=function(e){for(var f,g=this._overwriteProps,h=g.length;--h>-1;){f=e[g[h]],f&&"function"==typeof f&&(this._mod[g[h]]=f)}},H._kill=function(e){var f,g,h=this._props;for(f in this._beziers){if(f in e){for(delete this._beziers[f],delete this._func[f],g=h.length;--g>-1;){h[g]===f&&h.splice(g,1)}}}if(h=this._autoRotate){for(g=h.length;--g>-1;){e[h[g][2]]&&h.splice(g,1)}}return this._super._kill.call(this,e)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(af,aj){var an,ar,aw,aA,aE=function(){af.call(this,"css"),this._overwriteProps.length=0,this.setRatio=aE.prototype.setRatio},aI=_gsScope._gsDefine.globals,aM={},aQ=aE.prototype=new af("css");aQ.constructor=aE,aE.version="2.1.3",aE.API=2,aE.defaultTransformPerspective=0,aE.defaultSkewType="compensated",aE.defaultSmoothOrigin=!0,aQ="px",aE.suffixMap={top:aQ,right:aQ,bottom:aQ,left:aQ,width:aQ,height:aQ,fontSize:aQ,padding:aQ,margin:aQ,perspective:aQ,lineHeight:""};var aU,aY,a2,a6,bb,bf,bj,bn,br=/(?:\-|\.|\b)(\d|\.|e\-)+/g,bv=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,bz=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,bD=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,bH=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,bL=/(?:\d|\-|\+|=|#|\.)*/g,bP=/opacity *= *([^)]*)/i,bT=/opacity:([^;]*)/i,ag=/alpha\(opacity *=.+?\)/i,ak=/^(rgb|hsl)/,ao=/([A-Z])/g,at=/-([a-z])/gi,ax=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,aB=function(c,d){return d.toUpperCase()},aF=/(?:Left|Right|Width)/i,aJ=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,aN=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,aR=/,(?=[^\)]*(?:\(|$))/gi,aV=/[\s,\(]/i,aZ=Math.PI/180,a3=180/Math.PI,a7={},bc={style:{}},bg=_gsScope.document||{createElement:function(){return bc}},bk=function(d,e){var f=bg.createElementNS?bg.createElementNS(e||"http://www.w3.org/1999/xhtml",d):bg.createElement(d);return f.style?f:bg.createElement(d)},bo=bk("div"),bs=bk("img"),bw=aE._internals={_specialProps:aM},bA=(_gsScope.navigator||{}).userAgent||"",bE=function(){var c=bA.indexOf("Android"),d=bk("a");return a2=-1!==bA.indexOf("Safari")&&-1===bA.indexOf("Chrome")&&(-1===c||parseFloat(bA.substr(c+8,2))>3),bb=a2&&parseFloat(bA.substr(bA.indexOf("Version/")+8,2))<6,a6=-1!==bA.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(bA)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(bA))&&(bf=parseFloat(RegExp.$1)),d?(d.style.cssText="top:1px;opacity:.55;",/^0.55/.test(d.style.opacity)):!1}(),bI=function(b){return bP.test("string"==typeof b?b:(b.currentStyle?b.currentStyle.filter:b.style.filter)||"")?parseFloat(RegExp.$1)/100:1},bM=function(b){_gsScope.console&&console.log(b)},bQ="",bU="",ab=function(f,g){g=g||bo;var h,i,j=g.style;if(void 0!==j[f]){return f}for(f=f.charAt(0).toUpperCase()+f.substr(1),h=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===j[h[i]+f];){}return i>=0?(bU=3===i?"ms":h[i],bQ="-"+bU.toLowerCase()+"-",bU+f):null},ad="undefined"!=typeof window?window:bg.defaultView||{getComputedStyle:function(){}},ah=function(b){return ad.getComputedStyle(b)},al=aE.getStyle=function(g,h,i,j,k){var l;return bE||"opacity"!==h?(!j&&g.style[h]?l=g.style[h]:(i=i||ah(g))?l=i[h]||i.getPropertyValue(h)||i.getPropertyValue(h.replace(ao,"-$1").toLowerCase()):g.currentStyle&&(l=g.currentStyle[h]),null==k||l&&"none"!==l&&"auto"!==l&&"auto auto"!==l?l:k):bI(g)},ap=bw.convertToPixels=function(b,g,p,q,r){if("px"===q||!q&&"lineHeight"!==g){return p}if("auto"===q||!p){return 0}var s,t,u,v=aF.test(g),w=b,x=bo.style,y=0>p,z=1===p;if(y&&(p=-p),z&&(p*=100),"lineHeight"!==g||q){if("%"===q&&-1!==g.indexOf("border")){s=p/100*(v?b.clientWidth:b.clientHeight)}else{if(x.cssText="border:0 solid red;position:"+al(b,"position")+";line-height:0;","%"!==q&&w.appendChild&&"v"!==q.charAt(0)&&"rem"!==q){x[v?"borderLeftWidth":"borderTopWidth"]=p+q}else{if(w=b.parentNode||bg.body,-1!==al(w,"display").indexOf("flex")&&(x.position="absolute"),t=w._gsCache,u=aj.ticker.frame,t&&v&&t.time===u){return t.width*p/100}x[v?"width":"height"]=p+q}w.appendChild(bo),s=parseFloat(bo[v?"offsetWidth":"offsetHeight"]),w.removeChild(bo),v&&"%"===q&&aE.cacheWidths!==!1&&(t=w._gsCache=w._gsCache||{},t.time=u,t.width=s/p*100),0!==s||r||(s=ap(b,g,p,q,!0))}}else{t=ah(b).lineHeight,b.style.lineHeight=p,s=parseFloat(ah(b).lineHeight),b.style.lineHeight=t}return z&&(s/=100),y?-s:s},au=bw.calculateOffset=function(f,g,h){if("absolute"!==al(f,"position",h)){return 0}var i="left"===g?"Left":"Top",j=al(f,"margin"+i,h);return f["offset"+i]-(ap(f,g,parseFloat(j),j.replace(bL,""))||0)},ay=function(g,h){var i,j,k,l={};if(h=h||ah(g,null)){if(i=h.length){for(;--i>-1;){k=h[i],(-1===k.indexOf("-transform")||aD===k)&&(l[k.replace(at,aB)]=h.getPropertyValue(k))}}else{for(i in h){(-1===i.indexOf("Transform")||az===i)&&(l[i]=h[i])}}}else{if(h=g.currentStyle||g.style){for(i in h){"string"==typeof i&&void 0===l[i]&&(l[i.replace(at,aB)]=h[i])}}}return bE||(l.opacity=bI(g)),j=by(g,h,!1),l.rotation=j.rotation,l.skewX=j.skewX,l.scaleX=j.scaleX,l.scaleY=j.scaleY,l.x=j.x,l.y=j.y,aL&&(l.z=j.z,l.rotationX=j.rotationX,l.rotationY=j.rotationY,l.scaleZ=j.scaleZ),l.filters&&delete l.filters,l},aC=function(k,l,m,n,o){var p,q,r,s={},t=k.style;for(q in m){"cssText"!==q&&"length"!==q&&isNaN(q)&&(l[q]!==(p=m[q])||o&&o[q])&&-1===q.indexOf("Origin")&&("number"==typeof p||"string"==typeof p)&&(s[q]="auto"!==p||"left"!==q&&"top"!==q?""!==p&&"auto"!==p&&"none"!==p||"string"!=typeof l[q]||""===l[q].replace(bH,"")?p:0:au(k,q),void 0!==t[q]&&(r=new bB(t,q,t[q],r)))}if(n){for(q in n){"className"!==q&&(s[q]=n[q])}}return{difs:s,firstMPT:r}},aG={width:["Left","Right"],height:["Top","Bottom"]},aK=["marginLeft","marginRight","marginTop","marginBottom"],aO=function(g,h,i){if("svg"===(g.nodeName+"").toLowerCase()){return(i||ah(g))[h]||0}if(g.getCTM&&bm(g)){return g.getBBox()[h]||0}var j=parseFloat("width"===h?g.offsetWidth:g.offsetHeight),k=aG[h],l=k.length;for(i=i||ah(g,null);--l>-1;){j-=parseFloat(al(g,"padding"+k[l],i,!0))||0,j-=parseFloat(al(g,"border"+k[l]+"Width",i,!0))||0}return j},aS=function(g,h){if("contain"===g||"auto"===g||"auto auto"===g){return g+" "}(null==g||""===g)&&(g="0 0");var i,j=g.split(" "),k=-1!==g.indexOf("left")?"0%":-1!==g.indexOf("right")?"100%":j[0],l=-1!==g.indexOf("top")?"0%":-1!==g.indexOf("bottom")?"100%":j[1];if(j.length>3&&!h){for(j=g.split(", ").join(",").split(","),g=[],i=0;i<j.length;i++){g.push(aS(j[i]))}return g.join(",")}return null==l?l="center"===k?"50%":"0":"center"===l&&(l="50%"),("center"===k||isNaN(parseFloat(k))&&-1===(k+"").indexOf("="))&&(k="50%"),g=k+" "+l+(j.length>2?" "+j[2]:""),h&&(h.oxp=-1!==k.indexOf("%"),h.oyp=-1!==l.indexOf("%"),h.oxr="="===k.charAt(1),h.oyr="="===l.charAt(1),h.ox=parseFloat(k.replace(bH,"")),h.oy=parseFloat(l.replace(bH,"")),h.v=g),h||g},aW=function(c,d){return"function"==typeof c&&(c=c(bn,bj)),"string"==typeof c&&"="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*parseFloat(c.substr(2)):parseFloat(c)-parseFloat(d)||0},a0=function(d,e){"function"==typeof d&&(d=d(bn,bj));var f="string"==typeof d&&"="===d.charAt(1);return"string"==typeof d&&"v"===d.charAt(d.length-2)&&(d=(f?d.substr(0,2):0)+window["inner"+("vh"===d.substr(-2)?"Height":"Width")]*(parseFloat(f?d.substr(2):d)/100)),null==d?e:f?parseInt(d.charAt(0)+"1",10)*parseFloat(d.substr(2))+e:parseFloat(d)||0},a4=function(k,l,m,n){var o,p,q,r,s,t=1e-06;return"function"==typeof k&&(k=k(bn,bj)),null==k?r=l:"number"==typeof k?r=k:(o=360,p=k.split("_"),s="="===k.charAt(1),q=(s?parseInt(k.charAt(0)+"1",10)*parseFloat(p[0].substr(2)):parseFloat(p[0]))*(-1===k.indexOf("rad")?1:a3)-(s?0:l),p.length&&(n&&(n[m]=l+q),-1!==k.indexOf("short")&&(q%=o,q!==q%(o/2)&&(q=0>q?q+o:q-o)),-1!==k.indexOf("_cw")&&0>q?q=(q+9999999999*o)%o-(q/o|0)*o:-1!==k.indexOf("ccw")&&q>0&&(q=(q-9999999999*o)%o-(q/o|0)*o)),r=l+q),t>r&&r>-t&&(r=0),r},a8={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]},bd=function(d,e,f){return d=0>d?d+1:d>1?d-1:d,255*(1>6*d?e+(f-e)*d*6:0.5>d?f:2>3*d?e+(f-e)*(2/3-d)*6:e)+0.5|0},bh=aE.parseColor=function(n,o){var p,q,r,s,t,u,v,w,x,y,z;if(n){if("number"==typeof n){p=[n>>16,n>>8&255,255&n]}else{if(","===n.charAt(n.length-1)&&(n=n.substr(0,n.length-1)),a8[n]){p=a8[n]}else{if("#"===n.charAt(0)){4===n.length&&(q=n.charAt(1),r=n.charAt(2),s=n.charAt(3),n="#"+q+q+r+r+s+s),n=parseInt(n.substr(1),16),p=[n>>16,n>>8&255,255&n]}else{if("hsl"===n.substr(0,3)){if(p=z=n.match(br),o){if(-1!==n.indexOf("=")){return n.match(bv)}}else{t=Number(p[0])%360/360,u=Number(p[1])/100,v=Number(p[2])/100,r=0.5>=v?v*(u+1):v+u-v*u,q=2*v-r,p.length>3&&(p[3]=Number(p[3])),p[0]=bd(t+1/3,q,r),p[1]=bd(t,q,r),p[2]=bd(t-1/3,q,r)}}else{p=n.match(br)||a8.transparent}}}p[0]=Number(p[0]),p[1]=Number(p[1]),p[2]=Number(p[2]),p.length>3&&(p[3]=Number(p[3]))}}else{p=a8.black}return o&&!z&&(q=p[0]/255,r=p[1]/255,s=p[2]/255,w=Math.max(q,r,s),x=Math.min(q,r,s),v=(w+x)/2,w===x?t=u=0:(y=w-x,u=v>0.5?y/(2-w-x):y/(w+x),t=w===q?(r-s)/y+(s>r?6:0):w===r?(s-q)/y+2:(q-r)/y+4,t*=60),p[0]=t+0.5|0,p[1]=100*u+0.5|0,p[2]=100*v+0.5|0),p},bl=function(i,j){var k,l,m,n=i.match(bp)||[],o=0,p="";if(!n.length){return i}for(k=0;k<n.length;k++){l=n[k],m=i.substr(o,i.indexOf(l,o)-o),o+=m.length+l.length,l=bh(l,j),3===l.length&&l.push(1),p+=m+(j?"hsla("+l[0]+","+l[1]+"%,"+l[2]+"%,"+l[3]:"rgba("+l.join(","))+")"}return p+i.substr(o)},bp="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(aQ in a8){bp+="|"+aQ+"\\b"}bp=new RegExp(bp+")","gi"),aE.colorStringFilter=function(d){var e,f=d[0]+" "+d[1];bp.test(f)&&(e=-1!==f.indexOf("hsl(")||-1!==f.indexOf("hsla("),d[0]=bl(d[0],e),d[1]=bl(d[1],e)),bp.lastIndex=0},aj.defaultStringFilter||(aj.defaultStringFilter=aE.colorStringFilter);var bt=function(m,n,o,p){if(null==m){return function(b){return b}}var q,r=n?(m.match(bp)||[""])[0]:"",s=m.split(r).join("").match(bz)||[],t=m.substr(0,m.indexOf(s[0])),u=")"===m.charAt(m.length-1)?")":"",v=-1!==m.indexOf(" ")?" ":",",w=s.length,x=w>0?s[0].replace(br,""):"";return w?q=n?function(c){var d,e,f,g;if("number"==typeof c){c+=x}else{if(p&&aR.test(c)){for(g=c.replace(aR,"|").split("|"),f=0;f<g.length;f++){g[f]=q(g[f])}return g.join(",")}}if(d=(c.match(bp)||[r])[0],e=c.split(d).join("").match(bz)||[],f=e.length,w>f--){for(;++f<w;){e[f]=o?e[(f-1)/2|0]:s[f]}}return t+e.join(v)+v+d+u+(-1!==c.indexOf("inset")?" inset":"")}:function(c){var d,e,g;if("number"==typeof c){c+=x}else{if(p&&aR.test(c)){for(e=c.replace(aR,"|").split("|"),g=0;g<e.length;g++){e[g]=q(e[g])}return e.join(",")}}if(d=c.match(","===v?bz:bD)||[],g=d.length,w>g--){for(;++g<w;){d[g]=o?d[(g-1)/2|0]:s[g]}}return(t&&"none"!==c?c.substr(0,c.indexOf(d[0]))||t:t)+d.join(v)+u}:function(b){return b}},bx=function(b){return b=b.split(","),function(a,k,l,m,n,o,p){var q,r=(k+"").split(" ");for(p={},q=0;4>q;q++){p[b[q]]=r[q]=r[q]||r[(q-1)/2>>0]}return m.parse(a,p,n,o)}},bB=(bw._setPluginRatio=function(k){this.plugin.setRatio(k);for(var l,m,n,o,p,q=this.data,r=q.proxy,s=q.firstMPT,t=1e-06;s;){l=r[s.v],s.r?l=s.r(l):t>l&&l>-t&&(l=0),s.t[s.p]=l,s=s._next}if(q.autoRotate&&(q.autoRotate.rotation=q.mod?q.mod.call(this._tween,r.rotation,this.t,this._tween):r.rotation),1===k||0===k){for(s=q.firstMPT,p=1===k?"e":"b";s;){if(m=s.t,m.type){if(1===m.type){for(o=m.xs0+m.s+m.xs1,n=1;n<m.l;n++){o+=m["xn"+n]+m["xs"+(n+1)]}m[p]=o}}else{m[p]=m.s+m.xs0}s=s._next}}},function(f,g,h,i,j){this.t=f,this.p=g,this.v=h,this.r=j,i&&(i._prev=this,this._next=i)}),bF=(bw._parseToProxy=function(q,r,s,t,u,v){var w,x,y,z,A,B=t,C={},D={},E=s._transform,F=a7;for(s._transform=null,a7=r,t=A=s.parse(q,r,t,u),a7=F,v&&(s._transform=E,B&&(B._prev=null,B._prev&&(B._prev._next=null)));t&&t!==B;){if(t.type<=1&&(x=t.p,D[x]=t.s+t.c,C[x]=t.s,v||(z=new bB(t,"s",x,z,t.r),t.c=0),1===t.type)){for(w=t.l;--w>0;){y="xn"+w,x=t.p+"_"+y,D[x]=t.data[y],C[x]=t[y],v||(z=new bB(t,y,x,z,t.rxp[y]))}}t=t._next}return{proxy:C,end:D,firstMPT:z,pt:A}},bw.CSSPropTween=function(c,f,n,o,p,q,r,s,t,u,v){this.t=c,this.p=f,this.s=n,this.c=o,this.n=r||f,c instanceof bF||aA.push(this.n),this.r=s?"function"==typeof s?s:Math.round:s,this.type=q||0,t&&(this.pr=t,an=!0),this.b=void 0===u?n:u,this.e=void 0===v?n+o:v,p&&(this._next=p,p._prev=this)}),bJ=function(h,i,j,k,l,m){var n=new bF(h,i,j,k-j,l,-1,m);return n.b=j,n.e=n.xs0=k,n},bN=aE.parseComplex=function(g,q,s,H,J,L,O,P,Q,R){s=s||L||"","function"==typeof H&&(H=H(bn,bj)),O=new bF(g,q,0,0,O,R?2:1,null,!1,P,s,H),H+="",J&&bp.test(H+s)&&(H=[s,H],aE.colorStringFilter(H),s=H[0],H=H[1]);var S,T,U,V,W,X,Y,Z,aa,ba,k,r,t,I=s.split(", ").join(",").split(" "),K=H.split(", ").join(",").split(" "),M=I.length,N=aU!==!1;for((-1!==H.indexOf(",")||-1!==s.indexOf(","))&&(-1!==(H+s).indexOf("rgb")||-1!==(H+s).indexOf("hsl")?(I=I.join(" ").replace(aR,", ").split(" "),K=K.join(" ").replace(aR,", ").split(" ")):(I=I.join(" ").split(",").join(", ").split(" "),K=K.join(" ").split(",").join(", ").split(" ")),M=I.length),M!==K.length&&(I=(L||"").split(" "),M=I.length),O.plugin=Q,O.setRatio=R,bp.lastIndex=0,S=0;M>S;S++){if(V=I[S],W=K[S]+"",Z=parseFloat(V),Z||0===Z){O.appendXtra("",Z,aW(W,Z),W.replace(bv,""),N&&-1!==W.indexOf("px")?Math.round:!1,!0)}else{if(J&&bp.test(V)){r=W.indexOf(")")+1,r=")"+(r?W.substr(r):""),t=-1!==W.indexOf("hsl")&&bE,ba=W,V=bh(V,t),W=bh(W,t),aa=V.length+W.length>6,aa&&!bE&&0===W[3]?(O["xs"+O.l]+=O.l?" transparent":"transparent",O.e=O.e.split(K[S]).join("transparent")):(bE||(aa=!1),t?O.appendXtra(ba.substr(0,ba.indexOf("hsl"))+(aa?"hsla(":"hsl("),V[0],aW(W[0],V[0]),",",!1,!0).appendXtra("",V[1],aW(W[1],V[1]),"%,",!1).appendXtra("",V[2],aW(W[2],V[2]),aa?"%,":"%"+r,!1):O.appendXtra(ba.substr(0,ba.indexOf("rgb"))+(aa?"rgba(":"rgb("),V[0],W[0]-V[0],",",Math.round,!0).appendXtra("",V[1],W[1]-V[1],",",Math.round).appendXtra("",V[2],W[2]-V[2],aa?",":r,Math.round),aa&&(V=V.length<4?1:V[3],O.appendXtra("",V,(W.length<4?1:W[3])-V,r,!1))),bp.lastIndex=0}else{if(X=V.match(br)){if(Y=W.match(bv),!Y||Y.length!==X.length){return O}for(U=0,T=0;T<X.length;T++){k=X[T],ba=V.indexOf(k,U),O.appendXtra(V.substr(U,ba-U),Number(k),aW(Y[T],k),"",N&&"px"===V.substr(ba+k.length,2)?Math.round:!1,0===T),U=ba+k.length}O["xs"+O.l]+=V.substr(U)}else{O["xs"+O.l]+=O.l||O["xs"+O.l]?" "+W:W}}}}if(-1!==H.indexOf("=")&&O.data){for(r=O.xs0+O.data.s,S=1;S<O.l;S++){r+=O["xs"+S]+O.data["xn"+S]}O.e=r+O["xs"+S]}return O.l||(O.type=-1,O.xs0=O.e),O.xfirst||O},bR=9;for(aQ=bF.prototype,aQ.l=aQ.pr=0;--bR>0;){aQ["xn"+bR]=0,aQ["xs"+bR]=""}aQ.xs0="",aQ._next=aQ._prev=aQ.xfirst=aQ.data=aQ.plugin=aQ.setRatio=aQ.rxp=null,aQ.appendXtra=function(i,j,k,l,m,n){var o=this,p=o.l;return o["xs"+p]+=n&&(p||o["xs"+p])?" "+i:i||"",k||0===p||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=l||"",p>0?(o.data["xn"+p]=j+k,o.rxp["xn"+p]=m,o["xn"+p]=j,o.plugin||(o.xfirst=new bF(o,"xn"+p,j,k,o.xfirst||o,0,o.n,m,o.pr),o.xfirst.xs0=0),o):(o.data={s:j+k},o.rxp={},o.s=j,o.c=k,o.r=m,o)):(o["xs"+p]+=j+(l||""),o)};var bV=function(c,d){d=d||{},this.p=d.prefix?ab(c)||c:c,aM[c]=aM[this.p]=this,this.format=d.formatter||bt(d.defaultValue,d.color,d.collapsible,d.multi),d.parser&&(this.parse=d.parser),this.clrs=d.color,this.multi=d.multi,this.keyword=d.keyword,this.dflt=d.defaultValue,this.allowFunc=d.allowFunc,this.pr=d.priority||0},ai=bw._registerComplexSpecialProp=function(h,i,j){"object"!=typeof i&&(i={parser:j});var k,l,m=h.split(","),n=i.defaultValue;for(j=j||[n],k=0;k<m.length;k++){i.prefix=0===k&&i.prefix,i.defaultValue=j[k]||n,l=new bV(m[k],i)}},am=bw._registerPluginProp=function(c){if(!aM[c]){var d=c.charAt(0).toUpperCase()+c.substr(1)+"Plugin";ai(c,{parser:function(b,h,i,l,m,n,o){var p=aI.com.greensock.plugins[d];return p?(p._cssRegister(),aM[i].parse(b,h,i,l,m,n,o)):(bM("Error: "+d+" js file not loaded."),m)}})}};aQ=bV.prototype,aQ.parseComplex=function(n,o,p,q,r,s){var t,u,v,w,x,y,z=this.keyword;if(this.multi&&(aR.test(p)||aR.test(o)?(u=o.replace(aR,"|").split("|"),v=p.replace(aR,"|").split("|")):z&&(u=[o],v=[p])),v){for(w=v.length>u.length?v.length:u.length,t=0;w>t;t++){o=u[t]=u[t]||this.dflt,p=v[t]=v[t]||this.dflt,z&&(x=o.indexOf(z),y=p.indexOf(z),x!==y&&(-1===y?u[t]=u[t].split(z).join(""):-1===x&&(u[t]+=" "+z)))}o=u.join(", "),p=v.join(", ")}return bN(n,this.p,o,p,this.clrs,this.dflt,q,this.pr,r,s)},aQ.parse=function(e,i,j,k,l,m,n){return this.parseComplex(e.style,this.format(al(e,this.p,aw,!1,this.dflt)),this.format(i),l,m)},aE.registerSpecialProp=function(d,e,f){ai(d,{parser:function(b,c,k,l,m,n,o){var p=new bF(b,k,0,0,m,2,k,!1,f);return p.plugin=n,p.setRatio=e(b,c,l._tween,k),p},priority:f})},aE.useSVGTransformAttr=!0;var aq,av="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),az=ab("transform"),aD=bQ+"transform",aH=ab("transformOrigin"),aL=null!==ab("perspective"),aP=bw.Transform=function(){this.perspective=parseFloat(aE.defaultTransformPerspective)||0,this.force3D=aE.defaultForce3D!==!1&&aL?aE.defaultForce3D||"auto":!1},aT=_gsScope.SVGElement,aX=function(g,h,i){var j,k=bg.createElementNS("http://www.w3.org/2000/svg",g),l=/([a-z])([A-Z])/g;for(j in i){k.setAttributeNS(null,j.replace(l,"$1-$2").toLowerCase(),i[j])}return h.appendChild(k),k},a1=bg.documentElement||{},a5=function(){var e,f,g,h=bf||/Android/i.test(bA)&&!_gsScope.chrome;return bg.createElementNS&&a1.appendChild&&!h&&(e=aX("svg",a1),f=aX("rect",e,{width:100,height:50,x:100}),g=f.getBoundingClientRect().width,f.style[aH]="50% 50%",f.style[az]="scaleX(0.5)",h=g===f.getBoundingClientRect().width&&!(a6&&aL),a1.removeChild(e)),h}(),a9=function(g,x,y,z,A,B){var C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q=g._gsTransform,R=bu(g,!0);Q&&(O=Q.xOrigin,P=Q.yOrigin),(!z||(C=z.split(" ")).length<2)&&(I=g.getBBox(),0===I.x&&0===I.y&&I.width+I.height===0&&(I={x:parseFloat(g.hasAttribute("x")?g.getAttribute("x"):g.hasAttribute("cx")?g.getAttribute("cx"):0)||0,y:parseFloat(g.hasAttribute("y")?g.getAttribute("y"):g.hasAttribute("cy")?g.getAttribute("cy"):0)||0,width:0,height:0}),x=aS(x).split(" "),C=[(-1!==x[0].indexOf("%")?parseFloat(x[0])/100*I.width:parseFloat(x[0]))+I.x,(-1!==x[1].indexOf("%")?parseFloat(x[1])/100*I.height:parseFloat(x[1]))+I.y]),y.xOrigin=F=parseFloat(C[0]),y.yOrigin=G=parseFloat(C[1]),z&&R!==bq&&(H=R[0],I=R[1],J=R[2],K=R[3],L=R[4],M=R[5],N=H*K-I*J,N&&(D=F*(K/N)+G*(-J/N)+(J*M-K*L)/N,E=F*(-I/N)+G*(H/N)-(H*M-I*L)/N,F=y.xOrigin=C[0]=D,G=y.yOrigin=C[1]=E)),Q&&(B&&(y.xOffset=Q.xOffset,y.yOffset=Q.yOffset,Q=y),A||A!==!1&&aE.defaultSmoothOrigin!==!1?(D=F-O,E=G-P,Q.xOffset+=D*R[0]+E*R[2]-D,Q.yOffset+=D*R[1]+E*R[3]-E):Q.xOffset=Q.yOffset=0),B||g.setAttribute("data-svg-origin",C.join(" "))},be=function(h){var i,j=bk("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),k=this.parentNode,l=this.nextSibling,m=this.style.cssText;if(a1.appendChild(j),j.appendChild(this),this.style.display="block",h){try{i=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=be}catch(n){}}else{this._originalGetBBox&&(i=this._originalGetBBox())}return l?k.insertBefore(this,l):k.appendChild(this),a1.removeChild(j),this.style.cssText=m,i},bi=function(c){try{return c.getBBox()}catch(d){return be.call(c,!0)}},bm=function(b){return !(!aT||!b.getCTM||b.parentNode&&!b.ownerSVGElement||!bi(b))},bq=[1,0,0,1,0,0],bu=function(m,n){var o,p,q,r,s,t,u,v=m._gsTransform||new aP,w=100000,x=m.style;if(az?p=al(m,aD,null,!0):m.currentStyle&&(p=m.currentStyle.filter.match(aJ),p=p&&4===p.length?[p[0].substr(4),Number(p[2].substr(4)),Number(p[1].substr(4)),p[3].substr(4),v.x||0,v.y||0].join(","):""),o=!p||"none"===p||"matrix(1, 0, 0, 1, 0, 0)"===p,az&&o&&!m.offsetParent&&m!==a1&&(r=x.display,x.display="block",u=m.parentNode,u&&m.offsetParent||(s=1,t=m.nextSibling,a1.appendChild(m)),p=al(m,aD,null,!0),o=!p||"none"===p||"matrix(1, 0, 0, 1, 0, 0)"===p,r?x.display=r:bO(x,"display"),s&&(t?u.insertBefore(m,t):u?u.appendChild(m):a1.removeChild(m))),(v.svg||m.getCTM&&bm(m))&&(o&&-1!==(x[az]+"").indexOf("matrix")&&(p=x[az],o=0),q=m.getAttribute("transform"),o&&q&&(q=m.transform.baseVal.consolidate().matrix,p="matrix("+q.a+","+q.b+","+q.c+","+q.d+","+q.e+","+q.f+")",o=0)),o){return bq}for(q=(p||"").match(br)||[],bR=q.length;--bR>-1;){r=Number(q[bR]),q[bR]=(s=r-(r|=0))?(s*w+(0>s?-0.5:0.5)|0)/w+r:r}return n&&q.length>6?[q[0],q[1],q[4],q[5],q[12],q[13]]:q},by=bw.getTransform=function(b,T,V,X){if(b._gsTransform&&V&&!X){return b._gsTransform}var Z,bX,bZ,b1,b3,b5,b7=V?b._gsTransform||new aP:new aP,b8=b7.scaleX<0,ca=2e-05,cc=100000,ce=aL?parseFloat(al(b,aH,T,!1,"0 0 0").split(" ")[2])||b7.zOrigin||0:0,cg=parseFloat(aE.defaultTransformPerspective)||0;if(b7.svg=!(!b.getCTM||!bm(b)),b7.svg&&(a9(b,al(b,aH,T,!1,"50% 50%")+"",b7,b.getAttribute("data-svg-origin")),aq=aE.useSVGTransformAttr||a5),Z=bu(b),Z!==bq){if(16===Z.length){var ci,ck,cl,cm,cn,co=Z[0],cp=Z[1],cq=Z[2],g=Z[3],M=Z[4],U=Z[5],W=Z[6],Y=Z[7],aa=Z[8],ba=Z[9],bY=Z[10],b0=Z[12],b2=Z[13],b4=Z[14],b6=Z[11],b9=Math.atan2(W,bY);b7.zOrigin&&(b4=-b7.zOrigin,b0=aa*b4-Z[12],b2=ba*b4-Z[13],b4=bY*b4+b7.zOrigin-Z[14]),b7.rotationX=b9*a3,b9&&(cm=Math.cos(-b9),cn=Math.sin(-b9),ci=M*cm+aa*cn,ck=U*cm+ba*cn,cl=W*cm+bY*cn,aa=M*-cn+aa*cm,ba=U*-cn+ba*cm,bY=W*-cn+bY*cm,b6=Y*-cn+b6*cm,M=ci,U=ck,W=cl),b9=Math.atan2(-cq,bY),b7.rotationY=b9*a3,b9&&(cm=Math.cos(-b9),cn=Math.sin(-b9),ci=co*cm-aa*cn,ck=cp*cm-ba*cn,cl=cq*cm-bY*cn,ba=cp*cn+ba*cm,bY=cq*cn+bY*cm,b6=g*cn+b6*cm,co=ci,cp=ck,cq=cl),b9=Math.atan2(cp,co),b7.rotation=b9*a3,b9&&(cm=Math.cos(b9),cn=Math.sin(b9),ci=co*cm+cp*cn,ck=M*cm+U*cn,cl=aa*cm+ba*cn,cp=cp*cm-co*cn,U=U*cm-M*cn,ba=ba*cm-aa*cn,co=ci,M=ck,aa=cl),b7.rotationX&&Math.abs(b7.rotationX)+Math.abs(b7.rotation)>359.9&&(b7.rotationX=b7.rotation=0,b7.rotationY=180-b7.rotationY),b9=Math.atan2(M,U),b7.scaleX=(Math.sqrt(co*co+cp*cp+cq*cq)*cc+0.5|0)/cc,b7.scaleY=(Math.sqrt(U*U+W*W)*cc+0.5|0)/cc,b7.scaleZ=(Math.sqrt(aa*aa+ba*ba+bY*bY)*cc+0.5|0)/cc,co/=b7.scaleX,M/=b7.scaleY,cp/=b7.scaleX,U/=b7.scaleY,Math.abs(b9)>ca?(b7.skewX=b9*a3,M=0,"simple"!==b7.skewType&&(b7.scaleY*=1/Math.cos(b9))):b7.skewX=0,b7.perspective=b6?1/(0>b6?-b6:b6):0,b7.x=b0,b7.y=b2,b7.z=b4,b7.svg&&(b7.x-=b7.xOrigin-(b7.xOrigin*co-b7.yOrigin*M),b7.y-=b7.yOrigin-(b7.yOrigin*cp-b7.xOrigin*U))}else{if(!aL||X||!Z.length||b7.x!==Z[4]||b7.y!==Z[5]||!b7.rotationX&&!b7.rotationY){var cb=Z.length>=6,cd=cb?Z[0]:1,cf=Z[1]||0,ch=Z[2]||0,cj=cb?Z[3]:1;b7.x=Z[4]||0,b7.y=Z[5]||0,bZ=Math.sqrt(cd*cd+cf*cf),b1=Math.sqrt(cj*cj+ch*ch),b3=cd||cf?Math.atan2(cf,cd)*a3:b7.rotation||0,b5=ch||cj?Math.atan2(ch,cj)*a3+b3:b7.skewX||0,b7.scaleX=bZ,b7.scaleY=b1,b7.rotation=b3,b7.skewX=b5,aL&&(b7.rotationX=b7.rotationY=b7.z=0,b7.perspective=cg,b7.scaleZ=1),b7.svg&&(b7.x-=b7.xOrigin-(b7.xOrigin*cd+b7.yOrigin*ch),b7.y-=b7.yOrigin-(b7.xOrigin*cf+b7.yOrigin*cj))}}Math.abs(b7.skewX)>90&&Math.abs(b7.skewX)<270&&(b8?(b7.scaleX*=-1,b7.skewX+=b7.rotation<=0?180:-180,b7.rotation+=b7.rotation<=0?180:-180):(b7.scaleY*=-1,b7.skewX+=b7.skewX<=0?180:-180)),b7.zOrigin=ce;for(bX in b7){b7[bX]<ca&&b7[bX]>-ca&&(b7[bX]=0)}}return V&&(b._gsTransform=b7,b7.svg&&(aq&&b.style[az]?aj.delayedCall(0.001,function(){bO(b.style,az)}):!aq&&b.getAttribute("transform")&&aj.delayedCall(0.001,function(){b.removeAttribute("transform")}))),b7},bC=function(p){var y,D,E=this.data,F=-E.rotation*aZ,G=F+E.skewX*aZ,H=100000,I=(Math.cos(F)*E.scaleX*H|0)/H,J=(Math.sin(F)*E.scaleX*H|0)/H,K=(Math.sin(G)*-E.scaleY*H|0)/H,L=(Math.cos(G)*E.scaleY*H|0)/H,M=this.t.style,N=this.t.currentStyle;if(N){D=J,J=-K,K=-D,y=N.filter,M.filter="";var O,P,Q=this.t.offsetWidth,R=this.t.offsetHeight,S="absolute"!==N.position,T="progid:DXImageTransform.Microsoft.Matrix(M11="+I+", M12="+J+", M21="+K+", M22="+L,U=E.x+Q*E.xPercent/100,V=E.y+R*E.yPercent/100;if(null!=E.ox&&(O=(E.oxp?Q*E.ox*0.01:E.ox)-Q/2,P=(E.oyp?R*E.oy*0.01:E.oy)-R/2,U+=O-(O*I+P*J),V+=P-(O*K+P*L)),S?(O=Q/2,P=R/2,T+=", Dx="+(O-(O*I+P*J)+U)+", Dy="+(P-(O*K+P*L)+V)+")"):T+=", sizingMethod='auto expand')",-1!==y.indexOf("DXImageTransform.Microsoft.Matrix(")?M.filter=y.replace(aN,T):M.filter=T+" "+y,(0===p||1===p)&&1===I&&0===J&&0===K&&1===L&&(S&&-1===T.indexOf("Dx=0, Dy=0")||bP.test(y)&&100!==parseFloat(RegExp.$1)||-1===y.indexOf(y.indexOf("Alpha"))&&M.removeAttribute("filter")),!S){var W,X,x,C=8>bf?1:-1;for(O=E.ieOffsetX||0,P=E.ieOffsetY||0,E.ieOffsetX=Math.round((Q-((0>I?-I:I)*Q+(0>J?-J:J)*R))/2+U),E.ieOffsetY=Math.round((R-((0>L?-L:L)*R+(0>K?-K:K)*Q))/2+V),bR=0;4>bR;bR++){X=aK[bR],W=N[X],D=-1!==W.indexOf("px")?parseFloat(W):ap(this.t,X,parseFloat(W),W.replace(bL,""))||0,x=D!==E[X]?2>bR?-E.ieOffsetX:-E.ieOffsetY:2>bR?O-E.ieOffsetX:P-E.ieOffsetY,M[X]=(E[X]=Math.round(D-x*(0===bR||2===bR?1:C)))+"px"}}}},bG=bw.set3DTransformRatio=bw.setTransformRatio=function(n){var Q,S,U,W,Y,aa,bX,bZ,b1,b3,b5,b6,b9,cb,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm=this.data,L=this.t.style,R=cm.rotation,T=cm.rotationX,V=cm.rotationY,X=cm.scaleX,Z=cm.scaleY,ba=cm.scaleZ,bY=cm.x,b0=cm.y,b2=cm.z,b4=cm.svg,b7=cm.perspective,b8=cm.force3D,ca=cm.skewY,cc=cm.skewX;if(ca&&(cc+=ca,R+=ca),((1===n||0===n)&&"auto"===b8&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!b8)&&!b2&&!b7&&!V&&!T&&1===ba||aq&&b4||!aL){return void (R||cc||b4?(R*=aZ,ck=cc*aZ,cl=100000,S=Math.cos(R)*X,Y=Math.sin(R)*X,U=Math.sin(R-ck)*-Z,aa=Math.cos(R-ck)*Z,ck&&"simple"===cm.skewType&&(Q=Math.tan(ck-ca*aZ),Q=Math.sqrt(1+Q*Q),U*=Q,aa*=Q,ca&&(Q=Math.tan(ca*aZ),Q=Math.sqrt(1+Q*Q),S*=Q,Y*=Q)),b4&&(bY+=cm.xOrigin-(cm.xOrigin*S+cm.yOrigin*U)+cm.xOffset,b0+=cm.yOrigin-(cm.xOrigin*Y+cm.yOrigin*aa)+cm.yOffset,aq&&(cm.xPercent||cm.yPercent)&&(cd=this.t.getBBox(),bY+=0.01*cm.xPercent*cd.width,b0+=0.01*cm.yPercent*cd.height),cd=1e-06,cd>bY&&bY>-cd&&(bY=0),cd>b0&&b0>-cd&&(b0=0)),ch=(S*cl|0)/cl+","+(Y*cl|0)/cl+","+(U*cl|0)/cl+","+(aa*cl|0)/cl+","+bY+","+b0+")",b4&&aq?this.t.setAttribute("transform","matrix("+ch):L[az]=(cm.xPercent||cm.yPercent?"translate("+cm.xPercent+"%,"+cm.yPercent+"%) matrix(":"matrix(")+ch):L[az]=(cm.xPercent||cm.yPercent?"translate("+cm.xPercent+"%,"+cm.yPercent+"%) matrix(":"matrix(")+X+",0,0,"+Z+","+bY+","+b0+")")}if(a6&&(cd=0.0001,cd>X&&X>-cd&&(X=ba=2e-05),cd>Z&&Z>-cd&&(Z=ba=2e-05),!b7||cm.z||cm.rotationX||cm.rotationY||(b7=0)),R||cc){R*=aZ,ce=S=Math.cos(R),cf=Y=Math.sin(R),cc&&(R-=cc*aZ,ce=Math.cos(R),cf=Math.sin(R),"simple"===cm.skewType&&(Q=Math.tan((cc-ca)*aZ),Q=Math.sqrt(1+Q*Q),ce*=Q,cf*=Q,cm.skewY&&(Q=Math.tan(ca*aZ),Q=Math.sqrt(1+Q*Q),S*=Q,Y*=Q))),U=-cf,aa=ce}else{if(!(V||T||1!==ba||b7||b4)){return void (L[az]=(cm.xPercent||cm.yPercent?"translate("+cm.xPercent+"%,"+cm.yPercent+"%) translate3d(":"translate3d(")+bY+"px,"+b0+"px,"+b2+"px)"+(1!==X||1!==Z?" scale("+X+","+Z+")":""))}S=aa=1,U=Y=0}b3=1,W=bX=bZ=b1=b5=b6=0,b9=b7?-1/b7:0,cb=cm.zOrigin,cd=1e-06,ci=",",cj="0",R=V*aZ,R&&(ce=Math.cos(R),cf=Math.sin(R),bZ=-cf,b5=b9*-cf,W=S*cf,bX=Y*cf,b3=ce,b9*=ce,S*=ce,Y*=ce),R=T*aZ,R&&(ce=Math.cos(R),cf=Math.sin(R),Q=U*ce+W*cf,cg=aa*ce+bX*cf,b1=b3*cf,b6=b9*cf,W=U*-cf+W*ce,bX=aa*-cf+bX*ce,b3*=ce,b9*=ce,U=Q,aa=cg),1!==ba&&(W*=ba,bX*=ba,b3*=ba,b9*=ba),1!==Z&&(U*=Z,aa*=Z,b1*=Z,b6*=Z),1!==X&&(S*=X,Y*=X,bZ*=X,b5*=X),(cb||b4)&&(cb&&(bY+=W*-cb,b0+=bX*-cb,b2+=b3*-cb+cb),b4&&(bY+=cm.xOrigin-(cm.xOrigin*S+cm.yOrigin*U)+cm.xOffset,b0+=cm.yOrigin-(cm.xOrigin*Y+cm.yOrigin*aa)+cm.yOffset),cd>bY&&bY>-cd&&(bY=cj),cd>b0&&b0>-cd&&(b0=cj),cd>b2&&b2>-cd&&(b2=0)),ch=cm.xPercent||cm.yPercent?"translate("+cm.xPercent+"%,"+cm.yPercent+"%) matrix3d(":"matrix3d(",ch+=(cd>S&&S>-cd?cj:S)+ci+(cd>Y&&Y>-cd?cj:Y)+ci+(cd>bZ&&bZ>-cd?cj:bZ),ch+=ci+(cd>b5&&b5>-cd?cj:b5)+ci+(cd>U&&U>-cd?cj:U)+ci+(cd>aa&&aa>-cd?cj:aa),T||V||1!==ba?(ch+=ci+(cd>b1&&b1>-cd?cj:b1)+ci+(cd>b6&&b6>-cd?cj:b6)+ci+(cd>W&&W>-cd?cj:W),ch+=ci+(cd>bX&&bX>-cd?cj:bX)+ci+(cd>b3&&b3>-cd?cj:b3)+ci+(cd>b9&&b9>-cd?cj:b9)+ci):ch+=",0,0,0,0,1,0,",ch+=bY+ci+b0+ci+b2+ci+(b7?1+-b2/b7:1)+")",L[az]=ch};aQ=aP.prototype,aQ.x=aQ.y=aQ.z=aQ.skewX=aQ.skewY=aQ.rotation=aQ.rotationX=aQ.rotationY=aQ.zOrigin=aQ.xPercent=aQ.yPercent=aQ.xOffset=aQ.yOffset=0,aQ.scaleX=aQ.scaleY=aQ.scaleZ=1,ai("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(e,q,E,G,I,J,K){if(G._lastParsedTransform===K){return I}G._lastParsedTransform=K;var L=K.scale&&"function"==typeof K.scale?K.scale:0;L&&(K.scale=L(bn,e));var M,N,O,P,Q,R,S,T,U,V=e._gsTransform,W=e.style,X=1e-06,Y=av.length,Z=K,g={},r="transformOrigin",F=by(e,aw,!0,Z.parseTransform),H=Z.transform&&("function"==typeof Z.transform?Z.transform(bn,bj):Z.transform);if(F.skewType=Z.skewType||F.skewType||aE.defaultSkewType,G._transform=F,"rotationZ" in Z&&(Z.rotation=Z.rotationZ),H&&"string"==typeof H&&az){N=bo.style,N[az]=H,N.display="block",N.position="absolute",-1!==H.indexOf("%")&&(N.width=al(e,"width"),N.height=al(e,"height")),bg.body.appendChild(bo),M=by(bo,null,!1),"simple"===F.skewType&&(M.scaleY*=Math.cos(M.skewX*aZ)),F.svg&&(R=F.xOrigin,S=F.yOrigin,M.x-=F.xOffset,M.y-=F.yOffset,(Z.transformOrigin||Z.svgOrigin)&&(H={},a9(e,aS(Z.transformOrigin),H,Z.svgOrigin,Z.smoothOrigin,!0),R=H.xOrigin,S=H.yOrigin,M.x-=H.xOffset-F.xOffset,M.y-=H.yOffset-F.yOffset),(R||S)&&(T=bu(bo,!0),M.x-=R-(R*T[0]+S*T[2]),M.y-=S-(R*T[1]+S*T[3]))),bg.body.removeChild(bo),M.perspective||(M.perspective=F.perspective),null!=Z.xPercent&&(M.xPercent=a0(Z.xPercent,F.xPercent)),null!=Z.yPercent&&(M.yPercent=a0(Z.yPercent,F.yPercent))}else{if("object"==typeof Z){if(M={scaleX:a0(null!=Z.scaleX?Z.scaleX:Z.scale,F.scaleX),scaleY:a0(null!=Z.scaleY?Z.scaleY:Z.scale,F.scaleY),scaleZ:a0(Z.scaleZ,F.scaleZ),x:a0(Z.x,F.x),y:a0(Z.y,F.y),z:a0(Z.z,F.z),xPercent:a0(Z.xPercent,F.xPercent),yPercent:a0(Z.yPercent,F.yPercent),perspective:a0(Z.transformPerspective,F.perspective)},Q=Z.directionalRotation,null!=Q){if("object"==typeof Q){for(N in Q){Z[N]=Q[N]}}else{Z.rotation=Q}}"string"==typeof Z.x&&-1!==Z.x.indexOf("%")&&(M.x=0,M.xPercent=a0(Z.x,F.xPercent)),"string"==typeof Z.y&&-1!==Z.y.indexOf("%")&&(M.y=0,M.yPercent=a0(Z.y,F.yPercent)),M.rotation=a4("rotation" in Z?Z.rotation:"shortRotation" in Z?Z.shortRotation+"_short":F.rotation,F.rotation,"rotation",g),aL&&(M.rotationX=a4("rotationX" in Z?Z.rotationX:"shortRotationX" in Z?Z.shortRotationX+"_short":F.rotationX||0,F.rotationX,"rotationX",g),M.rotationY=a4("rotationY" in Z?Z.rotationY:"shortRotationY" in Z?Z.shortRotationY+"_short":F.rotationY||0,F.rotationY,"rotationY",g)),M.skewX=a4(Z.skewX,F.skewX),M.skewY=a4(Z.skewY,F.skewY)}}for(aL&&null!=Z.force3D&&(F.force3D=Z.force3D,P=!0),O=F.force3D||F.z||F.rotationX||F.rotationY||M.z||M.rotationX||M.rotationY||M.perspective,O||null==Z.scale||(M.scaleZ=1);--Y>-1;){U=av[Y],H=M[U]-F[U],(H>X||-X>H||null!=Z[U]||null!=a7[U])&&(P=!0,I=new bF(F,U,F[U],H,I),U in g&&(I.e=g[U]),I.xs0=0,I.plugin=J,G._overwriteProps.push(I.n))}return H="function"==typeof Z.transformOrigin?Z.transformOrigin(bn,bj):Z.transformOrigin,F.svg&&(H||Z.svgOrigin)&&(R=F.xOffset,S=F.yOffset,a9(e,aS(H),M,Z.svgOrigin,Z.smoothOrigin),I=bJ(F,"xOrigin",(V?F:M).xOrigin,M.xOrigin,I,r),I=bJ(F,"yOrigin",(V?F:M).yOrigin,M.yOrigin,I,r),(R!==F.xOffset||S!==F.yOffset)&&(I=bJ(F,"xOffset",V?R:F.xOffset,F.xOffset,I,r),I=bJ(F,"yOffset",V?S:F.yOffset,F.yOffset,I,r)),H="0px 0px"),(H||aL&&O&&F.zOrigin)&&(az?(P=!0,U=aH,H||(H=(al(e,U,aw,!1,"50% 50%")+"").split(" "),H=H[0]+" "+H[1]+" "+F.zOrigin+"px"),H+="",I=new bF(W,U,0,0,I,-1,r),I.b=W[U],I.plugin=J,aL?(N=F.zOrigin,H=H.split(" "),F.zOrigin=(H.length>2?parseFloat(H[2]):N)||0,I.xs0=I.e=H[0]+" "+(H[1]||"50%")+" 0px",I=new bF(F,"zOrigin",0,0,I,-1,I.n),I.b=N,I.xs0=I.e=F.zOrigin):I.xs0=I.e=H):aS(H+"",F)),P&&(G._transformType=F.svg&&aq||!O&&3!==this._transformType?2:3),L&&(K.scale=L),I},allowFunc:!0,prefix:!0}),ai("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),ai("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:bt("inset(0% 0% 0% 0%)",!1,!0)}),ai("borderRadius",{defaultValue:"0px",parser:function(d,e,A,B,C,D){e=this.format(e);var E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],V=d.style;for(M=parseFloat(d.offsetWidth),N=parseFloat(d.offsetHeight),E=e.split(" "),F=0;F<U.length;F++){this.p.indexOf("border")&&(U[F]=ab(U[F])),I=H=al(d,U[F],aw,!1,"0px"),-1!==I.indexOf(" ")&&(H=I.split(" "),I=H[0],H=H[1]),J=G=E[F],K=parseFloat(I),P=I.substr((K+"").length),Q="="===J.charAt(1),Q?(L=parseInt(J.charAt(0)+"1",10),J=J.substr(2),L*=parseFloat(J),O=J.substr((L+"").length-(0>L?1:0))||""):(L=parseFloat(J),O=J.substr((L+"").length)),""===O&&(O=ar[A]||P),O!==P&&(R=ap(d,"borderLeft",K,P),S=ap(d,"borderTop",K,P),"%"===O?(I=R/M*100+"%",H=S/N*100+"%"):"em"===O?(T=ap(d,"borderLeft",1,"em"),I=R/T+"em",H=S/T+"em"):(I=R+"px",H=S+"px"),Q&&(J=parseFloat(I)+L+O,G=parseFloat(H)+L+O)),C=bN(V,U[F],I+" "+H,J+" "+G,!1,"0px",C)}return C},prefix:!0,formatter:bt("0px 0px 0px 0px",!1,!0)}),ai("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(e,h,i,j,k,l){return bN(e.style,i,this.format(al(e,i,aw,!1,"0px 0px")),this.format(h),!1,"0px",k)},prefix:!0,formatter:bt("0px 0px",!1,!0)}),ai("backgroundPosition",{defaultValue:"0 0",parser:function(e,p,s,t,u,v){var w,x,y,z,A,B,C="background-position",D=aw||ah(e,null),E=this.format((D?bf?D.getPropertyValue(C+"-x")+" "+D.getPropertyValue(C+"-y"):D.getPropertyValue(C):e.currentStyle.backgroundPositionX+" "+e.currentStyle.backgroundPositionY)||"0 0"),F=this.format(p);if(-1!==E.indexOf("%")!=(-1!==F.indexOf("%"))&&F.split(",").length<2&&(B=al(e,"backgroundImage").replace(ax,""),B&&"none"!==B)){for(w=E.split(" "),x=F.split(" "),bs.setAttribute("src",B),y=2;--y>-1;){E=w[y],z=-1!==E.indexOf("%"),z!==(-1!==x[y].indexOf("%"))&&(A=0===y?e.offsetWidth-bs.width:e.offsetHeight-bs.height,w[y]=z?parseFloat(E)/100*A+"px":parseFloat(E)/A*100+"%")}E=w.join(" ")}return this.parseComplex(e.style,E,F,u,v)},formatter:aS}),ai("backgroundSize",{defaultValue:"0 0",formatter:function(b){return b+="","co"===b.substr(0,2)?b:aS(-1===b.indexOf(" ")?b+" "+b:b)}}),ai("perspective",{defaultValue:"0px",prefix:!0}),ai("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),ai("transformStyle",{prefix:!0}),ai("backfaceVisibility",{prefix:!0}),ai("userSelect",{prefix:!0}),ai("margin",{parser:bx("marginTop,marginRight,marginBottom,marginLeft")}),ai("padding",{parser:bx("paddingTop,paddingRight,paddingBottom,paddingLeft")}),ai("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(e,k,l,m,n,o){var p,q,r;return 9>bf?(q=e.currentStyle,r=8>bf?" ":",",p="rect("+q.clipTop+r+q.clipRight+r+q.clipBottom+r+q.clipLeft+")",k=this.format(k).split(",").join(r)):(p=this.format(al(e,this.p,aw,!1,this.dflt)),k=this.format(k)),this.parseComplex(e.style,p,k,n,o)}}),ai("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),ai("autoRound,strictUnits",{parser:function(f,g,h,i,j){return j}}),ai("border",{defaultValue:"0px solid #000",parser:function(e,k,l,m,n,o){var p=al(e,"borderTopWidth",aw,!1,"0px"),q=this.format(k).split(" "),r=q[0].replace(bL,"");return"px"!==r&&(p=parseFloat(p)/ap(e,"borderTopWidth",1,r)+r),this.parseComplex(e.style,this.format(p+" "+al(e,"borderTopStyle",aw,!1,"solid")+" "+al(e,"borderTopColor",aw,!1,"#000")),q.join(" "),n,o)},color:!0,formatter:function(c){var d=c.split(" ");return d[0]+" "+(d[1]||"solid")+" "+(c.match(bp)||["#000"])[0]}}),ai("borderWidth",{parser:bx("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),ai("float,cssFloat,styleFloat",{parser:function(i,j,k,l,m,n){var o=i.style,p="cssFloat" in o?"cssFloat":"styleFloat";return new bF(o,p,0,0,m,-1,k,!1,0,o[p],j)}});var bK=function(f){var g,h=this.t,i=h.filter||al(this.data,"filter")||"",j=this.s+this.c*f|0;100===j&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(h.removeAttribute("filter"),g=!al(this.data,"filter")):(h.filter=i.replace(ag,""),g=!0)),g||(this.xn1&&(h.filter=i=i||"alpha(opacity="+j+")"),-1===i.indexOf("pacity")?0===j&&this.xn1||(h.filter=i+" alpha(opacity="+j+")"):h.filter=i.replace(bP,"opacity="+j))};ai("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(e,k,l,m,n,o){var p=parseFloat(al(e,"opacity",aw,!1,"1")),q=e.style,r="autoAlpha"===l;return"string"==typeof k&&"="===k.charAt(1)&&(k=("-"===k.charAt(0)?-1:1)*parseFloat(k.substr(2))+p),r&&1===p&&"hidden"===al(e,"visibility",aw)&&0!==k&&(p=0),bE?n=new bF(q,"opacity",p,k-p,n):(n=new bF(q,"opacity",100*p,100*(k-p),n),n.xn1=r?1:0,q.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=e,n.plugin=o,n.setRatio=bK),r&&(n=new bF(q,"visibility",0,0,n,-1,null,!1,0,0!==p?"inherit":"hidden",0===k?"hidden":"inherit"),n.xs0="inherit",m._overwriteProps.push(n.n),m._overwriteProps.push(l)),n}});var bO=function(c,d){d&&(c.removeProperty?(("ms"===d.substr(0,2)||"webkit"===d.substr(0,6))&&(d="-"+d),c.removeProperty(d.replace(ao,"-$1").toLowerCase())):c.removeAttribute(d))},bS=function(d){if(this.t._gsClassPT=this,1===d||0===d){this.t.setAttribute("class",0===d?this.b:this.e);for(var e=this.data,f=this.t.style;e;){e.v?f[e.p]=e.v:bO(f,e.p),e=e._next}1===d&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else{this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)}};ai("className",{parser:function(c,e,q,r,s,t,u){var v,w,x,y,z,A=c.getAttribute("class")||"",B=c.style.cssText;if(s=r._classNamePT=new bF(c,q,0,0,s,2),s.setRatio=bS,s.pr=-11,an=!0,s.b=A,w=ay(c,aw),x=c._gsClassPT){for(y={},z=x.data;z;){y[z.p]=1,z=z._next}x.setRatio(1)}return c._gsClassPT=s,s.e="="!==e.charAt(1)?e:A.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),c.setAttribute("class",s.e),v=aC(c,w,ay(c),u,y),c.setAttribute("class",A),s.data=v.firstMPT,c.style.cssText!==B&&(c.style.cssText=B),s=s.xfirst=r.parse(c,v.difs,s,t)}});var bW=function(i){if((1===i||0===i)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var j,k,l,m,n,o=this.t.style,p=aM.transform.parse;if("all"===this.e){o.cssText="",m=!0}else{for(j=this.e.split(" ").join("").split(","),l=j.length;--l>-1;){k=j[l],aM[k]&&(aM[k].parse===p?m=!0:k="transformOrigin"===k?aH:aM[k].p),bO(o,k)}}m&&(bO(o,az),n=this.t._gsTransform,n&&(n.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(ai("clearProps",{parser:function(c,g,h,i,j){return j=new bF(c,h,0,0,j,2),j.setRatio=bW,j.e=g,j.pr=-10,j.data=i._tween,an=!0,j}}),aQ="bezier,throwProps,physicsProps,physics2D".split(","),bR=aQ.length;bR--;){am(aQ[bR])}aQ=aE.prototype,aQ._firstPT=aQ._lastParsedTransform=aQ._transform=null,aQ._onInitTween=function(c,e,f,g){if(!c.nodeType){return !1}this._target=bj=c,this._tween=f,this._vars=e,bn=g,aU=e.autoRound,an=!1,ar=e.suffixMap||aE.suffixMap,aw=ah(c,""),aA=this._overwriteProps;var i,k,l,m,o,q,r,z,B,d=c.style;if(aY&&""===d.zIndex&&(i=al(c,"zIndex",aw),("auto"===i||""===i)&&this._addLazySet(d,"zIndex",0)),"string"==typeof e&&(m=d.cssText,i=ay(c,aw),d.cssText=m+";"+e,i=aC(c,i,ay(c)).difs,!bE&&bT.test(e)&&(i.opacity=parseFloat(RegExp.$1)),e=i,d.cssText=m),e.className?this._firstPT=k=aM.className.parse(c,e.className,"className",this,null,null,e):this._firstPT=k=this.parse(c,e,null),this._transformType){for(B=3===this._transformType,az?a2&&(aY=!0,""===d.zIndex&&(r=al(c,"zIndex",aw),("auto"===r||""===r)&&this._addLazySet(d,"zIndex",0)),bb&&this._addLazySet(d,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(B?"visible":"hidden"))):d.zoom=1,l=k;l&&l._next;){l=l._next}z=new bF(c,"transform",0,0,null,2),this._linkCSSP(z,null,l),z.setRatio=az?bG:bC,z.data=this._transform||by(c,aw,!0),z.tween=f,z.pr=-1,aA.pop()}if(an){for(;k;){for(q=k._next,l=m;l&&l.pr>k.pr;){l=l._next}(k._prev=l?l._prev:o)?k._prev._next=k:m=k,(k._next=l)?l._prev=k:o=k,k=q}this._firstPT=m}return !0},aQ.parse=function(d,e,i,k){var q,r,v,w,x,y,z,A,B,C,D=d.style;for(q in e){if(y=e[q],r=aM[q],"function"!=typeof y||r&&r.allowFunc||(y=y(bn,bj)),r){i=r.parse(d,y,q,this,i,k,e)}else{if("--"===q.substr(0,2)){this._tween._propLookup[q]=this._addTween.call(this._tween,d.style,"setProperty",ah(d).getPropertyValue(q)+"",y+"",q,!1,q);continue}x=al(d,q,aw)+"",B="string"==typeof y,"color"===q||"fill"===q||"stroke"===q||-1!==q.indexOf("Color")||B&&ak.test(y)?(B||(y=bh(y),y=(y.length>3?"rgba(":"rgb(")+y.join(",")+")"),i=bN(D,q,x,y,!0,"transparent",i,0,k)):B&&aV.test(y)?i=bN(D,q,x,y,!0,null,i,0,k):(v=parseFloat(x),z=v||0===v?x.substr((v+"").length):"",(""===x||"auto"===x)&&("width"===q||"height"===q?(v=aO(d,q,aw),z="px"):"left"===q||"top"===q?(v=au(d,q,aw),z="px"):(v="opacity"!==q?0:1,z="")),C=B&&"="===y.charAt(1),C?(w=parseInt(y.charAt(0)+"1",10),y=y.substr(2),w*=parseFloat(y),A=y.replace(bL,"")):(w=parseFloat(y),A=B?y.replace(bL,""):""),""===A&&(A=q in ar?ar[q]:z),y=w||0===w?(C?w+v:w)+A:e[q],z!==A&&(""!==A||"lineHeight"===q)&&(w||0===w)&&v&&(v=ap(d,q,v,z),"%"===A?(v/=ap(d,q,100,"%")/100,e.strictUnits!==!0&&(x=v+"%")):"em"===A||"rem"===A||"vw"===A||"vh"===A?v/=ap(d,q,1,A):"px"!==A&&(w=ap(d,q,w,A),A="px"),C&&(w||0===w)&&(y=w+v+A)),C&&(w+=v),!v&&0!==v||!w&&0!==w?void 0!==D[q]&&(y||y+""!="NaN"&&null!=y)?(i=new bF(D,q,w||v||0,0,i,-1,q,!1,0,x,y),i.xs0="none"!==y||"display"!==q&&-1===q.indexOf("Style")?y:x):bM("invalid "+q+" tween value: "+e[q]):(i=new bF(D,q,v,w-v,i,0,q,aU!==!1&&("px"===A||"zIndex"===q),0,x,y),i.xs0=A))}k&&i&&!i.plugin&&(i.plugin=k)}return i},aQ.setRatio=function(g){var h,i,j,k=this._firstPT,l=1e-06;if(1!==g||this._tween._time!==this._tween._duration&&0!==this._tween._time){if(g||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-06){for(;k;){if(h=k.c*g+k.s,k.r?h=k.r(h):l>h&&h>-l&&(h=0),k.type){if(1===k.type){if(j=k.l,2===j){k.t[k.p]=k.xs0+h+k.xs1+k.xn1+k.xs2}else{if(3===j){k.t[k.p]=k.xs0+h+k.xs1+k.xn1+k.xs2+k.xn2+k.xs3}else{if(4===j){k.t[k.p]=k.xs0+h+k.xs1+k.xn1+k.xs2+k.xn2+k.xs3+k.xn3+k.xs4}else{if(5===j){k.t[k.p]=k.xs0+h+k.xs1+k.xn1+k.xs2+k.xn2+k.xs3+k.xn3+k.xs4+k.xn4+k.xs5}else{for(i=k.xs0+h+k.xs1,j=1;j<k.l;j++){i+=k["xn"+j]+k["xs"+(j+1)]}k.t[k.p]=i}}}}}else{-1===k.type?k.t[k.p]=k.xs0:k.setRatio&&k.setRatio(g)}}else{k.t[k.p]=h+k.xs0}k=k._next}}else{for(;k;){2!==k.type?k.t[k.p]=k.b:k.setRatio(g),k=k._next}}}else{for(;k;){if(2!==k.type){if(k.r&&-1!==k.type){if(h=k.r(k.s+k.c),k.type){if(1===k.type){for(j=k.l,i=k.xs0+h+k.xs1,j=1;j<k.l;j++){i+=k["xn"+j]+k["xs"+(j+1)]}k.t[k.p]=i}}else{k.t[k.p]=h+k.xs0}}else{k.t[k.p]=k.e}}else{k.setRatio(g)}k=k._next}}},aQ._enableTransforms=function(b){this._transform=this._transform||by(this._target,aw,!0),this._transformType=this._transform.svg&&aq||!b&&3!==this._transformType?2:3};var ac=function(b){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};aQ._addLazySet=function(e,f,g){var h=this._firstPT=new bF(e,f,0,0,this._firstPT,2);h.e=g,h.setRatio=ac,h.data=this},aQ._linkCSSP=function(e,f,g,h){return e&&(f&&(f._prev=e),e._next&&(e._next._prev=e._prev),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next,h=!0),g?g._next=e:h||null!==this._firstPT||(this._firstPT=e),e._next=f,e._prev=g),e},aQ._mod=function(c){for(var d=this._firstPT;d;){"function"==typeof c[d.p]&&(d.r=c[d.p]),d=d._next}},aQ._kill=function(a){var g,h,i,j=a;if(a.autoAlpha||a.alpha){j={};for(h in a){j[h]=a[h]}j.opacity=1,j.autoAlpha&&(j.visibility=1)}for(a.className&&(g=this._classNamePT)&&(i=g.xfirst,i&&i._prev?this._linkCSSP(i._prev,g._next,i._prev._prev):i===this._firstPT&&(this._firstPT=g._next),g._next&&this._linkCSSP(g._next,g._next._next,i._prev),this._classNamePT=null),g=this._firstPT;g;){g.plugin&&g.plugin!==h&&g.plugin._kill&&(g.plugin._kill(a),h=g.plugin),g=g._next}return af.prototype._kill.call(this,j)};var ae=function(h,i,j){var k,l,m,n;if(h.slice){for(l=h.length;--l>-1;){ae(h[l],i,j)}}else{for(k=h.childNodes,l=k.length;--l>-1;){m=k[l],n=m.type,m.style&&(i.push(ay(m)),j&&j.push(m)),1!==n&&9!==n&&11!==n||!m.childNodes.length||ae(m,i,j)}}};return aE.cascadeTo=function(b,o,p){var q,r,s,t,u=aj.to(b,o,p),v=[u],w=[],x=[],y=[],z=aj._internals.reservedProps;for(b=u._targets||u.target,ae(b,w,y),u.render(o,!0,!0),ae(b,x),u.render(0,!0,!0),u._enabled(!0),q=y.length;--q>-1;){if(r=aC(y[q],w[q],x[q]),r.firstMPT){r=r.difs;for(s in p){z[s]&&(r[s]=p[s])}t={};for(s in r){t[s]=w[q][s]}v.push(aj.fromTo(y[q],o,t,r))}}return v},af.activate([aE]),aE},!0),function(){var e=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(d,i,j){return this._tween=j,!0}}),f=function(c){var d=1>c?Math.pow(10,(c+"").length-2):1;return function(a){return(Math.round(a/c)*c*d|0)/d}},g=function(c,d){for(;c;){c.f||c.blob||(c.m=d||Math.round),c=c._next}},h=e.prototype;h._onInitAllProps=function(){var b,c,k,l,m=this._tween,n=m.vars.roundProps,o={},p=m._propLookup.roundProps;if("object"!=typeof n||n.push){for("string"==typeof n&&(n=n.split(",")),k=n.length;--k>-1;){o[n[k]]=Math.round}}else{for(l in n){o[l]=f(n[l])}}for(l in o){for(b=m._firstPT;b;){c=b._next,b.pg?b.t._mod(o):b.n===l&&(2===b.f&&b.t?g(b.t._firstPT,o[l]):(this._add(b.t,l,b.s,b.c,o[l]),c&&(c._prev=b._prev),b._prev?b._prev._next=c:m._firstPT===b&&(m._firstPT=c),b._next=b._prev=null,m._propLookup[l]=p)),b=c}}return !1},h._add=function(i,j,k,l,m){this._addTween(i,j,k,k+l,j,m||Math.round),this._overwriteProps.push(j)}}(),function(){_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(g,h,i,j){var k,l;if("function"!=typeof g.setAttribute){return !1}for(k in h){l=h[k],"function"==typeof l&&(l=l(j,g)),this._addTween(g,"setAttribute",g.getAttribute(k)+"",l+"",k,!1,k),this._overwriteProps.push(k)}return !0}})}(),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(m,n,o,p){"object"!=typeof n&&(n={rotation:n}),this.finals={};var q,r,s,t,u,v,w=n.useRadians===!0?2*Math.PI:360,x=1e-06;for(q in n){"useRadians"!==q&&(t=n[q],"function"==typeof t&&(t=t(p,m)),v=(t+"").split("_"),r=v[0],s=parseFloat("function"!=typeof m[q]?m[q]:m[q.indexOf("set")||"function"!=typeof m["get"+q.substr(3)]?q:"get"+q.substr(3)]()),t=this.finals[q]="string"==typeof r&&"="===r.charAt(1)?s+parseInt(r.charAt(0)+"1",10)*Number(r.substr(2)):Number(r)||0,u=t-s,v.length&&(r=v.join("_"),-1!==r.indexOf("short")&&(u%=w,u!==u%(w/2)&&(u=0>u?u+w:u-w)),-1!==r.indexOf("_cw")&&0>u?u=(u+9999999999*w)%w-(u/w|0)*w:-1!==r.indexOf("ccw")&&u>0&&(u=(u-9999999999*w)%w-(u/w|0)*w)),(u>x||-x>u)&&(this._addTween(m,q,s,s+u,q),this._overwriteProps.push(q)))}return !0},set:function(c){var d;if(1!==c){this._super.setRatio.call(this,c)}else{for(d=this._firstPT;d;){d.f?d.t[d.p](this.finals[d.p]):d.t[d.p]=this.finals[d.p],d=d._next}}}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(s){var t,u,v,w,x=_gsScope.GreenSockGlobals||_gsScope,y=x.com.greensock,z=2*Math.PI,A=Math.PI/2,B=y._class,C=function(a,f){var g=B("easing."+a,function(){},!0),h=g.prototype=new s;return h.constructor=g,h.getRatio=f,g},D=s.register||function(){},E=function(g,h,i,j,k){var l=B("easing."+g,{easeOut:new h,easeIn:new i,easeInOut:new j},!0);return D(l,g),l},F=function(d,e,f){this.t=d,this.v=e,f&&(this.next=f,f.prev=this,this.c=f.v-e,this.gap=f.t-d)},G=function(a,f){var g=B("easing."+a,function(b){this._p1=b||0===b?b:1.70158,this._p2=1.525*this._p1},!0),h=g.prototype=new s;return h.constructor=g,h.getRatio=f,h.config=function(b){return new g(b)},g},H=E("Back",G("BackOut",function(b){return(b-=1)*b*((this._p1+1)*b+this._p1)+1}),G("BackIn",function(b){return b*b*((this._p1+1)*b-this._p1)}),G("BackInOut",function(b){return(b*=2)<1?0.5*b*b*((this._p2+1)*b-this._p2):0.5*((b-=2)*b*((this._p2+1)*b+this._p2)+2)})),I=B("easing.SlowMo",function(d,e,f){e=e||0===e?e:0.7,null==d?d=0.7:d>1&&(d=1),this._p=1!==d?e:0,this._p1=(1-d)/2,this._p2=d,this._p3=this._p1+this._p2,this._calcEnd=f===!0},!0),J=I.prototype=new s;return J.constructor=I,J.getRatio=function(c){var d=c+(0.5-c)*this._p;return c<this._p1?this._calcEnd?1-(c=1-c/this._p1)*c:d-(c=1-c/this._p1)*c*c*c*d:c>this._p3?this._calcEnd?1===c?0:1-(c=(c-this._p3)/this._p1)*c:d+(c-d)*(c=(c-this._p3)/this._p1)*c*c*c:this._calcEnd?1:d},I.ease=new I(0.7,0.7),J.config=I.config=function(d,e,f){return new I(d,e,f)},t=B("easing.SteppedEase",function(c,d){c=c||1,this._p1=1/c,this._p2=c+(d?0:1),this._p3=d?1:0},!0),J=t.prototype=new s,J.constructor=t,J.getRatio=function(b){return 0>b?b=0:b>=1&&(b=0.999999999),((this._p2*b|0)+this._p3)*this._p1},J.config=t.config=function(b,d){return new t(b,d)},u=B("easing.ExpoScaleEase",function(d,e,f){this._p1=Math.log(e/d),this._p2=e-d,this._p3=d,this._ease=f},!0),J=u.prototype=new s,J.constructor=u,J.getRatio=function(b){return this._ease&&(b=this._ease.getRatio(b)),(this._p3*Math.exp(this._p1*b)-this._p3)/this._p2},J.config=u.config=function(c,e,f){return new u(c,e,f)},v=B("easing.RoughEase",function(a){a=a||{};for(var n,K,L,M,N,O,P=a.taper||"none",Q=[],R=0,S=0|(a.points||20),T=S,U=a.randomize!==!1,V=a.clamp===!0,W=a.template instanceof s?a.template:null,X="number"==typeof a.strength?0.4*a.strength:0.4;--T>-1;){n=U?Math.random():1/S*T,K=W?W.getRatio(n):n,"none"===P?L=X:"out"===P?(M=1-n,L=M*M*X):"in"===P?L=n*n*X:0.5>n?(M=2*n,L=M*M*0.5*X):(M=2*(1-n),L=M*M*0.5*X),U?K+=Math.random()*L-0.5*L:T%2?K+=0.5*L:K-=0.5*L,V&&(K>1?K=1:0>K&&(K=0)),Q[R++]={x:n,y:K}}for(Q.sort(function(c,d){return c.x-d.x}),O=new F(1,1,null),T=S;--T>-1;){N=Q[T],O=new F(N.x,N.y,O)}this._prev=new F(0,0,0!==O.t?O:O.next)},!0),J=v.prototype=new s,J.constructor=v,J.getRatio=function(c){var d=this._prev;if(c>d.t){for(;d.next&&c>=d.t;){d=d.next}d=d.prev}else{for(;d.prev&&c<=d.t;){d=d.prev}}return this._prev=d,d.v+(c-d.t)/d.gap*d.c},J.config=function(b){return new v(b)},v.ease=new v,E("Bounce",C("BounceOut",function(b){return 1/2.75>b?7.5625*b*b:2/2.75>b?7.5625*(b-=1.5/2.75)*b+0.75:2.5/2.75>b?7.5625*(b-=2.25/2.75)*b+0.9375:7.5625*(b-=2.625/2.75)*b+0.984375}),C("BounceIn",function(b){return(b=1-b)<1/2.75?1-7.5625*b*b:2/2.75>b?1-(7.5625*(b-=1.5/2.75)*b+0.75):2.5/2.75>b?1-(7.5625*(b-=2.25/2.75)*b+0.9375):1-(7.5625*(b-=2.625/2.75)*b+0.984375)}),C("BounceInOut",function(c){var d=0.5>c;return c=d?1-2*c:2*c-1,c=1/2.75>c?7.5625*c*c:2/2.75>c?7.5625*(c-=1.5/2.75)*c+0.75:2.5/2.75>c?7.5625*(c-=2.25/2.75)*c+0.9375:7.5625*(c-=2.625/2.75)*c+0.984375,d?0.5*(1-c):0.5*c+0.5})),E("Circ",C("CircOut",function(b){return Math.sqrt(1-(b-=1)*b)}),C("CircIn",function(b){return -(Math.sqrt(1-b*b)-1)}),C("CircInOut",function(b){return(b*=2)<1?-0.5*(Math.sqrt(1-b*b)-1):0.5*(Math.sqrt(1-(b-=2)*b)+1)})),w=function(a,g,h){var i=B("easing."+a,function(c,d){this._p1=c>=1?c:1,this._p2=(d||h)/(1>c?c:1),this._p3=this._p2/z*(Math.asin(1/this._p1)||0),this._p2=z/this._p2},!0),j=i.prototype=new s;return j.constructor=i,j.getRatio=g,j.config=function(c,d){return new i(c,d)},i},E("Elastic",w("ElasticOut",function(b){return this._p1*Math.pow(2,-10*b)*Math.sin((b-this._p3)*this._p2)+1},0.3),w("ElasticIn",function(b){return -(this._p1*Math.pow(2,10*(b-=1))*Math.sin((b-this._p3)*this._p2))},0.3),w("ElasticInOut",function(b){return(b*=2)<1?-0.5*(this._p1*Math.pow(2,10*(b-=1))*Math.sin((b-this._p3)*this._p2)):this._p1*Math.pow(2,-10*(b-=1))*Math.sin((b-this._p3)*this._p2)*0.5+1},0.45)),E("Expo",C("ExpoOut",function(b){return 1-Math.pow(2,-10*b)}),C("ExpoIn",function(b){return Math.pow(2,10*(b-1))-0.001}),C("ExpoInOut",function(b){return(b*=2)<1?0.5*Math.pow(2,10*(b-1)):0.5*(2-Math.pow(2,-10*(b-1)))})),E("Sine",C("SineOut",function(b){return Math.sin(b*A)}),C("SineIn",function(b){return -Math.cos(b*A)+1}),C("SineInOut",function(b){return -0.5*(Math.cos(Math.PI*b)-1)})),B("easing.EaseLookup",{find:function(a){return s.map[a]}},!0),D(x.SlowMo,"SlowMo","ease,"),D(v,"RoughEase","ease,"),D(t,"SteppedEase","ease,"),H},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(ad,ag){var aj={},am=ad.document,ap=ad.GreenSockGlobals=ad.GreenSockGlobals||ad,at=ap[ag];if(at){return"undefined"!=typeof module&&module.exports&&(module.exports=at),at}var av,ax,az,aB,aD,aF=function(e){var f,g=e.split("."),h=ap;for(f=0;f<g.length;f++){h[g[f]]=h=h[g[f]]||{}}return h},aH=aF("com.greensock"),aJ=1e-08,aL=function(e){var f,g=[],h=e.length;for(f=0;f!==h;g.push(e[f++])){}return g},aN=function(){},aP=function(){var c=Object.prototype.toString,d=c.call([]);return function(a){return null!=a&&(a instanceof Array||"object"==typeof a&&!!a.push&&c.call(a)===d)}}(),aR={},aT=function(a,b,c,e){this.sc=aR[a]?aR[a].sc:[],aR[a]=this,this.gsClass=null,this.func=c;var j=[];this.check=function(d){for(var f,g,h,i,l=b.length,r=l;--l>-1;){(f=aR[b[l]]||new aT(b[l],[])).gsClass?(j[l]=f.gsClass,r--):d&&f.sc.push(this)}if(0===r&&c){if(g=("com.greensock."+a).split("."),h=g.pop(),i=aF(g.join("."))[h]=this.gsClass=c.apply(c,j),e){if(ap[h]=aj[h]=i,"undefined"!=typeof module&&module.exports){if(a===ag){module.exports=aj[ag]=i;for(l in aj){i[l]=aj[l]}}else{aj[ag]&&(aj[ag][h]=i)}}else{"function"==typeof define&&define.amd&&define((ad.GreenSockAMDPath?ad.GreenSockAMDPath+"/":"")+a.split(".").pop(),[],function(){return i})}}for(l=0;l<this.sc.length;l++){this.sc[l].check()}}},this.check(!0)},aV=ad._gsDefine=function(e,f,g,h){return new aT(e,f,g,h)},aX=aH._class=function(d,e,f){return e=e||function(){},aV(d,[],function(){return e},f),e};aV.globals=ap;var aZ=[0,0,1,1],a1=aX("easing.Ease",function(e,f,g,h){this._func=e,this._type=g||0,this._power=h||0,this._params=f?aZ.concat(f):aZ},!0),a3=a1.map={},a5=a1.register=function(l,m,n,o){for(var p,q,r,s,t=m.split(","),u=t.length,v=(n||"easeIn,easeOut,easeInOut").split(",");--u>-1;){for(q=t[u],p=o?aX("easing."+q,null,!0):aH.easing[q]||{},r=v.length;--r>-1;){s=v[r],a3[q+"."+s]=a3[s+q]=p[s]=l.getRatio?l:l[s]||new l}}};for(az=a1.prototype,az._calcEnd=!1,az.getRatio=function(e){if(this._func){return this._params[0]=e,this._func.apply(null,this._params)}var f=this._type,g=this._power,h=1===f?1-e:2===f?e:0.5>e?2*e:2*(1-e);return 1===g?h*=h:2===g?h*=h*h:3===g?h*=h*h*h:4===g&&(h*=h*h*h*h),1===f?1-h:2===f?h:0.5>e?h/2:1-h/2},av=["Linear","Quad","Cubic","Quart","Quint,Strong"],ax=av.length;--ax>-1;){az=av[ax]+",Power"+ax,a5(new a1(null,null,1,ax),az,"easeOut",!0),a5(new a1(null,null,2,ax),az,"easeIn"+(0===ax?",easeNone":"")),a5(new a1(null,null,3,ax),az,"easeInOut")}a3.linear=aH.easing.Linear.easeIn,a3.swing=aH.easing.Quad.easeInOut;var a7=aX("events.EventDispatcher",function(b){this._listeners={},this._eventTarget=b||this});az=a7.prototype,az.addEventListener=function(j,k,l,m,n){n=n||0;var o,p,q=this._listeners[j],r=0;for(this!==aB||aD||aB.wake(),null==q&&(this._listeners[j]=q=[]),p=q.length;--p>-1;){o=q[p],o.c===k&&o.s===l?q.splice(p,1):0===r&&o.pr<n&&(r=p+1)}q.splice(r,0,{c:k,s:l,up:m,pr:n})},az.removeEventListener=function(e,f){var g,h=this._listeners[e];if(h){for(g=h.length;--g>-1;){if(h[g].c===f){return void h.splice(g,1)}}}},az.dispatchEvent=function(f){var g,h,i,j=this._listeners[f];if(j){for(g=j.length,g>1&&(j=j.slice(0)),h=this._eventTarget;--g>-1;){i=j[g],i&&(i.up?i.c.call(i.s||h,{type:f,target:h}):i.c.call(i.s||h))}}};var ae=ad.requestAnimationFrame,ah=ad.cancelAnimationFrame,ak=Date.now||function(){return(new Date).getTime()},an=ak();for(av=["ms","moz","webkit","o"],ax=av.length;--ax>-1&&!ae;){ae=ad[av[ax]+"RequestAnimationFrame"],ah=ad[av[ax]+"CancelAnimationFrame"]||ad[av[ax]+"CancelRequestAnimationFrame"]}aX("Ticker",function(d,j){var k,n,p,t,u,v=this,w=ak(),x=j!==!1&&ae?"auto":!1,y=500,z=33,A="tick",B=function(c){var e,f,g=ak()-an;g>y&&(w+=g-z),an+=g,v.time=(an-w)/1000,e=v.time-u,(!k||e>0||c===!0)&&(v.frame++,u+=e+(e>=t?0.004:t-e),f=!0),c!==!0&&(p=n(B)),f&&v.dispatchEvent(A)};a7.call(v),v.time=v.frame=0,v.tick=function(){B(!0)},v.lagSmoothing=function(c,e){return arguments.length?(y=c||1/aJ,void (z=Math.min(e,y,0))):1/aJ>y},v.sleep=function(){null!=p&&(x&&ah?ah(p):clearTimeout(p),n=aN,p=null,v===aB&&(aD=!1))},v.wake=function(b){null!==p?v.sleep():b?w+=-an+(an=ak()):v.frame>10&&(an=ak()-y+5),n=0===k?aN:x&&ae?ae:function(c){return setTimeout(c,1000*(u-v.time)+1|0)},v===aB&&(aD=!0),B(2)},v.fps=function(b){return arguments.length?(k=b,t=1/(k||60),u=this.time+t,void v.wake()):k},v.useRAF=function(b){return arguments.length?(v.sleep(),x=b,void v.fps(k)):x},v.fps(d),setTimeout(function(){"auto"===x&&v.frame<5&&"hidden"!==(am||{}).visibilityState&&v.useRAF(!1)},1500)}),az=aH.Ticker.prototype=new aH.events.EventDispatcher,az.constructor=aH.Ticker;var aq=aX("core.Animation",function(d,e){if(this.vars=e=e||{},this._duration=this._totalDuration=d||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,a8){aD||aB.wake();var f=this.vars.useFrames?a6:a8;f.add(this,f._time),this.vars.paused&&this.paused(!0)}});aB=aq.ticker=new aH.Ticker,az=aq.prototype,az._dirty=az._gc=az._initted=az._paused=!1,az._totalTime=az._time=0,az._rawPrevTime=-1,az._next=az._last=az._onUpdate=az._timeline=az.timeline=null,az._paused=!1;var au=function(){aD&&ak()-an>2000&&("hidden"!==(am||{}).visibilityState||!aB.lagSmoothing())&&aB.wake();var b=setTimeout(au,2000);b.unref&&b.unref()};au(),az.play=function(c,d){return null!=c&&this.seek(c,d),this.reversed(!1).paused(!1)},az.pause=function(c,d){return null!=c&&this.seek(c,d),this.paused(!0)},az.resume=function(c,d){return null!=c&&this.seek(c,d),this.paused(!1)},az.seek=function(c,d){return this.totalTime(Number(c),d!==!1)},az.restart=function(c,d){return this.reversed(!1).paused(!1).totalTime(c?-this._delay:0,d!==!1,!0)},az.reverse=function(c,d){return null!=c&&this.seek(c||this.totalDuration(),d),this.reversed(!0).paused(!1)},az.render=function(d,e,f){},az.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},az.isActive=function(){var d,e=this._timeline,f=this._startTime;return !e||!this._gc&&!this._paused&&e.isActive()&&(d=e.rawTime(!0))>=f&&d<f+this.totalDuration()/this._timeScale-aJ},az._enabled=function(c,d){return aD||aB.wake(),this._gc=!c,this._active=this.isActive(),d!==!0&&(c&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!c&&this.timeline&&this._timeline._remove(this,!0)),!1},az._kill=function(c,d){return this._enabled(!1,!1)},az.kill=function(c,d){return this._kill(c,d),this},az._uncache=function(c){for(var d=c?this:this.timeline;d;){d._dirty=!0,d=d.timeline}return this},az._swapSelfInParams=function(d){for(var e=d.length,f=d.concat();--e>-1;){"{self}"===d[e]&&(f[e]=this)}return f},az._callback=function(g){var h=this.vars,i=h[g],j=h[g+"Params"],k=h[g+"Scope"]||h.callbackScope||this,l=j?j.length:0;switch(l){case 0:i.call(k);break;case 1:i.call(k,j[0]);break;case 2:i.call(k,j[0],j[1]);break;default:i.apply(k,j)}},az.eventCallback=function(f,g,h,i){if("on"===(f||"").substr(0,2)){var j=this.vars;if(1===arguments.length){return j[f]}null==g?delete j[f]:(j[f]=g,j[f+"Params"]=aP(h)&&-1!==h.join("").indexOf("{self}")?this._swapSelfInParams(h):h,j[f+"Scope"]=i),"onUpdate"===f&&(this._onUpdate=g)}return this},az.delay=function(b){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+b-this._delay),this._delay=b,this):this._delay},az.duration=function(b){return arguments.length?(this._duration=this._totalDuration=b,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==b&&this.totalTime(this._totalTime*(b/this._duration),!0),this):(this._dirty=!1,this._duration)},az.totalDuration=function(b){return this._dirty=!1,arguments.length?this.duration(b):this._totalDuration},az.time=function(c,d){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(c>this._duration?this._duration:c,d)):this._time},az.totalTime=function(f,g,h){if(aD||aB.wake(),!arguments.length){return this._totalTime}if(this._timeline){if(0>f&&!h&&(f+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,j=this._timeline;if(f>i&&!h&&(f=i),this._startTime=(this._paused?this._pauseTime:j._time)-(this._reversed?i-f:f)/this._timeScale,j._dirty||this._uncache(!1),j._timeline){for(;j._timeline;){j._timeline._time!==(j._startTime+j._totalTime)/j._timeScale&&j.totalTime(j._totalTime,!0),j=j._timeline}}}this._gc&&this._enabled(!0,!1),(this._totalTime!==f||0===this._duration)&&(aE.length&&ac(),this.render(f,g,!1),aE.length&&ac())}return this},az.progress=az.totalProgress=function(d,e){var f=this.duration();return arguments.length?this.totalTime(f*d,e):f?this._time/f:this.ratio},az.startTime=function(b){return arguments.length?(b!==this._startTime&&(this._startTime=b,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,b-this._delay)),this):this._startTime},az.endTime=function(b){return this._startTime+(0!=b?this.totalDuration():this.duration())/this._timeScale},az.timeScale=function(d){if(!arguments.length){return this._timeScale}var e,f;for(d=d||aJ,this._timeline&&this._timeline.smoothChildTiming&&(e=this._pauseTime,f=e||0===e?e:this._timeline.totalTime(),this._startTime=f-(f-this._startTime)*this._timeScale/d),this._timeScale=d,f=this.timeline;f&&f.timeline;){f._dirty=!0,f.totalDuration(),f=f.timeline}return this},az.reversed=function(b){return arguments.length?(b!=this._reversed&&(this._reversed=b,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},az.paused=function(e){if(!arguments.length){return this._paused}var f,g,h=this._timeline;return e!=this._paused&&h&&(aD||e||aB.wake(),f=h.rawTime(),g=f-this._pauseTime,!e&&h.smoothChildTiming&&(this._startTime+=g,this._uncache(!1)),this._pauseTime=e?f:null,this._paused=e,this._active=this.isActive(),!e&&0!==g&&this._initted&&this.duration()&&(f=h.smoothChildTiming?this._totalTime:(f-this._startTime)/this._timeScale,this.render(f,f===this._totalTime,!0))),this._gc&&!e&&this._enabled(!0,!1),this};var aw=aX("core.SimpleTimeline",function(b){aq.call(this,0,b),this.autoRemoveChildren=this.smoothChildTiming=!0});az=aw.prototype=new aq,az.constructor=aw,az.kill()._gc=!1,az._first=az._last=az._recent=null,az._sortChildren=!1,az.add=az.insert=function(g,h,i,j){var k,l;if(g._startTime=Number(h||0)+g._delay,g._paused&&this!==g._timeline&&(g._pauseTime=this.rawTime()-(g._timeline.rawTime()-g._pauseTime)),g.timeline&&g.timeline._remove(g,!0),g.timeline=g._timeline=this,g._gc&&g._enabled(!0,!0),k=this._last,this._sortChildren){for(l=g._startTime;k&&k._startTime>l;){k=k._prev}}return k?(g._next=k._next,k._next=g):(g._next=this._first,this._first=g),g._next?g._next._prev=g:this._last=g,g._prev=k,this._recent=g,this._timeline&&this._uncache(!0),this},az._remove=function(c,d){return c.timeline===this&&(d||c._enabled(!1,!0),c._prev?c._prev._next=c._next:this._first===c&&(this._first=c._next),c._next?c._next._prev=c._prev:this._last===c&&(this._last=c._prev),c._next=c._prev=c.timeline=null,c===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},az.render=function(f,g,h){var i,j=this._first;for(this._totalTime=this._time=this._rawPrevTime=f;j;){i=j._next,(j._active||f>=j._startTime&&!j._paused&&!j._gc)&&(j._reversed?j.render((j._dirty?j.totalDuration():j._totalDuration)-(f-j._startTime)*j._timeScale,g,h):j.render((f-j._startTime)*j._timeScale,g,h)),j=i}},az.rawTime=function(){return aD||aB.wake(),this._totalTime};var ay=aX("TweenLite",function(a,j,k){if(aq.call(this,j,k),this.render=ay.prototype.render,null==a){throw"Cannot tween a null target."}this.target=a="string"!=typeof a?a:ay.selector(a)||a;var l,m,n,o=a.jquery||a.length&&a!==ad&&a[0]&&(a[0]===ad||a[0].nodeType&&a[0].style&&!a.nodeType),p=this.vars.overwrite;if(this._overwrite=p=null==p?a4[ay.defaultOverwrite]:"number"==typeof p?p>>0:a4[p],(o||a instanceof Array||a.push&&aP(a))&&"number"!=typeof a[0]){for(this._targets=n=aL(a),this._propLookup=[],this._siblings=[],l=0;l<n.length;l++){m=n[l],m?"string"!=typeof m?m.length&&m!==ad&&m[0]&&(m[0]===ad||m[0].nodeType&&m[0].style&&!m.nodeType)?(n.splice(l--,1),this._targets=n=n.concat(aL(m))):(this._siblings[l]=af(m,this,!1),1===p&&this._siblings[l].length>1&&al(m,this,null,1,this._siblings[l])):(m=n[l--]=ay.selector(m),"string"==typeof m&&n.splice(l+1,1)):n.splice(l--,1)}}else{this._propLookup={},this._siblings=af(a,this,!1),1===p&&this._siblings.length>1&&al(a,this,null,1,this._siblings)}(this.vars.immediateRender||0===j&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-aJ,this.render(Math.min(0,-this._delay)))},!0),aA=function(a){return a&&a.length&&a!==ad&&a[0]&&(a[0]===ad||a[0].nodeType&&a[0].style&&!a.nodeType)},aC=function(e,f){var g,h={};for(g in e){a2[g]||g in f&&"transform"!==g&&"x"!==g&&"y"!==g&&"width"!==g&&"height"!==g&&"className"!==g&&"border"!==g||!(!aW[g]||aW[g]&&aW[g]._autoCSS)||(h[g]=e[g],delete e[g])}e.css=h};az=ay.prototype=new aq,az.constructor=ay,az.kill()._gc=!1,az.ratio=0,az._firstPT=az._targets=az._overwrittenProps=az._startAt=null,az._notifyPluginsOfEnabled=az._lazy=!1,ay.version="2.1.3",ay.defaultEase=az._ease=new a1(null,null,1,1),ay.defaultOverwrite="auto",ay.ticker=aB,ay.autoSleep=120,ay.lagSmoothing=function(c,d){aB.lagSmoothing(c,d)},ay.selector=ad.$||ad.jQuery||function(a){var d=ad.$||ad.jQuery;return d?(ay.selector=d,d(a)):(am||(am=ad.document),am?am.querySelectorAll?am.querySelectorAll(a):am.getElementById("#"===a.charAt(0)?a.substr(1):a):a)};var aE=[],aG={},aI=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,aK=/[\+-]=-?[\.\d]/,aM=function(e){for(var f,g=this._firstPT,h=1e-06;g;){f=g.blob?1===e&&null!=this.end?this.end:e?this.join(""):this.start:g.c*e+g.s,g.m?f=g.m.call(this._tween,f,this._target||g.t,this._tween):h>f&&f>-h&&!g.blob&&(f=0),g.f?g.fp?g.t[g.p](g.fp,f):g.t[g.p](f):g.t[g.p]=f,g=g._next}},aO=function(b){return(1000*b|0)/1000+""},aQ=function(p,q,r,s){var t,u,v,w,x,y,z,A=[],B=0,C="",D=0;for(A.start=p,A.end=q,p=A[0]=p+"",q=A[1]=q+"",r&&(r(A),p=A[0],q=A[1]),A.length=0,t=p.match(aI)||[],u=q.match(aI)||[],s&&(s._next=null,s.blob=1,A._firstPT=A._applyPT=s),x=u.length,w=0;x>w;w++){z=u[w],y=q.substr(B,q.indexOf(z,B)-B),C+=y||!w?y:",",B+=y.length,D?D=(D+1)%5:"rgba("===y.substr(-5)&&(D=1),z===t[w]||t.length<=w?C+=z:(C&&(A.push(C),C=""),v=parseFloat(t[w]),A.push(v),A._firstPT={_next:A._firstPT,t:A,p:A.length-1,s:v,c:("="===z.charAt(1)?parseInt(z.charAt(0)+"1",10)*parseFloat(z.substr(2)):parseFloat(z)-v)||0,f:0,m:D&&4>D?Math.round:aO}),B+=z.length}return C+=q.substr(B),C&&A.push(C),A.setRatio=aM,aK.test(q)&&(A.end=null),A},aS=function(p,q,r,s,t,u,v,w,x){"function"==typeof s&&(s=s(x||0,p));var y,z=typeof p[q],A="function"!==z?"":q.indexOf("set")||"function"!=typeof p["get"+q.substr(3)]?q:"get"+q.substr(3),B="get"!==r?r:A?v?p[A](v):p[A]():p[q],C="string"==typeof s&&"="===s.charAt(1),D={t:p,p:q,s:B,f:"function"===z,pg:0,n:t||q,m:u?"function"==typeof u?u:Math.round:0,pr:0,c:C?parseInt(s.charAt(0)+"1",10)*parseFloat(s.substr(2)):parseFloat(s)-B||0};return("number"!=typeof B||"number"!=typeof s&&!C)&&(v||isNaN(B)||!C&&isNaN(s)||"boolean"==typeof B||"boolean"==typeof s?(D.fp=v,y=aQ(B,C?parseFloat(D.s)+D.c+(D.s+"").replace(/[0-9\-\.]/g,""):s,w||ay.defaultStringFilter,D),D={t:y,p:"setRatio",s:0,c:1,f:2,pg:0,n:t||q,pr:0,m:0}):(D.s=parseFloat(B),C||(D.c=parseFloat(s)-D.s||0))),D.c?((D._next=this._firstPT)&&(D._next._prev=D),this._firstPT=D,D):void 0},aU=ay._internals={isArray:aP,isSelector:aA,lazyTweens:aE,blobDif:aQ},aW=ay._plugins={},aY=aU.tweenLookup={},a0=0,a2=aU.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},a4={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},a6=aq._rootFramesTimeline=new aw,a8=aq._rootTimeline=new aw,ab=30,ac=aU.lazyRender=function(){var d,e,f=aE.length;for(aG={},d=0;f>d;d++){e=aE[d],e&&e._lazy!==!1&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1)}aE.length=0};a8._startTime=aB.time,a6._startTime=aB.frame,a8._active=a6._active=!0,setTimeout(ac,1),aq._updateRoot=ay.render=function(){var d,e,f;if(aE.length&&ac(),a8.render((aB.time-a8._startTime)*a8._timeScale,!1,!1),a6.render((aB.frame-a6._startTime)*a6._timeScale,!1,!1),aE.length&&ac(),aB.frame>=ab){ab=aB.frame+(parseInt(ay.autoSleep,10)||120);for(f in aY){for(e=aY[f].tweens,d=e.length;--d>-1;){e[d]._gc&&e.splice(d,1)}0===e.length&&delete aY[f]}if(f=a8._first,(!f||f._paused)&&ay.autoSleep&&!a6._first&&1===aB._listeners.tick.length){for(;f&&f._paused;){f=f._next}f||aB.sleep()}}},aB.addEventListener("tick",aq._updateRoot);var af=function(g,h,i){var j,k,l=g._gsTweenID;if(aY[l||(g._gsTweenID=l="t"+a0++)]||(aY[l]={target:g,tweens:[]}),h&&(j=aY[l].tweens,j[k=j.length]=h,i)){for(;--k>-1;){j[k]===h&&j.splice(k,1)}}return aY[l].tweens},ai=function(h,i,j,k){var l,m,n=h.vars.onOverwrite;return n&&(l=n(h,i,j,k)),n=ay.onOverwrite,n&&(m=n(h,i,j,k)),l!==!1&&m!==!1},al=function(n,p,q,r,s){var t,u,v,w;if(1===r||r>=4){for(w=s.length,t=0;w>t;t++){if((v=s[t])!==p){v._gc||v._kill(null,n,p)&&(u=!0)}else{if(5===r){break}}}return u}var x,y=p._startTime+aJ,z=[],A=0,B=0===p._duration;for(t=s.length;--t>-1;){(v=s[t])===p||v._gc||v._paused||(v._timeline!==p._timeline?(x=x||ao(p,0,B),0===ao(v,x,B)&&(z[A++]=v)):v._startTime<=y&&v._startTime+v.totalDuration()/v._timeScale>y&&((B||!v._initted)&&y-v._startTime<=2*aJ||(z[A++]=v)))}for(t=A;--t>-1;){if(v=z[t],w=v._firstPT,2===r&&v._kill(q,n,p)&&(u=!0),2!==r||!v._firstPT&&v._initted&&w){if(2!==r&&!ai(v,p)){continue}v._enabled(!1,!1)&&(u=!0)}}return u},ao=function(g,h,i){for(var j=g._timeline,k=j._timeScale,l=g._startTime;j._timeline;){if(l+=j._startTime,k*=j._timeScale,j._paused){return -100}j=j._timeline}return l/=k,l>h?l-h:i&&l===h||!g._initted&&2*aJ>l-h?aJ:(l+=g.totalDuration()/g._timeScale/k)>h+aJ?0:l-h-aJ};az._init=function(){var m,n,o,p,q,r,s=this.vars,t=this._overwrittenProps,u=this._duration,v=!!s.immediateRender,w=s.ease,x=this._startAt;if(s.startAt){x&&(x.render(-1,!0),x.kill()),q={};for(p in s.startAt){q[p]=s.startAt[p]}if(q.data="isStart",q.overwrite=!1,q.immediateRender=!0,q.lazy=v&&s.lazy!==!1,q.startAt=q.delay=null,q.onUpdate=s.onUpdate,q.onUpdateParams=s.onUpdateParams,q.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=ay.to(this.target||{},0,q),v){if(this._time>0){this._startAt=null}else{if(0!==u){return}}}}else{if(s.runBackwards&&0!==u){if(x){x.render(-1,!0),x.kill(),this._startAt=null}else{0!==this._time&&(v=!1),o={};for(p in s){a2[p]&&"autoCSS"!==p||(o[p]=s[p])}if(o.overwrite=0,o.data="isFromStart",o.lazy=v&&s.lazy!==!1,o.immediateRender=v,this._startAt=ay.to(this.target,0,o),v){if(0===this._time){return}}else{this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}}}}if(this._ease=w=w?w instanceof a1?w:"function"==typeof w?new a1(w,s.easeParams):a3[w]||ay.defaultEase:ay.defaultEase,s.easeParams instanceof Array&&w.config&&(this._ease=w.config.apply(w,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets){for(r=this._targets.length,m=0;r>m;m++){this._initProps(this._targets[m],this._propLookup[m]={},this._siblings[m],t?t[m]:null,m)&&(n=!0)}}else{n=this._initProps(this.target,this._propLookup,this._siblings,t,0)}if(n&&ay._onPluginEvent("_onInitAllProps",this),t&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),s.runBackwards){for(o=this._firstPT;o;){o.s+=o.c,o.c=-o.c,o=o._next}}this._onUpdate=s.onUpdate,this._initted=!0},az._initProps=function(a,m,n,o,p){var q,r,s,t,u,v;if(null==a){return !1}aG[a._gsTweenID]&&ac(),this.vars.css||a.style&&a!==ad&&a.nodeType&&aW.css&&this.vars.autoCSS!==!1&&aC(this.vars,a);for(q in this.vars){if(v=this.vars[q],a2[q]){v&&(v instanceof Array||v.push&&aP(v))&&-1!==v.join("").indexOf("{self}")&&(this.vars[q]=v=this._swapSelfInParams(v,this))}else{if(aW[q]&&(t=new aW[q])._onInitTween(a,this.vars[q],this,p)){for(this._firstPT=u={_next:this._firstPT,t:t,p:"setRatio",s:0,c:1,f:1,n:q,pg:1,pr:t._priority,m:0},r=t._overwriteProps.length;--r>-1;){m[t._overwriteProps[r]]=this._firstPT}(t._priority||t._onInitAllProps)&&(s=!0),(t._onDisable||t._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else{m[q]=aS.call(this,a,q,"get",v,q,0,null,this.vars.stringFilter,p)}}}return o&&this._kill(o,a)?this._initProps(a,m,n,o,p):this._overwrite>1&&this._firstPT&&n.length>1&&al(a,this,m,this._overwrite,n)?(this._kill(m,a),this._initProps(a,m,n,o,p)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(aG[a._gsTweenID]=!0),s)},az.render=function(n,p,q){var r,s,t,u,v=this,w=v._time,x=v._duration,y=v._rawPrevTime;if(n>=x-aJ&&n>=0){v._totalTime=v._time=x,v.ratio=v._ease._calcEnd?v._ease.getRatio(1):1,v._reversed||(r=!0,s="onComplete",q=q||v._timeline.autoRemoveChildren),0===x&&(v._initted||!v.vars.lazy||q)&&(v._startTime===v._timeline._duration&&(n=0),(0>y||0>=n&&n>=-aJ||y===aJ&&"isPause"!==v.data)&&y!==n&&(q=!0,y>aJ&&(s="onReverseComplete")),v._rawPrevTime=u=!p||n||y===n?n:aJ)}else{if(aJ>n){v._totalTime=v._time=0,v.ratio=v._ease._calcEnd?v._ease.getRatio(0):0,(0!==w||0===x&&y>0)&&(s="onReverseComplete",r=v._reversed),n>-aJ?n=0:0>n&&(v._active=!1,0===x&&(v._initted||!v.vars.lazy||q)&&(y>=0&&(y!==aJ||"isPause"!==v.data)&&(q=!0),v._rawPrevTime=u=!p||n||y===n?n:aJ)),(!v._initted||v._startAt&&v._startAt.progress())&&(q=!0)}else{if(v._totalTime=v._time=n,v._easeType){var z=n/x,A=v._easeType,B=v._easePower;(1===A||3===A&&z>=0.5)&&(z=1-z),3===A&&(z*=2),1===B?z*=z:2===B?z*=z*z:3===B?z*=z*z*z:4===B&&(z*=z*z*z*z),v.ratio=1===A?1-z:2===A?z:0.5>n/x?z/2:1-z/2}else{v.ratio=v._ease.getRatio(n/x)}}}if(v._time!==w||q){if(!v._initted){if(v._init(),!v._initted||v._gc){return}if(!q&&v._firstPT&&(v.vars.lazy!==!1&&v._duration||v.vars.lazy&&!v._duration)){return v._time=v._totalTime=w,v._rawPrevTime=y,aE.push(v),void (v._lazy=[n,p])}v._time&&!r?v.ratio=v._ease.getRatio(v._time/x):r&&v._ease._calcEnd&&(v.ratio=v._ease.getRatio(0===v._time?0:1))}for(v._lazy!==!1&&(v._lazy=!1),v._active||!v._paused&&v._time!==w&&n>=0&&(v._active=!0),0===w&&(v._startAt&&(n>=0?v._startAt.render(n,!0,q):s||(s="_dummyGS")),v.vars.onStart&&(0!==v._time||0===x)&&(p||v._callback("onStart"))),t=v._firstPT;t;){t.f?t.t[t.p](t.c*v.ratio+t.s):t.t[t.p]=t.c*v.ratio+t.s,t=t._next}v._onUpdate&&(0>n&&v._startAt&&n!==-0.0001&&v._startAt.render(n,!0,q),p||(v._time!==w||r||q)&&v._callback("onUpdate")),s&&(!v._gc||q)&&(0>n&&v._startAt&&!v._onUpdate&&n!==-0.0001&&v._startAt.render(n,!0,q),r&&(v._timeline.autoRemoveChildren&&v._enabled(!1,!1),v._active=!1),!p&&v.vars[s]&&v._callback(s),0===x&&v._rawPrevTime===aJ&&u!==aJ&&(v._rawPrevTime=0))}},az._kill=function(o,p,q){if("all"===o&&(o=null),null==o&&(null==p||p===this.target)){return this._lazy=!1,this._enabled(!1,!1)}p="string"!=typeof p?p||this._targets||this.target:ay.selector(p)||p;var r,s,t,u,v,w,x,y,z,A=q&&this._time&&q._startTime===this._startTime&&this._timeline===q._timeline,B=this._firstPT;if((aP(p)||aA(p))&&"number"!=typeof p[0]){for(r=p.length;--r>-1;){this._kill(o,p[r],q)&&(w=!0)}}else{if(this._targets){for(r=this._targets.length;--r>-1;){if(p===this._targets[r]){v=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[r]=o?this._overwrittenProps[r]||{}:"all";break}}}else{if(p!==this.target){return !1}v=this._propLookup,s=this._overwrittenProps=o?this._overwrittenProps||{}:"all"}if(v){if(x=o||v,y=o!==s&&"all"!==s&&o!==v&&("object"!=typeof o||!o._tempKill),q&&(ay.onOverwrite||this.vars.onOverwrite)){for(t in x){v[t]&&(z||(z=[]),z.push(t))}if((z||!o)&&!ai(this,q,p,z)){return !1}}for(t in x){(u=v[t])&&(A&&(u.f?u.t[u.p](u.s):u.t[u.p]=u.s,w=!0),u.pg&&u.t._kill(x)&&(w=!0),u.pg&&0!==u.t._overwriteProps.length||(u._prev?u._prev._next=u._next:u===this._firstPT&&(this._firstPT=u._next),u._next&&(u._next._prev=u._prev),u._next=u._prev=null),delete v[t]),y&&(s[t]=1)}!this._firstPT&&this._initted&&B&&this._enabled(!1,!1)}}return w},az.invalidate=function(){this._notifyPluginsOfEnabled&&ay._onPluginEvent("_onDisable",this);var b=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],aq.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-aJ,this.render(b,!1,this.vars.lazy!==!1)),this},az._enabled=function(e,f){if(aD||aB.wake(),e&&this._gc){var g,h=this._targets;if(h){for(g=h.length;--g>-1;){this._siblings[g]=af(h[g],this,!0)}}else{this._siblings=af(this.target,this,!0)}}return aq.prototype._enabled.call(this,e,f),this._notifyPluginsOfEnabled&&this._firstPT?ay._onPluginEvent(e?"_onEnable":"_onDisable",this):!1},ay.to=function(d,e,f){return new ay(d,e,f)},ay.from=function(d,e,f){return f.runBackwards=!0,f.immediateRender=0!=f.immediateRender,new ay(d,e,f)},ay.fromTo=function(e,f,g,h){return h.startAt=g,h.immediateRender=0!=h.immediateRender&&0!=g.immediateRender,new ay(e,f,h)},ay.delayedCall=function(f,g,h,i,j){return new ay(g,0,{delay:f,onComplete:g,onCompleteParams:h,callbackScope:i,onReverseComplete:g,onReverseCompleteParams:h,immediateRender:!1,lazy:!1,useFrames:j,overwrite:0})},ay.set=function(c,d){return new ay(c,0,d)},ay.getTweensOf=function(g,h){if(null==g){return[]}g="string"!=typeof g?g:ay.selector(g)||g;var i,j,k,l;if((aP(g)||aA(g))&&"number"!=typeof g[0]){for(i=g.length,j=[];--i>-1;){j=j.concat(ay.getTweensOf(g[i],h))}for(i=j.length;--i>-1;){for(l=j[i],k=i;--k>-1;){l===j[k]&&j.splice(i,1)}}}else{if(g._gsTweenID){for(j=af(g).concat(),i=j.length;--i>-1;){(j[i]._gc||h&&!j[i].isActive())&&j.splice(i,1)}}}return j||[]},ay.killTweensOf=ay.killDelayedCallsTo=function(f,g,h){"object"==typeof g&&(h=g,g=!1);for(var i=ay.getTweensOf(f,g),j=i.length;--j>-1;){i[j]._kill(h,f)}};var ar=aX("plugins.TweenPlugin",function(c,d){this._overwriteProps=(c||"").split(","),this._propName=this._overwriteProps[0],this._priority=d||0,this._super=ar.prototype},!0);if(az=ar.prototype,ar.version="1.19.0",ar.API=2,az._firstPT=null,az._addTween=aS,az.setRatio=aM,az._kill=function(e){var f,g=this._overwriteProps,h=this._firstPT;if(null!=e[this._propName]){this._overwriteProps=[]}else{for(f=g.length;--f>-1;){null!=e[g[f]]&&g.splice(f,1)}}for(;h;){null!=e[h.n]&&(h._next&&(h._next._prev=h._prev),h._prev?(h._prev._next=h._next,h._prev=null):this._firstPT===h&&(this._firstPT=h._next)),h=h._next}return !1},az._mod=az._roundProps=function(d){for(var e,f=this._firstPT;f;){e=d[this._propName]||null!=f.n&&d[f.n.split(this._propName+"_").join("")],e&&"function"==typeof e&&(2===f.f?f.t._applyPT.m=e:f.m=e),f=f._next}},ay._onPluginEvent=function(i,j){var k,l,m,n,o,p=j._firstPT;if("_onInitAllProps"===i){for(;p;){for(o=p._next,l=m;l&&l.pr>p.pr;){l=l._next}(p._prev=l?l._prev:n)?p._prev._next=p:m=p,(p._next=l)?l._prev=p:n=p,p=o}p=j._firstPT=m}for(;p;){p.pg&&"function"==typeof p.t[i]&&p.t[i]()&&(k=!0),p=p._next}return k},ar.activate=function(c){for(var d=c.length;--d>-1;){c[d].API===ar.API&&(aW[(new c[d])._propName]=c[d])}return !0},aV.plugin=function(i){if(!(i&&i.propName&&i.init&&i.API)){throw"illegal plugin definition."}var j,k=i.propName,l=i.priority||0,m=i.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=aX("plugins."+k.charAt(0).toUpperCase()+k.substr(1)+"Plugin",function(){ar.call(this,k,l),this._overwriteProps=m||[]},i.global===!0),p=o.prototype=new ar(k);p.constructor=o,o.API=i.API;for(j in n){"function"==typeof i[j]&&(p[n[j]]=i[j])}return o.version=i.version,ar.activate([o]),o},av=ad._gsQueue){for(ax=0;ax<av.length;ax++){av[ax]()}for(az in aR){aR[az].func||ad.console.log("GSAP encountered missing dependency: "+az)}}aD=!1}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax");