Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ !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 t(e,t){for(var n=0;n=Math.abs(n)?t:n}function h(){var e,t,n,r;(_=m.core.globals().ScrollTrigger)&&_.core&&(e=_.core,t=e.bridge||{},n=e._scrollers,r=e._proxies,n.push.apply(n,O),r.push.apply(r,A),O=n,A=r,L=function(e,n){return t[e](n)})}function g(e){return(m=e||n())&&"undefined"!=typeof document&&document.body&&(y=window,b=(x=document).documentElement,w=x.body,E=[y,x,b,w],m.utils.clamp,k="onpointerenter"in w?"pointer":"mouse",S=Y.isTouch=y.matchMedia&&y.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in y||0=t,i=Math.abs(n)>=t;$&&(r||i)&&$(De,e,n,Ge,Ue),r&&(W&&0Math.abs(t)?"x":"y",Ve=!0),"y"!==Xe&&(Ge[2]+=e,De._vx.update(e,!0)),"x"!==Xe&&(Ue[2]+=t,De._vy.update(t,!0)),M?Oe=Oe||requestAnimationFrame(ve):ve()}function be(e){if(!me(e,1)){var t=(e=p(e,O)).clientX,r=e.clientY,i=t-De.x,o=r-De.y,s=De.isDragging;De.x=t,De.y=r,(s||Math.abs(De.startX-t)>=n||Math.abs(De.startY-r)>=n)&&(z&&(Ie=!0),s||(De.isDragging=!0),xe(i,o),s||R&&R(De))}}function we(e){if(!me(e,1)){s(re?l:je,T[1],be,!0);var t=De.isDragging&&(3=e)return n[o];return n[o-1]}for(o=n.length,e+=i;o--;)if(n[o]<=e)return n[o];return n[0]}:function(n,r,i){void 0===i&&(i=.001);var o=t(n);return!r||Math.abs(o-n)n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in Et?Et[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e}function pe(e,t,n,i,o,s,a,l){var c=o.startColor,u=o.endColor,f=o.fontSize,p=o.indent,d=o.fontWeight,h=Pe.createElement("div"),g=j(n)||"fixed"===r(n,"pinType"),m=-1!==e.indexOf("scroller"),v=g?Ae:n,y=-1!==e.indexOf("start"),x=y?c:u,b="border-color:"+x+";font-size:"+f+";color:"+x+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((m||l)&&g?"fixed;":"absolute;"),!m&&!l&&g||(b+=(i===D?ut:ft)+":"+(s+parseFloat(p))+"px;"),a&&(b+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),h._isStart=y,h.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),h.style.cssText=b,h.innerText=t||0===t?e+"-"+t:e,v.children[0]?v.insertBefore(h,v.children[0]):v.appendChild(h),h._offset=h["offset"+i.op.d2],Ct(h,0,i,y),h}function de(){return 34Ae.clientWidth)||(O.cache++,tt=tt||requestAnimationFrame(Dt),at||At("scrollStart"),at=ot())}function ge(){Je=Me.innerWidth,$e=Me.innerHeight}function me(){O.cache++,Ye||Ge||Pe.fullscreenElement||Pe.webkitFullscreenElement||Ze&&Je===Me.innerWidth&&!(Math.abs(Me.innerHeight-$e)>.25*Me.innerHeight)||Le.restart(!0)}function ve(){return ce(Wt,"scrollEnd",ve)||Bt(!0)}function ye(e){for(var t=0;t=f})},Lt.update=function(e,r,i){if(!$e||i||e){var o,c,u,p,d,g,m,y=Lt.scroll(),S=e?0:(y-l)/v,k=S<0?0:1=U(ut,tt),Ue)if(e||!o&&!g)_e(Ie,w);else{var A=St(Ie,!0),I=y-l;_e(Ie,Ae,A.top+(tt===D?I:0)+wt,A.left+(tt===D?0:I)+wt)}zt(o||g?x:b),C!==v&&k<1&&o||_(E+(1!==k||g?0:C))}}else _(H(E+C*k));!Ge||n.tween||Ye||it||N.restart(!0),de&&(d||We&&k&&(k<1||!et))&&Be(de.targets).forEach(function(e){return e.classList[o||We?"add":"remove"](de.className)}),!ue||st||e||ue(Lt),p&&!Ye?(st&&(m&&("complete"===u?t.pause().totalProgress(1):"reset"===u?t.restart(!0).pause():"restart"===u?t.restart(!0):t[u]()),ue&&ue(Lt)),!d&&et||(ye&&d&&te(Lt,ye),Pt[c]&&te(Lt,Pt[c]),We&&(1===k?Lt.kill(!1,1):Pt[c]=0),d||Pt[c=1===k?1:3]&&te(Lt,Pt[c])),Je&&!o&&Math.abs(Lt.getVelocity())>(K(Je)?Je:2500)&&(ee(Lt.callbackAnimation),V?V.progress(1):ee(t,"reverse"===u?1:!k,1))):st&&ue&&!Ye&&ue(Lt)}if(O){var X=$e?y/$e.duration()*($e._caScrollDist||0):y;P(X+(h._isFlipped?1:0)),O(X)}Z&&Z(-y/$e.duration()*($e._caScrollDist||0))}},Lt.enable=function(e,t){Lt.enabled||(Lt.enabled=!0,le(ut,"resize",me),le(Et?Pe:ut,"scroll",he),Bt&&le(qt,"refreshInit",Bt),!1!==e&&(Lt.progress=z=0,s=a=Yt=Nt()),!1!==t&&Lt.refresh())},Lt.getTween=function(e){return e&&n?n.tween:V},Lt.setPositions=function(e,t){Ie&&(E+=e-l,C+=t-e-v),Lt.start=l=e,Lt.end=f=t,v=t-e,Lt.update()},Lt.disable=function(e,t){if(Lt.enabled&&(!1!==e&&Lt.revert(!0,!0),Lt.enabled=Lt.isActive=!1,t||V&&V.pause(),W=0,i&&(i.uncache=1),Bt&&ce(qt,"refreshInit",Bt),N&&(N.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!Et)){for(var r=Tt.length;r--;)if(Tt[r].scroller===ut&&Tt[r]!==Lt)return;ce(ut,"resize",me),ce(ut,"scroll",he)}},Lt.kill=function(n,r){Lt.disable(n,r),V&&!r&&V.kill(),ge&&delete Mt[ge];var o=Tt.indexOf(Lt);0<=o&&Tt.splice(o,1),o===ze&&0s&&(S()>s?f.progress(1)&&S(s):f.resetTo("scrollY",s))}Q(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var o,s,a,l,f,p,d,h,g=e.normalizeScrollX,m=e.momentum,v=e.allowNestedScroll,y=c(e.target)||Oe,x=Ce.core.globals().ScrollSmoother,b=x&&x.get(),w=Ke&&(e.content&&c(e.content)||b&&!1!==e.content&&!b.smooth()&&b.content()),S=u(y,D),k=u(y,X),_=1,E=(Y.isTouch&&Me.visualViewport?Me.visualViewport.scale*Me.visualViewport.width:Me.outerWidth)/Me.innerWidth,C=0,T=J(m)?function(){return m(o)}:function(){return m||2.8},M=Zt(y,e.type,!0,v),P=F,A=F;return w&&Ce.set(w,{y:"+=0"}),e.ignoreCheck=function(e){return Ke&&"touchmove"===e.type&&function(){if(l){requestAnimationFrame(t);var e=H(o.deltaY/2),n=A(S.v-e);if(w&&n!==S.v+S.offset){S.offset=n-S.v;var i=H((parseFloat(w&&w._gsap.y)||0)-S.offset);w.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+i+", 0, 1)",w._gsap.y=i+"px",S.cacheID=O.cache,Dt()}return!0}S.offset&&r(),l=!0}()||1.05<_&&"touchstart"!==e.type||o.isGesturing||e.touches&&1=s||s-1<=n)&&Ce.to({},{onUpdate:i,duration:a})}else h.restart(!0)},e.onWheel=function(){f._ts&&f.pause(),1e3=s;e&&!d&&D(ie,!x),X&&O(t,X,e?"remove":"add")})},k&&(S=ie.filter(function(e){return!e.sd&&!e.a.isVisible&&e.b.isVisible}).map(function(e){return e.a.element})),J?(S&&(y=J._abs).push.apply(y,R(ie,S)),J._run.push(g)):(S&&N(R(ie,S)),g());var me=J?J.timeline:ee;return me.revert=function(){return be(me,1)},me}function U(e){for(var t,n=e.idLookup={},r=e.alt={},i=e.elementStates,o=i.length;o--;)n[(t=i[o]).id]?r[t.id]=t:n[t.id]=t}var Z,$,J,K,Q,ee,te,ne,re=1,ie={},oe=180/Math.PI,se=Math.PI/180,ae={},le={},ce={},ue=T("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),fe=T("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),pe={zIndex:1,kill:1,simple:1,spin:1,clearProps:1,targets:1,toggleClass:1,onComplete:1,onUpdate:1,onInterrupt:1,onStart:1,delay:1,repeat:1,repeatDelay:1,yoyo:1,scale:1,fade:1,absolute:1,props:1,onEnter:1,onLeave:1,custom:1,paused:1,nested:1,prune:1,absoluteOnLeave:1},de={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},he={},ge="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),me=function(e,t,n,r){return e instanceof _e?e:e instanceof we?function(e,t){return t&&e.idLookup[me(t).id]||e.elementStates[0]}(e,r):new _e("string"==typeof e?M(e)||console.warn(e+" not found"):e,t,n)},ve=function(e,t,n,r,i,o){var s,a,l,c,u,f,p,d=e.element,h=e.cache,g=e.parent,m=e.x,v=e.y,y=t.width,x=t.height,b=t.scaleX,w=t.scaleY,S=t.rotation,k=t.bounds,_=o&&d.style.cssText,C=o&&d.getBBox&&d.getAttribute("transform"),T=e,M=t.matrix,O=M.e,A=M.f,I=e.bounds.width!==k.width||e.bounds.height!==k.height||e.scaleX!==b||e.scaleY!==w||e.rotation!==S,L=!I&&e.simple&&t.simple&&!i;return L||!g?(b=w=1,S=s=0):(f=(u=function(e){var t=e._gsap||$.core.getCache(e);return t.gmCache===$.ticker.frame?t.gMatrix:(t.gmCache=$.ticker.frame,t.gMatrix=E(e,!0,!1,!0))}(g)).clone().multiply(t.ctm?t.matrix.clone().multiply(t.ctm):t.matrix),S=P(Math.atan2(f.b,f.a)*oe),s=P(Math.atan2(f.c,f.d)*oe+S)%360,b=Math.sqrt(Math.pow(f.a,2)+Math.pow(f.b,2)),w=Math.sqrt(Math.pow(f.c,2)+Math.pow(f.d,2))*Math.cos(s*se),i&&(i=Z(i)[0],c=$.getProperty(i),p=i.getBBox&&"function"==typeof i.getBBox&&i.getBBox(),T={scaleX:c("scaleX"),scaleY:c("scaleY"),width:p?p.width:Math.ceil(parseFloat(c("width","px"))),height:p?p.height:parseFloat(c("height","px"))}),h.rotation=S+"deg",h.skewX=s+"deg"),n?(b*=y!==T.width&&T.width?y/T.width:1,w*=x!==T.height&&T.height?x/T.height:1,h.scaleX=b,h.scaleY=w):(y=ee(y*b/T.scaleX,0),x=ee(x*w/T.scaleY,0),d.style.width=y+"px",d.style.height=x+"px"),r&&z(d,t.props),L||!g?(m+=O-e.matrix.e,v+=A-e.matrix.f):I||g!==t.parent?(h.renderTransform(1,h),f=E(i||d,!1,!1,!0),a=u.apply({x:f.e,y:f.f}),m+=(l=u.apply({x:O,y:A})).x-a.x,v+=l.y-a.y):(u.e=u.f=0,m+=(l=u.apply({x:O-e.matrix.e,y:A-e.matrix.f})).x,v+=l.y),m=ee(m,.02),v=ee(v,.02),!o||o instanceof _e?(h.x=m+"px",h.y=v+"px",h.renderTransform(1,h)):(d.style.cssText=_,d.getBBox&&d.setAttribute("transform",C||""),h.uncache=1),o&&(o.x=m,o.y=v,o.rotation=S,o.skewX=s,n?(o.scaleX=b,o.scaleY=w):(o.width=y,o.height=x)),o||h},ye=[],xe="width,height,overflowX,overflowY".split(","),be=function(e,t){if(e&&e.progress()<1&&!e.paused())return t&&(function e(t){t.vars.onInterrupt&&t.vars.onInterrupt.apply(t,t.vars.onInterruptParams||[]),t.getChildren(!0,!1,!0).forEach(e)}(e),t<2&&e.progress(1),e.kill()),!0},we=((ne=Se.prototype).update=function(e){var t=this;return this.elementStates=this.targets.map(function(e){return new _e(e,t.props,t.simple)}),U(this),this.interrupt(e),this.recordInlineStyles(),this},ne.clear=function(){return this.targets.length=this.elementStates.length=0,U(this),this},ne.fit=function(e,t,n){for(var r,i,o=B(this.elementStates.slice(0),!1,!0),s=(e||this).idLookup,a=0;a