PageSourceSearch

https://graphek.de/wp-content/themes/graphek4/assets/js/dist/_plugins.min.js?ver=1779794404

js graphek.de collected 2026-10-07 01:52:25 UTC 119,238 bytes, 3 lines download raw bytes

1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(){return Pe||"undefined"!=typeof window&&(Pe=window.gsap)&&Pe.registerPlugin&&Pe}function rt(e){return!!~i.indexOf(e)}function Te(e,t,n,r,o){e.addEventListener(t,n,{passive:!r,capture:!!o})}function Ee(e,t,n,r){e.removeEventListener(t,n,!!r)}function ot(){return Ce&&Ce.isPressed||Re.cache++}function a(n,r){function o(e){var t;return e||0===e?(c&&(Me.history.scrollRestoration="manual"),t=Ce&&Ce.isPressed,e=o.v=Math.round(e)||(Ce&&Ce.iOS?1:0),n(e),o.cacheID=Re.cache,t&&u("ss",e)):(r||Re.cache!==o.cacheID||u("ref"))&&(o.cacheID=Re.cache,o.v=n()),o.v+o.offset}return o.offset=0,n&&o}function Ae(e){return Pe.utils.toArray(e)[0]||("string"==typeof e&&!1!==Pe.config().nullTargetWarn?console.warn("Element not found:",e):null)}function it(t,e){var n=e.s,e=e.sc,r=(rt(t)&&(t=dt.scrollingElement||pt),Re.indexOf(t)),o=e===Ie.sc?1:2,i=(~r||(r=Re.push(t)-1),Re[r+o]||t.addEventListener("scroll",ot),Re[r+o]);return(r=i||(Re[r+o]=a(wt(t,n),!0)||(rt(t)?e:a(function(e){return arguments.length?t[n]=e:t[n]})))).target=t,i||(r.smooth="smooth"===Pe.getProperty(t,"scrollBehavior")),r}function at(e,t,o){function i(e,t){var n=xt();t||r<n-l?(s=a,a=e,c=l,l=n):o?a+=e:a=s+(e-s)/(n-c)*(l-c)}var a=e,s=e,l=xt(),c=l,r=t||50,u=Math.max(500,3*r);return{update:i,reset:function(){s=a=o?0:a,c=l=0},getVelocity:function(e){var t=c,n=s,r=xt();return!e&&0!==e||e===a||i(e),l===c||u<r-c?0:(a+(o?n:-n))/((o?r:l)-t)*1e3}}}function st(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e}function lt(e){var t=Math.max.apply(Math,e),e=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(e)?t:e}function ct(){(mt=Pe.core.globals().ScrollTrigger)&&mt.core&&f()}function ut(e){return(Pe=e||o())&&"undefined"!=typeof document&&document.body&&(Me=window,pt=(dt=document).documentElement,ht=dt.body,i=[Me,dt,pt,ht],Pe.utils.clamp,yt=Pe.core.context||function(){},vt="onpointerenter"in ht?"pointer":"mouse",gt=C.isTouch=Me.matchMedia&&Me.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Me||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints?2:0,Oe=C.eventTypes=("ontouchstart"in pt?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in pt?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return c=0},500),ct(),ft=1),ft}var Pe,ft,Me,dt,pt,ht,gt,vt,mt,i,Ce,Oe,yt,s,l,c=1,bt=[],Re=[],De=[],xt=Date.now,u=function(e,t){return t},f=function(){var e=mt.core,n=e.bridge||{},t=e._scrollers,e=e._proxies;t.push.apply(t,Re),e.push.apply(e,De),Re=t,De=e,u=function(e,t){return n[e](t)}},wt=function(e,t){return~De.indexOf(e)&&De[De.indexOf(e)+1][t]},d="scrollLeft",p="scrollTop",Ye={s:d,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:a(function(e){return arguments.length?Me.scrollTo(e,Ie.sc()):Me.pageXOffset||dt[d]||pt[d]||ht[d]||0})},Ie={s:p,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Ye,sc:a(function(e){return arguments.length?Me.scrollTo(Ye.sc(),e):Me.pageYOffset||dt[p]||pt[p]||ht[p]||0})},C=(Ye.op=Ie,Re.cache=0,h.prototype.init=function(e){ft||ut(Pe)||console.warn("Please gsap.registerPlugin(Observer)"),mt||ct();function t(){return _e=xt()}function o(e){var t,n,r,o;!A(e,1)&&(t=(e=st(e,g)).clientX,e=e.clientY,n=t-_.x,r=e-_.y,o=_.isDragging,_.x=t,_.y=e,o||Math.abs(_.startX-t)>=f||Math.abs(_.startY-e)>=f)&&(K&&(a=!0),o||(_.isDragging=!0),ke(n,r),o||j&&j(_))}function n(e){return e.touches&&1<e.touches.length&&(_.isGesturing=!0,ue(e,_.isDragging))}function X(){return _.isGesturing=!1,fe(_)}function z(e){var t;A(e)||(e=T(),t=E(),Se((e-be)*x,(t-xe)*x,1),be=e,xe=t,v&&I.restart(!0))}function B(e){var t;A(e)||(e=st(e,g),de&&(l=!0),t=(1===e.deltaMode?W:2===e.deltaMode?Me.innerHe
1ight:1)*V,Se(e.deltaX*t,e.deltaY*t,0),v&&!b&&I.restart(!0))}function F(e){var t,n,r;!A(e)&&(t=e.clientX,e=e.clientY,n=t-_.x,r=e-_.y,_.x=t,_.y=e,s=!0,n||r)&&ke(n,r)}function L(e){_.event=e,se(_)}function H(e){_.event=e,le(_)}function N(e){return A(e)||st(e,g)&&ge(_)}var i,a,s,l,c,r,u=e.tolerance,f=e.dragMinimum,d=e.type,p=e.target,W=e.lineHeight,h=e.debounce,g=e.preventDefault,v=e.onStop,q=e.onStopDelay,m=e.ignore,V=e.wheelSpeed,U=e.event,j=e.onDragStart,G=e.onDragEnd,K=e.onDrag,Z=e.onPress,$=e.onRelease,J=e.onRight,Q=e.onLeft,ee=e.onUp,te=e.onDown,ne=e.onChangeX,re=e.onChangeY,oe=e.onChange,ie=e.onToggleX,ae=e.onToggleY,se=e.onHover,le=e.onHoverEnd,y=e.onMove,ce=e.ignoreCheck,b=e.isNormalizer,ue=e.onGestureStart,fe=e.onGestureEnd,de=e.onWheel,pe=e.onEnable,he=e.onDisable,ge=e.onClick,x=e.scrollSpeed,w=e.capture,ve=e.allowClicks,me=e.lockAxis,ye=e.onLockAxis,m=(this.target=p=Ae(p)||pt,this.vars=e,m&&Pe.utils.toArray(m)),u=u||1e-9,f=f||0,V=V||1,x=x||1,d=d||"wheel,touch,pointer",h=!1!==h,W=W||parseFloat(Me.getComputedStyle(ht).lineHeight)||22,_=this,S=0,k=0,T=it(p,Ye),E=it(p,Ie),be=T(),xe=E(),we=~d.indexOf("touch")&&!~d.indexOf("pointer")&&"pointerdown"===Oe[0],P=rt(p),M=p.ownerDocument||dt,C=[0,0,0],O=[0,0,0],_e=0,A=function(e,t){return(_.event=e)&&m&&~m.indexOf(e.target)||t&&we&&"touch"!==e.pointerType||ce&&ce(e,t)},R=function(){var e=_.deltaX=lt(C),t=_.deltaY=lt(O),n=Math.abs(e)>=u,r=Math.abs(t)>=u;oe&&(n||r)&&oe(_,e,t,C,O),n&&(J&&0<_.deltaX&&J(_),Q&&_.deltaX<0&&Q(_),ne&&ne(_),ie&&_.deltaX<0!=S<0&&ie(_),S=_.deltaX,C[0]=C[1]=C[2]=0),r&&(te&&0<_.deltaY&&te(_),ee&&_.deltaY<0&&ee(_),re&&re(_),ae&&_.deltaY<0!=k<0&&ae(_),k=_.deltaY,O[0]=O[1]=O[2]=0),(s||a)&&(y&&y(_),a&&(K(_),a=!1),s=!1),c&&(c=!1,ye)&&ye(_),l&&(de(_),l=!1),i=0},Se=function(e,t,n){C[n]+=e,O[n]+=t,_._vx.update(e),_._vy.update(t),h?i=i||requestAnimationFrame(R):R()},ke=function(e,t){me&&!r&&(_.axis=r=Math.abs(e)>Math.abs(t)?"x":"y",c=!0),"y"!==r&&(C[2]+=e,_._vx.update(e,!0)),"x"!==r&&(O[2]+=t,_._vy.update(t,!0)),h?i=i||requestAnimationFrame(R):R()},D=_.onPress=function(e){A(e,1)||e&&e.button||(_.axis=r=null,I.pause(),_.isPressed=!0,e=st(e),S=k=0,_.startX=_.x=e.clientX,_.startY=_.y=e.clientY,_._vx.reset(),_._vy.reset(),Te(b?p:M,Oe[1],o,g,!0),_.deltaX=_.deltaY=0,Z&&Z(_))},Y=_.onRelease=function(t){var e,n,r;A(t,1)||(Ee(b?p:M,Oe[1],o,!0),e=!isNaN(_.y-_.startY),n=_.isDragging&&(3<Math.abs(_.x-_.startX)||3<Math.abs(_.y-_.startY)),r=st(t),!n&&e&&(_._vx.reset(),_._vy.reset(),g)&&ve&&Pe.delayedCall(.08,function(){var e;300<xt()-_e&&!t.defaultPrevented&&(t.target.click?t.target.click():M.createEvent&&((e=M.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,Me,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)))}),_.isDragging=_.isGesturing=_.isPressed=!1,v&&!b&&I.restart(!0),G&&n&&G(_),$&&$(_,n))},I=_._dc=Pe.delayedCall(q||.25,function(){_._vx.reset(),_._vy.reset(),I.pause(),v&&v(_)}).pause();_.deltaX=_.deltaY=0,_._vx=at(0,50,!0),_._vy=at(0,50,!0),_.scrollX=T,_.scrollY=E,_.isDragging=_.isGesturing=_.isPressed=!1,yt(this),_.enable=function(e){return _.isEnabled||(Te(P?M:p,"scroll",ot),0<=d.indexOf("scroll")&&Te(P?M:p,"scroll",z,g,w),0<=d.indexOf("wheel")&&Te(p,"wheel",B,g,w),(0<=d.indexOf("touch")&&gt||0<=d.indexOf("pointer"))&&(Te(p,Oe[0],D,g,w),Te(M,Oe[2],Y),Te(M,Oe[3],Y),ve&&Te(p,"click",t,!1,!0),ge&&Te(p,"click",N),ue&&Te(M,"gesturestart",n),fe&&Te(M,"gestureend",X),se&&Te(p,vt+"enter",L),le&&Te(p,vt+"leave",H),y)&&Te(p,vt+"move",F),_.isEnabled=!0,e&&e.type&&D(e),pe&&pe(_)),_},_.disable=function(){_.isEnabled&&(bt.filter(function(e){return e!==_&&rt(e.target)}).length||Ee(P?M:p,"scroll",ot),_.isPressed&&(_._vx.reset(),_._vy.reset(),Ee(b?p:M,Oe[1],o,!0)),Ee(P?M:p,"scroll",z,w),Ee(p,"wheel",B,w),Ee(p,Oe[0],D,w),Ee(M,Oe[2],Y),Ee(M,Oe[3],Y),Ee(p,"click",t,!0),Ee(p,"click",N),Ee(M,"gesturestart",n),Ee(M,"gestureend",X),Ee(p,vt+"enter",L),Ee(p,vt+"leave",H),Ee(p,vt+"move",F),_.isEnabled=_.isPressed=_.isDragging=!1,he)&&he(_)},_.kill=_.revert=function(){_.disable();var e=bt.indexOf(_);0<=e&&bt.splice(e,1),Ce===_&&(Ce=0)},bt.push(_),b&&rt(p)&&(Ce=_),_.enable(U)},s=h,(G=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&r(s.prototype,G),l&&r(s,l),h);function h(e){this.init(e)}C.version="3.11.5",C.create=function(e){return new C(e)},C.register=ut,C.getAll=function(){return bt.slice()},C.getById=function(t){return bt.filter(function(e){return e.vars.id===t})[0]},o()&&Pe.registerPlugin(C);function g(){return en&&requestAnimationFrame(g)}function v(){return Ut=1}function m(){return Ut=0}function Xe(e){return e}function _t(e){return Math.round(1e5*e)/1e5||0}function y(){return"undefined"!=typeof window}function b(){return ze||y()&&(ze=window.gsap)&&ze.registerPlugin&&ze}function St(e){return wt(e,"getBoundingClientRect")||(tn(e)?function(){return bn.width=Be.innerWidth,bn.height=Be.innerHe
1ight,bn}:function(){return dn(e)})}function x(e,t){for(var n=0;n<z.length;n+=3)t&&!~t.indexOf(z[n+1])||e(z[n],z[n+1],z[n+2])}function kt(e){return"number"==typeof e}function Tt(e){return"object"==typeof e}function Et(e,t,n){e&&e.progress(t?0:1)&&n&&e.pause()}function Pt(e,t){e.enabled&&(t=t(e))&&t.totalTime&&(e.callbackAnimation=t)}function Mt(e,t){for(var n in t)n in e||(e[n]=t[n]);return e}function Ct(e,t){return t=t.d2,e["offset"+t]||e["client"+t]||0}function Ot(e){var t,n=[],r=e.labels,o=e.duration();for(t in r)n.push(r[t]/o);return n}function At(o){var i=ze.utils.snap(o),a=Array.isArray(o)&&o.slice(0).sort(function(e,t){return e-t});return a?function(e,t,n){var r;if(void 0===n&&(n=.001),!t)return i(e);if(0<t){for(e-=n,r=0;r<a.length;r++)if(a[r]>=e)return a[r];return a[r-1]}for(r=a.length,e+=n;r--;)if(a[r]<=e)return a[r];return a[0]}:function(e,t,n){void 0===n&&(n=.001);var r=i(e);return!t||Math.abs(r-e)<n||r-e<0==t<0?r:i(t<0?e-o:e+o)}}function w(t,n,e,r){e.split(",").forEach(function(e){return t(n,e,r)})}function _(e,t,n){(n=n&&n.wheelHandler)&&(e(t,"wheel",n),e(t,"touchmove",n))}function Rt(e,t){var n,r;return je(e)&&(r=~(n=e.indexOf("="))?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0,~n&&(e.indexOf("%")>n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in K?K[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)),e}function Dt(e,t,n,r,o,i,a,s){var l=o.startColor,c=o.endColor,u=o.fontSize,f=o.indent,o=o.fontWeight,d=Fe.createElement("div"),p=tn(n)||"fixed"===wt(n,"pinType"),h=-1!==e.indexOf("scroller"),n=p?He:n,g=-1!==e.indexOf("start"),c="border-color:"+(l=g?l:c)+";font-size:"+u+";color:"+l+";font-weight:"+o+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return c+="position:"+((h||s)&&p?"fixed;":"absolute;"),!h&&!s&&p||(c+=(r===Ie?U:j)+":"+(i+parseFloat(f))+"px;"),a&&(c+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),d._isStart=g,d.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),d.style.cssText=c,d.innerText=t||0===t?e+"-"+t:e,n.children[0]?n.insertBefore(d,n.children[0]):n.appendChild(d),d._offset=d["offset"+r.op.d2],S(d,0,r,g),d}function S(e,t,n,r){var o={display:"block"},i=n[r?"os2":"p2"],a=n[r?"p2":"os2"];e._isFlipped=r,o[n.a+"Percent"]=r?-100:0,o[n.a]=r?"1px":0,o["border"+i+fn]=1,o["border"+a+fn]=0,o[n.p]=t+"px",ze.set(e,o)}function k(){return 34<Ve()-Ue&&(q=q||requestAnimationFrame(ne))}function Yt(){t&&t.isPressed&&!(t.startX>He.clientWidth)||(Re.cache++,t?q=q||requestAnimationFrame(ne):ne(),Ue||J("scrollStart"),Ue=Ve())}function T(){H=Be.innerWidth,L=Be.innerHeight}function It(){Re.cache++,Ne||B||Fe.fullscreenElement||Fe.webkitFullscreenElement||F&&H===Be.innerWidth&&!(Math.abs(Be.innerHeight-L)>.25*Be.innerHeight)||R.restart(!0)}function E(e){for(var t=0;t<n.length;t+=5)(!e||n[t+4]&&n[t+4].query===e)&&(n[t].style.cssText=n[t+1],n[t].getBBox&&n[t].setAttribute("transform",n[t+2]||""),n[t+3].uncache=1)}function Xt(e,t){Ue&&!e?Qe(O,"scrollEnd",vn):(qe=O.isRefreshing=!0,Re.forEach(function(e){return Ge(e)&&e.cacheID++&&(e.rec=e())}),e=J("refreshInit"),jt&&O.sort(),t||Q(),Re.forEach(function(e){Ge(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),tt.slice(0).forEach(function(e){return e.refresh()}),tt.forEach(function(e,t){var n,r;e._subPinOffset&&e.pin&&(n=e.vars.horizontal?"offsetWidth":"offsetHeight",r=e.pin[n],e.revert(!0,1),e.adjustPinSpacing(e.pin[n]-r),e.refresh())}),tt.forEach(function(e){return"max"===e.vars.end&&e.setPositions(e.start,Math.max(e.start+1,nn(e.scroller,e._dir)))}),e.forEach(function(e){return e&&e.render&&e.render(-1)}),Re.forEach(function(e){Ge(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth"}),e.rec)&&e(e.rec)}),ee(W,1),R.pause(),mn++,ne(qe=2),tt.forEach(function(e){return Ge(e.vars.onRefresh)&&e.vars.onRefresh(e)}),qe=O.isRefreshing=!1,J("refresh"))}function zt(e,t,n,r){if(!e._gsap.swappedIn){for(var o,i=re.length,a=t.style,s=e.style;i--;)a[o=re[i]]=n[o];a.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(a.display="inline-block"),s[j]=s[U]="auto",a.flexBasis=n.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a[on]=Ct(e,Ye)+$e,a[an]=Ct(e,Ie)+$e,a[Ke]=s[Ze]=s.top=s.left="0",Bt(r),s[on]=s["max"+fn]=n[on],s[an]=s.maxHeight=n[an],s[Ke]=n[Ke],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}}function Bt(e){if(e){var t,n,r=e.t.style,o=e.length,i=0;for((e.t._gsap||ze.core.getCache(e.t)).uncache=1;i<o;i+=2)n=e[i+1],t=e[i],n?r[t]=n:r[t]&&r.removeProperty(t.replace(ie,"-$1").toLowerCase())}}function Ft(e){for(var t=oe.length,n=e.style,r=[],o=0;o<t;o++)r.push(oe[o],n[oe[o]]);return r.t=e,r}function Lt(e,t,n,r,o,i,a,s,l,c,u,f,d){Ge(e)&&(e=e(s)),je(e)&&"max"===e.substr(0,3)&&(e=f+("="===e.charAt(4)?Rt("0"+e.substr(3),n):0));var p,h,g,v=d?d.time():0;return d&&d.seek(0),kt(e)?(d&&(e=ze.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,f,e)),a&&S(a,n,r,!0)):(Ge(t)&&(t=t(s)),s=(e||"0").split(" "),h=Ae(t)||He,(t=dn(h)||{})&&(t.left||t.top)||"none"!==Je(h).display||(p=h.style.display,h.style.display="block",t=dn(h),p?h.style.display=p:h.style.removeProperty("display")),p=Rt(s[0],t[r.d]),s=Rt(s[1]||"0",n),e=t[r.p]-l[r.p]-c+p+o-s,a&&S(a,s,r,n-s<20||a._isStart&&20<s),n-=n-s),i&&(t=i._isStart,g="scroll"+r.d2,S(i,c=e+n,r,t&&20<c||!t&&(u?Math.max(He[g],Le[g]):i.parentNode[g])<=c+1),u)&&(l=dn(a),u)&&(i.style[r.op.p]=l[r.op.p]-r.op.m-i._offset+$e),d&&h&&(g=dn(h),d.seek(f),p=dn(h),d._caScrollDist=g[r.p]-p[r.p],e=e/d._caScrollDist*f),d&&d.seek(v),d?e:Math.round(e)}function Ht(e,t,n,r){if(e.parentNode!==t){var o,i,a=e.style;if(t===He){for(o in e._stOrig=a.cssText,i=Je(e))+o||ae.test(o)||!i[o]||"string"!=typeof a[o]||"0"===o||(a[o]=i[o]);
1a.top=n,a.left=r}else a.cssText=e._stOrig;ze.core.getCache(e).uncache=1,t.appendChild(e)}}function A(n,e,r){var o=e,i=o;return function(e){var t=Math.round(n());return t!==o&&t!==i&&3<Math.abs(t-o)&&3<Math.abs(t-i)&&(e=t,r)&&r(),i=o,o=e}}function Nt(c,e){function u(e,t,n,r,o){var i=u.tween,a=t.onComplete,s={},l=(n=n||f(),A(f,n,function(){i.kill(),u.tween=0}));return o=r&&o||0,r=r||e-n,i&&i.kill(),t[d]=e,(t.modifiers=s)[d]=function(){return l(n+r*i.ratio+o*i.ratio*i.ratio)},t.onUpdate=function(){Re.cache++,ne()},t.onComplete=function(){u.tween=0,a&&a.call(i)},i=u.tween=ze.to(c,t)}var f=it(c,e),d="_scroll"+e.p2;return(c[d]=f).wheelHandler=function(){return u.tween&&u.tween.kill()&&(u.tween=0)},Qe(c,"wheel",f.wheelHandler),O.isTouch&&Qe(c,"touchmove",f.wheelHandler),u}var ze,P,Be,Fe,Le,He,M,R,Wt,qt,Vt,D,Ne,Ut,Y,We,I,X,z,jt,Gt,B,t,F,L,H,N,Kt,W,Zt,q,qe,$t,Jt,Qt=1,Ve=Date.now,V=Ve(),Ue=0,en=0,tn=function(e){return!!~M.indexOf(e)},nn=function(e,t){t.s;var n,r=t.d2,o=t.d,t=t.a;return Math.max(0,(n="scroll"+r)&&(t=wt(e,n))?t()-St(e)()[o]:tn(e)?(Le[n]||He[n])-(Be["inner"+r]||Le["client"+r]||He["client"+r]):e[n]-e["offset"+r])},je=function(e){return"string"==typeof e},Ge=function(e){return"function"==typeof e},rn=Math.abs,U="right",j="bottom",on="width",an="height",sn="Right",ln="Left",cn="Top",un="Bottom",Ke="padding",Ze="margin",fn="Width",G="Height",$e="px",Je=function(e){return Be.getComputedStyle(e)},dn=function(e,t){t=t&&"matrix(1, 0, 0, 1, 0, 0)"!==Je(e)[Y]&&ze.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),e=e.getBoundingClientRect();return t&&t.progress(0).kill(),e},Qe=function(e,t,n,r,o){return e.addEventListener(t,n,{passive:!r,capture:!!o})},et=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},pn={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},hn={toggleActions:"play",anticipatePin:0},K={top:0,left:0,center:.5,bottom:1,right:1},tt=[],gn={},Z={},$=[],vn=function e(){return et(O,"scrollEnd",e)||Xt(!0)},J=function(e){return Z[e]&&Z[e].map(function(e){return e()})||$},n=[],Q=function(e,t){var n;for(We=0;We<tt.length;We++)!(n=tt[We])||t&&n._ctx!==t||(e?n.kill(1):n.revert(!0,!0));t&&E(t),t||J("revert")},ee=function(e,t){Re.cache++,!t&&qe||Re.forEach(function(e){return Ge(e)&&e.cacheID++&&(e.rec=0)}),je(e)&&(Be.history.scrollRestoration=W=e)},mn=0,te=0,yn=1,ne=function(e){if(!qe||2===e){O.isUpdating=!0,Jt&&Jt.update(0);var t=tt.length,e=Ve(),n=50<=e-V,r=t&&tt[0].scroll();if(yn=r<te?-1:1,qe||(te=r),n&&(Ue&&!Ut&&200<e-Ue&&(Ue=0,J("scrollEnd")),Vt=V,V=e),yn<0){for(We=t;0<We--;)tt[We]&&tt[We].update(0,n);yn=1}else for(We=0;We<t;We++)tt[We]&&tt[We].update(0,n);O.isUpdating=!1}q=0},re=["left","top",j,U,Ze+un,Ze+sn,Ze+cn,Ze+ln,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],oe=re.concat([on,an,"boxSizing","max"+fn,"max"+G,"position",Ze,Ke,Ke+cn,Ke+sn,Ke+un,Ke+ln]),ie=/([A-Z])/g,bn={left:0,top:0},ae=/(webkit|moz|length|cssText|inset)/i,O=(nt.prototype.init=function(y,b){var d,p,r,v,q,m,x,w,_,V,U,a,j,G,h,K,S,Z,$,k,T,E,P,M,J,Q,ee,C,O,te,ne,re,oe,A,R,o,ie,ae,se,D,Y,I,le,ce,ue,X,fe,de,pe,he,ge,z,ve,me,ye,be,xe,B,s,g,F,L,H,we,_e,l,c,e,u,f,Se,ke,Te,N,Ee,t,W,Pe,n,i,Me,Ce,Oe;this.progress=this.start=0,this.vars&&this.kill(!0,!0),en?(t=y=Mt(je(y)||kt(y)||y.nodeType?{trigger:y}:y,hn),d=t.onUpdate,p=t.toggleClass,r=t.id,v=t.onToggle,q=t.onRefresh,m=t.scrub,x=t.trigger,w=t.pin,_=t.pinSpacing,V=t.invalidateOnRefresh,U=t.anticipatePin,a=t.onScrubComplete,j=t.onSnapComplete,G=t.once,h=t.snap,K=t.pinReparent,i=t.pinSpacer,S=t.containerAnimation,Z=t.fastScrollEnd,$=t.preventOverlaps,k=y.horizontal||y.containerAnimation&&!1!==y.horizontal?Ye:Ie,T=!m&&0!==m,E=Ae(y.scroller||Be),t=ze.core.getCache(E),P=tn(E),M="fixed"===("pinType"in y?y.pinType:wt(E,"pinType")||P&&"fixed"),J=[y.onEnter,y.onLeave,y.onEnterBack,y.onLeaveBack],Q=T&&y.toggleActions.split(" "),n=("markers"in y?y:hn).markers,ee=!P&&parseFloat(Je(E)["border"+k.p2+fn])||0,C=this,O=y.onRefreshInit&&function(){return y.onRefreshInit(C)},l=E,c=P,u=(e=k).d,f=e.d2,Se=e.a,te=(Se=wt(l,"getBoundingClientRect"))?function(){return Se()[u]}:function(){return(c?Be["inner"+f]:l["client"+f])||0},e=E,ne=!P||~De.indexOf(e)?St(e):function(){return bn},oe=re=0,A=it(E,k),Kt(C),C._dir=k,U*=45,C.scroller=E,C.scroll=S?S.time.bind(S):A,ae=A(),C.vars=y,b=b||y.animation,"refreshPriority"in y&&(jt=1,-9999===y.refreshPriority)&&(Jt=C),t.tweenScroll=t.tweenScroll||{top:Nt(E,Ie),left:Nt(E,Ye)},C.tweenTo=R=t.tweenScroll[k.p],C.scrubDuration=function(e){(s=kt(e)&&e)?B?B.duration(e):B=ze.to(b,{ease:"expo",totalProgress:"+=0.001",duration:s,paused:!0,onComplete:function(){return a&&a(C)}}):(B&&B.progress(1).kill(),B=0)},b&&(b.vars.lazy=!1,b._initted||!1!==b.vars.immediateRender&&!1!==y.immediateRender&&b.duration()&&b.render(0,!0,!0),C.animation=b.pause(),(b.
1scrollTrigger=C).scrubDuration(m),B&&B.resetTo&&B.resetTo("totalProgress",0),be=0,r=r||b.vars.id),tt.push(C),h&&(Tt(h)&&!h.push||(h={snapTo:h}),"scrollBehavior"in He.style&&ze.set(P?[He,Le]:E,{scrollBehavior:"auto"}),Re.forEach(function(e){return Ge(e)&&e.target===(P?Fe.scrollingElement||Le:E)&&(e.smooth=!1)}),ie=Ge(h.snapTo)?h.snapTo:"labels"===h.snapTo?(Te=b,function(e){return ze.utils.snap(Ot(Te),e)}):"labelsDirectional"===h.snapTo?(ke=b,function(e,t){return At(Ot(ke))(e,t.direction)}):!1!==h.directional?function(e,t){return At(h.snapTo)(e,Ve()-oe<500?0:t.direction)}:ze.utils.snap(h.snapTo),g=h.duration||{min:.1,max:2},g=Tt(g)?qt(g.min,g.max):qt(g,g),F=ze.delayedCall(h.delay||s/2||.1,function(){var e,t,n,r,o,i,a,s,l,c,u=A(),f=Ve()-oe<500,d=R.tween;!(f||Math.abs(C.getVelocity())<10)||d||Ut||re===u?C.isActive&&re!==u&&F.restart(!0):(e=(u-D)/I,t=b&&!T?b.totalProgress():e,f=!f&&(t-xe)/(Ve()-Vt)*1e3||0,n=ze.utils.clamp(-e,1-e,rn(f/2)*f/.185),r=e+(!1===h.inertia?0:n),o=qt(0,1,ie(r,C)),i=Math.round(D+o*I),s=(a=h).onStart,l=a.onInterrupt,c=a.onComplete,u<=Y&&D<=u&&i!==u&&(d&&!d._initted&&d.data<=rn(i-u)||(!1===h.inertia&&(n=o-e),R(i,{duration:g(rn(.185*Math.max(rn(r-t),rn(o-t))/f/.05||0)),ease:h.ease||"power3",data:rn(i-u),onInterrupt:function(){return F.restart(!0)&&l&&l(C)},onComplete:function(){C.update(),re=A(),be=xe=b&&!T?b.totalProgress():C.progress,j&&j(C),c&&c(C)}},u,n*I,i-u-n*I),s&&s(C,R.tween))))}).pause()),r&&(gn[r]=C),e=(e=(x=C.trigger=Ae(x||w))&&x._gsap&&x._gsap.stRevert)&&e(C),w=!0===w?x:Ae(w),je(p)&&(p={targets:x,className:p}),w&&(!1!==_&&_!==Ze&&(_=!(!_&&w.parentNode&&w.parentNode.style&&"flex"===Je(w.parentNode).display)&&Ke),C.pin=w,(o=ze.core.getCache(w)).spacer?le=o.pinState:(i&&((i=Ae(i))&&!i.nodeType&&(i=i.current||i.nativeElement),o.spacerIsNative=!!i,i)&&(o.spacerState=Ft(i)),o.spacer=X=i||Fe.createElement("div"),X.classList.add("pin-spacer"),r&&X.classList.add("pin-spacer-"+r),o.pinState=le=Ft(w)),!1!==y.force3D&&ze.set(w,{force3D:!0}),C.spacer=X=o.spacer,t=Je(w),ge=t[_+k.os2],fe=ze.getProperty(w),de=ze.quickSetter(w,k.a,$e),zt(w,X,t),ue=Ft(w)),n&&(i=Tt(n)?Mt(n,pn):pn,N=Dt("scroller-start",r,E,k,i,0),Ee=Dt("scroller-end",r,E,k,i,0,N),t=N["offset"+k.op.d2],n=Ae(wt(E,"content")||E),W=this.markerStart=Dt("start",r,n,k,i,t,0,S),Pe=this.markerEnd=Dt("end",r,n,k,i,t,0,S),S&&(_e=ze.quickSetter([W,Pe],k.a,$e)),M||De.length&&!0===wt(E,"fixedMarkers")||(i=Je(n=P?He:E).position,n.style.position="absolute"===i||"fixed"===i?i:"relative",ze.set([N,Ee],{force3D:!0}),ve=ze.quickSetter(N,k.a,$e),ye=ze.quickSetter(Ee,k.a,$e))),S&&(Me=S.vars.onUpdate,Ce=S.vars.onUpdateParams,S.eventCallback("onUpdate",function(){C.update(0,0,1),Me&&Me.apply(S,Ce||[])})),C.previous=function(){return tt[tt.indexOf(C)-1]},C.next=function(){return tt[tt.indexOf(C)+1]},C.revert=function(e,t){if(!t)return C.kill(!0);var n,r,o=!1!==e||!C.enabled,t=Ne;o!==C.isReverted&&(o&&(H=Math.max(A(),C.scroll.rec||0),L=C.progress,we=b&&b.progress()),W&&[W,Pe,N,Ee].forEach(function(e){return e.style.display=o?"none":"block"}),o&&(Ne=C).update(o),!w||K&&C.isActive||(o?(e=w,n=X,Bt(r=le),(r=e._gsap).spacerIsNative?Bt(r.spacerState):e._gsap.swappedIn&&(r=n.parentNode)&&(r.insertBefore(e,n),r.removeChild(n)),e._gsap.swappedIn=!1):zt(w,X,Je(w),z)),o||C.update(o),Ne=t,C.isReverted=o)},C.refresh=function(e,t){if(!Ne&&C.enabled||t)if(w&&e&&Ue)Qe(nt,"scrollEnd",vn);else{!qe&&O&&O(C),Ne=C,oe=Ve(),R.tween&&(R.tween.kill(),R.tween=0),B&&B.pause(),V&&b&&b.revert({kill:!1}).invalidate(),C.isReverted||C.revert(!0,!0),C._subPinOffset=!1;for(var n,r,o,i,a,s,t=te(),e=ne(),l=S?S.duration():nn(E,k),c=I<=.01,u=0,f=0,d=y.end,p=y.endTrigger||x,h=y.start||(0!==y.start&&x?w?"0 0":"0 100%":0),g=C.pinnedContainer=y.pinnedContainer&&Ae(y.pinnedContainer),v=x&&Math.max(0,tt.indexOf(C))||0,m=v;m--;)(o=tt[m]).end||o.refresh(0,1)||(Ne=C),!(i=o.pin)||i!==x&&i!==w&&i!==g||o.isReverted||((a=a||[]).unshift(o),o.revert(!0,!0)),o!==tt[m]&&(v--,m--);for(Ge(h)&&(h=h(C)),D=Lt(h,x,t,k,A(),W,N,C,e,ee,M,l,S)||(w?-.001:0),Ge(d)&&(d=d(C)),je(d)&&!d.indexOf("+=")&&(~d.indexOf(" ")?d=(je(h)?h.split(" ")[0]:"")+d:(u=Rt(d.substr(2),t),d=je(h)?h:(S?ze.utils.mapRange(0,S.duration(),S.scrollTrigger.start,S.scrollTrigger.end,D):D)+u,p=x)),Y=Math.max(D,Lt(d||(p?"100% 0":l),p,t,k,A()+u,Pe,Ee,C,e,ee,M,l,S))||-.001,I=Y-D||
1(D-=.01)&&.001,u=0,m=v;m--;)(i=(o=tt[m]).pin)&&o.start-o._pinPush<=D&&!S&&0<o.end&&(n=o.end-o.start,(i===x&&o.start-o._pinPush<D||i===g)&&!kt(h)&&(u+=n*(1-o.progress)),i===w)&&(f+=n);if(D+=u,Y+=u,c&&(L=ze.utils.clamp(0,1,ze.utils.normalize(D,Y,H))),C._pinPush=f,W&&u&&((n={})[k.a]="+="+u,g&&(n[k.p]="-="+A()),ze.set([W,Pe],n)),w)n=Je(w),d=k===Ie,p=A(),pe=parseFloat(fe(k.a))+f,!l&&1<Y&&((s={style:s=(P?Fe.scrollingElement||Le:E).style,value:s["overflow"+k.a.toUpperCase()]}).style["overflow"+k.a.toUpperCase()]="scroll"),zt(w,X,n),ue=Ft(w),r=dn(w,!0),t=M&&it(E,d?Ye:Ie)(),_&&((z=[_+k.os2,I+f+$e]).t=X,(m=_===Ke?Ct(w,k)+I+f:0)&&z.push(k.d,m+$e),Bt(z),g&&tt.forEach(function(e){e.pin===g&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),M)&&A(H),M&&((e={top:r.top+(d?p-D:t)+$e,left:r.left+(d?t:p-D)+$e,boxSizing:"border-box",position:"fixed"})[on]=e["max"+fn]=Math.ceil(r.width)+$e,e[an]=e.maxHeight=Math.ceil(r.height)+$e,e[Ze]=e[Ze+cn]=e[Ze+sn]=e[Ze+un]=e[Ze+ln]="0",e[Ke]=n[Ke],e[Ke+cn]=n[Ke+cn],e[Ke+sn]=n[Ke+sn],e[Ke+un]=n[Ke+un],e[Ke+ln]=n[Ke+ln],ce=function(e,t,n){for(var r,o=[],i=e.length,a=n?8:0;a<i;a+=2)r=e[a],o.push(r,r in t?t[r]:e[a+1]);return o.t=e.t,o}(le,e,K),qe)&&A(0),b?(l=b._initted,Gt(1),b.render(b.duration(),!0,!0),he=fe(k.a)-pe+I+f,me=1<Math.abs(I-he),M&&me&&ce.splice(ce.length-2,2),b.render(0,!0,!0),l||b.invalidate(!0),b.parent||b.totalTime(b.totalTime()),Gt(0)):he=I,s&&(s.value?s.style["overflow"+k.a.toUpperCase()]=s.value:s.style.removeProperty("overflow-"+k.a));else if(x&&A()&&!S)for(r=x.parentNode;r&&r!==He;)r._pinOffset&&(D-=r._pinOffset,Y-=r._pinOffset),r=r.parentNode;a&&a.forEach(function(e){return e.revert(!1,!0)}),C.start=D,C.end=Y,ae=se=qe?H:A(),S||qe||(ae<H&&A(H),C.scroll.rec=0),C.revert(!1,!0),F&&(re=-1,C.isActive&&A(D+I*L),F.restart(!0)),Ne=0,b&&T&&(b._initted||we)&&b.progress()!==we&&b.progress(we,!0).render(b.time(),!0,!0),(c||L!==C.progress||S)&&(b&&!T&&b.totalProgress(S&&D<-.001&&!L?ze.utils.normalize(D,Y,0):L,!0),C.progress=(ae-D)/I===L?0:L),w&&_&&(X._pinOffset=Math.round(C.progress*he)),B&&B.invalidate(),q&&!qe&&q(C)}},C.getVelocity=function(){return(A()-se)/(Ve()-Vt)*1e3||0},C.endAnimation=function(){Et(C.callbackAnimation),b&&(B?B.progress(1):b.paused()?T||Et(b,C.direction<0,1):Et(b,b.reversed()))},C.labelToScroll=function(e){return b&&b.labels&&(D||C.refresh()||D)+b.labels[e]/b.duration()*I||0},C.getTrailing=function(t){var e=tt.indexOf(C),e=0<C.direction?tt.slice(0,e).reverse():tt.slice(e+1);return(je(t)?e.filter(function(e){return e.vars.preventOverlaps===t}):e).filter(function(e){return 0<C.direction?e.end<=D:e.start>=Y})},C.update=function(e,t,n){var r,o,i,a,s,l,c,u,f;(!S||n||e)&&(n=!0===qe?H:C.scroll(),r=(r=e?0:(n-D)/I)<0?0:1<r?1:r||0,l=C.progress,t&&(se=ae,ae=S?A():n,h)&&(xe=be,be=b&&!T?b.totalProgress():r),(r=U&&!r&&w&&!Ne&&!Qt&&Ue&&D<n+(n-se)/(Ve()-Vt)*U?1e-4:r)!==l&&C.enabled&&(u=(t=(c=C.isActive=!!r&&r<1)!=(!!l&&l<1))||!!r!=!!l,C.direction=l<r?1:-1,C.progress=r,u&&!Ne&&(o=r&&!l?0:1===r?1:1===l?2:3,T)&&(i=!t&&"none"!==Q[o+1]&&Q[o+1]||Q[o],a=b&&("complete"===i||"reset"===i||i in b)),$&&(t||a)&&(a||m||!b)&&(Ge($)?$(C):C.getTrailing($).forEach(function(e){return e.endAnimation()})),T||(!B||Ne||Qt?b&&b.totalProgress(r,!!Ne):(B._dp._time-B._start!==B._time&&B.render(B._dp._time-B._start),B.resetTo?B.resetTo("totalProgress",r,b._tTime/b._tDur):(B.vars.totalProgress=r,B.invalidate().restart()))),w&&(e&&_&&(X.style[_+k.os2]=ge),M?u&&(l=!e&&l<r&&n<Y+1&&n+1>=nn(E,k),K&&(e||!c&&!l?Ht(w,X):(f=dn(w,!0),s=n-D,Ht(w,He,f.top+(k===Ie?s:0)+$e,f.left+(k===Ie?0:s)+$e))),Bt(c||l?ce:ue),me&&r<1&&c||de(pe+(1!==r||l?0:he))):de(_t(pe+he*r))),!h||R.tween||Ne||Qt||F.restart(!0),p&&(t||G&&r&&(r<1||!Zt))&&Wt(p.targets).forEach(function(e){return e.classList[c||G?"add":"remove"](p.className)}),!d||T||e||d(C),u&&!Ne?(T&&(a&&("complete"===i?b.pause().totalProgress(1):"reset"===i?b.restart(!0).pause():"restart"===i?b.restart(!0):b[i]()),d)&&d(C),!t&&Zt||(v&&t&&Pt(C,v),J[o]&&Pt(C,J[o]),G&&(1===r?C.kill(!1,1):J[o]=0),t)||J[o=1===r?1:3]&&Pt(C,J[o]),Z&&!c&&Math.abs(C.getVelocity())>(kt(Z)?Z:2500)&&(Et(C.callbackAnimation),B?B.progress(1):Et(b,"reverse"===i?1:!r,1))):T&&d&&!Ne&&d(C)),ye&&(f=S?n/S.duration()*(S._caScrollDist||0):n,ve(f+(N._isFlipped?1:0)),ye(f)),_e)&&_e(-n/S.duration()*(S._caScrollDist||0))},C.enable=function(e,t){C.enabled||(C.enabled=!0,Qe(E,"resize",It),Qe(P?Fe:E,"scroll",Yt),O&&Qe(nt,"refreshInit",O),!1!==e&&(C.progress=L=0,ae=se=re=A()),!1!==t&&C.refresh())},C.getTween=function(e){return e&&R?R.tween:B},C.setPositions=function(e,t){w&&(pe+=e-D,he+=t-e-I,_===Ke)&&C.adjustPinSpacing(t-e-I),C.start=D=e,C.end=Y=t,I=t-e,C.update()},C.adjustPinSpacing=function(e){var t;z&&e&&(t=z.indexOf(k.d)+1,z[t]=parseFloat(z[t])+e+$e,z[1]=parseFloat(z[1])+e+$e,Bt(z))},C.disable=function(e,t){if(C.enabled&&(!1!==e&&C.revert(!0,!0),C.enabled=C.isActive=!1,t||B&&B.pause(),H=0,o&&(o.uncache=1),O&&et(nt,"refreshInit",O),F&&(F.pause(),R.tween)&&R.tween.kill()&&(R.tween=0),!P)){for(var n=tt.length;n--;)if(tt[n].scroller===E&&tt[n]!==C)return;et(E,"resize",It),et(E,"scroll",Yt)}},C.kill=function(e,t){C.disable(e,t),B&&!t&&B.kill(),r&&delete gn[r];var n=tt.indexOf(C);0<=n&&tt.splice(n,1),n===We&&0<yn&&We--,n=0,tt.forEach(function(e){return e.scroller===C.scroller&&(n=1)}),n||qe||(C.scroll.rec=0),b&&(b.scrollTrigger=null,e&&b.revert({kill:!1}),t||b.kill()),W&&[W,Pe,N,Ee].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),Jt===C&&(Jt=0),w&&(o&&(o.uncache=1),n=0,tt.forEach(function(e){return e.pin===w&&n++}),n||(o.spacer=0)),y.onKill&&y.onKill(C)},C.enable(!1,!1),e&&e(C),b&&b.add&&!I?ze.delayedCall(.01,function(){return D||Y||C.refresh()})&&(I=.01,D=Y=0):C.refresh(),w&&$t!==mn&&(Oe=$t=mn,requestAnimationFrame(function(){return Oe===mn&&Xt(!0)}))):this.update=this.refresh=this.kill=Xe},nt.register=function(e){return P||(ze=e||b(),y()&&window.document&&nt.enable(),P=en),P},nt.defaults=function(e){if(e)for(var t in e)hn[t]=e[t];return hn},nt.disable=function(t,n){en=0,tt.forEach(function(e){return e[n?"kill":"disable"](t)}),et(Be,"wheel",Yt),et(Fe,"scroll",Yt),clearInterval(D),et(Fe,"touchcancel",Xe),et(He,"touchstart",Xe),w(et,Fe,"pointerdown,touchstart,mousedown",v),w(et,Fe,"pointerup,touchend,mouseup",m),R.kill(),x(et);for(var e=0;e<Re.length;e+=3)_(et,Re[e],Re[e+1]),_(et,Re[e],Re[e+2])},nt.enable=function(){if(Be=window,Fe=document,Le=Fe.documentElement,He=Fe.body,ze&&(Wt=ze.utils.toArray,qt=ze.utils.clamp,Kt=ze.core.context||Xe,Gt=ze.core.suppressOverwrites||Xe,W=Be.history.scrollRestoration||"auto",te=Be.pageYOffset,ze.core.globals("ScrollTrigger",nt),He)){en=1,g(),C.register(ze),nt.isTouch=C.isTouch,N=C.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Qe(Be,"wheel",Yt),M=[Be,Fe,Le,He],ze.matchMedia?(nt.matchMedia=function(e){var t,n=ze.matchMedia();for(t in e)n.add(t,e[t]);return n},ze.addEventListener("matchMediaInit",function(){return Q()}),ze.addEventListener("matchMediaRevert",function(){return E()}),ze.addEventListener("matchMedia",function(){Xt(0,1),J("matchMedia")}),ze.matchMedia("(orientation: portrait)",function(){return T(),T})):console.warn("Requires GSAP 3.11.0 or later"),T(),Qe(Fe,"scroll",Yt);var e,t=He.style,n=t.borderTopStyle,r=ze.core.Animation.prototype;for(r.revert||Object.defineProperty(r,"revert",{value:function(){return this.time(-.01,!0)}}),t.borderTopStyle="solid",r=dn(He),Ie.m=Math.round(r.top+Ie.sc())||0,Ye.m=Math.round(r.left+Ye.sc())||0,n?t.borderTopStyle=n:t.removeProperty("border-top-style"),D=setInterval(k,250),ze.delayedCall(.5,function(){return Qt=0}),Qe(Fe,"touchcancel",Xe),Qe(He,"touchstart",Xe),w(Qe,Fe,"pointerdown,touchstart,mousedown",v),w(Qe,Fe,"pointerup,touchend,mouseup",m),Y=ze.utils.checkPrefix("transform"),oe.push(Y),P=Ve(),R=ze.delayedCall(.2,Xt).pause(),z=[Fe,"visibilitychange",function(){var e=Be.innerWidth,t=Be.innerHe
vendor: 4,195 bytes, line 1
1ight;Fe.hidden?(I=e,X=t):I===e&&X===t||It()},Fe,"DOMContentLoaded",Xt,Be,"load",Xt,Be,"resize",It],x(Qe),tt.forEach(function(e){return e.enable(0,1)}),e=0;e<Re.length;e+=3)_(et,Re[e],Re[e+1]),_(et,Re[e],Re[e+2])}},nt.config=function(e){"limitCallbacks"in e&&(Zt=!!e.limitCallbacks);var t=e.syncInterval;t&&clearInterval(D)||(D=t)&&setInterval(k,t),"ignoreMobileResize"in e&&(F=1===nt.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(x(et),x(Qe,e.autoRefreshEvents||"none"),B=-1===(e.autoRefreshEvents+"").indexOf("resize"))},nt.scrollerProxy=function(e,t){var e=Ae(e),n=Re.indexOf(e),r=tn(e);~n&&Re.splice(n,r?6:2),t&&(r?De.unshift(Be,t,He,t,Le,t):De.unshift(e,t))},nt.clearMatchMedia=function(t){tt.forEach(function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)})},nt.isInViewport=function(e,t,n){e=(je(e)?Ae(e):e).getBoundingClientRect(),t=e[n?on:an]*t||0;return n?0<e.right-t&&e.left+t<Be.innerWidth:0<e.bottom-t&&e.top+t<Be.innerHeight},nt.positionInViewport=function(e,t,n){var e=(e=je(e)?Ae(e):e).getBoundingClientRect(),r=e[n?on:an],r=null==t?r/2:t in K?K[t]*r:~t.indexOf("%")?parseFloat(t)*r/100:parseFloat(t)||0;return n?(e.left+r)/Be.innerWidth:(e.top+r)/Be.innerHeight},nt.killAll=function(e){tt.slice(0).forEach(function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()}),!0!==e&&(e=Z.killAll||[],Z={},e.forEach(function(e){return e()}))},nt);function nt(e,t){P||nt.register(ze)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(e,t)}O.version="3.11.5",O.saveStyles=function(e){return e?Wt(e).forEach(function(e){var t;e&&e.style&&(0<=(t=n.indexOf(e))&&n.splice(t,5),n.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),ze.core.getCache(e),Kt()))}):n},O.revert=function(e,t){return Q(!e,t)},O.create=function(e,t){return new O(e,t)},O.refresh=function(e){return e?It():(P||O.register())&&Xt(!0)},O.update=function(e){return++Re.cache&&ne(!0===e?2:0)},O.clearScrollMemory=ee,O.maxScroll=function(e,t){return nn(e,t?Ye:Ie)},O.getScrollFunc=function(e,t){return it(Ae(e),t?Ye:Ie)},O.getById=function(e){return gn[e]},O.getAll=function(){return tt.filter(function(e){return"ScrollSmoother"!==e.vars.id})},O.isScrolling=function(){return!!Ue},O.snapDirectional=At,O.addEventListener=function(e,t){e=Z[e]||(Z[e]=[]);~e.indexOf(t)||e.push(t)},O.removeEventListener=function(e,t){e=Z[e],t=e&&e.indexOf(t);0<=t&&e.splice(t,1)},O.batch=function(e,t){var n,r=[],o={},i=t.interval||.016,a=t.batchMax||1e9;for(n in t)o[n]="on"===n.substr(0,2)&&Ge(t[n])&&"onRefreshInit"!==n?function(e){var t=[],n=[],r=ze.delayedCall(i,function(){e(t,n),t=[],n=[]}).pause();return function(e){t.length||r.restart(!0),t.push(e.trigger),n.push(e),a<=t.length&&r.progress(1)}}(t[n]):t[n];return Ge(a)&&(a=a(),Qe(O,"refresh",function(){return a=t.batchMax()})),Wt(e).forEach(function(e){var t={};for(n in o)t[n]=o[n];t.trigger=e,r.push(O.create(t))}),r};function se(e,t,n,r){return r<t?e(r):t<0&&e(0),r<n?(r-t)/(n-t):n<0?t/(t-n):1}function le(e,t){!0===t?e.style.removeProperty("touch-action"):e.style.touchAction=!0===t?"auto":t?"pan-"+t+(C.isTouch?" pinch-zoom":""):"none",e===Le&&le(He,t)}function ce(e,t,n,r){return C.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r=r&&pe,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&Qe(Fe,C.eventTypes[0],ge,!1,!0)},onDisable:function(){return et(Fe,C.eventTypes[0],ge,!0)}})}function ue(e){function t(){return r=!1}function i(){s=nn(m,Ie),M=qt(N?1:0,s),p&&(P=qt(0,nn(m,Ye))),l=mn}function a(){b._gsap.y=_t(parseFloat(b._gsap.y)+x.offset)+"px",b.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(b._gsap.y)+", 0, 1)",x.offset=x.cacheID=0}function o(){i(),c.isActive()&&c.vars.scrollY>s&&(x()>s?c.progress(1)&&x(s):c.resetTo("scrollY",s))}(e=Tt(e)?e:{}).preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var n,s,l,r,c,u,f,d,p=(y=e).normalizeScrollX,h=y.momentum,g=y.allowNestedScroll,v=y.onRelease,m=Ae(e.target)||Le,y=(y=ze.core.globals().ScrollSmoother)&&y.get(),b=N&&(e.content&&Ae(e.content)||y&&!1!==e.content&&!y.smooth()&&y.content()),x=it(m,Ie),w=it(m,Ye),_=1,S=(C.isTouch&&Be.visualVie
1wport?Be.visualViewport.scale*Be.visualViewport.width:Be.outerWidth)/Be.innerWidth,k=0,T=Ge(h)?function(){return h(n)}:function(){return h||2.8},E=ce(m,e.type,!0,g),P=Xe,M=Xe;return b&&ze.set(b,{y:"+=0"}),e.ignoreCheck=function(e){return N&&"touchmove"===e.type&&function(){var e;if(r)return requestAnimationFrame(t),e=_t(n.deltaY/2),e=M(x.v-e),b&&e!==x.v+x.offset&&(x.offset=e-x.v,e=_t((parseFloat(b&&b._gsap.y)||0)-x.offset),b.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+e+", 0, 1)",b._gsap.y=e+"px",x.cacheID=Re.cache,ne()),!0;x.offset&&a(),r=!0}()||1.05<_&&"touchstart"!==e.type||n.isGesturing||e.touches&&1<e.touches.length},e.onPress=function(){r=!1;var e=_;_=_t((Be.visualViewport&&Be.visualViewport.scale||1)/S),c.pause(),e!==_&&le(m,1.01<_||!p&&"x"),u=w(),f=x(),i(),l=mn},e.onRelease=e.onGestureStart=function(e,t){var n,r;x.offset&&a(),t?(Re.cache++,t=T(),p&&(r=(n=w())+.05*t*-e.velocityX/.227,t*=se(w,n,r,nn(m,Ye)),c.vars.scrollX=P(r)),r=(n=x())+.05*t*-e.velocityY/.227,t*=se(x,n,r,nn(m,Ie)),c.vars.scrollY=M(r),c.invalidate().duration(t).play(.01),(N&&c.vars.scrollY>=s||s-1<=n)&&ze.to({},{onUpdate:o,duration:t})):d.restart(!0),v&&v(e)},e.onWheel=function(){c._ts&&c.pause(),1e3<Ve()-k&&(l=0,k=Ve())},e.onChange=function(e,t,n,r,o){mn!==l&&i(),t&&p&&w(P(r[2]===t?u+(e.startX-e.x):w()+t-r[1])),n&&(x.offset&&a(),e=(r=o[2]===n)?f+e.startY-e.y:x()+n-o[1],o=M(e),r&&e!==o&&(f+=o-e),x(o)),(n||t)&&ne()},e.onEnable=function(){le(m,!p&&"x"),O.addEventListener("refresh",o),Qe(Be,"resize",o),x.smooth&&(x.target.style.scrollBehavior="auto",x.smooth=w.smooth=!1),E.enable()},e.onDisable=function(){le(m,!0),et(Be,"resize",o),O.removeEventListener("refresh",o),E.kill()},e.lockAxis=!1!==e.lockAxis,((n=new C(e)).iOS=N)&&!x()&&x(1),N&&ze.ticker.add(Xe),d=n._dc,c=ze.to(n,{ease:"power4",paused:!0,scrollX:p?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:A(x,x(),function(){return c.pause()})},onUpdate:ne,onComplete:d.vars.onComplete}),n}var fe,de={auto:1,scroll:1},pe=function(e){var t,n=e.event,r=e.target,e=e.axis,o=(n.changedTouches?n.changedTouches[0]:n).target,i=o._gsap||ze.core.getCache(o),a=Ve();if(!i._isScrollT||2e3<a-i._isScrollT){for(;o&&o!==He&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!de[(t=Je(o)).overflowY]&&!de[t.overflowX]);)o=o.parentNode;i._isScroll=o&&o!==r&&!tn(o)&&(de[(t=Je(o)).overflowY]||de[t.overflowX]),i._isScrollT=a}!i._isScroll&&"x"!==e||(n.stopPropagation(),n._gsapAllow=!0)},he=/(input|label|select|textarea)/i,ge=function(e){var t=he.test(e.target.tagName);(t||fe)&&(e._gsapAllow=!0,fe=t)};O.sort=function(e){return tt.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},O.observe=function(e){return new C(e)},O.normalizeScroll=function(e){return void 0===e?t:!0===e&&t?t.enable():!1===e?t&&t.kill():(e=e instanceof C?e:ue(e),t&&t.target===e.target&&t.kill(),tn(e.target)&&(t=e),e)},O.core={_getVelocityProp:at,_inputObserver:ce,_scrollers:Re,_proxies:De,bridge:{ss:function(){Ue||J("scrollStart"),Ue=Ve()},ref:function(){return Ne}}},b()&&ze.registerPlugin(O),e.ScrollTrigger=O,e.default=O,"undefined"==typeof window||window!==e?Object.defineProperty(e,"__esModule",{value:!0}):delete window.default});
2!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function r(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function z(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U(t){return"string"==typeof t}function l(t){return"function"==typeof t}function $(t){return"number"==typeof t}function s(t){return void 0===t}function A(t){return"object"==typeof t}function F(t){return!1!==t}function i(){return"undefined"!=typeof window}function J(t){return l(t)||U(t)}function d(t){return(Ht=Xt(t,a))&&f}function K(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function tt(t,e){return!e&&console.warn(t)}function m(t,e){return t&&(a[t]=e)&&Ht&&(Ht[t]=e)||a}function g(){return 0}function et(t){var e,r,i=t[0];if(A(i)||l(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=Le.length;r--&&!Le[r].targetTest(i););e=Le[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new $e(t[r],e)))||t.splice(r,1);return t}function rt(t){return t._gsap||et(S(t))[0]._gsap}function v(t,e,r){return(r=t[e])&&l(r)?t[e]():s(r)&&t.getAttribute&&t.getAttribute(e)||r}
vendor: 5,134 bytes, line 2
2function p(t,e){return(t=t.split(",")).forEach(e)||t}function B(t){return Math.round(1e5*t)/1e5||0}function C(t){return Math.round(1e7*t)/1e7||0}function it(t,e){var r=e.charAt(0),e=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+e:"-"===r?t-e:"*"===r?t*e:t/e}function nt(){var t,e,r=Re.length,i=Re.slice(0);for(ze={},t=Re.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function y(t,e,r,i){Re.length&&!I&&nt(),t.render(e,r,i||I&&e<0&&(t._initted||t._startAt)),Re.length&&!I&&nt()}function x(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(Ae).length<2?e:U(t)?t.trim():t}function w(t){return t}function L(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function b(t,e){for(var r in e)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(t[r]=A(e[r])?b(t[r]||(t[r]={}),e[r]):e[r]);return t}function st(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function at(t){var i,e=t.parent||Y,r=t.keyframes?(i=P(t.keyframes),function(t,e){for(var r in e)r in t||"duration"===r&&i||"ease"===r||(t[r]=e[r])}):L;if(F(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function M(t,e,r,i,n){void 0===r&&(r="_first");var s,a=t[i=void 0===i?"_last":i];if(n)for(s=e[n];a&&a[n]>s;)a=a._prev;a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=a,e.parent=e._dp=t}function O(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function ot(t,e){!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t),t._act=0}function k(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function ut(t,e,r,i){t._startAt&&(I?t._startAt.revert(Pe):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function ht(t){return t._repeat?Nt(t._tTime,t=t.duration()+t._rDelay)*t:0}function ft(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function lt(t){t._end=C(t._start+(t._tDur/Math.abs(t._ts||t._rts||V)||0))}function ct(t,e){var r=t._dp;r&&r.smoothChildTiming&&t._ts&&(t._start=C(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),lt(t),r._dirty||k(r,t))}function pt(t,e){var r;if((e._time||e._initted&&!e._dur)&&(r=ft(t.rawTime(),e),!e._dur||Vt(0,e.totalDuration(),r)-e._tTime>V)&&e.render(r,!0),k(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-V}}function D(t,e,r,i){return e.parent&&ot(e),e._start=C(($(r)?r:r||t!==Y?h(t,r,e):t._time)+e._delay),e._end=C(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),M(t,e,"_first","_last",t._sort?"_start":0),qt(e)||(t._recent=e),i||pt(t,e),t._ts<0&&ct(t,t._tTime),t}function _t(t,e){(a.ScrollTrigger||K("scrollTrigger",e))&&a.ScrollTrigger.create(e,t)}function dt(t,e,r,i,n){return ir(t,e,n),!t._initted||!r&&t._pt&&!I&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&$t!==_.frame&&(Re.push(t),t._lazy=[n,i])}function mt(t,e,r,i){var n=t._repeat,e=C(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=e/t._dur),t._dur=e,t._tDur=n?n<0?1e10:C(e*(n+1)+t._rDelay*n):e,0<s&&!i&&ct(t,t._tTime=t._tDur*s),t.parent&&lt(t),r||k(t.parent,t),t}function gt(t){return t instanceof R?k(t):mt(t,t._dur)}function vt(t,e,r){var i,n,s=$(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=r,t){for(i=o,n=r;n&&!("immediateRender"in i);)i=n.vars.defaults||{},n=F(n.vars.inherit)&&n.parent;o.immediateRender=F(i.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new Q(e[0],o,e[1+a])}function yt(t,e){return t||0===t?e(t):e}function X(t,e){return U(t)&&(e=Ce.exec(t))?e[1]:""}function xt(t,e){return t&&A(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&A(t[0]))&&!t.nodeType&&t!==u}function Tt(r){return r=S(r)[0]||tt("Invalid scope")||{},function(t){var e=r.current||r.nativeElement||r;return S(t,e.querySelectorAll?e:e===r?tt("Invalid scope")||Wt.createElement("div"):r)}}function wt(t){return t.sort(function(){return.5-Math.random()})}function bt(t){var p,_,d,m,g,v,y,x,T;return l(t)?t:(p=A(t)?t:{each:t},_=We(p.ease),d=p.from||0,m=parseFloat(p.base)||0,g={},t=0<d&&d<1,v=isNaN(d)||t,y=p.axis,U(T=x=d)?x=T={center:.5,edges:.5,end:1}[d]||0:!t&&v&&(x=d[0],T=d[1]),function(t,e,r){var i,n,s,a,o,u,h,f,l=(r||p).length,c=g[l];if(!c){if(!(f="auto"===p.grid?0:(p.grid||[1,q])[1])){for(u=-q;u<(u=r[f++].getBoundingClientRect().left)&&f<l;);f--}for(c=g[l]=[],i=v?Math.min(f,l)*x-.5:d%f,n=f===q?0:v?l*T/f-.5:d/f|0,h=q,o=u=0;o<l;o++)a=o%f-i,s=n-(o/f|0),c[o]=a=y?Math.abs("y"===y?s:a):ve(a*a+s*s),u<a&&(u=a),a<h&&(h=a);"random"===d&&wt(c),c.max=u-h,c.min=h,c.v=l=(parseFloat(p.amount)||parseFloat(p.each)*(l<f?l-1:y?"y"===y?l/f:f:Math.max(f,l/f))||0)*("edges"===d?-1:1),c.b=l<0?m-l:m,c.u=X(p.amount||p.each)||0,_=_&&l<0?Ge(_):_}return l=(c[t]-c.min)/c.max||0,C(c.b+(_?_(l):l)*c.v)+c.u})}function Mt(r){var i=Math.pow(10,((r+"").split(".")[1]||"").length);return function(t){var e=C(Math.round(parseFloat(t)/r)*r*i);return(e-e%1)/i+($(t)?0:X(t))}}function Ot(u,t){var h,f,e=P(u);
vendor: 4,871 bytes, line 2
2return!e&&A(u)&&(h=e=u.radius||q,u.values?(u=S(u.values),(f=!$(u[0]))&&(h*=h)):u=Mt(u.increment)),yt(t,e?l(u)?function(t){return f=u(t),Math.abs(f-t)<=h?f:t}:function(t){for(var e,r,i=parseFloat(f?t.x:t),n=parseFloat(f?t.y:0),s=q,a=0,o=u.length;o--;)(e=f?(e=u[o].x-i)*e+(r=u[o].y-n)*r:Math.abs(u[o]-i))<s&&(s=e,a=o);return a=!h||s<=h?u[a]:t,f||a===t||$(t)?a:a+X(t)}:Mt(u))}function kt(t,e,r,i){return yt(P(t)?!e:!0===r?!!(r=0):!i,function(){return P(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function At(e,r,t){return yt(t,function(t){return e[~~r(t)]})}function Ct(t){for(var e,r,i,n,s=0,a="";~(e=t.indexOf("random(",s));)i=t.indexOf(")",e),n="["===t.charAt(e+7),r=t.substr(e+7,i-e-7).match(n?Ae:we),a+=t.substr(s,e-s)+kt(n?r:+r[0],n?0:+r[1],+r[2]||1e-5),s=i+1;return a+t.substr(s,t.length-s)}function Dt(t,e,r){var i,n,s,a=t.labels,o=q;for(i in a)(n=a[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(s=i,o=n);return s}function Pt(t){return ot(t),t.scrollTrigger&&t.scrollTrigger.kill(!!I),t.progress()<1&&T(t,"onInterrupt"),t}function St(t,e,r){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*c+.5|0}function Et(t,e,r){var i,n,s,a,o,u,h,f=t?$(t)?[t>>16,t>>8&c,t&c]:0:Xe.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Xe[t])f=Xe[t];else if("#"===t.charAt(0)){if(9===(t=t.length<6?"#"+(i=t.charAt(1))+i+(n=t.charAt(2))+n+(s=t.charAt(3))+s+(5===t.length?t.charAt(4)+t.charAt(4):""):t).length)return[(f=parseInt(t.substr(1,6),16))>>16,f>>8&c,f&c,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&c,t&c]}else if("hsl"===t.substr(0,3))if(f=h=t.match(we),e){if(~t.indexOf("="))return f=t.match(be),r&&f.length<4&&(f[3]=1),f}else a=+f[0]%360/360,o=f[1]/100,i=2*(u=f[2]/100)-(n=u<=.5?u*(o+1):u+o-u*o),3<f.length&&(f[3]*=1),f[0]=St(a+1/3,i,n),f[1]=St(a,i,n),f[2]=St(a-1/3,i,n);else f=t.match(we)||Xe.transparent;f=f.map(Number)}return e&&!h&&(i=f[0]/c,n=f[1]/c,s=f[2]/c,u=((t=Math.max(i,n,s))+(e=Math.min(i,n,s)))/2,t===e?a=o=0:(h=t-e,o=.5<u?h/(2-t-e):h/(t+e),a=t===i?(n-s)/h+(n<s?6:0):t===n?(s-i)/h+2:(i-n)/h+4,a*=60),f[0]=~~(a+.5),f[1]=~~(100*o+.5),f[2]=~~(100*u+.5)),r&&f.length<4&&(f[3]=1),f}function Rt(t){var e=[],r=[],i=-1;return t.split(Ne).forEach(function(t){t=t.match(Me)||[];e.push.apply(e,t),r.push(i+=t.length+1)}),e.c=r,e}function zt(t,e,r){var i,n,s,a,o="",u=(t+o).match(Ne),h=e?"hsla(":"rgba(",f=0;if(!u)return t;if(u=u.map(function(t){return(t=Et(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),r&&(s=Rt(t),(i=r.c).join(o)!==s.c.join(o)))for(a=(n=t.replace(Ne,"1").split(Me)).length-1;f<a;f++)o+=n[f]+(~i.indexOf(f)?u.shift()||h+"0,0,0,0)":(s.length?s:u.length?u:r).shift());if(!n)for(a=(n=t.split(Ne)).length-1;f<a;f++)o+=n[f]+u[f];return o+n[a]}function Ft(t){var e=t.join(" ");if(Ne.lastIndex=0,Ne.test(e))return e=qe.test(e),t[1]=zt(t[1],e),t[0]=zt(t[0],e,Rt(t[1])),!0}function Bt(t,e){for(var r,i=t._first;i;)i instanceof R?Bt(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Bt(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next}function Lt(t,e,r,i){var n,s={easeIn:e,easeOut:r=void 0===r?function(t){return 1-e(1-t)}:r,easeInOut:i=void 0===i?function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2}:i};p(t,function(t){for(var e in E[t]=a[t]=s,E[n=t.toLowerCase()]=r,s)E[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=E[t+"."+e]=s[e]})}function It(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Yt(r,t,e){function i(t){return 1===t?1:n*Math.pow(2,-10*t)*xe((t-s)*a)+1}var n=1<=t?t:1,s=(a=(e||(r?.3:.45))/(t<1?t:1))/de*(Math.asin(1/n)||0),e="out"===r?i:"in"===r?function(t){return 1-i(1-t)}:It(i),a=de/a;return e.config=function(t,e){return Yt(r,t,e)},e}function Ut(e,r){function i(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:It(i);return t.config=function(t){return Ut(e,t)},t}function Xt(t,e){for(var r in e)t[r]=e[r];return t}function Nt(t,e){return e=Math.floor(t/=e),t&&e===t?e-1:e}function qt(t){return"isFromStart"===(t=t.data)||"isStart"===t}function h(t,e,r){var i,n,s,a=t.labels,o=t._recent||Ye,u=t.duration()>=q?o.endTime(!1):t._dur;return U(e)&&(isNaN(e)||e in a)?(n=e.charAt(0),s="%"===e.substr(-1),i=e.indexOf("="),"<"===n||">"===n?(0<=i&&(e=e.replace(/=/,"")),("<"===n?o._start:o.endTime(0<=o._repeat))+(parseFloat(e.substr(1))||0)*(s?(i<0?o:r).totalDuration()/100:1)):i<0?(e in a||(a[e]=u),a[e]):(n=parseFloat(e.charAt(i-1)+e.substr(i+1)),s&&r&&(n=n/100*(P(r)?r[0]:r).totalDuration()),1<i?h(t,e.substr(0,i-1),r)+n:u+n)):null==e?u:+e}function Vt(t,e,r){return r<t?t:e<r?e:r}function jt(e,t,r,i,n){var s=t-e,a=i-r;return yt(n,function(t){return r+((t-e)/s*a||0)})}function T(t,e,r){var i=t.vars,n=i[e],s=o,a=t._ctx;
2if(n)e=i[e+"Params"],i=i.callbackScope||t,r&&Re.length&&nt(),a&&(o=a),t=e?n.apply(i,e):n.call(i),o=s}var Qt,I,o,Y,u,Gt,Wt,Ht,Zt,$t,Jt,Kt,te,ee,re,ie,ne,se,ae,oe,ue,he,fe,le,ce,pe,N={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},_e={duration:.5,overwrite:!1,delay:0},q=1e8,V=1/q,de=2*Math.PI,me=de/4,ge=0,ve=Math.sqrt,ye=Math.cos,xe=Math.sin,Te="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},P=Array.isArray,we=/(?:-?\.?\d|\.)+/gi,be=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Me=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Oe=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ke=/[+-]=-?[.\d]+/,Ae=/[^,'"\[\]\s]+/gi,Ce=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,a={},De={suppressEvents:!0,isStart:!0,kill:!1},Pe={suppressEvents:!0,kill:!1},Se={suppressEvents:!0},Ee={},Re=[],ze={},j={},Fe={},Be=30,Le=[],Ie="",Ye={_start:0,endTime:g,totalDuration:g},Ue=[].slice,S=function(t,e,r){return o&&!e&&o.selector?o.selector(t):!U(t)||r||!Gt&&Ve()?P(t)?(i=r,void 0===n&&(n=[]),t.forEach(function(t){return U(t)&&!i||xt(t,1)?n.push.apply(n,S(t)):n.push(t)})||n):xt(t)?Ue.call(t,0):t?[t]:[]:Ue.call((e||Wt).querySelectorAll(t),0);var i,n},c=255,Xe={aqua:[0,c,c],lime:[0,c,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,c],navy:[0,0,128],white:[c,c,c],olive:[128,128,0],yellow:[c,c,0],orange:[c,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[c,0,0],pink:[c,192,203],cyan:[0,c,c],transparent:[c,c,c,0]},Ne=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in Xe)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),qe=/hsl[a]?\(/,_=(se=Date.now,ae=500,oe=33,ue=se(),he=ue,le=fe=1e3/240,re={time:0,frame:0,tick:function(){He(!0)},deltaRatio:function(t){return ie/(1e3/(t||60))},wake:function(){Zt&&(!Gt&&i()&&(u=Gt=window,Wt=u.document||{},a.gsap=f,(u.gsapVersions||(u.gsapVersions=[])).push(f.version),d(Ht||u.GreenSockGlobals||!u.gsap&&u||{}),ee=u.requestAnimationFrame),Kt&&re.sleep(),te=ee||function(t){return setTimeout(t,le-1e3*re.time+1|0)},Jt=1,He(2))},sleep:function(){(ee?u.cancelAnimationFrame:clearTimeout)(Kt),Jt=0,te=g},lagSmoothing:function(t,e){ae=t||1/0,oe=Math.min(e||33,ae)},fps:function(t){fe=1e3/(t||240),le=1e3*re.time+fe},add:function(n,t,e){var s=t?function(t,e,r,i){n(t,e,r,i),re.remove(s)}:n;return re.remove(n),ce[e?"unshift":"push"](s),Ve(),s},remove:function(t,e){~(e=ce.indexOf(t))&&ce.splice(e,1)&&e<=ne&&ne--},_listeners:ce=[]}),Ve=function(){return!Jt&&_.wake()},E={},je=/^[\d.\-M][\d.\-,\s]/,Qe=/["']/g,Ge=function(e){return function(t){return 1-e(1-t)}},We=function(t,e){return t&&(l(t)?t:E[t]||(s=((t=t)+"").split("("),(a=E[s[0]])&&1<s.length&&a.config?a.config.apply(null,~t.indexOf("{")?[function(t){for(var e,r,i,n={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,u=s.length;o<u;o++)r=s[o],e=o!==u-1?r.lastIndexOf(","):r.length,i=r.substr(0,e),n[a]=isNaN(i)?i.replace(Qe,"").trim():+i,a=r.substr(e+1).trim();return n}(s[1])]:(r=(s=t).indexOf("(")+1,i=s.indexOf(")"),n=s.indexOf("(",r),s.substring(r,~n&&n<i?s.indexOf(")",i+1):i).split(",").map(x))):E._CE&&je.test(t)?E._CE("",t):a))||e;var r,i,n,s,a};function He(t){var e,r,i,n=se()-he,s=!0===t;if(ae<n&&(ue+=n-oe),(0<(n=(r=(he+=n)-ue)-le)||s)&&(i=++re.frame,ie=r-1e3*re.time,re.time=r/=1e3,le+=n+(fe<=n?4:fe-n),e=1),s||(Kt=te(He)),e)for(ne=0;ne<ce.length;ne++)ce[ne](r,ie,i,t)}function Ze(t){return t<1/2.75?pe*t*t:t<.7272727272727273?pe*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?pe*(t-=2.25/2.75)*t+.9375:pe*Math.pow(t-2.625/2.75,2)+.984375}p("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Lt(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),E.Linear.easeNone=E.none=E.Linear.easeIn,Lt("Elastic",Yt("in"),Yt("out"),Yt()),pe=7.5625,Lt("Bounce",function(t){return 1-Ze(1-t)},Ze),Lt("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),Lt("Circ",function(t){return-(ve(1-t*t)-1)}),Lt("Sine",function(t){return 1===t?1:1-ye(t*me)}),Lt("Back",Ut("in"),Ut("out"),Ut()),E.SteppedEase=E.steps=a.SteppedEase={config:function(t,e){var r=1/(t=void 0===t?1:t),i=t+(e?0:1),n=e?1:0;return function(t){return((i*Vt(0,.99999999,t)|0)+n)*r}}},_e.ease=E["quad.out"],p("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Ie+=t+","+t+"Param
2s,"});var $e=function(t,e){this.id=ge++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:v,this.set=e?e.getSetter:wr},Je=((e=Ke.prototype).delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,mt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Ve(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(ct(this,t),r._dp&&!r.parent&&pt(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&D(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===V||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),y(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+ht(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+ht(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Nt(this._tTime,r)+1:1},e.timeScale=function(t){if(!arguments.length)return this._rts===-V?0:this._rts;if(this._rts===t)return this;for(var e=this.parent&&this._ts?ft(this.parent._time,this):this._tTime,t=(this._rts=+t||0,this._ts=this._ps||t===-V?0:this._rts,this.totalTime(Vt(-this._delay,this._tDur,e),!0),lt(this),this),r=t.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return t},e.paused=function(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ve(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==V&&(this._tTime-=V)))),this):this._ps},e.startTime=function(t){var e;return arguments.length?(this._start=t,!(e=this.parent||this._dp)||!e._sort&&this.parent||D(e,this,t-this._delay),this):this._start},e.endTime=function(t){return this._start+(F(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ft(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){var e=I;return I=t=void 0===t?Se:t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),I=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(e._ts||1),e=e._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1:this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,gt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){var e;return arguments.length?(e=this._time,this._rDelay=t,gt(this),e?this.time(e):this):this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(h(this,t),F(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,F(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-V:0)),this):this._rts<0}
vendor: 18,620 bytes, line 2
2,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-V,this},e.isActive=function(){var t=this.parent||this._dp,e=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(t=t.rawTime(!0))>=e&&t<this.endTime(!0)-V))},e.eventCallback=function(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(i){var n=this;return new Promise(function(e){function t(){var t=n.then;n.then=null,l(r)&&(r=r(n))&&(r.then||r===n)&&(n.then=t),e(r),n.then=t}var r=l(i)?i:w;n._initted&&1===n.totalProgress()&&0<=n._ts||!n._tTime&&n._ts<0?t():n._prom=t})},e.kill=function(){Pt(this)},Ke);function Ke(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,mt(this,+t.duration,1,1),this.data=t.data,o&&(this._ctx=o).data.push(this),Jt||_.wake()}L(Je.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-V,_prom:0,_ps:!1,_rts:1});r(er,tr=Je),(e=er.prototype).to=function(t,e,r){return vt(0,arguments,this),this},e.from=function(t,e,r){return vt(1,arguments,this),this},e.fromTo=function(t,e,r,i){return vt(2,arguments,this),this},e.set=function(t,e,r){return e.duration=0,e.parent=this,at(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Q(t,e,h(this,r),1),this},e.call=function(t,e,r){return D(this,Q.delayedCall(0,t,e),r)},e.staggerTo=function(t,e,r,i,n,s,a){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=s,r.onCompleteParams=a,r.parent=this,new Q(t,r,h(this,n)),this},e.staggerFrom=function(t,e,r,i,n,s,a){return r.runBackwards=1,at(r).immediateRender=F(r.immediateRender),this.staggerTo(t,e,r,i,n,s,a)},e.staggerFromTo=function(t,e,r,i,n,s,a,o){return i.startAt=r,at(i).immediateRender=F(i.immediateRender),this.staggerTo(t,e,i,n,s,a,o)},e.render=function(t,e,r){var i,n,s,a,o,u,h,f,l,c,p=this._time,_=this._dirty?this.totalDuration():this._tDur,d=this._dur,m=t<=0?0:C(t),g=this._zTime<0!=t<0&&(this._initted||!d);if((m=this!==Y&&_<m&&0<=t?_:m)!==this._tTime||r||g){if(p!==this._time&&d&&(m+=this._time-p,t+=this._time-p),i=m,f=this._start,o=!(h=this._ts),g&&(d||(p=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(g=this._yoyo,a=d+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,r);if(i=C(m%a),m===_?(s=this._repeat,i=d):((s=~~(m/a))&&s===m/a&&(i=d,s--),d<i&&(i=d)),l=Nt(this._tTime,a),g&&1&s&&(i=d-i,c=1),s!==(l=!p&&this._tTime&&l!==s?s:l)&&!this._lock){var v=g&&1&l,g=v===(g&&1&s),p=(v=s<l?!v:v)?0:d;if(this._lock=1,this.render(p||(c?0:C(s*a)),e,!d)._lock=0,this._tTime=m,!e&&this.parent&&T(this,"onRepeat"),this.vars.repeatRefresh&&!c&&(this.invalidate()._lock=1),p&&p!==this._time||o!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(d=this._dur,_=this._tDur,g&&(this._lock=2,this.render(p=v?d:-1e-4,!0),this.vars.repeatRefresh)&&!c&&this.invalidate(),this._lock=0,!this._ts&&!o)return this;Bt(this,c)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=function(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start<e)return i;i=i._prev}}(this,C(p),C(i)))&&(m-=i-(i=u._start)),this._tTime=m,this._time=i,this._act=!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,p=0),!p&&i&&!e&&(T(this,"onStart"),this._tTime!==m))return this;if(p<=i&&0<=t)for(y=this._first;y;){if(n=y._next,(y._act||i>=y._start)&&y._ts&&u!==y){if(y.parent!==this)return this.render(t,e,r);if(y.render(0<y._ts?(i-y._start)*y._ts:(y._dirty?y.totalDuration():y._tDur)+(i-y._start)*y._ts,e,r),i!==this._time||!this._ts&&!o){u=0,n&&(m+=this._zTime=-V);break}}y=n}else for(var y=this._last,x=t<0?t:i;y;){if(n=y._prev,(y._act||x<=y._end)&&y._ts&&u!==y){if(y.parent!==this)return this.render(t,e,r);if(y.render(0<y._ts?(x-y._start)*y._ts:(y._dirty?y.totalDuration():y._tDur)+(x-y._start)*y._ts,e,r||I&&(y._initted||y._startAt)),i!==this._time||!this._ts&&!o){u=0,n&&(m+=this._zTime=x?-V:V);break}}y=n}if(u&&!e&&(this.pause(),u.render(p<=i?0:-V)._zTime=p<=i?1:-1,this._ts))return this._start=f,lt(this),this.render(t,e,r);this._onUpdate&&!e&&T(this,"onUpdate",!0),!(m===_&&this._tTime>=this.totalDuration()||!m&&p)||f!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||(!t&&d||!(m===_&&0<this._ts||!m&&this._ts<0)||ot(this,1),e)||t<0&&!p||!m&&!p&&_||(T(this,m===_&&0<=t?"onComplete":"onReverseComplete",!0),!this._prom)||m<_&&0<this.timeScale()||this._prom()}return this},e.add=function(t,e){var r=this;if($(e)||(e=h(this,e,t)),!(t instanceof Je)){if(P(t))return t.forEach(function(t){return r.add(t,e)}),this;if(U(t))return this.addLabel(t,e);if(!l(t))return this;t=Q.delayedCall(0,t)}return this!==t?D(this,t,e):this},e.getChildren=function(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-q);for(var n=[],s=this._first;s;)s._start>=i&&(s instanceof Q?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n},e.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function(t){return U(t)?this.removeLabel(t):l(t)?this.killTweensOf(t):(O(this,t),t===this._recent&&(this._recent=this._last),k(this))},e.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=C(_.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),tr.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function(t,e){return this.labels[t]=h(this,e),this},e.removeLabel=function(t){return delete this.labels[t],this},e.addPause=function(t,e,r){e=Q.delayedCall(0,e||g,r);return e.data="isPause",this._hasPause=1,D(this,e,h(this,t))},e.removePause=function(t){var e=this._first;for(t=h(this,t);e;)e._start===t&&"isPause"===e.data&&ot(e),e=e._next},e.killTweensOf=function(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)sr!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function(t,e){for(var r,i=[],n=S(t),s=this._first,a=$(e);s;)s instanceof Q?function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}(s._targets,n)&&(a?(!sr||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&i.push(s):(r=s.getTweensOf(n,e)).length&&i.push.apply(i,r),s=s._next;return i},e.tweenTo=function(t,e){e=e||{};var r,i=this,n=h(i,t),s=e.startAt,a=e.onStart,o=e.onStartParams,t=e.immediateRender,u=Q.to(i,L({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale())||V,onStart:function(){var t;i.pause(),r||(t=e.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale()),u._dur!==t&&mt(u,t,0,1).render(u._time,!0,!0),r=1),a&&a.apply(u,o||[])}},e));return t?u.render(0):u},e.tweenFromTo=function(t,e,r){return this.tweenTo(e,L({startAt:{time:h(this,t)}},r))},e.recent=function(){return this._recent},e.nextLabel=function(t){return void 0===t&&(t=this._time),Dt(this,h(this,t))},e.previousLabel=function(t){return void 0===t&&(t=this._time),Dt(this,h(this,t),1)},e.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+V)},e.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,s=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return k(this)},e.invalidate=function(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return tr.prototype.invalidate.call(this,t)},e.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),k(this)},e.totalDuration=function(t){var e,r,i,n=0,s=this,a=s._last,o=q;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(i=s.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),o<(r=a._start)&&s._sort&&a._ts&&!s._lock?(s._lock=1,D(s,a,r-a._delay,1)._lock=0):o=r,r<0&&a._ts&&(n-=r,(!i&&!s._dp||i&&i.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-1/0),o=0),a._end>n&&a._ts&&(n=a._end),a=e;mt(s,s===Y&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},er.updateRoot=function(t){if(Y._ts&&(y(Y,ft(t,Y)),$t=_.frame),_.frame>=Be){Be+=N.autoSleep||120;var e=Y._first;if((!e||!e._ts)&&N.autoSleep&&_._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||_.sleep()}}};var tr,R=er;function er(t,e){var r;return(r=tr.call(this,t=void 0===t?{}:t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=F(t.sortChildren),Y&&D(t.parent||Y,z(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&_t(z(r),t.scrollTrigger),r}function rr(t,e,r,i,n,s){var a,o,u,h;if(j[t]&&!1!==(a=new j[t]).init(n,a.rawVars?e[t]:function(t,e,r,i,n){if(!A(t=l(t)?nr(t,n,e,r,i):t)||t.style&&t.nodeType||P(t)||Te(t))return U(t)?nr(t,n,e,r,i):t;var s,a={};for(s in t)a[s]=nr(t[s],n,e,r,i);return a}(e[t],i,n,s,r),r,i,s)&&(r._pt=o=new G(r._pt,n,t,0,1,a.render,a,0,a.priority),r!==Lr))for(u=r._ptLookup[r._targets.indexOf(n)],h=a._props.length;h--;)u[a._props[h]]=o;return a}L(R.prototype,{_lock:0,_hasPause:0,_forcing:0});function ir(t,e,r){var i,n,s,a,o,u,h,f,l,c,p,_,d,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,x=m.lazy,T=m.onUpdate,w=m.onUpdateParams,b=m.callbackScope,M=m.runBackwards,O=m.yoyoEase,k=m.keyframes,A=m.autoRevert,C=t._dur,D=t._startAt,P=t._targets,S=t.parent,E=S&&"nested"===S.data?S.vars.targets:P,R="auto"===t._overwrite&&!Qt,z=t.timeline;if(t._ease=We(g=!z||k&&g?g:"none",_e.ease),t._yEase=O?Ge(We(!0===O?g:O,_e.ease)):0,O&&t._yoyo&&!t._repeat&&(O=t._yEase,t._yEase=t._ease,t._ease=O),t._from=!z&&!!m.runBackwards,!z||k&&!m.stagger){if(_=(f=P[0]?rt(P[0]).harness:0)&&m[f.prop],i=st(m,Ee),D&&(D._zTime<0&&D.progress(1),e<0&&M&&y&&!A?D.render(-1,!0):D.revert(M&&C?Pe:De),D._lazy=0),v){if(ot(t._startAt=Q.set(P,L({data:"isStart",overwrite:!1,parent:S,immediateRender:!0,lazy:!D&&F(x),startAt:null,delay:0,onUpdate:T,onUpdateParams:w,callbackScope:b,stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I||!y&&!A)&&t._startAt.revert(Pe),y&&C&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(M&&C&&!D)if(s=L({overwrite:!1,data:"isFromStart",lazy:(y=e?!1:y)&&!D&&F(x),immediateRender:y,stagger:0,parent:S},i),_&&(s[f.prop]=_),ot(t._startAt=Q.set(P,s)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I?t._startAt.revert(Pe):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else ir(t._startAt,V,V);for(t._pt=t._ptCache=0,x=C&&F(x)||x&&!C,n=0;n<P.length;n++){if(h=(o=P[n])._gsap||et(P)[n]._gsap,t._ptLookup[n]=c={},ze[h.id]&&Re.length&&nt(),p=E===P?n:E.indexOf(o),f&&!1!==(l=new f).init(o,_||i,t,p,E)&&(t._pt=a=new G(t._pt,o,l.name,0,1,l.render,l,0,l.priority),l._props.forEach(function(t){c[t]=a}),l.priority)&&(u=1),!f||_)for(s in i)j[s]&&(l=rr(s,i,t,p,o,E))?l.priority&&(u=1):c[s]=a=ur.call(t,o,s,"get",i[s],p,E,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),R&&t._pt&&(sr=t,Y.killTweensOf(o,c,t.globalTime(e)),d=!t.parent,sr=0),t._pt&&x&&(ze[h.id]=1)}u&&br(t),t._onInit&&t._onInit(t)}t._onUpdate=T,t._initted=(!t._op||t._pt)&&!d,k&&e<=0&&z.render(q,!0,!0)}function nr(t,e,r,i,n){return l(t)?t.call(e,r,i,n):U(t)&&~t.indexOf("random(")?Ct(t):t}var sr,ar,or,ur=function(t,e,r,i,n,s,a,o,u,h){l(i)&&(i=i(n||0,t,s));var f,n=t[e],s="get"!==r?r:l(n)?u?t[e.indexOf("set")||!l(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():n,r=l(n)?u?dr:_r:pr;if(!U(i)||"="!==(i=~i.indexOf("random(")?Ct(i):i).charAt(1)||!(f=it(s,i)+(X(s)||0))&&0!==f||(i=f),!h||s!==i||ar)return isNaN(s*i)||""===i?(n||e in t||K(e,i),function(t,e,r,i,n,s,a){var o,u,h,f,l,c=new G(this._pt,t,e,0,1,vr,null,n),p=0,_=0;for(c.b=r,c.e=i,r+="",(n=~(i+="").indexOf("random("))&&(i=Ct(i)),s&&(s(s=[r,i],t,e),r=s[0],i=s[1]),o=r.match(Oe)||[];f=Oe.exec(i);)h=f[0],f=i.substring(p,f.index),u?u=(u+1)%5:"rgba("===f.substr(-5)&&(u=1),h!==o[_++]&&(l=parseFloat(o[_-1])||0,c._pt={_next:c._pt,p:f||1===_?f:",",s:l,c:"="===h.charAt(1)?it(l,h)-l:parseFloat(h)-l,m:u&&u<4?Math.round:0},p=Oe.lastIndex);return c.c=p<i.length?i.substring(p,i.length):"",c.fp=a,(ke.test(i)||n)&&(c.e=0),this._pt=c}.call(this,t,e,s,i,r,o||N.stringFilter,u)):(f=new G(this._pt,t,e,+s||0,i-(s||0),"boolean"==typeof n?gr:mr,0,r),u&&(f.fp=u),a&&f.modifier(a,this,t),this._pt=f)},hr=Ie+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",fr={},Q=(p(hr+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return fr[t]=1}),r(n,or=Je),(e=n.prototype).render=function(t,e,r){var i,n,s,a=this._time,o=this._tDur,u=this._dur,h=t<0,f=o-V<t&&!h?o:t<V?0:t;if(u){if(f!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=h){if(_=f,p=this.timeline,this._repeat){if(l=u+this._rDelay,this._repeat<-1&&h)return this.totalTime(100*l+t,e,r);if(_=C(f%l),f===o?(g=this._repeat,_=u):((g=~~(f/l))&&g===f/l&&(_=u,g--),u<_&&(_=u)),(n=this._yoyo&&1&g)&&(c=this._yEase,_=u-_),y=Nt(this._tTime,l),_===a&&!r&&this._initted)return this._tTime=f,this;g!==y&&(p&&this._yEase&&Bt(p,n),!this.vars.repeatRefresh||n||this._lock||(this._lock=r=1,this.render(C(l*g),!0).invalidate()._lock=0))}if(!this._initted){if(dt(this,h?t:_,r,e,f))return this._tTime=0,this;if(a!==this._time)return this;if(u!==this._dur)return this.render(t,e,r)}if(this._tTime=f,this._time=_,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=s=(c||this._ease)(_/u),this._from&&(this.ratio=s=1-s),_&&!a&&!e&&(T(this,"onStart"),this._tTime!==f))return this;for(i=this._pt;i;)i.r(s,i.d),i=i._next;p&&p.render(t<0?t:!_&&n?-V:p._dur*p._ease(_/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(h&&ut(this,t,0,r),T(this,"onUpdate")),this._repeat&&g!==y&&this.vars.onRepeat&&!e&&this.parent&&T(this,"onRepeat"),f!==this._tDur&&f||this._tTime!==f||(h&&!this._onUpdate&&ut(this,t,0,!0),!t&&u||!(f===this._tDur&&0<this._ts||!f&&this._ts<0)||ot(this,1),e)||h&&!a||!(f||a||n)||(T(this,f===o?"onComplete":"onReverseComplete",!0),!this._prom)||f<o&&0<this.timeScale()||this._prom()}}else{var l=this;var c=t;var p=e;var _=r;var d,m,g=l.ratio,v=c<0||!c&&(!l._start&&function t(e){e=e.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||t(e))}(l)&&(l._initted||!qt(l))||(l._ts<0||l._dp._ts<0)&&!qt(l))?0:1,y=l._rDelay,u=0;if(y&&l._repeat&&(u=Vt(0,l._tDur,c),m=Nt(u,y),l._yoyo&&1&m&&(v=1-v),m!==Nt(l._tTime,y))&&(g=1-v,l.vars.repeatRefresh)&&l._initted&&l.invalidate(),v!==g||I||_||l._zTime===V||!c&&l._zTime){if(l._initted||!dt(l,c,_,p,u)){for(m=l._zTime,l._zTime=c||(p?V:0),p=p||c&&!m,l.ratio=v,l._from&&(v=1-v),l._time=0,l._tTime=u,d=l._pt;d;)d.r(v,d.d),d=d._next;c<0&&ut(l,c,0,!0),l._onUpdate&&!p&&T(l,"onUpdate"),u&&l._repeat&&!p&&l.parent&&T(l,"onRepeat"),(c>=l._tDur||c<0)&&l.ratio===v&&(v&&ot(l,1),p||I||(T(l,v?"onComplete":"onReverseComplete",!0),l._prom&&l._prom()))}}else l._zTime||(l._zTime=c)}return this},e.targets=function(){return this._targets},e.invalidate=function(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),or.prototype.invalidate.call(this,t)},e.resetTo=function(t,e,r,i){Jt||_.wake(),this._ts||this.play();var n,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||ir(this,s),n=this._ease(s/this._dur),function(t,e,r,i,n,s,a){var o,u,h,f,l=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!l)for(l=t._ptCache[e]=[],h=t._ptLookup,f=t._targets.length;f--;){if((o=h[f][e])&&o.d&&o.d._pt)for(o=o.d._pt;o&&o.p!==e&&o.fp!==e;)o=o._next;if(!o)return ar=1,t.vars[e]="+=0",ir(t,a),ar=0,1;l.push(o)}for(f=l.length;f--;)(o=(u=l[f])._pt||u).s=!i&&0!==i||n?o.s+(i||0)+s*o.c:i,o.c=r-o.s,u.e&&(u.e=B(r)+X(u.e)),u.b&&(u.b=o.s+X(u.b))}(this,t,e,r,i,n,s)?this.resetTo(t,e,r,i):(ct(this,0),this.parent||M(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?Pt(this):this;if(this.timeline)c=this.timeline.totalDuration(),this.timeline.killTweensOf(t,e,sr&&!0!==sr.vars.overwrite)._first||Pt(this),this.parent&&c!==this.timeline.totalDuration()&&mt(this,this._dur*this.timeline._tDur/c,0,1);else{var r,i,n,s,a,o,u,h=this._targets,f=t?S(t):h,l=this._ptLookup,c=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(h,f))return"all"===e&&(this._pt=0),Pt(this);for(r=this._op=this._op||[],"all"!==e&&(U(e)&&(a={},p(e,function(t){return a[t]=1}),e=a),e=function(t,e){var r,i,n,s,t=t[0]?rt(t[0]).harness:0,a=t&&t.aliases;if(!a)return e;for(i in r=Xt({},e),a)if(i in r)for(n=(s=a[i].split(",")).length;n--;)r[s[n]]=r[i];return r}(h,e)),u=h.length;u--;)if(~f.indexOf(h[u]))for(a in i=l[u],"all"===e?(r[u]=e,s=i,n={}):(n=r[u]=r[u]||{},s=e),s)(o=i&&i[a])&&("kill"in o.d&&!0!==o.d.kill(a)||O(this,o,"_pt"),delete i[a]),"all"!==n&&(n[a]=1);this._initted&&!this._pt&&c&&Pt(this)}return this},n.to=function(t,e,r){return new n(t,e,r)},n.from=function(t,e){return vt(1,arguments)},n.delayedCall=function(t,e,r,i){return new n(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},n.fromTo=function(t,e,r){return vt(2,arguments)},n.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new n(t,e)},n.killTweensOf=function(t,e,r){return Y.killTweensOf(t,e,r)},n);function n(t,e,r,i){var n;"number"==typeof e&&(r.duration=e,e=r,r=null);var s,a,o,u,h,f,l,c,i=(n=or.call(this,i?e:at(e))||this).vars,p=i.duration,_=i.delay,d=i.immediateRender,m=i.stagger,g=i.overwrite,v=i.keyframes,y=i.defaults,x=i.scrollTrigger,T=i.yoyoEase,i=e.parent||Y,w=(P(t)||Te(t)?$(t[0]):"length"in e)?[t]:S(t);if(n._targets=w.length?et(w):tt("GSAP target "+t+" not found. https://greensock.com",!N.nullTargetWarn)||[],n._ptLookup=[],n._overwrite=g,v||m||J(p)||J(_)){if(e=n.vars,(s=n.timeline=new R({data:"nested",defaults:y||{},targets:i&&"nested"===i.data?i.vars.targets:w})).kill(),s.parent=s._dp=z(n),s._start=0,m||J(p)||J(_)){if(u=w.length,l=m&&bt(m),A(m))for(h in m)~hr.indexOf(h)&&((c=c||{})[h]=m[h]);for(a=0;a<u;a++)(o=st(e,fr)).stagger=0,T&&(o.yoyoEase=T),c&&Xt(o,c),f=w[a],o.duration=+nr(p,z(n),a,f,w),o.delay=(+nr(_,z(n),a,f,w)||0)-n._delay,!m&&1===u&&o.delay&&(n._delay=_=o.delay,n._start+=_,o.delay=0),s.to(f,o,l?l(a,f,w
vendor: 4,157 bytes, line 2
2):0),s._ease=E.none;s.duration()?p=_=0:n.timeline=0}else if(v){at(L(s.vars.defaults,{ease:"none"})),s._ease=We(v.ease||e.ease||"none");var b,M,O,k=0;if(P(v))v.forEach(function(t){return s.to(w,t,">")}),s.duration();else{for(h in o={},v)"ease"!==h&&"easeEach"!==h&&function(t,r,e,i){var n,s,a=r.ease||i||"power1.inOut";if(P(r))s=e[t]||(e[t]=[]),r.forEach(function(t,e){return s.push({t:e/(r.length-1)*100,v:t,e:a})});else for(n in r)s=e[n]||(e[n]=[]),"ease"!==n&&s.push({t:parseFloat(t),v:r[n],e:a})}(h,v[h],o,v.easeEach);for(h in o)for(b=o[h].sort(function(t,e){return t.t-e.t}),a=k=0;a<b.length;a++)(O={ease:(M=b[a]).e,duration:(M.t-(a?b[a-1].t:0))/100*p})[h]=M.v,s.to(w,O,k),k+=O.duration;s.duration()<p&&s.to({},{duration:p-s.duration()})}}p||n.duration(p=s.duration())}else n.timeline=0;return!0!==g||Qt||(sr=z(n),Y.killTweensOf(w),sr=0),D(i,z(n),r),e.reversed&&n.reverse(),e.paused&&n.paused(!0),(d||!p&&!v&&n._start===C(i._time)&&F(d)&&function t(e){return!e||e._ts&&t(e.parent)}(z(n))&&"nested"!==i.data)&&(n._tTime=-V,n.render(Math.max(0,-_)||0)),x&&_t(z(n),x),n}function lr(t,e,r){return t.setAttribute(e,r)}function cr(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}L(Q.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),p("staggerTo,staggerFrom,staggerFromTo",function(r){Q[r]=function(){var t=new R,e=Ue.call(arguments,0);return e.splice("staggerFromTo"===r?5:4,0,0),t[r].apply(t,e)}});function pr(t,e,r){return t[e]=r}function _r(t,e,r){return t[e](r)}function dr(t,e,r,i){return t[e](i.fp,r)}function mr(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)}function gr(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)}function vr(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)}function yr(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next}function xr(t,e,r,i){for(var n,s=this._pt;s;)n=s._next,s.p===i&&s.modifier(t,e,r),s=n}function Tr(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?O(this,i,"_pt"):i.dep||(e=1),i=r;return!e}var wr=function(t,e){return l(t[e])?_r:s(t[e])&&t.setAttribute?lr:pr},br=function(t){for(var e,r,i,n,s=t._pt;s;){for(e=s._next,r=i;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e}t._pt=i},G=(Mr.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=cr,this.m=t,this.mt=r,this.tween=e},Mr);function Mr(t,e,r,i,n,s,a,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||mr,this.d=a||this,this.set=o||pr,this.pr=u||0,(this._next=t)&&(t._prev=this)}function Or(t){(Cr[t]||Dr).map(function(t){return t()})}function kr(){var t=Date.now(),o=[];2<t-Pr&&(Or("matchMediaInit"),Ar.forEach(function(t){var e,r,i,n,s=t.queries,a=t.conditions;for(r in s)(e=u.matchMedia(s[r]).matches)&&(i=1),e!==a[r]&&(a[r]=e,n=1);n&&(t.revert(),i)&&o.push(t)}),Or("matchMediaRevert"),o.forEach(function(t){return t.onMatch(t)}),Pr=t,Or("matchMedia"))}p(Ie+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return Ee[t]=1}),a.TweenMax=a.TweenLite=Q,a.TimelineLite=a.TimelineMax=R,Y=new R({sortChildren:!1,defaults:_e,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),N.stringFilter=Ft;var Ar=[],Cr={},Dr=[],Pr=0,Sr=((e=Er.prototype).add=function(t,i,n){function e(){var t,e=o,r=s.selector;return e&&e!==s&&e.data.push(s),n&&(s.selector=Tt(n)),o=s,l(t=i.apply(s,arguments))&&s._r.push(t),o=e,s.selector=r,s.isReverted=!1,t}l(t)&&(n=i,i=t,t=l);var s=this;return s.last=e,t===l?e(s):t?s[t]=e:e},e.ignore=function(t){var e=o;o=null,t(this),o=e},e.getTweens=function(){var e=[];return this.data.forEach(function(t){return t instanceof Er?e.push.apply(e,t.getTweens()):t instanceof Q&&!(t.parent&&"nested"===t.parent.data)&&e.push(t)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(e,t){var r,i=this;e?(r=this.getTweens(),this.data.forEach(function(t){"isFlip"===t.data&&(t.revert(),t.getChildren(!0,!0,!1).forEac
2h(function(t){return r.splice(r.indexOf(t),1)}))}),r.map(function(t){return{g:t.globalTime(0),t:t}}).sort(function(t,e){return e.g-t.g||-1}).forEach(function(t){return t.t.revert(e)}),this.data.forEach(function(t){return!(t instanceof Je)&&t.revert&&t.revert(e)}),this._r.forEach(function(t){return t(e,i)}),this.isReverted=!0):this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t&&~(t=Ar.indexOf(this))&&Ar.splice(t,1)},e.revert=function(t){this.kill(t||{})},Er);function Er(t,e){this.selector=e&&Tt(e),this.data=[],this._r=[],this.isReverted=!1,t&&this.add(t)}(e=zr.prototype).add=function(t,e,r){A(t)||(t={matches:t});var i,n,s,a=new Sr(0,r||this.scope),o=a.conditions={};for(n in this.contexts.push(a),e=a.add("onMatch",e),a.queries=t)"all"===n?s=1:(i=u.matchMedia(t[n]))&&(Ar.indexOf(a)<0&&Ar.push(a),(o[n]=i.matches)&&(s=1),i.addListener?i.addListener(kr):i.addEventListener("change",kr));return s&&e(a),this},e.revert=function(t){this.kill(t||{})},e.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})};var Rr=zr;function zr(t){this.contexts=[],this.scope=t}var Fr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){var e=(t=!t.name&&t.default||t).name,r=l(t),r=e&&!r&&t.init?function(){this._props=[]}:t,i={init:g,render:yr,add:ur,kill:Tr,modifier:xr,rawVars:0},n={targetTest:0,get:0,getSetter:wr,aliases:{},register:0};if(Ve(),t!==r){if(j[e])return;L(r,L(st(t,i),n)),Xt(r.prototype,Xt(i,st(t,n))),j[r.prop=e]=r,t.targetTest&&(Le.push(r),Ee[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}m(e,r),t.register&&t.register(f,r,G)})},timeline:function(t){return new R(t)},getTweensOf:function(t,e){return Y.getTweensOf(t,e)},getProperty:function(i,t,e,r){var n=rt((i=U(i)?S(i)[0]:i)||{}).get,s=e?w:x;return"native"===e&&(e=""),i&&(t?s((j[t]&&j[t].get||n)(i,t,e,r)):function(t,e,r){return s((j[t]&&j[t].get||n)(i,t,e,r))})},quickSetter:function(r,e,i){var n,s;if(1<(r=S(r)).length)return n=r.map(function(t){return f.quickSetter(t,e,i)}),s=n.length,function(t){for(var e=s;e--;)n[e](t)};r=r[0]||{};var a=j[e],o=rt(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=a?function(t){var e=new a;Lr._pt=0,e.init(r,i?t+i:t,Lr,0,[r]),e.render(1,e),Lr._pt&&yr(1,Lr)}:o.set(r,u);return a?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function(t,i,e){function r(t,e,r){return n.resetTo(i,t,e,r)}var n=f.to(t,Xt(((t={})[i]="+=0.1",t.paused=!0,t),e||{}));return r.tween=n,r},isTweening:function(t){return 0<Y.getTweensOf(t,!0).length},defaults:function(t){return t&&t.ease&&(t.ease=We(t.ease,_e.ease)),b(_e,t||{})},config:function(t){return b(N,t||{})},registerEffect:function(t){var i=t.name,n=t.effect,e=t.plugins,s=t.defaults,t=t.extendTimeline;(e||"").split(",").forEach(function(t){return t&&!j[t]&&!a[t]&&tt(i+" effect requires "+t+" plugin.")}),Fe[i]=function(t,e,r){return n(S(t),L(e||{},s),r)},t&&(R.prototype[i]=function(t,e,r){return this.add(Fe[i](t,A(e)?e:(r=e)&&{},this),r)})},registerEase:function(t,e){E[t]=We(e)},parseEase:function(t,e){return arguments.length?We(t,e):E},getById:function(t){return Y.getById(t)},exportRoot:function(t,e){var r,i,n=new R(t=void 0===t?{}:t);for(n.smoothChildTiming=F(t.smoothChildTiming),Y.remove(n),n._dp=0,n._time=n._tTime=Y._time,r=Y._first;r;)i=r._next,!e&&!r._dur&&r instanceof Q&&r.vars.onComplete===r._targets[0]||D(n,r,r._start-r._delay),r=i;return D(Y,n,0),n},context:function(t,e){return t?new Sr(t,e):o},matchMedia:function(t){return new Rr(t)},matchMediaRefresh:function(){return Ar.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||kr()},addEventListener:function(t,e){t=Cr[t]||(Cr[t]=[]);~t.indexOf(e)||t.push(e)},removeEventListener:function(t,e){t=Cr[t],e=t&&t.indexOf(e);0<=e&&t.splice(e,1)},utils:{wrap:function t(e,r,i){var n=r-e;return P(e)?At(e,t(0,e.length),r):yt(i,function(t){return(n+(t-e)%n)%n+e})},wrapYoyo:function t(e,r,i){var n=r-e,s=2*n;return P(e)?At(e,t(0,e.length-1),r):yt(i,function(t){return e+(n<(t=(s+(t-e)%s)%s||0)?s-t:t)})},distribute:bt,random:kt,snap:Ot,normalize:function(t,e,r){return jt(t,e,0,1,r)},getUnit:X,clamp:function(e,r,t){return yt(t,function(t){return Vt(e,r,t)})},splitColor:Et,toArray:S,selector:Tt,mapRange:jt,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(e,r){return function(t){return e(parseFloat(t))+(r||X(t))}},interpolate:function t(e,r,i,n){var s=isNaN(e+r)?0:function(t){return(1-t)*e+t*r};if(!s){var a,o,u,h,f,l=U(e),c={};if(!0===i&&(n=1,i=null),l)e={p:e},r={p:r};else if(P(e)&&!P(r)){for(u=[],h=e.length,f=h-2,o=1;o<h;o++)u.push(t(e[o-1],e[o]));h--,s=function(t){t*=h;var e=Math.min(f,~~t);return u[e](t-e)},i=r}else n||(e=Xt(P(e)?[]:{},e));if(!u){for(a in r)ur.call(c,e,a,"get",r[a]);s=function(t){return yr(t,c),l?e.p:e}}}return yt(i,s)},shuffle:wt},install:d,effects:Fe,ticker:_,updateRoot:R.updateRoot,plugins:j,globalTimeline:Y,core:{PropTween:G,globals:m,Tween:Q,Timeline:R,Animation:Je,getCache:rt,_removeLinkedListItem:O,reverting:function(){return I},context:function(t){return t&&o&&(o.data.push(t),t._ctx=o),o},suppressOverwrites:function(t){return Qt=t}}};function Br(t,f){return{name:t,rawVars:1,init:function(t,h,e){e._onInit=function(t){var e,r;if(U(h)&&(e={},p(h,function(t){return e[t]=1}),h=e),f){for(r in e={},h)e[r]=f(h[r]);h=e}var i,n,s,a=t,o=h,u=a._targets;for(i in o)for(n=u.length;n--;)(s=(s=a._ptLookup[n][i])&&s.d)&&(s._pt&&(s=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}(s,i)),s)&&s.modifier&&s.modifier(o[i],a,u[n],i)}}}}p("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Fr[t]=Q[t]}),_.add(R.updateRoot);var Lr=Fr.to({},{duration:0}),f=Fr.registerPlugin({name:"attr",init:function(t,e,r,i,n){var s,a,o;for(s in this.tween=r,e)o=t.getAttribute(s)||"",(a=this.add(t,"setAttribute",(o||0)+"",e[s],i,n,0,0,s)).op=s,a.b=o,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)I?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Br("roundProps",Mt),Br("modifiers"),Br("snap",Ot))||Fr;function Ir(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Yr(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Ur(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Xr(t,e){t=e.s+e.c*t;e.set(e.t,e.p,~~(t+(t<0?-.5:.5))+e.u,e)}function Nr(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function qr(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Vr(t,e,r){return t.style[e]=r}function jr(t,e,r){return t.style.setProperty(e,r)}function Qr(t,e,r){return t._gsap[e]=r}function Gr(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Wr(t,e,r,i,n){t=t._gsap;t.scaleX=t.scaleY=r,t.renderTransform(n,t)}function Hr(t,e,r,i,n){t=t._gsap;t[e]=r,t.renderTransform(n,t)}function Zr(t,e){var r=this,i=this.target,n=i.style;if(t in Xi){if(this.tfm=this.tfm||{},"transform"!==t&&(~(t=Wi[t]||t).indexOf(",")?t.split(",").forEach(function(t){return r.tfm[t]=Ki(i,t)}):this.tfm[t]=i._gsap.x?i._gsap[t]:Ki(i,t)),0<=this.props.indexOf(H))return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Z,e,"")),t=H}(n||e)&&this.props.push(t,e,n[t])}function $r(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))}function Jr(){for(var t,e=this.props,r=this.target,i=r.style,n=r._gsap,s=0;s<e.length;s+=3)e[s+1]?r[e[s]]=e[s+2]:e[s+2]?i[e[s]]=e[s+2]:i.removeProperty(e[s].replace(ji,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)n[t]=this.tfm[t];n.svg&&(n.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),!(s=wi())||s.isStart||i[H]||($r(i),n.uncache=1)}}function Kr(t,e){var r={target:t,props:[],revert:Jr,save:Zr};
vendor: 9,990 bytes, line 2
2return e&&e.split(",").forEach(function(t){return r.save(t)}),r}function ti(t,e){e=gi.createElementNS?gi.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):gi.createElement(t);return e.style?e:gi.createElement(t)}function W(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(ji,"-$1").toLowerCase())||i.getPropertyValue(e)||!r&&W(t,Zi(e)||e,1)||""}function ei(){"undefined"!=typeof window&&window.document&&(vi=(gi=window.document).documentElement,xi=ti("div")||{style:{}},ti("div"),H=Zi(H),Z=H+"Origin",xi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",bi=!!Zi("perspective"),wi=f.core.reverting,yi=1)}function ri(t){var e,r=ti("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,n=this.nextSibling,s=this.style.cssText;if(vi.appendChild(r),r.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=ri}catch(t){}else this._gsapBBox&&(e=this._gsapBBox());return i&&(n?i.insertBefore(this,n):i.appendChild(this)),vi.removeChild(r),this.style.cssText=s,e}function ii(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function ni(e){var r;try{r=e.getBBox()}catch(t){r=ri.call(e,!0)}return!(r=r&&(r.width||r.height)||e.getBBox===ri?r:ri.call(e,!0))||r.width||r.x||r.y?r:{x:+ii(e,["x","cx","x1"])||0,y:+ii(e,["y","cy","y1"])||0,width:0,height:0}}function si(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!ni(t))}function ai(t,e){e&&(t=t.style,e in Xi&&e!==Z&&(e=H),t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(ji,"-$1").toLowerCase())):t.removeAttribute(e))}function oi(t,e,r,i,n,s){e=new G(t._pt,e,r,0,1,s?qr:Nr);(t._pt=e).b=i,e.e=n,t._props.push(r)}function ui(t,e,r,i){var n,s=parseFloat(r)||0,a=(r+"").trim().substr((s+"").length)||"px",o=xi.style,u=Qi.test(e),h="svg"===t.tagName.toLowerCase(),f=(h?"client":"offset")+(u?"Width":"Height"),l="px"===i,c="%"===i;return i===a||!s||$i[i]||$i[a]?s:("px"===a||l||(s=ui(t,e,r,"px")),r=t.getCTM&&si(t),!c&&"%"!==a||!Xi[e]&&!~e.indexOf("adius")?(o[u?"width":"height"]=100+(l?a:i),e=~e.indexOf("adius")||"em"===i&&t.appendChild&&!h?t:t.parentNode,(i=(e=(e=r?(t.ownerSVGElement||{}).parentNode:e)&&e!==gi&&e.appendChild?e:gi.body)._gsap)&&c&&i.width&&u&&i.time===_.time&&!i.uncache?B(s/i.width*100):(!c&&"%"!==a||Ji[W(e,"display")]||(o.position=W(t,"position")),e===t&&(o.position="static"),e.appendChild(xi),n=xi[f],e.removeChild(xi),o.position="absolute",u&&c&&((i=rt(e)).time=_.time,i.width=e[f]),B(l?n*s/100:n&&s?100/n*s:0))):(n=r?t.getBBox()[u?"width":"height"]:t[f],B(c?s/n*100:s/100*n)))}function hi(t,e,r,i){var n;r&&"none"!==r||((n=(s=Zi(e,t,1))&&W(t,s,1))&&n!==r?(e=s,r=n):"borderColor"===e&&(r=W(t,"borderTopColor")));var s,a,o,u,h,f,l,c,p,_=new G(this._pt,t.style,e,0,1,vr),d=0,m=0;if(_.b=r,_.e=i,r+="","auto"==(i+="")&&(t.style[e]=i,i=W(t,e)||i,t.style[e]=r),Ft(s=[r,i]),i=s[1],a=(r=s[0]).match(Me)||[],(i.match(Me)||[]).length){for(;l=Me.exec(i);)c=l[0],l=i.substring(d,l.index),u?u=(u+1)%5:"rgba("!==l.substr(-5)&&"hsla("!==l.substr(-5)||(u=1),c!==(h=a[m++]||"")&&(o=parseFloat(h)||0,p=h.substr((o+"").length),"="===c.charAt(1)&&(c=it(o,c)+p),f=parseFloat(c),c=c.substr((f+"").length),d=Me.lastIndex-c.length,c||(c=c||N.units[e]||p,d===i.length&&(i+=c,_.e+=c)),p!==c&&(o=ui(t,e,h,c)||0),_._pt={_next:_._pt,p:l||1===m?l:",",s:o,c:f-o,m:u&&u<4||"zIndex"===e?Math.round:0});_.c=d<i.length?i.substring(d,i.length):""}else _.r="display"===e&&"none"===i?qr:Nr;return ke.test(i)&&(_.e=0),this._pt=_}function fi(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,s=e.t,a=s.style,o=e.u,e=s._gsap;if("all"===o||!0===o)a.cssText="",i=1;else for(n=(o=o.split(",")).length;-1<--n;)r=o[n],Xi[r]&&(i=1,r="transformOrigin"===r?Z:H),ai(s,r);i&&(ai(s,H),e)&&(e.svg&&s.removeAttribute("transform"),sn(s,1),e.uncache=1,$r(a))}}function li(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t}function ci(t){t=W(t,H);return li(t)?rn:t.substr(7).match(be).map(B)}function pi(t,e){var r,i,n,s=t._gsap||rt(t),a=t.style,o=ci(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(o=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?rn:o:(o!==rn||t.offsetParent||t===vi||s.svg||(i=a.display,a.display="block",(s=t.parentNode)&&t.offsetParent||(n=1,r=t.nextElementSibling,vi.appendChild(t)),o=ci(t),i?a.display=i:ai(t,"display"),n&&(r?s.insertBefore(t,r):s?s.appendChild(t):vi.removeChild(t))),e&&6<o.length?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)}function _i(t,e,r,i,n,s){var a,o=t._gsap,n=n||pi(t,!0),u=o.xOrigin||0,h=o.yOrigin||0,f=o.xOffset||0,l=o.yOffset||0,c=n[0],p=n[1],_=n[2],d=n[3],m=n[4],g=n[5],v=e.split(" "),y=parseFloat(v[0])||0,x=parseFloat(v[1])||0;r?n!==rn&&(n=c*d-p*_)&&(a=y*(-p/n)+x*(c/n)-(c*g-p*m)/n,y=y*(d/n)+x*(-_/n)+(_*g-d*m)/n,x=a):(y=(n=ni(t)).x+(~v[0].indexOf("%")?y/100*n.width:y),x=n.y+(~(v[1]||v[0]).indexOf("%")?x/100*n.height:x)),i||!1!==i&&o.smooth?(o.xOffset=f+((m=y-u)*c+(g=x-h)*_)-m,o.yOffset=l+(m*p+g*d)-g):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=x,o.smooth=!!i,o.origin=e,o.originIsAbsolute=!!r,t.style[Z]="0px 0px",s&&(oi(s,o,"xOrigin",u,y),oi(s,o,"yOrigin",h,x),oi(s,o,"xOffset",f,o.xOffset),oi(s,o,"yOffset",l,o.yOffset)),t.setAttribute("data-svg-origin",y+" "+x)}function di(t,e,r){var i=X(e);return B(parseFloat(e)+parseFloat(ui(t,"x",r+"px",i)))+i}function mi(t,e){for(var r in e)t[r]=e[r];return t}Q.version=R.version=f.version="3.11.4",Zt=1,i()&&Ve();var gi,vi,yi,xi,Ti,wi,bi,e=E.Power0,Mi=E.Power1,Oi=E.Power2,ki=E.Power3,Ai=E.Power4,Ci=E.Linear,Di=E.Quad,Pi=E.Cubic,Si=E.Quart,Ei=E.Quint,Ri=E.Strong,zi=E.Elastic,Fi=E.Back,Bi=E.SteppedEase,Li=E.Bounce,Ii=E.Sine,Yi=E.Expo,Ui=E.Circ,Xi={},Ni=180/Math.PI,qi=Math.PI/180,Vi=Math.atan2,ji=/([A-Z])/g,Qi=/(left|right|width|margin|padding|x)/i,Gi=/[\s,\(]\S/,Wi={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},H="transform",Z=H+"Origin",Hi="O,Moz,ms,Ms,Webkit".split(","),Zi=function(t,e,r){var i=(e||xi).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(Hi[n]+t in i););return n<0?null:(3===n?"ms":0<=n?Hi[n]:"")+t},$i={deg:1,rad:1,turn:1},Ji={grid:1,flex:1},Ki=function(t,e,r,i){var n;return yi||ei(),e in Wi&&"transform"!==e&&~(e=Wi[e]).indexOf(",")&&(e=e.split(",")[0]),Xi[e]&&"transform"!==e?(n=sn(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:an(W(t,Z))+" "+n.zOrigin+"px"):(n=t.style[e])&&"auto"!==n&&!i&&!~(n+"").indexOf("calc(")||(n=en[e]&&en[e](t,e,r)||W(t,e)||v(t,e)||("opacity"===e?1:0)),r&&!~(n+"").trim().indexOf(" ")?ui(t,e,n,r)+r:n},tn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},en={clearProps:function(t,e,r,i,n){if("isFromStart"!==n.data)return(e=t._pt=new G(t._pt,e,r,0,0,fi)).u=i,e.pr=-10,e.tween=n,t._props.push(r),1}},rn=[1,0,0,1,0,0],nn={},sn=function(t,e){var r,i,n,s,a,o,u,h,f,l,c,p,_,d,m,g,v,y,x,T,w,b,M,O,k,A,C,D,P,S,E,R,z=t._gsap||new $e(t);return"x"in z&&!e&&!z.uncache||(A=t.style,C=z.scaleX<0,D="deg",P=getComputedStyle(t),S=W(t,Z)||"0",E=r=i=s=a=o=u=h=0,R=n=1,z.svg=!(!t.getCTM||!si(t)),P.translate&&("none"===P.translate&&"none"===P.scale&&"none"===P.rotate||(A[H]=("none"!==P.translate?"translate3d("+(P.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==P.rotate?"rotate("+P.rotate+") ":"")+("none"!==P.scale?"scale("+P.scale.split(" ").join(",")+") ":"")+("none"!==P[H]?P[H]:"")),A.scale=A.rotate=A.translate="none"),P=pi(t,z.svg),z.svg&&(v=z.uncache?(y=t.getBBox(),S=z.xOrigin-y.x+"px "+(z.yOrigin-y.y)+"px",""):!e&&t.getAttribute("data-svg-origin"),_i(t,v||S,!!v||z.originIsAbsolute,!1!==z.smooth,P)),k=z.xOrigin||0,M=z.yOrigin||0,P!==rn&&(c=P[0],p=P[1],_=P[2],d=P[3],E=m=P[4],r=g=P[5],6===P.length?(R=Math.sqrt(c*c+p*p),n=Math.sqrt(d*d+_*_),s=c||p?Vi(p,c)*Ni:0,(u=_||d?Vi(_,d)*Ni+s:0)&&(n*=Math.abs(Math.cos(u*qi))),z.svg&&(E-=k-(k*c+M*_),r-=M-(k*p+M*d))):(k=P[6],M=P[7],T=P[8],w=P[9],b=P[10],O=P[11],E=P[12],r=P[13],i=P[14],a=(P=Vi(k,b))*Ni,P&&(v=m*(f=Math.cos(-P))+T*(l=Math.sin(-P)),y=g*f+w*l,x=k*f+b*l,T=m*-l+T*f,w=g*-l+w*f,b=k*-l+b*f,O=M*-l+O*f,m=v,g=y,k=x),o=(P=Vi(-_,b))*Ni,P&&(f=Math.cos(-P),O=d*(l=Math.sin(-P))+O*f,c=v=c*f-T*l,p=y=p*f-w*l,_=x=_*f-b*l),s=(P=Vi(p,c))*Ni,P&&(v=c*(f=Math.cos(P))+p*(l=Math.sin(P)),y=m*f+g*l,p=p*f-c*l,g=g*f-m*l,c=v,m=y),a&&359.9<Math.abs(a)+Math.abs(s)&&(a=s=0,o=180-o),R=B(Math.sqrt(c*c+p*p+_*_)),n=B(Math.sqrt(g*g+k*k)),P=Vi(m,g),u=2e-4<Math.abs(P)?P*Ni:0,h=O?1/(O<0?-O:O):0),z.svg)&&(v=t.getAttribute("transform"),z.forceCSS=t.setAttribute("transform","")||!li(W(t,H)),v)&&t.setAttribute("transform",v),90<Math.abs(u)&&Math.abs(u)<270&&(C?(R*=-1,u+=s<=0?180:-180,s+=s<=0?180:-180):(n*=-1,u+=u<=0?180:-180)),e=e||z.uncache,z.x=E-((z.xPercent=E&&(!e&&z.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-E)?-50:0)))?t.offsetWidth*z.xPercent/100:0)+"px",z.y=r-((z.yPercent=r&&(!e&&z.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-r)?-50:0)))?t.offsetHeight*z.yPercent/100:0)+"px",z.z=i+"px",z.scaleX=B(R),z.scaleY=B(n),z.rotation=B(s)+D,z.rotationX=B(a)+D,z.rotationY=B(o)+D,z.skewX=u+D,z.skewY=0+D,z.transformPerspective=h+"px",(z.zOrigin=parseFloat(S.split(" ")[2])||0)&&(A[Z]=an(S)),z.xOffset=z.yOffset=0,z.force3D=N.force3D,z.renderTransform=z.svg?cn:bi?ln:on,z.uncache=0),z},an=function(t){return(t=t.split(" "))[0]+" "+t[1]},on=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,ln(t,e)},un="0deg",hn="0px",fn=") ",ln=function(t,e){var r,i,e=e||this,n=e.xPercent,s=e.yPercent,a=e.x,o=e.y,u=e.z,h=e.rotation,f=e.rotationY,l=e.rotationX,c=e.skewX,p=e.skewY,_=e.scaleX,d=e.scaleY,m=e.transformPerspective,g=e.force3D,v=e.target,e=e.zOrigin,y="",t="auto"===g&&t&&1!==t||!0===g;!e||l===un&&f===un||(g=parseFloat(f)*qi,i=Math.sin(g),r=Math.cos(g),g=parseFloat(l)*qi,a=di(v,a,i*(i=Math.cos(g))*-e),o=di(v,o,-Math.sin(g)*-e),u=di(v,u,r*i*-e+e)),m!==hn&&(y+="perspective("+m+fn),(n||s)&&(y+="translate("+n+"%, "+s+"%) "),!t&&a===
2hn&&o===hn&&u===hn||(y+=u!==hn||t?"translate3d("+a+", "+o+", "+u+") ":"translate("+a+", "+o+fn),h!==un&&(y+="rotate("+h+fn),f!==un&&(y+="rotateY("+f+fn),l!==un&&(y+="rotateX("+l+fn),c===un&&p===un||(y+="skew("+c+", "+p+fn),1===_&&1===d||(y+="scale("+_+", "+d+fn),v.style[H]=y||"translate(0, 0)"},cn=function(t,e){var r,i,n,s,a,e=e||this,o=e.xPercent,u=e.yPercent,h=e.x,f=e.y,l=e.rotation,c=e.skewX,p=e.skewY,_=e.scaleX,d=e.scaleY,m=e.target,g=e.xOrigin,v=e.yOrigin,y=e.xOffset,x=e.yOffset,e=e.forceCSS,T=parseFloat(h),w=parseFloat(f),l=parseFloat(l),c=parseFloat(c);(p=parseFloat(p))&&(c+=p=parseFloat(p),l+=p),l||c?(l*=qi,c*=qi,r=Math.cos(l)*_,i=Math.sin(l)*_,n=Math.sin(l-c)*-d,s=Math.cos(l-c)*d,c&&(p*=qi,a=Math.tan(c-p),n*=a=Math.sqrt(1+a*a),s*=a,p)&&(a=Math.tan(p),r*=a=Math.sqrt(1+a*a),i*=a),r=B(r),i=B(i),n=B(n),s=B(s)):(r=_,s=d,i=n=0),(T&&!~(h+"").indexOf("px")||w&&!~(f+"").indexOf("px"))&&(T=ui(m,"x",h,"px"),w=ui(m,"y",f,"px")),(g||v||y||x)&&(T=B(T+g-(g*r+v*n)+y),w=B(w+v-(g*i+v*s)+x)),(o||u)&&(T=B(T+o/100*(a=m.getBBox()).width),w=B(w+u/100*a.height)),m.setAttribute("transform",a="matrix("+r+","+i+","+n+","+s+","+T+","+w+")"),e&&(m.style[H]=a)};p("padding,margin,Width,Radius",function(e,r){var t="Right",i="Bottom",n="Left",o=(r<3?["Top",t,i,n]:["Top"+n,"Top"+t,i+t,i+n]).map(function(t){return r<2?e+t:"border"+t+e});en[1<r?"border"+e:e]=function(e,t,r,i,n){var s,a;if(arguments.length<4)return s=o.map(function(t){return Ki(e,t,r)}),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(i+"").split(" "),a={},o.forEach(function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]}),e.init(t,a,n)}});var pn,_n={name:"css",register:ei,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s,a,o,u,h,f,l,c,p,B,_,d,L,m,g,v,I,y,x,T,w,Y=this._props,b=t.style,M=r.vars.startAt;for(h in yi||ei(),this.styles=this.styles||Kr(t),m=this.styles.props,this.tween=r,e)if("autoRound"!==h&&(a=e[h],!j[h]||!rr(h,e,r,i,t,n)))if(c=typeof a,u=en[h],"function"===c&&(c=typeof(a=a.call(r,i,t,n))),"string"===c&&~a.indexOf("random(")&&(a=Ct(a)),u)u(this,t,h,a,r)&&(L=1);else if("--"===h.substr(0,2))s=(getComputedStyle(t).getPropertyValue(h)+"").trim(),a+="",Ne.lastIndex=0,Ne.test(s)||(f=X(s),l=X(a)),l?f!==l&&(s=ui(t,h,s,l)+l):f&&(a+=f),this.add(b,"setProperty",s,a,i,n,0,0,h),Y.push(h),m.push(h,0,b[h]);else if("undefined"!==c){if(M&&h in M&&(X((s=U(s="function"==typeof M[h]?M[h].call(r,i,t,n):M[h])&&~s.indexOf("random(")?Ct(s):s)+"")||(s+=N.units[h]||X(Ki(t,h))||""),"="!==(s+"").charAt(1))||(s=Ki(t,h)),u=parseFloat(s),(c="string"===c&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),p=(h=h in Wi&&("autoAlpha"===h&&(1===u&&"hidden"===Ki(t,"visibility")&&o&&(u=0),m.push("visibility",0,b.visibility),oi(this,b,"visibility",u?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==h)&&"transform"!==h&&~(h=Wi[h]).indexOf(",")?h.split(",")[0]:h)in Xi)if(this.styles.save(h),B||((_=t._gsap).renderTransform&&!e.parseTransform||sn(t,e.parseTransform),d=!1!==e.smoothOrigin&&_.smooth,(B=this._pt=new G(this._pt,b,H,0,1,_.renderTransform,_,0,-1)).dep=1),"scale"===h)this._pt=new G(this._pt,_,"scaleY",_.scaleY,(c?it(_.scaleY,c+o):o)-_.scaleY||0,Ir),this._pt.u=0,Y.push("scaleY",h),h+="X";else{if("transformOrigin"===h){m.push(Z,0,b[Z]),w=T=x=void 0,x=(y=a).split(" "),T=x[0],w=x[1]||"50%","top"!==T&&"bottom"!==T&&"left"!==w&&"right"!==w||(y=T,T=w,w=y),x[0]=tn[T]||T,x[1]=tn[w]||w,a=x.join(" "),_.svg?_i(t,a,0,d,0,this):((l=parseFloat(a.split(" ")[2])||0)!==_.zOrigin&&oi(this,_,"zOrigin",_.zOrigin,l),oi(this,b,h,an(s),an(a)));continue}if("svgOrigin"===h){_i(t,a,1,d,0,this);continue}if(h in nn){y=this,T=_,w=h,x=u,g=c?it(u,c+a):a,I=v=E=F=void 0,F=360,E=U(g),v=parseFloat(g)*(E&&~g.indexOf("rad")?Ni:1)-x,I=x+v+"deg",E&&("short"===(E=g.split("_")[1])&&(v%=F)!=v%180&&(v+=v<0?F:-F),"cw"===E&&v<0?v=(v+36e9)%F-~~(v/F)*F:"ccw"===E&&0<v&&(v=(v-36e9)%F-~~(v/F)*F)),y._pt=g=new G(y._pt,T,w,x,v,Yr),g.e=I,g.u="deg",y._props.push(w);continue}if("smoothOrigin"===h){oi(this,_,"smooth",_.smooth,a);continue}if("force3D"===h){_[h]=a;continue}if("transform"===h){F=z=P=C=D=A=k=O=R=E=S=void 0;var O,k,A,C,D,P,S=this,E=a,R=t,z=mi({},R._gsap),F=R.style;for(k in z.svg?(A=R.getAttribute("transform"),R.setAttribute("transform",""),F[H]=E,O=sn(R,1),ai(R,H),R.setAttribute("transform",A)):(A=getComputedStyle(R)[H],F[H]=E,O=sn(R,1),F[H]=A),Xi)(A=z[k])!==(D=O[k])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(k)<0&&(C=X(A)!==(P=X(D))?ui(R,
2k,A,P):parseFloat(A),D=parseFloat(D),S._pt=new G(S._pt,O,k,C,D-C,Ir),S._pt.u=P||0,S._props.push(k));mi(O,z);continue}}else h in b||(h=Zi(h)||h);if(p||(o||0===o)&&(u||0===u)&&!Gi.test(a)&&h in b)o=o||0,(f=(s+"").substr((u+"").length))!==(l=X(a)||(h in N.units?N.units[h]:f))&&(u=ui(t,h,s,l)),this._pt=new G(this._pt,p?_:b,h,u,(c?it(u,c+o):o)-u,p||"px"!==l&&"zIndex"!==h||!1===e.autoRound?Ir:Xr),this._pt.u=l||0,f!==l&&"%"!==l&&(this._pt.b=s,this._pt.r=Ur);else if(h in b)hi.call(this,t,h,s,c?c+a:a);else if(h in t)this.add(t,h,s||t[h],c?c+a:a,i,n);else if("parseTransform"!==h){K(h,a);continue}p||(h in b?m.push(h,0,b[h]):m.push(h,1,s||t[h])),Y.push(h)}L&&br(this)},render:function(t,e){if(e.tween._time||!wi())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Ki,aliases:Wi,getSetter:function(t,e,r){var i=Wi[e];return(e=i&&i.indexOf(",")<0?i:e)in Xi&&e!==Z&&(t._gsap.x||Ki(t,"x"))?r&&Ti===r?"scale"===e?Gr:Qr:(Ti=r||{})&&("scale"===e?Wr:Hr):t.style&&!s(t.style[e])?Vr:~e.indexOf("-")?jr:wr(t,e)},core:{_removeProperty:ai,_getMatrix:pi}},dn=(f.utils.checkPrefix=Zi,f.core.getStyleSaver=Kr,pn=p("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(dn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){Xi[t]=1}),p(dn,function(t){N.units[t]="deg",nn[t]=1}),Wi[pn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+dn,p("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){t=t.split(":");Wi[t[1]]=pn[t[0]]}),p("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){N.units[t]="px"}),f.registerPlugin(_n),f.registerPlugin(_n)||f),mn=dn.core.Tween;t.Back=Fi,t.Bounce=Li,t.CSSPlugin=_n,t.Circ=Ui,t.Cubic=Pi,t.Elastic=zi,t.Expo=Yi,t.Linear=Ci,t.Power0=e,t.Power1=Mi,t.Power2=Oi,t.Power3=ki,t.Power4=Ai,t.Quad=Di,t.Quart=Si,t.Quint=Ei,t.Sine=Ii,t.SteppedEase=Bi,t.Strong=Ri,t.TimelineLite=R,t.TimelineMax=R,t.TweenLite=Q,t.TweenMax=mn,t.default=dn,t.gsap=dn,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default});
3!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t||self).Lenis=e()}(this,function(){function o(t,e){for(var i,o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,"symbol"==typeof(i=function(t){if("object"!=typeof t||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(n.key))?i:String(i),n)}}function e(t,e,i){e&&o(t.prototype,e),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1})}function T(){return(T=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i,o=arguments[e];for(i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t}).apply(this,arguments)}function d(t,e,i){return Math.max(t,Math.min(e,i))}var t,b=function(){function t(){}var e=t.prototype;return e.advance=function(t){var e,i,o,n;this.isRunning&&(i=!1,this.lerp?(this.value=(o=this.value,e=this.to,(1-(n=1-Math.exp(-60*this.lerp*t)))*o+n*e),Math.round(this.value)===this.to&&(this.value=this.to,i=!0)):(this.currentTime+=t,n=(i=1<=(o=d(0,this.currentTime/this.duration,1)))?1:this.easing(o),this.value=this.from+(this.to-this.from)*n),null!=(e=this.onUpdate)&&e.call(this,this.value,i),i)&&this.stop()},e.stop=function(){this.isRunning=!1},e.fromTo=function(t,e,i){var o=i.lerp,o=void 0===o?.1:o,n=i.duration,n=void 0===n?1:n,s=i.easing,s=void 0===s?function(t){return t}:s,r=i.onStart,i=i.onUpdate;this.from=this.value=t,this.to=e,this.lerp=o,this.duration=n,this.easing=s,this.currentTime=0,this.isRunning=!0,null!=r&&r(),this.onUpdate=i},t}(),z=function(){function t(t){var i,o,e=this,t=void 0===t?{}:t,n=t.wrapper,s=t.content,t=t.autoResize,t=void 0===t||t;this.resize=function(){e.onWrapperResize(),e.onContentResize()},this.onWrapperResize=function(){e.wrapper===window?(e.width=window.innerWidth,e.height=window.innerHeight):(e.width=e.wrapper.clientWidth,e.height=e.wrapper.clientHeight)},this.onContentResize=function(){e.scrollHeight=e.content.scrollHeight,e.scrollWidth=e.content.scrollWidth},this.wrapper=n,this.content=s,t&&(i=this.resize,n=function(){var t=arguments,e=this;clearTimeout(o),o=setTimeout(function(){i.apply(e,t)},250)},this.wrapper!==window&&(this.wrapperResizeObserver=new ResizeObserver(n),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(n),this.contentResizeObserver.observe(this.content)),this.resize()}return t.prototype.destroy=function(){var t;null!=(t=this.wrapperResizeObserver)&&t.disconnect(),null!=(t=this.contentResizeObserver)&&t.disconnect()},e(t,[{key:"limit",get:function(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}]),t}(),M=function(){function t(){this.events={}}var e=t.prototype;return e.emit=function(t){for(var e=this.events[t]||[],i=0,o=e.length;i<o;
3i++)e[i].apply(e,[].slice.call(arguments,1))},e.on=function(e,i){var t,o=this;return null!=(t=this.events[e])&&t.push(i)||(this.events[e]=[i]),function(){var t;o.events[e]=null==(t=o.events[e])?void 0:t.filter(function(t){return i!==t})}},e.off=function(t,e){this.events[t]=null==(t=this.events[t])?void 0:t.filter(function(t){return e!==t})},e.destroy=function(){this.events={}},t}(),L=function(){function t(t,e){var s=this,i=e.wheelMultiplier,i=void 0===i?1:i,o=e.touchMultiplier,o=void 0===o?2:o,e=e.normalizeWheel,e=void 0!==e&&e;this.onTouchStart=function(t){var t=t.targetTouches?t.targetTouches[0]:t,e=t.clientY;s.touchStart.x=t.clientX,s.touchStart.y=e,s.lastDelta={x:0,y:0}},this.onTouchMove=function(t){var e=t.targetTouches?t.targetTouches[0]:t,i=e.clientX,e=e.clientY,o=-(i-s.touchStart.x)*s.touchMultiplier,n=-(e-s.touchStart.y)*s.touchMultiplier;s.touchStart.x=i,s.touchStart.y=e,s.lastDelta={x:o,y:n},s.emitter.emit("scroll",{deltaX:o,deltaY:n,event:t})},this.onTouchEnd=function(t){s.emitter.emit("scroll",{deltaX:s.lastDelta.x,deltaY:s.lastDelta.y,event:t})},this.onWheel=function(t){var e=t.deltaX,i=t.deltaY;s.normalizeWheel&&(e=d(-100,e,100),i=d(-100,i,100)),s.emitter.emit("scroll",{deltaX:e*=s.wheelMultiplier,deltaY:i*=s.wheelMultiplier,event:t})},this.element=t,this.wheelMultiplier=i,this.touchMultiplier=o,this.normalizeWheel=e,this.touchStart={x:null,y:null},this.emitter=new M,this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}var e=t.prototype;return e.on=function(t,e){return this.emitter.on(t,e)},e.destroy=function(){this.emitter.destroy(),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})},t}();return(t=i.prototype).destroy=function(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClass("lenis",!1),this.toggleClass("lenis-smooth",!1),this.toggleClass("lenis-scrolling",!1),this.toggleClass("lenis-stopped",!1),this.toggleClass("lenis-locked",!1)},t.on=function(t,e){return this.emitter.on(t,e)},t.off=function(t,e){return this.emitter.off(t,e)},t.setScroll=function(t){this.isHorizontal?this.rootElement.scrollLeft=t:this.rootElement.scrollTop=t},t.resize=function(){this.dimensions.resize()},t.emit=function(){this.emitter.emit("scroll",this)},t.reset=function(){this.isLocked=!1,this.isScrolling=!1,this.velocity=0,this.animate.stop()},t.start=function(){this.isStopped=!1,this.reset()},t.stop=function(){this.isStopped=!0,this.animate.stop(),this.reset()},t.raf=function(t){var e=t-(this.time||t);this.time=t,this.animate.advance(.001*e)},t.scrollTo=function(t,e){var i,o=this,e=void 0===e?{}:e,n=e.offset,n=void 0===n?0:n,s=e.immediate,s=void 0!==s&&s,r=e.lock,l=void 0!==r&&r,r=e.duration,r=void 0===r?this.options.duration:r,h=e.easing,h=void 0===h?this.options.easing:h,a=e.lerp,a=void 0===a?!r&&this.options.lerp:a,c=e.onComplete,u=void 0===c?null:c,c=e.force,e=e.programmatic,p=void 0===e||e;if((!this.isStopped&&!this.isLocked||void 0!==c&&c)&&(["top","left","start"].includes(t)?t=0:["bottom","right","end"].includes(t)?t=this.limit:("string"==typeof t?i=document.querySelector(t):null!=t&&t.nodeType&&(i=t),i&&(this.options.wrapper!==window&&(e=this.options.wrapper.getBoundingClientRect(),n-=this.isHorizontal?e.left:e.top),c=i.getBoundingClientRect(),t=(this.isHorizontal?c.left:c.top)+this.animatedScroll)),"number"==typeof t))if(t+=n,t=Math.round(t),this.options.infinite?p&&(this.targetScroll=this.animatedScroll=this.scroll):t=d(0,t,this.limit),s)this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),null!=u&&u(this);else{if(!p){if(t===this.targetScroll)return;this.targetScroll=t}this.animate.fromTo(this.animatedScroll,t,{duration:r,easing:h,lerp:a,onStart:function(){l&&(o.isLocked=!0),o.isScrolling=!0},onUpdate:function(t,e){o.isScrolling=!0,o.velocity=t-o.animatedScroll,o.direction=Math.sign(o.velocity),o.animatedScroll=t,o.setScroll(o.scroll),p&&(o.targetScroll=t),e||o.emit(),e&&requestAnimationFrame(function(){o.reset(),o.emit(),null!=u&&u(o)})}})}},t.toggleClass=function(t,e){this.rootElement.classList.toggle(t,e),this.emitter.emit("className change",this)},e(i,[{key:"rootElement",get:function(){return this.options.wrapper===window?this.options.content:this.options.wrapper}},{key:"limit",get:function(){return this.dimensions.limit[this.isHorizontal?"x":"y"]}},{key:"isHorizontal",get:function(){return"horizontal"===this.options.orientation}},{key:"actualScroll",get:function(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}},{key:"scroll",get:function(){return this.options.infinite?(this.animatedScroll%(t=this.limit)+t)%t:this.animatedScroll;var t}},{key:"progress",get:function(){return 0===this.limit?1:this.scroll/this.limit}},{key:"isSmooth",get:function(){return this.__isSmooth}
3,set:function(t){this.__isSmooth!==t&&(this.__isSmooth=t,this.toggleClass("lenis-smooth",t))}},{key:"isScrolling",get:function(){return this.__isScrolling},set:function(t){this.__isScrolling!==t&&(this.__isScrolling=t,this.toggleClass("lenis-scrolling",t))}},{key:"isStopped",get:function(){return this.__isStopped},set:function(t){this.__isStopped!==t&&(this.__isStopped=t,this.toggleClass("lenis-stopped",t))}},{key:"isLocked",get:function(){return this.__isLocked},set:function(t){this.__isLocked!==t&&(this.__isLocked=t,this.toggleClass("lenis-locked",t))}},{key:"className",get:function(){var t="lenis";return this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isSmooth&&(t+=" lenis-smooth"),t}}]),i;function i(t){var r=this,t=void 0===t?{}:t,e=t.wrapper,e=void 0===e?window:e,i=t.content,i=void 0===i?document.documentElement:i,o=t.wheelEventsTarget,o=void 0===o?e:o,n=t.eventsTarget,n=void 0===n?o:n,s=t.smoothWheel,s=void 0===s||s,l=t.smoothTouch,l=void 0!==l&&l,h=t.syncTouch,h=void 0!==h&&h,a=t.syncTouchLerp,a=void 0===a?.1:a,c=t.__iosNoInertiaSyncTouchLerp,c=void 0===c?.4:c,u=t.touchInertiaMultiplier,u=void 0===u?35:u,p=t.duration,d=t.easing,d=void 0===d?function(t){return Math.min(1,1.001-Math.pow(2,-10*t))}:d,v=t.lerp,v=void 0===v?!p&&.1:v,m=t.infinite,m=void 0!==m&&m,f=t.orientation,f=void 0===f?"vertical":f,g=t.gestureOrientation,g=void 0===g?"vertical":g,S=t.touchMultiplier,S=void 0===S?1:S,y=t.wheelMultiplier,y=void 0===y?1:y,w=t.normalizeWheel,w=void 0!==w&&w,t=t.autoResize,t=void 0===t||t;this.onVirtualScroll=function(t){var e,i,o,n=t.deltaX,s=t.deltaY,t=t.event;t.ctrlKey||(e=t.type.includes("touch"),i=t.type.includes("wheel"),"both"===r.options.gestureOrientation&&0===n&&0===s)||"vertical"===r.options.gestureOrientation&&0===s||"horizontal"===r.options.gestureOrientation&&0===n||e&&"vertical"===r.options.gestureOrientation&&0===r.scroll&&!r.options.infinite&&s<=0||(o=(o=t.composedPath()).slice(0,o.indexOf(r.rootElement))).find(function(t){return(null==t.hasAttribute?void 0:t.hasAttribute("data-lenis-prevent"))||e&&(null==t.hasAttribute?void 0:t.hasAttribute("data-lenis-prevent-touch"))||i&&(null==t.hasAttribute?void 0:t.hasAttribute("data-lenis-prevent-wheel"))||(null==(t=t.classList)?void 0:t.contains("lenis"))})||(r.isStopped||r.isLocked?t.preventDefault():(r.isSmooth=(r.options.smoothTouch||r.options.syncTouch)&&e||r.options.smoothWheel&&i,r.isSmooth?(t.preventDefault(),o=s,"both"===r.options.gestureOrientation?o=Math.abs(s)>Math.abs(n)?s:n:"horizontal"===r.options.gestureOrientation&&(o=n),s=e&&r.options.syncTouch,(n=e&&"touchend"===t.type&&1<Math.abs(o))&&(o=r.velocity
3*r.options.touchInertiaMultiplier),r.scrollTo(r.targetScroll+o,T({programmatic:!1},s&&{lerp:n?r.syncTouchLerp:r.options.__iosNoInertiaSyncTouchLerp}))):(r.isScrolling=!1,r.animate.stop())))},this.onScroll=function(){var t;r.isScrolling||(t=r.animatedScroll,r.animatedScroll=r.targetScroll=r.actualScroll,r.velocity=0,r.direction=Math.sign(r.animatedScroll-t),r.emit())},window.lenisVersion="1.0.27",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:i,wheelEventsTarget:o,eventsTarget:n,smoothWheel:s,smoothTouch:l,syncTouch:h,syncTouchLerp:a,__iosNoInertiaSyncTouchLerp:c,touchInertiaMultiplier:u,duration:p,easing:d,lerp:v,infinite:m,gestureOrientation:g,orientation:f,touchMultiplier:S,wheelMultiplier:y,normalizeWheel:w,autoResize:t},this.animate=new b,this.emitter=new M,this.dimensions=new z({wrapper:e,content:i,autoResize:t}),this.toggleClass("lenis",!0),this.velocity=0,this.isLocked=!1,this.isStopped=!1,this.isSmooth=h||s||l,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll=new L(n,{touchMultiplier:S,wheelMultiplier:y,normalizeWheel:w}),this.virtualScroll.on("scroll",this.onVirtualScroll)}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.