anegis-webflow-new 6.1.1 → 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 Ac=Object.defineProperty;var kc=(a,e,t)=>e in a?Ac(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var U=(a,e,t)=>kc(a,typeof e!="symbol"?e+"":e,t);function Fs(){let a=document.querySelector("[data-challenge-list]"),e=document.querySelector("[data-heading-card]"),t=document.querySelector("[data-cta-card]");a&&e&&a.insertAdjacentElement("afterbegin",e),a&&t&&a.insertAdjacentElement("beforeend",t)}var Ns=()=>{};function uo(a){let e=a.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 Cc=[.224,.478,.463],Pc=[.106,.275,.435],Hc=[.047,.047,.047],Bs=()=>{let a=document.querySelectorAll("[data-blob-main]");a.length!==0&&a.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"),o=t.getAttribute("data-blur")||"1.2rem",s=r&&uo(r)||Cc,l=n&&uo(n)||Pc,c=i&&uo(i)||Hc,u=document.createElement("canvas");u.style.cssText=`position:absolute;inset:0;width:100%;height:100%;filter:blur(${o});`,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(W,ie,oe){let K=W.createShader(ie);return K?(W.shaderSource(K,oe),W.compileShader(K),W.getShaderParameter(K,W.COMPILE_STATUS)?K:(console.error("Shader compile error:",W.getShaderInfoLog(K)),W.deleteShader(K),null)):null}let v=g(d,d.VERTEX_SHADER,m),_=g(d,d.FRAGMENT_SHADER,h);if(!v||!_)return;let w=d.createProgram();if(!w)return;if(d.attachShader(w,v),d.attachShader(w,_),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 E=d.getAttribLocation(w,"a_position"),L=d.getUniformLocation(w,"u_time"),T=d.getUniformLocation(w,"u_resolution"),A=d.getUniformLocation(w,"u_color1"),M=d.getUniformLocation(w,"u_color2"),x=d.getUniformLocation(w,"u_colorBg");function P(){let W=window.devicePixelRatio||1,ie=Math.floor(u.clientWidth*W),oe=Math.floor(u.clientHeight*W);(u.width!==ie||u.height!==oe)&&(u.width=ie,u.height=oe),(f.width!==ie||f.height!==oe)&&(f.width=ie,f.height=oe)}let C,D=performance.now(),N=0,z=12,q=.08,k=4,I=null;function X(){P(),d.viewport(0,0,u.width,u.height),d.useProgram(w);let W=(performance.now()-D)/1e3;d.uniform1f(L,W),d.uniform2f(T,u.width,u.height),d.uniform3f(A,s[0],s[1],s[2]),d.uniform3f(M,l[0],l[1],l[2]),d.uniform3f(x,c[0],c[1],c[2]),d.enableVertexAttribArray(E),d.bindBuffer(d.ARRAY_BUFFER,b),d.vertexAttribPointer(E,2,d.FLOAT,!1,0,0),d.drawArrays(d.TRIANGLES,0,6);let ie=performance.now();if(p&&ie-N>1e3/z){N=ie;let oe=Math.ceil(f.width/k),K=Math.ceil(f.height/k);if(oe<=0||K<=0)return;(!I||I.width!==oe||I.height!==K)&&(I=p.createImageData(oe,K));let{data:le}=I;for(let me=0;me<le.length;me+=4){let se=(Math.random()-.5)*255*q;le[me]=128+se,le[me+1]=128+se,le[me+2]=128+se,le[me+3]=255}p.clearRect(0,0,f.width,f.height),p.imageSmoothingEnabled=!1,p.putImageData(I,0,0),p.drawImage(f,0,0,oe,K,0,0,f.width,f.height)}C=requestAnimationFrame(X)}X();let y=new MutationObserver(W=>{for(let ie of W)for(let oe of ie.removedNodes)(oe===u||oe instanceof Element&&oe.contains(u))&&(cancelAnimationFrame(C),y.disconnect())});y.observe(t.parentElement||document.body,{childList:!0,subtree:!0}),requestAnimationFrame(()=>{t.style.opacity="1"})})};function zs(a,e=0){let t=a.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 o=!1;return function(l){if(o)return;o=!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}),o=!1}})}}function Ws(){document.querySelectorAll(".content_wrapper-outer").forEach(a=>{let e=a,t=window.innerWidth,r=t<=991,n=t<=767,i=e.querySelector('[data-scroll="vertical"]'),o=e.querySelector(".content-arrow.is-top"),s=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(k=>l.appendChild(k)),l.querySelector(".slider_collection-wrapper")?.remove();let u=e.querySelector(".solutions_list-wrapper"),f=e.querySelector(".benefits_collection-wrapper"),p=u?zs(u,0):null,d=f?zs(f,40):null;if(r){let se=function(){Array.from(l.querySelectorAll(".content-col-item")).forEach((pe,ae)=>{pe.classList.toggle("is-active",ae===1)})},Pe=function(){Ee||(Ee=!0,p?.("next"),d?.("next"),gsap.to(l,{x:W-X,duration:.5,ease:"power3.inOut",onComplete(){let pe=l.firstElementChild;l.appendChild(pe),gsap.set(l,{x:W}),se(),Ee=!1}}))},qt=function(){if(Ee)return;Ee=!0,p?.("prev"),d?.("prev");let pe=Array.from(l.querySelectorAll(".content-col-item")),ae=pe[pe.length-1];l.insertBefore(ae,l.firstElementChild),gsap.fromTo(l,{x:W-X},{x:W,duration:.5,ease:"power3.inOut",onComplete(){se(),Ee=!1}})},$=function(){Me===null&&(Me=setInterval(Pe,Ge))},fe=function(){Me!==null&&(clearInterval(Me),Me=null)};var M=se,P=Pe,C=qt,z=$,q=fe;let I=l.parentElement,X=n?I.offsetWidth/1.5:c[0].offsetWidth,y=n?I.offsetWidth:3*X,W=n?-.75*X:0;c.forEach(pe=>{pe.style.cssText+=`; flex-shrink: 0; width: ${X}px;`});let ie=4,oe=c.length;for(;c.length<ie;){let pe=c[c.length%oe].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*X}px !important; height: auto !important; min-height: 0 !important; max-height: none !important;`;let K=document.createElement("div");K.style.cssText=`width: ${y}px; overflow: hidden; position: relative;`,l.parentNode.insertBefore(K,l),K.appendChild(l);let le=c.findIndex(pe=>pe.classList.contains("is-active"));le===-1&&(le=0);let me=(le-1+c.length)%c.length;for(let pe=0;pe<me;pe++){let ae=l.querySelector(".content-col-item");ae&&l.appendChild(ae)}gsap.set(l,{x:W}),se();let Ee=!1,Ge=4e3,Me=null;e.addEventListener("mouseenter",fe),e.addEventListener("mouseleave",$),o?.addEventListener("click",()=>{fe(),qt(),$()}),s?.addEventListener("click",()=>{fe(),Pe(),$()}),$();return}if(c.length<3)return;let m=c[0].getBoundingClientRect(),g=c[1].getBoundingClientRect().top-m.top,v=g-m.height,_=Math.max(3*m.height+2*v,381),w=4,b=c.length;for(;c.length<w;){let k=c[c.length%b].cloneNode(!0);k.removeAttribute("id"),l.appendChild(k),c.push(k)}let E=document.createElement("div");E.style.cssText=`height: ${_}px; overflow: hidden; position: relative;`,l.parentNode.insertBefore(E,l),E.appendChild(l);let L=c.length*g-v;l.style.cssText+=`; overflow: visible !important; height: ${L}px !important; min-height: 0 !important; max-height: none !important; will-change: transform;`;let T=c.findIndex(k=>k.classList.contains("is-active"));T===-1&&(T=0);let A=(T-1+c.length)%c.length;for(let k=0;k<A;k++){let I=l.querySelector(".content-col-item");I&&l.appendChild(I)}function M(){Array.from(l.querySelectorAll(".content-col-item")).forEach((k,I)=>{k.classList.toggle("is-active",I===1)})}gsap.set(l,{y:0}),M();let x=!1;function P(){x||(x=!0,p?.("next"),d?.("next"),gsap.to(l,{y:-g,duration:.5,ease:"power3.inOut",onComplete(){let k=l.firstElementChild;l.appendChild(k),gsap.set(l,{y:0}),M(),x=!1}}))}function C(){if(x)return;x=!0,p?.("prev"),d?.("prev");let k=Array.from(l.querySelectorAll(".content-col-item")),I=k[k.length-1];l.insertBefore(I,l.firstElementChild),gsap.fromTo(l,{y:-g},{y:0,duration:.5,ease:"power3.inOut",onComplete(){M(),x=!1}})}let D=4e3,N=null;function z(){N===null&&(N=setInterval(P,D))}function q(){N!==null&&(clearInterval(N),N=null)}e.addEventListener("mouseenter",q),e.addEventListener("mouseleave",z),o?.addEventListener("click",()=>{q(),C(),z()}),s?.addEventListener("click",()=>{q(),P(),z()}),z()})}function or(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function Qs(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}var _t={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ln={duration:.5,overwrite:!1,delay:0},ko,Ue,_e,Ht=1e8,de=1/Ht,vo=Math.PI*2,Oc=vo/4,Ic=0,Zs=Math.sqrt,Dc=Math.cos,Rc=Math.sin,Re=function(e){return typeof e=="string"},Te=function(e){return typeof e=="function"},ar=function(e){return typeof e=="number"},Mi=function(e){return typeof e>"u"},jt=function(e){return typeof e=="object"},gt=function(e){return e!==!1},Co=function(){return typeof window<"u"},yi=function(e){return Te(e)||Re(e)},Js=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Je=Array.isArray,qc=/random\([^)]+\)/g,Fc=/,\s*/g,Gs=/(?:-?\.?\d|\.)+/gi,Po=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Br=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,fo=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ho=/[+-]=-?[.\d]+/,Nc=/[^,'"\[\]\s]+/gi,Bc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,be,Kt,bo,Oo,xt={},Ei={},ea,ta=function(e){return(Ei=cn(e,xt))&&et},Ai=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Fn=function(e,t){return!t&&console.warn(e)},ra=function(e,t){return e&&(xt[e]=t)&&Ei&&(Ei[e]=t)||xt},Nn=function(){return 0},zc={suppressEvents:!0,isStart:!0,kill:!1},vi={suppressEvents:!0,kill:!1},Wc={suppressEvents:!0},Io={},br=[],wo={},na,ht={},po={},Vs=30,bi=[],Do="",Ro=function(e){var t=e[0],r,n;if(jt(t)||Te(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=bi.length;n--&&!bi[n].targetTest(t););r=bi[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Bo(e[n],r)))||e.splice(n,1);return e},wr=function(e){return e._gsap||Ro(Ot(e))[0]._gsap},qo=function(e,t,r){return(r=e[t])&&Te(r)?e[t]():Mi(r)&&e.getAttribute&&e.getAttribute(t)||r},ot=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},Gc=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},xi=function(){var e=br.length,t=br.slice(0),r,n;for(wo={},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)},Fo=function(e){return!!(e._initted||e._startAt||e.add)},ia=function(e,t,r,n){br.length&&!Ue&&xi(),e.render(t,r,n||!!(Ue&&t<0&&Fo(e))),br.length&&!Ue&&xi()},oa=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Nc).length<2?t:Re(e)?e.trim():e},sa=function(e){return e},Tt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Vc=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},Ys=function a(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=jt(t[r])?a(e[r]||(e[r]={}),t[r]):t[r]);return e},Ti=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},Dn=function(e){var t=e.parent||be,r=e.keyframes?Vc(Je(e.keyframes)):Tt;if(gt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},Yc=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},aa=function(e,t,r,n,i){r===void 0&&(r="_first"),n===void 0&&(n="_last");var o=e[n],s;if(i)for(s=t[i];o&&o[i]>s;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=o,t.parent=t._dp=e,t},ki=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var i=t._prev,o=t._next;i?i._next=o:e[r]===t&&(e[r]=o),o?o._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},Xc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Eo=function(e,t,r,n){return e._startAt&&(Ue?e._startAt.revert(vi):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},Uc=function a(e){return!e||e._ts&&a(e.parent)},Xs=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},Si=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ci=function(e){return e._end=ve(e._start+(e._tDur/Math.abs(e._ts||e._rts||de)||0))},Pi=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)),Ci(e),r._dirty||qr(r,e)),e},la=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Si(e.rawTime(),t),(!t._dur||Wn(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)),aa(e,t,"_first","_last",e._sort?"_start":0),xo(t)||(e._recent=t),n||la(e,t),e._ts<0&&Pi(e,e._tTime),e},ca=function(e,t){return(xt.ScrollTrigger||Ai("scrollTrigger",t))&&xt.ScrollTrigger.create(t,e)},ua=function(e,t,r,n,i){if(Go(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!Ue&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&na!==mt.frame)return br.push(e),e._lazy=[i,n],1},Kc=function a(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||a(t))},xo=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},$c=function(e,t,r,n){var i=e.ratio,o=t<0||!t&&(!e._start&&Kc(e)&&!(!e._initted&&xo(e))||(e._ts<0||e._dp._ts<0)&&!xo(e))?0:1,s=e._rDelay,l=0,c,u,f;if(s&&e._repeat&&(l=Wn(0,e._tDur,t),u=un(l,s),e._yoyo&&u&1&&(o=1-o),u!==un(e._tTime,s)&&(i=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==i||Ue||n||e._zTime===de||!t&&e._zTime){if(!e._initted&&ua(e,t,n,r,l))return;for(f=e._zTime,e._zTime=t||(r?de:0),r||(r=t&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;t<0&&Eo(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===o&&(o&&Er(e,1),!r&&!Ue&&(Et(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},jc=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,o=ve(t)||0,s=e._tTime/e._tDur;return s&&!n&&(e._time*=o/e._dur),e._dur=o,e._tDur=i?i<0?1e10:ve(o*(i+1)+e._rDelay*i):o,s>0&&!n&&Pi(e,e._tTime=e._tDur*s),e.parent&&Ci(e),r||qr(e.parent,e),e},Us=function(e){return e instanceof Xe?qr(e):dn(e,e._dur)},Qc={_start:0,endTime:Nn,totalDuration:Nn},Pt=function a(e,t,r){var n=e.labels,i=e._recent||Qc,o=e.duration()>=Ht?i.endTime(!1):e._dur,s,l,c;return Re(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),c=t.substr(-1)==="%",s=t.indexOf("="),l==="<"||l===">"?(s>=0&&(t=t.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(s<0?i:r).totalDuration()/100:1)):s<0?(t in n||(n[t]=o),n[t]):(l=parseFloat(t.charAt(s-1)+t.substr(s+1)),c&&r&&(l=l/100*(Je(r)?r[0]:r).totalDuration()),s>1?a(e,t.substr(0,s-1),r)+l:o+l)):t==null?o:+t},Rn=function(e,t,r){var n=ar(t[1]),i=(n?2:1)+(e<2?0:1),o=t[i],s,l;if(n&&(o.duration=t[1]),o.parent=r,e){for(s=o,l=r;l&&!("immediateRender"in s);)s=l.vars.defaults||{},l=gt(l.vars.inherit)&&l.parent;o.immediateRender=gt(s.immediateRender),e<2?o.runBackwards=1:o.startAt=t[i-1]}return new Ce(t[0],o,t[i+1])},xr=function(e,t){return e||e===0?t(e):t},Wn=function(e,t,r){return r<e?e:r>t?t:r},Ke=function(e,t){return!Re(e)||!(t=Bc.exec(e))?"":t[1]},Zc=function(e,t,r){return xr(r,function(n){return Wn(e,t,n)})},To=[].slice,da=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},Jc=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var i;return Re(n)&&!t||da(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):Re(e)&&!r&&(bo||!fn())?To.call((t||Oo).querySelectorAll(e),0):Je(e)?Jc(e,r):da(e)?To.call(e,0):e?[e]:[]},So=function(e){return e=Ot(e)[0]||Fn("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Ot(t,r.querySelectorAll?r:r===e?Fn("Invalid scope")||Oo.createElement("div"):e)}},fa=function(e){return e.sort(function(){return .5-Math.random()})},pa=function(e){if(Te(e))return e;var t=jt(e)?e:{each:e},r=Fr(t.ease),n=t.from||0,i=parseFloat(t.base)||0,o={},s=n>0&&n<1,l=isNaN(n)||s,c=t.axis,u=n,f=n;return Re(n)?u=f={center:.5,edges:.5,end:1}[n]||0:!s&&l&&(u=n[0],f=n[1]),function(p,d,m){var h=(m||t).length,g=o[h],v,_,w,b,E,L,T,A,M;if(!g){if(M=t.grid==="auto"?0:(t.grid||[1,Ht])[1],!M){for(T=-Ht;T<(T=m[M++].getBoundingClientRect().left)&&M<h;);M<h&&M--}for(g=o[h]=[],v=l?Math.min(M,h)*u-.5:n%M,_=M===Ht?0:l?h*f/M-.5:n/M|0,T=0,A=Ht,L=0;L<h;L++)w=L%M-v,b=_-(L/M|0),g[L]=E=c?Math.abs(c==="y"?b:w):Zs(w*w+b*b),E>T&&(T=E),E<A&&(A=E);n==="random"&&fa(g),g.max=T-A,g.min=A,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(M>h?h-1:c?c==="y"?h/M:M:Math.max(M,h/M))||0)*(n==="edges"?-1:1),g.b=h<0?i-h:i,g.u=Ke(t.amount||t.each)||0,r=r&&h<0?Ea(r):r}return h=(g[p]-g.min)/g.max||0,ve(g.b+(r?r(h):h)*g.v)+g.u}},Lo=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))}},ha=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=Lo(e.increment)),xr(t,r?Te(e)?function(o){return i=e(o),Math.abs(i-o)<=n?i:o}:function(o){for(var s=parseFloat(i?o.x:o),l=parseFloat(i?o.y:0),c=Ht,u=0,f=e.length,p,d;f--;)i?(p=e[f].x-s,d=e[f].y-l,p=p*p+d*d):p=Math.abs(e[f]-s),p<c&&(c=p,u=f);return u=!n||c<=n?e[u]:o,i||u===o||ar(o)?u:u+Ke(o)}:Lo(e))},ma=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})},eu=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,o){return o(i)},n)}},tu=function(e,t){return function(r){return e(parseFloat(r))+(t||Ke(r))}},ru=function(e,t,r){return _a(e,t,0,1,r)},ga=function(e,t,r){return xr(r,function(n){return e[~~t(n)]})},nu=function a(e,t,r){var n=t-e;return Je(e)?ga(e,a(0,e.length),t):xr(r,function(i){return(n+(i-e)%n)%n+e})},iu=function a(e,t,r){var n=t-e,i=n*2;return Je(e)?ga(e,a(0,e.length-1),t):xr(r,function(o){return o=(i+(o-e)%i)%i||0,e+(o>n?i-o:o)})},pn=function(e){return e.replace(qc,function(t){var r=t.indexOf("[")+1,n=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(Fc);return ma(r?n:+n[0],r?0:+n[1],+n[2]||1e-5)})},_a=function(e,t,r,n,i){var o=t-e,s=n-r;return xr(i,function(l){return r+((l-e)/o*s||0)})},ou=function a(e,t,r,n){var i=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!i){var o=Re(e),s={},l,c,u,f,p;if(r===!0&&(n=1)&&(r=null),o)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(a(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)zo.call(s,e,l,"get",t[l]);i=function(m){return Xo(m,s)||(o?e.p:e)}}}return xr(r,i)},Ks=function(e,t,r){var n=e.labels,i=Ht,o,s,l;for(o in n)s=n[o]-t,s<0==!!r&&s&&i>(s=Math.abs(s))&&(l=o,i=s);return l},Et=function(e,t,r){var n=e.vars,i=n[t],o=_e,s=e._ctx,l,c,u;if(i)return l=n[t+"Params"],c=n.callbackScope||e,r&&br.length&&xi(),s&&(_e=s),u=l?i.apply(c,l):i.call(c),_e=o,u},On=function(e){return Er(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ue),e.progress()<1&&Et(e,"onInterrupt"),e},an,ya=[],va=function(e){if(e)if(e=!e.name&&e.default||e,Co()||e.headless){var t=e.name,r=Te(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:Nn,render:Xo,add:zo,kill:wu,modifier:bu,rawVars:0},o={targetTest:0,get:0,getSetter:Hi,aliases:{},register:0};if(fn(),e!==n){if(ht[t])return;Tt(n,Tt(Ti(e,i),o)),cn(n.prototype,cn(i,Ti(e,o))),ht[n.prop=t]=n,e.targetTest&&(bi.push(n),Io[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ra(t,n),e.register&&e.register(et,n,st)}else ya.push(e)},ue=255,In={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]},ho=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},ba=function(e,t,r){var n=e?ar(e)?[e>>16,e>>8&ue,e&ue]:0:In.black,i,o,s,l,c,u,f,p,d,m;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),In[e])n=In[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),o=e.charAt(2),s=e.charAt(3),e="#"+i+i+o+o+s+s+(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(Gs),!t)l=+n[0]%360/360,c=+n[1]/100,u=+n[2]/100,o=u<=.5?u*(c+1):u+c-u*c,i=u*2-o,n.length>3&&(n[3]*=1),n[0]=ho(l+1/3,i,o),n[1]=ho(l,i,o),n[2]=ho(l-1/3,i,o);else if(~e.indexOf("="))return n=e.match(Po),r&&n.length<4&&(n[3]=1),n}else n=e.match(Gs)||In.transparent;n=n.map(Number)}return t&&!m&&(i=n[0]/ue,o=n[1]/ue,s=n[2]/ue,f=Math.max(i,o,s),p=Math.min(i,o,s),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?(o-s)/d+(o<s?6:0):f===o?(s-i)/d+2:(i-o)/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},wa=function(e){var t=[],r=[],n=-1;return e.split(sr).forEach(function(i){var o=i.match(Br)||[];t.push.apply(t,o),r.push(n+=o.length+1)}),t.c=r,t},$s=function(e,t,r){var n="",i=(e+n).match(sr),o=t?"hsla(":"rgba(",s=0,l,c,u,f;if(!i)return e;if(i=i.map(function(p){return(p=ba(p,t,1))&&o+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=wa(e),l=r.c,l.join(n)!==u.c.join(n)))for(c=e.replace(sr,"1").split(Br),f=c.length-1;s<f;s++)n+=c[s]+(~l.indexOf(s)?i.shift()||o+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!c)for(c=e.split(sr),f=c.length-1;s<f;s++)n+=c[s]+i[s];return n+c[f]},sr=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in In)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),su=/hsl[a]?\(/,No=function(e){var t=e.join(" "),r;if(sr.lastIndex=0,sr.test(t))return r=su.test(t),e[1]=$s(e[1],r),e[0]=$s(e[0],r,wa(e[1])),!0},Bn,mt=function(){var a=Date.now,e=500,t=33,r=a(),n=r,i=1e3/240,o=i,s=[],l,c,u,f,p,d,m=function h(g){var v=a()-n,_=g===!0,w,b,E,L;if((v>e||v<0)&&(r+=v-t),n+=v,E=n-r,w=E-o,(w>0||_)&&(L=++f.frame,p=E-f.time*1e3,f.time=E=E/1e3,o+=w+(w>=i?4:i-w),b=1),_||(l=c(h)),b)for(d=0;d<s.length;d++)s[d](E,p,L,g)};return f={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){ea&&(!bo&&Co()&&(Kt=bo=window,Oo=Kt.document||{},xt.gsap=et,(Kt.gsapVersions||(Kt.gsapVersions=[])).push(et.version),ta(Ei||Kt.GreenSockGlobals||!Kt.gsap&&Kt||{}),ya.forEach(va)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),c=u||function(g){return setTimeout(g,o-f.time*1e3+1|0)},Bn=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),Bn=0,c=Nn},lagSmoothing:function(g,v){e=g||1/0,t=Math.min(v||33,e)},fps:function(g){i=1e3/(g||240),o=f.time*1e3+i},add:function(g,v,_){var w=v?function(b,E,L,T){g(b,E,L,T),f.remove(w)}:g;return f.remove(g),s[_?"unshift":"push"](w),fn(),w},remove:function(g,v){~(v=s.indexOf(g))&&s.splice(v,1)&&d>=v&&d--},_listeners:s},f}(),fn=function(){return!Bn&&mt.wake()},te={},au=/^[\d.\-M][\d.\-,\s]/,lu=/["']/g,cu=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],i=1,o=r.length,s,l,c;i<o;i++)l=r[i],s=i!==o-1?l.lastIndexOf(","):l.length,c=l.substr(0,s),t[n]=isNaN(c)?c.replace(lu,"").trim():+c,n=l.substr(s+1).trim();return t},uu=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)},du=function(e){var t=(e+"").split("("),r=te[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[cu(t[1])]:uu(e).split(",").map(oa)):te._CE&&au.test(e)?te._CE("",e):r},Ea=function(e){return function(t){return 1-e(1-t)}},xa=function a(e,t){for(var r=e._first,n;r;)r instanceof Xe?a(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?a(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},Fr=function(e,t){return e&&(Te(e)?e:te[e]||du(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},o;return ot(e,function(s){te[s]=xt[s]=i,te[o=s.toLowerCase()]=r;for(var l in i)te[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=te[s+"."+l]=i[l]}),i},Ta=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},mo=function a(e,t,r){var n=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),o=i/vo*(Math.asin(1/n)||0),s=function(u){return u===1?1:n*Math.pow(2,-10*u)*Rc((u-o)*i)+1},l=e==="out"?s:e==="in"?function(c){return 1-s(1-c)}:Ta(s);return i=vo/i,l.config=function(c,u){return a(e,c,u)},l},go=function a(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},n=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:Ta(r);return n.config=function(i){return a(e,i)},n};ot("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var t=e<5?e+1:e;Wr(a+",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})});te.Linear.easeNone=te.none=te.Linear.easeIn;Wr("Elastic",mo("in"),mo("out"),mo());(function(a,e){var t=1/e,r=2*t,n=2.5*t,i=function(s){return s<t?a*s*s:s<r?a*Math.pow(s-1.5/e,2)+.75:s<n?a*(s-=2.25/e)*s+.9375:a*Math.pow(s-2.625/e,2)+.984375};Wr("Bounce",function(o){return 1-i(1-o)},i)})(7.5625,2.75);Wr("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});Wr("Circ",function(a){return-(Zs(1-a*a)-1)});Wr("Sine",function(a){return a===1?1:-Dc(a*Oc)+1});Wr("Back",go("in"),go("out"),go());te.SteppedEase=te.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,o=1-de;return function(s){return((n*Wn(0,o,s)|0)+i)*r}}};ln.ease=te["quad.out"];ot("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return Do+=a+","+a+"Params,"});var Bo=function(e,t){this.id=Ic++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:qo,this.set=t?t.getSetter:Hi},zn=function(){function a(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)),Bn||mt.wake()}var e=a.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(Pi(this,r),!i._dp||i.parent||la(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),ia(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Xs(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)+Xs(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?Si(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-de?0:this._rts,this.totalTime(Wn(-Math.abs(this._delay),this.totalDuration(),i),n!==!1),Ci(this),Xc(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?Si(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Wc);var n=Ue;return Ue=r,Fo(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,Us(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,Us(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 o=this.vars;return arguments.length>1?(n?(o[r]=n,i&&(o[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=n)):delete o[r],this):o[r]},e.then=function(r){var n=this,i=n._prom;return new Promise(function(o){var s=Te(r)?r:sa,l=function(){var u=n.then;n.then=null,i&&i(),Te(s)&&(s=s(n))&&(s.then||s===n)&&(n.then=u),o(s),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?l():n._prom=l})},e.kill=function(){On(this)},a}();Tt(zn.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(a){Qs(e,a);function e(r,n){var i;return r===void 0&&(r={}),i=a.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=gt(r.sortChildren),be&&$t(r.parent||be,or(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&ca(or(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(n,i,o){return Rn(0,arguments,this),this},t.from=function(n,i,o){return Rn(1,arguments,this),this},t.fromTo=function(n,i,o,s){return Rn(2,arguments,this),this},t.set=function(n,i,o){return i.duration=0,i.parent=this,Dn(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Ce(n,i,Pt(this,o),1),this},t.call=function(n,i,o){return $t(this,Ce.delayedCall(0,n,i),o)},t.staggerTo=function(n,i,o,s,l,c,u){return o.duration=i,o.stagger=o.stagger||s,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new Ce(n,o,Pt(this,l)),this},t.staggerFrom=function(n,i,o,s,l,c,u){return o.runBackwards=1,Dn(o).immediateRender=gt(o.immediateRender),this.staggerTo(n,i,o,s,l,c,u)},t.staggerFromTo=function(n,i,o,s,l,c,u,f){return s.startAt=o,Dn(s).immediateRender=gt(s.immediateRender),this.staggerTo(n,i,s,l,c,u,f)},t.render=function(n,i,o){var s=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,v,_,w,b,E,L,T;if(this!==be&&u>l&&n>=0&&(u=l),u!==this._tTime||o||f){if(s!==this._time&&c&&(u+=this._time-s,n+=this._time-s),p=u,b=this._start,w=this._ts,v=!w,f&&(c||(s=this._zTime),(n||!i)&&(this._zTime=n)),this._repeat){if(L=this._yoyo,g=c+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,i,o);if(p=ve(u%g),u===l?(h=this._repeat,p=c):(E=ve(u/g),h=~~E,h&&h===E&&(p=c,h--),p>c&&(p=c)),E=un(this._tTime,g),!s&&this._tTime&&E!==h&&this._tTime-E*g-this._dur<=0&&(E=h),L&&h&1&&(p=c-p,T=1),h!==E&&!this._lock){var A=L&&E&1,M=A===(L&&h&1);if(h<E&&(A=!A),s=A?0:u%c?c:u,this._lock=1,this.render(s||(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,E=h),s&&s!==this._time||v!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,M&&(this._lock=2,s=A?c:-1e-4,this.render(s,!0),this.vars.repeatRefresh&&!T&&this.invalidate()),this._lock=0,!this._ts&&!v)return this;xa(this,T)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(_=jc(this,ve(s),ve(p)),_&&(u-=p-(p=_._start))),this._tTime=u,this._time=p,this._act=!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,s=0),!s&&u&&c&&!i&&!E&&(Et(this,"onStart"),this._tTime!==u))return this;if(p>=s&&n>=0)for(d=this._first;d;){if(m=d._next,(d._act||p>=d._start)&&d._ts&&_!==d){if(d.parent!==this)return this.render(n,i,o);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,i,o),p!==this._time||!this._ts&&!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&&_!==d){if(d.parent!==this)return this.render(n,i,o);if(d.render(d._ts>0?(x-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(x-d._start)*d._ts,i,o||Ue&&Fo(d)),p!==this._time||!this._ts&&!v){_=0,m&&(u+=this._zTime=x?-de:de);break}}d=m}}if(_&&!i&&(this.pause(),_.render(p>=s?0:-de)._zTime=p>=s?1:-1,this._ts))return this._start=b,Ci(this),this.render(n,i,o);this._onUpdate&&!i&&Et(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&s)&&(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&&!s)&&(u||s||!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 o=this;if(ar(i)||(i=Pt(this,i,n)),!(n instanceof zn)){if(Je(n))return n.forEach(function(s){return o.add(s,i)}),this;if(Re(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,o,s){n===void 0&&(n=!0),i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=-Ht);for(var l=[],c=this._first;c;)c._start>=s&&(c instanceof Ce?i&&l.push(c):(o&&l.push(c),n&&l.push.apply(l,c.getChildren(!0,i,o)))),c=c._next;return l},t.getById=function(n){for(var i=this.getChildren(1,1,1),o=i.length;o--;)if(i[o].vars.id===n)return i[o]},t.remove=function(n){return Re(n)?this.removeLabel(n):Te(n)?this.killTweensOf(n):(n.parent===this&&ki(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))),a.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,o){var s=Ce.delayedCall(0,i||Nn,o);return s.data="isPause",this._hasPause=1,$t(this,s,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,o){for(var s=this.getTweensOf(n,o),l=s.length;l--;)vr!==s[l]&&s[l].kill(n,i);return this},t.getTweensOf=function(n,i){for(var o=[],s=Ot(n),l=this._first,c=ar(i),u;l;)l instanceof Ce?Gc(l._targets,s)&&(c?(!vr||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&o.push(l):(u=l.getTweensOf(s,i)).length&&o.push.apply(o,u),l=l._next;return o},t.tweenTo=function(n,i){i=i||{};var o=this,s=Pt(o,n),l=i,c=l.startAt,u=l.onStart,f=l.onStartParams,p=l.immediateRender,d,m=Ce.to(o,Tt({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:i.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale())||de,onStart:function(){if(o.pause(),!d){var g=i.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.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,o){return this.tweenTo(i,Tt({startAt:{time:Pt(this,n)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),Ks(this,Pt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),Ks(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,o){o===void 0&&(o=0);var s=this._first,l=this.labels,c;for(n=ve(n);s;)s._start>=o&&(s._start+=n,s._end+=n),s=s._next;if(i)for(c in l)l[c]>=o&&(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 a.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var i=this._first,o;i;)o=i._next,this.remove(i),i=o;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),qr(this)},t.totalDuration=function(n){var i=0,o=this,s=o._last,l=Ht,c,u,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-n:n));if(o._dirty){for(f=o.parent;s;)c=s._prev,s._dirty&&s.totalDuration(),u=s._start,u>l&&o._sort&&s._ts&&!o._lock?(o._lock=1,$t(o,s,u-s._delay,1)._lock=0):l=u,u<0&&s._ts&&(i-=u,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=ve(u/o._ts),o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),s._end>i&&s._ts&&(i=s._end),s=c;dn(o,o===be&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(n){if(be._ts&&(ia(be,Si(n,be)),na=mt.frame),mt.frame>=Vs){Vs+=_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}(zn);Tt(Xe.prototype,{_lock:0,_hasPause:0,_forcing:0});var fu=function(e,t,r,n,i,o,s){var l=new st(this._pt,e,t,0,1,Yo,null,i),c=0,u=0,f,p,d,m,h,g,v,_;for(l.b=r,l.e=n,r+="",n+="",(v=~n.indexOf("random("))&&(n=pn(n)),o&&(_=[r,n],o(_,e,t),r=_[0],n=_[1]),p=r.match(fo)||[];f=fo.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=fo.lastIndex);return l.c=c<n.length?n.substring(c,n.length):"",l.fp=s,(Ho.test(n)||v)&&(l.e=0),this._pt=l,l},zo=function(e,t,r,n,i,o,s,l,c,u){Te(n)&&(n=n(i||0,e,o));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?_u:Ma:Vo,m;if(Re(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||Mo)return!isNaN(p*n)&&n!==""?(m=new st(this._pt,e,t,+p||0,n-(p||0),typeof f=="boolean"?vu:Aa,0,d),c&&(m.fp=c),s&&m.modifier(s,this,e),this._pt=m):(!f&&!(t in e)&&Ai(t,n),fu.call(this,e,t,p,n,d,l||_t.stringFilter,c))},pu=function(e,t,r,n,i){if(Te(e)&&(e=qn(e,i,t,r,n)),!jt(e)||e.style&&e.nodeType||Je(e)||Js(e))return Re(e)?qn(e,i,t,r,n):e;var o={},s;for(s in e)o[s]=qn(e[s],i,t,r,n);return o},Wo=function(e,t,r,n,i,o){var s,l,c,u;if(ht[e]&&(s=new ht[e]).init(i,s.rawVars?t[e]:pu(t[e],n,i,o,r),r,n,o)!==!1&&(r._pt=l=new st(r._pt,i,e,0,1,s.render,s,0,s.priority),r!==an))for(c=r._ptLookup[r._targets.indexOf(i)],u=s._props.length;u--;)c[s._props[u]]=l;return s},vr,Mo,Go=function a(e,t,r){var n=e.vars,i=n.ease,o=n.startAt,s=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,v=e.parent,_=v&&v.data==="nested"?v.vars.targets:g,w=e._overwrite==="auto"&&!ko,b=e.timeline,E,L,T,A,M,x,P,C,D,N,z,q,k;if(b&&(!p||!i)&&(i="none"),e._ease=Fr(i,ln.ease),e._yEase=f?Ea(Fr(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(C=g[0]?wr(g[0]).harness:0,q=C&&n[C.prop],E=Ti(n,Io),h&&(h._zTime<0&&h.progress(1),t<0&&u&&s&&!d?h.render(-1,!0):h.revert(u&&m?vi:zc),h._lazy=0),o){if(Er(e._startAt=Ce.set(g,Tt({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!h&&gt(l),startAt:null,delay:0,onUpdate:c&&function(){return Et(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ue||!s&&!d)&&e._startAt.revert(vi),s&&m&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&m&&!h){if(t&&(s=!1),T=Tt({overwrite:!1,data:"isFromStart",lazy:s&&!h&&gt(l),immediateRender:s,stagger:0,parent:v},E),q&&(T[C.prop]=q),Er(e._startAt=Ce.set(g,T)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ue?e._startAt.revert(vi):e._startAt.render(-1,!0)),e._zTime=t,!s)a(e._startAt,de,de);else if(!t)return}for(e._pt=e._ptCache=0,l=m&&gt(l)||l&&!m,L=0;L<g.length;L++){if(M=g[L],P=M._gsap||Ro(g)[L]._gsap,e._ptLookup[L]=N={},wo[P.id]&&br.length&&xi(),z=_===g?L:_.indexOf(M),C&&(D=new C).init(M,q||E,e,z,_)!==!1&&(e._pt=A=new st(e._pt,M,D.name,0,1,D.render,D,0,D.priority),D._props.forEach(function(I){N[I]=A}),D.priority&&(x=1)),!C||q)for(T in E)ht[T]&&(D=Wo(T,E,e,z,M,_))?D.priority&&(x=1):N[T]=A=zo.call(e,M,T,"get",E[T],z,_,0,n.stringFilter);e._op&&e._op[L]&&e.kill(M,e._op[L]),w&&e._pt&&(vr=e,be.killTweensOf(M,N,e.globalTime(t)),k=!e.parent,vr=0),e._pt&&l&&(wo[P.id]=1)}x&&Uo(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!k,p&&t<=0&&b.render(Ht,!0,!0)},hu=function(e,t,r,n,i,o,s,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 Mo=1,e.vars[t]="+=0",Go(e,s),Mo=0,l?Fn(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)+o*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))},mu=function(e,t){var r=e[0]?wr(e[0]).harness:0,n=r&&r.aliases,i,o,s,l;if(!n)return t;i=cn({},t);for(o in n)if(o in i)for(l=n[o].split(","),s=l.length;s--;)i[l[s]]=i[o];return i},gu=function(e,t,r,n){var i=t.ease||n||"power1.inOut",o,s;if(Je(t))s=r[e]||(r[e]=[]),t.forEach(function(l,c){return s.push({t:c/(t.length-1)*100,v:l,e:i})});else for(o in t)s=r[o]||(r[o]=[]),o==="ease"||s.push({t:parseFloat(e),v:t[o],e:i})},qn=function(e,t,r,n,i){return Te(e)?e.call(t,r,n,i):Re(e)&&~e.indexOf("random(")?pn(e):e},Sa=Do+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",La={};ot(Sa+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return La[a]=1});var Ce=function(a){Qs(e,a);function e(r,n,i,o){var s;typeof n=="number"&&(i.duration=n,n=i,i=null),s=a.call(this,o?n:Dn(n))||this;var l=s.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,v=l.yoyoEase,_=n.parent||be,w=(Je(r)||Js(r)?ar(r[0]):"length"in n)?[r]:Ot(r),b,E,L,T,A,M,x,P;if(s._targets=w.length?Ro(w):Fn("GSAP target "+r+" not found. https://gsap.com",!_t.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=d,m||p||yi(c)||yi(u)){if(n=s.vars,b=s.timeline=new Xe({data:"nested",defaults:h||{},targets:_&&_.data==="nested"?_.vars.targets:w}),b.kill(),b.parent=b._dp=or(s),b._start=0,p||yi(c)||yi(u)){if(T=w.length,x=p&&pa(p),jt(p))for(A in p)~Sa.indexOf(A)&&(P||(P={}),P[A]=p[A]);for(E=0;E<T;E++)L=Ti(n,La),L.stagger=0,v&&(L.yoyoEase=v),P&&cn(L,P),M=w[E],L.duration=+qn(c,or(s),E,M,w),L.delay=(+qn(u,or(s),E,M,w)||0)-s._delay,!p&&T===1&&L.delay&&(s._delay=u=L.delay,s._start+=u,L.delay=0),b.to(M,L,x?x(E,M,w):0),b._ease=te.none;b.duration()?c=u=0:s.timeline=0}else if(m){Dn(Tt(b.vars.defaults,{ease:"none"})),b._ease=Fr(m.ease||n.ease||"none");var C=0,D,N,z;if(Je(m))m.forEach(function(q){return b.to(w,q,">")}),b.duration();else{L={};for(A in m)A==="ease"||A==="easeEach"||gu(A,m[A],L,m.easeEach);for(A in L)for(D=L[A].sort(function(q,k){return q.t-k.t}),C=0,E=0;E<D.length;E++)N=D[E],z={ease:N.e,duration:(N.t-(E?D[E-1].t:0))/100*c},z[A]=N.v,b.to(w,z,C),C+=z.duration;b.duration()<c&&b.to({},{duration:c-b.duration()})}}c||s.duration(c=b.duration())}else s.timeline=0;return d===!0&&!ko&&(vr=or(s),be.killTweensOf(w),vr=0),$t(_,or(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),(f||!c&&!m&&s._start===ve(_._time)&&gt(f)&&Uc(or(s))&&_.data!=="nested")&&(s._tTime=-de,s.render(Math.max(0,-u)||0)),g&&ca(or(s),g),s}var t=e.prototype;return t.render=function(n,i,o){var s=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,v,_,w,b;if(!c)$c(this,n,i,o);else if(f!==this._tTime||!n||o||!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,o);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)),v=this._yoyo&&m&1,v&&(b=this._yEase,p=c-p),g=un(this._tTime,h),p===s&&!o&&this._initted&&m===g)return this._tTime=f,this;m!==g&&(w&&this._yEase&&xa(w,v),this.vars.repeatRefresh&&!v&&!this._lock&&p!==h&&this._initted&&(this._lock=o=1,this.render(ve(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(ua(this,u?n:p,o,i,f))return this._tTime=0,this;if(s!==this._time&&!(o&&this.vars.repeatRefresh&&m!==g))return this;if(c!==this._dur)return this.render(n,i,o)}if(this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=_=(b||this._ease)(p/c),this._from&&(this.ratio=_=1-_),!s&&f&&!i&&!g&&(Et(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(_,d.d),d=d._next;w&&w.render(n<0?n:w._dur*w._ease(p/this._dur),i,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!i&&(u&&Eo(this,n,i,o),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&&Eo(this,n,!0,!0),(n||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Er(this,1),!i&&!(u&&!s)&&(f||s||v)&&(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),a.prototype.invalidate.call(this,n)},t.resetTo=function(n,i,o,s,l){Bn||mt.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Go(this,c),u=this._ease(c/this._dur),hu(this,n,i,o,s,u,c,l)?this.resetTo(n,i,o,s,1):(Pi(this,0),this.parent||aa(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?On(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ue),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,i,vr&&vr.vars.overwrite!==!0)._first||On(this),this.parent&&o!==this.timeline.totalDuration()&&dn(this,this._dur*this.timeline._tDur/o,0,1),this}var s=this._targets,l=n?Ot(n):s,c=this._ptLookup,u=this._pt,f,p,d,m,h,g,v;if((!i||i==="all")&&Yc(s,l))return i==="all"&&(this._pt=0),On(this);for(f=this._op=this._op||[],i!=="all"&&(Re(i)&&(h={},ot(i,function(_){return h[_]=1}),i=h),i=mu(s,i)),v=s.length;v--;)if(~l.indexOf(s[v])){p=c[v],i==="all"?(f[v]=i,m=p,d={}):(d=f[v]=f[v]||{},m=i);for(h in m)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&ki(this,g,"_pt"),delete p[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&u&&On(this),this},e.to=function(n,i){return new e(n,i,arguments[2])},e.from=function(n,i){return Rn(1,arguments)},e.delayedCall=function(n,i,o,s){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:i,onReverseComplete:i,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:s})},e.fromTo=function(n,i,o){return Rn(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,o){return be.killTweensOf(n,i,o)},e}(zn);Tt(Ce.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});ot("staggerTo,staggerFrom,staggerFromTo",function(a){Ce[a]=function(){var e=new Xe,t=To.call(arguments,0);return t.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,t)}});var Vo=function(e,t,r){return e[t]=r},Ma=function(e,t,r){return e[t](r)},_u=function(e,t,r,n){return e[t](n.fp,r)},yu=function(e,t,r){return e.setAttribute(t,r)},Hi=function(e,t){return Te(e[t])?Ma:Mi(e[t])&&e.setAttribute?yu:Vo},Aa=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},vu=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Yo=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)},Xo=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,o;i;)o=i._next,i.p===n&&i.modifier(e,t,r),i=o},wu=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?ki(this,t,"_pt"):t.dep||(r=1),t=n;return!r},Eu=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Uo=function(e){for(var t=e._pt,r,n,i,o;t;){for(r=t._next,n=i;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:o)?t._prev._next=t:i=t,(t._next=n)?n._prev=t:o=t,t=r}e._pt=i},st=function(){function a(t,r,n,i,o,s,l,c,u){this.t=r,this.s=i,this.c=o,this.p=n,this.r=s||Aa,this.d=l||this,this.set=c||Vo,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=a.prototype;return e.modifier=function(r,n,i){this.mSet=this.mSet||this.set,this.set=Eu,this.m=r,this.mt=i,this.tween=n},a}();ot(Do+"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(a){return Io[a]=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=No;var Nr=[],wi={},xu=[],js=0,Tu=0,_o=function(e){return(wi[e]||xu).map(function(t){return t()})},Ao=function(){var e=Date.now(),t=[];e-js>2&&(_o("matchMediaInit"),Nr.forEach(function(r){var n=r.queries,i=r.conditions,o,s,l,c;for(s in n)o=Kt.matchMedia(n[s]).matches,o&&(l=1),o!==i[s]&&(i[s]=o,c=1);c&&(r.revert(),l&&t.push(r))}),_o("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),js=e,_o("matchMedia"))},ka=function(){function a(t,r){this.selector=r&&So(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Tu++,t&&this.add(t)}var e=a.prototype;return e.add=function(r,n,i){Te(r)&&(i=n,n=r,r=Te);var o=this,s=function(){var c=_e,u=o.selector,f;return c&&c!==o&&c.data.push(o),i&&(o.selector=So(i)),_e=o,f=n.apply(o,arguments),Te(f)&&o._r.push(f),_e=c,o.selector=u,o.isReverted=!1,f};return o.last=s,r===Te?s(o,function(l){return o.add(null,l)}):r?o[r]=s:s},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 a?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 s=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 s.splice(s.indexOf(u),1)}));for(s.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(s){return s.kill&&s.kill()}),this.clear(),n)for(var o=Nr.length;o--;)Nr[o].id===this.id&&Nr.splice(o,1)},e.revert=function(r){this.kill(r||{})},a}(),Su=function(){function a(t){this.contexts=[],this.scope=t,_e&&_e.data.push(this)}var e=a.prototype;return e.add=function(r,n,i){jt(r)||(r={matches:r});var o=new ka(0,i||this.scope),s=o.conditions={},l,c,u;_e&&!o.selector&&(o.selector=_e.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=r;for(c in r)c==="all"?u=1:(l=Kt.matchMedia(r[c]),l&&(Nr.indexOf(o)<0&&Nr.push(o),(s[c]=l.matches)&&(u=1),l.addListener?l.addListener(Ao):l.addEventListener("change",Ao)));return u&&n(o,function(f){return o.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)})},a}(),Li={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 va(n)})},timeline:function(e){return new Xe(e)},getTweensOf:function(e,t){return be.getTweensOf(e,t)},getProperty:function(e,t,r,n){Re(e)&&(e=Ot(e)[0]);var i=wr(e||{}).get,o=r?sa:oa;return r==="native"&&(r=""),e&&(t?o((ht[t]&&ht[t].get||i)(e,t,r,n)):function(s,l,c){return o((ht[s]&&ht[s].get||i)(e,s,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 o=ht[t],s=wr(e),l=s.harness&&(s.harness.aliases||{})[t]||t,c=o?function(u){var f=new o;an._pt=0,f.init(e,r?u+r:u,an,0,[e]),f.render(1,f),an._pt&&Xo(1,an)}:s.set(e,l);return o?c:function(u){return c(e,l,r?u+r:u,s,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||{})),o=function(l,c,u){return i.resetTo(t,l,c,u)};return o.tween=i,o},isTweening:function(e){return be.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Fr(e.ease,ln.ease)),Ys(ln,e||{})},config:function(e){return Ys(_t,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach(function(s){return s&&!ht[s]&&!xt[s]&&Fn(t+" effect requires "+s+" plugin.")}),po[t]=function(s,l,c){return r(Ot(s),Tt(l||{},i),c)},o&&(Xe.prototype[t]=function(s,l,c){return this.add(po[t](s,jt(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){te[e]=Fr(t)},parseEase:function(e,t){return arguments.length?Fr(e,t):te},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 ka(e,t):_e},matchMedia:function(e){return new Su(e)},matchMediaRefresh:function(){return Nr.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||Ao()},addEventListener:function(e,t){var r=wi[e]||(wi[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=wi[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:nu,wrapYoyo:iu,distribute:pa,random:ma,snap:ha,normalize:ru,getUnit:Ke,clamp:Zc,splitColor:ba,toArray:Ot,selector:So,mapRange:_a,pipe:eu,unitize:tu,interpolate:ou,shuffle:fa},install:ta,effects:po,ticker:mt,updateRoot:Xe.updateRoot,plugins:ht,globalTimeline:be,core:{PropTween:st,globals:ra,Tween:Ce,Timeline:Xe,Animation:zn,getCache:wr,_removeLinkedListItem:ki,reverting:function(){return Ue},context:function(e){return e&&_e&&(_e.data.push(e),e._ctx=_e),_e},suppressOverwrites:function(e){return ko=e}}};ot("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Li[a]=Ce[a]});mt.add(Xe.updateRoot);an=Li.to({},{duration:0});var Lu=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Mu=function(e,t){var r=e._targets,n,i,o;for(n in t)for(i=r.length;i--;)o=e._ptLookup[i][n],o&&(o=o.d)&&(o._pt&&(o=Lu(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[i],n))},yo=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,i,o){o._onInit=function(s){var l,c;if(Re(i)&&(l={},ot(i,function(u){return l[u]=1}),i=l),t){l={};for(c in i)l[c]=t(i[c]);i=l}Mu(s,i)}}}},et=Li.registerPlugin({name:"attr",init:function(e,t,r,n,i){var o,s,l;this.tween=r;for(o in t)l=e.getAttribute(o)||"",s=this.add(e,"setAttribute",(l||0)+"",t[o],n,i,0,0,o),s.op=o,s.b=l,this._props.push(o)},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)}},yo("roundProps",Lo),yo("modifiers"),yo("snap",ha))||Li;Ce.version=Xe.version=et.version="3.14.2";ea=1;Co()&&fn();var Au=te.Power0,ku=te.Power1,Cu=te.Power2,Pu=te.Power3,Hu=te.Power4,Ou=te.Linear,Iu=te.Quad,Du=te.Cubic,Ru=te.Quart,qu=te.Quint,Fu=te.Strong,Nu=te.Elastic,Bu=te.Back,zu=te.SteppedEase,Wu=te.Bounce,Gu=te.Sine,Vu=te.Expo,Yu=te.Circ;var Ca,Tr,mn,Jo,Xr,Xu,Pa,es,Uu=function(){return typeof window<"u"},cr={},Yr=180/Math.PI,gn=Math.PI/180,hn=Math.atan2,Ha=1e8,ts=/([A-Z])/g,Ku=/(left|right|width|margin|padding|x)/i,$u=/[\s,\(]\S/,Qt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},$o=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},ju=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)},Qu=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)},Zu=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)},Ju=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Ba=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},za=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},ed=function(e,t,r){return e.style[t]=r},td=function(e,t,r){return e.style.setProperty(t,r)},rd=function(e,t,r){return e._gsap[t]=r},nd=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},id=function(e,t,r,n,i){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(i,o)},od=function(e,t,r,n,i){var o=e._gsap;o[t]=r,o.renderTransform(i,o)},we="transform",yt=we+"Origin",sd=function a(e,t){var r=this,n=this.target,i=n.style,o=n._gsap;if(e in cr&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Qt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return r.tfm[s]=lr(n,s)}):this.tfm[e]=o.x?o[e]:lr(n,e),e===yt&&(this.tfm.zOrigin=o.zOrigin);else return Qt.transform.split(",").forEach(function(s){return a.call(r,s,t)});if(this.props.indexOf(we)>=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(yt,t,"")),e=we}(i||t)&&this.props.push(e,t,i[e])},Wa=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,o;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(ts,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)n[o]=this.tfm[o];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=es(),(!i||!i.isStart)&&!r[we]&&(Wa(r),n.zOrigin&&r[yt]&&(r[yt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},Ga=function(e,t){var r={target:e,props:[],revert:ad,save:sd};return e._gsap||et.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return r.save(n)}),r},Va,jo=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 a(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(ts,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&a(e,_n(t)||t,1)||""},Oa="O,Moz,ms,Ms,Webkit".split(","),_n=function(e,t,r){var n=t||Xr,i=n.style,o=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Oa[o]+e in i););return o<0?null:(o===3?"ms":o>=0?Oa[o]:"")+e},Qo=function(){Uu()&&window.document&&(Ca=window,Tr=Ca.document,mn=Tr.documentElement,Xr=jo("div")||{style:{}},Xu=jo("div"),we=_n(we),yt=we+"Origin",Xr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Va=!!_n("perspective"),es=et.core.reverting,Jo=1)},Ia=function(e){var t=e.ownerSVGElement,r=jo("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},Da=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Ya=function(e){var t,r;try{t=e.getBBox()}catch{t=Ia(e),r=1}return t&&(t.width||t.height)||r||(t=Ia(e)),t&&!t.width&&!t.x&&!t.y?{x:+Da(e,["x","cx","x1"])||0,y:+Da(e,["y","cy","y1"])||0,width:0,height:0}:t},Xa=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ya(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(ts,"-$1").toLowerCase())):r.removeAttribute(t)}},Sr=function(e,t,r,n,i,o){var s=new st(e._pt,t,r,0,1,o?za:Ba);return e._pt=s,s.b=n,s.e=i,e._props.push(r),s},Ra={deg:1,rad:1,turn:1},ld={grid:1,flex:1},Mr=function a(e,t,r,n){var i=parseFloat(r)||0,o=(r+"").trim().substr((i+"").length)||"px",s=Xr.style,l=Ku.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),f=100,p=n==="px",d=n==="%",m,h,g,v;if(n===o||!i||Ra[n]||Ra[o])return i;if(o!=="px"&&!p&&(i=a(e,t,r,"px")),v=e.getCTM&&Xa(e),(d||o==="%")&&(cr[t]||~t.indexOf("adius")))return m=v?e.getBBox()[l?"width":"height"]:e[u],Se(d?i/m*f:i/100*m);if(s[l?"width":"height"]=f+(p?o:n),h=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!c?e:e.parentNode,v&&(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 _=e.style[t];e.style[t]=f+n,m=e[u],_?e.style[t]=_:Lr(e,t)}else(d||o==="%")&&!ld[St(h,"display")]&&(s.position=St(e,"position")),h===e&&(s.position="static"),h.appendChild(Xr),m=Xr[u],h.removeChild(Xr),s.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 Jo||Qo(),t in Qt&&t!=="transform"&&(t=Qt[t],~t.indexOf(",")&&(t=t.split(",")[0])),cr[t]&&t!=="transform"?(i=Yn(e,n),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Ii(St(e,yt))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||n||~(i+"").indexOf("calc("))&&(i=Oi[t]&&Oi[t](e,t,r)||St(e,t)||qo(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),o=i&&St(e,i,1);o&&o!==r?(t=i,r=o):t==="borderColor"&&(r=St(e,"borderTopColor"))}var s=new st(this._pt,e.style,t,0,1,Yo),l=0,c=0,u,f,p,d,m,h,g,v,_,w,b,E;if(s.b=r,s.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],No(u),r=u[0],n=u[1],p=r.match(Br)||[],E=n.match(Br)||[],E.length){for(;f=Br.exec(n);)g=f[0],_=n.substring(l,f.index),m?m=(m+1)%5:(_.substr(-5)==="rgba("||_.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),v=parseFloat(g),w=g.substr((v+"").length),l=Br.lastIndex-w.length,w||(w=w||_t.units[t]||b,l===n.length&&(n+=w,s.e+=w)),b!==w&&(d=Mr(e,t,h,w)||0),s._pt={_next:s._pt,p:_||c===1?_:",",s:d,c:v-d,m:m&&m<4||t==="zIndex"?Math.round:0});s.c=l<n.length?n.substring(l,n.length):""}else s.r=t==="display"&&n==="none"?za:Ba;return Ho.test(n)&&(s.e=0),this._pt=s,s},qa={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ud=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]=qa[r]||r,t[1]=qa[n]||n,t.join(" ")},dd=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,i=t.u,o=r._gsap,s,l,c;if(i==="all"||i===!0)n.cssText="",l=1;else for(i=i.split(","),c=i.length;--c>-1;)s=i[c],cr[s]&&(l=1,s=s==="transformOrigin"?yt:we),Lr(r,s);l&&(Lr(r,we),o&&(o.svg&&r.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Yn(r,1),o.uncache=1,Wa(n)))}},Oi={clearProps:function(e,t,r,n,i){if(i.data!=="isFromStart"){var o=e._pt=new st(e._pt,t,r,0,0,dd);return o.u=n,o.pr=-10,o.tween=i,e._props.push(r),1}}},Vn=[1,0,0,1,0,0],Ua={},Ka=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Fa=function(e){var t=St(e,we);return Ka(t)?Vn:t.substr(7).match(Po).map(Se)},rs=function(e,t){var r=e._gsap||wr(e),n=e.style,i=Fa(e),o,s,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"?Vn:i):(i===Vn&&!e.offsetParent&&e!==mn&&!r.svg&&(l=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,s=e.nextElementSibling,mn.appendChild(e)),i=Fa(e),l?n.display=l:Lr(e,"display"),c&&(s?o.insertBefore(e,s):o?o.appendChild(e):mn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Zo=function(e,t,r,n,i,o){var s=e._gsap,l=i||rs(e,!0),c=s.xOrigin||0,u=s.yOrigin||0,f=s.xOffset||0,p=s.yOffset||0,d=l[0],m=l[1],h=l[2],g=l[3],v=l[4],_=l[5],w=t.split(" "),b=parseFloat(w[0])||0,E=parseFloat(w[1])||0,L,T,A,M;r?l!==Vn&&(T=d*g-m*h)&&(A=b*(g/T)+E*(-h/T)+(h*_-g*v)/T,M=b*(-m/T)+E*(d/T)-(d*_-m*v)/T,b=A,E=M):(L=Ya(e),b=L.x+(~w[0].indexOf("%")?b/100*L.width:b),E=L.y+(~(w[1]||w[0]).indexOf("%")?E/100*L.height:E)),n||n!==!1&&s.smooth?(v=b-c,_=E-u,s.xOffset=f+(v*d+_*h)-v,s.yOffset=p+(v*m+_*g)-_):s.xOffset=s.yOffset=0,s.xOrigin=b,s.yOrigin=E,s.smooth=!!n,s.origin=t,s.originIsAbsolute=!!r,e.style[yt]="0px 0px",o&&(Sr(o,s,"xOrigin",c,b),Sr(o,s,"yOrigin",u,E),Sr(o,s,"xOffset",f,s.xOffset),Sr(o,s,"yOffset",p,s.yOffset)),e.setAttribute("data-svg-origin",b+" "+E)},Yn=function(e,t){var r=e._gsap||new Bo(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,i=r.scaleX<0,o="px",s="deg",l=getComputedStyle(e),c=St(e,yt)||"0",u,f,p,d,m,h,g,v,_,w,b,E,L,T,A,M,x,P,C,D,N,z,q,k,I,X,y,W,ie,oe,K,le;return u=f=p=h=g=v=_=w=b=0,d=m=1,r.svg=!!(e.getCTM&&Xa(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=rs(e,r.svg),r.svg&&(r.uncache?(I=e.getBBox(),c=r.xOrigin-I.x+"px "+(r.yOrigin-I.y)+"px",k=""):k=!t&&e.getAttribute("data-svg-origin"),Zo(e,k||c,!!k||r.originIsAbsolute,r.smooth!==!1,T)),E=r.xOrigin||0,L=r.yOrigin||0,T!==Vn&&(P=T[0],C=T[1],D=T[2],N=T[3],u=z=T[4],f=q=T[5],T.length===6?(d=Math.sqrt(P*P+C*C),m=Math.sqrt(N*N+D*D),h=P||C?hn(C,P)*Yr:0,_=D||N?hn(D,N)*Yr+h:0,_&&(m*=Math.abs(Math.cos(_*gn))),r.svg&&(u-=E-(E*P+L*D),f-=L-(E*C+L*N))):(le=T[6],oe=T[7],y=T[8],W=T[9],ie=T[10],K=T[11],u=T[12],f=T[13],p=T[14],A=hn(le,ie),g=A*Yr,A&&(M=Math.cos(-A),x=Math.sin(-A),k=z*M+y*x,I=q*M+W*x,X=le*M+ie*x,y=z*-x+y*M,W=q*-x+W*M,ie=le*-x+ie*M,K=oe*-x+K*M,z=k,q=I,le=X),A=hn(-D,ie),v=A*Yr,A&&(M=Math.cos(-A),x=Math.sin(-A),k=P*M-y*x,I=C*M-W*x,X=D*M-ie*x,K=N*x+K*M,P=k,C=I,D=X),A=hn(C,P),h=A*Yr,A&&(M=Math.cos(A),x=Math.sin(A),k=P*M+C*x,I=z*M+q*x,C=C*M-P*x,q=q*M-z*x,P=k,z=I),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,v=180-v),d=Se(Math.sqrt(P*P+C*C+D*D)),m=Se(Math.sqrt(q*q+le*le)),A=hn(z,q),_=Math.abs(A)>2e-4?A*Yr:0,b=K?1/(K<0?-K:K):0),r.svg&&(k=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Ka(St(e,we)),k&&e.setAttribute("transform",k))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(d*=-1,_+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,_+=_<=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)+o,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)+o,r.z=p+o,r.scaleX=Se(d),r.scaleY=Se(m),r.rotation=Se(h)+s,r.rotationX=Se(g)+s,r.rotationY=Se(v)+s,r.skewX=_+s,r.skewY=w+s,r.transformPerspective=b+o,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(n[yt]=Ii(c)),r.xOffset=r.yOffset=0,r.force3D=_t.force3D,r.renderTransform=r.svg?pd:Va?$a:fd,r.uncache=0,r},Ii=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ko=function(e,t,r){var n=Ke(t);return Se(parseFloat(t)+parseFloat(Mr(e,"x",r+"px",n)))+n},fd=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,$a(e,t)},Gr="0deg",Gn="0px",Vr=") ",$a=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,o=r.x,s=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,v=r.force3D,_=r.target,w=r.zOrigin,b="",E=v==="auto"&&e&&e!==1||v===!0;if(w&&(f!==Gr||u!==Gr)){var L=parseFloat(u)*gn,T=Math.sin(L),A=Math.cos(L),M;L=parseFloat(f)*gn,M=Math.cos(L),o=Ko(_,o,T*M*-w),s=Ko(_,s,-Math.sin(L)*-w),l=Ko(_,l,A*M*-w+w)}g!==Gn&&(b+="perspective("+g+Vr),(n||i)&&(b+="translate("+n+"%, "+i+"%) "),(E||o!==Gn||s!==Gn||l!==Gn)&&(b+=l!==Gn||E?"translate3d("+o+", "+s+", "+l+") ":"translate("+o+", "+s+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),_.style[we]=b||"translate(0, 0)"},pd=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,o=r.x,s=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,v=r.yOffset,_=r.forceCSS,w=parseFloat(o),b=parseFloat(s),E,L,T,A,M;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=gn,c*=gn,E=Math.cos(l)*f,L=Math.sin(l)*f,T=Math.sin(l-c)*-p,A=Math.cos(l-c)*p,c&&(u*=gn,M=Math.tan(c-u),M=Math.sqrt(1+M*M),T*=M,A*=M,u&&(M=Math.tan(u),M=Math.sqrt(1+M*M),E*=M,L*=M)),E=Se(E),L=Se(L),T=Se(T),A=Se(A)):(E=f,A=p,L=T=0),(w&&!~(o+"").indexOf("px")||b&&!~(s+"").indexOf("px"))&&(w=Mr(d,"x",o,"px"),b=Mr(d,"y",s,"px")),(m||h||g||v)&&(w=Se(w+m-(m*E+h*T)+g),b=Se(b+h-(m*L+h*A)+v)),(n||i)&&(M=d.getBBox(),w=Se(w+n/100*M.width),b=Se(b+i/100*M.height)),M="matrix("+E+","+L+","+T+","+A+","+w+","+b+")",d.setAttribute("transform",M),_&&(d.style[we]=M)},hd=function(e,t,r,n,i){var o=360,s=Re(i),l=parseFloat(i)*(s&&~i.indexOf("rad")?Yr:1),c=l-n,u=n+c+"deg",f,p;return s&&(f=i.split("_")[1],f==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),f==="cw"&&c<0?c=(c+o*Ha)%o-~~(c/o)*o:f==="ccw"&&c>0&&(c=(c-o*Ha)%o-~~(c/o)*o)),e._pt=p=new st(e._pt,t,r,n,c,ju),p.e=u,p.u="deg",e._props.push(r),p},Na=function(e,t){for(var r in t)e[r]=t[r];return e},md=function(e,t,r){var n=Na({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",o=r.style,s,l,c,u,f,p,d,m;n.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[we]=t,s=Yn(r,1),Lr(r,we),r.setAttribute("transform",c)):(c=getComputedStyle(r)[we],o[we]=t,s=Yn(r,1),o[we]=c);for(l in cr)c=n[l],u=s[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 st(e._pt,s,l,f,p-f,$o),e._pt.u=m||0,e._props.push(l));Na(s,n)};ot("padding,margin,Width,Radius",function(a,e){var t="Top",r="Right",n="Bottom",i="Left",o=(e<3?[t,r,n,i]:[t+i,t+r,n+r,n+i]).map(function(s){return e<2?a+s:"border"+s+a});Oi[e>1?"border"+a:a]=function(s,l,c,u,f){var p,d;if(arguments.length<4)return p=o.map(function(m){return lr(s,m,c)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(u+"").split(" "),d={},o.forEach(function(m,h){return d[m]=p[h]=p[h]||p[(h-1)/2|0]}),s.init(l,d,f)}});var ns={name:"css",register:Qo,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var o=this._props,s=e.style,l=r.vars.startAt,c,u,f,p,d,m,h,g,v,_,w,b,E,L,T,A,M;Jo||Qo(),this.styles=this.styles||Ga(e),A=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(u=t[h],!(ht[h]&&Wo(h,t,r,n,e,i)))){if(d=typeof u,m=Oi[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+="",sr.lastIndex=0,sr.test(c)||(g=Ke(c),v=Ke(u),v?g!==v&&(c=Mr(e,h,c,v)+v):g&&(u+=g)),this.add(s,"setProperty",c,u,n,i,0,0,h),o.push(h),A.push(h,0,s[h]);else if(d!=="undefined"){if(l&&h in l?(c=typeof l[h]=="function"?l[h].call(r,n,e,i):l[h],Re(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),_=d==="string"&&u.charAt(1)==="="&&u.substr(0,2),_&&(u=u.substr(2)),f=parseFloat(u),h in Qt&&(h==="autoAlpha"&&(p===1&&lr(e,"visibility")==="hidden"&&f&&(p=0),A.push("visibility",0,s.visibility),Sr(this,s,"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),M=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||(E=e._gsap,E.renderTransform&&!t.parseTransform||Yn(e,t.parseTransform),L=t.smoothOrigin!==!1&&E.smooth,b=this._pt=new st(this._pt,s,we,0,1,E.renderTransform,E,0,-1),b.dep=1),h==="scale")this._pt=new st(this._pt,E,"scaleY",E.scaleY,(_?zr(E.scaleY,_+f):f)-E.scaleY||0,$o),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){A.push(yt,0,s[yt]),u=ud(u),E.svg?Zo(e,u,0,L,0,this):(v=parseFloat(u.split(" ")[2])||0,v!==E.zOrigin&&Sr(this,E,"zOrigin",E.zOrigin,v),Sr(this,s,h,Ii(c),Ii(u)));continue}else if(h==="svgOrigin"){Zo(e,u,1,L,0,this);continue}else if(h in Ua){hd(this,E,h,p,_?zr(p,_+u):u);continue}else if(h==="smoothOrigin"){Sr(this,E,"smooth",E.smooth,u);continue}else if(h==="force3D"){E[h]=u;continue}else if(h==="transform"){md(this,u,e);continue}}else h in s||(h=_n(h)||h);if(w||(f||f===0)&&(p||p===0)&&!$u.test(u)&&h in s)g=(c+"").substr((p+"").length),f||(f=0),v=Ke(u)||(h in _t.units?_t.units[h]:g),g!==v&&(p=Mr(e,h,c,v)),this._pt=new st(this._pt,w?E:s,h,p,(_?zr(p,_+f):f)-p,!w&&(v==="px"||h==="zIndex")&&t.autoRound!==!1?Ju:$o),this._pt.u=v||0,w&&M!==u?(this._pt.b=c,this._pt.e=M,this._pt.r=Zu):g!==v&&v!=="%"&&(this._pt.b=c,this._pt.r=Qu);else if(h in s)cd.call(this,e,h,c,_?_+u:u);else if(h in e)this.add(e,h,c||e[h],_?_+u:u,n,i);else if(h!=="parseTransform"){Ai(h,u);continue}w||(h in s?A.push(h,0,s[h]):typeof e[h]=="function"?A.push(h,2,e[h]()):A.push(h,1,c||e[h])),o.push(h)}}T&&Uo(this)},render:function(e,t){if(t.tween._time||!es())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&&Pa===r?t==="scale"?nd:rd:(Pa=r||{})&&(t==="scale"?id:od):e.style&&!Mi(e.style[t])?ed:~t.indexOf("-")?td:Hi(e,t)},core:{_removeProperty:Lr,_getMatrix:rs}};et.utils.checkPrefix=_n;et.core.getStyleSaver=Ga;(function(a,e,t,r){var n=ot(a+","+e+","+t,function(i){cr[i]=1});ot(e,function(i){_t.units[i]="deg",Ua[i]=1}),Qt[n[13]]=a+","+e,ot(r,function(i){var o=i.split(":");Qt[o[1]]=n[o[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");ot("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){_t.units[a]="px"});et.registerPlugin(ns);var qe=et.registerPlugin(ns)||et,hf=qe.core.Tween;function ja(a,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(a,r.key,r)}}function gd(a,e,t){return e&&ja(a.prototype,e),t&&ja(a,t),a}var $e,qi,_d,Lt,Ar,kr,vn,Za,Ur,Un,Ja,ur,Gt,el,tl=function(){return $e||typeof window<"u"&&($e=window.gsap)&&$e.registerPlugin&&$e},rl=1,yn=[],j=[],Vt=[],Kn=Date.now,is=function(e,t){return t},yd=function(){var e=Un.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,j),n.push.apply(n,Vt),j=r,Vt=n,is=function(o,s){return t[o](s)}},fr=function(e,t){return~Vt.indexOf(e)&&Vt[Vt.indexOf(e)+1][t]},$n=function(e){return!!~Ja.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)},Di="scrollLeft",Ri="scrollTop",os=function(){return ur&&ur.isPressed||j.cache++},Fi=function(e,t){var r=function n(i){if(i||i===0){rl&&(Lt.history.scrollRestoration="manual");var o=ur&&ur.isPressed;i=n.v=Math.round(i)||(ur&&ur.iOS?1:0),e(i),n.cacheID=j.cache,o&&is("ss",i)}else(t||j.cache!==n.cacheID||is("ref"))&&(n.cacheID=j.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},tt={s:Di,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Fi(function(a){return arguments.length?Lt.scrollTo(a,Oe.sc()):Lt.pageXOffset||Ar[Di]||kr[Di]||vn[Di]||0})},Oe={s:Ri,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:tt,sc:Fi(function(a){return arguments.length?Lt.scrollTo(tt.sc(),a):Lt.pageYOffset||Ar[Ri]||kr[Ri]||vn[Ri]||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)},vd=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;$n(e)&&(e=Ar.scrollingElement||kr);var i=j.indexOf(e),o=n===Oe.sc?1:2;!~i&&(i=j.push(e)-1),j[i+o]||lt(e,"scroll",os);var s=j[i+o],l=s||(j[i+o]=Fi(fr(e,r),!0)||($n(e)?n:Fi(function(c){return arguments.length?e[r]=c:e[r]})));return l.target=e,s||(l.smooth=$e.getProperty(e,"scrollBehavior")==="smooth"),l},Ni=function(e,t,r){var n=e,i=e,o=Kn(),s=o,l=t||50,c=Math.max(500,l*3),u=function(m,h){var g=Kn();h||g-o>l?(i=n,n=m,s=o,o=g):r?n+=m:n=i+(m-i)/(g-s)*(o-s)},f=function(){i=n=r?0:n,s=o=0},p=function(m){var h=s,g=i,v=Kn();return(m||m===0)&&m!==n&&u(m),o===s||v-s>c?0:(n+(r?g:-g))/((r?v:o)-h)*1e3};return{update:u,reset:f,getVelocity:p}},Xn=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Qa=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},nl=function(){Un=$e.core.globals().ScrollTrigger,Un&&Un.core&&yd()},il=function(e){return $e=e||tl(),!qi&&$e&&typeof document<"u"&&document.body&&(Lt=window,Ar=document,kr=Ar.documentElement,vn=Ar.body,Ja=[Lt,Ar,kr,vn],_d=$e.utils.clamp,el=$e.core.context||function(){},Ur="onpointerenter"in vn?"pointer":"mouse",Za=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 rl=0},500),nl(),qi=1),qi};tt.op=Oe;j.cache=0;var Le=function(){function a(t){this.init(t)}var e=a.prototype;return e.init=function(r){qi||il($e)||console.warn("Please gsap.registerPlugin(Observer)"),Un||nl();var n=r.tolerance,i=r.dragMinimum,o=r.type,s=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,v=r.onDragEnd,_=r.onDrag,w=r.onPress,b=r.onRelease,E=r.onRight,L=r.onLeft,T=r.onUp,A=r.onDown,M=r.onChangeX,x=r.onChangeY,P=r.onChange,C=r.onToggleX,D=r.onToggleY,N=r.onHover,z=r.onHoverEnd,q=r.onMove,k=r.ignoreCheck,I=r.isNormalizer,X=r.onGestureStart,y=r.onGestureEnd,W=r.onWheel,ie=r.onEnable,oe=r.onDisable,K=r.onClick,le=r.scrollSpeed,me=r.capture,se=r.allowClicks,Ee=r.lockAxis,Pe=r.onLockAxis;this.target=s=ct(s)||kr,this.vars=r,d&&(d=$e.utils.toArray(d)),n=n||1e-9,i=i||0,m=m||1,le=le||1,o=o||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(Lt.getComputedStyle(vn).lineHeight)||22);var qt,Ge,Me,$,fe,pt,vt,S=this,bt=0,er=0,pe=r.passive||!u&&r.passive!==!1,ae=dr(s,tt),tr=dr(s,Oe),mr=ae(),Hr=tr(),Ne=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Gt[0]==="pointerdown",gr=$n(s),Ae=s.ownerDocument||Ar,Ft=[0,0,0],Ct=[0,0,0],rr=0,kn=function(){return rr=Kn()},He=function(B,re){return(S.event=B)&&d&&vd(B.target,d)||re&&Ne&&B.pointerType!=="touch"||k&&k(B,re)},mi=function(){S._vx.reset(),S._vy.reset(),Ge.pause(),f&&f(S)},nr=function(){var B=S.deltaX=Qa(Ft),re=S.deltaY=Qa(Ct),H=Math.abs(B)>=n,G=Math.abs(re)>=n;P&&(H||G)&&P(S,B,re,Ft,Ct),H&&(E&&S.deltaX>0&&E(S),L&&S.deltaX<0&&L(S),M&&M(S),C&&S.deltaX<0!=bt<0&&C(S),bt=S.deltaX,Ft[0]=Ft[1]=Ft[2]=0),G&&(A&&S.deltaY>0&&A(S),T&&S.deltaY<0&&T(S),x&&x(S),D&&S.deltaY<0!=er<0&&D(S),er=S.deltaY,Ct[0]=Ct[1]=Ct[2]=0),($||Me)&&(q&&q(S),Me&&(g&&Me===1&&g(S),_&&_(S),Me=0),$=!1),pt&&!(pt=!1)&&Pe&&Pe(S),fe&&(W(S),fe=!1),qt=0},nn=function(B,re,H){Ft[H]+=B,Ct[H]+=re,S._vx.update(B),S._vy.update(re),c?qt||(qt=requestAnimationFrame(nr)):nr()},on=function(B,re){Ee&&!vt&&(S.axis=vt=Math.abs(B)>Math.abs(re)?"x":"y",pt=!0),vt!=="y"&&(Ft[2]+=B,S._vx.update(B,!0)),vt!=="x"&&(Ct[2]+=re,S._vy.update(re,!0)),c?qt||(qt=requestAnimationFrame(nr)):nr()},_r=function(B){if(!He(B,1)){B=Xn(B,u);var re=B.clientX,H=B.clientY,G=re-S.x,R=H-S.y,V=S.isDragging;S.x=re,S.y=H,(V||(G||R)&&(Math.abs(S.startX-re)>=i||Math.abs(S.startY-H)>=i))&&(Me||(Me=V?2:1),V||(S.isDragging=!0),on(G,R))}},Or=S.onPress=function(Y){He(Y,1)||Y&&Y.button||(S.axis=vt=null,Ge.pause(),S.isPressed=!0,Y=Xn(Y),bt=er=0,S.startX=S.x=Y.clientX,S.startY=S.y=Y.clientY,S._vx.reset(),S._vy.reset(),lt(I?s:Ae,Gt[1],_r,pe,!0),S.deltaX=S.deltaY=0,w&&w(S))},J=S.onRelease=function(Y){if(!He(Y,1)){at(I?s:Ae,Gt[1],_r,!0);var B=!isNaN(S.y-S.startY),re=S.isDragging,H=re&&(Math.abs(S.x-S.startX)>3||Math.abs(S.y-S.startY)>3),G=Xn(Y);!H&&B&&(S._vx.reset(),S._vy.reset(),u&&se&&$e.delayedCall(.08,function(){if(Kn()-rr>300&&!Y.defaultPrevented){if(Y.target.click)Y.target.click();else if(Ae.createEvent){var R=Ae.createEvent("MouseEvents");R.initMouseEvent("click",!0,!0,Lt,1,G.screenX,G.screenY,G.clientX,G.clientY,!1,!1,!1,!1,0,null),Y.target.dispatchEvent(R)}}})),S.isDragging=S.isGesturing=S.isPressed=!1,f&&re&&!I&&Ge.restart(!0),Me&&nr(),v&&re&&v(S),b&&b(S,H)}},Ir=function(B){return B.touches&&B.touches.length>1&&(S.isGesturing=!0)&&X(B,S.isDragging)},Nt=function(){return(S.isGesturing=!1)||y(S)},Bt=function(B){if(!He(B)){var re=ae(),H=tr();nn((re-mr)*le,(H-Hr)*le,1),mr=re,Hr=H,f&&Ge.restart(!0)}},zt=function(B){if(!He(B)){B=Xn(B,u),W&&(fe=!0);var re=(B.deltaMode===1?l:B.deltaMode===2?Lt.innerHeight:1)*m;nn(B.deltaX*re,B.deltaY*re,0),f&&!I&&Ge.restart(!0)}},Dr=function(B){if(!He(B)){var re=B.clientX,H=B.clientY,G=re-S.x,R=H-S.y;S.x=re,S.y=H,$=!0,f&&Ge.restart(!0),(G||R)&&on(G,R)}},sn=function(B){S.event=B,N(S)},ir=function(B){S.event=B,z(S)},Cn=function(B){return He(B)||Xn(B,u)&&K(S)};Ge=S._dc=$e.delayedCall(p||.25,mi).pause(),S.deltaX=S.deltaY=0,S._vx=Ni(0,50,!0),S._vy=Ni(0,50,!0),S.scrollX=ae,S.scrollY=tr,S.isDragging=S.isGesturing=S.isPressed=!1,el(this),S.enable=function(Y){return S.isEnabled||(lt(gr?Ae:s,"scroll",os),o.indexOf("scroll")>=0&&lt(gr?Ae:s,"scroll",Bt,pe,me),o.indexOf("wheel")>=0&&lt(s,"wheel",zt,pe,me),(o.indexOf("touch")>=0&&Za||o.indexOf("pointer")>=0)&&(lt(s,Gt[0],Or,pe,me),lt(Ae,Gt[2],J),lt(Ae,Gt[3],J),se&&lt(s,"click",kn,!0,!0),K&&lt(s,"click",Cn),X&&lt(Ae,"gesturestart",Ir),y&&lt(Ae,"gestureend",Nt),N&&lt(s,Ur+"enter",sn),z&&lt(s,Ur+"leave",ir),q&&lt(s,Ur+"move",Dr)),S.isEnabled=!0,S.isDragging=S.isGesturing=S.isPressed=$=Me=!1,S._vx.reset(),S._vy.reset(),mr=ae(),Hr=tr(),Y&&Y.type&&Or(Y),ie&&ie(S)),S},S.disable=function(){S.isEnabled&&(yn.filter(function(Y){return Y!==S&&$n(Y.target)}).length||at(gr?Ae:s,"scroll",os),S.isPressed&&(S._vx.reset(),S._vy.reset(),at(I?s:Ae,Gt[1],_r,!0)),at(gr?Ae:s,"scroll",Bt,me),at(s,"wheel",zt,me),at(s,Gt[0],Or,me),at(Ae,Gt[2],J),at(Ae,Gt[3],J),at(s,"click",kn,!0),at(s,"click",Cn),at(Ae,"gesturestart",Ir),at(Ae,"gestureend",Nt),at(s,Ur+"enter",sn),at(s,Ur+"leave",ir),at(s,Ur+"move",Dr),S.isEnabled=S.isPressed=S.isDragging=!1,oe&&oe(S))},S.kill=S.revert=function(){S.disable();var Y=yn.indexOf(S);Y>=0&&yn.splice(Y,1),ur===S&&(ur=0)},yn.push(S),I&&$n(s)&&(ur=S),S.enable(h)},gd(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();Le.version="3.14.2";Le.create=function(a){return new Le(a)};Le.register=il;Le.getAll=function(){return yn.slice()};Le.getById=function(a){return yn.filter(function(e){return e.vars.id===a})[0]};tl()&&$e.registerPlugin(Le);var O,En,Z,he,kt,ne,bs,to,ci,ri,Qn,Bi,rt,io,ps,dt,ol,sl,xn,El,ss,xl,ut,hs,Tl,Sl,Cr,ms,ws,Tn,Es,ni,gs,as,zi=1,nt=Date.now,ls=nt(),Rt=0,Zn=0,al=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},ll=function(e,t){return t&&(!At(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},bd=function a(){return Zn&&requestAnimationFrame(a)},cl=function(){return io=1},ul=function(){return io=0},Zt=function(e){return e},Jn=function(e){return Math.round(e*1e5)/1e5||0},Ll=function(){return typeof window<"u"},Ml=function(){return O||Ll()&&(O=window.gsap)&&O.registerPlugin&&O},Jr=function(e){return!!~bs.indexOf(e)},Al=function(e){return(e==="Height"?Es:Z["inner"+e])||kt["client"+e]||ne["client"+e]},kl=function(e){return fr(e,"getBoundingClientRect")||(Jr(e)?function(){return eo.width=Z.innerWidth,eo.height=Es,eo}:function(){return pr(e)})},wd=function(e,t,r){var n=r.d,i=r.d2,o=r.a;return(o=fr(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?Al(i):e["client"+i])||0}},Ed=function(e,t){return!t||~Vt.indexOf(e)?kl(e):function(){return eo}},Jt=function(e,t){var r=t.s,n=t.d2,i=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=fr(e,r))?o()-kl(e)()[i]:Jr(e)?(kt[r]||ne[r])-Al(n):e[r]-e["offset"+n])},Wi=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"},ei=function(e){return typeof e=="number"},Kr=function(e){return typeof e=="object"},jn=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},cs=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,Cl="left",Pl="top",xs="right",Ts="bottom",jr="width",Qr="height",ii="Right",oi="Left",si="Top",ai="Bottom",Ie="padding",It="margin",Ln="Width",Ss="Height",Fe="px",Dt=function(e){return Z.getComputedStyle(e)},xd=function(e){var t=Dt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},dl=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)[ps]!=="matrix(1, 0, 0, 1, 0, 0)"&&O.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},ro=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Hl=function(e){var t=[],r=e.labels,n=e.duration(),i;for(i in r)t.push(r[i]/n);return t},Td=function(e){return function(t){return O.utils.snap(Hl(e),t)}},Ls=function(e){var t=O.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,i){return n-i});return r?function(n,i,o){o===void 0&&(o=.001);var s;if(!i)return t(n);if(i>0){for(n-=o,s=0;s<r.length;s++)if(r[s]>=n)return r[s];return r[s-1]}else for(s=r.length,n+=o;s--;)if(r[s]<=n)return r[s];return r[0]}:function(n,i,o){o===void 0&&(o=.001);var s=t(n);return!i||Math.abs(s-n)<o||s-n<0==i<0?s:t(i<0?n-e:n+e)}},Sd=function(e){return function(t,r){return Ls(Hl(e))(t,r.direction)}},Gi=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)},Vi=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},fl={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Yi={toggleActions:"play",anticipatePin:0},no={top:0,left:0,center:.5,bottom:1,right:1},ji=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 no?no[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Xi=function(e,t,r,n,i,o,s,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,v=h?ne:r,_=e.indexOf("start")!==-1,w=_?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===Oe?xs:Ts)+":"+(o+parseFloat(p))+"px;"),s&&(b+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),m._isStart=_,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=b,m.innerText=t||t===0?e+"-"+t:e,v.children[0]?v.insertBefore(m,v.children[0]):v.appendChild(m),m._offset=m["offset"+n.op.d2],Qi(m,0,n,_),m},Qi=function(e,t,r,n){var i={display:"block"},o=r[n?"os2":"p2"],s=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+Ln]=1,i["border"+s+Ln]=0,i[r.p]=t+"px",O.set(e,i)},Q=[],_s={},ui,pl=function(){return nt()-Rt>34&&(ui||(ui=requestAnimationFrame(hr)))},wn=function(){(!ut||!ut.isPressed||ut.startX>ne.clientWidth)&&(j.cache++,ut?ui||(ui=requestAnimationFrame(hr)):hr(),Rt||tn("scrollStart"),Rt=nt())},us=function(){Sl=Z.innerWidth,Tl=Z.innerHeight},ti=function(e){j.cache++,(e===!0||!rt&&!xl&&!he.fullscreenElement&&!he.webkitFullscreenElement&&(!hs||Sl!==Z.innerWidth||Math.abs(Z.innerHeight-Tl)>Z.innerHeight*.25))&&to.restart(!0)},en={},Ld=[],Ol=function a(){return ze(F,"scrollEnd",a)||$r(!0)},tn=function(e){return en[e]&&en[e].map(function(t){return t()})||Ld},Mt=[],Il=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)},Dl=function(){return j.forEach(function(e){return it(e)&&++e.cacheID&&(e.rec=e())})},Ms=function(e,t){var r;for(dt=0;dt<Q.length;dt++)r=Q[dt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ni=!0,t&&Il(t),t||tn("revert")},Rl=function(e,t){j.cache++,(t||!ft)&&j.forEach(function(r){return it(r)&&r.cacheID++&&(r.rec=0)}),At(e)&&(Z.history.scrollRestoration=ws=e)},ft,Zr=0,hl,Md=function(){if(hl!==Zr){var e=hl=Zr;requestAnimationFrame(function(){return e===Zr&&$r(!0)})}},ql=function(){ne.appendChild(Tn),Es=!ut&&Tn.offsetHeight||Z.innerHeight,ne.removeChild(Tn)},ml=function(e){return ci(".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,ne=he.body,bs=[Z,he,kt,ne],Rt&&!e&&!ni){We(F,"scrollEnd",Ol);return}ql(),ft=F.isRefreshing=!0,ni||Dl();var r=tn("refreshInit");El&&F.sort(),t||Ms(),j.forEach(function(n){it(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),Q.slice(0).forEach(function(n){return n.refresh()}),ni=!1,Q.forEach(function(n){if(n._subPinOffset&&n.pin){var i=n.vars.horizontal?"offsetWidth":"offsetHeight",o=n.pin[i];n.revert(!0,1),n.adjustPinSpacing(n.pin[i]-o),n.refresh()}}),gs=1,ml(!0),Q.forEach(function(n){var i=Jt(n.scroller,n._dir),o=n.vars.end==="max"||n._endClamp&&n.end>i,s=n._startClamp&&n.start>=i;(o||s)&&n.setPositions(s?i-1:n.start,o?Math.max(s?i:n.start+1,i):n.end,!0)}),ml(!1),gs=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),j.forEach(function(n){it(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Rl(ws,1),to.pause(),Zr++,ft=2,hr(2),Q.forEach(function(n){return it(n.vars.onRefresh)&&n.vars.onRefresh(n)}),ft=F.isRefreshing=!1,tn("refresh")},ys=0,Zi=1,li,hr=function(e){if(e===2||!ft&&!ni){F.isUpdating=!0,li&&li.update(0);var t=Q.length,r=nt(),n=r-ls>=50,i=t&&Q[0].scroll();if(Zi=ys>i?-1:1,ft||(ys=i),n&&(Rt&&!io&&r-Rt>200&&(Rt=0,tn("scrollEnd")),Qn=ls,ls=r),Zi<0){for(dt=t;dt-- >0;)Q[dt]&&Q[dt].update(0,n);Zi=1}else for(dt=0;dt<t;dt++)Q[dt]&&Q[dt].update(0,n);F.isUpdating=!1}ui=0},vs=[Cl,Pl,Ts,xs,It+ai,It+ii,It+si,It+oi,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Ji=vs.concat([jr,Qr,"boxSizing","max"+Ln,"max"+Ss,"position",It,Ie,Ie+si,Ie+ii,Ie+ai,Ie+oi]),Ad=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},ds=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i=vs.length,o=t.style,s=e.style,l;i--;)l=vs[i],o[l]=r[l];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),s[Ts]=s[xs]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[jr]=ro(e,tt)+Fe,o[Qr]=ro(e,Oe)+Fe,o[Ie]=s[It]=s[Pl]=s[Cl]="0",Sn(n),s[jr]=s["max"+Ln]=r[jr],s[Qr]=s["max"+Ss]=r[Qr],s[Ie]=r[Ie],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},kd=/([A-Z])/g,Sn=function(e){if(e){var t=e.t.style,r=e.length,n=0,i,o;for((e.t._gsap||O.core.getCache(e.t)).uncache=1;n<r;n+=2)o=e[n+1],i=e[n],o?t[i]=o:t[i]&&t.removeProperty(i.replace(kd,"-$1").toLowerCase())}},Ui=function(e){for(var t=Ji.length,r=e.style,n=[],i=0;i<t;i++)n.push(Ji[i],r[Ji[i]]);return n.t=e,n},Cd=function(e,t,r){for(var n=[],i=e.length,o=r?8:0,s;o<i;o+=2)s=e[o],n.push(s,s in t?t[s]:e[o+1]);return n.t=e.t,n},eo={left:0,top:0},gl=function(e,t,r,n,i,o,s,l,c,u,f,p,d,m){it(e)&&(e=e(l)),At(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?ji("0"+e.substr(3),r):0));var h=d?d.time():0,g,v,_;if(d&&d.seek(0),isNaN(e)||(e=+e),ei(e))d&&(e=O.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,p,e)),s&&Qi(s,r,n,!0);else{it(t)&&(t=t(l));var w=(e||"0").split(" "),b,E,L,T;_=ct(t,l)||ne,b=pr(_)||{},(!b||!b.left&&!b.top)&&Dt(_).display==="none"&&(T=_.style.display,_.style.display="block",b=pr(_),T?_.style.display=T:_.style.removeProperty("display")),E=ji(w[0],b[n.d]),L=ji(w[1]||"0",r),e=b[n.p]-c[n.p]-u+E+i-L,s&&Qi(s,L,n,r-L<20||s._isStart&&L>20),r-=r-L}if(m&&(l[m]=e||-.001,e<0&&(e=0)),o){var A=e+r,M=o._isStart;g="scroll"+n.d2,Qi(o,A,n,M&&A>20||!M&&(f?Math.max(ne[g],kt[g]):o.parentNode[g])<=A+1),f&&(c=pr(s),f&&(o.style[n.op.p]=c[n.op.p]-n.op.m-o._offset+Fe))}return d&&_&&(g=pr(_),d.seek(p),v=pr(_),d._caScrollDist=g[n.p]-v[n.p],e=e/d._caScrollDist*p),d&&d.seek(h),d?e:Math.round(e)},Pd=/(webkit|moz|length|cssText|inset)/i,_l=function(e,t,r,n){if(e.parentNode!==t){var i=e.style,o,s;if(t===ne){e._stOrig=i.cssText,s=Dt(e);for(o in s)!+o&&!Pd.test(o)&&s[o]&&typeof i[o]=="string"&&o!=="0"&&(i[o]=s[o]);i.top=r,i.left=n}else i.cssText=e._stOrig;O.core.getCache(e).uncache=1,t.appendChild(e)}},Fl=function(e,t,r){var n=t,i=n;return function(o){var s=Math.round(e());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(o=s,r&&r()),i=n,n=Math.round(o),n}},Ki=function(e,t,r){var n={};n[t.p]="+="+r,O.set(e,n)},yl=function(e,t){var r=dr(e,t),n="_scroll"+t.p2,i=function o(s,l,c,u,f){var p=o.tween,d=l.onComplete,m={};c=c||r();var h=Fl(r,c,function(){p.kill(),o.tween=0});return f=u&&f||0,u=u||s-c,p&&p.kill(),l[n]=s,l.inherit=!1,l.modifiers=m,m[n]=function(){return h(c+u*p.ratio+f*p.ratio*p.ratio)},l.onUpdate=function(){j.cache++,o.tween&&hr()},l.onComplete=function(){o.tween=0,d&&d.call(p)},p=o.tween=O.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),F.isTouch&&We(e,"touchmove",r.wheelHandler),i},F=function(){function a(t,r){En||a.register(O)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ms(this),this.init(t,r)}var e=a.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Zn){this.update=this.refresh=this.kill=Zt;return}r=dl(At(r)||ei(r)||r.nodeType?{trigger:r}:r,Yi);var i=r,o=i.onUpdate,s=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,v=i.onScrubComplete,_=i.onSnapComplete,w=i.once,b=i.snap,E=i.pinReparent,L=i.pinSpacer,T=i.containerAnimation,A=i.fastScrollEnd,M=i.preventOverlaps,x=r.horizontal||r.containerAnimation&&r.horizontal!==!1?tt:Oe,P=!f&&f!==0,C=ct(r.scroller||Z),D=O.core.getCache(C),N=Jr(C),z=("pinType"in r?r.pinType:fr(C,"pinType")||N&&"fixed")==="fixed",q=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],k=P&&r.toggleActions.split(" "),I="markers"in r?r.markers:Yi.markers,X=N?0:parseFloat(Dt(C)["border"+x.p2+Ln])||0,y=this,W=r.onRefreshInit&&function(){return r.onRefreshInit(y)},ie=wd(C,N,x),oe=Ed(C,N),K=0,le=0,me=0,se=dr(C,x),Ee,Pe,qt,Ge,Me,$,fe,pt,vt,S,bt,er,pe,ae,tr,mr,Hr,Ne,gr,Ae,Ft,Ct,rr,kn,He,mi,nr,nn,on,_r,Or,J,Ir,Nt,Bt,zt,Dr,sn,ir;if(y._startClamp=y._endClamp=!1,y._dir=x,g*=45,y.scroller=C,y.scroll=T?T.time.bind(T):se,Ge=se(),y.vars=r,n=n||r.animation,"refreshPriority"in r&&(El=1,r.refreshPriority===-9999&&(li=y)),D.tweenScroll=D.tweenScroll||{top:yl(C,Oe),left:yl(C,tt)},y.tweenTo=Ee=D.tweenScroll[x.p],y.scrubDuration=function(H){Ir=ei(H)&&H,Ir?J?J.duration(H):J=O.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ir,paused:!0,onComplete:function(){return v&&v(y)}}):(J&&J.progress(1).kill(),J=0)},n&&(n.vars.lazy=!1,n._initted&&!y.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),y.animation=n.pause(),n.scrollTrigger=y,y.scrubDuration(f),_r=0,l||(l=n.vars.id)),b&&((!Kr(b)||b.push)&&(b={snapTo:b}),"scrollBehavior"in ne.style&&O.set(N?[ne,kt]:C,{scrollBehavior:"auto"}),j.forEach(function(H){return it(H)&&H.target===(N?he.scrollingElement||kt:C)&&(H.smooth=!1)}),qt=it(b.snapTo)?b.snapTo:b.snapTo==="labels"?Td(n):b.snapTo==="labelsDirectional"?Sd(n):b.directional!==!1?function(H,G){return Ls(b.snapTo)(H,nt()-le<500?0:G.direction)}:O.utils.snap(b.snapTo),Nt=b.duration||{min:.1,max:2},Nt=Kr(Nt)?ri(Nt.min,Nt.max):ri(Nt,Nt),Bt=O.delayedCall(b.delay||Ir/2||.1,function(){var H=se(),G=nt()-le<500,R=Ee.tween;if((G||Math.abs(y.getVelocity())<10)&&!R&&!io&&K!==H){var V=(H-$)/ae,Be=n&&!P?n.totalProgress():V,ee=G?0:(Be-Or)/(nt()-Qn)*1e3||0,ke=O.utils.clamp(-V,1-V,bn(ee/2)*ee/.185),je=V+(b.inertia===!1?0:ke),xe,ge,ce=b,Wt=ce.onStart,ye=ce.onInterrupt,wt=ce.onComplete;if(xe=qt(je,y),ei(xe)||(xe=je),ge=Math.max(0,Math.round($+xe*ae)),H<=fe&&H>=$&&ge!==H){if(R&&!R._initted&&R.data<=bn(ge-H))return;b.inertia===!1&&(ke=xe-V),Ee(ge,{duration:Nt(bn(Math.max(bn(je-Be),bn(xe-Be))*.185/ee/.05||0)),ease:b.ease||"power3",data:bn(ge-H),onInterrupt:function(){return Bt.restart(!0)&&ye&&ye(y)},onComplete:function(){y.update(),K=se(),n&&!P&&(J?J.resetTo("totalProgress",xe,n._tTime/n._tDur):n.progress(xe)),_r=Or=n&&!P?n.totalProgress():y.progress,_&&_(y),wt&&wt(y)}},H,ke*ae,ge-H-ke*ae),Wt&&Wt(y,Ee.tween)}}else y.isActive&&K!==H&&Bt.restart(!0)}).pause()),l&&(_s[l]=y),p=y.trigger=ct(p||d!==!0&&d),ir=p&&p._gsap&&p._gsap.stRevert,ir&&(ir=ir(y)),d=d===!0?p:ct(d),At(s)&&(s={targets:p,className:s}),d&&(m===!1||m===It||(m=!m&&d.parentNode&&d.parentNode.style&&Dt(d.parentNode).display==="flex"?!1:Ie),y.pin=d,Pe=O.core.getCache(d),Pe.spacer?tr=Pe.pinState:(L&&(L=ct(L),L&&!L.nodeType&&(L=L.current||L.nativeElement),Pe.spacerIsNative=!!L,L&&(Pe.spacerState=Ui(L))),Pe.spacer=Ne=L||he.createElement("div"),Ne.classList.add("pin-spacer"),l&&Ne.classList.add("pin-spacer-"+l),Pe.pinState=tr=Ui(d)),r.force3D!==!1&&O.set(d,{force3D:!0}),y.spacer=Ne=Pe.spacer,on=Dt(d),kn=on[m+x.os2],Ae=O.getProperty(d),Ft=O.quickSetter(d,x.a,Fe),ds(d,Ne,on),Hr=Ui(d)),I){er=Kr(I)?dl(I,fl):fl,S=Xi("scroller-start",l,C,x,er,0),bt=Xi("scroller-end",l,C,x,er,0,S),gr=S["offset"+x.op.d2];var Cn=ct(fr(C,"content")||C);pt=this.markerStart=Xi("start",l,Cn,x,er,gr,0,T),vt=this.markerEnd=Xi("end",l,Cn,x,er,gr,0,T),T&&(sn=O.quickSetter([pt,vt],x.a,Fe)),!z&&!(Vt.length&&fr(C,"fixedMarkers")===!0)&&(xd(N?ne:C),O.set([S,bt],{force3D:!0}),mi=O.quickSetter(S,x.a,Fe),nn=O.quickSetter(bt,x.a,Fe))}if(T){var Y=T.vars.onUpdate,B=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){y.update(0,0,1),Y&&Y.apply(T,B||[])})}if(y.previous=function(){return Q[Q.indexOf(y)-1]},y.next=function(){return Q[Q.indexOf(y)+1]},y.revert=function(H,G){if(!G)return y.kill(!0);var R=H!==!1||!y.enabled,V=rt;R!==y.isReverted&&(R&&(zt=Math.max(se(),y.scroll.rec||0),me=y.progress,Dr=n&&n.progress()),pt&&[pt,vt,S,bt].forEach(function(Be){return Be.style.display=R?"none":"block"}),R&&(rt=y,y.update(R)),d&&(!E||!y.isActive)&&(R?Ad(d,Ne,tr):ds(d,Ne,Dt(d),He)),R||y.update(R),rt=V,y.isReverted=R)},y.refresh=function(H,G,R,V){if(!((rt||!y.enabled)&&!G)){if(d&&H&&Rt){We(a,"scrollEnd",Ol);return}!ft&&W&&W(y),rt=y,Ee.tween&&!R&&(Ee.tween.kill(),Ee.tween=0),J&&J.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)),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var Be=ie(),ee=oe(),ke=T?T.duration():Jt(C,x),je=ae<=.01||!ae,xe=0,ge=V||0,ce=Kr(R)?R.end:r.end,Wt=r.endTrigger||p,ye=Kr(R)?R.start:r.start||(r.start===0||!p?0:d?"0 0":"0 100%"),wt=y.pinnedContainer=r.pinnedContainer&&ct(r.pinnedContainer,y),Yt=p&&Math.max(0,Q.indexOf(y))||0,Ve=Yt,Ye,Qe,Rr,gi,Ze,De,Xt,co,qs,Pn,Ut,Hn,_i;for(I&&Kr(R)&&(Hn=O.getProperty(S,x.p),_i=O.getProperty(bt,x.p));Ve-- >0;)De=Q[Ve],De.end||De.refresh(0,1)||(rt=y),Xt=De.pin,Xt&&(Xt===p||Xt===d||Xt===wt)&&!De.isReverted&&(Pn||(Pn=[]),Pn.unshift(De),De.revert(!0,!0)),De!==Q[Ve]&&(Yt--,Ve--);for(it(ye)&&(ye=ye(y)),ye=al(ye,"start",y),$=gl(ye,p,Be,x,se(),pt,S,y,ee,X,z,ke,T,y._startClamp&&"_startClamp")||(d?-.001:0),it(ce)&&(ce=ce(y)),At(ce)&&!ce.indexOf("+=")&&(~ce.indexOf(" ")?ce=(At(ye)?ye.split(" ")[0]:"")+ce:(xe=ji(ce.substr(2),Be),ce=At(ye)?ye:(T?O.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,$):$)+xe,Wt=p)),ce=al(ce,"end",y),fe=Math.max($,gl(ce||(Wt?"100% 0":ke),Wt,Be,x,se()+xe,vt,bt,y,ee,X,z,ke,T,y._endClamp&&"_endClamp"))||-.001,xe=0,Ve=Yt;Ve--;)De=Q[Ve]||{},Xt=De.pin,Xt&&De.start-De._pinPush<=$&&!T&&De.end>0&&(Ye=De.end-(y._startClamp?Math.max(0,De.start):De.start),(Xt===p&&De.start-De._pinPush<$||Xt===wt)&&isNaN(ye)&&(xe+=Ye*(1-De.progress)),Xt===d&&(ge+=Ye));if($+=xe,fe+=xe,y._startClamp&&(y._startClamp+=xe),y._endClamp&&!ft&&(y._endClamp=fe||-.001,fe=Math.min(fe,Jt(C,x))),ae=fe-$||($-=.01)&&.001,je&&(me=O.utils.clamp(0,1,O.utils.normalize($,fe,zt))),y._pinPush=ge,pt&&xe&&(Ye={},Ye[x.a]="+="+xe,wt&&(Ye[x.p]="-="+se()),O.set([pt,vt],Ye)),d&&!(gs&&y.end>=Jt(C,x)))Ye=Dt(d),gi=x===Oe,Rr=se(),Ct=parseFloat(Ae(x.a))+ge,!ke&&fe>1&&(Ut=(N?he.scrollingElement||kt:C).style,Ut={style:Ut,value:Ut["overflow"+x.a.toUpperCase()]},N&&Dt(ne)["overflow"+x.a.toUpperCase()]!=="scroll"&&(Ut.style["overflow"+x.a.toUpperCase()]="scroll")),ds(d,Ne,Ye),Hr=Ui(d),Qe=pr(d,!0),co=z&&dr(C,gi?tt:Oe)(),m?(He=[m+x.os2,ae+ge+Fe],He.t=Ne,Ve=m===Ie?ro(d,x)+ae+ge:0,Ve&&(He.push(x.d,Ve+Fe),Ne.style.flexBasis!=="auto"&&(Ne.style.flexBasis=Ve+Fe)),Sn(He),wt&&Q.forEach(function(yr){yr.pin===wt&&yr.vars.pinSpacing!==!1&&(yr._subPinOffset=!0)}),z&&se(zt)):(Ve=ro(d,x),Ve&&Ne.style.flexBasis!=="auto"&&(Ne.style.flexBasis=Ve+Fe)),z&&(Ze={top:Qe.top+(gi?Rr-$:co)+Fe,left:Qe.left+(gi?co:Rr-$)+Fe,boxSizing:"border-box",position:"fixed"},Ze[jr]=Ze["max"+Ln]=Math.ceil(Qe.width)+Fe,Ze[Qr]=Ze["max"+Ss]=Math.ceil(Qe.height)+Fe,Ze[It]=Ze[It+si]=Ze[It+ii]=Ze[It+ai]=Ze[It+oi]="0",Ze[Ie]=Ye[Ie],Ze[Ie+si]=Ye[Ie+si],Ze[Ie+ii]=Ye[Ie+ii],Ze[Ie+ai]=Ye[Ie+ai],Ze[Ie+oi]=Ye[Ie+oi],mr=Cd(tr,Ze,E),ft&&se(0)),n?(qs=n._initted,ss(1),n.render(n.duration(),!0,!0),rr=Ae(x.a)-Ct+ae+ge,nr=Math.abs(ae-rr)>1,z&&nr&&mr.splice(mr.length-2,2),n.render(0,!0,!0),qs||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),ss(0)):rr=ae,Ut&&(Ut.value?Ut.style["overflow"+x.a.toUpperCase()]=Ut.value:Ut.style.removeProperty("overflow-"+x.a));else if(p&&se()&&!T)for(Qe=p.parentNode;Qe&&Qe!==ne;)Qe._pinOffset&&($-=Qe._pinOffset,fe-=Qe._pinOffset),Qe=Qe.parentNode;Pn&&Pn.forEach(function(yr){return yr.revert(!1,!0)}),y.start=$,y.end=fe,Ge=Me=ft?zt:se(),!T&&!ft&&(Ge<zt&&se(zt),y.scroll.rec=0),y.revert(!1,!0),le=nt(),Bt&&(K=-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!==y.progress||T||h||n&&!n._initted)&&(n&&!P&&(n._initted||me||n.vars.immediateRender!==!1)&&n.totalProgress(T&&$<-.001&&!me?O.utils.normalize($,fe,0):me,!0),y.progress=je||(Ge-$)/ae===me?0:me),d&&m&&(Ne._pinOffset=Math.round(y.progress*rr)),J&&J.invalidate(),isNaN(Hn)||(Hn-=O.getProperty(S,x.p),_i-=O.getProperty(bt,x.p),Ki(S,x,Hn),Ki(pt,x,Hn-(V||0)),Ki(bt,x,_i),Ki(vt,x,_i-(V||0))),je&&!ft&&y.update(),u&&!ft&&!pe&&(pe=!0,u(y),pe=!1)}},y.getVelocity=function(){return(se()-Me)/(nt()-Qn)*1e3||0},y.endAnimation=function(){jn(y.callbackAnimation),n&&(J?J.progress(1):n.paused()?P||jn(n,y.direction<0,1):jn(n,n.reversed()))},y.labelToScroll=function(H){return n&&n.labels&&($||y.refresh()||$)+n.labels[H]/n.duration()*ae||0},y.getTrailing=function(H){var G=Q.indexOf(y),R=y.direction>0?Q.slice(0,G).reverse():Q.slice(G+1);return(At(H)?R.filter(function(V){return V.vars.preventOverlaps===H}):R).filter(function(V){return y.direction>0?V.end<=$:V.start>=fe})},y.update=function(H,G,R){if(!(T&&!R&&!H)){var V=ft===!0?zt:y.scroll(),Be=H?0:(V-$)/ae,ee=Be<0?0:Be>1?1:Be||0,ke=y.progress,je,xe,ge,ce,Wt,ye,wt,Yt;if(G&&(Me=Ge,Ge=T?se():V,b&&(Or=_r,_r=n&&!P?n.totalProgress():ee)),g&&d&&!rt&&!zi&&Rt&&(!ee&&$<V+(V-Me)/(nt()-Qn)*g?ee=1e-4:ee===1&&fe>V+(V-Me)/(nt()-Qn)*g&&(ee=.9999)),ee!==ke&&y.enabled){if(je=y.isActive=!!ee&&ee<1,xe=!!ke&&ke<1,ye=je!==xe,Wt=ye||!!ee!=!!ke,y.direction=ee>ke?1:-1,y.progress=ee,Wt&&!rt&&(ge=ee&&!ke?0:ee===1?1:ke===1?2:3,P&&(ce=!ye&&k[ge+1]!=="none"&&k[ge+1]||k[ge],Yt=n&&(ce==="complete"||ce==="reset"||ce in n))),M&&(ye||Yt)&&(Yt||f||!n)&&(it(M)?M(y):y.getTrailing(M).forEach(function(Rr){return Rr.endAnimation()})),P||(J&&!rt&&!zi?(J._dp._time-J._start!==J._time&&J.render(J._dp._time-J._start),J.resetTo?J.resetTo("totalProgress",ee,n._tTime/n._tDur):(J.vars.totalProgress=ee,J.invalidate().restart())):n&&n.totalProgress(ee,!!(rt&&(le||H)))),d){if(H&&m&&(Ne.style[m+x.os2]=kn),!z)Ft(Jn(Ct+rr*ee));else if(Wt){if(wt=!H&&ee>ke&&fe+1>V&&V+1>=Jt(C,x),E)if(!H&&(je||wt)){var Ve=pr(d,!0),Ye=V-$;_l(d,ne,Ve.top+(x===Oe?Ye:0)+Fe,Ve.left+(x===Oe?0:Ye)+Fe)}else _l(d,Ne);Sn(je||wt?mr:Hr),nr&&ee<1&&je||Ft(Ct+(ee===1&&!wt?rr:0))}}b&&!Ee.tween&&!rt&&!zi&&Bt.restart(!0),s&&(ye||w&&ee&&(ee<1||!as))&&ci(s.targets).forEach(function(Rr){return Rr.classList[je||w?"add":"remove"](s.className)}),o&&!P&&!H&&o(y),Wt&&!rt?(P&&(Yt&&(ce==="complete"?n.pause().totalProgress(1):ce==="reset"?n.restart(!0).pause():ce==="restart"?n.restart(!0):n[ce]()),o&&o(y)),(ye||!as)&&(c&&ye&&cs(y,c),q[ge]&&cs(y,q[ge]),w&&(ee===1?y.kill(!1,1):q[ge]=0),ye||(ge=ee===1?1:3,q[ge]&&cs(y,q[ge]))),A&&!je&&Math.abs(y.getVelocity())>(ei(A)?A:2500)&&(jn(y.callbackAnimation),J?J.progress(1):jn(n,ce==="reverse"?1:!ee,1))):P&&o&&!rt&&o(y)}if(nn){var Qe=T?V/T.duration()*(T._caScrollDist||0):V;mi(Qe+(S._isFlipped?1:0)),nn(Qe)}sn&&sn(-V/T.duration()*(T._caScrollDist||0))}},y.enable=function(H,G){y.enabled||(y.enabled=!0,We(C,"resize",ti),N||We(C,"scroll",wn),W&&We(a,"refreshInit",W),H!==!1&&(y.progress=me=0,Ge=Me=K=se()),G!==!1&&y.refresh())},y.getTween=function(H){return H&&Ee?Ee.tween:J},y.setPositions=function(H,G,R,V){if(T){var Be=T.scrollTrigger,ee=T.duration(),ke=Be.end-Be.start;H=Be.start+ke*H/ee,G=Be.start+ke*G/ee}y.refresh(!1,!1,{start:ll(H,R&&!!y._startClamp),end:ll(G,R&&!!y._endClamp)},V),y.update()},y.adjustPinSpacing=function(H){if(He&&H){var G=He.indexOf(x.d)+1;He[G]=parseFloat(He[G])+H+Fe,He[1]=parseFloat(He[1])+H+Fe,Sn(He)}},y.disable=function(H,G){if(H!==!1&&y.revert(!0,!0),y.enabled&&(y.enabled=y.isActive=!1,G||J&&J.pause(),zt=0,Pe&&(Pe.uncache=1),W&&ze(a,"refreshInit",W),Bt&&(Bt.pause(),Ee.tween&&Ee.tween.kill()&&(Ee.tween=0)),!N)){for(var R=Q.length;R--;)if(Q[R].scroller===C&&Q[R]!==y)return;ze(C,"resize",ti),N||ze(C,"scroll",wn)}},y.kill=function(H,G){y.disable(H,G),J&&!G&&J.kill(),l&&delete _s[l];var R=Q.indexOf(y);R>=0&&Q.splice(R,1),R===dt&&Zi>0&&dt--,R=0,Q.forEach(function(V){return V.scroller===y.scroller&&(R=1)}),R||ft||(y.scroll.rec=0),n&&(n.scrollTrigger=null,H&&n.revert({kill:!1}),G||n.kill()),pt&&[pt,vt,S,bt].forEach(function(V){return V.parentNode&&V.parentNode.removeChild(V)}),li===y&&(li=0),d&&(Pe&&(Pe.uncache=1),R=0,Q.forEach(function(V){return V.pin===d&&R++}),R||(Pe.spacer=0)),r.onKill&&r.onKill(y)},Q.push(y),y.enable(!1,!1),ir&&ir(y),n&&n.add&&!ae){var re=y.update;y.update=function(){y.update=re,j.cache++,$||fe||y.refresh()},O.delayedCall(.01,y.update),ae=.01,$=fe=0}else y.refresh();d&&Md()},a.register=function(r){return En||(O=r||Ml(),Ll()&&window.document&&a.enable(),En=Zn),En},a.defaults=function(r){if(r)for(var n in r)Yi[n]=r[n];return Yi},a.disable=function(r,n){Zn=0,Q.forEach(function(o){return o[n?"kill":"disable"](r)}),ze(Z,"wheel",wn),ze(he,"scroll",wn),clearInterval(Bi),ze(he,"touchcancel",Zt),ze(ne,"touchstart",Zt),Gi(ze,he,"pointerdown,touchstart,mousedown",cl),Gi(ze,he,"pointerup,touchend,mouseup",ul),to.kill(),Wi(ze);for(var i=0;i<j.length;i+=3)Vi(ze,j[i],j[i+1]),Vi(ze,j[i],j[i+2])},a.enable=function(){if(Z=window,he=document,kt=he.documentElement,ne=he.body,O&&(ci=O.utils.toArray,ri=O.utils.clamp,ms=O.core.context||Zt,ss=O.core.suppressOverwrites||Zt,ws=Z.history.scrollRestoration||"auto",ys=Z.pageYOffset||0,O.core.globals("ScrollTrigger",a),ne)){Zn=1,Tn=document.createElement("div"),Tn.style.height="100vh",Tn.style.position="absolute",ql(),bd(),Le.register(O),a.isTouch=Le.isTouch,Cr=Le.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),hs=Le.isTouch===1,We(Z,"wheel",wn),bs=[Z,he,kt,ne],O.matchMedia?(a.matchMedia=function(c){var u=O.matchMedia(),f;for(f in c)u.add(f,c[f]);return u},O.addEventListener("matchMediaInit",function(){Dl(),Ms()}),O.addEventListener("matchMediaRevert",function(){return Il()}),O.addEventListener("matchMedia",function(){$r(0,1),tn("matchMedia")}),O.matchMedia().add("(orientation: portrait)",function(){return us(),us})):console.warn("Requires GSAP 3.11.0 or later"),us(),We(he,"scroll",wn);var r=ne.hasAttribute("style"),n=ne.style,i=n.borderTopStyle,o=O.core.Animation.prototype,s,l;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",s=pr(ne),Oe.m=Math.round(s.top+Oe.sc())||0,tt.m=Math.round(s.left+tt.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),r||(ne.setAttribute("style",""),ne.removeAttribute("style")),Bi=setInterval(pl,250),O.delayedCall(.5,function(){return zi=0}),We(he,"touchcancel",Zt),We(ne,"touchstart",Zt),Gi(We,he,"pointerdown,touchstart,mousedown",cl),Gi(We,he,"pointerup,touchend,mouseup",ul),ps=O.utils.checkPrefix("transform"),Ji.push(ps),En=nt(),to=O.delayedCall(.2,$r).pause(),xn=[he,"visibilitychange",function(){var c=Z.innerWidth,u=Z.innerHeight;he.hidden?(ol=c,sl=u):(ol!==c||sl!==u)&&ti()},he,"DOMContentLoaded",$r,Z,"load",$r,Z,"resize",ti],Wi(We),Q.forEach(function(c){return c.enable(0,1)}),l=0;l<j.length;l+=3)Vi(ze,j[l],j[l+1]),Vi(ze,j[l],j[l+2])}},a.config=function(r){"limitCallbacks"in r&&(as=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(Bi)||(Bi=n)&&setInterval(pl,n),"ignoreMobileResize"in r&&(hs=a.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Wi(ze)||Wi(We,r.autoRefreshEvents||"none"),xl=(r.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(r,n){var i=ct(r),o=j.indexOf(i),s=Jr(i);~o&&j.splice(o,s?6:2),n&&(s?Vt.unshift(Z,n,ne,n,kt,n):Vt.unshift(i,n))},a.clearMatchMedia=function(r){Q.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},a.isInViewport=function(r,n,i){var o=(At(r)?ct(r):r).getBoundingClientRect(),s=o[i?jr:Qr]*n||0;return i?o.right-s>0&&o.left+s<Z.innerWidth:o.bottom-s>0&&o.top+s<Z.innerHeight},a.positionInViewport=function(r,n,i){At(r)&&(r=ct(r));var o=r.getBoundingClientRect(),s=o[i?jr:Qr],l=n==null?s/2:n in no?no[n]*s:~n.indexOf("%")?parseFloat(n)*s/100:parseFloat(n)||0;return i?(o.left+l)/Z.innerWidth:(o.top+l)/Z.innerHeight},a.killAll=function(r){if(Q.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()})}},a}();F.version="3.14.2";F.saveStyles=function(a){return a?ci(a).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"),O.core.getCache(e),ms())}}):Mt};F.revert=function(a,e){return Ms(!a,e)};F.create=function(a,e){return new F(a,e)};F.refresh=function(a){return a?ti(!0):(En||F.register())&&$r(!0)};F.update=function(a){return++j.cache&&hr(a===!0?2:0)};F.clearScrollMemory=Rl;F.maxScroll=function(a,e){return Jt(a,e?tt:Oe)};F.getScrollFunc=function(a,e){return dr(ct(a),e?tt:Oe)};F.getById=function(a){return _s[a]};F.getAll=function(){return Q.filter(function(a){return a.vars.id!=="ScrollSmoother"})};F.isScrolling=function(){return!!Rt};F.snapDirectional=Ls;F.addEventListener=function(a,e){var t=en[a]||(en[a]=[]);~t.indexOf(e)||t.push(e)};F.removeEventListener=function(a,e){var t=en[a],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};F.batch=function(a,e){var t=[],r={},n=e.interval||.016,i=e.batchMax||1e9,o=function(c,u){var f=[],p=[],d=O.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)}},s;for(s in e)r[s]=s.substr(0,2)==="on"&&it(e[s])&&s!=="onRefreshInit"?o(s,e[s]):e[s];return it(i)&&(i=i(),We(F,"refresh",function(){return i=e.batchMax()})),ci(a).forEach(function(l){var c={};for(s in r)c[s]=r[s];c.trigger=l,t.push(F.create(c))}),t};var vl=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},fs=function a(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&&a(ne,t)},$i={auto:1,scroll:1},Hd=function(e){var t=e.event,r=e.target,n=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,o=i._gsap||O.core.getCache(i),s=nt(),l;if(!o._isScrollT||s-o._isScrollT>2e3){for(;i&&i!==ne&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!($i[(l=Dt(i)).overflowY]||$i[l.overflowX]));)i=i.parentNode;o._isScroll=i&&i!==r&&!Jr(i)&&($i[(l=Dt(i)).overflowY]||$i[l.overflowX]),o._isScrollT=s}(o._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Nl=function(e,t,r,n){return Le.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Hd,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&We(he,Le.eventTypes[0],wl,!1,!0)},onDisable:function(){return ze(he,Le.eventTypes[0],wl,!0)}})},Od=/(input|label|select|textarea)/i,bl,wl=function(e){var t=Od.test(e.target.tagName);(t||bl)&&(e._gsapAllow=!0,bl=t)},Id=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,o=t.onRelease,s,l,c=ct(e.target)||kt,u=O.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,Oe),m=dr(c,tt),h=1,g=(Le.isTouch&&Z.visualViewport?Z.visualViewport.scale*Z.visualViewport.width:Z.outerWidth)/Z.innerWidth,v=0,_=it(n)?function(){return n(s)}:function(){return n||2.8},w,b,E=Nl(c,e.type,!0,i),L=function(){return b=!1},T=Zt,A=Zt,M=function(){l=Jt(c,Oe),A=ri(Cr?1:0,l),r&&(T=ri(0,Jt(c,tt))),w=Zr},x=function(){p._gsap.y=Jn(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(L);var I=Jn(s.deltaY/2),X=A(d.v-I);if(p&&X!==d.v+d.offset){d.offset=X-d.v;var y=Jn((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, "+y+", 0, 1)",p._gsap.y=y+"px",d.cacheID=j.cache,hr()}return!0}d.offset&&x(),b=!0},C,D,N,z,q=function(){M(),C.isActive()&&C.vars.scrollY>l&&(d()>l?C.progress(1)&&d(l):C.resetTo("scrollY",l))};return p&&O.set(p,{y:"+=0"}),e.ignoreCheck=function(k){return Cr&&k.type==="touchmove"&&P(k)||h>1.05&&k.type!=="touchstart"||s.isGesturing||k.touches&&k.touches.length>1},e.onPress=function(){b=!1;var k=h;h=Jn((Z.visualViewport&&Z.visualViewport.scale||1)/g),C.pause(),k!==h&&fs(c,h>1.01?!0:r?!1:"x"),D=m(),N=d(),M(),w=Zr},e.onRelease=e.onGestureStart=function(k,I){if(d.offset&&x(),!I)z.restart(!0);else{j.cache++;var X=_(),y,W;r&&(y=m(),W=y+X*.05*-k.velocityX/.227,X*=vl(m,y,W,Jt(c,tt)),C.vars.scrollX=T(W)),y=d(),W=y+X*.05*-k.velocityY/.227,X*=vl(d,y,W,Jt(c,Oe)),C.vars.scrollY=A(W),C.invalidate().duration(X).play(.01),(Cr&&C.vars.scrollY>=l||y>=l-1)&&O.to({},{onUpdate:q,duration:X})}o&&o(k)},e.onWheel=function(){C._ts&&C.pause(),nt()-v>1e3&&(w=0,v=nt())},e.onChange=function(k,I,X,y,W){if(Zr!==w&&M(),I&&r&&m(T(y[2]===I?D+(k.startX-k.x):m()+I-y[1])),X){d.offset&&x();var ie=W[2]===X,oe=ie?N+k.startY-k.y:d()+X-W[1],K=A(oe);ie&&oe!==K&&(N+=K-oe),d(K)}(X||I)&&hr()},e.onEnable=function(){fs(c,r?!1:"x"),F.addEventListener("refresh",q),We(Z,"resize",q),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=m.smooth=!1),E.enable()},e.onDisable=function(){fs(c,!0),ze(Z,"resize",q),F.removeEventListener("refresh",q),E.kill()},e.lockAxis=e.lockAxis!==!1,s=new Le(e),s.iOS=Cr,Cr&&!d()&&d(1),Cr&&O.ticker.add(Zt),z=s._dc,C=O.to(s,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Fl(d,d(),function(){return C.pause()})},onUpdate:hr,onComplete:z.vars.onComplete}),s};F.sort=function(a){if(it(a))return Q.sort(a);var e=Z.pageYOffset||0;return F.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+Z.innerHeight}),Q.sort(a||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)})};F.observe=function(a){return new Le(a)};F.normalizeScroll=function(a){if(typeof a>"u")return ut;if(a===!0&&ut)return ut.enable();if(a===!1){ut&&ut.kill(),ut=a;return}var e=a instanceof Le?a:Id(a);return ut&&ut.target===e.target&&ut.kill(),Jr(e.target)&&(ut=e),e};F.core={_getVelocityProp:Ni,_inputObserver:Nl,_scrollers:j,_proxies:Vt,bridge:{ss:function(){Rt||tn("scrollStart"),Rt=nt()},ref:function(){return rt}}};Ml()&&O.registerPlugin(F);var Bl=()=>{qe.registerPlugin(F),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,o=n?{x:-20,y:-3}:{x:18,y:-8};function s(){qe.fromTo(t,{y:10,rotation:i,transformOrigin:"50% 50%"},{y:-15,rotation:0,duration:1.4,ease:"power2.out",delay:.2}),r&&qe.fromTo(r,{x:0,y:0},{...o,duration:1.6,ease:"power2.out",delay:.2})}if(n){let l=e.closest(".footer_main-decor");F.create({trigger:e,start:"top 85%",once:!0,onEnter:()=>{l&&(l.style.opacity="1"),s()}})}else{let l=e.closest(".header_main-decor");l&&(l.style.opacity="1"),s()}}),window.addEventListener("load",()=>{setTimeout(()=>F.refresh(),200)})};var zl=()=>{qe.registerPlugin(F),document.querySelectorAll(".decor_arrow-wrapper").forEach(e=>{let t=e.querySelector(".decor-middle"),r=e.querySelector(".decor-top"),n=e,i=qe.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 o=n.classList.contains("is-inside");i.fromTo(r,{y:0,xPercent:-50},{y:o?-40:-60,xPercent:-50,duration:1.2,ease:"power2.out"},"rideAlong")}F.create({trigger:n,start:"top 85%",once:!0,onEnter:()=>{qe.set(n,{opacity:0}),i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{F.refresh()},200)})};var Wl=(a={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,o=48,s="perfect-marquee-styles";if(!document.getElementById(s)){let f=document.createElement("style");f.id=s;let p=a.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,7 +128,9 @@
128
128
  }
129
129
  }
130
130
  ${p}
131
- `,document.head.appendChild(f)}let l=window.innerWidth,c=i+o,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+o,d=gsap.to(f,{x:-p,duration:30,ease:"none",repeat:-1});a.pauseOnHover&&e&&(e.addEventListener("mouseenter",()=>d.pause()),e.addEventListener("mouseleave",()=>d.resume()))})}},Gl=()=>{let a=document.querySelector(".marquee");if(!a)return;let e=a.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,o=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+o;)r.forEach(f=>{let p=f.cloneNode(!0);p.setAttribute("aria-hidden","true"),e.appendChild(p),i+=f.offsetWidth});let s=0,l=40,c=null,u=f=>{if(c!==null){let p=(f-c)/1e3;s-=l*p,Math.abs(s)>=o&&(s+=o),e.style.transform=`translateX(${s}px)`}c=f,requestAnimationFrame(u)};requestAnimationFrame(u)};function Vl(){let a=document.querySelectorAll("[data-line-scroll]");a.length!==0&&a.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 Yl=()=>{qe.registerPlugin(F),qe.utils.toArray("section").forEach(a=>{let e=a.querySelector("h2"),t=a.querySelector(".section_header-description");if(!e&&!t)return;let r=qe.timeline({paused:!0});e&&r.from(e,{opacity:0,y:16,duration:.6,ease:"power2.out"}),t&&r.from(t,{opacity:0,y:16,duration:.6,ease:"power2.out"},"-=0.35"),F.create({trigger:a,start:"top 85%",once:!0,onEnter:()=>r.play()})})};var Xl=()=>{qe.registerPlugin(F),qe.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;qe.set(r,{opacity:0,width:"0%"}),qe.set(n,{opacity:0,scale:0});let i=qe.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)}),F.create({trigger:t,start:"top 75%",once:!0,onEnter:()=>{i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{F.refresh()},200)})})};var Mn=null;function Ul(){if(typeof Lenis>"u"){console.error("[SmoothScroll] Lenis is not loaded");return}if(!(window.innerWidth>991))return;Mn=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 s=new URL(n,window.location.href);if(s.pathname!==window.location.pathname)return;i=s.hash}catch{i=n.startsWith("#")?n:""}if(!i||i==="#")return;let o=document.querySelector(i);!o||!Mn||(r.preventDefault(),r.stopPropagation(),Mn.scrollTo(o,{offset:0,duration:1.05}))})});function e(t){Mn?.raf(t),requestAnimationFrame(e)}requestAnimationFrame(e)}function Kl(){Mn?.stop()}function $l(){Mn?.start()}function jl(){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 Dd(){let a=document.createElement("style");a.textContent=`
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
+ `)),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,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=`
132
134
  #cursor-trail-canvas {
133
135
  position: fixed;
134
136
  inset: 0;
@@ -164,7 +166,7 @@
164
166
  .cursor-paused * {
165
167
  cursor: pointer !important;
166
168
  }
167
- `,document.head.appendChild(a);let e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.id="cursor-trail-canvas",t.setAttribute("aria-hidden","true");let r=document.createElementNS(e,"defs"),n=document.createElementNS(e,"linearGradient");n.id="trailGradient",n.setAttribute("gradientUnits","userSpaceOnUse"),[["0%","#b8c8dc","0.0"],["50%","#7a9ac4","0.25"],["100%","#11397B","0.55"]].forEach(([l,c,u])=>{let f=document.createElementNS(e,"stop");f.setAttribute("offset",l),f.setAttribute("stop-color",c),f.setAttribute("stop-opacity",u),n.appendChild(f)}),r.appendChild(n),t.appendChild(r);let o=document.createElementNS(e,"path");o.id="cursor-trail-path",o.setAttribute("d",""),o.setAttribute("fill","none"),o.setAttribute("stroke","url(#trailGradient)"),o.setAttribute("stroke-width","2"),o.setAttribute("stroke-linecap","round"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-dasharray","10 9"),t.appendChild(o);let s=document.createElement("div");return s.id="cursor-hijack",s.setAttribute("aria-hidden","true"),s.innerHTML=`
169
+ `,document.head.appendChild(o);let e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.id="cursor-trail-canvas",t.setAttribute("aria-hidden","true");let r=document.createElementNS(e,"defs"),n=document.createElementNS(e,"linearGradient");n.id="trailGradient",n.setAttribute("gradientUnits","userSpaceOnUse"),[["0%","#b8c8dc","0.0"],["50%","#7a9ac4","0.25"],["100%","#11397B","0.55"]].forEach(([l,c,u])=>{let f=document.createElementNS(e,"stop");f.setAttribute("offset",l),f.setAttribute("stop-color",c),f.setAttribute("stop-opacity",u),n.appendChild(f)}),r.appendChild(n),t.appendChild(r);let s=document.createElementNS(e,"path");s.id="cursor-trail-path",s.setAttribute("d",""),s.setAttribute("fill","none"),s.setAttribute("stroke","url(#trailGradient)"),s.setAttribute("stroke-width","2"),s.setAttribute("stroke-linecap","round"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-dasharray","10 9"),t.appendChild(s);let a=document.createElement("div");return a.id="cursor-hijack",a.setAttribute("aria-hidden","true"),a.innerHTML=`
168
170
  <svg width="32" height="28" viewBox="0 0 32 28" fill="none" xmlns="http://www.w3.org/2000/svg">
169
171
  <path d="M0 14L32 0L26 14L32 28L0 14Z" fill="url(#cursor_gradient)" />
170
172
  <defs>
@@ -174,7 +176,7 @@
174
176
  </linearGradient>
175
177
  </defs>
176
178
  </svg>
177
- `,document.body.appendChild(t),document.body.appendChild(s),{cursorEl:s,trailSvg:t,trailPath:o,gradient:n}}function Ql(){return;function d(){r.setAttribute("viewBox",`0 0 ${window.innerWidth} ${window.innerHeight}`)}function m(){c.x=l.x,c.y=l.y,u=Array.from({length:o.maxPoints},()=>({x:l.x,y:l.y})),p=0,f=0,s=!0,document.body.classList.add("cursor-active"),gsap.to(t,{opacity:1,duration:.3,ease:"power2.out"}),gsap.to(r,{opacity:1,duration:.4,ease:"power2.out"})}function h(){s=!1,document.body.classList.remove("cursor-active"),gsap.to(t,{opacity:0,duration:.25,ease:"power2.in"}),gsap.to(r,{opacity:0,duration:.35,ease:"power2.in"})}function g(){if(u.length<2)return;let _=u[u.length-1],w=u[0];i.setAttribute("x1",String(_.x)),i.setAttribute("y1",String(_.y)),i.setAttribute("x2",String(w.x)),i.setAttribute("y2",String(w.y))}function v(_,w=.5){if(_.length<2)return"";let b=`M ${_[0].x.toFixed(1)} ${_[0].y.toFixed(1)}`;for(let E=0;E<_.length-1;E++){let L=_[Math.max(E-1,0)],T=_[E],A=_[E+1],M=_[Math.min(E+2,_.length-1)],x=T.x+(A.x-L.x)/6*w,P=T.y+(A.y-L.y)/6*w,C=A.x-(M.x-T.x)/6*w,D=A.y-(M.y-T.y)/6*w;b+=` C ${x.toFixed(1)} ${P.toFixed(1)}, ${C.toFixed(1)} ${D.toFixed(1)}, ${A.x.toFixed(1)} ${A.y.toFixed(1)}`}return b}}function Zl(){function a(l,c){let u=l.querySelector(".layout-card-bottom"),f=l.querySelector(".layout_action-icon"),p=l.querySelector(".layout_card-top"),d=l.getAttribute("data-card"),m=document.querySelector(`.about_component-image-outer[data-image="${d}"]`);p&&p.setAttribute("aria-expanded",String(c)),u&&u.setAttribute("aria-hidden",String(!c)),c?(p&&gsap.set(p,{pointerEvents:"none",cursor:"default"}),u&&gsap.to(u,{height:"auto",duration:.6,ease:"power3.inOut"}),f&&f.classList.add("is-active"),m&&(gsap.set(m,{display:"block",zIndex:2}),gsap.to(m,{autoAlpha:1,duration:.6,ease:"power3.inOut",overwrite:!0}))):(p&&gsap.set(p,{pointerEvents:"auto",cursor:"pointer"}),u&&gsap.to(u,{height:0,duration:.6,ease:"power3.inOut"}),f&&f.classList.remove("is-active"),m&&(gsap.set(m,{zIndex:1}),gsap.to(m,{autoAlpha:0,duration:.6,ease:"power3.inOut",onComplete:()=>gsap.set(m,{display:"none"})})))}function e(l){let c=l.querySelector(".layout-card-bottom"),u=c?gsap.getProperty(c,"height"):0;if(parseFloat(String(u))>0)return;let p=l.closest(".solutions_cards-grid.is-faq");(p?p.querySelectorAll(".layout_card.is-faq"):document.querySelectorAll(".layout_card.is-faq")).forEach(m=>{m!==l&&a(m,!1)}),a(l,!0)}function t(l,c){let u=Array.from(c),p=(u.indexOf(l)+1)%u.length,d=u[p].querySelector(".layout_card-top");d&&d.focus()}function r(l,c){let u=Array.from(c),f=u.indexOf(l),p=f===0?u.length-1:f-1,d=u[p].querySelector(".layout_card-top");d&&d.focus()}function n(l){let c=l[0]?.querySelector(".layout_card-top");c&&c.focus()}function i(l){let c=l[l.length-1]?.querySelector(".layout_card-top");c&&c.focus()}function o(){let c=document.querySelectorAll('.layout_card.is-faq:not([data-faq-init="true"])'),u=document.querySelectorAll('.about_component-image-outer:not([data-faq-init="true"])');if(u.length>0){u.forEach(d=>d.setAttribute("data-faq-init","true")),gsap.set(u,{autoAlpha:0,display:"none",width:"100%",height:"100%",objectFit:"cover",position:"absolute",top:0,left:0});let p=Array.from(u).map(d=>d.querySelector("img")).filter(d=>d!==null);gsap.set(p,{width:"100%",height:"100%",objectFit:"cover"})}if(c.length===0)return;c.forEach(p=>{p.setAttribute("data-faq-init","true");let d=p.querySelector(".layout_card-top"),m=p.querySelector(".layout-card-bottom");if(m&&gsap.set(m,{height:0,overflow:"hidden",display:"block"}),d&&m){let h=Math.random().toString(36).substring(2,9),g=d.id||`faq-trigger-${h}`,v=m.id||`faq-panel-${h}`;d.id=g,m.id=v,d.setAttribute("role","button"),d.setAttribute("aria-expanded","false"),d.setAttribute("aria-controls",v),d.setAttribute("tabindex","0"),m.setAttribute("role","region"),m.setAttribute("aria-labelledby",g),m.setAttribute("aria-hidden","true")}d&&(d.addEventListener("click",()=>e(p)),d.addEventListener("keydown",h=>{let g=h,v=document.querySelectorAll(".layout_card.is-faq");switch(g.key){case"Enter":case" ":g.preventDefault(),e(p);break;case"ArrowDown":g.preventDefault(),t(p,v);break;case"ArrowUp":g.preventDefault(),r(p,v);break;case"Home":g.preventDefault(),n(v);break;case"End":g.preventDefault(),i(v);break}}))}),document.querySelectorAll(".solutions_cards-grid.is-faq").forEach(p=>{if(!p.querySelector(".layout_action-icon.is-active")){let m=p.querySelector(".layout_card.is-faq");m&&a(m,!0)}})}o(),new MutationObserver(l=>{let c=!1;for(let u of l)if(u.addedNodes.length>0){c=!0;break}c&&o()}).observe(document.body,{childList:!0,subtree:!0})}function Jl(){let a=document.querySelectorAll("[data-product-trigger]");document.addEventListener("click",e=>{a.forEach(t=>{let r=t.querySelector("[data-tile-details]");r&&!t.contains(e.target)&&r.classList.remove("is-active")})}),a.forEach(e=>{let t=e.querySelector("[data-tile-details]");if(!t)return;let r=t.querySelector(".product_tile-detaile-content");if(!r)return;let n=r.firstElementChild;if(!n)return;gsap.set(r,{overflow:"hidden",paddingLeft:"2px",paddingRight:"2px",boxSizing:"border-box"}),gsap.set(n,{display:"block",width:"max-content",paddingLeft:"0px",paddingRight:"2px"});let i=null;e.addEventListener("click",()=>{t.classList.add("is-active")}),e.addEventListener("mouseenter",()=>{t.classList.add("is-active");let o=n.offsetWidth-(r.offsetWidth-16);if(o>0){gsap.killTweensOf(n);let s=o/30;i=gsap.to(n,{x:-o,duration:s,ease:"power1.inOut",repeat:-1,yoyo:!0,repeatDelay:1,delay:.3})}}),e.addEventListener("mouseleave",()=>{t.classList.remove("is-active"),i&&(typeof i.kill=="function"&&i.kill(),i=null),gsap.to(n,{x:0,duration:.4,ease:"power2.out",overwrite:!0})})})}function ec(){let a=document.querySelectorAll(".w-dropdown");function e(t){let r=t.querySelector(".w-dropdown-toggle"),n=t.querySelector(".w-dropdown-list"),i=t.querySelector(".dropdown_icon");r&&(r.classList.remove("w--open"),r.setAttribute("aria-expanded","false")),n&&n.classList.remove("w--open"),i&&i.classList.remove("is-open"),window.jQuery&&window.jQuery(t).trigger("w-close.w-dropdown")}a.forEach(t=>{let r=t.querySelector(".w-dropdown-toggle"),n=t.querySelector(".w-dropdown-list"),i=t.querySelector(".dropdown_icon");if(!r||!n)return;n.querySelectorAll("a").forEach(c=>{c.addEventListener("keydown",u=>{u.key==="Tab"&&setTimeout(()=>{t.contains(document.activeElement)||e(t)},0)})}),t.addEventListener("keydown",c=>{let u=c;u.key==="Escape"&&n.classList.contains("w--open")&&(e(t),r.focus(),u.preventDefault())});let s=()=>!!t.closest(".w-nav-overlay");i&&(i.style.transition="transform 0.3s ease"),new MutationObserver(c=>{c.forEach(u=>{if(u.attributeName==="class"){let f=r.classList.contains("w--open");i&&(f?(i.classList.add("is-open"),s()&&(i.style.transform="rotate(-90deg)")):(i.classList.remove("is-open"),s()&&(i.style.transform="rotate(90deg)")))}})}).observe(r,{attributes:!0})}),document.addEventListener("focusin",t=>{a.forEach(r=>{let n=r.querySelector(".w-dropdown-list");if(n&&n.classList.contains("w--open")){let i=r.closest(".w-nav-overlay");if(i&&i.classList.contains("w--open"))return;r.contains(t.target)||e(r)}})})}function tc(){let a=document.querySelectorAll('input[type="radio"][name]'),e=[...new Set(Array.from(a).filter(m=>(m.closest("label")??m.parentElement)?.querySelector("[fs-list-field]")!==null).map(m=>m.name))];if(e.length===0)return;let t=document.createElement("style");t.textContent=`
179
+ `,document.body.appendChild(t),document.body.appendChild(a),{cursorEl:a,trailSvg:t,trailPath:s,gradient:n}}function _c(){return;function d(){r.setAttribute("viewBox",`0 0 ${window.innerWidth} ${window.innerHeight}`)}function m(){c.x=l.x,c.y=l.y,u=Array.from({length:s.maxPoints},()=>({x:l.x,y:l.y})),p=0,f=0,a=!0,document.body.classList.add("cursor-active"),gsap.to(t,{opacity:1,duration:.3,ease:"power2.out"}),gsap.to(r,{opacity:1,duration:.4,ease:"power2.out"})}function h(){a=!1,document.body.classList.remove("cursor-active"),gsap.to(t,{opacity:0,duration:.25,ease:"power2.in"}),gsap.to(r,{opacity:0,duration:.35,ease:"power2.in"})}function g(){if(u.length<2)return;let v=u[u.length-1],w=u[0];i.setAttribute("x1",String(v.x)),i.setAttribute("y1",String(v.y)),i.setAttribute("x2",String(w.x)),i.setAttribute("y2",String(w.y))}function E(v,w=.5){if(v.length<2)return"";let b=`M ${v[0].x.toFixed(1)} ${v[0].y.toFixed(1)}`;for(let y=0;y<v.length-1;y++){let S=v[Math.max(y-1,0)],T=v[y],M=v[y+1],L=v[Math.min(y+2,v.length-1)],x=T.x+(M.x-S.x)/6*w,P=T.y+(M.y-S.y)/6*w,k=M.x-(L.x-T.x)/6*w,H=M.y-(L.y-T.y)/6*w;b+=` C ${x.toFixed(1)} ${P.toFixed(1)}, ${k.toFixed(1)} ${H.toFixed(1)}, ${M.x.toFixed(1)} ${M.y.toFixed(1)}`}return b}}function yc(){function o(l,c){let u=l.querySelector(".layout-card-bottom"),f=l.querySelector(".layout_action-icon"),p=l.querySelector(".layout_card-top"),d=l.getAttribute("data-card"),m=document.querySelector(`.about_component-image-outer[data-image="${d}"]`);p&&p.setAttribute("aria-expanded",String(c)),u&&u.setAttribute("aria-hidden",String(!c)),c?(p&&gsap.set(p,{pointerEvents:"none",cursor:"default"}),u&&gsap.to(u,{height:"auto",duration:.6,ease:"power3.inOut"}),f&&f.classList.add("is-active"),m&&(gsap.set(m,{display:"block",zIndex:2}),gsap.to(m,{autoAlpha:1,duration:.6,ease:"power3.inOut",overwrite:!0}))):(p&&gsap.set(p,{pointerEvents:"auto",cursor:"pointer"}),u&&gsap.to(u,{height:0,duration:.6,ease:"power3.inOut"}),f&&f.classList.remove("is-active"),m&&(gsap.set(m,{zIndex:1}),gsap.to(m,{autoAlpha:0,duration:.6,ease:"power3.inOut",onComplete:()=>gsap.set(m,{display:"none"})})))}function e(l){let c=l.querySelector(".layout-card-bottom"),u=c?gsap.getProperty(c,"height"):0;if(parseFloat(String(u))>0)return;let p=l.closest(".solutions_cards-grid.is-faq");(p?p.querySelectorAll(".layout_card.is-faq"):document.querySelectorAll(".layout_card.is-faq")).forEach(m=>{m!==l&&o(m,!1)}),o(l,!0)}function t(l,c){let u=Array.from(c),p=(u.indexOf(l)+1)%u.length,d=u[p].querySelector(".layout_card-top");d&&d.focus()}function r(l,c){let u=Array.from(c),f=u.indexOf(l),p=f===0?u.length-1:f-1,d=u[p].querySelector(".layout_card-top");d&&d.focus()}function n(l){let c=l[0]?.querySelector(".layout_card-top");c&&c.focus()}function i(l){let c=l[l.length-1]?.querySelector(".layout_card-top");c&&c.focus()}function s(){let c=document.querySelectorAll('.layout_card.is-faq:not([data-faq-init="true"])'),u=document.querySelectorAll('.about_component-image-outer:not([data-faq-init="true"])');if(u.length>0){u.forEach(d=>d.setAttribute("data-faq-init","true")),gsap.set(u,{autoAlpha:0,display:"none",width:"100%",height:"100%",objectFit:"cover",position:"absolute",top:0,left:0});let p=Array.from(u).map(d=>d.querySelector("img")).filter(d=>d!==null);gsap.set(p,{width:"100%",height:"100%",objectFit:"cover"})}if(c.length===0)return;c.forEach(p=>{p.setAttribute("data-faq-init","true");let d=p.querySelector(".layout_card-top"),m=p.querySelector(".layout-card-bottom");if(m&&gsap.set(m,{height:0,overflow:"hidden",display:"block"}),d&&m){let h=Math.random().toString(36).substring(2,9),g=d.id||`faq-trigger-${h}`,E=m.id||`faq-panel-${h}`;d.id=g,m.id=E,d.setAttribute("role","button"),d.setAttribute("aria-expanded","false"),d.setAttribute("aria-controls",E),d.setAttribute("tabindex","0"),m.setAttribute("role","region"),m.setAttribute("aria-labelledby",g),m.setAttribute("aria-hidden","true")}d&&(d.addEventListener("click",()=>e(p)),d.addEventListener("keydown",h=>{let g=h,E=document.querySelectorAll(".layout_card.is-faq");switch(g.key){case"Enter":case" ":g.preventDefault(),e(p);break;case"ArrowDown":g.preventDefault(),t(p,E);break;case"ArrowUp":g.preventDefault(),r(p,E);break;case"Home":g.preventDefault(),n(E);break;case"End":g.preventDefault(),i(E);break}}))}),document.querySelectorAll(".solutions_cards-grid.is-faq").forEach(p=>{if(!p.querySelector(".layout_action-icon.is-active")){let m=p.querySelector(".layout_card.is-faq");m&&o(m,!0)}})}s(),new MutationObserver(l=>{let c=!1;for(let u of l)if(u.addedNodes.length>0){c=!0;break}c&&s()}).observe(document.body,{childList:!0,subtree:!0})}function vc(){let o=document.querySelectorAll("[data-product-trigger]");document.addEventListener("click",e=>{o.forEach(t=>{let r=t.querySelector("[data-tile-details]");r&&!t.contains(e.target)&&r.classList.remove("is-active")})}),o.forEach(e=>{let t=e.querySelector("[data-tile-details]");if(!t)return;let r=t.querySelector(".product_tile-detaile-content");if(!r)return;let n=r.firstElementChild;if(!n)return;gsap.set(r,{overflow:"hidden",paddingLeft:"2px",paddingRight:"2px",boxSizing:"border-box"}),gsap.set(n,{display:"block",width:"max-content",paddingLeft:"0px",paddingRight:"2px"});let i=null;e.addEventListener("click",()=>{t.classList.add("is-active")}),e.addEventListener("mouseenter",()=>{t.classList.add("is-active");let s=n.offsetWidth-(r.offsetWidth-16);if(s>0){gsap.killTweensOf(n);let a=s/30;i=gsap.to(n,{x:-s,duration:a,ease:"power1.inOut",repeat:-1,yoyo:!0,repeatDelay:1,delay:.3})}}),e.addEventListener("mouseleave",()=>{t.classList.remove("is-active"),i&&(typeof i.kill=="function"&&i.kill(),i=null),gsap.to(n,{x:0,duration:.4,ease:"power2.out",overwrite:!0})})})}function bc(){let o=document.querySelectorAll(".w-dropdown");function e(t){let r=t.querySelector(".w-dropdown-toggle"),n=t.querySelector(".w-dropdown-list"),i=t.querySelector(".dropdown_icon");r&&(r.classList.remove("w--open"),r.setAttribute("aria-expanded","false")),n&&n.classList.remove("w--open"),i&&i.classList.remove("is-open"),window.jQuery&&window.jQuery(t).trigger("w-close.w-dropdown")}o.forEach(t=>{let r=t.querySelector(".w-dropdown-toggle"),n=t.querySelector(".w-dropdown-list"),i=t.querySelector(".dropdown_icon");if(!r||!n)return;n.querySelectorAll("a").forEach(c=>{c.addEventListener("keydown",u=>{u.key==="Tab"&&setTimeout(()=>{t.contains(document.activeElement)||e(t)},0)})}),t.addEventListener("keydown",c=>{let u=c;u.key==="Escape"&&n.classList.contains("w--open")&&(e(t),r.focus(),u.preventDefault())});let a=()=>!!t.closest(".w-nav-overlay");i&&(i.style.transition="transform 0.3s ease"),new MutationObserver(c=>{c.forEach(u=>{if(u.attributeName==="class"){let f=r.classList.contains("w--open");i&&(f?(i.classList.add("is-open"),a()&&(i.style.transform="rotate(-90deg)")):(i.classList.remove("is-open"),a()&&(i.style.transform="rotate(90deg)")))}})}).observe(r,{attributes:!0})}),document.addEventListener("focusin",t=>{o.forEach(r=>{let n=r.querySelector(".w-dropdown-list");if(n&&n.classList.contains("w--open")){let i=r.closest(".w-nav-overlay");if(i&&i.classList.contains("w--open"))return;r.contains(t.target)||e(r)}})})}function wc(){let o=document.querySelectorAll('input[type="radio"][name]'),e=[...new Set(Array.from(o).filter(m=>(m.closest("label")??m.parentElement)?.querySelector("[fs-list-field]")!==null).map(m=>m.name))];if(e.length===0)return;let t=document.createElement("style");t.textContent=`
178
180
  @keyframes csFilterShimmer {
179
181
  0% { background-position: -200% 0; }
180
182
  100% { background-position: 200% 0; }
@@ -194,7 +196,7 @@
194
196
  border-radius: inherit;
195
197
  pointer-events: none;
196
198
  }
197
- `,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 v=g.closest('[role="listitem"]'),_=(v??g.parentElement)?.querySelector(".checkbox_text")??null,w=_?.textContent?.trim()??"",b=_?.getAttribute("fs-list-field")??"",E=v?.parentElement??null,L=v?.nextSibling??null;i.push({group:m,label:w,fieldName:b,input:g,textEl:_,wrapperEl:v,parentEl:E,nextSiblingEl:L})})});let o=new Map;e.forEach(m=>{let h=i.find(g=>g.group===m&&g.fieldName!=="");h&&o.set(m,h.fieldName)});let s=new Map;e.forEach(m=>{let h=i.find(_=>_.group===m);if(!h)return;let g=h.input.closest(".dropdown_wrapper");if(!g)return;let v=g.querySelector(".form_dropdown > div:first-child");v&&s.set(m,{wrapperEl:g,toggleTextEl:v,defaultText:v.textContent?.trim()??""})});function l(m){let h=s.get(m);if(!h)return;let g=u.get(m);if(g&&g.size>0){let[v]=g;h.toggleTextEl.textContent=v}else h.toggleTextEl.textContent=h.defaultText}let c=new Map;e.forEach(m=>{let h=i.find(E=>E.group===m);if(!h?.wrapperEl)return;let g=s.get(m);if(!g)return;let v=g.wrapperEl.querySelector('[role="list"]');if(!v)return;let _=h.wrapperEl.cloneNode(!0);_.setAttribute("data-clear-group",m);let w=_.querySelector(".checkbox_text");if(w){let E=window.location.pathname.startsWith("/en");w.textContent=E?"All":"Wszystkie",w.removeAttribute("fs-list-field"),w.classList.add("is-active"),c.set(m,w)}let b=_.querySelector('input[type="radio"]');b&&(b.checked=!1,b.id=`${m}-all`,b.value=""),v.insertBefore(_,v.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 v=o.get(h);if(!v)return!1;let _=p(m,v);if(!Array.from(g).some(b=>_.some(E=>E===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 v=h.wrapperElement?.querySelector("[data-empty]")??document.querySelector("[data-empty]");v&&(v.style.display="none");function _(x,P){v&&(v.style.display=P&&x===0?"flex":"none")}function w(x,P,C){if(C.size===0)return!0;let D=o.get(P);if(!D)return!0;let N=p(x,D);return Array.from(C).some(z=>N.some(q=>q===z.toLowerCase()))}function b(){for(let x of e){let P=i.filter(k=>k.group===x),C=o.get(x);if(!(!!C&&g.some(k=>p(k.element,C).length>0))){s.get(x)?.wrapperEl.classList.remove("is-disabled");continue}let N=g.filter(k=>{let I=k.element;for(let[X,y]of u.entries())if(X!==x&&!w(I,X,y))return!1;return!0}),z=0;for(let k of P){if(!k.wrapperEl||!k.parentEl)continue;if(k.input.checked){k.wrapperEl.parentElement||(k.nextSiblingEl&&k.nextSiblingEl.parentElement===k.parentEl?k.parentEl.insertBefore(k.wrapperEl,k.nextSiblingEl):k.parentEl.appendChild(k.wrapperEl)),z++;continue}N.some(X=>p(X.element,k.fieldName).some(W=>W===k.label.toLowerCase()))?(k.wrapperEl.parentElement||(k.nextSiblingEl&&k.nextSiblingEl.parentElement===k.parentEl?k.parentEl.insertBefore(k.wrapperEl,k.nextSiblingEl):k.parentEl.appendChild(k.wrapperEl)),z++):k.wrapperEl.parentElement&&k.wrapperEl.remove()}let q=s.get(x);if(q)if(z===0){q.wrapperEl.classList.add("is-disabled");let k=q.wrapperEl.querySelector(".w-dropdown-toggle"),I=q.wrapperEl.querySelector(".w-dropdown-list");k?.classList.remove("w--open"),k?.setAttribute("aria-expanded","false"),I?.classList.remove("w--open")}else q.wrapperEl.classList.remove("is-disabled")}}h.addHook("filter",x=>{if(!f())return _(x.length,A()),b(),x;let P=x.filter(C=>{let D=C.element;return d(D)});return _(P.length,!0),b(),P});function E(x){let P=c.get(x);if(!P)return;let C=u.get(x);!C||C.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(C=>C.group===x.group&&C!==x).forEach(C=>C.textEl?.classList.remove("is-active")),P.add(x.label),x.textEl?.classList.add("is-active")),l(x.group),E(x.group),h.triggerHook("filter"),M())})});for(let x of e){let P=document.querySelector(`[data-clear-group="${x}"]`);P&&P.addEventListener("click",()=>{let C=u.get(x);C&&(C.clear(),i.filter(D=>D.group===x).forEach(D=>{D.input.checked=!1,D.textEl?.classList.remove("is-active")}),l(x),E(x),h.triggerHook("filter"),M())})}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 L=document.querySelector(".clearbox"),T=document.querySelectorAll("[data-search='name']");function A(){return Array.from(T).some(x=>x.value.trim()!=="")}function M(){L&&(L.style.display=f()||A()?"flex":"none")}T.forEach(x=>{x.addEventListener("input",()=>M())}),L&&L.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),E(x);document.querySelectorAll("[data-search='name']").forEach(x=>{x.value="",x.dispatchEvent(new Event("input",{bubbles:!0}))}),h.triggerHook("filter"),M()}),h.triggerHook("filter"),M()}])}function Rd(a){let e=a.dataset.searchTarget;if(e)return document.getElementById(e);let t=a.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 oo(a){return a.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ł/g,"l").replace(/Ł/g,"L")}function rc(){let a=document.querySelectorAll("[data-search='name']");a.length&&(window.FinsweetAttributes||(window.FinsweetAttributes=[]),window.FinsweetAttributes.push(["list",async e=>{for(let t of Array.from(a)){let r=Rd(t),n=e.find(o=>r&&o.wrapperElement?.contains(r)||o.listElement===r)||e[0];if(!n)continue;n.loadingPaginatedItems&&await n.loadingPaginatedItems,n.addHook("filter",o=>{let s=oo(t.value.trim());return s?o.filter(l=>{let c=l.element.querySelector("h3");return oo(c?.textContent??"").includes(s)}):o});let i=n.wrapperElement?.querySelector("[data-empty]")??document.querySelector("[data-empty]");t.addEventListener("input",()=>{if(n.triggerHook("filter"),i){let o=oo(t.value.trim()),s=n.items.value.filter(l=>{let c=l.element.querySelector("h3");return oo(c?.textContent??"").includes(o)});i.style.display=o&&s.length===0?"flex":"none"}})}}]))}var As=class{constructor(){U(this,"nav",null);U(this,"dropdowns",null);U(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 o=r.getAttribute("href");o&&o!=="#"?window.location.href=o: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",o=>{let s=e.querySelector(".w-dropdown-toggle");if(s?.getAttribute("aria-expanded")==="true")switch(o.key){case"Tab":o.shiftKey&&i===0?(o.preventDefault(),s?.focus()):!o.shiftKey&&i===r.length-1&&this.closeDropdown(e,s,t);break;case"Escape":o.preventDefault(),this.closeDropdown(e,s,t),s?.focus();break;case"ArrowDown":i<r.length-1&&(o.preventDefault(),r[i+1].focus());break;case"ArrowUp":i>0?(o.preventDefault(),r[i-1].focus()):(o.preventDefault(),s?.focus());break;case"Home":o.preventDefault(),r[0].focus();break;case"End":o.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 nc(){new As}var qd=".w-nav",Fd=".button-wrapper",ks="is-pinned",Cs="w-variant-a4b72284-6321-8341-edca-223fdec43abe";var An=!1,di=!1,so=!1,Pr=null,rn=null;function Nd(){return window.innerWidth>991}function oc(){if(!Pr||!An){so=!1;return}let a=window.scrollY||window.pageYOffset;!di&&a>50?(Pr.classList.add(ks),rn&&rn.classList.remove(Cs),di=!0):di&&a<40&&(Pr.classList.remove(ks),rn&&rn.classList.add(Cs),di=!1),so=!1}function Bd(){!so&&An&&(window.requestAnimationFrame(oc),so=!0)}function zd(){Pr&&Pr.classList.remove(ks),rn&&rn.classList.add(Cs),di=!1}function ic(){let a=Nd();a&&!An?(An=!0,oc()):!a&&An&&(An=!1,zd())}function Wd(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function sc(){if(Pr=document.querySelector(qd),!Pr)return;rn=Pr.querySelector(Fd),window.addEventListener("scroll",Bd,{passive:!0});let a=Wd(ic,150);window.addEventListener("resize",a),ic()}var ac=async()=>{let a=document.querySelector("[data-lex-cms]"),e=document.querySelector("[data-lex-box]");if(!a||!e)return;let t=e.parentElement;if(!t)return;let r=Array.from(a.querySelectorAll(".lex-list-item")),n=a.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=`
198
200
  .lex-skeleton {
199
201
  animation: lexPulse 1.5s ease-in-out infinite;
200
202
  pointer-events: none;
@@ -224,7 +226,7 @@
224
226
  50% { opacity: 1; }
225
227
  100% { opacity: 0.6; }
226
228
  }
227
- `,document.head.appendChild(g)}for(let g=0;g<3;g++){let v=e.cloneNode(!0);v.classList.add("lex-skeleton"),v.removeAttribute("style");let _=v.querySelector("[data-lex-list-wrapper]");if(_){let w=_.querySelector(".lex-list-item");if(w){_.innerHTML="";for(let b=0;b<4;b++)_.appendChild(w.cloneNode(!0))}}t.appendChild(v),i.push(v)}}for(;n;)try{let g=await fetch(n);if(!g.ok)break;let v=await g.text(),b=new DOMParser().parseFromString(v,"text/html").querySelector("[data-lex-cms]");if(!b)break;let E=Array.from(b.querySelectorAll(".lex-list-item"));r=[...r,...E],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 o=g=>g.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ł/g,"l").replace(/Ł/g,"L").toUpperCase(),s=[{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;s.forEach(g=>{u.set(g.label,[])});let f="0-9";u.set(f,[]),r.forEach(g=>{let v=g.textContent?.trim()||"";if(!v)return;let _=o(v.charAt(0)),w=f;for(let L of s)if(L.letters.includes(_)){w=L.label;break}let E=(g.tagName==="A"?g:g.closest("a"))?.getAttribute("href")||"#";u.get(w)?.push({text:v,href:E})});let p=e.cloneNode(!0);e.remove(),u.forEach((g,v)=>{if(g.length===0)return;g.sort((E,L)=>{let T=E.text,A=L.text;return T.localeCompare(A,"pl")});let _=p.cloneNode(!0),w=_.querySelector(".lex-header"),b=_.querySelector("[data-lex-list-wrapper]");w&&(w.textContent=v),b&&(b.innerHTML="",g.forEach(E=>{let L=c.cloneNode(!0);if(L.textContent=E.text,L.tagName==="A")L.setAttribute("href",E.href);else{let T=L.querySelector("a");if(T)T.setAttribute("href",E.href);else{let A=L.closest("a");A&&A.setAttribute("href",E.href)}}b.appendChild(L)})),t.appendChild(_)});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 _=g.target.value.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),w=t.querySelectorAll("[data-lex-box]"),b=!1;w.forEach(L=>{let T=!1;L.querySelectorAll(".lex-list-item").forEach(M=>{(M.textContent?.toLowerCase()||"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(_)?(M.style.display="",T=!0):M.style.display="none"}),T?(L.style.display="",b=!0):L.style.display="none"});let E=document.querySelector("[data-empty]");E&&(b?E.style.display="none":E.style.display="flex"),h()}),m&&m.addEventListener("click",()=>{d&&(d.value="",d.dispatchEvent(new Event("input",{bubbles:!0}))),h()}),h()};var Ps=class{constructor(e){U(this,"bigMenu");U(this,"tabsModule",null);U(this,"tablistContainer",null);U(this,"contentContainer",null);U(this,"tabMappings",[]);U(this,"isMobileLayout",!1);U(this,"originalButtonsWrapper",null);U(this,"accordionContainer",null);U(this,"dropdownToggle",null);U(this,"dropdownList",null);U(this,"navMobileHeader",null);U(this,"originalStructure",{buttonsWrapper:null,contentWrapper:null,buttonsParent:null,contentParent:null,buttonsNextSibling:null,contentNextSibling:null});U(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 o=document.createElement("div");o.className="mega-menu-accordion_content",o.setAttribute("data-accordion-content",""),o.style.display="none",o.style.overflow="hidden",o.style.maxHeight="0",o.style.transition="max-height 0.3s ease-out";let s=t.cloneNode(!0);s.classList.add("mega-menu-accordion_panel"),s.removeAttribute("hidden"),s.removeAttribute("style"),s.style.backgroundColor="transparent",o.appendChild(s),r.appendChild(o),n.addEventListener("click",l=>{l.preventDefault(),l.stopPropagation(),this.toggleAccordionItem(r,i,o)}),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 lc(){document.querySelectorAll("[data-big-menu]").forEach(e=>{new Ps(e)})}var Hs=class{constructor(e){U(this,"navOverlay");U(this,"navMenu",null);U(this,"isApplied",!1);U(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 cc(){let a=()=>{document.querySelectorAll(".w-nav-overlay").forEach(t=>{t.dataset.mobileScrollInit||(t.dataset.mobileScrollInit="true",new Hs(t))})};a(),setTimeout(a,500)}var Gd='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',uc=a=>Array.from(a.querySelectorAll(Gd)).filter(e=>e.offsetWidth>0||e.offsetHeight>0);function dc(){let a=null,e=()=>document.querySelector("[data-form-modal]"),t=i=>{if(i.key!=="Tab")return;let o=e();if(!o)return;let s=uc(o);if(i.preventDefault(),!s.length)return;let l=s.indexOf(document.activeElement);if(i.shiftKey){let c=l<=0?s.length-1:l-1;s[c].focus({preventScroll:!0})}else{let c=l>=s.length-1?0:l+1;s[c].focus({preventScroll:!0})}},r=()=>{let i=e();i&&(a=document.activeElement,i.classList.add("is-active"),requestAnimationFrame(()=>{let o=uc(i);o.length?o[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),a?.focus(),a=null)};document.addEventListener("click",i=>{let o=i.target;if(o.closest('[data-trigger="form"]')){r();return}if(o.closest("[data-close-modal]")){n();return}let s=o.closest("[data-form-modal]");s&&o===s&&n()}),document.addEventListener("keydown",i=>{i.key==="Escape"&&n()})}var Vd='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',fc=a=>Array.from(a.querySelectorAll(Vd)).filter(e=>e.offsetWidth>0||e.offsetHeight>0);function pc(){let a=document.querySelector("[data-modal]");if(!a)return;let e=document.querySelectorAll("[data-product-trigger]"),t=document.querySelectorAll("[data-close-modal]"),r=a.querySelectorAll(".product_item-modal-inner");a.setAttribute("tabindex","-1");let n=null;gsap.set(a,{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=fc(a);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})}},o=()=>{let c=fc(a);c.length?c[0].focus({preventScroll:!0}):a.focus({preventScroll:!0})},s=c=>{let u=null,f=document.getElementById(c);if(f&&a.contains(f)?u=f:u=a.querySelector(`[data-modal-target="${c}"]`),!u){console.error(`No content found for target: ${c}`);return}getComputedStyle(a).display!=="none"&&getComputedStyle(a).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:o})):(n=document.activeElement,document.body.style.overflow="hidden",Kl(),r.forEach(m=>{m.style.display="none"}),gsap.set(u,{display:"block",opacity:1}),gsap.timeline().set(a,{display:"flex",opacity:0,zIndex:2147483647,pointerEvents:"auto"}).to(a,{opacity:1,duration:.4,ease:"power2.out",onComplete:o}),document.addEventListener("keydown",i))},l=()=>{document.removeEventListener("keydown",i),gsap.to(a,{opacity:0,pointerEvents:"none",duration:.3,ease:"power2.in",onComplete:()=>{gsap.set(a,{display:"none",zIndex:-1}),gsap.set(r,{display:"none"}),document.body.style.overflow="",$l(),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&&s(f)})}),t.forEach(c=>{c.addEventListener("click",u=>{u.preventDefault(),l()})}),document.addEventListener("keydown",c=>{c.key==="Escape"&&getComputedStyle(a).display!=="none"&&getComputedStyle(a).opacity!=="0"&&l()})}var fi=new Map,mc=991;function ao(){return window.innerWidth<=mc}function Yd(){let a="dock-custom-styles";if(document.getElementById(a))return;let e=document.createElement("style");e.id=a,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=`
228
230
  /* Base Tooltip Styles (Desktop) */
229
231
  [data-slider-dock] .nav-item__tooltip {
230
232
  font-size: 10px !important;
@@ -237,7 +239,7 @@
237
239
  padding: 0 12px !important;
238
240
  }
239
241
 
240
- @media screen and (max-width: ${mc}px) {
242
+ @media screen and (max-width: ${Rc}px) {
241
243
  /* Mobile Tooltip Styles */
242
244
  [data-slider-dock] .nav-item__tooltip {
243
245
  font-size: 10px !important;
@@ -272,7 +274,7 @@
272
274
  flex-shrink: 0 !important;
273
275
  }
274
276
  }
275
- `,document.head.appendChild(e)}function Os(a){a.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===a.activeIndex,o=t===a.activeIndex-1||t===a.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})):o?(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 Xd(a){if(fi.has(a))return;a.querySelectorAll(".nav-item").forEach(s=>{s.classList.remove("hover"),s.style.width="";let l=s.querySelector(".nav-item__link");l&&(l.style.transform="",l.style.transition="")});let t=a.getAttribute("data-dock-space"),r=t?parseFloat(t):16,n=a.parentElement,i=a.querySelector(".swiper-arrow.is-next"),o=a.querySelector(".swiper-arrow.is-prev");!i&&n&&(i=n.querySelector(".swiper-arrow.is-next")),!o&&n&&(o=n.querySelector(".swiper-arrow.is-prev")),a.style.width="100%",a.style.overflow="hidden",requestAnimationFrame(()=>{setTimeout(()=>{if(fi.has(a))return;let s={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:o},on:{init:c=>{Os(c),setTimeout(()=>c.update(),100)},slideChange:c=>Os(c),transitionEnd:c=>Os(c)}},l=new Swiper(a,s);fi.set(a,l)},50)})}function Ud(a){let e=fi.get(a);e&&(e.destroy(!0,!0),fi.delete(a))}function gc(){return Array.from(document.querySelectorAll("[data-slider-dock]"))}function hc(){let a=gc(),e=ao();a.forEach(t=>{e?Xd(t):Ud(t)})}function Kd(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function $d(){document.querySelectorAll("[data-slider-dock]").forEach(e=>{let t=Array.from(e.querySelectorAll(".nav-item"));if(t.length===0)return;let r=o=>{t.forEach((s,l)=>{let c=s.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===o?(c.style.transform="scale(2)",s.style.zIndex="100"):l===o-1||l===o+1?(c.style.transform="scale(1.25)",s.style.zIndex="50"):(c.style.transform="scale(1)",s.style.zIndex="1"))})},n=()=>{t.forEach(o=>{let s=o.querySelector(".nav-item__link");s&&(s.style.transform="scale(1)"),o.style.zIndex="",o.classList.remove("hover");let l=o.querySelector(".nav-item__tooltip");l&&gsap.to(l,{opacity:0,y:0,duration:.2,overwrite:!0})})};t.forEach((o,s)=>{o.style.position="relative";let l=o.querySelector(".nav-item__link");l&&(l.style.position="relative",l.style.zIndex="2");let c=o.querySelector(".nav-item__tooltip");c&&gsap.set(c,{position:"absolute",bottom:"100%",left:"50%",xPercent:-50,marginBottom:"-20px",opacity:0,pointerEvents:"none",display:"block"}),o.addEventListener("mouseenter",()=>{ao()||(r(s),o.classList.add("hover"),c&&gsap.to(c,{opacity:1,y:-55,duration:.3,ease:"power2.out",overwrite:!0}))}),o.addEventListener("mouseleave",()=>{ao()||c&&gsap.to(c,{opacity:0,y:0,duration:.2,overwrite:!0})})}),(e.querySelector(".nav-list")||e).addEventListener("mouseleave",()=>{ao()||n()})})}function _c(){if(typeof Swiper>"u"||gc().length===0)return;Yd(),hc();let e=Kd(hc,150);window.addEventListener("resize",e),$d()}var pi=new Map,Is=new Map,jd=991;function Qd(){return window.innerWidth<=jd}function yc(a,e){let t=a.slides.length,n=((a.realIndex!==void 0?a.realIndex:a.activeIndex)+1)/t*100;e.style.width=n+"%",e.style.transition="width 0.3s ease"}function Zd(a){if(pi.has(a))return;let e=a.getAttribute("data-mobile-slides"),t=e?parseFloat(e):1,r=a.getAttribute("data-mobile-space"),n=r?parseFloat(r):16,i=a.parentElement,o=a.querySelector(".swiper-arrow.is-next"),s=a.querySelector(".swiper-arrow.is-prev");!o&&i&&(o=i.querySelector(".swiper-arrow.is-next")),!s&&i&&(s=i.querySelector(".swiper-arrow.is-prev"));let l=a.querySelector(".swiper-progress-track"),c=a.querySelector(".swiper-progress-thumb");!l&&i&&(l=i.querySelector(".swiper-progress-track")),!c&&i&&(c=i.querySelector(".swiper-progress-thumb"));let u=a.querySelectorAll(".swiper-slide"),f=a.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,E=document.createElement("div");E.style.cssText=b,p.set(w,E.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"}),Is.set(a,p);let d=a.getAttribute("data-tablet-slides"),m=d?parseFloat(d):t,h=a.getAttribute("data-desktop-slides"),g=h?parseFloat(h):4,v={slidesPerView:t,spaceBetween:n,loop:!1,freeMode:!1,watchOverflow:!0,breakpoints:{768:{slidesPerView:m,spaceBetween:n},992:{slidesPerView:g,spaceBetween:0}},navigation:{nextEl:o,prevEl:s},on:{init:function(){c&&yc(this,c)},slideChange:function(){c&&yc(this,c)}}},_=new Swiper(a,v);pi.set(a,_),l&&(l.hasAttribute("data-progress-listener")||(l.addEventListener("click",function(w){let b=pi.get(a);if(!b)return;let E=w,L=l.getBoundingClientRect(),T=E.clientX-L.left,A=L.width,M=T/A,x=b.slides.length,P=Math.floor(M*x);b.slideTo(P)}),l.setAttribute("data-progress-listener","true")))}function Jd(a){let e=pi.get(a);if(e){e.destroy(!0,!0),pi.delete(a);let t=Is.get(a);t&&(t.forEach((r,n)=>{n.style.cssText=r.cssText}),Is.delete(a))}}function bc(){return Array.from(document.querySelectorAll("[data-slider-mobile]"))}function vc(){let a=bc(),e=Qd();a.forEach(t=>{let r=e;if(!e){let n=t.querySelector(".swiper-wrapper");n&&n.children.length>4&&(r=!0)}r?Zd(t):Jd(t)})}function ef(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function wc(){if(typeof Swiper>"u"||bc().length===0)return;vc();let e=ef(vc,150);window.addEventListener("resize",e)}function xc(){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,o=t.parentElement,s=t.querySelector(".swiper-arrow.is-next"),l=t.querySelector(".swiper-arrow.is-prev");!s&&o&&(s=o.querySelector(".swiper-arrow.is-next")),!l&&o&&(l=o.querySelector(".swiper-arrow.is-prev"));let c=t.querySelector(".swiper-progress-track"),u=t.querySelector(".swiper-progress-thumb");!c&&o&&(c=o.querySelector(".swiper-progress-track")),!u&&o&&(u=o.querySelector(".swiper-progress-thumb"));let f={slidesPerView:n,spaceBetween:0,loop:!1,centeredSlides:!0,navigation:{nextEl:s,prevEl:l},breakpoints:{...i?{768:{slidesPerView:1.5,centeredSlides:!0}}:{},992:{slidesPerView:1,centeredSlides:!0}},on:{init:function(){setTimeout(()=>{hi(this),u&&Ec(this,u)},50)},slideChange:function(){hi(this),u&&Ec(this,u)},slideChangeTransitionStart:function(){hi(this)},slideChangeTransitionEnd:function(){hi(this)},transitionEnd:function(){hi(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 v=c.getBoundingClientRect(),_=Math.max(0,Math.min(1,(g-v.left)/v.width)),w=p.slides.length;p.slideTo(Math.min(Math.floor(_*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 hi(a){a.slides.forEach(function(e,t){t===a.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 Ec(a,e){let t=a.slides.length,n=(a.realIndex+1)/t*100;e.style.width=n+"%"}var Tc="is-mobile-tabs",Ds="mobile-tabs-wrapper",Rs=class{constructor(e){U(this,"container");U(this,"menu");U(this,"content");U(this,"tabPairs",[]);U(this,"isMobileLayout",!1);U(this,"originalContentParent",null);U(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});U(this,"preventWebflowClick",e=>{e.stopImmediatePropagation()});U(this,"handleMobileTabClick",e=>{let r=e.currentTarget.getAttribute("data-w-tab")?.trim();this.tabPairs.forEach(({pill:n,tabName:i})=>{let o=n.nextElementSibling;if(!o||!o.classList.contains(Ds))return;let s=o.firstElementChild;s&&(i===r?(s.removeAttribute("hidden"),s.style.display="",o.classList.add("is-open")):(s.setAttribute("hidden","true"),s.style.display="none",o.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(o=>o.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(Tc),this.content.style.display="none",this.tabPairs.forEach(({pill:e,pane:t},r)=>{let n=document.createElement("div");n.className=Ds,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(Tc),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(`.${Ds}`).forEach(t=>t.remove()),this.content.style.display=""}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function Sc(){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 Rs(t)}})}var lo=class{constructor(e){U(this,"tablistNode");U(this,"tabs",[]);U(this,"firstTab",null);U(this,"lastTab",null);U(this,"tabpanels",[]);U(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 o=document.getElementById(i);n.tabIndex=n.getAttribute("aria-selected")==="true"?0:-1,o&&(o.setAttribute("role","tabpanel"),o.setAttribute("aria-labelledby",n.id),o.removeAttribute("tabindex"),this.tabpanels.push(o)),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 o=i,s=o.hasAttribute("hidden");s&&(o.style.visibility="hidden",o.style.display="block",o.style.position="absolute",o.removeAttribute("hidden")),n=Math.max(n,o.offsetHeight),s&&(o.setAttribute("hidden","true"),o.style.display="",o.style.position="",o.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(s=>clearTimeout(s)),this.pendingTimeouts=[];let n=this.tablistNode.closest(".tabs_component")!==null;this.tabs.forEach(s=>{if(e===s)return;let l=s.getAttribute("aria-controls"),c=l?document.getElementById(l):null;s.setAttribute("aria-selected","false"),s.tabIndex=-1,s.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"),o=i?document.getElementById(i):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),o&&(o.classList.add("is-active-tab"),o.removeAttribute("hidden"),n?(o.style.opacity="0",o.style.transition="opacity 0.2s ease-in-out",o.offsetWidth,this.pendingTimeouts.push(window.setTimeout(()=>{o.style.opacity="1"},10)),this.pendingTimeouts.push(window.setTimeout(()=>{o.removeAttribute("style")},250))):o.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 Lc(){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 lo(r)}}),document.querySelectorAll('[role="tablist"]').forEach(t=>{t instanceof HTMLElement&&!t.closest('[data-module="tabs"]')&&new lo(t)})}function Mc(){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(o=>{t.set(o,o.getAttribute("href")||"")})});function r(){let n=window.innerWidth<=991;t.forEach((i,o)=>{if(n){let s=o.getAttribute("data-w-tab");s&&o.setAttribute("href",`/branze/${s}`)}else o.setAttribute("href",i)})}r(),window.addEventListener("resize",r)}window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{Ns(),Ul(),Lc(),Mc(),Sc(),nc(),sc(),lc(),cc(),Zl(),Jl(),dc(),pc(),xc(),wc(),_c(),Ql(),Vl(),ec(),jl(),Wl(),Gl(),Bs(),Ws(),Fs(),zl(),Bl(),Yl(),Xl(),rc(),tc(),ac()});})();
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()});})();
276
278
  /*! Bundled license information:
277
279
 
278
280
  gsap/gsap-core.js:
@@ -314,4 +316,13 @@ gsap/ScrollTrigger.js:
314
316
  * Subject to the terms at https://gsap.com/standard-license
315
317
  * @author: Jack Doyle, jack@greensock.com
316
318
  *)
319
+
320
+ gsap/SplitText.js:
321
+ (*!
322
+ * SplitText 3.14.2
323
+ * https://gsap.com
324
+ *
325
+ * @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
326
+ * @author: Jack Doyle
327
+ *)
317
328
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anegis-webflow-new",
3
- "version": "6.1.1",
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