if(function(t){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],t):t(jQuery)}(function(t){var e="left",i="right",n="up",r="down",s="in",a="out",o="none",l="auto",h="swipe",u="pinch",p="tap",f="doubletap",c="longtap",d="horizontal",_="vertical",g="all",m=10,v="start",x="move",y="end",w="cancel",T="ontouchstart"in window,b=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,P=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,S="TouchSwipe";t.fn.swipetp=function(O){var k=t(this),C=k.data(S);if(C&&"string"==typeof O){if(C[O])return C[O].apply(this,Array.prototype.slice.call(arguments,1));t.error("Method "+O+" does not exist on jQuery.swipetp")}else if(!(C||"object"!=typeof O&&O))return function(O){!O||void 0!==O.allowPageScroll||void 0===O.swipe&&void 0===O.swipeStatus||(O.allowPageScroll=o);void 0!==O.click&&void 0===O.tap&&(O.tap=O.click);O||(O={});return O=t.extend({},t.fn.swipetp.defaults,O),this.each(function(){var k=t(this),C=k.data(S);C||(C=new function(O,k){var C=T||P||!k.fallbackToMouseEvents,A=C?P?b?"MSPointerDown":"pointerdown":"touchstart":"mousedown",R=C?P?b?"MSPointerMove":"pointermove":"touchmove":"mousemove",M=C?P?b?"MSPointerUp":"pointerup":"touchend":"mouseup",E=C?null:"mouseleave",D=P?b?"MSPointerCancel":"pointercancel":"touchcancel",L=0,N=null,F=0,I=0,X=0,z=1,B=0,j=0,Y=null,V=t(O),G="start",W=0,q=null,U=0,Q=0,H=0,Z=0,$=0,K=null,J=null;try{V.bind(A,tt),V.bind(D,nt)}catch(e){t.error("events not supported "+A+","+D+" on jQuery.swipetp")}function tt(s){if(!0!==V.data(S+"_intouch")&&!(t(s.target).closest(k.excludedElements,V).length>0)){var a,o,l=s.originalEvent?s.originalEvent:s,h=l.touches,u=h?h[0]:l;return G=v,h?W=h.length:s.preventDefault(),L=0,N=null,j=null,F=0,I=0,X=0,z=1,B=0,q=function(){for(var t=[],e=0;e<=5;e++)t.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0});return t}(),(o={})[e]=At(e),o[i]=At(i),o[n]=At(n),o[r]=At(r),Y=o,bt(),!h||W===k.fingers||k.fingers===g||ct()?(Ot(0,u),U=Et(),2==W&&(Ot(1,h[1]),I=X=Mt(q[0].start,q[1].start)),(k.swipeStatus||k.pinchStatus)&&(a=ot(l,G))):a=!1,!1===a?(ot(l,G=w),a):(k.hold&&(J=setTimeout(t.proxy(function(){V.trigger("hold",[l.target]),k.hold&&(a=k.hold.call(V,l,l.target))},this),k.longTapThreshold)),St(!0),null)}}function et(h){var u,p,f,c,m,v,T=h.originalEvent?h.originalEvent:h;if(G!==y&&G!==w&&!Pt()){var b,P,S,O,C,A,R,M,E,D,V,U,H=T.touches,Z=H?H[0]:T,$=kt(Z);if(Q=Et(),H&&(W=H.length),k.hold&&clearTimeout(J),G=x,2==W&&(0==I?(Ot(1,H[1]),I=X=Mt(q[0].start,q[1].start)):(kt(H[1]),X=Mt(q[0].end,q[1].end),q[0].end,q[1].end,j=z<1?a:s),z=(X/I*1).toFixed(2),B=Math.abs(I-X)),W===k.fingers||k.fingers===g||!H||ct()){if(D=$.start,V=$.end,u=D,p=V,f=u.x-p.x,c=p.y-u.y,m=Math.atan2(c,f),v=Math.round(180*m/Math.PI),v<0&&(v=360-Math.abs(v)),U=v,function(t,s){if(!1!==k.preventDefaultEvents)if(k.allowPageScroll===o)t.preventDefault();else{var a=k.allowPageScroll===l;switch(s){case e:(k.swipeLeft&&a||!a&&k.allowPageScroll!=d)&&t.preventDefault();break;case i:(k.swipeRight&&a||!a&&k.allowPageScroll!=d)&&t.preventDefault();break;case n:(k.swipeUp&&a||!a&&k.allowPageScroll!=_)&&t.preventDefault();break;case r:(k.swipeDown&&a||!a&&k.allowPageScroll!=_)&&t.preventDefault()}}}(h,N=U<=45&&U>=0?e:U<=360&&U>=315?e:U>=135&&U<=225?i:U>45&&U<135?r:n),M=$.start,E=$.end,L=Math.round(Math.sqrt(Math.pow(E.x-M.x,2)+Math.pow(E.y-M.y,2))),F=Rt(),A=N,R=L,R=Math.max(R,Ct(A)),Y[A].distance=R,(k.swipeStatus||k.pinchStatus)&&(b=ot(T,G)),!k.triggerOnTouchEnd||k.triggerOnTouchLeave){var K=!0;if(k.triggerOnTouchLeave){var tt={left:(C=(O=t(O=this)).offset()).left,right:C.left+O.outerWidth(),top:C.top,bottom:C.top+O.outerHeight()};P=$.end,S=tt,K=P.x>S.left&&P.xS.top&&P.yk.longTapThreshold&&L=k.threshold),t}function ut(){var t=!1;return null!==k.cancelThreshold&&null!==N&&(t=Ct(N)-L>=k.cancelThreshold),t}function pt(){return!(k.maxTimeThreshold&&F>=k.maxTimeThreshold)}function ft(){var t=vt(),e=xt(),i=null===k.pinchThreshold||B>=k.pinchThreshold;return t&&e&&i}function ct(){return!!(k.pinchStatus||k.pinchIn||k.pinchOut)}function dt(){return!(!ft()||!ct())}function _t(){var t=pt(),e=ht(),i=vt(),n=xt(),r=ut(),s=!r&&n&&i&&e&&t;return s}function gt(){return!!(k.swipe||k.swipeStatus||k.swipeLeft||k.swipeRight||k.swipeUp||k.swipeDown)}function mt(){return!(!_t()||!gt())}function vt(){return W===k.fingers||k.fingers===g||!T}function xt(){return 0!==q[0].end.x}function yt(){return!!k.tap}function wt(){return!!k.doubleTap}function Tt(){if(null==$)return!1;var t=Et();return wt()&&t-$<=k.doubleTapThreshold}function bt(){H=0,Z=0}function Pt(){var t=!1;if(H){var e=Et()-H;e<=k.fingerReleaseThreshold&&(t=!0)}return t}function St(t){!0===t?(V.bind(R,et),V.bind(M,it),E&&V.bind(E,rt)):(V.unbind(R,et,!1),V.unbind(M,it,!1),E&&V.unbind(E,rt,!1)),V.data(S+"_intouch",!0===t)}function Ot(t,e){var i=void 0!==e.identifier?e.identifier:0;return q[t].identifier=i,q[t].start.x=q[t].end.x=e.pageX||e.clientX,q[t].start.y=q[t].end.y=e.pageY||e.clientY,q[t]}function kt(t){var e=void 0!==t.identifier?t.identifier:0,i=function(t){for(var e=0;e-1;)(u=v[n[g]]||new x(n[g],[])).gsClass?(l[g]=u.gsClass,m--):h&&u.sc.push(this);if(0===m&&s){if(c=(p=("com.greensock."+i).split(".")).pop(),d=f(p.join("."))[c]=this.gsClass=s.apply(s,l),o)if(a[c]=r[c]=d,_="undefined"!=typeof module&&module.exports,!_&&"function"==typeof define&&define.amd)define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+i.split(".").pop(),[],function(){return d});else if(_)if(i===e){module.exports=r[e]=d;for(g in r)d[g]=r[g]}else r[e]&&(r[e][c]=d);for(g=0;g-1;)for(s=l[h],r=n?w("easing."+s,null,!0):c.easing[s]||{},a=u.length;--a>-1;)o=u[a],P[s+"."+o]=P[o+s]=r[o]=t.getRatio?t:t[o]||new t};for((h=b.prototype)._calcEnd=!1,h.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:.5>t?n/2:1-n/2},l=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--l>-1;)h=o[l]+",Power"+l,S(new b(null,null,1,l),h,"easeOut",!0),S(new b(null,null,2,l),h,"easeIn"+(0===l?",easeNone":"")),S(new b(null,null,3,l),h,"easeInOut");P.linear=c.easing.Linear.easeIn,P.swing=c.easing.Quad.easeInOut;var O=w("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(h=O.prototype).addEventListener=function(t,e,i,n,r){r=r||0;var s,a,o=this._listeners[t],l=0;for(this!==u||p||u.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;--a>-1;)s=o[a],s.c===e&&s.s===i?o.splice(a,1):0===l&&s.pr-1;)if(n[i].c===e)return void n.splice(i,1)},h.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for(e=r.length,e>1&&(r=r.slice(0)),i=this._eventTarget;--e>-1;)n=r[e],n&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var k=t.requestAnimationFrame,C=t.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},R=A();for(l=(o=["ms","moz","webkit","o"]).length;--l>-1&&!k;)k=t[o[l]+"RequestAnimationFrame"],C=t[o[l]+"CancelAnimationFrame"]||t[o[l]+"CancelRequestAnimationFrame"];w("Ticker",function(t,e){var i,n,r,a,o,l=this,h=A(),f=!(!1===e||!k)&&"auto",c=500,d=33,_=function(t){var e,s,u=A()-R;u>c&&(h+=u-d),R+=u,l.time=(R-h)/1e3,e=l.time-o,(!i||e>0||!0===t)&&(l.frame++,o+=e+(e>=a?.004:a-e),s=!0),!0!==t&&(r=n(_)),s&&l.dispatchEvent("tick")};O.call(l),l.time=l.frame=0,l.tick=function(){_(!0)},l.lagSmoothing=function(t,e){c=t||1e10,d=Math.min(e,c,0)},l.sleep=function(){null!=r&&(f&&C?C(r):clearTimeout(r),n=g,r=null,l===u&&(p=!1))},l.wake=function(t){null!==r?l.sleep():t?h+=-R+(R=A()):l.frame>10&&(R=A()-c+5),n=0===i?g:f&&k?k:function(t){return setTimeout(t,1e3*(o-l.time)+1|0)},l===u&&(p=!0),_(2)},l.fps=function(t){return arguments.length?(a=1/((i=t)||60),o=this.time+a,void l.wake()):i},l.useRAF=function(t){return arguments.length?(l.sleep(),f=t,void l.fps(i)):f},l.fps(t),setTimeout(function(){"auto"===f&&l.frame<5&&"hidden"!==s.visibilityState&&l.useRAF(!1)},1500)}),(h=c.Ticker.prototype=new c.events.EventDispatcher).constructor=c.Ticker;var M=w("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,H){p||u.wake();var i=this.vars.useFrames?Q:H;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});u=M.ticker=new c.Ticker,(h=M.prototype)._dirty=h._gc=h._initted=h._paused=!1,h._totalTime=h._time=0,h._rawPrevTime=-1,h._next=h._last=h._onUpdate=h._timeline=h.timeline=null,h._paused=!1;var E=function(){p&&A()-R>2e3&&u.wake(),setTimeout(E,2e3)};E(),h.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},h.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},h.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},h.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},h.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},h.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},h.render=function(t,e,i){},h.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},h.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t-1;)"{self}"===t[e]&&(i[e]=this);return i},h._callback=function(t){var e=this.vars,i=e[t],n=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(n?n.length:0){case 0:i.call(r);break;case 1:i.call(r,n[0]);break;case 2:i.call(r,n[0],n[1]);break;default:i.apply(r,n)}},h.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},h.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},h.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},h.totalTime=function(t,e,i){if(p||u.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,r=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?n-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(F.length&&$(),this.render(t,e,!1),F.length&&$())}return this},h.progress=h.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},h.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},h.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},h.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||d,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},h.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},h.paused=function(t){if(!arguments.length)return this._paused;var e,i,n=this._timeline;return t!=this._paused&&n&&(p||t||u.wake(),i=(e=n.rawTime())-this._pauseTime,!t&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var D=w("core.SimpleTimeline",function(t){M.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(h=D.prototype=new M).constructor=D,h.kill()._gc=!1,h._first=h._last=h._recent=null,h._sortChildren=!1,h.add=h.insert=function(t,e,i,n){var r,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(s=t._startTime;r&&r._startTime>s;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},h._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},h.render=function(t,e,i){var n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=r._next,(r._active||t>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=n},h.rawTime=function(){return p||u.wake(),this._totalTime};var L=w("TweenLite",function(e,i,n){if(M.call(this,i,n),this.render=L.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:L.selector(e)||e;var r,s,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?U[L.defaultOverwrite]:"number"==typeof l?l>>0:U[l],(o||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=a=_(e),this._propLookup=[],this._siblings=[],r=0;r1&&tt(s,this,null,1,this._siblings[r])):(s=a[r--]=L.selector(s),"string"==typeof s&&a.splice(r+1,1)):a.splice(r--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-d,this.render(Math.min(0,-this._delay)))},!0),N=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(h=L.prototype=new M).constructor=L,h.kill()._gc=!1,h.ratio=0,h._firstPT=h._targets=h._overwrittenProps=h._startAt=null,h._notifyPluginsOfEnabled=h._lazy=!1,L.version="1.19.1",L.defaultEase=h._ease=new b(null,null,1,1),L.defaultOverwrite="auto",L.ticker=u,L.autoSleep=120,L.lagSmoothing=function(t,e){u.lagSmoothing(t,e)},L.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(L.selector=i,i(e)):void 0===s?e:s.querySelectorAll?s.querySelectorAll(e):s.getElementById("#"===e.charAt(0)?e.substr(1):e)};var F=[],I={},X=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,z=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m(e,this._target||i.t):1e-6>e&&e>-1e-6&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},B=function(t,e,i,n){var r,s,a,o,l,h,u,p=[],f=0,c="",d=0;for(p.start=t,p.end=e,t=p[0]=t+"",e=p[1]=e+"",i&&(i(p),t=p[0],e=p[1]),p.length=0,r=t.match(X)||[],s=e.match(X)||[],n&&(n._next=null,n.blob=1,p._firstPT=p._applyPT=n),l=s.length,o=0;l>o;o++)u=s[o],h=e.substr(f,e.indexOf(u,f)-f),c+=h||!o?h:",",f+=h.length,d?d=(d+1)%5:"rgba("===h.substr(-5)&&(d=1),u===r[o]||r.length<=o?c+=u:(c&&(p.push(c),c=""),a=parseFloat(r[o]),p.push(a),p._firstPT={_next:p._firstPT,t:p,p:p.length-1,s:a,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-a)||0,f:0,m:d&&4>d?Math.round:0}),f+=u.length;return(c+=e.substr(f))&&p.push(c),p.setRatio=z,p},j=function(t,e,i,n,r,s,a,o,l){"function"==typeof n&&(n=n(l||0,t));var h=typeof t[e],u="function"!==h?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),p="get"!==i?i:u?a?t[u](a):t[u]():t[e],f="string"==typeof n&&"="===n.charAt(1),c={t:t,p:e,s:p,f:"function"===h,pg:0,n:r||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:f?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-p||0};return("number"!=typeof p||"number"!=typeof n&&!f)&&(a||isNaN(p)||!f&&isNaN(n)||"boolean"==typeof p||"boolean"==typeof n?(c.fp=a,c={t:B(p,f?c.s+c.c:n,o||L.defaultStringFilter,c),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||e,pr:0,m:0}):(c.s=parseFloat(p),f||(c.c=parseFloat(n)-c.s||0))),c.c?((c._next=this._firstPT)&&(c._next._prev=c),this._firstPT=c,c):void 0},Y=L._internals={isArray:m,isSelector:N,lazyTweens:F,blobDif:B},V=L._plugins={},G=Y.tweenLookup={},W=0,q=Y.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1},U={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},Q=M._rootFramesTimeline=new D,H=M._rootTimeline=new D,Z=30,$=Y.lazyRender=function(){var t,e=F.length;for(I={};--e>-1;)t=F[e],t&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);F.length=0};H._startTime=u.time,Q._startTime=u.frame,H._active=Q._active=!0,setTimeout($,1),M._updateRoot=L.render=function(){var t,e,i;if(F.length&&$(),H.render((u.time-H._startTime)*H._timeScale,!1,!1),Q.render((u.frame-Q._startTime)*Q._timeScale,!1,!1),F.length&&$(),u.frame>=Z){Z=u.frame+(parseInt(L.autoSleep,10)||120);for(i in G){for(t=(e=G[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete G[i]}if((!(i=H._first)||i._paused)&&L.autoSleep&&!Q._first&&1===u._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||u.sleep()}}},u.addEventListener("tick",M._updateRoot);var K=function(t,e,i){var n,r,s=t._gsTweenID;if(G[s||(t._gsTweenID=s="t"+W++)]||(G[s]={target:t,tweens:[]}),e&&((n=G[s].tweens)[r=n.length]=e,i))for(;--r>-1;)n[r]===e&&n.splice(r,1);return G[s].tweens},J=function(t,e,i,n){var r,s,a=t.vars.onOverwrite;return a&&(r=a(t,e,i,n)),(a=L.onOverwrite)&&(s=a(t,e,i,n)),!1!==r&&!1!==s},tt=function(t,e,i,n,r){var s,a,o,l;if(1===n||n>=4){for(l=r.length,s=0;l>s;s++)if((o=r[s])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===n)break;return a}var h,u=e._startTime+d,p=[],f=0,c=0===e._duration;for(s=r.length;--s>-1;)(o=r[s])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||et(e,0,c),0===et(o,h,c)&&(p[f++]=o)):o._startTime<=u&&o._startTime+o.totalDuration()/o._timeScale>u&&((c||!o._initted)&&u-o._startTime<=2e-10||(p[f++]=o)));for(s=f;--s>-1;)if(o=p[s],2===n&&o._kill(i,t,e)&&(a=!0),2!==n||!o._firstPT&&o._initted){if(2!==n&&!J(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},et=function(t,e,i){for(var n=t._timeline,r=n._timeScale,s=t._startTime;n._timeline;){if(s+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return(s/=r)>e?s-e:i&&s===e||!t._initted&&2*d>s-e?d:(s+=t.totalDuration()/t._timeScale/r)>e+d?0:s-e-d};h._init=function(){var t,e,i,n,r,s,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,u=a.ease;if(a.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={};for(n in a.startAt)r[n]=a.startAt[n];if(r.overwrite=!1,r.immediateRender=!0,r.lazy=h&&!1!==a.lazy,r.startAt=r.delay=null,this._startAt=L.to(this.target,0,r),h)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(h=!1),i={};for(n in a)q[n]&&"autoCSS"!==n||(i[n]=a[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==a.lazy,i.immediateRender=h,this._startAt=L.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof b?u:"function"==typeof u?new b(u,a.easeParams):P[u]||L.defaultEase:L.defaultEase,a.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;s>t;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(e&&L._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},h._initProps=function(e,i,n,r,s){var a,o,l,h,u,p;if(null==e)return!1;I[e._gsTweenID]&&$(),this.vars.css||e.style&&e!==t&&e.nodeType&&V.css&&!1!==this.vars.autoCSS&&function(t,e){var i,n={};for(i in t)q[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!V[i]||V[i]&&V[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n}(this.vars,e);for(a in this.vars)if(p=this.vars[a],q[a])p&&(p instanceof Array||p.push&&m(p))&&-1!==p.join("").indexOf("{self}")&&(this.vars[a]=p=this._swapSelfInParams(p,this));else if(V[a]&&(h=new V[a])._onInitTween(e,this.vars[a],this,s)){for(this._firstPT=u={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:h._priority,m:0},o=h._overwriteProps.length;--o>-1;)i[h._overwriteProps[o]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else i[a]=j.call(this,e,a,"get",p,a,0,null,this.vars.stringFilter,s);return r&&this._kill(r,e)?this._initProps(e,i,n,r,s):this._overwrite>1&&this._firstPT&&n.length>1&&tt(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,r,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(I[e._gsTweenID]=!0),l)},h.render=function(t,e,i){var n,r,s,a,o=this._time,l=this._duration,h=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,r="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0>h||0>=t&&t>=-1e-7||h===d&&"isPause"!==this.data)&&h!==t&&(i=!0,h>d&&(r="onReverseComplete")),this._rawPrevTime=a=!e||t||h===t?t:d);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&h>0)&&(r="onReverseComplete",n=this._reversed),0>t&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(h>=0&&(h!==d||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!e||t||h===t?t:d)),this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var u=t/l,p=this._easeType,f=this._easePower;(1===p||3===p&&u>=.5)&&(u=1-u),3===p&&(u*=2),1===f?u*=u:2===f?u*=u*u:3===f?u*=u*u*u:4===f&&(u*=u*u*u*u),this.ratio=1===p?1-u:2===p?u:.5>t/l?u/2:1-u/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==o||i){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=this._totalTime=o,this._rawPrevTime=h,F.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&t>=0&&(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>t&&this._startAt&&-1e-4!==t&&this._startAt.render(t,e,i),e||(this._time!==o||n||i)&&this._callback("onUpdate")),r&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&this._rawPrevTime===d&&a!==d&&(this._rawPrevTime=0))}},h._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:L.selector(e)||e;var n,r,s,a,o,l,h,u,p,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((m(e)||N(e))&&"number"!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){o=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,u=t!==r&&"all"!==r&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(L.onOverwrite||this.vars.onOverwrite)){for(s in h)o[s]&&(p||(p=[]),p.push(s));if((p||!t)&&!J(this,i,e,p))return!1}for(s in h)(a=o[s])&&(f&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[s]),u&&(r[s]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},h.invalidate=function(){return this._notifyPluginsOfEnabled&&L._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],M.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-d,this.render(Math.min(0,-this._delay))),this},h._enabled=function(t,e){if(p||u.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=K(n[i],this,!0);else this._siblings=K(this.target,this,!0)}return M.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&L._onPluginEvent(t?"_onEnable":"_onDisable",this)},L.to=function(t,e,i){return new L(t,e,i)},L.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new L(t,e,i)},L.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new L(t,e,n)},L.delayedCall=function(t,e,i,n,r){return new L(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},L.set=function(t,e){return new L(t,0,e)},L.getTweensOf=function(t,e){if(null==t)return[];var i,n,r,s;if(t="string"!=typeof t?t:L.selector(t)||t,(m(t)||N(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(L.getTweensOf(t[i],e));for(i=n.length;--i>-1;)for(s=n[i],r=i;--r>-1;)s===n[r]&&n.splice(i,1)}else for(n=K(t).concat(),i=n.length;--i>-1;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n},L.killTweensOf=L.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=L.getTweensOf(t,e),r=n.length;--r>-1;)n[r]._kill(i,t)};var it=w("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype},!0);if(h=it.prototype,it.version="1.19.0",it.API=2,h._firstPT=null,h._addTween=j,h.setRatio=z,h._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},h._mod=h._roundProps=function(t){for(var e,i=this._firstPT;i;)e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")],e&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},L._onPluginEvent=function(t,e){var i,n,r,s,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,n=r;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:s)?o._prev._next=o:r=o,(o._next=n)?n._prev=o:s=o,o=a}o=e._firstPT=r}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(V[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=w("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){it.call(this,i,n),this._overwriteProps=r||[]},!0===t.global),o=a.prototype=new it(i);o.constructor=a,a.API=t.API;for(e in s)"function"==typeof t[e]&&(o[s[e]]=t[e]);return a.version=t.version,it.activate([a]),a},o=t._gsQueue){for(l=0;lt._rawPrevTime||0===t._rawPrevTime&&a._reversed,u=h?0:r,f=h?r:0;if(e||!this._forcingPlayhead){for(a.pause(l),s=t._prev;s&&s._startTime===l;)s._rawPrevTime=f,s=s._prev;for(s=t._next;s&&s._startTime===l;)s._rawPrevTime=u,s=s._next;e&&e.apply(n||a.vars.callbackScope||a,i||p),(this._forcingPlayhead||!a._paused)&&a.seek(o)}},_=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},g=n.prototype=new e;return n.version="1.17.0",g.constructor=n,g.kill()._gc=g._forcingPlayhead=!1,g.to=function(t,e,n,r){var s=n.repeat&&f.TweenMax||i;return e?this.add(new s(t,e,n),r):this.set(t,n,r)},g.from=function(t,e,n,r){return this.add((n.repeat&&f.TweenMax||i).from(t,e,n),r)},g.fromTo=function(t,e,n,r,s){var a=r.repeat&&f.TweenMax||i;return e?this.add(a.fromTo(t,e,n,r),s):this.set(t,r,s)},g.staggerTo=function(t,e,r,s,a,l,h,u){var p,f=new n({onComplete:l,onCompleteParams:h,callbackScope:u,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=i.selector(t)||t),o(t=t||[])&&(t=_(t)),0>(s=s||0)&&((t=_(t)).reverse(),s*=-1),p=0;t.length>p;p++)r.startAt&&(r.startAt=c(r.startAt)),f.to(t[p],e,c(r),p*s);return this.add(f,a)},g.staggerFrom=function(t,e,i,n,r,s,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,r,s,a,o)},g.staggerFromTo=function(t,e,i,n,r,s,a,o,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,r,s,a,o,l)},g.call=function(t,e,n,r){return this.add(i.delayedCall(0,t,e,n),r)},g.set=function(t,e,n){return n=this._parseTimeOrLabel(n,0,!0),null==e.immediateRender&&(e.immediateRender=n===this._time&&!this._paused),this.add(new i(t,0,e),n)},n.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var r,s,a=new n(t),o=a._timeline;for(null==e&&(e=!0),o._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=o._time,r=o._first;r;)s=r._next,e&&r instanceof i&&r.target===r.vars.onComplete||a.add(r,r._startTime-r._delay),r=s;return o.add(a,0),a},g.add=function(r,s,a,o){var h,u,p,f,c,d;if("number"!=typeof s&&(s=this._parseTimeOrLabel(s,0,!0,r)),!(r instanceof t)){if(r instanceof Array||r&&r.push&&l(r)){for(a=a||"normal",o=o||0,h=s,u=r.length,p=0;u>p;p++)l(f=r[p])&&(f=new n({tweens:f})),this.add(f,h),"string"!=typeof f&&"function"!=typeof f&&("sequence"===a?h=f._startTime+f.totalDuration()/f._timeScale:"start"===a&&(f._startTime-=f.delay())),h+=o;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,s);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=i.delayedCall(0,r)}if(e.prototype.add.call(this,r,s),(this._gc||this._time===this._duration)&&!this._paused&&this._durationr._startTime;c._timeline;)d&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},g.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&l(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){e.prototype._remove.call(this,t,i);var n=this._last;return n?this._time>n._startTime+n._totalDuration/n._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},g.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,n,r){var s=i.delayedCall(0,d,["{self}",e,n,r],this);return s.data="isPause",this.add(s,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,n,r){var s;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&l(r)))for(s=r.length;--s>-1;)r[s]instanceof t&&r[s].timeline===this&&this.remove(r[s]);if("string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,n);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(-1===(s=e.indexOf("=")))return null==this._labels[e]?n?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(s-1)+"1",10)*Number(e.substr(s+1)),e=s>1?this._parseTimeOrLabel(e.substr(0,s-1),0,n):this.duration()}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,s,a,o,l,p=this._dirty?this.totalDuration():this._totalDuration,f=this._time,c=this._startTime,d=this._timeScale,_=this._paused;if(t>=p)this._totalTime=this._time=p,this._reversed||this._hasPausedChild()||(s=!0,o="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(0===t||0>this._rawPrevTime||this._rawPrevTime===r)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>r&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,t=p+1e-4;else if(1e-7>t)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==r&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(o="onReverseComplete",s=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=s=!0,o="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,0===t&&s)for(n=this._first;n&&0===n._startTime;)n._duration||(s=!1),n=n._next;t=0,this._initted||(l=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==f&&this._first||i||l){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&0!==this._time&&(e||this._callback("onStart")),this._time>=f)for(n=this._first;n&&(a=n._next,!this._paused||_);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=a;else for(n=this._last;n&&(a=n._prev,!this._paused||_);)(n._active||f>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=a;this._onUpdate&&(e||(h.length&&u(),this._callback("onUpdate"))),o&&(this._gc||(c===this._startTime||d!==this._timeScale)&&(0===this._time||p>=this.totalDuration())&&(s&&(h.length&&u(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this._callback(o)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof n&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,n,r){r=r||-9999999999;for(var s=[],a=this._first,o=0;a;)r>a._startTime||(a instanceof i?!1!==e&&(s[o++]=a):(!1!==n&&(s[o++]=a),!1!==t&&(s=s.concat(a.getChildren(!0,e,n)),o=s.length))),a=a._next;return s},g.getTweensOf=function(t,e){var n,r,s=this._gc,a=[],o=0;for(s&&this._enabled(!0,!0),r=(n=i.getTweensOf(t)).length;--r>-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(a[o++]=n[r]);return s&&this._enabled(!1,!0),a},g.recent=function(){return this._recent},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,i){i=i||0;for(var n,r=this._first,s=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(n in s)s[n]>=i&&(s[n]+=t);return this._uncache(!0)},g._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,r=!1;--n>-1;)i[n]._kill(t,e)&&(r=!0);return r},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,i){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(){this._forcingPlayhead=!0;var e=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,e},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,n=0,r=this._last,s=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>s&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):s=r._startTime,0>r._startTime&&!r._paused&&(n-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),s=0),i=r._startTime+r._totalDuration/r._timeScale,i>n&&(n=i),r=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},g.paused=function(e){if(!e)for(var i=this._first,n=this._time;i;)i._startTime===n&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},n},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).TimelineLite};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("./TweenLite.js"),module.exports=e())}(),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,n,r=_gsScope.GreenSockGlobals||_gsScope,s=r.com.greensock,a=2*Math.PI,o=Math.PI/2,l=s._class,h=function(e,i){var n=l("easing."+e,function(){},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,n},u=t.register||function(){},p=function(t,e,i,n,r){var s=l("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return u(s,t),s},f=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},c=function(e,i){var n=l("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,r.config=function(t){return new n(t)},n},d=p("Back",c("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),c("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),c("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),_=l("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),g=_.prototype=new t;return g.constructor=_,g.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},_.ease=new _(.7,.7),g.config=_.config=function(t,e,i){return new _(t,e,i)},(g=(e=l("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0)).prototype=new t).constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},g.config=e.config=function(t){return new e(t)},(g=(i=l("easing.RoughEase",function(e){for(var i,n,r,s,a,o,l=(e=e||{}).taper||"none",h=[],u=0,p=0|(e.points||20),c=p,d=!1!==e.randomize,_=!0===e.clamp,g=e.template instanceof t?e.template:null,m="number"==typeof e.strength?.4*e.strength:.4;--c>-1;)i=d?Math.random():1/p*c,n=g?g.getRatio(i):i,"none"===l?r=m:"out"===l?(s=1-i,r=s*s*m):"in"===l?r=i*i*m:.5>i?(s=2*i,r=s*s*.5*m):(s=2*(1-i),r=s*s*.5*m),d?n+=Math.random()*r-.5*r:c%2?n+=.5*r:n-=.5*r,_&&(n>1?n=1:0>n&&(n=0)),h[u++]={x:i,y:n};for(h.sort(function(t,e){return t.x-e.x}),o=new f(1,1,null),c=p;--c>-1;)a=h[c],o=new f(a.x,a.y,o);this._prev=new f(0,0,0!==o.t?o:o.next)},!0)).prototype=new t).constructor=i,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new i(t)},i.ease=new i,p("Bounce",h("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),h("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),h("BounceInOut",function(t){var e=.5>t;return t=1/2.75>(t=e?1-2*t:2*t-1)?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?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})),p("Circ",h("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),h("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),h("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),p("Elastic",(n=function(e,i,n){var r=l("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(1>t?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),s=r.prototype=new t;return s.constructor=r,s.getRatio=i,s.config=function(t,e){return new r(t,e)},r})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),p("Expo",h("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),h("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),h("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),p("Sine",h("SineOut",function(t){return Math.sin(t*o)}),h("SineIn",function(t){return 1-Math.cos(t*o)}),h("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),u(r.SlowMo,"SlowMo","ease,"),u(i,"RoughEase","ease,"),u(e,"SteppedEase","ease,"),d},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(){"use strict";var t=function(){return _gsScope.GreenSockGlobals||_gsScope};"function"==typeof define&&define.amd?define(["TweenLite"],t):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=t())}(),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,n,r,s,a=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},o=_gsScope._gsDefine.globals,l={},h=a.prototype=new t("css");h.constructor=a,a.version="1.19.1",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,h="px",a.suffixMap={top:h,right:h,bottom:h,left:h,width:h,height:h,fontSize:h,padding:h,margin:h,perspective:h,lineHeight:""};var u,p,f,c,d,_,g,m,v,x,y=/(?:\-|\.|\b)(\d|\.|e\-)+/g,w=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,T=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,P=/(?:\d|\-|\+|=|#|\.)*/g,S=/opacity *= *([^)]*)/i,O=/opacity:([^;]*)/i,k=/alpha\(opacity *=.+?\)/i,C=/^(rgb|hsl)/,A=/([A-Z])/g,R=/-([a-z])/gi,M=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(t,e){return e.toUpperCase()},D=/(?:Left|Right|Width)/i,L=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,N=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,F=/,(?=[^\)]*(?:\(|$))/gi,I=/[\s,\(]/i,X=Math.PI/180,z=180/Math.PI,B={},j={style:{}},Y=_gsScope.document||{createElement:function(){return j}},V=function(t,e){return Y.createElementNS?Y.createElementNS(e||"http://www.w3.org/1999/xhtml",t):Y.createElement(t)},G=V("div"),W=V("img"),q=a._internals={_specialProps:l},U=(_gsScope.navigator||{}).userAgent||"",Q=(v=U.indexOf("Android"),x=V("a"),f=-1!==U.indexOf("Safari")&&-1===U.indexOf("Chrome")&&(-1===v||parseFloat(U.substr(v+8,2))>3),d=f&&parseFloat(U.substr(U.indexOf("Version/")+8,2))<6,c=-1!==U.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(U)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(U))&&(_=parseFloat(RegExp.$1)),!!x&&(x.style.cssText="top:1px;opacity:.55;",/^0.55/.test(x.style.opacity))),H=function(t){return S.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Z=function(t){_gsScope.console&&console.log(t)},$="",K="",J=function(t,e){var i,n,r=(e=e||G).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===r[i[n]+t];);return n>=0?($="-"+(K=3===n?"ms":i[n]).toLowerCase()+"-",K+t):null},tt=Y.defaultView?Y.defaultView.getComputedStyle:function(){},et=a.getStyle=function(t,e,i,n,r){var s;return Q||"opacity"!==e?(!n&&t.style[e]?s=t.style[e]:(i=i||tt(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(A,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==r||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:r):H(t)},it=q.convertToPixels=function(t,i,n,r,s){if("px"===r||!r)return n;if("auto"===r||!n)return 0;var o,l,h,u=D.test(i),p=t,f=G.style,c=0>n,d=1===n;if(c&&(n=-n),d&&(n*=100),"%"===r&&-1!==i.indexOf("border"))o=n/100*(u?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+et(t,"position")+";line-height:0;","%"!==r&&p.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)f[u?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(l=(p=t.parentNode||Y.body)._gsCache,h=e.ticker.frame,l&&u&&l.time===h)return l.width*n/100;f[u?"width":"height"]=n+r}p.appendChild(G),o=parseFloat(G[u?"offsetWidth":"offsetHeight"]),p.removeChild(G),u&&"%"===r&&!1!==a.cacheWidths&&((l=p._gsCache=p._gsCache||{}).time=h,l.width=o/n*100),0!==o||s||(o=it(t,i,n,r,!0))}return d&&(o/=100),c?-o:o},nt=q.calculateOffset=function(t,e,i){if("absolute"!==et(t,"position",i))return 0;var n="left"===e?"Left":"Top",r=et(t,"margin"+n,i);return t["offset"+n]-(it(t,e,parseFloat(r),r.replace(P,""))||0)},rt=function(t,e){var i,n,r,s={};if(e=e||tt(t,null))if(i=e.length)for(;--i>-1;)r=e[i],(-1===r.indexOf("-transform")||Nt===r)&&(s[r.replace(R,E)]=e.getPropertyValue(r));else for(i in e)(-1===i.indexOf("Transform")||Lt===i)&&(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(R,E)]=e[i]);return Q||(s.opacity=H(t)),n=Qt(t,e,!1),s.rotation=n.rotation,s.skewX=n.skewX,s.scaleX=n.scaleX,s.scaleY=n.scaleY,s.x=n.x,s.y=n.y,It&&(s.z=n.z,s.rotationX=n.rotationX,s.rotationY=n.rotationY,s.scaleZ=n.scaleZ),s.filters&&delete s.filters,s},st=function(t,e,i,n,r){var s,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(s=i[a])||r&&r[a])&&-1===a.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[a]="auto"!==s||"left"!==a&&"top"!==a?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[a]||""===e[a].replace(b,"")?s:0:nt(t,a),void 0!==h[a]&&(o=new yt(h,a,h[a],o)));if(n)for(a in n)"className"!==a&&(l[a]=n[a]);return{difs:l,firstMPT:o}},at={width:["Left","Right"],height:["Top","Bottom"]},ot=["marginLeft","marginRight","marginTop","marginBottom"],lt=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||tt(t))[e]||0;if(t.getCTM&&Wt(t))return t.getBBox()[e]||0;var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=at[e],s=r.length;for(i=i||tt(t,null);--s>-1;)n-=parseFloat(et(t,"padding"+r[s],i,!0))||0,n-=parseFloat(et(t,"border"+r[s]+"Width",i,!0))||0;return n},ht=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,n=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":n[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":n[1];if(n.length>3&&!e){for(n=t.split(", ").join(",").split(","),t=[],i=0;i2?" "+n[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(r.replace(b,"")),e.oy=parseFloat(s.replace(b,"")),e.v=t),e||t},ut=function(t,e){return"function"==typeof t&&(t=t(m,g)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},pt=function(t,e){return"function"==typeof t&&(t=t(m,g)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ft=function(t,e,i,n){var r,s,a,o,l;return"function"==typeof t&&(t=t(m,g)),null==t?o=e:"number"==typeof t?o=t:(r=360,s=t.split("_"),a=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:z)-(l?0:e),s.length&&(n&&(n[i]=e+a),-1!==t.indexOf("short")&&((a%=r)!==a%(r/2)&&(a=0>a?a+r:a-r)),-1!==t.indexOf("_cw")&&0>a?a=(a+9999999999*r)%r-(a/r|0)*r:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*r)%r-(a/r|0)*r)),o=e+a),1e-6>o&&o>-1e-6&&(o=0),o},ct={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},dt=function(t,e,i){return 255*(1>6*(t=0>t?t+1:t>1?t-1:t)?e+(i-e)*t*6:.5>t?i:2>3*t?e+(i-e)*(2/3-t)*6:e)+.5|0},_t=a.parseColor=function(t,e){var i,n,r,s,a,o,l,h,u,p,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ct[t])i=ct[t];else if("#"===t.charAt(0))4===t.length&&(n=t.charAt(1),r=t.charAt(2),s=t.charAt(3),t="#"+n+n+r+r+s+s),t=parseInt(t.substr(1),16),i=[t>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(y),e){if(-1!==t.indexOf("="))return t.match(w)}else a=Number(i[0])%360/360,o=Number(i[1])/100,l=Number(i[2])/100,r=.5>=l?l*(o+1):l+o-l*o,n=2*l-r,i.length>3&&(i[3]=Number(t[3])),i[0]=dt(a+1/3,n,r),i[1]=dt(a,n,r),i[2]=dt(a-1/3,n,r);else i=t.match(y)||ct.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=ct.black;return e&&!f&&(n=i[0]/255,r=i[1]/255,s=i[2]/255,l=((h=Math.max(n,r,s))+(u=Math.min(n,r,s)))/2,h===u?a=o=0:(p=h-u,o=l>.5?p/(2-h-u):p/(h+u),a=h===n?(r-s)/p+(s>r?6:0):h===r?(s-n)/p+2:(n-r)/p+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},gt=function(t,e){var i,n,r,s=t.match(mt)||[],a=0,o=s.length?"":t;for(i=0;i0?a[0].replace(y,""):"";return u?r=e?function(t){var e,f,c,d;if("number"==typeof t)t+=p;else if(n&&F.test(t)){for(d=t.replace(F,"|").split("|"),c=0;cc--)for(;++cf--)for(;++fl;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2>>0];return r.parse(e,o,s,a)}},yt=(q._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,r,s,a=this.data,o=a.proxy,l=a.firstMPT;l;)e=o[l.v],l.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod(o.rotation,this.t):o.rotation),1===t||0===t)for(l=a.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,n=1;n0;)l="xn"+a,o=n.p+"_"+l,c[o]=n.data[l],f[o]=n[l],s||(h=new yt(n,l,o,h,n.rxp[l]));n=n._next}return{proxy:f,end:c,firstMPT:h,pt:u}},q.CSSPropTween=function(t,e,n,r,a,o,l,h,u,p,f){this.t=t,this.p=e,this.s=n,this.c=r,this.n=l||e,t instanceof wt||s.push(this.n),this.r=h,this.type=o||0,u&&(this.pr=u,i=!0),this.b=void 0===p?n:p,this.e=void 0===f?n+r:f,a&&(this._next=a,a._prev=this)}),Tt=function(t,e,i,n,r,s){var a=new wt(t,e,i,n-i,r,-1,s);return a.b=i,a.e=a.xs0=n,a},bt=a.parseComplex=function(t,e,i,n,r,s,o,l,h,p){i=i||s||"","function"==typeof n&&(n=n(m,g)),o=new wt(t,e,0,0,o,p?2:1,null,!1,l,i,n),n+="",r&&mt.test(n+i)&&(n=[i,n],a.colorStringFilter(n),i=n[0],n=n[1]);var f,c,d,_,v,x,T,b,P,S,O,k,C,A=i.split(", ").join(",").split(" "),R=n.split(", ").join(",").split(" "),M=A.length,E=!1!==u;for((-1!==n.indexOf(",")||-1!==i.indexOf(","))&&(A=A.join(" ").replace(F,", ").split(" "),R=R.join(" ").replace(F,", ").split(" "),M=A.length),M!==R.length&&(M=(A=(s||"").split(" ")).length),o.plugin=h,o.setRatio=p,mt.lastIndex=0,f=0;M>f;f++)if(_=A[f],v=R[f],b=parseFloat(_),b||0===b)o.appendXtra("",b,ut(v,b),v.replace(w,""),E&&-1!==v.indexOf("px"),!0);else if(r&&mt.test(_))k=v.indexOf(")")+1,k=")"+(k?v.substr(k):""),C=-1!==v.indexOf("hsl")&&Q,_=_t(_,C),v=_t(v,C),P=_.length+v.length>6,P&&!Q&&0===v[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(R[f]).join("transparent")):(Q||(P=!1),C?o.appendXtra(P?"hsla(":"hsl(",_[0],ut(v[0],_[0]),",",!1,!0).appendXtra("",_[1],ut(v[1],_[1]),"%,",!1).appendXtra("",_[2],ut(v[2],_[2]),P?"%,":"%"+k,!1):o.appendXtra(P?"rgba(":"rgb(",_[0],v[0]-_[0],",",!0,!0).appendXtra("",_[1],v[1]-_[1],",",!0).appendXtra("",_[2],v[2]-_[2],P?",":k,!0),P&&(_=_.length<4?1:_[3],o.appendXtra("",_,(v.length<4?1:v[3])-_,k,!1))),mt.lastIndex=0;else if(x=_.match(y)){if(!(T=v.match(w))||T.length!==x.length)return o;for(d=0,c=0;c0;)h["xn"+Pt]=0,h["xs"+Pt]="";h.xs0="",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setRatio=h.rxp=null,h.appendXtra=function(t,e,i,n,r,s){var a=this,o=a.l;return a["xs"+o]+=s&&(o||a["xs"+o])?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=n||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=r,a["xn"+o]=e,a.plugin||(a.xfirst=new wt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,r,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=r,a)):(a["xs"+o]+=e+(n||""),a)};var St=function(t,e){e=e||{},this.p=e.prefix&&J(t)||t,l[t]=l[this.p]=this,this.format=e.formatter||vt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},Ot=q._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,r=t.split(","),s=e.defaultValue;for(i=i||[s],n=0;no.length?l.length:o.length,a=0;h>a;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,f&&(u=e.indexOf(f),p=i.indexOf(f),u!==p&&(-1===p?o[a]=o[a].split(f).join(""):-1===u&&(o[a]+=" "+f)));e=o.join(", "),i=l.join(", ")}return bt(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,r,s)},h.parse=function(t,e,i,n,s,a,o){return this.parseComplex(t.style,this.format(et(t,this.p,r,!1,this.dflt)),this.format(e),s,a)},a.registerSpecialProp=function(t,e,i){Ot(t,{parser:function(t,n,r,s,a,o,l){var h=new wt(t,r,0,0,a,2,r,!1,i);return h.plugin=o,h.setRatio=e(t,n,s._tween,r),h},priority:i})},a.useSVGTransformAttr=!0;var Ct,At,Rt,Mt,Et,Dt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Lt=J("transform"),Nt=$+"transform",Ft=J("transformOrigin"),It=null!==J("perspective"),Xt=q.Transform=function(){this.perspective=parseFloat(a.defaultTransformPerspective)||0,this.force3D=!(!1===a.defaultForce3D||!It)&&(a.defaultForce3D||"auto")},zt=_gsScope.SVGElement,Bt=function(t,e,i){var n,r=Y.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(n in i)r.setAttributeNS(null,n.replace(s,"$1-$2").toLowerCase(),i[n]);return e.appendChild(r),r},jt=Y.documentElement||{},Yt=(Et=_||/Android/i.test(U)&&!_gsScope.chrome,Y.createElementNS&&!Et&&(At=Bt("svg",jt),Mt=(Rt=Bt("rect",At,{width:100,height:50,x:100})).getBoundingClientRect().width,Rt.style[Ft]="50% 50%",Rt.style[Lt]="scaleX(0.5)",Et=Mt===Rt.getBoundingClientRect().width&&!(c&&It),jt.removeChild(At)),Et),Vt=function(t,e,i,n,r,s){var o,l,h,u,p,f,c,d,_,g,m,v,x,y,w=t._gsTransform,T=Ut(t,!0);w&&(x=w.xOrigin,y=w.yOrigin),(!n||(o=n.split(" ")).length<2)&&(0===(c=t.getBBox()).x&&0===c.y&&c.width+c.height===0&&(c={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),o=[(-1!==(e=ht(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*c.width:parseFloat(e[0]))+c.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*c.height:parseFloat(e[1]))+c.y]),i.xOrigin=u=parseFloat(o[0]),i.yOrigin=p=parseFloat(o[1]),n&&T!==qt&&(f=T[0],c=T[1],d=T[2],_=T[3],g=T[4],m=T[5],(v=f*_-c*d)&&(l=u*(_/v)+p*(-d/v)+(d*m-_*g)/v,h=u*(-c/v)+p*(f/v)-(f*m-c*g)/v,u=i.xOrigin=o[0]=l,p=i.yOrigin=o[1]=h)),w&&(s&&(i.xOffset=w.xOffset,i.yOffset=w.yOffset,w=i),r||!1!==r&&!1!==a.defaultSmoothOrigin?(l=u-x,h=p-y,w.xOffset+=l*T[0]+h*T[2]-l,w.yOffset+=l*T[1]+h*T[3]-h):w.xOffset=w.yOffset=0),s||t.setAttribute("data-svg-origin",o.join(" "))},Gt=function(t){var e,i=V("svg",this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,r=this.nextSibling,s=this.style.cssText;if(jt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Gt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return r?n.insertBefore(this,r):n.appendChild(this),jt.removeChild(i),this.style.cssText=s,e},Wt=function(t){return!(!(zt&&t.getCTM&&function(t){try{return t.getBBox()}catch(e){return Gt.call(t,!0)}}(t))||t.parentNode&&!t.ownerSVGElement)},qt=[1,0,0,1,0,0],Ut=function(t,e){var i,n,r,s,a,o,l=t._gsTransform||new Xt,h=t.style;if(Lt?n=et(t,Nt,null,!0):t.currentStyle&&(n=(n=t.currentStyle.filter.match(L))&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),l.x||0,l.y||0].join(","):""),(i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n)&&Lt&&((o="none"===tt(t).display)||!t.parentNode)&&(o&&(s=h.display,h.display="block"),t.parentNode||(a=1,jt.appendChild(t)),i=!(n=et(t,Nt,null,!0))||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,s?h.display=s:o&&Kt(h,"display"),a&&jt.removeChild(t)),(l.svg||t.getCTM&&Wt(t))&&(i&&-1!==(h[Lt]+"").indexOf("matrix")&&(n=h[Lt],i=0),r=t.getAttribute("transform"),i&&r&&(-1!==r.indexOf("matrix")?(n=r,i=0):-1!==r.indexOf("translate")&&(n="matrix(1,0,0,1,"+r.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",i=0))),i)return qt;for(r=(n||"").match(y)||[],Pt=r.length;--Pt>-1;)s=Number(r[Pt]),r[Pt]=(a=s-(s|=0))?(1e5*a+(0>a?-.5:.5)|0)/1e5+s:s;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Qt=q.getTransform=function(t,i,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var s,o,l,h,u,p,f=n&&t._gsTransform||new Xt,c=f.scaleX<0,d=It&&(parseFloat(et(t,Ft,i,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,_=parseFloat(a.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Wt(t)),f.svg&&(Vt(t,et(t,Ft,i,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ct=a.useSVGTransformAttr||Yt),(s=Ut(t))!==qt){if(16===s.length){var g,m,v,x,y,w=s[0],T=s[1],b=s[2],P=s[3],S=s[4],O=s[5],k=s[6],C=s[7],A=s[8],R=s[9],M=s[10],E=s[12],D=s[13],L=s[14],N=s[11],F=Math.atan2(k,M);f.zOrigin&&(E=A*(L=-f.zOrigin)-s[12],D=R*L-s[13],L=M*L+f.zOrigin-s[14]),f.rotationX=F*z,F&&(g=S*(x=Math.cos(-F))+A*(y=Math.sin(-F)),m=O*x+R*y,v=k*x+M*y,A=S*-y+A*x,R=O*-y+R*x,M=k*-y+M*x,N=C*-y+N*x,S=g,O=m,k=v),F=Math.atan2(-b,M),f.rotationY=F*z,F&&(m=T*(x=Math.cos(-F))-R*(y=Math.sin(-F)),v=b*x-M*y,R=T*y+R*x,M=b*y+M*x,N=P*y+N*x,w=g=w*x-A*y,T=m,b=v),F=Math.atan2(T,w),f.rotation=F*z,F&&(w=w*(x=Math.cos(-F))+S*(y=Math.sin(-F)),m=T*x+O*y,O=T*-y+O*x,k=b*-y+k*x,T=m),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),f.scaleX=(1e5*Math.sqrt(w*w+T*T)+.5|0)/1e5,f.scaleY=(1e5*Math.sqrt(O*O+R*R)+.5|0)/1e5,f.scaleZ=(1e5*Math.sqrt(k*k+M*M)+.5|0)/1e5,f.rotationX||f.rotationY?f.skewX=0:(f.skewX=S||O?Math.atan2(S,O)*z+f.rotation:f.skewX||0,Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(c?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180))),f.perspective=N?1/(0>N?-N:N):0,f.x=E,f.y=D,f.z=L,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*w-f.yOrigin*S),f.y-=f.yOrigin-(f.yOrigin*T-f.xOrigin*O))}else if(!It||r||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var I=s.length>=6,X=I?s[0]:1,B=s[1]||0,j=s[2]||0,Y=I?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(X*X+B*B),h=Math.sqrt(Y*Y+j*j),u=X||B?Math.atan2(B,X)*z:f.rotation||0,p=j||Y?Math.atan2(j,Y)*z+u:f.skewX||0,Math.abs(p)>90&&Math.abs(p)<270&&(c?(l*=-1,p+=0>=u?180:-180,u+=0>=u?180:-180):(h*=-1,p+=0>=p?180:-180)),f.scaleX=l,f.scaleY=h,f.rotation=u,f.skewX=p,It&&(f.rotationX=f.rotationY=f.z=0,f.perspective=_,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*X+f.yOrigin*j),f.y-=f.yOrigin-(f.xOrigin*B+f.yOrigin*Y))}f.zOrigin=d;for(o in f)f[o]<2e-5&&f[o]>-2e-5&&(f[o]=0)}return n&&(t._gsTransform=f,f.svg&&(Ct&&t.style[Lt]?e.delayedCall(.001,function(){Kt(t.style,Lt)}):!Ct&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Ht=function(t){var e,i,n=this.data,r=-n.rotation*X,s=r+n.skewX*X,a=1e5,o=(Math.cos(r)*n.scaleX*a|0)/a,l=(Math.sin(r)*n.scaleX*a|0)/a,h=(Math.sin(s)*-n.scaleY*a|0)/a,u=(Math.cos(s)*n.scaleY*a|0)/a,p=this.t.style,f=this.t.currentStyle;if(f){i=l,l=-h,h=-i,e=f.filter,p.filter="";var c,d,g=this.t.offsetWidth,m=this.t.offsetHeight,v="absolute"!==f.position,x="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+u,y=n.x+g*n.xPercent/100,w=n.y+m*n.yPercent/100;if(null!=n.ox&&(y+=(c=(n.oxp?g*n.ox*.01:n.ox)-g/2)-(c*o+(d=(n.oyp?m*n.oy*.01:n.oy)-m/2)*l),w+=d-(c*h+d*u)),v?x+=", Dx="+((c=g/2)-(c*o+(d=m/2)*l)+y)+", Dy="+(d-(c*h+d*u)+w)+")":x+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?p.filter=e.replace(N,x):p.filter=x+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(v&&-1===x.indexOf("Dx=0, Dy=0")||S.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&p.removeAttribute("filter")),!v){var T,b,O,k=8>_?1:-1;for(c=n.ieOffsetX||0,d=n.ieOffsetY||0,n.ieOffsetX=Math.round((g-((0>o?-o:o)*g+(0>l?-l:l)*m))/2+y),n.ieOffsetY=Math.round((m-((0>u?-u:u)*m+(0>h?-h:h)*g))/2+w),Pt=0;4>Pt;Pt++)b=ot[Pt],T=f[b],i=-1!==T.indexOf("px")?parseFloat(T):it(this.t,b,parseFloat(T),T.replace(P,""))||0,O=i!==n[b]?2>Pt?-n.ieOffsetX:-n.ieOffsetY:2>Pt?c-n.ieOffsetX:d-n.ieOffsetY,p[b]=(n[b]=Math.round(i-O*(0===Pt||2===Pt?1:k)))+"px"}}},Zt=q.set3DTransformRatio=q.setTransformRatio=function(t){var e,i,n,r,s,a,o,l,h,u,p,f,d,_,g,m,v,x,y,w,T,b,P,S=this.data,O=this.t.style,k=S.rotation,C=S.rotationX,A=S.rotationY,R=S.scaleX,M=S.scaleY,E=S.scaleZ,D=S.x,L=S.y,N=S.z,F=S.svg,I=S.perspective,z=S.force3D,B=S.skewY,j=S.skewX;if(B&&(j+=B,k+=B),!((1!==t&&0!==t||"auto"!==z||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&z||N||I||A||C||1!==E)||Ct&&F||!It)k||j||F?(k*=X,b=j*X,P=1e5,i=Math.cos(k)*R,s=Math.sin(k)*R,n=Math.sin(k-b)*-M,a=Math.cos(k-b)*M,b&&"simple"===S.skewType&&(e=Math.tan(b-B*X),n*=e=Math.sqrt(1+e*e),a*=e,B&&(e=Math.tan(B*X),i*=e=Math.sqrt(1+e*e),s*=e)),F&&(D+=S.xOrigin-(S.xOrigin*i+S.yOrigin*n)+S.xOffset,L+=S.yOrigin-(S.xOrigin*s+S.yOrigin*a)+S.yOffset,Ct&&(S.xPercent||S.yPercent)&&(g=this.t.getBBox(),D+=.01*S.xPercent*g.width,L+=.01*S.yPercent*g.height),(g=1e-6)>D&&D>-g&&(D=0),g>L&&L>-g&&(L=0)),y=(i*P|0)/P+","+(s*P|0)/P+","+(n*P|0)/P+","+(a*P|0)/P+","+D+","+L+")",F&&Ct?this.t.setAttribute("transform","matrix("+y):O[Lt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+y):O[Lt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+M+","+D+","+L+")";else{if(c&&((g=1e-4)>R&&R>-g&&(R=E=2e-5),g>M&&M>-g&&(M=E=2e-5),!I||S.z||S.rotationX||S.rotationY||(I=0)),k||j)k*=X,m=i=Math.cos(k),v=s=Math.sin(k),j&&(k-=j*X,m=Math.cos(k),v=Math.sin(k),"simple"===S.skewType&&(e=Math.tan((j-B)*X),e=Math.sqrt(1+e*e),m*=e,v*=e,S.skewY&&(e=Math.tan(B*X),e=Math.sqrt(1+e*e),i*=e,s*=e))),n=-v,a=m;else{if(!(A||C||1!==E||I||F))return void(O[Lt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) translate3d(":"translate3d(")+D+"px,"+L+"px,"+N+"px)"+(1!==R||1!==M?" scale("+R+","+M+")":""));i=a=1,n=s=0}u=1,r=o=l=h=p=f=0,d=I?-1/I:0,_=S.zOrigin,g=1e-6,w=",",T="0",(k=A*X)&&(m=Math.cos(k),l=-(v=Math.sin(k)),p=d*-v,r=i*v,o=s*v,u=m,d*=m,i*=m,s*=m),(k=C*X)&&(e=n*(m=Math.cos(k))+r*(v=Math.sin(k)),x=a*m+o*v,h=u*v,f=d*v,r=n*-v+r*m,o=a*-v+o*m,u*=m,d*=m,n=e,a=x),1!==E&&(r*=E,o*=E,u*=E,d*=E),1!==M&&(n*=M,a*=M,h*=M,f*=M),1!==R&&(i*=R,s*=R,l*=R,p*=R),(_||F)&&(_&&(D+=r*-_,L+=o*-_,N+=u*-_+_),F&&(D+=S.xOrigin-(S.xOrigin*i+S.yOrigin*n)+S.xOffset,L+=S.yOrigin-(S.xOrigin*s+S.yOrigin*a)+S.yOffset),g>D&&D>-g&&(D=T),g>L&&L>-g&&(L=T),g>N&&N>-g&&(N=0)),y=S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix3d(":"matrix3d(",y+=(g>i&&i>-g?T:i)+w+(g>s&&s>-g?T:s)+w+(g>l&&l>-g?T:l),y+=w+(g>p&&p>-g?T:p)+w+(g>n&&n>-g?T:n)+w+(g>a&&a>-g?T:a),C||A||1!==E?(y+=w+(g>h&&h>-g?T:h)+w+(g>f&&f>-g?T:f)+w+(g>r&&r>-g?T:r),y+=w+(g>o&&o>-g?T:o)+w+(g>u&&u>-g?T:u)+w+(g>d&&d>-g?T:d)+w):y+=",0,0,0,0,1,0,",y+=D+w+L+w+N+w+(I?1+-N/I:1)+")",O[Lt]=y}};(h=Xt.prototype).x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,Ot("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,n,s,o,l){if(n._lastParsedTransform===l)return s;n._lastParsedTransform=l;var h,u=l.scale&&"function"==typeof l.scale?l.scale:0;"function"==typeof l[i]&&(h=l[i],l[i]=e),u&&(l.scale=u(m,t));var p,f,c,d,_,v,x,y,w,T=t._gsTransform,b=t.style,P=Dt.length,S=l,O={},k="transformOrigin",C=Qt(t,r,!0,S.parseTransform),A=S.transform&&("function"==typeof S.transform?S.transform(m,g):S.transform);if(n._transform=C,A&&"string"==typeof A&&Lt)f=G.style,f[Lt]=A,f.display="block",f.position="absolute",Y.body.appendChild(G),p=Qt(G,null,!1),C.svg&&(v=C.xOrigin,x=C.yOrigin,p.x-=C.xOffset,p.y-=C.yOffset,(S.transformOrigin||S.svgOrigin)&&(A={},Vt(t,ht(S.transformOrigin),A,S.svgOrigin,S.smoothOrigin,!0),v=A.xOrigin,x=A.yOrigin,p.x-=A.xOffset-C.xOffset,p.y-=A.yOffset-C.yOffset),(v||x)&&(y=Ut(G,!0),p.x-=v-(v*y[0]+x*y[2]),p.y-=x-(v*y[1]+x*y[3]))),Y.body.removeChild(G),p.perspective||(p.perspective=C.perspective),null!=S.xPercent&&(p.xPercent=pt(S.xPercent,C.xPercent)),null!=S.yPercent&&(p.yPercent=pt(S.yPercent,C.yPercent));else if("object"==typeof S){if(p={scaleX:pt(null!=S.scaleX?S.scaleX:S.scale,C.scaleX),scaleY:pt(null!=S.scaleY?S.scaleY:S.scale,C.scaleY),scaleZ:pt(S.scaleZ,C.scaleZ),x:pt(S.x,C.x),y:pt(S.y,C.y),z:pt(S.z,C.z),xPercent:pt(S.xPercent,C.xPercent),yPercent:pt(S.yPercent,C.yPercent),perspective:pt(S.transformPerspective,C.perspective)},null!=(_=S.directionalRotation))if("object"==typeof _)for(f in _)S[f]=_[f];else S.rotation=_;"string"==typeof S.x&&-1!==S.x.indexOf("%")&&(p.x=0,p.xPercent=pt(S.x,C.xPercent)),"string"==typeof S.y&&-1!==S.y.indexOf("%")&&(p.y=0,p.yPercent=pt(S.y,C.yPercent)),p.rotation=ft("rotation"in S?S.rotation:"shortRotation"in S?S.shortRotation+"_short":"rotationZ"in S?S.rotationZ:C.rotation,C.rotation,"rotation",O),It&&(p.rotationX=ft("rotationX"in S?S.rotationX:"shortRotationX"in S?S.shortRotationX+"_short":C.rotationX||0,C.rotationX,"rotationX",O),p.rotationY=ft("rotationY"in S?S.rotationY:"shortRotationY"in S?S.shortRotationY+"_short":C.rotationY||0,C.rotationY,"rotationY",O)),p.skewX=ft(S.skewX,C.skewX),p.skewY=ft(S.skewY,C.skewY)}for(It&&null!=S.force3D&&(C.force3D=S.force3D,d=!0),C.skewType=S.skewType||C.skewType||a.defaultSkewType,(c=C.force3D||C.z||C.rotationX||C.rotationY||p.z||p.rotationX||p.rotationY||p.perspective)||null==S.scale||(p.scaleZ=1);--P>-1;)w=Dt[P],A=p[w]-C[w],(A>1e-6||-1e-6>A||null!=S[w]||null!=B[w])&&(d=!0,s=new wt(C,w,C[w],A,s),w in O&&(s.e=O[w]),s.xs0=0,s.plugin=o,n._overwriteProps.push(s.n));return A=S.transformOrigin,C.svg&&(A||S.svgOrigin)&&(v=C.xOffset,x=C.yOffset,Vt(t,ht(A),p,S.svgOrigin,S.smoothOrigin),s=Tt(C,"xOrigin",(T?C:p).xOrigin,p.xOrigin,s,k),s=Tt(C,"yOrigin",(T?C:p).yOrigin,p.yOrigin,s,k),(v!==C.xOffset||x!==C.yOffset)&&(s=Tt(C,"xOffset",T?v:C.xOffset,C.xOffset,s,k),s=Tt(C,"yOffset",T?x:C.yOffset,C.yOffset,s,k)),A="0px 0px"),(A||It&&c&&C.zOrigin)&&(Lt?(d=!0,w=Ft,A=(A||et(t,w,r,!1,"50% 50%"))+"",(s=new wt(b,w,0,0,s,-1,k)).b=b[w],s.plugin=o,It?(f=C.zOrigin,A=A.split(" "),C.zOrigin=(A.length>2&&(0===f||"0px"!==A[2])?parseFloat(A[2]):f)||0,s.xs0=s.e=A[0]+" "+(A[1]||"50%")+" 0px",(s=new wt(C,"zOrigin",0,0,s,-1,s.n)).b=f,s.xs0=s.e=C.zOrigin):s.xs0=s.e=A):ht(A+"",C)),d&&(n._transformType=C.svg&&Ct||!c&&3!==this._transformType?2:3),h&&(l[i]=h),u&&(l.scale=u),s},prefix:!0}),Ot("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ot("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,a,o){e=this.format(e);var l,h,u,p,f,c,d,_,g,m,v,x,y,w,T,b,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(g=parseFloat(t.offsetWidth),m=parseFloat(t.offsetHeight),l=e.split(" "),h=0;h_?1:0))||""):(_=parseFloat(c),v=c.substr((_+"").length)),""===v&&(v=n[i]||x),v!==x&&(w=it(t,"borderLeft",d,x),T=it(t,"borderTop",d,x),"%"===v?(f=w/g*100+"%",p=T/m*100+"%"):"em"===v?(b=it(t,"borderLeft",1,"em"),f=w/b+"em",p=T/b+"em"):(f=w+"px",p=T+"px"),y&&(c=parseFloat(f)+_+v,u=parseFloat(p)+_+v)),a=bt(S,P[h],f+" "+p,c+" "+u,!1,"0px",a);return a},prefix:!0,formatter:vt("0px 0px 0px 0px",!1,!0)}),Ot("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,n,s,a){return bt(t.style,i,this.format(et(t,i,r,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:vt("0px 0px",!1,!0)}),Ot("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,n,s,a){var o,l,h,u,p,f,c="background-position",d=r||tt(t,null),g=this.format((d?_?d.getPropertyValue(c+"-x")+" "+d.getPropertyValue(c+"-y"):d.getPropertyValue(c):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),m=this.format(e);if(-1!==g.indexOf("%")!=(-1!==m.indexOf("%"))&&m.split(",").length<2&&((f=et(t,"backgroundImage").replace(M,""))&&"none"!==f)){for(o=g.split(" "),l=m.split(" "),W.setAttribute("src",f),h=2;--h>-1;)g=o[h],u=-1!==g.indexOf("%"),u!==(-1!==l[h].indexOf("%"))&&(p=0===h?t.offsetWidth-W.width:t.offsetHeight-W.height,o[h]=u?parseFloat(g)/100*p+"px":parseFloat(g)/p*100+"%");g=o.join(" ")}return this.parseComplex(t.style,g,m,s,a)},formatter:ht}),Ot("backgroundSize",{defaultValue:"0 0",formatter:function(t){return ht(-1===(t+="").indexOf(" ")?t+" "+t:t)}}),Ot("perspective",{defaultValue:"0px",prefix:!0}),Ot("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ot("transformStyle",{prefix:!0}),Ot("backfaceVisibility",{prefix:!0}),Ot("userSelect",{prefix:!0}),Ot("margin",{parser:xt("marginTop,marginRight,marginBottom,marginLeft")}),Ot("padding",{parser:xt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ot("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,s,a){var o,l,h;return 9>_?(l=t.currentStyle,h=8>_?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(et(t,this.p,r,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,s,a)}}),Ot("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ot("autoRound,strictUnits",{parser:function(t,e,i,n,r){return r}}),Ot("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,s,a){var o=et(t,"borderTopWidth",r,!1,"0px"),l=this.format(e).split(" "),h=l[0].replace(P,"");return"px"!==h&&(o=parseFloat(o)/it(t,"borderTopWidth",1,h)+h),this.parseComplex(t.style,this.format(o+" "+et(t,"borderTopStyle",r,!1,"solid")+" "+et(t,"borderTopColor",r,!1,"#000")),l.join(" "),s,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(mt)||["#000"])[0]}}),Ot("borderWidth",{parser:xt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ot("float,cssFloat,styleFloat",{parser:function(t,e,i,n,r,s){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new wt(a,o,0,0,r,-1,i,!1,0,a[o],e)}});var $t=function(t){var e,i=this.t,n=i.filter||et(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),e=!et(this.data,"filter")):(i.filter=n.replace(k,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+r+")"),-1===n.indexOf("pacity")?0===r&&this.xn1||(i.filter=n+" alpha(opacity="+r+")"):i.filter=n.replace(S,"opacity="+r))};Ot("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,s,a){var o=parseFloat(et(t,"opacity",r,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1===o&&"hidden"===et(t,"visibility",r)&&0!==e&&(o=0),Q?s=new wt(l,"opacity",o,e-o,s):((s=new wt(l,"opacity",100*o,100*(e-o),s)).xn1=h?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=a,s.setRatio=$t),h&&((s=new wt(l,"visibility",0,0,s,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",n._overwriteProps.push(s.n),n._overwriteProps.push(i)),s}});var Kt=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(A,"-$1").toLowerCase())):t.removeAttribute(e))},Jt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Kt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Ot("className",{parser:function(t,e,n,s,a,o,l){var h,u,p,f,c,d=t.getAttribute("class")||"",_=t.style.cssText;if((a=s._classNamePT=new wt(t,n,0,0,a,2)).setRatio=Jt,a.pr=-11,i=!0,a.b=d,u=rt(t,r),p=t._gsClassPT){for(f={},c=p.data;c;)f[c.p]=1,c=c._next;p.setRatio(1)}return t._gsClassPT=a,a.e="="!==e.charAt(1)?e:d.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",a.e),h=st(t,u,rt(t),l,f),t.setAttribute("class",d),a.data=h.firstMPT,t.style.cssText=_,a.xfirst=s.parse(t,h.difs,a,o)}});var te=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,r,s,a=this.t.style,o=l.transform.parse;if("all"===this.e)a.cssText="",r=!0;else for(e=this.e.split(" ").join("").split(","),n=e.length;--n>-1;)i=e[n],l[i]&&(l[i].parse===o?r=!0:i="transformOrigin"===i?Ft:l[i].p),Kt(a,i);r&&(Kt(a,Lt),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Ot("clearProps",{parser:function(t,e,n,r,s){return(s=new wt(t,n,0,0,s,2)).setRatio=te,s.e=e,s.pr=-10,s.data=r._tween,i=!0,s}}),h="bezier,throwProps,physicsProps,physics2D".split(","),Pt=h.length;Pt--;)kt(h[Pt]);(h=a.prototype)._firstPT=h._lastParsedTransform=h._transform=null,h._onInitTween=function(t,e,o,h){if(!t.nodeType)return!1;this._target=g=t,this._tween=o,this._vars=e,m=h,u=e.autoRound,i=!1,n=e.suffixMap||a.suffixMap,r=tt(t,""),s=this._overwriteProps;var c,_,v,x,y,w,T,b,P,S=t.style;if(p&&""===S.zIndex&&(("auto"===(c=et(t,"zIndex",r))||""===c)&&this._addLazySet(S,"zIndex",0)),"string"==typeof e&&(x=S.cssText,c=rt(t,r),S.cssText=x+";"+e,c=st(t,c,rt(t)).difs,!Q&&O.test(e)&&(c.opacity=parseFloat(RegExp.$1)),e=c,S.cssText=x),e.className?this._firstPT=_=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=_=this.parse(t,e,null),this._transformType){for(P=3===this._transformType,Lt?f&&(p=!0,""===S.zIndex&&(("auto"===(T=et(t,"zIndex",r))||""===T)&&this._addLazySet(S,"zIndex",0)),d&&this._addLazySet(S,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):S.zoom=1,v=_;v&&v._next;)v=v._next;b=new wt(t,"transform",0,0,null,2),this._linkCSSP(b,null,v),b.setRatio=Lt?Zt:Ht,b.data=this._transform||Qt(t,r,!0),b.tween=o,b.pr=-1,s.pop()}if(i){for(;_;){for(w=_._next,v=x;v&&v.pr>_.pr;)v=v._next;(_._prev=v?v._prev:y)?_._prev._next=_:x=_,(_._next=v)?v._prev=_:y=_,_=w}this._firstPT=x}return!0},h.parse=function(t,e,i,s){var a,o,h,p,f,c,d,_,v,x,y=t.style;for(a in e)c=e[a],"function"==typeof c&&(c=c(m,g)),o=l[a],o?i=o.parse(t,c,a,this,i,s,e):(f=et(t,a,r)+"",v="string"==typeof c,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||v&&C.test(c)?(v||(c=_t(c),c=(c.length>3?"rgba(":"rgb(")+c.join(",")+")"),i=bt(y,a,f,c,!0,"transparent",i,0,s)):v&&I.test(c)?i=bt(y,a,f,c,!0,null,i,0,s):(h=parseFloat(f),d=h||0===h?f.substr((h+"").length):"",(""===f||"auto"===f)&&("width"===a||"height"===a?(h=lt(t,a,r),d="px"):"left"===a||"top"===a?(h=nt(t,a,r),d="px"):(h="opacity"!==a?0:1,d="")),x=v&&"="===c.charAt(1),x?(p=parseInt(c.charAt(0)+"1",10),c=c.substr(2),p*=parseFloat(c),_=c.replace(P,"")):(p=parseFloat(c),_=v?c.replace(P,""):""),""===_&&(_=a in n?n[a]:d),c=p||0===p?(x?p+h:p)+_:e[a],d!==_&&""!==_&&(p||0===p)&&h&&(h=it(t,a,h,d),"%"===_?(h/=it(t,a,100,"%")/100,!0!==e.strictUnits&&(f=h+"%")):"em"===_||"rem"===_||"vw"===_||"vh"===_?h/=it(t,a,1,_):"px"!==_&&(p=it(t,a,p,_),_="px"),x&&(p||0===p)&&(c=p+h+_)),x&&(p+=h),!h&&0!==h||!p&&0!==p?void 0!==y[a]&&(c||c+""!="NaN"&&null!=c)?(i=new wt(y,a,p||h||0,0,i,-1,a,!1,0,f,c),i.xs0="none"!==c||"display"!==a&&-1===a.indexOf("Style")?c:f):Z("invalid "+a+" tween value: "+e[a]):(i=new wt(y,a,h,p-h,i,0,a,!1!==u&&("px"===_||"zIndex"===a),0,f,c),i.xs0=_))),s&&i&&!i.plugin&&(i.plugin=s);return i},h.setRatio=function(t){var e,i,n,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(n=r.l,2===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,n=1;n-1;)ie(t[r],e,i);else for(n=t.childNodes,r=n.length;--r>-1;)s=n[r],a=s.type,s.style&&(e.push(rt(s)),i&&i.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||ie(s,e,i)};return a.cascadeTo=function(t,i,n){var r,s,a,o,l=e.to(t,i,n),h=[l],u=[],p=[],f=[],c=e._internals.reservedProps;for(t=l._targets||l.target,ie(t,u,f),l.render(i,!0,!0),ie(t,p),l.render(0,!0,!0),l._enabled(!0),r=f.length;--r>-1;)if(s=st(f[r],u[r],p[r]),s.firstMPT){s=s.difs;for(a in n)c[a]&&(s[a]=n[a]);o={};for(a in s)o[a]=u[r][a];h.push(e.fromTo(f[r],i,o,s))}return h},t.activate([a]),a},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).CSSPlugin};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=e())}(),function(t){"use strict";var e=t.GreenSockGlobals||t,i=function(t){var i,n=t.split("."),r=e;for(i=0;i":">")}},d=i.SplitText=e.SplitText=function(t,e){if("string"==typeof t&&(t=d.selector(t)),!t)throw"cannot split a null element.";this.elements=l(t)?function(t){var e,i,n,r=[],s=t.length;for(e=0;s>e;e++)if(i=t[e],l(i))for(n=i.length,n=0;n-1;)t.push(e[i])},m=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},v=function(t,e,i){for(var n;t&&t!==e;){if(n=t._next||t.nextSibling)return n.textContent.charAt(0)===i;t=t.parentNode||t._parent}return!1},x=function(t){var e,i,n=m(t.childNodes),r=n.length;for(e=0;r>e;e++)i=n[e],i._isSplit?x(i):(e&&3===i.previousSibling.nodeType?i.previousSibling.nodeValue+=3===i.nodeType?i.nodeValue:i.firstChild.nodeValue:3!==i.nodeType&&t.insertBefore(i.firstChild,i),t.removeChild(i))},y=function(t,e,i,n,a,l,h){var u,p,f,c,d,m,y,w,T,b,P,S,O=s(t),k=o(t,"paddingLeft",O),C=-999,A=o(t,"borderBottomWidth",O)+o(t,"borderTopWidth",O),R=o(t,"borderLeftWidth",O)+o(t,"borderRightWidth",O),M=o(t,"paddingTop",O)+o(t,"paddingBottom",O),E=o(t,"paddingLeft",O)+o(t,"paddingRight",O),D=.2*o(t,"fontSize"),L=o(t,"textAlign",O,!0),N=[],F=[],I=[],X=e.wordDelimiter||" ",z=e.span?"span":"div",B=e.type||e.split||"chars,words,lines",j=a&&-1!==B.indexOf("lines")?[]:null,Y=-1!==B.indexOf("words"),V=-1!==B.indexOf("chars"),G="absolute"===e.position||!0===e.absolute,W=e.linesClass,q=-1!==(W||"").indexOf("++"),U=[];for(j&&1===t.children.length&&t.children[0]._isSplit&&(t=t.children[0]),q&&(W=W.split("++").join("")),f=(p=t.getElementsByTagName("*")).length,d=[],u=0;f>u;u++)d[u]=p[u];if(j||G)for(u=0;f>u;u++)c=d[u],m=c.parentNode===t,(m||G||V&&!Y)&&(S=c.offsetTop,j&&m&&Math.abs(S-C)>D&&"BR"!==c.nodeName&&(y=[],j.push(y),C=S),G&&(c._x=c.offsetLeft,c._y=S,c._w=c.offsetWidth,c._h=c.offsetHeight),j&&((c._isSplit&&m||!V&&m||Y&&m||!Y&&c.parentNode.parentNode===t&&!c.parentNode._isSplit)&&(y.push(c),c._x-=k,v(c,t,X)&&(c._wordEnd=!0)),"BR"===c.nodeName&&c.nextSibling&&"BR"===c.nextSibling.nodeName&&j.push([])));for(u=0;f>u;u++)c=d[u],m=c.parentNode===t,"BR"!==c.nodeName?(G&&(T=c.style,Y||m||(c._x+=c.parentNode._x,c._y+=c.parentNode._y),T.left=c._x+"px",T.top=c._y+"px",T.position="absolute",T.display="block",T.width=c._w+1+"px",T.height=c._h+"px"),!Y&&V?c._isSplit?(c._next=c.nextSibling,c.parentNode.appendChild(c)):c.parentNode._isSplit?(c._parent=c.parentNode,!c.previousSibling&&c.firstChild&&(c.firstChild._isFirst=!0),c.nextSibling&&" "===c.nextSibling.textContent&&!c.nextSibling.nextSibling&&U.push(c.nextSibling),c._next=c.nextSibling&&c.nextSibling._isFirst?null:c.nextSibling,c.parentNode.removeChild(c),d.splice(u--,1),f--):m||(S=!c.nextSibling&&v(c.parentNode,t,X),c.parentNode._parent&&c.parentNode._parent.appendChild(c),S&&c.parentNode.appendChild(r.createTextNode(" ")),e.span&&(c.style.display="inline"),N.push(c)):c.parentNode._isSplit&&!c._isSplit&&""!==c.innerHTML?F.push(c):V&&!c._isSplit&&(e.span&&(c.style.display="inline"),N.push(c))):j||G?(c.parentNode&&c.parentNode.removeChild(c),d.splice(u--,1),f--):Y||t.appendChild(c);for(u=U.length;--u>-1;)U[u].parentNode.removeChild(U[u]);if(j){for(G&&(b=r.createElement(z),t.appendChild(b),P=b.offsetWidth+"px",S=b.offsetParent===t?0:t.offsetLeft,t.removeChild(b)),T=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(w=" "===X&&(!G||!Y&&!V),u=0;up;p++)"BR"!==y[p].nodeName&&(c=y[p],b.appendChild(c),w&&c._wordEnd&&b.appendChild(r.createTextNode(" ")),G&&(0===p&&(b.style.top=c._y+"px",b.style.left=k+S+"px"),c.style.top="0px",S&&(c.style.left=c._x-S+"px")));0===f?b.innerHTML=" ":Y||V||(x(b),_(b,String.fromCharCode(160)," ")),G&&(b.style.width=P,b.style.height=c._h+"px"),t.appendChild(b)}t.style.cssText=T}G&&(h>t.clientHeight&&(t.style.height=h-M+"px",t.clientHeightt.clientWidth&&(t.style.width=l-E+"px",t.clientWidth1){for(e.absolute=!1,a=0;c>a;a++)l=f[a],(3!==l.nodeType||/\S+/.test(l.nodeValue))&&(d&&3!==l.nodeType&&"inline"===o(l,"display",null,!0)&&(l.style.display="inline-block",l.style.position="relative"),l._isSplit=!0,w(l,e,i,s));return e.absolute=d,void(t._isSplit=!0)}!function(t,e,i,s){var a,o,l,f,c,d,g,m,v,x=e.span?"span":"div",y=e.type||e.split||"chars,words,lines",w=(y.indexOf("words"),-1!==y.indexOf("chars")),T="absolute"===e.position||!0===e.absolute,b=e.wordDelimiter||" ",P=" "!==b?"":T?"­ ":" ",S=e.span?"":"",O=!0,k=r.createElement("div"),C=t.parentNode;for(C.insertBefore(k,t),k.textContent=t.nodeValue,C.removeChild(t),g=-1!==(a=n(t=k)).indexOf("<"),!1!==e.reduceWhiteSpace&&(a=a.replace(u," ").replace(h,"")),g&&(a=a.split("<").join("{{LT}}")),c=a.length,o=(" "===a.charAt(0)?P:"")+i(),l=0;c>l;l++)if(d=a.charAt(l),d===b&&a.charAt(l-1)!==b&&l){for(o+=O?S:"",O=!1;a.charAt(l+1)===b;)o+=P,l++;l===c-1?o+=P:")"!==a.charAt(l+1)&&(o+=P+i(),O=!0)}else"{"===d&&"{{LT}}"===a.substr(l,6)?(o+=w?s()+"{{LT}}":"{{LT}}",l+=5):d.charCodeAt(0)>=55296&&d.charCodeAt(0)<=56319||a.charCodeAt(l+1)>=65024&&a.charCodeAt(l+1)<=65039?(m=p(a.substr(l,2)),v=p(a.substr(l+2,2)),f=m>=127462&&127487>=m&&v>=127462&&127487>=v||v>=127995&&127999>=v?4:2,o+=w&&" "!==d?s()+a.substr(l,f)+"":a.substr(l,f),l+=f-1):o+=w&&" "!==d?s()+d+"":d;t.outerHTML=o+(O?S:""),g&&_(C,"{{LT}}","<")}(t,e,i,s)},T=d.prototype;T.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,r=this.elements.length,s=t.span?"span":"div",a=("absolute"===t.position||t.absolute,c(t.wordsClass,s)),o=c(t.charsClass,s);--r>-1;)n=this.elements[r],this._originals[r]=n.innerHTML,e=n.clientHeight,i=n.clientWidth,w(n,t,a,o),y(n,t,this.chars,this.words,this.lines,i,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},T.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var t=this._originals.length;--t>-1;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},d.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(d.selector=i,i(e)):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)},d.version="0.5.6"}(_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).SplitText};"function"==typeof define&&define.amd?define([],e):"undefined"!=typeof module&&module.exports&&(module.exports=e())}();try{window.GreenSockGlobals=null,window._gsQueue=null,window._gsDefine=null,delete window.GreenSockGlobals,delete window._gsQueue,delete window._gsDefine}catch(t){}try{window.GreenSockGlobals=oldgs,window._gsQueue=oldgs_queue}catch(t){}if(1==window.tplogs)try{console.groupEnd()}catch(t){}!function(t,e){t.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]},t.expr[":"].uncached=function(e){var i=document.createElement("img");return i.src=e.src,t(e).is('img[src!=""]')&&!i.complete},t.fn.waitForImages=function(e,i,n){if(t.isPlainObject(arguments[0])&&(i=e.each,n=e.waitForAll,e=e.finished),e=e||t.noop,i=i||t.noop,n=!!n,!t.isFunction(e)||!t.isFunction(i))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var r=t(this),s=[];if(n){var a=t.waitForImages.hasImageProperties||[],o=/url\((['"]?)(.*?)\1\)/g;r.find("*").each(function(){var e=t(this);e.is("img:uncached")&&s.push({src:e.attr("src"),element:e[0]}),t.each(a,function(t,i){var n,r=e.css(i);if(!r)return!0;for(;n=o.exec(r);)s.push({src:n[2],element:e[0]})})})}else r.find("img:uncached").each(function(){s.push({src:this.src,element:this})});var l=s.length,h=0;0==l&&e.call(r[0]),t.each(s,function(n,s){var a=new Image;t(a).bind("load error",function(t){if(h++,i.call(s.element,h,l,"load"==t.type),h==l)return e.call(r[0]),!1}),a.src=s.src})})}}(jQuery);var SqueezeBox=new function(){this.onClose=null,this.initialize=function(){},this.assign=function(){},this.open=function(t){},this.close=function(){}};