anegis-webflow-new 6.1.2 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var Kc=Object.defineProperty;var $c=(o,e,t)=>e in o?Kc(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var $=(o,e,t)=>$c(o,typeof e!="symbol"?e+"":e,t);function Ko(){let o=document.querySelector("[data-challenge-list]"),e=document.querySelector("[data-heading-card]"),t=document.querySelector("[data-cta-card]");o&&e&&o.insertAdjacentElement("afterbegin",e),o&&t&&o.insertAdjacentElement("beforeend",t)}var $o=()=>{};function gs(o){let e=o.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i);return e?[parseInt(e[1],16)/255,parseInt(e[2],16)/255,parseInt(e[3],16)/255]:null}var jc=[.224,.478,.463],Qc=[.106,.275,.435],Zc=[.047,.047,.047],jo=()=>{let o=document.querySelectorAll("[data-blob-main]");o.length!==0&&o.forEach(e=>{let t=e;t.innerHTML="";let r=t.getAttribute("data-color-1"),n=t.getAttribute("data-color-2"),i=t.getAttribute("data-color-3"),s=t.getAttribute("data-blur")||"1.2rem",a=r&&gs(r)||jc,l=n&&gs(n)||Qc,c=i&&gs(i)||Zc,u=document.createElement("canvas");u.style.cssText=`position:absolute;inset:0;width:100%;height:100%;filter:blur(${s});`,t.appendChild(u);let f=document.createElement("canvas");f.style.cssText="position:absolute;inset:0;width:100%;height:100%;pointer-events:none;mix-blend-mode:overlay;",t.appendChild(f);let p=f.getContext("2d"),d=u.getContext("webgl");if(!d){console.error("WebGL not supported");return}let m=`
1
+ "use strict";(()=>{var $c=Object.defineProperty;var jc=(o,e,t)=>e in o?$c(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var $=(o,e,t)=>jc(o,typeof e!="symbol"?e+"":e,t);function Ko(){let o=document.querySelector("[data-challenge-list]"),e=document.querySelector("[data-heading-card]"),t=document.querySelector("[data-cta-card]");o&&e&&o.insertAdjacentElement("afterbegin",e),o&&t&&o.insertAdjacentElement("beforeend",t)}var $o=()=>{};function gs(o){let e=o.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i);return e?[parseInt(e[1],16)/255,parseInt(e[2],16)/255,parseInt(e[3],16)/255]:null}var Qc=[.224,.478,.463],Zc=[.106,.275,.435],Jc=[.047,.047,.047],jo=()=>{let o=document.querySelectorAll("[data-blob-main]");o.length!==0&&o.forEach(e=>{let t=e;t.innerHTML="";let r=t.getAttribute("data-color-1"),n=t.getAttribute("data-color-2"),i=t.getAttribute("data-color-3"),s=t.getAttribute("data-blur")||"1.2rem",a=r&&gs(r)||Qc,l=n&&gs(n)||Zc,c=i&&gs(i)||Jc,u=document.createElement("canvas");u.style.cssText=`position:absolute;inset:0;width:100%;height:100%;filter:blur(${s});`,t.appendChild(u);let f=document.createElement("canvas");f.style.cssText="position:absolute;inset:0;width:100%;height:100%;pointer-events:none;mix-blend-mode:overlay;",t.appendChild(f);let p=f.getContext("2d"),d=u.getContext("webgl");if(!d){console.error("WebGL not supported");return}let m=`
2
2
  attribute vec2 a_position;
3
3
  varying vec2 v_uv;
4
4
  void main() {
@@ -100,7 +100,7 @@
100
100
 
101
101
  gl_FragColor = vec4(finalColor, 1.0);
102
102
  }
103
- `;function g(B,K,te){let V=B.createShader(K);return V?(B.shaderSource(V,te),B.compileShader(V),B.getShaderParameter(V,B.COMPILE_STATUS)?V:(console.error("Shader compile error:",B.getShaderInfoLog(V)),B.deleteShader(V),null)):null}let E=g(d,d.VERTEX_SHADER,m),v=g(d,d.FRAGMENT_SHADER,h);if(!E||!v)return;let w=d.createProgram();if(!w)return;if(d.attachShader(w,E),d.attachShader(w,v),d.linkProgram(w),!d.getProgramParameter(w,d.LINK_STATUS)){console.error("Program link error:",d.getProgramInfoLog(w));return}let b=d.createBuffer();d.bindBuffer(d.ARRAY_BUFFER,b),d.bufferData(d.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),d.STATIC_DRAW);let y=d.getAttribLocation(w,"a_position"),S=d.getUniformLocation(w,"u_time"),T=d.getUniformLocation(w,"u_resolution"),M=d.getUniformLocation(w,"u_color1"),L=d.getUniformLocation(w,"u_color2"),x=d.getUniformLocation(w,"u_colorBg");function P(){let B=window.devicePixelRatio||1,K=Math.floor(u.clientWidth*B),te=Math.floor(u.clientHeight*B);(u.width!==K||u.height!==te)&&(u.width=K,u.height=te),(f.width!==K||f.height!==te)&&(f.width=K,f.height=te)}let k,H=performance.now(),q=0,N=12,D=.08,C=4,R=null;function F(){P(),d.viewport(0,0,u.width,u.height),d.useProgram(w);let B=(performance.now()-H)/1e3;d.uniform1f(S,B),d.uniform2f(T,u.width,u.height),d.uniform3f(M,a[0],a[1],a[2]),d.uniform3f(L,l[0],l[1],l[2]),d.uniform3f(x,c[0],c[1],c[2]),d.enableVertexAttribArray(y),d.bindBuffer(d.ARRAY_BUFFER,b),d.vertexAttribPointer(y,2,d.FLOAT,!1,0,0),d.drawArrays(d.TRIANGLES,0,6);let K=performance.now();if(p&&K-q>1e3/N){q=K;let te=Math.ceil(f.width/C),V=Math.ceil(f.height/C);if(te<=0||V<=0)return;(!R||R.width!==te||R.height!==V)&&(R=p.createImageData(te,V));let{data:se}=R;for(let me=0;me<se.length;me+=4){let ae=(Math.random()-.5)*255*D;se[me]=128+ae,se[me+1]=128+ae,se[me+2]=128+ae,se[me+3]=255}p.clearRect(0,0,f.width,f.height),p.imageSmoothingEnabled=!1,p.putImageData(R,0,0),p.drawImage(f,0,0,te,V,0,0,f.width,f.height)}k=requestAnimationFrame(F)}F();let _=new MutationObserver(B=>{for(let K of B)for(let te of K.removedNodes)(te===u||te instanceof Element&&te.contains(u))&&(cancelAnimationFrame(k),_.disconnect())});_.observe(t.parentElement||document.body,{childList:!0,subtree:!0}),requestAnimationFrame(()=>{t.style.opacity="1"})})};function Qo(o,e=0){let t=o.querySelector(".w-dyn-items");if(!t)return null;let r=Array.from(t.children);if(r.length<2)return null;let n=r[0].offsetHeight;if(n===0)return null;let i=document.createElement("div");i.style.cssText=`height: ${n}px; overflow: hidden; position: relative;`,t.parentNode.insertBefore(i,t),i.appendChild(t),t.style.willChange="transform";let s=!1;return function(l){if(s)return;s=!0;let c=l==="next"?-n:n;gsap.to(t,{y:c,delay:e/1e3,duration:.48,ease:"power3.inOut",onComplete(){l==="next"?t.appendChild(t.firstElementChild):t.insertBefore(t.lastElementChild,t.firstChild),gsap.set(t,{y:0}),s=!1}})}}function Zo(){document.querySelectorAll(".content_wrapper-outer").forEach(o=>{let e=o,t=window.innerWidth,r=t<=991,n=t<=767,i=e.querySelector('[data-scroll="vertical"]'),s=e.querySelector(".content-arrow.is-top"),a=e.querySelector(".content-arrow:not(.is-top)");if(!i)return;let l=i,c=Array.from(l.querySelectorAll(".content-col-item"));if(c.length<2)return;c.forEach(C=>l.appendChild(C)),l.querySelector(".slider_collection-wrapper")?.remove();let u=e.querySelector(".solutions_list-wrapper"),f=e.querySelector(".benefits_collection-wrapper"),p=u?Qo(u,0):null,d=f?Qo(f,40):null;if(r){let ae=function(){Array.from(l.querySelectorAll(".content-col-item")).forEach((pe,le)=>{pe.classList.toggle("is-active",le===1)})},Pe=function(){Ee||(Ee=!0,p?.("next"),d?.("next"),gsap.to(l,{x:B-F,duration:.5,ease:"power3.inOut",onComplete(){let pe=l.firstElementChild;l.appendChild(pe),gsap.set(l,{x:B}),ae(),Ee=!1}}))},qt=function(){if(Ee)return;Ee=!0,p?.("prev"),d?.("prev");let pe=Array.from(l.querySelectorAll(".content-col-item")),le=pe[pe.length-1];l.insertBefore(le,l.firstElementChild),gsap.fromTo(l,{x:B-F},{x:B,duration:.5,ease:"power3.inOut",onComplete(){ae(),Ee=!1}})},j=function(){Me===null&&(Me=setInterval(Pe,Ge))},fe=function(){Me!==null&&(clearInterval(Me),Me=null)};var L=ae,P=Pe,k=qt,N=j,D=fe;let R=l.parentElement,F=n?R.offsetWidth/1.5:c[0].offsetWidth,_=n?R.offsetWidth:3*F,B=n?-.75*F:0;c.forEach(pe=>{pe.style.cssText+=`; flex-shrink: 0; width: ${F}px;`});let K=4,te=c.length;for(;c.length<K;){let pe=c[c.length%te].cloneNode(!0);pe.removeAttribute("id"),l.appendChild(pe),c.push(pe)}l.style.cssText=`display: flex; flex-direction: row; will-change: transform; overflow: visible !important; width: ${c.length*F}px !important; height: auto !important; min-height: 0 !important; max-height: none !important;`;let V=document.createElement("div");V.style.cssText=`width: ${_}px; overflow: hidden; position: relative;`,l.parentNode.insertBefore(V,l),V.appendChild(l);let se=c.findIndex(pe=>pe.classList.contains("is-active"));se===-1&&(se=0);let me=(se-1+c.length)%c.length;for(let pe=0;pe<me;pe++){let le=l.querySelector(".content-col-item");le&&l.appendChild(le)}gsap.set(l,{x:B}),ae();let Ee=!1,Ge=4e3,Me=null;e.addEventListener("mouseenter",fe),e.addEventListener("mouseleave",j),s?.addEventListener("click",()=>{fe(),qt(),j()}),a?.addEventListener("click",()=>{fe(),Pe(),j()}),j();return}if(c.length<3)return;let m=c[0].getBoundingClientRect(),g=c[1].getBoundingClientRect().top-m.top,E=g-m.height,v=Math.max(3*m.height+2*E,381),w=4,b=c.length;for(;c.length<w;){let C=c[c.length%b].cloneNode(!0);C.removeAttribute("id"),l.appendChild(C),c.push(C)}let y=document.createElement("div");y.style.cssText=`height: ${v}px; overflow: hidden; position: relative;`,l.parentNode.insertBefore(y,l),y.appendChild(l);let S=c.length*g-E;l.style.cssText+=`; overflow: visible !important; height: ${S}px !important; min-height: 0 !important; max-height: none !important; will-change: transform;`;let T=c.findIndex(C=>C.classList.contains("is-active"));T===-1&&(T=0);let M=(T-1+c.length)%c.length;for(let C=0;C<M;C++){let R=l.querySelector(".content-col-item");R&&l.appendChild(R)}function L(){Array.from(l.querySelectorAll(".content-col-item")).forEach((C,R)=>{C.classList.toggle("is-active",R===1)})}gsap.set(l,{y:0}),L();let x=!1;function P(){x||(x=!0,p?.("next"),d?.("next"),gsap.to(l,{y:-g,duration:.5,ease:"power3.inOut",onComplete(){let C=l.firstElementChild;l.appendChild(C),gsap.set(l,{y:0}),L(),x=!1}}))}function k(){if(x)return;x=!0,p?.("prev"),d?.("prev");let C=Array.from(l.querySelectorAll(".content-col-item")),R=C[C.length-1];l.insertBefore(R,l.firstElementChild),gsap.fromTo(l,{y:-g},{y:0,duration:.5,ease:"power3.inOut",onComplete(){L(),x=!1}})}let H=4e3,q=null;function N(){q===null&&(q=setInterval(P,H))}function D(){q!==null&&(clearInterval(q),q=null)}e.addEventListener("mouseenter",D),e.addEventListener("mouseleave",N),s?.addEventListener("click",()=>{D(),k(),N()}),a?.addEventListener("click",()=>{D(),P(),N()}),N()})}function sr(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function aa(o,e){o.prototype=Object.create(e.prototype),o.prototype.constructor=o,o.__proto__=e}var _t={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ln={duration:.5,overwrite:!1,delay:0},Is,Ue,_e,Ht=1e8,de=1/Ht,Ts=Math.PI*2,Jc=Ts/4,eu=0,la=Math.sqrt,tu=Math.cos,ru=Math.sin,qe=function(e){return typeof e=="string"},Te=function(e){return typeof e=="function"},ar=function(e){return typeof e=="number"},Pi=function(e){return typeof e>"u"},jt=function(e){return typeof e=="object"},gt=function(e){return e!==!1},Ds=function(){return typeof window<"u"},Ei=function(e){return Te(e)||qe(e)},ca=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Je=Array.isArray,nu=/random\([^)]+\)/g,iu=/,\s*/g,Jo=/(?:-?\.?\d|\.)+/gi,Rs=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Br=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_s=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,qs=/[+-]=-?[.\d]+/,su=/[^,'"\[\]\s]+/gi,ou=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,be,Kt,Ss,Ns,xt={},Li={},ua,da=function(e){return(Li=cn(e,xt))&&et},Hi=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Bn=function(e,t){return!t&&console.warn(e)},fa=function(e,t){return e&&(xt[e]=t)&&Li&&(Li[e]=t)||xt},zn=function(){return 0},au={suppressEvents:!0,isStart:!0,kill:!1},xi={suppressEvents:!0,kill:!1},lu={suppressEvents:!0},Fs={},br=[],Ls={},pa,ht={},ys={},ea=30,Ti=[],Bs="",zs=function(e){var t=e[0],r,n;if(jt(t)||Te(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Ti.length;n--&&!Ti[n].targetTest(t););r=Ti[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Ys(e[n],r)))||e.splice(n,1);return e},wr=function(e){return e._gsap||zs(Ot(e))[0]._gsap},Ws=function(e,t,r){return(r=e[t])&&Te(r)?e[t]():Pi(r)&&e.getAttribute&&e.getAttribute(t)||r},st=function(e,t){return(e=e.split(",")).forEach(t)||e},Se=function(e){return Math.round(e*1e5)/1e5||0},ve=function(e){return Math.round(e*1e7)/1e7||0},zr=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},cu=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},Mi=function(){var e=br.length,t=br.slice(0),r,n;for(Ls={},br.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Gs=function(e){return!!(e._initted||e._startAt||e.add)},ha=function(e,t,r,n){br.length&&!Ue&&Mi(),e.render(t,r,n||!!(Ue&&t<0&&Gs(e))),br.length&&!Ue&&Mi()},ma=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(su).length<2?t:qe(e)?e.trim():e},ga=function(e){return e},Tt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},uu=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},cn=function(e,t){for(var r in t)e[r]=t[r];return e},ta=function o(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=jt(t[r])?o(e[r]||(e[r]={}),t[r]):t[r]);return e},Ai=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},qn=function(e){var t=e.parent||be,r=e.keyframes?uu(Je(e.keyframes)):Tt;if(gt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},du=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},_a=function(e,t,r,n,i){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=e[n],a;if(i)for(a=t[i];s&&s[i]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=s,t.parent=t._dp=e,t},Oi=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var i=t._prev,s=t._next;i?i._next=s:e[r]===t&&(e[r]=s),s?s._prev=i:e[n]===t&&(e[n]=i),t._next=t._prev=t.parent=null},Er=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},qr=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},fu=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Ms=function(e,t,r,n){return e._startAt&&(Ue?e._startAt.revert(xi):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},pu=function o(e){return!e||e._ts&&o(e.parent)},ra=function(e){return e._repeat?un(e._tTime,e=e.duration()+e._rDelay)*e:0},un=function(e,t){var r=Math.floor(e=ve(e/t));return e&&r===e?r-1:r},ki=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ii=function(e){return e._end=ve(e._start+(e._tDur/Math.abs(e._ts||e._rts||de)||0))},Di=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=ve(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ii(e),r._dirty||qr(r,e)),e},ya=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=ki(e.rawTime(),t),(!t._dur||Vn(0,t.totalDuration(),r)-t._tTime>de)&&t.render(r,!0)),qr(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-de}},$t=function(e,t,r,n){return t.parent&&Er(t),t._start=ve((ar(r)?r:r||e!==be?Pt(e,r,t):e._time)+t._delay),t._end=ve(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),_a(e,t,"_first","_last",e._sort?"_start":0),As(t)||(e._recent=t),n||ya(e,t),e._ts<0&&Di(e,e._tTime),e},va=function(e,t){return(xt.ScrollTrigger||Hi("scrollTrigger",t))&&xt.ScrollTrigger.create(t,e)},ba=function(e,t,r,n,i){if(Ks(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!Ue&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&pa!==mt.frame)return br.push(e),e._lazy=[i,n],1},hu=function o(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||o(t))},As=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},mu=function(e,t,r,n){var i=e.ratio,s=t<0||!t&&(!e._start&&hu(e)&&!(!e._initted&&As(e))||(e._ts<0||e._dp._ts<0)&&!As(e))?0:1,a=e._rDelay,l=0,c,u,f;if(a&&e._repeat&&(l=Vn(0,e._tDur,t),u=un(l,a),e._yoyo&&u&1&&(s=1-s),u!==un(e._tTime,a)&&(i=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==i||Ue||n||e._zTime===de||!t&&e._zTime){if(!e._initted&&ba(e,t,n,r,l))return;for(f=e._zTime,e._zTime=t||(r?de:0),r||(r=t&&!f),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,c=e._pt;c;)c.r(s,c.d),c=c._next;t<0&&Ms(e,t,r,!0),e._onUpdate&&!r&&Et(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&Et(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&Er(e,1),!r&&!Ue&&(Et(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},gu=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},dn=function(e,t,r,n){var i=e._repeat,s=ve(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=s/e._dur),e._dur=s,e._tDur=i?i<0?1e10:ve(s*(i+1)+e._rDelay*i):s,a>0&&!n&&Di(e,e._tTime=e._tDur*a),e.parent&&Ii(e),r||qr(e.parent,e),e},na=function(e){return e instanceof Xe?qr(e):dn(e,e._dur)},_u={_start:0,endTime:zn,totalDuration:zn},Pt=function o(e,t,r){var n=e.labels,i=e._recent||_u,s=e.duration()>=Ht?i.endTime(!1):e._dur,a,l,c;return qe(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),c=t.substr(-1)==="%",a=t.indexOf("="),l==="<"||l===">"?(a>=0&&(t=t.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(a<0?i:r).totalDuration()/100:1)):a<0?(t in n||(n[t]=s),n[t]):(l=parseFloat(t.charAt(a-1)+t.substr(a+1)),c&&r&&(l=l/100*(Je(r)?r[0]:r).totalDuration()),a>1?o(e,t.substr(0,a-1),r)+l:s+l)):t==null?s:+t},Nn=function(e,t,r){var n=ar(t[1]),i=(n?2:1)+(e<2?0:1),s=t[i],a,l;if(n&&(s.duration=t[1]),s.parent=r,e){for(a=s,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=gt(l.vars.inherit)&&l.parent;s.immediateRender=gt(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[i-1]}return new Ce(t[0],s,t[i+1])},xr=function(e,t){return e||e===0?t(e):t},Vn=function(e,t,r){return r<e?e:r>t?t:r},Ke=function(e,t){return!qe(e)||!(t=ou.exec(e))?"":t[1]},yu=function(e,t,r){return xr(r,function(n){return Vn(e,t,n)})},ks=[].slice,wa=function(e,t){return e&&jt(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&jt(e[0]))&&!e.nodeType&&e!==Kt},vu=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var i;return qe(n)&&!t||wa(n,1)?(i=r).push.apply(i,Ot(n)):r.push(n)})||r},Ot=function(e,t,r){return _e&&!t&&_e.selector?_e.selector(e):qe(e)&&!r&&(Ss||!fn())?ks.call((t||Ns).querySelectorAll(e),0):Je(e)?vu(e,r):wa(e)?ks.call(e,0):e?[e]:[]},Cs=function(e){return e=Ot(e)[0]||Bn("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Ot(t,r.querySelectorAll?r:r===e?Bn("Invalid scope")||Ns.createElement("div"):e)}},Ea=function(e){return e.sort(function(){return .5-Math.random()})},xa=function(e){if(Te(e))return e;var t=jt(e)?e:{each:e},r=Nr(t.ease),n=t.from||0,i=parseFloat(t.base)||0,s={},a=n>0&&n<1,l=isNaN(n)||a,c=t.axis,u=n,f=n;return qe(n)?u=f={center:.5,edges:.5,end:1}[n]||0:!a&&l&&(u=n[0],f=n[1]),function(p,d,m){var h=(m||t).length,g=s[h],E,v,w,b,y,S,T,M,L;if(!g){if(L=t.grid==="auto"?0:(t.grid||[1,Ht])[1],!L){for(T=-Ht;T<(T=m[L++].getBoundingClientRect().left)&&L<h;);L<h&&L--}for(g=s[h]=[],E=l?Math.min(L,h)*u-.5:n%L,v=L===Ht?0:l?h*f/L-.5:n/L|0,T=0,M=Ht,S=0;S<h;S++)w=S%L-E,b=v-(S/L|0),g[S]=y=c?Math.abs(c==="y"?b:w):la(w*w+b*b),y>T&&(T=y),y<M&&(M=y);n==="random"&&Ea(g),g.max=T-M,g.min=M,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(L>h?h-1:c?c==="y"?h/L:L:Math.max(L,h/L))||0)*(n==="edges"?-1:1),g.b=h<0?i-h:i,g.u=Ke(t.amount||t.each)||0,r=r&&h<0?Ha(r):r}return h=(g[p]-g.min)/g.max||0,ve(g.b+(r?r(h):h)*g.v)+g.u}},Ps=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=ve(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(ar(r)?0:Ke(r))}},Ta=function(e,t){var r=Je(e),n,i;return!r&&jt(e)&&(n=r=e.radius||Ht,e.values?(e=Ot(e.values),(i=!ar(e[0]))&&(n*=n)):e=Ps(e.increment)),xr(t,r?Te(e)?function(s){return i=e(s),Math.abs(i-s)<=n?i:s}:function(s){for(var a=parseFloat(i?s.x:s),l=parseFloat(i?s.y:0),c=Ht,u=0,f=e.length,p,d;f--;)i?(p=e[f].x-a,d=e[f].y-l,p=p*p+d*d):p=Math.abs(e[f]-a),p<c&&(c=p,u=f);return u=!n||c<=n?e[u]:s,i||u===s||ar(s)?u:u+Ke(s)}:Ps(e))},Sa=function(e,t,r,n){return xr(Je(e)?!t:r===!0?!!(r=0):!n,function(){return Je(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*n)/n})},bu=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduce(function(i,s){return s(i)},n)}},wu=function(e,t){return function(r){return e(parseFloat(r))+(t||Ke(r))}},Eu=function(e,t,r){return Ma(e,t,0,1,r)},La=function(e,t,r){return xr(r,function(n){return e[~~t(n)]})},xu=function o(e,t,r){var n=t-e;return Je(e)?La(e,o(0,e.length),t):xr(r,function(i){return(n+(i-e)%n)%n+e})},Tu=function o(e,t,r){var n=t-e,i=n*2;return Je(e)?La(e,o(0,e.length-1),t):xr(r,function(s){return s=(i+(s-e)%i)%i||0,e+(s>n?i-s:s)})},pn=function(e){return e.replace(nu,function(t){var r=t.indexOf("[")+1,n=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(iu);return Sa(r?n:+n[0],r?0:+n[1],+n[2]||1e-5)})},Ma=function(e,t,r,n,i){var s=t-e,a=n-r;return xr(i,function(l){return r+((l-e)/s*a||0)})},Su=function o(e,t,r,n){var i=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!i){var s=qe(e),a={},l,c,u,f,p;if(r===!0&&(n=1)&&(r=null),s)e={p:e},t={p:t};else if(Je(e)&&!Je(t)){for(u=[],f=e.length,p=f-2,c=1;c<f;c++)u.push(o(e[c-1],e[c]));f--,i=function(m){m*=f;var h=Math.min(p,~~m);return u[h](m-h)},r=t}else n||(e=cn(Je(e)?[]:{},e));if(!u){for(l in t)Xs.call(a,e,l,"get",t[l]);i=function(m){return Qs(m,a)||(s?e.p:e)}}}return xr(r,i)},ia=function(e,t,r){var n=e.labels,i=Ht,s,a,l;for(s in n)a=n[s]-t,a<0==!!r&&a&&i>(a=Math.abs(a))&&(l=s,i=a);return l},Et=function(e,t,r){var n=e.vars,i=n[t],s=_e,a=e._ctx,l,c,u;if(i)return l=n[t+"Params"],c=n.callbackScope||e,r&&br.length&&Mi(),a&&(_e=a),u=l?i.apply(c,l):i.call(c),_e=s,u},Dn=function(e){return Er(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ue),e.progress()<1&&Et(e,"onInterrupt"),e},an,Aa=[],ka=function(e){if(e)if(e=!e.name&&e.default||e,Ds()||e.headless){var t=e.name,r=Te(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:zn,render:Qs,add:Xs,kill:zu,modifier:Bu,rawVars:0},s={targetTest:0,get:0,getSetter:Ri,aliases:{},register:0};if(fn(),e!==n){if(ht[t])return;Tt(n,Tt(Ai(e,i),s)),cn(n.prototype,cn(i,Ai(e,s))),ht[n.prop=t]=n,e.targetTest&&(Ti.push(n),Fs[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}fa(t,n),e.register&&e.register(et,n,ot)}else Aa.push(e)},ue=255,Rn={aqua:[0,ue,ue],lime:[0,ue,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ue],navy:[0,0,128],white:[ue,ue,ue],olive:[128,128,0],yellow:[ue,ue,0],orange:[ue,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ue,0,0],pink:[ue,192,203],cyan:[0,ue,ue],transparent:[ue,ue,ue,0]},vs=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*ue+.5|0},Ca=function(e,t,r){var n=e?ar(e)?[e>>16,e>>8&ue,e&ue]:0:Rn.black,i,s,a,l,c,u,f,p,d,m;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Rn[e])n=Rn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+i+i+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&ue,n&ue,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&ue,e&ue]}else if(e.substr(0,3)==="hsl"){if(n=m=e.match(Jo),!t)l=+n[0]%360/360,c=+n[1]/100,u=+n[2]/100,s=u<=.5?u*(c+1):u+c-u*c,i=u*2-s,n.length>3&&(n[3]*=1),n[0]=vs(l+1/3,i,s),n[1]=vs(l,i,s),n[2]=vs(l-1/3,i,s);else if(~e.indexOf("="))return n=e.match(Rs),r&&n.length<4&&(n[3]=1),n}else n=e.match(Jo)||Rn.transparent;n=n.map(Number)}return t&&!m&&(i=n[0]/ue,s=n[1]/ue,a=n[2]/ue,f=Math.max(i,s,a),p=Math.min(i,s,a),u=(f+p)/2,f===p?l=c=0:(d=f-p,c=u>.5?d/(2-f-p):d/(f+p),l=f===i?(s-a)/d+(s<a?6:0):f===s?(a-i)/d+2:(i-s)/d+4,l*=60),n[0]=~~(l+.5),n[1]=~~(c*100+.5),n[2]=~~(u*100+.5)),r&&n.length<4&&(n[3]=1),n},Pa=function(e){var t=[],r=[],n=-1;return e.split(or).forEach(function(i){var s=i.match(Br)||[];t.push.apply(t,s),r.push(n+=s.length+1)}),t.c=r,t},sa=function(e,t,r){var n="",i=(e+n).match(or),s=t?"hsla(":"rgba(",a=0,l,c,u,f;if(!i)return e;if(i=i.map(function(p){return(p=Ca(p,t,1))&&s+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=Pa(e),l=r.c,l.join(n)!==u.c.join(n)))for(c=e.replace(or,"1").split(Br),f=c.length-1;a<f;a++)n+=c[a]+(~l.indexOf(a)?i.shift()||s+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!c)for(c=e.split(or),f=c.length-1;a<f;a++)n+=c[a]+i[a];return n+c[f]},or=function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Rn)o+="|"+e+"\\b";return new RegExp(o+")","gi")}(),Lu=/hsl[a]?\(/,Vs=function(e){var t=e.join(" "),r;if(or.lastIndex=0,or.test(t))return r=Lu.test(t),e[1]=sa(e[1],r),e[0]=sa(e[0],r,Pa(e[1])),!0},Wn,mt=function(){var o=Date.now,e=500,t=33,r=o(),n=r,i=1e3/240,s=i,a=[],l,c,u,f,p,d,m=function h(g){var E=o()-n,v=g===!0,w,b,y,S;if((E>e||E<0)&&(r+=E-t),n+=E,y=n-r,w=y-s,(w>0||v)&&(S=++f.frame,p=y-f.time*1e3,f.time=y=y/1e3,s+=w+(w>=i?4:i-w),b=1),v||(l=c(h)),b)for(d=0;d<a.length;d++)a[d](y,p,S,g)};return f={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){ua&&(!Ss&&Ds()&&(Kt=Ss=window,Ns=Kt.document||{},xt.gsap=et,(Kt.gsapVersions||(Kt.gsapVersions=[])).push(et.version),da(Li||Kt.GreenSockGlobals||!Kt.gsap&&Kt||{}),Aa.forEach(ka)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),c=u||function(g){return setTimeout(g,s-f.time*1e3+1|0)},Wn=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),Wn=0,c=zn},lagSmoothing:function(g,E){e=g||1/0,t=Math.min(E||33,e)},fps:function(g){i=1e3/(g||240),s=f.time*1e3+i},add:function(g,E,v){var w=E?function(b,y,S,T){g(b,y,S,T),f.remove(w)}:g;return f.remove(g),a[v?"unshift":"push"](w),fn(),w},remove:function(g,E){~(E=a.indexOf(g))&&a.splice(E,1)&&d>=E&&d--},_listeners:a},f}(),fn=function(){return!Wn&&mt.wake()},ne={},Mu=/^[\d.\-M][\d.\-,\s]/,Au=/["']/g,ku=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],i=1,s=r.length,a,l,c;i<s;i++)l=r[i],a=i!==s-1?l.lastIndexOf(","):l.length,c=l.substr(0,a),t[n]=isNaN(c)?c.replace(Au,"").trim():+c,n=l.substr(a+1).trim();return t},Cu=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},Pu=function(e){var t=(e+"").split("("),r=ne[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[ku(t[1])]:Cu(e).split(",").map(ma)):ne._CE&&Mu.test(e)?ne._CE("",e):r},Ha=function(e){return function(t){return 1-e(1-t)}},Oa=function o(e,t){for(var r=e._first,n;r;)r instanceof Xe?o(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?o(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},Nr=function(e,t){return e&&(Te(e)?e:ne[e]||Pu(e))||t},Wr=function(e,t,r,n){r===void 0&&(r=function(l){return 1-t(1-l)}),n===void 0&&(n=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var i={easeIn:t,easeOut:r,easeInOut:n},s;return st(e,function(a){ne[a]=xt[a]=i,ne[s=a.toLowerCase()]=r;for(var l in i)ne[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ne[a+"."+l]=i[l]}),i},Ia=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},bs=function o(e,t,r){var n=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),s=i/Ts*(Math.asin(1/n)||0),a=function(u){return u===1?1:n*Math.pow(2,-10*u)*ru((u-s)*i)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:Ia(a);return i=Ts/i,l.config=function(c,u){return o(e,c,u)},l},ws=function o(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},n=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:Ia(r);return n.config=function(i){return o(e,i)},n};st("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,e){var t=e<5?e+1:e;Wr(o+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});ne.Linear.easeNone=ne.none=ne.Linear.easeIn;Wr("Elastic",bs("in"),bs("out"),bs());(function(o,e){var t=1/e,r=2*t,n=2.5*t,i=function(a){return a<t?o*a*a:a<r?o*Math.pow(a-1.5/e,2)+.75:a<n?o*(a-=2.25/e)*a+.9375:o*Math.pow(a-2.625/e,2)+.984375};Wr("Bounce",function(s){return 1-i(1-s)},i)})(7.5625,2.75);Wr("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)});Wr("Circ",function(o){return-(la(1-o*o)-1)});Wr("Sine",function(o){return o===1?1:-tu(o*Jc)+1});Wr("Back",ws("in"),ws("out"),ws());ne.SteppedEase=ne.steps=xt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),i=t?1:0,s=1-de;return function(a){return((n*Vn(0,s,a)|0)+i)*r}}};ln.ease=ne["quad.out"];st("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return Bs+=o+","+o+"Params,"});var Ys=function(e,t){this.id=eu++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Ws,this.set=t?t.getSetter:Ri},Gn=function(){function o(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,dn(this,+t.duration,1,1),this.data=t.data,_e&&(this._ctx=_e,_e.data.push(this)),Wn||mt.wake()}var e=o.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,dn(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(fn(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Di(this,r),!i._dp||i.parent||ya(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&$t(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===de||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),ha(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ra(this))%(this._dur+this._rDelay)||(r?this._dur:0),n):this._time},e.totalProgress=function(r,n){return arguments.length?this.totalTime(this.totalDuration()*r,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+ra(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,n){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,n):this._repeat?un(this._tTime,i)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-de?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?ki(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-de?0:this._rts,this.totalTime(Vn(-Math.abs(this._delay),this.totalDuration(),i),n!==!1),Ii(this),fu(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(fn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==de&&(this._tTime-=de)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=ve(r);var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&$t(n,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(gt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var n=this.parent||this._dp;return n?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ki(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=lu);var n=Ue;return Ue=r,Gs(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Ue=n,this},e.globalTime=function(r){for(var n=this,i=arguments.length?r:n.rawTime();n;)i=n._start+i/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,na(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,na(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,n){return this.totalTime(Pt(this,r),gt(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,gt(n)),this._dur||(this._zTime=-de),this},e.play=function(r,n){return r!=null&&this.seek(r,n),this.reversed(!1).paused(!1)},e.reverse=function(r,n){return r!=null&&this.seek(r||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(r,n){return r!=null&&this.seek(r,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-de:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-de,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=n&&i<this.endTime(!0)-de)},e.eventCallback=function(r,n,i){var s=this.vars;return arguments.length>1?(n?(s[r]=n,i&&(s[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=n)):delete s[r],this):s[r]},e.then=function(r){var n=this,i=n._prom;return new Promise(function(s){var a=Te(r)?r:ga,l=function(){var u=n.then;n.then=null,i&&i(),Te(a)&&(a=a(n))&&(a.then||a===n)&&(n.then=u),s(a),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?l():n._prom=l})},e.kill=function(){Dn(this)},o}();Tt(Gn.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:-de,_prom:0,_ps:!1,_rts:1});var Xe=function(o){aa(e,o);function e(r,n){var i;return r===void 0&&(r={}),i=o.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=gt(r.sortChildren),be&&$t(r.parent||be,sr(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&va(sr(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(n,i,s){return Nn(0,arguments,this),this},t.from=function(n,i,s){return Nn(1,arguments,this),this},t.fromTo=function(n,i,s,a){return Nn(2,arguments,this),this},t.set=function(n,i,s){return i.duration=0,i.parent=this,qn(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Ce(n,i,Pt(this,s),1),this},t.call=function(n,i,s){return $t(this,Ce.delayedCall(0,n,i),s)},t.staggerTo=function(n,i,s,a,l,c,u){return s.duration=i,s.stagger=s.stagger||a,s.onComplete=c,s.onCompleteParams=u,s.parent=this,new Ce(n,s,Pt(this,l)),this},t.staggerFrom=function(n,i,s,a,l,c,u){return s.runBackwards=1,qn(s).immediateRender=gt(s.immediateRender),this.staggerTo(n,i,s,a,l,c,u)},t.staggerFromTo=function(n,i,s,a,l,c,u,f){return a.startAt=s,qn(a).immediateRender=gt(a.immediateRender),this.staggerTo(n,i,a,l,c,u,f)},t.render=function(n,i,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=n<=0?0:ve(n),f=this._zTime<0!=n<0&&(this._initted||!c),p,d,m,h,g,E,v,w,b,y,S,T;if(this!==be&&u>l&&n>=0&&(u=l),u!==this._tTime||s||f){if(a!==this._time&&c&&(u+=this._time-a,n+=this._time-a),p=u,b=this._start,w=this._ts,E=!w,f&&(c||(a=this._zTime),(n||!i)&&(this._zTime=n)),this._repeat){if(S=this._yoyo,g=c+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,i,s);if(p=ve(u%g),u===l?(h=this._repeat,p=c):(y=ve(u/g),h=~~y,h&&h===y&&(p=c,h--),p>c&&(p=c)),y=un(this._tTime,g),!a&&this._tTime&&y!==h&&this._tTime-y*g-this._dur<=0&&(y=h),S&&h&1&&(p=c-p,T=1),h!==y&&!this._lock){var M=S&&y&1,L=M===(S&&h&1);if(h<y&&(M=!M),a=M?0:u%c?c:u,this._lock=1,this.render(a||(T?0:ve(h*g)),i,!c)._lock=0,this._tTime=u,!i&&this.parent&&Et(this,"onRepeat"),this.vars.repeatRefresh&&!T&&(this.invalidate()._lock=1,y=h),a&&a!==this._time||E!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,L&&(this._lock=2,a=M?c:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!T&&this.invalidate()),this._lock=0,!this._ts&&!E)return this;Oa(this,T)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=gu(this,ve(a),ve(p)),v&&(u-=p-(p=v._start))),this._tTime=u,this._time=p,this._act=!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&u&&c&&!i&&!y&&(Et(this,"onStart"),this._tTime!==u))return this;if(p>=a&&n>=0)for(d=this._first;d;){if(m=d._next,(d._act||p>=d._start)&&d._ts&&v!==d){if(d.parent!==this)return this.render(n,i,s);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,i,s),p!==this._time||!this._ts&&!E){v=0,m&&(u+=this._zTime=-de);break}}d=m}else{d=this._last;for(var x=n<0?n:p;d;){if(m=d._prev,(d._act||x<=d._end)&&d._ts&&v!==d){if(d.parent!==this)return this.render(n,i,s);if(d.render(d._ts>0?(x-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(x-d._start)*d._ts,i,s||Ue&&Gs(d)),p!==this._time||!this._ts&&!E){v=0,m&&(u+=this._zTime=x?-de:de);break}}d=m}}if(v&&!i&&(this.pause(),v.render(p>=a?0:-de)._zTime=p>=a?1:-1,this._ts))return this._start=b,Ii(this),this.render(n,i,s);this._onUpdate&&!i&&Et(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(b===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((n||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&Er(this,1),!i&&!(n<0&&!a)&&(u||a||!l)&&(Et(this,u===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,i){var s=this;if(ar(i)||(i=Pt(this,i,n)),!(n instanceof Gn)){if(Je(n))return n.forEach(function(a){return s.add(a,i)}),this;if(qe(n))return this.addLabel(n,i);if(Te(n))n=Ce.delayedCall(0,n);else return this}return this!==n?$t(this,n,i):this},t.getChildren=function(n,i,s,a){n===void 0&&(n=!0),i===void 0&&(i=!0),s===void 0&&(s=!0),a===void 0&&(a=-Ht);for(var l=[],c=this._first;c;)c._start>=a&&(c instanceof Ce?i&&l.push(c):(s&&l.push(c),n&&l.push.apply(l,c.getChildren(!0,i,s)))),c=c._next;return l},t.getById=function(n){for(var i=this.getChildren(1,1,1),s=i.length;s--;)if(i[s].vars.id===n)return i[s]},t.remove=function(n){return qe(n)?this.removeLabel(n):Te(n)?this.killTweensOf(n):(n.parent===this&&Oi(this,n),n===this._recent&&(this._recent=this._last),qr(this))},t.totalTime=function(n,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ve(mt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),o.prototype.totalTime.call(this,n,i),this._forcing=0,this):this._tTime},t.addLabel=function(n,i){return this.labels[n]=Pt(this,i),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,i,s){var a=Ce.delayedCall(0,i||zn,s);return a.data="isPause",this._hasPause=1,$t(this,a,Pt(this,n))},t.removePause=function(n){var i=this._first;for(n=Pt(this,n);i;)i._start===n&&i.data==="isPause"&&Er(i),i=i._next},t.killTweensOf=function(n,i,s){for(var a=this.getTweensOf(n,s),l=a.length;l--;)vr!==a[l]&&a[l].kill(n,i);return this},t.getTweensOf=function(n,i){for(var s=[],a=Ot(n),l=this._first,c=ar(i),u;l;)l instanceof Ce?cu(l._targets,a)&&(c?(!vr||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&s.push(l):(u=l.getTweensOf(a,i)).length&&s.push.apply(s,u),l=l._next;return s},t.tweenTo=function(n,i){i=i||{};var s=this,a=Pt(s,n),l=i,c=l.startAt,u=l.onStart,f=l.onStartParams,p=l.immediateRender,d,m=Ce.to(s,Tt({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:i.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale())||de,onStart:function(){if(s.pause(),!d){var g=i.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale());m._dur!==g&&dn(m,g,0,1).render(m._time,!0,!0),d=1}u&&u.apply(m,f||[])}},i));return p?m.render(0):m},t.tweenFromTo=function(n,i,s){return this.tweenTo(i,Tt({startAt:{time:Pt(this,n)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),ia(this,Pt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),ia(this,Pt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+de)},t.shiftChildren=function(n,i,s){s===void 0&&(s=0);var a=this._first,l=this.labels,c;for(n=ve(n);a;)a._start>=s&&(a._start+=n,a._end+=n),a=a._next;if(i)for(c in l)l[c]>=s&&(l[c]+=n);return qr(this)},t.invalidate=function(n){var i=this._first;for(this._lock=0;i;)i.invalidate(n),i=i._next;return o.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var i=this._first,s;i;)s=i._next,this.remove(i),i=s;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),qr(this)},t.totalDuration=function(n){var i=0,s=this,a=s._last,l=Ht,c,u,f;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-n:n));if(s._dirty){for(f=s.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,$t(s,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(i-=u,(!f&&!s._dp||f&&f.smoothChildTiming)&&(s._start+=ve(u/s._ts),s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),l=0),a._end>i&&a._ts&&(i=a._end),a=c;dn(s,s===be&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(n){if(be._ts&&(ha(be,ki(n,be)),pa=mt.frame),mt.frame>=ea){ea+=_t.autoSleep||120;var i=be._first;if((!i||!i._ts)&&_t.autoSleep&&mt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||mt.sleep()}}},e}(Gn);Tt(Xe.prototype,{_lock:0,_hasPause:0,_forcing:0});var Hu=function(e,t,r,n,i,s,a){var l=new ot(this._pt,e,t,0,1,js,null,i),c=0,u=0,f,p,d,m,h,g,E,v;for(l.b=r,l.e=n,r+="",n+="",(E=~n.indexOf("random("))&&(n=pn(n)),s&&(v=[r,n],s(v,e,t),r=v[0],n=v[1]),p=r.match(_s)||[];f=_s.exec(n);)m=f[0],h=n.substring(c,f.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),m!==p[u++]&&(g=parseFloat(p[u-1])||0,l._pt={_next:l._pt,p:h||u===1?h:",",s:g,c:m.charAt(1)==="="?zr(g,m)-g:parseFloat(m)-g,m:d&&d<4?Math.round:0},c=_s.lastIndex);return l.c=c<n.length?n.substring(c,n.length):"",l.fp=a,(qs.test(n)||E)&&(l.e=0),this._pt=l,l},Xs=function(e,t,r,n,i,s,a,l,c,u){Te(n)&&(n=n(i||0,e,s));var f=e[t],p=r!=="get"?r:Te(f)?c?e[t.indexOf("set")||!Te(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():f,d=Te(f)?c?qu:qa:$s,m;if(qe(n)&&(~n.indexOf("random(")&&(n=pn(n)),n.charAt(1)==="="&&(m=zr(p,n)+(Ke(p)||0),(m||m===0)&&(n=m))),!u||p!==n||Hs)return!isNaN(p*n)&&n!==""?(m=new ot(this._pt,e,t,+p||0,n-(p||0),typeof f=="boolean"?Fu:Na,0,d),c&&(m.fp=c),a&&m.modifier(a,this,e),this._pt=m):(!f&&!(t in e)&&Hi(t,n),Hu.call(this,e,t,p,n,d,l||_t.stringFilter,c))},Ou=function(e,t,r,n,i){if(Te(e)&&(e=Fn(e,i,t,r,n)),!jt(e)||e.style&&e.nodeType||Je(e)||ca(e))return qe(e)?Fn(e,i,t,r,n):e;var s={},a;for(a in e)s[a]=Fn(e[a],i,t,r,n);return s},Us=function(e,t,r,n,i,s){var a,l,c,u;if(ht[e]&&(a=new ht[e]).init(i,a.rawVars?t[e]:Ou(t[e],n,i,s,r),r,n,s)!==!1&&(r._pt=l=new ot(r._pt,i,e,0,1,a.render,a,0,a.priority),r!==an))for(c=r._ptLookup[r._targets.indexOf(i)],u=a._props.length;u--;)c[a._props[u]]=l;return a},vr,Hs,Ks=function o(e,t,r){var n=e.vars,i=n.ease,s=n.startAt,a=n.immediateRender,l=n.lazy,c=n.onUpdate,u=n.runBackwards,f=n.yoyoEase,p=n.keyframes,d=n.autoRevert,m=e._dur,h=e._startAt,g=e._targets,E=e.parent,v=E&&E.data==="nested"?E.vars.targets:g,w=e._overwrite==="auto"&&!Is,b=e.timeline,y,S,T,M,L,x,P,k,H,q,N,D,C;if(b&&(!p||!i)&&(i="none"),e._ease=Nr(i,ln.ease),e._yEase=f?Ha(Nr(f===!0?i:f,ln.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!b&&!!n.runBackwards,!b||p&&!n.stagger){if(k=g[0]?wr(g[0]).harness:0,D=k&&n[k.prop],y=Ai(n,Fs),h&&(h._zTime<0&&h.progress(1),t<0&&u&&a&&!d?h.render(-1,!0):h.revert(u&&m?xi:au),h._lazy=0),s){if(Er(e._startAt=Ce.set(g,Tt({data:"isStart",overwrite:!1,parent:E,immediateRender:!0,lazy:!h&&gt(l),startAt:null,delay:0,onUpdate:c&&function(){return Et(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ue||!a&&!d)&&e._startAt.revert(xi),a&&m&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&m&&!h){if(t&&(a=!1),T=Tt({overwrite:!1,data:"isFromStart",lazy:a&&!h&&gt(l),immediateRender:a,stagger:0,parent:E},y),D&&(T[k.prop]=D),Er(e._startAt=Ce.set(g,T)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ue?e._startAt.revert(xi):e._startAt.render(-1,!0)),e._zTime=t,!a)o(e._startAt,de,de);else if(!t)return}for(e._pt=e._ptCache=0,l=m&&gt(l)||l&&!m,S=0;S<g.length;S++){if(L=g[S],P=L._gsap||zs(g)[S]._gsap,e._ptLookup[S]=q={},Ls[P.id]&&br.length&&Mi(),N=v===g?S:v.indexOf(L),k&&(H=new k).init(L,D||y,e,N,v)!==!1&&(e._pt=M=new ot(e._pt,L,H.name,0,1,H.render,H,0,H.priority),H._props.forEach(function(R){q[R]=M}),H.priority&&(x=1)),!k||D)for(T in y)ht[T]&&(H=Us(T,y,e,N,L,v))?H.priority&&(x=1):q[T]=M=Xs.call(e,L,T,"get",y[T],N,v,0,n.stringFilter);e._op&&e._op[S]&&e.kill(L,e._op[S]),w&&e._pt&&(vr=e,be.killTweensOf(L,q,e.globalTime(t)),C=!e.parent,vr=0),e._pt&&l&&(Ls[P.id]=1)}x&&Zs(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!C,p&&t<=0&&b.render(Ht,!0,!0)},Iu=function(e,t,r,n,i,s,a,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,f,p,d;if(!c)for(c=e._ptCache[t]=[],p=e._ptLookup,d=e._targets.length;d--;){if(u=p[d][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return Hs=1,e.vars[t]="+=0",Ks(e,a),Hs=0,l?Bn(t+" not eligible for reset"):1;c.push(u)}for(d=c.length;d--;)f=c[d],u=f._pt||f,u.s=(n||n===0)&&!i?n:u.s+(n||0)+s*u.c,u.c=r-u.s,f.e&&(f.e=Se(r)+Ke(f.e)),f.b&&(f.b=u.s+Ke(f.b))},Du=function(e,t){var r=e[0]?wr(e[0]).harness:0,n=r&&r.aliases,i,s,a,l;if(!n)return t;i=cn({},t);for(s in n)if(s in i)for(l=n[s].split(","),a=l.length;a--;)i[l[a]]=i[s];return i},Ru=function(e,t,r,n){var i=t.ease||n||"power1.inOut",s,a;if(Je(t))a=r[e]||(r[e]=[]),t.forEach(function(l,c){return a.push({t:c/(t.length-1)*100,v:l,e:i})});else for(s in t)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:i})},Fn=function(e,t,r,n,i){return Te(e)?e.call(t,r,n,i):qe(e)&&~e.indexOf("random(")?pn(e):e},Da=Bs+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ra={};st(Da+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return Ra[o]=1});var Ce=function(o){aa(e,o);function e(r,n,i,s){var a;typeof n=="number"&&(i.duration=n,n=i,i=null),a=o.call(this,s?n:qn(n))||this;var l=a.vars,c=l.duration,u=l.delay,f=l.immediateRender,p=l.stagger,d=l.overwrite,m=l.keyframes,h=l.defaults,g=l.scrollTrigger,E=l.yoyoEase,v=n.parent||be,w=(Je(r)||ca(r)?ar(r[0]):"length"in n)?[r]:Ot(r),b,y,S,T,M,L,x,P;if(a._targets=w.length?zs(w):Bn("GSAP target "+r+" not found. https://gsap.com",!_t.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,m||p||Ei(c)||Ei(u)){if(n=a.vars,b=a.timeline=new Xe({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:w}),b.kill(),b.parent=b._dp=sr(a),b._start=0,p||Ei(c)||Ei(u)){if(T=w.length,x=p&&xa(p),jt(p))for(M in p)~Da.indexOf(M)&&(P||(P={}),P[M]=p[M]);for(y=0;y<T;y++)S=Ai(n,Ra),S.stagger=0,E&&(S.yoyoEase=E),P&&cn(S,P),L=w[y],S.duration=+Fn(c,sr(a),y,L,w),S.delay=(+Fn(u,sr(a),y,L,w)||0)-a._delay,!p&&T===1&&S.delay&&(a._delay=u=S.delay,a._start+=u,S.delay=0),b.to(L,S,x?x(y,L,w):0),b._ease=ne.none;b.duration()?c=u=0:a.timeline=0}else if(m){qn(Tt(b.vars.defaults,{ease:"none"})),b._ease=Nr(m.ease||n.ease||"none");var k=0,H,q,N;if(Je(m))m.forEach(function(D){return b.to(w,D,">")}),b.duration();else{S={};for(M in m)M==="ease"||M==="easeEach"||Ru(M,m[M],S,m.easeEach);for(M in S)for(H=S[M].sort(function(D,C){return D.t-C.t}),k=0,y=0;y<H.length;y++)q=H[y],N={ease:q.e,duration:(q.t-(y?H[y-1].t:0))/100*c},N[M]=q.v,b.to(w,N,k),k+=N.duration;b.duration()<c&&b.to({},{duration:c-b.duration()})}}c||a.duration(c=b.duration())}else a.timeline=0;return d===!0&&!Is&&(vr=sr(a),be.killTweensOf(w),vr=0),$t(v,sr(a),i),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(f||!c&&!m&&a._start===ve(v._time)&&gt(f)&&pu(sr(a))&&v.data!=="nested")&&(a._tTime=-de,a.render(Math.max(0,-u)||0)),g&&va(sr(a),g),a}var t=e.prototype;return t.render=function(n,i,s){var a=this._time,l=this._tDur,c=this._dur,u=n<0,f=n>l-de&&!u?l:n<de?0:n,p,d,m,h,g,E,v,w,b;if(!c)mu(this,n,i,s);else if(f!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(p=f,w=this.timeline,this._repeat){if(h=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(h*100+n,i,s);if(p=ve(f%h),f===l?(m=this._repeat,p=c):(g=ve(f/h),m=~~g,m&&m===g?(p=c,m--):p>c&&(p=c)),E=this._yoyo&&m&1,E&&(b=this._yEase,p=c-p),g=un(this._tTime,h),p===a&&!s&&this._initted&&m===g)return this._tTime=f,this;m!==g&&(w&&this._yEase&&Oa(w,E),this.vars.repeatRefresh&&!E&&!this._lock&&p!==h&&this._initted&&(this._lock=s=1,this.render(ve(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(ba(this,u?n:p,s,i,f))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&m!==g))return this;if(c!==this._dur)return this.render(n,i,s)}if(this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(b||this._ease)(p/c),this._from&&(this.ratio=v=1-v),!a&&f&&!i&&!g&&(Et(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(v,d.d),d=d._next;w&&w.render(n<0?n:w._dur*w._ease(p/this._dur),i,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!i&&(u&&Ms(this,n,i,s),Et(this,"onUpdate")),this._repeat&&m!==g&&this.vars.onRepeat&&!i&&this.parent&&Et(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&Ms(this,n,!0,!0),(n||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Er(this,1),!i&&!(u&&!a)&&(f||a||E)&&(Et(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),o.prototype.invalidate.call(this,n)},t.resetTo=function(n,i,s,a,l){Wn||mt.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Ks(this,c),u=this._ease(c/this._dur),Iu(this,n,i,s,a,u,c,l)?this.resetTo(n,i,s,a,1):(Di(this,0),this.parent||_a(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,i){if(i===void 0&&(i="all"),!n&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?Dn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ue),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,i,vr&&vr.vars.overwrite!==!0)._first||Dn(this),this.parent&&s!==this.timeline.totalDuration()&&dn(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=n?Ot(n):a,c=this._ptLookup,u=this._pt,f,p,d,m,h,g,E;if((!i||i==="all")&&du(a,l))return i==="all"&&(this._pt=0),Dn(this);for(f=this._op=this._op||[],i!=="all"&&(qe(i)&&(h={},st(i,function(v){return h[v]=1}),i=h),i=Du(a,i)),E=a.length;E--;)if(~l.indexOf(a[E])){p=c[E],i==="all"?(f[E]=i,m=p,d={}):(d=f[E]=f[E]||{},m=i);for(h in m)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&Oi(this,g,"_pt"),delete p[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&u&&Dn(this),this},e.to=function(n,i){return new e(n,i,arguments[2])},e.from=function(n,i){return Nn(1,arguments)},e.delayedCall=function(n,i,s,a){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:i,onReverseComplete:i,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(n,i,s){return Nn(2,arguments)},e.set=function(n,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(n,i)},e.killTweensOf=function(n,i,s){return be.killTweensOf(n,i,s)},e}(Gn);Tt(Ce.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});st("staggerTo,staggerFrom,staggerFromTo",function(o){Ce[o]=function(){var e=new Xe,t=ks.call(arguments,0);return t.splice(o==="staggerFromTo"?5:4,0,0),e[o].apply(e,t)}});var $s=function(e,t,r){return e[t]=r},qa=function(e,t,r){return e[t](r)},qu=function(e,t,r,n){return e[t](n.fp,r)},Nu=function(e,t,r){return e.setAttribute(t,r)},Ri=function(e,t){return Te(e[t])?qa:Pi(e[t])&&e.setAttribute?Nu:$s},Na=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Fu=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},js=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},Qs=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Bu=function(e,t,r,n){for(var i=this._pt,s;i;)s=i._next,i.p===n&&i.modifier(e,t,r),i=s},zu=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Oi(this,t,"_pt"):t.dep||(r=1),t=n;return!r},Wu=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Zs=function(e){for(var t=e._pt,r,n,i,s;t;){for(r=t._next,n=i;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:s)?t._prev._next=t:i=t,(t._next=n)?n._prev=t:s=t,t=r}e._pt=i},ot=function(){function o(t,r,n,i,s,a,l,c,u){this.t=r,this.s=i,this.c=s,this.p=n,this.r=a||Na,this.d=l||this,this.set=c||$s,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=o.prototype;return e.modifier=function(r,n,i){this.mSet=this.mSet||this.set,this.set=Wu,this.m=r,this.mt=i,this.tween=n},o}();st(Bs+"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(o){return Fs[o]=1});xt.TweenMax=xt.TweenLite=Ce;xt.TimelineLite=xt.TimelineMax=Xe;be=new Xe({sortChildren:!1,defaults:ln,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});_t.stringFilter=Vs;var Fr=[],Si={},Gu=[],oa=0,Vu=0,Es=function(e){return(Si[e]||Gu).map(function(t){return t()})},Os=function(){var e=Date.now(),t=[];e-oa>2&&(Es("matchMediaInit"),Fr.forEach(function(r){var n=r.queries,i=r.conditions,s,a,l,c;for(a in n)s=Kt.matchMedia(n[a]).matches,s&&(l=1),s!==i[a]&&(i[a]=s,c=1);c&&(r.revert(),l&&t.push(r))}),Es("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),oa=e,Es("matchMedia"))},Fa=function(){function o(t,r){this.selector=r&&Cs(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Vu++,t&&this.add(t)}var e=o.prototype;return e.add=function(r,n,i){Te(r)&&(i=n,n=r,r=Te);var s=this,a=function(){var c=_e,u=s.selector,f;return c&&c!==s&&c.data.push(s),i&&(s.selector=Cs(i)),_e=s,f=n.apply(s,arguments),Te(f)&&s._r.push(f),_e=c,s.selector=u,s.isReverted=!1,f};return s.last=a,r===Te?a(s,function(l){return s.add(null,l)}):r?s[r]=a:a},e.ignore=function(r){var n=_e;_e=null,r(this),_e=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof o?r.push.apply(r,n.getTweens()):n instanceof Ce&&!(n.parent&&n.parent.data==="nested")&&r.push(n)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,n){var i=this;if(r?function(){for(var a=i.getTweens(),l=i.data.length,c;l--;)c=i.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,f){return f.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=i.data.length;l--;)c=i.data[l],c instanceof Xe?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Ce)&&c.revert&&c.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var s=Fr.length;s--;)Fr[s].id===this.id&&Fr.splice(s,1)},e.revert=function(r){this.kill(r||{})},o}(),Yu=function(){function o(t){this.contexts=[],this.scope=t,_e&&_e.data.push(this)}var e=o.prototype;return e.add=function(r,n,i){jt(r)||(r={matches:r});var s=new Fa(0,i||this.scope),a=s.conditions={},l,c,u;_e&&!s.selector&&(s.selector=_e.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=r;for(c in r)c==="all"?u=1:(l=Kt.matchMedia(r[c]),l&&(Fr.indexOf(s)<0&&Fr.push(s),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(Os):l.addEventListener("change",Os)));return u&&n(s,function(f){return s.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},o}(),Ci={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(n){return ka(n)})},timeline:function(e){return new Xe(e)},getTweensOf:function(e,t){return be.getTweensOf(e,t)},getProperty:function(e,t,r,n){qe(e)&&(e=Ot(e)[0]);var i=wr(e||{}).get,s=r?ga:ma;return r==="native"&&(r=""),e&&(t?s((ht[t]&&ht[t].get||i)(e,t,r,n)):function(a,l,c){return s((ht[a]&&ht[a].get||i)(e,a,l,c))})},quickSetter:function(e,t,r){if(e=Ot(e),e.length>1){var n=e.map(function(u){return et.quickSetter(u,t,r)}),i=n.length;return function(u){for(var f=i;f--;)n[f](u)}}e=e[0]||{};var s=ht[t],a=wr(e),l=a.harness&&(a.harness.aliases||{})[t]||t,c=s?function(u){var f=new s;an._pt=0,f.init(e,r?u+r:u,an,0,[e]),f.render(1,f),an._pt&&Qs(1,an)}:a.set(e,l);return s?c:function(u){return c(e,l,r?u+r:u,a,1)}},quickTo:function(e,t,r){var n,i=et.to(e,Tt((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(l,c,u){return i.resetTo(t,l,c,u)};return s.tween=i,s},isTweening:function(e){return be.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Nr(e.ease,ln.ease)),ta(ln,e||{})},config:function(e){return ta(_t,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,s=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!ht[a]&&!xt[a]&&Bn(t+" effect requires "+a+" plugin.")}),ys[t]=function(a,l,c){return r(Ot(a),Tt(l||{},i),c)},s&&(Xe.prototype[t]=function(a,l,c){return this.add(ys[t](a,jt(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){ne[e]=Nr(t)},parseEase:function(e,t){return arguments.length?Nr(e,t):ne},getById:function(e){return be.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Xe(e),n,i;for(r.smoothChildTiming=gt(e.smoothChildTiming),be.remove(r),r._dp=0,r._time=r._tTime=be._time,n=be._first;n;)i=n._next,(t||!(!n._dur&&n instanceof Ce&&n.vars.onComplete===n._targets[0]))&&$t(r,n,n._start-n._delay),n=i;return $t(be,r,0),r},context:function(e,t){return e?new Fa(e,t):_e},matchMedia:function(e){return new Yu(e)},matchMediaRefresh:function(){return Fr.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||Os()},addEventListener:function(e,t){var r=Si[e]||(Si[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Si[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:xu,wrapYoyo:Tu,distribute:xa,random:Sa,snap:Ta,normalize:Eu,getUnit:Ke,clamp:yu,splitColor:Ca,toArray:Ot,selector:Cs,mapRange:Ma,pipe:bu,unitize:wu,interpolate:Su,shuffle:Ea},install:da,effects:ys,ticker:mt,updateRoot:Xe.updateRoot,plugins:ht,globalTimeline:be,core:{PropTween:ot,globals:fa,Tween:Ce,Timeline:Xe,Animation:Gn,getCache:wr,_removeLinkedListItem:Oi,reverting:function(){return Ue},context:function(e){return e&&_e&&(_e.data.push(e),e._ctx=_e),_e},suppressOverwrites:function(e){return Is=e}}};st("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Ci[o]=Ce[o]});mt.add(Xe.updateRoot);an=Ci.to({},{duration:0});var Xu=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Uu=function(e,t){var r=e._targets,n,i,s;for(n in t)for(i=r.length;i--;)s=e._ptLookup[i][n],s&&(s=s.d)&&(s._pt&&(s=Xu(s,n)),s&&s.modifier&&s.modifier(t[n],e,r[i],n))},xs=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,i,s){s._onInit=function(a){var l,c;if(qe(i)&&(l={},st(i,function(u){return l[u]=1}),i=l),t){l={};for(c in i)l[c]=t(i[c]);i=l}Uu(a,i)}}}},et=Ci.registerPlugin({name:"attr",init:function(e,t,r,n,i){var s,a,l;this.tween=r;for(s in t)l=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(l||0)+"",t[s],n,i,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)Ue?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},xs("roundProps",Ps),xs("modifiers"),xs("snap",Ta))||Ci;Ce.version=Xe.version=et.version="3.14.2";ua=1;Ds()&&fn();var Ku=ne.Power0,$u=ne.Power1,ju=ne.Power2,Qu=ne.Power3,Zu=ne.Power4,Ju=ne.Linear,ed=ne.Quad,td=ne.Cubic,rd=ne.Quart,nd=ne.Quint,id=ne.Strong,sd=ne.Elastic,od=ne.Back,ad=ne.SteppedEase,ld=ne.Bounce,cd=ne.Sine,ud=ne.Expo,dd=ne.Circ;var Ba,Tr,mn,io,Xr,fd,za,so,pd=function(){return typeof window<"u"},cr={},Yr=180/Math.PI,gn=Math.PI/180,hn=Math.atan2,Wa=1e8,oo=/([A-Z])/g,hd=/(left|right|width|margin|padding|x)/i,md=/[\s,\(]\S/,Qt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},eo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},gd=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},_d=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},yd=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},vd=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},ja=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Qa=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},bd=function(e,t,r){return e.style[t]=r},wd=function(e,t,r){return e.style.setProperty(t,r)},Ed=function(e,t,r){return e._gsap[t]=r},xd=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Td=function(e,t,r,n,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},Sd=function(e,t,r,n,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},we="transform",yt=we+"Origin",Ld=function o(e,t){var r=this,n=this.target,i=n.style,s=n._gsap;if(e in cr&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Qt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=lr(n,a)}):this.tfm[e]=s.x?s[e]:lr(n,e),e===yt&&(this.tfm.zOrigin=s.zOrigin);else return Qt.transform.split(",").forEach(function(a){return o.call(r,a,t)});if(this.props.indexOf(we)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(yt,t,"")),e=we}(i||t)&&this.props.push(e,t,i[e])},Za=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Md=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,i,s;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(oo,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)n[s]=this.tfm[s];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=so(),(!i||!i.isStart)&&!r[we]&&(Za(r),n.zOrigin&&r[yt]&&(r[yt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},Ja=function(e,t){var r={target:e,props:[],revert:Md,save:Ld};return e._gsap||et.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return r.save(n)}),r},el,to=function(e,t){var r=Tr.createElementNS?Tr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Tr.createElement(e);return r&&r.style?r:Tr.createElement(e)},St=function o(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(oo,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&o(e,_n(t)||t,1)||""},Ga="O,Moz,ms,Ms,Webkit".split(","),_n=function(e,t,r){var n=t||Xr,i=n.style,s=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Ga[s]+e in i););return s<0?null:(s===3?"ms":s>=0?Ga[s]:"")+e},ro=function(){pd()&&window.document&&(Ba=window,Tr=Ba.document,mn=Tr.documentElement,Xr=to("div")||{style:{}},fd=to("div"),we=_n(we),yt=we+"Origin",Xr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",el=!!_n("perspective"),so=et.core.reverting,io=1)},Va=function(e){var t=e.ownerSVGElement,r=to("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),i;n.style.display="block",r.appendChild(n),mn.appendChild(r);try{i=n.getBBox()}catch{}return r.removeChild(n),mn.removeChild(r),i},Ya=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},tl=function(e){var t,r;try{t=e.getBBox()}catch{t=Va(e),r=1}return t&&(t.width||t.height)||r||(t=Va(e)),t&&!t.width&&!t.x&&!t.y?{x:+Ya(e,["x","cx","x1"])||0,y:+Ya(e,["y","cy","y1"])||0,width:0,height:0}:t},rl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&tl(e))},Lr=function(e,t){if(t){var r=e.style,n;t in cr&&t!==yt&&(t=we),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(oo,"-$1").toLowerCase())):r.removeAttribute(t)}},Sr=function(e,t,r,n,i,s){var a=new ot(e._pt,t,r,0,1,s?Qa:ja);return e._pt=a,a.b=n,a.e=i,e._props.push(r),a},Xa={deg:1,rad:1,turn:1},Ad={grid:1,flex:1},Mr=function o(e,t,r,n){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",a=Xr.style,l=hd.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),f=100,p=n==="px",d=n==="%",m,h,g,E;if(n===s||!i||Xa[n]||Xa[s])return i;if(s!=="px"&&!p&&(i=o(e,t,r,"px")),E=e.getCTM&&rl(e),(d||s==="%")&&(cr[t]||~t.indexOf("adius")))return m=E?e.getBBox()[l?"width":"height"]:e[u],Se(d?i/m*f:i/100*m);if(a[l?"width":"height"]=f+(p?s:n),h=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!c?e:e.parentNode,E&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===Tr||!h.appendChild)&&(h=Tr.body),g=h._gsap,g&&d&&g.width&&l&&g.time===mt.time&&!g.uncache)return Se(i/g.width*f);if(d&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=f+n,m=e[u],v?e.style[t]=v:Lr(e,t)}else(d||s==="%")&&!Ad[St(h,"display")]&&(a.position=St(e,"position")),h===e&&(a.position="static"),h.appendChild(Xr),m=Xr[u],h.removeChild(Xr),a.position="absolute";return l&&d&&(g=wr(h),g.time=mt.time,g.width=h[u]),Se(p?m*i/f:m&&i?f/m*i:0)},lr=function(e,t,r,n){var i;return io||ro(),t in Qt&&t!=="transform"&&(t=Qt[t],~t.indexOf(",")&&(t=t.split(",")[0])),cr[t]&&t!=="transform"?(i=Un(e,n),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Ni(St(e,yt))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||n||~(i+"").indexOf("calc("))&&(i=qi[t]&&qi[t](e,t,r)||St(e,t)||Ws(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Mr(e,t,i,r)+r:i},kd=function(e,t,r,n){if(!r||r==="none"){var i=_n(t,e,1),s=i&&St(e,i,1);s&&s!==r?(t=i,r=s):t==="borderColor"&&(r=St(e,"borderTopColor"))}var a=new ot(this._pt,e.style,t,0,1,js),l=0,c=0,u,f,p,d,m,h,g,E,v,w,b,y;if(a.b=r,a.e=n,r+="",n+="",n.substring(0,6)==="var(--"&&(n=St(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(h=e.style[t],e.style[t]=n,n=St(e,t)||n,h?e.style[t]=h:Lr(e,t)),u=[r,n],Vs(u),r=u[0],n=u[1],p=r.match(Br)||[],y=n.match(Br)||[],y.length){for(;f=Br.exec(n);)g=f[0],v=n.substring(l,f.index),m?m=(m+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(m=1),g!==(h=p[c++]||"")&&(d=parseFloat(h)||0,b=h.substr((d+"").length),g.charAt(1)==="="&&(g=zr(d,g)+b),E=parseFloat(g),w=g.substr((E+"").length),l=Br.lastIndex-w.length,w||(w=w||_t.units[t]||b,l===n.length&&(n+=w,a.e+=w)),b!==w&&(d=Mr(e,t,h,w)||0),a._pt={_next:a._pt,p:v||c===1?v:",",s:d,c:E-d,m:m&&m<4||t==="zIndex"?Math.round:0});a.c=l<n.length?n.substring(l,n.length):""}else a.r=t==="display"&&n==="none"?Qa:ja;return qs.test(n)&&(a.e=0),this._pt=a,a},Ua={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Cd=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return(r==="top"||r==="bottom"||n==="left"||n==="right")&&(e=r,r=n,n=e),t[0]=Ua[r]||r,t[1]=Ua[n]||n,t.join(" ")},Pd=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,i=t.u,s=r._gsap,a,l,c;if(i==="all"||i===!0)n.cssText="",l=1;else for(i=i.split(","),c=i.length;--c>-1;)a=i[c],cr[a]&&(l=1,a=a==="transformOrigin"?yt:we),Lr(r,a);l&&(Lr(r,we),s&&(s.svg&&r.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Un(r,1),s.uncache=1,Za(n)))}},qi={clearProps:function(e,t,r,n,i){if(i.data!=="isFromStart"){var s=e._pt=new ot(e._pt,t,r,0,0,Pd);return s.u=n,s.pr=-10,s.tween=i,e._props.push(r),1}}},Xn=[1,0,0,1,0,0],nl={},il=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Ka=function(e){var t=St(e,we);return il(t)?Xn:t.substr(7).match(Rs).map(Se)},ao=function(e,t){var r=e._gsap||wr(e),n=e.style,i=Ka(e),s,a,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,i=[l.a,l.b,l.c,l.d,l.e,l.f],i.join(",")==="1,0,0,1,0,0"?Xn:i):(i===Xn&&!e.offsetParent&&e!==mn&&!r.svg&&(l=n.display,n.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,a=e.nextElementSibling,mn.appendChild(e)),i=Ka(e),l?n.display=l:Lr(e,"display"),c&&(a?s.insertBefore(e,a):s?s.appendChild(e):mn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},no=function(e,t,r,n,i,s){var a=e._gsap,l=i||ao(e,!0),c=a.xOrigin||0,u=a.yOrigin||0,f=a.xOffset||0,p=a.yOffset||0,d=l[0],m=l[1],h=l[2],g=l[3],E=l[4],v=l[5],w=t.split(" "),b=parseFloat(w[0])||0,y=parseFloat(w[1])||0,S,T,M,L;r?l!==Xn&&(T=d*g-m*h)&&(M=b*(g/T)+y*(-h/T)+(h*v-g*E)/T,L=b*(-m/T)+y*(d/T)-(d*v-m*E)/T,b=M,y=L):(S=tl(e),b=S.x+(~w[0].indexOf("%")?b/100*S.width:b),y=S.y+(~(w[1]||w[0]).indexOf("%")?y/100*S.height:y)),n||n!==!1&&a.smooth?(E=b-c,v=y-u,a.xOffset=f+(E*d+v*h)-E,a.yOffset=p+(E*m+v*g)-v):a.xOffset=a.yOffset=0,a.xOrigin=b,a.yOrigin=y,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!r,e.style[yt]="0px 0px",s&&(Sr(s,a,"xOrigin",c,b),Sr(s,a,"yOrigin",u,y),Sr(s,a,"xOffset",f,a.xOffset),Sr(s,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",b+" "+y)},Un=function(e,t){var r=e._gsap||new Ys(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,i=r.scaleX<0,s="px",a="deg",l=getComputedStyle(e),c=St(e,yt)||"0",u,f,p,d,m,h,g,E,v,w,b,y,S,T,M,L,x,P,k,H,q,N,D,C,R,F,_,B,K,te,V,se;return u=f=p=h=g=E=v=w=b=0,d=m=1,r.svg=!!(e.getCTM&&rl(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[we]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[we]!=="none"?l[we]:"")),n.scale=n.rotate=n.translate="none"),T=ao(e,r.svg),r.svg&&(r.uncache?(R=e.getBBox(),c=r.xOrigin-R.x+"px "+(r.yOrigin-R.y)+"px",C=""):C=!t&&e.getAttribute("data-svg-origin"),no(e,C||c,!!C||r.originIsAbsolute,r.smooth!==!1,T)),y=r.xOrigin||0,S=r.yOrigin||0,T!==Xn&&(P=T[0],k=T[1],H=T[2],q=T[3],u=N=T[4],f=D=T[5],T.length===6?(d=Math.sqrt(P*P+k*k),m=Math.sqrt(q*q+H*H),h=P||k?hn(k,P)*Yr:0,v=H||q?hn(H,q)*Yr+h:0,v&&(m*=Math.abs(Math.cos(v*gn))),r.svg&&(u-=y-(y*P+S*H),f-=S-(y*k+S*q))):(se=T[6],te=T[7],_=T[8],B=T[9],K=T[10],V=T[11],u=T[12],f=T[13],p=T[14],M=hn(se,K),g=M*Yr,M&&(L=Math.cos(-M),x=Math.sin(-M),C=N*L+_*x,R=D*L+B*x,F=se*L+K*x,_=N*-x+_*L,B=D*-x+B*L,K=se*-x+K*L,V=te*-x+V*L,N=C,D=R,se=F),M=hn(-H,K),E=M*Yr,M&&(L=Math.cos(-M),x=Math.sin(-M),C=P*L-_*x,R=k*L-B*x,F=H*L-K*x,V=q*x+V*L,P=C,k=R,H=F),M=hn(k,P),h=M*Yr,M&&(L=Math.cos(M),x=Math.sin(M),C=P*L+k*x,R=N*L+D*x,k=k*L-P*x,D=D*L-N*x,P=C,N=R),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,E=180-E),d=Se(Math.sqrt(P*P+k*k+H*H)),m=Se(Math.sqrt(D*D+se*se)),M=hn(N,D),v=Math.abs(M)>2e-4?M*Yr:0,b=V?1/(V<0?-V:V):0),r.svg&&(C=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!il(St(e,we)),C&&e.setAttribute("transform",C))),Math.abs(v)>90&&Math.abs(v)<270&&(i?(d*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=f-((r.yPercent=f&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Se(d),r.scaleY=Se(m),r.rotation=Se(h)+a,r.rotationX=Se(g)+a,r.rotationY=Se(E)+a,r.skewX=v+a,r.skewY=w+a,r.transformPerspective=b+s,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(n[yt]=Ni(c)),r.xOffset=r.yOffset=0,r.force3D=_t.force3D,r.renderTransform=r.svg?Od:el?sl:Hd,r.uncache=0,r},Ni=function(e){return(e=e.split(" "))[0]+" "+e[1]},Js=function(e,t,r){var n=Ke(t);return Se(parseFloat(t)+parseFloat(Mr(e,"x",r+"px",n)))+n},Hd=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,sl(e,t)},Gr="0deg",Yn="0px",Vr=") ",sl=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,s=r.x,a=r.y,l=r.z,c=r.rotation,u=r.rotationY,f=r.rotationX,p=r.skewX,d=r.skewY,m=r.scaleX,h=r.scaleY,g=r.transformPerspective,E=r.force3D,v=r.target,w=r.zOrigin,b="",y=E==="auto"&&e&&e!==1||E===!0;if(w&&(f!==Gr||u!==Gr)){var S=parseFloat(u)*gn,T=Math.sin(S),M=Math.cos(S),L;S=parseFloat(f)*gn,L=Math.cos(S),s=Js(v,s,T*L*-w),a=Js(v,a,-Math.sin(S)*-w),l=Js(v,l,M*L*-w+w)}g!==Yn&&(b+="perspective("+g+Vr),(n||i)&&(b+="translate("+n+"%, "+i+"%) "),(y||s!==Yn||a!==Yn||l!==Yn)&&(b+=l!==Yn||y?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+Vr),c!==Gr&&(b+="rotate("+c+Vr),u!==Gr&&(b+="rotateY("+u+Vr),f!==Gr&&(b+="rotateX("+f+Vr),(p!==Gr||d!==Gr)&&(b+="skew("+p+", "+d+Vr),(m!==1||h!==1)&&(b+="scale("+m+", "+h+Vr),v.style[we]=b||"translate(0, 0)"},Od=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,s=r.x,a=r.y,l=r.rotation,c=r.skewX,u=r.skewY,f=r.scaleX,p=r.scaleY,d=r.target,m=r.xOrigin,h=r.yOrigin,g=r.xOffset,E=r.yOffset,v=r.forceCSS,w=parseFloat(s),b=parseFloat(a),y,S,T,M,L;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=gn,c*=gn,y=Math.cos(l)*f,S=Math.sin(l)*f,T=Math.sin(l-c)*-p,M=Math.cos(l-c)*p,c&&(u*=gn,L=Math.tan(c-u),L=Math.sqrt(1+L*L),T*=L,M*=L,u&&(L=Math.tan(u),L=Math.sqrt(1+L*L),y*=L,S*=L)),y=Se(y),S=Se(S),T=Se(T),M=Se(M)):(y=f,M=p,S=T=0),(w&&!~(s+"").indexOf("px")||b&&!~(a+"").indexOf("px"))&&(w=Mr(d,"x",s,"px"),b=Mr(d,"y",a,"px")),(m||h||g||E)&&(w=Se(w+m-(m*y+h*T)+g),b=Se(b+h-(m*S+h*M)+E)),(n||i)&&(L=d.getBBox(),w=Se(w+n/100*L.width),b=Se(b+i/100*L.height)),L="matrix("+y+","+S+","+T+","+M+","+w+","+b+")",d.setAttribute("transform",L),v&&(d.style[we]=L)},Id=function(e,t,r,n,i){var s=360,a=qe(i),l=parseFloat(i)*(a&&~i.indexOf("rad")?Yr:1),c=l-n,u=n+c+"deg",f,p;return a&&(f=i.split("_")[1],f==="short"&&(c%=s,c!==c%(s/2)&&(c+=c<0?s:-s)),f==="cw"&&c<0?c=(c+s*Wa)%s-~~(c/s)*s:f==="ccw"&&c>0&&(c=(c-s*Wa)%s-~~(c/s)*s)),e._pt=p=new ot(e._pt,t,r,n,c,gd),p.e=u,p.u="deg",e._props.push(r),p},$a=function(e,t){for(var r in t)e[r]=t[r];return e},Dd=function(e,t,r){var n=$a({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,l,c,u,f,p,d,m;n.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),s[we]=t,a=Un(r,1),Lr(r,we),r.setAttribute("transform",c)):(c=getComputedStyle(r)[we],s[we]=t,a=Un(r,1),s[we]=c);for(l in cr)c=n[l],u=a[l],c!==u&&i.indexOf(l)<0&&(d=Ke(c),m=Ke(u),f=d!==m?Mr(r,l,c,m):parseFloat(c),p=parseFloat(u),e._pt=new ot(e._pt,a,l,f,p-f,eo),e._pt.u=m||0,e._props.push(l));$a(a,n)};st("padding,margin,Width,Radius",function(o,e){var t="Top",r="Right",n="Bottom",i="Left",s=(e<3?[t,r,n,i]:[t+i,t+r,n+r,n+i]).map(function(a){return e<2?o+a:"border"+a+o});qi[e>1?"border"+o:o]=function(a,l,c,u,f){var p,d;if(arguments.length<4)return p=s.map(function(m){return lr(a,m,c)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(u+"").split(" "),d={},s.forEach(function(m,h){return d[m]=p[h]=p[h]||p[(h-1)/2|0]}),a.init(l,d,f)}});var lo={name:"css",register:ro,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var s=this._props,a=e.style,l=r.vars.startAt,c,u,f,p,d,m,h,g,E,v,w,b,y,S,T,M,L;io||ro(),this.styles=this.styles||Ja(e),M=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(u=t[h],!(ht[h]&&Us(h,t,r,n,e,i)))){if(d=typeof u,m=qi[h],d==="function"&&(u=u.call(r,n,e,i),d=typeof u),d==="string"&&~u.indexOf("random(")&&(u=pn(u)),m)m(this,e,h,u,r)&&(T=1);else if(h.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(h)+"").trim(),u+="",or.lastIndex=0,or.test(c)||(g=Ke(c),E=Ke(u),E?g!==E&&(c=Mr(e,h,c,E)+E):g&&(u+=g)),this.add(a,"setProperty",c,u,n,i,0,0,h),s.push(h),M.push(h,0,a[h]);else if(d!=="undefined"){if(l&&h in l?(c=typeof l[h]=="function"?l[h].call(r,n,e,i):l[h],qe(c)&&~c.indexOf("random(")&&(c=pn(c)),Ke(c+"")||c==="auto"||(c+=_t.units[h]||Ke(lr(e,h))||""),(c+"").charAt(1)==="="&&(c=lr(e,h))):c=lr(e,h),p=parseFloat(c),v=d==="string"&&u.charAt(1)==="="&&u.substr(0,2),v&&(u=u.substr(2)),f=parseFloat(u),h in Qt&&(h==="autoAlpha"&&(p===1&&lr(e,"visibility")==="hidden"&&f&&(p=0),M.push("visibility",0,a.visibility),Sr(this,a,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=Qt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),w=h in cr,w){if(this.styles.save(h),L=u,d==="string"&&u.substring(0,6)==="var(--"){if(u=St(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var x=e.style.perspective;e.style.perspective=u,u=St(e,"perspective"),x?e.style.perspective=x:Lr(e,"perspective")}f=parseFloat(u)}if(b||(y=e._gsap,y.renderTransform&&!t.parseTransform||Un(e,t.parseTransform),S=t.smoothOrigin!==!1&&y.smooth,b=this._pt=new ot(this._pt,a,we,0,1,y.renderTransform,y,0,-1),b.dep=1),h==="scale")this._pt=new ot(this._pt,y,"scaleY",y.scaleY,(v?zr(y.scaleY,v+f):f)-y.scaleY||0,eo),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){M.push(yt,0,a[yt]),u=Cd(u),y.svg?no(e,u,0,S,0,this):(E=parseFloat(u.split(" ")[2])||0,E!==y.zOrigin&&Sr(this,y,"zOrigin",y.zOrigin,E),Sr(this,a,h,Ni(c),Ni(u)));continue}else if(h==="svgOrigin"){no(e,u,1,S,0,this);continue}else if(h in nl){Id(this,y,h,p,v?zr(p,v+u):u);continue}else if(h==="smoothOrigin"){Sr(this,y,"smooth",y.smooth,u);continue}else if(h==="force3D"){y[h]=u;continue}else if(h==="transform"){Dd(this,u,e);continue}}else h in a||(h=_n(h)||h);if(w||(f||f===0)&&(p||p===0)&&!md.test(u)&&h in a)g=(c+"").substr((p+"").length),f||(f=0),E=Ke(u)||(h in _t.units?_t.units[h]:g),g!==E&&(p=Mr(e,h,c,E)),this._pt=new ot(this._pt,w?y:a,h,p,(v?zr(p,v+f):f)-p,!w&&(E==="px"||h==="zIndex")&&t.autoRound!==!1?vd:eo),this._pt.u=E||0,w&&L!==u?(this._pt.b=c,this._pt.e=L,this._pt.r=yd):g!==E&&E!=="%"&&(this._pt.b=c,this._pt.r=_d);else if(h in a)kd.call(this,e,h,c,v?v+u:u);else if(h in e)this.add(e,h,c||e[h],v?v+u:u,n,i);else if(h!=="parseTransform"){Hi(h,u);continue}w||(h in a?M.push(h,0,a[h]):typeof e[h]=="function"?M.push(h,2,e[h]()):M.push(h,1,c||e[h])),s.push(h)}}T&&Zs(this)},render:function(e,t){if(t.tween._time||!so())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:lr,aliases:Qt,getSetter:function(e,t,r){var n=Qt[t];return n&&n.indexOf(",")<0&&(t=n),t in cr&&t!==yt&&(e._gsap.x||lr(e,"x"))?r&&za===r?t==="scale"?xd:Ed:(za=r||{})&&(t==="scale"?Td:Sd):e.style&&!Pi(e.style[t])?bd:~t.indexOf("-")?wd:Ri(e,t)},core:{_removeProperty:Lr,_getMatrix:ao}};et.utils.checkPrefix=_n;et.core.getStyleSaver=Ja;(function(o,e,t,r){var n=st(o+","+e+","+t,function(i){cr[i]=1});st(e,function(i){_t.units[i]="deg",nl[i]=1}),Qt[n[13]]=o+","+e,st(r,function(i){var s=i.split(":");Qt[s[1]]=n[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");st("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){_t.units[o]="px"});et.registerPlugin(lo);var Oe=et.registerPlugin(lo)||et,Ff=Oe.core.Tween;function ol(o,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(o,r.key,r)}}function Rd(o,e,t){return e&&ol(o.prototype,e),t&&ol(o,t),o}var $e,zi,qd,Lt,Ar,kr,vn,ll,Ur,$n,cl,ur,Gt,ul,dl=function(){return $e||typeof window<"u"&&($e=window.gsap)&&$e.registerPlugin&&$e},fl=1,yn=[],Q=[],Vt=[],jn=Date.now,co=function(e,t){return t},Nd=function(){var e=$n.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,Q),n.push.apply(n,Vt),Q=r,Vt=n,co=function(s,a){return t[s](a)}},fr=function(e,t){return~Vt.indexOf(e)&&Vt[Vt.indexOf(e)+1][t]},Qn=function(e){return!!~cl.indexOf(e)},lt=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:n!==!1,capture:!!i})},at=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Fi="scrollLeft",Bi="scrollTop",uo=function(){return ur&&ur.isPressed||Q.cache++},Wi=function(e,t){var r=function n(i){if(i||i===0){fl&&(Lt.history.scrollRestoration="manual");var s=ur&&ur.isPressed;i=n.v=Math.round(i)||(ur&&ur.iOS?1:0),e(i),n.cacheID=Q.cache,s&&co("ss",i)}else(t||Q.cache!==n.cacheID||co("ref"))&&(n.cacheID=Q.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},tt={s:Fi,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Wi(function(o){return arguments.length?Lt.scrollTo(o,Ie.sc()):Lt.pageXOffset||Ar[Fi]||kr[Fi]||vn[Fi]||0})},Ie={s:Bi,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:tt,sc:Wi(function(o){return arguments.length?Lt.scrollTo(tt.sc(),o):Lt.pageYOffset||Ar[Bi]||kr[Bi]||vn[Bi]||0})},ct=function(e,t){return(t&&t._ctx&&t._ctx.selector||$e.utils.toArray)(e)[0]||(typeof e=="string"&&$e.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Fd=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},dr=function(e,t){var r=t.s,n=t.sc;Qn(e)&&(e=Ar.scrollingElement||kr);var i=Q.indexOf(e),s=n===Ie.sc?1:2;!~i&&(i=Q.push(e)-1),Q[i+s]||lt(e,"scroll",uo);var a=Q[i+s],l=a||(Q[i+s]=Wi(fr(e,r),!0)||(Qn(e)?n:Wi(function(c){return arguments.length?e[r]=c:e[r]})));return l.target=e,a||(l.smooth=$e.getProperty(e,"scrollBehavior")==="smooth"),l},Gi=function(e,t,r){var n=e,i=e,s=jn(),a=s,l=t||50,c=Math.max(500,l*3),u=function(m,h){var g=jn();h||g-s>l?(i=n,n=m,a=s,s=g):r?n+=m:n=i+(m-i)/(g-a)*(s-a)},f=function(){i=n=r?0:n,a=s=0},p=function(m){var h=a,g=i,E=jn();return(m||m===0)&&m!==n&&u(m),s===a||E-a>c?0:(n+(r?g:-g))/((r?E:s)-h)*1e3};return{update:u,reset:f,getVelocity:p}},Kn=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},al=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},pl=function(){$n=$e.core.globals().ScrollTrigger,$n&&$n.core&&Nd()},hl=function(e){return $e=e||dl(),!zi&&$e&&typeof document<"u"&&document.body&&(Lt=window,Ar=document,kr=Ar.documentElement,vn=Ar.body,cl=[Lt,Ar,kr,vn],qd=$e.utils.clamp,ul=$e.core.context||function(){},Ur="onpointerenter"in vn?"pointer":"mouse",ll=Le.isTouch=Lt.matchMedia&&Lt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Lt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Gt=Le.eventTypes=("ontouchstart"in kr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in kr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return fl=0},500),pl(),zi=1),zi};tt.op=Ie;Q.cache=0;var Le=function(){function o(t){this.init(t)}var e=o.prototype;return e.init=function(r){zi||hl($e)||console.warn("Please gsap.registerPlugin(Observer)"),$n||pl();var n=r.tolerance,i=r.dragMinimum,s=r.type,a=r.target,l=r.lineHeight,c=r.debounce,u=r.preventDefault,f=r.onStop,p=r.onStopDelay,d=r.ignore,m=r.wheelSpeed,h=r.event,g=r.onDragStart,E=r.onDragEnd,v=r.onDrag,w=r.onPress,b=r.onRelease,y=r.onRight,S=r.onLeft,T=r.onUp,M=r.onDown,L=r.onChangeX,x=r.onChangeY,P=r.onChange,k=r.onToggleX,H=r.onToggleY,q=r.onHover,N=r.onHoverEnd,D=r.onMove,C=r.ignoreCheck,R=r.isNormalizer,F=r.onGestureStart,_=r.onGestureEnd,B=r.onWheel,K=r.onEnable,te=r.onDisable,V=r.onClick,se=r.scrollSpeed,me=r.capture,ae=r.allowClicks,Ee=r.lockAxis,Pe=r.onLockAxis;this.target=a=ct(a)||kr,this.vars=r,d&&(d=$e.utils.toArray(d)),n=n||1e-9,i=i||0,m=m||1,se=se||1,s=s||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(Lt.getComputedStyle(vn).lineHeight)||22);var qt,Ge,Me,j,fe,pt,vt,A=this,bt=0,er=0,pe=r.passive||!u&&r.passive!==!1,le=dr(a,tt),tr=dr(a,Ie),mr=le(),Hr=tr(),Fe=~s.indexOf("touch")&&!~s.indexOf("pointer")&&Gt[0]==="pointerdown",gr=Qn(a),Ae=a.ownerDocument||Ar,Nt=[0,0,0],Ct=[0,0,0],rr=0,Pn=function(){return rr=jn()},He=function(G,ie){return(A.event=G)&&d&&Fd(G.target,d)||ie&&Fe&&G.pointerType!=="touch"||C&&C(G,ie)},vi=function(){A._vx.reset(),A._vy.reset(),Ge.pause(),f&&f(A)},nr=function(){var G=A.deltaX=al(Nt),ie=A.deltaY=al(Ct),O=Math.abs(G)>=n,Y=Math.abs(ie)>=n;P&&(O||Y)&&P(A,G,ie,Nt,Ct),O&&(y&&A.deltaX>0&&y(A),S&&A.deltaX<0&&S(A),L&&L(A),k&&A.deltaX<0!=bt<0&&k(A),bt=A.deltaX,Nt[0]=Nt[1]=Nt[2]=0),Y&&(M&&A.deltaY>0&&M(A),T&&A.deltaY<0&&T(A),x&&x(A),H&&A.deltaY<0!=er<0&&H(A),er=A.deltaY,Ct[0]=Ct[1]=Ct[2]=0),(j||Me)&&(D&&D(A),Me&&(g&&Me===1&&g(A),v&&v(A),Me=0),j=!1),pt&&!(pt=!1)&&Pe&&Pe(A),fe&&(B(A),fe=!1),qt=0},nn=function(G,ie,O){Nt[O]+=G,Ct[O]+=ie,A._vx.update(G),A._vy.update(ie),c?qt||(qt=requestAnimationFrame(nr)):nr()},sn=function(G,ie){Ee&&!vt&&(A.axis=vt=Math.abs(G)>Math.abs(ie)?"x":"y",pt=!0),vt!=="y"&&(Nt[2]+=G,A._vx.update(G,!0)),vt!=="x"&&(Ct[2]+=ie,A._vy.update(ie,!0)),c?qt||(qt=requestAnimationFrame(nr)):nr()},_r=function(G){if(!He(G,1)){G=Kn(G,u);var ie=G.clientX,O=G.clientY,Y=ie-A.x,z=O-A.y,X=A.isDragging;A.x=ie,A.y=O,(X||(Y||z)&&(Math.abs(A.startX-ie)>=i||Math.abs(A.startY-O)>=i))&&(Me||(Me=X?2:1),X||(A.isDragging=!0),sn(Y,z))}},Or=A.onPress=function(U){He(U,1)||U&&U.button||(A.axis=vt=null,Ge.pause(),A.isPressed=!0,U=Kn(U),bt=er=0,A.startX=A.x=U.clientX,A.startY=A.y=U.clientY,A._vx.reset(),A._vy.reset(),lt(R?a:Ae,Gt[1],_r,pe,!0),A.deltaX=A.deltaY=0,w&&w(A))},ee=A.onRelease=function(U){if(!He(U,1)){at(R?a:Ae,Gt[1],_r,!0);var G=!isNaN(A.y-A.startY),ie=A.isDragging,O=ie&&(Math.abs(A.x-A.startX)>3||Math.abs(A.y-A.startY)>3),Y=Kn(U);!O&&G&&(A._vx.reset(),A._vy.reset(),u&&ae&&$e.delayedCall(.08,function(){if(jn()-rr>300&&!U.defaultPrevented){if(U.target.click)U.target.click();else if(Ae.createEvent){var z=Ae.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,Lt,1,Y.screenX,Y.screenY,Y.clientX,Y.clientY,!1,!1,!1,!1,0,null),U.target.dispatchEvent(z)}}})),A.isDragging=A.isGesturing=A.isPressed=!1,f&&ie&&!R&&Ge.restart(!0),Me&&nr(),E&&ie&&E(A),b&&b(A,O)}},Ir=function(G){return G.touches&&G.touches.length>1&&(A.isGesturing=!0)&&F(G,A.isDragging)},Ft=function(){return(A.isGesturing=!1)||_(A)},Bt=function(G){if(!He(G)){var ie=le(),O=tr();nn((ie-mr)*se,(O-Hr)*se,1),mr=ie,Hr=O,f&&Ge.restart(!0)}},zt=function(G){if(!He(G)){G=Kn(G,u),B&&(fe=!0);var ie=(G.deltaMode===1?l:G.deltaMode===2?Lt.innerHeight:1)*m;nn(G.deltaX*ie,G.deltaY*ie,0),f&&!R&&Ge.restart(!0)}},Dr=function(G){if(!He(G)){var ie=G.clientX,O=G.clientY,Y=ie-A.x,z=O-A.y;A.x=ie,A.y=O,j=!0,f&&Ge.restart(!0),(Y||z)&&sn(Y,z)}},on=function(G){A.event=G,q(A)},ir=function(G){A.event=G,N(A)},Hn=function(G){return He(G)||Kn(G,u)&&V(A)};Ge=A._dc=$e.delayedCall(p||.25,vi).pause(),A.deltaX=A.deltaY=0,A._vx=Gi(0,50,!0),A._vy=Gi(0,50,!0),A.scrollX=le,A.scrollY=tr,A.isDragging=A.isGesturing=A.isPressed=!1,ul(this),A.enable=function(U){return A.isEnabled||(lt(gr?Ae:a,"scroll",uo),s.indexOf("scroll")>=0&&lt(gr?Ae:a,"scroll",Bt,pe,me),s.indexOf("wheel")>=0&&lt(a,"wheel",zt,pe,me),(s.indexOf("touch")>=0&&ll||s.indexOf("pointer")>=0)&&(lt(a,Gt[0],Or,pe,me),lt(Ae,Gt[2],ee),lt(Ae,Gt[3],ee),ae&&lt(a,"click",Pn,!0,!0),V&&lt(a,"click",Hn),F&&lt(Ae,"gesturestart",Ir),_&&lt(Ae,"gestureend",Ft),q&&lt(a,Ur+"enter",on),N&&lt(a,Ur+"leave",ir),D&&lt(a,Ur+"move",Dr)),A.isEnabled=!0,A.isDragging=A.isGesturing=A.isPressed=j=Me=!1,A._vx.reset(),A._vy.reset(),mr=le(),Hr=tr(),U&&U.type&&Or(U),K&&K(A)),A},A.disable=function(){A.isEnabled&&(yn.filter(function(U){return U!==A&&Qn(U.target)}).length||at(gr?Ae:a,"scroll",uo),A.isPressed&&(A._vx.reset(),A._vy.reset(),at(R?a:Ae,Gt[1],_r,!0)),at(gr?Ae:a,"scroll",Bt,me),at(a,"wheel",zt,me),at(a,Gt[0],Or,me),at(Ae,Gt[2],ee),at(Ae,Gt[3],ee),at(a,"click",Pn,!0),at(a,"click",Hn),at(Ae,"gesturestart",Ir),at(Ae,"gestureend",Ft),at(a,Ur+"enter",on),at(a,Ur+"leave",ir),at(a,Ur+"move",Dr),A.isEnabled=A.isPressed=A.isDragging=!1,te&&te(A))},A.kill=A.revert=function(){A.disable();var U=yn.indexOf(A);U>=0&&yn.splice(U,1),ur===A&&(ur=0)},yn.push(A),R&&Qn(a)&&(ur=A),A.enable(h)},Rd(o,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),o}();Le.version="3.14.2";Le.create=function(o){return new Le(o)};Le.register=hl;Le.getAll=function(){return yn.slice()};Le.getById=function(o){return yn.filter(function(e){return e.vars.id===o})[0]};dl()&&$e.registerPlugin(Le);var I,En,J,he,kt,oe,Lo,ss,di,ii,Jn,Vi,rt,ls,vo,dt,ml,gl,xn,Hl,fo,Ol,ut,bo,Il,Dl,Cr,wo,Mo,Tn,Ao,si,Eo,po,Yi=1,nt=Date.now,ho=nt(),Rt=0,ei=0,_l=function(e,t,r){var n=At(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},yl=function(e,t){return t&&(!At(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Bd=function o(){return ei&&requestAnimationFrame(o)},vl=function(){return ls=1},bl=function(){return ls=0},Zt=function(e){return e},ti=function(e){return Math.round(e*1e5)/1e5||0},Rl=function(){return typeof window<"u"},ql=function(){return I||Rl()&&(I=window.gsap)&&I.registerPlugin&&I},Jr=function(e){return!!~Lo.indexOf(e)},Nl=function(e){return(e==="Height"?Ao:J["inner"+e])||kt["client"+e]||oe["client"+e]},Fl=function(e){return fr(e,"getBoundingClientRect")||(Jr(e)?function(){return is.width=J.innerWidth,is.height=Ao,is}:function(){return pr(e)})},zd=function(e,t,r){var n=r.d,i=r.d2,s=r.a;return(s=fr(e,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(t?Nl(i):e["client"+i])||0}},Wd=function(e,t){return!t||~Vt.indexOf(e)?Fl(e):function(){return is}},Jt=function(e,t){var r=t.s,n=t.d2,i=t.d,s=t.a;return Math.max(0,(r="scroll"+n)&&(s=fr(e,r))?s()-Fl(e)()[i]:Jr(e)?(kt[r]||oe[r])-Nl(n):e[r]-e["offset"+n])},Xi=function(e,t){for(var r=0;r<xn.length;r+=3)(!t||~t.indexOf(xn[r+1]))&&e(xn[r],xn[r+1],xn[r+2])},At=function(e){return typeof e=="string"},it=function(e){return typeof e=="function"},ri=function(e){return typeof e=="number"},Kr=function(e){return typeof e=="object"},Zn=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},mo=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e)}):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},bn=Math.abs,Bl="left",zl="top",ko="right",Co="bottom",jr="width",Qr="height",oi="Right",ai="Left",li="Top",ci="Bottom",De="padding",It="margin",Ln="Width",Po="Height",Ne="px",Dt=function(e){return J.getComputedStyle(e)},Gd=function(e){var t=Dt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},wl=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},pr=function(e,t){var r=t&&Dt(e)[vo]!=="matrix(1, 0, 0, 1, 0, 0)"&&I.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},os=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Wl=function(e){var t=[],r=e.labels,n=e.duration(),i;for(i in r)t.push(r[i]/n);return t},Vd=function(e){return function(t){return I.utils.snap(Wl(e),t)}},Ho=function(e){var t=I.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,i){return n-i});return r?function(n,i,s){s===void 0&&(s=.001);var a;if(!i)return t(n);if(i>0){for(n-=s,a=0;a<r.length;a++)if(r[a]>=n)return r[a];return r[a-1]}else for(a=r.length,n+=s;a--;)if(r[a]<=n)return r[a];return r[0]}:function(n,i,s){s===void 0&&(s=.001);var a=t(n);return!i||Math.abs(a-n)<s||a-n<0==i<0?a:t(i<0?n-e:n+e)}},Yd=function(e){return function(t,r){return Ho(Wl(e))(t,r.direction)}},Ui=function(e,t,r,n){return r.split(",").forEach(function(i){return e(t,i,n)})},We=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},ze=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Ki=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},El={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},$i={toggleActions:"play",anticipatePin:0},as={top:0,left:0,center:.5,bottom:1,right:1},es=function(e,t){if(At(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in as?as[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ji=function(e,t,r,n,i,s,a,l){var c=i.startColor,u=i.endColor,f=i.fontSize,p=i.indent,d=i.fontWeight,m=he.createElement("div"),h=Jr(r)||fr(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,E=h?oe:r,v=e.indexOf("start")!==-1,w=v?c:u,b="border-color:"+w+";font-size:"+f+";color:"+w+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((g||l)&&h?"fixed;":"absolute;"),(g||l||!h)&&(b+=(n===Ie?ko:Co)+":"+(s+parseFloat(p))+"px;"),a&&(b+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),m._isStart=v,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=b,m.innerText=t||t===0?e+"-"+t:e,E.children[0]?E.insertBefore(m,E.children[0]):E.appendChild(m),m._offset=m["offset"+n.op.d2],ts(m,0,n,v),m},ts=function(e,t,r,n){var i={display:"block"},s=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+Ln]=1,i["border"+a+Ln]=0,i[r.p]=t+"px",I.set(e,i)},Z=[],xo={},fi,xl=function(){return nt()-Rt>34&&(fi||(fi=requestAnimationFrame(hr)))},wn=function(){(!ut||!ut.isPressed||ut.startX>oe.clientWidth)&&(Q.cache++,ut?fi||(fi=requestAnimationFrame(hr)):hr(),Rt||tn("scrollStart"),Rt=nt())},go=function(){Dl=J.innerWidth,Il=J.innerHeight},ni=function(e){Q.cache++,(e===!0||!rt&&!Ol&&!he.fullscreenElement&&!he.webkitFullscreenElement&&(!bo||Dl!==J.innerWidth||Math.abs(J.innerHeight-Il)>J.innerHeight*.25))&&ss.restart(!0)},en={},Xd=[],Gl=function o(){return ze(W,"scrollEnd",o)||$r(!0)},tn=function(e){return en[e]&&en[e].map(function(t){return t()})||Xd},Mt=[],Vl=function(e){for(var t=0;t<Mt.length;t+=5)(!e||Mt[t+4]&&Mt[t+4].query===e)&&(Mt[t].style.cssText=Mt[t+1],Mt[t].getBBox&&Mt[t].setAttribute("transform",Mt[t+2]||""),Mt[t+3].uncache=1)},Yl=function(){return Q.forEach(function(e){return it(e)&&++e.cacheID&&(e.rec=e())})},Oo=function(e,t){var r;for(dt=0;dt<Z.length;dt++)r=Z[dt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));si=!0,t&&Vl(t),t||tn("revert")},Xl=function(e,t){Q.cache++,(t||!ft)&&Q.forEach(function(r){return it(r)&&r.cacheID++&&(r.rec=0)}),At(e)&&(J.history.scrollRestoration=Mo=e)},ft,Zr=0,Tl,Ud=function(){if(Tl!==Zr){var e=Tl=Zr;requestAnimationFrame(function(){return e===Zr&&$r(!0)})}},Ul=function(){oe.appendChild(Tn),Ao=!ut&&Tn.offsetHeight||J.innerHeight,oe.removeChild(Tn)},Sl=function(e){return di(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},$r=function(e,t){if(kt=he.documentElement,oe=he.body,Lo=[J,he,kt,oe],Rt&&!e&&!si){We(W,"scrollEnd",Gl);return}Ul(),ft=W.isRefreshing=!0,si||Yl();var r=tn("refreshInit");Hl&&W.sort(),t||Oo(),Q.forEach(function(n){it(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),Z.slice(0).forEach(function(n){return n.refresh()}),si=!1,Z.forEach(function(n){if(n._subPinOffset&&n.pin){var i=n.vars.horizontal?"offsetWidth":"offsetHeight",s=n.pin[i];n.revert(!0,1),n.adjustPinSpacing(n.pin[i]-s),n.refresh()}}),Eo=1,Sl(!0),Z.forEach(function(n){var i=Jt(n.scroller,n._dir),s=n.vars.end==="max"||n._endClamp&&n.end>i,a=n._startClamp&&n.start>=i;(s||a)&&n.setPositions(a?i-1:n.start,s?Math.max(a?i:n.start+1,i):n.end,!0)}),Sl(!1),Eo=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),Q.forEach(function(n){it(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Xl(Mo,1),ss.pause(),Zr++,ft=2,hr(2),Z.forEach(function(n){return it(n.vars.onRefresh)&&n.vars.onRefresh(n)}),ft=W.isRefreshing=!1,tn("refresh")},To=0,rs=1,ui,hr=function(e){if(e===2||!ft&&!si){W.isUpdating=!0,ui&&ui.update(0);var t=Z.length,r=nt(),n=r-ho>=50,i=t&&Z[0].scroll();if(rs=To>i?-1:1,ft||(To=i),n&&(Rt&&!ls&&r-Rt>200&&(Rt=0,tn("scrollEnd")),Jn=ho,ho=r),rs<0){for(dt=t;dt-- >0;)Z[dt]&&Z[dt].update(0,n);rs=1}else for(dt=0;dt<t;dt++)Z[dt]&&Z[dt].update(0,n);W.isUpdating=!1}fi=0},So=[Bl,zl,Co,ko,It+ci,It+oi,It+li,It+ai,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ns=So.concat([jr,Qr,"boxSizing","max"+Ln,"max"+Po,"position",It,De,De+li,De+oi,De+ci,De+ai]),Kd=function(e,t,r){Sn(r);var n=e._gsap;if(n.spacerIsNative)Sn(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},_o=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i=So.length,s=t.style,a=e.style,l;i--;)l=So[i],s[l]=r[l];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),a[Co]=a[ko]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[jr]=os(e,tt)+Ne,s[Qr]=os(e,Ie)+Ne,s[De]=a[It]=a[zl]=a[Bl]="0",Sn(n),a[jr]=a["max"+Ln]=r[jr],a[Qr]=a["max"+Po]=r[Qr],a[De]=r[De],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},$d=/([A-Z])/g,Sn=function(e){if(e){var t=e.t.style,r=e.length,n=0,i,s;for((e.t._gsap||I.core.getCache(e.t)).uncache=1;n<r;n+=2)s=e[n+1],i=e[n],s?t[i]=s:t[i]&&t.removeProperty(i.replace($d,"-$1").toLowerCase())}},Qi=function(e){for(var t=ns.length,r=e.style,n=[],i=0;i<t;i++)n.push(ns[i],r[ns[i]]);return n.t=e,n},jd=function(e,t,r){for(var n=[],i=e.length,s=r?8:0,a;s<i;s+=2)a=e[s],n.push(a,a in t?t[a]:e[s+1]);return n.t=e.t,n},is={left:0,top:0},Ll=function(e,t,r,n,i,s,a,l,c,u,f,p,d,m){it(e)&&(e=e(l)),At(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?es("0"+e.substr(3),r):0));var h=d?d.time():0,g,E,v;if(d&&d.seek(0),isNaN(e)||(e=+e),ri(e))d&&(e=I.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,p,e)),a&&ts(a,r,n,!0);else{it(t)&&(t=t(l));var w=(e||"0").split(" "),b,y,S,T;v=ct(t,l)||oe,b=pr(v)||{},(!b||!b.left&&!b.top)&&Dt(v).display==="none"&&(T=v.style.display,v.style.display="block",b=pr(v),T?v.style.display=T:v.style.removeProperty("display")),y=es(w[0],b[n.d]),S=es(w[1]||"0",r),e=b[n.p]-c[n.p]-u+y+i-S,a&&ts(a,S,n,r-S<20||a._isStart&&S>20),r-=r-S}if(m&&(l[m]=e||-.001,e<0&&(e=0)),s){var M=e+r,L=s._isStart;g="scroll"+n.d2,ts(s,M,n,L&&M>20||!L&&(f?Math.max(oe[g],kt[g]):s.parentNode[g])<=M+1),f&&(c=pr(a),f&&(s.style[n.op.p]=c[n.op.p]-n.op.m-s._offset+Ne))}return d&&v&&(g=pr(v),d.seek(p),E=pr(v),d._caScrollDist=g[n.p]-E[n.p],e=e/d._caScrollDist*p),d&&d.seek(h),d?e:Math.round(e)},Qd=/(webkit|moz|length|cssText|inset)/i,Ml=function(e,t,r,n){if(e.parentNode!==t){var i=e.style,s,a;if(t===oe){e._stOrig=i.cssText,a=Dt(e);for(s in a)!+s&&!Qd.test(s)&&a[s]&&typeof i[s]=="string"&&s!=="0"&&(i[s]=a[s]);i.top=r,i.left=n}else i.cssText=e._stOrig;I.core.getCache(e).uncache=1,t.appendChild(e)}},Kl=function(e,t,r){var n=t,i=n;return function(s){var a=Math.round(e());return a!==n&&a!==i&&Math.abs(a-n)>3&&Math.abs(a-i)>3&&(s=a,r&&r()),i=n,n=Math.round(s),n}},Zi=function(e,t,r){var n={};n[t.p]="+="+r,I.set(e,n)},Al=function(e,t){var r=dr(e,t),n="_scroll"+t.p2,i=function s(a,l,c,u,f){var p=s.tween,d=l.onComplete,m={};c=c||r();var h=Kl(r,c,function(){p.kill(),s.tween=0});return f=u&&f||0,u=u||a-c,p&&p.kill(),l[n]=a,l.inherit=!1,l.modifiers=m,m[n]=function(){return h(c+u*p.ratio+f*p.ratio*p.ratio)},l.onUpdate=function(){Q.cache++,s.tween&&hr()},l.onComplete=function(){s.tween=0,d&&d.call(p)},p=s.tween=I.to(e,l),p};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},We(e,"wheel",r.wheelHandler),W.isTouch&&We(e,"touchmove",r.wheelHandler),i},W=function(){function o(t,r){En||o.register(I)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),wo(this),this.init(t,r)}var e=o.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!ei){this.update=this.refresh=this.kill=Zt;return}r=wl(At(r)||ri(r)||r.nodeType?{trigger:r}:r,$i);var i=r,s=i.onUpdate,a=i.toggleClass,l=i.id,c=i.onToggle,u=i.onRefresh,f=i.scrub,p=i.trigger,d=i.pin,m=i.pinSpacing,h=i.invalidateOnRefresh,g=i.anticipatePin,E=i.onScrubComplete,v=i.onSnapComplete,w=i.once,b=i.snap,y=i.pinReparent,S=i.pinSpacer,T=i.containerAnimation,M=i.fastScrollEnd,L=i.preventOverlaps,x=r.horizontal||r.containerAnimation&&r.horizontal!==!1?tt:Ie,P=!f&&f!==0,k=ct(r.scroller||J),H=I.core.getCache(k),q=Jr(k),N=("pinType"in r?r.pinType:fr(k,"pinType")||q&&"fixed")==="fixed",D=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],C=P&&r.toggleActions.split(" "),R="markers"in r?r.markers:$i.markers,F=q?0:parseFloat(Dt(k)["border"+x.p2+Ln])||0,_=this,B=r.onRefreshInit&&function(){return r.onRefreshInit(_)},K=zd(k,q,x),te=Wd(k,q),V=0,se=0,me=0,ae=dr(k,x),Ee,Pe,qt,Ge,Me,j,fe,pt,vt,A,bt,er,pe,le,tr,mr,Hr,Fe,gr,Ae,Nt,Ct,rr,Pn,He,vi,nr,nn,sn,_r,Or,ee,Ir,Ft,Bt,zt,Dr,on,ir;if(_._startClamp=_._endClamp=!1,_._dir=x,g*=45,_.scroller=k,_.scroll=T?T.time.bind(T):ae,Ge=ae(),_.vars=r,n=n||r.animation,"refreshPriority"in r&&(Hl=1,r.refreshPriority===-9999&&(ui=_)),H.tweenScroll=H.tweenScroll||{top:Al(k,Ie),left:Al(k,tt)},_.tweenTo=Ee=H.tweenScroll[x.p],_.scrubDuration=function(O){Ir=ri(O)&&O,Ir?ee?ee.duration(O):ee=I.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ir,paused:!0,onComplete:function(){return E&&E(_)}}):(ee&&ee.progress(1).kill(),ee=0)},n&&(n.vars.lazy=!1,n._initted&&!_.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),_.animation=n.pause(),n.scrollTrigger=_,_.scrubDuration(f),_r=0,l||(l=n.vars.id)),b&&((!Kr(b)||b.push)&&(b={snapTo:b}),"scrollBehavior"in oe.style&&I.set(q?[oe,kt]:k,{scrollBehavior:"auto"}),Q.forEach(function(O){return it(O)&&O.target===(q?he.scrollingElement||kt:k)&&(O.smooth=!1)}),qt=it(b.snapTo)?b.snapTo:b.snapTo==="labels"?Vd(n):b.snapTo==="labelsDirectional"?Yd(n):b.directional!==!1?function(O,Y){return Ho(b.snapTo)(O,nt()-se<500?0:Y.direction)}:I.utils.snap(b.snapTo),Ft=b.duration||{min:.1,max:2},Ft=Kr(Ft)?ii(Ft.min,Ft.max):ii(Ft,Ft),Bt=I.delayedCall(b.delay||Ir/2||.1,function(){var O=ae(),Y=nt()-se<500,z=Ee.tween;if((Y||Math.abs(_.getVelocity())<10)&&!z&&!ls&&V!==O){var X=(O-j)/le,Be=n&&!P?n.totalProgress():X,re=Y?0:(Be-Or)/(nt()-Jn)*1e3||0,ke=I.utils.clamp(-X,1-X,bn(re/2)*re/.185),je=X+(b.inertia===!1?0:ke),xe,ge,ce=b,Wt=ce.onStart,ye=ce.onInterrupt,wt=ce.onComplete;if(xe=qt(je,_),ri(xe)||(xe=je),ge=Math.max(0,Math.round(j+xe*le)),O<=fe&&O>=j&&ge!==O){if(z&&!z._initted&&z.data<=bn(ge-O))return;b.inertia===!1&&(ke=xe-X),Ee(ge,{duration:Ft(bn(Math.max(bn(je-Be),bn(xe-Be))*.185/re/.05||0)),ease:b.ease||"power3",data:bn(ge-O),onInterrupt:function(){return Bt.restart(!0)&&ye&&ye(_)},onComplete:function(){_.update(),V=ae(),n&&!P&&(ee?ee.resetTo("totalProgress",xe,n._tTime/n._tDur):n.progress(xe)),_r=Or=n&&!P?n.totalProgress():_.progress,v&&v(_),wt&&wt(_)}},O,ke*le,ge-O-ke*le),Wt&&Wt(_,Ee.tween)}}else _.isActive&&V!==O&&Bt.restart(!0)}).pause()),l&&(xo[l]=_),p=_.trigger=ct(p||d!==!0&&d),ir=p&&p._gsap&&p._gsap.stRevert,ir&&(ir=ir(_)),d=d===!0?p:ct(d),At(a)&&(a={targets:p,className:a}),d&&(m===!1||m===It||(m=!m&&d.parentNode&&d.parentNode.style&&Dt(d.parentNode).display==="flex"?!1:De),_.pin=d,Pe=I.core.getCache(d),Pe.spacer?tr=Pe.pinState:(S&&(S=ct(S),S&&!S.nodeType&&(S=S.current||S.nativeElement),Pe.spacerIsNative=!!S,S&&(Pe.spacerState=Qi(S))),Pe.spacer=Fe=S||he.createElement("div"),Fe.classList.add("pin-spacer"),l&&Fe.classList.add("pin-spacer-"+l),Pe.pinState=tr=Qi(d)),r.force3D!==!1&&I.set(d,{force3D:!0}),_.spacer=Fe=Pe.spacer,sn=Dt(d),Pn=sn[m+x.os2],Ae=I.getProperty(d),Nt=I.quickSetter(d,x.a,Ne),_o(d,Fe,sn),Hr=Qi(d)),R){er=Kr(R)?wl(R,El):El,A=ji("scroller-start",l,k,x,er,0),bt=ji("scroller-end",l,k,x,er,0,A),gr=A["offset"+x.op.d2];var Hn=ct(fr(k,"content")||k);pt=this.markerStart=ji("start",l,Hn,x,er,gr,0,T),vt=this.markerEnd=ji("end",l,Hn,x,er,gr,0,T),T&&(on=I.quickSetter([pt,vt],x.a,Ne)),!N&&!(Vt.length&&fr(k,"fixedMarkers")===!0)&&(Gd(q?oe:k),I.set([A,bt],{force3D:!0}),vi=I.quickSetter(A,x.a,Ne),nn=I.quickSetter(bt,x.a,Ne))}if(T){var U=T.vars.onUpdate,G=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){_.update(0,0,1),U&&U.apply(T,G||[])})}if(_.previous=function(){return Z[Z.indexOf(_)-1]},_.next=function(){return Z[Z.indexOf(_)+1]},_.revert=function(O,Y){if(!Y)return _.kill(!0);var z=O!==!1||!_.enabled,X=rt;z!==_.isReverted&&(z&&(zt=Math.max(ae(),_.scroll.rec||0),me=_.progress,Dr=n&&n.progress()),pt&&[pt,vt,A,bt].forEach(function(Be){return Be.style.display=z?"none":"block"}),z&&(rt=_,_.update(z)),d&&(!y||!_.isActive)&&(z?Kd(d,Fe,tr):_o(d,Fe,Dt(d),He)),z||_.update(z),rt=X,_.isReverted=z)},_.refresh=function(O,Y,z,X){if(!((rt||!_.enabled)&&!Y)){if(d&&O&&Rt){We(o,"scrollEnd",Gl);return}!ft&&B&&B(_),rt=_,Ee.tween&&!z&&(Ee.tween.kill(),Ee.tween=0),ee&&ee.pause(),h&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(yr){return yr.vars.immediateRender&&yr.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),_.isReverted||_.revert(!0,!0),_._subPinOffset=!1;var Be=K(),re=te(),ke=T?T.duration():Jt(k,x),je=le<=.01||!le,xe=0,ge=X||0,ce=Kr(z)?z.end:r.end,Wt=r.endTrigger||p,ye=Kr(z)?z.start:r.start||(r.start===0||!p?0:d?"0 0":"0 100%"),wt=_.pinnedContainer=r.pinnedContainer&&ct(r.pinnedContainer,_),Yt=p&&Math.max(0,Z.indexOf(_))||0,Ve=Yt,Ye,Qe,Rr,bi,Ze,Re,Xt,ms,Uo,On,Ut,In,wi;for(R&&Kr(z)&&(In=I.getProperty(A,x.p),wi=I.getProperty(bt,x.p));Ve-- >0;)Re=Z[Ve],Re.end||Re.refresh(0,1)||(rt=_),Xt=Re.pin,Xt&&(Xt===p||Xt===d||Xt===wt)&&!Re.isReverted&&(On||(On=[]),On.unshift(Re),Re.revert(!0,!0)),Re!==Z[Ve]&&(Yt--,Ve--);for(it(ye)&&(ye=ye(_)),ye=_l(ye,"start",_),j=Ll(ye,p,Be,x,ae(),pt,A,_,re,F,N,ke,T,_._startClamp&&"_startClamp")||(d?-.001:0),it(ce)&&(ce=ce(_)),At(ce)&&!ce.indexOf("+=")&&(~ce.indexOf(" ")?ce=(At(ye)?ye.split(" ")[0]:"")+ce:(xe=es(ce.substr(2),Be),ce=At(ye)?ye:(T?I.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,j):j)+xe,Wt=p)),ce=_l(ce,"end",_),fe=Math.max(j,Ll(ce||(Wt?"100% 0":ke),Wt,Be,x,ae()+xe,vt,bt,_,re,F,N,ke,T,_._endClamp&&"_endClamp"))||-.001,xe=0,Ve=Yt;Ve--;)Re=Z[Ve]||{},Xt=Re.pin,Xt&&Re.start-Re._pinPush<=j&&!T&&Re.end>0&&(Ye=Re.end-(_._startClamp?Math.max(0,Re.start):Re.start),(Xt===p&&Re.start-Re._pinPush<j||Xt===wt)&&isNaN(ye)&&(xe+=Ye*(1-Re.progress)),Xt===d&&(ge+=Ye));if(j+=xe,fe+=xe,_._startClamp&&(_._startClamp+=xe),_._endClamp&&!ft&&(_._endClamp=fe||-.001,fe=Math.min(fe,Jt(k,x))),le=fe-j||(j-=.01)&&.001,je&&(me=I.utils.clamp(0,1,I.utils.normalize(j,fe,zt))),_._pinPush=ge,pt&&xe&&(Ye={},Ye[x.a]="+="+xe,wt&&(Ye[x.p]="-="+ae()),I.set([pt,vt],Ye)),d&&!(Eo&&_.end>=Jt(k,x)))Ye=Dt(d),bi=x===Ie,Rr=ae(),Ct=parseFloat(Ae(x.a))+ge,!ke&&fe>1&&(Ut=(q?he.scrollingElement||kt:k).style,Ut={style:Ut,value:Ut["overflow"+x.a.toUpperCase()]},q&&Dt(oe)["overflow"+x.a.toUpperCase()]!=="scroll"&&(Ut.style["overflow"+x.a.toUpperCase()]="scroll")),_o(d,Fe,Ye),Hr=Qi(d),Qe=pr(d,!0),ms=N&&dr(k,bi?tt:Ie)(),m?(He=[m+x.os2,le+ge+Ne],He.t=Fe,Ve=m===De?os(d,x)+le+ge:0,Ve&&(He.push(x.d,Ve+Ne),Fe.style.flexBasis!=="auto"&&(Fe.style.flexBasis=Ve+Ne)),Sn(He),wt&&Z.forEach(function(yr){yr.pin===wt&&yr.vars.pinSpacing!==!1&&(yr._subPinOffset=!0)}),N&&ae(zt)):(Ve=os(d,x),Ve&&Fe.style.flexBasis!=="auto"&&(Fe.style.flexBasis=Ve+Ne)),N&&(Ze={top:Qe.top+(bi?Rr-j:ms)+Ne,left:Qe.left+(bi?ms:Rr-j)+Ne,boxSizing:"border-box",position:"fixed"},Ze[jr]=Ze["max"+Ln]=Math.ceil(Qe.width)+Ne,Ze[Qr]=Ze["max"+Po]=Math.ceil(Qe.height)+Ne,Ze[It]=Ze[It+li]=Ze[It+oi]=Ze[It+ci]=Ze[It+ai]="0",Ze[De]=Ye[De],Ze[De+li]=Ye[De+li],Ze[De+oi]=Ye[De+oi],Ze[De+ci]=Ye[De+ci],Ze[De+ai]=Ye[De+ai],mr=jd(tr,Ze,y),ft&&ae(0)),n?(Uo=n._initted,fo(1),n.render(n.duration(),!0,!0),rr=Ae(x.a)-Ct+le+ge,nr=Math.abs(le-rr)>1,N&&nr&&mr.splice(mr.length-2,2),n.render(0,!0,!0),Uo||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),fo(0)):rr=le,Ut&&(Ut.value?Ut.style["overflow"+x.a.toUpperCase()]=Ut.value:Ut.style.removeProperty("overflow-"+x.a));else if(p&&ae()&&!T)for(Qe=p.parentNode;Qe&&Qe!==oe;)Qe._pinOffset&&(j-=Qe._pinOffset,fe-=Qe._pinOffset),Qe=Qe.parentNode;On&&On.forEach(function(yr){return yr.revert(!1,!0)}),_.start=j,_.end=fe,Ge=Me=ft?zt:ae(),!T&&!ft&&(Ge<zt&&ae(zt),_.scroll.rec=0),_.revert(!1,!0),se=nt(),Bt&&(V=-1,Bt.restart(!0)),rt=0,n&&P&&(n._initted||Dr)&&n.progress()!==Dr&&n.progress(Dr||0,!0).render(n.time(),!0,!0),(je||me!==_.progress||T||h||n&&!n._initted)&&(n&&!P&&(n._initted||me||n.vars.immediateRender!==!1)&&n.totalProgress(T&&j<-.001&&!me?I.utils.normalize(j,fe,0):me,!0),_.progress=je||(Ge-j)/le===me?0:me),d&&m&&(Fe._pinOffset=Math.round(_.progress*rr)),ee&&ee.invalidate(),isNaN(In)||(In-=I.getProperty(A,x.p),wi-=I.getProperty(bt,x.p),Zi(A,x,In),Zi(pt,x,In-(X||0)),Zi(bt,x,wi),Zi(vt,x,wi-(X||0))),je&&!ft&&_.update(),u&&!ft&&!pe&&(pe=!0,u(_),pe=!1)}},_.getVelocity=function(){return(ae()-Me)/(nt()-Jn)*1e3||0},_.endAnimation=function(){Zn(_.callbackAnimation),n&&(ee?ee.progress(1):n.paused()?P||Zn(n,_.direction<0,1):Zn(n,n.reversed()))},_.labelToScroll=function(O){return n&&n.labels&&(j||_.refresh()||j)+n.labels[O]/n.duration()*le||0},_.getTrailing=function(O){var Y=Z.indexOf(_),z=_.direction>0?Z.slice(0,Y).reverse():Z.slice(Y+1);return(At(O)?z.filter(function(X){return X.vars.preventOverlaps===O}):z).filter(function(X){return _.direction>0?X.end<=j:X.start>=fe})},_.update=function(O,Y,z){if(!(T&&!z&&!O)){var X=ft===!0?zt:_.scroll(),Be=O?0:(X-j)/le,re=Be<0?0:Be>1?1:Be||0,ke=_.progress,je,xe,ge,ce,Wt,ye,wt,Yt;if(Y&&(Me=Ge,Ge=T?ae():X,b&&(Or=_r,_r=n&&!P?n.totalProgress():re)),g&&d&&!rt&&!Yi&&Rt&&(!re&&j<X+(X-Me)/(nt()-Jn)*g?re=1e-4:re===1&&fe>X+(X-Me)/(nt()-Jn)*g&&(re=.9999)),re!==ke&&_.enabled){if(je=_.isActive=!!re&&re<1,xe=!!ke&&ke<1,ye=je!==xe,Wt=ye||!!re!=!!ke,_.direction=re>ke?1:-1,_.progress=re,Wt&&!rt&&(ge=re&&!ke?0:re===1?1:ke===1?2:3,P&&(ce=!ye&&C[ge+1]!=="none"&&C[ge+1]||C[ge],Yt=n&&(ce==="complete"||ce==="reset"||ce in n))),L&&(ye||Yt)&&(Yt||f||!n)&&(it(L)?L(_):_.getTrailing(L).forEach(function(Rr){return Rr.endAnimation()})),P||(ee&&!rt&&!Yi?(ee._dp._time-ee._start!==ee._time&&ee.render(ee._dp._time-ee._start),ee.resetTo?ee.resetTo("totalProgress",re,n._tTime/n._tDur):(ee.vars.totalProgress=re,ee.invalidate().restart())):n&&n.totalProgress(re,!!(rt&&(se||O)))),d){if(O&&m&&(Fe.style[m+x.os2]=Pn),!N)Nt(ti(Ct+rr*re));else if(Wt){if(wt=!O&&re>ke&&fe+1>X&&X+1>=Jt(k,x),y)if(!O&&(je||wt)){var Ve=pr(d,!0),Ye=X-j;Ml(d,oe,Ve.top+(x===Ie?Ye:0)+Ne,Ve.left+(x===Ie?0:Ye)+Ne)}else Ml(d,Fe);Sn(je||wt?mr:Hr),nr&&re<1&&je||Nt(Ct+(re===1&&!wt?rr:0))}}b&&!Ee.tween&&!rt&&!Yi&&Bt.restart(!0),a&&(ye||w&&re&&(re<1||!po))&&di(a.targets).forEach(function(Rr){return Rr.classList[je||w?"add":"remove"](a.className)}),s&&!P&&!O&&s(_),Wt&&!rt?(P&&(Yt&&(ce==="complete"?n.pause().totalProgress(1):ce==="reset"?n.restart(!0).pause():ce==="restart"?n.restart(!0):n[ce]()),s&&s(_)),(ye||!po)&&(c&&ye&&mo(_,c),D[ge]&&mo(_,D[ge]),w&&(re===1?_.kill(!1,1):D[ge]=0),ye||(ge=re===1?1:3,D[ge]&&mo(_,D[ge]))),M&&!je&&Math.abs(_.getVelocity())>(ri(M)?M:2500)&&(Zn(_.callbackAnimation),ee?ee.progress(1):Zn(n,ce==="reverse"?1:!re,1))):P&&s&&!rt&&s(_)}if(nn){var Qe=T?X/T.duration()*(T._caScrollDist||0):X;vi(Qe+(A._isFlipped?1:0)),nn(Qe)}on&&on(-X/T.duration()*(T._caScrollDist||0))}},_.enable=function(O,Y){_.enabled||(_.enabled=!0,We(k,"resize",ni),q||We(k,"scroll",wn),B&&We(o,"refreshInit",B),O!==!1&&(_.progress=me=0,Ge=Me=V=ae()),Y!==!1&&_.refresh())},_.getTween=function(O){return O&&Ee?Ee.tween:ee},_.setPositions=function(O,Y,z,X){if(T){var Be=T.scrollTrigger,re=T.duration(),ke=Be.end-Be.start;O=Be.start+ke*O/re,Y=Be.start+ke*Y/re}_.refresh(!1,!1,{start:yl(O,z&&!!_._startClamp),end:yl(Y,z&&!!_._endClamp)},X),_.update()},_.adjustPinSpacing=function(O){if(He&&O){var Y=He.indexOf(x.d)+1;He[Y]=parseFloat(He[Y])+O+Ne,He[1]=parseFloat(He[1])+O+Ne,Sn(He)}},_.disable=function(O,Y){if(O!==!1&&_.revert(!0,!0),_.enabled&&(_.enabled=_.isActive=!1,Y||ee&&ee.pause(),zt=0,Pe&&(Pe.uncache=1),B&&ze(o,"refreshInit",B),Bt&&(Bt.pause(),Ee.tween&&Ee.tween.kill()&&(Ee.tween=0)),!q)){for(var z=Z.length;z--;)if(Z[z].scroller===k&&Z[z]!==_)return;ze(k,"resize",ni),q||ze(k,"scroll",wn)}},_.kill=function(O,Y){_.disable(O,Y),ee&&!Y&&ee.kill(),l&&delete xo[l];var z=Z.indexOf(_);z>=0&&Z.splice(z,1),z===dt&&rs>0&&dt--,z=0,Z.forEach(function(X){return X.scroller===_.scroller&&(z=1)}),z||ft||(_.scroll.rec=0),n&&(n.scrollTrigger=null,O&&n.revert({kill:!1}),Y||n.kill()),pt&&[pt,vt,A,bt].forEach(function(X){return X.parentNode&&X.parentNode.removeChild(X)}),ui===_&&(ui=0),d&&(Pe&&(Pe.uncache=1),z=0,Z.forEach(function(X){return X.pin===d&&z++}),z||(Pe.spacer=0)),r.onKill&&r.onKill(_)},Z.push(_),_.enable(!1,!1),ir&&ir(_),n&&n.add&&!le){var ie=_.update;_.update=function(){_.update=ie,Q.cache++,j||fe||_.refresh()},I.delayedCall(.01,_.update),le=.01,j=fe=0}else _.refresh();d&&Ud()},o.register=function(r){return En||(I=r||ql(),Rl()&&window.document&&o.enable(),En=ei),En},o.defaults=function(r){if(r)for(var n in r)$i[n]=r[n];return $i},o.disable=function(r,n){ei=0,Z.forEach(function(s){return s[n?"kill":"disable"](r)}),ze(J,"wheel",wn),ze(he,"scroll",wn),clearInterval(Vi),ze(he,"touchcancel",Zt),ze(oe,"touchstart",Zt),Ui(ze,he,"pointerdown,touchstart,mousedown",vl),Ui(ze,he,"pointerup,touchend,mouseup",bl),ss.kill(),Xi(ze);for(var i=0;i<Q.length;i+=3)Ki(ze,Q[i],Q[i+1]),Ki(ze,Q[i],Q[i+2])},o.enable=function(){if(J=window,he=document,kt=he.documentElement,oe=he.body,I&&(di=I.utils.toArray,ii=I.utils.clamp,wo=I.core.context||Zt,fo=I.core.suppressOverwrites||Zt,Mo=J.history.scrollRestoration||"auto",To=J.pageYOffset||0,I.core.globals("ScrollTrigger",o),oe)){ei=1,Tn=document.createElement("div"),Tn.style.height="100vh",Tn.style.position="absolute",Ul(),Bd(),Le.register(I),o.isTouch=Le.isTouch,Cr=Le.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),bo=Le.isTouch===1,We(J,"wheel",wn),Lo=[J,he,kt,oe],I.matchMedia?(o.matchMedia=function(c){var u=I.matchMedia(),f;for(f in c)u.add(f,c[f]);return u},I.addEventListener("matchMediaInit",function(){Yl(),Oo()}),I.addEventListener("matchMediaRevert",function(){return Vl()}),I.addEventListener("matchMedia",function(){$r(0,1),tn("matchMedia")}),I.matchMedia().add("(orientation: portrait)",function(){return go(),go})):console.warn("Requires GSAP 3.11.0 or later"),go(),We(he,"scroll",wn);var r=oe.hasAttribute("style"),n=oe.style,i=n.borderTopStyle,s=I.core.Animation.prototype,a,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",a=pr(oe),Ie.m=Math.round(a.top+Ie.sc())||0,tt.m=Math.round(a.left+tt.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),r||(oe.setAttribute("style",""),oe.removeAttribute("style")),Vi=setInterval(xl,250),I.delayedCall(.5,function(){return Yi=0}),We(he,"touchcancel",Zt),We(oe,"touchstart",Zt),Ui(We,he,"pointerdown,touchstart,mousedown",vl),Ui(We,he,"pointerup,touchend,mouseup",bl),vo=I.utils.checkPrefix("transform"),ns.push(vo),En=nt(),ss=I.delayedCall(.2,$r).pause(),xn=[he,"visibilitychange",function(){var c=J.innerWidth,u=J.innerHeight;he.hidden?(ml=c,gl=u):(ml!==c||gl!==u)&&ni()},he,"DOMContentLoaded",$r,J,"load",$r,J,"resize",ni],Xi(We),Z.forEach(function(c){return c.enable(0,1)}),l=0;l<Q.length;l+=3)Ki(ze,Q[l],Q[l+1]),Ki(ze,Q[l],Q[l+2])}},o.config=function(r){"limitCallbacks"in r&&(po=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(Vi)||(Vi=n)&&setInterval(xl,n),"ignoreMobileResize"in r&&(bo=o.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Xi(ze)||Xi(We,r.autoRefreshEvents||"none"),Ol=(r.autoRefreshEvents+"").indexOf("resize")===-1)},o.scrollerProxy=function(r,n){var i=ct(r),s=Q.indexOf(i),a=Jr(i);~s&&Q.splice(s,a?6:2),n&&(a?Vt.unshift(J,n,oe,n,kt,n):Vt.unshift(i,n))},o.clearMatchMedia=function(r){Z.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},o.isInViewport=function(r,n,i){var s=(At(r)?ct(r):r).getBoundingClientRect(),a=s[i?jr:Qr]*n||0;return i?s.right-a>0&&s.left+a<J.innerWidth:s.bottom-a>0&&s.top+a<J.innerHeight},o.positionInViewport=function(r,n,i){At(r)&&(r=ct(r));var s=r.getBoundingClientRect(),a=s[i?jr:Qr],l=n==null?a/2:n in as?as[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return i?(s.left+l)/J.innerWidth:(s.top+l)/J.innerHeight},o.killAll=function(r){if(Z.slice(0).forEach(function(i){return i.vars.id!=="ScrollSmoother"&&i.kill()}),r!==!0){var n=en.killAll||[];en={},n.forEach(function(i){return i()})}},o}();W.version="3.14.2";W.saveStyles=function(o){return o?di(o).forEach(function(e){if(e&&e.style){var t=Mt.indexOf(e);t>=0&&Mt.splice(t,5),Mt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),I.core.getCache(e),wo())}}):Mt};W.revert=function(o,e){return Oo(!o,e)};W.create=function(o,e){return new W(o,e)};W.refresh=function(o){return o?ni(!0):(En||W.register())&&$r(!0)};W.update=function(o){return++Q.cache&&hr(o===!0?2:0)};W.clearScrollMemory=Xl;W.maxScroll=function(o,e){return Jt(o,e?tt:Ie)};W.getScrollFunc=function(o,e){return dr(ct(o),e?tt:Ie)};W.getById=function(o){return xo[o]};W.getAll=function(){return Z.filter(function(o){return o.vars.id!=="ScrollSmoother"})};W.isScrolling=function(){return!!Rt};W.snapDirectional=Ho;W.addEventListener=function(o,e){var t=en[o]||(en[o]=[]);~t.indexOf(e)||t.push(e)};W.removeEventListener=function(o,e){var t=en[o],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};W.batch=function(o,e){var t=[],r={},n=e.interval||.016,i=e.batchMax||1e9,s=function(c,u){var f=[],p=[],d=I.delayedCall(n,function(){u(f,p),f=[],p=[]}).pause();return function(m){f.length||d.restart(!0),f.push(m.trigger),p.push(m),i<=f.length&&d.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&it(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return it(i)&&(i=i(),We(W,"refresh",function(){return i=e.batchMax()})),di(o).forEach(function(l){var c={};for(a in r)c[a]=r[a];c.trigger=l,t.push(W.create(c))}),t};var kl=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},yo=function o(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Le.isTouch?" pinch-zoom":""):"none",e===kt&&o(oe,t)},Ji={auto:1,scroll:1},Zd=function(e){var t=e.event,r=e.target,n=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,s=i._gsap||I.core.getCache(i),a=nt(),l;if(!s._isScrollT||a-s._isScrollT>2e3){for(;i&&i!==oe&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(Ji[(l=Dt(i)).overflowY]||Ji[l.overflowX]));)i=i.parentNode;s._isScroll=i&&i!==r&&!Jr(i)&&(Ji[(l=Dt(i)).overflowY]||Ji[l.overflowX]),s._isScrollT=a}(s._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},$l=function(e,t,r,n){return Le.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Zd,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&We(he,Le.eventTypes[0],Pl,!1,!0)},onDisable:function(){return ze(he,Le.eventTypes[0],Pl,!0)}})},Jd=/(input|label|select|textarea)/i,Cl,Pl=function(e){var t=Jd.test(e.target.tagName);(t||Cl)&&(e._gsapAllow=!0,Cl=t)},ef=function(e){Kr(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,r=t.normalizeScrollX,n=t.momentum,i=t.allowNestedScroll,s=t.onRelease,a,l,c=ct(e.target)||kt,u=I.core.globals().ScrollSmoother,f=u&&u.get(),p=Cr&&(e.content&&ct(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),d=dr(c,Ie),m=dr(c,tt),h=1,g=(Le.isTouch&&J.visualViewport?J.visualViewport.scale*J.visualViewport.width:J.outerWidth)/J.innerWidth,E=0,v=it(n)?function(){return n(a)}:function(){return n||2.8},w,b,y=$l(c,e.type,!0,i),S=function(){return b=!1},T=Zt,M=Zt,L=function(){l=Jt(c,Ie),M=ii(Cr?1:0,l),r&&(T=ii(0,Jt(c,tt))),w=Zr},x=function(){p._gsap.y=ti(parseFloat(p._gsap.y)+d.offset)+"px",p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(p._gsap.y)+", 0, 1)",d.offset=d.cacheID=0},P=function(){if(b){requestAnimationFrame(S);var R=ti(a.deltaY/2),F=M(d.v-R);if(p&&F!==d.v+d.offset){d.offset=F-d.v;var _=ti((parseFloat(p&&p._gsap.y)||0)-d.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+_+", 0, 1)",p._gsap.y=_+"px",d.cacheID=Q.cache,hr()}return!0}d.offset&&x(),b=!0},k,H,q,N,D=function(){L(),k.isActive()&&k.vars.scrollY>l&&(d()>l?k.progress(1)&&d(l):k.resetTo("scrollY",l))};return p&&I.set(p,{y:"+=0"}),e.ignoreCheck=function(C){return Cr&&C.type==="touchmove"&&P(C)||h>1.05&&C.type!=="touchstart"||a.isGesturing||C.touches&&C.touches.length>1},e.onPress=function(){b=!1;var C=h;h=ti((J.visualViewport&&J.visualViewport.scale||1)/g),k.pause(),C!==h&&yo(c,h>1.01?!0:r?!1:"x"),H=m(),q=d(),L(),w=Zr},e.onRelease=e.onGestureStart=function(C,R){if(d.offset&&x(),!R)N.restart(!0);else{Q.cache++;var F=v(),_,B;r&&(_=m(),B=_+F*.05*-C.velocityX/.227,F*=kl(m,_,B,Jt(c,tt)),k.vars.scrollX=T(B)),_=d(),B=_+F*.05*-C.velocityY/.227,F*=kl(d,_,B,Jt(c,Ie)),k.vars.scrollY=M(B),k.invalidate().duration(F).play(.01),(Cr&&k.vars.scrollY>=l||_>=l-1)&&I.to({},{onUpdate:D,duration:F})}s&&s(C)},e.onWheel=function(){k._ts&&k.pause(),nt()-E>1e3&&(w=0,E=nt())},e.onChange=function(C,R,F,_,B){if(Zr!==w&&L(),R&&r&&m(T(_[2]===R?H+(C.startX-C.x):m()+R-_[1])),F){d.offset&&x();var K=B[2]===F,te=K?q+C.startY-C.y:d()+F-B[1],V=M(te);K&&te!==V&&(q+=V-te),d(V)}(F||R)&&hr()},e.onEnable=function(){yo(c,r?!1:"x"),W.addEventListener("refresh",D),We(J,"resize",D),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=m.smooth=!1),y.enable()},e.onDisable=function(){yo(c,!0),ze(J,"resize",D),W.removeEventListener("refresh",D),y.kill()},e.lockAxis=e.lockAxis!==!1,a=new Le(e),a.iOS=Cr,Cr&&!d()&&d(1),Cr&&I.ticker.add(Zt),N=a._dc,k=I.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Kl(d,d(),function(){return k.pause()})},onUpdate:hr,onComplete:N.vars.onComplete}),a};W.sort=function(o){if(it(o))return Z.sort(o);var e=J.pageYOffset||0;return W.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+J.innerHeight}),Z.sort(o||function(t,r){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};W.observe=function(o){return new Le(o)};W.normalizeScroll=function(o){if(typeof o>"u")return ut;if(o===!0&&ut)return ut.enable();if(o===!1){ut&&ut.kill(),ut=o;return}var e=o instanceof Le?o:ef(o);return ut&&ut.target===e.target&&ut.kill(),Jr(e.target)&&(ut=e),e};W.core={_getVelocityProp:Gi,_inputObserver:$l,_scrollers:Q,_proxies:Vt,bridge:{ss:function(){Rt||tn("scrollStart"),Rt=nt()},ref:function(){return rt}}};ql()&&I.registerPlugin(W);var jl=()=>{Oe.registerPlugin(W),document.querySelectorAll(".circle-arrow_wrapper").forEach(e=>{let t=e.querySelector("svg");if(!t)return;let r=t.querySelector("path:last-of-type"),n=e.classList.contains("is-footer"),i=n?12:-12,s=n?{x:-20,y:-3}:{x:18,y:-8};function a(){Oe.fromTo(t,{y:10,rotation:i,transformOrigin:"50% 50%"},{y:-15,rotation:0,duration:1.4,ease:"power2.out",delay:.2}),r&&Oe.fromTo(r,{x:0,y:0},{...s,duration:1.6,ease:"power2.out",delay:.2})}if(n){let l=e.closest(".footer_main-decor");W.create({trigger:e,start:"top 85%",once:!0,onEnter:()=>{l&&(l.style.opacity="1"),a()}})}else{let l=e.closest(".header_main-decor");l&&(l.style.opacity="1"),a()}}),window.addEventListener("load",()=>{setTimeout(()=>W.refresh(),200)})};var Ql=()=>{Oe.registerPlugin(W),document.querySelectorAll(".decor_arrow-wrapper").forEach(e=>{let t=e.querySelector(".decor-middle"),r=e.querySelector(".decor-top"),n=e,i=Oe.timeline({paused:!0});if(i.to(n,{opacity:1,duration:.6,ease:"power2.out"}).add("rideAlong","-=0.3"),t&&i.fromTo(t,{y:0,xPercent:-50},{y:-15,xPercent:-50,duration:1,ease:"power2.out"},"rideAlong"),r){let s=n.classList.contains("is-inside");i.fromTo(r,{y:0,xPercent:-50},{y:s?-40:-60,xPercent:-50,duration:1.2,ease:"power2.out"},"rideAlong")}W.create({trigger:n,start:"top 85%",once:!0,onEnter:()=>{Oe.set(n,{opacity:0}),i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{W.refresh()},200)})};var Zl=(o={pauseOnHover:!1})=>{let e=document.querySelector(".banner_component"),t=document.querySelector(".banner_inner-wrapper"),r=document.querySelector(".banner_marquee");if(!e||!t||!r)return;t.querySelectorAll(".banner_marquee.is-clone").forEach(f=>f.remove());let i=r.offsetWidth,s=48,a="perfect-marquee-styles";if(!document.getElementById(a)){let f=document.createElement("style");f.id=a;let p=o.pauseOnHover?`
103
+ `;function g(B,K,te){let V=B.createShader(K);return V?(B.shaderSource(V,te),B.compileShader(V),B.getShaderParameter(V,B.COMPILE_STATUS)?V:(console.error("Shader compile error:",B.getShaderInfoLog(V)),B.deleteShader(V),null)):null}let E=g(d,d.VERTEX_SHADER,m),v=g(d,d.FRAGMENT_SHADER,h);if(!E||!v)return;let w=d.createProgram();if(!w)return;if(d.attachShader(w,E),d.attachShader(w,v),d.linkProgram(w),!d.getProgramParameter(w,d.LINK_STATUS)){console.error("Program link error:",d.getProgramInfoLog(w));return}let b=d.createBuffer();d.bindBuffer(d.ARRAY_BUFFER,b),d.bufferData(d.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),d.STATIC_DRAW);let y=d.getAttribLocation(w,"a_position"),S=d.getUniformLocation(w,"u_time"),T=d.getUniformLocation(w,"u_resolution"),M=d.getUniformLocation(w,"u_color1"),L=d.getUniformLocation(w,"u_color2"),x=d.getUniformLocation(w,"u_colorBg");function P(){let B=window.devicePixelRatio||1,K=Math.floor(u.clientWidth*B),te=Math.floor(u.clientHeight*B);(u.width!==K||u.height!==te)&&(u.width=K,u.height=te),(f.width!==K||f.height!==te)&&(f.width=K,f.height=te)}let k,H=performance.now(),q=0,N=12,D=.08,C=4,R=null;function F(){P(),d.viewport(0,0,u.width,u.height),d.useProgram(w);let B=(performance.now()-H)/1e3;d.uniform1f(S,B),d.uniform2f(T,u.width,u.height),d.uniform3f(M,a[0],a[1],a[2]),d.uniform3f(L,l[0],l[1],l[2]),d.uniform3f(x,c[0],c[1],c[2]),d.enableVertexAttribArray(y),d.bindBuffer(d.ARRAY_BUFFER,b),d.vertexAttribPointer(y,2,d.FLOAT,!1,0,0),d.drawArrays(d.TRIANGLES,0,6);let K=performance.now();if(p&&K-q>1e3/N){q=K;let te=Math.ceil(f.width/C),V=Math.ceil(f.height/C);if(te<=0||V<=0)return;(!R||R.width!==te||R.height!==V)&&(R=p.createImageData(te,V));let{data:se}=R;for(let me=0;me<se.length;me+=4){let ae=(Math.random()-.5)*255*D;se[me]=128+ae,se[me+1]=128+ae,se[me+2]=128+ae,se[me+3]=255}p.clearRect(0,0,f.width,f.height),p.imageSmoothingEnabled=!1,p.putImageData(R,0,0),p.drawImage(f,0,0,te,V,0,0,f.width,f.height)}k=requestAnimationFrame(F)}F();let _=new MutationObserver(B=>{for(let K of B)for(let te of K.removedNodes)(te===u||te instanceof Element&&te.contains(u))&&(cancelAnimationFrame(k),_.disconnect())});_.observe(t.parentElement||document.body,{childList:!0,subtree:!0}),requestAnimationFrame(()=>{t.style.opacity="1"})})};function Qo(o,e=0){let t=o.querySelector(".w-dyn-items");if(!t)return null;let r=Array.from(t.children);if(r.length<2)return null;let n=r[0].offsetHeight;if(n===0)return null;let i=document.createElement("div");i.style.cssText=`height: ${n}px; overflow: hidden; position: relative;`,t.parentNode.insertBefore(i,t),i.appendChild(t),t.style.willChange="transform";let s=!1;return function(l){if(s)return;s=!0;let c=l==="next"?-n:n;gsap.to(t,{y:c,delay:e/1e3,duration:.48,ease:"power3.inOut",onComplete(){l==="next"?t.appendChild(t.firstElementChild):t.insertBefore(t.lastElementChild,t.firstChild),gsap.set(t,{y:0}),s=!1}})}}function Zo(){document.querySelectorAll(".content_wrapper-outer").forEach(o=>{let e=o,t=window.innerWidth,r=t<=991,n=t<=767,i=e.querySelector('[data-scroll="vertical"]'),s=e.querySelector(".content-arrow.is-top"),a=e.querySelector(".content-arrow:not(.is-top)");if(!i)return;let l=i,c=Array.from(l.querySelectorAll(".content-col-item"));if(c.length<2)return;c.forEach(C=>l.appendChild(C)),l.querySelector(".slider_collection-wrapper")?.remove();let u=e.querySelector(".solutions_list-wrapper"),f=e.querySelector(".benefits_collection-wrapper"),p=u?Qo(u,0):null,d=f?Qo(f,40):null;if(r){let ae=function(){Array.from(l.querySelectorAll(".content-col-item")).forEach((pe,le)=>{pe.classList.toggle("is-active",le===1)})},Pe=function(){Ee||(Ee=!0,p?.("next"),d?.("next"),gsap.to(l,{x:B-F,duration:.5,ease:"power3.inOut",onComplete(){let pe=l.firstElementChild;l.appendChild(pe),gsap.set(l,{x:B}),ae(),Ee=!1}}))},qt=function(){if(Ee)return;Ee=!0,p?.("prev"),d?.("prev");let pe=Array.from(l.querySelectorAll(".content-col-item")),le=pe[pe.length-1];l.insertBefore(le,l.firstElementChild),gsap.fromTo(l,{x:B-F},{x:B,duration:.5,ease:"power3.inOut",onComplete(){ae(),Ee=!1}})},j=function(){Me===null&&(Me=setInterval(Pe,Ge))},fe=function(){Me!==null&&(clearInterval(Me),Me=null)};var L=ae,P=Pe,k=qt,N=j,D=fe;let R=l.parentElement,F=n?R.offsetWidth/1.5:c[0].offsetWidth,_=n?R.offsetWidth:3*F,B=n?-.75*F:0;c.forEach(pe=>{pe.style.cssText+=`; flex-shrink: 0; width: ${F}px;`});let K=4,te=c.length;for(;c.length<K;){let pe=c[c.length%te].cloneNode(!0);pe.removeAttribute("id"),l.appendChild(pe),c.push(pe)}l.style.cssText=`display: flex; flex-direction: row; will-change: transform; overflow: visible !important; width: ${c.length*F}px !important; height: auto !important; min-height: 0 !important; max-height: none !important;`;let V=document.createElement("div");V.style.cssText=`width: ${_}px; overflow: hidden; position: relative;`,l.parentNode.insertBefore(V,l),V.appendChild(l);let se=c.findIndex(pe=>pe.classList.contains("is-active"));se===-1&&(se=0);let me=(se-1+c.length)%c.length;for(let pe=0;pe<me;pe++){let le=l.querySelector(".content-col-item");le&&l.appendChild(le)}gsap.set(l,{x:B}),ae();let Ee=!1,Ge=4e3,Me=null;e.addEventListener("mouseenter",fe),e.addEventListener("mouseleave",j),s?.addEventListener("click",()=>{fe(),qt(),j()}),a?.addEventListener("click",()=>{fe(),Pe(),j()}),j();return}if(c.length<3)return;let m=c[0].getBoundingClientRect(),g=c[1].getBoundingClientRect().top-m.top,E=g-m.height,v=Math.max(3*m.height+2*E,381),w=4,b=c.length;for(;c.length<w;){let C=c[c.length%b].cloneNode(!0);C.removeAttribute("id"),l.appendChild(C),c.push(C)}let y=document.createElement("div");y.style.cssText=`height: ${v}px; overflow: hidden; position: relative;`,l.parentNode.insertBefore(y,l),y.appendChild(l);let S=c.length*g-E;l.style.cssText+=`; overflow: visible !important; height: ${S}px !important; min-height: 0 !important; max-height: none !important; will-change: transform;`;let T=c.findIndex(C=>C.classList.contains("is-active"));T===-1&&(T=0);let M=(T-1+c.length)%c.length;for(let C=0;C<M;C++){let R=l.querySelector(".content-col-item");R&&l.appendChild(R)}function L(){Array.from(l.querySelectorAll(".content-col-item")).forEach((C,R)=>{C.classList.toggle("is-active",R===1)})}gsap.set(l,{y:0}),L();let x=!1;function P(){x||(x=!0,p?.("next"),d?.("next"),gsap.to(l,{y:-g,duration:.5,ease:"power3.inOut",onComplete(){let C=l.firstElementChild;l.appendChild(C),gsap.set(l,{y:0}),L(),x=!1}}))}function k(){if(x)return;x=!0,p?.("prev"),d?.("prev");let C=Array.from(l.querySelectorAll(".content-col-item")),R=C[C.length-1];l.insertBefore(R,l.firstElementChild),gsap.fromTo(l,{y:-g},{y:0,duration:.5,ease:"power3.inOut",onComplete(){L(),x=!1}})}let H=4e3,q=null;function N(){q===null&&(q=setInterval(P,H))}function D(){q!==null&&(clearInterval(q),q=null)}e.addEventListener("mouseenter",D),e.addEventListener("mouseleave",N),s?.addEventListener("click",()=>{D(),k(),N()}),a?.addEventListener("click",()=>{D(),P(),N()}),N()})}function sr(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function aa(o,e){o.prototype=Object.create(e.prototype),o.prototype.constructor=o,o.__proto__=e}var _t={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ln={duration:.5,overwrite:!1,delay:0},Is,Ue,_e,Ht=1e8,de=1/Ht,Ts=Math.PI*2,eu=Ts/4,tu=0,la=Math.sqrt,ru=Math.cos,nu=Math.sin,qe=function(e){return typeof e=="string"},Te=function(e){return typeof e=="function"},ar=function(e){return typeof e=="number"},Pi=function(e){return typeof e>"u"},jt=function(e){return typeof e=="object"},gt=function(e){return e!==!1},Ds=function(){return typeof window<"u"},Ei=function(e){return Te(e)||qe(e)},ca=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Je=Array.isArray,iu=/random\([^)]+\)/g,su=/,\s*/g,Jo=/(?:-?\.?\d|\.)+/gi,Rs=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Br=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_s=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,qs=/[+-]=-?[.\d]+/,ou=/[^,'"\[\]\s]+/gi,au=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,be,Kt,Ss,Ns,xt={},Li={},ua,da=function(e){return(Li=cn(e,xt))&&et},Hi=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Bn=function(e,t){return!t&&console.warn(e)},fa=function(e,t){return e&&(xt[e]=t)&&Li&&(Li[e]=t)||xt},zn=function(){return 0},lu={suppressEvents:!0,isStart:!0,kill:!1},xi={suppressEvents:!0,kill:!1},cu={suppressEvents:!0},Fs={},br=[],Ls={},pa,ht={},ys={},ea=30,Ti=[],Bs="",zs=function(e){var t=e[0],r,n;if(jt(t)||Te(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Ti.length;n--&&!Ti[n].targetTest(t););r=Ti[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Ys(e[n],r)))||e.splice(n,1);return e},wr=function(e){return e._gsap||zs(Ot(e))[0]._gsap},Ws=function(e,t,r){return(r=e[t])&&Te(r)?e[t]():Pi(r)&&e.getAttribute&&e.getAttribute(t)||r},st=function(e,t){return(e=e.split(",")).forEach(t)||e},Se=function(e){return Math.round(e*1e5)/1e5||0},ve=function(e){return Math.round(e*1e7)/1e7||0},zr=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},uu=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},Mi=function(){var e=br.length,t=br.slice(0),r,n;for(Ls={},br.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Gs=function(e){return!!(e._initted||e._startAt||e.add)},ha=function(e,t,r,n){br.length&&!Ue&&Mi(),e.render(t,r,n||!!(Ue&&t<0&&Gs(e))),br.length&&!Ue&&Mi()},ma=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(ou).length<2?t:qe(e)?e.trim():e},ga=function(e){return e},Tt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},du=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},cn=function(e,t){for(var r in t)e[r]=t[r];return e},ta=function o(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=jt(t[r])?o(e[r]||(e[r]={}),t[r]):t[r]);return e},Ai=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},qn=function(e){var t=e.parent||be,r=e.keyframes?du(Je(e.keyframes)):Tt;if(gt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},fu=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},_a=function(e,t,r,n,i){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=e[n],a;if(i)for(a=t[i];s&&s[i]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=s,t.parent=t._dp=e,t},Oi=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var i=t._prev,s=t._next;i?i._next=s:e[r]===t&&(e[r]=s),s?s._prev=i:e[n]===t&&(e[n]=i),t._next=t._prev=t.parent=null},Er=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},qr=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},pu=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Ms=function(e,t,r,n){return e._startAt&&(Ue?e._startAt.revert(xi):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},hu=function o(e){return!e||e._ts&&o(e.parent)},ra=function(e){return e._repeat?un(e._tTime,e=e.duration()+e._rDelay)*e:0},un=function(e,t){var r=Math.floor(e=ve(e/t));return e&&r===e?r-1:r},ki=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ii=function(e){return e._end=ve(e._start+(e._tDur/Math.abs(e._ts||e._rts||de)||0))},Di=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=ve(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ii(e),r._dirty||qr(r,e)),e},ya=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=ki(e.rawTime(),t),(!t._dur||Vn(0,t.totalDuration(),r)-t._tTime>de)&&t.render(r,!0)),qr(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-de}},$t=function(e,t,r,n){return t.parent&&Er(t),t._start=ve((ar(r)?r:r||e!==be?Pt(e,r,t):e._time)+t._delay),t._end=ve(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),_a(e,t,"_first","_last",e._sort?"_start":0),As(t)||(e._recent=t),n||ya(e,t),e._ts<0&&Di(e,e._tTime),e},va=function(e,t){return(xt.ScrollTrigger||Hi("scrollTrigger",t))&&xt.ScrollTrigger.create(t,e)},ba=function(e,t,r,n,i){if(Ks(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!Ue&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&pa!==mt.frame)return br.push(e),e._lazy=[i,n],1},mu=function o(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||o(t))},As=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},gu=function(e,t,r,n){var i=e.ratio,s=t<0||!t&&(!e._start&&mu(e)&&!(!e._initted&&As(e))||(e._ts<0||e._dp._ts<0)&&!As(e))?0:1,a=e._rDelay,l=0,c,u,f;if(a&&e._repeat&&(l=Vn(0,e._tDur,t),u=un(l,a),e._yoyo&&u&1&&(s=1-s),u!==un(e._tTime,a)&&(i=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==i||Ue||n||e._zTime===de||!t&&e._zTime){if(!e._initted&&ba(e,t,n,r,l))return;for(f=e._zTime,e._zTime=t||(r?de:0),r||(r=t&&!f),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,c=e._pt;c;)c.r(s,c.d),c=c._next;t<0&&Ms(e,t,r,!0),e._onUpdate&&!r&&Et(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&Et(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&Er(e,1),!r&&!Ue&&(Et(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},_u=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},dn=function(e,t,r,n){var i=e._repeat,s=ve(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=s/e._dur),e._dur=s,e._tDur=i?i<0?1e10:ve(s*(i+1)+e._rDelay*i):s,a>0&&!n&&Di(e,e._tTime=e._tDur*a),e.parent&&Ii(e),r||qr(e.parent,e),e},na=function(e){return e instanceof Xe?qr(e):dn(e,e._dur)},yu={_start:0,endTime:zn,totalDuration:zn},Pt=function o(e,t,r){var n=e.labels,i=e._recent||yu,s=e.duration()>=Ht?i.endTime(!1):e._dur,a,l,c;return qe(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),c=t.substr(-1)==="%",a=t.indexOf("="),l==="<"||l===">"?(a>=0&&(t=t.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(a<0?i:r).totalDuration()/100:1)):a<0?(t in n||(n[t]=s),n[t]):(l=parseFloat(t.charAt(a-1)+t.substr(a+1)),c&&r&&(l=l/100*(Je(r)?r[0]:r).totalDuration()),a>1?o(e,t.substr(0,a-1),r)+l:s+l)):t==null?s:+t},Nn=function(e,t,r){var n=ar(t[1]),i=(n?2:1)+(e<2?0:1),s=t[i],a,l;if(n&&(s.duration=t[1]),s.parent=r,e){for(a=s,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=gt(l.vars.inherit)&&l.parent;s.immediateRender=gt(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[i-1]}return new Ce(t[0],s,t[i+1])},xr=function(e,t){return e||e===0?t(e):t},Vn=function(e,t,r){return r<e?e:r>t?t:r},Ke=function(e,t){return!qe(e)||!(t=au.exec(e))?"":t[1]},vu=function(e,t,r){return xr(r,function(n){return Vn(e,t,n)})},ks=[].slice,wa=function(e,t){return e&&jt(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&jt(e[0]))&&!e.nodeType&&e!==Kt},bu=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var i;return qe(n)&&!t||wa(n,1)?(i=r).push.apply(i,Ot(n)):r.push(n)})||r},Ot=function(e,t,r){return _e&&!t&&_e.selector?_e.selector(e):qe(e)&&!r&&(Ss||!fn())?ks.call((t||Ns).querySelectorAll(e),0):Je(e)?bu(e,r):wa(e)?ks.call(e,0):e?[e]:[]},Cs=function(e){return e=Ot(e)[0]||Bn("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Ot(t,r.querySelectorAll?r:r===e?Bn("Invalid scope")||Ns.createElement("div"):e)}},Ea=function(e){return e.sort(function(){return .5-Math.random()})},xa=function(e){if(Te(e))return e;var t=jt(e)?e:{each:e},r=Nr(t.ease),n=t.from||0,i=parseFloat(t.base)||0,s={},a=n>0&&n<1,l=isNaN(n)||a,c=t.axis,u=n,f=n;return qe(n)?u=f={center:.5,edges:.5,end:1}[n]||0:!a&&l&&(u=n[0],f=n[1]),function(p,d,m){var h=(m||t).length,g=s[h],E,v,w,b,y,S,T,M,L;if(!g){if(L=t.grid==="auto"?0:(t.grid||[1,Ht])[1],!L){for(T=-Ht;T<(T=m[L++].getBoundingClientRect().left)&&L<h;);L<h&&L--}for(g=s[h]=[],E=l?Math.min(L,h)*u-.5:n%L,v=L===Ht?0:l?h*f/L-.5:n/L|0,T=0,M=Ht,S=0;S<h;S++)w=S%L-E,b=v-(S/L|0),g[S]=y=c?Math.abs(c==="y"?b:w):la(w*w+b*b),y>T&&(T=y),y<M&&(M=y);n==="random"&&Ea(g),g.max=T-M,g.min=M,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(L>h?h-1:c?c==="y"?h/L:L:Math.max(L,h/L))||0)*(n==="edges"?-1:1),g.b=h<0?i-h:i,g.u=Ke(t.amount||t.each)||0,r=r&&h<0?Ha(r):r}return h=(g[p]-g.min)/g.max||0,ve(g.b+(r?r(h):h)*g.v)+g.u}},Ps=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=ve(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(ar(r)?0:Ke(r))}},Ta=function(e,t){var r=Je(e),n,i;return!r&&jt(e)&&(n=r=e.radius||Ht,e.values?(e=Ot(e.values),(i=!ar(e[0]))&&(n*=n)):e=Ps(e.increment)),xr(t,r?Te(e)?function(s){return i=e(s),Math.abs(i-s)<=n?i:s}:function(s){for(var a=parseFloat(i?s.x:s),l=parseFloat(i?s.y:0),c=Ht,u=0,f=e.length,p,d;f--;)i?(p=e[f].x-a,d=e[f].y-l,p=p*p+d*d):p=Math.abs(e[f]-a),p<c&&(c=p,u=f);return u=!n||c<=n?e[u]:s,i||u===s||ar(s)?u:u+Ke(s)}:Ps(e))},Sa=function(e,t,r,n){return xr(Je(e)?!t:r===!0?!!(r=0):!n,function(){return Je(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*n)/n})},wu=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduce(function(i,s){return s(i)},n)}},Eu=function(e,t){return function(r){return e(parseFloat(r))+(t||Ke(r))}},xu=function(e,t,r){return Ma(e,t,0,1,r)},La=function(e,t,r){return xr(r,function(n){return e[~~t(n)]})},Tu=function o(e,t,r){var n=t-e;return Je(e)?La(e,o(0,e.length),t):xr(r,function(i){return(n+(i-e)%n)%n+e})},Su=function o(e,t,r){var n=t-e,i=n*2;return Je(e)?La(e,o(0,e.length-1),t):xr(r,function(s){return s=(i+(s-e)%i)%i||0,e+(s>n?i-s:s)})},pn=function(e){return e.replace(iu,function(t){var r=t.indexOf("[")+1,n=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(su);return Sa(r?n:+n[0],r?0:+n[1],+n[2]||1e-5)})},Ma=function(e,t,r,n,i){var s=t-e,a=n-r;return xr(i,function(l){return r+((l-e)/s*a||0)})},Lu=function o(e,t,r,n){var i=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!i){var s=qe(e),a={},l,c,u,f,p;if(r===!0&&(n=1)&&(r=null),s)e={p:e},t={p:t};else if(Je(e)&&!Je(t)){for(u=[],f=e.length,p=f-2,c=1;c<f;c++)u.push(o(e[c-1],e[c]));f--,i=function(m){m*=f;var h=Math.min(p,~~m);return u[h](m-h)},r=t}else n||(e=cn(Je(e)?[]:{},e));if(!u){for(l in t)Xs.call(a,e,l,"get",t[l]);i=function(m){return Qs(m,a)||(s?e.p:e)}}}return xr(r,i)},ia=function(e,t,r){var n=e.labels,i=Ht,s,a,l;for(s in n)a=n[s]-t,a<0==!!r&&a&&i>(a=Math.abs(a))&&(l=s,i=a);return l},Et=function(e,t,r){var n=e.vars,i=n[t],s=_e,a=e._ctx,l,c,u;if(i)return l=n[t+"Params"],c=n.callbackScope||e,r&&br.length&&Mi(),a&&(_e=a),u=l?i.apply(c,l):i.call(c),_e=s,u},Dn=function(e){return Er(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ue),e.progress()<1&&Et(e,"onInterrupt"),e},an,Aa=[],ka=function(e){if(e)if(e=!e.name&&e.default||e,Ds()||e.headless){var t=e.name,r=Te(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:zn,render:Qs,add:Xs,kill:Wu,modifier:zu,rawVars:0},s={targetTest:0,get:0,getSetter:Ri,aliases:{},register:0};if(fn(),e!==n){if(ht[t])return;Tt(n,Tt(Ai(e,i),s)),cn(n.prototype,cn(i,Ai(e,s))),ht[n.prop=t]=n,e.targetTest&&(Ti.push(n),Fs[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}fa(t,n),e.register&&e.register(et,n,ot)}else Aa.push(e)},ue=255,Rn={aqua:[0,ue,ue],lime:[0,ue,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ue],navy:[0,0,128],white:[ue,ue,ue],olive:[128,128,0],yellow:[ue,ue,0],orange:[ue,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ue,0,0],pink:[ue,192,203],cyan:[0,ue,ue],transparent:[ue,ue,ue,0]},vs=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*ue+.5|0},Ca=function(e,t,r){var n=e?ar(e)?[e>>16,e>>8&ue,e&ue]:0:Rn.black,i,s,a,l,c,u,f,p,d,m;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Rn[e])n=Rn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+i+i+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&ue,n&ue,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&ue,e&ue]}else if(e.substr(0,3)==="hsl"){if(n=m=e.match(Jo),!t)l=+n[0]%360/360,c=+n[1]/100,u=+n[2]/100,s=u<=.5?u*(c+1):u+c-u*c,i=u*2-s,n.length>3&&(n[3]*=1),n[0]=vs(l+1/3,i,s),n[1]=vs(l,i,s),n[2]=vs(l-1/3,i,s);else if(~e.indexOf("="))return n=e.match(Rs),r&&n.length<4&&(n[3]=1),n}else n=e.match(Jo)||Rn.transparent;n=n.map(Number)}return t&&!m&&(i=n[0]/ue,s=n[1]/ue,a=n[2]/ue,f=Math.max(i,s,a),p=Math.min(i,s,a),u=(f+p)/2,f===p?l=c=0:(d=f-p,c=u>.5?d/(2-f-p):d/(f+p),l=f===i?(s-a)/d+(s<a?6:0):f===s?(a-i)/d+2:(i-s)/d+4,l*=60),n[0]=~~(l+.5),n[1]=~~(c*100+.5),n[2]=~~(u*100+.5)),r&&n.length<4&&(n[3]=1),n},Pa=function(e){var t=[],r=[],n=-1;return e.split(or).forEach(function(i){var s=i.match(Br)||[];t.push.apply(t,s),r.push(n+=s.length+1)}),t.c=r,t},sa=function(e,t,r){var n="",i=(e+n).match(or),s=t?"hsla(":"rgba(",a=0,l,c,u,f;if(!i)return e;if(i=i.map(function(p){return(p=Ca(p,t,1))&&s+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=Pa(e),l=r.c,l.join(n)!==u.c.join(n)))for(c=e.replace(or,"1").split(Br),f=c.length-1;a<f;a++)n+=c[a]+(~l.indexOf(a)?i.shift()||s+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!c)for(c=e.split(or),f=c.length-1;a<f;a++)n+=c[a]+i[a];return n+c[f]},or=function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Rn)o+="|"+e+"\\b";return new RegExp(o+")","gi")}(),Mu=/hsl[a]?\(/,Vs=function(e){var t=e.join(" "),r;if(or.lastIndex=0,or.test(t))return r=Mu.test(t),e[1]=sa(e[1],r),e[0]=sa(e[0],r,Pa(e[1])),!0},Wn,mt=function(){var o=Date.now,e=500,t=33,r=o(),n=r,i=1e3/240,s=i,a=[],l,c,u,f,p,d,m=function h(g){var E=o()-n,v=g===!0,w,b,y,S;if((E>e||E<0)&&(r+=E-t),n+=E,y=n-r,w=y-s,(w>0||v)&&(S=++f.frame,p=y-f.time*1e3,f.time=y=y/1e3,s+=w+(w>=i?4:i-w),b=1),v||(l=c(h)),b)for(d=0;d<a.length;d++)a[d](y,p,S,g)};return f={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){ua&&(!Ss&&Ds()&&(Kt=Ss=window,Ns=Kt.document||{},xt.gsap=et,(Kt.gsapVersions||(Kt.gsapVersions=[])).push(et.version),da(Li||Kt.GreenSockGlobals||!Kt.gsap&&Kt||{}),Aa.forEach(ka)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),c=u||function(g){return setTimeout(g,s-f.time*1e3+1|0)},Wn=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),Wn=0,c=zn},lagSmoothing:function(g,E){e=g||1/0,t=Math.min(E||33,e)},fps:function(g){i=1e3/(g||240),s=f.time*1e3+i},add:function(g,E,v){var w=E?function(b,y,S,T){g(b,y,S,T),f.remove(w)}:g;return f.remove(g),a[v?"unshift":"push"](w),fn(),w},remove:function(g,E){~(E=a.indexOf(g))&&a.splice(E,1)&&d>=E&&d--},_listeners:a},f}(),fn=function(){return!Wn&&mt.wake()},ne={},Au=/^[\d.\-M][\d.\-,\s]/,ku=/["']/g,Cu=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],i=1,s=r.length,a,l,c;i<s;i++)l=r[i],a=i!==s-1?l.lastIndexOf(","):l.length,c=l.substr(0,a),t[n]=isNaN(c)?c.replace(ku,"").trim():+c,n=l.substr(a+1).trim();return t},Pu=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},Hu=function(e){var t=(e+"").split("("),r=ne[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Cu(t[1])]:Pu(e).split(",").map(ma)):ne._CE&&Au.test(e)?ne._CE("",e):r},Ha=function(e){return function(t){return 1-e(1-t)}},Oa=function o(e,t){for(var r=e._first,n;r;)r instanceof Xe?o(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?o(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},Nr=function(e,t){return e&&(Te(e)?e:ne[e]||Hu(e))||t},Wr=function(e,t,r,n){r===void 0&&(r=function(l){return 1-t(1-l)}),n===void 0&&(n=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var i={easeIn:t,easeOut:r,easeInOut:n},s;return st(e,function(a){ne[a]=xt[a]=i,ne[s=a.toLowerCase()]=r;for(var l in i)ne[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ne[a+"."+l]=i[l]}),i},Ia=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},bs=function o(e,t,r){var n=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),s=i/Ts*(Math.asin(1/n)||0),a=function(u){return u===1?1:n*Math.pow(2,-10*u)*nu((u-s)*i)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:Ia(a);return i=Ts/i,l.config=function(c,u){return o(e,c,u)},l},ws=function o(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},n=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:Ia(r);return n.config=function(i){return o(e,i)},n};st("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,e){var t=e<5?e+1:e;Wr(o+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});ne.Linear.easeNone=ne.none=ne.Linear.easeIn;Wr("Elastic",bs("in"),bs("out"),bs());(function(o,e){var t=1/e,r=2*t,n=2.5*t,i=function(a){return a<t?o*a*a:a<r?o*Math.pow(a-1.5/e,2)+.75:a<n?o*(a-=2.25/e)*a+.9375:o*Math.pow(a-2.625/e,2)+.984375};Wr("Bounce",function(s){return 1-i(1-s)},i)})(7.5625,2.75);Wr("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)});Wr("Circ",function(o){return-(la(1-o*o)-1)});Wr("Sine",function(o){return o===1?1:-ru(o*eu)+1});Wr("Back",ws("in"),ws("out"),ws());ne.SteppedEase=ne.steps=xt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),i=t?1:0,s=1-de;return function(a){return((n*Vn(0,s,a)|0)+i)*r}}};ln.ease=ne["quad.out"];st("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return Bs+=o+","+o+"Params,"});var Ys=function(e,t){this.id=tu++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Ws,this.set=t?t.getSetter:Ri},Gn=function(){function o(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,dn(this,+t.duration,1,1),this.data=t.data,_e&&(this._ctx=_e,_e.data.push(this)),Wn||mt.wake()}var e=o.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,dn(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(fn(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Di(this,r),!i._dp||i.parent||ya(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&$t(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===de||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),ha(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ra(this))%(this._dur+this._rDelay)||(r?this._dur:0),n):this._time},e.totalProgress=function(r,n){return arguments.length?this.totalTime(this.totalDuration()*r,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+ra(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,n){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,n):this._repeat?un(this._tTime,i)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-de?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?ki(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-de?0:this._rts,this.totalTime(Vn(-Math.abs(this._delay),this.totalDuration(),i),n!==!1),Ii(this),pu(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(fn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==de&&(this._tTime-=de)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=ve(r);var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&$t(n,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(gt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var n=this.parent||this._dp;return n?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ki(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=cu);var n=Ue;return Ue=r,Gs(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Ue=n,this},e.globalTime=function(r){for(var n=this,i=arguments.length?r:n.rawTime();n;)i=n._start+i/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,na(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,na(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,n){return this.totalTime(Pt(this,r),gt(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,gt(n)),this._dur||(this._zTime=-de),this},e.play=function(r,n){return r!=null&&this.seek(r,n),this.reversed(!1).paused(!1)},e.reverse=function(r,n){return r!=null&&this.seek(r||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(r,n){return r!=null&&this.seek(r,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-de:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-de,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=n&&i<this.endTime(!0)-de)},e.eventCallback=function(r,n,i){var s=this.vars;return arguments.length>1?(n?(s[r]=n,i&&(s[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=n)):delete s[r],this):s[r]},e.then=function(r){var n=this,i=n._prom;return new Promise(function(s){var a=Te(r)?r:ga,l=function(){var u=n.then;n.then=null,i&&i(),Te(a)&&(a=a(n))&&(a.then||a===n)&&(n.then=u),s(a),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?l():n._prom=l})},e.kill=function(){Dn(this)},o}();Tt(Gn.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:-de,_prom:0,_ps:!1,_rts:1});var Xe=function(o){aa(e,o);function e(r,n){var i;return r===void 0&&(r={}),i=o.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=gt(r.sortChildren),be&&$t(r.parent||be,sr(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&va(sr(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(n,i,s){return Nn(0,arguments,this),this},t.from=function(n,i,s){return Nn(1,arguments,this),this},t.fromTo=function(n,i,s,a){return Nn(2,arguments,this),this},t.set=function(n,i,s){return i.duration=0,i.parent=this,qn(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Ce(n,i,Pt(this,s),1),this},t.call=function(n,i,s){return $t(this,Ce.delayedCall(0,n,i),s)},t.staggerTo=function(n,i,s,a,l,c,u){return s.duration=i,s.stagger=s.stagger||a,s.onComplete=c,s.onCompleteParams=u,s.parent=this,new Ce(n,s,Pt(this,l)),this},t.staggerFrom=function(n,i,s,a,l,c,u){return s.runBackwards=1,qn(s).immediateRender=gt(s.immediateRender),this.staggerTo(n,i,s,a,l,c,u)},t.staggerFromTo=function(n,i,s,a,l,c,u,f){return a.startAt=s,qn(a).immediateRender=gt(a.immediateRender),this.staggerTo(n,i,a,l,c,u,f)},t.render=function(n,i,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=n<=0?0:ve(n),f=this._zTime<0!=n<0&&(this._initted||!c),p,d,m,h,g,E,v,w,b,y,S,T;if(this!==be&&u>l&&n>=0&&(u=l),u!==this._tTime||s||f){if(a!==this._time&&c&&(u+=this._time-a,n+=this._time-a),p=u,b=this._start,w=this._ts,E=!w,f&&(c||(a=this._zTime),(n||!i)&&(this._zTime=n)),this._repeat){if(S=this._yoyo,g=c+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,i,s);if(p=ve(u%g),u===l?(h=this._repeat,p=c):(y=ve(u/g),h=~~y,h&&h===y&&(p=c,h--),p>c&&(p=c)),y=un(this._tTime,g),!a&&this._tTime&&y!==h&&this._tTime-y*g-this._dur<=0&&(y=h),S&&h&1&&(p=c-p,T=1),h!==y&&!this._lock){var M=S&&y&1,L=M===(S&&h&1);if(h<y&&(M=!M),a=M?0:u%c?c:u,this._lock=1,this.render(a||(T?0:ve(h*g)),i,!c)._lock=0,this._tTime=u,!i&&this.parent&&Et(this,"onRepeat"),this.vars.repeatRefresh&&!T&&(this.invalidate()._lock=1,y=h),a&&a!==this._time||E!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,L&&(this._lock=2,a=M?c:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!T&&this.invalidate()),this._lock=0,!this._ts&&!E)return this;Oa(this,T)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=_u(this,ve(a),ve(p)),v&&(u-=p-(p=v._start))),this._tTime=u,this._time=p,this._act=!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&u&&c&&!i&&!y&&(Et(this,"onStart"),this._tTime!==u))return this;if(p>=a&&n>=0)for(d=this._first;d;){if(m=d._next,(d._act||p>=d._start)&&d._ts&&v!==d){if(d.parent!==this)return this.render(n,i,s);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,i,s),p!==this._time||!this._ts&&!E){v=0,m&&(u+=this._zTime=-de);break}}d=m}else{d=this._last;for(var x=n<0?n:p;d;){if(m=d._prev,(d._act||x<=d._end)&&d._ts&&v!==d){if(d.parent!==this)return this.render(n,i,s);if(d.render(d._ts>0?(x-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(x-d._start)*d._ts,i,s||Ue&&Gs(d)),p!==this._time||!this._ts&&!E){v=0,m&&(u+=this._zTime=x?-de:de);break}}d=m}}if(v&&!i&&(this.pause(),v.render(p>=a?0:-de)._zTime=p>=a?1:-1,this._ts))return this._start=b,Ii(this),this.render(n,i,s);this._onUpdate&&!i&&Et(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(b===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((n||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&Er(this,1),!i&&!(n<0&&!a)&&(u||a||!l)&&(Et(this,u===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,i){var s=this;if(ar(i)||(i=Pt(this,i,n)),!(n instanceof Gn)){if(Je(n))return n.forEach(function(a){return s.add(a,i)}),this;if(qe(n))return this.addLabel(n,i);if(Te(n))n=Ce.delayedCall(0,n);else return this}return this!==n?$t(this,n,i):this},t.getChildren=function(n,i,s,a){n===void 0&&(n=!0),i===void 0&&(i=!0),s===void 0&&(s=!0),a===void 0&&(a=-Ht);for(var l=[],c=this._first;c;)c._start>=a&&(c instanceof Ce?i&&l.push(c):(s&&l.push(c),n&&l.push.apply(l,c.getChildren(!0,i,s)))),c=c._next;return l},t.getById=function(n){for(var i=this.getChildren(1,1,1),s=i.length;s--;)if(i[s].vars.id===n)return i[s]},t.remove=function(n){return qe(n)?this.removeLabel(n):Te(n)?this.killTweensOf(n):(n.parent===this&&Oi(this,n),n===this._recent&&(this._recent=this._last),qr(this))},t.totalTime=function(n,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ve(mt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),o.prototype.totalTime.call(this,n,i),this._forcing=0,this):this._tTime},t.addLabel=function(n,i){return this.labels[n]=Pt(this,i),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,i,s){var a=Ce.delayedCall(0,i||zn,s);return a.data="isPause",this._hasPause=1,$t(this,a,Pt(this,n))},t.removePause=function(n){var i=this._first;for(n=Pt(this,n);i;)i._start===n&&i.data==="isPause"&&Er(i),i=i._next},t.killTweensOf=function(n,i,s){for(var a=this.getTweensOf(n,s),l=a.length;l--;)vr!==a[l]&&a[l].kill(n,i);return this},t.getTweensOf=function(n,i){for(var s=[],a=Ot(n),l=this._first,c=ar(i),u;l;)l instanceof Ce?uu(l._targets,a)&&(c?(!vr||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&s.push(l):(u=l.getTweensOf(a,i)).length&&s.push.apply(s,u),l=l._next;return s},t.tweenTo=function(n,i){i=i||{};var s=this,a=Pt(s,n),l=i,c=l.startAt,u=l.onStart,f=l.onStartParams,p=l.immediateRender,d,m=Ce.to(s,Tt({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:i.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale())||de,onStart:function(){if(s.pause(),!d){var g=i.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale());m._dur!==g&&dn(m,g,0,1).render(m._time,!0,!0),d=1}u&&u.apply(m,f||[])}},i));return p?m.render(0):m},t.tweenFromTo=function(n,i,s){return this.tweenTo(i,Tt({startAt:{time:Pt(this,n)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),ia(this,Pt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),ia(this,Pt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+de)},t.shiftChildren=function(n,i,s){s===void 0&&(s=0);var a=this._first,l=this.labels,c;for(n=ve(n);a;)a._start>=s&&(a._start+=n,a._end+=n),a=a._next;if(i)for(c in l)l[c]>=s&&(l[c]+=n);return qr(this)},t.invalidate=function(n){var i=this._first;for(this._lock=0;i;)i.invalidate(n),i=i._next;return o.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var i=this._first,s;i;)s=i._next,this.remove(i),i=s;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),qr(this)},t.totalDuration=function(n){var i=0,s=this,a=s._last,l=Ht,c,u,f;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-n:n));if(s._dirty){for(f=s.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,$t(s,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(i-=u,(!f&&!s._dp||f&&f.smoothChildTiming)&&(s._start+=ve(u/s._ts),s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),l=0),a._end>i&&a._ts&&(i=a._end),a=c;dn(s,s===be&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(n){if(be._ts&&(ha(be,ki(n,be)),pa=mt.frame),mt.frame>=ea){ea+=_t.autoSleep||120;var i=be._first;if((!i||!i._ts)&&_t.autoSleep&&mt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||mt.sleep()}}},e}(Gn);Tt(Xe.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ou=function(e,t,r,n,i,s,a){var l=new ot(this._pt,e,t,0,1,js,null,i),c=0,u=0,f,p,d,m,h,g,E,v;for(l.b=r,l.e=n,r+="",n+="",(E=~n.indexOf("random("))&&(n=pn(n)),s&&(v=[r,n],s(v,e,t),r=v[0],n=v[1]),p=r.match(_s)||[];f=_s.exec(n);)m=f[0],h=n.substring(c,f.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),m!==p[u++]&&(g=parseFloat(p[u-1])||0,l._pt={_next:l._pt,p:h||u===1?h:",",s:g,c:m.charAt(1)==="="?zr(g,m)-g:parseFloat(m)-g,m:d&&d<4?Math.round:0},c=_s.lastIndex);return l.c=c<n.length?n.substring(c,n.length):"",l.fp=a,(qs.test(n)||E)&&(l.e=0),this._pt=l,l},Xs=function(e,t,r,n,i,s,a,l,c,u){Te(n)&&(n=n(i||0,e,s));var f=e[t],p=r!=="get"?r:Te(f)?c?e[t.indexOf("set")||!Te(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():f,d=Te(f)?c?Nu:qa:$s,m;if(qe(n)&&(~n.indexOf("random(")&&(n=pn(n)),n.charAt(1)==="="&&(m=zr(p,n)+(Ke(p)||0),(m||m===0)&&(n=m))),!u||p!==n||Hs)return!isNaN(p*n)&&n!==""?(m=new ot(this._pt,e,t,+p||0,n-(p||0),typeof f=="boolean"?Bu:Na,0,d),c&&(m.fp=c),a&&m.modifier(a,this,e),this._pt=m):(!f&&!(t in e)&&Hi(t,n),Ou.call(this,e,t,p,n,d,l||_t.stringFilter,c))},Iu=function(e,t,r,n,i){if(Te(e)&&(e=Fn(e,i,t,r,n)),!jt(e)||e.style&&e.nodeType||Je(e)||ca(e))return qe(e)?Fn(e,i,t,r,n):e;var s={},a;for(a in e)s[a]=Fn(e[a],i,t,r,n);return s},Us=function(e,t,r,n,i,s){var a,l,c,u;if(ht[e]&&(a=new ht[e]).init(i,a.rawVars?t[e]:Iu(t[e],n,i,s,r),r,n,s)!==!1&&(r._pt=l=new ot(r._pt,i,e,0,1,a.render,a,0,a.priority),r!==an))for(c=r._ptLookup[r._targets.indexOf(i)],u=a._props.length;u--;)c[a._props[u]]=l;return a},vr,Hs,Ks=function o(e,t,r){var n=e.vars,i=n.ease,s=n.startAt,a=n.immediateRender,l=n.lazy,c=n.onUpdate,u=n.runBackwards,f=n.yoyoEase,p=n.keyframes,d=n.autoRevert,m=e._dur,h=e._startAt,g=e._targets,E=e.parent,v=E&&E.data==="nested"?E.vars.targets:g,w=e._overwrite==="auto"&&!Is,b=e.timeline,y,S,T,M,L,x,P,k,H,q,N,D,C;if(b&&(!p||!i)&&(i="none"),e._ease=Nr(i,ln.ease),e._yEase=f?Ha(Nr(f===!0?i:f,ln.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!b&&!!n.runBackwards,!b||p&&!n.stagger){if(k=g[0]?wr(g[0]).harness:0,D=k&&n[k.prop],y=Ai(n,Fs),h&&(h._zTime<0&&h.progress(1),t<0&&u&&a&&!d?h.render(-1,!0):h.revert(u&&m?xi:lu),h._lazy=0),s){if(Er(e._startAt=Ce.set(g,Tt({data:"isStart",overwrite:!1,parent:E,immediateRender:!0,lazy:!h&&gt(l),startAt:null,delay:0,onUpdate:c&&function(){return Et(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ue||!a&&!d)&&e._startAt.revert(xi),a&&m&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&m&&!h){if(t&&(a=!1),T=Tt({overwrite:!1,data:"isFromStart",lazy:a&&!h&&gt(l),immediateRender:a,stagger:0,parent:E},y),D&&(T[k.prop]=D),Er(e._startAt=Ce.set(g,T)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ue?e._startAt.revert(xi):e._startAt.render(-1,!0)),e._zTime=t,!a)o(e._startAt,de,de);else if(!t)return}for(e._pt=e._ptCache=0,l=m&&gt(l)||l&&!m,S=0;S<g.length;S++){if(L=g[S],P=L._gsap||zs(g)[S]._gsap,e._ptLookup[S]=q={},Ls[P.id]&&br.length&&Mi(),N=v===g?S:v.indexOf(L),k&&(H=new k).init(L,D||y,e,N,v)!==!1&&(e._pt=M=new ot(e._pt,L,H.name,0,1,H.render,H,0,H.priority),H._props.forEach(function(R){q[R]=M}),H.priority&&(x=1)),!k||D)for(T in y)ht[T]&&(H=Us(T,y,e,N,L,v))?H.priority&&(x=1):q[T]=M=Xs.call(e,L,T,"get",y[T],N,v,0,n.stringFilter);e._op&&e._op[S]&&e.kill(L,e._op[S]),w&&e._pt&&(vr=e,be.killTweensOf(L,q,e.globalTime(t)),C=!e.parent,vr=0),e._pt&&l&&(Ls[P.id]=1)}x&&Zs(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!C,p&&t<=0&&b.render(Ht,!0,!0)},Du=function(e,t,r,n,i,s,a,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,f,p,d;if(!c)for(c=e._ptCache[t]=[],p=e._ptLookup,d=e._targets.length;d--;){if(u=p[d][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return Hs=1,e.vars[t]="+=0",Ks(e,a),Hs=0,l?Bn(t+" not eligible for reset"):1;c.push(u)}for(d=c.length;d--;)f=c[d],u=f._pt||f,u.s=(n||n===0)&&!i?n:u.s+(n||0)+s*u.c,u.c=r-u.s,f.e&&(f.e=Se(r)+Ke(f.e)),f.b&&(f.b=u.s+Ke(f.b))},Ru=function(e,t){var r=e[0]?wr(e[0]).harness:0,n=r&&r.aliases,i,s,a,l;if(!n)return t;i=cn({},t);for(s in n)if(s in i)for(l=n[s].split(","),a=l.length;a--;)i[l[a]]=i[s];return i},qu=function(e,t,r,n){var i=t.ease||n||"power1.inOut",s,a;if(Je(t))a=r[e]||(r[e]=[]),t.forEach(function(l,c){return a.push({t:c/(t.length-1)*100,v:l,e:i})});else for(s in t)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:i})},Fn=function(e,t,r,n,i){return Te(e)?e.call(t,r,n,i):qe(e)&&~e.indexOf("random(")?pn(e):e},Da=Bs+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ra={};st(Da+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return Ra[o]=1});var Ce=function(o){aa(e,o);function e(r,n,i,s){var a;typeof n=="number"&&(i.duration=n,n=i,i=null),a=o.call(this,s?n:qn(n))||this;var l=a.vars,c=l.duration,u=l.delay,f=l.immediateRender,p=l.stagger,d=l.overwrite,m=l.keyframes,h=l.defaults,g=l.scrollTrigger,E=l.yoyoEase,v=n.parent||be,w=(Je(r)||ca(r)?ar(r[0]):"length"in n)?[r]:Ot(r),b,y,S,T,M,L,x,P;if(a._targets=w.length?zs(w):Bn("GSAP target "+r+" not found. https://gsap.com",!_t.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,m||p||Ei(c)||Ei(u)){if(n=a.vars,b=a.timeline=new Xe({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:w}),b.kill(),b.parent=b._dp=sr(a),b._start=0,p||Ei(c)||Ei(u)){if(T=w.length,x=p&&xa(p),jt(p))for(M in p)~Da.indexOf(M)&&(P||(P={}),P[M]=p[M]);for(y=0;y<T;y++)S=Ai(n,Ra),S.stagger=0,E&&(S.yoyoEase=E),P&&cn(S,P),L=w[y],S.duration=+Fn(c,sr(a),y,L,w),S.delay=(+Fn(u,sr(a),y,L,w)||0)-a._delay,!p&&T===1&&S.delay&&(a._delay=u=S.delay,a._start+=u,S.delay=0),b.to(L,S,x?x(y,L,w):0),b._ease=ne.none;b.duration()?c=u=0:a.timeline=0}else if(m){qn(Tt(b.vars.defaults,{ease:"none"})),b._ease=Nr(m.ease||n.ease||"none");var k=0,H,q,N;if(Je(m))m.forEach(function(D){return b.to(w,D,">")}),b.duration();else{S={};for(M in m)M==="ease"||M==="easeEach"||qu(M,m[M],S,m.easeEach);for(M in S)for(H=S[M].sort(function(D,C){return D.t-C.t}),k=0,y=0;y<H.length;y++)q=H[y],N={ease:q.e,duration:(q.t-(y?H[y-1].t:0))/100*c},N[M]=q.v,b.to(w,N,k),k+=N.duration;b.duration()<c&&b.to({},{duration:c-b.duration()})}}c||a.duration(c=b.duration())}else a.timeline=0;return d===!0&&!Is&&(vr=sr(a),be.killTweensOf(w),vr=0),$t(v,sr(a),i),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(f||!c&&!m&&a._start===ve(v._time)&&gt(f)&&hu(sr(a))&&v.data!=="nested")&&(a._tTime=-de,a.render(Math.max(0,-u)||0)),g&&va(sr(a),g),a}var t=e.prototype;return t.render=function(n,i,s){var a=this._time,l=this._tDur,c=this._dur,u=n<0,f=n>l-de&&!u?l:n<de?0:n,p,d,m,h,g,E,v,w,b;if(!c)gu(this,n,i,s);else if(f!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(p=f,w=this.timeline,this._repeat){if(h=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(h*100+n,i,s);if(p=ve(f%h),f===l?(m=this._repeat,p=c):(g=ve(f/h),m=~~g,m&&m===g?(p=c,m--):p>c&&(p=c)),E=this._yoyo&&m&1,E&&(b=this._yEase,p=c-p),g=un(this._tTime,h),p===a&&!s&&this._initted&&m===g)return this._tTime=f,this;m!==g&&(w&&this._yEase&&Oa(w,E),this.vars.repeatRefresh&&!E&&!this._lock&&p!==h&&this._initted&&(this._lock=s=1,this.render(ve(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(ba(this,u?n:p,s,i,f))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&m!==g))return this;if(c!==this._dur)return this.render(n,i,s)}if(this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(b||this._ease)(p/c),this._from&&(this.ratio=v=1-v),!a&&f&&!i&&!g&&(Et(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(v,d.d),d=d._next;w&&w.render(n<0?n:w._dur*w._ease(p/this._dur),i,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!i&&(u&&Ms(this,n,i,s),Et(this,"onUpdate")),this._repeat&&m!==g&&this.vars.onRepeat&&!i&&this.parent&&Et(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&Ms(this,n,!0,!0),(n||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Er(this,1),!i&&!(u&&!a)&&(f||a||E)&&(Et(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),o.prototype.invalidate.call(this,n)},t.resetTo=function(n,i,s,a,l){Wn||mt.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Ks(this,c),u=this._ease(c/this._dur),Du(this,n,i,s,a,u,c,l)?this.resetTo(n,i,s,a,1):(Di(this,0),this.parent||_a(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,i){if(i===void 0&&(i="all"),!n&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?Dn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ue),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,i,vr&&vr.vars.overwrite!==!0)._first||Dn(this),this.parent&&s!==this.timeline.totalDuration()&&dn(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=n?Ot(n):a,c=this._ptLookup,u=this._pt,f,p,d,m,h,g,E;if((!i||i==="all")&&fu(a,l))return i==="all"&&(this._pt=0),Dn(this);for(f=this._op=this._op||[],i!=="all"&&(qe(i)&&(h={},st(i,function(v){return h[v]=1}),i=h),i=Ru(a,i)),E=a.length;E--;)if(~l.indexOf(a[E])){p=c[E],i==="all"?(f[E]=i,m=p,d={}):(d=f[E]=f[E]||{},m=i);for(h in m)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&Oi(this,g,"_pt"),delete p[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&u&&Dn(this),this},e.to=function(n,i){return new e(n,i,arguments[2])},e.from=function(n,i){return Nn(1,arguments)},e.delayedCall=function(n,i,s,a){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:i,onReverseComplete:i,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(n,i,s){return Nn(2,arguments)},e.set=function(n,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(n,i)},e.killTweensOf=function(n,i,s){return be.killTweensOf(n,i,s)},e}(Gn);Tt(Ce.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});st("staggerTo,staggerFrom,staggerFromTo",function(o){Ce[o]=function(){var e=new Xe,t=ks.call(arguments,0);return t.splice(o==="staggerFromTo"?5:4,0,0),e[o].apply(e,t)}});var $s=function(e,t,r){return e[t]=r},qa=function(e,t,r){return e[t](r)},Nu=function(e,t,r,n){return e[t](n.fp,r)},Fu=function(e,t,r){return e.setAttribute(t,r)},Ri=function(e,t){return Te(e[t])?qa:Pi(e[t])&&e.setAttribute?Fu:$s},Na=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Bu=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},js=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},Qs=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},zu=function(e,t,r,n){for(var i=this._pt,s;i;)s=i._next,i.p===n&&i.modifier(e,t,r),i=s},Wu=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Oi(this,t,"_pt"):t.dep||(r=1),t=n;return!r},Gu=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Zs=function(e){for(var t=e._pt,r,n,i,s;t;){for(r=t._next,n=i;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:s)?t._prev._next=t:i=t,(t._next=n)?n._prev=t:s=t,t=r}e._pt=i},ot=function(){function o(t,r,n,i,s,a,l,c,u){this.t=r,this.s=i,this.c=s,this.p=n,this.r=a||Na,this.d=l||this,this.set=c||$s,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=o.prototype;return e.modifier=function(r,n,i){this.mSet=this.mSet||this.set,this.set=Gu,this.m=r,this.mt=i,this.tween=n},o}();st(Bs+"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(o){return Fs[o]=1});xt.TweenMax=xt.TweenLite=Ce;xt.TimelineLite=xt.TimelineMax=Xe;be=new Xe({sortChildren:!1,defaults:ln,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});_t.stringFilter=Vs;var Fr=[],Si={},Vu=[],oa=0,Yu=0,Es=function(e){return(Si[e]||Vu).map(function(t){return t()})},Os=function(){var e=Date.now(),t=[];e-oa>2&&(Es("matchMediaInit"),Fr.forEach(function(r){var n=r.queries,i=r.conditions,s,a,l,c;for(a in n)s=Kt.matchMedia(n[a]).matches,s&&(l=1),s!==i[a]&&(i[a]=s,c=1);c&&(r.revert(),l&&t.push(r))}),Es("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),oa=e,Es("matchMedia"))},Fa=function(){function o(t,r){this.selector=r&&Cs(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Yu++,t&&this.add(t)}var e=o.prototype;return e.add=function(r,n,i){Te(r)&&(i=n,n=r,r=Te);var s=this,a=function(){var c=_e,u=s.selector,f;return c&&c!==s&&c.data.push(s),i&&(s.selector=Cs(i)),_e=s,f=n.apply(s,arguments),Te(f)&&s._r.push(f),_e=c,s.selector=u,s.isReverted=!1,f};return s.last=a,r===Te?a(s,function(l){return s.add(null,l)}):r?s[r]=a:a},e.ignore=function(r){var n=_e;_e=null,r(this),_e=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof o?r.push.apply(r,n.getTweens()):n instanceof Ce&&!(n.parent&&n.parent.data==="nested")&&r.push(n)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,n){var i=this;if(r?function(){for(var a=i.getTweens(),l=i.data.length,c;l--;)c=i.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,f){return f.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=i.data.length;l--;)c=i.data[l],c instanceof Xe?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Ce)&&c.revert&&c.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var s=Fr.length;s--;)Fr[s].id===this.id&&Fr.splice(s,1)},e.revert=function(r){this.kill(r||{})},o}(),Xu=function(){function o(t){this.contexts=[],this.scope=t,_e&&_e.data.push(this)}var e=o.prototype;return e.add=function(r,n,i){jt(r)||(r={matches:r});var s=new Fa(0,i||this.scope),a=s.conditions={},l,c,u;_e&&!s.selector&&(s.selector=_e.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=r;for(c in r)c==="all"?u=1:(l=Kt.matchMedia(r[c]),l&&(Fr.indexOf(s)<0&&Fr.push(s),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(Os):l.addEventListener("change",Os)));return u&&n(s,function(f){return s.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},o}(),Ci={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(n){return ka(n)})},timeline:function(e){return new Xe(e)},getTweensOf:function(e,t){return be.getTweensOf(e,t)},getProperty:function(e,t,r,n){qe(e)&&(e=Ot(e)[0]);var i=wr(e||{}).get,s=r?ga:ma;return r==="native"&&(r=""),e&&(t?s((ht[t]&&ht[t].get||i)(e,t,r,n)):function(a,l,c){return s((ht[a]&&ht[a].get||i)(e,a,l,c))})},quickSetter:function(e,t,r){if(e=Ot(e),e.length>1){var n=e.map(function(u){return et.quickSetter(u,t,r)}),i=n.length;return function(u){for(var f=i;f--;)n[f](u)}}e=e[0]||{};var s=ht[t],a=wr(e),l=a.harness&&(a.harness.aliases||{})[t]||t,c=s?function(u){var f=new s;an._pt=0,f.init(e,r?u+r:u,an,0,[e]),f.render(1,f),an._pt&&Qs(1,an)}:a.set(e,l);return s?c:function(u){return c(e,l,r?u+r:u,a,1)}},quickTo:function(e,t,r){var n,i=et.to(e,Tt((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(l,c,u){return i.resetTo(t,l,c,u)};return s.tween=i,s},isTweening:function(e){return be.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Nr(e.ease,ln.ease)),ta(ln,e||{})},config:function(e){return ta(_t,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,s=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!ht[a]&&!xt[a]&&Bn(t+" effect requires "+a+" plugin.")}),ys[t]=function(a,l,c){return r(Ot(a),Tt(l||{},i),c)},s&&(Xe.prototype[t]=function(a,l,c){return this.add(ys[t](a,jt(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){ne[e]=Nr(t)},parseEase:function(e,t){return arguments.length?Nr(e,t):ne},getById:function(e){return be.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Xe(e),n,i;for(r.smoothChildTiming=gt(e.smoothChildTiming),be.remove(r),r._dp=0,r._time=r._tTime=be._time,n=be._first;n;)i=n._next,(t||!(!n._dur&&n instanceof Ce&&n.vars.onComplete===n._targets[0]))&&$t(r,n,n._start-n._delay),n=i;return $t(be,r,0),r},context:function(e,t){return e?new Fa(e,t):_e},matchMedia:function(e){return new Xu(e)},matchMediaRefresh:function(){return Fr.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||Os()},addEventListener:function(e,t){var r=Si[e]||(Si[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Si[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:Tu,wrapYoyo:Su,distribute:xa,random:Sa,snap:Ta,normalize:xu,getUnit:Ke,clamp:vu,splitColor:Ca,toArray:Ot,selector:Cs,mapRange:Ma,pipe:wu,unitize:Eu,interpolate:Lu,shuffle:Ea},install:da,effects:ys,ticker:mt,updateRoot:Xe.updateRoot,plugins:ht,globalTimeline:be,core:{PropTween:ot,globals:fa,Tween:Ce,Timeline:Xe,Animation:Gn,getCache:wr,_removeLinkedListItem:Oi,reverting:function(){return Ue},context:function(e){return e&&_e&&(_e.data.push(e),e._ctx=_e),_e},suppressOverwrites:function(e){return Is=e}}};st("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Ci[o]=Ce[o]});mt.add(Xe.updateRoot);an=Ci.to({},{duration:0});var Uu=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Ku=function(e,t){var r=e._targets,n,i,s;for(n in t)for(i=r.length;i--;)s=e._ptLookup[i][n],s&&(s=s.d)&&(s._pt&&(s=Uu(s,n)),s&&s.modifier&&s.modifier(t[n],e,r[i],n))},xs=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,i,s){s._onInit=function(a){var l,c;if(qe(i)&&(l={},st(i,function(u){return l[u]=1}),i=l),t){l={};for(c in i)l[c]=t(i[c]);i=l}Ku(a,i)}}}},et=Ci.registerPlugin({name:"attr",init:function(e,t,r,n,i){var s,a,l;this.tween=r;for(s in t)l=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(l||0)+"",t[s],n,i,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)Ue?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},xs("roundProps",Ps),xs("modifiers"),xs("snap",Ta))||Ci;Ce.version=Xe.version=et.version="3.14.2";ua=1;Ds()&&fn();var $u=ne.Power0,ju=ne.Power1,Qu=ne.Power2,Zu=ne.Power3,Ju=ne.Power4,ed=ne.Linear,td=ne.Quad,rd=ne.Cubic,nd=ne.Quart,id=ne.Quint,sd=ne.Strong,od=ne.Elastic,ad=ne.Back,ld=ne.SteppedEase,cd=ne.Bounce,ud=ne.Sine,dd=ne.Expo,fd=ne.Circ;var Ba,Tr,mn,io,Xr,pd,za,so,hd=function(){return typeof window<"u"},cr={},Yr=180/Math.PI,gn=Math.PI/180,hn=Math.atan2,Wa=1e8,oo=/([A-Z])/g,md=/(left|right|width|margin|padding|x)/i,gd=/[\s,\(]\S/,Qt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},eo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},_d=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},yd=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},vd=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},bd=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},ja=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Qa=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},wd=function(e,t,r){return e.style[t]=r},Ed=function(e,t,r){return e.style.setProperty(t,r)},xd=function(e,t,r){return e._gsap[t]=r},Td=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Sd=function(e,t,r,n,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},Ld=function(e,t,r,n,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},we="transform",yt=we+"Origin",Md=function o(e,t){var r=this,n=this.target,i=n.style,s=n._gsap;if(e in cr&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Qt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=lr(n,a)}):this.tfm[e]=s.x?s[e]:lr(n,e),e===yt&&(this.tfm.zOrigin=s.zOrigin);else return Qt.transform.split(",").forEach(function(a){return o.call(r,a,t)});if(this.props.indexOf(we)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(yt,t,"")),e=we}(i||t)&&this.props.push(e,t,i[e])},Za=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Ad=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,i,s;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(oo,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)n[s]=this.tfm[s];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=so(),(!i||!i.isStart)&&!r[we]&&(Za(r),n.zOrigin&&r[yt]&&(r[yt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},Ja=function(e,t){var r={target:e,props:[],revert:Ad,save:Md};return e._gsap||et.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return r.save(n)}),r},el,to=function(e,t){var r=Tr.createElementNS?Tr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Tr.createElement(e);return r&&r.style?r:Tr.createElement(e)},St=function o(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(oo,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&o(e,_n(t)||t,1)||""},Ga="O,Moz,ms,Ms,Webkit".split(","),_n=function(e,t,r){var n=t||Xr,i=n.style,s=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Ga[s]+e in i););return s<0?null:(s===3?"ms":s>=0?Ga[s]:"")+e},ro=function(){hd()&&window.document&&(Ba=window,Tr=Ba.document,mn=Tr.documentElement,Xr=to("div")||{style:{}},pd=to("div"),we=_n(we),yt=we+"Origin",Xr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",el=!!_n("perspective"),so=et.core.reverting,io=1)},Va=function(e){var t=e.ownerSVGElement,r=to("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),i;n.style.display="block",r.appendChild(n),mn.appendChild(r);try{i=n.getBBox()}catch{}return r.removeChild(n),mn.removeChild(r),i},Ya=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},tl=function(e){var t,r;try{t=e.getBBox()}catch{t=Va(e),r=1}return t&&(t.width||t.height)||r||(t=Va(e)),t&&!t.width&&!t.x&&!t.y?{x:+Ya(e,["x","cx","x1"])||0,y:+Ya(e,["y","cy","y1"])||0,width:0,height:0}:t},rl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&tl(e))},Lr=function(e,t){if(t){var r=e.style,n;t in cr&&t!==yt&&(t=we),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(oo,"-$1").toLowerCase())):r.removeAttribute(t)}},Sr=function(e,t,r,n,i,s){var a=new ot(e._pt,t,r,0,1,s?Qa:ja);return e._pt=a,a.b=n,a.e=i,e._props.push(r),a},Xa={deg:1,rad:1,turn:1},kd={grid:1,flex:1},Mr=function o(e,t,r,n){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",a=Xr.style,l=md.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),f=100,p=n==="px",d=n==="%",m,h,g,E;if(n===s||!i||Xa[n]||Xa[s])return i;if(s!=="px"&&!p&&(i=o(e,t,r,"px")),E=e.getCTM&&rl(e),(d||s==="%")&&(cr[t]||~t.indexOf("adius")))return m=E?e.getBBox()[l?"width":"height"]:e[u],Se(d?i/m*f:i/100*m);if(a[l?"width":"height"]=f+(p?s:n),h=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!c?e:e.parentNode,E&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===Tr||!h.appendChild)&&(h=Tr.body),g=h._gsap,g&&d&&g.width&&l&&g.time===mt.time&&!g.uncache)return Se(i/g.width*f);if(d&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=f+n,m=e[u],v?e.style[t]=v:Lr(e,t)}else(d||s==="%")&&!kd[St(h,"display")]&&(a.position=St(e,"position")),h===e&&(a.position="static"),h.appendChild(Xr),m=Xr[u],h.removeChild(Xr),a.position="absolute";return l&&d&&(g=wr(h),g.time=mt.time,g.width=h[u]),Se(p?m*i/f:m&&i?f/m*i:0)},lr=function(e,t,r,n){var i;return io||ro(),t in Qt&&t!=="transform"&&(t=Qt[t],~t.indexOf(",")&&(t=t.split(",")[0])),cr[t]&&t!=="transform"?(i=Un(e,n),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Ni(St(e,yt))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||n||~(i+"").indexOf("calc("))&&(i=qi[t]&&qi[t](e,t,r)||St(e,t)||Ws(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Mr(e,t,i,r)+r:i},Cd=function(e,t,r,n){if(!r||r==="none"){var i=_n(t,e,1),s=i&&St(e,i,1);s&&s!==r?(t=i,r=s):t==="borderColor"&&(r=St(e,"borderTopColor"))}var a=new ot(this._pt,e.style,t,0,1,js),l=0,c=0,u,f,p,d,m,h,g,E,v,w,b,y;if(a.b=r,a.e=n,r+="",n+="",n.substring(0,6)==="var(--"&&(n=St(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(h=e.style[t],e.style[t]=n,n=St(e,t)||n,h?e.style[t]=h:Lr(e,t)),u=[r,n],Vs(u),r=u[0],n=u[1],p=r.match(Br)||[],y=n.match(Br)||[],y.length){for(;f=Br.exec(n);)g=f[0],v=n.substring(l,f.index),m?m=(m+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(m=1),g!==(h=p[c++]||"")&&(d=parseFloat(h)||0,b=h.substr((d+"").length),g.charAt(1)==="="&&(g=zr(d,g)+b),E=parseFloat(g),w=g.substr((E+"").length),l=Br.lastIndex-w.length,w||(w=w||_t.units[t]||b,l===n.length&&(n+=w,a.e+=w)),b!==w&&(d=Mr(e,t,h,w)||0),a._pt={_next:a._pt,p:v||c===1?v:",",s:d,c:E-d,m:m&&m<4||t==="zIndex"?Math.round:0});a.c=l<n.length?n.substring(l,n.length):""}else a.r=t==="display"&&n==="none"?Qa:ja;return qs.test(n)&&(a.e=0),this._pt=a,a},Ua={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Pd=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return(r==="top"||r==="bottom"||n==="left"||n==="right")&&(e=r,r=n,n=e),t[0]=Ua[r]||r,t[1]=Ua[n]||n,t.join(" ")},Hd=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,i=t.u,s=r._gsap,a,l,c;if(i==="all"||i===!0)n.cssText="",l=1;else for(i=i.split(","),c=i.length;--c>-1;)a=i[c],cr[a]&&(l=1,a=a==="transformOrigin"?yt:we),Lr(r,a);l&&(Lr(r,we),s&&(s.svg&&r.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Un(r,1),s.uncache=1,Za(n)))}},qi={clearProps:function(e,t,r,n,i){if(i.data!=="isFromStart"){var s=e._pt=new ot(e._pt,t,r,0,0,Hd);return s.u=n,s.pr=-10,s.tween=i,e._props.push(r),1}}},Xn=[1,0,0,1,0,0],nl={},il=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Ka=function(e){var t=St(e,we);return il(t)?Xn:t.substr(7).match(Rs).map(Se)},ao=function(e,t){var r=e._gsap||wr(e),n=e.style,i=Ka(e),s,a,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,i=[l.a,l.b,l.c,l.d,l.e,l.f],i.join(",")==="1,0,0,1,0,0"?Xn:i):(i===Xn&&!e.offsetParent&&e!==mn&&!r.svg&&(l=n.display,n.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,a=e.nextElementSibling,mn.appendChild(e)),i=Ka(e),l?n.display=l:Lr(e,"display"),c&&(a?s.insertBefore(e,a):s?s.appendChild(e):mn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},no=function(e,t,r,n,i,s){var a=e._gsap,l=i||ao(e,!0),c=a.xOrigin||0,u=a.yOrigin||0,f=a.xOffset||0,p=a.yOffset||0,d=l[0],m=l[1],h=l[2],g=l[3],E=l[4],v=l[5],w=t.split(" "),b=parseFloat(w[0])||0,y=parseFloat(w[1])||0,S,T,M,L;r?l!==Xn&&(T=d*g-m*h)&&(M=b*(g/T)+y*(-h/T)+(h*v-g*E)/T,L=b*(-m/T)+y*(d/T)-(d*v-m*E)/T,b=M,y=L):(S=tl(e),b=S.x+(~w[0].indexOf("%")?b/100*S.width:b),y=S.y+(~(w[1]||w[0]).indexOf("%")?y/100*S.height:y)),n||n!==!1&&a.smooth?(E=b-c,v=y-u,a.xOffset=f+(E*d+v*h)-E,a.yOffset=p+(E*m+v*g)-v):a.xOffset=a.yOffset=0,a.xOrigin=b,a.yOrigin=y,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!r,e.style[yt]="0px 0px",s&&(Sr(s,a,"xOrigin",c,b),Sr(s,a,"yOrigin",u,y),Sr(s,a,"xOffset",f,a.xOffset),Sr(s,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",b+" "+y)},Un=function(e,t){var r=e._gsap||new Ys(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,i=r.scaleX<0,s="px",a="deg",l=getComputedStyle(e),c=St(e,yt)||"0",u,f,p,d,m,h,g,E,v,w,b,y,S,T,M,L,x,P,k,H,q,N,D,C,R,F,_,B,K,te,V,se;return u=f=p=h=g=E=v=w=b=0,d=m=1,r.svg=!!(e.getCTM&&rl(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[we]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[we]!=="none"?l[we]:"")),n.scale=n.rotate=n.translate="none"),T=ao(e,r.svg),r.svg&&(r.uncache?(R=e.getBBox(),c=r.xOrigin-R.x+"px "+(r.yOrigin-R.y)+"px",C=""):C=!t&&e.getAttribute("data-svg-origin"),no(e,C||c,!!C||r.originIsAbsolute,r.smooth!==!1,T)),y=r.xOrigin||0,S=r.yOrigin||0,T!==Xn&&(P=T[0],k=T[1],H=T[2],q=T[3],u=N=T[4],f=D=T[5],T.length===6?(d=Math.sqrt(P*P+k*k),m=Math.sqrt(q*q+H*H),h=P||k?hn(k,P)*Yr:0,v=H||q?hn(H,q)*Yr+h:0,v&&(m*=Math.abs(Math.cos(v*gn))),r.svg&&(u-=y-(y*P+S*H),f-=S-(y*k+S*q))):(se=T[6],te=T[7],_=T[8],B=T[9],K=T[10],V=T[11],u=T[12],f=T[13],p=T[14],M=hn(se,K),g=M*Yr,M&&(L=Math.cos(-M),x=Math.sin(-M),C=N*L+_*x,R=D*L+B*x,F=se*L+K*x,_=N*-x+_*L,B=D*-x+B*L,K=se*-x+K*L,V=te*-x+V*L,N=C,D=R,se=F),M=hn(-H,K),E=M*Yr,M&&(L=Math.cos(-M),x=Math.sin(-M),C=P*L-_*x,R=k*L-B*x,F=H*L-K*x,V=q*x+V*L,P=C,k=R,H=F),M=hn(k,P),h=M*Yr,M&&(L=Math.cos(M),x=Math.sin(M),C=P*L+k*x,R=N*L+D*x,k=k*L-P*x,D=D*L-N*x,P=C,N=R),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,E=180-E),d=Se(Math.sqrt(P*P+k*k+H*H)),m=Se(Math.sqrt(D*D+se*se)),M=hn(N,D),v=Math.abs(M)>2e-4?M*Yr:0,b=V?1/(V<0?-V:V):0),r.svg&&(C=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!il(St(e,we)),C&&e.setAttribute("transform",C))),Math.abs(v)>90&&Math.abs(v)<270&&(i?(d*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=f-((r.yPercent=f&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Se(d),r.scaleY=Se(m),r.rotation=Se(h)+a,r.rotationX=Se(g)+a,r.rotationY=Se(E)+a,r.skewX=v+a,r.skewY=w+a,r.transformPerspective=b+s,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(n[yt]=Ni(c)),r.xOffset=r.yOffset=0,r.force3D=_t.force3D,r.renderTransform=r.svg?Id:el?sl:Od,r.uncache=0,r},Ni=function(e){return(e=e.split(" "))[0]+" "+e[1]},Js=function(e,t,r){var n=Ke(t);return Se(parseFloat(t)+parseFloat(Mr(e,"x",r+"px",n)))+n},Od=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,sl(e,t)},Gr="0deg",Yn="0px",Vr=") ",sl=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,s=r.x,a=r.y,l=r.z,c=r.rotation,u=r.rotationY,f=r.rotationX,p=r.skewX,d=r.skewY,m=r.scaleX,h=r.scaleY,g=r.transformPerspective,E=r.force3D,v=r.target,w=r.zOrigin,b="",y=E==="auto"&&e&&e!==1||E===!0;if(w&&(f!==Gr||u!==Gr)){var S=parseFloat(u)*gn,T=Math.sin(S),M=Math.cos(S),L;S=parseFloat(f)*gn,L=Math.cos(S),s=Js(v,s,T*L*-w),a=Js(v,a,-Math.sin(S)*-w),l=Js(v,l,M*L*-w+w)}g!==Yn&&(b+="perspective("+g+Vr),(n||i)&&(b+="translate("+n+"%, "+i+"%) "),(y||s!==Yn||a!==Yn||l!==Yn)&&(b+=l!==Yn||y?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+Vr),c!==Gr&&(b+="rotate("+c+Vr),u!==Gr&&(b+="rotateY("+u+Vr),f!==Gr&&(b+="rotateX("+f+Vr),(p!==Gr||d!==Gr)&&(b+="skew("+p+", "+d+Vr),(m!==1||h!==1)&&(b+="scale("+m+", "+h+Vr),v.style[we]=b||"translate(0, 0)"},Id=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,s=r.x,a=r.y,l=r.rotation,c=r.skewX,u=r.skewY,f=r.scaleX,p=r.scaleY,d=r.target,m=r.xOrigin,h=r.yOrigin,g=r.xOffset,E=r.yOffset,v=r.forceCSS,w=parseFloat(s),b=parseFloat(a),y,S,T,M,L;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=gn,c*=gn,y=Math.cos(l)*f,S=Math.sin(l)*f,T=Math.sin(l-c)*-p,M=Math.cos(l-c)*p,c&&(u*=gn,L=Math.tan(c-u),L=Math.sqrt(1+L*L),T*=L,M*=L,u&&(L=Math.tan(u),L=Math.sqrt(1+L*L),y*=L,S*=L)),y=Se(y),S=Se(S),T=Se(T),M=Se(M)):(y=f,M=p,S=T=0),(w&&!~(s+"").indexOf("px")||b&&!~(a+"").indexOf("px"))&&(w=Mr(d,"x",s,"px"),b=Mr(d,"y",a,"px")),(m||h||g||E)&&(w=Se(w+m-(m*y+h*T)+g),b=Se(b+h-(m*S+h*M)+E)),(n||i)&&(L=d.getBBox(),w=Se(w+n/100*L.width),b=Se(b+i/100*L.height)),L="matrix("+y+","+S+","+T+","+M+","+w+","+b+")",d.setAttribute("transform",L),v&&(d.style[we]=L)},Dd=function(e,t,r,n,i){var s=360,a=qe(i),l=parseFloat(i)*(a&&~i.indexOf("rad")?Yr:1),c=l-n,u=n+c+"deg",f,p;return a&&(f=i.split("_")[1],f==="short"&&(c%=s,c!==c%(s/2)&&(c+=c<0?s:-s)),f==="cw"&&c<0?c=(c+s*Wa)%s-~~(c/s)*s:f==="ccw"&&c>0&&(c=(c-s*Wa)%s-~~(c/s)*s)),e._pt=p=new ot(e._pt,t,r,n,c,_d),p.e=u,p.u="deg",e._props.push(r),p},$a=function(e,t){for(var r in t)e[r]=t[r];return e},Rd=function(e,t,r){var n=$a({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,l,c,u,f,p,d,m;n.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),s[we]=t,a=Un(r,1),Lr(r,we),r.setAttribute("transform",c)):(c=getComputedStyle(r)[we],s[we]=t,a=Un(r,1),s[we]=c);for(l in cr)c=n[l],u=a[l],c!==u&&i.indexOf(l)<0&&(d=Ke(c),m=Ke(u),f=d!==m?Mr(r,l,c,m):parseFloat(c),p=parseFloat(u),e._pt=new ot(e._pt,a,l,f,p-f,eo),e._pt.u=m||0,e._props.push(l));$a(a,n)};st("padding,margin,Width,Radius",function(o,e){var t="Top",r="Right",n="Bottom",i="Left",s=(e<3?[t,r,n,i]:[t+i,t+r,n+r,n+i]).map(function(a){return e<2?o+a:"border"+a+o});qi[e>1?"border"+o:o]=function(a,l,c,u,f){var p,d;if(arguments.length<4)return p=s.map(function(m){return lr(a,m,c)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(u+"").split(" "),d={},s.forEach(function(m,h){return d[m]=p[h]=p[h]||p[(h-1)/2|0]}),a.init(l,d,f)}});var lo={name:"css",register:ro,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var s=this._props,a=e.style,l=r.vars.startAt,c,u,f,p,d,m,h,g,E,v,w,b,y,S,T,M,L;io||ro(),this.styles=this.styles||Ja(e),M=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(u=t[h],!(ht[h]&&Us(h,t,r,n,e,i)))){if(d=typeof u,m=qi[h],d==="function"&&(u=u.call(r,n,e,i),d=typeof u),d==="string"&&~u.indexOf("random(")&&(u=pn(u)),m)m(this,e,h,u,r)&&(T=1);else if(h.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(h)+"").trim(),u+="",or.lastIndex=0,or.test(c)||(g=Ke(c),E=Ke(u),E?g!==E&&(c=Mr(e,h,c,E)+E):g&&(u+=g)),this.add(a,"setProperty",c,u,n,i,0,0,h),s.push(h),M.push(h,0,a[h]);else if(d!=="undefined"){if(l&&h in l?(c=typeof l[h]=="function"?l[h].call(r,n,e,i):l[h],qe(c)&&~c.indexOf("random(")&&(c=pn(c)),Ke(c+"")||c==="auto"||(c+=_t.units[h]||Ke(lr(e,h))||""),(c+"").charAt(1)==="="&&(c=lr(e,h))):c=lr(e,h),p=parseFloat(c),v=d==="string"&&u.charAt(1)==="="&&u.substr(0,2),v&&(u=u.substr(2)),f=parseFloat(u),h in Qt&&(h==="autoAlpha"&&(p===1&&lr(e,"visibility")==="hidden"&&f&&(p=0),M.push("visibility",0,a.visibility),Sr(this,a,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=Qt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),w=h in cr,w){if(this.styles.save(h),L=u,d==="string"&&u.substring(0,6)==="var(--"){if(u=St(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var x=e.style.perspective;e.style.perspective=u,u=St(e,"perspective"),x?e.style.perspective=x:Lr(e,"perspective")}f=parseFloat(u)}if(b||(y=e._gsap,y.renderTransform&&!t.parseTransform||Un(e,t.parseTransform),S=t.smoothOrigin!==!1&&y.smooth,b=this._pt=new ot(this._pt,a,we,0,1,y.renderTransform,y,0,-1),b.dep=1),h==="scale")this._pt=new ot(this._pt,y,"scaleY",y.scaleY,(v?zr(y.scaleY,v+f):f)-y.scaleY||0,eo),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){M.push(yt,0,a[yt]),u=Pd(u),y.svg?no(e,u,0,S,0,this):(E=parseFloat(u.split(" ")[2])||0,E!==y.zOrigin&&Sr(this,y,"zOrigin",y.zOrigin,E),Sr(this,a,h,Ni(c),Ni(u)));continue}else if(h==="svgOrigin"){no(e,u,1,S,0,this);continue}else if(h in nl){Dd(this,y,h,p,v?zr(p,v+u):u);continue}else if(h==="smoothOrigin"){Sr(this,y,"smooth",y.smooth,u);continue}else if(h==="force3D"){y[h]=u;continue}else if(h==="transform"){Rd(this,u,e);continue}}else h in a||(h=_n(h)||h);if(w||(f||f===0)&&(p||p===0)&&!gd.test(u)&&h in a)g=(c+"").substr((p+"").length),f||(f=0),E=Ke(u)||(h in _t.units?_t.units[h]:g),g!==E&&(p=Mr(e,h,c,E)),this._pt=new ot(this._pt,w?y:a,h,p,(v?zr(p,v+f):f)-p,!w&&(E==="px"||h==="zIndex")&&t.autoRound!==!1?bd:eo),this._pt.u=E||0,w&&L!==u?(this._pt.b=c,this._pt.e=L,this._pt.r=vd):g!==E&&E!=="%"&&(this._pt.b=c,this._pt.r=yd);else if(h in a)Cd.call(this,e,h,c,v?v+u:u);else if(h in e)this.add(e,h,c||e[h],v?v+u:u,n,i);else if(h!=="parseTransform"){Hi(h,u);continue}w||(h in a?M.push(h,0,a[h]):typeof e[h]=="function"?M.push(h,2,e[h]()):M.push(h,1,c||e[h])),s.push(h)}}T&&Zs(this)},render:function(e,t){if(t.tween._time||!so())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:lr,aliases:Qt,getSetter:function(e,t,r){var n=Qt[t];return n&&n.indexOf(",")<0&&(t=n),t in cr&&t!==yt&&(e._gsap.x||lr(e,"x"))?r&&za===r?t==="scale"?Td:xd:(za=r||{})&&(t==="scale"?Sd:Ld):e.style&&!Pi(e.style[t])?wd:~t.indexOf("-")?Ed:Ri(e,t)},core:{_removeProperty:Lr,_getMatrix:ao}};et.utils.checkPrefix=_n;et.core.getStyleSaver=Ja;(function(o,e,t,r){var n=st(o+","+e+","+t,function(i){cr[i]=1});st(e,function(i){_t.units[i]="deg",nl[i]=1}),Qt[n[13]]=o+","+e,st(r,function(i){var s=i.split(":");Qt[s[1]]=n[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");st("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){_t.units[o]="px"});et.registerPlugin(lo);var Oe=et.registerPlugin(lo)||et,zf=Oe.core.Tween;function ol(o,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(o,r.key,r)}}function qd(o,e,t){return e&&ol(o.prototype,e),t&&ol(o,t),o}var $e,zi,Nd,Lt,Ar,kr,vn,ll,Ur,$n,cl,ur,Gt,ul,dl=function(){return $e||typeof window<"u"&&($e=window.gsap)&&$e.registerPlugin&&$e},fl=1,yn=[],Q=[],Vt=[],jn=Date.now,co=function(e,t){return t},Fd=function(){var e=$n.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,Q),n.push.apply(n,Vt),Q=r,Vt=n,co=function(s,a){return t[s](a)}},fr=function(e,t){return~Vt.indexOf(e)&&Vt[Vt.indexOf(e)+1][t]},Qn=function(e){return!!~cl.indexOf(e)},lt=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:n!==!1,capture:!!i})},at=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Fi="scrollLeft",Bi="scrollTop",uo=function(){return ur&&ur.isPressed||Q.cache++},Wi=function(e,t){var r=function n(i){if(i||i===0){fl&&(Lt.history.scrollRestoration="manual");var s=ur&&ur.isPressed;i=n.v=Math.round(i)||(ur&&ur.iOS?1:0),e(i),n.cacheID=Q.cache,s&&co("ss",i)}else(t||Q.cache!==n.cacheID||co("ref"))&&(n.cacheID=Q.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},tt={s:Fi,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Wi(function(o){return arguments.length?Lt.scrollTo(o,Ie.sc()):Lt.pageXOffset||Ar[Fi]||kr[Fi]||vn[Fi]||0})},Ie={s:Bi,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:tt,sc:Wi(function(o){return arguments.length?Lt.scrollTo(tt.sc(),o):Lt.pageYOffset||Ar[Bi]||kr[Bi]||vn[Bi]||0})},ct=function(e,t){return(t&&t._ctx&&t._ctx.selector||$e.utils.toArray)(e)[0]||(typeof e=="string"&&$e.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Bd=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},dr=function(e,t){var r=t.s,n=t.sc;Qn(e)&&(e=Ar.scrollingElement||kr);var i=Q.indexOf(e),s=n===Ie.sc?1:2;!~i&&(i=Q.push(e)-1),Q[i+s]||lt(e,"scroll",uo);var a=Q[i+s],l=a||(Q[i+s]=Wi(fr(e,r),!0)||(Qn(e)?n:Wi(function(c){return arguments.length?e[r]=c:e[r]})));return l.target=e,a||(l.smooth=$e.getProperty(e,"scrollBehavior")==="smooth"),l},Gi=function(e,t,r){var n=e,i=e,s=jn(),a=s,l=t||50,c=Math.max(500,l*3),u=function(m,h){var g=jn();h||g-s>l?(i=n,n=m,a=s,s=g):r?n+=m:n=i+(m-i)/(g-a)*(s-a)},f=function(){i=n=r?0:n,a=s=0},p=function(m){var h=a,g=i,E=jn();return(m||m===0)&&m!==n&&u(m),s===a||E-a>c?0:(n+(r?g:-g))/((r?E:s)-h)*1e3};return{update:u,reset:f,getVelocity:p}},Kn=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},al=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},pl=function(){$n=$e.core.globals().ScrollTrigger,$n&&$n.core&&Fd()},hl=function(e){return $e=e||dl(),!zi&&$e&&typeof document<"u"&&document.body&&(Lt=window,Ar=document,kr=Ar.documentElement,vn=Ar.body,cl=[Lt,Ar,kr,vn],Nd=$e.utils.clamp,ul=$e.core.context||function(){},Ur="onpointerenter"in vn?"pointer":"mouse",ll=Le.isTouch=Lt.matchMedia&&Lt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Lt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Gt=Le.eventTypes=("ontouchstart"in kr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in kr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return fl=0},500),pl(),zi=1),zi};tt.op=Ie;Q.cache=0;var Le=function(){function o(t){this.init(t)}var e=o.prototype;return e.init=function(r){zi||hl($e)||console.warn("Please gsap.registerPlugin(Observer)"),$n||pl();var n=r.tolerance,i=r.dragMinimum,s=r.type,a=r.target,l=r.lineHeight,c=r.debounce,u=r.preventDefault,f=r.onStop,p=r.onStopDelay,d=r.ignore,m=r.wheelSpeed,h=r.event,g=r.onDragStart,E=r.onDragEnd,v=r.onDrag,w=r.onPress,b=r.onRelease,y=r.onRight,S=r.onLeft,T=r.onUp,M=r.onDown,L=r.onChangeX,x=r.onChangeY,P=r.onChange,k=r.onToggleX,H=r.onToggleY,q=r.onHover,N=r.onHoverEnd,D=r.onMove,C=r.ignoreCheck,R=r.isNormalizer,F=r.onGestureStart,_=r.onGestureEnd,B=r.onWheel,K=r.onEnable,te=r.onDisable,V=r.onClick,se=r.scrollSpeed,me=r.capture,ae=r.allowClicks,Ee=r.lockAxis,Pe=r.onLockAxis;this.target=a=ct(a)||kr,this.vars=r,d&&(d=$e.utils.toArray(d)),n=n||1e-9,i=i||0,m=m||1,se=se||1,s=s||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(Lt.getComputedStyle(vn).lineHeight)||22);var qt,Ge,Me,j,fe,pt,vt,A=this,bt=0,er=0,pe=r.passive||!u&&r.passive!==!1,le=dr(a,tt),tr=dr(a,Ie),mr=le(),Hr=tr(),Fe=~s.indexOf("touch")&&!~s.indexOf("pointer")&&Gt[0]==="pointerdown",gr=Qn(a),Ae=a.ownerDocument||Ar,Nt=[0,0,0],Ct=[0,0,0],rr=0,Pn=function(){return rr=jn()},He=function(G,ie){return(A.event=G)&&d&&Bd(G.target,d)||ie&&Fe&&G.pointerType!=="touch"||C&&C(G,ie)},vi=function(){A._vx.reset(),A._vy.reset(),Ge.pause(),f&&f(A)},nr=function(){var G=A.deltaX=al(Nt),ie=A.deltaY=al(Ct),O=Math.abs(G)>=n,Y=Math.abs(ie)>=n;P&&(O||Y)&&P(A,G,ie,Nt,Ct),O&&(y&&A.deltaX>0&&y(A),S&&A.deltaX<0&&S(A),L&&L(A),k&&A.deltaX<0!=bt<0&&k(A),bt=A.deltaX,Nt[0]=Nt[1]=Nt[2]=0),Y&&(M&&A.deltaY>0&&M(A),T&&A.deltaY<0&&T(A),x&&x(A),H&&A.deltaY<0!=er<0&&H(A),er=A.deltaY,Ct[0]=Ct[1]=Ct[2]=0),(j||Me)&&(D&&D(A),Me&&(g&&Me===1&&g(A),v&&v(A),Me=0),j=!1),pt&&!(pt=!1)&&Pe&&Pe(A),fe&&(B(A),fe=!1),qt=0},nn=function(G,ie,O){Nt[O]+=G,Ct[O]+=ie,A._vx.update(G),A._vy.update(ie),c?qt||(qt=requestAnimationFrame(nr)):nr()},sn=function(G,ie){Ee&&!vt&&(A.axis=vt=Math.abs(G)>Math.abs(ie)?"x":"y",pt=!0),vt!=="y"&&(Nt[2]+=G,A._vx.update(G,!0)),vt!=="x"&&(Ct[2]+=ie,A._vy.update(ie,!0)),c?qt||(qt=requestAnimationFrame(nr)):nr()},_r=function(G){if(!He(G,1)){G=Kn(G,u);var ie=G.clientX,O=G.clientY,Y=ie-A.x,z=O-A.y,X=A.isDragging;A.x=ie,A.y=O,(X||(Y||z)&&(Math.abs(A.startX-ie)>=i||Math.abs(A.startY-O)>=i))&&(Me||(Me=X?2:1),X||(A.isDragging=!0),sn(Y,z))}},Or=A.onPress=function(U){He(U,1)||U&&U.button||(A.axis=vt=null,Ge.pause(),A.isPressed=!0,U=Kn(U),bt=er=0,A.startX=A.x=U.clientX,A.startY=A.y=U.clientY,A._vx.reset(),A._vy.reset(),lt(R?a:Ae,Gt[1],_r,pe,!0),A.deltaX=A.deltaY=0,w&&w(A))},ee=A.onRelease=function(U){if(!He(U,1)){at(R?a:Ae,Gt[1],_r,!0);var G=!isNaN(A.y-A.startY),ie=A.isDragging,O=ie&&(Math.abs(A.x-A.startX)>3||Math.abs(A.y-A.startY)>3),Y=Kn(U);!O&&G&&(A._vx.reset(),A._vy.reset(),u&&ae&&$e.delayedCall(.08,function(){if(jn()-rr>300&&!U.defaultPrevented){if(U.target.click)U.target.click();else if(Ae.createEvent){var z=Ae.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,Lt,1,Y.screenX,Y.screenY,Y.clientX,Y.clientY,!1,!1,!1,!1,0,null),U.target.dispatchEvent(z)}}})),A.isDragging=A.isGesturing=A.isPressed=!1,f&&ie&&!R&&Ge.restart(!0),Me&&nr(),E&&ie&&E(A),b&&b(A,O)}},Ir=function(G){return G.touches&&G.touches.length>1&&(A.isGesturing=!0)&&F(G,A.isDragging)},Ft=function(){return(A.isGesturing=!1)||_(A)},Bt=function(G){if(!He(G)){var ie=le(),O=tr();nn((ie-mr)*se,(O-Hr)*se,1),mr=ie,Hr=O,f&&Ge.restart(!0)}},zt=function(G){if(!He(G)){G=Kn(G,u),B&&(fe=!0);var ie=(G.deltaMode===1?l:G.deltaMode===2?Lt.innerHeight:1)*m;nn(G.deltaX*ie,G.deltaY*ie,0),f&&!R&&Ge.restart(!0)}},Dr=function(G){if(!He(G)){var ie=G.clientX,O=G.clientY,Y=ie-A.x,z=O-A.y;A.x=ie,A.y=O,j=!0,f&&Ge.restart(!0),(Y||z)&&sn(Y,z)}},on=function(G){A.event=G,q(A)},ir=function(G){A.event=G,N(A)},Hn=function(G){return He(G)||Kn(G,u)&&V(A)};Ge=A._dc=$e.delayedCall(p||.25,vi).pause(),A.deltaX=A.deltaY=0,A._vx=Gi(0,50,!0),A._vy=Gi(0,50,!0),A.scrollX=le,A.scrollY=tr,A.isDragging=A.isGesturing=A.isPressed=!1,ul(this),A.enable=function(U){return A.isEnabled||(lt(gr?Ae:a,"scroll",uo),s.indexOf("scroll")>=0&&lt(gr?Ae:a,"scroll",Bt,pe,me),s.indexOf("wheel")>=0&&lt(a,"wheel",zt,pe,me),(s.indexOf("touch")>=0&&ll||s.indexOf("pointer")>=0)&&(lt(a,Gt[0],Or,pe,me),lt(Ae,Gt[2],ee),lt(Ae,Gt[3],ee),ae&&lt(a,"click",Pn,!0,!0),V&&lt(a,"click",Hn),F&&lt(Ae,"gesturestart",Ir),_&&lt(Ae,"gestureend",Ft),q&&lt(a,Ur+"enter",on),N&&lt(a,Ur+"leave",ir),D&&lt(a,Ur+"move",Dr)),A.isEnabled=!0,A.isDragging=A.isGesturing=A.isPressed=j=Me=!1,A._vx.reset(),A._vy.reset(),mr=le(),Hr=tr(),U&&U.type&&Or(U),K&&K(A)),A},A.disable=function(){A.isEnabled&&(yn.filter(function(U){return U!==A&&Qn(U.target)}).length||at(gr?Ae:a,"scroll",uo),A.isPressed&&(A._vx.reset(),A._vy.reset(),at(R?a:Ae,Gt[1],_r,!0)),at(gr?Ae:a,"scroll",Bt,me),at(a,"wheel",zt,me),at(a,Gt[0],Or,me),at(Ae,Gt[2],ee),at(Ae,Gt[3],ee),at(a,"click",Pn,!0),at(a,"click",Hn),at(Ae,"gesturestart",Ir),at(Ae,"gestureend",Ft),at(a,Ur+"enter",on),at(a,Ur+"leave",ir),at(a,Ur+"move",Dr),A.isEnabled=A.isPressed=A.isDragging=!1,te&&te(A))},A.kill=A.revert=function(){A.disable();var U=yn.indexOf(A);U>=0&&yn.splice(U,1),ur===A&&(ur=0)},yn.push(A),R&&Qn(a)&&(ur=A),A.enable(h)},qd(o,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),o}();Le.version="3.14.2";Le.create=function(o){return new Le(o)};Le.register=hl;Le.getAll=function(){return yn.slice()};Le.getById=function(o){return yn.filter(function(e){return e.vars.id===o})[0]};dl()&&$e.registerPlugin(Le);var I,En,J,he,kt,oe,Lo,ss,di,ii,Jn,Vi,rt,ls,vo,dt,ml,gl,xn,Hl,fo,Ol,ut,bo,Il,Dl,Cr,wo,Mo,Tn,Ao,si,Eo,po,Yi=1,nt=Date.now,ho=nt(),Rt=0,ei=0,_l=function(e,t,r){var n=At(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},yl=function(e,t){return t&&(!At(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},zd=function o(){return ei&&requestAnimationFrame(o)},vl=function(){return ls=1},bl=function(){return ls=0},Zt=function(e){return e},ti=function(e){return Math.round(e*1e5)/1e5||0},Rl=function(){return typeof window<"u"},ql=function(){return I||Rl()&&(I=window.gsap)&&I.registerPlugin&&I},Jr=function(e){return!!~Lo.indexOf(e)},Nl=function(e){return(e==="Height"?Ao:J["inner"+e])||kt["client"+e]||oe["client"+e]},Fl=function(e){return fr(e,"getBoundingClientRect")||(Jr(e)?function(){return is.width=J.innerWidth,is.height=Ao,is}:function(){return pr(e)})},Wd=function(e,t,r){var n=r.d,i=r.d2,s=r.a;return(s=fr(e,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(t?Nl(i):e["client"+i])||0}},Gd=function(e,t){return!t||~Vt.indexOf(e)?Fl(e):function(){return is}},Jt=function(e,t){var r=t.s,n=t.d2,i=t.d,s=t.a;return Math.max(0,(r="scroll"+n)&&(s=fr(e,r))?s()-Fl(e)()[i]:Jr(e)?(kt[r]||oe[r])-Nl(n):e[r]-e["offset"+n])},Xi=function(e,t){for(var r=0;r<xn.length;r+=3)(!t||~t.indexOf(xn[r+1]))&&e(xn[r],xn[r+1],xn[r+2])},At=function(e){return typeof e=="string"},it=function(e){return typeof e=="function"},ri=function(e){return typeof e=="number"},Kr=function(e){return typeof e=="object"},Zn=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},mo=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e)}):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},bn=Math.abs,Bl="left",zl="top",ko="right",Co="bottom",jr="width",Qr="height",oi="Right",ai="Left",li="Top",ci="Bottom",De="padding",It="margin",Ln="Width",Po="Height",Ne="px",Dt=function(e){return J.getComputedStyle(e)},Vd=function(e){var t=Dt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},wl=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},pr=function(e,t){var r=t&&Dt(e)[vo]!=="matrix(1, 0, 0, 1, 0, 0)"&&I.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},os=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Wl=function(e){var t=[],r=e.labels,n=e.duration(),i;for(i in r)t.push(r[i]/n);return t},Yd=function(e){return function(t){return I.utils.snap(Wl(e),t)}},Ho=function(e){var t=I.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,i){return n-i});return r?function(n,i,s){s===void 0&&(s=.001);var a;if(!i)return t(n);if(i>0){for(n-=s,a=0;a<r.length;a++)if(r[a]>=n)return r[a];return r[a-1]}else for(a=r.length,n+=s;a--;)if(r[a]<=n)return r[a];return r[0]}:function(n,i,s){s===void 0&&(s=.001);var a=t(n);return!i||Math.abs(a-n)<s||a-n<0==i<0?a:t(i<0?n-e:n+e)}},Xd=function(e){return function(t,r){return Ho(Wl(e))(t,r.direction)}},Ui=function(e,t,r,n){return r.split(",").forEach(function(i){return e(t,i,n)})},We=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},ze=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Ki=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},El={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},$i={toggleActions:"play",anticipatePin:0},as={top:0,left:0,center:.5,bottom:1,right:1},es=function(e,t){if(At(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in as?as[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ji=function(e,t,r,n,i,s,a,l){var c=i.startColor,u=i.endColor,f=i.fontSize,p=i.indent,d=i.fontWeight,m=he.createElement("div"),h=Jr(r)||fr(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,E=h?oe:r,v=e.indexOf("start")!==-1,w=v?c:u,b="border-color:"+w+";font-size:"+f+";color:"+w+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((g||l)&&h?"fixed;":"absolute;"),(g||l||!h)&&(b+=(n===Ie?ko:Co)+":"+(s+parseFloat(p))+"px;"),a&&(b+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),m._isStart=v,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=b,m.innerText=t||t===0?e+"-"+t:e,E.children[0]?E.insertBefore(m,E.children[0]):E.appendChild(m),m._offset=m["offset"+n.op.d2],ts(m,0,n,v),m},ts=function(e,t,r,n){var i={display:"block"},s=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+Ln]=1,i["border"+a+Ln]=0,i[r.p]=t+"px",I.set(e,i)},Z=[],xo={},fi,xl=function(){return nt()-Rt>34&&(fi||(fi=requestAnimationFrame(hr)))},wn=function(){(!ut||!ut.isPressed||ut.startX>oe.clientWidth)&&(Q.cache++,ut?fi||(fi=requestAnimationFrame(hr)):hr(),Rt||tn("scrollStart"),Rt=nt())},go=function(){Dl=J.innerWidth,Il=J.innerHeight},ni=function(e){Q.cache++,(e===!0||!rt&&!Ol&&!he.fullscreenElement&&!he.webkitFullscreenElement&&(!bo||Dl!==J.innerWidth||Math.abs(J.innerHeight-Il)>J.innerHeight*.25))&&ss.restart(!0)},en={},Ud=[],Gl=function o(){return ze(W,"scrollEnd",o)||$r(!0)},tn=function(e){return en[e]&&en[e].map(function(t){return t()})||Ud},Mt=[],Vl=function(e){for(var t=0;t<Mt.length;t+=5)(!e||Mt[t+4]&&Mt[t+4].query===e)&&(Mt[t].style.cssText=Mt[t+1],Mt[t].getBBox&&Mt[t].setAttribute("transform",Mt[t+2]||""),Mt[t+3].uncache=1)},Yl=function(){return Q.forEach(function(e){return it(e)&&++e.cacheID&&(e.rec=e())})},Oo=function(e,t){var r;for(dt=0;dt<Z.length;dt++)r=Z[dt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));si=!0,t&&Vl(t),t||tn("revert")},Xl=function(e,t){Q.cache++,(t||!ft)&&Q.forEach(function(r){return it(r)&&r.cacheID++&&(r.rec=0)}),At(e)&&(J.history.scrollRestoration=Mo=e)},ft,Zr=0,Tl,Kd=function(){if(Tl!==Zr){var e=Tl=Zr;requestAnimationFrame(function(){return e===Zr&&$r(!0)})}},Ul=function(){oe.appendChild(Tn),Ao=!ut&&Tn.offsetHeight||J.innerHeight,oe.removeChild(Tn)},Sl=function(e){return di(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},$r=function(e,t){if(kt=he.documentElement,oe=he.body,Lo=[J,he,kt,oe],Rt&&!e&&!si){We(W,"scrollEnd",Gl);return}Ul(),ft=W.isRefreshing=!0,si||Yl();var r=tn("refreshInit");Hl&&W.sort(),t||Oo(),Q.forEach(function(n){it(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),Z.slice(0).forEach(function(n){return n.refresh()}),si=!1,Z.forEach(function(n){if(n._subPinOffset&&n.pin){var i=n.vars.horizontal?"offsetWidth":"offsetHeight",s=n.pin[i];n.revert(!0,1),n.adjustPinSpacing(n.pin[i]-s),n.refresh()}}),Eo=1,Sl(!0),Z.forEach(function(n){var i=Jt(n.scroller,n._dir),s=n.vars.end==="max"||n._endClamp&&n.end>i,a=n._startClamp&&n.start>=i;(s||a)&&n.setPositions(a?i-1:n.start,s?Math.max(a?i:n.start+1,i):n.end,!0)}),Sl(!1),Eo=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),Q.forEach(function(n){it(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Xl(Mo,1),ss.pause(),Zr++,ft=2,hr(2),Z.forEach(function(n){return it(n.vars.onRefresh)&&n.vars.onRefresh(n)}),ft=W.isRefreshing=!1,tn("refresh")},To=0,rs=1,ui,hr=function(e){if(e===2||!ft&&!si){W.isUpdating=!0,ui&&ui.update(0);var t=Z.length,r=nt(),n=r-ho>=50,i=t&&Z[0].scroll();if(rs=To>i?-1:1,ft||(To=i),n&&(Rt&&!ls&&r-Rt>200&&(Rt=0,tn("scrollEnd")),Jn=ho,ho=r),rs<0){for(dt=t;dt-- >0;)Z[dt]&&Z[dt].update(0,n);rs=1}else for(dt=0;dt<t;dt++)Z[dt]&&Z[dt].update(0,n);W.isUpdating=!1}fi=0},So=[Bl,zl,Co,ko,It+ci,It+oi,It+li,It+ai,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ns=So.concat([jr,Qr,"boxSizing","max"+Ln,"max"+Po,"position",It,De,De+li,De+oi,De+ci,De+ai]),$d=function(e,t,r){Sn(r);var n=e._gsap;if(n.spacerIsNative)Sn(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},_o=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i=So.length,s=t.style,a=e.style,l;i--;)l=So[i],s[l]=r[l];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),a[Co]=a[ko]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[jr]=os(e,tt)+Ne,s[Qr]=os(e,Ie)+Ne,s[De]=a[It]=a[zl]=a[Bl]="0",Sn(n),a[jr]=a["max"+Ln]=r[jr],a[Qr]=a["max"+Po]=r[Qr],a[De]=r[De],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},jd=/([A-Z])/g,Sn=function(e){if(e){var t=e.t.style,r=e.length,n=0,i,s;for((e.t._gsap||I.core.getCache(e.t)).uncache=1;n<r;n+=2)s=e[n+1],i=e[n],s?t[i]=s:t[i]&&t.removeProperty(i.replace(jd,"-$1").toLowerCase())}},Qi=function(e){for(var t=ns.length,r=e.style,n=[],i=0;i<t;i++)n.push(ns[i],r[ns[i]]);return n.t=e,n},Qd=function(e,t,r){for(var n=[],i=e.length,s=r?8:0,a;s<i;s+=2)a=e[s],n.push(a,a in t?t[a]:e[s+1]);return n.t=e.t,n},is={left:0,top:0},Ll=function(e,t,r,n,i,s,a,l,c,u,f,p,d,m){it(e)&&(e=e(l)),At(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?es("0"+e.substr(3),r):0));var h=d?d.time():0,g,E,v;if(d&&d.seek(0),isNaN(e)||(e=+e),ri(e))d&&(e=I.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,p,e)),a&&ts(a,r,n,!0);else{it(t)&&(t=t(l));var w=(e||"0").split(" "),b,y,S,T;v=ct(t,l)||oe,b=pr(v)||{},(!b||!b.left&&!b.top)&&Dt(v).display==="none"&&(T=v.style.display,v.style.display="block",b=pr(v),T?v.style.display=T:v.style.removeProperty("display")),y=es(w[0],b[n.d]),S=es(w[1]||"0",r),e=b[n.p]-c[n.p]-u+y+i-S,a&&ts(a,S,n,r-S<20||a._isStart&&S>20),r-=r-S}if(m&&(l[m]=e||-.001,e<0&&(e=0)),s){var M=e+r,L=s._isStart;g="scroll"+n.d2,ts(s,M,n,L&&M>20||!L&&(f?Math.max(oe[g],kt[g]):s.parentNode[g])<=M+1),f&&(c=pr(a),f&&(s.style[n.op.p]=c[n.op.p]-n.op.m-s._offset+Ne))}return d&&v&&(g=pr(v),d.seek(p),E=pr(v),d._caScrollDist=g[n.p]-E[n.p],e=e/d._caScrollDist*p),d&&d.seek(h),d?e:Math.round(e)},Zd=/(webkit|moz|length|cssText|inset)/i,Ml=function(e,t,r,n){if(e.parentNode!==t){var i=e.style,s,a;if(t===oe){e._stOrig=i.cssText,a=Dt(e);for(s in a)!+s&&!Zd.test(s)&&a[s]&&typeof i[s]=="string"&&s!=="0"&&(i[s]=a[s]);i.top=r,i.left=n}else i.cssText=e._stOrig;I.core.getCache(e).uncache=1,t.appendChild(e)}},Kl=function(e,t,r){var n=t,i=n;return function(s){var a=Math.round(e());return a!==n&&a!==i&&Math.abs(a-n)>3&&Math.abs(a-i)>3&&(s=a,r&&r()),i=n,n=Math.round(s),n}},Zi=function(e,t,r){var n={};n[t.p]="+="+r,I.set(e,n)},Al=function(e,t){var r=dr(e,t),n="_scroll"+t.p2,i=function s(a,l,c,u,f){var p=s.tween,d=l.onComplete,m={};c=c||r();var h=Kl(r,c,function(){p.kill(),s.tween=0});return f=u&&f||0,u=u||a-c,p&&p.kill(),l[n]=a,l.inherit=!1,l.modifiers=m,m[n]=function(){return h(c+u*p.ratio+f*p.ratio*p.ratio)},l.onUpdate=function(){Q.cache++,s.tween&&hr()},l.onComplete=function(){s.tween=0,d&&d.call(p)},p=s.tween=I.to(e,l),p};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},We(e,"wheel",r.wheelHandler),W.isTouch&&We(e,"touchmove",r.wheelHandler),i},W=function(){function o(t,r){En||o.register(I)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),wo(this),this.init(t,r)}var e=o.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!ei){this.update=this.refresh=this.kill=Zt;return}r=wl(At(r)||ri(r)||r.nodeType?{trigger:r}:r,$i);var i=r,s=i.onUpdate,a=i.toggleClass,l=i.id,c=i.onToggle,u=i.onRefresh,f=i.scrub,p=i.trigger,d=i.pin,m=i.pinSpacing,h=i.invalidateOnRefresh,g=i.anticipatePin,E=i.onScrubComplete,v=i.onSnapComplete,w=i.once,b=i.snap,y=i.pinReparent,S=i.pinSpacer,T=i.containerAnimation,M=i.fastScrollEnd,L=i.preventOverlaps,x=r.horizontal||r.containerAnimation&&r.horizontal!==!1?tt:Ie,P=!f&&f!==0,k=ct(r.scroller||J),H=I.core.getCache(k),q=Jr(k),N=("pinType"in r?r.pinType:fr(k,"pinType")||q&&"fixed")==="fixed",D=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],C=P&&r.toggleActions.split(" "),R="markers"in r?r.markers:$i.markers,F=q?0:parseFloat(Dt(k)["border"+x.p2+Ln])||0,_=this,B=r.onRefreshInit&&function(){return r.onRefreshInit(_)},K=Wd(k,q,x),te=Gd(k,q),V=0,se=0,me=0,ae=dr(k,x),Ee,Pe,qt,Ge,Me,j,fe,pt,vt,A,bt,er,pe,le,tr,mr,Hr,Fe,gr,Ae,Nt,Ct,rr,Pn,He,vi,nr,nn,sn,_r,Or,ee,Ir,Ft,Bt,zt,Dr,on,ir;if(_._startClamp=_._endClamp=!1,_._dir=x,g*=45,_.scroller=k,_.scroll=T?T.time.bind(T):ae,Ge=ae(),_.vars=r,n=n||r.animation,"refreshPriority"in r&&(Hl=1,r.refreshPriority===-9999&&(ui=_)),H.tweenScroll=H.tweenScroll||{top:Al(k,Ie),left:Al(k,tt)},_.tweenTo=Ee=H.tweenScroll[x.p],_.scrubDuration=function(O){Ir=ri(O)&&O,Ir?ee?ee.duration(O):ee=I.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ir,paused:!0,onComplete:function(){return E&&E(_)}}):(ee&&ee.progress(1).kill(),ee=0)},n&&(n.vars.lazy=!1,n._initted&&!_.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),_.animation=n.pause(),n.scrollTrigger=_,_.scrubDuration(f),_r=0,l||(l=n.vars.id)),b&&((!Kr(b)||b.push)&&(b={snapTo:b}),"scrollBehavior"in oe.style&&I.set(q?[oe,kt]:k,{scrollBehavior:"auto"}),Q.forEach(function(O){return it(O)&&O.target===(q?he.scrollingElement||kt:k)&&(O.smooth=!1)}),qt=it(b.snapTo)?b.snapTo:b.snapTo==="labels"?Yd(n):b.snapTo==="labelsDirectional"?Xd(n):b.directional!==!1?function(O,Y){return Ho(b.snapTo)(O,nt()-se<500?0:Y.direction)}:I.utils.snap(b.snapTo),Ft=b.duration||{min:.1,max:2},Ft=Kr(Ft)?ii(Ft.min,Ft.max):ii(Ft,Ft),Bt=I.delayedCall(b.delay||Ir/2||.1,function(){var O=ae(),Y=nt()-se<500,z=Ee.tween;if((Y||Math.abs(_.getVelocity())<10)&&!z&&!ls&&V!==O){var X=(O-j)/le,Be=n&&!P?n.totalProgress():X,re=Y?0:(Be-Or)/(nt()-Jn)*1e3||0,ke=I.utils.clamp(-X,1-X,bn(re/2)*re/.185),je=X+(b.inertia===!1?0:ke),xe,ge,ce=b,Wt=ce.onStart,ye=ce.onInterrupt,wt=ce.onComplete;if(xe=qt(je,_),ri(xe)||(xe=je),ge=Math.max(0,Math.round(j+xe*le)),O<=fe&&O>=j&&ge!==O){if(z&&!z._initted&&z.data<=bn(ge-O))return;b.inertia===!1&&(ke=xe-X),Ee(ge,{duration:Ft(bn(Math.max(bn(je-Be),bn(xe-Be))*.185/re/.05||0)),ease:b.ease||"power3",data:bn(ge-O),onInterrupt:function(){return Bt.restart(!0)&&ye&&ye(_)},onComplete:function(){_.update(),V=ae(),n&&!P&&(ee?ee.resetTo("totalProgress",xe,n._tTime/n._tDur):n.progress(xe)),_r=Or=n&&!P?n.totalProgress():_.progress,v&&v(_),wt&&wt(_)}},O,ke*le,ge-O-ke*le),Wt&&Wt(_,Ee.tween)}}else _.isActive&&V!==O&&Bt.restart(!0)}).pause()),l&&(xo[l]=_),p=_.trigger=ct(p||d!==!0&&d),ir=p&&p._gsap&&p._gsap.stRevert,ir&&(ir=ir(_)),d=d===!0?p:ct(d),At(a)&&(a={targets:p,className:a}),d&&(m===!1||m===It||(m=!m&&d.parentNode&&d.parentNode.style&&Dt(d.parentNode).display==="flex"?!1:De),_.pin=d,Pe=I.core.getCache(d),Pe.spacer?tr=Pe.pinState:(S&&(S=ct(S),S&&!S.nodeType&&(S=S.current||S.nativeElement),Pe.spacerIsNative=!!S,S&&(Pe.spacerState=Qi(S))),Pe.spacer=Fe=S||he.createElement("div"),Fe.classList.add("pin-spacer"),l&&Fe.classList.add("pin-spacer-"+l),Pe.pinState=tr=Qi(d)),r.force3D!==!1&&I.set(d,{force3D:!0}),_.spacer=Fe=Pe.spacer,sn=Dt(d),Pn=sn[m+x.os2],Ae=I.getProperty(d),Nt=I.quickSetter(d,x.a,Ne),_o(d,Fe,sn),Hr=Qi(d)),R){er=Kr(R)?wl(R,El):El,A=ji("scroller-start",l,k,x,er,0),bt=ji("scroller-end",l,k,x,er,0,A),gr=A["offset"+x.op.d2];var Hn=ct(fr(k,"content")||k);pt=this.markerStart=ji("start",l,Hn,x,er,gr,0,T),vt=this.markerEnd=ji("end",l,Hn,x,er,gr,0,T),T&&(on=I.quickSetter([pt,vt],x.a,Ne)),!N&&!(Vt.length&&fr(k,"fixedMarkers")===!0)&&(Vd(q?oe:k),I.set([A,bt],{force3D:!0}),vi=I.quickSetter(A,x.a,Ne),nn=I.quickSetter(bt,x.a,Ne))}if(T){var U=T.vars.onUpdate,G=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){_.update(0,0,1),U&&U.apply(T,G||[])})}if(_.previous=function(){return Z[Z.indexOf(_)-1]},_.next=function(){return Z[Z.indexOf(_)+1]},_.revert=function(O,Y){if(!Y)return _.kill(!0);var z=O!==!1||!_.enabled,X=rt;z!==_.isReverted&&(z&&(zt=Math.max(ae(),_.scroll.rec||0),me=_.progress,Dr=n&&n.progress()),pt&&[pt,vt,A,bt].forEach(function(Be){return Be.style.display=z?"none":"block"}),z&&(rt=_,_.update(z)),d&&(!y||!_.isActive)&&(z?$d(d,Fe,tr):_o(d,Fe,Dt(d),He)),z||_.update(z),rt=X,_.isReverted=z)},_.refresh=function(O,Y,z,X){if(!((rt||!_.enabled)&&!Y)){if(d&&O&&Rt){We(o,"scrollEnd",Gl);return}!ft&&B&&B(_),rt=_,Ee.tween&&!z&&(Ee.tween.kill(),Ee.tween=0),ee&&ee.pause(),h&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(yr){return yr.vars.immediateRender&&yr.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),_.isReverted||_.revert(!0,!0),_._subPinOffset=!1;var Be=K(),re=te(),ke=T?T.duration():Jt(k,x),je=le<=.01||!le,xe=0,ge=X||0,ce=Kr(z)?z.end:r.end,Wt=r.endTrigger||p,ye=Kr(z)?z.start:r.start||(r.start===0||!p?0:d?"0 0":"0 100%"),wt=_.pinnedContainer=r.pinnedContainer&&ct(r.pinnedContainer,_),Yt=p&&Math.max(0,Z.indexOf(_))||0,Ve=Yt,Ye,Qe,Rr,bi,Ze,Re,Xt,ms,Uo,On,Ut,In,wi;for(R&&Kr(z)&&(In=I.getProperty(A,x.p),wi=I.getProperty(bt,x.p));Ve-- >0;)Re=Z[Ve],Re.end||Re.refresh(0,1)||(rt=_),Xt=Re.pin,Xt&&(Xt===p||Xt===d||Xt===wt)&&!Re.isReverted&&(On||(On=[]),On.unshift(Re),Re.revert(!0,!0)),Re!==Z[Ve]&&(Yt--,Ve--);for(it(ye)&&(ye=ye(_)),ye=_l(ye,"start",_),j=Ll(ye,p,Be,x,ae(),pt,A,_,re,F,N,ke,T,_._startClamp&&"_startClamp")||(d?-.001:0),it(ce)&&(ce=ce(_)),At(ce)&&!ce.indexOf("+=")&&(~ce.indexOf(" ")?ce=(At(ye)?ye.split(" ")[0]:"")+ce:(xe=es(ce.substr(2),Be),ce=At(ye)?ye:(T?I.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,j):j)+xe,Wt=p)),ce=_l(ce,"end",_),fe=Math.max(j,Ll(ce||(Wt?"100% 0":ke),Wt,Be,x,ae()+xe,vt,bt,_,re,F,N,ke,T,_._endClamp&&"_endClamp"))||-.001,xe=0,Ve=Yt;Ve--;)Re=Z[Ve]||{},Xt=Re.pin,Xt&&Re.start-Re._pinPush<=j&&!T&&Re.end>0&&(Ye=Re.end-(_._startClamp?Math.max(0,Re.start):Re.start),(Xt===p&&Re.start-Re._pinPush<j||Xt===wt)&&isNaN(ye)&&(xe+=Ye*(1-Re.progress)),Xt===d&&(ge+=Ye));if(j+=xe,fe+=xe,_._startClamp&&(_._startClamp+=xe),_._endClamp&&!ft&&(_._endClamp=fe||-.001,fe=Math.min(fe,Jt(k,x))),le=fe-j||(j-=.01)&&.001,je&&(me=I.utils.clamp(0,1,I.utils.normalize(j,fe,zt))),_._pinPush=ge,pt&&xe&&(Ye={},Ye[x.a]="+="+xe,wt&&(Ye[x.p]="-="+ae()),I.set([pt,vt],Ye)),d&&!(Eo&&_.end>=Jt(k,x)))Ye=Dt(d),bi=x===Ie,Rr=ae(),Ct=parseFloat(Ae(x.a))+ge,!ke&&fe>1&&(Ut=(q?he.scrollingElement||kt:k).style,Ut={style:Ut,value:Ut["overflow"+x.a.toUpperCase()]},q&&Dt(oe)["overflow"+x.a.toUpperCase()]!=="scroll"&&(Ut.style["overflow"+x.a.toUpperCase()]="scroll")),_o(d,Fe,Ye),Hr=Qi(d),Qe=pr(d,!0),ms=N&&dr(k,bi?tt:Ie)(),m?(He=[m+x.os2,le+ge+Ne],He.t=Fe,Ve=m===De?os(d,x)+le+ge:0,Ve&&(He.push(x.d,Ve+Ne),Fe.style.flexBasis!=="auto"&&(Fe.style.flexBasis=Ve+Ne)),Sn(He),wt&&Z.forEach(function(yr){yr.pin===wt&&yr.vars.pinSpacing!==!1&&(yr._subPinOffset=!0)}),N&&ae(zt)):(Ve=os(d,x),Ve&&Fe.style.flexBasis!=="auto"&&(Fe.style.flexBasis=Ve+Ne)),N&&(Ze={top:Qe.top+(bi?Rr-j:ms)+Ne,left:Qe.left+(bi?ms:Rr-j)+Ne,boxSizing:"border-box",position:"fixed"},Ze[jr]=Ze["max"+Ln]=Math.ceil(Qe.width)+Ne,Ze[Qr]=Ze["max"+Po]=Math.ceil(Qe.height)+Ne,Ze[It]=Ze[It+li]=Ze[It+oi]=Ze[It+ci]=Ze[It+ai]="0",Ze[De]=Ye[De],Ze[De+li]=Ye[De+li],Ze[De+oi]=Ye[De+oi],Ze[De+ci]=Ye[De+ci],Ze[De+ai]=Ye[De+ai],mr=Qd(tr,Ze,y),ft&&ae(0)),n?(Uo=n._initted,fo(1),n.render(n.duration(),!0,!0),rr=Ae(x.a)-Ct+le+ge,nr=Math.abs(le-rr)>1,N&&nr&&mr.splice(mr.length-2,2),n.render(0,!0,!0),Uo||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),fo(0)):rr=le,Ut&&(Ut.value?Ut.style["overflow"+x.a.toUpperCase()]=Ut.value:Ut.style.removeProperty("overflow-"+x.a));else if(p&&ae()&&!T)for(Qe=p.parentNode;Qe&&Qe!==oe;)Qe._pinOffset&&(j-=Qe._pinOffset,fe-=Qe._pinOffset),Qe=Qe.parentNode;On&&On.forEach(function(yr){return yr.revert(!1,!0)}),_.start=j,_.end=fe,Ge=Me=ft?zt:ae(),!T&&!ft&&(Ge<zt&&ae(zt),_.scroll.rec=0),_.revert(!1,!0),se=nt(),Bt&&(V=-1,Bt.restart(!0)),rt=0,n&&P&&(n._initted||Dr)&&n.progress()!==Dr&&n.progress(Dr||0,!0).render(n.time(),!0,!0),(je||me!==_.progress||T||h||n&&!n._initted)&&(n&&!P&&(n._initted||me||n.vars.immediateRender!==!1)&&n.totalProgress(T&&j<-.001&&!me?I.utils.normalize(j,fe,0):me,!0),_.progress=je||(Ge-j)/le===me?0:me),d&&m&&(Fe._pinOffset=Math.round(_.progress*rr)),ee&&ee.invalidate(),isNaN(In)||(In-=I.getProperty(A,x.p),wi-=I.getProperty(bt,x.p),Zi(A,x,In),Zi(pt,x,In-(X||0)),Zi(bt,x,wi),Zi(vt,x,wi-(X||0))),je&&!ft&&_.update(),u&&!ft&&!pe&&(pe=!0,u(_),pe=!1)}},_.getVelocity=function(){return(ae()-Me)/(nt()-Jn)*1e3||0},_.endAnimation=function(){Zn(_.callbackAnimation),n&&(ee?ee.progress(1):n.paused()?P||Zn(n,_.direction<0,1):Zn(n,n.reversed()))},_.labelToScroll=function(O){return n&&n.labels&&(j||_.refresh()||j)+n.labels[O]/n.duration()*le||0},_.getTrailing=function(O){var Y=Z.indexOf(_),z=_.direction>0?Z.slice(0,Y).reverse():Z.slice(Y+1);return(At(O)?z.filter(function(X){return X.vars.preventOverlaps===O}):z).filter(function(X){return _.direction>0?X.end<=j:X.start>=fe})},_.update=function(O,Y,z){if(!(T&&!z&&!O)){var X=ft===!0?zt:_.scroll(),Be=O?0:(X-j)/le,re=Be<0?0:Be>1?1:Be||0,ke=_.progress,je,xe,ge,ce,Wt,ye,wt,Yt;if(Y&&(Me=Ge,Ge=T?ae():X,b&&(Or=_r,_r=n&&!P?n.totalProgress():re)),g&&d&&!rt&&!Yi&&Rt&&(!re&&j<X+(X-Me)/(nt()-Jn)*g?re=1e-4:re===1&&fe>X+(X-Me)/(nt()-Jn)*g&&(re=.9999)),re!==ke&&_.enabled){if(je=_.isActive=!!re&&re<1,xe=!!ke&&ke<1,ye=je!==xe,Wt=ye||!!re!=!!ke,_.direction=re>ke?1:-1,_.progress=re,Wt&&!rt&&(ge=re&&!ke?0:re===1?1:ke===1?2:3,P&&(ce=!ye&&C[ge+1]!=="none"&&C[ge+1]||C[ge],Yt=n&&(ce==="complete"||ce==="reset"||ce in n))),L&&(ye||Yt)&&(Yt||f||!n)&&(it(L)?L(_):_.getTrailing(L).forEach(function(Rr){return Rr.endAnimation()})),P||(ee&&!rt&&!Yi?(ee._dp._time-ee._start!==ee._time&&ee.render(ee._dp._time-ee._start),ee.resetTo?ee.resetTo("totalProgress",re,n._tTime/n._tDur):(ee.vars.totalProgress=re,ee.invalidate().restart())):n&&n.totalProgress(re,!!(rt&&(se||O)))),d){if(O&&m&&(Fe.style[m+x.os2]=Pn),!N)Nt(ti(Ct+rr*re));else if(Wt){if(wt=!O&&re>ke&&fe+1>X&&X+1>=Jt(k,x),y)if(!O&&(je||wt)){var Ve=pr(d,!0),Ye=X-j;Ml(d,oe,Ve.top+(x===Ie?Ye:0)+Ne,Ve.left+(x===Ie?0:Ye)+Ne)}else Ml(d,Fe);Sn(je||wt?mr:Hr),nr&&re<1&&je||Nt(Ct+(re===1&&!wt?rr:0))}}b&&!Ee.tween&&!rt&&!Yi&&Bt.restart(!0),a&&(ye||w&&re&&(re<1||!po))&&di(a.targets).forEach(function(Rr){return Rr.classList[je||w?"add":"remove"](a.className)}),s&&!P&&!O&&s(_),Wt&&!rt?(P&&(Yt&&(ce==="complete"?n.pause().totalProgress(1):ce==="reset"?n.restart(!0).pause():ce==="restart"?n.restart(!0):n[ce]()),s&&s(_)),(ye||!po)&&(c&&ye&&mo(_,c),D[ge]&&mo(_,D[ge]),w&&(re===1?_.kill(!1,1):D[ge]=0),ye||(ge=re===1?1:3,D[ge]&&mo(_,D[ge]))),M&&!je&&Math.abs(_.getVelocity())>(ri(M)?M:2500)&&(Zn(_.callbackAnimation),ee?ee.progress(1):Zn(n,ce==="reverse"?1:!re,1))):P&&s&&!rt&&s(_)}if(nn){var Qe=T?X/T.duration()*(T._caScrollDist||0):X;vi(Qe+(A._isFlipped?1:0)),nn(Qe)}on&&on(-X/T.duration()*(T._caScrollDist||0))}},_.enable=function(O,Y){_.enabled||(_.enabled=!0,We(k,"resize",ni),q||We(k,"scroll",wn),B&&We(o,"refreshInit",B),O!==!1&&(_.progress=me=0,Ge=Me=V=ae()),Y!==!1&&_.refresh())},_.getTween=function(O){return O&&Ee?Ee.tween:ee},_.setPositions=function(O,Y,z,X){if(T){var Be=T.scrollTrigger,re=T.duration(),ke=Be.end-Be.start;O=Be.start+ke*O/re,Y=Be.start+ke*Y/re}_.refresh(!1,!1,{start:yl(O,z&&!!_._startClamp),end:yl(Y,z&&!!_._endClamp)},X),_.update()},_.adjustPinSpacing=function(O){if(He&&O){var Y=He.indexOf(x.d)+1;He[Y]=parseFloat(He[Y])+O+Ne,He[1]=parseFloat(He[1])+O+Ne,Sn(He)}},_.disable=function(O,Y){if(O!==!1&&_.revert(!0,!0),_.enabled&&(_.enabled=_.isActive=!1,Y||ee&&ee.pause(),zt=0,Pe&&(Pe.uncache=1),B&&ze(o,"refreshInit",B),Bt&&(Bt.pause(),Ee.tween&&Ee.tween.kill()&&(Ee.tween=0)),!q)){for(var z=Z.length;z--;)if(Z[z].scroller===k&&Z[z]!==_)return;ze(k,"resize",ni),q||ze(k,"scroll",wn)}},_.kill=function(O,Y){_.disable(O,Y),ee&&!Y&&ee.kill(),l&&delete xo[l];var z=Z.indexOf(_);z>=0&&Z.splice(z,1),z===dt&&rs>0&&dt--,z=0,Z.forEach(function(X){return X.scroller===_.scroller&&(z=1)}),z||ft||(_.scroll.rec=0),n&&(n.scrollTrigger=null,O&&n.revert({kill:!1}),Y||n.kill()),pt&&[pt,vt,A,bt].forEach(function(X){return X.parentNode&&X.parentNode.removeChild(X)}),ui===_&&(ui=0),d&&(Pe&&(Pe.uncache=1),z=0,Z.forEach(function(X){return X.pin===d&&z++}),z||(Pe.spacer=0)),r.onKill&&r.onKill(_)},Z.push(_),_.enable(!1,!1),ir&&ir(_),n&&n.add&&!le){var ie=_.update;_.update=function(){_.update=ie,Q.cache++,j||fe||_.refresh()},I.delayedCall(.01,_.update),le=.01,j=fe=0}else _.refresh();d&&Kd()},o.register=function(r){return En||(I=r||ql(),Rl()&&window.document&&o.enable(),En=ei),En},o.defaults=function(r){if(r)for(var n in r)$i[n]=r[n];return $i},o.disable=function(r,n){ei=0,Z.forEach(function(s){return s[n?"kill":"disable"](r)}),ze(J,"wheel",wn),ze(he,"scroll",wn),clearInterval(Vi),ze(he,"touchcancel",Zt),ze(oe,"touchstart",Zt),Ui(ze,he,"pointerdown,touchstart,mousedown",vl),Ui(ze,he,"pointerup,touchend,mouseup",bl),ss.kill(),Xi(ze);for(var i=0;i<Q.length;i+=3)Ki(ze,Q[i],Q[i+1]),Ki(ze,Q[i],Q[i+2])},o.enable=function(){if(J=window,he=document,kt=he.documentElement,oe=he.body,I&&(di=I.utils.toArray,ii=I.utils.clamp,wo=I.core.context||Zt,fo=I.core.suppressOverwrites||Zt,Mo=J.history.scrollRestoration||"auto",To=J.pageYOffset||0,I.core.globals("ScrollTrigger",o),oe)){ei=1,Tn=document.createElement("div"),Tn.style.height="100vh",Tn.style.position="absolute",Ul(),zd(),Le.register(I),o.isTouch=Le.isTouch,Cr=Le.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),bo=Le.isTouch===1,We(J,"wheel",wn),Lo=[J,he,kt,oe],I.matchMedia?(o.matchMedia=function(c){var u=I.matchMedia(),f;for(f in c)u.add(f,c[f]);return u},I.addEventListener("matchMediaInit",function(){Yl(),Oo()}),I.addEventListener("matchMediaRevert",function(){return Vl()}),I.addEventListener("matchMedia",function(){$r(0,1),tn("matchMedia")}),I.matchMedia().add("(orientation: portrait)",function(){return go(),go})):console.warn("Requires GSAP 3.11.0 or later"),go(),We(he,"scroll",wn);var r=oe.hasAttribute("style"),n=oe.style,i=n.borderTopStyle,s=I.core.Animation.prototype,a,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",a=pr(oe),Ie.m=Math.round(a.top+Ie.sc())||0,tt.m=Math.round(a.left+tt.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),r||(oe.setAttribute("style",""),oe.removeAttribute("style")),Vi=setInterval(xl,250),I.delayedCall(.5,function(){return Yi=0}),We(he,"touchcancel",Zt),We(oe,"touchstart",Zt),Ui(We,he,"pointerdown,touchstart,mousedown",vl),Ui(We,he,"pointerup,touchend,mouseup",bl),vo=I.utils.checkPrefix("transform"),ns.push(vo),En=nt(),ss=I.delayedCall(.2,$r).pause(),xn=[he,"visibilitychange",function(){var c=J.innerWidth,u=J.innerHeight;he.hidden?(ml=c,gl=u):(ml!==c||gl!==u)&&ni()},he,"DOMContentLoaded",$r,J,"load",$r,J,"resize",ni],Xi(We),Z.forEach(function(c){return c.enable(0,1)}),l=0;l<Q.length;l+=3)Ki(ze,Q[l],Q[l+1]),Ki(ze,Q[l],Q[l+2])}},o.config=function(r){"limitCallbacks"in r&&(po=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(Vi)||(Vi=n)&&setInterval(xl,n),"ignoreMobileResize"in r&&(bo=o.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Xi(ze)||Xi(We,r.autoRefreshEvents||"none"),Ol=(r.autoRefreshEvents+"").indexOf("resize")===-1)},o.scrollerProxy=function(r,n){var i=ct(r),s=Q.indexOf(i),a=Jr(i);~s&&Q.splice(s,a?6:2),n&&(a?Vt.unshift(J,n,oe,n,kt,n):Vt.unshift(i,n))},o.clearMatchMedia=function(r){Z.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},o.isInViewport=function(r,n,i){var s=(At(r)?ct(r):r).getBoundingClientRect(),a=s[i?jr:Qr]*n||0;return i?s.right-a>0&&s.left+a<J.innerWidth:s.bottom-a>0&&s.top+a<J.innerHeight},o.positionInViewport=function(r,n,i){At(r)&&(r=ct(r));var s=r.getBoundingClientRect(),a=s[i?jr:Qr],l=n==null?a/2:n in as?as[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return i?(s.left+l)/J.innerWidth:(s.top+l)/J.innerHeight},o.killAll=function(r){if(Z.slice(0).forEach(function(i){return i.vars.id!=="ScrollSmoother"&&i.kill()}),r!==!0){var n=en.killAll||[];en={},n.forEach(function(i){return i()})}},o}();W.version="3.14.2";W.saveStyles=function(o){return o?di(o).forEach(function(e){if(e&&e.style){var t=Mt.indexOf(e);t>=0&&Mt.splice(t,5),Mt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),I.core.getCache(e),wo())}}):Mt};W.revert=function(o,e){return Oo(!o,e)};W.create=function(o,e){return new W(o,e)};W.refresh=function(o){return o?ni(!0):(En||W.register())&&$r(!0)};W.update=function(o){return++Q.cache&&hr(o===!0?2:0)};W.clearScrollMemory=Xl;W.maxScroll=function(o,e){return Jt(o,e?tt:Ie)};W.getScrollFunc=function(o,e){return dr(ct(o),e?tt:Ie)};W.getById=function(o){return xo[o]};W.getAll=function(){return Z.filter(function(o){return o.vars.id!=="ScrollSmoother"})};W.isScrolling=function(){return!!Rt};W.snapDirectional=Ho;W.addEventListener=function(o,e){var t=en[o]||(en[o]=[]);~t.indexOf(e)||t.push(e)};W.removeEventListener=function(o,e){var t=en[o],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};W.batch=function(o,e){var t=[],r={},n=e.interval||.016,i=e.batchMax||1e9,s=function(c,u){var f=[],p=[],d=I.delayedCall(n,function(){u(f,p),f=[],p=[]}).pause();return function(m){f.length||d.restart(!0),f.push(m.trigger),p.push(m),i<=f.length&&d.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&it(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return it(i)&&(i=i(),We(W,"refresh",function(){return i=e.batchMax()})),di(o).forEach(function(l){var c={};for(a in r)c[a]=r[a];c.trigger=l,t.push(W.create(c))}),t};var kl=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},yo=function o(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Le.isTouch?" pinch-zoom":""):"none",e===kt&&o(oe,t)},Ji={auto:1,scroll:1},Jd=function(e){var t=e.event,r=e.target,n=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,s=i._gsap||I.core.getCache(i),a=nt(),l;if(!s._isScrollT||a-s._isScrollT>2e3){for(;i&&i!==oe&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(Ji[(l=Dt(i)).overflowY]||Ji[l.overflowX]));)i=i.parentNode;s._isScroll=i&&i!==r&&!Jr(i)&&(Ji[(l=Dt(i)).overflowY]||Ji[l.overflowX]),s._isScrollT=a}(s._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},$l=function(e,t,r,n){return Le.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Jd,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&We(he,Le.eventTypes[0],Pl,!1,!0)},onDisable:function(){return ze(he,Le.eventTypes[0],Pl,!0)}})},ef=/(input|label|select|textarea)/i,Cl,Pl=function(e){var t=ef.test(e.target.tagName);(t||Cl)&&(e._gsapAllow=!0,Cl=t)},tf=function(e){Kr(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,r=t.normalizeScrollX,n=t.momentum,i=t.allowNestedScroll,s=t.onRelease,a,l,c=ct(e.target)||kt,u=I.core.globals().ScrollSmoother,f=u&&u.get(),p=Cr&&(e.content&&ct(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),d=dr(c,Ie),m=dr(c,tt),h=1,g=(Le.isTouch&&J.visualViewport?J.visualViewport.scale*J.visualViewport.width:J.outerWidth)/J.innerWidth,E=0,v=it(n)?function(){return n(a)}:function(){return n||2.8},w,b,y=$l(c,e.type,!0,i),S=function(){return b=!1},T=Zt,M=Zt,L=function(){l=Jt(c,Ie),M=ii(Cr?1:0,l),r&&(T=ii(0,Jt(c,tt))),w=Zr},x=function(){p._gsap.y=ti(parseFloat(p._gsap.y)+d.offset)+"px",p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(p._gsap.y)+", 0, 1)",d.offset=d.cacheID=0},P=function(){if(b){requestAnimationFrame(S);var R=ti(a.deltaY/2),F=M(d.v-R);if(p&&F!==d.v+d.offset){d.offset=F-d.v;var _=ti((parseFloat(p&&p._gsap.y)||0)-d.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+_+", 0, 1)",p._gsap.y=_+"px",d.cacheID=Q.cache,hr()}return!0}d.offset&&x(),b=!0},k,H,q,N,D=function(){L(),k.isActive()&&k.vars.scrollY>l&&(d()>l?k.progress(1)&&d(l):k.resetTo("scrollY",l))};return p&&I.set(p,{y:"+=0"}),e.ignoreCheck=function(C){return Cr&&C.type==="touchmove"&&P(C)||h>1.05&&C.type!=="touchstart"||a.isGesturing||C.touches&&C.touches.length>1},e.onPress=function(){b=!1;var C=h;h=ti((J.visualViewport&&J.visualViewport.scale||1)/g),k.pause(),C!==h&&yo(c,h>1.01?!0:r?!1:"x"),H=m(),q=d(),L(),w=Zr},e.onRelease=e.onGestureStart=function(C,R){if(d.offset&&x(),!R)N.restart(!0);else{Q.cache++;var F=v(),_,B;r&&(_=m(),B=_+F*.05*-C.velocityX/.227,F*=kl(m,_,B,Jt(c,tt)),k.vars.scrollX=T(B)),_=d(),B=_+F*.05*-C.velocityY/.227,F*=kl(d,_,B,Jt(c,Ie)),k.vars.scrollY=M(B),k.invalidate().duration(F).play(.01),(Cr&&k.vars.scrollY>=l||_>=l-1)&&I.to({},{onUpdate:D,duration:F})}s&&s(C)},e.onWheel=function(){k._ts&&k.pause(),nt()-E>1e3&&(w=0,E=nt())},e.onChange=function(C,R,F,_,B){if(Zr!==w&&L(),R&&r&&m(T(_[2]===R?H+(C.startX-C.x):m()+R-_[1])),F){d.offset&&x();var K=B[2]===F,te=K?q+C.startY-C.y:d()+F-B[1],V=M(te);K&&te!==V&&(q+=V-te),d(V)}(F||R)&&hr()},e.onEnable=function(){yo(c,r?!1:"x"),W.addEventListener("refresh",D),We(J,"resize",D),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=m.smooth=!1),y.enable()},e.onDisable=function(){yo(c,!0),ze(J,"resize",D),W.removeEventListener("refresh",D),y.kill()},e.lockAxis=e.lockAxis!==!1,a=new Le(e),a.iOS=Cr,Cr&&!d()&&d(1),Cr&&I.ticker.add(Zt),N=a._dc,k=I.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Kl(d,d(),function(){return k.pause()})},onUpdate:hr,onComplete:N.vars.onComplete}),a};W.sort=function(o){if(it(o))return Z.sort(o);var e=J.pageYOffset||0;return W.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+J.innerHeight}),Z.sort(o||function(t,r){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};W.observe=function(o){return new Le(o)};W.normalizeScroll=function(o){if(typeof o>"u")return ut;if(o===!0&&ut)return ut.enable();if(o===!1){ut&&ut.kill(),ut=o;return}var e=o instanceof Le?o:tf(o);return ut&&ut.target===e.target&&ut.kill(),Jr(e.target)&&(ut=e),e};W.core={_getVelocityProp:Gi,_inputObserver:$l,_scrollers:Q,_proxies:Vt,bridge:{ss:function(){Rt||tn("scrollStart"),Rt=nt()},ref:function(){return rt}}};ql()&&I.registerPlugin(W);var jl=()=>{Oe.registerPlugin(W),document.querySelectorAll(".circle-arrow_wrapper").forEach(e=>{let t=e.querySelector("svg");if(!t)return;let r=t.querySelector("path:last-of-type"),n=e.classList.contains("is-footer"),i=n?12:-12,s=n?{x:-20,y:-3}:{x:18,y:-8};function a(){Oe.fromTo(t,{y:10,rotation:i,transformOrigin:"50% 50%"},{y:-15,rotation:0,duration:1.4,ease:"power2.out",delay:.2}),r&&Oe.fromTo(r,{x:0,y:0},{...s,duration:1.6,ease:"power2.out",delay:.2})}if(n){let l=e.closest(".footer_main-decor");W.create({trigger:e,start:"top 85%",once:!0,onEnter:()=>{l&&(l.style.opacity="1"),a()}})}else{let l=e.closest(".header_main-decor");l&&(l.style.opacity="1"),a()}}),window.addEventListener("load",()=>{setTimeout(()=>W.refresh(),200)})};var Ql=()=>{Oe.registerPlugin(W),document.querySelectorAll(".decor_arrow-wrapper").forEach(e=>{let t=e.querySelector(".decor-middle"),r=e.querySelector(".decor-top"),n=e,i=Oe.timeline({paused:!0});if(i.to(n,{opacity:1,duration:.6,ease:"power2.out"}).add("rideAlong","-=0.3"),t&&i.fromTo(t,{y:0,xPercent:-50},{y:-15,xPercent:-50,duration:1,ease:"power2.out"},"rideAlong"),r){let s=n.classList.contains("is-inside");i.fromTo(r,{y:0,xPercent:-50},{y:s?-40:-60,xPercent:-50,duration:1.2,ease:"power2.out"},"rideAlong")}W.create({trigger:n,start:"top 85%",once:!0,onEnter:()=>{Oe.set(n,{opacity:0}),i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{W.refresh()},200)})};var Zl=(o={pauseOnHover:!1})=>{let e=document.querySelector(".banner_component"),t=document.querySelector(".banner_inner-wrapper"),r=document.querySelector(".banner_marquee");if(!e||!t||!r)return;t.querySelectorAll(".banner_marquee.is-clone").forEach(f=>f.remove());let i=r.offsetWidth,s=48,a="perfect-marquee-styles";if(!document.getElementById(a)){let f=document.createElement("style");f.id=a;let p=o.pauseOnHover?`
104
104
  .banner_component:hover .banner_marquee {
105
105
  animation-play-state: paused !important;
106
106
  }
@@ -128,9 +128,9 @@
128
128
  }
129
129
  }
130
130
  ${p}
131
- `,document.head.appendChild(f)}let l=window.innerWidth,c=i+s,u=Math.max(3,Math.ceil(l*2/c));for(let f=0;f<u;f++){let p=r.cloneNode(!0);p.setAttribute("aria-hidden","true"),p.classList.add("is-clone"),t.appendChild(p)}if(typeof gsap<"u"){let f=t.querySelectorAll(".banner_marquee");f.forEach(p=>{let d=p;d.style.animation="none"}),requestAnimationFrame(()=>{let p=i+s,d=gsap.to(f,{x:-p,duration:30,ease:"none",repeat:-1});o.pauseOnHover&&e&&(e.addEventListener("mouseenter",()=>d.pause()),e.addEventListener("mouseleave",()=>d.resume()))})}},Jl=()=>{let o=document.querySelector(".marquee");if(!o)return;let e=o.querySelector(".marquee-wrapper");if(!e)return;let t=e.parentElement;Object.assign(e.style,{display:"flex",flexWrap:"nowrap",willChange:"transform"});let r=Array.from(e.querySelectorAll(".marquee-item"));if(r.length===0)return;let n=t.offsetWidth*2,i=0,s=r.reduce((f,p)=>{let d=window.getComputedStyle(p),m=parseFloat(d.marginLeft)||0,h=parseFloat(d.marginRight)||0;return f+p.offsetWidth+m+h},0);for(;i<n+s;)r.forEach(f=>{let p=f.cloneNode(!0);p.setAttribute("aria-hidden","true"),e.appendChild(p),i+=f.offsetWidth});let a=0,l=40,c=null,u=f=>{if(c!==null){let p=(f-c)/1e3;a-=l*p,Math.abs(a)>=s&&(a+=s),e.style.transform=`translateX(${a}px)`}c=f,requestAnimationFrame(u)};requestAnimationFrame(u)};function ec(){let o=document.querySelectorAll("[data-line-scroll]");o.length!==0&&o.forEach(e=>{let t=e.querySelector("line");if(!t)return;let r=t.closest("svg");r&&gsap.set(r,{attr:{preserveAspectRatio:"none"}}),gsap.to(t,{strokeDashoffset:-16,duration:1,ease:"none",repeat:-1})})}var pi,Mn,tc=typeof Symbol=="function"?Symbol():"_split",Do,tf=()=>Do||us.register(window.gsap),rc=typeof Intl<"u"&&"Segmenter"in Intl?new Intl.Segmenter:0,hi=o=>typeof o=="string"?hi(document.querySelectorAll(o)):"length"in o?Array.from(o).reduce((e,t)=>(typeof t=="string"?e.push(...hi(t)):e.push(t),e),[]):[o],nc=o=>hi(o).filter(e=>e instanceof HTMLElement),Ro=[],Io=function(){},rf={add:o=>o()},nf=/\s+/g,ic=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),cs={left:0,top:0,width:0,height:0},sf=(o,e)=>{for(;++e<o.length&&o[e]===cs;);return o[e]||cs},sc=({element:o,html:e,ariaL:t,ariaH:r})=>{o.innerHTML=e,t?o.setAttribute("aria-label",t):o.removeAttribute("aria-label"),r?o.setAttribute("aria-hidden",r):o.removeAttribute("aria-hidden")},oc=(o,e)=>{if(e){let t=new Set(o.join("").match(e)||Ro),r=o.length,n,i,s,a;if(t.size)for(;--r>-1;){i=o[r];for(s of t)if(s.startsWith(i)&&s.length>i.length){for(n=0,a=i;s.startsWith(a+=o[r+ ++n])&&a.length<s.length;);if(n&&a.length===s.length){o[r]=s,o.splice(r+1,n);break}}}}return o},ac=o=>window.getComputedStyle(o).display==="inline"&&(o.style.display="inline-block"),An=(o,e,t)=>e.insertBefore(typeof o=="string"?document.createTextNode(o):o,t),qo=(o,e,t)=>{let r=e[o+"sClass"]||"",{tag:n="div",aria:i="auto",propIndex:s=!1}=e,a=o==="line"?"block":"inline-block",l=r.indexOf("++")>-1,c=u=>{let f=document.createElement(n),p=t.length+1;return r&&(f.className=r+(l?" "+r+p:"")),s&&f.style.setProperty("--"+o,p+""),i!=="none"&&f.setAttribute("aria-hidden","true"),n!=="span"&&(f.style.position="relative",f.style.display=a),f.textContent=u,t.push(f),f};return l&&(r=r.replace("++","")),c.collection=t,c},of=(o,e,t,r)=>{let n=qo("line",t,r),i=window.getComputedStyle(o).textAlign||"left";return(s,a)=>{let l=n("");for(l.style.textAlign=i,o.insertBefore(l,e[s]);s<a;s++)l.appendChild(e[s]);l.normalize()}},lc=(o,e,t,r,n,i,s,a,l,c)=>{var u;let f=Array.from(o.childNodes),p=0,{wordDelimiter:d,reduceWhiteSpace:m=!0,prepareText:h}=e,g=o.getBoundingClientRect(),E=g,v=!m&&window.getComputedStyle(o).whiteSpace.substring(0,3)==="pre",w=0,b=t.collection,y,S,T,M,L,x,P,k,H,q,N,D,C,R,F,_,B,K;for(typeof d=="object"?(T=d.delimiter||d,S=d.replaceWith||""):S=d===""?"":d||" ",y=S!==" ";p<f.length;p++)if(M=f[p],M.nodeType===3){for(F=M.textContent||"",m?F=F.replace(nf," "):v&&(F=F.replace(/\n/g,S+`
131
+ `,document.head.appendChild(f)}let l=window.innerWidth,c=i+s,u=Math.max(3,Math.ceil(l*2/c));for(let f=0;f<u;f++){let p=r.cloneNode(!0);p.setAttribute("aria-hidden","true"),p.classList.add("is-clone"),t.appendChild(p)}if(typeof gsap<"u"){let f=t.querySelectorAll(".banner_marquee");f.forEach(p=>{let d=p;d.style.animation="none"}),requestAnimationFrame(()=>{let p=i+s,d=gsap.to(f,{x:-p,duration:30,ease:"none",repeat:-1});o.pauseOnHover&&e&&(e.addEventListener("mouseenter",()=>d.pause()),e.addEventListener("mouseleave",()=>d.resume()))})}},Jl=()=>{let o=document.querySelector(".marquee");if(!o)return;let e=o.querySelector(".marquee-wrapper");if(!e)return;let t=e.parentElement;Object.assign(e.style,{display:"flex",flexWrap:"nowrap",willChange:"transform"});let r=Array.from(e.querySelectorAll(".marquee-item"));if(r.length===0)return;let n=t.offsetWidth*2,i=0,s=r.reduce((f,p)=>{let d=window.getComputedStyle(p),m=parseFloat(d.marginLeft)||0,h=parseFloat(d.marginRight)||0;return f+p.offsetWidth+m+h},0);for(;i<n+s;)r.forEach(f=>{let p=f.cloneNode(!0);p.setAttribute("aria-hidden","true"),e.appendChild(p),i+=f.offsetWidth});let a=0,l=40,c=null,u=f=>{if(c!==null){let p=(f-c)/1e3;a-=l*p,Math.abs(a)>=s&&(a+=s),e.style.transform=`translateX(${a}px)`}c=f,requestAnimationFrame(u)};requestAnimationFrame(u)};function ec(){let o=document.querySelectorAll("[data-line-scroll]");o.length!==0&&o.forEach(e=>{let t=e.querySelector("line");if(!t)return;let r=t.closest("svg");r&&gsap.set(r,{attr:{preserveAspectRatio:"none"}}),gsap.to(t,{strokeDashoffset:-16,duration:1,ease:"none",repeat:-1})})}var pi,Mn,tc=typeof Symbol=="function"?Symbol():"_split",Do,rf=()=>Do||us.register(window.gsap),rc=typeof Intl<"u"&&"Segmenter"in Intl?new Intl.Segmenter:0,hi=o=>typeof o=="string"?hi(document.querySelectorAll(o)):"length"in o?Array.from(o).reduce((e,t)=>(typeof t=="string"?e.push(...hi(t)):e.push(t),e),[]):[o],nc=o=>hi(o).filter(e=>e instanceof HTMLElement),Ro=[],Io=function(){},nf={add:o=>o()},sf=/\s+/g,ic=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),cs={left:0,top:0,width:0,height:0},of=(o,e)=>{for(;++e<o.length&&o[e]===cs;);return o[e]||cs},sc=({element:o,html:e,ariaL:t,ariaH:r})=>{o.innerHTML=e,t?o.setAttribute("aria-label",t):o.removeAttribute("aria-label"),r?o.setAttribute("aria-hidden",r):o.removeAttribute("aria-hidden")},oc=(o,e)=>{if(e){let t=new Set(o.join("").match(e)||Ro),r=o.length,n,i,s,a;if(t.size)for(;--r>-1;){i=o[r];for(s of t)if(s.startsWith(i)&&s.length>i.length){for(n=0,a=i;s.startsWith(a+=o[r+ ++n])&&a.length<s.length;);if(n&&a.length===s.length){o[r]=s,o.splice(r+1,n);break}}}}return o},ac=o=>window.getComputedStyle(o).display==="inline"&&(o.style.display="inline-block"),An=(o,e,t)=>e.insertBefore(typeof o=="string"?document.createTextNode(o):o,t),qo=(o,e,t)=>{let r=e[o+"sClass"]||"",{tag:n="div",aria:i="auto",propIndex:s=!1}=e,a=o==="line"?"block":"inline-block",l=r.indexOf("++")>-1,c=u=>{let f=document.createElement(n),p=t.length+1;return r&&(f.className=r+(l?" "+r+p:"")),s&&f.style.setProperty("--"+o,p+""),i!=="none"&&f.setAttribute("aria-hidden","true"),n!=="span"&&(f.style.position="relative",f.style.display=a),f.textContent=u,t.push(f),f};return l&&(r=r.replace("++","")),c.collection=t,c},af=(o,e,t,r)=>{let n=qo("line",t,r),i=window.getComputedStyle(o).textAlign||"left";return(s,a)=>{let l=n("");for(l.style.textAlign=i,o.insertBefore(l,e[s]);s<a;s++)l.appendChild(e[s]);l.normalize()}},lc=(o,e,t,r,n,i,s,a,l,c)=>{var u;let f=Array.from(o.childNodes),p=0,{wordDelimiter:d,reduceWhiteSpace:m=!0,prepareText:h}=e,g=o.getBoundingClientRect(),E=g,v=!m&&window.getComputedStyle(o).whiteSpace.substring(0,3)==="pre",w=0,b=t.collection,y,S,T,M,L,x,P,k,H,q,N,D,C,R,F,_,B,K;for(typeof d=="object"?(T=d.delimiter||d,S=d.replaceWith||""):S=d===""?"":d||" ",y=S!==" ";p<f.length;p++)if(M=f[p],M.nodeType===3){for(F=M.textContent||"",m?F=F.replace(sf," "):v&&(F=F.replace(/\n/g,S+`
132
132
  `)),h&&(F=h(F,o)),M.textContent=F,L=S||T?F.split(T||S):F.match(a)||Ro,B=L[L.length-1],k=y?B.slice(-1)===" ":!B,B||L.pop(),E=g,P=y?L[0].charAt(0)===" ":!L[0],P&&An(" ",o,M),L[0]||L.shift(),oc(L,l),i&&c||(M.textContent=""),H=1;H<=L.length;H++)if(_=L[H-1],!m&&v&&_.charAt(0)===`
133
- `&&((u=M.previousSibling)==null||u.remove(),An(document.createElement("br"),o,M),_=_.slice(1)),!m&&_==="")An(S,o,M);else if(_===" ")o.insertBefore(document.createTextNode(" "),M);else{if(y&&_.charAt(0)===" "&&An(" ",o,M),w&&H===1&&!P&&b.indexOf(w.parentNode)>-1?(x=b[b.length-1],x.appendChild(document.createTextNode(r?"":_))):(x=t(r?"":_),An(x,o,M),w&&H===1&&!P&&x.insertBefore(w,x.firstChild)),r)for(N=rc?oc([...rc.segment(_)].map(te=>te.segment),l):_.match(a)||Ro,K=0;K<N.length;K++)x.appendChild(N[K]===" "?document.createTextNode(" "):r(N[K]));if(i&&c){if(F=M.textContent=F.substring(_.length+1,F.length),q=x.getBoundingClientRect(),q.top>E.top&&q.left<=E.left){for(D=o.cloneNode(),C=o.childNodes[0];C&&C!==x;)R=C,C=C.nextSibling,D.appendChild(R);o.parentNode.insertBefore(D,o),n&&ac(D)}E=q}(H<L.length||k)&&An(H>=L.length?" ":y&&_.slice(-1)===" "?" "+S:S,o,M)}o.removeChild(M),w=0}else M.nodeType===1&&(s&&s.indexOf(M)>-1?(b.indexOf(M.previousSibling)>-1&&b[b.length-1].appendChild(M),w=M):(lc(M,e,t,r,n,i,s,a,l,!0),w=0),n&&ac(M))},cc=class uc{constructor(e,t){this.isSplit=!1,tf(),this.elements=nc(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this.elements.forEach(s=>{var a;t.overwrite!==!1&&((a=s[tc])==null||a._data.orig.filter(({element:l})=>l===s).forEach(sc)),s[tc]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let r=[],n,i=()=>{let s=r.length,a;for(;s--;){a=r[s];let l=a.element.offsetWidth;if(l!==a.width){a.width=l,this._split();return}}};this._data={orig:r,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(n),n=setTimeout(i,200)})},Io(this),this.split(t)}split(e){return(this._ctx||rf).add(()=>{this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:r="auto",deepSlice:n=!0,smartWrap:i,onSplit:s,autoSplit:a=!1,specialChars:l,mask:c}=this.vars,u=t.indexOf("lines")>-1,f=t.indexOf("chars")>-1,p=t.indexOf("words")>-1,d=f&&!p&&!u,m=l&&("push"in l?new RegExp("(?:"+l.join("|")+")","gu"):l),h=m?new RegExp(m.source+"|"+ic.source,"gu"):ic,g=!!e.ignore&&nc(e.ignore),{orig:E,animTime:v,obs:w}=this._data,b;(f||p||u)&&(this.elements.forEach((y,S)=>{E[S]={element:y,html:y.innerHTML,ariaL:y.getAttribute("aria-label"),ariaH:y.getAttribute("aria-hidden")},r==="auto"?y.setAttribute("aria-label",(y.textContent||"").trim()):r==="hidden"&&y.setAttribute("aria-hidden","true");let T=[],M=[],L=[],x=f?qo("char",e,T):null,P=qo("word",e,M),k,H,q,N;if(lc(y,e,P,x,d,n&&(u||d),g,h,m,!1),u){let D=hi(y.childNodes),C=of(y,D,e,L),R,F=[],_=0,B=D.map(V=>V.nodeType===1?V.getBoundingClientRect():cs),K=cs,te;for(k=0;k<D.length;k++)R=D[k],R.nodeType===1&&(R.nodeName==="BR"?((!k||D[k-1].nodeName!=="BR")&&(F.push(R),C(_,k+1)),_=k+1,K=sf(B,k)):(te=B[k],k&&te.top>K.top&&te.left<K.left+K.width-1&&(C(_,k),_=k),K=te));_<k&&C(_,k),F.forEach(V=>{var se;return(se=V.parentNode)==null?void 0:se.removeChild(V)})}if(!p){for(k=0;k<M.length;k++)if(H=M[k],f||!H.nextSibling||H.nextSibling.nodeType!==3)if(i&&!u){for(q=document.createElement("span"),q.style.whiteSpace="nowrap";H.firstChild;)q.appendChild(H.firstChild);H.replaceWith(q)}else H.replaceWith(...H.childNodes);else N=H.nextSibling,N&&N.nodeType===3&&(N.textContent=(H.textContent||"")+(N.textContent||""),H.remove());M.length=0,y.normalize()}this.lines.push(...L),this.words.push(...M),this.chars.push(...T)}),c&&this[c]&&this.masks.push(...this[c].map(y=>{let S=y.cloneNode();return y.replaceWith(S),S.appendChild(y),y.className&&(S.className=y.className.trim()+"-mask"),S.style.overflow="clip",S}))),this.isSplit=!0,Mn&&u&&(a?Mn.addEventListener("loadingdone",this._split):Mn.status==="loading"&&console.warn("SplitText called before fonts loaded")),(b=s&&s(this))&&b.totalTime&&(this._data.anim=v?b.totalTime(v):b),u&&a&&this.elements.forEach((y,S)=>{E[S].width=y.offsetWidth,w&&w.observe(y)})}),this}kill(){let{obs:e}=this._data;e&&e.disconnect(),Mn?.removeEventListener("loadingdone",this._split)}revert(){var e,t;if(this.isSplit){let{orig:r,anim:n}=this._data;this.kill(),r.forEach(sc),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=!1,n&&(this._data.animTime=n.totalTime(),n.revert()),(t=(e=this.vars).onRevert)==null||t.call(e,this)}return this}static create(e,t){return new uc(e,t)}static register(e){pi=pi||e||window.gsap,pi&&(hi=pi.utils.toArray,Io=pi.core.context||Io),!Do&&window.innerWidth>0&&(Mn=document.fonts,Do=!0)}};cc.version="3.14.2";var us=cc;var dc=()=>{Oe.registerPlugin(W,us),Oe.utils.toArray("section").forEach(o=>{let e=o.querySelector("h2"),t=o.querySelector(".section_header-description");if(!e&&!t)return;let r=Oe.timeline({paused:!0});if(e){let n=new us(e,{type:"lines",linesClass:"split-line"});Oe.set(n.lines,{overflow:"hidden",display:"block"});let i=n.lines.map(s=>{let a=document.createElement("div");return a.style.overflow="hidden",s.parentNode.insertBefore(a,s),a.appendChild(s),s});r.from(i,{y:"101%",duration:.8,ease:"power1.out",stagger:.1})}t&&r.from(t,{opacity:0,duration:.6,ease:"power1.out"},e?"0.3":0),W.create({trigger:o,start:"top 85%",once:!0,onEnter:()=>r.play()})})};var fc=()=>{Oe.registerPlugin(W),Oe.matchMedia().add("(min-width: 992px)",()=>{document.querySelectorAll(".timeline-component").forEach(t=>{let r=t.querySelector(".timeline-line-wrapper"),n=t.querySelectorAll(".timeline-dot-wrapper");if(!r||n.length===0)return;Oe.set(r,{opacity:0,width:"0%"}),Oe.set(n,{opacity:0,scale:0});let i=Oe.timeline({paused:!0});i.to(r,{opacity:1,width:"100%",duration:1.4,ease:"power2.inOut"});let l=1.4/n.length;n.forEach((c,u)=>{let f=l*u;i.to(c,{opacity:1,scale:1,duration:.4,ease:"back.out(1.7)"},f)}),W.create({trigger:t,start:"top 75%",once:!0,onEnter:()=>{i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{W.refresh()},200)})})};var kn=null;function pc(){if(typeof Lenis>"u"){console.error("[SmoothScroll] Lenis is not loaded");return}if(!(window.innerWidth>991))return;kn=new Lenis({duration:1.05,easing:t=>Math.min(1,1.001-Math.pow(2,-10*t)),orientation:"vertical",gestureOrientation:"vertical",smoothWheel:!0,wheelMultiplier:1,smoothTouch:!1,touchMultiplier:2,infinite:!1,autoRaf:!1}),document.querySelectorAll('a[href*="#"]:not(.w-tab-link)').forEach(t=>{t.addEventListener("click",r=>{let n=t.getAttribute("href");if(!n)return;let i;try{let a=new URL(n,window.location.href);if(a.pathname!==window.location.pathname)return;i=a.hash}catch{i=n.startsWith("#")?n:""}if(!i||i==="#")return;let s=document.querySelector(i);!s||!kn||(r.preventDefault(),r.stopPropagation(),kn.scrollTo(s,{offset:0,duration:1.05}))})});function e(t){kn?.raf(t),requestAnimationFrame(e)}requestAnimationFrame(e)}function hc(){kn?.stop()}function mc(){kn?.start()}function gc(){document.querySelectorAll(".button-wrapper").forEach(e=>{let t=e.querySelector(".button-link, a");t&&(t.addEventListener("focus",()=>{t.matches(":focus-visible")&&e.classList.add("is-focused")}),t.addEventListener("blur",()=>{e.classList.remove("is-focused")}),t.addEventListener("mousedown",()=>{e.classList.remove("is-focused")}))})}function af(){let o=document.createElement("style");o.textContent=`
133
+ `&&((u=M.previousSibling)==null||u.remove(),An(document.createElement("br"),o,M),_=_.slice(1)),!m&&_==="")An(S,o,M);else if(_===" ")o.insertBefore(document.createTextNode(" "),M);else{if(y&&_.charAt(0)===" "&&An(" ",o,M),w&&H===1&&!P&&b.indexOf(w.parentNode)>-1?(x=b[b.length-1],x.appendChild(document.createTextNode(r?"":_))):(x=t(r?"":_),An(x,o,M),w&&H===1&&!P&&x.insertBefore(w,x.firstChild)),r)for(N=rc?oc([...rc.segment(_)].map(te=>te.segment),l):_.match(a)||Ro,K=0;K<N.length;K++)x.appendChild(N[K]===" "?document.createTextNode(" "):r(N[K]));if(i&&c){if(F=M.textContent=F.substring(_.length+1,F.length),q=x.getBoundingClientRect(),q.top>E.top&&q.left<=E.left){for(D=o.cloneNode(),C=o.childNodes[0];C&&C!==x;)R=C,C=C.nextSibling,D.appendChild(R);o.parentNode.insertBefore(D,o),n&&ac(D)}E=q}(H<L.length||k)&&An(H>=L.length?" ":y&&_.slice(-1)===" "?" "+S:S,o,M)}o.removeChild(M),w=0}else M.nodeType===1&&(s&&s.indexOf(M)>-1?(b.indexOf(M.previousSibling)>-1&&b[b.length-1].appendChild(M),w=M):(lc(M,e,t,r,n,i,s,a,l,!0),w=0),n&&ac(M))},cc=class uc{constructor(e,t){this.isSplit=!1,rf(),this.elements=nc(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this.elements.forEach(s=>{var a;t.overwrite!==!1&&((a=s[tc])==null||a._data.orig.filter(({element:l})=>l===s).forEach(sc)),s[tc]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let r=[],n,i=()=>{let s=r.length,a;for(;s--;){a=r[s];let l=a.element.offsetWidth;if(l!==a.width){a.width=l,this._split();return}}};this._data={orig:r,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(n),n=setTimeout(i,200)})},Io(this),this.split(t)}split(e){return(this._ctx||nf).add(()=>{this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:r="auto",deepSlice:n=!0,smartWrap:i,onSplit:s,autoSplit:a=!1,specialChars:l,mask:c}=this.vars,u=t.indexOf("lines")>-1,f=t.indexOf("chars")>-1,p=t.indexOf("words")>-1,d=f&&!p&&!u,m=l&&("push"in l?new RegExp("(?:"+l.join("|")+")","gu"):l),h=m?new RegExp(m.source+"|"+ic.source,"gu"):ic,g=!!e.ignore&&nc(e.ignore),{orig:E,animTime:v,obs:w}=this._data,b;(f||p||u)&&(this.elements.forEach((y,S)=>{E[S]={element:y,html:y.innerHTML,ariaL:y.getAttribute("aria-label"),ariaH:y.getAttribute("aria-hidden")},r==="auto"?y.setAttribute("aria-label",(y.textContent||"").trim()):r==="hidden"&&y.setAttribute("aria-hidden","true");let T=[],M=[],L=[],x=f?qo("char",e,T):null,P=qo("word",e,M),k,H,q,N;if(lc(y,e,P,x,d,n&&(u||d),g,h,m,!1),u){let D=hi(y.childNodes),C=af(y,D,e,L),R,F=[],_=0,B=D.map(V=>V.nodeType===1?V.getBoundingClientRect():cs),K=cs,te;for(k=0;k<D.length;k++)R=D[k],R.nodeType===1&&(R.nodeName==="BR"?((!k||D[k-1].nodeName!=="BR")&&(F.push(R),C(_,k+1)),_=k+1,K=of(B,k)):(te=B[k],k&&te.top>K.top&&te.left<K.left+K.width-1&&(C(_,k),_=k),K=te));_<k&&C(_,k),F.forEach(V=>{var se;return(se=V.parentNode)==null?void 0:se.removeChild(V)})}if(!p){for(k=0;k<M.length;k++)if(H=M[k],f||!H.nextSibling||H.nextSibling.nodeType!==3)if(i&&!u){for(q=document.createElement("span"),q.style.whiteSpace="nowrap";H.firstChild;)q.appendChild(H.firstChild);H.replaceWith(q)}else H.replaceWith(...H.childNodes);else N=H.nextSibling,N&&N.nodeType===3&&(N.textContent=(H.textContent||"")+(N.textContent||""),H.remove());M.length=0,y.normalize()}this.lines.push(...L),this.words.push(...M),this.chars.push(...T)}),c&&this[c]&&this.masks.push(...this[c].map(y=>{let S=y.cloneNode();return y.replaceWith(S),S.appendChild(y),y.className&&(S.className=y.className.trim()+"-mask"),S.style.overflow="clip",S}))),this.isSplit=!0,Mn&&u&&(a?Mn.addEventListener("loadingdone",this._split):Mn.status==="loading"&&console.warn("SplitText called before fonts loaded")),(b=s&&s(this))&&b.totalTime&&(this._data.anim=v?b.totalTime(v):b),u&&a&&this.elements.forEach((y,S)=>{E[S].width=y.offsetWidth,w&&w.observe(y)})}),this}kill(){let{obs:e}=this._data;e&&e.disconnect(),Mn?.removeEventListener("loadingdone",this._split)}revert(){var e,t;if(this.isSplit){let{orig:r,anim:n}=this._data;this.kill(),r.forEach(sc),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=!1,n&&(this._data.animTime=n.totalTime(),n.revert()),(t=(e=this.vars).onRevert)==null||t.call(e,this)}return this}static create(e,t){return new uc(e,t)}static register(e){pi=pi||e||window.gsap,pi&&(hi=pi.utils.toArray,Io=pi.core.context||Io),!Do&&window.innerWidth>0&&(Mn=document.fonts,Do=!0)}};cc.version="3.14.2";var us=cc;var dc=()=>{Oe.registerPlugin(W,us),Oe.utils.toArray("section").forEach(o=>{let e=o.querySelector("h2"),t=o.querySelector(".section_header-description");if(!e&&!t)return;let r=Oe.timeline({paused:!0});if(e){let n=new us(e,{type:"lines",linesClass:"split-line"});Oe.set(n.lines,{overflow:"hidden",display:"block"});let i=n.lines.map(s=>{let a=document.createElement("div");return a.style.overflow="hidden",s.parentNode.insertBefore(a,s),a.appendChild(s),s});r.from(i,{y:"101%",duration:.8,ease:"power1.out",stagger:.1})}t&&r.from(t,{opacity:0,duration:.6,ease:"power1.out"},e?"0.3":0),W.create({trigger:o,start:"top 85%",once:!0,onEnter:()=>r.play()})})};var fc=()=>{Oe.registerPlugin(W),Oe.matchMedia().add("(min-width: 992px)",()=>{document.querySelectorAll(".timeline-component").forEach(t=>{let r=t.querySelector(".timeline-line-wrapper"),n=t.querySelectorAll(".timeline-dot-wrapper");if(!r||n.length===0)return;Oe.set(r,{opacity:0,width:"0%"}),Oe.set(n,{opacity:0,scale:0});let i=Oe.timeline({paused:!0});i.to(r,{opacity:1,width:"100%",duration:1.4,ease:"power2.inOut"});let l=1.4/n.length;n.forEach((c,u)=>{let f=l*u;i.to(c,{opacity:1,scale:1,duration:.4,ease:"back.out(1.7)"},f)}),W.create({trigger:t,start:"top 75%",once:!0,onEnter:()=>{i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{W.refresh()},200)})})};var kn=null;function pc(){if(typeof Lenis>"u"){console.error("[SmoothScroll] Lenis is not loaded");return}if(!(window.innerWidth>991))return;kn=new Lenis({duration:1.05,easing:t=>Math.min(1,1.001-Math.pow(2,-10*t)),orientation:"vertical",gestureOrientation:"vertical",smoothWheel:!0,wheelMultiplier:1,smoothTouch:!1,touchMultiplier:2,infinite:!1,autoRaf:!1}),document.querySelectorAll('a[href*="#"]:not(.w-tab-link)').forEach(t=>{t.addEventListener("click",r=>{let n=t.getAttribute("href");if(!n)return;let i;try{let a=new URL(n,window.location.href);if(a.pathname!==window.location.pathname)return;i=a.hash}catch{i=n.startsWith("#")?n:""}if(!i||i==="#")return;let s=document.querySelector(i);!s||!kn||(r.preventDefault(),r.stopPropagation(),kn.scrollTo(s,{offset:0,duration:1.05}))})});function e(t){kn?.raf(t),requestAnimationFrame(e)}requestAnimationFrame(e)}function hc(){kn?.stop()}function mc(){kn?.start()}function gc(){document.querySelectorAll(".button-wrapper").forEach(e=>{let t=e.querySelector(".button-link, a");t&&(t.addEventListener("focus",()=>{t.matches(":focus-visible")&&e.classList.add("is-focused")}),t.addEventListener("blur",()=>{e.classList.remove("is-focused")}),t.addEventListener("mousedown",()=>{e.classList.remove("is-focused")}))})}function lf(){let o=document.createElement("style");o.textContent=`
134
134
  #cursor-trail-canvas {
135
135
  position: fixed;
136
136
  inset: 0;
@@ -196,7 +196,7 @@
196
196
  border-radius: inherit;
197
197
  pointer-events: none;
198
198
  }
199
- `,document.head.appendChild(t);let r=document.querySelectorAll(".dropdown_wrapper");r.forEach(m=>m.classList.add("cs-filters-loading"));function n(){r.forEach(m=>m.classList.remove("cs-filters-loading")),t.remove()}let i=[];e.forEach(m=>{document.querySelectorAll(`input[type="radio"][name="${m}"]`).forEach(g=>{let E=g.closest('[role="listitem"]'),v=(E??g.parentElement)?.querySelector(".checkbox_text")??null,w=v?.textContent?.trim()??"",b=v?.getAttribute("fs-list-field")??"",y=E?.parentElement??null,S=E?.nextSibling??null;i.push({group:m,label:w,fieldName:b,input:g,textEl:v,wrapperEl:E,parentEl:y,nextSiblingEl:S})})});let s=new Map;e.forEach(m=>{let h=i.find(g=>g.group===m&&g.fieldName!=="");h&&s.set(m,h.fieldName)});let a=new Map;e.forEach(m=>{let h=i.find(v=>v.group===m);if(!h)return;let g=h.input.closest(".dropdown_wrapper");if(!g)return;let E=g.querySelector(".form_dropdown > div:first-child");E&&a.set(m,{wrapperEl:g,toggleTextEl:E,defaultText:E.textContent?.trim()??""})});function l(m){let h=a.get(m);if(!h)return;let g=u.get(m);if(g&&g.size>0){let[E]=g;h.toggleTextEl.textContent=E}else h.toggleTextEl.textContent=h.defaultText}let c=new Map;e.forEach(m=>{let h=i.find(y=>y.group===m);if(!h?.wrapperEl)return;let g=a.get(m);if(!g)return;let E=g.wrapperEl.querySelector('[role="list"]');if(!E)return;let v=h.wrapperEl.cloneNode(!0);v.setAttribute("data-clear-group",m);let w=v.querySelector(".checkbox_text");if(w){let y=window.location.pathname.startsWith("/en");w.textContent=y?"All":"Wszystkie",w.removeAttribute("fs-list-field"),w.classList.add("is-active"),c.set(m,w)}let b=v.querySelector('input[type="radio"]');b&&(b.checked=!1,b.id=`${m}-all`,b.value=""),E.insertBefore(v,E.firstChild)});let u=new Map(e.map(m=>[m,new Set]));function f(){for(let m of u.values())if(m.size>0)return!0;return!1}function p(m,h){return Array.from(m.querySelectorAll(`[fs-list-field="${h}"]`)).map(g=>g.textContent?.trim().toLowerCase()??"")}function d(m){for(let[h,g]of u.entries()){if(g.size===0)continue;let E=s.get(h);if(!E)return!1;let v=p(m,E);if(!Array.from(g).some(b=>v.some(y=>y===b.toLowerCase())))return!1}return!0}window.FinsweetAttributes||(window.FinsweetAttributes=[]),window.FinsweetAttributes.push(["list",async m=>{let h=m.find(x=>x.wrapperElement?.querySelector('[fs-list-element="list"]')||x.listElement?.hasAttribute("fs-list-element"))||m[0];if(!h){n();return}h.loadingPaginatedItems&&await h.loadingPaginatedItems;let g=h.items.value.slice();n();let E=h.wrapperElement?.querySelector("[data-empty]")??document.querySelector("[data-empty]");E&&(E.style.display="none");function v(x,P){E&&(E.style.display=P&&x===0?"flex":"none")}function w(x,P,k){if(k.size===0)return!0;let H=s.get(P);if(!H)return!0;let q=p(x,H);return Array.from(k).some(N=>q.some(D=>D===N.toLowerCase()))}function b(){for(let x of e){let P=i.filter(C=>C.group===x),k=s.get(x);if(!(!!k&&g.some(C=>p(C.element,k).length>0))){a.get(x)?.wrapperEl.classList.remove("is-disabled");continue}let q=g.filter(C=>{let R=C.element;for(let[F,_]of u.entries())if(F!==x&&!w(R,F,_))return!1;return!0}),N=0;for(let C of P){if(!C.wrapperEl||!C.parentEl)continue;if(C.input.checked){C.wrapperEl.parentElement||(C.nextSiblingEl&&C.nextSiblingEl.parentElement===C.parentEl?C.parentEl.insertBefore(C.wrapperEl,C.nextSiblingEl):C.parentEl.appendChild(C.wrapperEl)),N++;continue}q.some(F=>p(F.element,C.fieldName).some(B=>B===C.label.toLowerCase()))?(C.wrapperEl.parentElement||(C.nextSiblingEl&&C.nextSiblingEl.parentElement===C.parentEl?C.parentEl.insertBefore(C.wrapperEl,C.nextSiblingEl):C.parentEl.appendChild(C.wrapperEl)),N++):C.wrapperEl.parentElement&&C.wrapperEl.remove()}let D=a.get(x);if(D)if(N===0){D.wrapperEl.classList.add("is-disabled");let C=D.wrapperEl.querySelector(".w-dropdown-toggle"),R=D.wrapperEl.querySelector(".w-dropdown-list");C?.classList.remove("w--open"),C?.setAttribute("aria-expanded","false"),R?.classList.remove("w--open")}else D.wrapperEl.classList.remove("is-disabled")}}h.addHook("filter",x=>{if(!f())return v(x.length,M()),b(),x;let P=x.filter(k=>{let H=k.element;return d(H)});return v(P.length,!0),b(),P});function y(x){let P=c.get(x);if(!P)return;let k=u.get(x);!k||k.size===0?P.classList.add("is-active"):P.classList.remove("is-active")}i.forEach(x=>{x.input.addEventListener("click",()=>{let P=u.get(x.group);P&&(P.has(x.label)?(x.input.checked=!1,P.clear(),x.textEl?.classList.remove("is-active")):(P.clear(),i.filter(k=>k.group===x.group&&k!==x).forEach(k=>k.textEl?.classList.remove("is-active")),P.add(x.label),x.textEl?.classList.add("is-active")),l(x.group),y(x.group),h.triggerHook("filter"),L())})});for(let x of e){let P=document.querySelector(`[data-clear-group="${x}"]`);P&&P.addEventListener("click",()=>{let k=u.get(x);k&&(k.clear(),i.filter(H=>H.group===x).forEach(H=>{H.input.checked=!1,H.textEl?.classList.remove("is-active")}),l(x),y(x),h.triggerHook("filter"),L())})}i.forEach(x=>{if(x.input.checked){let P=u.get(x.group);P&&(P.add(x.label),x.textEl?.classList.add("is-active"))}});let S=document.querySelector(".clearbox"),T=document.querySelectorAll("[data-search='name']");function M(){return Array.from(T).some(x=>x.value.trim()!=="")}function L(){S&&(S.style.display=f()||M()?"flex":"none")}T.forEach(x=>{x.addEventListener("input",()=>L())}),S&&S.addEventListener("click",()=>{for(let x of u.values())x.clear();i.forEach(x=>{x.input.checked=!1,x.textEl?.classList.remove("is-active")});for(let x of e)l(x),y(x);document.querySelectorAll("[data-search='name']").forEach(x=>{x.value="",x.dispatchEvent(new Event("input",{bubbles:!0}))}),h.triggerHook("filter"),L()}),h.triggerHook("filter"),L()}])}function lf(o){let e=o.dataset.searchTarget;if(e)return document.getElementById(e);let t=o.parentElement;for(;t;){let r=t.querySelector('[fs-list-element="list"]');if(r)return r;t=t.parentElement}return document.querySelector('[fs-list-element="list"]')}function ds(o){return o.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ł/g,"l").replace(/Ł/g,"L")}function Ec(){let o=document.querySelectorAll("[data-search='name']");o.length&&(window.FinsweetAttributes||(window.FinsweetAttributes=[]),window.FinsweetAttributes.push(["list",async e=>{for(let t of Array.from(o)){let r=lf(t),n=e.find(s=>r&&s.wrapperElement?.contains(r)||s.listElement===r)||e[0];if(!n)continue;n.loadingPaginatedItems&&await n.loadingPaginatedItems,n.addHook("filter",s=>{let a=ds(t.value.trim());return a?s.filter(l=>{let c=l.element.querySelector("h3");return ds(c?.textContent??"").includes(a)}):s});let i=n.wrapperElement?.querySelector("[data-empty]")??document.querySelector("[data-empty]");t.addEventListener("input",()=>{if(n.triggerHook("filter"),i){let s=ds(t.value.trim()),a=n.items.value.filter(l=>{let c=l.element.querySelector("h3");return ds(c?.textContent??"").includes(s)});i.style.display=s&&a.length===0?"flex":"none"}})}}]))}var No=class{constructor(){$(this,"nav",null);$(this,"dropdowns",null);$(this,"currentOpenDropdown",null);this.init()}init(){this.nav=document.querySelector(".nav"),this.nav&&(this.dropdowns=this.nav.querySelectorAll("[data-delay]"),this.setupKeyboardNavigation())}setupKeyboardNavigation(){this.dropdowns&&(this.dropdowns.forEach(e=>{let t=e.querySelector(".w-dropdown-toggle"),r=e.querySelector(".w-dropdown-list");t&&(r&&this.setDropdownTabIndex(r,!1),t.addEventListener("keydown",n=>{this.handleDropdownToggleKeydown(n,e,t,r)}),t.addEventListener("click",()=>{this.handleDropdownClick(e,t)}),r&&this.setupDropdownFocusTrap(e,r))}),document.addEventListener("keydown",e=>{e.key==="Escape"&&this.closeAllDropdowns()}),document.addEventListener("click",e=>{this.currentOpenDropdown&&!this.currentOpenDropdown.contains(e.target)&&this.closeAllDropdowns()}))}handleDropdownToggleKeydown(e,t,r,n){let i=r.getAttribute("aria-expanded")==="true";switch(e.key){case"Enter":case" ":if(e.preventDefault(),!i)this.openDropdown(t,r,n);else{let s=r.getAttribute("href");s&&s!=="#"?window.location.href=s:this.closeDropdown(t,r,n)}break;case"ArrowDown":e.preventDefault(),i?this.focusFirstItem(n):(this.openDropdown(t,r,n),setTimeout(()=>{this.focusFirstItem(n)},100));break;case"ArrowUp":e.preventDefault(),i&&this.focusLastItem(n);break;case"Escape":e.preventDefault(),i&&(this.closeDropdown(t,r,n),r.focus());break;case"Tab":i&&!e.shiftKey&&setTimeout(()=>{n&&!n.contains(document.activeElement)&&this.closeDropdown(t,r,n)},0);break}}handleDropdownClick(e,t){t.getAttribute("aria-expanded")==="true"?this.currentOpenDropdown=null:(this.closeAllDropdowns(),this.currentOpenDropdown=e)}openDropdown(e,t,r){this.closeAllDropdowns(),t.setAttribute("aria-expanded","true"),t.classList.add("w--open"),r&&(r.classList.add("w--open"),r.removeAttribute("style"),this.setDropdownTabIndex(r,!0)),this.currentOpenDropdown=e}closeDropdown(e,t,r){t.setAttribute("aria-expanded","false"),t.classList.remove("w--open"),r&&(r.classList.remove("w--open"),this.setDropdownTabIndex(r,!1)),this.currentOpenDropdown===e&&(this.currentOpenDropdown=null)}closeAllDropdowns(){this.dropdowns&&(this.dropdowns.forEach(e=>{let t=e.querySelector(".w-dropdown-toggle"),r=e.querySelector(".w-dropdown-list");t&&(t.setAttribute("aria-expanded","false"),t.classList.remove("w--open")),r&&(r.classList.remove("w--open"),this.setDropdownTabIndex(r,!1))}),this.currentOpenDropdown=null)}setDropdownTabIndex(e,t){e.querySelectorAll('a[href], button, [role="tab"], [role="button"]').forEach(n=>{t?n.setAttribute("tabindex","0"):n.setAttribute("tabindex","-1")})}setupDropdownFocusTrap(e,t){let r=t.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');r.forEach((n,i)=>{n.addEventListener("keydown",s=>{let a=e.querySelector(".w-dropdown-toggle");if(a?.getAttribute("aria-expanded")==="true")switch(s.key){case"Tab":s.shiftKey&&i===0?(s.preventDefault(),a?.focus()):!s.shiftKey&&i===r.length-1&&this.closeDropdown(e,a,t);break;case"Escape":s.preventDefault(),this.closeDropdown(e,a,t),a?.focus();break;case"ArrowDown":i<r.length-1&&(s.preventDefault(),r[i+1].focus());break;case"ArrowUp":i>0?(s.preventDefault(),r[i-1].focus()):(s.preventDefault(),a?.focus());break;case"Home":s.preventDefault(),r[0].focus();break;case"End":s.preventDefault(),r[r.length-1].focus();break}})})}focusFirstItem(e){if(!e)return;let t=e.querySelector('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');t&&t.focus()}focusLastItem(e){if(!e)return;let t=e.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');t.length>0&&t[t.length-1].focus()}};function xc(){new No}var cf=".w-nav",uf=".button-wrapper",Fo="is-pinned",Bo="w-variant-a4b72284-6321-8341-edca-223fdec43abe";var Cn=!1,mi=!1,fs=!1,Pr=null,rn=null;function df(){return window.innerWidth>991}function Sc(){if(!Pr||!Cn){fs=!1;return}let o=window.scrollY||window.pageYOffset;!mi&&o>50?(Pr.classList.add(Fo),rn&&rn.classList.remove(Bo),mi=!0):mi&&o<40&&(Pr.classList.remove(Fo),rn&&rn.classList.add(Bo),mi=!1),fs=!1}function ff(){!fs&&Cn&&(window.requestAnimationFrame(Sc),fs=!0)}function pf(){Pr&&Pr.classList.remove(Fo),rn&&rn.classList.add(Bo),mi=!1}function Tc(){let o=df();o&&!Cn?(Cn=!0,Sc()):!o&&Cn&&(Cn=!1,pf())}function hf(o,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>o(...r),e)}}function Lc(){if(Pr=document.querySelector(cf),!Pr)return;rn=Pr.querySelector(uf),window.addEventListener("scroll",ff,{passive:!0});let o=hf(Tc,150);window.addEventListener("resize",o),Tc()}var Mc=async()=>{let o=document.querySelector("[data-lex-cms]"),e=document.querySelector("[data-lex-box]");if(!o||!e)return;let t=e.parentElement;if(!t)return;let r=Array.from(o.querySelectorAll(".lex-list-item")),n=o.querySelector(".w-pagination-next")?.getAttribute("href"),i=[];if(n){if(e.setAttribute("style","display: none !important;"),!document.getElementById("lex-skeleton-style")){let g=document.createElement("style");g.id="lex-skeleton-style",g.innerHTML=`
199
+ `,document.head.appendChild(t);let r=document.querySelectorAll(".dropdown_wrapper");r.forEach(m=>m.classList.add("cs-filters-loading"));function n(){r.forEach(m=>m.classList.remove("cs-filters-loading")),t.remove()}let i=[];e.forEach(m=>{document.querySelectorAll(`input[type="radio"][name="${m}"]`).forEach(g=>{let E=g.closest('[role="listitem"]'),v=(E??g.parentElement)?.querySelector(".checkbox_text")??null,w=v?.textContent?.trim()??"",b=v?.getAttribute("fs-list-field")??"",y=E?.parentElement??null,S=E?.nextSibling??null;i.push({group:m,label:w,fieldName:b,input:g,textEl:v,wrapperEl:E,parentEl:y,nextSiblingEl:S})})});let s=new Map;e.forEach(m=>{let h=i.find(g=>g.group===m&&g.fieldName!=="");h&&s.set(m,h.fieldName)});let a=new Map;e.forEach(m=>{let h=i.find(v=>v.group===m);if(!h)return;let g=h.input.closest(".dropdown_wrapper");if(!g)return;let E=g.querySelector(".form_dropdown > div:first-child");E&&a.set(m,{wrapperEl:g,toggleTextEl:E,defaultText:E.textContent?.trim()??""})});function l(m){let h=a.get(m);if(!h)return;let g=u.get(m);if(g&&g.size>0){let[E]=g;h.toggleTextEl.textContent=E}else h.toggleTextEl.textContent=h.defaultText}let c=new Map;e.forEach(m=>{let h=i.find(y=>y.group===m);if(!h?.wrapperEl)return;let g=a.get(m);if(!g)return;let E=g.wrapperEl.querySelector('[role="list"]');if(!E)return;let v=h.wrapperEl.cloneNode(!0);v.setAttribute("data-clear-group",m);let w=v.querySelector(".checkbox_text");if(w){let y=window.location.pathname.startsWith("/en");w.textContent=y?"All":"Wszystkie",w.removeAttribute("fs-list-field"),w.classList.add("is-active"),c.set(m,w)}let b=v.querySelector('input[type="radio"]');b&&(b.checked=!1,b.id=`${m}-all`,b.value=""),E.insertBefore(v,E.firstChild)});let u=new Map(e.map(m=>[m,new Set]));function f(){for(let m of u.values())if(m.size>0)return!0;return!1}function p(m,h){return Array.from(m.querySelectorAll(`[fs-list-field="${h}"]`)).map(g=>g.textContent?.trim().toLowerCase()??"")}function d(m){for(let[h,g]of u.entries()){if(g.size===0)continue;let E=s.get(h);if(!E)return!1;let v=p(m,E);if(!Array.from(g).some(b=>v.some(y=>y===b.toLowerCase())))return!1}return!0}window.FinsweetAttributes||(window.FinsweetAttributes=[]),window.FinsweetAttributes.push(["list",async m=>{let h=m.find(x=>x.wrapperElement?.querySelector('[fs-list-element="list"]')||x.listElement?.hasAttribute("fs-list-element"))||m[0];if(!h){n();return}h.loadingPaginatedItems&&await h.loadingPaginatedItems;let g=h.items.value.slice();n();let E=h.wrapperElement?.querySelector("[data-empty]")??document.querySelector("[data-empty]");E&&(E.style.display="none");function v(x,P){E&&(E.style.display=P&&x===0?"flex":"none")}function w(x,P,k){if(k.size===0)return!0;let H=s.get(P);if(!H)return!0;let q=p(x,H);return Array.from(k).some(N=>q.some(D=>D===N.toLowerCase()))}function b(){for(let x of e){let P=i.filter(C=>C.group===x),k=s.get(x);if(!(!!k&&g.some(C=>p(C.element,k).length>0))){a.get(x)?.wrapperEl.classList.remove("is-disabled");continue}let q=g.filter(C=>{let R=C.element;for(let[F,_]of u.entries())if(F!==x&&!w(R,F,_))return!1;return!0}),N=0;for(let C of P){if(!C.wrapperEl||!C.parentEl)continue;if(C.input.checked){C.wrapperEl.parentElement||(C.nextSiblingEl&&C.nextSiblingEl.parentElement===C.parentEl?C.parentEl.insertBefore(C.wrapperEl,C.nextSiblingEl):C.parentEl.appendChild(C.wrapperEl)),N++;continue}q.some(F=>p(F.element,C.fieldName).some(B=>B===C.label.toLowerCase()))?(C.wrapperEl.parentElement||(C.nextSiblingEl&&C.nextSiblingEl.parentElement===C.parentEl?C.parentEl.insertBefore(C.wrapperEl,C.nextSiblingEl):C.parentEl.appendChild(C.wrapperEl)),N++):C.wrapperEl.parentElement&&C.wrapperEl.remove()}let D=a.get(x);if(D)if(N===0){D.wrapperEl.classList.add("is-disabled");let C=D.wrapperEl.querySelector(".w-dropdown-toggle"),R=D.wrapperEl.querySelector(".w-dropdown-list");C?.classList.remove("w--open"),C?.setAttribute("aria-expanded","false"),R?.classList.remove("w--open")}else D.wrapperEl.classList.remove("is-disabled")}}h.addHook("filter",x=>{if(!f())return v(x.length,M()),b(),x;let P=x.filter(k=>{let H=k.element;return d(H)});return v(P.length,!0),b(),P});function y(x){let P=c.get(x);if(!P)return;let k=u.get(x);!k||k.size===0?P.classList.add("is-active"):P.classList.remove("is-active")}i.forEach(x=>{x.input.addEventListener("click",()=>{let P=u.get(x.group);P&&(P.has(x.label)?(x.input.checked=!1,P.clear(),x.textEl?.classList.remove("is-active")):(P.clear(),i.filter(k=>k.group===x.group&&k!==x).forEach(k=>k.textEl?.classList.remove("is-active")),P.add(x.label),x.textEl?.classList.add("is-active")),l(x.group),y(x.group),h.triggerHook("filter"),L())})});for(let x of e){let P=document.querySelector(`[data-clear-group="${x}"]`);P&&P.addEventListener("click",()=>{let k=u.get(x);k&&(k.clear(),i.filter(H=>H.group===x).forEach(H=>{H.input.checked=!1,H.textEl?.classList.remove("is-active")}),l(x),y(x),h.triggerHook("filter"),L())})}i.forEach(x=>{if(x.input.checked){let P=u.get(x.group);P&&(P.add(x.label),x.textEl?.classList.add("is-active"))}});let S=document.querySelector(".clearbox"),T=document.querySelectorAll("[data-search='name']");function M(){return Array.from(T).some(x=>x.value.trim()!=="")}function L(){S&&(S.style.display=f()||M()?"flex":"none")}T.forEach(x=>{x.addEventListener("input",()=>L())}),S&&S.addEventListener("click",()=>{for(let x of u.values())x.clear();i.forEach(x=>{x.input.checked=!1,x.textEl?.classList.remove("is-active")});for(let x of e)l(x),y(x);document.querySelectorAll("[data-search='name']").forEach(x=>{x.value="",x.dispatchEvent(new Event("input",{bubbles:!0}))}),h.triggerHook("filter"),L()}),h.triggerHook("filter"),L()}])}function cf(o){let e=o.dataset.searchTarget;if(e)return document.getElementById(e);let t=o.parentElement;for(;t;){let r=t.querySelector('[fs-list-element="list"]');if(r)return r;t=t.parentElement}return document.querySelector('[fs-list-element="list"]')}function ds(o){return o.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ł/g,"l").replace(/Ł/g,"L")}function Ec(){let o=document.querySelectorAll("[data-search='name']");o.length&&(window.FinsweetAttributes||(window.FinsweetAttributes=[]),window.FinsweetAttributes.push(["list",async e=>{for(let t of Array.from(o)){let r=cf(t),n=e.find(s=>r&&s.wrapperElement?.contains(r)||s.listElement===r)||e[0];if(!n)continue;n.loadingPaginatedItems&&await n.loadingPaginatedItems,n.addHook("filter",s=>{let a=ds(t.value.trim());return a?s.filter(l=>{let c=l.element.querySelector("h3");return ds(c?.textContent??"").includes(a)}):s});let i=n.wrapperElement?.querySelector("[data-empty]")??document.querySelector("[data-empty]");t.addEventListener("input",()=>{if(n.triggerHook("filter"),i){let s=ds(t.value.trim()),a=n.items.value.filter(l=>{let c=l.element.querySelector("h3");return ds(c?.textContent??"").includes(s)});i.style.display=s&&a.length===0?"flex":"none"}})}}]))}var No=class{constructor(){$(this,"nav",null);$(this,"dropdowns",null);$(this,"currentOpenDropdown",null);this.init()}init(){this.nav=document.querySelector(".nav"),this.nav&&(this.dropdowns=this.nav.querySelectorAll("[data-delay]"),this.setupKeyboardNavigation())}setupKeyboardNavigation(){this.dropdowns&&(this.dropdowns.forEach(e=>{let t=e.querySelector(".w-dropdown-toggle"),r=e.querySelector(".w-dropdown-list");t&&(r&&this.setDropdownTabIndex(r,!1),t.addEventListener("keydown",n=>{this.handleDropdownToggleKeydown(n,e,t,r)}),t.addEventListener("click",()=>{this.handleDropdownClick(e,t)}),r&&this.setupDropdownFocusTrap(e,r))}),document.addEventListener("keydown",e=>{e.key==="Escape"&&this.closeAllDropdowns()}),document.addEventListener("click",e=>{this.currentOpenDropdown&&!this.currentOpenDropdown.contains(e.target)&&this.closeAllDropdowns()}))}handleDropdownToggleKeydown(e,t,r,n){let i=r.getAttribute("aria-expanded")==="true";switch(e.key){case"Enter":case" ":if(e.preventDefault(),!i)this.openDropdown(t,r,n);else{let s=r.getAttribute("href");s&&s!=="#"?window.location.href=s:this.closeDropdown(t,r,n)}break;case"ArrowDown":e.preventDefault(),i?this.focusFirstItem(n):(this.openDropdown(t,r,n),setTimeout(()=>{this.focusFirstItem(n)},100));break;case"ArrowUp":e.preventDefault(),i&&this.focusLastItem(n);break;case"Escape":e.preventDefault(),i&&(this.closeDropdown(t,r,n),r.focus());break;case"Tab":i&&!e.shiftKey&&setTimeout(()=>{n&&!n.contains(document.activeElement)&&this.closeDropdown(t,r,n)},0);break}}handleDropdownClick(e,t){t.getAttribute("aria-expanded")==="true"?this.currentOpenDropdown=null:(this.closeAllDropdowns(),this.currentOpenDropdown=e)}openDropdown(e,t,r){this.closeAllDropdowns(),t.setAttribute("aria-expanded","true"),t.classList.add("w--open"),r&&(r.classList.add("w--open"),r.removeAttribute("style"),this.setDropdownTabIndex(r,!0)),this.currentOpenDropdown=e}closeDropdown(e,t,r){t.setAttribute("aria-expanded","false"),t.classList.remove("w--open"),r&&(r.classList.remove("w--open"),this.setDropdownTabIndex(r,!1)),this.currentOpenDropdown===e&&(this.currentOpenDropdown=null)}closeAllDropdowns(){this.dropdowns&&(this.dropdowns.forEach(e=>{let t=e.querySelector(".w-dropdown-toggle"),r=e.querySelector(".w-dropdown-list");t&&(t.setAttribute("aria-expanded","false"),t.classList.remove("w--open")),r&&(r.classList.remove("w--open"),this.setDropdownTabIndex(r,!1))}),this.currentOpenDropdown=null)}setDropdownTabIndex(e,t){e.querySelectorAll('a[href], button, [role="tab"], [role="button"]').forEach(n=>{t?n.setAttribute("tabindex","0"):n.setAttribute("tabindex","-1")})}setupDropdownFocusTrap(e,t){let r=t.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');r.forEach((n,i)=>{n.addEventListener("keydown",s=>{let a=e.querySelector(".w-dropdown-toggle");if(a?.getAttribute("aria-expanded")==="true")switch(s.key){case"Tab":s.shiftKey&&i===0?(s.preventDefault(),a?.focus()):!s.shiftKey&&i===r.length-1&&this.closeDropdown(e,a,t);break;case"Escape":s.preventDefault(),this.closeDropdown(e,a,t),a?.focus();break;case"ArrowDown":i<r.length-1&&(s.preventDefault(),r[i+1].focus());break;case"ArrowUp":i>0?(s.preventDefault(),r[i-1].focus()):(s.preventDefault(),a?.focus());break;case"Home":s.preventDefault(),r[0].focus();break;case"End":s.preventDefault(),r[r.length-1].focus();break}})})}focusFirstItem(e){if(!e)return;let t=e.querySelector('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');t&&t.focus()}focusLastItem(e){if(!e)return;let t=e.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');t.length>0&&t[t.length-1].focus()}};function xc(){new No}var uf=".w-nav",df=".button-wrapper",Fo="is-pinned",Bo="w-variant-a4b72284-6321-8341-edca-223fdec43abe";var Cn=!1,mi=!1,fs=!1,Pr=null,rn=null;function ff(){return window.innerWidth>991}function Sc(){if(!Pr||!Cn){fs=!1;return}let o=window.scrollY||window.pageYOffset;!mi&&o>50?(Pr.classList.add(Fo),rn&&rn.classList.remove(Bo),mi=!0):mi&&o<40&&(Pr.classList.remove(Fo),rn&&rn.classList.add(Bo),mi=!1),fs=!1}function pf(){!fs&&Cn&&(window.requestAnimationFrame(Sc),fs=!0)}function hf(){Pr&&Pr.classList.remove(Fo),rn&&rn.classList.add(Bo),mi=!1}function Tc(){let o=ff();o&&!Cn?(Cn=!0,Sc()):!o&&Cn&&(Cn=!1,hf())}function mf(o,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>o(...r),e)}}function Lc(){if(Pr=document.querySelector(uf),!Pr)return;rn=Pr.querySelector(df),window.addEventListener("scroll",pf,{passive:!0});let o=mf(Tc,150);window.addEventListener("resize",o),Tc()}var Mc=async()=>{let o=document.querySelector("[data-lex-cms]"),e=document.querySelector("[data-lex-box]");if(!o||!e)return;let t=e.parentElement;if(!t)return;let r=Array.from(o.querySelectorAll(".lex-list-item")),n=o.querySelector(".w-pagination-next")?.getAttribute("href"),i=[];if(n){if(e.setAttribute("style","display: none !important;"),!document.getElementById("lex-skeleton-style")){let g=document.createElement("style");g.id="lex-skeleton-style",g.innerHTML=`
200
200
  .lex-skeleton {
201
201
  animation: lexPulse 1.5s ease-in-out infinite;
202
202
  pointer-events: none;
@@ -226,7 +226,7 @@
226
226
  50% { opacity: 1; }
227
227
  100% { opacity: 0.6; }
228
228
  }
229
- `,document.head.appendChild(g)}for(let g=0;g<3;g++){let E=e.cloneNode(!0);E.classList.add("lex-skeleton"),E.removeAttribute("style");let v=E.querySelector("[data-lex-list-wrapper]");if(v){let w=v.querySelector(".lex-list-item");if(w){v.innerHTML="";for(let b=0;b<4;b++)v.appendChild(w.cloneNode(!0))}}t.appendChild(E),i.push(E)}}for(;n;)try{let g=await fetch(n);if(!g.ok)break;let E=await g.text(),b=new DOMParser().parseFromString(E,"text/html").querySelector("[data-lex-cms]");if(!b)break;let y=Array.from(b.querySelectorAll(".lex-list-item"));r=[...r,...y],n=b.querySelector(".w-pagination-next")?.getAttribute("href")}catch(g){console.error("Error fetching paginated lexicon items:",g);break}if(i.forEach(g=>g.remove()),e.removeAttribute("style"),r.length===0)return;let s=g=>g.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ł/g,"l").replace(/Ł/g,"L").toUpperCase(),a=[{label:"A-B",letters:["A","B"]},{label:"C-D",letters:["C","D"]},{label:"E-F",letters:["E","F"]},{label:"G-H",letters:["G","H"]},{label:"I-J",letters:["I","J"]},{label:"K-L",letters:["K","L"]},{label:"M-N",letters:["M","N"]},{label:"O-P",letters:["O","P"]},{label:"Q-R",letters:["Q","R"]},{label:"S-T",letters:["S","T"]},{label:"U-V",letters:["U","V"]},{label:"W-X",letters:["W","X"]},{label:"Y-Z",letters:["Y","Z"]}],c=e.querySelector("[data-lex-list-wrapper]")?.firstElementChild;if(!c)return;let u=new Map;a.forEach(g=>{u.set(g.label,[])});let f="0-9";u.set(f,[]),r.forEach(g=>{let E=g.textContent?.trim()||"";if(!E)return;let v=s(E.charAt(0)),w=f;for(let S of a)if(S.letters.includes(v)){w=S.label;break}let y=(g.tagName==="A"?g:g.closest("a"))?.getAttribute("href")||"#";u.get(w)?.push({text:E,href:y})});let p=e.cloneNode(!0);e.remove(),u.forEach((g,E)=>{if(g.length===0)return;g.sort((y,S)=>{let T=y.text,M=S.text;return T.localeCompare(M,"pl")});let v=p.cloneNode(!0),w=v.querySelector(".lex-header"),b=v.querySelector("[data-lex-list-wrapper]");w&&(w.textContent=E),b&&(b.innerHTML="",g.forEach(y=>{let S=c.cloneNode(!0);if(S.textContent=y.text,S.tagName==="A")S.setAttribute("href",y.href);else{let T=S.querySelector("a");if(T)T.setAttribute("href",y.href);else{let M=S.closest("a");M&&M.setAttribute("href",y.href)}}b.appendChild(S)})),t.appendChild(v)});let d=document.querySelector("[data-search='lex']"),m=document.querySelector(".clearbox");function h(){m&&(m.style.display=d&&d.value.trim()!==""?"flex":"none")}d&&d.addEventListener("input",g=>{let v=g.target.value.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),w=t.querySelectorAll("[data-lex-box]"),b=!1;w.forEach(S=>{let T=!1;S.querySelectorAll(".lex-list-item").forEach(L=>{(L.textContent?.toLowerCase()||"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(v)?(L.style.display="",T=!0):L.style.display="none"}),T?(S.style.display="",b=!0):S.style.display="none"});let y=document.querySelector("[data-empty]");y&&(b?y.style.display="none":y.style.display="flex"),h()}),m&&m.addEventListener("click",()=>{d&&(d.value="",d.dispatchEvent(new Event("input",{bubbles:!0}))),h()}),h()};var zo=class{constructor(e){$(this,"bigMenu");$(this,"tabsModule",null);$(this,"tablistContainer",null);$(this,"contentContainer",null);$(this,"tabMappings",[]);$(this,"isMobileLayout",!1);$(this,"originalButtonsWrapper",null);$(this,"accordionContainer",null);$(this,"dropdownToggle",null);$(this,"dropdownList",null);$(this,"navMobileHeader",null);$(this,"originalStructure",{buttonsWrapper:null,contentWrapper:null,buttonsParent:null,contentParent:null,buttonsNextSibling:null,contentNextSibling:null});$(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});if(this.bigMenu=e,this.tabsModule=e.querySelector('[data-module="tabs"]'),!this.tabsModule){console.error('[MegaMenuAccordion] No [data-module="tabs"] found inside [data-big-menu]');return}if(this.tablistContainer=this.tabsModule.querySelector('[role="tablist"]'),this.contentContainer=this.tabsModule.querySelector(".tabs_content-wrapper"),!this.tablistContainer||!this.contentContainer){console.error("[MegaMenuAccordion] Missing tablist or content container");return}this.originalButtonsWrapper=this.tablistContainer.closest(".tabs_buttons-wrapper"),this.originalStructure={buttonsWrapper:this.originalButtonsWrapper,contentWrapper:this.contentContainer,buttonsParent:this.originalButtonsWrapper?.parentElement||null,contentParent:this.contentContainer.parentElement,buttonsNextSibling:this.originalButtonsWrapper?.nextSibling||null,contentNextSibling:this.contentContainer.nextSibling},this.buildTabMappings(),this.dropdownToggle=e.querySelector(".w-dropdown-toggle"),this.dropdownList=e.querySelector(".w-dropdown-list"),this.navMobileHeader=e.querySelector(".nav_mobile-header"),this.init()}buildTabMappings(){if(!this.tablistContainer)return;Array.from(this.tablistContainer.querySelectorAll('[role="tab"]')).forEach(t=>{let r=t.getAttribute("aria-controls");if(!r)return;let n=document.getElementById(r);n&&this.tabMappings.push({button:t,panel:n,controlsId:r})})}init(){this.handleResize(),window.addEventListener("resize",this.handleResize)}applyMobileLayout(){!this.tabsModule||this.tabMappings.length===0||(this.isMobileLayout=!0,this.bigMenu.classList.add("is-mega-menu-accordion"),this.dropdownToggle&&(this.dropdownToggle.style.display="none"),this.navMobileHeader&&(this.navMobileHeader.style.display="none"),this.dropdownList&&(this.dropdownList.classList.add("w--open"),this.dropdownList.style.display="block",this.dropdownList.style.backgroundColor="transparent"),this.accordionContainer=document.createElement("div"),this.accordionContainer.className="mega-menu-accordion",this.accordionContainer.setAttribute("data-mega-accordion",""),this.tabMappings.forEach(({button:e,panel:t})=>{let r=document.createElement("div");r.className="mega-menu-accordion_item",r.setAttribute("data-accordion-item","");let n=document.createElement("div");n.className="mega-menu-accordion_trigger";let i=e.cloneNode(!0);i.classList.add("mega-menu-accordion_button"),i.setAttribute("data-accordion-trigger",""),i.setAttribute("aria-expanded","false"),i.querySelectorAll(".icon-embed-xxsmall, .dropdown_icon.is-nav").forEach(l=>{l.style.transition="transform 0.3s ease",l.style.transform="rotate(90deg)"}),n.appendChild(i),r.appendChild(n);let s=document.createElement("div");s.className="mega-menu-accordion_content",s.setAttribute("data-accordion-content",""),s.style.display="none",s.style.overflow="hidden",s.style.maxHeight="0",s.style.transition="max-height 0.3s ease-out";let a=t.cloneNode(!0);a.classList.add("mega-menu-accordion_panel"),a.removeAttribute("hidden"),a.removeAttribute("style"),a.style.backgroundColor="transparent",s.appendChild(a),r.appendChild(s),n.addEventListener("click",l=>{l.preventDefault(),l.stopPropagation(),this.toggleAccordionItem(r,i,s)}),this.accordionContainer.appendChild(r)}),this.originalStructure.buttonsWrapper&&(this.originalStructure.buttonsWrapper.style.display="none"),this.originalStructure.contentWrapper&&(this.originalStructure.contentWrapper.style.display="none"),this.tabsModule.appendChild(this.accordionContainer))}toggleAccordionItem(e,t,r){e.classList.contains("is-open")?this.closeAccordionItem(e,t,r):(this.closeAllAccordionItems(),this.openAccordionItem(e,t,r))}openAccordionItem(e,t,r){e.classList.add("is-open"),t.setAttribute("aria-expanded","true"),t.querySelectorAll(".icon-embed-xxsmall, .dropdown_icon.is-nav").forEach(i=>{i.style.transform="rotate(-90deg)"}),r.style.display="block";let{scrollHeight:n}=r;r.style.maxHeight=`${n}px`,setTimeout(()=>{e.classList.contains("is-open")&&(r.style.maxHeight="none")},300)}closeAccordionItem(e,t,r){e.classList.remove("is-open"),t.setAttribute("aria-expanded","false"),t.querySelectorAll(".icon-embed-xxsmall, .dropdown_icon.is-nav").forEach(n=>{n.style.transform="rotate(90deg)"}),r.style.maxHeight=`${r.scrollHeight}px`,r.offsetHeight,r.style.maxHeight="0",setTimeout(()=>{e.classList.contains("is-open")||(r.style.display="none")},300)}closeAllAccordionItems(){if(!this.accordionContainer)return;this.accordionContainer.querySelectorAll(".mega-menu-accordion_item.is-open").forEach(t=>{let r=t.querySelector("[data-accordion-trigger]"),n=t.querySelector("[data-accordion-content]");r&&n&&this.closeAccordionItem(t,r,n)})}restoreDesktopLayout(){this.isMobileLayout=!1,this.bigMenu.classList.remove("is-mega-menu-accordion"),this.accordionContainer&&(this.accordionContainer.remove(),this.accordionContainer=null),this.originalStructure.buttonsWrapper&&(this.originalStructure.buttonsWrapper.style.display=""),this.originalStructure.contentWrapper&&(this.originalStructure.contentWrapper.style.display=""),this.dropdownToggle&&(this.dropdownToggle.style.display=""),this.navMobileHeader&&(this.navMobileHeader.style.display=""),this.dropdownList&&(this.dropdownList.classList.remove("w--open"),this.dropdownList.style.display="",this.dropdownList.style.backgroundColor="")}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function Ac(){document.querySelectorAll("[data-big-menu]").forEach(e=>{new zo(e)})}var Wo=class{constructor(e){$(this,"navOverlay");$(this,"navMenu",null);$(this,"isApplied",!1);$(this,"handleResize",()=>{window.innerWidth<=991?this.applyMobileScrollStyles():this.removeMobileScrollStyles()});this.navOverlay=e,this.navMenu=e.querySelector(".w-nav-menu"),this.init()}init(){this.observeMenuState(),this.handleResize(),window.addEventListener("resize",this.handleResize)}applyMobileScrollStyles(){this.isApplied||(this.isApplied=!0,this.navOverlay.style.overflowY="auto",this.navOverlay.style.overflowX="hidden",this.navOverlay.style["-webkit-overflow-scrolling"]="touch",this.navOverlay.style.maxHeight="100dvh",this.navMenu&&(this.navMenu.style.overflowY="auto",this.navMenu.style.overflowX="hidden",this.navMenu.style["-webkit-overflow-scrolling"]="touch",this.navMenu.style.maxHeight="100dvh",this.navMenu.style.paddingBottom="100px"),this.setupScrollLocking())}removeMobileScrollStyles(){this.isApplied&&(this.isApplied=!1,this.navOverlay.style.overflowY="",this.navOverlay.style.overflowX="",this.navOverlay.style["-webkit-overflow-scrolling"]="",this.navOverlay.style.maxHeight="",this.navMenu&&(this.navMenu.style.overflowY="",this.navMenu.style.overflowX="",this.navMenu.style["-webkit-overflow-scrolling"]="",this.navMenu.style.maxHeight="",this.navMenu.style.paddingBottom=""))}setupScrollLocking(){let e=document.querySelector(".w-nav-button");e&&new MutationObserver(r=>{r.forEach(n=>{if(n.type==="attributes"&&n.attributeName==="class"){let i=e.classList.contains("w--open");this.handleMenuToggle(i)}})}).observe(e,{attributes:!0})}handleMenuToggle(e){if(e&&window.innerWidth<=991)document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.top=`-${window.scrollY}px`,this.updateOverlayHeight();else{let t=document.body.style.top;document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.top="",t&&window.scrollTo(0,parseInt(t||"0",10)*-1)}}updateOverlayHeight(){let e=window.visualViewport?.height||window.innerHeight;this.navOverlay.style.maxHeight=`${e}px`,this.navMenu&&(this.navMenu.style.maxHeight=`${e}px`)}observeMenuState(){new MutationObserver(()=>{this.navOverlay.style.display==="block"&&window.innerWidth<=991&&(this.applyMobileScrollStyles(),this.updateOverlayHeight())}).observe(this.navOverlay,{attributes:!0,attributeFilter:["style"]}),window.visualViewport&&window.visualViewport.addEventListener("resize",()=>{window.innerWidth<=991&&this.updateOverlayHeight()})}destroy(){window.removeEventListener("resize",this.handleResize),this.removeMobileScrollStyles()}};function kc(){let o=()=>{document.querySelectorAll(".w-nav-overlay").forEach(t=>{t.dataset.mobileScrollInit||(t.dataset.mobileScrollInit="true",new Wo(t))})};o(),setTimeout(o,500)}var mf='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Cc=o=>Array.from(o.querySelectorAll(mf)).filter(e=>e.offsetWidth>0||e.offsetHeight>0);function Pc(){let o=null,e=()=>document.querySelector("[data-form-modal]"),t=i=>{if(i.key!=="Tab")return;let s=e();if(!s)return;let a=Cc(s);if(i.preventDefault(),!a.length)return;let l=a.indexOf(document.activeElement);if(i.shiftKey){let c=l<=0?a.length-1:l-1;a[c].focus({preventScroll:!0})}else{let c=l>=a.length-1?0:l+1;a[c].focus({preventScroll:!0})}},r=()=>{let i=e();i&&(o=document.activeElement,i.classList.add("is-active"),requestAnimationFrame(()=>{let s=Cc(i);s.length?s[0].focus({preventScroll:!0}):(i.setAttribute("tabindex","-1"),i.focus({preventScroll:!0}))}),document.addEventListener("keydown",t))},n=()=>{let i=e();i&&(i.classList.remove("is-active"),document.removeEventListener("keydown",t),o?.focus(),o=null)};document.addEventListener("click",i=>{let s=i.target;if(s.closest('[data-trigger="form"]')){r();return}if(s.closest("[data-close-modal]")){n();return}let a=s.closest("[data-form-modal]");a&&s===a&&n()}),document.addEventListener("keydown",i=>{i.key==="Escape"&&n()})}var gf='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Hc=o=>Array.from(o.querySelectorAll(gf)).filter(e=>e.offsetWidth>0||e.offsetHeight>0);function Oc(){let o=document.querySelector("[data-modal]");if(!o)return;let e=document.querySelectorAll("[data-product-trigger]"),t=document.querySelectorAll("[data-close-modal]"),r=o.querySelectorAll(".product_item-modal-inner");o.setAttribute("tabindex","-1");let n=null;gsap.set(o,{display:"none",opacity:0,zIndex:-1,pointerEvents:"none"}),gsap.set(r,{display:"none",opacity:0});let i=c=>{if(c.key!=="Tab")return;let u=Hc(o);if(c.preventDefault(),!u.length)return;let f=u.indexOf(document.activeElement);if(c.shiftKey){let p=f<=0?u.length-1:f-1;u[p].focus({preventScroll:!0})}else{let p=f>=u.length-1?0:f+1;u[p].focus({preventScroll:!0})}},s=()=>{let c=Hc(o);c.length?c[0].focus({preventScroll:!0}):o.focus({preventScroll:!0})},a=c=>{let u=null,f=document.getElementById(c);if(f&&o.contains(f)?u=f:u=o.querySelector(`[data-modal-target="${c}"]`),!u){console.error(`No content found for target: ${c}`);return}getComputedStyle(o).display!=="none"&&getComputedStyle(o).opacity!=="0"?(r.forEach(d=>{d!==u&&d.style.display!=="none"&&gsap.to(d,{opacity:0,duration:.2,onComplete:()=>{d.style.display="none"}})}),gsap.set(u,{display:"block",opacity:0,y:10}),gsap.to(u,{opacity:1,y:0,duration:.3,delay:.2,onComplete:s})):(n=document.activeElement,document.body.style.overflow="hidden",hc(),r.forEach(m=>{m.style.display="none"}),gsap.set(u,{display:"block",opacity:1}),gsap.timeline().set(o,{display:"flex",opacity:0,zIndex:2147483647,pointerEvents:"auto"}).to(o,{opacity:1,duration:.4,ease:"power2.out",onComplete:s}),document.addEventListener("keydown",i))},l=()=>{document.removeEventListener("keydown",i),gsap.to(o,{opacity:0,pointerEvents:"none",duration:.3,ease:"power2.in",onComplete:()=>{gsap.set(o,{display:"none",zIndex:-1}),gsap.set(r,{display:"none"}),document.body.style.overflow="",mc(),n?.focus(),n=null}})};e.forEach(c=>{c.addEventListener("click",u=>{u.preventDefault();let f=c.closest("[data-product-trigger]")?.getAttribute("data-product-trigger");f&&a(f)})}),t.forEach(c=>{c.addEventListener("click",u=>{u.preventDefault(),l()})}),document.addEventListener("keydown",c=>{c.key==="Escape"&&getComputedStyle(o).display!=="none"&&getComputedStyle(o).opacity!=="0"&&l()})}var gi=new Map,Dc=991;function ps(){return window.innerWidth<=Dc}function _f(){let o="dock-custom-styles";if(document.getElementById(o))return;let e=document.createElement("style");e.id=o,e.innerHTML=`
229
+ `,document.head.appendChild(g)}for(let g=0;g<3;g++){let E=e.cloneNode(!0);E.classList.add("lex-skeleton"),E.removeAttribute("style");let v=E.querySelector("[data-lex-list-wrapper]");if(v){let w=v.querySelector(".lex-list-item");if(w){v.innerHTML="";for(let b=0;b<4;b++)v.appendChild(w.cloneNode(!0))}}t.appendChild(E),i.push(E)}}for(;n;)try{let g=await fetch(n);if(!g.ok)break;let E=await g.text(),b=new DOMParser().parseFromString(E,"text/html").querySelector("[data-lex-cms]");if(!b)break;let y=Array.from(b.querySelectorAll(".lex-list-item"));r=[...r,...y],n=b.querySelector(".w-pagination-next")?.getAttribute("href")}catch(g){console.error("Error fetching paginated lexicon items:",g);break}if(i.forEach(g=>g.remove()),e.removeAttribute("style"),r.length===0)return;let s=g=>g.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ł/g,"l").replace(/Ł/g,"L").toUpperCase(),a=[{label:"A-B",letters:["A","B"]},{label:"C-D",letters:["C","D"]},{label:"E-F",letters:["E","F"]},{label:"G-H",letters:["G","H"]},{label:"I-J",letters:["I","J"]},{label:"K-L",letters:["K","L"]},{label:"M-N",letters:["M","N"]},{label:"O-P",letters:["O","P"]},{label:"Q-R",letters:["Q","R"]},{label:"S-T",letters:["S","T"]},{label:"U-V",letters:["U","V"]},{label:"W-X",letters:["W","X"]},{label:"Y-Z",letters:["Y","Z"]}],c=e.querySelector("[data-lex-list-wrapper]")?.firstElementChild;if(!c)return;let u=new Map;a.forEach(g=>{u.set(g.label,[])});let f="0-9";u.set(f,[]),r.forEach(g=>{let E=g.textContent?.trim()||"";if(!E)return;let v=s(E.charAt(0)),w=f;for(let S of a)if(S.letters.includes(v)){w=S.label;break}let y=(g.tagName==="A"?g:g.closest("a"))?.getAttribute("href")||"#";u.get(w)?.push({text:E,href:y})});let p=e.cloneNode(!0);e.remove(),u.forEach((g,E)=>{if(g.length===0)return;g.sort((y,S)=>{let T=y.text,M=S.text;return T.localeCompare(M,"pl")});let v=p.cloneNode(!0),w=v.querySelector(".lex-header"),b=v.querySelector("[data-lex-list-wrapper]");w&&(w.textContent=E),b&&(b.innerHTML="",g.forEach(y=>{let S=c.cloneNode(!0);if(S.textContent=y.text,S.tagName==="A")S.setAttribute("href",y.href);else{let T=S.querySelector("a");if(T)T.setAttribute("href",y.href);else{let M=S.closest("a");M&&M.setAttribute("href",y.href)}}b.appendChild(S)})),t.appendChild(v)});let d=document.querySelector("[data-search='lex']"),m=document.querySelector(".clearbox");function h(){m&&(m.style.display=d&&d.value.trim()!==""?"flex":"none")}d&&d.addEventListener("input",g=>{let v=g.target.value.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),w=t.querySelectorAll("[data-lex-box]"),b=!1;w.forEach(S=>{let T=!1;S.querySelectorAll(".lex-list-item").forEach(L=>{(L.textContent?.toLowerCase()||"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(v)?(L.style.display="",T=!0):L.style.display="none"}),T?(S.style.display="",b=!0):S.style.display="none"});let y=document.querySelector("[data-empty]");y&&(b?y.style.display="none":y.style.display="flex"),h()}),m&&m.addEventListener("click",()=>{d&&(d.value="",d.dispatchEvent(new Event("input",{bubbles:!0}))),h()}),h()};var zo=class{constructor(e){$(this,"bigMenu");$(this,"tabsModule",null);$(this,"tablistContainer",null);$(this,"contentContainer",null);$(this,"tabMappings",[]);$(this,"isMobileLayout",!1);$(this,"originalButtonsWrapper",null);$(this,"accordionContainer",null);$(this,"dropdownToggle",null);$(this,"dropdownList",null);$(this,"navMobileHeader",null);$(this,"originalStructure",{buttonsWrapper:null,contentWrapper:null,buttonsParent:null,contentParent:null,buttonsNextSibling:null,contentNextSibling:null});$(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});if(this.bigMenu=e,this.tabsModule=e.querySelector('[data-module="tabs"]'),!this.tabsModule){console.error('[MegaMenuAccordion] No [data-module="tabs"] found inside [data-big-menu]');return}if(this.tablistContainer=this.tabsModule.querySelector('[role="tablist"]'),this.contentContainer=this.tabsModule.querySelector(".tabs_content-wrapper"),!this.tablistContainer||!this.contentContainer){console.error("[MegaMenuAccordion] Missing tablist or content container");return}this.originalButtonsWrapper=this.tablistContainer.closest(".tabs_buttons-wrapper"),this.originalStructure={buttonsWrapper:this.originalButtonsWrapper,contentWrapper:this.contentContainer,buttonsParent:this.originalButtonsWrapper?.parentElement||null,contentParent:this.contentContainer.parentElement,buttonsNextSibling:this.originalButtonsWrapper?.nextSibling||null,contentNextSibling:this.contentContainer.nextSibling},this.buildTabMappings(),this.dropdownToggle=e.querySelector(".w-dropdown-toggle"),this.dropdownList=e.querySelector(".w-dropdown-list"),this.navMobileHeader=e.querySelector(".nav_mobile-header"),this.init()}buildTabMappings(){if(!this.tablistContainer)return;Array.from(this.tablistContainer.querySelectorAll('[role="tab"]')).forEach(t=>{let r=t.getAttribute("aria-controls");if(!r)return;let n=document.getElementById(r);n&&this.tabMappings.push({button:t,panel:n,controlsId:r})})}init(){this.handleResize(),window.addEventListener("resize",this.handleResize)}applyMobileLayout(){!this.tabsModule||this.tabMappings.length===0||(this.isMobileLayout=!0,this.bigMenu.classList.add("is-mega-menu-accordion"),this.dropdownToggle&&(this.dropdownToggle.style.display="none"),this.navMobileHeader&&(this.navMobileHeader.style.display="none"),this.dropdownList&&(this.dropdownList.classList.add("w--open"),this.dropdownList.style.display="block",this.dropdownList.style.backgroundColor="transparent"),this.accordionContainer=document.createElement("div"),this.accordionContainer.className="mega-menu-accordion",this.accordionContainer.setAttribute("data-mega-accordion",""),this.tabMappings.forEach(({button:e,panel:t})=>{let r=document.createElement("div");r.className="mega-menu-accordion_item",r.setAttribute("data-accordion-item","");let n=document.createElement("div");n.className="mega-menu-accordion_trigger";let i=e.cloneNode(!0);i.classList.add("mega-menu-accordion_button"),i.setAttribute("data-accordion-trigger",""),i.setAttribute("aria-expanded","false"),i.querySelectorAll(".icon-embed-xxsmall, .dropdown_icon.is-nav").forEach(l=>{l.style.transition="transform 0.3s ease",l.style.transform="rotate(90deg)"}),n.appendChild(i),r.appendChild(n);let s=document.createElement("div");s.className="mega-menu-accordion_content",s.setAttribute("data-accordion-content",""),s.style.display="none",s.style.overflow="hidden",s.style.maxHeight="0",s.style.transition="max-height 0.3s ease-out";let a=t.cloneNode(!0);a.classList.add("mega-menu-accordion_panel"),a.removeAttribute("hidden"),a.removeAttribute("style"),a.style.backgroundColor="transparent",s.appendChild(a),r.appendChild(s),n.addEventListener("click",l=>{l.preventDefault(),l.stopPropagation(),this.toggleAccordionItem(r,i,s)}),this.accordionContainer.appendChild(r)}),this.originalStructure.buttonsWrapper&&(this.originalStructure.buttonsWrapper.style.display="none"),this.originalStructure.contentWrapper&&(this.originalStructure.contentWrapper.style.display="none"),this.tabsModule.appendChild(this.accordionContainer))}toggleAccordionItem(e,t,r){e.classList.contains("is-open")?this.closeAccordionItem(e,t,r):(this.closeAllAccordionItems(),this.openAccordionItem(e,t,r))}openAccordionItem(e,t,r){e.classList.add("is-open"),t.setAttribute("aria-expanded","true"),t.querySelectorAll(".icon-embed-xxsmall, .dropdown_icon.is-nav").forEach(i=>{i.style.transform="rotate(-90deg)"}),r.style.display="block";let{scrollHeight:n}=r;r.style.maxHeight=`${n}px`,setTimeout(()=>{e.classList.contains("is-open")&&(r.style.maxHeight="none")},300)}closeAccordionItem(e,t,r){e.classList.remove("is-open"),t.setAttribute("aria-expanded","false"),t.querySelectorAll(".icon-embed-xxsmall, .dropdown_icon.is-nav").forEach(n=>{n.style.transform="rotate(90deg)"}),r.style.maxHeight=`${r.scrollHeight}px`,r.offsetHeight,r.style.maxHeight="0",setTimeout(()=>{e.classList.contains("is-open")||(r.style.display="none")},300)}closeAllAccordionItems(){if(!this.accordionContainer)return;this.accordionContainer.querySelectorAll(".mega-menu-accordion_item.is-open").forEach(t=>{let r=t.querySelector("[data-accordion-trigger]"),n=t.querySelector("[data-accordion-content]");r&&n&&this.closeAccordionItem(t,r,n)})}restoreDesktopLayout(){this.isMobileLayout=!1,this.bigMenu.classList.remove("is-mega-menu-accordion"),this.accordionContainer&&(this.accordionContainer.remove(),this.accordionContainer=null),this.originalStructure.buttonsWrapper&&(this.originalStructure.buttonsWrapper.style.display=""),this.originalStructure.contentWrapper&&(this.originalStructure.contentWrapper.style.display=""),this.dropdownToggle&&(this.dropdownToggle.style.display=""),this.navMobileHeader&&(this.navMobileHeader.style.display=""),this.dropdownList&&(this.dropdownList.classList.remove("w--open"),this.dropdownList.style.display="",this.dropdownList.style.backgroundColor="")}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function Ac(){document.querySelectorAll("[data-big-menu]").forEach(e=>{new zo(e)})}var Wo=class{constructor(e){$(this,"navOverlay");$(this,"navMenu",null);$(this,"isApplied",!1);$(this,"handleResize",()=>{window.innerWidth<=991?this.applyMobileScrollStyles():this.removeMobileScrollStyles()});this.navOverlay=e,this.navMenu=e.querySelector(".w-nav-menu"),this.init()}init(){this.observeMenuState(),this.handleResize(),window.addEventListener("resize",this.handleResize)}applyMobileScrollStyles(){this.isApplied||(this.isApplied=!0,this.navOverlay.style.overflowY="auto",this.navOverlay.style.overflowX="hidden",this.navOverlay.style["-webkit-overflow-scrolling"]="touch",this.navOverlay.style.maxHeight="100dvh",this.navMenu&&(this.navMenu.style.overflowY="auto",this.navMenu.style.overflowX="hidden",this.navMenu.style["-webkit-overflow-scrolling"]="touch",this.navMenu.style.maxHeight="100dvh",this.navMenu.style.paddingBottom="100px"),this.setupScrollLocking())}removeMobileScrollStyles(){this.isApplied&&(this.isApplied=!1,this.navOverlay.style.overflowY="",this.navOverlay.style.overflowX="",this.navOverlay.style["-webkit-overflow-scrolling"]="",this.navOverlay.style.maxHeight="",this.navMenu&&(this.navMenu.style.overflowY="",this.navMenu.style.overflowX="",this.navMenu.style["-webkit-overflow-scrolling"]="",this.navMenu.style.maxHeight="",this.navMenu.style.paddingBottom=""))}setupScrollLocking(){let e=document.querySelector(".w-nav-button");e&&new MutationObserver(r=>{r.forEach(n=>{if(n.type==="attributes"&&n.attributeName==="class"){let i=e.classList.contains("w--open");this.handleMenuToggle(i)}})}).observe(e,{attributes:!0})}handleMenuToggle(e){if(e&&window.innerWidth<=991)document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.top=`-${window.scrollY}px`,this.updateOverlayHeight();else{let t=document.body.style.top;document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.top="",t&&window.scrollTo(0,parseInt(t||"0",10)*-1)}}updateOverlayHeight(){let e=window.visualViewport?.height||window.innerHeight;this.navOverlay.style.maxHeight=`${e}px`,this.navMenu&&(this.navMenu.style.maxHeight=`${e}px`)}observeMenuState(){new MutationObserver(()=>{this.navOverlay.style.display==="block"&&window.innerWidth<=991&&(this.applyMobileScrollStyles(),this.updateOverlayHeight())}).observe(this.navOverlay,{attributes:!0,attributeFilter:["style"]}),window.visualViewport&&window.visualViewport.addEventListener("resize",()=>{window.innerWidth<=991&&this.updateOverlayHeight()})}destroy(){window.removeEventListener("resize",this.handleResize),this.removeMobileScrollStyles()}};function kc(){let o=()=>{document.querySelectorAll(".w-nav-overlay").forEach(t=>{t.dataset.mobileScrollInit||(t.dataset.mobileScrollInit="true",new Wo(t))})};o(),setTimeout(o,500)}function gf(o,e){let t=o.closest(".w-form"),r=t&&t.querySelector(".w-form-done");if(!r){window.open(e,"_blank","noopener,noreferrer");return}new MutationObserver(function(i,s){let a=window.getComputedStyle(r);a.display!=="none"&&a.visibility!=="hidden"&&(window.open(e,"_blank","noopener,noreferrer"),s.disconnect())}).observe(t,{attributes:!0,attributeFilter:["style","class"],subtree:!0})}function Cc(){let o=document.getElementById("wf-form-ebook");if(!o)return;let e=document.querySelector("[data-download]");if(!e)return;let t=e.getAttribute("href");t&&(e.parentNode?.removeChild(e),o.addEventListener("submit",function r(){o.removeEventListener("submit",r),gf(o,t)}))}var _f='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Pc=o=>Array.from(o.querySelectorAll(_f)).filter(e=>e.offsetWidth>0||e.offsetHeight>0);function Hc(){let o=null,e=()=>document.querySelector("[data-form-modal]"),t=i=>{if(i.key!=="Tab")return;let s=e();if(!s)return;let a=Pc(s);if(i.preventDefault(),!a.length)return;let l=a.indexOf(document.activeElement);if(i.shiftKey){let c=l<=0?a.length-1:l-1;a[c].focus({preventScroll:!0})}else{let c=l>=a.length-1?0:l+1;a[c].focus({preventScroll:!0})}},r=()=>{let i=e();i&&(o=document.activeElement,i.classList.add("is-active"),requestAnimationFrame(()=>{let s=Pc(i);s.length?s[0].focus({preventScroll:!0}):(i.setAttribute("tabindex","-1"),i.focus({preventScroll:!0}))}),document.addEventListener("keydown",t))},n=()=>{let i=e();i&&(i.classList.remove("is-active"),document.removeEventListener("keydown",t),o?.focus(),o=null)};document.addEventListener("click",i=>{let s=i.target;if(s.closest('[data-trigger="form"]')){r();return}if(s.closest("[data-close-modal]")){n();return}let a=s.closest("[data-form-modal]");a&&s===a&&n()}),document.addEventListener("keydown",i=>{i.key==="Escape"&&n()})}var yf='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Oc=o=>Array.from(o.querySelectorAll(yf)).filter(e=>e.offsetWidth>0||e.offsetHeight>0);function Ic(){let o=document.querySelector("[data-modal]");if(!o)return;let e=document.querySelectorAll("[data-product-trigger]"),t=document.querySelectorAll("[data-close-modal]"),r=o.querySelectorAll(".product_item-modal-inner");o.setAttribute("tabindex","-1");let n=null;gsap.set(o,{display:"none",opacity:0,zIndex:-1,pointerEvents:"none"}),gsap.set(r,{display:"none",opacity:0});let i=c=>{if(c.key!=="Tab")return;let u=Oc(o);if(c.preventDefault(),!u.length)return;let f=u.indexOf(document.activeElement);if(c.shiftKey){let p=f<=0?u.length-1:f-1;u[p].focus({preventScroll:!0})}else{let p=f>=u.length-1?0:f+1;u[p].focus({preventScroll:!0})}},s=()=>{let c=Oc(o);c.length?c[0].focus({preventScroll:!0}):o.focus({preventScroll:!0})},a=c=>{let u=null,f=document.getElementById(c);if(f&&o.contains(f)?u=f:u=o.querySelector(`[data-modal-target="${c}"]`),!u){console.error(`No content found for target: ${c}`);return}getComputedStyle(o).display!=="none"&&getComputedStyle(o).opacity!=="0"?(r.forEach(d=>{d!==u&&d.style.display!=="none"&&gsap.to(d,{opacity:0,duration:.2,onComplete:()=>{d.style.display="none"}})}),gsap.set(u,{display:"block",opacity:0,y:10}),gsap.to(u,{opacity:1,y:0,duration:.3,delay:.2,onComplete:s})):(n=document.activeElement,document.body.style.overflow="hidden",hc(),r.forEach(m=>{m.style.display="none"}),gsap.set(u,{display:"block",opacity:1}),gsap.timeline().set(o,{display:"flex",opacity:0,zIndex:2147483647,pointerEvents:"auto"}).to(o,{opacity:1,duration:.4,ease:"power2.out",onComplete:s}),document.addEventListener("keydown",i))},l=()=>{document.removeEventListener("keydown",i),gsap.to(o,{opacity:0,pointerEvents:"none",duration:.3,ease:"power2.in",onComplete:()=>{gsap.set(o,{display:"none",zIndex:-1}),gsap.set(r,{display:"none"}),document.body.style.overflow="",mc(),n?.focus(),n=null}})};e.forEach(c=>{c.addEventListener("click",u=>{u.preventDefault();let f=c.closest("[data-product-trigger]")?.getAttribute("data-product-trigger");f&&a(f)})}),t.forEach(c=>{c.addEventListener("click",u=>{u.preventDefault(),l()})}),document.addEventListener("keydown",c=>{c.key==="Escape"&&getComputedStyle(o).display!=="none"&&getComputedStyle(o).opacity!=="0"&&l()})}var gi=new Map,Rc=991;function ps(){return window.innerWidth<=Rc}function vf(){let o="dock-custom-styles";if(document.getElementById(o))return;let e=document.createElement("style");e.id=o,e.innerHTML=`
230
230
  /* Base Tooltip Styles (Desktop) */
231
231
  [data-slider-dock] .nav-item__tooltip {
232
232
  font-size: 10px !important;
@@ -239,7 +239,7 @@
239
239
  padding: 0 12px !important;
240
240
  }
241
241
 
242
- @media screen and (max-width: ${Dc}px) {
242
+ @media screen and (max-width: ${Rc}px) {
243
243
  /* Mobile Tooltip Styles */
244
244
  [data-slider-dock] .nav-item__tooltip {
245
245
  font-size: 10px !important;
@@ -274,7 +274,7 @@
274
274
  flex-shrink: 0 !important;
275
275
  }
276
276
  }
277
- `,document.head.appendChild(e)}function Go(o){o.slides.forEach((e,t)=>{let r=e.querySelector(".nav-item__link"),n=e.querySelector(".nav-item__tooltip");if(!r)return;r.style.transition="transform 0.4s ease",r.style.transformOrigin="center bottom";let i=t===o.activeIndex,s=t===o.activeIndex-1||t===o.activeIndex+1;i?(r.style.transform="scale(1.4)",e.style.zIndex="100",n&&gsap.to(n,{opacity:1,y:-55,scale:1,duration:.3,ease:"power2.out",overwrite:!0})):s?(r.style.transform="scale(1.1)",e.style.zIndex="50",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0})):(r.style.transform="scale(0.8)",e.style.zIndex="1",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0}))})}function yf(o){if(gi.has(o))return;o.querySelectorAll(".nav-item").forEach(a=>{a.classList.remove("hover"),a.style.width="";let l=a.querySelector(".nav-item__link");l&&(l.style.transform="",l.style.transition="")});let t=o.getAttribute("data-dock-space"),r=t?parseFloat(t):16,n=o.parentElement,i=o.querySelector(".swiper-arrow.is-next"),s=o.querySelector(".swiper-arrow.is-prev");!i&&n&&(i=n.querySelector(".swiper-arrow.is-next")),!s&&n&&(s=n.querySelector(".swiper-arrow.is-prev")),o.style.width="100%",o.style.overflow="hidden",requestAnimationFrame(()=>{setTimeout(()=>{if(gi.has(o))return;let a={slidesPerView:"auto",slidesPerGroup:1,spaceBetween:r,loop:!1,centeredSlides:!0,freeMode:!1,watchOverflow:!0,observer:!0,observeParents:!0,resizeObserver:!0,updateOnWindowResize:!0,navigation:{nextEl:i,prevEl:s},on:{init:c=>{Go(c),setTimeout(()=>c.update(),100)},slideChange:c=>Go(c),transitionEnd:c=>Go(c)}},l=new Swiper(o,a);gi.set(o,l)},50)})}function vf(o){let e=gi.get(o);e&&(e.destroy(!0,!0),gi.delete(o))}function Rc(){return Array.from(document.querySelectorAll("[data-slider-dock]"))}function Ic(){let o=Rc(),e=ps();o.forEach(t=>{e?yf(t):vf(t)})}function bf(o,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>o(...r),e)}}function wf(){document.querySelectorAll("[data-slider-dock]").forEach(e=>{let t=Array.from(e.querySelectorAll(".nav-item"));if(t.length===0)return;let r=s=>{t.forEach((a,l)=>{let c=a.querySelector(".nav-item__link");c&&(c.style.transition="transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)",c.style.transformOrigin="center bottom",l===s?(c.style.transform="scale(2)",a.style.zIndex="100"):l===s-1||l===s+1?(c.style.transform="scale(1.25)",a.style.zIndex="50"):(c.style.transform="scale(1)",a.style.zIndex="1"))})},n=()=>{t.forEach(s=>{let a=s.querySelector(".nav-item__link");a&&(a.style.transform="scale(1)"),s.style.zIndex="",s.classList.remove("hover");let l=s.querySelector(".nav-item__tooltip");l&&gsap.to(l,{opacity:0,y:0,duration:.2,overwrite:!0})})};t.forEach((s,a)=>{s.style.position="relative";let l=s.querySelector(".nav-item__link");l&&(l.style.position="relative",l.style.zIndex="2");let c=s.querySelector(".nav-item__tooltip");c&&gsap.set(c,{position:"absolute",bottom:"100%",left:"50%",xPercent:-50,marginBottom:"-20px",opacity:0,pointerEvents:"none",display:"block"}),s.addEventListener("mouseenter",()=>{ps()||(r(a),s.classList.add("hover"),c&&gsap.to(c,{opacity:1,y:-55,duration:.3,ease:"power2.out",overwrite:!0}))}),s.addEventListener("mouseleave",()=>{ps()||c&&gsap.to(c,{opacity:0,y:0,duration:.2,overwrite:!0})})}),(e.querySelector(".nav-list")||e).addEventListener("mouseleave",()=>{ps()||n()})})}function qc(){if(typeof Swiper>"u"||Rc().length===0)return;_f(),Ic();let e=bf(Ic,150);window.addEventListener("resize",e),wf()}var _i=new Map,Vo=new Map,Ef=991;function xf(){return window.innerWidth<=Ef}function Nc(o,e){let t=o.slides.length,n=((o.realIndex!==void 0?o.realIndex:o.activeIndex)+1)/t*100;e.style.width=n+"%",e.style.transition="width 0.3s ease"}function Tf(o){if(_i.has(o))return;let e=o.getAttribute("data-mobile-slides"),t=e?parseFloat(e):1,r=o.getAttribute("data-mobile-space"),n=r?parseFloat(r):16,i=o.parentElement,s=o.querySelector(".swiper-arrow.is-next"),a=o.querySelector(".swiper-arrow.is-prev");!s&&i&&(s=i.querySelector(".swiper-arrow.is-next")),!a&&i&&(a=i.querySelector(".swiper-arrow.is-prev"));let l=o.querySelector(".swiper-progress-track"),c=o.querySelector(".swiper-progress-thumb");!l&&i&&(l=i.querySelector(".swiper-progress-track")),!c&&i&&(c=i.querySelector(".swiper-progress-thumb"));let u=o.querySelectorAll(".swiper-slide"),f=o.querySelector(".swiper-wrapper"),p=new Map;if(f){let w=f.style.cssText,b=document.createElement("div");b.style.cssText=w,p.set(f,b.style),f.style.display="flex",f.style.flexDirection="row",f.style.gap="0",f.style.gridGap="0"}u.forEach(w=>{let b=w.style.cssText,y=document.createElement("div");y.style.cssText=b,p.set(w,y.style),w.style.width="",w.style.minWidth="0",w.style.maxWidth="none",w.style.flexBasis="auto",w.style.flexShrink="0",w.style.boxSizing="border-box",w.style.display="block"}),Vo.set(o,p);let d=o.getAttribute("data-tablet-slides"),m=d?parseFloat(d):t,h=o.getAttribute("data-desktop-slides"),g=h?parseFloat(h):4,E={slidesPerView:t,spaceBetween:n,loop:!1,freeMode:!1,watchOverflow:!0,breakpoints:{768:{slidesPerView:m,spaceBetween:n},992:{slidesPerView:g,spaceBetween:0}},navigation:{nextEl:s,prevEl:a},on:{init:function(){c&&Nc(this,c)},slideChange:function(){c&&Nc(this,c)}}},v=new Swiper(o,E);_i.set(o,v),l&&(l.hasAttribute("data-progress-listener")||(l.addEventListener("click",function(w){let b=_i.get(o);if(!b)return;let y=w,S=l.getBoundingClientRect(),T=y.clientX-S.left,M=S.width,L=T/M,x=b.slides.length,P=Math.floor(L*x);b.slideTo(P)}),l.setAttribute("data-progress-listener","true")))}function Sf(o){let e=_i.get(o);if(e){e.destroy(!0,!0),_i.delete(o);let t=Vo.get(o);t&&(t.forEach((r,n)=>{n.style.cssText=r.cssText}),Vo.delete(o))}}function Bc(){return Array.from(document.querySelectorAll("[data-slider-mobile]"))}function Fc(){let o=Bc(),e=xf();o.forEach(t=>{let r=e;if(!e){let n=t.querySelector(".swiper-wrapper");n&&n.children.length>4&&(r=!0)}r?Tf(t):Sf(t)})}function Lf(o,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>o(...r),e)}}function zc(){if(typeof Swiper>"u"||Bc().length===0)return;Fc();let e=Lf(Fc,150);window.addEventListener("resize",e)}function Gc(){if(typeof Swiper>"u")return;document.querySelectorAll(".swiper:not([data-slider-mobile]):not([data-slider-dock])").forEach(e=>{let t=e,r=t.getAttribute("data-mobile-slides"),n=r?parseFloat(r):1,i=t.querySelector('[fs-list-element="item-link"]')!==null,s=t.parentElement,a=t.querySelector(".swiper-arrow.is-next"),l=t.querySelector(".swiper-arrow.is-prev");!a&&s&&(a=s.querySelector(".swiper-arrow.is-next")),!l&&s&&(l=s.querySelector(".swiper-arrow.is-prev"));let c=t.querySelector(".swiper-progress-track"),u=t.querySelector(".swiper-progress-thumb");!c&&s&&(c=s.querySelector(".swiper-progress-track")),!u&&s&&(u=s.querySelector(".swiper-progress-thumb"));let f={slidesPerView:n,spaceBetween:0,loop:!1,centeredSlides:!0,navigation:{nextEl:a,prevEl:l},breakpoints:{...i?{768:{slidesPerView:1.5,centeredSlides:!0}}:{},992:{slidesPerView:1,centeredSlides:!0}},on:{init:function(){setTimeout(()=>{yi(this),u&&Wc(this,u)},50)},slideChange:function(){yi(this),u&&Wc(this,u)},slideChangeTransitionStart:function(){yi(this)},slideChangeTransitionEnd:function(){yi(this)},transitionEnd:function(){yi(this)}}},p=new Swiper(t,f);if(c){let d=document.createElement("div");Object.assign(d.style,{position:"absolute",inset:"-12px 0",cursor:"pointer",zIndex:"1"}),c.style.position="relative",c.appendChild(d);let m=g=>{let E=c.getBoundingClientRect(),v=Math.max(0,Math.min(1,(g-E.left)/E.width)),w=p.slides.length;p.slideTo(Math.min(Math.floor(v*w),w-1))},h=!1;d.addEventListener("mousedown",g=>{h=!0,m(g.clientX)}),document.addEventListener("mousemove",g=>{h&&m(g.clientX)}),document.addEventListener("mouseup",()=>{h=!1}),d.addEventListener("touchstart",g=>{m(g.touches[0].clientX)},{passive:!0}),d.addEventListener("touchmove",g=>{m(g.touches[0].clientX)},{passive:!0})}})}function yi(o){o.slides.forEach(function(e,t){t===o.activeIndex||e.classList.contains("swiper-slide-active")?(e.style.transform="scale(1)",e.style.transition="transform 0.4s ease"):(e.style.transform="scale(0.9)",e.style.transition="transform 0.4s ease")})}function Wc(o,e){let t=o.slides.length,n=(o.realIndex+1)/t*100;e.style.width=n+"%"}var Vc="is-mobile-tabs",Yo="mobile-tabs-wrapper",Xo=class{constructor(e){$(this,"container");$(this,"menu");$(this,"content");$(this,"tabPairs",[]);$(this,"isMobileLayout",!1);$(this,"originalContentParent",null);$(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});$(this,"preventWebflowClick",e=>{e.stopImmediatePropagation()});$(this,"handleMobileTabClick",e=>{let r=e.currentTarget.getAttribute("data-w-tab")?.trim();this.tabPairs.forEach(({pill:n,tabName:i})=>{let s=n.nextElementSibling;if(!s||!s.classList.contains(Yo))return;let a=s.firstElementChild;a&&(i===r?(a.removeAttribute("hidden"),a.style.display="",s.classList.add("is-open")):(a.setAttribute("hidden","true"),a.style.display="none",s.classList.remove("is-open")))})});if(this.container=e,this.menu=e.querySelector(".w-tab-menu"),this.content=e.querySelector(".w-tab-content"),!this.menu||!this.content){console.error("[MobileTabs] Missing .w-tab-menu or .w-tab-content");return}this.originalContentParent=this.content.parentElement,this.collectTabPairs(),this.init()}collectTabPairs(){if(!this.menu||!this.content)return;let e=Array.from(this.menu.querySelectorAll("[data-w-tab]")),t=Array.from(this.content.querySelectorAll("[data-w-tab]"));e.forEach(r=>{let n=r.getAttribute("data-w-tab")?.trim();if(!n)return;let i=t.find(s=>s.getAttribute("data-w-tab")?.trim()===n);i&&this.tabPairs.push({pill:r,pane:i,tabName:n})})}init(){this.handleResize(),window.addEventListener("resize",this.handleResize.bind(this))}applyMobileLayout(){!this.menu||!this.content||(this.isMobileLayout=!0,this.container.classList.add(Vc),this.content.style.display="none",this.tabPairs.forEach(({pill:e,pane:t},r)=>{let n=document.createElement("div");n.className=Yo,n.appendChild(t),r===this.tabPairs.length-1?(t.removeAttribute("hidden"),t.style.display="",n.classList.add("is-open")):(t.setAttribute("hidden","true"),t.style.display="none",n.classList.remove("is-open")),e.insertAdjacentElement("afterend",n),e.addEventListener("click",this.preventWebflowClick,{capture:!0})}))}restoreDesktopLayout(){if(!this.menu||!this.content)return;this.isMobileLayout=!1,this.container.classList.remove(Vc),this.tabPairs.forEach(({pill:t,pane:r})=>{t.removeEventListener("click",this.handleMobileTabClick),t.removeEventListener("click",this.preventWebflowClick,{capture:!0}),t.style.pointerEvents="",r.removeAttribute("hidden"),r.style.display="",this.content.appendChild(r)}),this.menu.querySelectorAll(`.${Yo}`).forEach(t=>t.remove()),this.content.style.display=""}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function Yc(){document.querySelectorAll("[data-tabs-mobile]").forEach(e=>{if(e.classList.contains("w-tabs")||e.querySelector(".w-tabs")){let t=e.classList.contains("w-tabs")?e:e.querySelector(".w-tabs");t&&new Xo(t)}})}var hs=class{constructor(e){$(this,"tablistNode");$(this,"tabs",[]);$(this,"firstTab",null);$(this,"lastTab",null);$(this,"tabpanels",[]);$(this,"pendingTimeouts",[]);this.tablistNode=e;let t=this.tablistNode.getAttribute("data-orientation")||"horizontal";this.tablistNode.setAttribute("aria-orientation",t),this.tabs=Array.from(this.tablistNode.querySelectorAll("[role=tab]")),this.tabs.forEach(n=>{let i=n.getAttribute("aria-controls");if(!i)return;let s=document.getElementById(i);n.tabIndex=n.getAttribute("aria-selected")==="true"?0:-1,s&&(s.setAttribute("role","tabpanel"),s.setAttribute("aria-labelledby",n.id),s.removeAttribute("tabindex"),this.tabpanels.push(s)),n.addEventListener("keydown",this.onKeydown.bind(this)),n.addEventListener("click",this.onClick.bind(this)),this.firstTab||(this.firstTab=n),this.lastTab=n});let r=this.tabs.find(n=>n.getAttribute("aria-selected")==="true")||this.firstTab;r&&(window.innerWidth<=991&&this.tablistNode.closest(".tabs_component")?this.setInitialMobileTab(r):this.setSelectedTab(r,!1))}setTabsContentHeight(){let e=this.tablistNode.closest(".tabs_component");if(!e)return;let t=e.querySelector(".tabs_component-content");if(!t)return;if(window.innerWidth<=991){t.style.minHeight="";return}let r=t.querySelectorAll(":scope > *");if(r.length===0)return;let n=0;r.forEach(i=>{let s=i,a=s.hasAttribute("hidden");a&&(s.style.visibility="hidden",s.style.display="block",s.style.position="absolute",s.removeAttribute("hidden")),n=Math.max(n,s.offsetHeight),a&&(s.setAttribute("hidden","true"),s.style.display="",s.style.position="",s.style.visibility="")}),t.style.minHeight=n+"px"}setInitialMobileTab(e){let t=e.getAttribute("aria-controls"),r=t?document.getElementById(t):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),r&&(r.classList.add("is-active-tab"),r.removeAttribute("hidden"),r.style.opacity="1",r.removeAttribute("style"))}setSelectedTab(e,t=!0){this.pendingTimeouts.forEach(a=>clearTimeout(a)),this.pendingTimeouts=[];let n=this.tablistNode.closest(".tabs_component")!==null;this.tabs.forEach(a=>{if(e===a)return;let l=a.getAttribute("aria-controls"),c=l?document.getElementById(l):null;a.setAttribute("aria-selected","false"),a.tabIndex=-1,a.classList.remove("is-active-tab"),c&&(c.classList.remove("is-active-tab"),c.setAttribute("hidden","true"),c.removeAttribute("style"))});let i=e.getAttribute("aria-controls"),s=i?document.getElementById(i):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),s&&(s.classList.add("is-active-tab"),s.removeAttribute("hidden"),n?(s.style.opacity="0",s.style.transition="opacity 0.2s ease-in-out",s.offsetWidth,this.pendingTimeouts.push(window.setTimeout(()=>{s.style.opacity="1"},10)),this.pendingTimeouts.push(window.setTimeout(()=>{s.removeAttribute("style")},250))):s.removeAttribute("style")),t&&e.focus({preventScroll:!0})}setSelectedToPreviousTab(e){if(e===this.firstTab&&this.lastTab)this.setSelectedTab(this.lastTab);else{let t=this.tabs.indexOf(e);this.setSelectedTab(this.tabs[t-1])}}setSelectedToNextTab(e){if(e===this.lastTab&&this.firstTab)this.setSelectedTab(this.firstTab);else{let t=this.tabs.indexOf(e);this.setSelectedTab(this.tabs[t+1])}}onKeydown(e){let t=e.currentTarget,r=!1,n=this.tablistNode.getAttribute("aria-orientation")||"horizontal";switch(e.key){case"ArrowLeft":n==="horizontal"&&(this.setSelectedToPreviousTab(t),r=!0);break;case"ArrowRight":n==="horizontal"&&(this.setSelectedToNextTab(t),r=!0);break;case"ArrowUp":n==="vertical"&&(this.setSelectedToPreviousTab(t),r=!0);break;case"ArrowDown":n==="vertical"&&(this.setSelectedToNextTab(t),r=!0);break;case"Home":this.firstTab&&(this.setSelectedTab(this.firstTab),r=!0);break;case"End":this.lastTab&&(this.setSelectedTab(this.lastTab),r=!0);break;case"Enter":case" ":this.setSelectedTab(t),r=!0;break;default:break}r&&(e.stopPropagation(),e.preventDefault())}onClick(e){this.setSelectedTab(e.currentTarget)}};function Xc(){document.querySelectorAll('[data-module="tabs"]').forEach(t=>{let r=t.querySelector('[role="tablist"]');if(r instanceof HTMLElement){if(t.hasAttribute("data-orientation")&&!r.hasAttribute("data-orientation")){let n=t.getAttribute("data-orientation");n&&r.setAttribute("data-orientation",n)}new hs(r)}}),document.querySelectorAll('[role="tablist"]').forEach(t=>{t instanceof HTMLElement&&!t.closest('[data-module="tabs"]')&&new hs(t)})}function Uc(){let e=document.querySelectorAll(".tabs_component-menu");if(e.length===0)return;let t=new Map;e.forEach(n=>{n.querySelectorAll("a[data-w-tab]").forEach(s=>{t.set(s,s.getAttribute("href")||"")})});function r(){let n=window.innerWidth<=991;t.forEach((i,s)=>{if(n){let a=s.getAttribute("data-w-tab");a&&s.setAttribute("href",`/branze/${a}`)}else s.setAttribute("href",i)})}r(),window.addEventListener("resize",r)}window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{$o(),pc(),Xc(),Uc(),Yc(),xc(),Lc(),Ac(),kc(),yc(),vc(),Pc(),Oc(),Gc(),zc(),qc(),_c(),ec(),bc(),gc(),Zl(),Jl(),jo(),Zo(),Ko(),Ql(),jl(),dc(),fc(),Ec(),wc(),Mc()});})();
277
+ `,document.head.appendChild(e)}function Go(o){o.slides.forEach((e,t)=>{let r=e.querySelector(".nav-item__link"),n=e.querySelector(".nav-item__tooltip");if(!r)return;r.style.transition="transform 0.4s ease",r.style.transformOrigin="center bottom";let i=t===o.activeIndex,s=t===o.activeIndex-1||t===o.activeIndex+1;i?(r.style.transform="scale(1.4)",e.style.zIndex="100",n&&gsap.to(n,{opacity:1,y:-55,scale:1,duration:.3,ease:"power2.out",overwrite:!0})):s?(r.style.transform="scale(1.1)",e.style.zIndex="50",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0})):(r.style.transform="scale(0.8)",e.style.zIndex="1",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0}))})}function bf(o){if(gi.has(o))return;o.querySelectorAll(".nav-item").forEach(a=>{a.classList.remove("hover"),a.style.width="";let l=a.querySelector(".nav-item__link");l&&(l.style.transform="",l.style.transition="")});let t=o.getAttribute("data-dock-space"),r=t?parseFloat(t):16,n=o.parentElement,i=o.querySelector(".swiper-arrow.is-next"),s=o.querySelector(".swiper-arrow.is-prev");!i&&n&&(i=n.querySelector(".swiper-arrow.is-next")),!s&&n&&(s=n.querySelector(".swiper-arrow.is-prev")),o.style.width="100%",o.style.overflow="hidden",requestAnimationFrame(()=>{setTimeout(()=>{if(gi.has(o))return;let a={slidesPerView:"auto",slidesPerGroup:1,spaceBetween:r,loop:!1,centeredSlides:!0,freeMode:!1,watchOverflow:!0,observer:!0,observeParents:!0,resizeObserver:!0,updateOnWindowResize:!0,navigation:{nextEl:i,prevEl:s},on:{init:c=>{Go(c),setTimeout(()=>c.update(),100)},slideChange:c=>Go(c),transitionEnd:c=>Go(c)}},l=new Swiper(o,a);gi.set(o,l)},50)})}function wf(o){let e=gi.get(o);e&&(e.destroy(!0,!0),gi.delete(o))}function qc(){return Array.from(document.querySelectorAll("[data-slider-dock]"))}function Dc(){let o=qc(),e=ps();o.forEach(t=>{e?bf(t):wf(t)})}function Ef(o,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>o(...r),e)}}function xf(){document.querySelectorAll("[data-slider-dock]").forEach(e=>{let t=Array.from(e.querySelectorAll(".nav-item"));if(t.length===0)return;let r=s=>{t.forEach((a,l)=>{let c=a.querySelector(".nav-item__link");c&&(c.style.transition="transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)",c.style.transformOrigin="center bottom",l===s?(c.style.transform="scale(2)",a.style.zIndex="100"):l===s-1||l===s+1?(c.style.transform="scale(1.25)",a.style.zIndex="50"):(c.style.transform="scale(1)",a.style.zIndex="1"))})},n=()=>{t.forEach(s=>{let a=s.querySelector(".nav-item__link");a&&(a.style.transform="scale(1)"),s.style.zIndex="",s.classList.remove("hover");let l=s.querySelector(".nav-item__tooltip");l&&gsap.to(l,{opacity:0,y:0,duration:.2,overwrite:!0})})};t.forEach((s,a)=>{s.style.position="relative";let l=s.querySelector(".nav-item__link");l&&(l.style.position="relative",l.style.zIndex="2");let c=s.querySelector(".nav-item__tooltip");c&&gsap.set(c,{position:"absolute",bottom:"100%",left:"50%",xPercent:-50,marginBottom:"-20px",opacity:0,pointerEvents:"none",display:"block"}),s.addEventListener("mouseenter",()=>{ps()||(r(a),s.classList.add("hover"),c&&gsap.to(c,{opacity:1,y:-55,duration:.3,ease:"power2.out",overwrite:!0}))}),s.addEventListener("mouseleave",()=>{ps()||c&&gsap.to(c,{opacity:0,y:0,duration:.2,overwrite:!0})})}),(e.querySelector(".nav-list")||e).addEventListener("mouseleave",()=>{ps()||n()})})}function Nc(){if(typeof Swiper>"u"||qc().length===0)return;vf(),Dc();let e=Ef(Dc,150);window.addEventListener("resize",e),xf()}var _i=new Map,Vo=new Map,Tf=991;function Sf(){return window.innerWidth<=Tf}function Fc(o,e){let t=o.slides.length,n=((o.realIndex!==void 0?o.realIndex:o.activeIndex)+1)/t*100;e.style.width=n+"%",e.style.transition="width 0.3s ease"}function Lf(o){if(_i.has(o))return;let e=o.getAttribute("data-mobile-slides"),t=e?parseFloat(e):1,r=o.getAttribute("data-mobile-space"),n=r?parseFloat(r):16,i=o.parentElement,s=o.querySelector(".swiper-arrow.is-next"),a=o.querySelector(".swiper-arrow.is-prev");!s&&i&&(s=i.querySelector(".swiper-arrow.is-next")),!a&&i&&(a=i.querySelector(".swiper-arrow.is-prev"));let l=o.querySelector(".swiper-progress-track"),c=o.querySelector(".swiper-progress-thumb");!l&&i&&(l=i.querySelector(".swiper-progress-track")),!c&&i&&(c=i.querySelector(".swiper-progress-thumb"));let u=o.querySelectorAll(".swiper-slide"),f=o.querySelector(".swiper-wrapper"),p=new Map;if(f){let w=f.style.cssText,b=document.createElement("div");b.style.cssText=w,p.set(f,b.style),f.style.display="flex",f.style.flexDirection="row",f.style.gap="0",f.style.gridGap="0"}u.forEach(w=>{let b=w.style.cssText,y=document.createElement("div");y.style.cssText=b,p.set(w,y.style),w.style.width="",w.style.minWidth="0",w.style.maxWidth="none",w.style.flexBasis="auto",w.style.flexShrink="0",w.style.boxSizing="border-box",w.style.display="block"}),Vo.set(o,p);let d=o.getAttribute("data-tablet-slides"),m=d?parseFloat(d):t,h=o.getAttribute("data-desktop-slides"),g=h?parseFloat(h):4,E={slidesPerView:t,spaceBetween:n,loop:!1,freeMode:!1,watchOverflow:!0,breakpoints:{768:{slidesPerView:m,spaceBetween:n},992:{slidesPerView:g,spaceBetween:0}},navigation:{nextEl:s,prevEl:a},on:{init:function(){c&&Fc(this,c)},slideChange:function(){c&&Fc(this,c)}}},v=new Swiper(o,E);_i.set(o,v),l&&(l.hasAttribute("data-progress-listener")||(l.addEventListener("click",function(w){let b=_i.get(o);if(!b)return;let y=w,S=l.getBoundingClientRect(),T=y.clientX-S.left,M=S.width,L=T/M,x=b.slides.length,P=Math.floor(L*x);b.slideTo(P)}),l.setAttribute("data-progress-listener","true")))}function Mf(o){let e=_i.get(o);if(e){e.destroy(!0,!0),_i.delete(o);let t=Vo.get(o);t&&(t.forEach((r,n)=>{n.style.cssText=r.cssText}),Vo.delete(o))}}function zc(){return Array.from(document.querySelectorAll("[data-slider-mobile]"))}function Bc(){let o=zc(),e=Sf();o.forEach(t=>{let r=e;if(!e){let n=t.querySelector(".swiper-wrapper");n&&n.children.length>4&&(r=!0)}r?Lf(t):Mf(t)})}function Af(o,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>o(...r),e)}}function Wc(){if(typeof Swiper>"u"||zc().length===0)return;Bc();let e=Af(Bc,150);window.addEventListener("resize",e)}function Vc(){if(typeof Swiper>"u")return;document.querySelectorAll(".swiper:not([data-slider-mobile]):not([data-slider-dock])").forEach(e=>{let t=e,r=t.getAttribute("data-mobile-slides"),n=r?parseFloat(r):1,i=t.querySelector('[fs-list-element="item-link"]')!==null,s=t.parentElement,a=t.querySelector(".swiper-arrow.is-next"),l=t.querySelector(".swiper-arrow.is-prev");!a&&s&&(a=s.querySelector(".swiper-arrow.is-next")),!l&&s&&(l=s.querySelector(".swiper-arrow.is-prev"));let c=t.querySelector(".swiper-progress-track"),u=t.querySelector(".swiper-progress-thumb");!c&&s&&(c=s.querySelector(".swiper-progress-track")),!u&&s&&(u=s.querySelector(".swiper-progress-thumb"));let f={slidesPerView:n,spaceBetween:0,loop:!1,centeredSlides:!0,navigation:{nextEl:a,prevEl:l},breakpoints:{...i?{768:{slidesPerView:1.5,centeredSlides:!0}}:{},992:{slidesPerView:1,centeredSlides:!0}},on:{init:function(){setTimeout(()=>{yi(this),u&&Gc(this,u)},50)},slideChange:function(){yi(this),u&&Gc(this,u)},slideChangeTransitionStart:function(){yi(this)},slideChangeTransitionEnd:function(){yi(this)},transitionEnd:function(){yi(this)}}},p=new Swiper(t,f);if(c){let d=document.createElement("div");Object.assign(d.style,{position:"absolute",inset:"-12px 0",cursor:"pointer",zIndex:"1"}),c.style.position="relative",c.appendChild(d);let m=g=>{let E=c.getBoundingClientRect(),v=Math.max(0,Math.min(1,(g-E.left)/E.width)),w=p.slides.length;p.slideTo(Math.min(Math.floor(v*w),w-1))},h=!1;d.addEventListener("mousedown",g=>{h=!0,m(g.clientX)}),document.addEventListener("mousemove",g=>{h&&m(g.clientX)}),document.addEventListener("mouseup",()=>{h=!1}),d.addEventListener("touchstart",g=>{m(g.touches[0].clientX)},{passive:!0}),d.addEventListener("touchmove",g=>{m(g.touches[0].clientX)},{passive:!0})}})}function yi(o){o.slides.forEach(function(e,t){t===o.activeIndex||e.classList.contains("swiper-slide-active")?(e.style.transform="scale(1)",e.style.transition="transform 0.4s ease"):(e.style.transform="scale(0.9)",e.style.transition="transform 0.4s ease")})}function Gc(o,e){let t=o.slides.length,n=(o.realIndex+1)/t*100;e.style.width=n+"%"}var Yc="is-mobile-tabs",Yo="mobile-tabs-wrapper",Xo=class{constructor(e){$(this,"container");$(this,"menu");$(this,"content");$(this,"tabPairs",[]);$(this,"isMobileLayout",!1);$(this,"originalContentParent",null);$(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});$(this,"preventWebflowClick",e=>{e.stopImmediatePropagation()});$(this,"handleMobileTabClick",e=>{let r=e.currentTarget.getAttribute("data-w-tab")?.trim();this.tabPairs.forEach(({pill:n,tabName:i})=>{let s=n.nextElementSibling;if(!s||!s.classList.contains(Yo))return;let a=s.firstElementChild;a&&(i===r?(a.removeAttribute("hidden"),a.style.display="",s.classList.add("is-open")):(a.setAttribute("hidden","true"),a.style.display="none",s.classList.remove("is-open")))})});if(this.container=e,this.menu=e.querySelector(".w-tab-menu"),this.content=e.querySelector(".w-tab-content"),!this.menu||!this.content){console.error("[MobileTabs] Missing .w-tab-menu or .w-tab-content");return}this.originalContentParent=this.content.parentElement,this.collectTabPairs(),this.init()}collectTabPairs(){if(!this.menu||!this.content)return;let e=Array.from(this.menu.querySelectorAll("[data-w-tab]")),t=Array.from(this.content.querySelectorAll("[data-w-tab]"));e.forEach(r=>{let n=r.getAttribute("data-w-tab")?.trim();if(!n)return;let i=t.find(s=>s.getAttribute("data-w-tab")?.trim()===n);i&&this.tabPairs.push({pill:r,pane:i,tabName:n})})}init(){this.handleResize(),window.addEventListener("resize",this.handleResize.bind(this))}applyMobileLayout(){!this.menu||!this.content||(this.isMobileLayout=!0,this.container.classList.add(Yc),this.content.style.display="none",this.tabPairs.forEach(({pill:e,pane:t},r)=>{let n=document.createElement("div");n.className=Yo,n.appendChild(t),r===this.tabPairs.length-1?(t.removeAttribute("hidden"),t.style.display="",n.classList.add("is-open")):(t.setAttribute("hidden","true"),t.style.display="none",n.classList.remove("is-open")),e.insertAdjacentElement("afterend",n),e.addEventListener("click",this.preventWebflowClick,{capture:!0})}))}restoreDesktopLayout(){if(!this.menu||!this.content)return;this.isMobileLayout=!1,this.container.classList.remove(Yc),this.tabPairs.forEach(({pill:t,pane:r})=>{t.removeEventListener("click",this.handleMobileTabClick),t.removeEventListener("click",this.preventWebflowClick,{capture:!0}),t.style.pointerEvents="",r.removeAttribute("hidden"),r.style.display="",this.content.appendChild(r)}),this.menu.querySelectorAll(`.${Yo}`).forEach(t=>t.remove()),this.content.style.display=""}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function Xc(){document.querySelectorAll("[data-tabs-mobile]").forEach(e=>{if(e.classList.contains("w-tabs")||e.querySelector(".w-tabs")){let t=e.classList.contains("w-tabs")?e:e.querySelector(".w-tabs");t&&new Xo(t)}})}var hs=class{constructor(e){$(this,"tablistNode");$(this,"tabs",[]);$(this,"firstTab",null);$(this,"lastTab",null);$(this,"tabpanels",[]);$(this,"pendingTimeouts",[]);this.tablistNode=e;let t=this.tablistNode.getAttribute("data-orientation")||"horizontal";this.tablistNode.setAttribute("aria-orientation",t),this.tabs=Array.from(this.tablistNode.querySelectorAll("[role=tab]")),this.tabs.forEach(n=>{let i=n.getAttribute("aria-controls");if(!i)return;let s=document.getElementById(i);n.tabIndex=n.getAttribute("aria-selected")==="true"?0:-1,s&&(s.setAttribute("role","tabpanel"),s.setAttribute("aria-labelledby",n.id),s.removeAttribute("tabindex"),this.tabpanels.push(s)),n.addEventListener("keydown",this.onKeydown.bind(this)),n.addEventListener("click",this.onClick.bind(this)),this.firstTab||(this.firstTab=n),this.lastTab=n});let r=this.tabs.find(n=>n.getAttribute("aria-selected")==="true")||this.firstTab;r&&(window.innerWidth<=991&&this.tablistNode.closest(".tabs_component")?this.setInitialMobileTab(r):this.setSelectedTab(r,!1))}setTabsContentHeight(){let e=this.tablistNode.closest(".tabs_component");if(!e)return;let t=e.querySelector(".tabs_component-content");if(!t)return;if(window.innerWidth<=991){t.style.minHeight="";return}let r=t.querySelectorAll(":scope > *");if(r.length===0)return;let n=0;r.forEach(i=>{let s=i,a=s.hasAttribute("hidden");a&&(s.style.visibility="hidden",s.style.display="block",s.style.position="absolute",s.removeAttribute("hidden")),n=Math.max(n,s.offsetHeight),a&&(s.setAttribute("hidden","true"),s.style.display="",s.style.position="",s.style.visibility="")}),t.style.minHeight=n+"px"}setInitialMobileTab(e){let t=e.getAttribute("aria-controls"),r=t?document.getElementById(t):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),r&&(r.classList.add("is-active-tab"),r.removeAttribute("hidden"),r.style.opacity="1",r.removeAttribute("style"))}setSelectedTab(e,t=!0){this.pendingTimeouts.forEach(a=>clearTimeout(a)),this.pendingTimeouts=[];let n=this.tablistNode.closest(".tabs_component")!==null;this.tabs.forEach(a=>{if(e===a)return;let l=a.getAttribute("aria-controls"),c=l?document.getElementById(l):null;a.setAttribute("aria-selected","false"),a.tabIndex=-1,a.classList.remove("is-active-tab"),c&&(c.classList.remove("is-active-tab"),c.setAttribute("hidden","true"),c.removeAttribute("style"))});let i=e.getAttribute("aria-controls"),s=i?document.getElementById(i):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),s&&(s.classList.add("is-active-tab"),s.removeAttribute("hidden"),n?(s.style.opacity="0",s.style.transition="opacity 0.2s ease-in-out",s.offsetWidth,this.pendingTimeouts.push(window.setTimeout(()=>{s.style.opacity="1"},10)),this.pendingTimeouts.push(window.setTimeout(()=>{s.removeAttribute("style")},250))):s.removeAttribute("style")),t&&e.focus({preventScroll:!0})}setSelectedToPreviousTab(e){if(e===this.firstTab&&this.lastTab)this.setSelectedTab(this.lastTab);else{let t=this.tabs.indexOf(e);this.setSelectedTab(this.tabs[t-1])}}setSelectedToNextTab(e){if(e===this.lastTab&&this.firstTab)this.setSelectedTab(this.firstTab);else{let t=this.tabs.indexOf(e);this.setSelectedTab(this.tabs[t+1])}}onKeydown(e){let t=e.currentTarget,r=!1,n=this.tablistNode.getAttribute("aria-orientation")||"horizontal";switch(e.key){case"ArrowLeft":n==="horizontal"&&(this.setSelectedToPreviousTab(t),r=!0);break;case"ArrowRight":n==="horizontal"&&(this.setSelectedToNextTab(t),r=!0);break;case"ArrowUp":n==="vertical"&&(this.setSelectedToPreviousTab(t),r=!0);break;case"ArrowDown":n==="vertical"&&(this.setSelectedToNextTab(t),r=!0);break;case"Home":this.firstTab&&(this.setSelectedTab(this.firstTab),r=!0);break;case"End":this.lastTab&&(this.setSelectedTab(this.lastTab),r=!0);break;case"Enter":case" ":this.setSelectedTab(t),r=!0;break;default:break}r&&(e.stopPropagation(),e.preventDefault())}onClick(e){this.setSelectedTab(e.currentTarget)}};function Uc(){document.querySelectorAll('[data-module="tabs"]').forEach(t=>{let r=t.querySelector('[role="tablist"]');if(r instanceof HTMLElement){if(t.hasAttribute("data-orientation")&&!r.hasAttribute("data-orientation")){let n=t.getAttribute("data-orientation");n&&r.setAttribute("data-orientation",n)}new hs(r)}}),document.querySelectorAll('[role="tablist"]').forEach(t=>{t instanceof HTMLElement&&!t.closest('[data-module="tabs"]')&&new hs(t)})}function Kc(){let e=document.querySelectorAll(".tabs_component-menu");if(e.length===0)return;let t=new Map;e.forEach(n=>{n.querySelectorAll("a[data-w-tab]").forEach(s=>{t.set(s,s.getAttribute("href")||"")})});function r(){let n=window.innerWidth<=991;t.forEach((i,s)=>{if(n){let a=s.getAttribute("data-w-tab");a&&s.setAttribute("href",`/branze/${a}`)}else s.setAttribute("href",i)})}r(),window.addEventListener("resize",r)}window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{$o(),pc(),Uc(),Kc(),Xc(),xc(),Lc(),Ac(),kc(),yc(),vc(),Cc(),Hc(),Ic(),Vc(),Wc(),Nc(),_c(),ec(),bc(),gc(),Zl(),Jl(),jo(),Zo(),Ko(),Ql(),jl(),dc(),fc(),Ec(),wc(),Mc()});})();
278
278
  /*! Bundled license information:
279
279
 
280
280
  gsap/gsap-core.js:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anegis-webflow-new",
3
- "version": "6.1.2",
3
+ "version": "6.2.0",
4
4
  "description": "Webflow development project for Anegis",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/ANEGIS/anegis-webflow-new#readme",
package/src/index.ts CHANGED
@@ -22,6 +22,7 @@ import { initSmartNav } from './components/layout/SmartNav';
22
22
  import { initLexicon } from './components/lexicon/Lexicon';
23
23
  import { initMegaMenuAccordion } from './components/menu/MegaMenuAccordion';
24
24
  import { initMobileNavScroll } from './components/menu/MobileNavScroll';
25
+ import { initEbookDownload } from './components/forms/EbookDownload';
25
26
  import { initFormModal } from './components/modal/FormModal';
26
27
  import { initProductsModal } from './components/modal/ProductsModal';
27
28
  import { initDockSliders } from './components/sliders/DockSlider';
@@ -45,6 +46,7 @@ window.Webflow.push(() => {
45
46
  initMobileNavScroll();
46
47
  initFaqCards();
47
48
  initProductCards();
49
+ initEbookDownload();
48
50
  initFormModal();
49
51
  initProductsModal();
50
52