Current File : /home/kelaby89/onlycnc.com.au/wp-content/themes/ondustry/assets/js/essential/editor.sticky.js
/*! For license information please see editor.sticky.js.LICENSE.txt */
(()=>{"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(e){var r=function(e){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==t(r)?r:r+""}function r(t,r,n){return(r=e(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function n(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,e(i.key),i)}}function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var o,a,u,l,c,f,h,p,d,g,m,_,v,y,w,b,x,T={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},k={duration:.5,overwrite:!1,delay:0},O=1e8,S=1e-8,M=2*Math.PI,C=M/4,P=0,E=Math.sqrt,A=Math.cos,D=Math.sin,R=function(t){return"string"==typeof t},z=function(t){return"function"==typeof t},F=function(t){return"number"==typeof t},B=function(t){return void 0===t},I=function(t){return"object"==typeof t},L=function(t){return!1!==t},Y=function(){return"undefined"!=typeof window},X=function(t){return z(t)||R(t)},N="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},U=Array.isArray,q=/(?:-?\.?\d|\.)+/gi,V=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,j=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,H=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,W=/[+-]=-?[.\d]+/,G=/[^,'"\[\]\s]+/gi,Q=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Z={},$={},K=function(t){return($=Mt(t,Z))&&Mr},J=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},tt=function(t,e){return!e&&console.warn(t)},et=function(t,e){return t&&(Z[t]=e)&&$&&($[t]=e)||Z},rt=function(){return 0},nt={suppressEvents:!0,isStart:!0,kill:!1},it={suppressEvents:!0,kill:!1},st={suppressEvents:!0},ot={},at=[],ut={},lt={},ct={},ft=30,ht=[],pt="",dt=function(t){var e,r,n=t[0];if(I(n)||z(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=ht.length;r--&&!ht[r].targetTest(n););e=ht[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Ne(t[r],e)))||t.splice(r,1);return t},gt=function(t){return t._gsap||dt(ie(t))[0]._gsap},mt=function(t,e,r){return(r=t[e])&&z(r)?t[e]():B(r)&&t.getAttribute&&t.getAttribute(e)||r},_t=function(t,e){return(t=t.split(",")).forEach(e)||t},vt=function(t){return Math.round(1e5*t)/1e5||0},yt=function(t){return Math.round(1e7*t)/1e7||0},wt=function(t,e){var r=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+n:"-"===r?t-n:"*"===r?t*n:t/n},bt=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++n<r;);return n<r},xt=function(){var t,e,r=at.length,n=at.slice(0);for(ut={},at.length=0,t=0;t<r;t++)(e=n[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},Tt=function(t,e,r,n){at.length&&!a&&xt(),t.render(e,r,n||a&&e<0&&(t._initted||t._startAt)),at.length&&!a&&xt()},kt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(G).length<2?e:R(t)?t.trim():t},Ot=function(t){return t},St=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},Mt=function(t,e){for(var r in e)t[r]=e[r];return t},Ct=function t(e,r){for(var n in r)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(e[n]=I(r[n])?t(e[n]||(e[n]={}),r[n]):r[n]);return e},Pt=function(t,e){var r,n={};for(r in t)r in e||(n[r]=t[r]);return n},Et=function(t){var e,r=t.parent||l,n=t.keyframes?(e=U(t.keyframes),function(t,r){for(var n in r)n in t||"duration"===n&&e||"ease"===n||(t[n]=r[n])}):St;if(L(t.inherit))for(;r;)n(t,r.vars.defaults),r=r.parent||r._dp;return t},At=function(t,e,r,n,i){void 0===r&&(r="_first"),void 0===n&&(n="_last");var s,o=t[n];if(i)for(s=e[i];o&&o[i]>s;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=o,e.parent=e._dp=t,e},Dt=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,s=e._next;i?i._next=s:t[r]===e&&(t[r]=s),s?s._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},Rt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},zt=function(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},Ft=function(t,e,r,n){return t._startAt&&(a?t._startAt.revert(it):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Bt=function t(e){return!e||e._ts&&t(e.parent)},It=function(t){return t._repeat?Lt(t._tTime,t=t.duration()+t._rDelay)*t:0},Lt=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},Yt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Xt=function(t){return t._end=yt(t._start+(t._tDur/Math.abs(t._ts||t._rts||S)||0))},Nt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=yt(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Xt(t),r._dirty||zt(r,t)),t},Ut=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Yt(t.rawTime(),e),(!e._dur||te(0,e.totalDuration(),r)-e._tTime>S)&&e.render(r,!0)),zt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},qt=function(t,e,r,n){return e.parent&&Rt(e),e._start=yt((F(r)?r:r||t!==l?$t(t,r,e):t._time)+e._delay),e._end=yt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),At(t,e,"_first","_last",t._sort?"_start":0),Wt(e)||(t._recent=e),n||Ut(t,e),t._ts<0&&Nt(t,t._tTime),t},Vt=function(t,e){return(Z.ScrollTrigger||J("scrollTrigger",e))&&Z.ScrollTrigger.create(e,t)},jt=function(t,e,r,n,i){return Qe(t,e,i),t._initted?!r&&t._pt&&!a&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&d!==Ce.frame?(at.push(t),t._lazy=[i,n],1):void 0:1},Ht=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},Wt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Gt=function(t,e,r,n){var i=t._repeat,s=yt(e)||0,o=t._tTime/t._tDur;return o&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:yt(s*(i+1)+t._rDelay*i):s,o>0&&!n&&Nt(t,t._tTime=t._tDur*o),t.parent&&Xt(t),r||zt(t.parent,t),t},Qt=function(t){return t instanceof qe?zt(t):Gt(t,t._dur)},Zt={_start:0,endTime:rt,totalDuration:rt},$t=function t(e,r,n){var i,s,o,a=e.labels,u=e._recent||Zt,l=e.duration()>=O?u.endTime(!1):e._dur;return R(r)&&(isNaN(r)||r in a)?(s=r.charAt(0),o="%"===r.substr(-1),i=r.indexOf("="),"<"===s||">"===s?(i>=0&&(r=r.replace(/=/,"")),("<"===s?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(o?(i<0?u:n).totalDuration()/100:1)):i<0?(r in a||(a[r]=l),a[r]):(s=parseFloat(r.charAt(i-1)+r.substr(i+1)),o&&n&&(s=s/100*(U(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+s:l+s)):null==r?l:+r},Kt=function(t,e,r){var n,i,s=F(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=r,t){for(n=a,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=L(i.vars.inherit)&&i.parent;a.immediateRender=L(n.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new tr(e[0],a,e[o+1])},Jt=function(t,e){return t||0===t?e(t):e},te=function(t,e,r){return r<t?t:r>e?e:r},ee=function(t,e){return R(t)&&(e=Q.exec(t))?e[1]:""},re=[].slice,ne=function(t,e){return t&&I(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&I(t[0]))&&!t.nodeType&&t!==c},ie=function(t,e,r){return u&&!e&&u.selector?u.selector(t):!R(t)||r||!f&&Pe()?U(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var n;return R(t)&&!e||ne(t,1)?(n=r).push.apply(n,ie(t)):r.push(t)}))||r}(t,r):ne(t)?re.call(t,0):t?[t]:[]:re.call((e||h).querySelectorAll(t),0)},se=function(t){return t=ie(t)[0]||tt("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return ie(e,r.querySelectorAll?r:r===t?tt("Invalid scope")||h.createElement("div"):t)}},oe=function(t){return t.sort((function(){return.5-Math.random()}))},ae=function(t){if(z(t))return t;var e=I(t)?t:{each:t},r=Be(e.ease),n=e.from||0,i=parseFloat(e.base)||0,s={},o=n>0&&n<1,a=isNaN(n)||o,u=e.axis,l=n,c=n;return R(n)?l=c={center:.5,edges:.5,end:1}[n]||0:!o&&a&&(l=n[0],c=n[1]),function(t,o,f){var h,p,d,g,m,_,v,y,w,b=(f||e).length,x=s[b];if(!x){if(!(w="auto"===e.grid?0:(e.grid||[1,O])[1])){for(v=-O;v<(v=f[w++].getBoundingClientRect().left)&&w<b;);w<b&&w--}for(x=s[b]=[],h=a?Math.min(w,b)*l-.5:n%w,p=w===O?0:a?b*c/w-.5:n/w|0,v=0,y=O,_=0;_<b;_++)d=_%w-h,g=p-(_/w|0),x[_]=m=u?Math.abs("y"===u?g:d):E(d*d+g*g),m>v&&(v=m),m<y&&(y=m);"random"===n&&oe(x),x.max=v-y,x.min=y,x.v=b=(parseFloat(e.amount)||parseFloat(e.each)*(w>b?b-1:u?"y"===u?b/w:w:Math.max(w,b/w))||0)*("edges"===n?-1:1),x.b=b<0?i-b:i,x.u=ee(e.amount||e.each)||0,r=r&&b<0?ze(r):r}return b=(x[t]-x.min)/x.max||0,yt(x.b+(r?r(b):b)*x.v)+x.u}},ue=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=yt(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(F(r)?0:ee(r))}},le=function(t,e){var r,n,i=U(t);return!i&&I(t)&&(r=i=t.radius||O,t.values?(t=ie(t.values),(n=!F(t[0]))&&(r*=r)):t=ue(t.increment)),Jt(e,i?z(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,s,o=parseFloat(n?e.x:e),a=parseFloat(n?e.y:0),u=O,l=0,c=t.length;c--;)(i=n?(i=t[c].x-o)*i+(s=t[c].y-a)*s:Math.abs(t[c]-o))<u&&(u=i,l=c);return l=!r||u<=r?t[l]:e,n||l===e||F(e)?l:l+ee(e)}:ue(t))},ce=function(t,e,r,n){return Jt(U(t)?!e:!0===r?!!(r=0):!n,(function(){return U(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*n)/n}))},fe=function(t,e,r){return Jt(r,(function(r){return t[~~e(r)]}))},he=function(t){for(var e,r,n,i,s=0,o="";~(e=t.indexOf("random(",s));)n=t.indexOf(")",e),i="["===t.charAt(e+7),r=t.substr(e+7,n-e-7).match(i?G:q),o+=t.substr(s,e-s)+ce(i?r:+r[0],i?0:+r[1],+r[2]||1e-5),s=n+1;return o+t.substr(s,t.length-s)},pe=function(t,e,r,n,i){var s=e-t,o=n-r;return Jt(i,(function(e){return r+((e-t)/s*o||0)}))},de=function(t,e,r){var n,i,s,o=t.labels,a=O;for(n in o)(i=o[n]-e)<0==!!r&&i&&a>(i=Math.abs(i))&&(s=n,a=i);return s},ge=function(t,e,r){var n,i,s,o=t.vars,a=o[e],l=u,c=t._ctx;if(a)return n=o[e+"Params"],i=o.callbackScope||t,r&&at.length&&xt(),c&&(u=c),s=n?a.apply(i,n):a.call(i),u=l,s},me=function(t){return Rt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!a),t.progress()<1&&ge(t,"onInterrupt"),t},_e=[],ve=function(t){if(t)if(t=!t.name&&t.default||t,Y()||t.headless){var e=t.name,r=z(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:rt,render:lr,add:We,kill:fr,modifier:cr,rawVars:0},s={targetTest:0,get:0,getSetter:sr,aliases:{},register:0};if(Pe(),t!==n){if(lt[e])return;St(n,St(Pt(t,i),s)),Mt(n.prototype,Mt(i,Pt(t,s))),lt[n.prop=e]=n,t.targetTest&&(ht.push(n),ot[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}et(e,n),t.register&&t.register(Mr,n,dr)}else _e.push(t)},ye=255,we={aqua:[0,ye,ye],lime:[0,ye,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ye],navy:[0,0,128],white:[ye,ye,ye],olive:[128,128,0],yellow:[ye,ye,0],orange:[ye,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ye,0,0],pink:[ye,192,203],cyan:[0,ye,ye],transparent:[ye,ye,ye,0]},be=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*ye+.5|0},xe=function(t,e,r){var n,i,s,o,a,u,l,c,f,h,p=t?F(t)?[t>>16,t>>8&ye,t&ye]:0:we.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),we[t])p=we[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t="#"+n+n+i+i+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&ye,p&ye,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&ye,t&ye]}else if("hsl"===t.substr(0,3))if(p=h=t.match(q),e){if(~t.indexOf("="))return p=t.match(V),r&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,a=+p[1]/100,n=2*(u=+p[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),p.length>3&&(p[3]*=1),p[0]=be(o+1/3,n,i),p[1]=be(o,n,i),p[2]=be(o-1/3,n,i);else p=t.match(q)||we.transparent;p=p.map(Number)}return e&&!h&&(n=p[0]/ye,i=p[1]/ye,s=p[2]/ye,u=((l=Math.max(n,i,s))+(c=Math.min(n,i,s)))/2,l===c?o=a=0:(f=l-c,a=u>.5?f/(2-l-c):f/(l+c),o=l===n?(i-s)/f+(i<s?6:0):l===i?(s-n)/f+2:(n-i)/f+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*a+.5),p[2]=~~(100*u+.5)),r&&p.length<4&&(p[3]=1),p},Te=function(t){var e=[],r=[],n=-1;return t.split(Oe).forEach((function(t){var i=t.match(j)||[];e.push.apply(e,i),r.push(n+=i.length+1)})),e.c=r,e},ke=function(t,e,r){var n,i,s,o,a="",u=(t+a).match(Oe),l=e?"hsla(":"rgba(",c=0;if(!u)return t;if(u=u.map((function(t){return(t=xe(t,e,1))&&l+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),r&&(s=Te(t),(n=r.c).join(a)!==s.c.join(a)))for(o=(i=t.replace(Oe,"1").split(j)).length-1;c<o;c++)a+=i[c]+(~n.indexOf(c)?u.shift()||l+"0,0,0,0)":(s.length?s:u.length?u:r).shift());if(!i)for(o=(i=t.split(Oe)).length-1;c<o;c++)a+=i[c]+u[c];return a+i[o]},Oe=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in we)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Se=/hsl[a]?\(/,Me=function(t){var e,r=t.join(" ");if(Oe.lastIndex=0,Oe.test(r))return e=Se.test(r),t[1]=ke(t[1],e),t[0]=ke(t[0],e,Te(t[1])),!0},Ce=function(){var t,e,r,n,i,s,o=Date.now,a=500,u=33,l=o(),d=l,g=1e3/240,_=g,v=[],y=function r(c){var f,h,p,m,y=o()-d,w=!0===c;if((y>a||y<0)&&(l+=y-u),((f=(p=(d+=y)-l)-_)>0||w)&&(m=++n.frame,i=p-1e3*n.time,n.time=p/=1e3,_+=f+(f>=g?4:g-f),h=1),w||(t=e(r)),h)for(s=0;s<v.length;s++)v[s](p,i,m,c)};return n={time:0,frame:0,tick:function(){y(!0)},deltaRatio:function(t){return i/(1e3/(t||60))},wake:function(){p&&(!f&&Y()&&(c=f=window,h=c.document||{},Z.gsap=Mr,(c.gsapVersions||(c.gsapVersions=[])).push(Mr.version),K($||c.GreenSockGlobals||!c.gsap&&c||{}),_e.forEach(ve)),r="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,t&&n.sleep(),e=r||function(t){return setTimeout(t,_-1e3*n.time+1|0)},m=1,y(2))},sleep:function(){(r?cancelAnimationFrame:clearTimeout)(t),m=0,e=rt},lagSmoothing:function(t,e){a=t||1/0,u=Math.min(e||33,a)},fps:function(t){g=1e3/(t||240),_=1e3*n.time+g},add:function(t,e,r){var i=e?function(e,r,s,o){t(e,r,s,o),n.remove(i)}:t;return n.remove(t),v[r?"unshift":"push"](i),Pe(),i},remove:function(t,e){~(e=v.indexOf(t))&&v.splice(e,1)&&s>=e&&s--},_listeners:v}}(),Pe=function(){return!m&&Ce.wake()},Ee={},Ae=/^[\d.\-M][\d.\-,\s]/,De=/["']/g,Re=function(t){for(var e,r,n,i={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,u=s.length;a<u;a++)r=s[a],e=a!==u-1?r.lastIndexOf(","):r.length,n=r.substr(0,e),i[o]=isNaN(n)?n.replace(De,"").trim():+n,o=r.substr(e+1).trim();return i},ze=function(t){return function(e){return 1-t(1-e)}},Fe=function t(e,r){for(var n,i=e._first;i;)i instanceof qe?t(i,r):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===r||(i.timeline?t(i.timeline,r):(n=i._ease,i._ease=i._yEase,i._yEase=n,i._yoyo=r)),i=i._next},Be=function(t,e){return t&&(z(t)?t:Ee[t]||function(t){var e,r,n,i,s=(t+"").split("("),o=Ee[s[0]];return o&&s.length>1&&o.config?o.config.apply(null,~t.indexOf("{")?[Re(s[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r),e.substring(r,~i&&i<n?e.indexOf(")",n+1):n)).split(",").map(kt)):Ee._CE&&Ae.test(t)?Ee._CE("",t):o}(t))||e},Ie=function(t,e,r,n){void 0===r&&(r=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var i,s={easeIn:e,easeOut:r,easeInOut:n};return _t(t,(function(t){for(var e in Ee[t]=Z[t]=s,Ee[i=t.toLowerCase()]=r,s)Ee[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Ee[t+"."+e]=s[e]})),s},Le=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},Ye=function t(e,r,n){var i=r>=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),o=s/M*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*D((t-o)*s)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Le(a);return s=M/s,u.config=function(r,n){return t(e,r,n)},u},Xe=function t(e,r){void 0===r&&(r=1.70158);var n=function(t){return t?--t*t*((r+1)*t+r)+1:0},i="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:Le(n);return i.config=function(r){return t(e,r)},i};_t("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;Ie(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}))})),Ee.Linear.easeNone=Ee.none=Ee.Linear.easeIn,Ie("Elastic",Ye("in"),Ye("out"),Ye()),_=7.5625,w=2*(y=1/(v=2.75)),b=2.5*y,Ie("Bounce",(function(t){return 1-x(1-t)}),x=function(t){return t<y?_*t*t:t<w?_*Math.pow(t-1.5/v,2)+.75:t<b?_*(t-=2.25/v)*t+.9375:_*Math.pow(t-2.625/v,2)+.984375}),Ie("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),Ie("Circ",(function(t){return-(E(1-t*t)-1)})),Ie("Sine",(function(t){return 1===t?1:1-A(t*C)})),Ie("Back",Xe("in"),Xe("out"),Xe()),Ee.SteppedEase=Ee.steps=Z.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,n=t+(e?0:1),i=e?1:0;return function(t){return((n*te(0,.99999999,t)|0)+i)*r}}},k.ease=Ee["quad.out"],_t("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return pt+=t+","+t+"Params,"}));var Ne=function(t,e){this.id=P++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:mt,this.set=e?e.getSetter:sr},Ue=function(){function t(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,Gt(this,+t.duration,1,1),this.data=t.data,u&&(this._ctx=u,u.data.push(this)),m||Ce.wake()}var e=t.prototype;return e.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(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Gt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Pe(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Nt(this,t),!r._dp||r.parent||Ut(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&qt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===S||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Tt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+It(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.rawTime()>0?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+It(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Lt(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Yt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(te(-Math.abs(this._delay),this._tDur,r),!1!==e),Xt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Pe(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==S&&(this._tTime-=S)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&qt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(L(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?Yt(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=st);var e=a;return a=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),a=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Qt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Qt(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime($t(this,t),L(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,L(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?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-S))},e.eventCallback=function(t,e,r){var n=this.vars;return arguments.length>1?(e?(n[t]=e,r&&(n[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this;return new Promise((function(r){var n=z(t)?t:Ot,i=function(){var t=e.then;e.then=null,z(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),r(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){me(this)},t}();St(Ue.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:-1e-8,_prom:0,_ps:!1,_rts:1});var qe=function(t){function e(e,r){var n;return void 0===e&&(e={}),(n=t.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=L(e.sortChildren),l&&qt(e.parent||l,i(n),r),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&Vt(i(n),e.scrollTrigger),n}s(e,t);var r=e.prototype;return r.to=function(t,e,r){return Kt(0,arguments,this),this},r.from=function(t,e,r){return Kt(1,arguments,this),this},r.fromTo=function(t,e,r,n){return Kt(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,Et(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new tr(t,e,$t(this,r),1),this},r.call=function(t,e,r){return qt(this,tr.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,n,i,s,o){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=s,r.onCompleteParams=o,r.parent=this,new tr(t,r,$t(this,i)),this},r.staggerFrom=function(t,e,r,n,i,s,o){return r.runBackwards=1,Et(r).immediateRender=L(r.immediateRender),this.staggerTo(t,e,r,n,i,s,o)},r.staggerFromTo=function(t,e,r,n,i,s,o,a){return n.startAt=r,Et(n).immediateRender=L(n.immediateRender),this.staggerTo(t,e,n,i,s,o,a)},r.render=function(t,e,r){var n,i,s,o,u,c,f,h,p,d,g,m,_=this._time,v=this._dirty?this.totalDuration():this._tDur,y=this._dur,w=t<=0?0:yt(t),b=this._zTime<0!=t<0&&(this._initted||!y);if(this!==l&&w>v&&t>=0&&(w=v),w!==this._tTime||r||b){if(_!==this._time&&y&&(w+=this._time-_,t+=this._time-_),n=w,p=this._start,c=!(h=this._ts),b&&(y||(_=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(g=this._yoyo,u=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*u+t,e,r);if(n=yt(w%u),w===v?(o=this._repeat,n=y):((o=~~(w/u))&&o===w/u&&(n=y,o--),n>y&&(n=y)),d=Lt(this._tTime,u),!_&&this._tTime&&d!==o&&this._tTime-d*u-this._dur<=0&&(d=o),g&&1&o&&(n=y-n,m=1),o!==d&&!this._lock){var x=g&&1&d,T=x===(g&&1&o);if(o<d&&(x=!x),_=x?0:w%y?y:w,this._lock=1,this.render(_||(m?0:yt(o*u)),e,!y)._lock=0,this._tTime=w,!e&&this.parent&&ge(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1),_&&_!==this._time||c!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(y=this._dur,v=this._tDur,T&&(this._lock=2,_=x?y:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!c)return this;Fe(this,m)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(f=function(t,e,r){var n;if(r>e)for(n=t._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=r;){if("isPause"===n.data&&n._start<e)return n;n=n._prev}}(this,yt(_),yt(n)),f&&(w-=n-(n=f._start))),this._tTime=w,this._time=n,this._act=!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&n&&!e&&!o&&(ge(this,"onStart"),this._tTime!==w))return this;if(n>=_&&t>=0)for(i=this._first;i;){if(s=i._next,(i._act||n>=i._start)&&i._ts&&f!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(n-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(n-i._start)*i._ts,e,r),n!==this._time||!this._ts&&!c){f=0,s&&(w+=this._zTime=-1e-8);break}}i=s}else{i=this._last;for(var k=t<0?t:n;i;){if(s=i._prev,(i._act||k<=i._end)&&i._ts&&f!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(k-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(k-i._start)*i._ts,e,r||a&&(i._initted||i._startAt)),n!==this._time||!this._ts&&!c){f=0,s&&(w+=this._zTime=k?-1e-8:S);break}}i=s}}if(f&&!e&&(this.pause(),f.render(n>=_?0:-1e-8)._zTime=n>=_?1:-1,this._ts))return this._start=p,Xt(this),this.render(t,e,r);this._onUpdate&&!e&&ge(this,"onUpdate",!0),(w===v&&this._tTime>=this.totalDuration()||!w&&_)&&(p!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||((t||!y)&&(w===v&&this._ts>0||!w&&this._ts<0)&&Rt(this,1),e||t<0&&!_||!w&&!_&&v||(ge(this,w===v&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(w<v&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(F(e)||(e=$t(this,e,t)),!(t instanceof Ue)){if(U(t))return t.forEach((function(t){return r.add(t,e)})),this;if(R(t))return this.addLabel(t,e);if(!z(t))return this;t=tr.delayedCall(0,t)}return this!==t?qt(this,t,e):this},r.getChildren=function(t,e,r,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===n&&(n=-O);for(var i=[],s=this._first;s;)s._start>=n&&(s instanceof tr?e&&i.push(s):(r&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,r)))),s=s._next;return i},r.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},r.remove=function(t){return R(t)?this.removeLabel(t):z(t)?this.killTweensOf(t):(Dt(this,t),t===this._recent&&(this._recent=this._last),zt(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=yt(Ce.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},r.addLabel=function(t,e){return this.labels[t]=$t(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var n=tr.delayedCall(0,e||rt,r);return n.data="isPause",this._hasPause=1,qt(this,n,$t(this,t))},r.removePause=function(t){var e=this._first;for(t=$t(this,t);e;)e._start===t&&"isPause"===e.data&&Rt(e),e=e._next},r.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)Ve!==n[i]&&n[i].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,n=[],i=ie(t),s=this._first,o=F(e);s;)s instanceof tr?bt(s._targets,i)&&(o?(!Ve||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&n.push(s):(r=s.getTweensOf(i,e)).length&&n.push.apply(n,r),s=s._next;return n},r.tweenTo=function(t,e){e=e||{};var r,n=this,i=$t(n,t),s=e,o=s.startAt,a=s.onStart,u=s.onStartParams,l=s.immediateRender,c=tr.to(n,St({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(o&&"time"in o?o.time:n._time))/n.timeScale())||S,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(o&&"time"in o?o.time:n._time))/n.timeScale());c._dur!==t&&Gt(c,t,0,1).render(c._time,!0,!0),r=1}a&&a.apply(c,u||[])}},e));return l?c.render(0):c},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,St({startAt:{time:$t(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),de(this,$t(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),de(this,$t(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+S)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var n,i=this._first,s=this.labels;i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in s)s[n]>=r&&(s[n]+=t);return zt(this)},r.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},r.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={}),zt(this)},r.totalDuration=function(t){var e,r,n,i=0,s=this,o=s._last,a=O;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(n=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(r=o._start)>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,qt(s,o,r-o._delay,1)._lock=0):a=r,r<0&&o._ts&&(i-=r,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-Infinity),a=0),o._end>i&&o._ts&&(i=o._end),o=e;Gt(s,s===l&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(l._ts&&(Tt(l,Yt(t,l)),d=Ce.frame),Ce.frame>=ft){ft+=T.autoSleep||120;var e=l._first;if((!e||!e._ts)&&T.autoSleep&&Ce._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Ce.sleep()}}},e}(Ue);St(qe.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ve,je,He=function(t,e,r,n,i,s,o){var a,u,l,c,f,h,p,d,g=new dr(this._pt,t,e,0,1,ur,null,i),m=0,_=0;for(g.b=r,g.e=n,r+="",(p=~(n+="").indexOf("random("))&&(n=he(n)),s&&(s(d=[r,n],t,e),r=d[0],n=d[1]),u=r.match(H)||[];a=H.exec(n);)c=a[0],f=n.substring(m,a.index),l?l=(l+1)%5:"rgba("===f.substr(-5)&&(l=1),c!==u[_++]&&(h=parseFloat(u[_-1])||0,g._pt={_next:g._pt,p:f||1===_?f:",",s:h,c:"="===c.charAt(1)?wt(h,c)-h:parseFloat(c)-h,m:l&&l<4?Math.round:0},m=H.lastIndex);return g.c=m<n.length?n.substring(m,n.length):"",g.fp=o,(W.test(n)||p)&&(g.e=0),this._pt=g,g},We=function(t,e,r,n,i,s,o,a,u,l){z(n)&&(n=n(i||0,t,s));var c,f=t[e],h="get"!==r?r:z(f)?u?t[e.indexOf("set")||!z(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():f,p=z(f)?u?nr:rr:er;if(R(n)&&(~n.indexOf("random(")&&(n=he(n)),"="===n.charAt(1)&&((c=wt(h,n)+(ee(h)||0))||0===c)&&(n=c)),!l||h!==n||je)return isNaN(h*n)||""===n?(!f&&!(e in t)&&J(e,n),He.call(this,t,e,h,n,p,a||T.stringFilter,u)):(c=new dr(this._pt,t,e,+h||0,n-(h||0),"boolean"==typeof f?ar:or,0,p),u&&(c.fp=u),o&&c.modifier(o,this,t),this._pt=c)},Ge=function(t,e,r,n,i,s){var o,a,u,l;if(lt[t]&&!1!==(o=new lt[t]).init(i,o.rawVars?e[t]:function(t,e,r,n,i){if(z(t)&&(t=$e(t,i,e,r,n)),!I(t)||t.style&&t.nodeType||U(t)||N(t))return R(t)?$e(t,i,e,r,n):t;var s,o={};for(s in t)o[s]=$e(t[s],i,e,r,n);return o}(e[t],n,i,s,r),r,n,s)&&(r._pt=a=new dr(r._pt,i,t,0,1,o.render,o,0,o.priority),r!==g))for(u=r._ptLookup[r._targets.indexOf(i)],l=o._props.length;l--;)u[o._props[l]]=a;return o},Qe=function t(e,r,n){var i,s,u,c,f,h,p,d,g,m,_,v,y,w=e.vars,b=w.ease,x=w.startAt,T=w.immediateRender,M=w.lazy,C=w.onUpdate,P=w.runBackwards,E=w.yoyoEase,A=w.keyframes,D=w.autoRevert,R=e._dur,z=e._startAt,F=e._targets,B=e.parent,I=B&&"nested"===B.data?B.vars.targets:F,Y="auto"===e._overwrite&&!o,X=e.timeline;if(X&&(!A||!b)&&(b="none"),e._ease=Be(b,k.ease),e._yEase=E?ze(Be(!0===E?b:E,k.ease)):0,E&&e._yoyo&&!e._repeat&&(E=e._yEase,e._yEase=e._ease,e._ease=E),e._from=!X&&!!w.runBackwards,!X||A&&!w.stagger){if(v=(d=F[0]?gt(F[0]).harness:0)&&w[d.prop],i=Pt(w,ot),z&&(z._zTime<0&&z.progress(1),r<0&&P&&T&&!D?z.render(-1,!0):z.revert(P&&R?it:nt),z._lazy=0),x){if(Rt(e._startAt=tr.set(F,St({data:"isStart",overwrite:!1,parent:B,immediateRender:!0,lazy:!z&&L(M),startAt:null,delay:0,onUpdate:C&&function(){return ge(e,"onUpdate")},stagger:0},x))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(a||!T&&!D)&&e._startAt.revert(it),T&&R&&r<=0&&n<=0)return void(r&&(e._zTime=r))}else if(P&&R&&!z)if(r&&(T=!1),u=St({overwrite:!1,data:"isFromStart",lazy:T&&!z&&L(M),immediateRender:T,stagger:0,parent:B},i),v&&(u[d.prop]=v),Rt(e._startAt=tr.set(F,u)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(a?e._startAt.revert(it):e._startAt.render(-1,!0)),e._zTime=r,T){if(!r)return}else t(e._startAt,S,S);for(e._pt=e._ptCache=0,M=R&&L(M)||M&&!R,s=0;s<F.length;s++){if(p=(f=F[s])._gsap||dt(F)[s]._gsap,e._ptLookup[s]=m={},ut[p.id]&&at.length&&xt(),_=I===F?s:I.indexOf(f),d&&!1!==(g=new d).init(f,v||i,e,_,I)&&(e._pt=c=new dr(e._pt,f,g.name,0,1,g.render,g,0,g.priority),g._props.forEach((function(t){m[t]=c})),g.priority&&(h=1)),!d||v)for(u in i)lt[u]&&(g=Ge(u,i,e,_,f,I))?g.priority&&(h=1):m[u]=c=We.call(e,f,u,"get",i[u],_,I,0,w.stringFilter);e._op&&e._op[s]&&e.kill(f,e._op[s]),Y&&e._pt&&(Ve=e,l.killTweensOf(f,m,e.globalTime(r)),y=!e.parent,Ve=0),e._pt&&M&&(ut[p.id]=1)}h&&pr(e),e._onInit&&e._onInit(e)}e._onUpdate=C,e._initted=(!e._op||e._pt)&&!y,A&&r<=0&&X.render(O,!0,!0)},Ze=function(t,e,r,n){var i,s,o=e.ease||n||"power1.inOut";if(U(e))s=r[t]||(r[t]=[]),e.forEach((function(t,r){return s.push({t:r/(e.length-1)*100,v:t,e:o})}));else for(i in e)s=r[i]||(r[i]=[]),"ease"===i||s.push({t:parseFloat(t),v:e[i],e:o})},$e=function(t,e,r,n,i){return z(t)?t.call(e,r,n,i):R(t)&&~t.indexOf("random(")?he(t):t},Ke=pt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Je={};_t(Ke+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return Je[t]=1}));var tr=function(t){function e(e,r,n,s){var a;"number"==typeof r&&(n.duration=r,r=n,n=null);var u,c,f,h,p,d,g,m,_=(a=t.call(this,s?r:Et(r))||this).vars,v=_.duration,y=_.delay,w=_.immediateRender,b=_.stagger,x=_.overwrite,k=_.keyframes,O=_.defaults,S=_.scrollTrigger,M=_.yoyoEase,C=r.parent||l,P=(U(e)||N(e)?F(e[0]):"length"in r)?[e]:ie(e);if(a._targets=P.length?dt(P):tt("GSAP target "+e+" not found. https://gsap.com",!T.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=x,k||b||X(v)||X(y)){if(r=a.vars,(u=a.timeline=new qe({data:"nested",defaults:O||{},targets:C&&"nested"===C.data?C.vars.targets:P})).kill(),u.parent=u._dp=i(a),u._start=0,b||X(v)||X(y)){if(h=P.length,g=b&&ae(b),I(b))for(p in b)~Ke.indexOf(p)&&(m||(m={}),m[p]=b[p]);for(c=0;c<h;c++)(f=Pt(r,Je)).stagger=0,M&&(f.yoyoEase=M),m&&Mt(f,m),d=P[c],f.duration=+$e(v,i(a),c,d,P),f.delay=(+$e(y,i(a),c,d,P)||0)-a._delay,!b&&1===h&&f.delay&&(a._delay=y=f.delay,a._start+=y,f.delay=0),u.to(d,f,g?g(c,d,P):0),u._ease=Ee.none;u.duration()?v=y=0:a.timeline=0}else if(k){Et(St(u.vars.defaults,{ease:"none"})),u._ease=Be(k.ease||r.ease||"none");var E,A,D,R=0;if(U(k))k.forEach((function(t){return u.to(P,t,">")})),u.duration();else{for(p in f={},k)"ease"===p||"easeEach"===p||Ze(p,k[p],f,k.easeEach);for(p in f)for(E=f[p].sort((function(t,e){return t.t-e.t})),R=0,c=0;c<E.length;c++)(D={ease:(A=E[c]).e,duration:(A.t-(c?E[c-1].t:0))/100*v})[p]=A.v,u.to(P,D,R),R+=D.duration;u.duration()<v&&u.to({},{duration:v-u.duration()})}}v||a.duration(v=u.duration())}else a.timeline=0;return!0!==x||o||(Ve=i(a),l.killTweensOf(P),Ve=0),qt(C,i(a),n),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(w||!v&&!k&&a._start===yt(C._time)&&L(w)&&Bt(i(a))&&"nested"!==C.data)&&(a._tTime=-1e-8,a.render(Math.max(0,-y)||0)),S&&Vt(i(a),S),a}s(e,t);var r=e.prototype;return r.render=function(t,e,r){var n,i,s,o,u,l,c,f,h,p=this._time,d=this._tDur,g=this._dur,m=t<0,_=t>d-S&&!m?d:t<S?0:t;if(g){if(_!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m){if(n=_,f=this.timeline,this._repeat){if(o=g+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*o+t,e,r);if(n=yt(_%o),_===d?(s=this._repeat,n=g):((s=~~(_/o))&&s===yt(_/o)&&(n=g,s--),n>g&&(n=g)),(l=this._yoyo&&1&s)&&(h=this._yEase,n=g-n),u=Lt(this._tTime,o),n===p&&!r&&this._initted&&s===u)return this._tTime=_,this;s!==u&&(f&&this._yEase&&Fe(f,l),this.vars.repeatRefresh&&!l&&!this._lock&&this._time!==o&&this._initted&&(this._lock=r=1,this.render(yt(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(jt(this,m?t:n,r,e,_))return this._tTime=0,this;if(!(p===this._time||r&&this.vars.repeatRefresh&&s!==u))return this;if(g!==this._dur)return this.render(t,e,r)}if(this._tTime=_,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(n/g),this._from&&(this.ratio=c=1-c),n&&!p&&!e&&!s&&(ge(this,"onStart"),this._tTime!==_))return this;for(i=this._pt;i;)i.r(c,i.d),i=i._next;f&&f.render(t<0?t:f._dur*f._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&Ft(this,t,0,r),ge(this,"onUpdate")),this._repeat&&s!==u&&this.vars.onRepeat&&!e&&this.parent&&ge(this,"onRepeat"),_!==this._tDur&&_||this._tTime!==_||(m&&!this._onUpdate&&Ft(this,t,0,!0),(t||!g)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&Rt(this,1),e||m&&!p||!(_||p||l)||(ge(this,_===d?"onComplete":"onReverseComplete",!0),this._prom&&!(_<d&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,r,n){var i,s,o,u=t.ratio,l=e<0||!e&&(!t._start&&Ht(t)&&(t._initted||!Wt(t))||(t._ts<0||t._dp._ts<0)&&!Wt(t))?0:1,c=t._rDelay,f=0;if(c&&t._repeat&&(f=te(0,t._tDur,e),s=Lt(f,c),t._yoyo&&1&s&&(l=1-l),s!==Lt(t._tTime,c)&&(u=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==u||a||n||t._zTime===S||!e&&t._zTime){if(!t._initted&&jt(t,e,n,r,f))return;for(o=t._zTime,t._zTime=e||(r?S:0),r||(r=e&&!o),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=f,i=t._pt;i;)i.r(l,i.d),i=i._next;e<0&&Ft(t,e,0,!0),t._onUpdate&&!r&&ge(t,"onUpdate"),f&&t._repeat&&!r&&t.parent&&ge(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Rt(t,1),r||a||(ge(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},r.targets=function(){return this._targets},r.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},r.resetTo=function(t,e,r,n,i){m||Ce.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qe(this,s),function(t,e,r,n,i,s,o,a){var u,l,c,f,h=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!h)for(h=t._ptCache[e]=[],c=t._ptLookup,f=t._targets.length;f--;){if((u=c[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return je=1,t.vars[e]="+=0",Qe(t,o),je=0,a?tt(e+" not eligible for reset"):1;h.push(u)}for(f=h.length;f--;)(u=(l=h[f])._pt||l).s=!n&&0!==n||i?u.s+(n||0)+s*u.c:n,u.c=r-u.s,l.e&&(l.e=vt(r)+ee(l.e)),l.b&&(l.b=u.s+ee(l.b))}(this,t,e,r,n,this._ease(s/this._dur),s,i)?this.resetTo(t,e,r,n,1):(Nt(this,0),this.parent||At(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?me(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Ve&&!0!==Ve.vars.overwrite)._first||me(this),this.parent&&r!==this.timeline.totalDuration()&&Gt(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,s,o,a,u,l,c=this._targets,f=t?ie(t):c,h=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(c,f))return"all"===e&&(this._pt=0),me(this);for(n=this._op=this._op||[],"all"!==e&&(R(e)&&(a={},_t(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var r,n,i,s,o=t[0]?gt(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(n in r=Mt({},e),a)if(n in r)for(i=(s=a[n].split(",")).length;i--;)r[s[i]]=r[n];return r}(c,e)),l=c.length;l--;)if(~f.indexOf(c[l]))for(a in i=h[l],"all"===e?(n[l]=e,o=i,s={}):(s=n[l]=n[l]||{},o=e),o)(u=i&&i[a])&&("kill"in u.d&&!0!==u.d.kill(a)||Dt(this,u,"_pt"),delete i[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&p&&me(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return Kt(1,arguments)},e.delayedCall=function(t,r,n,i){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},e.fromTo=function(t,e,r){return Kt(2,arguments)},e.set=function(t,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(t,r)},e.killTweensOf=function(t,e,r){return l.killTweensOf(t,e,r)},e}(Ue);St(tr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),_t("staggerTo,staggerFrom,staggerFromTo",(function(t){tr[t]=function(){var e=new qe,r=re.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var er=function(t,e,r){return t[e]=r},rr=function(t,e,r){return t[e](r)},nr=function(t,e,r,n){return t[e](n.fp,r)},ir=function(t,e,r){return t.setAttribute(e,r)},sr=function(t,e){return z(t[e])?rr:B(t[e])&&t.setAttribute?ir:er},or=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},ar=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ur=function(t,e){var r=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},lr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},cr=function(t,e,r,n){for(var i,s=this._pt;s;)i=s._next,s.p===n&&s.modifier(t,e,r),s=i},fr=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Dt(this,n,"_pt"):n.dep||(e=1),n=r;return!e},hr=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},pr=function(t){for(var e,r,n,i,s=t._pt;s;){for(e=s._next,r=n;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:i)?s._prev._next=s:n=s,(s._next=r)?r._prev=s:i=s,s=e}t._pt=n},dr=function(){function t(t,e,r,n,i,s,o,a,u){this.t=e,this.s=n,this.c=i,this.p=r,this.r=s||or,this.d=o||this,this.set=a||er,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=hr,this.m=t,this.mt=r,this.tween=e},t}();_t(pt+"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 ot[t]=1})),Z.TweenMax=Z.TweenLite=tr,Z.TimelineLite=Z.TimelineMax=qe,l=new qe({sortChildren:!1,defaults:k,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),T.stringFilter=Me;var gr=[],mr={},_r=[],vr=0,yr=0,wr=function(t){return(mr[t]||_r).map((function(t){return t()}))},br=function(){var t=Date.now(),e=[];t-vr>2&&(wr("matchMediaInit"),gr.forEach((function(t){var r,n,i,s,o=t.queries,a=t.conditions;for(n in o)(r=c.matchMedia(o[n]).matches)&&(i=1),r!==a[n]&&(a[n]=r,s=1);s&&(t.revert(),i&&e.push(t))})),wr("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t,(function(e){return t.add(null,e)}))})),vr=t,wr("matchMedia"))},xr=function(){function t(t,e){this.selector=e&&se(e),this.data=[],this._r=[],this.isReverted=!1,this.id=yr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){z(t)&&(r=e,e=t,t=z);var n=this,i=function(){var t,i=u,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=se(r)),u=n,t=e.apply(n,arguments),z(t)&&n._r.push(t),u=i,n.selector=s,n.isReverted=!1,t};return n.last=i,t===z?i(n,(function(t){return n.add(null,t)})):t?n[t]=i:i},e.ignore=function(t){var e=u;u=null,t(this),u=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof tr&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)})),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t?function(){for(var e,n=r.getTweens(),i=r.data.length;i--;)"isFlip"===(e=r.data[i]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach((function(t){return n.splice(n.indexOf(t),1)})));for(n.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t}})).sort((function(t,e){return e.g-t.g||-1/0})).forEach((function(e){return e.t.revert(t)})),i=r.data.length;i--;)(e=r.data[i])instanceof qe?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof tr)&&e.revert&&e.revert(t);r._r.forEach((function(e){return e(t,r)})),r.isReverted=!0}():this.data.forEach((function(t){return t.kill&&t.kill()})),this.clear(),e)for(var n=gr.length;n--;)gr[n].id===this.id&&gr.splice(n,1)},e.revert=function(t){this.kill(t||{})},t}(),Tr=function(){function t(t){this.contexts=[],this.scope=t,u&&u.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){I(t)||(t={matches:t});var n,i,s,o=new xr(0,r||this.scope),a=o.conditions={};for(i in u&&!o.selector&&(o.selector=u.selector),this.contexts.push(o),e=o.add("onMatch",e),o.queries=t,t)"all"===i?s=1:(n=c.matchMedia(t[i]))&&(gr.indexOf(o)<0&&gr.push(o),(a[i]=n.matches)&&(s=1),n.addListener?n.addListener(br):n.addEventListener("change",br));return s&&e(o,(function(t){return o.add(null,t)})),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),kr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach((function(t){return ve(t)}))},timeline:function(t){return new qe(t)},getTweensOf:function(t,e){return l.getTweensOf(t,e)},getProperty:function(t,e,r,n){R(t)&&(t=ie(t)[0]);var i=gt(t||{}).get,s=r?Ot:kt;return"native"===r&&(r=""),t?e?s((lt[e]&&lt[e].get||i)(t,e,r,n)):function(e,r,n){return s((lt[e]&&lt[e].get||i)(t,e,r,n))}:t},quickSetter:function(t,e,r){if((t=ie(t)).length>1){var n=t.map((function(t){return Mr.quickSetter(t,e,r)})),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var s=lt[e],o=gt(t),a=o.harness&&(o.harness.aliases||{})[e]||e,u=s?function(e){var n=new s;g._pt=0,n.init(t,r?e+r:e,g,0,[t]),n.render(1,n),g._pt&&lr(1,g)}:o.set(t,a);return s?u:function(e){return u(t,a,r?e+r:e,o,1)}},quickTo:function(t,e,r){var n,i=Mr.to(t,Mt(((n={})[e]="+=0.1",n.paused=!0,n),r||{})),s=function(t,r,n){return i.resetTo(e,t,r,n)};return s.tween=i,s},isTweening:function(t){return l.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Be(t.ease,k.ease)),Ct(k,t||{})},config:function(t){return Ct(T,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!lt[t]&&!Z[t]&&tt(e+" effect requires "+t+" plugin.")})),ct[e]=function(t,e,n){return r(ie(t),St(e||{},i),n)},s&&(qe.prototype[e]=function(t,r,n){return this.add(ct[e](t,I(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){Ee[t]=Be(e)},parseEase:function(t,e){return arguments.length?Be(t,e):Ee},getById:function(t){return l.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new qe(t);for(i.smoothChildTiming=L(t.smoothChildTiming),l.remove(i),i._dp=0,i._time=i._tTime=l._time,r=l._first;r;)n=r._next,!e&&!r._dur&&r instanceof tr&&r.vars.onComplete===r._targets[0]||qt(i,r,r._start-r._delay),r=n;return qt(l,i,0),i},context:function(t,e){return t?new xr(t,e):u},matchMedia:function(t){return new Tr(t)},matchMediaRefresh:function(){return gr.forEach((function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()}))||br()},addEventListener:function(t,e){var r=mr[t]||(mr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=mr[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return U(e)?fe(e,t(0,e.length),r):Jt(n,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,r,n){var i=r-e,s=2*i;return U(e)?fe(e,t(0,e.length-1),r):Jt(n,(function(t){return e+((t=(s+(t-e)%s)%s||0)>i?s-t:t)}))},distribute:ae,random:ce,snap:le,normalize:function(t,e,r){return pe(t,e,0,1,r)},getUnit:ee,clamp:function(t,e,r){return Jt(r,(function(r){return te(t,e,r)}))},splitColor:xe,toArray:ie,selector:se,mapRange:pe,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(t,e){return function(r){return t(parseFloat(r))+(e||ee(r))}},interpolate:function t(e,r,n,i){var s=isNaN(e+r)?0:function(t){return(1-t)*e+t*r};if(!s){var o,a,u,l,c,f=R(e),h={};if(!0===n&&(i=1)&&(n=null),f)e={p:e},r={p:r};else if(U(e)&&!U(r)){for(u=[],l=e.length,c=l-2,a=1;a<l;a++)u.push(t(e[a-1],e[a]));l--,s=function(t){t*=l;var e=Math.min(c,~~t);return u[e](t-e)},n=r}else i||(e=Mt(U(e)?[]:{},e));if(!u){for(o in r)We.call(h,e,o,"get",r[o]);s=function(t){return lr(t,h)||(f?e.p:e)}}}return Jt(n,s)},shuffle:oe},install:K,effects:ct,ticker:Ce,updateRoot:qe.updateRoot,plugins:lt,globalTimeline:l,core:{PropTween:dr,globals:et,Tween:tr,Timeline:qe,Animation:Ue,getCache:gt,_removeLinkedListItem:Dt,reverting:function(){return a},context:function(t){return t&&u&&(u.data.push(t),t._ctx=u),u},suppressOverwrites:function(t){return o=t}}};_t("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return kr[t]=tr[t]})),Ce.add(qe.updateRoot),g=kr.to({},{duration:0});var Or=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},Sr=function(t,e){return{name:t,rawVars:1,init:function(t,r,n){n._onInit=function(t){var n,i;if(R(r)&&(n={},_t(r,(function(t){return n[t]=1})),r=n),e){for(i in n={},r)n[i]=e(r[i]);r=n}!function(t,e){var r,n,i,s=t._targets;for(r in e)for(n=s.length;n--;)(i=t._ptLookup[n][r])&&(i=i.d)&&(i._pt&&(i=Or(i,r)),i&&i.modifier&&i.modifier(e[r],t,s[n],r))}(t,r)}}}},Mr=kr.registerPlugin({name:"attr",init:function(t,e,r,n,i){var s,o,a;for(s in this.tween=r,e)a=t.getAttribute(s)||"",(o=this.add(t,"setAttribute",(a||0)+"",e[s],n,i,0,0,s)).op=s,o.b=a,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)a?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)}},Sr("roundProps",ue),Sr("modifiers"),Sr("snap",le))||kr;tr.version=qe.version=Mr.version="3.12.5",p=1,Y()&&Pe(),Ee.Power0,Ee.Power1,Ee.Power2,Ee.Power3,Ee.Power4,Ee.Linear,Ee.Quad,Ee.Cubic,Ee.Quart,Ee.Quint,Ee.Strong,Ee.Elastic,Ee.Back,Ee.SteppedEase,Ee.Bounce,Ee.Sine,Ee.Expo,Ee.Circ;var Cr,Pr,Er,Ar,Dr,Rr,zr,Fr,Br={},Ir=180/Math.PI,Lr=Math.PI/180,Yr=Math.atan2,Xr=/([A-Z])/g,Nr=/(left|right|width|margin|padding|x)/i,Ur=/[\s,\(]\S/,qr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Vr=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},jr=function(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)},Hr=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Wr=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},Gr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Qr=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},Zr=function(t,e,r){return t.style[e]=r},$r=function(t,e,r){return t.style.setProperty(e,r)},Kr=function(t,e,r){return t._gsap[e]=r},Jr=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},tn=function(t,e,r,n,i){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},en=function(t,e,r,n,i){var s=t._gsap;s[e]=r,s.renderTransform(i,s)},rn="transform",nn=rn+"Origin",sn=function t(e,r){var n=this,i=this.target,s=i.style,o=i._gsap;if(e in Br&&s){if(this.tfm=this.tfm||{},"transform"===e)return qr.transform.split(",").forEach((function(e){return t.call(n,e,r)}));if(~(e=qr[e]||e).indexOf(",")?e.split(",").forEach((function(t){return n.tfm[t]=Tn(i,t)})):this.tfm[e]=o.x?o[e]:Tn(i,e),e===nn&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(rn)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(nn,r,"")),e=rn}(s||r)&&this.props.push(e,r,s[e])},on=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},an=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t<r.length;t+=3)r[t+1]?n[r[t]]=r[t+2]:r[t+2]?i[r[t]]=r[t+2]:i.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(Xr,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(t=zr())&&t.isStart||i[rn]||(on(i),s.zOrigin&&i[nn]&&(i[nn]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},un=function(t,e){var r={target:t,props:[],revert:an,save:sn};return t._gsap||Mr.core.getCache(t),e&&e.split(",").forEach((function(t){return r.save(t)})),r},ln=function(t,e){var r=Pr.createElementNS?Pr.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Pr.createElement(t);return r&&r.style?r:Pr.createElement(t)},cn=function t(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(Xr,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&t(e,hn(r)||r,1)||""},fn="O,Moz,ms,Ms,Webkit".split(","),hn=function(t,e,r){var n=(e||Dr).style,i=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(fn[i]+t in n););return i<0?null:(3===i?"ms":i>=0?fn[i]:"")+t},pn=function(){"undefined"!=typeof window&&window.document&&(Cr=window,Pr=Cr.document,Er=Pr.documentElement,Dr=ln("div")||{style:{}},ln("div"),rn=hn(rn),nn=rn+"Origin",Dr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Fr=!!hn("perspective"),zr=Mr.core.reverting,Ar=1)},dn=function t(e){var r,n=ln("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(Er.appendChild(n),n.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return i&&(s?i.insertBefore(this,s):i.appendChild(this)),Er.removeChild(n),this.style.cssText=o,r},gn=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},mn=function(t){var e;try{e=t.getBBox()}catch(r){e=dn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===dn||(e=dn.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+gn(t,["x","cx","x1"])||0,y:+gn(t,["y","cy","y1"])||0,width:0,height:0}},_n=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!mn(t))},vn=function(t,e){if(e){var r,n=t.style;e in Br&&e!==nn&&(e=rn),n.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty("--"===r?e:e.replace(Xr,"-$1").toLowerCase())):n.removeAttribute(e)}},yn=function(t,e,r,n,i,s){var o=new dr(t._pt,e,r,0,1,s?Qr:Gr);return t._pt=o,o.b=n,o.e=i,t._props.push(r),o},wn={deg:1,rad:1,turn:1},bn={grid:1,flex:1},xn=function t(e,r,n,i){var s,o,a,u,l=parseFloat(n)||0,c=(n+"").trim().substr((l+"").length)||"px",f=Dr.style,h=Nr.test(r),p="svg"===e.tagName.toLowerCase(),d=(p?"client":"offset")+(h?"Width":"Height"),g=100,m="px"===i,_="%"===i;if(i===c||!l||wn[i]||wn[c])return l;if("px"!==c&&!m&&(l=t(e,r,n,"px")),u=e.getCTM&&_n(e),(_||"%"===c)&&(Br[r]||~r.indexOf("adius")))return s=u?e.getBBox()[h?"width":"height"]:e[d],vt(_?l/s*g:l/100*s);if(f[h?"width":"height"]=g+(m?c:i),o=~r.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,u&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==Pr&&o.appendChild||(o=Pr.body),(a=o._gsap)&&_&&a.width&&h&&a.time===Ce.time&&!a.uncache)return vt(l/a.width*g);if(!_||"height"!==r&&"width"!==r)(_||"%"===c)&&!bn[cn(o,"display")]&&(f.position=cn(e,"position")),o===e&&(f.position="static"),o.appendChild(Dr),s=Dr[d],o.removeChild(Dr),f.position="absolute";else{var v=e.style[r];e.style[r]=g+i,s=e[d],v?e.style[r]=v:vn(e,r)}return h&&_&&((a=gt(o)).time=Ce.time,a.width=o[d]),vt(m?s*l/g:s&&l?g/s*l:0)},Tn=function(t,e,r,n){var i;return Ar||pn(),e in qr&&"transform"!==e&&~(e=qr[e]).indexOf(",")&&(e=e.split(",")[0]),Br[e]&&"transform"!==e?(i=zn(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Fn(cn(t,nn))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=Mn[e]&&Mn[e](t,e,r)||cn(t,e)||mt(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?xn(t,e,i,r)+r:i},kn=function(t,e,r,n){if(!r||"none"===r){var i=hn(e,t,1),s=i&&cn(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=cn(t,"borderTopColor"))}var o,a,u,l,c,f,h,p,d,g,m,_=new dr(this._pt,t.style,e,0,1,ur),v=0,y=0;if(_.b=r,_.e=n,r+="","auto"==(n+="")&&(f=t.style[e],t.style[e]=n,n=cn(t,e)||n,f?t.style[e]=f:vn(t,e)),Me(o=[r,n]),n=o[1],u=(r=o[0]).match(j)||[],(n.match(j)||[]).length){for(;a=j.exec(n);)h=a[0],d=n.substring(v,a.index),c?c=(c+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(c=1),h!==(f=u[y++]||"")&&(l=parseFloat(f)||0,m=f.substr((l+"").length),"="===h.charAt(1)&&(h=wt(l,h)+m),p=parseFloat(h),g=h.substr((p+"").length),v=j.lastIndex-g.length,g||(g=g||T.units[e]||m,v===n.length&&(n+=g,_.e+=g)),m!==g&&(l=xn(t,e,f,g)||0),_._pt={_next:_._pt,p:d||1===y?d:",",s:l,c:p-l,m:c&&c<4||"zIndex"===e?Math.round:0});_.c=v<n.length?n.substring(v,n.length):""}else _.r="display"===e&&"none"===n?Qr:Gr;return W.test(n)&&(_.e=0),this._pt=_,_},On={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Sn=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,n,i,s=e.t,o=s.style,a=e.u,u=s._gsap;if("all"===a||!0===a)o.cssText="",n=1;else for(i=(a=a.split(",")).length;--i>-1;)r=a[i],Br[r]&&(n=1,r="transformOrigin"===r?nn:rn),vn(s,r);n&&(vn(s,rn),u&&(u.svg&&s.removeAttribute("transform"),zn(s,1),u.uncache=1,on(o)))}},Mn={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new dr(t._pt,e,r,0,0,Sn);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},Cn=[1,0,0,1,0,0],Pn={},En=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},An=function(t){var e=cn(t,rn);return En(e)?Cn:e.substr(7).match(V).map(vt)},Dn=function(t,e){var r,n,i,s,o=t._gsap||gt(t),a=t.style,u=An(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Cn:u:(u!==Cn||t.offsetParent||t===Er||o.svg||(i=a.display,a.display="block",(r=t.parentNode)&&t.offsetParent||(s=1,n=t.nextElementSibling,Er.appendChild(t)),u=An(t),i?a.display=i:vn(t,"display"),s&&(n?r.insertBefore(t,n):r?r.appendChild(t):Er.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},Rn=function(t,e,r,n,i,s){var o,a,u,l=t._gsap,c=i||Dn(t,!0),f=l.xOrigin||0,h=l.yOrigin||0,p=l.xOffset||0,d=l.yOffset||0,g=c[0],m=c[1],_=c[2],v=c[3],y=c[4],w=c[5],b=e.split(" "),x=parseFloat(b[0])||0,T=parseFloat(b[1])||0;r?c!==Cn&&(a=g*v-m*_)&&(u=x*(-m/a)+T*(g/a)-(g*w-m*y)/a,x=x*(v/a)+T*(-_/a)+(_*w-v*y)/a,T=u):(x=(o=mn(t)).x+(~b[0].indexOf("%")?x/100*o.width:x),T=o.y+(~(b[1]||b[0]).indexOf("%")?T/100*o.height:T)),n||!1!==n&&l.smooth?(y=x-f,w=T-h,l.xOffset=p+(y*g+w*_)-y,l.yOffset=d+(y*m+w*v)-w):l.xOffset=l.yOffset=0,l.xOrigin=x,l.yOrigin=T,l.smooth=!!n,l.origin=e,l.originIsAbsolute=!!r,t.style[nn]="0px 0px",s&&(yn(s,l,"xOrigin",f,x),yn(s,l,"yOrigin",h,T),yn(s,l,"xOffset",p,l.xOffset),yn(s,l,"yOffset",d,l.yOffset)),t.setAttribute("data-svg-origin",x+" "+T)},zn=function(t,e){var r=t._gsap||new Ne(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,o,a,u,l,c,f,h,p,d,g,m,_,v,y,w,b,x,k,O,S,M,C,P,E,A,D,R,z,F,B=t.style,I=r.scaleX<0,L="px",Y="deg",X=getComputedStyle(t),N=cn(t,nn)||"0";return n=i=s=u=l=c=f=h=p=0,o=a=1,r.svg=!(!t.getCTM||!_n(t)),X.translate&&("none"===X.translate&&"none"===X.scale&&"none"===X.rotate||(B[rn]=("none"!==X.translate?"translate3d("+(X.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==X.rotate?"rotate("+X.rotate+") ":"")+("none"!==X.scale?"scale("+X.scale.split(" ").join(",")+") ":"")+("none"!==X[rn]?X[rn]:"")),B.scale=B.rotate=B.translate="none"),m=Dn(t,r.svg),r.svg&&(r.uncache?(C=t.getBBox(),N=r.xOrigin-C.x+"px "+(r.yOrigin-C.y)+"px",M=""):M=!e&&t.getAttribute("data-svg-origin"),Rn(t,M||N,!!M||r.originIsAbsolute,!1!==r.smooth,m)),d=r.xOrigin||0,g=r.yOrigin||0,m!==Cn&&(w=m[0],b=m[1],x=m[2],k=m[3],n=O=m[4],i=S=m[5],6===m.length?(o=Math.sqrt(w*w+b*b),a=Math.sqrt(k*k+x*x),u=w||b?Yr(b,w)*Ir:0,(f=x||k?Yr(x,k)*Ir+u:0)&&(a*=Math.abs(Math.cos(f*Lr))),r.svg&&(n-=d-(d*w+g*x),i-=g-(d*b+g*k))):(F=m[6],R=m[7],E=m[8],A=m[9],D=m[10],z=m[11],n=m[12],i=m[13],s=m[14],l=(_=Yr(F,D))*Ir,_&&(M=O*(v=Math.cos(-_))+E*(y=Math.sin(-_)),C=S*v+A*y,P=F*v+D*y,E=O*-y+E*v,A=S*-y+A*v,D=F*-y+D*v,z=R*-y+z*v,O=M,S=C,F=P),c=(_=Yr(-x,D))*Ir,_&&(v=Math.cos(-_),z=k*(y=Math.sin(-_))+z*v,w=M=w*v-E*y,b=C=b*v-A*y,x=P=x*v-D*y),u=(_=Yr(b,w))*Ir,_&&(M=w*(v=Math.cos(_))+b*(y=Math.sin(_)),C=O*v+S*y,b=b*v-w*y,S=S*v-O*y,w=M,O=C),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,c=180-c),o=vt(Math.sqrt(w*w+b*b+x*x)),a=vt(Math.sqrt(S*S+F*F)),_=Yr(O,S),f=Math.abs(_)>2e-4?_*Ir:0,p=z?1/(z<0?-z:z):0),r.svg&&(M=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!En(cn(t,rn)),M&&t.setAttribute("transform",M))),Math.abs(f)>90&&Math.abs(f)<270&&(I?(o*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+L,r.y=i-((r.yPercent=i&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+L,r.z=s+L,r.scaleX=vt(o),r.scaleY=vt(a),r.rotation=vt(u)+Y,r.rotationX=vt(l)+Y,r.rotationY=vt(c)+Y,r.skewX=f+Y,r.skewY=h+Y,r.transformPerspective=p+L,(r.zOrigin=parseFloat(N.split(" ")[2])||!e&&r.zOrigin||0)&&(B[nn]=Fn(N)),r.xOffset=r.yOffset=0,r.force3D=T.force3D,r.renderTransform=r.svg?Un:Fr?Nn:In,r.uncache=0,r},Fn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Bn=function(t,e,r){var n=ee(e);return vt(parseFloat(e)+parseFloat(xn(t,"x",r+"px",n)))+n},In=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Nn(t,e)},Ln="0deg",Yn="0px",Xn=") ",Nn=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,o=r.y,a=r.z,u=r.rotation,l=r.rotationY,c=r.rotationX,f=r.skewX,h=r.skewY,p=r.scaleX,d=r.scaleY,g=r.transformPerspective,m=r.force3D,_=r.target,v=r.zOrigin,y="",w="auto"===m&&t&&1!==t||!0===m;if(v&&(c!==Ln||l!==Ln)){var b,x=parseFloat(l)*Lr,T=Math.sin(x),k=Math.cos(x);x=parseFloat(c)*Lr,b=Math.cos(x),s=Bn(_,s,T*b*-v),o=Bn(_,o,-Math.sin(x)*-v),a=Bn(_,a,k*b*-v+v)}g!==Yn&&(y+="perspective("+g+Xn),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(w||s!==Yn||o!==Yn||a!==Yn)&&(y+=a!==Yn||w?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+Xn),u!==Ln&&(y+="rotate("+u+Xn),l!==Ln&&(y+="rotateY("+l+Xn),c!==Ln&&(y+="rotateX("+c+Xn),f===Ln&&h===Ln||(y+="skew("+f+", "+h+Xn),1===p&&1===d||(y+="scale("+p+", "+d+Xn),_.style[rn]=y||"translate(0, 0)"},Un=function(t,e){var r,n,i,s,o,a=e||this,u=a.xPercent,l=a.yPercent,c=a.x,f=a.y,h=a.rotation,p=a.skewX,d=a.skewY,g=a.scaleX,m=a.scaleY,_=a.target,v=a.xOrigin,y=a.yOrigin,w=a.xOffset,b=a.yOffset,x=a.forceCSS,T=parseFloat(c),k=parseFloat(f);h=parseFloat(h),p=parseFloat(p),(d=parseFloat(d))&&(p+=d=parseFloat(d),h+=d),h||p?(h*=Lr,p*=Lr,r=Math.cos(h)*g,n=Math.sin(h)*g,i=Math.sin(h-p)*-m,s=Math.cos(h-p)*m,p&&(d*=Lr,o=Math.tan(p-d),i*=o=Math.sqrt(1+o*o),s*=o,d&&(o=Math.tan(d),r*=o=Math.sqrt(1+o*o),n*=o)),r=vt(r),n=vt(n),i=vt(i),s=vt(s)):(r=g,s=m,n=i=0),(T&&!~(c+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(T=xn(_,"x",c,"px"),k=xn(_,"y",f,"px")),(v||y||w||b)&&(T=vt(T+v-(v*r+y*i)+w),k=vt(k+y-(v*n+y*s)+b)),(u||l)&&(o=_.getBBox(),T=vt(T+u/100*o.width),k=vt(k+l/100*o.height)),o="matrix("+r+","+n+","+i+","+s+","+T+","+k+")",_.setAttribute("transform",o),x&&(_.style[rn]=o)},qn=function(t,e,r,n,i){var s,o,a=360,u=R(i),l=parseFloat(i)*(u&&~i.indexOf("rad")?Ir:1)-n,c=n+l+"deg";return u&&("short"===(s=i.split("_")[1])&&(l%=a)!=l%180&&(l+=l<0?a:-360),"cw"===s&&l<0?l=(l+36e9)%a-~~(l/a)*a:"ccw"===s&&l>0&&(l=(l-36e9)%a-~~(l/a)*a)),t._pt=o=new dr(t._pt,e,r,n,l,jr),o.e=c,o.u="deg",t._props.push(r),o},Vn=function(t,e){for(var r in e)t[r]=e[r];return t},jn=function(t,e,r){var n,i,s,o,a,u,l,c=Vn({},r._gsap),f=r.style;for(i in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),f[rn]=e,n=zn(r,1),vn(r,rn),r.setAttribute("transform",s)):(s=getComputedStyle(r)[rn],f[rn]=e,n=zn(r,1),f[rn]=s),Br)(s=c[i])!==(o=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=ee(s)!==(l=ee(o))?xn(r,i,s,l):parseFloat(s),u=parseFloat(o),t._pt=new dr(t._pt,n,i,a,u-a,Vr),t._pt.u=l||0,t._props.push(i));Vn(n,c)};_t("padding,margin,Width,Radius",(function(t,e){var r="Top",n="Right",i="Bottom",s="Left",o=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map((function(r){return e<2?t+r:"border"+r+t}));Mn[e>1?"border"+t:t]=function(t,e,r,n,i){var s,a;if(arguments.length<4)return s=o.map((function(e){return Tn(t,e,r)})),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(n+"").split(" "),a={},o.forEach((function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,a,i)}}));var Hn,Wn,Gn={name:"css",register:pn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var s,o,a,u,l,c,f,h,p,d,g,m,_,v,y,w,b,x,k,O,S=this._props,M=t.style,C=r.vars.startAt;for(f in Ar||pn(),this.styles=this.styles||un(t),w=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(o=e[f],!lt[f]||!Ge(f,e,r,n,t,i)))if(l=typeof o,c=Mn[f],"function"===l&&(l=typeof(o=o.call(r,n,t,i))),"string"===l&&~o.indexOf("random(")&&(o=he(o)),c)c(this,t,f,o,r)&&(y=1);else if("--"===f.substr(0,2))s=(getComputedStyle(t).getPropertyValue(f)+"").trim(),o+="",Oe.lastIndex=0,Oe.test(s)||(h=ee(s),p=ee(o)),p?h!==p&&(s=xn(t,f,s,p)+p):h&&(o+=h),this.add(M,"setProperty",s,o,n,i,0,0,f),S.push(f),w.push(f,0,M[f]);else if("undefined"!==l){if(C&&f in C?(s="function"==typeof C[f]?C[f].call(r,n,t,i):C[f],R(s)&&~s.indexOf("random(")&&(s=he(s)),ee(s+"")||"auto"===s||(s+=T.units[f]||ee(Tn(t,f))||""),"="===(s+"").charAt(1)&&(s=Tn(t,f))):s=Tn(t,f),u=parseFloat(s),(d="string"===l&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),f in qr&&("autoAlpha"===f&&(1===u&&"hidden"===Tn(t,"visibility")&&a&&(u=0),w.push("visibility",0,M.visibility),yn(this,M,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==f&&"transform"!==f&&~(f=qr[f]).indexOf(",")&&(f=f.split(",")[0])),g=f in Br)if(this.styles.save(f),m||((_=t._gsap).renderTransform&&!e.parseTransform||zn(t,e.parseTransform),v=!1!==e.smoothOrigin&&_.smooth,(m=this._pt=new dr(this._pt,M,rn,0,1,_.renderTransform,_,0,-1)).dep=1),"scale"===f)this._pt=new dr(this._pt,_,"scaleY",_.scaleY,(d?wt(_.scaleY,d+a):a)-_.scaleY||0,Vr),this._pt.u=0,S.push("scaleY",f),f+="X";else{if("transformOrigin"===f){w.push(nn,0,M[nn]),x=void 0,k=void 0,O=void 0,k=(x=(b=o).split(" "))[0],O=x[1]||"50%","top"!==k&&"bottom"!==k&&"left"!==O&&"right"!==O||(b=k,k=O,O=b),x[0]=On[k]||k,x[1]=On[O]||O,o=x.join(" "),_.svg?Rn(t,o,0,v,0,this):((p=parseFloat(o.split(" ")[2])||0)!==_.zOrigin&&yn(this,_,"zOrigin",_.zOrigin,p),yn(this,M,f,Fn(s),Fn(o)));continue}if("svgOrigin"===f){Rn(t,o,1,v,0,this);continue}if(f in Pn){qn(this,_,f,u,d?wt(u,d+o):o);continue}if("smoothOrigin"===f){yn(this,_,"smooth",_.smooth,o);continue}if("force3D"===f){_[f]=o;continue}if("transform"===f){jn(this,o,t);continue}}else f in M||(f=hn(f)||f);if(g||(a||0===a)&&(u||0===u)&&!Ur.test(o)&&f in M)a||(a=0),(h=(s+"").substr((u+"").length))!==(p=ee(o)||(f in T.units?T.units[f]:h))&&(u=xn(t,f,s,p)),this._pt=new dr(this._pt,g?_:M,f,u,(d?wt(u,d+a):a)-u,g||"px"!==p&&"zIndex"!==f||!1===e.autoRound?Vr:Wr),this._pt.u=p||0,h!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=Hr);else if(f in M)kn.call(this,t,f,s,d?d+o:o);else if(f in t)this.add(t,f,s||t[f],d?d+o:o,n,i);else if("parseTransform"!==f){J(f,o);continue}g||(f in M?w.push(f,0,M[f]):w.push(f,1,s||t[f])),S.push(f)}y&&pr(this)},render:function(t,e){if(e.tween._time||!zr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Tn,aliases:qr,getSetter:function(t,e,r){var n=qr[e];return n&&n.indexOf(",")<0&&(e=n),e in Br&&e!==nn&&(t._gsap.x||Tn(t,"x"))?r&&Rr===r?"scale"===e?Jr:Kr:(Rr=r||{})&&("scale"===e?tn:en):t.style&&!B(t.style[e])?Zr:~e.indexOf("-")?$r:sr(t,e)},core:{_removeProperty:vn,_getMatrix:Dn}};Mr.utils.checkPrefix=hn,Mr.core.getStyleSaver=un,Wn=_t("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(Hn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Br[t]=1})),_t(Hn,(function(t){T.units[t]="deg",Pn[t]=1})),qr[Wn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Hn,_t("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");qr[e[1]]=Wn[e[0]]})),_t("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){T.units[t]="px"})),Mr.registerPlugin(Gn);var Qn=Mr.registerPlugin(Gn)||Mr;function Zn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Qn.core.Tween;var $n,Kn,Jn,ti,ei,ri,ni,ii,si,oi,ai,ui,li,ci=function(){return $n||"undefined"!=typeof window&&($n=window.gsap)&&$n.registerPlugin&&$n},fi=1,hi=[],pi=[],di=[],gi=Date.now,mi=function(t,e){return e},_i=function(t,e){return~di.indexOf(t)&&di[di.indexOf(t)+1][e]},vi=function(t){return!!~oi.indexOf(t)},yi=function(t,e,r,n,i){return t.addEventListener(e,r,{passive:!1!==n,capture:!!i})},wi=function(t,e,r,n){return t.removeEventListener(e,r,!!n)},bi="scrollLeft",xi="scrollTop",Ti=function(){return ai&&ai.isPressed||pi.cache++},ki=function(t,e){var r=function r(n){if(n||0===n){fi&&(Jn.history.scrollRestoration="manual");var i=ai&&ai.isPressed;n=r.v=Math.round(n)||(ai&&ai.iOS?1:0),t(n),r.cacheID=pi.cache,i&&mi("ss",n)}else(e||pi.cache!==r.cacheID||mi("ref"))&&(r.cacheID=pi.cache,r.v=t());return r.v+r.offset};return r.offset=0,t&&r},Oi={s:bi,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:ki((function(t){return arguments.length?Jn.scrollTo(t,Si.sc()):Jn.pageXOffset||ti[bi]||ei[bi]||ri[bi]||0}))},Si={s:xi,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Oi,sc:ki((function(t){return arguments.length?Jn.scrollTo(Oi.sc(),t):Jn.pageYOffset||ti[xi]||ei[xi]||ri[xi]||0}))},Mi=function(t,e){return(e&&e._ctx&&e._ctx.selector||$n.utils.toArray)(t)[0]||("string"==typeof t&&!1!==$n.config().nullTargetWarn?console.warn("Element not found:",t):null)},Ci=function(t,e){var r=e.s,n=e.sc;vi(t)&&(t=ti.scrollingElement||ei);var i=pi.indexOf(t),s=n===Si.sc?1:2;!~i&&(i=pi.push(t)-1),pi[i+s]||yi(t,"scroll",Ti);var o=pi[i+s],a=o||(pi[i+s]=ki(_i(t,r),!0)||(vi(t)?n:ki((function(e){return arguments.length?t[r]=e:t[r]}))));return a.target=t,o||(a.smooth="smooth"===$n.getProperty(t,"scrollBehavior")),a},Pi=function(t,e,r){var n=t,i=t,s=gi(),o=s,a=e||50,u=Math.max(500,3*a),l=function(t,e){var u=gi();e||u-s>a?(i=n,n=t,o=s,s=u):r?n+=t:n=i+(t-i)/(u-o)*(s-o)};return{update:l,reset:function(){i=n=r?0:n,o=s=0},getVelocity:function(t){var e=o,a=i,c=gi();return(t||0===t)&&t!==n&&l(t),s===o||c-o>u?0:(n+(r?a:-a))/((r?c:s)-e)*1e3}}},Ei=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Ai=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Di=function(){var t,e,r,n;(si=$n.core.globals().ScrollTrigger)&&si.core&&(t=si.core,e=t.bridge||{},r=t._scrollers,n=t._proxies,r.push.apply(r,pi),n.push.apply(n,di),pi=r,di=n,mi=function(t,r){return e[t](r)})},Ri=function(t){return $n=t||ci(),!Kn&&$n&&"undefined"!=typeof document&&document.body&&(Jn=window,ti=document,ei=ti.documentElement,ri=ti.body,oi=[Jn,ti,ei,ri],$n.utils.clamp,li=$n.core.context||function(){},ii="onpointerenter"in ri?"pointer":"mouse",ni=zi.isTouch=Jn.matchMedia&&Jn.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Jn||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,ui=zi.eventTypes=("ontouchstart"in ei?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in ei?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return fi=0}),500),Di(),Kn=1),Kn};Oi.op=Si,pi.cache=0;var zi=function(){function t(t){this.init(t)}var e,r;return t.prototype.init=function(t){Kn||Ri($n)||console.warn("Please gsap.registerPlugin(Observer)"),si||Di();var e=t.tolerance,r=t.dragMinimum,n=t.type,i=t.target,s=t.lineHeight,o=t.debounce,a=t.preventDefault,u=t.onStop,l=t.onStopDelay,c=t.ignore,f=t.wheelSpeed,h=t.event,p=t.onDragStart,d=t.onDragEnd,g=t.onDrag,m=t.onPress,_=t.onRelease,v=t.onRight,y=t.onLeft,w=t.onUp,b=t.onDown,x=t.onChangeX,T=t.onChangeY,k=t.onChange,O=t.onToggleX,S=t.onToggleY,M=t.onHover,C=t.onHoverEnd,P=t.onMove,E=t.ignoreCheck,A=t.isNormalizer,D=t.onGestureStart,R=t.onGestureEnd,z=t.onWheel,F=t.onEnable,B=t.onDisable,I=t.onClick,L=t.scrollSpeed,Y=t.capture,X=t.allowClicks,N=t.lockAxis,U=t.onLockAxis;this.target=i=Mi(i)||ei,this.vars=t,c&&(c=$n.utils.toArray(c)),e=e||1e-9,r=r||0,f=f||1,L=L||1,n=n||"wheel,touch,pointer",o=!1!==o,s||(s=parseFloat(Jn.getComputedStyle(ri).lineHeight)||22);var q,V,j,H,W,G,Q,Z=this,$=0,K=0,J=t.passive||!a,tt=Ci(i,Oi),et=Ci(i,Si),rt=tt(),nt=et(),it=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===ui[0],st=vi(i),ot=i.ownerDocument||ti,at=[0,0,0],ut=[0,0,0],lt=0,ct=function(){return lt=gi()},ft=function(t,e){return(Z.event=t)&&c&&~c.indexOf(t.target)||e&&it&&"touch"!==t.pointerType||E&&E(t,e)},ht=function(){var t=Z.deltaX=Ai(at),r=Z.deltaY=Ai(ut),n=Math.abs(t)>=e,i=Math.abs(r)>=e;k&&(n||i)&&k(Z,t,r,at,ut),n&&(v&&Z.deltaX>0&&v(Z),y&&Z.deltaX<0&&y(Z),x&&x(Z),O&&Z.deltaX<0!=$<0&&O(Z),$=Z.deltaX,at[0]=at[1]=at[2]=0),i&&(b&&Z.deltaY>0&&b(Z),w&&Z.deltaY<0&&w(Z),T&&T(Z),S&&Z.deltaY<0!=K<0&&S(Z),K=Z.deltaY,ut[0]=ut[1]=ut[2]=0),(H||j)&&(P&&P(Z),j&&(g(Z),j=!1),H=!1),G&&!(G=!1)&&U&&U(Z),W&&(z(Z),W=!1),q=0},pt=function(t,e,r){at[r]+=t,ut[r]+=e,Z._vx.update(t),Z._vy.update(e),o?q||(q=requestAnimationFrame(ht)):ht()},dt=function(t,e){N&&!Q&&(Z.axis=Q=Math.abs(t)>Math.abs(e)?"x":"y",G=!0),"y"!==Q&&(at[2]+=t,Z._vx.update(t,!0)),"x"!==Q&&(ut[2]+=e,Z._vy.update(e,!0)),o?q||(q=requestAnimationFrame(ht)):ht()},gt=function(t){if(!ft(t,1)){var e=(t=Ei(t,a)).clientX,n=t.clientY,i=e-Z.x,s=n-Z.y,o=Z.isDragging;Z.x=e,Z.y=n,(o||Math.abs(Z.startX-e)>=r||Math.abs(Z.startY-n)>=r)&&(g&&(j=!0),o||(Z.isDragging=!0),dt(i,s),o||p&&p(Z))}},mt=Z.onPress=function(t){ft(t,1)||t&&t.button||(Z.axis=Q=null,V.pause(),Z.isPressed=!0,t=Ei(t),$=K=0,Z.startX=Z.x=t.clientX,Z.startY=Z.y=t.clientY,Z._vx.reset(),Z._vy.reset(),yi(A?i:ot,ui[1],gt,J,!0),Z.deltaX=Z.deltaY=0,m&&m(Z))},_t=Z.onRelease=function(t){if(!ft(t,1)){wi(A?i:ot,ui[1],gt,!0);var e=!isNaN(Z.y-Z.startY),r=Z.isDragging,n=r&&(Math.abs(Z.x-Z.startX)>3||Math.abs(Z.y-Z.startY)>3),s=Ei(t);!n&&e&&(Z._vx.reset(),Z._vy.reset(),a&&X&&$n.delayedCall(.08,(function(){if(gi()-lt>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ot.createEvent){var e=ot.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,Jn,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),Z.isDragging=Z.isGesturing=Z.isPressed=!1,u&&r&&!A&&V.restart(!0),d&&r&&d(Z),_&&_(Z,n)}},vt=function(t){return t.touches&&t.touches.length>1&&(Z.isGesturing=!0)&&D(t,Z.isDragging)},yt=function(){return(Z.isGesturing=!1)||R(Z)},wt=function(t){if(!ft(t)){var e=tt(),r=et();pt((e-rt)*L,(r-nt)*L,1),rt=e,nt=r,u&&V.restart(!0)}},bt=function(t){if(!ft(t)){t=Ei(t,a),z&&(W=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?Jn.innerHeight:1)*f;pt(t.deltaX*e,t.deltaY*e,0),u&&!A&&V.restart(!0)}},xt=function(t){if(!ft(t)){var e=t.clientX,r=t.clientY,n=e-Z.x,i=r-Z.y;Z.x=e,Z.y=r,H=!0,u&&V.restart(!0),(n||i)&&dt(n,i)}},Tt=function(t){Z.event=t,M(Z)},kt=function(t){Z.event=t,C(Z)},Ot=function(t){return ft(t)||Ei(t,a)&&I(Z)};V=Z._dc=$n.delayedCall(l||.25,(function(){Z._vx.reset(),Z._vy.reset(),V.pause(),u&&u(Z)})).pause(),Z.deltaX=Z.deltaY=0,Z._vx=Pi(0,50,!0),Z._vy=Pi(0,50,!0),Z.scrollX=tt,Z.scrollY=et,Z.isDragging=Z.isGesturing=Z.isPressed=!1,li(this),Z.enable=function(t){return Z.isEnabled||(yi(st?ot:i,"scroll",Ti),n.indexOf("scroll")>=0&&yi(st?ot:i,"scroll",wt,J,Y),n.indexOf("wheel")>=0&&yi(i,"wheel",bt,J,Y),(n.indexOf("touch")>=0&&ni||n.indexOf("pointer")>=0)&&(yi(i,ui[0],mt,J,Y),yi(ot,ui[2],_t),yi(ot,ui[3],_t),X&&yi(i,"click",ct,!0,!0),I&&yi(i,"click",Ot),D&&yi(ot,"gesturestart",vt),R&&yi(ot,"gestureend",yt),M&&yi(i,ii+"enter",Tt),C&&yi(i,ii+"leave",kt),P&&yi(i,ii+"move",xt)),Z.isEnabled=!0,t&&t.type&&mt(t),F&&F(Z)),Z},Z.disable=function(){Z.isEnabled&&(hi.filter((function(t){return t!==Z&&vi(t.target)})).length||wi(st?ot:i,"scroll",Ti),Z.isPressed&&(Z._vx.reset(),Z._vy.reset(),wi(A?i:ot,ui[1],gt,!0)),wi(st?ot:i,"scroll",wt,Y),wi(i,"wheel",bt,Y),wi(i,ui[0],mt,Y),wi(ot,ui[2],_t),wi(ot,ui[3],_t),wi(i,"click",ct,!0),wi(i,"click",Ot),wi(ot,"gesturestart",vt),wi(ot,"gestureend",yt),wi(i,ii+"enter",Tt),wi(i,ii+"leave",kt),wi(i,ii+"move",xt),Z.isEnabled=Z.isPressed=Z.isDragging=!1,B&&B(Z))},Z.kill=Z.revert=function(){Z.disable();var t=hi.indexOf(Z);t>=0&&hi.splice(t,1),ai===Z&&(ai=0)},hi.push(Z),A&&vi(i)&&(ai=Z),Z.enable(h)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&Zn(e.prototype,r),t}();zi.version="3.12.5",zi.create=function(t){return new zi(t)},zi.register=Ri,zi.getAll=function(){return hi.slice()},zi.getById=function(t){return hi.filter((function(e){return e.vars.id===t}))[0]},ci()&&$n.registerPlugin(zi);var Fi,Bi,Ii,Li,Yi,Xi,Ni,Ui,qi,Vi,ji,Hi,Wi,Gi,Qi,Zi,$i,Ki,Ji,ts,es,rs,ns,is,ss,os,as,us,ls,cs,fs,hs,ps,ds,gs,ms,_s,vs,ys=1,ws=Date.now,bs=ws(),xs=0,Ts=0,ks=function(t,e,r){var n=Ls(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},Os=function(t,e){return!e||Ls(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},Ss=function t(){return Ts&&requestAnimationFrame(t)},Ms=function(){return Gi=1},Cs=function(){return Gi=0},Ps=function(t){return t},Es=function(t){return Math.round(1e5*t)/1e5||0},As=function(){return"undefined"!=typeof window},Ds=function(){return Fi||As()&&(Fi=window.gsap)&&Fi.registerPlugin&&Fi},Rs=function(t){return!!~Ni.indexOf(t)},zs=function(t){return("Height"===t?fs:Ii["inner"+t])||Yi["client"+t]||Xi["client"+t]},Fs=function(t){return _i(t,"getBoundingClientRect")||(Rs(t)?function(){return Qo.width=Ii.innerWidth,Qo.height=fs,Qo}:function(){return ao(t)})},Bs=function(t,e){var r=e.s,n=e.d2,i=e.d,s=e.a;return Math.max(0,(r="scroll"+n)&&(s=_i(t,r))?s()-Fs(t)()[i]:Rs(t)?(Yi[r]||Xi[r])-zs(n):t[r]-t["offset"+n])},Is=function(t,e){for(var r=0;r<Ji.length;r+=3)(!e||~e.indexOf(Ji[r+1]))&&t(Ji[r],Ji[r+1],Ji[r+2])},Ls=function(t){return"string"==typeof t},Ys=function(t){return"function"==typeof t},Xs=function(t){return"number"==typeof t},Ns=function(t){return"object"==typeof t},Us=function(t,e,r){return t&&t.progress(e?0:1)&&r&&t.pause()},qs=function(t,e){if(t.enabled){var r=t._ctx?t._ctx.add((function(){return e(t)})):e(t);r&&r.totalTime&&(t.callbackAnimation=r)}},Vs=Math.abs,js="left",Hs="right",Ws="bottom",Gs="width",Qs="height",Zs="Right",$s="Left",Ks="Top",Js="Bottom",to="padding",eo="margin",ro="Width",no="Height",io="px",so=function(t){return Ii.getComputedStyle(t)},oo=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},ao=function(t,e){var r=e&&"matrix(1, 0, 0, 1, 0, 0)"!==so(t)[Qi]&&Fi.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=t.getBoundingClientRect();return r&&r.progress(0).kill(),n},uo=function(t,e){var r=e.d2;return t["offset"+r]||t["client"+r]||0},lo=function(t){var e,r=[],n=t.labels,i=t.duration();for(e in n)r.push(n[e]/i);return r},co=function(t){var e=Fi.utils.snap(t),r=Array.isArray(t)&&t.slice(0).sort((function(t,e){return t-e}));return r?function(t,n,i){var s;if(void 0===i&&(i=.001),!n)return e(t);if(n>0){for(t-=i,s=0;s<r.length;s++)if(r[s]>=t)return r[s];return r[s-1]}for(s=r.length,t+=i;s--;)if(r[s]<=t)return r[s];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var s=e(r);return!n||Math.abs(s-r)<i||s-r<0==n<0?s:e(n<0?r-t:r+t)}},fo=function(t,e,r,n){return r.split(",").forEach((function(r){return t(e,r,n)}))},ho=function(t,e,r,n,i){return t.addEventListener(e,r,{passive:!n,capture:!!i})},po=function(t,e,r,n){return t.removeEventListener(e,r,!!n)},go=function(t,e,r){(r=r&&r.wheelHandler)&&(t(e,"wheel",r),t(e,"touchmove",r))},mo={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},_o={toggleActions:"play",anticipatePin:0},vo={top:0,left:0,center:.5,bottom:1,right:1},yo=function(t,e){if(Ls(t)){var r=t.indexOf("="),n=~r?+(t.charAt(r-1)+1)*parseFloat(t.substr(r+1)):0;~r&&(t.indexOf("%")>r&&(n*=e/100),t=t.substr(0,r-1)),t=n+(t in vo?vo[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},wo=function(t,e,r,n,i,s,o,a){var u=i.startColor,l=i.endColor,c=i.fontSize,f=i.indent,h=i.fontWeight,p=Li.createElement("div"),d=Rs(r)||"fixed"===_i(r,"pinType"),g=-1!==t.indexOf("scroller"),m=d?Xi:r,_=-1!==t.indexOf("start"),v=_?u:l,y="border-color:"+v+";font-size:"+c+";color:"+v+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((g||a)&&d?"fixed;":"absolute;"),(g||a||!d)&&(y+=(n===Si?Hs:Ws)+":"+(s+parseFloat(f))+"px;"),o&&(y+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=_,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=y,p.innerText=e||0===e?t+"-"+e:t,m.children[0]?m.insertBefore(p,m.children[0]):m.appendChild(p),p._offset=p["offset"+n.op.d2],bo(p,0,n,_),p},bo=function(t,e,r,n){var i={display:"block"},s=r[n?"os2":"p2"],o=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+ro]=1,i["border"+o+ro]=0,i[r.p]=e+"px",Fi.set(t,i)},xo=[],To={},ko=function(){return ws()-xs>34&&(gs||(gs=requestAnimationFrame(Uo)))},Oo=function(){(!ns||!ns.isPressed||ns.startX>Xi.clientWidth)&&(pi.cache++,ns?gs||(gs=requestAnimationFrame(Uo)):Uo(),xs||Ao("scrollStart"),xs=ws())},So=function(){os=Ii.innerWidth,ss=Ii.innerHeight},Mo=function(){pi.cache++,!Wi&&!rs&&!Li.fullscreenElement&&!Li.webkitFullscreenElement&&(!is||os!==Ii.innerWidth||Math.abs(Ii.innerHeight-ss)>.25*Ii.innerHeight)&&Ui.restart(!0)},Co={},Po=[],Eo=function t(){return po(ra,"scrollEnd",t)||Yo(!0)},Ao=function(t){return Co[t]&&Co[t].map((function(t){return t()}))||Po},Do=[],Ro=function(t){for(var e=0;e<Do.length;e+=5)(!t||Do[e+4]&&Do[e+4].query===t)&&(Do[e].style.cssText=Do[e+1],Do[e].getBBox&&Do[e].setAttribute("transform",Do[e+2]||""),Do[e+3].uncache=1)},zo=function(t,e){var r;for(Zi=0;Zi<xo.length;Zi++)!(r=xo[Zi])||e&&r._ctx!==e||(t?r.kill(1):r.revert(!0,!0));hs=!0,e&&Ro(e),e||Ao("revert")},Fo=function(t,e){pi.cache++,(e||!ms)&&pi.forEach((function(t){return Ys(t)&&t.cacheID++&&(t.rec=0)})),Ls(t)&&(Ii.history.scrollRestoration=ls=t)},Bo=0,Io=function(){Xi.appendChild(cs),fs=!ns&&cs.offsetHeight||Ii.innerHeight,Xi.removeChild(cs)},Lo=function(t){return qi(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach((function(e){return e.style.display=t?"none":"block"}))},Yo=function(t,e){if(!xs||t||hs){Io(),ms=ra.isRefreshing=!0,pi.forEach((function(t){return Ys(t)&&++t.cacheID&&(t.rec=t())}));var r=Ao("refreshInit");ts&&ra.sort(),e||zo(),pi.forEach((function(t){Ys(t)&&(t.smooth&&(t.target.style.scrollBehavior="auto"),t(0))})),xo.slice(0).forEach((function(t){return t.refresh()})),hs=!1,xo.forEach((function(t){if(t._subPinOffset&&t.pin){var e=t.vars.horizontal?"offsetWidth":"offsetHeight",r=t.pin[e];t.revert(!0,1),t.adjustPinSpacing(t.pin[e]-r),t.refresh()}})),ps=1,Lo(!0),xo.forEach((function(t){var e=Bs(t.scroller,t._dir),r="max"===t.vars.end||t._endClamp&&t.end>e,n=t._startClamp&&t.start>=e;(r||n)&&t.setPositions(n?e-1:t.start,r?Math.max(n?e:t.start+1,e):t.end,!0)})),Lo(!1),ps=0,r.forEach((function(t){return t&&t.render&&t.render(-1)})),pi.forEach((function(t){Ys(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),Fo(ls,1),Ui.pause(),Bo++,ms=2,Uo(2),xo.forEach((function(t){return Ys(t.vars.onRefresh)&&t.vars.onRefresh(t)})),ms=ra.isRefreshing=!1,Ao("refresh")}else ho(ra,"scrollEnd",Eo)},Xo=0,No=1,Uo=function(t){if(2===t||!ms&&!hs){ra.isUpdating=!0,vs&&vs.update(0);var e=xo.length,r=ws(),n=r-bs>=50,i=e&&xo[0].scroll();if(No=Xo>i?-1:1,ms||(Xo=i),n&&(xs&&!Gi&&r-xs>200&&(xs=0,Ao("scrollEnd")),ji=bs,bs=r),No<0){for(Zi=e;Zi-- >0;)xo[Zi]&&xo[Zi].update(0,n);No=1}else for(Zi=0;Zi<e;Zi++)xo[Zi]&&xo[Zi].update(0,n);ra.isUpdating=!1}gs=0},qo=[js,"top",Ws,Hs,eo+Js,eo+Zs,eo+Ks,eo+$s,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Vo=qo.concat([Gs,Qs,"boxSizing","max"+ro,"max"+no,"position",eo,to,to+Ks,to+Zs,to+Js,to+$s]),jo=function(t,e,r,n){if(!t._gsap.swappedIn){for(var i,s=qo.length,o=e.style,a=t.style;s--;)o[i=qo[s]]=r[i];o.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(o.display="inline-block"),a[Ws]=a[Hs]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[Gs]=uo(t,Oi)+io,o[Qs]=uo(t,Si)+io,o[to]=a[eo]=a.top=a[js]="0",Wo(n),a[Gs]=a["max"+ro]=r[Gs],a[Qs]=a["max"+no]=r[Qs],a[to]=r[to],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},Ho=/([A-Z])/g,Wo=function(t){if(t){var e,r,n=t.t.style,i=t.length,s=0;for((t.t._gsap||Fi.core.getCache(t.t)).uncache=1;s<i;s+=2)r=t[s+1],e=t[s],r?n[e]=r:n[e]&&n.removeProperty(e.replace(Ho,"-$1").toLowerCase())}},Go=function(t){for(var e=Vo.length,r=t.style,n=[],i=0;i<e;i++)n.push(Vo[i],r[Vo[i]]);return n.t=t,n},Qo={left:0,top:0},Zo=function(t,e,r,n,i,s,o,a,u,l,c,f,h,p){Ys(t)&&(t=t(a)),Ls(t)&&"max"===t.substr(0,3)&&(t=f+("="===t.charAt(4)?yo("0"+t.substr(3),r):0));var d,g,m,_=h?h.time():0;if(h&&h.seek(0),isNaN(t)||(t=+t),Xs(t))h&&(t=Fi.utils.mapRange(h.scrollTrigger.start,h.scrollTrigger.end,0,f,t)),o&&bo(o,r,n,!0);else{Ys(e)&&(e=e(a));var v,y,w,b,x=(t||"0").split(" ");m=Mi(e,a)||Xi,(v=ao(m)||{})&&(v.left||v.top)||"none"!==so(m).display||(b=m.style.display,m.style.display="block",v=ao(m),b?m.style.display=b:m.style.removeProperty("display")),y=yo(x[0],v[n.d]),w=yo(x[1]||"0",r),t=v[n.p]-u[n.p]-l+y+i-w,o&&bo(o,w,n,r-w<20||o._isStart&&w>20),r-=r-w}if(p&&(a[p]=t||-.001,t<0&&(t=0)),s){var T=t+r,k=s._isStart;d="scroll"+n.d2,bo(s,T,n,k&&T>20||!k&&(c?Math.max(Xi[d],Yi[d]):s.parentNode[d])<=T+1),c&&(u=ao(o),c&&(s.style[n.op.p]=u[n.op.p]-n.op.m-s._offset+io))}return h&&m&&(d=ao(m),h.seek(f),g=ao(m),h._caScrollDist=d[n.p]-g[n.p],t=t/h._caScrollDist*f),h&&h.seek(_),h?t:Math.round(t)},$o=/(webkit|moz|length|cssText|inset)/i,Ko=function(t,e,r,n){if(t.parentNode!==e){var i,s,o=t.style;if(e===Xi){for(i in t._stOrig=o.cssText,s=so(t))+i||$o.test(i)||!s[i]||"string"!=typeof o[i]||"0"===i||(o[i]=s[i]);o.top=r,o.left=n}else o.cssText=t._stOrig;Fi.core.getCache(t).uncache=1,e.appendChild(t)}},Jo=function(t,e,r){var n=e,i=n;return function(e){var s=Math.round(t());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(e=s,r&&r()),i=n,n=e,e}},ta=function(t,e,r){var n={};n[e.p]="+="+r,Fi.set(t,n)},ea=function(t,e){var r=Ci(t,e),n="_scroll"+e.p2,i=function e(i,s,o,a,u){var l=e.tween,c=s.onComplete,f={};o=o||r();var h=Jo(r,o,(function(){l.kill(),e.tween=0}));return u=a&&u||0,a=a||i-o,l&&l.kill(),s[n]=i,s.inherit=!1,s.modifiers=f,f[n]=function(){return h(o+a*l.ratio+u*l.ratio*l.ratio)},s.onUpdate=function(){pi.cache++,e.tween&&Uo()},s.onComplete=function(){e.tween=0,c&&c.call(l)},l=e.tween=Fi.to(t,s)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},ho(t,"wheel",r.wheelHandler),ra.isTouch&&ho(t,"touchmove",r.wheelHandler),i},ra=function(){function t(e,r){Bi||t.register(Fi)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),us(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Ts){var n,i,s,o,a,u,l,c,f,h,p,d,g,m,_,v,y,w,b,x,T,k,O,S,M,C,P,E,A,D,R,z,F,B,I,L,Y,X,N,U,q,V,j=e=oo(Ls(e)||Xs(e)||e.nodeType?{trigger:e}:e,_o),H=j.onUpdate,W=j.toggleClass,G=j.id,Q=j.onToggle,Z=j.onRefresh,$=j.scrub,K=j.trigger,J=j.pin,tt=j.pinSpacing,et=j.invalidateOnRefresh,rt=j.anticipatePin,nt=j.onScrubComplete,it=j.onSnapComplete,st=j.once,ot=j.snap,at=j.pinReparent,ut=j.pinSpacer,lt=j.containerAnimation,ct=j.fastScrollEnd,ft=j.preventOverlaps,ht=e.horizontal||e.containerAnimation&&!1!==e.horizontal?Oi:Si,pt=!$&&0!==$,dt=Mi(e.scroller||Ii),gt=Fi.core.getCache(dt),mt=Rs(dt),_t="fixed"===("pinType"in e?e.pinType:_i(dt,"pinType")||mt&&"fixed"),vt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],yt=pt&&e.toggleActions.split(" "),wt="markers"in e?e.markers:_o.markers,bt=mt?0:parseFloat(so(dt)["border"+ht.p2+ro])||0,xt=this,Tt=e.onRefreshInit&&function(){return e.onRefreshInit(xt)},kt=function(t,e,r){var n=r.d,i=r.d2,s=r.a;return(s=_i(t,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(e?zs(i):t["client"+i])||0}}(dt,mt,ht),Ot=function(t,e){return!e||~di.indexOf(t)?Fs(t):function(){return Qo}}(dt,mt),St=0,Mt=0,Ct=0,Pt=Ci(dt,ht);if(xt._startClamp=xt._endClamp=!1,xt._dir=ht,rt*=45,xt.scroller=dt,xt.scroll=lt?lt.time.bind(lt):Pt,o=Pt(),xt.vars=e,r=r||e.animation,"refreshPriority"in e&&(ts=1,-9999===e.refreshPriority&&(vs=xt)),gt.tweenScroll=gt.tweenScroll||{top:ea(dt,Si),left:ea(dt,Oi)},xt.tweenTo=n=gt.tweenScroll[ht.p],xt.scrubDuration=function(t){(F=Xs(t)&&t)?z?z.duration(t):z=Fi.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:F,paused:!0,onComplete:function(){return nt&&nt(xt)}}):(z&&z.progress(1).kill(),z=0)},r&&(r.vars.lazy=!1,r._initted&&!xt.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),xt.animation=r.pause(),r.scrollTrigger=xt,xt.scrubDuration($),D=0,G||(G=r.vars.id)),ot&&(Ns(ot)&&!ot.push||(ot={snapTo:ot}),"scrollBehavior"in Xi.style&&Fi.set(mt?[Xi,Yi]:dt,{scrollBehavior:"auto"}),pi.forEach((function(t){return Ys(t)&&t.target===(mt?Li.scrollingElement||Yi:dt)&&(t.smooth=!1)})),s=Ys(ot.snapTo)?ot.snapTo:"labels"===ot.snapTo?function(t){return function(e){return Fi.utils.snap(lo(t),e)}}(r):"labelsDirectional"===ot.snapTo?(U=r,function(t,e){return co(lo(U))(t,e.direction)}):!1!==ot.directional?function(t,e){return co(ot.snapTo)(t,ws()-Mt<500?0:e.direction)}:Fi.utils.snap(ot.snapTo),B=ot.duration||{min:.1,max:2},B=Ns(B)?Vi(B.min,B.max):Vi(B,B),I=Fi.delayedCall(ot.delay||F/2||.1,(function(){var t=Pt(),e=ws()-Mt<500,i=n.tween;if(!(e||Math.abs(xt.getVelocity())<10)||i||Gi||St===t)xt.isActive&&St!==t&&I.restart(!0);else{var o,a,c=(t-u)/m,f=r&&!pt?r.totalProgress():c,h=e?0:(f-R)/(ws()-ji)*1e3||0,p=Fi.utils.clamp(-c,1-c,Vs(h/2)*h/.185),d=c+(!1===ot.inertia?0:p),g=ot,_=g.onStart,v=g.onInterrupt,y=g.onComplete;if(o=s(d,xt),Xs(o)||(o=d),a=Math.round(u+o*m),t<=l&&t>=u&&a!==t){if(i&&!i._initted&&i.data<=Vs(a-t))return;!1===ot.inertia&&(p=o-c),n(a,{duration:B(Vs(.185*Math.max(Vs(d-f),Vs(o-f))/h/.05||0)),ease:ot.ease||"power3",data:Vs(a-t),onInterrupt:function(){return I.restart(!0)&&v&&v(xt)},onComplete:function(){xt.update(),St=Pt(),r&&(z?z.resetTo("totalProgress",o,r._tTime/r._tDur):r.progress(o)),D=R=r&&!pt?r.totalProgress():xt.progress,it&&it(xt),y&&y(xt)}},t,p*m,a-t-p*m),_&&_(xt,n.tween)}}})).pause()),G&&(To[G]=xt),(N=(K=xt.trigger=Mi(K||!0!==J&&J))&&K._gsap&&K._gsap.stRevert)&&(N=N(xt)),J=!0===J?K:Mi(J),Ls(W)&&(W={targets:K,className:W}),J&&(!1===tt||tt===eo||(tt=!(!tt&&J.parentNode&&J.parentNode.style&&"flex"===so(J.parentNode).display)&&to),xt.pin=J,(i=Fi.core.getCache(J)).spacer?_=i.pinState:(ut&&((ut=Mi(ut))&&!ut.nodeType&&(ut=ut.current||ut.nativeElement),i.spacerIsNative=!!ut,ut&&(i.spacerState=Go(ut))),i.spacer=w=ut||Li.createElement("div"),w.classList.add("pin-spacer"),G&&w.classList.add("pin-spacer-"+G),i.pinState=_=Go(J)),!1!==e.force3D&&Fi.set(J,{force3D:!0}),xt.spacer=w=i.spacer,A=so(J),S=A[tt+ht.os2],x=Fi.getProperty(J),T=Fi.quickSetter(J,ht.a,io),jo(J,w,A),y=Go(J)),wt){d=Ns(wt)?oo(wt,mo):mo,h=wo("scroller-start",G,dt,ht,d,0),p=wo("scroller-end",G,dt,ht,d,0,h),b=h["offset"+ht.op.d2];var Et=Mi(_i(dt,"content")||dt);c=this.markerStart=wo("start",G,Et,ht,d,b,0,lt),f=this.markerEnd=wo("end",G,Et,ht,d,b,0,lt),lt&&(X=Fi.quickSetter([c,f],ht.a,io)),_t||di.length&&!0===_i(dt,"fixedMarkers")||(V=so(q=mt?Xi:dt).position,q.style.position="absolute"===V||"fixed"===V?V:"relative",Fi.set([h,p],{force3D:!0}),C=Fi.quickSetter(h,ht.a,io),E=Fi.quickSetter(p,ht.a,io))}if(lt){var At=lt.vars.onUpdate,Dt=lt.vars.onUpdateParams;lt.eventCallback("onUpdate",(function(){xt.update(0,0,1),At&&At.apply(lt,Dt||[])}))}if(xt.previous=function(){return xo[xo.indexOf(xt)-1]},xt.next=function(){return xo[xo.indexOf(xt)+1]},xt.revert=function(t,e){if(!e)return xt.kill(!0);var n=!1!==t||!xt.enabled,i=Wi;n!==xt.isReverted&&(n&&(L=Math.max(Pt(),xt.scroll.rec||0),Ct=xt.progress,Y=r&&r.progress()),c&&[c,f,h,p].forEach((function(t){return t.style.display=n?"none":"block"})),n&&(Wi=xt,xt.update(n)),!J||at&&xt.isActive||(n?function(t,e,r){Wo(r);var n=t._gsap;if(n.spacerIsNative)Wo(n.spacerState);else if(t._gsap.swappedIn){var i=e.parentNode;i&&(i.insertBefore(t,e),i.removeChild(e))}t._gsap.swappedIn=!1}(J,w,_):jo(J,w,so(J),M)),n||xt.update(n),Wi=i,xt.isReverted=n)},xt.refresh=function(i,s,d,b){if(!Wi&&xt.enabled||s)if(J&&i&&xs)ho(t,"scrollEnd",Eo);else{!ms&&Tt&&Tt(xt),Wi=xt,n.tween&&!d&&(n.tween.kill(),n.tween=0),z&&z.pause(),et&&r&&r.revert({kill:!1}).invalidate(),xt.isReverted||xt.revert(!0,!0),xt._subPinOffset=!1;var T,S,C,E,A,D,R,F,B,X,N,U,q,V=kt(),j=Ot(),H=lt?lt.duration():Bs(dt,ht),W=m<=.01,G=0,Q=b||0,$=Ns(d)?d.end:e.end,rt=e.endTrigger||K,nt=Ns(d)?d.start:e.start||(0!==e.start&&K?J?"0 0":"0 100%":0),it=xt.pinnedContainer=e.pinnedContainer&&Mi(e.pinnedContainer,xt),st=K&&Math.max(0,xo.indexOf(xt))||0,ot=st;for(wt&&Ns(d)&&(U=Fi.getProperty(h,ht.p),q=Fi.getProperty(p,ht.p));ot--;)(D=xo[ot]).end||D.refresh(0,1)||(Wi=xt),!(R=D.pin)||R!==K&&R!==J&&R!==it||D.isReverted||(X||(X=[]),X.unshift(D),D.revert(!0,!0)),D!==xo[ot]&&(st--,ot--);for(Ys(nt)&&(nt=nt(xt)),nt=ks(nt,"start",xt),u=Zo(nt,K,V,ht,Pt(),c,h,xt,j,bt,_t,H,lt,xt._startClamp&&"_startClamp")||(J?-.001:0),Ys($)&&($=$(xt)),Ls($)&&!$.indexOf("+=")&&(~$.indexOf(" ")?$=(Ls(nt)?nt.split(" ")[0]:"")+$:(G=yo($.substr(2),V),$=Ls(nt)?nt:(lt?Fi.utils.mapRange(0,lt.duration(),lt.scrollTrigger.start,lt.scrollTrigger.end,u):u)+G,rt=K)),$=ks($,"end",xt),l=Math.max(u,Zo($||(rt?"100% 0":H),rt,V,ht,Pt()+G,f,p,xt,j,bt,_t,H,lt,xt._endClamp&&"_endClamp"))||-.001,G=0,ot=st;ot--;)(R=(D=xo[ot]).pin)&&D.start-D._pinPush<=u&&!lt&&D.end>0&&(T=D.end-(xt._startClamp?Math.max(0,D.start):D.start),(R===K&&D.start-D._pinPush<u||R===it)&&isNaN(nt)&&(G+=T*(1-D.progress)),R===J&&(Q+=T));if(u+=G,l+=G,xt._startClamp&&(xt._startClamp+=G),xt._endClamp&&!ms&&(xt._endClamp=l||-.001,l=Math.min(l,Bs(dt,ht))),m=l-u||(u-=.01)&&.001,W&&(Ct=Fi.utils.clamp(0,1,Fi.utils.normalize(u,l,L))),xt._pinPush=Q,c&&G&&((T={})[ht.a]="+="+G,it&&(T[ht.p]="-="+Pt()),Fi.set([c,f],T)),!J||ps&&xt.end>=Bs(dt,ht)){if(K&&Pt()&&!lt)for(S=K.parentNode;S&&S!==Xi;)S._pinOffset&&(u-=S._pinOffset,l-=S._pinOffset),S=S.parentNode}else T=so(J),E=ht===Si,C=Pt(),k=parseFloat(x(ht.a))+Q,!H&&l>1&&(N={style:N=(mt?Li.scrollingElement||Yi:dt).style,value:N["overflow"+ht.a.toUpperCase()]},mt&&"scroll"!==so(Xi)["overflow"+ht.a.toUpperCase()]&&(N.style["overflow"+ht.a.toUpperCase()]="scroll")),jo(J,w,T),y=Go(J),S=ao(J,!0),F=_t&&Ci(dt,E?Oi:Si)(),tt?((M=[tt+ht.os2,m+Q+io]).t=w,(ot=tt===to?uo(J,ht)+m+Q:0)&&(M.push(ht.d,ot+io),"auto"!==w.style.flexBasis&&(w.style.flexBasis=ot+io)),Wo(M),it&&xo.forEach((function(t){t.pin===it&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),_t&&Pt(L)):(ot=uo(J,ht))&&"auto"!==w.style.flexBasis&&(w.style.flexBasis=ot+io),_t&&((A={top:S.top+(E?C-u:F)+io,left:S.left+(E?F:C-u)+io,boxSizing:"border-box",position:"fixed"})[Gs]=A["max"+ro]=Math.ceil(S.width)+io,A[Qs]=A["max"+no]=Math.ceil(S.height)+io,A[eo]=A[eo+Ks]=A[eo+Zs]=A[eo+Js]=A[eo+$s]="0",A[to]=T[to],A[to+Ks]=T[to+Ks],A[to+Zs]=T[to+Zs],A[to+Js]=T[to+Js],A[to+$s]=T[to+$s],v=function(t,e,r){for(var n,i=[],s=t.length,o=r?8:0;o<s;o+=2)n=t[o],i.push(n,n in e?e[n]:t[o+1]);return i.t=t.t,i}(_,A,at),ms&&Pt(0)),r?(B=r._initted,es(1),r.render(r.duration(),!0,!0),O=x(ht.a)-k+m+Q,P=Math.abs(m-O)>1,_t&&P&&v.splice(v.length-2,2),r.render(0,!0,!0),B||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),es(0)):O=m,N&&(N.value?N.style["overflow"+ht.a.toUpperCase()]=N.value:N.style.removeProperty("overflow-"+ht.a));X&&X.forEach((function(t){return t.revert(!1,!0)})),xt.start=u,xt.end=l,o=a=ms?L:Pt(),lt||ms||(o<L&&Pt(L),xt.scroll.rec=0),xt.revert(!1,!0),Mt=ws(),I&&(St=-1,I.restart(!0)),Wi=0,r&&pt&&(r._initted||Y)&&r.progress()!==Y&&r.progress(Y||0,!0).render(r.time(),!0,!0),(W||Ct!==xt.progress||lt||et)&&(r&&!pt&&r.totalProgress(lt&&u<-.001&&!Ct?Fi.utils.normalize(u,l,0):Ct,!0),xt.progress=W||(o-u)/m===Ct?0:Ct),J&&tt&&(w._pinOffset=Math.round(xt.progress*O)),z&&z.invalidate(),isNaN(U)||(U-=Fi.getProperty(h,ht.p),q-=Fi.getProperty(p,ht.p),ta(h,ht,U),ta(c,ht,U-(b||0)),ta(p,ht,q),ta(f,ht,q-(b||0))),W&&!ms&&xt.update(),!Z||ms||g||(g=!0,Z(xt),g=!1)}},xt.getVelocity=function(){return(Pt()-a)/(ws()-ji)*1e3||0},xt.endAnimation=function(){Us(xt.callbackAnimation),r&&(z?z.progress(1):r.paused()?pt||Us(r,xt.direction<0,1):Us(r,r.reversed()))},xt.labelToScroll=function(t){return r&&r.labels&&(u||xt.refresh()||u)+r.labels[t]/r.duration()*m||0},xt.getTrailing=function(t){var e=xo.indexOf(xt),r=xt.direction>0?xo.slice(0,e).reverse():xo.slice(e+1);return(Ls(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return xt.direction>0?t.end<=u:t.start>=l}))},xt.update=function(t,e,i){if(!lt||i||t){var s,c,f,p,d,g,_,b=!0===ms?L:xt.scroll(),x=t?0:(b-u)/m,M=x<0?0:x>1?1:x||0,A=xt.progress;if(e&&(a=o,o=lt?Pt():b,ot&&(R=D,D=r&&!pt?r.totalProgress():M)),rt&&J&&!Wi&&!ys&&xs&&(!M&&u<b+(b-a)/(ws()-ji)*rt?M=1e-4:1===M&&l>b+(b-a)/(ws()-ji)*rt&&(M=.9999)),M!==A&&xt.enabled){if(p=(d=(s=xt.isActive=!!M&&M<1)!=(!!A&&A<1))||!!M!=!!A,xt.direction=M>A?1:-1,xt.progress=M,p&&!Wi&&(c=M&&!A?0:1===M?1:1===A?2:3,pt&&(f=!d&&"none"!==yt[c+1]&&yt[c+1]||yt[c],_=r&&("complete"===f||"reset"===f||f in r))),ft&&(d||_)&&(_||$||!r)&&(Ys(ft)?ft(xt):xt.getTrailing(ft).forEach((function(t){return t.endAnimation()}))),pt||(!z||Wi||ys?r&&r.totalProgress(M,!(!Wi||!Mt&&!t)):(z._dp._time-z._start!==z._time&&z.render(z._dp._time-z._start),z.resetTo?z.resetTo("totalProgress",M,r._tTime/r._tDur):(z.vars.totalProgress=M,z.invalidate().restart()))),J)if(t&&tt&&(w.style[tt+ht.os2]=S),_t){if(p){if(g=!t&&M>A&&l+1>b&&b+1>=Bs(dt,ht),at)if(t||!s&&!g)Ko(J,w);else{var F=ao(J,!0),B=b-u;Ko(J,Xi,F.top+(ht===Si?B:0)+io,F.left+(ht===Si?0:B)+io)}Wo(s||g?v:y),P&&M<1&&s||T(k+(1!==M||g?0:O))}}else T(Es(k+O*M));ot&&!n.tween&&!Wi&&!ys&&I.restart(!0),W&&(d||st&&M&&(M<1||!ds))&&qi(W.targets).forEach((function(t){return t.classList[s||st?"add":"remove"](W.className)})),H&&!pt&&!t&&H(xt),p&&!Wi?(pt&&(_&&("complete"===f?r.pause().totalProgress(1):"reset"===f?r.restart(!0).pause():"restart"===f?r.restart(!0):r[f]()),H&&H(xt)),!d&&ds||(Q&&d&&qs(xt,Q),vt[c]&&qs(xt,vt[c]),st&&(1===M?xt.kill(!1,1):vt[c]=0),d||vt[c=1===M?1:3]&&qs(xt,vt[c])),ct&&!s&&Math.abs(xt.getVelocity())>(Xs(ct)?ct:2500)&&(Us(xt.callbackAnimation),z?z.progress(1):Us(r,"reverse"===f?1:!M,1))):pt&&H&&!Wi&&H(xt)}if(E){var Y=lt?b/lt.duration()*(lt._caScrollDist||0):b;C(Y+(h._isFlipped?1:0)),E(Y)}X&&X(-b/lt.duration()*(lt._caScrollDist||0))}},xt.enable=function(e,r){xt.enabled||(xt.enabled=!0,ho(dt,"resize",Mo),mt||ho(dt,"scroll",Oo),Tt&&ho(t,"refreshInit",Tt),!1!==e&&(xt.progress=Ct=0,o=a=St=Pt()),!1!==r&&xt.refresh())},xt.getTween=function(t){return t&&n?n.tween:z},xt.setPositions=function(t,e,r,n){if(lt){var i=lt.scrollTrigger,s=lt.duration(),o=i.end-i.start;t=i.start+o*t/s,e=i.start+o*e/s}xt.refresh(!1,!1,{start:Os(t,r&&!!xt._startClamp),end:Os(e,r&&!!xt._endClamp)},n),xt.update()},xt.adjustPinSpacing=function(t){if(M&&t){var e=M.indexOf(ht.d)+1;M[e]=parseFloat(M[e])+t+io,M[1]=parseFloat(M[1])+t+io,Wo(M)}},xt.disable=function(e,r){if(xt.enabled&&(!1!==e&&xt.revert(!0,!0),xt.enabled=xt.isActive=!1,r||z&&z.pause(),L=0,i&&(i.uncache=1),Tt&&po(t,"refreshInit",Tt),I&&(I.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!mt)){for(var s=xo.length;s--;)if(xo[s].scroller===dt&&xo[s]!==xt)return;po(dt,"resize",Mo),mt||po(dt,"scroll",Oo)}},xt.kill=function(t,n){xt.disable(t,n),z&&!n&&z.kill(),G&&delete To[G];var s=xo.indexOf(xt);s>=0&&xo.splice(s,1),s===Zi&&No>0&&Zi--,s=0,xo.forEach((function(t){return t.scroller===xt.scroller&&(s=1)})),s||ms||(xt.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),c&&[c,f,h,p].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),vs===xt&&(vs=0),J&&(i&&(i.uncache=1),s=0,xo.forEach((function(t){return t.pin===J&&s++})),s||(i.spacer=0)),e.onKill&&e.onKill(xt)},xo.push(xt),xt.enable(!1,!1),N&&N(xt),r&&r.add&&!m){var Rt=xt.update;xt.update=function(){xt.update=Rt,u||l||xt.refresh()},Fi.delayedCall(.01,xt.update),m=.01,u=l=0}else xt.refresh();J&&function(){if(_s!==Bo){var t=_s=Bo;requestAnimationFrame((function(){return t===Bo&&Yo(!0)}))}}()}else this.update=this.refresh=this.kill=Ps},t.register=function(e){return Bi||(Fi=e||Ds(),As()&&window.document&&t.enable(),Bi=Ts),Bi},t.defaults=function(t){if(t)for(var e in t)_o[e]=t[e];return _o},t.disable=function(t,e){Ts=0,xo.forEach((function(r){return r[e?"kill":"disable"](t)})),po(Ii,"wheel",Oo),po(Li,"scroll",Oo),clearInterval(Hi),po(Li,"touchcancel",Ps),po(Xi,"touchstart",Ps),fo(po,Li,"pointerdown,touchstart,mousedown",Ms),fo(po,Li,"pointerup,touchend,mouseup",Cs),Ui.kill(),Is(po);for(var r=0;r<pi.length;r+=3)go(po,pi[r],pi[r+1]),go(po,pi[r],pi[r+2])},t.enable=function(){if(Ii=window,Li=document,Yi=Li.documentElement,Xi=Li.body,Fi&&(qi=Fi.utils.toArray,Vi=Fi.utils.clamp,us=Fi.core.context||Ps,es=Fi.core.suppressOverwrites||Ps,ls=Ii.history.scrollRestoration||"auto",Xo=Ii.pageYOffset,Fi.core.globals("ScrollTrigger",t),Xi)){Ts=1,(cs=document.createElement("div")).style.height="100vh",cs.style.position="absolute",Io(),Ss(),zi.register(Fi),t.isTouch=zi.isTouch,as=zi.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),is=1===zi.isTouch,ho(Ii,"wheel",Oo),Ni=[Ii,Li,Yi,Xi],Fi.matchMedia?(t.matchMedia=function(t){var e,r=Fi.matchMedia();for(e in t)r.add(e,t[e]);return r},Fi.addEventListener("matchMediaInit",(function(){return zo()})),Fi.addEventListener("matchMediaRevert",(function(){return Ro()})),Fi.addEventListener("matchMedia",(function(){Yo(0,1),Ao("matchMedia")})),Fi.matchMedia("(orientation: portrait)",(function(){return So(),So}))):console.warn("Requires GSAP 3.11.0 or later"),So(),ho(Li,"scroll",Oo);var e,r,n=Xi.style,i=n.borderTopStyle,s=Fi.core.Animation.prototype;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",e=ao(Xi),Si.m=Math.round(e.top+Si.sc())||0,Oi.m=Math.round(e.left+Oi.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),Hi=setInterval(ko,250),Fi.delayedCall(.5,(function(){return ys=0})),ho(Li,"touchcancel",Ps),ho(Xi,"touchstart",Ps),fo(ho,Li,"pointerdown,touchstart,mousedown",Ms),fo(ho,Li,"pointerup,touchend,mouseup",Cs),Qi=Fi.utils.checkPrefix("transform"),Vo.push(Qi),Bi=ws(),Ui=Fi.delayedCall(.2,Yo).pause(),Ji=[Li,"visibilitychange",function(){var t=Ii.innerWidth,e=Ii.innerHeight;Li.hidden?($i=t,Ki=e):$i===t&&Ki===e||Mo()},Li,"DOMContentLoaded",Yo,Ii,"load",Yo,Ii,"resize",Mo],Is(ho),xo.forEach((function(t){return t.enable(0,1)})),r=0;r<pi.length;r+=3)go(po,pi[r],pi[r+1]),go(po,pi[r],pi[r+2])}},t.config=function(e){"limitCallbacks"in e&&(ds=!!e.limitCallbacks);var r=e.syncInterval;r&&clearInterval(Hi)||(Hi=r)&&setInterval(ko,r),"ignoreMobileResize"in e&&(is=1===t.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(Is(po)||Is(ho,e.autoRefreshEvents||"none"),rs=-1===(e.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var r=Mi(t),n=pi.indexOf(r),i=Rs(r);~n&&pi.splice(n,i?6:2),e&&(i?di.unshift(Ii,e,Xi,e,Yi,e):di.unshift(r,e))},t.clearMatchMedia=function(t){xo.forEach((function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)}))},t.isInViewport=function(t,e,r){var n=(Ls(t)?Mi(t):t).getBoundingClientRect(),i=n[r?Gs:Qs]*e||0;return r?n.right-i>0&&n.left+i<Ii.innerWidth:n.bottom-i>0&&n.top+i<Ii.innerHeight},t.positionInViewport=function(t,e,r){Ls(t)&&(t=Mi(t));var n=t.getBoundingClientRect(),i=n[r?Gs:Qs],s=null==e?i/2:e in vo?vo[e]*i:~e.indexOf("%")?parseFloat(e)*i/100:parseFloat(e)||0;return r?(n.left+s)/Ii.innerWidth:(n.top+s)/Ii.innerHeight},t.killAll=function(t){if(xo.slice(0).forEach((function(t){return"ScrollSmoother"!==t.vars.id&&t.kill()})),!0!==t){var e=Co.killAll||[];Co={},e.forEach((function(t){return t()}))}},t}();ra.version="3.12.5",ra.saveStyles=function(t){return t?qi(t).forEach((function(t){if(t&&t.style){var e=Do.indexOf(t);e>=0&&Do.splice(e,5),Do.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Fi.core.getCache(t),us())}})):Do},ra.revert=function(t,e){return zo(!t,e)},ra.create=function(t,e){return new ra(t,e)},ra.refresh=function(t){return t?Mo():(Bi||ra.register())&&Yo(!0)},ra.update=function(t){return++pi.cache&&Uo(!0===t?2:0)},ra.clearScrollMemory=Fo,ra.maxScroll=function(t,e){return Bs(t,e?Oi:Si)},ra.getScrollFunc=function(t,e){return Ci(Mi(t),e?Oi:Si)},ra.getById=function(t){return To[t]},ra.getAll=function(){return xo.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},ra.isScrolling=function(){return!!xs},ra.snapDirectional=co,ra.addEventListener=function(t,e){var r=Co[t]||(Co[t]=[]);~r.indexOf(e)||r.push(e)},ra.removeEventListener=function(t,e){var r=Co[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},ra.batch=function(t,e){var r,n=[],i={},s=e.interval||.016,o=e.batchMax||1e9,a=function(t,e){var r=[],n=[],i=Fi.delayedCall(s,(function(){e(r,n),r=[],n=[]})).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),o<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&Ys(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return Ys(o)&&(o=o(),ho(ra,"refresh",(function(){return o=e.batchMax()}))),qi(t).forEach((function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(ra.create(e))})),n};var na,ia=function(t,e,r,n){return e>n?t(n):e<0&&t(0),r>n?(n-e)/(r-e):r<0?e/(e-r):1},sa=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(zi.isTouch?" pinch-zoom":""):"none",e===Yi&&t(Xi,r)},oa={auto:1,scroll:1},aa=function(t){var e,r=t.event,n=t.target,i=t.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,o=s._gsap||Fi.core.getCache(s),a=ws();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==Xi&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!oa[(e=so(s)).overflowY]&&!oa[e.overflowX]);)s=s.parentNode;o._isScroll=s&&s!==n&&!Rs(s)&&(oa[(e=so(s)).overflowY]||oa[e.overflowX]),o._isScrollT=a}(o._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},ua=function(t,e,r,n){return zi.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&aa,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&ho(Li,zi.eventTypes[0],ca,!1,!0)},onDisable:function(){return po(Li,zi.eventTypes[0],ca,!0)}})},la=/(input|label|select|textarea)/i,ca=function(t){var e=la.test(t.target.tagName);(e||na)&&(t._gsapAllow=!0,na=e)};ra.sort=function(t){return xo.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},ra.observe=function(t){return new zi(t)},ra.normalizeScroll=function(t){if(void 0===t)return ns;if(!0===t&&ns)return ns.enable();if(!1===t)return ns&&ns.kill(),void(ns=t);var e=t instanceof zi?t:function(t){Ns(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,r,n,i,s,o,a,u,l=t,c=l.normalizeScrollX,f=l.momentum,h=l.allowNestedScroll,p=l.onRelease,d=Mi(t.target)||Yi,g=Fi.core.globals().ScrollSmoother,m=g&&g.get(),_=as&&(t.content&&Mi(t.content)||m&&!1!==t.content&&!m.smooth()&&m.content()),v=Ci(d,Si),y=Ci(d,Oi),w=1,b=(zi.isTouch&&Ii.visualViewport?Ii.visualViewport.scale*Ii.visualViewport.width:Ii.outerWidth)/Ii.innerWidth,x=0,T=Ys(f)?function(){return f(e)}:function(){return f||2.8},k=ua(d,t.type,!0,h),O=function(){return i=!1},S=Ps,M=Ps,C=function(){r=Bs(d,Si),M=Vi(as?1:0,r),c&&(S=Vi(0,Bs(d,Oi))),n=Bo},P=function(){_._gsap.y=Es(parseFloat(_._gsap.y)+v.offset)+"px",_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(_._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},E=function(){C(),s.isActive()&&s.vars.scrollY>r&&(v()>r?s.progress(1)&&v(r):s.resetTo("scrollY",r))};return _&&Fi.set(_,{y:"+=0"}),t.ignoreCheck=function(t){return as&&"touchmove"===t.type&&function(){if(i){requestAnimationFrame(O);var t=Es(e.deltaY/2),r=M(v.v-t);if(_&&r!==v.v+v.offset){v.offset=r-v.v;var n=Es((parseFloat(_&&_._gsap.y)||0)-v.offset);_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",_._gsap.y=n+"px",v.cacheID=pi.cache,Uo()}return!0}v.offset&&P(),i=!0}()||w>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=w;w=Es((Ii.visualViewport&&Ii.visualViewport.scale||1)/b),s.pause(),t!==w&&sa(d,w>1.01||!c&&"x"),o=y(),a=v(),C(),n=Bo},t.onRelease=t.onGestureStart=function(t,e){if(v.offset&&P(),e){pi.cache++;var n,i,o=T();c&&(i=(n=y())+.05*o*-t.velocityX/.227,o*=ia(y,n,i,Bs(d,Oi)),s.vars.scrollX=S(i)),i=(n=v())+.05*o*-t.velocityY/.227,o*=ia(v,n,i,Bs(d,Si)),s.vars.scrollY=M(i),s.invalidate().duration(o).play(.01),(as&&s.vars.scrollY>=r||n>=r-1)&&Fi.to({},{onUpdate:E,duration:o})}else u.restart(!0);p&&p(t)},t.onWheel=function(){s._ts&&s.pause(),ws()-x>1e3&&(n=0,x=ws())},t.onChange=function(t,e,r,i,s){if(Bo!==n&&C(),e&&c&&y(S(i[2]===e?o+(t.startX-t.x):y()+e-i[1])),r){v.offset&&P();var u=s[2]===r,l=u?a+t.startY-t.y:v()+r-s[1],f=M(l);u&&l!==f&&(a+=f-l),v(f)}(r||e)&&Uo()},t.onEnable=function(){sa(d,!c&&"x"),ra.addEventListener("refresh",E),ho(Ii,"resize",E),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),k.enable()},t.onDisable=function(){sa(d,!0),po(Ii,"resize",E),ra.removeEventListener("refresh",E),k.kill()},t.lockAxis=!1!==t.lockAxis,(e=new zi(t)).iOS=as,as&&!v()&&v(1),as&&Fi.ticker.add(Ps),u=e._dc,s=Fi.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Jo(v,v(),(function(){return s.pause()}))},onUpdate:Uo,onComplete:u.vars.onComplete}),e}(t);return ns&&ns.target===e.target&&ns.kill(),Rs(e.target)&&(ns=e),e},ra.core={_getVelocityProp:Pi,_inputObserver:ua,_scrollers:pi,_proxies:di,bridge:{ss:function(){xs||Ao("scrollStart"),xs=ws()},ref:function(){return Wi}}},Ds()&&Fi.registerPlugin(ra);const fa=gutenverseCore.helper,ha=gutenverseCoreFrontend;function pa(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function da(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?pa(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):pa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ga=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.timeScale=1,Qn.registerPlugin(ra)},(e=[{key:"loadSticky",value:function(t){var e=this,r=t.elementId,n=t.stVar,i=t.animationVar,s=t.stickyShowOn,o=t.stickyPosition,a=t.stickyEase,u=void 0===a?"none":a,l=t.stickyDuration,c=void 0===l?.25:l,f=t.topSticky,h=t.bottomSticky,p=t.elementType,d=(0,fa.getDevice)(),g="gutenverse/section"===p?(0,ha.u)(".".concat(r)).parent().first():(0,ha.u)(".".concat(r)).first(),m=(0,ha.u)(g).hasClass("guten-section-wrapper")?(0,ha.u)(g).find(":scope > section").first():g,_=(0,ha.u)(g).parent().find(".sticky-dummy-".concat(r)).first();if(this.killAnimation({stVar:n,animationVar:i,wrapper:g,dummy:_}),g){var v=!(0,ha.u)(g).hasClass("guten-column")&&((0,ha.u)(g).parent().hasClass("wp-block-template-part")||(0,ha.u)(g).parent().hasClass("wp-block-group")),y=(0,ha.u)(".interface-interface-skeleton__content").first()||window,w=y.scrollY||0,b=y.scrollX||0,x=y.getBoundingClientRect?y.getBoundingClientRect().height:y.innerHeight,T=window.getComputedStyle(m),k=m.getBoundingClientRect(),O=parseFloat(T.marginTop)||0,S=parseFloat(T.marginBottom)||0,M=parseFloat(T.marginLeft)||0,C=parseFloat(T.marginRight)||0,P=k.width,E=k.height,A=k.top+w,D=k.left+b,R=((0,ha.u)(g).closest(".block-editor-block-list__layout:not(.wp-block-template-part):not(.wp-block-group)").first()||(0,ha.u)(".is-root-container").first()).getBoundingClientRect(),z=R.top+w,F=R.top+w+R.height,B=this.convertDimension(f[d],g),I=this.convertDimension(h[d],g),L=2*B.point+B.unit,Y=I.point+I.unit,X="top"===o?A+"px +"+L:z-x+"px",N="bottom"===o?A+E-x+"px -"+Y:F+"px",U=E+2*B.point,q=E+2*I.point,V=Qn.to(g,{yPercent:"top"===o?-100:100,y:"top"===o?"-".concat(U,"px"):"".concat(q,"px"),duration:Number(c),ease:u});window[i]=Qn.timeline(),window[i].add(V),window[i].pause();var j={wrapper:g,isFixed:v,element:m,elementId:r,elementRect:k,elementLeft:D,elementWidth:P,elementHeight:E,elementMarginTop:O,elementMarginBottom:S,elementMarginLeft:M,elementMarginRight:C,stickyPosition:o,offsetTop:L,offsetBottom:Y,offsetTopConvert:B,offsetBottomConvert:I,stickyDuration:c,stickyShowOn:s},H={id:"stickySection".concat(r),start:X,end:N,scroller:y,onLeave:function(){return e.stopPinning(j)},onLeaveBack:function(){return e.stopPinning(j)}};H.onUpdate="top"===o?"up"===s?function(t){var r=0,n=(t.end-t.start)*t.progress,s=(t.end-t.start)*(1-t.progress);if(n<=0)return e.timeScale=100,void e.stopPinning(j);e.startPinning(da(da({},j),{},{progress:s})),1===t.direction?n>U?(r=c,e.timeScale=1):(e.timeScale=100,r=c*(n/2/U)):(r=0,e.timeScale=1),window[i].timeScale(e.timeScale),window[i].tweenTo(r)}:"down"===s?function(t){var r=0,n=(t.end-t.start)*t.progress,s=(t.end-t.start)*(1-t.progress);e.startPinning(da(da({},j),{},{progress:s})),1===t.direction?(r=0,e.timeScale=1):n>U?(r=c,e.timeScale=1):(e.timeScale=100,r=c*(n/2/U)),window[i].timeScale(e.timeScale),window[i].tweenTo(r)}:function(t){var r=(t.end-t.start)*(1-t.progress);e.startPinning(da(da({},j),{},{progress:r}))}:"up"===s?function(t){var r=0,n=(t.end-t.start)*t.progress,s=(t.end-t.start)*(1-t.progress);e.startPinning(da(da({},j),{},{progress:n})),1===t.direction?s>q?(r=c,e.timeScale=1):(e.timeScale=100,r=c*(s/2/q)):(r=0,e.timeScale=1),window[i].timeScale(e.timeScale),window[i].tweenTo(r)}:"down"===s?function(t){var r=0,n=(t.end-t.start)*t.progress,s=(t.end-t.start)*(1-t.progress);if(s<=0)return e.timeScale=100,void e.stopPinning(j);e.startPinning(da(da({},j),{},{progress:n})),1===t.direction?(r=0,e.timeScale=1):s>q?(r=c,e.timeScale=1):(e.timeScale=100,r=c*(s/2/q)),window[i].timeScale(e.timeScale),window[i].tweenTo(r)}:function(t){var r=(t.end-t.start)*t.progress;e.startPinning(da(da({},j),{},{progress:r}))},window[n]=ra.create(H)}}},{key:"killAnimation",value:function(t){var e=t.stVar,r=t.animationVar,n=t.wrapper,i=t.dummy;window[e]&&window[e].kill(!0),window[r]&&window[r].kill(!0),i&&i.remove(),n&&(Qn.set(n,{clearProps:!0}),n.classList.remove("pinned"))}},{key:"startPinning",value:function(t){var e=t.wrapper,r=t.isFixed,n=t.progress,i=t.element,s=t.elementId,o=t.elementLeft,a=t.elementWidth,u=t.elementHeight,l=t.elementMarginTop,c=t.elementMarginBottom,f=t.elementMarginLeft,h=t.elementMarginRight,p=t.stickyPosition,d=t.offsetTop,g=t.offsetBottom,m=t.offsetTopConvert,_=t.offsetBottomConvert;(0,ha.u)(e).addClass("pinned"),r&&((0,ha.u)(e).addClass("fixed"),e.style.left="".concat(o,"px"),e.style.width="".concat(a,"px"),i.style.margin=0,"top"===p?e.style.top=n>u+m.point?d:m.point-(u+m.point-n)+"px":e.style.bottom=n>u+_.point?g:_.point-(u+_.point-n)+"px",(0,ha.u)(e).parent().find(".sticky-dummy-".concat(s)).length||(0,ha.u)(e).after('\n                    <div \n                        class="sticky-dummy-'.concat(s,'"\n                        style="display: block; height: ').concat(u,"px; width: ").concat(a,"px; margin: 0px; margin-top: ").concat(l,"px; margin-bottom: ").concat(c,"px; margin-left: ").concat(f,"px; margin-right: ").concat(h,'px"\n                    >\n                    </div>\n                ')))}},{key:"stopPinning",value:function(t){var e=t.wrapper,r=t.isFixed,n=t.element,i=t.elementId,s=t.stickyDuration,o=t.stickyShowOn,a=function(){(0,ha.u)(n).attr("style",""),(0,ha.u)(e).attr("style",""),(0,ha.u)(e).removeClass("pinned"),r&&((0,ha.u)(e).removeClass("fixed"),(0,ha.u)(e).parent().find(".sticky-dummy-".concat(i))&&(0,ha.u)(e).parent().find(".sticky-dummy-".concat(i)).remove())};"both"!==o?setTimeout((function(){a()}),parseFloat(s)*(1/this.timeScale)*1e3):a()}},{key:"convertDimension",value:function(t,e){var r=0,n="px",i=parseInt(window.getComputedStyle(e).fontSize)||16;return t&&t.point&&(r=Number(t.point)||0),t&&t.unit&&(n=t.unit),"vh"===n?r=r*window.innerHeight/100:"em"===n&&(r*=i),{point:r,unit:"px"}}}])&&n(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();window.gsticky=new ga})();
Page not found – Hello World !