TweenMax.min.js 107 KB

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