var _gsScope;((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var t,l,c,e,w,_,S,x,v,i,y,P,b,T,p,f,g,n;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(n,u,y){var g=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},v=function(t,e,i){var n,o,r=t.cycle;for(n in r)o=r[n],t[n]="function"==typeof o?o(i,e[i]):o[i%o.length];delete t.cycle},b=function(t,e,i){y.call(this,t,e,i),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=b.prototype.render},T=1e-10,_=y._internals,S=_.isSelector,w=_.isArray,t=b.prototype=y.to({},.1,{}),x=[];b.version="2.0.1",t.constructor=b,t.kill()._gc=!1,b.killTweensOf=b.killDelayedCallsTo=y.killTweensOf,b.getTweensOf=y.getTweensOf,b.lagSmoothing=y.lagSmoothing,b.ticker=y.ticker,b.render=y.render,t.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),y.prototype.invalidate.call(this)},t.updateTo=function(t,e){var i,n=this.ratio,o=this.vars.immediateRender||t.immediateRender;for(i in e&&this._startTime>0,0!==this._cycle&&this._cycle===this._totalTime/s&&f<=t&&this._cycle--,this._time=this._totalTime-this._cycle*s,this._yoyo&&0!=(1&this._cycle)&&(this._time=g-this._time,(h=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==h||this._initted?this._yoyoEase=h=!0===h?this._ease:h instanceof Ease?h:Ease.map[h]:(h=this.vars.ease,this._yoyoEase=h=h?h instanceof Ease?h:"function"==typeof h?new Ease(h,this.vars.easeParams):Ease.map[h]||y.defaultEase:y.defaultEase)),this.ratio=h?1-h.getRatio((g-this._time)/g):0)),this._time>g?this._time=g:this._time<0&&(this._time=0)),this._easeType&&!h?(a=this._time/g,(1===(l=this._easeType)||3===l&&.5<=a)&&(a=1-a),3===l&&(a*=2),1===(c=this._easePower)?a*=a:2===c?a*=a*a:3===c?a*=a*a*a:4===c&&(a*=a*a*a*a),1===l?this.ratio=1-a:2===l?this.ratio=a:this._time/g<.5?this.ratio=a/2:this.ratio=1-a/2):h||(this.ratio=this._ease.getRatio(this._time/g))),p!==this._time||i||m!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=p,this._totalTime=f,this._rawPrevTime=v,this._cycle=m,_.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||n||h?n&&this._ease._calcEnd&&!h&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/g)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==p&&0<=t&&(this._active=!0),0===f&&(2===this._initted&&0this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},t.duration=function(t){return arguments.length?n.prototype.duration.call(this,t):this._duration},t.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},t.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},t.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},t.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},b},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(u,h,d){var p=function(t){h.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,i,n=this.vars;for(i in n)e=n[i],g(e)&&-1!==e.join("").indexOf("{self}")&&(n[i]=this._swapSelfInParams(e));g(n.tweens)&&this.add(n.tweens,0,n.align,n.stagger)},m=1e-10,t=d._internals,e=p._internals={},f=t.isSelector,g=t.isArray,v=t.lazyTweens,y=t.lazyRender,s=_gsScope._gsDefine.globals,b=function(t){var e,i={};for(e in t)i[e]=t[e];return i},T=function(t,e,i){var n,o,r=t.cycle;for(n in r)o=r[n],t[n]="function"==typeof o?o(i,e[i]):o[i%o.length];delete t.cycle},r=e.pauseCallback=function(){},_=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},i=p.prototype=new h;return p.version="2.0.1",i.constructor=p,i.kill()._gc=i._forcingPlayhead=i._hasPause=!1,i.to=function(t,e,i,n){var o=i.repeat&&s.TweenMax||d;return e?this.add(new o(t,e,i),n):this.set(t,i,n)},i.from=function(t,e,i,n){return this.add((i.repeat&&s.TweenMax||d).from(t,e,i),n)},i.fromTo=function(t,e,i,n,o){var r=n.repeat&&s.TweenMax||d;return e?this.add(r.fromTo(t,e,i,n),o):this.set(t,n,o)},i.staggerTo=function(t,e,i,n,o,r,s,a){var l,c,u=new p({onComplete:r,onCompleteParams:s,callbackScope:a,smoothChildTiming:this.smoothChildTiming}),h=i.cycle;for("string"==typeof t&&(t=d.selector(t)||t),f(t=t||[])&&(t=_(t)),(n=n||0)<0&&((t=_(t)).reverse(),n*=-1),c=0;ct._startTime;l._timeline;)c&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return this},i.remove=function(t){if(t instanceof u){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?u._rootFramesTimeline:u._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&g(t)){for(var i=t.length;-1<--i;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},i._remove=function(t,e){return h.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},i.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},i.insert=i.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},i.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},i.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},i.addPause=function(t,e,i,n){var o=d.delayedCall(0,r,i,n||this);return o.vars.onComplete=o.vars.onReverseComplete=e,o.data="isPause",this._hasPause=!0,this.add(o,t)},i.removeLabel=function(t){return delete this._labels[t],this},i.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},i._parseTimeOrLabel=function(t,e,i,n){var o,r;if(n instanceof u&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&g(n)))for(r=n.length;-1<--r;)n[r]instanceof u&&n[r].timeline===this&&this.remove(n[r]);if(o="number"!=typeof t||e?99999999999m&&(s="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:m,t=h+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==u||0===this._duration&&this._rawPrevTime!==m&&(0=t&&!l;)n._duration||"isPause"===n.data&&0this._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,i),l=l._prev;l=null,this.pause()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)}n=r}this._onUpdate&&(e||(v.length&&y(),this._callback("onUpdate"))),s&&(this._gc||(d===this._startTime||p!==this._timeScale)&&(0===this._time||h>=this.totalDuration())&&(o&&(v.length&&y(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s)))}},i._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof p&&t._hasPausedChild())return!0;t=t._next}return!1},i.getChildren=function(t,e,i,n){n=n||-9999999999;for(var o=[],r=this._first,s=0;r;)r._startTime=i&&(o._startTime+=t),o=o._next;if(e)for(n in r)r[n]>=i&&(r[n]+=t);return this._uncache(!0)},i._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,o=!1;-1<--n;)i[n]._kill(t,e)&&(o=!0);return o},i.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;-1<--i;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},i.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return u.prototype.invalidate.call(this)},i._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return h.prototype._enabled.call(this,t,e)},i.totalTime=function(t,e,i){this._forcingPlayhead=!0;var n=u.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},i.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},i.totalDuration=function(t){if(arguments.length)return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this;if(this._dirty){for(var e,i,n=0,o=this._last,r=999999999999;o;)e=o._prev,o._dirty&&o.totalDuration(),o._startTime>r&&this._sortChildren&&!o._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(o,o._startTime-o._delay),this._calculatingDuration=0):r=o._startTime,o._startTime<0&&!o._paused&&(n-=o._startTime,this._timeline.smoothChildTiming&&(this._startTime+=o._startTime/this._timeScale,this._time-=o._startTime,this._totalTime-=o._startTime,this._rawPrevTime-=o._startTime),this.shiftChildren(-o._startTime,!1,-9999999999),r=0),n<(i=o._startTime+o._totalDuration/o._timeScale)&&(n=i),o=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration},i.paused=function(t){if(!t)for(var e=this._first,i=this._time;e;)e._startTime===i&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return u.prototype.paused.apply(this,arguments)},i.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===u._rootFramesTimeline},i.rawTime=function(t){return t&&(this._paused||this._repeat&&0>0,0!==this._cycle&&this._cycle===this._totalTime/l&&f<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=p-this._time),this._time>p?t=(this._time=p)+1e-4:this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if(h<=(t=this._time)||this._repeat&&b!==this._cycle)for(n=this._first;n&&n._startTime<=t&&!c;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(c=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!c;)n._duration||"isPause"===n.data&&0this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,i),c=c._prev;c=null,this.pause()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)}n=r}this._onUpdate&&(e||(C.length&&k(),this._callback("onUpdate"))),s&&(this._locked||this._gc||(m===this._startTime||g!==this._timeScale)&&(0===this._time||d>=this.totalDuration())&&(o&&(C.length&&k(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s)))}else f!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},o.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,o,r=[],s=this.getChildren(t,e,i),a=0,l=s.length;for(n=0;nt)return i[e].name;return null},o.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;-1<--i;)if(e[i].timethis._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},o.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},o.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},o.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},o.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},i},!0),w=180/Math.PI,_=[],S=[],x=[],v={},i=_gsScope._gsDefine.globals,y=function(t,e,i,n){i===n&&(i=n-(n-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},P=function(t,e,i,n){var o={a:t},r={},s={},a={c:n},l=(t+e)/2,c=(e+i)/2,u=(i+n)/2,h=(l+c)/2,d=(c+u)/2,p=(d-h)/8;return o.b=l+(t-l)/4,r.b=h+p,o.c=r.a=(o.b+r.b)/2,r.c=s.a=(h+d)/2,s.b=d-p,a.b=u+(n-u)/4,s.c=a.a=(s.b+a.b)/2,[o,r,s,a]},b=function(t,e,i,n,o){var r,s,a,l,c,u,h,d,p,f,m,g,v,y=t.length-1,b=0,T=t[0].a;for(r=0;r>0||6)-1,h=[],d=[];for(i in t)f(t[i],s,e);for(o=s.length,n=0;n>0]=d,a[r]=c,l=0,d=[]);return{length:c,lengths:a,segments:h}}(this._beziers,this._timeRes);this._length=d.length,this._lengths=d.lengths,this._segments=d.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(h=this._autoRotate)for(this._initialRotations=[],h[0]instanceof Array||(this._autoRotate=h=[h]),r=h.length;-1<--r;){for(s=0;s<3;s++)n=h[r][s],this._func[n]="function"==typeof t[n]&&t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)];n=h[r][2],this._initialRotations[r]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,n,o,r,s,a,l,c,u,h=this._segCount,d=this._func,p=this._target,f=t!==this._startRatio;if(this._timeRes){if(c=this._lengths,u=this._curSeg,t*=this._length,n=this._li,t>this._l2&&n=t;);0===n&&tthis._s2&&n=t;);0===n&&t>0)*(1/h))*h;for(i=1-s,n=this._props.length;-1<--n;)o=this._props[n],a=(s*s*(r=this._beziers[o][e]).da+3*i*(s*r.ca+i*r.ba))*s+r.a,this._mod[o]&&(a=this._mod[o](a,p)),d[o]?p[o](a):p[o]=a;if(this._autoRotate){var m,g,v,y,b,T,_,S=this._autoRotate;for(n=S.length;-1<--n;)o=S[n][2],T=S[n][3]||0,_=!0===S[n][4]?1:w,r=this._beziers[S[n][0]],m=this._beziers[S[n][1]],r&&m&&(r=r[e],m=m[e],g=r.a+(r.b-r.a)*s,g+=((y=r.b+(r.c-r.b)*s)-g)*s,y+=(r.c+(r.d-r.c)*s-y)*s,v=m.a+(m.b-m.a)*s,v+=((b=m.b+(m.c-m.b)*s)-v)*s,b+=(m.c+(m.d-m.c)*s-b)*s,a=f?Math.atan2(b-v,y-g)*_+T:this._initialRotations[n],this._mod[o]&&(a=this._mod[o](a,p)),d[o]?p[o](a):p[o]=a)}}}),n=g.prototype,g.bezierThrough=p,g.cubicToQuadratic=P,g._autoCSS=!0,g.quadraticToCubic=function(t,e,i){return new y(t,(2*e+t)/3,(2*e+i)/3,i)},g._cssRegister=function(){var t=i.CSSPlugin;if(t){var e=t._internals,p=e._parseToProxy,f=e._setPluginRatio,m=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,i,n,o,r){e instanceof Array&&(e={values:e}),r=new g;var s,a,l,c=e.values,u=c.length-1,h=[],d={};if(u<0)return o;for(s=0;s<=u;s++)l=p(t,c[s],n,o,r,u!==s),h[s]=l.end;for(a in e)d[a]=e[a];return d.values=h,(o=new m(t,"bezier",0,0,l.pt,2)).data=l,o.plugin=r,o.setRatio=f,0===d.autoRotate&&(d.autoRotate=!0),!d.autoRotate||d.autoRotate instanceof Array||(s=!0===d.autoRotate?0:Number(d.autoRotate),d.autoRotate=null!=l.end.left?[["left","top","rotation",s,!1]]:null!=l.end.x&&[["x","y","rotation",s,!1]]),d.autoRotate&&(n._transform||n._enableTransforms(!1),l.autoRotate=n._target._gsTransform,l.proxy.rotation=l.autoRotate.rotation||0,n._overwriteProps.push("rotation")),r._onInitTween(l.proxy,d,n._tween),o}})}},n._mod=function(t){for(var e,i=this._overwriteProps,n=i.length;-1<--n;)(e=t[i[n]])&&"function"==typeof e&&(this._mod[i[n]]=e)},n._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;-1<--i;)n[i]===e&&n.splice(i,1);if(n=this._autoRotate)for(i=n.length;-1<--i;)t[n[i][2]]&&n.splice(i,1);return this._super._kill.call(this,t)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(r,G){var f,x,A,m,j=function(){r.call(this,"css"),this._overwriteProps.length=0,this.setRatio=j.prototype.setRatio},c=_gsScope._gsDefine.globals,g={},t=j.prototype=new r("css");(t.constructor=j).version="1.20.5",j.API=2,j.defaultTransformPerspective=0,j.defaultSkewType="compensated",j.defaultSmoothOrigin=!0,t="px",j.suffixMap={top:t,right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};var C,v,y,$,b,P,k,E,e,i,M=/(?:\-|\.|\b)(\d|\.|e\-)+/g,I=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,T=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,u=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,O=/(?:\d|\-|\+|=|#|\.)*/g,L=/opacity *=*([^)]*)/i,_=/opacity:([^;]*)/i,s=/alpha\(opacity *=.+?\)/i,S=/^(rgb|hsl)/,a=/([A-Z])/g,l=/-([a-z])/gi,w=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,h=function(t,e){return e.toUpperCase()},p=/(?:Left|Right|Width)/i,d=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,D=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,H=/,(?=[^\)]*(?:\(|$))/gi,R=/[\s,\(]/i,F=Math.PI/180,V=180/Math.PI,B={},n={style:{}},N=_gsScope.document||{createElement:function(){return n}},z=function(t,e){return N.createElementNS?N.createElementNS(e||"http://www.w3.org/1999/xhtml",t):N.createElement(t)},W=z("div"),U=z("img"),o=j._internals={_specialProps:g},q=(_gsScope.navigator||{}).userAgent||"",X=(e=q.indexOf("Android"),i=z("a"),y=-1!==q.indexOf("Safari")&&-1===q.indexOf("Chrome")&&(-1===e||3>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),pt[t])i=pt[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(n=t.charAt(1))+n+(o=t.charAt(2))+o+(r=t.charAt(3))+r),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=d=t.match(M),e){if(-1!==t.indexOf("="))return t.match(I)}else s=Number(i[0])%360/360,a=Number(i[1])/100,n=2*(l=Number(i[2])/100)-(o=l<=.5?l*(a+1):l+a-l*a),3n--)for(;++nn--)for(;++n>0];return n.parse(t,s,o,r)}},Tt=(o._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,o,r,s=this.data,a=s.proxy,l=s.firstMPT;l;)e=a[l.v],l.r?e=l.r(e):e<1e-6&&-1e-6a.length?l.length:a.length,s=0;sr.pr;)s=s._next;(r._prev=s?s._prev:l)?r._prev._next=r:a=r,(r._next=s)?s._prev=r:l=r,r=c}this._firstPT=a}return!0},t.parse=function(t,e,i,n){var o,r,s,a,l,c,u,h,d,p,f=t.style;for(o in e){if("function"==typeof(c=e[o])&&(c=c(E,k)),r=g[o])i=r.parse(t,c,o,this,i,n,e);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(o)+"",c+"",o,!1,o);continue}l=et(t,o,A)+"",d="string"==typeof c,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||d&&S.test(c)?(d||(c=(3<(c=mt(c)).length?"rgba(":"rgb(")+c.join(",")+")"),i=wt(f,o,l,c,!0,"transparent",i,0,n)):d&&R.test(c)?i=wt(f,o,l,c,!0,null,i,0,n):(u=(s=parseFloat(l))||0===s?l.substr((s+"").length):"",(""===l||"auto"===l)&&(u="width"===o||"height"===o?(s=lt(t,o,A),"px"):"left"===o||"top"===o?(s=nt(t,o,A),"px"):(s="opacity"!==o?0:1,"")),""===(h=(p=d&&"="===c.charAt(1))?(a=parseInt(c.charAt(0)+"1",10),c=c.substr(2),a*=parseFloat(c),c.replace(O,"")):(a=parseFloat(c),d?c.replace(O,""):""))&&(h=o in x?x[o]:u),c=a||0===a?(p?a+s:a)+h:e[o],u!==h&&(""!==h||"lineHeight"===o)&&(a||0===a)&&s&&(s=it(t,o,s,u),"%"===h?(s/=it(t,o,100,"%")/100,!0!==e.strictUnits&&(l=s+"%")):"em"===h||"rem"===h||"vw"===h||"vh"===h?s/=it(t,o,1,h):"px"!==h&&(a=it(t,o,a,h),h="px"),p&&(a||0===a)&&(c=a+s+h)),p&&(a+=s),!s&&0!==s||!a&&0!==a?void 0!==f[o]&&(c||c+""!="NaN"&&null!=c)?(i=new _t(f,o,a||s||0,0,i,-1,o,!1,0,l,c)).xs0="none"!==c||"display"!==o&&-1===o.indexOf("Style")?c:l:K("invalid "+o+" tween value: "+e[o]):(i=new _t(f,o,s,a-s,i,0,o,!1!==C&&("px"===h||"zIndex"===o),0,l,c)).xs0=h)}n&&i&&!i.plugin&&(i.plugin=n)}return i},t.setRatio=function(t){var e,i,n,o=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;o;){if(e=o.c*t+o.s,o.r?e=o.r(e):e<1e-6&&-1e-6this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},f.ease=new f(.7,.7),m.config=f.config=function(t,e,i){return new f(t,e,i)},(m=(i=l("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new g).constructor=i,m.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},m.config=i.config=function(t,e){return new i(t,e)},(m=(n=l("easing.ExpoScaleEase",function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i},!0)).prototype=new g).constructor=n,m.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},m.config=n.config=function(t,e,i){return new n(t,e,i)},(m=(e=l("easing.RoughEase",function(t){for(var e,i,n,o,r,s,a=(t=t||{}).taper||"none",l=[],c=0,u=0|(t.points||20),h=u,d=!1!==t.randomize,p=!0===t.clamp,f=t.template instanceof g?t.template:null,m="number"==typeof t.strength?.4*t.strength:.4;-1<--h;)e=d?Math.random():1/u*h,i=f?f.getRatio(e):e,n="none"===a?m:"out"===a?(o=1-e)*o*m:"in"===a?e*e*m:(o=e<.5?2*e:2*(1-e))*o*.5*m,d?i+=Math.random()*n-.5*n:h%2?i+=.5*n:i-=.5*n,p&&(1e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},m.config=function(t){return new e(t)},e.ease=new e,h("Bounce",c("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),c("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),c("BounceInOut",function(t){var e=t<.5;return t=(t=e?1-2*t:2*t-1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),h("Circ",c("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),c("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),c("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),h("Elastic",(t=function(t,e,i){var n=l("easing."+t,function(t,e){this._p1=1<=t?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/s*(Math.asin(1/this._p1)||0),this._p2=s/this._p2},!0),o=n.prototype=new g;return o.constructor=n,o.getRatio=e,o.config=function(t,e){return new n(t,e)},n})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),t("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),t("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),h("Expo",c("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),c("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),c("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),h("Sine",c("SineOut",function(t){return Math.sin(t*a)}),c("SineIn",function(t){return 1-Math.cos(t*a)}),c("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(t){return g.map[t]}},!0),u(o.SlowMo,"SlowMo","ease,"),u(e,"RoughEase","ease,"),u(i,"SteppedEase","ease,"),p},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(d,p){"use strict";var f={},n=d.document,m=d.GreenSockGlobals=d.GreenSockGlobals||d,t=m[p];if(t)return"undefined"!=typeof module&&module.exports&&(module.exports=t);var e,i,o,g,v,r,s,y=function(t){var e,i=t.split("."),n=m;for(e=0;e=i&&tthis._duration?this._duration:t,e)):this._time},o.totalTime=function(t,e,i){if(v||g.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,o=this._timeline;if(nr;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=o,this._recent=t,this._timeline&&this._uncache(!0),this},o._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},o.render=function(t,e,i){var n,o=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;o;)n=o._next,(o._active||t>=o._startTime&&!o._paused&&!o._gc)&&(o._reversed?o.render((o._dirty?o.totalDuration():o._totalDuration)-(t-o._startTime)*o._timeScale,e,i):o.render((t-o._startTime)*o._timeScale,e,i)),o=n},o.rawTime=function(){return v||g.wake(),this._totalTime};var H=x("TweenLite",function(t,e,i){if(O.call(this,e,i),this.render=H.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:H.selector(t)||t;var n,o,r,s=t.jquery||t.length&&t!==d&&t[0]&&(t[0]===d||t[0].nodeType&&t[0].style&&!t.nodeType),a=this.vars.overwrite;if(this._overwrite=a=null==a?Y[H.defaultOverwrite]:"number"==typeof a?a>>0:Y[a],(s||t instanceof Array||t.push&&_(t))&&"number"!=typeof t[0])for(this._targets=r=l(t),this._propLookup=[],this._siblings=[],n=0;n=Z){for(i in Z=g.frame+(parseInt(H.autoSleep,10)||120),U){for(t=(e=U[i].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete U[i]}if((!(i=Q._first)||i._paused)&&H.autoSleep&&!K._first&&1===g._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||g.sleep()}}},g.addEventListener("tick",O._updateRoot);var tt=function(t,e,i){var n,o,r=t._gsTweenID;if(U[r||(t._gsTweenID=r="t"+q++)]||(U[r]={target:t,tweens:[]}),e&&((n=U[r].tweens)[o=n.length]=e,i))for(;-1<--o;)n[o]===e&&n.splice(o,1);return U[r].tweens},et=function(t,e,i,n){var o,r,s=t.vars.onOverwrite;return s&&(o=s(t,e,i,n)),(s=H.onOverwrite)&&(r=s(t,e,i,n)),!1!==o&&!1!==r},it=function(t,e,i,n,o){var r,s,a,l;if(1===n||4<=n){for(l=o.length,r=0;ru&&((p||!a._initted)&&u-a._startTime<=2e-10||(h[d++]=a)));for(r=d;-1<--r;)if(a=h[r],2===n&&a._kill(i,t,e)&&(s=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!et(a,e))continue;a._enabled(!1,!1)&&(s=!0)}return s},nt=function(t,e,i){for(var n=t._timeline,o=n._timeScale,r=t._startTime;n._timeline;){if(r+=n._startTime,o*=n._timeScale,n._paused)return-100;n=n._timeline}return e<(r/=o)?r-e:i&&r===e||!t._initted&&r-e<2*b?b:(r+=t.totalDuration()/t._timeScale/o)>e+b?0:r-e-b};o._init=function(){var t,e,i,n,o,r,s=this.vars,a=this._overwrittenProps,l=this._duration,c=!!s.immediateRender,u=s.ease;if(s.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),o={},s.startAt)o[n]=s.startAt[n];if(o.data="isStart",o.overwrite=!1,o.immediateRender=!0,o.lazy=c&&!1!==s.lazy,o.startAt=o.delay=null,o.onUpdate=s.onUpdate,o.onUpdateParams=s.onUpdateParams,o.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=H.to(this.target||{},0,o),c)if(0a.pr;)n=n._next;(a._prev=n?n._prev:r)?a._prev._next=a:o=a,(a._next=n)?n._prev=a:r=a,a=s}a=e._firstPT=o}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},ot.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===ot.API&&(W[(new t[e])._propName]=t[e]);return!0},a.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,o=t.overwriteProps,r={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=x("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){ot.call(this,i,n),this._overwriteProps=o||[]},!0===t.global),a=s.prototype=new ot(i);for(e in(a.constructor=s).API=t.API,r)"function"==typeof t[e]&&(a[r[e]]=t[e]);return s.version=t.version,ot.activate([s]),s},e=d._gsQueue){for(i=0;i length cannot be measured accurately when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),e*=(c+u)/2,t.style.strokeDasharray=o;else if("rect"===l)e=2*i.width*c+2*i.height*u;else if("line"===l)e=h(t.getAttribute("x1"),t.getAttribute("y1"),t.getAttribute("x2"),t.getAttribute("y2"),c,u);else if("polyline"===l||"polygon"===l)for(n=t.getAttribute("points").match(f)||[],"polygon"===l&&n.push(n[0],n[1]),e=0,r=2;r":">")}},n=t.SplitText=o.SplitText=function(t,e){if("string"==typeof t&&(t=n.selector(t)),!t)throw"cannot split a null element.";this.elements=s(t)?function(t){var e,i,n,o=[],r=t.length;for(e=0;eA&&"BR"!==u.nodeName&&(p=[],D.push(p),_=y),B&&(u._x=u.offsetLeft,u._y=y,u._w=u.offsetWidth,u._h=u.offsetHeight),D&&((u._isSplit&&d||!R&&d||H&&d||!H&&u.parentNode.parentNode===t&&!u.parentNode._isSplit)&&(p.push(u),u._x-=T,U(u,t,I)&&(u._wordEnd=!0)),"BR"===u.nodeName&&u.nextSibling&&"BR"===u.nextSibling.nodeName&&D.push([])));for(a=0;at.clientHeight&&(t.style.height=s-x+"px",t.clientHeightt.clientWidth&&(t.style.width=r-P+"px",t.clientWidth":"",T=!0,_=j.createElement("div"),S=t.parentNode;for(S.insertBefore(_,t),_.textContent=t.nodeValue,S.removeChild(t),u=-1!==(o=w(t=_)).indexOf("<"),!1!==e.reduceWhiteSpace&&(o=o.replace(P," ").replace(x,"")),u&&(o=o.split("<").join("{{LT}}")),l=o.length,r=(" "===o.charAt(0)?y:"")+i(),s=0;s":"{{LT}}",s+=5):55296<=c.charCodeAt(0)&&c.charCodeAt(0)<=56319||65024<=o.charCodeAt(s+1)&&o.charCodeAt(s+1)<=65039?(h=A(o.substr(s,2)),d=A(o.substr(s+2,2)),a=127462<=h&&h<=127487&&127462<=d&&d<=127487||127995<=d&&d<=127999?4:2,r+=m&&" "!==c?n()+o.substr(s,a)+"":o.substr(s,a),s+=a-1):r+=m&&" "!==c?n()+c+"":c;t.outerHTML=r+(T?b:""),u&&V(S,"{{LT}}","<")}(t,e,i,n)},e=n.prototype;e.split=function(t){this.isSplit&&this.revert(),this.vars=t=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e,i,n,o=this.elements.length,r=t.span?"span":"div",s=("absolute"===t.position||t.absolute,l(t.wordsClass,r)),a=l(t.charsClass,r);-1<--o;)n=this.elements[o],this._originals[o]=n.innerHTML,e=n.clientHeight,i=n.clientWidth,h(n,t,s,a),u(n,t,this.chars,this.words,this.lines,i,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var t=this._originals.length;-1<--t;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},n.selector=i.$||i.jQuery||function(t){var e=i.$||i.jQuery;return e?(n.selector=e)(t):"undefined"==typeof document?t:document.querySelectorAll?document.querySelectorAll(t):document.getElementById("#"===t.charAt(0)?t.substr(1):t)},n.version="0.5.7"}(_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).SplitText};"undefined"!=typeof module&&module.exports?module.exports=e():"function"==typeof define&&define.amd&&define([],e)}(),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var s=(_gsScope.document||{}).documentElement,a=_gsScope,l=function(t,e){var i="x"===e?"Width":"Height",n="scroll"+i,o="client"+i,r=document.body;return t===a||t===s||t===r?Math.max(s[n],r[n])-(a["inner"+i]||s[o]||r[o]):t[n]-t["offset"+i]},c=function(t,e){var i="scroll"+("x"===e?"Left":"Top");return t===a&&(null!=t.pageXOffset?i="page"+e.toUpperCase()+"Offset":t=null!=s[i]?s:document.body),function(){return t[i]}},o=function(t,e){var i=function(t){return"string"==typeof t&&(t=TweenLite.selector(t)),t.length&&t!==a&&t[0]&&t[0].style&&!t.nodeType&&(t=t[0]),t===a||t.nodeType&&t.style?t:null}(t).getBoundingClientRect(),n=!e||e===a||e===document.body,o=(n?s:e).getBoundingClientRect(),r={x:i.left-o.left,y:i.top-o.top};return!n&&e&&(r.x+=c(e,"x")(),r.y+=c(e,"y")()),r},n=function(t,e,i){var n=typeof t;return isNaN(t)?"number"==n||"string"==n&&"="===t.charAt(1)?t:"max"===t?l(e,i):Math.min(l(e,i),o(t,e)[i]):parseFloat(t)},u=_gsScope._gsDefine.plugin({propName:"scrollTo",API:2,global:!0,version:"1.9.0",init:function(t,e,i){return this._wdw=t===a,this._target=t,this._tween=i,"object"!=typeof e?"string"==typeof(e={y:e}).y&&"max"!==e.y&&"="!==e.y.charAt(1)&&(e.x=e.y):e.nodeType&&(e={y:e,x:e}),this.vars=e,this._autoKill=!1!==e.autoKill,this.getX=c(t,"x"),this.getY=c(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=e.x?(this._addTween(this,"x",this.x,n(e.x,t,"x")-(e.offsetX||0),"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=e.y?(this._addTween(this,"y",this.y,n(e.y,t,"y")-(e.offsetY||0),"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(t){this._super.setRatio.call(this,t);var e=this._wdw||!this.skipX?this.getX():this.xPrev,i=this._wdw||!this.skipY?this.getY():this.yPrev,n=i-this.yPrev,o=e-this.xPrev,r=u.autoKillThreshold;this.x<0&&(this.x=0),this.y<0&&(this.y=0),this._autoKill&&(!this.skipX&&(r')},addLoading:function(t){f(t.loadingParentElement).append('
'+t.loadingInner+"
")},removeLoading:function(){var t=f(this).data(m).options;f(t.loadingParentElement).children("."+t.loadingClass).fadeOut().remove()},addTimer:function(){var t=this,e=f(this).data(m).options;g.settings.timer=setTimeout(function(){g.in.call(t),f(window).off("load."+m)},e.timeoutCountdown)},supportCheck:function(t){var e=f(this),i=t.browser,n=i.length,o=!1;0===n&&(o=!0);for(var r=0;rSUBDIVISION_PRECISION&&++a