@widelab-nc/widehue 1.0.18 → 1.0.20
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 +2 -13
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/index.js +487 -74
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(()=>{var
|
|
1
|
+
(()=>{var Za=!1,Qa=!1,Fi=[],Ja=-1;function E_(i){w_(i)}function w_(i){Fi.includes(i)||Fi.push(i),b_()}function Gc(i){let e=Fi.indexOf(i);e!==-1&&e>Ja&&Fi.splice(e,1)}function b_(){!Qa&&!Za&&(Za=!0,queueMicrotask(x_))}function x_(){Za=!1,Qa=!0;for(let i=0;i<Fi.length;i++)Fi[i](),Ja=i;Fi.length=0,Ja=-1,Qa=!1}var hn,pn,oo,$c,eu=!0;function S_(i){eu=!1,i(),eu=!0}function C_(i){hn=i.reactive,oo=i.release,pn=e=>i.effect(e,{scheduler:t=>{eu?E_(t):t()}}),$c=i.raw}function Pc(i){pn=i}function T_(i){let e=()=>{};return[r=>{let n=pn(r);return i._x_effects||(i._x_effects=new Set,i._x_runEffects=()=>{i._x_effects.forEach(o=>o())}),i._x_effects.add(n),e=()=>{n!==void 0&&(i._x_effects.delete(n),oo(n))},n},()=>{e()}]}function to(i,e,t={}){i.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0,cancelable:!0}))}function ei(i,e){if(typeof ShadowRoot=="function"&&i instanceof ShadowRoot){Array.from(i.children).forEach(n=>ei(n,e));return}let t=!1;if(e(i,()=>t=!0),t)return;let r=i.firstElementChild;for(;r;)ei(r,e,!1),r=r.nextElementSibling}function Fr(i,...e){console.warn(`Alpine Warning: ${i}`,...e)}var Lc=!1;function A_(){Lc&&Fr("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),Lc=!0,document.body||Fr("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),to(document,"alpine:init"),to(document,"alpine:initializing"),yu(),M_(e=>Or(e,ei)),mu(e=>gu(e)),of((e,t)=>{xu(e,t).forEach(r=>r())});let i=e=>!xs(e.parentElement,!0);Array.from(document.querySelectorAll(Zc())).filter(i).forEach(e=>{Or(e)}),to(document,"alpine:initialized")}var _u=[],jc=[];function Kc(){return _u.map(i=>i())}function Zc(){return _u.concat(jc).map(i=>i())}function Qc(i){_u.push(i)}function Jc(i){jc.push(i)}function xs(i,e=!1){return Ss(i,t=>{if((e?Zc():Kc()).some(n=>t.matches(n)))return!0})}function Ss(i,e){if(i){if(e(i))return i;if(i._x_teleportBack&&(i=i._x_teleportBack),!!i.parentElement)return Ss(i.parentElement,e)}}function F_(i){return Kc().some(e=>i.matches(e))}var ef=[];function O_(i){ef.push(i)}function Or(i,e=ei,t=()=>{}){U_(()=>{e(i,(r,n)=>{t(r,n),ef.forEach(o=>o(r,n)),xu(r,r.attributes).forEach(o=>o()),r._x_ignore&&n()})})}function gu(i){ei(i,e=>{af(e),k_(e)})}var tf=[],rf=[],nf=[];function M_(i){nf.push(i)}function mu(i,e){typeof e=="function"?(i._x_cleanups||(i._x_cleanups=[]),i._x_cleanups.push(e)):(e=i,rf.push(e))}function of(i){tf.push(i)}function sf(i,e,t){i._x_attributeCleanups||(i._x_attributeCleanups={}),i._x_attributeCleanups[e]||(i._x_attributeCleanups[e]=[]),i._x_attributeCleanups[e].push(t)}function af(i,e){i._x_attributeCleanups&&Object.entries(i._x_attributeCleanups).forEach(([t,r])=>{(e===void 0||e.includes(t))&&(r.forEach(n=>n()),delete i._x_attributeCleanups[t])})}function k_(i){if(i._x_cleanups)for(;i._x_cleanups.length;)i._x_cleanups.pop()()}var vu=new MutationObserver(wu),Du=!1;function yu(){vu.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Du=!0}function uf(){P_(),vu.disconnect(),Du=!1}var ro=[],Ga=!1;function P_(){ro=ro.concat(vu.takeRecords()),ro.length&&!Ga&&(Ga=!0,queueMicrotask(()=>{L_(),Ga=!1}))}function L_(){wu(ro),ro.length=0}function He(i){if(!Du)return i();uf();let e=i();return yu(),e}var Eu=!1,Es=[];function R_(){Eu=!0}function N_(){Eu=!1,wu(Es),Es=[]}function wu(i){if(Eu){Es=Es.concat(i);return}let e=[],t=[],r=new Map,n=new Map;for(let o=0;o<i.length;o++)if(!i[o].target._x_ignoreMutationObserver&&(i[o].type==="childList"&&(i[o].addedNodes.forEach(s=>s.nodeType===1&&e.push(s)),i[o].removedNodes.forEach(s=>s.nodeType===1&&t.push(s))),i[o].type==="attributes")){let s=i[o].target,a=i[o].attributeName,u=i[o].oldValue,l=()=>{r.has(s)||r.set(s,[]),r.get(s).push({name:a,value:s.getAttribute(a)})},c=()=>{n.has(s)||n.set(s,[]),n.get(s).push(a)};s.hasAttribute(a)&&u===null?l():s.hasAttribute(a)?(c(),l()):c()}n.forEach((o,s)=>{af(s,o)}),r.forEach((o,s)=>{tf.forEach(a=>a(s,o))});for(let o of t)e.includes(o)||(rf.forEach(s=>s(o)),gu(o));e.forEach(o=>{o._x_ignoreSelf=!0,o._x_ignore=!0});for(let o of e)t.includes(o)||o.isConnected&&(delete o._x_ignoreSelf,delete o._x_ignore,nf.forEach(s=>s(o)),o._x_ignore=!0,o._x_ignoreSelf=!0);e.forEach(o=>{delete o._x_ignoreSelf,delete o._x_ignore}),e=null,t=null,r=null,n=null}function lf(i){return ao(fn(i))}function so(i,e,t){return i._x_dataStack=[e,...fn(t||i)],()=>{i._x_dataStack=i._x_dataStack.filter(r=>r!==e)}}function fn(i){return i._x_dataStack?i._x_dataStack:typeof ShadowRoot=="function"&&i instanceof ShadowRoot?fn(i.host):i.parentNode?fn(i.parentNode):[]}function ao(i){return new Proxy({objects:i},I_)}var I_={ownKeys({objects:i}){return Array.from(new Set(i.flatMap(e=>Object.keys(e))))},has({objects:i},e){return e==Symbol.unscopables?!1:i.some(t=>Object.prototype.hasOwnProperty.call(t,e))},get({objects:i},e,t){return e=="toJSON"?B_:Reflect.get(i.find(r=>Object.prototype.hasOwnProperty.call(r,e))||{},e,t)},set({objects:i},e,t){return Reflect.set(i.find(r=>Object.prototype.hasOwnProperty.call(r,e))||i[i.length-1],e,t)}};function B_(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function cf(i){let e=r=>typeof r=="object"&&!Array.isArray(r)&&r!==null,t=(r,n="")=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([o,{value:s,enumerable:a}])=>{if(a===!1||s===void 0)return;let u=n===""?o:`${n}.${o}`;typeof s=="object"&&s!==null&&s._x_interceptor?r[o]=s.initialize(i,u,o):e(s)&&s!==r&&!(s instanceof Element)&&t(s,u)})};return t(i)}function ff(i,e=()=>{}){let t={initialValue:void 0,_x_interceptor:!0,initialize(r,n,o){return i(this.initialValue,()=>z_(r,n),s=>tu(r,n,s),n,o)}};return e(t),r=>{if(typeof r=="object"&&r!==null&&r._x_interceptor){let n=t.initialize.bind(t);t.initialize=(o,s,a)=>{let u=r.initialize(o,s,a);return t.initialValue=u,n(o,s,a)}}else t.initialValue=r;return t}}function z_(i,e){return e.split(".").reduce((t,r)=>t[r],i)}function tu(i,e,t){if(typeof e=="string"&&(e=e.split(".")),e.length===1)i[e[0]]=t;else{if(e.length===0)throw error;return i[e[0]]||(i[e[0]]={}),tu(i[e[0]],e.slice(1),t)}}var df={};function ir(i,e){df[i]=e}function ru(i,e){return Object.entries(df).forEach(([t,r])=>{let n=null;function o(){if(n)return n;{let[s,a]=vf(e);return n={interceptor:ff,...s},mu(e,a),n}}Object.defineProperty(i,`$${t}`,{get(){return r(e,o())},enumerable:!1})}),i}function V_(i,e,t,...r){try{return t(...r)}catch(n){no(n,i,e)}}function no(i,e,t=void 0){Object.assign(i,{el:e,expression:t}),console.warn(`Alpine Expression Error: ${i.message}
|
|
2
2
|
|
|
3
3
|
${t?'Expression: "'+t+`"
|
|
4
4
|
|
|
5
|
-
`:""}`,e),setTimeout(()=>{throw i},0)}var xo=!0;function Ef(i){let e=xo;xo=!1;let t=i();return xo=e,t}function ki(i,e,t={}){let r;return ft(i,e)(n=>r=n,t),r}function ft(...i){return Sf(...i)}var Sf=Cf;function cg(i){Sf=i}function Cf(i,e){let t={};lu(t,i);let r=[t,...pn(i)],n=typeof e=="function"?fg(r,e):hg(r,e,i);return lg.bind(null,i,e,n)}function fg(i,e){return(t=()=>{},{scope:r={},params:n=[]}={})=>{let s=e.apply(cs([r,...i]),n);So(t,s)}}var tu={};function dg(i,e){if(tu[i])return tu[i];let t=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(i.trim())||/^(let|const)\s/.test(i.trim())?`(async()=>{ ${i} })()`:i,s=(()=>{try{let o=new t(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(o,"name",{value:`[Alpine] ${i}`}),o}catch(o){return as(o,e,i),Promise.resolve()}})();return tu[i]=s,s}function hg(i,e,t){let r=dg(e,t);return(n=()=>{},{scope:s={},params:o=[]}={})=>{r.result=void 0,r.finished=!1;let a=cs([s,...i]);if(typeof r=="function"){let u=r(r,a).catch(l=>as(l,t,e));r.finished?(So(n,r.result,a,o,t),r.result=void 0):u.then(l=>{So(n,l,a,o,t)}).catch(l=>as(l,t,e)).finally(()=>r.result=void 0)}}}function So(i,e,t,r,n){if(xo&&typeof e=="function"){let s=e.apply(t,r);s instanceof Promise?s.then(o=>So(i,o,t,r)).catch(o=>as(o,n,e)):i(s)}else typeof e=="object"&&e instanceof Promise?e.then(s=>i(s)):i(e)}var Ou="x-";function vn(i=""){return Ou+i}function pg(i){Ou=i}var cu={};function Ne(i,e){return cu[i]=e,{before(t){if(!cu[t]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let r=Oi.indexOf(t);Oi.splice(r>=0?r:Oi.indexOf("DEFAULT"),0,i)}}}function Pu(i,e,t){if(e=Array.from(e),i._x_virtualDirectives){let s=Object.entries(i._x_virtualDirectives).map(([a,u])=>({name:a,value:u})),o=Tf(s);s=s.map(a=>o.find(u=>u.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),e=e.concat(s)}let r={};return e.map(kf((s,o)=>r[s]=o)).filter(Lf).map(mg(r,t)).sort(vg).map(s=>gg(i,s))}function Tf(i){return Array.from(i).map(kf()).filter(e=>!Lf(e))}var fu=!1,is=new Map,Af=Symbol();function _g(i){fu=!0;let e=Symbol();Af=e,is.set(e,[]);let t=()=>{for(;is.get(e).length;)is.get(e).shift()();is.delete(e)},r=()=>{fu=!1,t()};i(t),r()}function Ff(i){let e=[],t=a=>e.push(a),[r,n]=K_(i);return e.push(n),[{Alpine:fs,effect:r,cleanup:t,evaluateLater:ft.bind(ft,i),evaluate:ki.bind(ki,i)},()=>e.forEach(a=>a())]}function gg(i,e){let t=()=>{},r=cu[e.type]||t,[n,s]=Ff(i);mf(i,e.original,s);let o=()=>{i._x_ignore||i._x_ignoreSelf||(r.inline&&r.inline(i,e,n),r=r.bind(r,i,e,n),fu?is.get(Af).push(r):r())};return o.runCleanups=s,o}var Of=(i,e)=>({name:t,value:r})=>(t.startsWith(i)&&(t=t.replace(i,e)),{name:t,value:r}),Pf=i=>i;function kf(i=()=>{}){return({name:e,value:t})=>{let{name:r,value:n}=Mf.reduce((s,o)=>o(s),{name:e,value:t});return r!==e&&i(r,e),{name:r,value:n}}}var Mf=[];function ku(i){Mf.push(i)}function Lf({name:i}){return Rf().test(i)}var Rf=()=>new RegExp(`^${Ou}([^:^.]+)\\b`);function mg(i,e){return({name:t,value:r})=>{let n=t.match(Rf()),s=t.match(/:([a-zA-Z0-9\-:]+)/),o=t.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=e||i[t]||t;return{type:n?n[1]:null,value:s?s[1]:null,modifiers:o.map(u=>u.replace(".","")),expression:r,original:a}}}var du="DEFAULT",Oi=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",du,"teleport"];function vg(i,e){let t=Oi.indexOf(i.type)===-1?du:i.type,r=Oi.indexOf(e.type)===-1?du:e.type;return Oi.indexOf(t)-Oi.indexOf(r)}var hu=[],Mu=!1;function Lu(i=()=>{}){return queueMicrotask(()=>{Mu||setTimeout(()=>{pu()})}),new Promise(e=>{hu.push(()=>{i(),e()})})}function pu(){for(Mu=!1;hu.length;)hu.shift()()}function Dg(){Mu=!0}function Ru(i,e){return Array.isArray(e)?Xc(i,e.join(" ")):typeof e=="object"&&e!==null?yg(i,e):typeof e=="function"?Ru(i,e()):Xc(i,e)}function Xc(i,e){let t=s=>s.split(" ").filter(Boolean),r=s=>s.split(" ").filter(o=>!i.classList.contains(o)).filter(Boolean),n=s=>(i.classList.add(...s),()=>{i.classList.remove(...s)});return e=e===!0?e="":e||"",n(r(e))}function yg(i,e){let t=a=>a.split(" ").filter(Boolean),r=Object.entries(e).flatMap(([a,u])=>u?t(a):!1).filter(Boolean),n=Object.entries(e).flatMap(([a,u])=>u?!1:t(a)).filter(Boolean),s=[],o=[];return n.forEach(a=>{i.classList.contains(a)&&(i.classList.remove(a),o.push(a))}),r.forEach(a=>{i.classList.contains(a)||(i.classList.add(a),s.push(a))}),()=>{o.forEach(a=>i.classList.add(a)),s.forEach(a=>i.classList.remove(a))}}function Fo(i,e){return typeof e=="object"&&e!==null?wg(i,e):bg(i,e)}function wg(i,e){let t={};return Object.entries(e).forEach(([r,n])=>{t[r]=i.style[r],r.startsWith("--")||(r=xg(r)),i.style.setProperty(r,n)}),setTimeout(()=>{i.style.length===0&&i.removeAttribute("style")}),()=>{Fo(i,t)}}function bg(i,e){let t=i.getAttribute("style",e);return i.setAttribute("style",e),()=>{i.setAttribute("style",t||"")}}function xg(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function _u(i,e=()=>{}){let t=!1;return function(){t?e.apply(this,arguments):(t=!0,i.apply(this,arguments))}}Ne("transition",(i,{value:e,modifiers:t,expression:r},{evaluate:n})=>{typeof r=="function"&&(r=n(r)),r!==!1&&(!r||typeof r=="boolean"?Sg(i,t,e):Eg(i,r,e))});function Eg(i,e,t){Nf(i,Ru,""),{enter:n=>{i._x_transition.enter.during=n},"enter-start":n=>{i._x_transition.enter.start=n},"enter-end":n=>{i._x_transition.enter.end=n},leave:n=>{i._x_transition.leave.during=n},"leave-start":n=>{i._x_transition.leave.start=n},"leave-end":n=>{i._x_transition.leave.end=n}}[t](e)}function Sg(i,e,t){Nf(i,Fo);let r=!e.includes("in")&&!e.includes("out")&&!t,n=r||e.includes("in")||["enter"].includes(t),s=r||e.includes("out")||["leave"].includes(t);e.includes("in")&&!r&&(e=e.filter((m,v)=>v<e.indexOf("out"))),e.includes("out")&&!r&&(e=e.filter((m,v)=>v>e.indexOf("out")));let o=!e.includes("opacity")&&!e.includes("scale"),a=o||e.includes("opacity"),u=o||e.includes("scale"),l=a?0:1,c=u?ts(e,"scale",95)/100:1,d=ts(e,"delay",0)/1e3,p=ts(e,"origin","center"),f="opacity, transform",_=ts(e,"duration",150)/1e3,h=ts(e,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";n&&(i._x_transition.enter.during={transformOrigin:p,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${_}s`,transitionTimingFunction:g},i._x_transition.enter.start={opacity:l,transform:`scale(${c})`},i._x_transition.enter.end={opacity:1,transform:"scale(1)"}),s&&(i._x_transition.leave.during={transformOrigin:p,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${h}s`,transitionTimingFunction:g},i._x_transition.leave.start={opacity:1,transform:"scale(1)"},i._x_transition.leave.end={opacity:l,transform:`scale(${c})`})}function Nf(i,e,t={}){i._x_transition||(i._x_transition={enter:{during:t,start:t,end:t},leave:{during:t,start:t,end:t},in(r=()=>{},n=()=>{}){gu(i,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){gu(i,e,{during:this.leave.during,start:this.leave.start,end:this.leave.end},r,n)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(i,e,t,r){let n=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,s=()=>n(t);if(e){i._x_transition&&(i._x_transition.enter||i._x_transition.leave)?i._x_transition.enter&&(Object.entries(i._x_transition.enter.during).length||Object.entries(i._x_transition.enter.start).length||Object.entries(i._x_transition.enter.end).length)?i._x_transition.in(t):s():i._x_transition?i._x_transition.in(t):s();return}i._x_hidePromise=i._x_transition?new Promise((o,a)=>{i._x_transition.out(()=>{},()=>o(r)),i._x_transitioning.beforeCancel(()=>a({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let o=If(i);o?(o._x_hideChildren||(o._x_hideChildren=[]),o._x_hideChildren.push(i)):n(()=>{let a=u=>{let l=Promise.all([u._x_hidePromise,...(u._x_hideChildren||[]).map(a)]).then(([c])=>c());return delete u._x_hidePromise,delete u._x_hideChildren,l};a(i).catch(u=>{if(!u.isFromCancelledTransition)throw u})})})};function If(i){let e=i.parentNode;if(e)return e._x_hidePromise?e:If(e)}function gu(i,e,{during:t,start:r,end:n}={},s=()=>{},o=()=>{}){if(i._x_transitioning&&i._x_transitioning.cancel(),Object.keys(t).length===0&&Object.keys(r).length===0&&Object.keys(n).length===0){s(),o();return}let a,u,l;Cg(i,{start(){a=e(i,r)},during(){u=e(i,t)},before:s,end(){a(),l=e(i,n)},after:o,cleanup(){u(),l()}})}function Cg(i,e){let t,r,n,s=_u(()=>{We(()=>{t=!0,r||e.before(),n||(e.end(),pu()),e.after(),i.isConnected&&e.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(o){this.beforeCancels.push(o)},cancel:_u(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();s()}),finish:s},We(()=>{e.start(),e.during()}),Dg(),requestAnimationFrame(()=>{if(t)return;let o=Number(getComputedStyle(i).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,a=Number(getComputedStyle(i).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;o===0&&(o=Number(getComputedStyle(i).animationDuration.replace("s",""))*1e3),We(()=>{e.before()}),r=!0,requestAnimationFrame(()=>{t||(We(()=>{e.end()}),pu(),setTimeout(i._x_transitioning.finish,o+a),n=!0)})})}function ts(i,e,t){if(i.indexOf(e)===-1)return t;let r=i[i.indexOf(e)+1];if(!r||e==="scale"&&isNaN(r))return t;if(e==="duration"||e==="delay"){let n=r.match(/([0-9]+)ms/);if(n)return n[1]}return e==="origin"&&["top","right","left","center","bottom"].includes(i[i.indexOf(e)+2])?[r,i[i.indexOf(e)+2]].join(" "):r}var ii=!1;function Oo(i,e=()=>{}){return(...t)=>ii?e(...t):i(...t)}function Tg(i){return(...e)=>ii&&i(...e)}function Ag(i,e){i._x_dataStack&&(e._x_dataStack=i._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),ii=!0,Bf(()=>{Pr(e,(t,r)=>{r(t,()=>{})})}),ii=!1}var mu=!1;function Fg(i,e){e._x_dataStack||(e._x_dataStack=i._x_dataStack),ii=!0,mu=!0,Bf(()=>{Og(e)}),ii=!1,mu=!1}function Og(i){let e=!1;Pr(i,(r,n)=>{ri(r,(s,o)=>{if(e&&Q_(s))return o();e=!0,n(s,o)})})}function Bf(i){let e=mn;Yc((t,r)=>{let n=e(t);return us(n),()=>{}}),i(),Yc(e)}function Pg(i){return ii?mu?!0:i.hasAttribute("data-has-alpine-state"):!1}function zf(i,e,t,r=[]){switch(i._x_bindings||(i._x_bindings=gn({})),i._x_bindings[e]=t,e=r.includes("camel")?zg(e):e,e){case"value":kg(i,t);break;case"style":Lg(i,t);break;case"class":Mg(i,t);break;case"selected":case"checked":Rg(i,e,t);break;default:Vf(i,e,t);break}}function kg(i,e){if(i.type==="radio")i.attributes.value===void 0&&(i.value=e),window.fromModel&&(i.checked=Gc(i.value,e));else if(i.type==="checkbox")Number.isInteger(e)?i.value=e:!Array.isArray(e)&&typeof e!="boolean"&&![null,void 0].includes(e)?i.value=String(e):Array.isArray(e)?i.checked=e.some(t=>Gc(t,i.value)):i.checked=!!e;else if(i.tagName==="SELECT")Bg(i,e);else{if(i.value===e)return;i.value=e===void 0?"":e}}function Mg(i,e){i._x_undoAddedClasses&&i._x_undoAddedClasses(),i._x_undoAddedClasses=Ru(i,e)}function Lg(i,e){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=Fo(i,e)}function Rg(i,e,t){Vf(i,e,t),Ig(i,e,t)}function Vf(i,e,t){[null,void 0,!1].includes(t)&&Vg(e)?i.removeAttribute(e):(Wf(e)&&(t=e),Ng(i,e,t))}function Ng(i,e,t){i.getAttribute(e)!=t&&i.setAttribute(e,t)}function Ig(i,e,t){i[e]!==t&&(i[e]=t)}function Bg(i,e){let t=[].concat(e).map(r=>r+"");Array.from(i.options).forEach(r=>{r.selected=t.includes(r.value)})}function zg(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Gc(i,e){return i==e}function Wf(i){return["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(i)}function Vg(i){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)}function Wg(i,e,t){return i._x_bindings&&i._x_bindings[e]!==void 0?i._x_bindings[e]:Hf(i,e,t)}function Hg(i,e,t,r=!0){if(i._x_bindings&&i._x_bindings[e]!==void 0)return i._x_bindings[e];if(i._x_inlineBindings&&i._x_inlineBindings[e]!==void 0){let n=i._x_inlineBindings[e];return n.extract=r,Ef(()=>ki(i,n.expression))}return Hf(i,e,t)}function Hf(i,e,t){let r=i.getAttribute(e);return r===null?typeof t=="function"?t():t:r===""?!0:Wf(e)?!![e,"true"].includes(r):r}function qf(i,e){var t;return function(){var r=this,n=arguments,s=function(){t=null,i.apply(r,n)};clearTimeout(t),t=setTimeout(s,e)}}function Yf(i,e){let t;return function(){let r=this,n=arguments;t||(i.apply(r,n),t=!0,setTimeout(()=>t=!1,e))}}function Uf({get:i,set:e},{get:t,set:r}){let n=!0,s,o,a,u,l=mn(()=>{let c,d;n?(c=i(),r(JSON.parse(JSON.stringify(c))),d=t(),n=!1):(c=i(),d=t(),a=JSON.stringify(c),u=JSON.stringify(d),a!==s?(d=t(),r(c),d=c):(e(JSON.parse(u??null)),c=d)),s=JSON.stringify(c),o=JSON.stringify(d)});return()=>{us(l)}}function qg(i){(Array.isArray(i)?i:[i]).forEach(t=>t(fs))}var Fi={},jc=!1;function Yg(i,e){if(jc||(Fi=gn(Fi),jc=!0),e===void 0)return Fi[i];Fi[i]=e,typeof e=="object"&&e!==null&&e.hasOwnProperty("init")&&typeof e.init=="function"&&Fi[i].init(),wf(Fi[i])}function Ug(){return Fi}var Xf={};function Xg(i,e){let t=typeof e!="function"?()=>e:e;return i instanceof Element?Gf(i,t()):(Xf[i]=t,()=>{})}function Gg(i){return Object.entries(Xf).forEach(([e,t])=>{Object.defineProperty(i,e,{get(){return(...r)=>t(...r)}})}),i}function Gf(i,e,t){let r=[];for(;r.length;)r.pop()();let n=Object.entries(e).map(([o,a])=>({name:o,value:a})),s=Tf(n);return n=n.map(o=>s.find(a=>a.name===o.name)?{name:`x-bind:${o.name}`,value:`"${o.value}"`}:o),Pu(i,n,t).map(o=>{r.push(o.runCleanups),o()}),()=>{for(;r.length;)r.pop()()}}var jf={};function jg(i,e){jf[i]=e}function $g(i,e){return Object.entries(jf).forEach(([t,r])=>{Object.defineProperty(i,t,{get(){return(...n)=>r.bind(e)(...n)},enumerable:!1})}),i}var Kg={get reactive(){return gn},get release(){return us},get effect(){return mn},get raw(){return of},version:"3.13.1",flushAndStopDeferringMutations:sg,dontAutoEvaluateFunctions:Ef,disableEffectScheduling:j_,startObservingMutations:Tu,stopObservingMutations:Df,setReactivityEngine:$_,onAttributeRemoved:mf,onAttributesAdded:gf,closestDataStack:pn,skipDuringClone:Oo,onlyDuringClone:Tg,addRootSelector:cf,addInitSelector:ff,addScopeToNode:ls,deferMutations:ng,mapAttributes:ku,evaluateLater:ft,interceptInit:J_,setEvaluator:cg,mergeProxies:cs,extractProp:Hg,findClosest:Ao,onElRemoved:Eu,closestRoot:To,destroyTree:xu,interceptor:bf,transition:gu,setStyles:Fo,mutateDom:We,directive:Ne,entangle:Uf,throttle:Yf,debounce:qf,evaluate:ki,initTree:Pr,nextTick:Lu,prefixed:vn,prefix:pg,plugin:qg,magic:ir,store:Yg,start:Z_,clone:Fg,cloneNode:Ag,bound:Wg,$data:yf,walk:ri,data:jg,bind:Xg},fs=Kg;function $f(i,e){let t=Object.create(null),r=i.split(",");for(let n=0;n<r.length;n++)t[r[n]]=!0;return e?n=>!!t[n.toLowerCase()]:n=>!!t[n]}var Zg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Qy=$f(Zg+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Qg=Object.freeze({}),Jy=Object.freeze([]),Jg=Object.prototype.hasOwnProperty,Po=(i,e)=>Jg.call(i,e),Mi=Array.isArray,os=i=>Kf(i)==="[object Map]",e0=i=>typeof i=="string",Nu=i=>typeof i=="symbol",ko=i=>i!==null&&typeof i=="object",t0=Object.prototype.toString,Kf=i=>t0.call(i),Zf=i=>Kf(i).slice(8,-1),Iu=i=>e0(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,Mo=i=>{let e=Object.create(null);return t=>e[t]||(e[t]=i(t))},r0=/-(\w)/g,e1=Mo(i=>i.replace(r0,(e,t)=>t?t.toUpperCase():"")),i0=/\B([A-Z])/g,t1=Mo(i=>i.replace(i0,"-$1").toLowerCase()),Qf=Mo(i=>i.charAt(0).toUpperCase()+i.slice(1)),r1=Mo(i=>i?`on${Qf(i)}`:""),Jf=(i,e)=>i!==e&&(i===i||e===e),vu=new WeakMap,rs=[],hr,Li=Symbol("iterate"),Du=Symbol("Map key iterate");function n0(i){return i&&i._isEffect===!0}function s0(i,e=Qg){n0(i)&&(i=i.raw);let t=u0(i,e);return e.lazy||t(),t}function o0(i){i.active&&(ed(i),i.options.onStop&&i.options.onStop(),i.active=!1)}var a0=0;function u0(i,e){let t=function(){if(!t.active)return i();if(!rs.includes(t)){ed(t);try{return c0(),rs.push(t),hr=t,i()}finally{rs.pop(),td(),hr=rs[rs.length-1]}}};return t.id=a0++,t.allowRecurse=!!e.allowRecurse,t._isEffect=!0,t.active=!0,t.raw=i,t.deps=[],t.options=e,t}function ed(i){let{deps:e}=i;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(i);e.length=0}}var _n=!0,Bu=[];function l0(){Bu.push(_n),_n=!1}function c0(){Bu.push(_n),_n=!0}function td(){let i=Bu.pop();_n=i===void 0?!0:i}function rr(i,e,t){if(!_n||hr===void 0)return;let r=vu.get(i);r||vu.set(i,r=new Map);let n=r.get(t);n||r.set(t,n=new Set),n.has(hr)||(n.add(hr),hr.deps.push(n),hr.options.onTrack&&hr.options.onTrack({effect:hr,target:i,type:e,key:t}))}function ni(i,e,t,r,n,s){let o=vu.get(i);if(!o)return;let a=new Set,u=c=>{c&&c.forEach(d=>{(d!==hr||d.allowRecurse)&&a.add(d)})};if(e==="clear")o.forEach(u);else if(t==="length"&&Mi(i))o.forEach((c,d)=>{(d==="length"||d>=r)&&u(c)});else switch(t!==void 0&&u(o.get(t)),e){case"add":Mi(i)?Iu(t)&&u(o.get("length")):(u(o.get(Li)),os(i)&&u(o.get(Du)));break;case"delete":Mi(i)||(u(o.get(Li)),os(i)&&u(o.get(Du)));break;case"set":os(i)&&u(o.get(Li));break}let l=c=>{c.options.onTrigger&&c.options.onTrigger({effect:c,target:i,key:t,type:e,newValue:r,oldValue:n,oldTarget:s}),c.options.scheduler?c.options.scheduler(c):c()};a.forEach(l)}var f0=$f("__proto__,__v_isRef,__isVue"),rd=new Set(Object.getOwnPropertyNames(Symbol).map(i=>Symbol[i]).filter(Nu)),d0=id(),h0=id(!0),$c=p0();function p0(){let i={};return["includes","indexOf","lastIndexOf"].forEach(e=>{i[e]=function(...t){let r=me(this);for(let s=0,o=this.length;s<o;s++)rr(r,"get",s+"");let n=r[e](...t);return n===-1||n===!1?r[e](...t.map(me)):n}}),["push","pop","shift","unshift","splice"].forEach(e=>{i[e]=function(...t){l0();let r=me(this)[e].apply(this,t);return td(),r}}),i}function id(i=!1,e=!1){return function(r,n,s){if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_raw"&&s===(i?e?O0:ad:e?F0:od).get(r))return r;let o=Mi(r);if(!i&&o&&Po($c,n))return Reflect.get($c,n,s);let a=Reflect.get(r,n,s);return(Nu(n)?rd.has(n):f0(n))||(i||rr(r,"get",n),e)?a:yu(a)?!o||!Iu(n)?a.value:a:ko(a)?i?ud(a):Hu(a):a}}var _0=g0();function g0(i=!1){return function(t,r,n,s){let o=t[r];if(!i&&(n=me(n),o=me(o),!Mi(t)&&yu(o)&&!yu(n)))return o.value=n,!0;let a=Mi(t)&&Iu(r)?Number(r)<t.length:Po(t,r),u=Reflect.set(t,r,n,s);return t===me(s)&&(a?Jf(n,o)&&ni(t,"set",r,n,o):ni(t,"add",r,n)),u}}function m0(i,e){let t=Po(i,e),r=i[e],n=Reflect.deleteProperty(i,e);return n&&t&&ni(i,"delete",e,void 0,r),n}function v0(i,e){let t=Reflect.has(i,e);return(!Nu(e)||!rd.has(e))&&rr(i,"has",e),t}function D0(i){return rr(i,"iterate",Mi(i)?"length":Li),Reflect.ownKeys(i)}var y0={get:d0,set:_0,deleteProperty:m0,has:v0,ownKeys:D0},w0={get:h0,set(i,e){return console.warn(`Set operation on key "${String(e)}" failed: target is readonly.`,i),!0},deleteProperty(i,e){return console.warn(`Delete operation on key "${String(e)}" failed: target is readonly.`,i),!0}},zu=i=>ko(i)?Hu(i):i,Vu=i=>ko(i)?ud(i):i,Wu=i=>i,Lo=i=>Reflect.getPrototypeOf(i);function vo(i,e,t=!1,r=!1){i=i.__v_raw;let n=me(i),s=me(e);e!==s&&!t&&rr(n,"get",e),!t&&rr(n,"get",s);let{has:o}=Lo(n),a=r?Wu:t?Vu:zu;if(o.call(n,e))return a(i.get(e));if(o.call(n,s))return a(i.get(s));i!==n&&i.get(e)}function Do(i,e=!1){let t=this.__v_raw,r=me(t),n=me(i);return i!==n&&!e&&rr(r,"has",i),!e&&rr(r,"has",n),i===n?t.has(i):t.has(i)||t.has(n)}function yo(i,e=!1){return i=i.__v_raw,!e&&rr(me(i),"iterate",Li),Reflect.get(i,"size",i)}function Kc(i){i=me(i);let e=me(this);return Lo(e).has.call(e,i)||(e.add(i),ni(e,"add",i,i)),this}function Zc(i,e){e=me(e);let t=me(this),{has:r,get:n}=Lo(t),s=r.call(t,i);s?sd(t,r,i):(i=me(i),s=r.call(t,i));let o=n.call(t,i);return t.set(i,e),s?Jf(e,o)&&ni(t,"set",i,e,o):ni(t,"add",i,e),this}function Qc(i){let e=me(this),{has:t,get:r}=Lo(e),n=t.call(e,i);n?sd(e,t,i):(i=me(i),n=t.call(e,i));let s=r?r.call(e,i):void 0,o=e.delete(i);return n&&ni(e,"delete",i,void 0,s),o}function Jc(){let i=me(this),e=i.size!==0,t=os(i)?new Map(i):new Set(i),r=i.clear();return e&&ni(i,"clear",void 0,void 0,t),r}function wo(i,e){return function(r,n){let s=this,o=s.__v_raw,a=me(o),u=e?Wu:i?Vu:zu;return!i&&rr(a,"iterate",Li),o.forEach((l,c)=>r.call(n,u(l),u(c),s))}}function bo(i,e,t){return function(...r){let n=this.__v_raw,s=me(n),o=os(s),a=i==="entries"||i===Symbol.iterator&&o,u=i==="keys"&&o,l=n[i](...r),c=t?Wu:e?Vu:zu;return!e&&rr(s,"iterate",u?Du:Li),{next(){let{value:d,done:p}=l.next();return p?{value:d,done:p}:{value:a?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function ti(i){return function(...e){{let t=e[0]?`on key "${e[0]}" `:"";console.warn(`${Qf(i)} operation ${t}failed: target is readonly.`,me(this))}return i==="delete"?!1:this}}function b0(){let i={get(s){return vo(this,s)},get size(){return yo(this)},has:Do,add:Kc,set:Zc,delete:Qc,clear:Jc,forEach:wo(!1,!1)},e={get(s){return vo(this,s,!1,!0)},get size(){return yo(this)},has:Do,add:Kc,set:Zc,delete:Qc,clear:Jc,forEach:wo(!1,!0)},t={get(s){return vo(this,s,!0)},get size(){return yo(this,!0)},has(s){return Do.call(this,s,!0)},add:ti("add"),set:ti("set"),delete:ti("delete"),clear:ti("clear"),forEach:wo(!0,!1)},r={get(s){return vo(this,s,!0,!0)},get size(){return yo(this,!0)},has(s){return Do.call(this,s,!0)},add:ti("add"),set:ti("set"),delete:ti("delete"),clear:ti("clear"),forEach:wo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{i[s]=bo(s,!1,!1),t[s]=bo(s,!0,!1),e[s]=bo(s,!1,!0),r[s]=bo(s,!0,!0)}),[i,t,e,r]}var[x0,E0,S0,C0]=b0();function nd(i,e){let t=e?i?C0:S0:i?E0:x0;return(r,n,s)=>n==="__v_isReactive"?!i:n==="__v_isReadonly"?i:n==="__v_raw"?r:Reflect.get(Po(t,n)&&n in r?t:r,n,s)}var T0={get:nd(!1,!1)},A0={get:nd(!0,!1)};function sd(i,e,t){let r=me(t);if(r!==t&&e.call(i,r)){let n=Zf(i);console.warn(`Reactive ${n} contains both the raw and reactive versions of the same object${n==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var od=new WeakMap,F0=new WeakMap,ad=new WeakMap,O0=new WeakMap;function P0(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function k0(i){return i.__v_skip||!Object.isExtensible(i)?0:P0(Zf(i))}function Hu(i){return i&&i.__v_isReadonly?i:ld(i,!1,y0,T0,od)}function ud(i){return ld(i,!0,w0,A0,ad)}function ld(i,e,t,r,n){if(!ko(i))return console.warn(`value cannot be made reactive: ${String(i)}`),i;if(i.__v_raw&&!(e&&i.__v_isReactive))return i;let s=n.get(i);if(s)return s;let o=k0(i);if(o===0)return i;let a=new Proxy(i,o===2?r:t);return n.set(i,a),a}function me(i){return i&&me(i.__v_raw)||i}function yu(i){return!!(i&&i.__v_isRef===!0)}ir("nextTick",()=>Lu);ir("dispatch",i=>ns.bind(ns,i));ir("watch",(i,{evaluateLater:e,effect:t})=>(r,n)=>{let s=e(r),o=!0,a,u=t(()=>s(l=>{JSON.stringify(l),o?a=l:queueMicrotask(()=>{n(l,a),a=l}),o=!1}));i._x_effects.delete(u)});ir("store",Ug);ir("data",i=>yf(i));ir("root",i=>To(i));ir("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=cs(M0(i))),i._x_refs_proxy));function M0(i){let e=[],t=i;for(;t;)t._x_refs&&e.push(t._x_refs),t=t.parentNode;return e}var ru={};function cd(i){return ru[i]||(ru[i]=0),++ru[i]}function L0(i,e){return Ao(i,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function R0(i,e){i._x_ids||(i._x_ids={}),i._x_ids[e]||(i._x_ids[e]=cd(e))}ir("id",i=>(e,t=null)=>{let r=L0(i,e),n=r?r._x_ids[e]:cd(e);return t?`${e}-${n}-${t}`:`${e}-${n}`});ir("el",i=>i);fd("Focus","focus","focus");fd("Persist","persist","persist");function fd(i,e,t){ir(e,r=>Or(`You can't use [$${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}Ne("modelable",(i,{expression:e},{effect:t,evaluateLater:r,cleanup:n})=>{let s=r(e),o=()=>{let c;return s(d=>c=d),c},a=r(`${e} = __placeholder`),u=c=>a(()=>{},{scope:{__placeholder:c}}),l=o();u(l),queueMicrotask(()=>{if(!i._x_model)return;i._x_removeModelListeners.default();let c=i._x_model.get,d=i._x_model.set,p=Uf({get(){return c()},set(f){d(f)}},{get(){return o()},set(f){u(f)}});n(p)})});Ne("teleport",(i,{modifiers:e,expression:t},{cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Or("x-teleport can only be used on a <template> tag",i);let n=ef(t),s=i.content.cloneNode(!0).firstElementChild;i._x_teleport=s,s._x_teleportBack=i,i.setAttribute("data-teleport-template",!0),s.setAttribute("data-teleport-target",!0),i._x_forwardEvents&&i._x_forwardEvents.forEach(a=>{s.addEventListener(a,u=>{u.stopPropagation(),i.dispatchEvent(new u.constructor(u.type,u))})}),ls(s,{},i);let o=(a,u,l)=>{l.includes("prepend")?u.parentNode.insertBefore(a,u):l.includes("append")?u.parentNode.insertBefore(a,u.nextSibling):u.appendChild(a)};We(()=>{o(s,n,e),Pr(s),s._x_ignore=!0}),i._x_teleportPutBack=()=>{let a=ef(t);We(()=>{o(i._x_teleport,a,e)})},r(()=>s.remove())});var N0=document.createElement("div");function ef(i){let e=Oo(()=>document.querySelector(i),()=>N0)();return e||Or(`Cannot find x-teleport element for selector: "${i}"`),e}var dd=()=>{};dd.inline=(i,{modifiers:e},{cleanup:t})=>{e.includes("self")?i._x_ignoreSelf=!0:i._x_ignore=!0,t(()=>{e.includes("self")?delete i._x_ignoreSelf:delete i._x_ignore})};Ne("ignore",dd);Ne("effect",(i,{expression:e},{effect:t})=>t(ft(i,e)));function wu(i,e,t,r){let n=i,s=u=>r(u),o={},a=(u,l)=>c=>l(u,c);if(t.includes("dot")&&(e=I0(e)),t.includes("camel")&&(e=B0(e)),t.includes("passive")&&(o.passive=!0),t.includes("capture")&&(o.capture=!0),t.includes("window")&&(n=window),t.includes("document")&&(n=document),t.includes("debounce")){let u=t[t.indexOf("debounce")+1]||"invalid-wait",l=Co(u.split("ms")[0])?Number(u.split("ms")[0]):250;s=qf(s,l)}if(t.includes("throttle")){let u=t[t.indexOf("throttle")+1]||"invalid-wait",l=Co(u.split("ms")[0])?Number(u.split("ms")[0]):250;s=Yf(s,l)}return t.includes("prevent")&&(s=a(s,(u,l)=>{l.preventDefault(),u(l)})),t.includes("stop")&&(s=a(s,(u,l)=>{l.stopPropagation(),u(l)})),t.includes("self")&&(s=a(s,(u,l)=>{l.target===i&&u(l)})),(t.includes("away")||t.includes("outside"))&&(n=document,s=a(s,(u,l)=>{i.contains(l.target)||l.target.isConnected!==!1&&(i.offsetWidth<1&&i.offsetHeight<1||i._x_isShown!==!1&&u(l))})),t.includes("once")&&(s=a(s,(u,l)=>{u(l),n.removeEventListener(e,s,o)})),s=a(s,(u,l)=>{V0(e)&&W0(l,t)||u(l)}),n.addEventListener(e,s,o),()=>{n.removeEventListener(e,s,o)}}function I0(i){return i.replace(/-/g,".")}function B0(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Co(i){return!Array.isArray(i)&&!isNaN(i)}function z0(i){return[" ","_"].includes(i)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function V0(i){return["keydown","keyup"].includes(i)}function W0(i,e){let t=e.filter(s=>!["window","document","prevent","stop","once","capture"].includes(s));if(t.includes("debounce")){let s=t.indexOf("debounce");t.splice(s,Co((t[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.includes("throttle")){let s=t.indexOf("throttle");t.splice(s,Co((t[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.length===0||t.length===1&&tf(i.key).includes(t[0]))return!1;let n=["ctrl","shift","alt","meta","cmd","super"].filter(s=>t.includes(s));return t=t.filter(s=>!n.includes(s)),!(n.length>0&&n.filter(o=>((o==="cmd"||o==="super")&&(o="meta"),i[`${o}Key`])).length===n.length&&tf(i.key).includes(t[0]))}function tf(i){if(!i)return[];i=z0(i);let e={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",equal:"=",minus:"-",underscore:"_"};return e[i]=i,Object.keys(e).map(t=>{if(e[t]===i)return t}).filter(t=>t)}Ne("model",(i,{modifiers:e,expression:t},{effect:r,cleanup:n})=>{let s=i;e.includes("parent")&&(s=i.parentNode);let o=ft(s,t),a;typeof t=="string"?a=ft(s,`${t} = __placeholder`):typeof t=="function"&&typeof t()=="string"?a=ft(s,`${t()} = __placeholder`):a=()=>{};let u=()=>{let p;return o(f=>p=f),rf(p)?p.get():p},l=p=>{let f;o(_=>f=_),rf(f)?f.set(p):a(()=>{},{scope:{__placeholder:p}})};typeof t=="string"&&i.type==="radio"&&We(()=>{i.hasAttribute("name")||i.setAttribute("name",t)});var c=i.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(i.type)||e.includes("lazy")?"change":"input";let d=ii?()=>{}:wu(i,c,e,p=>{l(H0(i,e,p,u()))});if(e.includes("fill")&&([null,""].includes(u())||i.type==="checkbox"&&Array.isArray(u()))&&i.dispatchEvent(new Event(c,{})),i._x_removeModelListeners||(i._x_removeModelListeners={}),i._x_removeModelListeners.default=d,n(()=>i._x_removeModelListeners.default()),i.form){let p=wu(i.form,"reset",[],f=>{Lu(()=>i._x_model&&i._x_model.set(i.value))});n(()=>p())}i._x_model={get(){return u()},set(p){l(p)}},i._x_forceModelUpdate=p=>{p===void 0&&typeof t=="string"&&t.match(/\./)&&(p=""),window.fromModel=!0,We(()=>zf(i,"value",p)),delete window.fromModel},r(()=>{let p=u();e.includes("unintrusive")&&document.activeElement.isSameNode(i)||i._x_forceModelUpdate(p)})});function H0(i,e,t,r){return We(()=>{if(t instanceof CustomEvent&&t.detail!==void 0)return t.detail!==null&&t.detail!==void 0?t.detail:t.target.value;if(i.type==="checkbox")if(Array.isArray(r)){let n=e.includes("number")?iu(t.target.value):t.target.value;return t.target.checked?r.concat([n]):r.filter(s=>!q0(s,n))}else return t.target.checked;else{if(i.tagName.toLowerCase()==="select"&&i.multiple)return e.includes("number")?Array.from(t.target.selectedOptions).map(n=>{let s=n.value||n.text;return iu(s)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?iu(n):e.includes("trim")?n.trim():n}}})}function iu(i){let e=i?parseFloat(i):null;return Y0(e)?e:i}function q0(i,e){return i==e}function Y0(i){return!Array.isArray(i)&&!isNaN(i)}function rf(i){return i!==null&&typeof i=="object"&&typeof i.get=="function"&&typeof i.set=="function"}Ne("cloak",i=>queueMicrotask(()=>We(()=>i.removeAttribute(vn("cloak")))));ff(()=>`[${vn("init")}]`);Ne("init",Oo((i,{expression:e},{evaluate:t})=>typeof e=="string"?!!e.trim()&&t(e,{},!1):t(e,{},!1)));Ne("text",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(s=>{We(()=>{i.textContent=s})})})});Ne("html",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(s=>{We(()=>{i.innerHTML=s,i._x_ignoreSelf=!0,Pr(i),delete i._x_ignoreSelf})})})});ku(Of(":",Pf(vn("bind:"))));var hd=(i,{value:e,modifiers:t,expression:r,original:n},{effect:s})=>{if(!e){let a={};Gg(a),ft(i,r)(l=>{Gf(i,l,n)},{scope:a});return}if(e==="key")return U0(i,r);if(i._x_inlineBindings&&i._x_inlineBindings[e]&&i._x_inlineBindings[e].extract)return;let o=ft(i,r);s(()=>o(a=>{a===void 0&&typeof r=="string"&&r.match(/\./)&&(a=""),We(()=>zf(i,e,a,t))}))};hd.inline=(i,{value:e,modifiers:t,expression:r})=>{e&&(i._x_inlineBindings||(i._x_inlineBindings={}),i._x_inlineBindings[e]={expression:r,extract:!1})};Ne("bind",hd);function U0(i,e){i._x_keyExpression=e}cf(()=>`[${vn("data")}]`);Ne("data",(i,{expression:e},{cleanup:t})=>{if(Pg(i))return;e=e===""?"{}":e;let r={};lu(r,i);let n={};$g(n,r);let s=ki(i,e,{scope:n});(s===void 0||s===!0)&&(s={}),lu(s,i);let o=gn(s);wf(o);let a=ls(i,o);o.init&&ki(i,o.init),t(()=>{o.destroy&&ki(i,o.destroy),a()})});Ne("show",(i,{modifiers:e,expression:t},{effect:r})=>{let n=ft(i,t);i._x_doHide||(i._x_doHide=()=>{We(()=>{i.style.setProperty("display","none",e.includes("important")?"important":void 0)})}),i._x_doShow||(i._x_doShow=()=>{We(()=>{i.style.length===1&&i.style.display==="none"?i.removeAttribute("style"):i.style.removeProperty("display")})});let s=()=>{i._x_doHide(),i._x_isShown=!1},o=()=>{i._x_doShow(),i._x_isShown=!0},a=()=>setTimeout(o),u=_u(d=>d?o():s(),d=>{typeof i._x_toggleAndCascadeWithTransitions=="function"?i._x_toggleAndCascadeWithTransitions(i,d,o,s):d?a():s()}),l,c=!0;r(()=>n(d=>{!c&&d===l||(e.includes("immediate")&&(d?a():s()),u(d),l=d,c=!1)}))});Ne("for",(i,{expression:e},{effect:t,cleanup:r})=>{let n=G0(e),s=ft(i,n.items),o=ft(i,i._x_keyExpression||"index");i._x_prevKeys=[],i._x_lookup={},t(()=>X0(i,n,s,o)),r(()=>{Object.values(i._x_lookup).forEach(a=>a.remove()),delete i._x_prevKeys,delete i._x_lookup})});function X0(i,e,t,r){let n=o=>typeof o=="object"&&!Array.isArray(o),s=i;t(o=>{j0(o)&&o>=0&&(o=Array.from(Array(o).keys(),g=>g+1)),o===void 0&&(o=[]);let a=i._x_lookup,u=i._x_prevKeys,l=[],c=[];if(n(o))o=Object.entries(o).map(([g,m])=>{let v=nf(e,m,g,o);r(y=>c.push(y),{scope:{index:g,...v}}),l.push(v)});else for(let g=0;g<o.length;g++){let m=nf(e,o[g],g,o);r(v=>c.push(v),{scope:{index:g,...m}}),l.push(m)}let d=[],p=[],f=[],_=[];for(let g=0;g<u.length;g++){let m=u[g];c.indexOf(m)===-1&&f.push(m)}u=u.filter(g=>!f.includes(g));let h="template";for(let g=0;g<c.length;g++){let m=c[g],v=u.indexOf(m);if(v===-1)u.splice(g,0,m),d.push([h,g]);else if(v!==g){let y=u.splice(g,1)[0],b=u.splice(v-1,1)[0];u.splice(g,0,b),u.splice(v,0,y),p.push([y,b])}else _.push(m);h=m}for(let g=0;g<f.length;g++){let m=f[g];a[m]._x_effects&&a[m]._x_effects.forEach(sf),a[m].remove(),a[m]=null,delete a[m]}for(let g=0;g<p.length;g++){let[m,v]=p[g],y=a[m],b=a[v],x=document.createElement("div");We(()=>{b||Or('x-for ":key" is undefined or invalid',s),b.after(x),y.after(b),b._x_currentIfEl&&b.after(b._x_currentIfEl),x.before(y),y._x_currentIfEl&&y.after(y._x_currentIfEl),x.remove()}),b._x_refreshXForScope(l[c.indexOf(v)])}for(let g=0;g<d.length;g++){let[m,v]=d[g],y=m==="template"?s:a[m];y._x_currentIfEl&&(y=y._x_currentIfEl);let b=l[v],x=c[v],E=document.importNode(s.content,!0).firstElementChild,w=gn(b);ls(E,w,s),E._x_refreshXForScope=C=>{Object.entries(C).forEach(([A,S])=>{w[A]=S})},We(()=>{y.after(E),Pr(E)}),typeof x=="object"&&Or("x-for key cannot be an object, it must be a string or an integer",s),a[x]=E}for(let g=0;g<_.length;g++)a[_[g]]._x_refreshXForScope(l[c.indexOf(_[g])]);s._x_prevKeys=c})}function G0(i){let e=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,t=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,n=i.match(r);if(!n)return;let s={};s.items=n[2].trim();let o=n[1].replace(t,"").trim(),a=o.match(e);return a?(s.item=o.replace(e,"").trim(),s.index=a[1].trim(),a[2]&&(s.collection=a[2].trim())):s.item=o,s}function nf(i,e,t,r){let n={};return/^\[.*\]$/.test(i.item)&&Array.isArray(e)?i.item.replace("[","").replace("]","").split(",").map(o=>o.trim()).forEach((o,a)=>{n[o]=e[a]}):/^\{.*\}$/.test(i.item)&&!Array.isArray(e)&&typeof e=="object"?i.item.replace("{","").replace("}","").split(",").map(o=>o.trim()).forEach(o=>{n[o]=e[o]}):n[i.item]=e,i.index&&(n[i.index]=t),i.collection&&(n[i.collection]=r),n}function j0(i){return!Array.isArray(i)&&!isNaN(i)}function pd(){}pd.inline=(i,{expression:e},{cleanup:t})=>{let r=To(i);r._x_refs||(r._x_refs={}),r._x_refs[e]=i,t(()=>delete r._x_refs[e])};Ne("ref",pd);Ne("if",(i,{expression:e},{effect:t,cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Or("x-if can only be used on a <template> tag",i);let n=ft(i,e),s=()=>{if(i._x_currentIfEl)return i._x_currentIfEl;let a=i.content.cloneNode(!0).firstElementChild;return ls(a,{},i),We(()=>{i.after(a),Pr(a)}),i._x_currentIfEl=a,i._x_undoIf=()=>{ri(a,u=>{u._x_effects&&u._x_effects.forEach(sf)}),a.remove(),delete i._x_currentIfEl},a},o=()=>{i._x_undoIf&&(i._x_undoIf(),delete i._x_undoIf)};t(()=>n(a=>{a?s():o()})),r(()=>i._x_undoIf&&i._x_undoIf())});Ne("id",(i,{expression:e},{evaluate:t})=>{t(e).forEach(n=>R0(i,n))});ku(Of("@",Pf(vn("on:"))));Ne("on",Oo((i,{value:e,modifiers:t,expression:r},{cleanup:n})=>{let s=r?ft(i,r):()=>{};i.tagName.toLowerCase()==="template"&&(i._x_forwardEvents||(i._x_forwardEvents=[]),i._x_forwardEvents.includes(e)||i._x_forwardEvents.push(e));let o=wu(i,e,t,a=>{s(()=>{},{scope:{$event:a},params:[a]})});n(()=>o())}));Ro("Collapse","collapse","collapse");Ro("Intersect","intersect","intersect");Ro("Focus","trap","focus");Ro("Mask","mask","mask");function Ro(i,e,t){Ne(e,r=>Or(`You can't use [x-${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}fs.setEvaluator(Cf);fs.setReactivityEngine({reactive:Hu,effect:s0,release:o0,raw:me});var $0=fs,qu=$0;function Yu(i){let e=[];for(let t=0;t<i.attributes.length;++t){let r=i.attributes[t];r.name.startsWith("x-")&&e.push(r)}return e}function K0(i){let e=document.createElement("template");Yu(i).forEach(r=>{e.setAttribute(r.name,r.value),i.removeAttribute(r.name)}),i.parentNode.insertBefore(e,i),e.content.appendChild(i)}function Z0(i){Yu(i).forEach(t=>{let r=t.name.match(/^(x-[^:]+)(:.+)$/);if(r){let n=null;if(["x-bind","x-on"].includes(r[1])){let s=r[1],o=r[2].substring(1);s==="x-on"&&o.startsWith("update:")&&(s+=":update",o=o.substring(7)),o.includes(":")&&(n=s+":"+o.replace(/:/g,"."))}else n=r[1]+r[2].replace(/:/g,".");n&&(i.setAttribute(n,t.value),i.removeAttribute(t.name))}})}function Q0(i){Yu(i).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&i.setAttribute(t.name,"")})}function J0(){document.querySelectorAll("[x-data],[x-data] *").forEach(i=>{Z0(i),Q0(i)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(K0)}function _d(){window.Alpine=qu,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{J0(),qu.start()})}function md(i,e,t){return Math.max(i,Math.min(e,t))}var Uu=class{advance(e){if(!this.isRunning)return;let t=!1;if(this.lerp)this.value=function(n,s,o,a){return function(l,c,d){return(1-d)*l+d*c}(n,s,1-Math.exp(-o*a))}(this.value,this.to,60*this.lerp,e),Math.round(this.value)===this.to&&(this.value=this.to,t=!0);else{this.currentTime+=e;let r=md(0,this.currentTime/this.duration,1);t=r>=1;let n=t?1:this.easing(r);this.value=this.from+(this.to-this.from)*n}t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:r=.1,duration:n=1,easing:s=u=>u,onStart:o,onUpdate:a}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=n,this.easing=s,this.currentTime=0,this.isRunning=!0,o?.(),this.onUpdate=a}},Xu=class{constructor({wrapper:e,content:t,autoResize:r=!0,debounce:n=250}={}){this.wrapper=e,this.content=t,r&&(this.debouncedResize=function(o,a){let u;return function(){let l=arguments,c=this;clearTimeout(u),u=setTimeout(function(){o.apply(c,l)},a)}}(this.resize,n),this.wrapper===window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper===window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},No=class{constructor(){this.events={}}emit(e,...t){let r=this.events[e]||[];for(let n=0,s=r.length;n<s;n++)r[n](...t)}on(e,t){return this.events[e]?.push(t)||(this.events[e]=[t]),()=>{this.events[e]=this.events[e]?.filter(r=>t!==r)}}off(e,t){this.events[e]=this.events[e]?.filter(r=>t!==r)}destroy(){this.events={}}},gd=100/6,Gu=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:r=1}){this.element=e,this.wheelMultiplier=t,this.touchMultiplier=r,this.touchStart={x:null,y:null},this.emitter=new No,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}onTouchStart=e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e,n=-(t-this.touchStart.x)*this.touchMultiplier,s=-(r-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:n,y:s},this.emitter.emit("scroll",{deltaX:n,deltaY:s,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:r,deltaMode:n}=e;t*=n===1?gd:n===2?this.windowWidth:1,r*=n===1?gd:n===2?this.windowHeight:1,t*=this.wheelMultiplier,r*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:r,event:e})};onWindowResize=()=>{this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight}},Io=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:r=e,eventsTarget:n=r,smoothWheel:s=!0,syncTouch:o=!1,syncTouchLerp:a=.075,touchInertiaMultiplier:u=35,duration:l,easing:c=b=>Math.min(1,1.001-Math.pow(2,-10*b)),lerp:d=!l&&.1,infinite:p=!1,orientation:f="vertical",gestureOrientation:_="vertical",touchMultiplier:h=1,wheelMultiplier:g=1,autoResize:m=!0,prevent:v=!1,__experimental__naiveDimensions:y=!1}={}){this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.onVirtualScroll=({deltaX:b,deltaY:x,event:E})=>{if(E.ctrlKey)return;let w=E.type.includes("touch"),C=E.type.includes("wheel");if(this.isTouching=E.type==="touchstart"||E.type==="touchmove",this.options.syncTouch&&w&&E.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();let A=b===0&&x===0,S=this.options.gestureOrientation==="vertical"&&x===0||this.options.gestureOrientation==="horizontal"&&b===0;if(A||S)return;let O=E.composedPath();O=O.slice(0,O.indexOf(this.rootElement));let F=this.options.prevent;if(O.find(M=>{var R,N,T,D,L;return(typeof F=="function"?F?.(M):F)||((R=M.hasAttribute)===null||R===void 0?void 0:R.call(M,"data-lenis-prevent"))||w&&((N=M.hasAttribute)===null||N===void 0?void 0:N.call(M,"data-lenis-prevent-touch"))||C&&((T=M.hasAttribute)===null||T===void 0?void 0:T.call(M,"data-lenis-prevent-wheel"))||((D=M.classList)===null||D===void 0?void 0:D.contains("lenis"))&&!(!((L=M.classList)===null||L===void 0)&&L.contains("lenis-stopped"))}))return;if(this.isStopped||this.isLocked)return void E.preventDefault();if(!(this.options.syncTouch&&w||this.options.smoothWheel&&C))return this.isScrolling="native",void this.animate.stop();E.preventDefault();let k=x;this.options.gestureOrientation==="both"?k=Math.abs(x)>Math.abs(b)?x:b:this.options.gestureOrientation==="horizontal"&&(k=b);let V=w&&this.options.syncTouch,z=w&&E.type==="touchend"&&Math.abs(k)>5;z&&(k=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+k,Object.assign({programmatic:!1},V?{lerp:z?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(clearTimeout(this.__resetVelocityTimeout),delete this.__resetVelocityTimeout,this.__preventNextNativeScrollEvent)delete this.__preventNextNativeScrollEvent;else if(this.isScrolling===!1||this.isScrolling==="native"){let b=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-b,this.direction=Math.sign(this.animatedScroll-b),this.isScrolling="native",this.emit(),this.velocity!==0&&(this.__resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}},window.lenisVersion="1.1.2",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:r,eventsTarget:n,smoothWheel:s,syncTouch:o,syncTouchLerp:a,touchInertiaMultiplier:u,duration:l,easing:c,lerp:d,infinite:p,gestureOrientation:_,orientation:f,touchMultiplier:h,wheelMultiplier:g,autoResize:m,prevent:v,__experimental__naiveDimensions:y},this.animate=new Uu,this.emitter=new No,this.dimensions=new Xu({wrapper:e,content:t,autoResize:m}),this.updateClassName(),this.userData={},this.time=0,this.velocity=this.lastVelocity=0,this.isLocked=!1,this.isStopped=!1,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll=new Gu(n,{touchMultiplier:h,wheelMultiplier:g}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName()}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}setScroll(e){this.isHorizontal?this.rootElement.scrollLeft=e:this.rootElement.scrollTop=e}resize(){this.dimensions.resize()}emit({userData:e={}}={}){this.userData=e,this.emitter.emit("scroll",this),this.userData={}}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(e){let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t)}scrollTo(e,{offset:t=0,immediate:r=!1,lock:n=!1,duration:s=this.options.duration,easing:o=this.options.easing,lerp:a=!s&&this.options.lerp,onStart:u,onComplete:l,force:c=!1,programmatic:d=!0,userData:p={}}={}){if(!this.isStopped&&!this.isLocked||c){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{let f;if(typeof e=="string"?f=document.querySelector(e):e?.nodeType&&(f=e),f){if(this.options.wrapper!==window){let h=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?h.left:h.top}let _=f.getBoundingClientRect();e=(this.isHorizontal?_.left:_.top)+this.animatedScroll}}if(typeof e=="number"){if(e+=t,e=Math.round(e),this.options.infinite?d&&(this.targetScroll=this.animatedScroll=this.scroll):e=md(0,e,this.limit),r)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(l==null||l(this));e!==this.targetScroll&&(d||(this.targetScroll=e),this.animate.fromTo(this.animatedScroll,e,{duration:s,easing:o,lerp:a,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",u?.(this)},onUpdate:(f,_)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=f-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=f,this.setScroll(this.scroll),d&&(this.targetScroll=f),_||this.emit({userData:p}),_&&(this.reset(),this.emit({userData:p}),l?.(this),this.__preventNextNativeScrollEvent=!0)}}))}}}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?function(t,r){return(t%r+r)%r}(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.updateClassName())}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.updateClassName())}get isLocked(){return this.__isLocked}set isLocked(e){this.__isLocked!==e&&(this.__isLocked=e,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isScrolling==="smooth"&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};function kr(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function Sd(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}var Ct={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},yn={duration:.5,overwrite:!1,delay:0},dl,st,ye,Wt=1e8,_e=1/Wt,tl=Math.PI*2,em=tl/4,tm=0,Cd=Math.sqrt,rm=Math.cos,im=Math.sin,He=function(e){return typeof e=="string"},Ae=function(e){return typeof e=="function"},Lr=function(e){return typeof e=="number"},Go=function(e){return typeof e>"u"},gr=function(e){return typeof e=="object"},St=function(e){return e!==!1},hl=function(){return typeof window<"u"},Bo=function(e){return Ae(e)||He(e)},Td=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ot=Array.isArray,rl=/(?:-?\.?\d|\.)+/gi,pl=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,zi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ju=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_l=/[+-]=-?[.\d]+/,Ad=/[^,'"\[\]\s]+/gi,nm=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,be,pr,il,gl,Rt={},Ho={},Fd,Od=function(e){return(Ho=Bi(e,Rt))&&at},jo=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},ms=function(e,t){return!t&&console.warn(e)},Pd=function(e,t){return e&&(Rt[e]=t)&&Ho&&(Ho[e]=t)||Rt},vs=function(){return 0},sm={suppressEvents:!0,isStart:!0,kill:!1},zo={suppressEvents:!0,kill:!1},om={suppressEvents:!0},ml={},oi=[],nl={},kd,xt={},$u={},vd=30,Vo=[],vl="",Dl=function(e){var t=e[0],r,n;if(gr(t)||Ae(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Vo.length;n--&&!Vo[n].targetTest(t););r=Vo[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new bl(e[n],r)))||e.splice(n,1);return e},ai=function(e){return e._gsap||Dl(Ht(e))[0]._gsap},yl=function(e,t,r){return(r=e[t])&&Ae(r)?e[t]():Go(r)&&e.getAttribute&&e.getAttribute(t)||r},dt=function(e,t){return(e=e.split(",")).forEach(t)||e},Fe=function(e){return Math.round(e*1e5)/1e5||0},Ge=function(e){return Math.round(e*1e7)/1e7||0},Vi=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},am=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},qo=function(){var e=oi.length,t=oi.slice(0),r,n;for(nl={},oi.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Md=function(e,t,r,n){oi.length&&!st&&qo(),e.render(t,r,n||st&&t<0&&(e._initted||e._startAt)),oi.length&&!st&&qo()},Ld=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Ad).length<2?t:He(e)?e.trim():e},Rd=function(e){return e},qt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},um=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},Bi=function(e,t){for(var r in t)e[r]=t[r];return e},Dd=function i(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=gr(t[r])?i(e[r]||(e[r]={}),t[r]):t[r]);return e},Yo=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},ps=function(e){var t=e.parent||be,r=e.keyframes?um(ot(e.keyframes)):qt;if(St(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},lm=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},Nd=function(e,t,r,n,s){r===void 0&&(r="_first"),n===void 0&&(n="_last");var o=e[n],a;if(s)for(a=t[s];o&&o[s]>a;)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},$o=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=t._prev,o=t._next;s?s._next=o:e[r]===t&&(e[r]=o),o?o._prev=s:e[n]===t&&(e[n]=s),t._next=t._prev=t.parent=null},ui=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ri=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},cm=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},sl=function(e,t,r,n){return e._startAt&&(st?e._startAt.revert(zo):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},fm=function i(e){return!e||e._ts&&i(e.parent)},yd=function(e){return e._repeat?wn(e._tTime,e=e.duration()+e._rDelay)*e:0},wn=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},Uo=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ko=function(e){return e._end=Ge(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},Zo=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Ge(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ko(e),r._dirty||Ri(r,e)),e},Id=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Uo(e.rawTime(),t),(!t._dur||ws(0,t.totalDuration(),r)-t._tTime>_e)&&t.render(r,!0)),Ri(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=-_e}},_r=function(e,t,r,n){return t.parent&&ui(t),t._start=Ge((Lr(r)?r:r||e!==be?Vt(e,r,t):e._time)+t._delay),t._end=Ge(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Nd(e,t,"_first","_last",e._sort?"_start":0),ol(t)||(e._recent=t),n||Id(e,t),e._ts<0&&Zo(e,e._tTime),e},Bd=function(e,t){return(Rt.ScrollTrigger||jo("scrollTrigger",t))&&Rt.ScrollTrigger.create(t,e)},zd=function(e,t,r,n,s){if(Sl(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!st&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&kd!==Et.frame)return oi.push(e),e._lazy=[s,n],1},dm=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},ol=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},hm=function(e,t,r,n){var s=e.ratio,o=t<0||!t&&(!e._start&&dm(e)&&!(!e._initted&&ol(e))||(e._ts<0||e._dp._ts<0)&&!ol(e))?0:1,a=e._rDelay,u=0,l,c,d;if(a&&e._repeat&&(u=ws(0,e._tDur,t),c=wn(u,a),e._yoyo&&c&1&&(o=1-o),c!==wn(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||st||n||e._zTime===_e||!t&&e._zTime){if(!e._initted&&zd(e,t,n,r,u))return;for(d=e._zTime,e._zTime=t||(r?_e:0),r||(r=t&&!d),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=u,l=e._pt;l;)l.r(o,l.d),l=l._next;t<0&&sl(e,t,r,!0),e._onUpdate&&!r&&Lt(e,"onUpdate"),u&&e._repeat&&!r&&e.parent&&Lt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&ui(e,1),!r&&!st&&(Lt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},pm=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}},bn=function(e,t,r,n){var s=e._repeat,o=Ge(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:Ge(o*(s+1)+e._rDelay*s):o,a>0&&!n&&Zo(e,e._tTime=e._tDur*a),e.parent&&Ko(e),r||Ri(e.parent,e),e},wd=function(e){return e instanceof Je?Ri(e):bn(e,e._dur)},_m={_start:0,endTime:vs,totalDuration:vs},Vt=function i(e,t,r){var n=e.labels,s=e._recent||_m,o=e.duration()>=Wt?s.endTime(!1):e._dur,a,u,l;return He(t)&&(isNaN(t)||t in n)?(u=t.charAt(0),l=t.substr(-1)==="%",a=t.indexOf("="),u==="<"||u===">"?(a>=0&&(t=t.replace(/=/,"")),(u==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(l?(a<0?s:r).totalDuration()/100:1)):a<0?(t in n||(n[t]=o),n[t]):(u=parseFloat(t.charAt(a-1)+t.substr(a+1)),l&&r&&(u=u/100*(ot(r)?r[0]:r).totalDuration()),a>1?i(e,t.substr(0,a-1),r)+u:o+u)):t==null?o:+t},_s=function(e,t,r){var n=Lr(t[1]),s=(n?2:1)+(e<2?0:1),o=t[s],a,u;if(n&&(o.duration=t[1]),o.parent=r,e){for(a=o,u=r;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=St(u.vars.inherit)&&u.parent;o.immediateRender=St(a.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return new Me(t[0],o,t[s+1])},li=function(e,t){return e||e===0?t(e):t},ws=function(e,t,r){return r<e?e:r>t?t:r},et=function(e,t){return!He(e)||!(t=nm.exec(e))?"":t[1]},gm=function(e,t,r){return li(r,function(n){return ws(e,t,n)})},al=[].slice,Vd=function(e,t){return e&&gr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&gr(e[0]))&&!e.nodeType&&e!==pr},mm=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var s;return He(n)&&!t||Vd(n,1)?(s=r).push.apply(s,Ht(n)):r.push(n)})||r},Ht=function(e,t,r){return ye&&!t&&ye.selector?ye.selector(e):He(e)&&!r&&(il||!xn())?al.call((t||gl).querySelectorAll(e),0):ot(e)?mm(e,r):Vd(e)?al.call(e,0):e?[e]:[]},ul=function(e){return e=Ht(e)[0]||ms("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Ht(t,r.querySelectorAll?r:r===e?ms("Invalid scope")||gl.createElement("div"):e)}},Wd=function(e){return e.sort(function(){return .5-Math.random()})},Hd=function(e){if(Ae(e))return e;var t=gr(e)?e:{each:e},r=Ni(t.ease),n=t.from||0,s=parseFloat(t.base)||0,o={},a=n>0&&n<1,u=isNaN(n)||a,l=t.axis,c=n,d=n;return He(n)?c=d={center:.5,edges:.5,end:1}[n]||0:!a&&u&&(c=n[0],d=n[1]),function(p,f,_){var h=(_||t).length,g=o[h],m,v,y,b,x,E,w,C,A;if(!g){if(A=t.grid==="auto"?0:(t.grid||[1,Wt])[1],!A){for(w=-Wt;w<(w=_[A++].getBoundingClientRect().left)&&A<h;);A<h&&A--}for(g=o[h]=[],m=u?Math.min(A,h)*c-.5:n%A,v=A===Wt?0:u?h*d/A-.5:n/A|0,w=0,C=Wt,E=0;E<h;E++)y=E%A-m,b=v-(E/A|0),g[E]=x=l?Math.abs(l==="y"?b:y):Cd(y*y+b*b),x>w&&(w=x),x<C&&(C=x);n==="random"&&Wd(g),g.max=w-C,g.min=C,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(A>h?h-1:l?l==="y"?h/A:A:Math.max(A,h/A))||0)*(n==="edges"?-1:1),g.b=h<0?s-h:s,g.u=et(t.amount||t.each)||0,r=r&&h<0?Zd(r):r}return h=(g[p]-g.min)/g.max||0,Ge(g.b+(r?r(h):h)*g.v)+g.u}},ll=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=Ge(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(Lr(r)?0:et(r))}},qd=function(e,t){var r=ot(e),n,s;return!r&&gr(e)&&(n=r=e.radius||Wt,e.values?(e=Ht(e.values),(s=!Lr(e[0]))&&(n*=n)):e=ll(e.increment)),li(t,r?Ae(e)?function(o){return s=e(o),Math.abs(s-o)<=n?s:o}:function(o){for(var a=parseFloat(s?o.x:o),u=parseFloat(s?o.y:0),l=Wt,c=0,d=e.length,p,f;d--;)s?(p=e[d].x-a,f=e[d].y-u,p=p*p+f*f):p=Math.abs(e[d]-a),p<l&&(l=p,c=d);return c=!n||l<=n?e[c]:o,s||c===o||Lr(o)?c:c+et(o)}:ll(e))},Yd=function(e,t,r,n){return li(ot(e)?!t:r===!0?!!(r=0):!n,function(){return ot(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})},vm=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(s,o){return o(s)},n)}},Dm=function(e,t){return function(r){return e(parseFloat(r))+(t||et(r))}},ym=function(e,t,r){return Xd(e,t,0,1,r)},Ud=function(e,t,r){return li(r,function(n){return e[~~t(n)]})},wm=function i(e,t,r){var n=t-e;return ot(e)?Ud(e,i(0,e.length),t):li(r,function(s){return(n+(s-e)%n)%n+e})},bm=function i(e,t,r){var n=t-e,s=n*2;return ot(e)?Ud(e,i(0,e.length-1),t):li(r,function(o){return o=(s+(o-e)%s)%s||0,e+(o>n?s-o:o)})},En=function(e){for(var t=0,r="",n,s,o,a;~(n=e.indexOf("random(",t));)o=e.indexOf(")",n),a=e.charAt(n+7)==="[",s=e.substr(n+7,o-n-7).match(a?Ad:rl),r+=e.substr(t,n-t)+Yd(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),t=o+1;return r+e.substr(t,e.length-t)},Xd=function(e,t,r,n,s){var o=t-e,a=n-r;return li(s,function(u){return r+((u-e)/o*a||0)})},xm=function i(e,t,r,n){var s=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!s){var o=He(e),a={},u,l,c,d,p;if(r===!0&&(n=1)&&(r=null),o)e={p:e},t={p:t};else if(ot(e)&&!ot(t)){for(c=[],d=e.length,p=d-2,l=1;l<d;l++)c.push(i(e[l-1],e[l]));d--,s=function(_){_*=d;var h=Math.min(p,~~_);return c[h](_-h)},r=t}else n||(e=Bi(ot(e)?[]:{},e));if(!c){for(u in t)xl.call(a,e,u,"get",t[u]);s=function(_){return Al(_,a)||(o?e.p:e)}}}return li(r,s)},bd=function(e,t,r){var n=e.labels,s=Wt,o,a,u;for(o in n)a=n[o]-t,a<0==!!r&&a&&s>(a=Math.abs(a))&&(u=o,s=a);return u},Lt=function(e,t,r){var n=e.vars,s=n[t],o=ye,a=e._ctx,u,l,c;if(s)return u=n[t+"Params"],l=n.callbackScope||e,r&&oi.length&&qo(),a&&(ye=a),c=u?s.apply(l,u):s.call(l),ye=o,c},ds=function(e){return ui(e),e.scrollTrigger&&e.scrollTrigger.kill(!!st),e.progress()<1&&Lt(e,"onInterrupt"),e},Dn,Gd=[],jd=function(e){if(e)if(e=!e.name&&e.default||e,hl()||e.headless){var t=e.name,r=Ae(e),n=t&&!r&&e.init?function(){this._props=[]}:e,s={init:vs,render:Al,add:xl,kill:zm,modifier:Bm,rawVars:0},o={targetTest:0,get:0,getSetter:Qo,aliases:{},register:0};if(xn(),e!==n){if(xt[t])return;qt(n,qt(Yo(e,s),o)),Bi(n.prototype,Bi(s,Yo(e,o))),xt[n.prop=t]=n,e.targetTest&&(Vo.push(n),ml[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Pd(t,n),e.register&&e.register(at,n,ht)}else Gd.push(e)},pe=255,hs={aqua:[0,pe,pe],lime:[0,pe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,pe],navy:[0,0,128],white:[pe,pe,pe],olive:[128,128,0],yellow:[pe,pe,0],orange:[pe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[pe,0,0],pink:[pe,192,203],cyan:[0,pe,pe],transparent:[pe,pe,pe,0]},Ku=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)*pe+.5|0},$d=function(e,t,r){var n=e?Lr(e)?[e>>16,e>>8&pe,e&pe]:0:hs.black,s,o,a,u,l,c,d,p,f,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),hs[e])n=hs[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+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&pe,n&pe,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&pe,e&pe]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(rl),!t)u=+n[0]%360/360,l=+n[1]/100,c=+n[2]/100,o=c<=.5?c*(l+1):c+l-c*l,s=c*2-o,n.length>3&&(n[3]*=1),n[0]=Ku(u+1/3,s,o),n[1]=Ku(u,s,o),n[2]=Ku(u-1/3,s,o);else if(~e.indexOf("="))return n=e.match(pl),r&&n.length<4&&(n[3]=1),n}else n=e.match(rl)||hs.transparent;n=n.map(Number)}return t&&!_&&(s=n[0]/pe,o=n[1]/pe,a=n[2]/pe,d=Math.max(s,o,a),p=Math.min(s,o,a),c=(d+p)/2,d===p?u=l=0:(f=d-p,l=c>.5?f/(2-d-p):f/(d+p),u=d===s?(o-a)/f+(o<a?6:0):d===o?(a-s)/f+2:(s-o)/f+4,u*=60),n[0]=~~(u+.5),n[1]=~~(l*100+.5),n[2]=~~(c*100+.5)),r&&n.length<4&&(n[3]=1),n},Kd=function(e){var t=[],r=[],n=-1;return e.split(Mr).forEach(function(s){var o=s.match(zi)||[];t.push.apply(t,o),r.push(n+=o.length+1)}),t.c=r,t},xd=function(e,t,r){var n="",s=(e+n).match(Mr),o=t?"hsla(":"rgba(",a=0,u,l,c,d;if(!s)return e;if(s=s.map(function(p){return(p=$d(p,t,1))&&o+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(c=Kd(e),u=r.c,u.join(n)!==c.c.join(n)))for(l=e.replace(Mr,"1").split(zi),d=l.length-1;a<d;a++)n+=l[a]+(~u.indexOf(a)?s.shift()||o+"0,0,0,0)":(c.length?c:s.length?s:r).shift());if(!l)for(l=e.split(Mr),d=l.length-1;a<d;a++)n+=l[a]+s[a];return n+l[d]},Mr=function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in hs)i+="|"+e+"\\b";return new RegExp(i+")","gi")}(),Em=/hsl[a]?\(/,wl=function(e){var t=e.join(" "),r;if(Mr.lastIndex=0,Mr.test(t))return r=Em.test(t),e[1]=xd(e[1],r),e[0]=xd(e[0],r,Kd(e[1])),!0},Ds,Et=function(){var i=Date.now,e=500,t=33,r=i(),n=r,s=1e3/240,o=s,a=[],u,l,c,d,p,f,_=function h(g){var m=i()-n,v=g===!0,y,b,x,E;if((m>e||m<0)&&(r+=m-t),n+=m,x=n-r,y=x-o,(y>0||v)&&(E=++d.frame,p=x-d.time*1e3,d.time=x=x/1e3,o+=y+(y>=s?4:s-y),b=1),v||(u=l(h)),b)for(f=0;f<a.length;f++)a[f](x,p,E,g)};return d={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){Fd&&(!il&&hl()&&(pr=il=window,gl=pr.document||{},Rt.gsap=at,(pr.gsapVersions||(pr.gsapVersions=[])).push(at.version),Od(Ho||pr.GreenSockGlobals||!pr.gsap&&pr||{}),Gd.forEach(jd)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&d.sleep(),l=c||function(g){return setTimeout(g,o-d.time*1e3+1|0)},Ds=1,_(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(u),Ds=0,l=vs},lagSmoothing:function(g,m){e=g||1/0,t=Math.min(m||33,e)},fps:function(g){s=1e3/(g||240),o=d.time*1e3+s},add:function(g,m,v){var y=m?function(b,x,E,w){g(b,x,E,w),d.remove(y)}:g;return d.remove(g),a[v?"unshift":"push"](y),xn(),y},remove:function(g,m){~(m=a.indexOf(g))&&a.splice(m,1)&&f>=m&&f--},_listeners:a},d}(),xn=function(){return!Ds&&Et.wake()},le={},Sm=/^[\d.\-M][\d.\-,\s]/,Cm=/["']/g,Tm=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],s=1,o=r.length,a,u,l;s<o;s++)u=r[s],a=s!==o-1?u.lastIndexOf(","):u.length,l=u.substr(0,a),t[n]=isNaN(l)?l.replace(Cm,"").trim():+l,n=u.substr(a+1).trim();return t},Am=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)},Fm=function(e){var t=(e+"").split("("),r=le[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Tm(t[1])]:Am(e).split(",").map(Ld)):le._CE&&Sm.test(e)?le._CE("",e):r},Zd=function(e){return function(t){return 1-e(1-t)}},Qd=function i(e,t){for(var r=e._first,n;r;)r instanceof Je?i(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?i(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},Ni=function(e,t){return e&&(Ae(e)?e:le[e]||Fm(e))||t},Wi=function(e,t,r,n){r===void 0&&(r=function(u){return 1-t(1-u)}),n===void 0&&(n=function(u){return u<.5?t(u*2)/2:1-t((1-u)*2)/2});var s={easeIn:t,easeOut:r,easeInOut:n},o;return dt(e,function(a){le[a]=Rt[a]=s,le[o=a.toLowerCase()]=r;for(var u in s)le[o+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=le[a+"."+u]=s[u]}),s},Jd=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Zu=function i(e,t,r){var n=t>=1?t:1,s=(r||(e?.3:.45))/(t<1?t:1),o=s/tl*(Math.asin(1/n)||0),a=function(c){return c===1?1:n*Math.pow(2,-10*c)*im((c-o)*s)+1},u=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:Jd(a);return s=tl/s,u.config=function(l,c){return i(e,l,c)},u},Qu=function i(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(s){return 1-r(1-s)}:Jd(r);return n.config=function(s){return i(e,s)},n};dt("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var t=e<5?e+1:e;Wi(i+",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})});le.Linear.easeNone=le.none=le.Linear.easeIn;Wi("Elastic",Zu("in"),Zu("out"),Zu());(function(i,e){var t=1/e,r=2*t,n=2.5*t,s=function(a){return a<t?i*a*a:a<r?i*Math.pow(a-1.5/e,2)+.75:a<n?i*(a-=2.25/e)*a+.9375:i*Math.pow(a-2.625/e,2)+.984375};Wi("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);Wi("Expo",function(i){return i?Math.pow(2,10*(i-1)):0});Wi("Circ",function(i){return-(Cd(1-i*i)-1)});Wi("Sine",function(i){return i===1?1:-rm(i*em)+1});Wi("Back",Qu("in"),Qu("out"),Qu());le.SteppedEase=le.steps=Rt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),s=t?1:0,o=1-_e;return function(a){return((n*ws(0,o,a)|0)+s)*r}}};yn.ease=le["quad.out"];dt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return vl+=i+","+i+"Params,"});var bl=function(e,t){this.id=tm++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:yl,this.set=t?t.getSetter:Qo},ys=function(){function i(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,bn(this,+t.duration,1,1),this.data=t.data,ye&&(this._ctx=ye,ye.data.push(this)),Ds||Et.wake()}var e=i.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,bn(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(xn(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Zo(this,r),!s._dp||s.parent||Id(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&_r(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===_e||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Md(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+yd(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?1:0},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+yd(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,n){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,n):this._repeat?wn(this._tTime,s)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?Uo(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-_e?0:this._rts,this.totalTime(ws(-Math.abs(this._delay),this._tDur,s),n!==!1),Ko(this),cm(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):(xn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_e&&(this._tTime-=_e)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&_r(n,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(St(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?Uo(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=om);var n=st;return st=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),st=n,this},e.globalTime=function(r){for(var n=this,s=arguments.length?r:n.rawTime();n;)s=n._start+s/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,wd(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,wd(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(Vt(this,r),St(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,St(n))},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?-_e:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_e,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=n&&s<this.endTime(!0)-_e)},e.eventCallback=function(r,n,s){var o=this.vars;return arguments.length>1?(n?(o[r]=n,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=n)):delete o[r],this):o[r]},e.then=function(r){var n=this;return new Promise(function(s){var o=Ae(r)?r:Rd,a=function(){var l=n.then;n.then=null,Ae(o)&&(o=o(n))&&(o.then||o===n)&&(n.then=l),s(o),n.then=l};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?a():n._prom=a})},e.kill=function(){ds(this)},i}();qt(ys.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:-_e,_prom:0,_ps:!1,_rts:1});var Je=function(i){Sd(e,i);function e(r,n){var s;return r===void 0&&(r={}),s=i.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=St(r.sortChildren),be&&_r(r.parent||be,kr(s),n),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Bd(kr(s),r.scrollTrigger),s}var t=e.prototype;return t.to=function(n,s,o){return _s(0,arguments,this),this},t.from=function(n,s,o){return _s(1,arguments,this),this},t.fromTo=function(n,s,o,a){return _s(2,arguments,this),this},t.set=function(n,s,o){return s.duration=0,s.parent=this,ps(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Me(n,s,Vt(this,o),1),this},t.call=function(n,s,o){return _r(this,Me.delayedCall(0,n,s),o)},t.staggerTo=function(n,s,o,a,u,l,c){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=l,o.onCompleteParams=c,o.parent=this,new Me(n,o,Vt(this,u)),this},t.staggerFrom=function(n,s,o,a,u,l,c){return o.runBackwards=1,ps(o).immediateRender=St(o.immediateRender),this.staggerTo(n,s,o,a,u,l,c)},t.staggerFromTo=function(n,s,o,a,u,l,c,d){return a.startAt=o,ps(a).immediateRender=St(a.immediateRender),this.staggerTo(n,s,a,u,l,c,d)},t.render=function(n,s,o){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,l=this._dur,c=n<=0?0:Ge(n),d=this._zTime<0!=n<0&&(this._initted||!l),p,f,_,h,g,m,v,y,b,x,E,w;if(this!==be&&c>u&&n>=0&&(c=u),c!==this._tTime||o||d){if(a!==this._time&&l&&(c+=this._time-a,n+=this._time-a),p=c,b=this._start,y=this._ts,m=!y,d&&(l||(a=this._zTime),(n||!s)&&(this._zTime=n)),this._repeat){if(E=this._yoyo,g=l+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,s,o);if(p=Ge(c%g),c===u?(h=this._repeat,p=l):(h=~~(c/g),h&&h===c/g&&(p=l,h--),p>l&&(p=l)),x=wn(this._tTime,g),!a&&this._tTime&&x!==h&&this._tTime-x*g-this._dur<=0&&(x=h),E&&h&1&&(p=l-p,w=1),h!==x&&!this._lock){var C=E&&x&1,A=C===(E&&h&1);if(h<x&&(C=!C),a=C?0:c%l?l:c,this._lock=1,this.render(a||(w?0:Ge(h*g)),s,!l)._lock=0,this._tTime=c,!s&&this.parent&&Lt(this,"onRepeat"),this.vars.repeatRefresh&&!w&&(this.invalidate()._lock=1),a&&a!==this._time||m!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,u=this._tDur,A&&(this._lock=2,a=C?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!w&&this.invalidate()),this._lock=0,!this._ts&&!m)return this;Qd(this,w)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=pm(this,Ge(a),Ge(p)),v&&(c-=p-(p=v._start))),this._tTime=c,this._time=p,this._act=!y,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&p&&!s&&!h&&(Lt(this,"onStart"),this._tTime!==c))return this;if(p>=a&&n>=0)for(f=this._first;f;){if(_=f._next,(f._act||p>=f._start)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,s,o);if(f.render(f._ts>0?(p-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(p-f._start)*f._ts,s,o),p!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=-_e);break}}f=_}else{f=this._last;for(var S=n<0?n:p;f;){if(_=f._prev,(f._act||S<=f._end)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,s,o);if(f.render(f._ts>0?(S-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(S-f._start)*f._ts,s,o||st&&(f._initted||f._startAt)),p!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=S?-_e:_e);break}}f=_}}if(v&&!s&&(this.pause(),v.render(p>=a?0:-_e)._zTime=p>=a?1:-1,this._ts))return this._start=b,Ko(this),this.render(n,s,o);this._onUpdate&&!s&&Lt(this,"onUpdate",!0),(c===u&&this._tTime>=this.totalDuration()||!c&&a)&&(b===this._start||Math.abs(y)!==Math.abs(this._ts))&&(this._lock||((n||!l)&&(c===u&&this._ts>0||!c&&this._ts<0)&&ui(this,1),!s&&!(n<0&&!a)&&(c||a||!u)&&(Lt(this,c===u&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<u&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,s){var o=this;if(Lr(s)||(s=Vt(this,s,n)),!(n instanceof ys)){if(ot(n))return n.forEach(function(a){return o.add(a,s)}),this;if(He(n))return this.addLabel(n,s);if(Ae(n))n=Me.delayedCall(0,n);else return this}return this!==n?_r(this,n,s):this},t.getChildren=function(n,s,o,a){n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-Wt);for(var u=[],l=this._first;l;)l._start>=a&&(l instanceof Me?s&&u.push(l):(o&&u.push(l),n&&u.push.apply(u,l.getChildren(!0,s,o)))),l=l._next;return u},t.getById=function(n){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===n)return s[o]},t.remove=function(n){return He(n)?this.removeLabel(n):Ae(n)?this.killTweensOf(n):($o(this,n),n===this._recent&&(this._recent=this._last),Ri(this))},t.totalTime=function(n,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ge(Et.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),i.prototype.totalTime.call(this,n,s),this._forcing=0,this):this._tTime},t.addLabel=function(n,s){return this.labels[n]=Vt(this,s),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,s,o){var a=Me.delayedCall(0,s||vs,o);return a.data="isPause",this._hasPause=1,_r(this,a,Vt(this,n))},t.removePause=function(n){var s=this._first;for(n=Vt(this,n);s;)s._start===n&&s.data==="isPause"&&ui(s),s=s._next},t.killTweensOf=function(n,s,o){for(var a=this.getTweensOf(n,o),u=a.length;u--;)si!==a[u]&&a[u].kill(n,s);return this},t.getTweensOf=function(n,s){for(var o=[],a=Ht(n),u=this._first,l=Lr(s),c;u;)u instanceof Me?am(u._targets,a)&&(l?(!si||u._initted&&u._ts)&&u.globalTime(0)<=s&&u.globalTime(u.totalDuration())>s:!s||u.isActive())&&o.push(u):(c=u.getTweensOf(a,s)).length&&o.push.apply(o,c),u=u._next;return o},t.tweenTo=function(n,s){s=s||{};var o=this,a=Vt(o,n),u=s,l=u.startAt,c=u.onStart,d=u.onStartParams,p=u.immediateRender,f,_=Me.to(o,qt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(l&&"time"in l?l.time:o._time))/o.timeScale())||_e,onStart:function(){if(o.pause(),!f){var g=s.duration||Math.abs((a-(l&&"time"in l?l.time:o._time))/o.timeScale());_._dur!==g&&bn(_,g,0,1).render(_._time,!0,!0),f=1}c&&c.apply(_,d||[])}},s));return p?_.render(0):_},t.tweenFromTo=function(n,s,o){return this.tweenTo(s,qt({startAt:{time:Vt(this,n)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),bd(this,Vt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),bd(this,Vt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+_e)},t.shiftChildren=function(n,s,o){o===void 0&&(o=0);for(var a=this._first,u=this.labels,l;a;)a._start>=o&&(a._start+=n,a._end+=n),a=a._next;if(s)for(l in u)u[l]>=o&&(u[l]+=n);return Ri(this)},t.invalidate=function(n){var s=this._first;for(this._lock=0;s;)s.invalidate(n),s=s._next;return i.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Ri(this)},t.totalDuration=function(n){var s=0,o=this,a=o._last,u=Wt,l,c,d;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-n:n));if(o._dirty){for(d=o.parent;a;)l=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,_r(o,a,c-a._delay,1)._lock=0):u=c,c<0&&a._ts&&(s-=c,(!d&&!o._dp||d&&d.smoothChildTiming)&&(o._start+=c/o._ts,o._time-=c,o._tTime-=c),o.shiftChildren(-c,!1,-1/0),u=0),a._end>s&&a._ts&&(s=a._end),a=l;bn(o,o===be&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(n){if(be._ts&&(Md(be,Uo(n,be)),kd=Et.frame),Et.frame>=vd){vd+=Ct.autoSleep||120;var s=be._first;if((!s||!s._ts)&&Ct.autoSleep&&Et._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Et.sleep()}}},e}(ys);qt(Je.prototype,{_lock:0,_hasPause:0,_forcing:0});var Om=function(e,t,r,n,s,o,a){var u=new ht(this._pt,e,t,0,1,Tl,null,s),l=0,c=0,d,p,f,_,h,g,m,v;for(u.b=r,u.e=n,r+="",n+="",(m=~n.indexOf("random("))&&(n=En(n)),o&&(v=[r,n],o(v,e,t),r=v[0],n=v[1]),p=r.match(ju)||[];d=ju.exec(n);)_=d[0],h=n.substring(l,d.index),f?f=(f+1)%5:h.substr(-5)==="rgba("&&(f=1),_!==p[c++]&&(g=parseFloat(p[c-1])||0,u._pt={_next:u._pt,p:h||c===1?h:",",s:g,c:_.charAt(1)==="="?Vi(g,_)-g:parseFloat(_)-g,m:f&&f<4?Math.round:0},l=ju.lastIndex);return u.c=l<n.length?n.substring(l,n.length):"",u.fp=a,(_l.test(n)||m)&&(u.e=0),this._pt=u,u},xl=function(e,t,r,n,s,o,a,u,l,c){Ae(n)&&(n=n(s||0,e,o));var d=e[t],p=r!=="get"?r:Ae(d)?l?e[t.indexOf("set")||!Ae(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,f=Ae(d)?l?Rm:rh:Cl,_;if(He(n)&&(~n.indexOf("random(")&&(n=En(n)),n.charAt(1)==="="&&(_=Vi(p,n)+(et(p)||0),(_||_===0)&&(n=_))),!c||p!==n||cl)return!isNaN(p*n)&&n!==""?(_=new ht(this._pt,e,t,+p||0,n-(p||0),typeof d=="boolean"?Im:ih,0,f),l&&(_.fp=l),a&&_.modifier(a,this,e),this._pt=_):(!d&&!(t in e)&&jo(t,n),Om.call(this,e,t,p,n,f,u||Ct.stringFilter,l))},Pm=function(e,t,r,n,s){if(Ae(e)&&(e=gs(e,s,t,r,n)),!gr(e)||e.style&&e.nodeType||ot(e)||Td(e))return He(e)?gs(e,s,t,r,n):e;var o={},a;for(a in e)o[a]=gs(e[a],s,t,r,n);return o},El=function(e,t,r,n,s,o){var a,u,l,c;if(xt[e]&&(a=new xt[e]).init(s,a.rawVars?t[e]:Pm(t[e],n,s,o,r),r,n,o)!==!1&&(r._pt=u=new ht(r._pt,s,e,0,1,a.render,a,0,a.priority),r!==Dn))for(l=r._ptLookup[r._targets.indexOf(s)],c=a._props.length;c--;)l[a._props[c]]=u;return a},si,cl,Sl=function i(e,t,r){var n=e.vars,s=n.ease,o=n.startAt,a=n.immediateRender,u=n.lazy,l=n.onUpdate,c=n.runBackwards,d=n.yoyoEase,p=n.keyframes,f=n.autoRevert,_=e._dur,h=e._startAt,g=e._targets,m=e.parent,v=m&&m.data==="nested"?m.vars.targets:g,y=e._overwrite==="auto"&&!dl,b=e.timeline,x,E,w,C,A,S,O,F,k,V,z,M,R;if(b&&(!p||!s)&&(s="none"),e._ease=Ni(s,yn.ease),e._yEase=d?Zd(Ni(d===!0?s:d,yn.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!b&&!!n.runBackwards,!b||p&&!n.stagger){if(F=g[0]?ai(g[0]).harness:0,M=F&&n[F.prop],x=Yo(n,ml),h&&(h._zTime<0&&h.progress(1),t<0&&c&&a&&!f?h.render(-1,!0):h.revert(c&&_?zo:sm),h._lazy=0),o){if(ui(e._startAt=Me.set(g,qt({data:"isStart",overwrite:!1,parent:m,immediateRender:!0,lazy:!h&&St(u),startAt:null,delay:0,onUpdate:l&&function(){return Lt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(st||!a&&!f)&&e._startAt.revert(zo),a&&_&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(c&&_&&!h){if(t&&(a=!1),w=qt({overwrite:!1,data:"isFromStart",lazy:a&&!h&&St(u),immediateRender:a,stagger:0,parent:m},x),M&&(w[F.prop]=M),ui(e._startAt=Me.set(g,w)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(st?e._startAt.revert(zo):e._startAt.render(-1,!0)),e._zTime=t,!a)i(e._startAt,_e,_e);else if(!t)return}for(e._pt=e._ptCache=0,u=_&&St(u)||u&&!_,E=0;E<g.length;E++){if(A=g[E],O=A._gsap||Dl(g)[E]._gsap,e._ptLookup[E]=V={},nl[O.id]&&oi.length&&qo(),z=v===g?E:v.indexOf(A),F&&(k=new F).init(A,M||x,e,z,v)!==!1&&(e._pt=C=new ht(e._pt,A,k.name,0,1,k.render,k,0,k.priority),k._props.forEach(function(N){V[N]=C}),k.priority&&(S=1)),!F||M)for(w in x)xt[w]&&(k=El(w,x,e,z,A,v))?k.priority&&(S=1):V[w]=C=xl.call(e,A,w,"get",x[w],z,v,0,n.stringFilter);e._op&&e._op[E]&&e.kill(A,e._op[E]),y&&e._pt&&(si=e,be.killTweensOf(A,V,e.globalTime(t)),R=!e.parent,si=0),e._pt&&u&&(nl[O.id]=1)}S&&Fl(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!R,p&&t<=0&&b.render(Wt,!0,!0)},km=function(e,t,r,n,s,o,a,u){var l=(e._pt&&e._ptCache||(e._ptCache={}))[t],c,d,p,f;if(!l)for(l=e._ptCache[t]=[],p=e._ptLookup,f=e._targets.length;f--;){if(c=p[f][t],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==t&&c.fp!==t;)c=c._next;if(!c)return cl=1,e.vars[t]="+=0",Sl(e,a),cl=0,u?ms(t+" not eligible for reset"):1;l.push(c)}for(f=l.length;f--;)d=l[f],c=d._pt||d,c.s=(n||n===0)&&!s?n:c.s+(n||0)+o*c.c,c.c=r-c.s,d.e&&(d.e=Fe(r)+et(d.e)),d.b&&(d.b=c.s+et(d.b))},Mm=function(e,t){var r=e[0]?ai(e[0]).harness:0,n=r&&r.aliases,s,o,a,u;if(!n)return t;s=Bi({},t);for(o in n)if(o in s)for(u=n[o].split(","),a=u.length;a--;)s[u[a]]=s[o];return s},Lm=function(e,t,r,n){var s=t.ease||n||"power1.inOut",o,a;if(ot(t))a=r[e]||(r[e]=[]),t.forEach(function(u,l){return a.push({t:l/(t.length-1)*100,v:u,e:s})});else for(o in t)a=r[o]||(r[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:t[o],e:s})},gs=function(e,t,r,n,s){return Ae(e)?e.call(t,r,n,s):He(e)&&~e.indexOf("random(")?En(e):e},eh=vl+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",th={};dt(eh+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return th[i]=1});var Me=function(i){Sd(e,i);function e(r,n,s,o){var a;typeof n=="number"&&(s.duration=n,n=s,s=null),a=i.call(this,o?n:ps(n))||this;var u=a.vars,l=u.duration,c=u.delay,d=u.immediateRender,p=u.stagger,f=u.overwrite,_=u.keyframes,h=u.defaults,g=u.scrollTrigger,m=u.yoyoEase,v=n.parent||be,y=(ot(r)||Td(r)?Lr(r[0]):"length"in n)?[r]:Ht(r),b,x,E,w,C,A,S,O;if(a._targets=y.length?Dl(y):ms("GSAP target "+r+" not found. https://gsap.com",!Ct.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,_||p||Bo(l)||Bo(c)){if(n=a.vars,b=a.timeline=new Je({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:y}),b.kill(),b.parent=b._dp=kr(a),b._start=0,p||Bo(l)||Bo(c)){if(w=y.length,S=p&&Hd(p),gr(p))for(C in p)~eh.indexOf(C)&&(O||(O={}),O[C]=p[C]);for(x=0;x<w;x++)E=Yo(n,th),E.stagger=0,m&&(E.yoyoEase=m),O&&Bi(E,O),A=y[x],E.duration=+gs(l,kr(a),x,A,y),E.delay=(+gs(c,kr(a),x,A,y)||0)-a._delay,!p&&w===1&&E.delay&&(a._delay=c=E.delay,a._start+=c,E.delay=0),b.to(A,E,S?S(x,A,y):0),b._ease=le.none;b.duration()?l=c=0:a.timeline=0}else if(_){ps(qt(b.vars.defaults,{ease:"none"})),b._ease=Ni(_.ease||n.ease||"none");var F=0,k,V,z;if(ot(_))_.forEach(function(M){return b.to(y,M,">")}),b.duration();else{E={};for(C in _)C==="ease"||C==="easeEach"||Lm(C,_[C],E,_.easeEach);for(C in E)for(k=E[C].sort(function(M,R){return M.t-R.t}),F=0,x=0;x<k.length;x++)V=k[x],z={ease:V.e,duration:(V.t-(x?k[x-1].t:0))/100*l},z[C]=V.v,b.to(y,z,F),F+=z.duration;b.duration()<l&&b.to({},{duration:l-b.duration()})}}l||a.duration(l=b.duration())}else a.timeline=0;return f===!0&&!dl&&(si=kr(a),be.killTweensOf(y),si=0),_r(v,kr(a),s),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(d||!l&&!_&&a._start===Ge(v._time)&&St(d)&&fm(kr(a))&&v.data!=="nested")&&(a._tTime=-_e,a.render(Math.max(0,-c)||0)),g&&Bd(kr(a),g),a}var t=e.prototype;return t.render=function(n,s,o){var a=this._time,u=this._tDur,l=this._dur,c=n<0,d=n>u-_e&&!c?u:n<_e?0:n,p,f,_,h,g,m,v,y,b;if(!l)hm(this,n,s,o);else if(d!==this._tTime||!n||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(p=d,y=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&c)return this.totalTime(h*100+n,s,o);if(p=Ge(d%h),d===u?(_=this._repeat,p=l):(_=~~(d/h),_&&_===Ge(d/h)&&(p=l,_--),p>l&&(p=l)),m=this._yoyo&&_&1,m&&(b=this._yEase,p=l-p),g=wn(this._tTime,h),p===a&&!o&&this._initted&&_===g)return this._tTime=d,this;_!==g&&(y&&this._yEase&&Qd(y,m),this.vars.repeatRefresh&&!m&&!this._lock&&this._time!==h&&this._initted&&(this._lock=o=1,this.render(Ge(h*_),!0).invalidate()._lock=0))}if(!this._initted){if(zd(this,c?n:p,o,s,d))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&_!==g))return this;if(l!==this._dur)return this.render(n,s,o)}if(this._tTime=d,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(b||this._ease)(p/l),this._from&&(this.ratio=v=1-v),p&&!a&&!s&&!_&&(Lt(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(v,f.d),f=f._next;y&&y.render(n<0?n:y._dur*y._ease(p/this._dur),s,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!s&&(c&&sl(this,n,s,o),Lt(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!s&&this.parent&&Lt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&sl(this,n,!0,!0),(n||!l)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&ui(this,1),!s&&!(c&&!a)&&(d||a||m)&&(Lt(this,d===u?"onComplete":"onReverseComplete",!0),this._prom&&!(d<u&&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),i.prototype.invalidate.call(this,n)},t.resetTo=function(n,s,o,a,u){Ds||Et.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||Sl(this,l),c=this._ease(l/this._dur),km(this,n,s,o,a,c,l,u)?this.resetTo(n,s,o,a,1):(Zo(this,0),this.parent||Nd(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,s){if(s===void 0&&(s="all"),!n&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?ds(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,si&&si.vars.overwrite!==!0)._first||ds(this),this.parent&&o!==this.timeline.totalDuration()&&bn(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,u=n?Ht(n):a,l=this._ptLookup,c=this._pt,d,p,f,_,h,g,m;if((!s||s==="all")&&lm(a,u))return s==="all"&&(this._pt=0),ds(this);for(d=this._op=this._op||[],s!=="all"&&(He(s)&&(h={},dt(s,function(v){return h[v]=1}),s=h),s=Mm(a,s)),m=a.length;m--;)if(~u.indexOf(a[m])){p=l[m],s==="all"?(d[m]=s,_=p,f={}):(f=d[m]=d[m]||{},_=s);for(h in _)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&$o(this,g,"_pt"),delete p[h]),f!=="all"&&(f[h]=1)}return this._initted&&!this._pt&&c&&ds(this),this},e.to=function(n,s){return new e(n,s,arguments[2])},e.from=function(n,s){return _s(1,arguments)},e.delayedCall=function(n,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(n,s,o){return _s(2,arguments)},e.set=function(n,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(n,s)},e.killTweensOf=function(n,s,o){return be.killTweensOf(n,s,o)},e}(ys);qt(Me.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});dt("staggerTo,staggerFrom,staggerFromTo",function(i){Me[i]=function(){var e=new Je,t=al.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var Cl=function(e,t,r){return e[t]=r},rh=function(e,t,r){return e[t](r)},Rm=function(e,t,r,n){return e[t](n.fp,r)},Nm=function(e,t,r){return e.setAttribute(t,r)},Qo=function(e,t){return Ae(e[t])?rh:Go(e[t])&&e.setAttribute?Nm:Cl},ih=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Im=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Tl=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)},Al=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Bm=function(e,t,r,n){for(var s=this._pt,o;s;)o=s._next,s.p===n&&s.modifier(e,t,r),s=o},zm=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?$o(this,t,"_pt"):t.dep||(r=1),t=n;return!r},Vm=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Fl=function(e){for(var t=e._pt,r,n,s,o;t;){for(r=t._next,n=s;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:o)?t._prev._next=t:s=t,(t._next=n)?n._prev=t:o=t,t=r}e._pt=s},ht=function(){function i(t,r,n,s,o,a,u,l,c){this.t=r,this.s=s,this.c=o,this.p=n,this.r=a||ih,this.d=u||this,this.set=l||Cl,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=i.prototype;return e.modifier=function(r,n,s){this.mSet=this.mSet||this.set,this.set=Vm,this.m=r,this.mt=s,this.tween=n},i}();dt(vl+"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(i){return ml[i]=1});Rt.TweenMax=Rt.TweenLite=Me;Rt.TimelineLite=Rt.TimelineMax=Je;be=new Je({sortChildren:!1,defaults:yn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ct.stringFilter=wl;var Ii=[],Wo={},Wm=[],Ed=0,Hm=0,Ju=function(e){return(Wo[e]||Wm).map(function(t){return t()})},fl=function(){var e=Date.now(),t=[];e-Ed>2&&(Ju("matchMediaInit"),Ii.forEach(function(r){var n=r.queries,s=r.conditions,o,a,u,l;for(a in n)o=pr.matchMedia(n[a]).matches,o&&(u=1),o!==s[a]&&(s[a]=o,l=1);l&&(r.revert(),u&&t.push(r))}),Ju("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),Ed=e,Ju("matchMedia"))},nh=function(){function i(t,r){this.selector=r&&ul(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Hm++,t&&this.add(t)}var e=i.prototype;return e.add=function(r,n,s){Ae(r)&&(s=n,n=r,r=Ae);var o=this,a=function(){var l=ye,c=o.selector,d;return l&&l!==o&&l.data.push(o),s&&(o.selector=ul(s)),ye=o,d=n.apply(o,arguments),Ae(d)&&o._r.push(d),ye=l,o.selector=c,o.isReverted=!1,d};return o.last=a,r===Ae?a(o,function(u){return o.add(null,u)}):r?o[r]=a:a},e.ignore=function(r){var n=ye;ye=null,r(this),ye=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof i?r.push.apply(r,n.getTweens()):n instanceof Me&&!(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 s=this;if(r?function(){for(var a=s.getTweens(),u=s.data.length,l;u--;)l=s.data[u],l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(c){return a.splice(a.indexOf(c),1)}));for(a.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,d){return d.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),u=s.data.length;u--;)l=s.data[u],l instanceof Je?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof Me)&&l.revert&&l.revert(r);s._r.forEach(function(c){return c(r,s)}),s.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var o=Ii.length;o--;)Ii[o].id===this.id&&Ii.splice(o,1)},e.revert=function(r){this.kill(r||{})},i}(),qm=function(){function i(t){this.contexts=[],this.scope=t,ye&&ye.data.push(this)}var e=i.prototype;return e.add=function(r,n,s){gr(r)||(r={matches:r});var o=new nh(0,s||this.scope),a=o.conditions={},u,l,c;ye&&!o.selector&&(o.selector=ye.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=r;for(l in r)l==="all"?c=1:(u=pr.matchMedia(r[l]),u&&(Ii.indexOf(o)<0&&Ii.push(o),(a[l]=u.matches)&&(c=1),u.addListener?u.addListener(fl):u.addEventListener("change",fl)));return c&&n(o,function(d){return o.add(null,d)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},i}(),Xo={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 jd(n)})},timeline:function(e){return new Je(e)},getTweensOf:function(e,t){return be.getTweensOf(e,t)},getProperty:function(e,t,r,n){He(e)&&(e=Ht(e)[0]);var s=ai(e||{}).get,o=r?Rd:Ld;return r==="native"&&(r=""),e&&(t?o((xt[t]&&xt[t].get||s)(e,t,r,n)):function(a,u,l){return o((xt[a]&&xt[a].get||s)(e,a,u,l))})},quickSetter:function(e,t,r){if(e=Ht(e),e.length>1){var n=e.map(function(c){return at.quickSetter(c,t,r)}),s=n.length;return function(c){for(var d=s;d--;)n[d](c)}}e=e[0]||{};var o=xt[t],a=ai(e),u=a.harness&&(a.harness.aliases||{})[t]||t,l=o?function(c){var d=new o;Dn._pt=0,d.init(e,r?c+r:c,Dn,0,[e]),d.render(1,d),Dn._pt&&Al(1,Dn)}:a.set(e,u);return o?l:function(c){return l(e,u,r?c+r:c,a,1)}},quickTo:function(e,t,r){var n,s=at.to(e,Bi((n={},n[t]="+=0.1",n.paused=!0,n),r||{})),o=function(u,l,c){return s.resetTo(t,u,l,c)};return o.tween=s,o},isTweening:function(e){return be.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Ni(e.ease,yn.ease)),Dd(yn,e||{})},config:function(e){return Dd(Ct,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,s=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!xt[a]&&!Rt[a]&&ms(t+" effect requires "+a+" plugin.")}),$u[t]=function(a,u,l){return r(Ht(a),qt(u||{},s),l)},o&&(Je.prototype[t]=function(a,u,l){return this.add($u[t](a,gr(u)?u:(l=u)&&{},this),l)})},registerEase:function(e,t){le[e]=Ni(t)},parseEase:function(e,t){return arguments.length?Ni(e,t):le},getById:function(e){return be.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Je(e),n,s;for(r.smoothChildTiming=St(e.smoothChildTiming),be.remove(r),r._dp=0,r._time=r._tTime=be._time,n=be._first;n;)s=n._next,(t||!(!n._dur&&n instanceof Me&&n.vars.onComplete===n._targets[0]))&&_r(r,n,n._start-n._delay),n=s;return _r(be,r,0),r},context:function(e,t){return e?new nh(e,t):ye},matchMedia:function(e){return new qm(e)},matchMediaRefresh:function(){return Ii.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||fl()},addEventListener:function(e,t){var r=Wo[e]||(Wo[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Wo[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:wm,wrapYoyo:bm,distribute:Hd,random:Yd,snap:qd,normalize:ym,getUnit:et,clamp:gm,splitColor:$d,toArray:Ht,selector:ul,mapRange:Xd,pipe:vm,unitize:Dm,interpolate:xm,shuffle:Wd},install:Od,effects:$u,ticker:Et,updateRoot:Je.updateRoot,plugins:xt,globalTimeline:be,core:{PropTween:ht,globals:Pd,Tween:Me,Timeline:Je,Animation:ys,getCache:ai,_removeLinkedListItem:$o,reverting:function(){return st},context:function(e){return e&&ye&&(ye.data.push(e),e._ctx=ye),ye},suppressOverwrites:function(e){return dl=e}}};dt("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return Xo[i]=Me[i]});Et.add(Je.updateRoot);Dn=Xo.to({},{duration:0});var Ym=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Um=function(e,t){var r=e._targets,n,s,o;for(n in t)for(s=r.length;s--;)o=e._ptLookup[s][n],o&&(o=o.d)&&(o._pt&&(o=Ym(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[s],n))},el=function(e,t){return{name:e,rawVars:1,init:function(n,s,o){o._onInit=function(a){var u,l;if(He(s)&&(u={},dt(s,function(c){return u[c]=1}),s=u),t){u={};for(l in s)u[l]=t(s[l]);s=u}Um(a,s)}}}},at=Xo.registerPlugin({name:"attr",init:function(e,t,r,n,s){var o,a,u;this.tween=r;for(o in t)u=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(u||0)+"",t[o],n,s,0,0,o),a.op=o,a.b=u,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)st?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",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)}},el("roundProps",ll),el("modifiers"),el("snap",qd))||Xo;Me.version=Je.version=at.version="3.12.5";Fd=1;hl()&&xn();var Xm=le.Power0,Gm=le.Power1,jm=le.Power2,$m=le.Power3,Km=le.Power4,Zm=le.Linear,Qm=le.Quad,Jm=le.Cubic,ev=le.Quart,tv=le.Quint,rv=le.Strong,iv=le.Elastic,nv=le.Back,sv=le.SteppedEase,ov=le.Bounce,av=le.Sine,uv=le.Expo,lv=le.Circ;var sh,ci,Cn,Nl,Ui,cv,oh,Il,fv=function(){return typeof window<"u"},Nr={},Yi=180/Math.PI,Tn=Math.PI/180,Sn=Math.atan2,ah=1e8,Bl=/([A-Z])/g,dv=/(left|right|width|margin|padding|x)/i,hv=/[\s,\(]\S/,mr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},kl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},pv=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)},_v=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)},gv=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},ph=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},_h=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},mv=function(e,t,r){return e.style[t]=r},vv=function(e,t,r){return e.style.setProperty(t,r)},Dv=function(e,t,r){return e._gsap[t]=r},yv=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},wv=function(e,t,r,n,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},bv=function(e,t,r,n,s){var o=e._gsap;o[t]=r,o.renderTransform(s,o)},xe="transform",Tt=xe+"Origin",xv=function i(e,t){var r=this,n=this.target,s=n.style,o=n._gsap;if(e in Nr&&s){if(this.tfm=this.tfm||{},e!=="transform")e=mr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=Rr(n,a)}):this.tfm[e]=o.x?o[e]:Rr(n,e),e===Tt&&(this.tfm.zOrigin=o.zOrigin);else return mr.transform.split(",").forEach(function(a){return i.call(r,a,t)});if(this.props.indexOf(xe)>=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(Tt,t,"")),e=xe}(s||t)&&this.props.push(e,t,s[e])},gh=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Ev=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?t[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(Bl,"-$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||"")),s=Il(),(!s||!s.isStart)&&!r[xe]&&(gh(r),n.zOrigin&&r[Tt]&&(r[Tt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},mh=function(e,t){var r={target:e,props:[],revert:Ev,save:xv};return e._gsap||at.core.getCache(e),t&&t.split(",").forEach(function(n){return r.save(n)}),r},vh,Ml=function(e,t){var r=ci.createElementNS?ci.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ci.createElement(e);return r&&r.style?r:ci.createElement(e)},vr=function i(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(Bl,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&i(e,An(t)||t,1)||""},uh="O,Moz,ms,Ms,Webkit".split(","),An=function(e,t,r){var n=t||Ui,s=n.style,o=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(uh[o]+e in s););return o<0?null:(o===3?"ms":o>=0?uh[o]:"")+e},Ll=function(){fv()&&window.document&&(sh=window,ci=sh.document,Cn=ci.documentElement,Ui=Ml("div")||{style:{}},cv=Ml("div"),xe=An(xe),Tt=xe+"Origin",Ui.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",vh=!!An("perspective"),Il=at.core.reverting,Nl=1)},Ol=function i(e){var t=Ml("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,s=this.style.cssText,o;if(Cn.appendChild(t),t.appendChild(this),this.style.display="block",e)try{o=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=i}catch{}else this._gsapBBox&&(o=this._gsapBBox());return r&&(n?r.insertBefore(this,n):r.appendChild(this)),Cn.removeChild(t),this.style.cssText=s,o},lh=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Dh=function(e){var t;try{t=e.getBBox()}catch{t=Ol.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Ol||(t=Ol.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+lh(e,["x","cx","x1"])||0,y:+lh(e,["y","cy","y1"])||0,width:0,height:0}:t},yh=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Dh(e))},Xi=function(e,t){if(t){var r=e.style,n;t in Nr&&t!==Tt&&(t=xe),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(Bl,"-$1").toLowerCase())):r.removeAttribute(t)}},fi=function(e,t,r,n,s,o){var a=new ht(e._pt,t,r,0,1,o?_h:ph);return e._pt=a,a.b=n,a.e=s,e._props.push(r),a},ch={deg:1,rad:1,turn:1},Sv={grid:1,flex:1},di=function i(e,t,r,n){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=Ui.style,u=dv.test(t),l=e.tagName.toLowerCase()==="svg",c=(l?"client":"offset")+(u?"Width":"Height"),d=100,p=n==="px",f=n==="%",_,h,g,m;if(n===o||!s||ch[n]||ch[o])return s;if(o!=="px"&&!p&&(s=i(e,t,r,"px")),m=e.getCTM&&yh(e),(f||o==="%")&&(Nr[t]||~t.indexOf("adius")))return _=m?e.getBBox()[u?"width":"height"]:e[c],Fe(f?s/_*d:s/100*_);if(a[u?"width":"height"]=d+(p?o:n),h=~t.indexOf("adius")||n==="em"&&e.appendChild&&!l?e:e.parentNode,m&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===ci||!h.appendChild)&&(h=ci.body),g=h._gsap,g&&f&&g.width&&u&&g.time===Et.time&&!g.uncache)return Fe(s/g.width*d);if(f&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=d+n,_=e[c],v?e.style[t]=v:Xi(e,t)}else(f||o==="%")&&!Sv[vr(h,"display")]&&(a.position=vr(e,"position")),h===e&&(a.position="static"),h.appendChild(Ui),_=Ui[c],h.removeChild(Ui),a.position="absolute";return u&&f&&(g=ai(h),g.time=Et.time,g.width=h[c]),Fe(p?_*s/d:_&&s?d/_*s:0)},Rr=function(e,t,r,n){var s;return Nl||Ll(),t in mr&&t!=="transform"&&(t=mr[t],~t.indexOf(",")&&(t=t.split(",")[0])),Nr[t]&&t!=="transform"?(s=Es(e,n),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:ea(vr(e,Tt))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=Jo[t]&&Jo[t](e,t,r)||vr(e,t)||yl(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?di(e,t,s,r)+r:s},Cv=function(e,t,r,n){if(!r||r==="none"){var s=An(t,e,1),o=s&&vr(e,s,1);o&&o!==r?(t=s,r=o):t==="borderColor"&&(r=vr(e,"borderTopColor"))}var a=new ht(this._pt,e.style,t,0,1,Tl),u=0,l=0,c,d,p,f,_,h,g,m,v,y,b,x;if(a.b=r,a.e=n,r+="",n+="",n==="auto"&&(h=e.style[t],e.style[t]=n,n=vr(e,t)||n,h?e.style[t]=h:Xi(e,t)),c=[r,n],wl(c),r=c[0],n=c[1],p=r.match(zi)||[],x=n.match(zi)||[],x.length){for(;d=zi.exec(n);)g=d[0],v=n.substring(u,d.index),_?_=(_+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(_=1),g!==(h=p[l++]||"")&&(f=parseFloat(h)||0,b=h.substr((f+"").length),g.charAt(1)==="="&&(g=Vi(f,g)+b),m=parseFloat(g),y=g.substr((m+"").length),u=zi.lastIndex-y.length,y||(y=y||Ct.units[t]||b,u===n.length&&(n+=y,a.e+=y)),b!==y&&(f=di(e,t,h,y)||0),a._pt={_next:a._pt,p:v||l===1?v:",",s:f,c:m-f,m:_&&_<4||t==="zIndex"?Math.round:0});a.c=u<n.length?n.substring(u,n.length):""}else a.r=t==="display"&&n==="none"?_h:ph;return _l.test(n)&&(a.e=0),this._pt=a,a},fh={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Tv=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]=fh[r]||r,t[1]=fh[n]||n,t.join(" ")},Av=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,s=t.u,o=r._gsap,a,u,l;if(s==="all"||s===!0)n.cssText="",u=1;else for(s=s.split(","),l=s.length;--l>-1;)a=s[l],Nr[a]&&(u=1,a=a==="transformOrigin"?Tt:xe),Xi(r,a);u&&(Xi(r,xe),o&&(o.svg&&r.removeAttribute("transform"),Es(r,1),o.uncache=1,gh(n)))}},Jo={clearProps:function(e,t,r,n,s){if(s.data!=="isFromStart"){var o=e._pt=new ht(e._pt,t,r,0,0,Av);return o.u=n,o.pr=-10,o.tween=s,e._props.push(r),1}}},xs=[1,0,0,1,0,0],wh={},bh=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},dh=function(e){var t=vr(e,xe);return bh(t)?xs:t.substr(7).match(pl).map(Fe)},zl=function(e,t){var r=e._gsap||ai(e),n=e.style,s=dh(e),o,a,u,l;return r.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,s=[u.a,u.b,u.c,u.d,u.e,u.f],s.join(",")==="1,0,0,1,0,0"?xs:s):(s===xs&&!e.offsetParent&&e!==Cn&&!r.svg&&(u=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent)&&(l=1,a=e.nextElementSibling,Cn.appendChild(e)),s=dh(e),u?n.display=u:Xi(e,"display"),l&&(a?o.insertBefore(e,a):o?o.appendChild(e):Cn.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Rl=function(e,t,r,n,s,o){var a=e._gsap,u=s||zl(e,!0),l=a.xOrigin||0,c=a.yOrigin||0,d=a.xOffset||0,p=a.yOffset||0,f=u[0],_=u[1],h=u[2],g=u[3],m=u[4],v=u[5],y=t.split(" "),b=parseFloat(y[0])||0,x=parseFloat(y[1])||0,E,w,C,A;r?u!==xs&&(w=f*g-_*h)&&(C=b*(g/w)+x*(-h/w)+(h*v-g*m)/w,A=b*(-_/w)+x*(f/w)-(f*v-_*m)/w,b=C,x=A):(E=Dh(e),b=E.x+(~y[0].indexOf("%")?b/100*E.width:b),x=E.y+(~(y[1]||y[0]).indexOf("%")?x/100*E.height:x)),n||n!==!1&&a.smooth?(m=b-l,v=x-c,a.xOffset=d+(m*f+v*h)-m,a.yOffset=p+(m*_+v*g)-v):a.xOffset=a.yOffset=0,a.xOrigin=b,a.yOrigin=x,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!r,e.style[Tt]="0px 0px",o&&(fi(o,a,"xOrigin",l,b),fi(o,a,"yOrigin",c,x),fi(o,a,"xOffset",d,a.xOffset),fi(o,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",b+" "+x)},Es=function(e,t){var r=e._gsap||new bl(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,s=r.scaleX<0,o="px",a="deg",u=getComputedStyle(e),l=vr(e,Tt)||"0",c,d,p,f,_,h,g,m,v,y,b,x,E,w,C,A,S,O,F,k,V,z,M,R,N,T,D,L,U,te,X,G;return c=d=p=h=g=m=v=y=b=0,f=_=1,r.svg=!!(e.getCTM&&yh(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(n[xe]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[xe]!=="none"?u[xe]:"")),n.scale=n.rotate=n.translate="none"),w=zl(e,r.svg),r.svg&&(r.uncache?(N=e.getBBox(),l=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",R=""):R=!t&&e.getAttribute("data-svg-origin"),Rl(e,R||l,!!R||r.originIsAbsolute,r.smooth!==!1,w)),x=r.xOrigin||0,E=r.yOrigin||0,w!==xs&&(O=w[0],F=w[1],k=w[2],V=w[3],c=z=w[4],d=M=w[5],w.length===6?(f=Math.sqrt(O*O+F*F),_=Math.sqrt(V*V+k*k),h=O||F?Sn(F,O)*Yi:0,v=k||V?Sn(k,V)*Yi+h:0,v&&(_*=Math.abs(Math.cos(v*Tn))),r.svg&&(c-=x-(x*O+E*k),d-=E-(x*F+E*V))):(G=w[6],te=w[7],D=w[8],L=w[9],U=w[10],X=w[11],c=w[12],d=w[13],p=w[14],C=Sn(G,U),g=C*Yi,C&&(A=Math.cos(-C),S=Math.sin(-C),R=z*A+D*S,N=M*A+L*S,T=G*A+U*S,D=z*-S+D*A,L=M*-S+L*A,U=G*-S+U*A,X=te*-S+X*A,z=R,M=N,G=T),C=Sn(-k,U),m=C*Yi,C&&(A=Math.cos(-C),S=Math.sin(-C),R=O*A-D*S,N=F*A-L*S,T=k*A-U*S,X=V*S+X*A,O=R,F=N,k=T),C=Sn(F,O),h=C*Yi,C&&(A=Math.cos(C),S=Math.sin(C),R=O*A+F*S,N=z*A+M*S,F=F*A-O*S,M=M*A-z*S,O=R,z=N),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,m=180-m),f=Fe(Math.sqrt(O*O+F*F+k*k)),_=Fe(Math.sqrt(M*M+G*G)),C=Sn(z,M),v=Math.abs(C)>2e-4?C*Yi:0,b=X?1/(X<0?-X:X):0),r.svg&&(R=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!bh(vr(e,xe)),R&&e.setAttribute("transform",R))),Math.abs(v)>90&&Math.abs(v)<270&&(s?(f*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(_*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=c-((r.xPercent=c&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=p+o,r.scaleX=Fe(f),r.scaleY=Fe(_),r.rotation=Fe(h)+a,r.rotationX=Fe(g)+a,r.rotationY=Fe(m)+a,r.skewX=v+a,r.skewY=y+a,r.transformPerspective=b+o,(r.zOrigin=parseFloat(l.split(" ")[2])||!t&&r.zOrigin||0)&&(n[Tt]=ea(l)),r.xOffset=r.yOffset=0,r.force3D=Ct.force3D,r.renderTransform=r.svg?Ov:vh?xh:Fv,r.uncache=0,r},ea=function(e){return(e=e.split(" "))[0]+" "+e[1]},Pl=function(e,t,r){var n=et(t);return Fe(parseFloat(t)+parseFloat(di(e,"x",r+"px",n)))+n},Fv=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,xh(e,t)},Hi="0deg",bs="0px",qi=") ",xh=function(e,t){var r=t||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.z,l=r.rotation,c=r.rotationY,d=r.rotationX,p=r.skewX,f=r.skewY,_=r.scaleX,h=r.scaleY,g=r.transformPerspective,m=r.force3D,v=r.target,y=r.zOrigin,b="",x=m==="auto"&&e&&e!==1||m===!0;if(y&&(d!==Hi||c!==Hi)){var E=parseFloat(c)*Tn,w=Math.sin(E),C=Math.cos(E),A;E=parseFloat(d)*Tn,A=Math.cos(E),o=Pl(v,o,w*A*-y),a=Pl(v,a,-Math.sin(E)*-y),u=Pl(v,u,C*A*-y+y)}g!==bs&&(b+="perspective("+g+qi),(n||s)&&(b+="translate("+n+"%, "+s+"%) "),(x||o!==bs||a!==bs||u!==bs)&&(b+=u!==bs||x?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+qi),l!==Hi&&(b+="rotate("+l+qi),c!==Hi&&(b+="rotateY("+c+qi),d!==Hi&&(b+="rotateX("+d+qi),(p!==Hi||f!==Hi)&&(b+="skew("+p+", "+f+qi),(_!==1||h!==1)&&(b+="scale("+_+", "+h+qi),v.style[xe]=b||"translate(0, 0)"},Ov=function(e,t){var r=t||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.rotation,l=r.skewX,c=r.skewY,d=r.scaleX,p=r.scaleY,f=r.target,_=r.xOrigin,h=r.yOrigin,g=r.xOffset,m=r.yOffset,v=r.forceCSS,y=parseFloat(o),b=parseFloat(a),x,E,w,C,A;u=parseFloat(u),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,u+=c),u||l?(u*=Tn,l*=Tn,x=Math.cos(u)*d,E=Math.sin(u)*d,w=Math.sin(u-l)*-p,C=Math.cos(u-l)*p,l&&(c*=Tn,A=Math.tan(l-c),A=Math.sqrt(1+A*A),w*=A,C*=A,c&&(A=Math.tan(c),A=Math.sqrt(1+A*A),x*=A,E*=A)),x=Fe(x),E=Fe(E),w=Fe(w),C=Fe(C)):(x=d,C=p,E=w=0),(y&&!~(o+"").indexOf("px")||b&&!~(a+"").indexOf("px"))&&(y=di(f,"x",o,"px"),b=di(f,"y",a,"px")),(_||h||g||m)&&(y=Fe(y+_-(_*x+h*w)+g),b=Fe(b+h-(_*E+h*C)+m)),(n||s)&&(A=f.getBBox(),y=Fe(y+n/100*A.width),b=Fe(b+s/100*A.height)),A="matrix("+x+","+E+","+w+","+C+","+y+","+b+")",f.setAttribute("transform",A),v&&(f.style[xe]=A)},Pv=function(e,t,r,n,s){var o=360,a=He(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?Yi:1),l=u-n,c=n+l+"deg",d,p;return a&&(d=s.split("_")[1],d==="short"&&(l%=o,l!==l%(o/2)&&(l+=l<0?o:-o)),d==="cw"&&l<0?l=(l+o*ah)%o-~~(l/o)*o:d==="ccw"&&l>0&&(l=(l-o*ah)%o-~~(l/o)*o)),e._pt=p=new ht(e._pt,t,r,n,l,pv),p.e=c,p.u="deg",e._props.push(r),p},hh=function(e,t){for(var r in t)e[r]=t[r];return e},kv=function(e,t,r){var n=hh({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,u,l,c,d,p,f,_;n.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),o[xe]=t,a=Es(r,1),Xi(r,xe),r.setAttribute("transform",l)):(l=getComputedStyle(r)[xe],o[xe]=t,a=Es(r,1),o[xe]=l);for(u in Nr)l=n[u],c=a[u],l!==c&&s.indexOf(u)<0&&(f=et(l),_=et(c),d=f!==_?di(r,u,l,_):parseFloat(l),p=parseFloat(c),e._pt=new ht(e._pt,a,u,d,p-d,kl),e._pt.u=_||0,e._props.push(u));hh(a,n)};dt("padding,margin,Width,Radius",function(i,e){var t="Top",r="Right",n="Bottom",s="Left",o=(e<3?[t,r,n,s]:[t+s,t+r,n+r,n+s]).map(function(a){return e<2?i+a:"border"+a+i});Jo[e>1?"border"+i:i]=function(a,u,l,c,d){var p,f;if(arguments.length<4)return p=o.map(function(_){return Rr(a,_,l)}),f=p.join(" "),f.split(p[0]).length===5?p[0]:f;p=(c+"").split(" "),f={},o.forEach(function(_,h){return f[_]=p[h]=p[h]||p[(h-1)/2|0]}),a.init(u,f,d)}});var Vl={name:"css",register:Ll,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,s){var o=this._props,a=e.style,u=r.vars.startAt,l,c,d,p,f,_,h,g,m,v,y,b,x,E,w,C;Nl||Ll(),this.styles=this.styles||mh(e),C=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(c=t[h],!(xt[h]&&El(h,t,r,n,e,s)))){if(f=typeof c,_=Jo[h],f==="function"&&(c=c.call(r,n,e,s),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=En(c)),_)_(this,e,h,c,r)&&(w=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(h)+"").trim(),c+="",Mr.lastIndex=0,Mr.test(l)||(g=et(l),m=et(c)),m?g!==m&&(l=di(e,h,l,m)+m):g&&(c+=g),this.add(a,"setProperty",l,c,n,s,0,0,h),o.push(h),C.push(h,0,a[h]);else if(f!=="undefined"){if(u&&h in u?(l=typeof u[h]=="function"?u[h].call(r,n,e,s):u[h],He(l)&&~l.indexOf("random(")&&(l=En(l)),et(l+"")||l==="auto"||(l+=Ct.units[h]||et(Rr(e,h))||""),(l+"").charAt(1)==="="&&(l=Rr(e,h))):l=Rr(e,h),p=parseFloat(l),v=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),d=parseFloat(c),h in mr&&(h==="autoAlpha"&&(p===1&&Rr(e,"visibility")==="hidden"&&d&&(p=0),C.push("visibility",0,a.visibility),fi(this,a,"visibility",p?"inherit":"hidden",d?"inherit":"hidden",!d)),h!=="scale"&&h!=="transform"&&(h=mr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),y=h in Nr,y){if(this.styles.save(h),b||(x=e._gsap,x.renderTransform&&!t.parseTransform||Es(e,t.parseTransform),E=t.smoothOrigin!==!1&&x.smooth,b=this._pt=new ht(this._pt,a,xe,0,1,x.renderTransform,x,0,-1),b.dep=1),h==="scale")this._pt=new ht(this._pt,x,"scaleY",x.scaleY,(v?Vi(x.scaleY,v+d):d)-x.scaleY||0,kl),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){C.push(Tt,0,a[Tt]),c=Tv(c),x.svg?Rl(e,c,0,E,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==x.zOrigin&&fi(this,x,"zOrigin",x.zOrigin,m),fi(this,a,h,ea(l),ea(c)));continue}else if(h==="svgOrigin"){Rl(e,c,1,E,0,this);continue}else if(h in wh){Pv(this,x,h,p,v?Vi(p,v+c):c);continue}else if(h==="smoothOrigin"){fi(this,x,"smooth",x.smooth,c);continue}else if(h==="force3D"){x[h]=c;continue}else if(h==="transform"){kv(this,c,e);continue}}else h in a||(h=An(h)||h);if(y||(d||d===0)&&(p||p===0)&&!hv.test(c)&&h in a)g=(l+"").substr((p+"").length),d||(d=0),m=et(c)||(h in Ct.units?Ct.units[h]:g),g!==m&&(p=di(e,h,l,m)),this._pt=new ht(this._pt,y?x:a,h,p,(v?Vi(p,v+d):d)-p,!y&&(m==="px"||h==="zIndex")&&t.autoRound!==!1?gv:kl),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=l,this._pt.r=_v);else if(h in a)Cv.call(this,e,h,l,v?v+c:c);else if(h in e)this.add(e,h,l||e[h],v?v+c:c,n,s);else if(h!=="parseTransform"){jo(h,c);continue}y||(h in a?C.push(h,0,a[h]):C.push(h,1,l||e[h])),o.push(h)}}w&&Fl(this)},render:function(e,t){if(t.tween._time||!Il())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Rr,aliases:mr,getSetter:function(e,t,r){var n=mr[t];return n&&n.indexOf(",")<0&&(t=n),t in Nr&&t!==Tt&&(e._gsap.x||Rr(e,"x"))?r&&oh===r?t==="scale"?yv:Dv:(oh=r||{})&&(t==="scale"?wv:bv):e.style&&!Go(e.style[t])?mv:~t.indexOf("-")?vv:Qo(e,t)},core:{_removeProperty:Xi,_getMatrix:zl}};at.utils.checkPrefix=An;at.core.getStyleSaver=mh;(function(i,e,t,r){var n=dt(i+","+e+","+t,function(s){Nr[s]=1});dt(e,function(s){Ct.units[s]="deg",wh[s]=1}),mr[n[13]]=i+","+e,dt(r,function(s){var o=s.split(":");mr[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");dt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){Ct.units[i]="px"});at.registerPlugin(Vl);var H=at.registerPlugin(Vl)||at,p1=H.core.Tween;function Eh(i,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(i,r.key,r)}}function Mv(i,e,t){return e&&Eh(i.prototype,e),t&&Eh(i,t),i}var tt,ia,Lv,Nt,hi,pi,On,Ch,Gi,Cs,Th,Ir,nr,Ah,Fh=function(){return tt||typeof window<"u"&&(tt=window.gsap)&&tt.registerPlugin&&tt},Oh=1,Fn=[],se=[],sr=[],Ts=Date.now,Wl=function(e,t){return t},Rv=function(){var e=Cs.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,se),n.push.apply(n,sr),se=r,sr=n,Wl=function(o,a){return t[o](a)}},zr=function(e,t){return~sr.indexOf(e)&&sr[sr.indexOf(e)+1][t]},As=function(e){return!!~Th.indexOf(e)},_t=function(e,t,r,n,s){return e.addEventListener(t,r,{passive:n!==!1,capture:!!s})},pt=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},ta="scrollLeft",ra="scrollTop",Hl=function(){return Ir&&Ir.isPressed||se.cache++},na=function(e,t){var r=function n(s){if(s||s===0){Oh&&(Nt.history.scrollRestoration="manual");var o=Ir&&Ir.isPressed;s=n.v=Math.round(s)||(Ir&&Ir.iOS?1:0),e(s),n.cacheID=se.cache,o&&Wl("ss",s)}else(t||se.cache!==n.cacheID||Wl("ref"))&&(n.cacheID=se.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},ut={s:ta,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:na(function(i){return arguments.length?Nt.scrollTo(i,Ie.sc()):Nt.pageXOffset||hi[ta]||pi[ta]||On[ta]||0})},Ie={s:ra,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:ut,sc:na(function(i){return arguments.length?Nt.scrollTo(ut.sc(),i):Nt.pageYOffset||hi[ra]||pi[ra]||On[ra]||0})},gt=function(e,t){return(t&&t._ctx&&t._ctx.selector||tt.utils.toArray)(e)[0]||(typeof e=="string"&&tt.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Br=function(e,t){var r=t.s,n=t.sc;As(e)&&(e=hi.scrollingElement||pi);var s=se.indexOf(e),o=n===Ie.sc?1:2;!~s&&(s=se.push(e)-1),se[s+o]||_t(e,"scroll",Hl);var a=se[s+o],u=a||(se[s+o]=na(zr(e,r),!0)||(As(e)?n:na(function(l){return arguments.length?e[r]=l:e[r]})));return u.target=e,a||(u.smooth=tt.getProperty(e,"scrollBehavior")==="smooth"),u},sa=function(e,t,r){var n=e,s=e,o=Ts(),a=o,u=t||50,l=Math.max(500,u*3),c=function(_,h){var g=Ts();h||g-o>u?(s=n,n=_,a=o,o=g):r?n+=_:n=s+(_-s)/(g-a)*(o-a)},d=function(){s=n=r?0:n,a=o=0},p=function(_){var h=a,g=s,m=Ts();return(_||_===0)&&_!==n&&c(_),o===a||m-a>l?0:(n+(r?g:-g))/((r?m:o)-h)*1e3};return{update:c,reset:d,getVelocity:p}},Ss=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Sh=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},Ph=function(){Cs=tt.core.globals().ScrollTrigger,Cs&&Cs.core&&Rv()},kh=function(e){return tt=e||Fh(),!ia&&tt&&typeof document<"u"&&document.body&&(Nt=window,hi=document,pi=hi.documentElement,On=hi.body,Th=[Nt,hi,pi,On],Lv=tt.utils.clamp,Ah=tt.core.context||function(){},Gi="onpointerenter"in On?"pointer":"mouse",Ch=Oe.isTouch=Nt.matchMedia&&Nt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Nt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,nr=Oe.eventTypes=("ontouchstart"in pi?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in pi?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Oh=0},500),Ph(),ia=1),ia};ut.op=Ie;se.cache=0;var Oe=function(){function i(t){this.init(t)}var e=i.prototype;return e.init=function(r){ia||kh(tt)||console.warn("Please gsap.registerPlugin(Observer)"),Cs||Ph();var n=r.tolerance,s=r.dragMinimum,o=r.type,a=r.target,u=r.lineHeight,l=r.debounce,c=r.preventDefault,d=r.onStop,p=r.onStopDelay,f=r.ignore,_=r.wheelSpeed,h=r.event,g=r.onDragStart,m=r.onDragEnd,v=r.onDrag,y=r.onPress,b=r.onRelease,x=r.onRight,E=r.onLeft,w=r.onUp,C=r.onDown,A=r.onChangeX,S=r.onChangeY,O=r.onChange,F=r.onToggleX,k=r.onToggleY,V=r.onHover,z=r.onHoverEnd,M=r.onMove,R=r.ignoreCheck,N=r.isNormalizer,T=r.onGestureStart,D=r.onGestureEnd,L=r.onWheel,U=r.onEnable,te=r.onDisable,X=r.onClick,G=r.scrollSpeed,I=r.capture,Y=r.allowClicks,fe=r.lockAxis,ie=r.onLockAxis;this.target=a=gt(a)||pi,this.vars=r,f&&(f=tt.utils.toArray(f)),n=n||1e-9,s=s||0,_=_||1,G=G||1,o=o||"wheel,touch,pointer",l=l!==!1,u||(u=parseFloat(Nt.getComputedStyle(On).lineHeight)||22);var ne,Ke,bt,B,Z,Ce,ze,P=this,kt=0,Tr=0,Kr=r.passive||!c,Le=Br(a,ut),Zr=Br(a,Ie),Ei=Le(),cn=Zr(),Ue=~o.indexOf("touch")&&!~o.indexOf("pointer")&&nr[0]==="pointerdown",Qr=As(a),Pe=a.ownerDocument||hi,Zt=[0,0,0],zt=[0,0,0],Ar=0,Kn=function(){return Ar=Ts()},Re=function(K,de){return(P.event=K)&&f&&~f.indexOf(K.target)||de&&Ue&&K.pointerType!=="touch"||R&&R(K,de)},_o=function(){P._vx.reset(),P._vy.reset(),Ke.pause(),d&&d(P)},Jr=function(){var K=P.deltaX=Sh(Zt),de=P.deltaY=Sh(zt),W=Math.abs(K)>=n,ee=Math.abs(de)>=n;O&&(W||ee)&&O(P,K,de,Zt,zt),W&&(x&&P.deltaX>0&&x(P),E&&P.deltaX<0&&E(P),A&&A(P),F&&P.deltaX<0!=kt<0&&F(P),kt=P.deltaX,Zt[0]=Zt[1]=Zt[2]=0),ee&&(C&&P.deltaY>0&&C(P),w&&P.deltaY<0&&w(P),S&&S(P),k&&P.deltaY<0!=Tr<0&&k(P),Tr=P.deltaY,zt[0]=zt[1]=zt[2]=0),(B||bt)&&(M&&M(P),bt&&(v(P),bt=!1),B=!1),Ce&&!(Ce=!1)&&ie&&ie(P),Z&&(L(P),Z=!1),ne=0},fn=function(K,de,W){Zt[W]+=K,zt[W]+=de,P._vx.update(K),P._vy.update(de),l?ne||(ne=requestAnimationFrame(Jr)):Jr()},dn=function(K,de){fe&&!ze&&(P.axis=ze=Math.abs(K)>Math.abs(de)?"x":"y",Ce=!0),ze!=="y"&&(Zt[2]+=K,P._vx.update(K,!0)),ze!=="x"&&(zt[2]+=de,P._vy.update(de,!0)),l?ne||(ne=requestAnimationFrame(Jr)):Jr()},ei=function(K){if(!Re(K,1)){K=Ss(K,c);var de=K.clientX,W=K.clientY,ee=de-P.x,j=W-P.y,Q=P.isDragging;P.x=de,P.y=W,(Q||Math.abs(P.startX-de)>=s||Math.abs(P.startY-W)>=s)&&(v&&(bt=!0),Q||(P.isDragging=!0),dn(ee,j),Q||g&&g(P))}},Si=P.onPress=function(J){Re(J,1)||J&&J.button||(P.axis=ze=null,Ke.pause(),P.isPressed=!0,J=Ss(J),kt=Tr=0,P.startX=P.x=J.clientX,P.startY=P.y=J.clientY,P._vx.reset(),P._vy.reset(),_t(N?a:Pe,nr[1],ei,Kr,!0),P.deltaX=P.deltaY=0,y&&y(P))},ae=P.onRelease=function(J){if(!Re(J,1)){pt(N?a:Pe,nr[1],ei,!0);var K=!isNaN(P.y-P.startY),de=P.isDragging,W=de&&(Math.abs(P.x-P.startX)>3||Math.abs(P.y-P.startY)>3),ee=Ss(J);!W&&K&&(P._vx.reset(),P._vy.reset(),c&&Y&&tt.delayedCall(.08,function(){if(Ts()-Ar>300&&!J.defaultPrevented){if(J.target.click)J.target.click();else if(Pe.createEvent){var j=Pe.createEvent("MouseEvents");j.initMouseEvent("click",!0,!0,Nt,1,ee.screenX,ee.screenY,ee.clientX,ee.clientY,!1,!1,!1,!1,0,null),J.target.dispatchEvent(j)}}})),P.isDragging=P.isGesturing=P.isPressed=!1,d&&de&&!N&&Ke.restart(!0),m&&de&&m(P),b&&b(P,W)}},Ci=function(K){return K.touches&&K.touches.length>1&&(P.isGesturing=!0)&&T(K,P.isDragging)},Qt=function(){return(P.isGesturing=!1)||D(P)},Jt=function(K){if(!Re(K)){var de=Le(),W=Zr();fn((de-Ei)*G,(W-cn)*G,1),Ei=de,cn=W,d&&Ke.restart(!0)}},er=function(K){if(!Re(K)){K=Ss(K,c),L&&(Z=!0);var de=(K.deltaMode===1?u:K.deltaMode===2?Nt.innerHeight:1)*_;fn(K.deltaX*de,K.deltaY*de,0),d&&!N&&Ke.restart(!0)}},Ti=function(K){if(!Re(K)){var de=K.clientX,W=K.clientY,ee=de-P.x,j=W-P.y;P.x=de,P.y=W,B=!0,d&&Ke.restart(!0),(ee||j)&&dn(ee,j)}},hn=function(K){P.event=K,V(P)},Fr=function(K){P.event=K,z(P)},Zn=function(K){return Re(K)||Ss(K,c)&&X(P)};Ke=P._dc=tt.delayedCall(p||.25,_o).pause(),P.deltaX=P.deltaY=0,P._vx=sa(0,50,!0),P._vy=sa(0,50,!0),P.scrollX=Le,P.scrollY=Zr,P.isDragging=P.isGesturing=P.isPressed=!1,Ah(this),P.enable=function(J){return P.isEnabled||(_t(Qr?Pe:a,"scroll",Hl),o.indexOf("scroll")>=0&&_t(Qr?Pe:a,"scroll",Jt,Kr,I),o.indexOf("wheel")>=0&&_t(a,"wheel",er,Kr,I),(o.indexOf("touch")>=0&&Ch||o.indexOf("pointer")>=0)&&(_t(a,nr[0],Si,Kr,I),_t(Pe,nr[2],ae),_t(Pe,nr[3],ae),Y&&_t(a,"click",Kn,!0,!0),X&&_t(a,"click",Zn),T&&_t(Pe,"gesturestart",Ci),D&&_t(Pe,"gestureend",Qt),V&&_t(a,Gi+"enter",hn),z&&_t(a,Gi+"leave",Fr),M&&_t(a,Gi+"move",Ti)),P.isEnabled=!0,J&&J.type&&Si(J),U&&U(P)),P},P.disable=function(){P.isEnabled&&(Fn.filter(function(J){return J!==P&&As(J.target)}).length||pt(Qr?Pe:a,"scroll",Hl),P.isPressed&&(P._vx.reset(),P._vy.reset(),pt(N?a:Pe,nr[1],ei,!0)),pt(Qr?Pe:a,"scroll",Jt,I),pt(a,"wheel",er,I),pt(a,nr[0],Si,I),pt(Pe,nr[2],ae),pt(Pe,nr[3],ae),pt(a,"click",Kn,!0),pt(a,"click",Zn),pt(Pe,"gesturestart",Ci),pt(Pe,"gestureend",Qt),pt(a,Gi+"enter",hn),pt(a,Gi+"leave",Fr),pt(a,Gi+"move",Ti),P.isEnabled=P.isPressed=P.isDragging=!1,te&&te(P))},P.kill=P.revert=function(){P.disable();var J=Fn.indexOf(P);J>=0&&Fn.splice(J,1),Ir===P&&(Ir=0)},Fn.push(P),N&&As(a)&&(Ir=P),P.enable(h)},Mv(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();Oe.version="3.12.5";Oe.create=function(i){return new Oe(i)};Oe.register=kh;Oe.getAll=function(){return Fn.slice()};Oe.getById=function(i){return Fn.filter(function(e){return e.vars.id===i})[0]};Fh()&&tt.registerPlugin(Oe);var q,Mn,ce,Ee,or,ve,Kh,wa,Ws,Rs,Os,oa,lt,Sa,Kl,vt,Mh,Lh,Ln,Zh,ql,Qh,mt,Zl,Jh,ep,_i,Ql,ic,Rn,nc,ba,Jl,Yl,aa=1,ct=Date.now,Ul=ct(),Xt=0,Ps=0,Rh=function(e,t,r){var n=Bt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},Nh=function(e,t){return t&&(!Bt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Nv=function i(){return Ps&&requestAnimationFrame(i)},Ih=function(){return Sa=1},Bh=function(){return Sa=0},Dr=function(e){return e},ks=function(e){return Math.round(e*1e5)/1e5||0},tp=function(){return typeof window<"u"},rp=function(){return q||tp()&&(q=window.gsap)&&q.registerPlugin&&q},Ji=function(e){return!!~Kh.indexOf(e)},ip=function(e){return(e==="Height"?nc:ce["inner"+e])||or["client"+e]||ve["client"+e]},np=function(e){return zr(e,"getBoundingClientRect")||(Ji(e)?function(){return ya.width=ce.innerWidth,ya.height=nc,ya}:function(){return Vr(e)})},Iv=function(e,t,r){var n=r.d,s=r.d2,o=r.a;return(o=zr(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?ip(s):e["client"+s])||0}},Bv=function(e,t){return!t||~sr.indexOf(e)?np(e):function(){return ya}},yr=function(e,t){var r=t.s,n=t.d2,s=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=zr(e,r))?o()-np(e)()[s]:Ji(e)?(or[r]||ve[r])-ip(n):e[r]-e["offset"+n])},ua=function(e,t){for(var r=0;r<Ln.length;r+=3)(!t||~t.indexOf(Ln[r+1]))&&e(Ln[r],Ln[r+1],Ln[r+2])},Bt=function(e){return typeof e=="string"},yt=function(e){return typeof e=="function"},Ms=function(e){return typeof e=="number"},ji=function(e){return typeof e=="object"},Fs=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},Xl=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)}},Pn=Math.abs,sp="left",op="top",sc="right",oc="bottom",Ki="width",Zi="height",Ns="Right",Is="Left",Bs="Top",zs="Bottom",Be="padding",Yt="margin",In="Width",ac="Height",qe="px",Ut=function(e){return ce.getComputedStyle(e)},zv=function(e){var t=Ut(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},zh=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Vr=function(e,t){var r=t&&Ut(e)[Kl]!=="matrix(1, 0, 0, 1, 0, 0)"&&q.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},xa=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},ap=function(e){var t=[],r=e.labels,n=e.duration(),s;for(s in r)t.push(r[s]/n);return t},Vv=function(e){return function(t){return q.utils.snap(ap(e),t)}},uc=function(e){var t=q.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,s){return n-s});return r?function(n,s,o){o===void 0&&(o=.001);var a;if(!s)return t(n);if(s>0){for(n-=o,a=0;a<r.length;a++)if(r[a]>=n)return r[a];return r[a-1]}else for(a=r.length,n+=o;a--;)if(r[a]<=n)return r[a];return r[0]}:function(n,s,o){o===void 0&&(o=.001);var a=t(n);return!s||Math.abs(a-n)<o||a-n<0==s<0?a:t(s<0?n-e:n+e)}},Wv=function(e){return function(t,r){return uc(ap(e))(t,r.direction)}},la=function(e,t,r,n){return r.split(",").forEach(function(s){return e(t,s,n)})},$e=function(e,t,r,n,s){return e.addEventListener(t,r,{passive:!n,capture:!!s})},je=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},ca=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},Vh={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},fa={toggleActions:"play",anticipatePin:0},Ea={top:0,left:0,center:.5,bottom:1,right:1},ga=function(e,t){if(Bt(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 Ea?Ea[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},da=function(e,t,r,n,s,o,a,u){var l=s.startColor,c=s.endColor,d=s.fontSize,p=s.indent,f=s.fontWeight,_=Ee.createElement("div"),h=Ji(r)||zr(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,m=h?ve:r,v=e.indexOf("start")!==-1,y=v?l:c,b="border-color:"+y+";font-size:"+d+";color:"+y+";font-weight:"+f+";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||u)&&h?"fixed;":"absolute;"),(g||u||!h)&&(b+=(n===Ie?sc:oc)+":"+(o+parseFloat(p))+"px;"),a&&(b+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=v,_.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),_.style.cssText=b,_.innerText=t||t===0?e+"-"+t:e,m.children[0]?m.insertBefore(_,m.children[0]):m.appendChild(_),_._offset=_["offset"+n.op.d2],ma(_,0,n,v),_},ma=function(e,t,r,n){var s={display:"block"},o=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,s[r.a+"Percent"]=n?-100:0,s[r.a]=n?"1px":0,s["border"+o+In]=1,s["border"+a+In]=0,s[r.p]=t+"px",q.set(e,s)},oe=[],ec={},Hs,Wh=function(){return ct()-Xt>34&&(Hs||(Hs=requestAnimationFrame(Wr)))},kn=function(){(!mt||!mt.isPressed||mt.startX>ve.clientWidth)&&(se.cache++,mt?Hs||(Hs=requestAnimationFrame(Wr)):Wr(),Xt||tn("scrollStart"),Xt=ct())},Gl=function(){ep=ce.innerWidth,Jh=ce.innerHeight},Ls=function(){se.cache++,!lt&&!Qh&&!Ee.fullscreenElement&&!Ee.webkitFullscreenElement&&(!Zl||ep!==ce.innerWidth||Math.abs(ce.innerHeight-Jh)>ce.innerHeight*.25)&&wa.restart(!0)},en={},Hv=[],up=function i(){return je($,"scrollEnd",i)||$i(!0)},tn=function(e){return en[e]&&en[e].map(function(t){return t()})||Hv},It=[],lp=function(e){for(var t=0;t<It.length;t+=5)(!e||It[t+4]&&It[t+4].query===e)&&(It[t].style.cssText=It[t+1],It[t].getBBox&&It[t].setAttribute("transform",It[t+2]||""),It[t+3].uncache=1)},lc=function(e,t){var r;for(vt=0;vt<oe.length;vt++)r=oe[vt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ba=!0,t&&lp(t),t||tn("revert")},cp=function(e,t){se.cache++,(t||!Dt)&&se.forEach(function(r){return yt(r)&&r.cacheID++&&(r.rec=0)}),Bt(e)&&(ce.history.scrollRestoration=ic=e)},Dt,Qi=0,Hh,qv=function(){if(Hh!==Qi){var e=Hh=Qi;requestAnimationFrame(function(){return e===Qi&&$i(!0)})}},fp=function(){ve.appendChild(Rn),nc=!mt&&Rn.offsetHeight||ce.innerHeight,ve.removeChild(Rn)},qh=function(e){return Ws(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},$i=function(e,t){if(Xt&&!e&&!ba){$e($,"scrollEnd",up);return}fp(),Dt=$.isRefreshing=!0,se.forEach(function(n){return yt(n)&&++n.cacheID&&(n.rec=n())});var r=tn("refreshInit");Zh&&$.sort(),t||lc(),se.forEach(function(n){yt(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),oe.slice(0).forEach(function(n){return n.refresh()}),ba=!1,oe.forEach(function(n){if(n._subPinOffset&&n.pin){var s=n.vars.horizontal?"offsetWidth":"offsetHeight",o=n.pin[s];n.revert(!0,1),n.adjustPinSpacing(n.pin[s]-o),n.refresh()}}),Jl=1,qh(!0),oe.forEach(function(n){var s=yr(n.scroller,n._dir),o=n.vars.end==="max"||n._endClamp&&n.end>s,a=n._startClamp&&n.start>=s;(o||a)&&n.setPositions(a?s-1:n.start,o?Math.max(a?s:n.start+1,s):n.end,!0)}),qh(!1),Jl=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),se.forEach(function(n){yt(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),cp(ic,1),wa.pause(),Qi++,Dt=2,Wr(2),oe.forEach(function(n){return yt(n.vars.onRefresh)&&n.vars.onRefresh(n)}),Dt=$.isRefreshing=!1,tn("refresh")},tc=0,va=1,Vs,Wr=function(e){if(e===2||!Dt&&!ba){$.isUpdating=!0,Vs&&Vs.update(0);var t=oe.length,r=ct(),n=r-Ul>=50,s=t&&oe[0].scroll();if(va=tc>s?-1:1,Dt||(tc=s),n&&(Xt&&!Sa&&r-Xt>200&&(Xt=0,tn("scrollEnd")),Os=Ul,Ul=r),va<0){for(vt=t;vt-- >0;)oe[vt]&&oe[vt].update(0,n);va=1}else for(vt=0;vt<t;vt++)oe[vt]&&oe[vt].update(0,n);$.isUpdating=!1}Hs=0},rc=[sp,op,oc,sc,Yt+zs,Yt+Ns,Yt+Bs,Yt+Is,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Da=rc.concat([Ki,Zi,"boxSizing","max"+In,"max"+ac,"position",Yt,Be,Be+Bs,Be+Ns,Be+zs,Be+Is]),Yv=function(e,t,r){Nn(r);var n=e._gsap;if(n.spacerIsNative)Nn(n.spacerState);else if(e._gsap.swappedIn){var s=t.parentNode;s&&(s.insertBefore(e,t),s.removeChild(t))}e._gsap.swappedIn=!1},jl=function(e,t,r,n){if(!e._gsap.swappedIn){for(var s=rc.length,o=t.style,a=e.style,u;s--;)u=rc[s],o[u]=r[u];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),a[oc]=a[sc]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[Ki]=xa(e,ut)+qe,o[Zi]=xa(e,Ie)+qe,o[Be]=a[Yt]=a[op]=a[sp]="0",Nn(n),a[Ki]=a["max"+In]=r[Ki],a[Zi]=a["max"+ac]=r[Zi],a[Be]=r[Be],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Uv=/([A-Z])/g,Nn=function(e){if(e){var t=e.t.style,r=e.length,n=0,s,o;for((e.t._gsap||q.core.getCache(e.t)).uncache=1;n<r;n+=2)o=e[n+1],s=e[n],o?t[s]=o:t[s]&&t.removeProperty(s.replace(Uv,"-$1").toLowerCase())}},ha=function(e){for(var t=Da.length,r=e.style,n=[],s=0;s<t;s++)n.push(Da[s],r[Da[s]]);return n.t=e,n},Xv=function(e,t,r){for(var n=[],s=e.length,o=r?8:0,a;o<s;o+=2)a=e[o],n.push(a,a in t?t[a]:e[o+1]);return n.t=e.t,n},ya={left:0,top:0},Yh=function(e,t,r,n,s,o,a,u,l,c,d,p,f,_){yt(e)&&(e=e(u)),Bt(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?ga("0"+e.substr(3),r):0));var h=f?f.time():0,g,m,v;if(f&&f.seek(0),isNaN(e)||(e=+e),Ms(e))f&&(e=q.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,p,e)),a&&ma(a,r,n,!0);else{yt(t)&&(t=t(u));var y=(e||"0").split(" "),b,x,E,w;v=gt(t,u)||ve,b=Vr(v)||{},(!b||!b.left&&!b.top)&&Ut(v).display==="none"&&(w=v.style.display,v.style.display="block",b=Vr(v),w?v.style.display=w:v.style.removeProperty("display")),x=ga(y[0],b[n.d]),E=ga(y[1]||"0",r),e=b[n.p]-l[n.p]-c+x+s-E,a&&ma(a,E,n,r-E<20||a._isStart&&E>20),r-=r-E}if(_&&(u[_]=e||-.001,e<0&&(e=0)),o){var C=e+r,A=o._isStart;g="scroll"+n.d2,ma(o,C,n,A&&C>20||!A&&(d?Math.max(ve[g],or[g]):o.parentNode[g])<=C+1),d&&(l=Vr(a),d&&(o.style[n.op.p]=l[n.op.p]-n.op.m-o._offset+qe))}return f&&v&&(g=Vr(v),f.seek(p),m=Vr(v),f._caScrollDist=g[n.p]-m[n.p],e=e/f._caScrollDist*p),f&&f.seek(h),f?e:Math.round(e)},Gv=/(webkit|moz|length|cssText|inset)/i,Uh=function(e,t,r,n){if(e.parentNode!==t){var s=e.style,o,a;if(t===ve){e._stOrig=s.cssText,a=Ut(e);for(o in a)!+o&&!Gv.test(o)&&a[o]&&typeof s[o]=="string"&&o!=="0"&&(s[o]=a[o]);s.top=r,s.left=n}else s.cssText=e._stOrig;q.core.getCache(e).uncache=1,t.appendChild(e)}},dp=function(e,t,r){var n=t,s=n;return function(o){var a=Math.round(e());return a!==n&&a!==s&&Math.abs(a-n)>3&&Math.abs(a-s)>3&&(o=a,r&&r()),s=n,n=o,o}},pa=function(e,t,r){var n={};n[t.p]="+="+r,q.set(e,n)},Xh=function(e,t){var r=Br(e,t),n="_scroll"+t.p2,s=function o(a,u,l,c,d){var p=o.tween,f=u.onComplete,_={};l=l||r();var h=dp(r,l,function(){p.kill(),o.tween=0});return d=c&&d||0,c=c||a-l,p&&p.kill(),u[n]=a,u.inherit=!1,u.modifiers=_,_[n]=function(){return h(l+c*p.ratio+d*p.ratio*p.ratio)},u.onUpdate=function(){se.cache++,o.tween&&Wr()},u.onComplete=function(){o.tween=0,f&&f.call(p)},p=o.tween=q.to(e,u),p};return e[n]=r,r.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},$e(e,"wheel",r.wheelHandler),$.isTouch&&$e(e,"touchmove",r.wheelHandler),s},$=function(){function i(t,r){Mn||i.register(q)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Ql(this),this.init(t,r)}var e=i.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Ps){this.update=this.refresh=this.kill=Dr;return}r=zh(Bt(r)||Ms(r)||r.nodeType?{trigger:r}:r,fa);var s=r,o=s.onUpdate,a=s.toggleClass,u=s.id,l=s.onToggle,c=s.onRefresh,d=s.scrub,p=s.trigger,f=s.pin,_=s.pinSpacing,h=s.invalidateOnRefresh,g=s.anticipatePin,m=s.onScrubComplete,v=s.onSnapComplete,y=s.once,b=s.snap,x=s.pinReparent,E=s.pinSpacer,w=s.containerAnimation,C=s.fastScrollEnd,A=s.preventOverlaps,S=r.horizontal||r.containerAnimation&&r.horizontal!==!1?ut:Ie,O=!d&&d!==0,F=gt(r.scroller||ce),k=q.core.getCache(F),V=Ji(F),z=("pinType"in r?r.pinType:zr(F,"pinType")||V&&"fixed")==="fixed",M=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],R=O&&r.toggleActions.split(" "),N="markers"in r?r.markers:fa.markers,T=V?0:parseFloat(Ut(F)["border"+S.p2+In])||0,D=this,L=r.onRefreshInit&&function(){return r.onRefreshInit(D)},U=Iv(F,V,S),te=Bv(F,V),X=0,G=0,I=0,Y=Br(F,S),fe,ie,ne,Ke,bt,B,Z,Ce,ze,P,kt,Tr,Kr,Le,Zr,Ei,cn,Ue,Qr,Pe,Zt,zt,Ar,Kn,Re,_o,Jr,fn,dn,ei,Si,ae,Ci,Qt,Jt,er,Ti,hn,Fr;if(D._startClamp=D._endClamp=!1,D._dir=S,g*=45,D.scroller=F,D.scroll=w?w.time.bind(w):Y,Ke=Y(),D.vars=r,n=n||r.animation,"refreshPriority"in r&&(Zh=1,r.refreshPriority===-9999&&(Vs=D)),k.tweenScroll=k.tweenScroll||{top:Xh(F,Ie),left:Xh(F,ut)},D.tweenTo=fe=k.tweenScroll[S.p],D.scrubDuration=function(W){Ci=Ms(W)&&W,Ci?ae?ae.duration(W):ae=q.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ci,paused:!0,onComplete:function(){return m&&m(D)}}):(ae&&ae.progress(1).kill(),ae=0)},n&&(n.vars.lazy=!1,n._initted&&!D.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),D.animation=n.pause(),n.scrollTrigger=D,D.scrubDuration(d),ei=0,u||(u=n.vars.id)),b&&((!ji(b)||b.push)&&(b={snapTo:b}),"scrollBehavior"in ve.style&&q.set(V?[ve,or]:F,{scrollBehavior:"auto"}),se.forEach(function(W){return yt(W)&&W.target===(V?Ee.scrollingElement||or:F)&&(W.smooth=!1)}),ne=yt(b.snapTo)?b.snapTo:b.snapTo==="labels"?Vv(n):b.snapTo==="labelsDirectional"?Wv(n):b.directional!==!1?function(W,ee){return uc(b.snapTo)(W,ct()-G<500?0:ee.direction)}:q.utils.snap(b.snapTo),Qt=b.duration||{min:.1,max:2},Qt=ji(Qt)?Rs(Qt.min,Qt.max):Rs(Qt,Qt),Jt=q.delayedCall(b.delay||Ci/2||.1,function(){var W=Y(),ee=ct()-G<500,j=fe.tween;if((ee||Math.abs(D.getVelocity())<10)&&!j&&!Sa&&X!==W){var Q=(W-B)/Le,Xe=n&&!O?n.totalProgress():Q,ue=ee?0:(Xe-Si)/(ct()-Os)*1e3||0,ke=q.utils.clamp(-Q,1-Q,Pn(ue/2)*ue/.185),rt=Q+(b.inertia===!1?0:ke),Te,De,he=b,tr=he.onStart,we=he.onInterrupt,Mt=he.onComplete;if(Te=ne(rt,D),Ms(Te)||(Te=rt),De=Math.round(B+Te*Le),W<=Z&&W>=B&&De!==W){if(j&&!j._initted&&j.data<=Pn(De-W))return;b.inertia===!1&&(ke=Te-Q),fe(De,{duration:Qt(Pn(Math.max(Pn(rt-Xe),Pn(Te-Xe))*.185/ue/.05||0)),ease:b.ease||"power3",data:Pn(De-W),onInterrupt:function(){return Jt.restart(!0)&&we&&we(D)},onComplete:function(){D.update(),X=Y(),n&&(ae?ae.resetTo("totalProgress",Te,n._tTime/n._tDur):n.progress(Te)),ei=Si=n&&!O?n.totalProgress():D.progress,v&&v(D),Mt&&Mt(D)}},W,ke*Le,De-W-ke*Le),tr&&tr(D,fe.tween)}}else D.isActive&&X!==W&&Jt.restart(!0)}).pause()),u&&(ec[u]=D),p=D.trigger=gt(p||f!==!0&&f),Fr=p&&p._gsap&&p._gsap.stRevert,Fr&&(Fr=Fr(D)),f=f===!0?p:gt(f),Bt(a)&&(a={targets:p,className:a}),f&&(_===!1||_===Yt||(_=!_&&f.parentNode&&f.parentNode.style&&Ut(f.parentNode).display==="flex"?!1:Be),D.pin=f,ie=q.core.getCache(f),ie.spacer?Zr=ie.pinState:(E&&(E=gt(E),E&&!E.nodeType&&(E=E.current||E.nativeElement),ie.spacerIsNative=!!E,E&&(ie.spacerState=ha(E))),ie.spacer=Ue=E||Ee.createElement("div"),Ue.classList.add("pin-spacer"),u&&Ue.classList.add("pin-spacer-"+u),ie.pinState=Zr=ha(f)),r.force3D!==!1&&q.set(f,{force3D:!0}),D.spacer=Ue=ie.spacer,dn=Ut(f),Kn=dn[_+S.os2],Pe=q.getProperty(f),Zt=q.quickSetter(f,S.a,qe),jl(f,Ue,dn),cn=ha(f)),N){Tr=ji(N)?zh(N,Vh):Vh,P=da("scroller-start",u,F,S,Tr,0),kt=da("scroller-end",u,F,S,Tr,0,P),Qr=P["offset"+S.op.d2];var Zn=gt(zr(F,"content")||F);Ce=this.markerStart=da("start",u,Zn,S,Tr,Qr,0,w),ze=this.markerEnd=da("end",u,Zn,S,Tr,Qr,0,w),w&&(hn=q.quickSetter([Ce,ze],S.a,qe)),!z&&!(sr.length&&zr(F,"fixedMarkers")===!0)&&(zv(V?ve:F),q.set([P,kt],{force3D:!0}),_o=q.quickSetter(P,S.a,qe),fn=q.quickSetter(kt,S.a,qe))}if(w){var J=w.vars.onUpdate,K=w.vars.onUpdateParams;w.eventCallback("onUpdate",function(){D.update(0,0,1),J&&J.apply(w,K||[])})}if(D.previous=function(){return oe[oe.indexOf(D)-1]},D.next=function(){return oe[oe.indexOf(D)+1]},D.revert=function(W,ee){if(!ee)return D.kill(!0);var j=W!==!1||!D.enabled,Q=lt;j!==D.isReverted&&(j&&(er=Math.max(Y(),D.scroll.rec||0),I=D.progress,Ti=n&&n.progress()),Ce&&[Ce,ze,P,kt].forEach(function(Xe){return Xe.style.display=j?"none":"block"}),j&&(lt=D,D.update(j)),f&&(!x||!D.isActive)&&(j?Yv(f,Ue,Zr):jl(f,Ue,Ut(f),Re)),j||D.update(j),lt=Q,D.isReverted=j)},D.refresh=function(W,ee,j,Q){if(!((lt||!D.enabled)&&!ee)){if(f&&W&&Xt){$e(i,"scrollEnd",up);return}!Dt&&L&&L(D),lt=D,fe.tween&&!j&&(fe.tween.kill(),fe.tween=0),ae&&ae.pause(),h&&n&&n.revert({kill:!1}).invalidate(),D.isReverted||D.revert(!0,!0),D._subPinOffset=!1;var Xe=U(),ue=te(),ke=w?w.duration():yr(F,S),rt=Le<=.01,Te=0,De=Q||0,he=ji(j)?j.end:r.end,tr=r.endTrigger||p,we=ji(j)?j.start:r.start||(r.start===0||!p?0:f?"0 0":"0 100%"),Mt=D.pinnedContainer=r.pinnedContainer&>(r.pinnedContainer,D),cr=p&&Math.max(0,oe.indexOf(D))||0,Ze=cr,Qe,it,Ai,go,nt,Ve,fr,Ja,qc,Qn,dr,Jn,mo;for(N&&ji(j)&&(Jn=q.getProperty(P,S.p),mo=q.getProperty(kt,S.p));Ze--;)Ve=oe[Ze],Ve.end||Ve.refresh(0,1)||(lt=D),fr=Ve.pin,fr&&(fr===p||fr===f||fr===Mt)&&!Ve.isReverted&&(Qn||(Qn=[]),Qn.unshift(Ve),Ve.revert(!0,!0)),Ve!==oe[Ze]&&(cr--,Ze--);for(yt(we)&&(we=we(D)),we=Rh(we,"start",D),B=Yh(we,p,Xe,S,Y(),Ce,P,D,ue,T,z,ke,w,D._startClamp&&"_startClamp")||(f?-.001:0),yt(he)&&(he=he(D)),Bt(he)&&!he.indexOf("+=")&&(~he.indexOf(" ")?he=(Bt(we)?we.split(" ")[0]:"")+he:(Te=ga(he.substr(2),Xe),he=Bt(we)?we:(w?q.utils.mapRange(0,w.duration(),w.scrollTrigger.start,w.scrollTrigger.end,B):B)+Te,tr=p)),he=Rh(he,"end",D),Z=Math.max(B,Yh(he||(tr?"100% 0":ke),tr,Xe,S,Y()+Te,ze,kt,D,ue,T,z,ke,w,D._endClamp&&"_endClamp"))||-.001,Te=0,Ze=cr;Ze--;)Ve=oe[Ze],fr=Ve.pin,fr&&Ve.start-Ve._pinPush<=B&&!w&&Ve.end>0&&(Qe=Ve.end-(D._startClamp?Math.max(0,Ve.start):Ve.start),(fr===p&&Ve.start-Ve._pinPush<B||fr===Mt)&&isNaN(we)&&(Te+=Qe*(1-Ve.progress)),fr===f&&(De+=Qe));if(B+=Te,Z+=Te,D._startClamp&&(D._startClamp+=Te),D._endClamp&&!Dt&&(D._endClamp=Z||-.001,Z=Math.min(Z,yr(F,S))),Le=Z-B||(B-=.01)&&.001,rt&&(I=q.utils.clamp(0,1,q.utils.normalize(B,Z,er))),D._pinPush=De,Ce&&Te&&(Qe={},Qe[S.a]="+="+Te,Mt&&(Qe[S.p]="-="+Y()),q.set([Ce,ze],Qe)),f&&!(Jl&&D.end>=yr(F,S)))Qe=Ut(f),go=S===Ie,Ai=Y(),zt=parseFloat(Pe(S.a))+De,!ke&&Z>1&&(dr=(V?Ee.scrollingElement||or:F).style,dr={style:dr,value:dr["overflow"+S.a.toUpperCase()]},V&&Ut(ve)["overflow"+S.a.toUpperCase()]!=="scroll"&&(dr.style["overflow"+S.a.toUpperCase()]="scroll")),jl(f,Ue,Qe),cn=ha(f),it=Vr(f,!0),Ja=z&&Br(F,go?ut:Ie)(),_?(Re=[_+S.os2,Le+De+qe],Re.t=Ue,Ze=_===Be?xa(f,S)+Le+De:0,Ze&&(Re.push(S.d,Ze+qe),Ue.style.flexBasis!=="auto"&&(Ue.style.flexBasis=Ze+qe)),Nn(Re),Mt&&oe.forEach(function(es){es.pin===Mt&&es.vars.pinSpacing!==!1&&(es._subPinOffset=!0)}),z&&Y(er)):(Ze=xa(f,S),Ze&&Ue.style.flexBasis!=="auto"&&(Ue.style.flexBasis=Ze+qe)),z&&(nt={top:it.top+(go?Ai-B:Ja)+qe,left:it.left+(go?Ja:Ai-B)+qe,boxSizing:"border-box",position:"fixed"},nt[Ki]=nt["max"+In]=Math.ceil(it.width)+qe,nt[Zi]=nt["max"+ac]=Math.ceil(it.height)+qe,nt[Yt]=nt[Yt+Bs]=nt[Yt+Ns]=nt[Yt+zs]=nt[Yt+Is]="0",nt[Be]=Qe[Be],nt[Be+Bs]=Qe[Be+Bs],nt[Be+Ns]=Qe[Be+Ns],nt[Be+zs]=Qe[Be+zs],nt[Be+Is]=Qe[Be+Is],Ei=Xv(Zr,nt,x),Dt&&Y(0)),n?(qc=n._initted,ql(1),n.render(n.duration(),!0,!0),Ar=Pe(S.a)-zt+Le+De,Jr=Math.abs(Le-Ar)>1,z&&Jr&&Ei.splice(Ei.length-2,2),n.render(0,!0,!0),qc||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),ql(0)):Ar=Le,dr&&(dr.value?dr.style["overflow"+S.a.toUpperCase()]=dr.value:dr.style.removeProperty("overflow-"+S.a));else if(p&&Y()&&!w)for(it=p.parentNode;it&&it!==ve;)it._pinOffset&&(B-=it._pinOffset,Z-=it._pinOffset),it=it.parentNode;Qn&&Qn.forEach(function(es){return es.revert(!1,!0)}),D.start=B,D.end=Z,Ke=bt=Dt?er:Y(),!w&&!Dt&&(Ke<er&&Y(er),D.scroll.rec=0),D.revert(!1,!0),G=ct(),Jt&&(X=-1,Jt.restart(!0)),lt=0,n&&O&&(n._initted||Ti)&&n.progress()!==Ti&&n.progress(Ti||0,!0).render(n.time(),!0,!0),(rt||I!==D.progress||w||h)&&(n&&!O&&n.totalProgress(w&&B<-.001&&!I?q.utils.normalize(B,Z,0):I,!0),D.progress=rt||(Ke-B)/Le===I?0:I),f&&_&&(Ue._pinOffset=Math.round(D.progress*Ar)),ae&&ae.invalidate(),isNaN(Jn)||(Jn-=q.getProperty(P,S.p),mo-=q.getProperty(kt,S.p),pa(P,S,Jn),pa(Ce,S,Jn-(Q||0)),pa(kt,S,mo),pa(ze,S,mo-(Q||0))),rt&&!Dt&&D.update(),c&&!Dt&&!Kr&&(Kr=!0,c(D),Kr=!1)}},D.getVelocity=function(){return(Y()-bt)/(ct()-Os)*1e3||0},D.endAnimation=function(){Fs(D.callbackAnimation),n&&(ae?ae.progress(1):n.paused()?O||Fs(n,D.direction<0,1):Fs(n,n.reversed()))},D.labelToScroll=function(W){return n&&n.labels&&(B||D.refresh()||B)+n.labels[W]/n.duration()*Le||0},D.getTrailing=function(W){var ee=oe.indexOf(D),j=D.direction>0?oe.slice(0,ee).reverse():oe.slice(ee+1);return(Bt(W)?j.filter(function(Q){return Q.vars.preventOverlaps===W}):j).filter(function(Q){return D.direction>0?Q.end<=B:Q.start>=Z})},D.update=function(W,ee,j){if(!(w&&!j&&!W)){var Q=Dt===!0?er:D.scroll(),Xe=W?0:(Q-B)/Le,ue=Xe<0?0:Xe>1?1:Xe||0,ke=D.progress,rt,Te,De,he,tr,we,Mt,cr;if(ee&&(bt=Ke,Ke=w?Y():Q,b&&(Si=ei,ei=n&&!O?n.totalProgress():ue)),g&&f&&!lt&&!aa&&Xt&&(!ue&&B<Q+(Q-bt)/(ct()-Os)*g?ue=1e-4:ue===1&&Z>Q+(Q-bt)/(ct()-Os)*g&&(ue=.9999)),ue!==ke&&D.enabled){if(rt=D.isActive=!!ue&&ue<1,Te=!!ke&&ke<1,we=rt!==Te,tr=we||!!ue!=!!ke,D.direction=ue>ke?1:-1,D.progress=ue,tr&&!lt&&(De=ue&&!ke?0:ue===1?1:ke===1?2:3,O&&(he=!we&&R[De+1]!=="none"&&R[De+1]||R[De],cr=n&&(he==="complete"||he==="reset"||he in n))),A&&(we||cr)&&(cr||d||!n)&&(yt(A)?A(D):D.getTrailing(A).forEach(function(Ai){return Ai.endAnimation()})),O||(ae&&!lt&&!aa?(ae._dp._time-ae._start!==ae._time&&ae.render(ae._dp._time-ae._start),ae.resetTo?ae.resetTo("totalProgress",ue,n._tTime/n._tDur):(ae.vars.totalProgress=ue,ae.invalidate().restart())):n&&n.totalProgress(ue,!!(lt&&(G||W)))),f){if(W&&_&&(Ue.style[_+S.os2]=Kn),!z)Zt(ks(zt+Ar*ue));else if(tr){if(Mt=!W&&ue>ke&&Z+1>Q&&Q+1>=yr(F,S),x)if(!W&&(rt||Mt)){var Ze=Vr(f,!0),Qe=Q-B;Uh(f,ve,Ze.top+(S===Ie?Qe:0)+qe,Ze.left+(S===Ie?0:Qe)+qe)}else Uh(f,Ue);Nn(rt||Mt?Ei:cn),Jr&&ue<1&&rt||Zt(zt+(ue===1&&!Mt?Ar:0))}}b&&!fe.tween&&!lt&&!aa&&Jt.restart(!0),a&&(we||y&&ue&&(ue<1||!Yl))&&Ws(a.targets).forEach(function(Ai){return Ai.classList[rt||y?"add":"remove"](a.className)}),o&&!O&&!W&&o(D),tr&&!lt?(O&&(cr&&(he==="complete"?n.pause().totalProgress(1):he==="reset"?n.restart(!0).pause():he==="restart"?n.restart(!0):n[he]()),o&&o(D)),(we||!Yl)&&(l&&we&&Xl(D,l),M[De]&&Xl(D,M[De]),y&&(ue===1?D.kill(!1,1):M[De]=0),we||(De=ue===1?1:3,M[De]&&Xl(D,M[De]))),C&&!rt&&Math.abs(D.getVelocity())>(Ms(C)?C:2500)&&(Fs(D.callbackAnimation),ae?ae.progress(1):Fs(n,he==="reverse"?1:!ue,1))):O&&o&&!lt&&o(D)}if(fn){var it=w?Q/w.duration()*(w._caScrollDist||0):Q;_o(it+(P._isFlipped?1:0)),fn(it)}hn&&hn(-Q/w.duration()*(w._caScrollDist||0))}},D.enable=function(W,ee){D.enabled||(D.enabled=!0,$e(F,"resize",Ls),V||$e(F,"scroll",kn),L&&$e(i,"refreshInit",L),W!==!1&&(D.progress=I=0,Ke=bt=X=Y()),ee!==!1&&D.refresh())},D.getTween=function(W){return W&&fe?fe.tween:ae},D.setPositions=function(W,ee,j,Q){if(w){var Xe=w.scrollTrigger,ue=w.duration(),ke=Xe.end-Xe.start;W=Xe.start+ke*W/ue,ee=Xe.start+ke*ee/ue}D.refresh(!1,!1,{start:Nh(W,j&&!!D._startClamp),end:Nh(ee,j&&!!D._endClamp)},Q),D.update()},D.adjustPinSpacing=function(W){if(Re&&W){var ee=Re.indexOf(S.d)+1;Re[ee]=parseFloat(Re[ee])+W+qe,Re[1]=parseFloat(Re[1])+W+qe,Nn(Re)}},D.disable=function(W,ee){if(D.enabled&&(W!==!1&&D.revert(!0,!0),D.enabled=D.isActive=!1,ee||ae&&ae.pause(),er=0,ie&&(ie.uncache=1),L&&je(i,"refreshInit",L),Jt&&(Jt.pause(),fe.tween&&fe.tween.kill()&&(fe.tween=0)),!V)){for(var j=oe.length;j--;)if(oe[j].scroller===F&&oe[j]!==D)return;je(F,"resize",Ls),V||je(F,"scroll",kn)}},D.kill=function(W,ee){D.disable(W,ee),ae&&!ee&&ae.kill(),u&&delete ec[u];var j=oe.indexOf(D);j>=0&&oe.splice(j,1),j===vt&&va>0&&vt--,j=0,oe.forEach(function(Q){return Q.scroller===D.scroller&&(j=1)}),j||Dt||(D.scroll.rec=0),n&&(n.scrollTrigger=null,W&&n.revert({kill:!1}),ee||n.kill()),Ce&&[Ce,ze,P,kt].forEach(function(Q){return Q.parentNode&&Q.parentNode.removeChild(Q)}),Vs===D&&(Vs=0),f&&(ie&&(ie.uncache=1),j=0,oe.forEach(function(Q){return Q.pin===f&&j++}),j||(ie.spacer=0)),r.onKill&&r.onKill(D)},oe.push(D),D.enable(!1,!1),Fr&&Fr(D),n&&n.add&&!Le){var de=D.update;D.update=function(){D.update=de,B||Z||D.refresh()},q.delayedCall(.01,D.update),Le=.01,B=Z=0}else D.refresh();f&&qv()},i.register=function(r){return Mn||(q=r||rp(),tp()&&window.document&&i.enable(),Mn=Ps),Mn},i.defaults=function(r){if(r)for(var n in r)fa[n]=r[n];return fa},i.disable=function(r,n){Ps=0,oe.forEach(function(o){return o[n?"kill":"disable"](r)}),je(ce,"wheel",kn),je(Ee,"scroll",kn),clearInterval(oa),je(Ee,"touchcancel",Dr),je(ve,"touchstart",Dr),la(je,Ee,"pointerdown,touchstart,mousedown",Ih),la(je,Ee,"pointerup,touchend,mouseup",Bh),wa.kill(),ua(je);for(var s=0;s<se.length;s+=3)ca(je,se[s],se[s+1]),ca(je,se[s],se[s+2])},i.enable=function(){if(ce=window,Ee=document,or=Ee.documentElement,ve=Ee.body,q&&(Ws=q.utils.toArray,Rs=q.utils.clamp,Ql=q.core.context||Dr,ql=q.core.suppressOverwrites||Dr,ic=ce.history.scrollRestoration||"auto",tc=ce.pageYOffset,q.core.globals("ScrollTrigger",i),ve)){Ps=1,Rn=document.createElement("div"),Rn.style.height="100vh",Rn.style.position="absolute",fp(),Nv(),Oe.register(q),i.isTouch=Oe.isTouch,_i=Oe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Zl=Oe.isTouch===1,$e(ce,"wheel",kn),Kh=[ce,Ee,or,ve],q.matchMedia?(i.matchMedia=function(u){var l=q.matchMedia(),c;for(c in u)l.add(c,u[c]);return l},q.addEventListener("matchMediaInit",function(){return lc()}),q.addEventListener("matchMediaRevert",function(){return lp()}),q.addEventListener("matchMedia",function(){$i(0,1),tn("matchMedia")}),q.matchMedia("(orientation: portrait)",function(){return Gl(),Gl})):console.warn("Requires GSAP 3.11.0 or later"),Gl(),$e(Ee,"scroll",kn);var r=ve.style,n=r.borderTopStyle,s=q.core.Animation.prototype,o,a;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",o=Vr(ve),Ie.m=Math.round(o.top+Ie.sc())||0,ut.m=Math.round(o.left+ut.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),oa=setInterval(Wh,250),q.delayedCall(.5,function(){return aa=0}),$e(Ee,"touchcancel",Dr),$e(ve,"touchstart",Dr),la($e,Ee,"pointerdown,touchstart,mousedown",Ih),la($e,Ee,"pointerup,touchend,mouseup",Bh),Kl=q.utils.checkPrefix("transform"),Da.push(Kl),Mn=ct(),wa=q.delayedCall(.2,$i).pause(),Ln=[Ee,"visibilitychange",function(){var u=ce.innerWidth,l=ce.innerHeight;Ee.hidden?(Mh=u,Lh=l):(Mh!==u||Lh!==l)&&Ls()},Ee,"DOMContentLoaded",$i,ce,"load",$i,ce,"resize",Ls],ua($e),oe.forEach(function(u){return u.enable(0,1)}),a=0;a<se.length;a+=3)ca(je,se[a],se[a+1]),ca(je,se[a],se[a+2])}},i.config=function(r){"limitCallbacks"in r&&(Yl=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(oa)||(oa=n)&&setInterval(Wh,n),"ignoreMobileResize"in r&&(Zl=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(ua(je)||ua($e,r.autoRefreshEvents||"none"),Qh=(r.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(r,n){var s=gt(r),o=se.indexOf(s),a=Ji(s);~o&&se.splice(o,a?6:2),n&&(a?sr.unshift(ce,n,ve,n,or,n):sr.unshift(s,n))},i.clearMatchMedia=function(r){oe.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},i.isInViewport=function(r,n,s){var o=(Bt(r)?gt(r):r).getBoundingClientRect(),a=o[s?Ki:Zi]*n||0;return s?o.right-a>0&&o.left+a<ce.innerWidth:o.bottom-a>0&&o.top+a<ce.innerHeight},i.positionInViewport=function(r,n,s){Bt(r)&&(r=gt(r));var o=r.getBoundingClientRect(),a=o[s?Ki:Zi],u=n==null?a/2:n in Ea?Ea[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return s?(o.left+u)/ce.innerWidth:(o.top+u)/ce.innerHeight},i.killAll=function(r){if(oe.slice(0).forEach(function(s){return s.vars.id!=="ScrollSmoother"&&s.kill()}),r!==!0){var n=en.killAll||[];en={},n.forEach(function(s){return s()})}},i}();$.version="3.12.5";$.saveStyles=function(i){return i?Ws(i).forEach(function(e){if(e&&e.style){var t=It.indexOf(e);t>=0&&It.splice(t,5),It.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),q.core.getCache(e),Ql())}}):It};$.revert=function(i,e){return lc(!i,e)};$.create=function(i,e){return new $(i,e)};$.refresh=function(i){return i?Ls():(Mn||$.register())&&$i(!0)};$.update=function(i){return++se.cache&&Wr(i===!0?2:0)};$.clearScrollMemory=cp;$.maxScroll=function(i,e){return yr(i,e?ut:Ie)};$.getScrollFunc=function(i,e){return Br(gt(i),e?ut:Ie)};$.getById=function(i){return ec[i]};$.getAll=function(){return oe.filter(function(i){return i.vars.id!=="ScrollSmoother"})};$.isScrolling=function(){return!!Xt};$.snapDirectional=uc;$.addEventListener=function(i,e){var t=en[i]||(en[i]=[]);~t.indexOf(e)||t.push(e)};$.removeEventListener=function(i,e){var t=en[i],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};$.batch=function(i,e){var t=[],r={},n=e.interval||.016,s=e.batchMax||1e9,o=function(l,c){var d=[],p=[],f=q.delayedCall(n,function(){c(d,p),d=[],p=[]}).pause();return function(_){d.length||f.restart(!0),d.push(_.trigger),p.push(_),s<=d.length&&f.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&yt(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return yt(s)&&(s=s(),$e($,"refresh",function(){return s=e.batchMax()})),Ws(i).forEach(function(u){var l={};for(a in r)l[a]=r[a];l.trigger=u,t.push($.create(l))}),t};var Gh=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},$l=function i(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Oe.isTouch?" pinch-zoom":""):"none",e===or&&i(ve,t)},_a={auto:1,scroll:1},jv=function(e){var t=e.event,r=e.target,n=e.axis,s=(t.changedTouches?t.changedTouches[0]:t).target,o=s._gsap||q.core.getCache(s),a=ct(),u;if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==ve&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(_a[(u=Ut(s)).overflowY]||_a[u.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!Ji(s)&&(_a[(u=Ut(s)).overflowY]||_a[u.overflowX]),o._isScrollT=a}(o._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},hp=function(e,t,r,n){return Oe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&jv,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&$e(Ee,Oe.eventTypes[0],$h,!1,!0)},onDisable:function(){return je(Ee,Oe.eventTypes[0],$h,!0)}})},$v=/(input|label|select|textarea)/i,jh,$h=function(e){var t=$v.test(e.target.tagName);(t||jh)&&(e._gsapAllow=!0,jh=t)},Kv=function(e){ji(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,s=t.allowNestedScroll,o=t.onRelease,a,u,l=gt(e.target)||or,c=q.core.globals().ScrollSmoother,d=c&&c.get(),p=_i&&(e.content&>(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=Br(l,Ie),_=Br(l,ut),h=1,g=(Oe.isTouch&&ce.visualViewport?ce.visualViewport.scale*ce.visualViewport.width:ce.outerWidth)/ce.innerWidth,m=0,v=yt(n)?function(){return n(a)}:function(){return n||2.8},y,b,x=hp(l,e.type,!0,s),E=function(){return b=!1},w=Dr,C=Dr,A=function(){u=yr(l,Ie),C=Rs(_i?1:0,u),r&&(w=Rs(0,yr(l,ut))),y=Qi},S=function(){p._gsap.y=ks(parseFloat(p._gsap.y)+f.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)",f.offset=f.cacheID=0},O=function(){if(b){requestAnimationFrame(E);var N=ks(a.deltaY/2),T=C(f.v-N);if(p&&T!==f.v+f.offset){f.offset=T-f.v;var D=ks((parseFloat(p&&p._gsap.y)||0)-f.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+D+", 0, 1)",p._gsap.y=D+"px",f.cacheID=se.cache,Wr()}return!0}f.offset&&S(),b=!0},F,k,V,z,M=function(){A(),F.isActive()&&F.vars.scrollY>u&&(f()>u?F.progress(1)&&f(u):F.resetTo("scrollY",u))};return p&&q.set(p,{y:"+=0"}),e.ignoreCheck=function(R){return _i&&R.type==="touchmove"&&O(R)||h>1.05&&R.type!=="touchstart"||a.isGesturing||R.touches&&R.touches.length>1},e.onPress=function(){b=!1;var R=h;h=ks((ce.visualViewport&&ce.visualViewport.scale||1)/g),F.pause(),R!==h&&$l(l,h>1.01?!0:r?!1:"x"),k=_(),V=f(),A(),y=Qi},e.onRelease=e.onGestureStart=function(R,N){if(f.offset&&S(),!N)z.restart(!0);else{se.cache++;var T=v(),D,L;r&&(D=_(),L=D+T*.05*-R.velocityX/.227,T*=Gh(_,D,L,yr(l,ut)),F.vars.scrollX=w(L)),D=f(),L=D+T*.05*-R.velocityY/.227,T*=Gh(f,D,L,yr(l,Ie)),F.vars.scrollY=C(L),F.invalidate().duration(T).play(.01),(_i&&F.vars.scrollY>=u||D>=u-1)&&q.to({},{onUpdate:M,duration:T})}o&&o(R)},e.onWheel=function(){F._ts&&F.pause(),ct()-m>1e3&&(y=0,m=ct())},e.onChange=function(R,N,T,D,L){if(Qi!==y&&A(),N&&r&&_(w(D[2]===N?k+(R.startX-R.x):_()+N-D[1])),T){f.offset&&S();var U=L[2]===T,te=U?V+R.startY-R.y:f()+T-L[1],X=C(te);U&&te!==X&&(V+=X-te),f(X)}(T||N)&&Wr()},e.onEnable=function(){$l(l,r?!1:"x"),$.addEventListener("refresh",M),$e(ce,"resize",M),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),x.enable()},e.onDisable=function(){$l(l,!0),je(ce,"resize",M),$.removeEventListener("refresh",M),x.kill()},e.lockAxis=e.lockAxis!==!1,a=new Oe(e),a.iOS=_i,_i&&!f()&&f(1),_i&&q.ticker.add(Dr),z=a._dc,F=q.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:dp(f,f(),function(){return F.pause()})},onUpdate:Wr,onComplete:z.vars.onComplete}),a};$.sort=function(i){return oe.sort(i||function(e,t){return(e.vars.refreshPriority||0)*-1e6+e.start-(t.start+(t.vars.refreshPriority||0)*-1e6)})};$.observe=function(i){return new Oe(i)};$.normalizeScroll=function(i){if(typeof i>"u")return mt;if(i===!0&&mt)return mt.enable();if(i===!1){mt&&mt.kill(),mt=i;return}var e=i instanceof Oe?i:Kv(i);return mt&&mt.target===e.target&&mt.kill(),Ji(e.target)&&(mt=e),e};$.core={_getVelocityProp:sa,_inputObserver:hp,_scrollers:se,_proxies:sr,bridge:{ss:function(){Xt||tn("scrollStart"),Xt=ct()},ref:function(){return lt}}};rp()&&q.registerPlugin($);var wt,mp,Hr,wr,gi,vp,Dp,Ca,yp=function(){return typeof window<"u"},wp=function(){return wt||yp()&&(wt=window.gsap)&&wt.registerPlugin&&wt},bp=function(e){return typeof e=="string"},pp=function(e){return typeof e=="function"},qs=function(e,t){var r=t==="x"?"Width":"Height",n="scroll"+r,s="client"+r;return e===Hr||e===wr||e===gi?Math.max(wr[n],gi[n])-(Hr["inner"+r]||wr[s]||gi[s]):e[n]-e["offset"+r]},Ys=function(e,t){var r="scroll"+(t==="x"?"Left":"Top");return e===Hr&&(e.pageXOffset!=null?r="page"+t.toUpperCase()+"Offset":e=wr[r]!=null?wr:gi),function(){return e[r]}},Zv=function(e,t,r,n){if(pp(e)&&(e=e(t,r,n)),typeof e!="object")return bp(e)&&e!=="max"&&e.charAt(1)!=="="?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var s={},o;for(o in e)s[o]=o!=="onAutoKill"&&pp(e[o])?e[o](t,r,n):e[o];return s},xp=function(e,t){if(e=vp(e)[0],!e||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=e.getBoundingClientRect(),n=!t||t===Hr||t===gi,s=n?{top:wr.clientTop-(Hr.pageYOffset||wr.scrollTop||gi.scrollTop||0),left:wr.clientLeft-(Hr.pageXOffset||wr.scrollLeft||gi.scrollLeft||0)}:t.getBoundingClientRect(),o={x:r.left-s.left,y:r.top-s.top};return!n&&t&&(o.x+=Ys(t,"x")(),o.y+=Ys(t,"y")()),o},_p=function(e,t,r,n,s){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-s:bp(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+n-s:e==="max"?qs(t,r)-s:Math.min(qs(t,r),xp(e,t)[r]-s)},gp=function(){wt=wp(),yp()&&wt&&typeof document<"u"&&document.body&&(Hr=window,gi=document.body,wr=document.documentElement,vp=wt.utils.toArray,wt.config({autoKillThreshold:7}),Dp=wt.config(),mp=1)},Bn={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(e){wt=e,gp()},init:function(e,t,r,n,s){mp||gp();var o=this,a=wt.getProperty(e,"scrollSnapType");o.isWin=e===Hr,o.target=e,o.tween=r,t=Zv(t,n,e,s),o.vars=t,o.autoKill=!!t.autoKill,o.getX=Ys(e,"x"),o.getY=Ys(e,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),Ca||(Ca=wt.core.globals().ScrollTrigger),wt.getProperty(e,"scrollBehavior")==="smooth"&&wt.set(e,{scrollBehavior:"auto"}),a&&a!=="none"&&(o.snap=1,o.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),t.x!=null?(o.add(o,"x",o.x,_p(t.x,e,"x",o.x,t.offsetX||0),n,s),o._props.push("scrollTo_x")):o.skipX=1,t.y!=null?(o.add(o,"y",o.y,_p(t.y,e,"y",o.y,t.offsetY||0),n,s),o._props.push("scrollTo_y")):o.skipY=1},render:function(e,t){for(var r=t._pt,n=t.target,s=t.tween,o=t.autoKill,a=t.xPrev,u=t.yPrev,l=t.isWin,c=t.snap,d=t.snapInline,p,f,_,h,g;r;)r.r(e,r.d),r=r._next;p=l||!t.skipX?t.getX():a,f=l||!t.skipY?t.getY():u,_=f-u,h=p-a,g=Dp.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),o&&(!t.skipX&&(h>g||h<-g)&&p<qs(n,"x")&&(t.skipX=1),!t.skipY&&(_>g||_<-g)&&f<qs(n,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(s.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(s,t.vars.onAutoKillParams||[]))),l?Hr.scrollTo(t.skipX?p:t.x,t.skipY?f:t.y):(t.skipY||(n.scrollTop=t.y),t.skipX||(n.scrollLeft=t.x)),c&&(e===1||e===0)&&(f=n.scrollTop,p=n.scrollLeft,d?n.style.scrollSnapType=d:n.style.removeProperty("scroll-snap-type"),n.scrollTop=f+1,n.scrollLeft=p+1,n.scrollTop=f,n.scrollLeft=p),t.xPrev=t.x,t.yPrev=t.y,Ca&&Ca.update()},kill:function(e){var t=e==="scrollTo",r=this._props.indexOf(e);return(t||e==="scrollTo_x")&&(this.skipX=1),(t||e==="scrollTo_y")&&(this.skipY=1),r>-1&&this._props.splice(r,1),!this._props.length}};Bn.max=qs;Bn.getOffset=xp;Bn.buildGetter=Ys;wp()&&wt.registerPlugin(Bn);var Qv=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var Jv=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var eD=Math.PI/180,y1=180/Math.PI,Ta=Math.sin,Aa=Math.cos,Xs=Math.abs,Us=Math.sqrt;var tD=function(e){return typeof e=="number"};var Ep=1e5;var mi=function(e){return Math.round(e*Ep)/Ep||0};function Sp(i,e,t,r,n,s,o){for(var a=i.length,u,l,c,d,p;--a>-1;)for(u=i[a],l=u.length,c=0;c<l;c+=2)d=u[c],p=u[c+1],u[c]=d*e+p*r+s,u[c+1]=d*t+p*n+o;return i._dirty=1,i}function rD(i,e,t,r,n,s,o,a,u){if(!(i===a&&e===u)){t=Xs(t),r=Xs(r);var l=n%360*eD,c=Aa(l),d=Ta(l),p=Math.PI,f=p*2,_=(i-a)/2,h=(e-u)/2,g=c*_+d*h,m=-d*_+c*h,v=g*g,y=m*m,b=v/(t*t)+y/(r*r);b>1&&(t=Us(b)*t,r=Us(b)*r);var x=t*t,E=r*r,w=(x*E-x*y-E*v)/(x*y+E*v);w<0&&(w=0);var C=(s===o?-1:1)*Us(w),A=C*(t*m/r),S=C*-(r*g/t),O=(i+a)/2,F=(e+u)/2,k=O+(c*A-d*S),V=F+(d*A+c*S),z=(g-A)/t,M=(m-S)/r,R=(-g-A)/t,N=(-m-S)/r,T=z*z+M*M,D=(M<0?-1:1)*Math.acos(z/Us(T)),L=(z*N-M*R<0?-1:1)*Math.acos((z*R+M*N)/Us(T*(R*R+N*N)));isNaN(L)&&(L=p),!o&&L>0?L-=f:o&&L<0&&(L+=f),D%=f,L%=f;var U=Math.ceil(Xs(L)/(f/4)),te=[],X=L/U,G=4/3*Ta(X/2)/(1+Aa(X/2)),I=c*t,Y=d*t,fe=d*-r,ie=c*r,ne;for(ne=0;ne<U;ne++)n=D+ne*X,g=Aa(n),m=Ta(n),z=Aa(n+=X),M=Ta(n),te.push(g-G*m,m+G*g,z+G*M,M-G*z,z,M);for(ne=0;ne<te.length;ne+=2)g=te[ne],m=te[ne+1],te[ne]=g*I+m*fe+k,te[ne+1]=g*Y+m*ie+V;return te[ne-2]=a,te[ne-1]=u,te}}function Cp(i){var e=(i+"").replace(Jv,function(A){var S=+A;return S<1e-4&&S>-1e-4?0:S}).match(Qv)||[],t=[],r=0,n=0,s=2/3,o=e.length,a=0,u="ERROR: malformed path: "+i,l,c,d,p,f,_,h,g,m,v,y,b,x,E,w,C=function(S,O,F,k){v=(F-S)/3,y=(k-O)/3,h.push(S+v,O+y,F-v,k-y,F,k)};if(!i||!isNaN(e[0])||isNaN(e[1]))return console.log(u),t;for(l=0;l<o;l++)if(x=f,isNaN(e[l])?(f=e[l].toUpperCase(),_=f!==e[l]):l--,d=+e[l+1],p=+e[l+2],_&&(d+=r,p+=n),l||(g=d,m=p),f==="M")h&&(h.length<8?t.length-=1:a+=h.length),r=g=d,n=m=p,h=[d,p],t.push(h),l+=2,f="L";else if(f==="C")h||(h=[0,0]),_||(r=n=0),h.push(d,p,r+e[l+3]*1,n+e[l+4]*1,r+=e[l+5]*1,n+=e[l+6]*1),l+=6;else if(f==="S")v=r,y=n,(x==="C"||x==="S")&&(v+=r-h[h.length-4],y+=n-h[h.length-3]),_||(r=n=0),h.push(v,y,d,p,r+=e[l+3]*1,n+=e[l+4]*1),l+=4;else if(f==="Q")v=r+(d-r)*s,y=n+(p-n)*s,_||(r=n=0),r+=e[l+3]*1,n+=e[l+4]*1,h.push(v,y,r+(d-r)*s,n+(p-n)*s,r,n),l+=4;else if(f==="T")v=r-h[h.length-4],y=n-h[h.length-3],h.push(r+v,n+y,d+(r+v*1.5-d)*s,p+(n+y*1.5-p)*s,r=d,n=p),l+=2;else if(f==="H")C(r,n,r=d,n),l+=1;else if(f==="V")C(r,n,r,n=d+(_?n-r:0)),l+=1;else if(f==="L"||f==="Z")f==="Z"&&(d=g,p=m,h.closed=!0),(f==="L"||Xs(r-d)>.5||Xs(n-p)>.5)&&(C(r,n,d,p),f==="L"&&(l+=2)),r=d,n=p;else if(f==="A"){if(E=e[l+4],w=e[l+5],v=e[l+6],y=e[l+7],c=7,E.length>1&&(E.length<3?(y=v,v=w,c--):(y=w,v=E.substr(2),c-=2),w=E.charAt(1),E=E.charAt(0)),b=rD(r,n,+e[l+1],+e[l+2],+e[l+3],+E,+w,(_?r:0)+v*1,(_?n:0)+y*1),l+=c,b)for(c=0;c<b.length;c++)h.push(b[c]);r=h[h.length-2],n=h[h.length-1]}else console.log(u);return l=h.length,l<6?(t.pop(),l=0):h[0]===h[l-2]&&h[1]===h[l-1]&&(h.closed=!0),t.totalPoints=a+l,t}function Tp(i){tD(i[0])&&(i=[i]);var e="",t=i.length,r,n,s,o;for(n=0;n<t;n++){for(o=i[n],e+="M"+mi(o[0])+","+mi(o[1])+" C",r=o.length,s=2;s<r;s++)e+=mi(o[s++])+","+mi(o[s++])+" "+mi(o[s++])+","+mi(o[s++])+" "+mi(o[s++])+","+mi(o[s])+" ";o.closed&&(e+="z")}return e}var At,Fp,Op=function(){return At||typeof window<"u"&&(At=window.gsap)&&At.registerPlugin&&At},Ap=function(){At=Op(),At?(At.registerEase("_CE",rn.create),Fp=1):console.warn("Please gsap.registerPlugin(CustomEase)")},iD=1e20,Fa=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},nD=1,sD=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,oD=/[cLlsSaAhHvVtTqQ]/g,aD=function(e){var t=e.length,r=iD,n;for(n=1;n<t;n+=6)+e[n]<r&&(r=+e[n]);return r},uD=function(e,t,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var n=+e[0]*-1,s=-r,o=e.length,a=1/(+e[o-2]+n),u=-t||(Math.abs(+e[o-1]-+e[1])<.01*(+e[o-2]-+e[0])?aD(e)+s:+e[o-1]+s),l;for(u?u=1/u:u=-a,l=0;l<o;l+=2)e[l]=(+e[l]+n)*a,e[l+1]=(+e[l+1]+s)*u},lD=function i(e,t,r,n,s,o,a,u,l,c,d){var p=(e+r)/2,f=(t+n)/2,_=(r+s)/2,h=(n+o)/2,g=(s+a)/2,m=(o+u)/2,v=(p+_)/2,y=(f+h)/2,b=(_+g)/2,x=(h+m)/2,E=(v+b)/2,w=(y+x)/2,C=a-e,A=u-t,S=Math.abs((r-a)*A-(n-u)*C),O=Math.abs((s-a)*A-(o-u)*C),F;return c||(c=[{x:e,y:t},{x:a,y:u}],d=1),c.splice(d||c.length-1,0,{x:E,y:w}),(S+O)*(S+O)>l*(C*C+A*A)&&(F=c.length,i(e,t,p,f,v,y,E,w,l,c,d),i(E,w,b,x,g,m,a,u,l,c,d+1+(c.length-F))),c},rn=function(){function i(t,r,n){Fp||Ap(),this.id=t,nD&&this.setData(r,n)}var e=i.prototype;return e.setData=function(r,n){n=n||{},r=r||"0,0,1,1";var s=r.match(sD),o=1,a=[],u=[],l=n.precision||1,c=l<=1,d,p,f,_,h,g,m,v,y;if(this.data=r,(oD.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(s=Cp(r)[0]),d=s.length,d===4)s.unshift(0,0),s.push(1,1),d=8;else if((d-2)%6)throw"Invalid CustomEase";for((+s[0]!=0||+s[d-2]!=1)&&uD(s,n.height,n.originY),this.segment=s,_=2;_<d;_+=6)p={x:+s[_-2],y:+s[_-1]},f={x:+s[_+4],y:+s[_+5]},a.push(p,f),lD(p.x,p.y,+s[_],+s[_+1],+s[_+2],+s[_+3],f.x,f.y,1/(l*2e5),a,a.length-1);for(d=a.length,_=0;_<d;_++)m=a[_],v=a[_-1]||m,(m.x>v.x||v.y!==m.y&&v.x===m.x||m===v)&&m.x<=1?(v.cx=m.x-v.x,v.cy=m.y-v.y,v.n=m,v.nx=m.x,c&&_>1&&Math.abs(v.cy/v.cx-a[_-2].cy/a[_-2].cx)>2&&(c=0),v.cx<o&&(v.cx?o=v.cx:(v.cx=.001,_===d-1&&(v.x-=.001,o=Math.min(o,.001),c=0)))):(a.splice(_--,1),d--);if(d=1/o+1|0,h=1/d,g=0,m=a[0],c){for(_=0;_<d;_++)y=_*h,m.nx<y&&(m=a[++g]),p=m.y+(y-m.x)/m.cx*m.cy,u[_]={x:y,cx:h,y:p,cy:0,nx:9},_&&(u[_-1].cy=p-u[_-1].y);u[d-1].cy=a[a.length-1].y-p}else{for(_=0;_<d;_++)m.nx<_*h&&(m=a[++g]),u[_]=m;g<a.length-1&&(u[_-1]=a[a.length-2])}return this.ease=function(b){var x=u[b*d|0]||u[d-1];return x.nx<b&&(x=x.n),x.y+(b-x.x)/x.cx*x.cy},this.ease.custom=this,this.id&&At&&At.registerEase(this.id,this.ease),this},e.getSVGData=function(r){return i.getSVGData(this,r)},i.create=function(r,n,s){return new i(r,n,s).ease},i.register=function(r){At=r,Ap()},i.get=function(r){return At.parseEase(r)},i.getSVGData=function(r,n){n=n||{};var s=n.width||100,o=n.height||100,a=n.x||0,u=(n.y||0)+o,l=At.utils.toArray(n.path)[0],c,d,p,f,_,h,g,m,v,y;if(n.invert&&(o=-o,u=0),typeof r=="string"&&(r=At.parseEase(r)),r.custom&&(r=r.custom),r instanceof i)c=Tp(Sp([r.segment],s,0,0,-o,a,u));else{for(c=[a,u],g=Math.max(5,(n.precision||1)*200),f=1/g,g+=2,m=5/g,v=Fa(a+f*s),y=Fa(u+r(f)*-o),d=(y-u)/(v-a),p=2;p<g;p++)_=Fa(a+p*f*s),h=Fa(u+r(p*f)*-o),(Math.abs((h-y)/(_-v)-d)>m||p===g-1)&&(c.push(v,y),d=(h-y)/(_-v)),v=_,y=h;c="M"+c.join(",")}return l&&l.setAttribute("d",c),c},i}();Op()&&At.registerPlugin(rn);rn.version="3.12.5";var Pp=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function cc(i){var e=i.nodeType,t="";if(e===1||e===9||e===11){if(typeof i.textContent=="string")return i.textContent;for(i=i.firstChild;i;i=i.nextSibling)t+=cc(i)}else if(e===3||e===4)return i.nodeValue;return t}var zn,dc,Lp,Gs,Rp,Oa,cD=/(?:\r|\n|\t\t)/g,fD=/(?:\s\s+)/g,dD=String.fromCharCode(160),Np=function(e){zn=document,dc=window,Gs=Gs||e||dc.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),Gs&&(Oa=Gs.utils.toArray,Rp=Gs.core.context||function(){},Lp=1)},hD=1,Ip=function(e){return dc.getComputedStyle(e)},hc=function(e){return e.position==="absolute"||e.absolute===!0},pD=function(e,t){for(var r=t.length,n;--r>-1;)if(n=t[r],e.substr(0,n.length)===n)return n.length},_D=" style='position:relative;display:inline-block;'",kp=function(e,t){e===void 0&&(e="");var r=~e.indexOf("++"),n=1;return r&&(e=e.split("++").join("")),function(){return"<"+t+_D+(e?" class='"+e+(r?n++:"")+"'>":">")}},Bp=function i(e,t,r){var n=e.nodeType;if(n===1||n===9||n===11)for(e=e.firstChild;e;e=e.nextSibling)i(e,t,r);else(n===3||n===4)&&(e.nodeValue=e.nodeValue.split(t).join(r))},fc=function(e,t){for(var r=t.length;--r>-1;)e.push(t[r])},Mp=function(e,t,r){for(var n;e&&e!==t;){if(n=e._next||e.nextSibling,n)return n.textContent.charAt(0)===r;e=e.parentNode||e._parent}},gD=function i(e){var t=Oa(e.childNodes),r=t.length,n,s;for(n=0;n<r;n++)s=t[n],s._isSplit?i(s):n&&s.previousSibling&&s.previousSibling.nodeType===3?(s.previousSibling.nodeValue+=s.nodeType===3?s.nodeValue:s.firstChild.nodeValue,e.removeChild(s)):s.nodeType!==3&&(e.insertBefore(s.firstChild,s),e.removeChild(s))},br=function(e,t){return parseFloat(t[e])||0},mD=function(e,t,r,n,s,o,a){var u=Ip(e),l=br("paddingLeft",u),c=-999,d=br("borderBottomWidth",u)+br("borderTopWidth",u),p=br("borderLeftWidth",u)+br("borderRightWidth",u),f=br("paddingTop",u)+br("paddingBottom",u),_=br("paddingLeft",u)+br("paddingRight",u),h=br("fontSize",u)*(t.lineThreshold||.2),g=u.textAlign,m=[],v=[],y=[],b=t.wordDelimiter||" ",x=t.tag?t.tag:t.span?"span":"div",E=t.type||t.split||"chars,words,lines",w=s&&~E.indexOf("lines")?[]:null,C=~E.indexOf("words"),A=~E.indexOf("chars"),S=hc(t),O=t.linesClass,F=~(O||"").indexOf("++"),k=[],V=u.display==="flex",z=e.style.display,M,R,N,T,D,L,U,te,X,G,I,Y;for(F&&(O=O.split("++").join("")),V&&(e.style.display="block"),R=e.getElementsByTagName("*"),N=R.length,D=[],M=0;M<N;M++)D[M]=R[M];if(w||S)for(M=0;M<N;M++)T=D[M],L=T.parentNode===e,(L||S||A&&!C)&&(Y=T.offsetTop,w&&L&&Math.abs(Y-c)>h&&(T.nodeName!=="BR"||M===0)&&(U=[],w.push(U),c=Y),S&&(T._x=T.offsetLeft,T._y=Y,T._w=T.offsetWidth,T._h=T.offsetHeight),w&&((T._isSplit&&L||!A&&L||C&&L||!C&&T.parentNode.parentNode===e&&!T.parentNode._isSplit)&&(U.push(T),T._x-=l,Mp(T,e,b)&&(T._wordEnd=!0)),T.nodeName==="BR"&&(T.nextSibling&&T.nextSibling.nodeName==="BR"||M===0)&&w.push([])));for(M=0;M<N;M++){if(T=D[M],L=T.parentNode===e,T.nodeName==="BR"){w||S?(T.parentNode&&T.parentNode.removeChild(T),D.splice(M--,1),N--):C||e.appendChild(T);continue}if(S&&(X=T.style,!C&&!L&&(T._x+=T.parentNode._x,T._y+=T.parentNode._y),X.left=T._x+"px",X.top=T._y+"px",X.position="absolute",X.display="block",X.width=T._w+1+"px",X.height=T._h+"px"),!C&&A)if(T._isSplit)for(T._next=R=T.nextSibling,T.parentNode.appendChild(T);R&&R.nodeType===3&&R.textContent===" ";)T._next=R.nextSibling,T.parentNode.appendChild(R),R=R.nextSibling;else T.parentNode._isSplit?(T._parent=T.parentNode,!T.previousSibling&&T.firstChild&&(T.firstChild._isFirst=!0),T.nextSibling&&T.nextSibling.textContent===" "&&!T.nextSibling.nextSibling&&k.push(T.nextSibling),T._next=T.nextSibling&&T.nextSibling._isFirst?null:T.nextSibling,T.parentNode.removeChild(T),D.splice(M--,1),N--):L||(Y=!T.nextSibling&&Mp(T.parentNode,e,b),T.parentNode._parent&&T.parentNode._parent.appendChild(T),Y&&T.parentNode.appendChild(zn.createTextNode(" ")),x==="span"&&(T.style.display="inline"),m.push(T));else T.parentNode._isSplit&&!T._isSplit&&T.innerHTML!==""?v.push(T):A&&!T._isSplit&&(x==="span"&&(T.style.display="inline"),m.push(T))}for(M=k.length;--M>-1;)k[M].parentNode.removeChild(k[M]);if(w){for(S&&(G=zn.createElement(x),e.appendChild(G),I=G.offsetWidth+"px",Y=G.offsetParent===e?0:e.offsetLeft,e.removeChild(G)),X=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(te=b===" "&&(!S||!C&&!A),M=0;M<w.length;M++){for(U=w[M],G=zn.createElement(x),G.style.cssText="display:block;text-align:"+g+";position:"+(S?"absolute;":"relative;"),O&&(G.className=O+(F?M+1:"")),y.push(G),N=U.length,R=0;R<N;R++)U[R].nodeName!=="BR"&&(T=U[R],G.appendChild(T),te&&T._wordEnd&&G.appendChild(zn.createTextNode(" ")),S&&(R===0&&(G.style.top=T._y+"px",G.style.left=l+Y+"px"),T.style.top="0px",Y&&(T.style.left=T._x-Y+"px")));N===0?G.innerHTML=" ":!C&&!A&&(gD(G),Bp(G,String.fromCharCode(160)," ")),S&&(G.style.width=I,G.style.height=T._h+"px"),e.appendChild(G)}e.style.cssText=X}S&&(a>e.clientHeight&&(e.style.height=a-f+"px",e.clientHeight<a&&(e.style.height=a+d+"px")),o>e.clientWidth&&(e.style.width=o-_+"px",e.clientWidth<o&&(e.style.width=o+p+"px"))),V&&(z?e.style.display=z:e.style.removeProperty("display")),fc(r,m),C&&fc(n,v),fc(s,y)},vD=function(e,t,r,n){var s=t.tag?t.tag:t.span?"span":"div",o=t.type||t.split||"chars,words,lines",a=~o.indexOf("chars"),u=hc(t),l=t.wordDelimiter||" ",c=function(S){return S===l||S===dD&&l===" "},d=l!==" "?"":u?"­ ":" ",p="</"+s+">",f=1,_=t.specialChars?typeof t.specialChars=="function"?t.specialChars:pD:null,h,g,m,v,y,b,x,E,w=zn.createElement("div"),C=e.parentNode;for(C.insertBefore(w,e),w.textContent=e.nodeValue,C.removeChild(e),e=w,h=cc(e),x=h.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(h=h.replace(fD," ").replace(cD,"")),x&&(h=h.split("<").join("{{LT}}")),y=h.length,g=(h.charAt(0)===" "?d:"")+r(),m=0;m<y;m++)if(b=h.charAt(m),_&&(E=_(h.substr(m),t.specialChars)))b=h.substr(m,E||1),g+=a&&b!==" "?n()+b+"</"+s+">":b,m+=E-1;else if(c(b)&&!c(h.charAt(m-1))&&m){for(g+=f?p:"",f=0;c(h.charAt(m+1));)g+=d,m++;m===y-1?g+=d:h.charAt(m+1)!==")"&&(g+=d+r(),f=1)}else b==="{"&&h.substr(m,6)==="{{LT}}"?(g+=a?n()+"{{LT}}</"+s+">":"{{LT}}",m+=5):b.charCodeAt(0)>=55296&&b.charCodeAt(0)<=56319||h.charCodeAt(m+1)>=65024&&h.charCodeAt(m+1)<=65039?(v=((h.substr(m,12).split(Pp)||[])[1]||"").length||2,g+=a&&b!==" "?n()+h.substr(m,v)+"</"+s+">":h.substr(m,v),m+=v-1):g+=a&&b!==" "?n()+b+"</"+s+">":b;e.outerHTML=g+(f?p:""),x&&Bp(C,"{{LT}}","<")},DD=function i(e,t,r,n){var s=Oa(e.childNodes),o=s.length,a=hc(t),u,l;if(e.nodeType!==3||o>1){for(t.absolute=!1,u=0;u<o;u++)l=s[u],l._next=l._isFirst=l._parent=l._wordEnd=null,(l.nodeType!==3||/\S+/.test(l.nodeValue))&&(a&&l.nodeType!==3&&Ip(l).display==="inline"&&(l.style.display="inline-block",l.style.position="relative"),l._isSplit=!0,i(l,t,r,n));t.absolute=a,e._isSplit=!0;return}vD(e,t,r,n)},Gt=function(){function i(t,r){Lp||Np(),this.elements=Oa(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},Rp(this),hD&&this.split(r)}var e=i.prototype;return e.split=function(r){this.isSplit&&this.revert(),this.vars=r=r||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var n=this.elements.length,s=r.tag?r.tag:r.span?"span":"div",o=kp(r.wordsClass,s),a=kp(r.charsClass,s),u,l,c;--n>-1;)c=this.elements[n],this._originals[n]={html:c.innerHTML,style:c.getAttribute("style")},u=c.clientHeight,l=c.clientWidth,DD(c,r,o,a),mD(c,r,this.chars,this.words,this.lines,l,u);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){var r=this._originals;if(!r)throw"revert() call wasn't scoped properly.";return this.elements.forEach(function(n,s){n.innerHTML=r[s].html,n.setAttribute("style",r[s].style)}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},i.create=function(r,n){return new i(r,n)},i}();Gt.version="3.12.5";Gt.register=Np;function zp(i,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(i,r.key,r)}}function yD(i,e,t){return e&&zp(i.prototype,e),t&&zp(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}var Vp="(prefers-reduced-motion: reduce)",Hn=1,wD=2,Un=3,Gn=4,no=5,ka=6,Na=7,bD={CREATED:Hn,MOUNTED:wD,IDLE:Un,MOVING:Gn,SCROLLING:no,DRAGGING:ka,DESTROYED:Na};function Gr(i){i.length=0}function bi(i,e,t){return Array.prototype.slice.call(i,e,t)}function ge(i){return i.bind.apply(i,[null].concat(bi(arguments,1)))}var e_=setTimeout,vc=function(){};function Wp(i){return requestAnimationFrame(i)}function Va(i,e){return typeof e===i}function Ks(i){return!Sc(i)&&Va("object",i)}var Ec=Array.isArray,t_=ge(Va,"function"),Di=ge(Va,"string"),so=ge(Va,"undefined");function Sc(i){return i===null}function r_(i){try{return i instanceof(i.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function oo(i){return Ec(i)?i:[i]}function Kt(i,e){oo(i).forEach(e)}function Cc(i,e){return i.indexOf(e)>-1}function Ma(i,e){return i.push.apply(i,oo(e)),i}function Yr(i,e,t){i&&Kt(e,function(r){r&&i.classList[t?"add":"remove"](r)})}function xr(i,e){Yr(i,Di(e)?e.split(" "):e,!0)}function ao(i,e){Kt(e,i.appendChild.bind(i))}function Tc(i,e){Kt(i,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function Zs(i,e){return r_(i)&&(i.msMatchesSelector||i.matches).call(i,e)}function i_(i,e){var t=i?bi(i.children):[];return e?t.filter(function(r){return Zs(r,e)}):t}function uo(i,e){return e?i_(i,e)[0]:i.firstElementChild}var Qs=Object.keys;function sn(i,e,t){return i&&(t?Qs(i).reverse():Qs(i)).forEach(function(r){r!=="__proto__"&&e(i[r],r)}),i}function Js(i){return bi(arguments,1).forEach(function(e){sn(e,function(t,r){i[r]=e[r]})}),i}function vi(i){return bi(arguments,1).forEach(function(e){sn(e,function(t,r){Ec(t)?i[r]=t.slice():Ks(t)?i[r]=vi({},Ks(i[r])?i[r]:{},t):i[r]=t})}),i}function Hp(i,e){Kt(e||Qs(i),function(t){delete i[t]})}function Er(i,e){Kt(i,function(t){Kt(e,function(r){t&&t.removeAttribute(r)})})}function re(i,e,t){Ks(e)?sn(e,function(r,n){re(i,n,r)}):Kt(i,function(r){Sc(t)||t===""?Er(r,e):r.setAttribute(e,String(t))})}function qn(i,e,t){var r=document.createElement(i);return e&&(Di(e)?xr(r,e):re(r,e)),t&&ao(t,r),r}function ar(i,e,t){if(so(t))return getComputedStyle(i)[e];Sc(t)||(i.style[e]=""+t)}function eo(i,e){ar(i,"display",e)}function n_(i){i.setActive&&i.setActive()||i.focus({preventScroll:!0})}function ur(i,e){return i.getAttribute(e)}function qp(i,e){return i&&i.classList.contains(e)}function jt(i){return i.getBoundingClientRect()}function on(i){Kt(i,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function s_(i){return uo(new DOMParser().parseFromString(i,"text/html").body)}function qr(i,e){i.preventDefault(),e&&(i.stopPropagation(),i.stopImmediatePropagation())}function o_(i,e){return i&&i.querySelector(e)}function Ac(i,e){return e?bi(i.querySelectorAll(e)):[]}function Ur(i,e){Yr(i,e,!1)}function Dc(i){return i.timeStamp}function nn(i){return Di(i)?i:i?i+"px":""}var lo="splide",Fc="data-"+lo;function js(i,e){if(!i)throw new Error("["+lo+"] "+(e||""))}var yi=Math.min,Ia=Math.max,Ba=Math.floor,to=Math.ceil,Ft=Math.abs;function a_(i,e,t){return Ft(i-e)<t}function La(i,e,t,r){var n=yi(e,t),s=Ia(e,t);return r?n<i&&i<s:n<=i&&i<=s}function Vn(i,e,t){var r=yi(e,t),n=Ia(e,t);return yi(Ia(r,i),n)}function yc(i){return+(i>0)-+(i<0)}function wc(i,e){return Kt(e,function(t){i=i.replace("%s",""+t)}),i}function Oc(i){return i<10?"0"+i:""+i}var Yp={};function xD(i){return""+i+Oc(Yp[i]=(Yp[i]||0)+1)}function u_(){var i=[];function e(o,a,u,l){n(o,a,function(c,d,p){var f="addEventListener"in c,_=f?c.removeEventListener.bind(c,d,u,l):c.removeListener.bind(c,u);f?c.addEventListener(d,u,l):c.addListener(u),i.push([c,d,p,u,_])})}function t(o,a,u){n(o,a,function(l,c,d){i=i.filter(function(p){return p[0]===l&&p[1]===c&&p[2]===d&&(!u||p[3]===u)?(p[4](),!1):!0})})}function r(o,a,u){var l,c=!0;return typeof CustomEvent=="function"?l=new CustomEvent(a,{bubbles:c,detail:u}):(l=document.createEvent("CustomEvent"),l.initCustomEvent(a,c,!1,u)),o.dispatchEvent(l),l}function n(o,a,u){Kt(o,function(l){l&&Kt(a,function(c){c.split(" ").forEach(function(d){var p=d.split(".");u(l,p[0],p[1])})})})}function s(){i.forEach(function(o){o[4]()}),Gr(i)}return{bind:e,unbind:t,dispatch:r,destroy:s}}var un="mounted",Up="ready",wi="move",co="moved",l_="click",ED="active",SD="inactive",CD="visible",TD="hidden",Ye="refresh",Ot="updated",ro="resize",Pc="resized",AD="drag",FD="dragging",OD="dragged",kc="scroll",jn="scrolled",PD="overflow",c_="destroy",kD="arrows:mounted",MD="arrows:updated",LD="pagination:mounted",RD="pagination:updated",f_="navigation:mounted",d_="autoplay:play",ND="autoplay:playing",h_="autoplay:pause",p_="lazyload:loaded",__="sk",g_="sh",za="ei";function Se(i){var e=i?i.event.bus:document.createDocumentFragment(),t=u_();function r(s,o){t.bind(e,oo(s).join(" "),function(a){o.apply(o,Ec(a.detail)?a.detail:[])})}function n(s){t.dispatch(e,s,bi(arguments,1))}return i&&i.event.on(c_,t.destroy),Js(t,{bus:e,on:r,off:ge(t.unbind,e),emit:n})}function Wa(i,e,t,r){var n=Date.now,s,o=0,a,u=!0,l=0;function c(){if(!u){if(o=i?yi((n()-s)/i,1):1,t&&t(o),o>=1&&(e(),s=n(),r&&++l>=r))return p();a=Wp(c)}}function d(m){m||_(),s=n()-(m?o*i:0),u=!1,a=Wp(c)}function p(){u=!0}function f(){s=n(),o=0,t&&t(o)}function _(){a&&cancelAnimationFrame(a),o=0,a=0,u=!0}function h(m){i=m}function g(){return u}return{start:d,rewind:f,pause:p,cancel:_,set:h,isPaused:g}}function ID(i){var e=i;function t(n){e=n}function r(n){return Cc(oo(n),e)}return{set:t,is:r}}function BD(i,e){var t=Wa(e||0,i,null,1);return function(){t.isPaused()&&t.start()}}function zD(i,e,t){var r=i.state,n=t.breakpoints||{},s=t.reducedMotion||{},o=u_(),a=[];function u(){var _=t.mediaQuery==="min";Qs(n).sort(function(h,g){return _?+h-+g:+g-+h}).forEach(function(h){c(n[h],"("+(_?"min":"max")+"-width:"+h+"px)")}),c(s,Vp),d()}function l(_){_&&o.destroy()}function c(_,h){var g=matchMedia(h);o.bind(g,"change",d),a.push([_,g])}function d(){var _=r.is(Na),h=t.direction,g=a.reduce(function(m,v){return vi(m,v[1].matches?v[0]:{})},{});Hp(t),f(g),t.destroy?i.destroy(t.destroy==="completely"):_?(l(!0),i.mount()):h!==t.direction&&i.refresh()}function p(_){matchMedia(Vp).matches&&(_?vi(t,s):Hp(t,Qs(s)))}function f(_,h,g){vi(t,_),h&&vi(Object.getPrototypeOf(t),_),(g||!r.is(Hn))&&i.emit(Ot,t)}return{setup:u,destroy:l,reduce:p,set:f}}var Ha="Arrow",qa=Ha+"Left",Ya=Ha+"Right",m_=Ha+"Up",v_=Ha+"Down";var Xp="rtl",Ua="ttb",pc={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[m_,Ya],ArrowRight:[v_,qa]};function VD(i,e,t){function r(s,o,a){a=a||t.direction;var u=a===Xp&&!o?1:a===Ua?0:-1;return pc[s]&&pc[s][u]||s.replace(/width|left|right/i,function(l,c){var d=pc[l.toLowerCase()][u]||l;return c>0?d.charAt(0).toUpperCase()+d.slice(1):d})}function n(s){return s*(t.direction===Xp?1:-1)}return{resolve:r,orient:n}}var Xr="role",Yn="tabindex",WD="disabled",lr="aria-",fo=lr+"controls",D_=lr+"current",Gp=lr+"selected",$t=lr+"label",Mc=lr+"labelledby",y_=lr+"hidden",Lc=lr+"orientation",io=lr+"roledescription",jp=lr+"live",$p=lr+"busy",Kp=lr+"atomic",Rc=[Xr,Yn,WD,fo,D_,$t,Mc,y_,Lc,io],Sr=lo+"__",xi="is-",_c=lo,Zp=Sr+"track",HD=Sr+"list",Xa=Sr+"slide",w_=Xa+"--clone",qD=Xa+"__container",Nc=Sr+"arrows",Ga=Sr+"arrow",b_=Ga+"--prev",x_=Ga+"--next",ja=Sr+"pagination",E_=ja+"__page",YD=Sr+"progress",UD=YD+"__bar",Ic=Sr+"toggle",T1=Ic+"__play",A1=Ic+"__pause",XD=Sr+"spinner",GD=Sr+"sr",jD=xi+"initialized",an=xi+"active",S_=xi+"prev",C_=xi+"next",bc=xi+"visible",xc=xi+"loading",T_=xi+"focus-in",A_=xi+"overflow",$D=[an,bc,S_,C_,xc,T_,A_],KD={slide:Xa,clone:w_,arrows:Nc,arrow:Ga,prev:b_,next:x_,pagination:ja,page:E_,spinner:XD};function ZD(i,e){if(t_(i.closest))return i.closest(e);for(var t=i;t&&t.nodeType===1&&!Zs(t,e);)t=t.parentElement;return t}var QD=5,Qp=200,F_="touchstart mousedown",gc="touchmove mousemove",mc="touchend touchcancel mouseup click";function JD(i,e,t){var r=Se(i),n=r.on,s=r.bind,o=i.root,a=t.i18n,u={},l=[],c=[],d=[],p,f,_;function h(){y(),b(),v()}function g(){n(Ye,m),n(Ye,h),n(Ot,v),s(document,F_+" keydown",function(w){_=w.type==="keydown"},{capture:!0}),s(o,"focusin",function(){Yr(o,T_,!!_)})}function m(w){var C=Rc.concat("style");Gr(l),Ur(o,c),Ur(p,d),Er([p,f],C),Er(o,w?C:["style",io])}function v(){Ur(o,c),Ur(p,d),c=E(_c),d=E(Zp),xr(o,c),xr(p,d),re(o,$t,t.label),re(o,Mc,t.labelledby)}function y(){p=x("."+Zp),f=uo(p,"."+HD),js(p&&f,"A track/list element is missing."),Ma(l,i_(f,"."+Xa+":not(."+w_+")")),sn({arrows:Nc,pagination:ja,prev:b_,next:x_,bar:UD,toggle:Ic},function(w,C){u[C]=x("."+w)}),Js(u,{root:o,track:p,list:f,slides:l})}function b(){var w=o.id||xD(lo),C=t.role;o.id=w,p.id=p.id||w+"-track",f.id=f.id||w+"-list",!ur(o,Xr)&&o.tagName!=="SECTION"&&C&&re(o,Xr,C),re(o,io,a.carousel),re(f,Xr,"presentation")}function x(w){var C=o_(o,w);return C&&ZD(C,"."+_c)===o?C:void 0}function E(w){return[w+"--"+t.type,w+"--"+t.direction,t.drag&&w+"--draggable",t.isNavigation&&w+"--nav",w===_c&&an]}return Js(u,{setup:h,mount:g,destroy:m})}var Xn="slide",$n="loop",ho="fade";function ey(i,e,t,r){var n=Se(i),s=n.on,o=n.emit,a=n.bind,u=i.Components,l=i.root,c=i.options,d=c.isNavigation,p=c.updateOnMove,f=c.i18n,_=c.pagination,h=c.slideFocus,g=u.Direction.resolve,m=ur(r,"style"),v=ur(r,$t),y=t>-1,b=uo(r,"."+qD),x;function E(){y||(r.id=l.id+"-slide"+Oc(e+1),re(r,Xr,_?"tabpanel":"group"),re(r,io,f.slide),re(r,$t,v||wc(f.slideLabel,[e+1,i.length]))),w()}function w(){a(r,"click",ge(o,l_,N)),a(r,"keydown",ge(o,__,N)),s([co,g_,jn],O),s(f_,A),p&&s(wi,S)}function C(){x=!0,n.destroy(),Ur(r,$D),Er(r,Rc),re(r,"style",m),re(r,$t,v||"")}function A(){var T=i.splides.map(function(D){var L=D.splide.Components.Slides.getAt(e);return L?L.slide.id:""}).join(" ");re(r,$t,wc(f.slideX,(y?t:e)+1)),re(r,fo,T),re(r,Xr,h?"button":""),h&&Er(r,io)}function S(){x||O()}function O(){if(!x){var T=i.index;F(),k(),Yr(r,S_,e===T-1),Yr(r,C_,e===T+1)}}function F(){var T=z();T!==qp(r,an)&&(Yr(r,an,T),re(r,D_,d&&T||""),o(T?ED:SD,N))}function k(){var T=M(),D=!T&&(!z()||y);if(i.state.is([Gn,no])||re(r,y_,D||""),re(Ac(r,c.focusableNodes||""),Yn,D?-1:""),h&&re(r,Yn,D?-1:0),T!==qp(r,bc)&&(Yr(r,bc,T),o(T?CD:TD,N)),!T&&document.activeElement===r){var L=u.Slides.getAt(i.index);L&&n_(L.slide)}}function V(T,D,L){ar(L&&b||r,T,D)}function z(){var T=i.index;return T===e||c.cloneStatus&&T===t}function M(){if(i.is(ho))return z();var T=jt(u.Elements.track),D=jt(r),L=g("left",!0),U=g("right",!0);return Ba(T[L])<=to(D[L])&&Ba(D[U])<=to(T[U])}function R(T,D){var L=Ft(T-e);return!y&&(c.rewind||i.is($n))&&(L=yi(L,i.length-L)),L<=D}var N={index:e,slideIndex:t,slide:r,container:b,isClone:y,mount:E,destroy:C,update:O,style:V,isWithin:R};return N}function ty(i,e,t){var r=Se(i),n=r.on,s=r.emit,o=r.bind,a=e.Elements,u=a.slides,l=a.list,c=[];function d(){p(),n(Ye,f),n(Ye,p)}function p(){u.forEach(function(O,F){h(O,F,-1)})}function f(){x(function(O){O.destroy()}),Gr(c)}function _(){x(function(O){O.update()})}function h(O,F,k){var V=ey(i,F,k,O);V.mount(),c.push(V),c.sort(function(z,M){return z.index-M.index})}function g(O){return O?E(function(F){return!F.isClone}):c}function m(O){var F=e.Controller,k=F.toIndex(O),V=F.hasFocus()?1:t.perPage;return E(function(z){return La(z.index,k,k+V-1)})}function v(O){return E(O)[0]}function y(O,F){Kt(O,function(k){if(Di(k)&&(k=s_(k)),r_(k)){var V=u[F];V?Tc(k,V):ao(l,k),xr(k,t.classes.slide),C(k,ge(s,ro))}}),s(Ye)}function b(O){on(E(O).map(function(F){return F.slide})),s(Ye)}function x(O,F){g(F).forEach(O)}function E(O){return c.filter(t_(O)?O:function(F){return Di(O)?Zs(F.slide,O):Cc(oo(O),F.index)})}function w(O,F,k){x(function(V){V.style(O,F,k)})}function C(O,F){var k=Ac(O,"img"),V=k.length;V?k.forEach(function(z){o(z,"load error",function(){--V||F()})}):F()}function A(O){return O?u.length:c.length}function S(){return c.length>t.perPage}return{mount:d,destroy:f,update:_,register:h,get:g,getIn:m,getAt:v,add:y,remove:b,forEach:x,filter:E,style:w,getLength:A,isEnough:S}}function ry(i,e,t){var r=Se(i),n=r.on,s=r.bind,o=r.emit,a=e.Slides,u=e.Direction.resolve,l=e.Elements,c=l.root,d=l.track,p=l.list,f=a.getAt,_=a.style,h,g,m;function v(){y(),s(window,"resize load",BD(ge(o,ro))),n([Ot,Ye],y),n(ro,b)}function y(){h=t.direction===Ua,ar(c,"maxWidth",nn(t.width)),ar(d,u("paddingLeft"),x(!1)),ar(d,u("paddingRight"),x(!0)),b(!0)}function b(N){var T=jt(c);(N||g.width!==T.width||g.height!==T.height)&&(ar(d,"height",E()),_(u("marginRight"),nn(t.gap)),_("width",C()),_("height",A(),!0),g=T,o(Pc),m!==(m=R())&&(Yr(c,A_,m),o(PD,m)))}function x(N){var T=t.padding,D=u(N?"right":"left");return T&&nn(T[D]||(Ks(T)?0:T))||"0px"}function E(){var N="";return h&&(N=w(),js(N,"height or heightRatio is missing."),N="calc("+N+" - "+x(!1)+" - "+x(!0)+")"),N}function w(){return nn(t.height||jt(p).width*t.heightRatio)}function C(){return t.autoWidth?null:nn(t.fixedWidth)||(h?"":S())}function A(){return nn(t.fixedHeight)||(h?t.autoHeight?null:S():w())}function S(){var N=nn(t.gap);return"calc((100%"+(N&&" + "+N)+")/"+(t.perPage||1)+(N&&" - "+N)+")"}function O(){return jt(p)[u("width")]}function F(N,T){var D=f(N||0);return D?jt(D.slide)[u("width")]+(T?0:z()):0}function k(N,T){var D=f(N);if(D){var L=jt(D.slide)[u("right")],U=jt(p)[u("left")];return Ft(L-U)+(T?0:z())}return 0}function V(N){return k(i.length-1)-k(0)+F(0,N)}function z(){var N=f(0);return N&&parseFloat(ar(N.slide,u("marginRight")))||0}function M(N){return parseFloat(ar(d,u("padding"+(N?"Right":"Left"))))||0}function R(){return i.is(ho)||V(!0)>O()}return{mount:v,resize:b,listSize:O,slideSize:F,sliderSize:V,totalSize:k,getPadding:M,isOverflow:R}}var iy=2;function ny(i,e,t){var r=Se(i),n=r.on,s=e.Elements,o=e.Slides,a=e.Direction.resolve,u=[],l;function c(){n(Ye,d),n([Ot,ro],f),(l=g())&&(_(l),e.Layout.resize(!0))}function d(){p(),c()}function p(){on(u),Gr(u),r.destroy()}function f(){var m=g();l!==m&&(l<m||!m)&&r.emit(Ye)}function _(m){var v=o.get().slice(),y=v.length;if(y){for(;v.length<m;)Ma(v,v);Ma(v.slice(-m),v.slice(0,m)).forEach(function(b,x){var E=x<m,w=h(b.slide,x);E?Tc(w,v[0].slide):ao(s.list,w),Ma(u,w),o.register(w,x-m+(E?0:y),b.index)})}}function h(m,v){var y=m.cloneNode(!0);return xr(y,t.classes.clone),y.id=i.root.id+"-clone"+Oc(v+1),y}function g(){var m=t.clones;if(!i.is($n))m=0;else if(so(m)){var v=t[a("fixedWidth")]&&e.Layout.slideSize(0),y=v&&to(jt(s.track)[a("width")]/v);m=y||t[a("autoWidth")]&&i.length||t.perPage*iy}return m}return{mount:c,destroy:p}}function sy(i,e,t){var r=Se(i),n=r.on,s=r.emit,o=i.state.set,a=e.Layout,u=a.slideSize,l=a.getPadding,c=a.totalSize,d=a.listSize,p=a.sliderSize,f=e.Direction,_=f.resolve,h=f.orient,g=e.Elements,m=g.list,v=g.track,y;function b(){y=e.Transition,n([un,Pc,Ot,Ye],x)}function x(){e.Controller.isBusy()||(e.Scroll.cancel(),w(i.index),e.Slides.update())}function E(D,L,U,te){D!==L&&N(D>U)&&(O(),C(S(V(),D>U),!0)),o(Gn),s(wi,L,U,D),y.start(L,function(){o(Un),s(co,L,U,D),te&&te()})}function w(D){C(k(D,!0))}function C(D,L){if(!i.is(ho)){var U=L?D:A(D);ar(m,"transform","translate"+_("X")+"("+U+"px)"),D!==U&&s(g_)}}function A(D){if(i.is($n)){var L=F(D),U=L>e.Controller.getEnd(),te=L<0;(te||U)&&(D=S(D,U))}return D}function S(D,L){var U=D-R(L),te=p();return D-=h(te*(to(Ft(U)/te)||1))*(L?1:-1),D}function O(){C(V(),!0),y.cancel()}function F(D){for(var L=e.Slides.get(),U=0,te=1/0,X=0;X<L.length;X++){var G=L[X].index,I=Ft(k(G,!0)-D);if(I<=te)te=I,U=G;else break}return U}function k(D,L){var U=h(c(D-1)-M(D));return L?z(U):U}function V(){var D=_("left");return jt(m)[D]-jt(v)[D]+h(l(!1))}function z(D){return t.trimSpace&&i.is(Xn)&&(D=Vn(D,0,h(p(!0)-d()))),D}function M(D){var L=t.focus;return L==="center"?(d()-u(D,!0))/2:+L*u(D)||0}function R(D){return k(D?e.Controller.getEnd():0,!!t.trimSpace)}function N(D){var L=h(S(V(),D));return D?L>=0:L<=m[_("scrollWidth")]-jt(v)[_("width")]}function T(D,L){L=so(L)?V():L;var U=D!==!0&&h(L)<h(R(!1)),te=D!==!1&&h(L)>h(R(!0));return U||te}return{mount:b,move:E,jump:w,translate:C,shift:S,cancel:O,toIndex:F,toPosition:k,getPosition:V,getLimit:R,exceededLimit:T,reposition:x}}function oy(i,e,t){var r=Se(i),n=r.on,s=r.emit,o=e.Move,a=o.getPosition,u=o.getLimit,l=o.toPosition,c=e.Slides,d=c.isEnough,p=c.getLength,f=t.omitEnd,_=i.is($n),h=i.is(Xn),g=ge(V,!1),m=ge(V,!0),v=t.start||0,y,b=v,x,E,w;function C(){A(),n([Ot,Ye,za],A),n(Pc,S)}function A(){x=p(!0),E=t.perMove,w=t.perPage,y=N();var I=Vn(v,0,f?y:x-1);I!==v&&(v=I,o.reposition())}function S(){y!==N()&&s(za)}function O(I,Y,fe){if(!G()){var ie=k(I),ne=R(ie);ne>-1&&(Y||ne!==v)&&(U(ne),o.move(ie,ne,b,fe))}}function F(I,Y,fe,ie){e.Scroll.scroll(I,Y,fe,function(){var ne=R(o.toIndex(a()));U(f?yi(ne,y):ne),ie&&ie()})}function k(I){var Y=v;if(Di(I)){var fe=I.match(/([+\-<>])(\d+)?/)||[],ie=fe[1],ne=fe[2];ie==="+"||ie==="-"?Y=z(v+ +(""+ie+(+ne||1)),v):ie===">"?Y=ne?T(+ne):g(!0):ie==="<"&&(Y=m(!0))}else Y=_?I:Vn(I,0,y);return Y}function V(I,Y){var fe=E||(X()?1:w),ie=z(v+fe*(I?-1:1),v,!(E||X()));return ie===-1&&h&&!a_(a(),u(!I),1)?I?0:y:Y?ie:R(ie)}function z(I,Y,fe){if(d()||X()){var ie=M(I);ie!==I&&(Y=I,I=ie,fe=!1),I<0||I>y?!E&&(La(0,I,Y,!0)||La(y,Y,I,!0))?I=T(D(I)):_?I=fe?I<0?-(x%w||w):x:I:t.rewind?I=I<0?y:0:I=-1:fe&&I!==Y&&(I=T(D(Y)+(I<Y?-1:1)))}else I=-1;return I}function M(I){if(h&&t.trimSpace==="move"&&I!==v)for(var Y=a();Y===l(I,!0)&&La(I,0,i.length-1,!t.rewind);)I<v?--I:++I;return I}function R(I){return _?(I+x)%x||0:I}function N(){for(var I=x-(X()||_&&E?1:w);f&&I-- >0;)if(l(x-1,!0)!==l(I,!0)){I++;break}return Vn(I,0,x-1)}function T(I){return Vn(X()?I:w*I,0,y)}function D(I){return X()?yi(I,y):Ba((I>=y?x-1:I)/w)}function L(I){var Y=o.toIndex(I);return h?Vn(Y,0,y):Y}function U(I){I!==v&&(b=v,v=I)}function te(I){return I?b:v}function X(){return!so(t.focus)||t.isNavigation}function G(){return i.state.is([Gn,no])&&!!t.waitForTransition}return{mount:C,go:O,scroll:F,getNext:g,getPrev:m,getAdjacent:V,getEnd:N,setIndex:U,getIndex:te,toIndex:T,toPage:D,toDest:L,hasFocus:X,isBusy:G}}var ay="http://www.w3.org/2000/svg",uy="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",Pa=40;function ly(i,e,t){var r=Se(i),n=r.on,s=r.bind,o=r.emit,a=t.classes,u=t.i18n,l=e.Elements,c=e.Controller,d=l.arrows,p=l.track,f=d,_=l.prev,h=l.next,g,m,v={};function y(){x(),n(Ot,b)}function b(){E(),y()}function x(){var F=t.arrows;F&&!(_&&h)&&A(),_&&h&&(Js(v,{prev:_,next:h}),eo(f,F?"":"none"),xr(f,m=Nc+"--"+t.direction),F&&(w(),O(),re([_,h],fo,p.id),o(kD,_,h)))}function E(){r.destroy(),Ur(f,m),g?(on(d?[_,h]:f),_=h=null):Er([_,h],Rc)}function w(){n([un,co,Ye,jn,za],O),s(h,"click",ge(C,">")),s(_,"click",ge(C,"<"))}function C(F){c.go(F,!0)}function A(){f=d||qn("div",a.arrows),_=S(!0),h=S(!1),g=!0,ao(f,[_,h]),!d&&Tc(f,p)}function S(F){var k='<button class="'+a.arrow+" "+(F?a.prev:a.next)+'" type="button"><svg xmlns="'+ay+'" viewBox="0 0 '+Pa+" "+Pa+'" width="'+Pa+'" height="'+Pa+'" focusable="false"><path d="'+(t.arrowPath||uy)+'" />';return s_(k)}function O(){if(_&&h){var F=i.index,k=c.getPrev(),V=c.getNext(),z=k>-1&&F<k?u.last:u.prev,M=V>-1&&F>V?u.first:u.next;_.disabled=k<0,h.disabled=V<0,re(_,$t,z),re(h,$t,M),o(MD,_,h,k,V)}}return{arrows:v,mount:y,destroy:E,update:O}}var cy=Fc+"-interval";function fy(i,e,t){var r=Se(i),n=r.on,s=r.bind,o=r.emit,a=Wa(t.interval,i.go.bind(i,">"),w),u=a.isPaused,l=e.Elements,c=e.Elements,d=c.root,p=c.toggle,f=t.autoplay,_,h,g=f==="pause";function m(){f&&(v(),p&&re(p,fo,l.track.id),g||y(),E())}function v(){t.pauseOnHover&&s(d,"mouseenter mouseleave",function(A){_=A.type==="mouseenter",x()}),t.pauseOnFocus&&s(d,"focusin focusout",function(A){h=A.type==="focusin",x()}),p&&s(p,"click",function(){g?y():b(!0)}),n([wi,kc,Ye],a.rewind),n(wi,C)}function y(){u()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),h=_=g=!1,E(),o(d_))}function b(A){A===void 0&&(A=!0),g=!!A,E(),u()||(a.pause(),o(h_))}function x(){g||(_||h?b(!1):y())}function E(){p&&(Yr(p,an,!g),re(p,$t,t.i18n[g?"play":"pause"]))}function w(A){var S=l.bar;S&&ar(S,"width",A*100+"%"),o(ND,A)}function C(A){var S=e.Slides.getAt(A);a.set(S&&+ur(S.slide,cy)||t.interval)}return{mount:m,destroy:a.cancel,play:y,pause:b,isPaused:u}}function dy(i,e,t){var r=Se(i),n=r.on;function s(){t.cover&&(n(p_,ge(a,!0)),n([un,Ot,Ye],ge(o,!0)))}function o(u){e.Slides.forEach(function(l){var c=uo(l.container||l.slide,"img");c&&c.src&&a(u,c,l)})}function a(u,l,c){c.style("background",u?'center/cover no-repeat url("'+l.src+'")':"",!0),eo(l,u?"none":"")}return{mount:s,destroy:ge(o,!1)}}var hy=10,py=600,_y=.6,gy=1.5,my=800;function vy(i,e,t){var r=Se(i),n=r.on,s=r.emit,o=i.state.set,a=e.Move,u=a.getPosition,l=a.getLimit,c=a.exceededLimit,d=a.translate,p=i.is(Xn),f,_,h=1;function g(){n(wi,b),n([Ot,Ye],x)}function m(w,C,A,S,O){var F=u();if(b(),A&&(!p||!c())){var k=e.Layout.sliderSize(),V=yc(w)*k*Ba(Ft(w)/k)||0;w=a.toPosition(e.Controller.toDest(w%k))+V}var z=a_(F,w,1);h=1,C=z?0:C||Ia(Ft(w-F)/gy,my),_=S,f=Wa(C,v,ge(y,F,w,O),1),o(no),s(kc),f.start()}function v(){o(Un),_&&_(),s(jn)}function y(w,C,A,S){var O=u(),F=w+(C-w)*E(S),k=(F-O)*h;d(O+k),p&&!A&&c()&&(h*=_y,Ft(k)<hy&&m(l(c(!0)),py,!1,_,!0))}function b(){f&&f.cancel()}function x(){f&&!f.isPaused()&&(b(),v())}function E(w){var C=t.easingFunc;return C?C(w):1-Math.pow(1-w,4)}return{mount:g,destroy:b,scroll:m,cancel:x}}var Wn={passive:!1,capture:!0};function Dy(i,e,t){var r=Se(i),n=r.on,s=r.emit,o=r.bind,a=r.unbind,u=i.state,l=e.Move,c=e.Scroll,d=e.Controller,p=e.Elements.track,f=e.Media.reduce,_=e.Direction,h=_.resolve,g=_.orient,m=l.getPosition,v=l.exceededLimit,y,b,x,E,w,C=!1,A,S,O;function F(){o(p,gc,vc,Wn),o(p,mc,vc,Wn),o(p,F_,V,Wn),o(p,"click",R,{capture:!0}),o(p,"dragstart",qr),n([un,Ot],k)}function k(){var B=t.drag;bt(!B),E=B==="free"}function V(B){if(A=!1,!S){var Z=ne(B);ie(B.target)&&(Z||!B.button)&&(d.isBusy()?qr(B,!0):(O=Z?p:window,w=u.is([Gn,no]),x=null,o(O,gc,z,Wn),o(O,mc,M,Wn),l.cancel(),c.cancel(),N(B)))}}function z(B){if(u.is(ka)||(u.set(ka),s(AD)),B.cancelable)if(w){l.translate(y+fe(X(B)));var Z=G(B)>Qp,Ce=C!==(C=v());(Z||Ce)&&N(B),A=!0,s(FD),qr(B)}else L(B)&&(w=D(B),qr(B))}function M(B){u.is(ka)&&(u.set(Un),s(OD)),w&&(T(B),qr(B)),a(O,gc,z),a(O,mc,M),w=!1}function R(B){!S&&A&&qr(B,!0)}function N(B){x=b,b=B,y=m()}function T(B){var Z=U(B),Ce=te(Z),ze=t.rewind&&t.rewindByDrag;f(!1),E?d.scroll(Ce,0,t.snap):i.is(ho)?d.go(g(yc(Z))<0?ze?"<":"-":ze?">":"+"):i.is(Xn)&&C&&ze?d.go(v(!0)?">":"<"):d.go(d.toDest(Ce),!0),f(!0)}function D(B){var Z=t.dragMinThreshold,Ce=Ks(Z),ze=Ce&&Z.mouse||0,P=(Ce?Z.touch:+Z)||10;return Ft(X(B))>(ne(B)?P:ze)}function L(B){return Ft(X(B))>Ft(X(B,!0))}function U(B){if(i.is($n)||!C){var Z=G(B);if(Z&&Z<Qp)return X(B)/Z}return 0}function te(B){return m()+yc(B)*yi(Ft(B)*(t.flickPower||600),E?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function X(B,Z){return Y(B,Z)-Y(I(B),Z)}function G(B){return Dc(B)-Dc(I(B))}function I(B){return b===B&&x||b}function Y(B,Z){return(ne(B)?B.changedTouches[0]:B)["page"+h(Z?"Y":"X")]}function fe(B){return B/(C&&i.is(Xn)?QD:1)}function ie(B){var Z=t.noDrag;return!Zs(B,"."+E_+", ."+Ga)&&(!Z||!Zs(B,Z))}function ne(B){return typeof TouchEvent<"u"&&B instanceof TouchEvent}function Ke(){return w}function bt(B){S=B}return{mount:F,disable:bt,isDragging:Ke}}var yy={Spacebar:" ",Right:Ya,Left:qa,Up:m_,Down:v_};function Bc(i){return i=Di(i)?i:i.key,yy[i]||i}var Jp="keydown";function wy(i,e,t){var r=Se(i),n=r.on,s=r.bind,o=r.unbind,a=i.root,u=e.Direction.resolve,l,c;function d(){p(),n(Ot,f),n(Ot,p),n(wi,h)}function p(){var m=t.keyboard;m&&(l=m==="global"?window:a,s(l,Jp,g))}function f(){o(l,Jp)}function _(m){c=m}function h(){var m=c;c=!0,e_(function(){c=m})}function g(m){if(!c){var v=Bc(m);v===u(qa)?i.go("<"):v===u(Ya)&&i.go(">")}}return{mount:d,destroy:f,disable:_}}var $s=Fc+"-lazy",Ra=$s+"-srcset",by="["+$s+"], ["+Ra+"]";function xy(i,e,t){var r=Se(i),n=r.on,s=r.off,o=r.bind,a=r.emit,u=t.lazyLoad==="sequential",l=[co,jn],c=[];function d(){t.lazyLoad&&(p(),n(Ye,p))}function p(){Gr(c),f(),u?m():(s(l),n(l,_),_())}function f(){e.Slides.forEach(function(v){Ac(v.slide,by).forEach(function(y){var b=ur(y,$s),x=ur(y,Ra);if(b!==y.src||x!==y.srcset){var E=t.classes.spinner,w=y.parentElement,C=uo(w,"."+E)||qn("span",E,w);c.push([y,v,C]),y.src||eo(y,"none")}})})}function _(){c=c.filter(function(v){var y=t.perPage*((t.preloadPages||1)+1)-1;return v[1].isWithin(i.index,y)?h(v):!0}),c.length||s(l)}function h(v){var y=v[0];xr(v[1].slide,xc),o(y,"load error",ge(g,v)),re(y,"src",ur(y,$s)),re(y,"srcset",ur(y,Ra)),Er(y,$s),Er(y,Ra)}function g(v,y){var b=v[0],x=v[1];Ur(x.slide,xc),y.type!=="error"&&(on(v[2]),eo(b,""),a(p_,b,x),a(ro)),u&&m()}function m(){c.length&&h(c.shift())}return{mount:d,destroy:ge(Gr,c),check:_}}function Ey(i,e,t){var r=Se(i),n=r.on,s=r.emit,o=r.bind,a=e.Slides,u=e.Elements,l=e.Controller,c=l.hasFocus,d=l.getIndex,p=l.go,f=e.Direction.resolve,_=u.pagination,h=[],g,m;function v(){y(),n([Ot,Ye,za],v);var S=t.pagination;_&&eo(_,S?"":"none"),S&&(n([wi,kc,jn],A),b(),A(),s(LD,{list:g,items:h},C(i.index)))}function y(){g&&(on(_?bi(g.children):g),Ur(g,m),Gr(h),g=null),r.destroy()}function b(){var S=i.length,O=t.classes,F=t.i18n,k=t.perPage,V=c()?l.getEnd()+1:to(S/k);g=_||qn("ul",O.pagination,u.track.parentElement),xr(g,m=ja+"--"+w()),re(g,Xr,"tablist"),re(g,$t,F.select),re(g,Lc,w()===Ua?"vertical":"");for(var z=0;z<V;z++){var M=qn("li",null,g),R=qn("button",{class:O.page,type:"button"},M),N=a.getIn(z).map(function(D){return D.slide.id}),T=!c()&&k>1?F.pageX:F.slideX;o(R,"click",ge(x,z)),t.paginationKeyboard&&o(R,"keydown",ge(E,z)),re(M,Xr,"presentation"),re(R,Xr,"tab"),re(R,fo,N.join(" ")),re(R,$t,wc(T,z+1)),re(R,Yn,-1),h.push({li:M,button:R,page:z})}}function x(S){p(">"+S,!0)}function E(S,O){var F=h.length,k=Bc(O),V=w(),z=-1;k===f(Ya,!1,V)?z=++S%F:k===f(qa,!1,V)?z=(--S+F)%F:k==="Home"?z=0:k==="End"&&(z=F-1);var M=h[z];M&&(n_(M.button),p(">"+z),qr(O,!0))}function w(){return t.paginationDirection||t.direction}function C(S){return h[l.toPage(S)]}function A(){var S=C(d(!0)),O=C(d());if(S){var F=S.button;Ur(F,an),Er(F,Gp),re(F,Yn,-1)}if(O){var k=O.button;xr(k,an),re(k,Gp,!0),re(k,Yn,"")}s(RD,{list:g,items:h},S,O)}return{items:h,mount:v,destroy:y,getAt:C,update:A}}var Sy=[" ","Enter"];function Cy(i,e,t){var r=t.isNavigation,n=t.slideFocus,s=[];function o(){i.splides.forEach(function(_){_.isParent||(l(i,_.splide),l(_.splide,i))}),r&&c()}function a(){s.forEach(function(_){_.destroy()}),Gr(s)}function u(){a(),o()}function l(_,h){var g=Se(_);g.on(wi,function(m,v,y){h.go(h.is($n)?y:m)}),s.push(g)}function c(){var _=Se(i),h=_.on;h(l_,p),h(__,f),h([un,Ot],d),s.push(_),_.emit(f_,i.splides)}function d(){re(e.Elements.list,Lc,t.direction===Ua?"vertical":"")}function p(_){i.go(_.index)}function f(_,h){Cc(Sy,Bc(h))&&(p(_),qr(h))}return{setup:ge(e.Media.set,{slideFocus:so(n)?r:n},!0),mount:o,destroy:a,remount:u}}function Ty(i,e,t){var r=Se(i),n=r.bind,s=0;function o(){t.wheel&&n(e.Elements.track,"wheel",a,Wn)}function a(l){if(l.cancelable){var c=l.deltaY,d=c<0,p=Dc(l),f=t.wheelMinThreshold||0,_=t.wheelSleep||0;Ft(c)>f&&p-s>_&&(i.go(d?"<":">"),s=p),u(d)&&qr(l)}}function u(l){return!t.releaseWheel||i.state.is(Gn)||e.Controller.getAdjacent(l)!==-1}return{mount:o}}var Ay=90;function Fy(i,e,t){var r=Se(i),n=r.on,s=e.Elements.track,o=t.live&&!t.isNavigation,a=qn("span",GD),u=Wa(Ay,ge(c,!1));function l(){o&&(p(!e.Autoplay.isPaused()),re(s,Kp,!0),a.textContent="\u2026",n(d_,ge(p,!0)),n(h_,ge(p,!1)),n([co,jn],ge(c,!0)))}function c(f){re(s,$p,f),f?(ao(s,a),u.start()):(on(a),u.cancel())}function d(){Er(s,[jp,Kp,$p]),on(a)}function p(f){o&&re(s,jp,f?"off":"polite")}return{mount:l,disable:p,destroy:d}}var Oy=Object.freeze({__proto__:null,Media:zD,Direction:VD,Elements:JD,Slides:ty,Layout:ry,Clones:ny,Move:sy,Controller:oy,Arrows:ly,Autoplay:fy,Cover:dy,Scroll:vy,Drag:Dy,Keyboard:wy,LazyLoad:xy,Pagination:Ey,Sync:Cy,Wheel:Ty,Live:Fy}),Py={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},ky={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:KD,i18n:Py,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function My(i,e,t){var r=e.Slides;function n(){Se(i).on([un,Ye],s)}function s(){r.forEach(function(a){a.style("transform","translateX(-"+100*a.index+"%)")})}function o(a,u){r.style("transition","opacity "+t.speed+"ms "+t.easing),e_(u)}return{mount:n,start:o,cancel:vc}}function Ly(i,e,t){var r=e.Move,n=e.Controller,s=e.Scroll,o=e.Elements.list,a=ge(ar,o,"transition"),u;function l(){Se(i).bind(o,"transitionend",function(f){f.target===o&&u&&(d(),u())})}function c(f,_){var h=r.toPosition(f,!0),g=r.getPosition(),m=p(f);Ft(h-g)>=1&&m>=1?t.useScroll?s.scroll(h,m,!1,_):(a("transform "+m+"ms "+t.easing),r.translate(h,!0),u=_):(r.jump(f),_())}function d(){a(""),s.cancel()}function p(f){var _=t.rewindSpeed;if(i.is(Xn)&&_){var h=n.getIndex(!0),g=n.getEnd();if(h===0&&f>=g||h>=g&&f===0)return _}return t.speed}return{mount:l,start:c,cancel:d}}var Ry=function(){function i(t,r){this.event=Se(),this.Components={},this.state=ID(Hn),this.splides=[],this._o={},this._E={};var n=Di(t)?o_(document,t):t;js(n,n+" is invalid."),this.root=n,r=vi({label:ur(n,$t)||"",labelledby:ur(n,Mc)||""},ky,i.defaults,r||{});try{vi(r,JSON.parse(ur(n,Fc)))}catch{js(!1,"Invalid JSON")}this._o=Object.create(vi({},r))}var e=i.prototype;return e.mount=function(r,n){var s=this,o=this.state,a=this.Components;js(o.is([Hn,Na]),"Already mounted!"),o.set(Hn),this._C=a,this._T=n||this._T||(this.is(ho)?My:Ly),this._E=r||this._E;var u=Js({},Oy,this._E,{Transition:this._T});return sn(u,function(l,c){var d=l(s,a,s._o);a[c]=d,d.setup&&d.setup()}),sn(a,function(l){l.mount&&l.mount()}),this.emit(un),xr(this.root,jD),o.set(Un),this.emit(Up),this},e.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(Un)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},e.go=function(r){return this._C.Controller.go(r),this},e.on=function(r,n){return this.event.on(r,n),this},e.off=function(r){return this.event.off(r),this},e.emit=function(r){var n;return(n=this.event).emit.apply(n,[r].concat(bi(arguments,1))),this},e.add=function(r,n){return this._C.Slides.add(r,n),this},e.remove=function(r){return this._C.Slides.remove(r),this},e.is=function(r){return this._o.type===r},e.refresh=function(){return this.emit(Ye),this},e.destroy=function(r){r===void 0&&(r=!0);var n=this.event,s=this.state;return s.is(Hn)?Se(this).on(Up,this.destroy.bind(this,r)):(sn(this._C,function(o){o.destroy&&o.destroy(r)},!0),n.emit(c_),n.destroy(),r&&Gr(this.splides),s.set(Na)),this},yD(i,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),i}(),jr=Ry;jr.defaults={};jr.STATES=bD;var Cr,Wc,Ny,Qa,N_,I_,O_,Vc,B_,z_=function(){return typeof window<"u"},V_=function(){return Cr||z_()&&(Cr=window.gsap)&&Cr.registerPlugin&&Cr},Iy=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,zc={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},ln=function(e){return Math.round(e*1e4)/1e4},$r=function(e){return parseFloat(e)||0},P_=function(e,t){var r=$r(e);return~e.indexOf("%")?r/100*t:r},$a=function(e,t){return $r(e.getAttribute(t))},Ka=Math.sqrt,k_=function(e,t,r,n,s,o){return Ka(Math.pow(($r(r)-$r(e))*s,2)+Math.pow(($r(n)-$r(t))*o,2))},M_=function(e){return console.warn(e)},W_=function(e){return e.getAttribute("vector-effect")==="non-scaling-stroke"},By=1,zy=function(e,t,r){var n=e.indexOf(" "),s,o;return n<0?(s=r!==void 0?r+"":e,o=e):(s=e.substr(0,n),o=e.substr(n+1)),s=P_(s,t),o=P_(o,t),s>o?[o,s]:[s,o]},Za=function(e){if(e=Wc(e)[0],!e)return 0;var t=e.tagName.toLowerCase(),r=e.style,n=1,s=1,o,a,u,l,c,d,p;W_(e)&&(s=e.getScreenCTM(),n=Ka(s.a*s.a+s.b*s.b),s=Ka(s.d*s.d+s.c*s.c));try{a=e.getBBox()}catch{M_("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var f=a||{x:0,y:0,width:0,height:0},_=f.x,h=f.y,g=f.width,m=f.height;if((!a||!g&&!m)&&zc[t]&&(g=$a(e,zc[t][0]),m=$a(e,zc[t][1]),t!=="rect"&&t!=="line"&&(g*=2,m*=2),t==="line"&&(_=$a(e,"x1"),h=$a(e,"y1"),g=Math.abs(g-_),m=Math.abs(m-h))),t==="path")l=r.strokeDasharray,r.strokeDasharray="none",o=e.getTotalLength()||0,ln(n)!==ln(s)&&!O_&&(O_=1)&&M_("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),o*=(n+s)/2,r.strokeDasharray=l;else if(t==="rect")o=g*2*n+m*2*s;else if(t==="line")o=k_(_,h,_+g,h+m,n,s);else if(t==="polyline"||t==="polygon")for(u=e.getAttribute("points").match(Iy)||[],t==="polygon"&&u.push(u[0],u[1]),o=0,c=2;c<u.length;c+=2)o+=k_(u[c-2],u[c-1],u[c],u[c+1],n,s)||0;else(t==="circle"||t==="ellipse")&&(d=g/2*n,p=m/2*s,o=Math.PI*(3*(d+p)-Ka((3*d+p)*(d+3*p))));return o||0},L_=function(e,t){if(e=Wc(e)[0],!e)return[0,0];t||(t=Za(e)+1);var r=Qa.getComputedStyle(e),n=r.strokeDasharray||"",s=$r(r.strokeDashoffset),o=n.indexOf(",");return o<0&&(o=n.indexOf(" ")),n=o<0?t:$r(n.substr(0,o)),n>t&&(n=t),[-s||0,n-s||0]},R_=function(){z_()&&(Ny=document,Qa=window,I_=Cr=V_(),Wc=Cr.utils.toArray,Vc=Cr.core.getStyleSaver,B_=Cr.core.reverting||function(){},N_=((Qa.navigator||{}).userAgent||"").indexOf("Edge")!==-1)},Hc={version:"3.12.5",name:"drawSVG",register:function(e){Cr=e,R_()},init:function(e,t,r,n,s){if(!e.getBBox)return!1;I_||R_();var o=Za(e),a,u,l;return this.styles=Vc&&Vc(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=r,this._style=e.style,this._target=e,t+""=="true"?t="0 100%":t?(t+"").indexOf(" ")===-1&&(t="0 "+t):t="0 0",a=L_(e,o),u=zy(t,o,a[0]),this._length=ln(o),this._dash=ln(a[1]-a[0]),this._offset=ln(-a[0]),this._dashPT=this.add(this,"_dash",this._dash,ln(u[1]-u[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,ln(-u[0]),0,0,0,0,0,1),N_&&(l=Qa.getComputedStyle(e),l.strokeLinecap!==l.strokeLinejoin&&(u=$r(l.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",u,u+.01))),this._live=W_(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),By},render:function(e,t){if(t.tween._time||!B_()){var r=t._pt,n=t._style,s,o,a,u;if(r){for(t._live&&(s=Za(t._target),s!==t._length&&(o=s/t._length,t._length=s,t._offsetPT&&(t._offsetPT.s*=o,t._offsetPT.c*=o),t._dashPT?(t._dashPT.s*=o,t._dashPT.c*=o):t._dash*=o));r;)r.r(e,r.d),r=r._next;a=t._dash||e&&e!==1&&1e-4||0,s=t._length-a+.1,u=t._offset,a&&u&&a+Math.abs(u%t._length)>t._length-.2&&(u+=u<0?.1:-.1)&&(s+=.1),n.strokeDashoffset=a?u:u+.001,n.strokeDasharray=s<.2?"none":a?a+"px,"+(t._nowrap?999999:s)+"px":"0px, 999999px"}}else t.styles.revert()},getLength:Za,getPosition:L_};V_()&&Cr.registerPlugin(Hc);H.registerPlugin($,Bn,rn,Gt,Hc);function Vy(){rn.create("loader","0.83, 0, 0.17, 1"),rn.create("loader2","0.77, 0, 0.175, 1")}var po;function Wy(){let i=document.querySelector(".contact-modal_main-wrapper"),e=document.querySelector(".contact-modal_content-wrapper");po=H.timeline({paused:!0}),po.to(i,{autoAlpha:1,duration:.3,ease:"loader2"}),po.from(e,{x:"100%",duration:.4,ease:"loader2"},"-=0.2");function t(){document.querySelectorAll("[project-category]").forEach(n=>{n.addEventListener("click",()=>{let s=n.textContent.trim().toLowerCase(),o=document.querySelector(`.contact-modal_main-wrapper input[type="checkbox"][data-name="${s}"]`);o?(o.click(),console.log(`Clicked on checkbox for ${s}`)):console.log(`No checkbox found for ${s}`)})})}t()}var Pt=new Io({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function Hy(){Pt.on("scroll",$.update),H.ticker.add(e=>{Pt.raf(e*1e3)}),H.ticker.lagSmoothing(0);function i(e){Pt.raf(e),requestAnimationFrame(i)}requestAnimationFrame(i)}function qy(){let i=[].slice.call(document.querySelectorAll("video.lazyload"));if("IntersectionObserver"in window){let e=new IntersectionObserver(function(t,r){t.forEach(function(n){if(n.isIntersecting){for(let s of n.target.children)s.setAttribute("src",s.getAttribute("data-src"));n.target.load(),n.target.play(),e.unobserve(n.target)}})});i.forEach(function(t){e.observe(t)})}}function Yy(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function Uy(){function i(){let e=document.querySelector(".w-nav-overlay"),t={attributes:!0,attributeFilter:["style"]},r=function(s,o){for(let a of s)a.type==="attributes"&&a.attributeName==="style"&&(e.style.display==="none"?(document.body.classList.remove("is-scroll-off"),Pt.start()):(document.body.classList.add("is-scroll-off"),Pt.stop()))};new MutationObserver(r).observe(e,t)}i()}function Xy(){document.querySelector(".is-footer")&&H.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},autoAlpha:0})}function Gy(){let i=H.timeline({});i.add(function(){history.scrollRestoration="manual",Pt.scrollTo(0)}),i.to(".loader_ract.is-left",{delay:.2,duration:.7,x:"100%",ease:"loader2"},">"),i.to(".loader_ract.is-right",{duration:.7,x:"-100%",ease:"loader2"},"<"),i.add(function(){Pt.start()},">"),i.to(".loader_wrapper",{display:"none",duration:.1},">"),window.addEventListener("resize",function(){setTimeout(function(){H.set(".loader_wrapper",{display:"none"}),H.set(".is-outlay",{css:{mixBlendMode:"difference"}})},50)})}function jy(){document.querySelectorAll('a:not([/**/href^="#"]):not([href^="javascript:"]):not([href=""]):not([href^="mailto:"]):not([href^="tel:"])').forEach(e=>{e.getAttribute("target")!=="_blank"&&e.addEventListener("click",t=>{t.preventDefault();let r=H.timeline({onComplete:()=>{window.location.href=e.href}});r.to(".unloader_wrapper",{display:"flex",duration:.05}),r.from(".unloader_ract",{duration:.4,width:"0%",ease:"loader2"}),r.play()})})}var $y=document.querySelector(".info-bar"),H_=H.timeline({paused:!0});H_.to(".navbar",{y:"-100%",duration:.2,ease:"loader2"});$y&&H_.to(".button_small.is-navbar",{top:"1.75rem",duration:.2,ease:"loader2"},"<");function Ky(){let i=document.querySelectorAll('[wide="customCursor"]'),e=document.querySelector(".custom_cursor");i.forEach(t=>{t.addEventListener("mousedown",function(){e.style.transform="scale3d(0.8, 0.8, 1)"}),t.addEventListener("mouseup",function(){e.style.transform="scale3d(1, 1, 1)"})})}window.heroFixedSections=function(i){document.querySelectorAll(".herofixedsection").forEach((r,n)=>{$.create({trigger:r,start:()=>r.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,markers:!1,pinSpacing:!1,scrub:3})});let t=document.querySelector(".cover-bg");t&&$.create({trigger:".cover-bg",start:"bottom center+=300",end:"bottom top+=400",scrub:!0,onUpdate:r=>{H.to(t,{opacity:r.progress,overwrite:!0})}})};window.servicesSliders=function(i){let e={type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination services-pagination",page:"splide__pagination__page services-page"},breakpoints:{992:{drag:!0,fixedWidth:"90%"},480:{}}},t=new jr(i,e).mount();window.innerWidth>992&&t.on("click",function(){t.go("+1")}),H.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom+=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.standardHeaderScrollAnimation=function(){let i=H.timeline({paused:!0}),e=H.timeline({paused:!0});i.to(".navbar_brand.scale",{scale:.25,duration:1}).to(".wideletter",{y:"-150%",duration:1,ease:"loader2",stagger:.1},0),e.to(".navbar_brand.scale",{scale:1,duration:1}).to(".wideletter",{y:"0%",duration:1,ease:"loader2",stagger:.1},0),$.create({start:"top+=100 top",onEnter:()=>{e.pause(0),i.restart()},onLeaveBack:()=>{i.pause(0),e.restart()}})};window.videoInsideText=function(i){let e=i.querySelector('[class*="copy-this"]');i.querySelector('[class*="headline-span"]').appendChild(e)};window.spanVideoMaskAnimation=function(i){H.to(i,{scrollTrigger:{trigger:i,start:"bottom bottom-=5%"},width:0,ease:"loader2",duration:.6})};window.customCursorText=function(i){i.addEventListener("mouseenter",()=>{let e=i.getAttribute("wideCursorText"),t=document.querySelector(".custom_cursor_text");t.innerHTML=e})};window.heroAnimationOnLoad=function(i){let e=i.querySelector(".hero_headline_ract-mask"),t=document.getElementById("226a0896-3556-c311-a47e-ed0b87085c28-video"),r=H.timeline({}),n=new Gt("#heroHeading",{type:"lines",linesClass:"hero-line"}),s=new Gt("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});if(document.querySelectorAll(".hero-line").length===0){console.error("GSAP target .hero-line not found.");return}H.set("#heroHeading",{opacity:0}),H.set(".hero-line",{y:"100%"}),H.set(".wideletter",{y:"-150%"}),r.to(".navbar_brand_lottie",{duration:1.5,progress:1,onComplete:function(){H.to(".navbar_brand_lottie",{opacity:0,duration:.25})}}),r.to("#heroHeading",{opacity:1,duration:.1,ease:"none"},"+=0.1"),r.fromTo(".hero-line",{y:"100%"},{duration:.75,y:"0%",stagger:.2,ease:"loader2"},"<"),r.to("#heroHeading",{opacity:0,duration:.3,ease:"loader2"},"+=1"),r.to(".preloader",{scaleY:0,display:"none",duration:1,ease:"loader"}),r.call(()=>{t.play()},null,">"),r.to(".wideletter",{y:"0%",duration:1,ease:"loader2",stagger:.1},"eager"),r.from("#heroBottomWrapper",{opacity:0,duration:1,ease:"loader2"},">-0.4")};window.briefContact=function(i){let e=document.querySelector(".brief-button-regular"),t=document.querySelector("#bottomWrapperOverlay");function r(){let n=window.pageYOffset||document.documentElement.scrollTop,s=t.getBoundingClientRect(),o=s.top+n,a=s.bottom+n;n>=o&&n<a?e.style.opacity=0:e.style.opacity=1}window.addEventListener("scroll",r),r(),H.utils.toArray("section").forEach((n,s)=>{$.create({trigger:n,start:"top top",end:"bottom top",toggleClass:{targets:e,className:"scrolled-over",addTriggerCondition:o=>o.direction===-1},onEnter:()=>{n.getAttribute("bgsection")==="white"?e.style.color="var(--wide-black)":n.getAttribute("bgsection")==="dark"&&(e.style.color="var(--wide-white)")},onLeaveBack:()=>{n.getAttribute("bgsection")==="white"?e.style.color="var(--wide-black)":n.getAttribute("bgsection")==="dark"&&(e.style.color="var(--wide-white)")}})})};window.contactUsHide=function(i){H.to(i,{autoAlpha:0,duration:.15,ease:"loader2",scrollTrigger:{trigger:".contactushide",start:"top center",toggleActions:"play none none reverse"}})};window.caseCategories=function(i){let e=document.querySelectorAll(".summary-title");function t(){e.forEach(r=>{r.style.color=""})}e.forEach(r=>{r.addEventListener("mouseenter",()=>{e.forEach(n=>{H.to(n,{duration:0,color:"var(--wide-gray-400)"})}),H.to(r,{duration:0,color:"var(--wide-black)"})}),r.addEventListener("mouseleave",()=>{setTimeout(()=>{Array.from(e).some(s=>s.matches(":hover"))||t()},0)})})};window.textScroll=function(i){let e=H.timeline({scrollTrigger:{trigger:".stats-content_wrapper",start:"top center+=200"}}),t=new Gt("#heroHeading",{type:"lines",linesClass:"hero-line"}),r=new Gt("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});if(document.querySelectorAll(".hero-line").length===0){console.error("GSAP target .hero-line not found.");return}H.set(".hero-line",{y:"100%"}),H.set(".hero-line-mask",{y:"100%"});let s=document.querySelectorAll(".reveal-scroll");e.fromTo(s,{y:"100%",opacity:0},{y:"0%",opacity:1,duration:1.2,stagger:.2,ease:"loader2"}),e.fromTo(".hero-line",{y:"100%"},{duration:1.2,y:"0%",stagger:.2,ease:"loader2"},"<"),e.fromTo(".hero-line-mask",{y:"100%"},{duration:1.2,y:"0%",stagger:.2,ease:"loader2"},"<")};window.HoverMaskVideo=function(i){let e=document.querySelectorAll(".hover-title"),t=document.querySelectorAll(".hover-mask"),r=document.querySelectorAll(".hover-trigger");function n(){e.forEach(o=>{o.style.opacity=""})}function s(o){o.querySelectorAll(".bg-video").forEach(u=>{u.style.display=""})}r.forEach((o,a)=>{let u=!1,l=H.fromTo(t[a],{height:"0rem"},{height:"29.6rem",ease:"loader",duration:.5,paused:!0}),c=Array.from(t[a].querySelectorAll(".bg-video")).reverse(),d=H.timeline({paused:!0,repeat:-1});c.forEach((p,f)=>{d.to(p,{display:"none",duration:0,delay:1},f*1)}),o.addEventListener("mouseenter",()=>{u=!0,e[a].style.zIndex=21,l.restart().play(),e.forEach((p,f)=>{f!==a&&H.to(p,{duration:0,opacity:.2})}),H.to(e[a],{duration:0,opacity:1}),l.eventCallback("onComplete",()=>{d.restart().play()})}),o.addEventListener("mouseleave",()=>{u=!1,e[a].style.zIndex="",l.reverse(),d.pause().seek(0),s(t[a]),setTimeout(()=>{Array.from(r).some(f=>f.matches(":hover"))||n()},0)})})};window.caseStudyInteraction=function(i){let e=i.querySelector(".portfolio_item_image-mask"),t=H.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});$.create({animation:t,trigger:e,start:"top 80%",onEnter:()=>t.play()});let r=i.getElementsByTagName("video");if(window.innerWidth>992){let s=function(){n.play()},o=function(){n.pause()},n=r.length>0?r[0]:null;if(!n)return;n.addEventListener("loadeddata",()=>{n.pause()}),i.addEventListener("mouseenter",s,!1),i.addEventListener("mouseleave",o,!1)}else r.forEach(n=>{let s=n.getAttribute("poster");n.innerHTML="",n.setAttribute("poster",s),n.load(),n.pause()})};var q_=H.utils.toArray(".panel"),Zy=q_.map(i=>$.create({trigger:i,start:"top top"}));q_.forEach((i,e)=>{$.create({trigger:i,start:()=>i.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,pinSpacing:!1})});$.create({snap:{snapTo:(i,e)=>{let t=Zy.map(n=>n.start),r=H.utils.snap(t,e.scroll());return H.utils.normalize(0,$.maxScroll(window),r)},duration:.5}});window.reviewsSlider=function(i){let e=i.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,t=i.querySelector(".reviews_collection_item");t.innerHTML=e,t.classList.add("is-static");let r=new jr(i,{type:"slide",fixedWidth:"24.5rem",rewind:!0,focus:0,padding:{left:"2.5rem",right:0},gap:0,omitEnd:!0,arrows:!1,drag:!1,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination reviews-pagination",page:"splide__pagination__page reviews-page"},breakpoints:{992:{fixedWidth:"17.438rem",padding:{left:"1.75rem"},drag:"free",snap:!1},480:{fixedWidth:"16.25rem",padding:{left:"1.375rem"}}}}).mount();window.innerWidth>992&&r.on("click",function(){r.go("+1")}),H.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.reviewsSlider=function(i){let e=i.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,t=i.querySelector(".reviews_collection_item");t.innerHTML=e,t.classList.add("is-static");let r=new jr(i,{type:"slide",fixedWidth:"24.5rem",rewind:!0,focus:0,padding:{left:"2.5rem",right:0},gap:0,omitEnd:!0,arrows:!1,drag:!1,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination reviews-pagination",page:"splide__pagination__page reviews-page"},breakpoints:{992:{fixedWidth:"17.438rem",padding:{left:"1.75rem"},drag:"free",snap:!1},480:{fixedWidth:"16.25rem",padding:{left:"1.375rem"}}}}).mount();window.innerWidth>992&&r.on("click",function(){r.go("+1")}),H.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.factsSlider=function(i){let e=new jr(i,{type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination facts-pagination",page:"splide__pagination__page facts-page"},breakpoints:{992:{gap:"1.75rem",drag:!0},480:{gap:"1.375rem"}}}).mount();window.innerWidth>992&&e.on("click",function(){e.go("+1")}),i.querySelectorAll(".external_link.is-cursor").forEach(a=>{a.addEventListener("click",()=>{event.stopPropagation()})});function r(a){var u=e.Components.Elements.slides[a],l=u.querySelector("video");l&&l.play()}function n(a){var u=e.Components.Elements.slides;u.forEach(function(l,c){var d=l.querySelector("video");d&&c!==a&&(d.pause(),d.currentTime=0)})}function s(a){H.fromTo([a.querySelector(".is-h4"),a.querySelector(".facts-slide_legend-wrapper"),a.querySelector(".facts-slide_diagram-wrapper"),a.querySelector(".facts-slide_source")],{x:"2rem",opacity:0},{x:"0",opacity:1,stagger:.2,duration:.5,easing:"loader2"})}function o(a){H.set([a.querySelector(".is-h4"),a.querySelector(".facts-slide_legend-wrapper"),a.querySelector(".facts-slide_diagram-wrapper"),a.querySelector(".facts-slide_source")],{x:"2rem",opacity:0})}e.on("move",function(a){r(a);var u=e.Components.Elements.slides[a];s(u)}),e.on("moved",function(a){n(a);var u=e.Components.Elements.slides[a];o(u)})};window.teamSlider=function(i){let e=i.querySelector(".team_collection_list"),t=Array.from(e.children);t.sort(function(){return .5-Math.random()}),t.forEach(function(r){e.appendChild(r)}),new jr(i,{type:"slide",fixedWidth:"20%",padding:{left:"2.5rem",right:0},focus:0,gap:0,pagination:!1,omitEnd:!0,arrows:!1,drag:!0,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination facts-pagination",page:"splide__pagination__page facts-page"},breakpoints:{992:{fixedWidth:"40%",padding:{left:"1.75rem"},drag:"free",snap:!1},560:{fixedWidth:"75%",padding:{left:"1.375rem"},drag:"free",snap:!1}}}).mount(),H.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.elementPaddingChange=function(i){H.to(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"top top",toggleActions:"restart none none reverse",scrub:1},paddingLeft:"0rem",paddingRight:"0rem",ease:"linear"})};window.sectionBgChange=function(i){H.set(i,{backgroundColor:"#fff"}),H.set("#heroNavbarLottie path",{fill:"rgb(21, 21, 21)"});let e=H.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:i,start:"top center",end:"bottom top",toggleActions:"play reverse play reverse"}});e.to(["#skills","#portfolio"],{backgroundColor:"#151515"},"<"),e.to(".info-bar_wrapper",{backgroundColor:"#2E2E2E",color:"#fff"},"<"),e.to([".button_small",".button_small_icon",".navbar_brand_svg","#heroNavbarLottie path "],{color:"#fff",fill:"rgb(254, 254, 254)"},"<"),window.innerWidth>992&&e.to(".navbar_menu_link",{color:"#fff",fill:"rgb(254, 254, 254)"},"<")};window.badgeColorChange=function(i){let e=H.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:i,start:"top center",end:"bottom center",toggleActions:"play reverse play reverse"}});e.to(".js-color-bg",{fill:"#2E2E2E"},"<"),e.to(".js-color-text",{fill:"#fff"},"<")};window.clientLogosAnimation=function(i){let t=i.querySelectorAll('[class*="item_mask"]'),r=i.querySelectorAll('[class*="image"]');H.from(t,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},width:"0%",duration:.7,ease:"loader2",stagger:.15}),H.from(r,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},opacity:0,delay:.4,duration:.45,ease:"loader2",stagger:.15})};window.heroSpanVideoOnHover=function(i){window.customCursorText(i);let e=H.timeline({paused:!0,ease:"loader2"});e.to(".hero-line-mask",{clipPath:"none",duration:.05},">"),e.to(i,{scale:2,duration:.35},">"),window.innerWidth>992&&(i.addEventListener("mouseenter",()=>{e.timeScale(1).play()}),i.addEventListener("mouseleave",()=>{e.timeScale(2).reverse()}))};window.reelModal=function(){let i=document.querySelectorAll('[wideClick="playReel"]'),e=document.querySelector(".reel-modal"),t=document.getElementById("fullReel"),r=0,n=H.timeline({ease:"loader2",paused:!0});n.to(e,{display:"flex",opacity:0,duration:0}),n.to(e,{opacity:1,duration:.6},">"),window.innerWidth>992?(i.forEach(s=>{s.addEventListener("click",()=>{if(Pt.stop(),n.timeScale(1).play(),r===0)t.canPlayType("video/webm")?t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.webm":t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.mp4",t.load();else return;t.play()})}),e.addEventListener("click",()=>{n.timeScale(4).reverse(),t.pause(),Pt.start()}),window.addEventListener("keydown",function(s){s.keyCode===27&&(n.timeScale(4).reverse(),t.pause(),Pt.start())})):(i.forEach(s=>{s.addEventListener("click",()=>{t.canPlayType("video/webm")?t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.webm":t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.mp4",t.load(),t.addEventListener("canplaythrough",()=>{t.play()},{once:!0})})}),e.addEventListener("click",()=>{t.pause()}))};window.foundersTooltip=function(i){let e=i.querySelector(".line"),t=i.querySelector(".arrow"),r=H.timeline({paused:!0,ease:"loader2"});r.from(i,{x:"5%",opacity:0,duration:.4}),r.from(e,{drawSVG:"0% 0%",duration:.2},">-0.2"),r.from(t,{drawSVG:"0% 0%",duration:.15}),window.innerWidth>992&&(i.addEventListener("mouseenter",()=>{r.timeScale(1).play()}),i.addEventListener("mouseleave",()=>{r.timeScale(3).reverse()}))};window.clientsMapActions=function(i){let e=H.timeline({scrollTrigger:{trigger:".reviews_map_base",start:"bottom-=160px bottom"}});e.from(".map-point",{duration:1,opacity:0,stagger:.1,ease:"loader2"}),e.from(".map-pin_wrapper",{duration:1,opacity:0,stagger:.1,ease:"loader2"},"0.3"),document.querySelectorAll(".map-pin_wrapper").forEach(function(n){n.addEventListener("mouseenter",function(){let s=this.getAttribute("w-map-pin"),o=document.querySelectorAll(".map_info-collection-item"),a=document.querySelectorAll(".map_info-collection-item[w-map-info='"+s+"']"),u=H.timeline({});u.to(o,{opacity:0,ease:"loader2",duration:.1}),u.to(o,{display:"none",duration:.01}),u.to(a,{display:"block",duration:.01}),u.to(a,{opacity:1,ease:"loader2",duration:.2})})});let r=document.querySelectorAll(".map_info-wrapper");for(let n=0;n<r.length;n++){let s=r[n].getAttribute("href");s&&s.length>3&&(r[n].style.cursor="pointer")}};window.statsHeadlineAnimation=function(){let i=H.timeline({scrollTrigger:{trigger:"#statsKnow",start:"center center",toggleActions:"restart none none reverse",end:"+=500"},pause:"paused",ease:"defaultEase"}),e=new Gt("#statsDone",{type:"lines",linesClass:"stats-line"}),t=new Gt("#statsDone",{type:"lines",linesClass:"stats-line-mask"});i.to("#statsKnow",{duration:.5,opacity:0,display:"none"},">"),i.from(".stats-line",{duration:.5,opacity:0,y:"100%",stagger:.25})};window.counterUpAnimation=function(){document.querySelectorAll("#counter").forEach(e=>{let t=parseFloat(e.textContent.replace(/,/g,""));H.fromTo(e,{innerHTML:0},{innerHTML:t,duration:2,ease:"power1.inOut",snap:{innerHTML:1},onUpdate:function(){e.textContent=this.targets()[0].innerHTML.toLocaleString()}})})};window.heroSliders=function(i){console.log("Initializing Splide on element:",i);let e={type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination hero-pagination",page:"splide__pagination__page hero-page"},breakpoints:{992:{drag:!0},480:{}}},t=new jr(i,e).mount();console.log("Splide instance:",t),window.innerWidth>992&&t.on("click",function(){t.go("+1")}),H.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom+=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.whatsNext=function(){let i=document.querySelectorAll(".whats-next_links_item.is-case"),e=document.querySelector(".whats-next_links_item.is-all");i.forEach(r=>{let n=r.querySelector(".whats-next_links_item_image_mask"),s=r.querySelector(".whats-next_links_item_image-wrapper"),o=H.timeline({paused:!0,ease:"loader2"});o.to(s,{opacity:.8,duration:.15}),o.to(n,{width:"0%",duration:.3},">-0."),r.addEventListener("mouseenter",()=>{o.timeScale(1).play(),i.forEach(a=>{a!==event.target&&H.to(a,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),r.addEventListener("mouseleave",()=>{o.timeScale(3).reverse(),i.forEach(a=>{a!==event.target&&H.to(a,{color:"#fff",duration:.1,ease:"loader2"})})})}),e.addEventListener("mouseenter",()=>{H.to(e,{color:"#fff",duration:.2,ease:"loader2"}),i.forEach(r=>{H.to(r,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),e.addEventListener("mouseleave",()=>{H.to(e,{color:"#7A7A7A",duration:.2,ease:"loader2"}),i.forEach(r=>{H.to(r,{color:"#fff",duration:.2,ease:"loader2"})})});for(var t=0;t<document.getElementsByTagName("img").length;t++)document.getElementsByTagName("img")[t].srcset="";for(var t=0;t<document.getElementsByTagName("img").length;t++)document.getElementsByTagName("img")[t].sizes=""};window.csMaskAnimation=function(){document.querySelectorAll(".portfolio_item_image-mask").forEach((e,t)=>{if(t===0)return;let r=H.from(e,{width:"100%",duration:.7,ease:"loader2",paused:!0});$.create({animation:r,trigger:e,start:"top 80%",onEnter:()=>r.play()})})};window.updateScrollTrigger=function(){window.onload=function(){$.update()}};window.blogPostMaskAnimation=function(i){let e=document.querySelector("#heroSection"),t=H.from(".post_main-mask-ract",{left:"0%",ease:"loader2"});$.create({animation:t,trigger:e,start:"top -5%",end:"bottom 50%",scrub:.5})};window.changeCheckboxLabelColor=function(){let i=document.querySelectorAll(".w-checkbox-input"),e=function(t,r){for(let n of t)if(n.type==="attributes"&&n.attributeName==="class"){let s=n.target.classList.contains("w--redirected-checked"),o=n.target.parentElement.querySelector(".form-checkbox_label");s&&o&&!o.classList.contains("is-active")?o.classList.add("is-active"):!s&&o&&o.classList.contains("is-active")&&o.classList.remove("is-active")}};i.forEach(function(t){let r={attributes:!0,attributeFilter:["class"]};new MutationObserver(e).observe(t,r)})};window.openContactModal=function(){po.play(),document.body.classList.add("is-scroll-off"),Pt.stop()};window.closeContactModal=function(){po.timeScale(1).reverse(),document.body.classList.remove("is-scroll-off"),Pt.start()};window.closeContactModalOnEsc=function(i){document.addEventListener("keydown",function(e){e.key==="Escape"&&window.closeContactModal()})};window.successMsgAnimation=function(i){let e=H.timeline({}),t=new Gt("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line"}),r=new Gt("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line-mask"});e.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"}),e.to(i,{width:"0%",duration:.6,ease:"loader2"},">-0.5"),e.from("#successParagraph",{opacity:0,duration:.3,ease:"loader2"},">-0.4")};window.formSubmitAnimation=function(i){function e(){let t=document.querySelector(".contact-modal_form-success"),r={attributes:!0,attributeFilter:["style"]};new MutationObserver(function(s,o){s.forEach(function(a){a.target.style.display==="block"&&successMsgAnimation(i)})}).observe(t,r)}e()};window.scrollTriggerRefresh=function(){function i(){$.refresh()}let e=new MutationObserver(i),t=document.querySelector(".section.is-post-body"),r={attributes:!0,childList:!0,subtree:!0};e.observe(t,r)};window.closeInfoBar=function(){let i=H.timeline({});i.to(".info-bar",{height:0,autoAlpha:0,duration:.3,ease:"loader2"}),i.to(".button_small.is-navbar",{top:"1.75rem",duration:.3,ease:"loader2"},"<"),i.to("#heroSection",{paddingTop:"6.5rem",duration:.3,ease:"loader2"},"<")};window.Webflow||=[];window.Webflow.push(()=>{console.log("The new code source is loaded!"),_d(),qy(),Webflow.env("editor")===void 0?(Hy(),Pt.start()):(console.log("Editor mode ON"),Pt.destroy()),Vy(),Yy(),Xy(),Gy(),jy(),Ky(),Wy(),Uy()});})();
|
|
5
|
+
`:""}`,e),setTimeout(()=>{throw i},0)}var ys=!0;function hf(i){let e=ys;ys=!1;let t=i();return ys=e,t}function Oi(i,e,t={}){let r;return ft(i,e)(n=>r=n,t),r}function ft(...i){return pf(...i)}var pf=_f;function H_(i){pf=i}function _f(i,e){let t={};ru(t,i);let r=[t,...fn(i)],n=typeof e=="function"?W_(r,e):Y_(r,e,i);return V_.bind(null,i,e,n)}function W_(i,e){return(t=()=>{},{scope:r={},params:n=[]}={})=>{let o=e.apply(ao([r,...i]),n);ws(t,o)}}var $a={};function q_(i,e){if($a[i])return $a[i];let t=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(i.trim())||/^(let|const)\s/.test(i.trim())?`(async()=>{ ${i} })()`:i,o=(()=>{try{let s=new t(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(s,"name",{value:`[Alpine] ${i}`}),s}catch(s){return no(s,e,i),Promise.resolve()}})();return $a[i]=o,o}function Y_(i,e,t){let r=q_(e,t);return(n=()=>{},{scope:o={},params:s=[]}={})=>{r.result=void 0,r.finished=!1;let a=ao([o,...i]);if(typeof r=="function"){let u=r(r,a).catch(l=>no(l,t,e));r.finished?(ws(n,r.result,a,s,t),r.result=void 0):u.then(l=>{ws(n,l,a,s,t)}).catch(l=>no(l,t,e)).finally(()=>r.result=void 0)}}}function ws(i,e,t,r,n){if(ys&&typeof e=="function"){let o=e.apply(t,r);o instanceof Promise?o.then(s=>ws(i,s,t,r)).catch(s=>no(s,n,e)):i(o)}else typeof e=="object"&&e instanceof Promise?e.then(o=>i(o)):i(e)}var bu="x-";function _n(i=""){return bu+i}function X_(i){bu=i}var iu={};function Ne(i,e){return iu[i]=e,{before(t){if(!iu[t]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let r=Ai.indexOf(t);Ai.splice(r>=0?r:Ai.indexOf("DEFAULT"),0,i)}}}function xu(i,e,t){if(e=Array.from(e),i._x_virtualDirectives){let o=Object.entries(i._x_virtualDirectives).map(([a,u])=>({name:a,value:u})),s=gf(o);o=o.map(a=>s.find(u=>u.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),e=e.concat(o)}let r={};return e.map(Ef((o,s)=>r[o]=s)).filter(bf).map($_(r,t)).sort(j_).map(o=>G_(i,o))}function gf(i){return Array.from(i).map(Ef()).filter(e=>!bf(e))}var nu=!1,eo=new Map,mf=Symbol();function U_(i){nu=!0;let e=Symbol();mf=e,eo.set(e,[]);let t=()=>{for(;eo.get(e).length;)eo.get(e).shift()();eo.delete(e)},r=()=>{nu=!1,t()};i(t),r()}function vf(i){let e=[],t=a=>e.push(a),[r,n]=T_(i);return e.push(n),[{Alpine:uo,effect:r,cleanup:t,evaluateLater:ft.bind(ft,i),evaluate:Oi.bind(Oi,i)},()=>e.forEach(a=>a())]}function G_(i,e){let t=()=>{},r=iu[e.type]||t,[n,o]=vf(i);sf(i,e.original,o);let s=()=>{i._x_ignore||i._x_ignoreSelf||(r.inline&&r.inline(i,e,n),r=r.bind(r,i,e,n),nu?eo.get(mf).push(r):r())};return s.runCleanups=o,s}var Df=(i,e)=>({name:t,value:r})=>(t.startsWith(i)&&(t=t.replace(i,e)),{name:t,value:r}),yf=i=>i;function Ef(i=()=>{}){return({name:e,value:t})=>{let{name:r,value:n}=wf.reduce((o,s)=>s(o),{name:e,value:t});return r!==e&&i(r,e),{name:r,value:n}}}var wf=[];function Su(i){wf.push(i)}function bf({name:i}){return xf().test(i)}var xf=()=>new RegExp(`^${bu}([^:^.]+)\\b`);function $_(i,e){return({name:t,value:r})=>{let n=t.match(xf()),o=t.match(/:([a-zA-Z0-9\-:]+)/),s=t.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=e||i[t]||t;return{type:n?n[1]:null,value:o?o[1]:null,modifiers:s.map(u=>u.replace(".","")),expression:r,original:a}}}var ou="DEFAULT",Ai=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",ou,"teleport"];function j_(i,e){let t=Ai.indexOf(i.type)===-1?ou:i.type,r=Ai.indexOf(e.type)===-1?ou:e.type;return Ai.indexOf(t)-Ai.indexOf(r)}var su=[],Cu=!1;function Tu(i=()=>{}){return queueMicrotask(()=>{Cu||setTimeout(()=>{au()})}),new Promise(e=>{su.push(()=>{i(),e()})})}function au(){for(Cu=!1;su.length;)su.shift()()}function K_(){Cu=!0}function Au(i,e){return Array.isArray(e)?Rc(i,e.join(" ")):typeof e=="object"&&e!==null?Z_(i,e):typeof e=="function"?Au(i,e()):Rc(i,e)}function Rc(i,e){let t=o=>o.split(" ").filter(Boolean),r=o=>o.split(" ").filter(s=>!i.classList.contains(s)).filter(Boolean),n=o=>(i.classList.add(...o),()=>{i.classList.remove(...o)});return e=e===!0?e="":e||"",n(r(e))}function Z_(i,e){let t=a=>a.split(" ").filter(Boolean),r=Object.entries(e).flatMap(([a,u])=>u?t(a):!1).filter(Boolean),n=Object.entries(e).flatMap(([a,u])=>u?!1:t(a)).filter(Boolean),o=[],s=[];return n.forEach(a=>{i.classList.contains(a)&&(i.classList.remove(a),s.push(a))}),r.forEach(a=>{i.classList.contains(a)||(i.classList.add(a),o.push(a))}),()=>{s.forEach(a=>i.classList.add(a)),o.forEach(a=>i.classList.remove(a))}}function Cs(i,e){return typeof e=="object"&&e!==null?Q_(i,e):J_(i,e)}function Q_(i,e){let t={};return Object.entries(e).forEach(([r,n])=>{t[r]=i.style[r],r.startsWith("--")||(r=eg(r)),i.style.setProperty(r,n)}),setTimeout(()=>{i.style.length===0&&i.removeAttribute("style")}),()=>{Cs(i,t)}}function J_(i,e){let t=i.getAttribute("style",e);return i.setAttribute("style",e),()=>{i.setAttribute("style",t||"")}}function eg(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function uu(i,e=()=>{}){let t=!1;return function(){t?e.apply(this,arguments):(t=!0,i.apply(this,arguments))}}Ne("transition",(i,{value:e,modifiers:t,expression:r},{evaluate:n})=>{typeof r=="function"&&(r=n(r)),r!==!1&&(!r||typeof r=="boolean"?rg(i,t,e):tg(i,r,e))});function tg(i,e,t){Sf(i,Au,""),{enter:n=>{i._x_transition.enter.during=n},"enter-start":n=>{i._x_transition.enter.start=n},"enter-end":n=>{i._x_transition.enter.end=n},leave:n=>{i._x_transition.leave.during=n},"leave-start":n=>{i._x_transition.leave.start=n},"leave-end":n=>{i._x_transition.leave.end=n}}[t](e)}function rg(i,e,t){Sf(i,Cs);let r=!e.includes("in")&&!e.includes("out")&&!t,n=r||e.includes("in")||["enter"].includes(t),o=r||e.includes("out")||["leave"].includes(t);e.includes("in")&&!r&&(e=e.filter((m,v)=>v<e.indexOf("out"))),e.includes("out")&&!r&&(e=e.filter((m,v)=>v>e.indexOf("out")));let s=!e.includes("opacity")&&!e.includes("scale"),a=s||e.includes("opacity"),u=s||e.includes("scale"),l=a?0:1,c=u?Qn(e,"scale",95)/100:1,d=Qn(e,"delay",0)/1e3,p=Qn(e,"origin","center"),f="opacity, transform",_=Qn(e,"duration",150)/1e3,h=Qn(e,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";n&&(i._x_transition.enter.during={transformOrigin:p,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${_}s`,transitionTimingFunction:g},i._x_transition.enter.start={opacity:l,transform:`scale(${c})`},i._x_transition.enter.end={opacity:1,transform:"scale(1)"}),o&&(i._x_transition.leave.during={transformOrigin:p,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${h}s`,transitionTimingFunction:g},i._x_transition.leave.start={opacity:1,transform:"scale(1)"},i._x_transition.leave.end={opacity:l,transform:`scale(${c})`})}function Sf(i,e,t={}){i._x_transition||(i._x_transition={enter:{during:t,start:t,end:t},leave:{during:t,start:t,end:t},in(r=()=>{},n=()=>{}){lu(i,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){lu(i,e,{during:this.leave.during,start:this.leave.start,end:this.leave.end},r,n)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(i,e,t,r){let n=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,o=()=>n(t);if(e){i._x_transition&&(i._x_transition.enter||i._x_transition.leave)?i._x_transition.enter&&(Object.entries(i._x_transition.enter.during).length||Object.entries(i._x_transition.enter.start).length||Object.entries(i._x_transition.enter.end).length)?i._x_transition.in(t):o():i._x_transition?i._x_transition.in(t):o();return}i._x_hidePromise=i._x_transition?new Promise((s,a)=>{i._x_transition.out(()=>{},()=>s(r)),i._x_transitioning.beforeCancel(()=>a({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let s=Cf(i);s?(s._x_hideChildren||(s._x_hideChildren=[]),s._x_hideChildren.push(i)):n(()=>{let a=u=>{let l=Promise.all([u._x_hidePromise,...(u._x_hideChildren||[]).map(a)]).then(([c])=>c());return delete u._x_hidePromise,delete u._x_hideChildren,l};a(i).catch(u=>{if(!u.isFromCancelledTransition)throw u})})})};function Cf(i){let e=i.parentNode;if(e)return e._x_hidePromise?e:Cf(e)}function lu(i,e,{during:t,start:r,end:n}={},o=()=>{},s=()=>{}){if(i._x_transitioning&&i._x_transitioning.cancel(),Object.keys(t).length===0&&Object.keys(r).length===0&&Object.keys(n).length===0){o(),s();return}let a,u,l;ig(i,{start(){a=e(i,r)},during(){u=e(i,t)},before:o,end(){a(),l=e(i,n)},after:s,cleanup(){u(),l()}})}function ig(i,e){let t,r,n,o=uu(()=>{He(()=>{t=!0,r||e.before(),n||(e.end(),au()),e.after(),i.isConnected&&e.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(s){this.beforeCancels.push(s)},cancel:uu(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()}),finish:o},He(()=>{e.start(),e.during()}),K_(),requestAnimationFrame(()=>{if(t)return;let s=Number(getComputedStyle(i).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,a=Number(getComputedStyle(i).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;s===0&&(s=Number(getComputedStyle(i).animationDuration.replace("s",""))*1e3),He(()=>{e.before()}),r=!0,requestAnimationFrame(()=>{t||(He(()=>{e.end()}),au(),setTimeout(i._x_transitioning.finish,s+a),n=!0)})})}function Qn(i,e,t){if(i.indexOf(e)===-1)return t;let r=i[i.indexOf(e)+1];if(!r||e==="scale"&&isNaN(r))return t;if(e==="duration"||e==="delay"){let n=r.match(/([0-9]+)ms/);if(n)return n[1]}return e==="origin"&&["top","right","left","center","bottom"].includes(i[i.indexOf(e)+2])?[r,i[i.indexOf(e)+2]].join(" "):r}var ti=!1;function Ts(i,e=()=>{}){return(...t)=>ti?e(...t):i(...t)}function ng(i){return(...e)=>ti&&i(...e)}function og(i,e){i._x_dataStack&&(e._x_dataStack=i._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),ti=!0,Tf(()=>{Or(e,(t,r)=>{r(t,()=>{})})}),ti=!1}var cu=!1;function sg(i,e){e._x_dataStack||(e._x_dataStack=i._x_dataStack),ti=!0,cu=!0,Tf(()=>{ag(e)}),ti=!1,cu=!1}function ag(i){let e=!1;Or(i,(r,n)=>{ei(r,(o,s)=>{if(e&&F_(o))return s();e=!0,n(o,s)})})}function Tf(i){let e=pn;Pc((t,r)=>{let n=e(t);return oo(n),()=>{}}),i(),Pc(e)}function ug(i){return ti?cu?!0:i.hasAttribute("data-has-alpine-state"):!1}function Af(i,e,t,r=[]){switch(i._x_bindings||(i._x_bindings=hn({})),i._x_bindings[e]=t,e=r.includes("camel")?gg(e):e,e){case"value":lg(i,t);break;case"style":fg(i,t);break;case"class":cg(i,t);break;case"selected":case"checked":dg(i,e,t);break;default:Ff(i,e,t);break}}function lg(i,e){if(i.type==="radio")i.attributes.value===void 0&&(i.value=e),window.fromModel&&(i.checked=Nc(i.value,e));else if(i.type==="checkbox")Number.isInteger(e)?i.value=e:!Array.isArray(e)&&typeof e!="boolean"&&![null,void 0].includes(e)?i.value=String(e):Array.isArray(e)?i.checked=e.some(t=>Nc(t,i.value)):i.checked=!!e;else if(i.tagName==="SELECT")_g(i,e);else{if(i.value===e)return;i.value=e===void 0?"":e}}function cg(i,e){i._x_undoAddedClasses&&i._x_undoAddedClasses(),i._x_undoAddedClasses=Au(i,e)}function fg(i,e){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=Cs(i,e)}function dg(i,e,t){Ff(i,e,t),pg(i,e,t)}function Ff(i,e,t){[null,void 0,!1].includes(t)&&mg(e)?i.removeAttribute(e):(Of(e)&&(t=e),hg(i,e,t))}function hg(i,e,t){i.getAttribute(e)!=t&&i.setAttribute(e,t)}function pg(i,e,t){i[e]!==t&&(i[e]=t)}function _g(i,e){let t=[].concat(e).map(r=>r+"");Array.from(i.options).forEach(r=>{r.selected=t.includes(r.value)})}function gg(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Nc(i,e){return i==e}function Of(i){return["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(i)}function mg(i){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)}function vg(i,e,t){return i._x_bindings&&i._x_bindings[e]!==void 0?i._x_bindings[e]:Mf(i,e,t)}function Dg(i,e,t,r=!0){if(i._x_bindings&&i._x_bindings[e]!==void 0)return i._x_bindings[e];if(i._x_inlineBindings&&i._x_inlineBindings[e]!==void 0){let n=i._x_inlineBindings[e];return n.extract=r,hf(()=>Oi(i,n.expression))}return Mf(i,e,t)}function Mf(i,e,t){let r=i.getAttribute(e);return r===null?typeof t=="function"?t():t:r===""?!0:Of(e)?!![e,"true"].includes(r):r}function kf(i,e){var t;return function(){var r=this,n=arguments,o=function(){t=null,i.apply(r,n)};clearTimeout(t),t=setTimeout(o,e)}}function Pf(i,e){let t;return function(){let r=this,n=arguments;t||(i.apply(r,n),t=!0,setTimeout(()=>t=!1,e))}}function Lf({get:i,set:e},{get:t,set:r}){let n=!0,o,s,a,u,l=pn(()=>{let c,d;n?(c=i(),r(JSON.parse(JSON.stringify(c))),d=t(),n=!1):(c=i(),d=t(),a=JSON.stringify(c),u=JSON.stringify(d),a!==o?(d=t(),r(c),d=c):(e(JSON.parse(u??null)),c=d)),o=JSON.stringify(c),s=JSON.stringify(d)});return()=>{oo(l)}}function yg(i){(Array.isArray(i)?i:[i]).forEach(t=>t(uo))}var Ti={},Ic=!1;function Eg(i,e){if(Ic||(Ti=hn(Ti),Ic=!0),e===void 0)return Ti[i];Ti[i]=e,typeof e=="object"&&e!==null&&e.hasOwnProperty("init")&&typeof e.init=="function"&&Ti[i].init(),cf(Ti[i])}function wg(){return Ti}var Rf={};function bg(i,e){let t=typeof e!="function"?()=>e:e;return i instanceof Element?Nf(i,t()):(Rf[i]=t,()=>{})}function xg(i){return Object.entries(Rf).forEach(([e,t])=>{Object.defineProperty(i,e,{get(){return(...r)=>t(...r)}})}),i}function Nf(i,e,t){let r=[];for(;r.length;)r.pop()();let n=Object.entries(e).map(([s,a])=>({name:s,value:a})),o=gf(n);return n=n.map(s=>o.find(a=>a.name===s.name)?{name:`x-bind:${s.name}`,value:`"${s.value}"`}:s),xu(i,n,t).map(s=>{r.push(s.runCleanups),s()}),()=>{for(;r.length;)r.pop()()}}var If={};function Sg(i,e){If[i]=e}function Cg(i,e){return Object.entries(If).forEach(([t,r])=>{Object.defineProperty(i,t,{get(){return(...n)=>r.bind(e)(...n)},enumerable:!1})}),i}var Tg={get reactive(){return hn},get release(){return oo},get effect(){return pn},get raw(){return $c},version:"3.13.1",flushAndStopDeferringMutations:N_,dontAutoEvaluateFunctions:hf,disableEffectScheduling:S_,startObservingMutations:yu,stopObservingMutations:uf,setReactivityEngine:C_,onAttributeRemoved:sf,onAttributesAdded:of,closestDataStack:fn,skipDuringClone:Ts,onlyDuringClone:ng,addRootSelector:Qc,addInitSelector:Jc,addScopeToNode:so,deferMutations:R_,mapAttributes:Su,evaluateLater:ft,interceptInit:O_,setEvaluator:H_,mergeProxies:ao,extractProp:Dg,findClosest:Ss,onElRemoved:mu,closestRoot:xs,destroyTree:gu,interceptor:ff,transition:lu,setStyles:Cs,mutateDom:He,directive:Ne,entangle:Lf,throttle:Pf,debounce:kf,evaluate:Oi,initTree:Or,nextTick:Tu,prefixed:_n,prefix:X_,plugin:yg,magic:ir,store:Eg,start:A_,clone:sg,cloneNode:og,bound:vg,$data:lf,walk:ei,data:Sg,bind:bg},uo=Tg;function Bf(i,e){let t=Object.create(null),r=i.split(",");for(let n=0;n<r.length;n++)t[r[n]]=!0;return e?n=>!!t[n.toLowerCase()]:n=>!!t[n]}var Ag="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xy=Bf(Ag+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Fg=Object.freeze({}),Sy=Object.freeze([]),Og=Object.prototype.hasOwnProperty,As=(i,e)=>Og.call(i,e),Mi=Array.isArray,io=i=>zf(i)==="[object Map]",Mg=i=>typeof i=="string",Fu=i=>typeof i=="symbol",Fs=i=>i!==null&&typeof i=="object",kg=Object.prototype.toString,zf=i=>kg.call(i),Vf=i=>zf(i).slice(8,-1),Ou=i=>Mg(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,Os=i=>{let e=Object.create(null);return t=>e[t]||(e[t]=i(t))},Pg=/-(\w)/g,Cy=Os(i=>i.replace(Pg,(e,t)=>t?t.toUpperCase():"")),Lg=/\B([A-Z])/g,Ty=Os(i=>i.replace(Lg,"-$1").toLowerCase()),Hf=Os(i=>i.charAt(0).toUpperCase()+i.slice(1)),Ay=Os(i=>i?`on${Hf(i)}`:""),Wf=(i,e)=>i!==e&&(i===i||e===e),fu=new WeakMap,Jn=[],hr,ki=Symbol("iterate"),du=Symbol("Map key iterate");function Rg(i){return i&&i._isEffect===!0}function Ng(i,e=Fg){Rg(i)&&(i=i.raw);let t=zg(i,e);return e.lazy||t(),t}function Ig(i){i.active&&(qf(i),i.options.onStop&&i.options.onStop(),i.active=!1)}var Bg=0;function zg(i,e){let t=function(){if(!t.active)return i();if(!Jn.includes(t)){qf(t);try{return Hg(),Jn.push(t),hr=t,i()}finally{Jn.pop(),Yf(),hr=Jn[Jn.length-1]}}};return t.id=Bg++,t.allowRecurse=!!e.allowRecurse,t._isEffect=!0,t.active=!0,t.raw=i,t.deps=[],t.options=e,t}function qf(i){let{deps:e}=i;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(i);e.length=0}}var dn=!0,Mu=[];function Vg(){Mu.push(dn),dn=!1}function Hg(){Mu.push(dn),dn=!0}function Yf(){let i=Mu.pop();dn=i===void 0?!0:i}function rr(i,e,t){if(!dn||hr===void 0)return;let r=fu.get(i);r||fu.set(i,r=new Map);let n=r.get(t);n||r.set(t,n=new Set),n.has(hr)||(n.add(hr),hr.deps.push(n),hr.options.onTrack&&hr.options.onTrack({effect:hr,target:i,type:e,key:t}))}function ri(i,e,t,r,n,o){let s=fu.get(i);if(!s)return;let a=new Set,u=c=>{c&&c.forEach(d=>{(d!==hr||d.allowRecurse)&&a.add(d)})};if(e==="clear")s.forEach(u);else if(t==="length"&&Mi(i))s.forEach((c,d)=>{(d==="length"||d>=r)&&u(c)});else switch(t!==void 0&&u(s.get(t)),e){case"add":Mi(i)?Ou(t)&&u(s.get("length")):(u(s.get(ki)),io(i)&&u(s.get(du)));break;case"delete":Mi(i)||(u(s.get(ki)),io(i)&&u(s.get(du)));break;case"set":io(i)&&u(s.get(ki));break}let l=c=>{c.options.onTrigger&&c.options.onTrigger({effect:c,target:i,key:t,type:e,newValue:r,oldValue:n,oldTarget:o}),c.options.scheduler?c.options.scheduler(c):c()};a.forEach(l)}var Wg=Bf("__proto__,__v_isRef,__isVue"),Xf=new Set(Object.getOwnPropertyNames(Symbol).map(i=>Symbol[i]).filter(Fu)),qg=Uf(),Yg=Uf(!0),Bc=Xg();function Xg(){let i={};return["includes","indexOf","lastIndexOf"].forEach(e=>{i[e]=function(...t){let r=me(this);for(let o=0,s=this.length;o<s;o++)rr(r,"get",o+"");let n=r[e](...t);return n===-1||n===!1?r[e](...t.map(me)):n}}),["push","pop","shift","unshift","splice"].forEach(e=>{i[e]=function(...t){Vg();let r=me(this)[e].apply(this,t);return Yf(),r}}),i}function Uf(i=!1,e=!1){return function(r,n,o){if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_raw"&&o===(i?e?a0:Kf:e?s0:jf).get(r))return r;let s=Mi(r);if(!i&&s&&As(Bc,n))return Reflect.get(Bc,n,o);let a=Reflect.get(r,n,o);return(Fu(n)?Xf.has(n):Wg(n))||(i||rr(r,"get",n),e)?a:hu(a)?!s||!Ou(n)?a.value:a:Fs(a)?i?Zf(a):Ru(a):a}}var Ug=Gg();function Gg(i=!1){return function(t,r,n,o){let s=t[r];if(!i&&(n=me(n),s=me(s),!Mi(t)&&hu(s)&&!hu(n)))return s.value=n,!0;let a=Mi(t)&&Ou(r)?Number(r)<t.length:As(t,r),u=Reflect.set(t,r,n,o);return t===me(o)&&(a?Wf(n,s)&&ri(t,"set",r,n,s):ri(t,"add",r,n)),u}}function $g(i,e){let t=As(i,e),r=i[e],n=Reflect.deleteProperty(i,e);return n&&t&&ri(i,"delete",e,void 0,r),n}function jg(i,e){let t=Reflect.has(i,e);return(!Fu(e)||!Xf.has(e))&&rr(i,"has",e),t}function Kg(i){return rr(i,"iterate",Mi(i)?"length":ki),Reflect.ownKeys(i)}var Zg={get:qg,set:Ug,deleteProperty:$g,has:jg,ownKeys:Kg},Qg={get:Yg,set(i,e){return console.warn(`Set operation on key "${String(e)}" failed: target is readonly.`,i),!0},deleteProperty(i,e){return console.warn(`Delete operation on key "${String(e)}" failed: target is readonly.`,i),!0}},ku=i=>Fs(i)?Ru(i):i,Pu=i=>Fs(i)?Zf(i):i,Lu=i=>i,Ms=i=>Reflect.getPrototypeOf(i);function _s(i,e,t=!1,r=!1){i=i.__v_raw;let n=me(i),o=me(e);e!==o&&!t&&rr(n,"get",e),!t&&rr(n,"get",o);let{has:s}=Ms(n),a=r?Lu:t?Pu:ku;if(s.call(n,e))return a(i.get(e));if(s.call(n,o))return a(i.get(o));i!==n&&i.get(e)}function gs(i,e=!1){let t=this.__v_raw,r=me(t),n=me(i);return i!==n&&!e&&rr(r,"has",i),!e&&rr(r,"has",n),i===n?t.has(i):t.has(i)||t.has(n)}function ms(i,e=!1){return i=i.__v_raw,!e&&rr(me(i),"iterate",ki),Reflect.get(i,"size",i)}function zc(i){i=me(i);let e=me(this);return Ms(e).has.call(e,i)||(e.add(i),ri(e,"add",i,i)),this}function Vc(i,e){e=me(e);let t=me(this),{has:r,get:n}=Ms(t),o=r.call(t,i);o?$f(t,r,i):(i=me(i),o=r.call(t,i));let s=n.call(t,i);return t.set(i,e),o?Wf(e,s)&&ri(t,"set",i,e,s):ri(t,"add",i,e),this}function Hc(i){let e=me(this),{has:t,get:r}=Ms(e),n=t.call(e,i);n?$f(e,t,i):(i=me(i),n=t.call(e,i));let o=r?r.call(e,i):void 0,s=e.delete(i);return n&&ri(e,"delete",i,void 0,o),s}function Wc(){let i=me(this),e=i.size!==0,t=io(i)?new Map(i):new Set(i),r=i.clear();return e&&ri(i,"clear",void 0,void 0,t),r}function vs(i,e){return function(r,n){let o=this,s=o.__v_raw,a=me(s),u=e?Lu:i?Pu:ku;return!i&&rr(a,"iterate",ki),s.forEach((l,c)=>r.call(n,u(l),u(c),o))}}function Ds(i,e,t){return function(...r){let n=this.__v_raw,o=me(n),s=io(o),a=i==="entries"||i===Symbol.iterator&&s,u=i==="keys"&&s,l=n[i](...r),c=t?Lu:e?Pu:ku;return!e&&rr(o,"iterate",u?du:ki),{next(){let{value:d,done:p}=l.next();return p?{value:d,done:p}:{value:a?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function Jr(i){return function(...e){{let t=e[0]?`on key "${e[0]}" `:"";console.warn(`${Hf(i)} operation ${t}failed: target is readonly.`,me(this))}return i==="delete"?!1:this}}function Jg(){let i={get(o){return _s(this,o)},get size(){return ms(this)},has:gs,add:zc,set:Vc,delete:Hc,clear:Wc,forEach:vs(!1,!1)},e={get(o){return _s(this,o,!1,!0)},get size(){return ms(this)},has:gs,add:zc,set:Vc,delete:Hc,clear:Wc,forEach:vs(!1,!0)},t={get(o){return _s(this,o,!0)},get size(){return ms(this,!0)},has(o){return gs.call(this,o,!0)},add:Jr("add"),set:Jr("set"),delete:Jr("delete"),clear:Jr("clear"),forEach:vs(!0,!1)},r={get(o){return _s(this,o,!0,!0)},get size(){return ms(this,!0)},has(o){return gs.call(this,o,!0)},add:Jr("add"),set:Jr("set"),delete:Jr("delete"),clear:Jr("clear"),forEach:vs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{i[o]=Ds(o,!1,!1),t[o]=Ds(o,!0,!1),e[o]=Ds(o,!1,!0),r[o]=Ds(o,!0,!0)}),[i,t,e,r]}var[e0,t0,r0,i0]=Jg();function Gf(i,e){let t=e?i?i0:r0:i?t0:e0;return(r,n,o)=>n==="__v_isReactive"?!i:n==="__v_isReadonly"?i:n==="__v_raw"?r:Reflect.get(As(t,n)&&n in r?t:r,n,o)}var n0={get:Gf(!1,!1)},o0={get:Gf(!0,!1)};function $f(i,e,t){let r=me(t);if(r!==t&&e.call(i,r)){let n=Vf(i);console.warn(`Reactive ${n} contains both the raw and reactive versions of the same object${n==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var jf=new WeakMap,s0=new WeakMap,Kf=new WeakMap,a0=new WeakMap;function u0(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function l0(i){return i.__v_skip||!Object.isExtensible(i)?0:u0(Vf(i))}function Ru(i){return i&&i.__v_isReadonly?i:Qf(i,!1,Zg,n0,jf)}function Zf(i){return Qf(i,!0,Qg,o0,Kf)}function Qf(i,e,t,r,n){if(!Fs(i))return console.warn(`value cannot be made reactive: ${String(i)}`),i;if(i.__v_raw&&!(e&&i.__v_isReactive))return i;let o=n.get(i);if(o)return o;let s=l0(i);if(s===0)return i;let a=new Proxy(i,s===2?r:t);return n.set(i,a),a}function me(i){return i&&me(i.__v_raw)||i}function hu(i){return!!(i&&i.__v_isRef===!0)}ir("nextTick",()=>Tu);ir("dispatch",i=>to.bind(to,i));ir("watch",(i,{evaluateLater:e,effect:t})=>(r,n)=>{let o=e(r),s=!0,a,u=t(()=>o(l=>{JSON.stringify(l),s?a=l:queueMicrotask(()=>{n(l,a),a=l}),s=!1}));i._x_effects.delete(u)});ir("store",wg);ir("data",i=>lf(i));ir("root",i=>xs(i));ir("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=ao(c0(i))),i._x_refs_proxy));function c0(i){let e=[],t=i;for(;t;)t._x_refs&&e.push(t._x_refs),t=t.parentNode;return e}var ja={};function Jf(i){return ja[i]||(ja[i]=0),++ja[i]}function f0(i,e){return Ss(i,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function d0(i,e){i._x_ids||(i._x_ids={}),i._x_ids[e]||(i._x_ids[e]=Jf(e))}ir("id",i=>(e,t=null)=>{let r=f0(i,e),n=r?r._x_ids[e]:Jf(e);return t?`${e}-${n}-${t}`:`${e}-${n}`});ir("el",i=>i);ed("Focus","focus","focus");ed("Persist","persist","persist");function ed(i,e,t){ir(e,r=>Fr(`You can't use [$${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}Ne("modelable",(i,{expression:e},{effect:t,evaluateLater:r,cleanup:n})=>{let o=r(e),s=()=>{let c;return o(d=>c=d),c},a=r(`${e} = __placeholder`),u=c=>a(()=>{},{scope:{__placeholder:c}}),l=s();u(l),queueMicrotask(()=>{if(!i._x_model)return;i._x_removeModelListeners.default();let c=i._x_model.get,d=i._x_model.set,p=Lf({get(){return c()},set(f){d(f)}},{get(){return s()},set(f){u(f)}});n(p)})});Ne("teleport",(i,{modifiers:e,expression:t},{cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Fr("x-teleport can only be used on a <template> tag",i);let n=qc(t),o=i.content.cloneNode(!0).firstElementChild;i._x_teleport=o,o._x_teleportBack=i,i.setAttribute("data-teleport-template",!0),o.setAttribute("data-teleport-target",!0),i._x_forwardEvents&&i._x_forwardEvents.forEach(a=>{o.addEventListener(a,u=>{u.stopPropagation(),i.dispatchEvent(new u.constructor(u.type,u))})}),so(o,{},i);let s=(a,u,l)=>{l.includes("prepend")?u.parentNode.insertBefore(a,u):l.includes("append")?u.parentNode.insertBefore(a,u.nextSibling):u.appendChild(a)};He(()=>{s(o,n,e),Or(o),o._x_ignore=!0}),i._x_teleportPutBack=()=>{let a=qc(t);He(()=>{s(i._x_teleport,a,e)})},r(()=>o.remove())});var h0=document.createElement("div");function qc(i){let e=Ts(()=>document.querySelector(i),()=>h0)();return e||Fr(`Cannot find x-teleport element for selector: "${i}"`),e}var td=()=>{};td.inline=(i,{modifiers:e},{cleanup:t})=>{e.includes("self")?i._x_ignoreSelf=!0:i._x_ignore=!0,t(()=>{e.includes("self")?delete i._x_ignoreSelf:delete i._x_ignore})};Ne("ignore",td);Ne("effect",(i,{expression:e},{effect:t})=>t(ft(i,e)));function pu(i,e,t,r){let n=i,o=u=>r(u),s={},a=(u,l)=>c=>l(u,c);if(t.includes("dot")&&(e=p0(e)),t.includes("camel")&&(e=_0(e)),t.includes("passive")&&(s.passive=!0),t.includes("capture")&&(s.capture=!0),t.includes("window")&&(n=window),t.includes("document")&&(n=document),t.includes("debounce")){let u=t[t.indexOf("debounce")+1]||"invalid-wait",l=bs(u.split("ms")[0])?Number(u.split("ms")[0]):250;o=kf(o,l)}if(t.includes("throttle")){let u=t[t.indexOf("throttle")+1]||"invalid-wait",l=bs(u.split("ms")[0])?Number(u.split("ms")[0]):250;o=Pf(o,l)}return t.includes("prevent")&&(o=a(o,(u,l)=>{l.preventDefault(),u(l)})),t.includes("stop")&&(o=a(o,(u,l)=>{l.stopPropagation(),u(l)})),t.includes("self")&&(o=a(o,(u,l)=>{l.target===i&&u(l)})),(t.includes("away")||t.includes("outside"))&&(n=document,o=a(o,(u,l)=>{i.contains(l.target)||l.target.isConnected!==!1&&(i.offsetWidth<1&&i.offsetHeight<1||i._x_isShown!==!1&&u(l))})),t.includes("once")&&(o=a(o,(u,l)=>{u(l),n.removeEventListener(e,o,s)})),o=a(o,(u,l)=>{m0(e)&&v0(l,t)||u(l)}),n.addEventListener(e,o,s),()=>{n.removeEventListener(e,o,s)}}function p0(i){return i.replace(/-/g,".")}function _0(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function bs(i){return!Array.isArray(i)&&!isNaN(i)}function g0(i){return[" ","_"].includes(i)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function m0(i){return["keydown","keyup"].includes(i)}function v0(i,e){let t=e.filter(o=>!["window","document","prevent","stop","once","capture"].includes(o));if(t.includes("debounce")){let o=t.indexOf("debounce");t.splice(o,bs((t[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.includes("throttle")){let o=t.indexOf("throttle");t.splice(o,bs((t[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.length===0||t.length===1&&Yc(i.key).includes(t[0]))return!1;let n=["ctrl","shift","alt","meta","cmd","super"].filter(o=>t.includes(o));return t=t.filter(o=>!n.includes(o)),!(n.length>0&&n.filter(s=>((s==="cmd"||s==="super")&&(s="meta"),i[`${s}Key`])).length===n.length&&Yc(i.key).includes(t[0]))}function Yc(i){if(!i)return[];i=g0(i);let e={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",equal:"=",minus:"-",underscore:"_"};return e[i]=i,Object.keys(e).map(t=>{if(e[t]===i)return t}).filter(t=>t)}Ne("model",(i,{modifiers:e,expression:t},{effect:r,cleanup:n})=>{let o=i;e.includes("parent")&&(o=i.parentNode);let s=ft(o,t),a;typeof t=="string"?a=ft(o,`${t} = __placeholder`):typeof t=="function"&&typeof t()=="string"?a=ft(o,`${t()} = __placeholder`):a=()=>{};let u=()=>{let p;return s(f=>p=f),Xc(p)?p.get():p},l=p=>{let f;s(_=>f=_),Xc(f)?f.set(p):a(()=>{},{scope:{__placeholder:p}})};typeof t=="string"&&i.type==="radio"&&He(()=>{i.hasAttribute("name")||i.setAttribute("name",t)});var c=i.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(i.type)||e.includes("lazy")?"change":"input";let d=ti?()=>{}:pu(i,c,e,p=>{l(D0(i,e,p,u()))});if(e.includes("fill")&&([null,""].includes(u())||i.type==="checkbox"&&Array.isArray(u()))&&i.dispatchEvent(new Event(c,{})),i._x_removeModelListeners||(i._x_removeModelListeners={}),i._x_removeModelListeners.default=d,n(()=>i._x_removeModelListeners.default()),i.form){let p=pu(i.form,"reset",[],f=>{Tu(()=>i._x_model&&i._x_model.set(i.value))});n(()=>p())}i._x_model={get(){return u()},set(p){l(p)}},i._x_forceModelUpdate=p=>{p===void 0&&typeof t=="string"&&t.match(/\./)&&(p=""),window.fromModel=!0,He(()=>Af(i,"value",p)),delete window.fromModel},r(()=>{let p=u();e.includes("unintrusive")&&document.activeElement.isSameNode(i)||i._x_forceModelUpdate(p)})});function D0(i,e,t,r){return He(()=>{if(t instanceof CustomEvent&&t.detail!==void 0)return t.detail!==null&&t.detail!==void 0?t.detail:t.target.value;if(i.type==="checkbox")if(Array.isArray(r)){let n=e.includes("number")?Ka(t.target.value):t.target.value;return t.target.checked?r.concat([n]):r.filter(o=>!y0(o,n))}else return t.target.checked;else{if(i.tagName.toLowerCase()==="select"&&i.multiple)return e.includes("number")?Array.from(t.target.selectedOptions).map(n=>{let o=n.value||n.text;return Ka(o)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?Ka(n):e.includes("trim")?n.trim():n}}})}function Ka(i){let e=i?parseFloat(i):null;return E0(e)?e:i}function y0(i,e){return i==e}function E0(i){return!Array.isArray(i)&&!isNaN(i)}function Xc(i){return i!==null&&typeof i=="object"&&typeof i.get=="function"&&typeof i.set=="function"}Ne("cloak",i=>queueMicrotask(()=>He(()=>i.removeAttribute(_n("cloak")))));Jc(()=>`[${_n("init")}]`);Ne("init",Ts((i,{expression:e},{evaluate:t})=>typeof e=="string"?!!e.trim()&&t(e,{},!1):t(e,{},!1)));Ne("text",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(o=>{He(()=>{i.textContent=o})})})});Ne("html",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(o=>{He(()=>{i.innerHTML=o,i._x_ignoreSelf=!0,Or(i),delete i._x_ignoreSelf})})})});Su(Df(":",yf(_n("bind:"))));var rd=(i,{value:e,modifiers:t,expression:r,original:n},{effect:o})=>{if(!e){let a={};xg(a),ft(i,r)(l=>{Nf(i,l,n)},{scope:a});return}if(e==="key")return w0(i,r);if(i._x_inlineBindings&&i._x_inlineBindings[e]&&i._x_inlineBindings[e].extract)return;let s=ft(i,r);o(()=>s(a=>{a===void 0&&typeof r=="string"&&r.match(/\./)&&(a=""),He(()=>Af(i,e,a,t))}))};rd.inline=(i,{value:e,modifiers:t,expression:r})=>{e&&(i._x_inlineBindings||(i._x_inlineBindings={}),i._x_inlineBindings[e]={expression:r,extract:!1})};Ne("bind",rd);function w0(i,e){i._x_keyExpression=e}Qc(()=>`[${_n("data")}]`);Ne("data",(i,{expression:e},{cleanup:t})=>{if(ug(i))return;e=e===""?"{}":e;let r={};ru(r,i);let n={};Cg(n,r);let o=Oi(i,e,{scope:n});(o===void 0||o===!0)&&(o={}),ru(o,i);let s=hn(o);cf(s);let a=so(i,s);s.init&&Oi(i,s.init),t(()=>{s.destroy&&Oi(i,s.destroy),a()})});Ne("show",(i,{modifiers:e,expression:t},{effect:r})=>{let n=ft(i,t);i._x_doHide||(i._x_doHide=()=>{He(()=>{i.style.setProperty("display","none",e.includes("important")?"important":void 0)})}),i._x_doShow||(i._x_doShow=()=>{He(()=>{i.style.length===1&&i.style.display==="none"?i.removeAttribute("style"):i.style.removeProperty("display")})});let o=()=>{i._x_doHide(),i._x_isShown=!1},s=()=>{i._x_doShow(),i._x_isShown=!0},a=()=>setTimeout(s),u=uu(d=>d?s():o(),d=>{typeof i._x_toggleAndCascadeWithTransitions=="function"?i._x_toggleAndCascadeWithTransitions(i,d,s,o):d?a():o()}),l,c=!0;r(()=>n(d=>{!c&&d===l||(e.includes("immediate")&&(d?a():o()),u(d),l=d,c=!1)}))});Ne("for",(i,{expression:e},{effect:t,cleanup:r})=>{let n=x0(e),o=ft(i,n.items),s=ft(i,i._x_keyExpression||"index");i._x_prevKeys=[],i._x_lookup={},t(()=>b0(i,n,o,s)),r(()=>{Object.values(i._x_lookup).forEach(a=>a.remove()),delete i._x_prevKeys,delete i._x_lookup})});function b0(i,e,t,r){let n=s=>typeof s=="object"&&!Array.isArray(s),o=i;t(s=>{S0(s)&&s>=0&&(s=Array.from(Array(s).keys(),g=>g+1)),s===void 0&&(s=[]);let a=i._x_lookup,u=i._x_prevKeys,l=[],c=[];if(n(s))s=Object.entries(s).map(([g,m])=>{let v=Uc(e,m,g,s);r(y=>c.push(y),{scope:{index:g,...v}}),l.push(v)});else for(let g=0;g<s.length;g++){let m=Uc(e,s[g],g,s);r(v=>c.push(v),{scope:{index:g,...m}}),l.push(m)}let d=[],p=[],f=[],_=[];for(let g=0;g<u.length;g++){let m=u[g];c.indexOf(m)===-1&&f.push(m)}u=u.filter(g=>!f.includes(g));let h="template";for(let g=0;g<c.length;g++){let m=c[g],v=u.indexOf(m);if(v===-1)u.splice(g,0,m),d.push([h,g]);else if(v!==g){let y=u.splice(g,1)[0],E=u.splice(v-1,1)[0];u.splice(g,0,E),u.splice(v,0,y),p.push([y,E])}else _.push(m);h=m}for(let g=0;g<f.length;g++){let m=f[g];a[m]._x_effects&&a[m]._x_effects.forEach(Gc),a[m].remove(),a[m]=null,delete a[m]}for(let g=0;g<p.length;g++){let[m,v]=p[g],y=a[m],E=a[v],b=document.createElement("div");He(()=>{E||Fr('x-for ":key" is undefined or invalid',o),E.after(b),y.after(E),E._x_currentIfEl&&E.after(E._x_currentIfEl),b.before(y),y._x_currentIfEl&&y.after(y._x_currentIfEl),b.remove()}),E._x_refreshXForScope(l[c.indexOf(v)])}for(let g=0;g<d.length;g++){let[m,v]=d[g],y=m==="template"?o:a[m];y._x_currentIfEl&&(y=y._x_currentIfEl);let E=l[v],b=c[v],x=document.importNode(o.content,!0).firstElementChild,w=hn(E);so(x,w,o),x._x_refreshXForScope=S=>{Object.entries(S).forEach(([A,C])=>{w[A]=C})},He(()=>{y.after(x),Or(x)}),typeof b=="object"&&Fr("x-for key cannot be an object, it must be a string or an integer",o),a[b]=x}for(let g=0;g<_.length;g++)a[_[g]]._x_refreshXForScope(l[c.indexOf(_[g])]);o._x_prevKeys=c})}function x0(i){let e=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,t=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,n=i.match(r);if(!n)return;let o={};o.items=n[2].trim();let s=n[1].replace(t,"").trim(),a=s.match(e);return a?(o.item=s.replace(e,"").trim(),o.index=a[1].trim(),a[2]&&(o.collection=a[2].trim())):o.item=s,o}function Uc(i,e,t,r){let n={};return/^\[.*\]$/.test(i.item)&&Array.isArray(e)?i.item.replace("[","").replace("]","").split(",").map(s=>s.trim()).forEach((s,a)=>{n[s]=e[a]}):/^\{.*\}$/.test(i.item)&&!Array.isArray(e)&&typeof e=="object"?i.item.replace("{","").replace("}","").split(",").map(s=>s.trim()).forEach(s=>{n[s]=e[s]}):n[i.item]=e,i.index&&(n[i.index]=t),i.collection&&(n[i.collection]=r),n}function S0(i){return!Array.isArray(i)&&!isNaN(i)}function id(){}id.inline=(i,{expression:e},{cleanup:t})=>{let r=xs(i);r._x_refs||(r._x_refs={}),r._x_refs[e]=i,t(()=>delete r._x_refs[e])};Ne("ref",id);Ne("if",(i,{expression:e},{effect:t,cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Fr("x-if can only be used on a <template> tag",i);let n=ft(i,e),o=()=>{if(i._x_currentIfEl)return i._x_currentIfEl;let a=i.content.cloneNode(!0).firstElementChild;return so(a,{},i),He(()=>{i.after(a),Or(a)}),i._x_currentIfEl=a,i._x_undoIf=()=>{ei(a,u=>{u._x_effects&&u._x_effects.forEach(Gc)}),a.remove(),delete i._x_currentIfEl},a},s=()=>{i._x_undoIf&&(i._x_undoIf(),delete i._x_undoIf)};t(()=>n(a=>{a?o():s()})),r(()=>i._x_undoIf&&i._x_undoIf())});Ne("id",(i,{expression:e},{evaluate:t})=>{t(e).forEach(n=>d0(i,n))});Su(Df("@",yf(_n("on:"))));Ne("on",Ts((i,{value:e,modifiers:t,expression:r},{cleanup:n})=>{let o=r?ft(i,r):()=>{};i.tagName.toLowerCase()==="template"&&(i._x_forwardEvents||(i._x_forwardEvents=[]),i._x_forwardEvents.includes(e)||i._x_forwardEvents.push(e));let s=pu(i,e,t,a=>{o(()=>{},{scope:{$event:a},params:[a]})});n(()=>s())}));ks("Collapse","collapse","collapse");ks("Intersect","intersect","intersect");ks("Focus","trap","focus");ks("Mask","mask","mask");function ks(i,e,t){Ne(e,r=>Fr(`You can't use [x-${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}uo.setEvaluator(_f);uo.setReactivityEngine({reactive:Ru,effect:Ng,release:Ig,raw:me});var C0=uo,Nu=C0;function Iu(i){let e=[];for(let t=0;t<i.attributes.length;++t){let r=i.attributes[t];r.name.startsWith("x-")&&e.push(r)}return e}function T0(i){let e=document.createElement("template");Iu(i).forEach(r=>{e.setAttribute(r.name,r.value),i.removeAttribute(r.name)}),i.parentNode.insertBefore(e,i),e.content.appendChild(i)}function A0(i){Iu(i).forEach(t=>{let r=t.name.match(/^(x-[^:]+)(:.+)$/);if(r){let n=null;if(["x-bind","x-on"].includes(r[1])){let o=r[1],s=r[2].substring(1);o==="x-on"&&s.startsWith("update:")&&(o+=":update",s=s.substring(7)),s.includes(":")&&(n=o+":"+s.replace(/:/g,"."))}else n=r[1]+r[2].replace(/:/g,".");n&&(i.setAttribute(n,t.value),i.removeAttribute(t.name))}})}function F0(i){Iu(i).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&i.setAttribute(t.name,"")})}function O0(){document.querySelectorAll("[x-data],[x-data] *").forEach(i=>{A0(i),F0(i)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(T0)}function nd(){window.Alpine=Nu,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{O0(),Nu.start()})}function sd(i,e,t){return Math.max(i,Math.min(e,t))}var Bu=class{advance(e){if(!this.isRunning)return;let t=!1;if(this.lerp)this.value=function(n,o,s,a){return function(l,c,d){return(1-d)*l+d*c}(n,o,1-Math.exp(-s*a))}(this.value,this.to,60*this.lerp,e),Math.round(this.value)===this.to&&(this.value=this.to,t=!0);else{this.currentTime+=e;let r=sd(0,this.currentTime/this.duration,1);t=r>=1;let n=t?1:this.easing(r);this.value=this.from+(this.to-this.from)*n}t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:r=.1,duration:n=1,easing:o=u=>u,onStart:s,onUpdate:a}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=n,this.easing=o,this.currentTime=0,this.isRunning=!0,s?.(),this.onUpdate=a}},zu=class{constructor({wrapper:e,content:t,autoResize:r=!0,debounce:n=250}={}){this.wrapper=e,this.content=t,r&&(this.debouncedResize=function(s,a){let u;return function(){let l=arguments,c=this;clearTimeout(u),u=setTimeout(function(){s.apply(c,l)},a)}}(this.resize,n),this.wrapper===window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper===window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},Ps=class{constructor(){this.events={}}emit(e,...t){let r=this.events[e]||[];for(let n=0,o=r.length;n<o;n++)r[n](...t)}on(e,t){return this.events[e]?.push(t)||(this.events[e]=[t]),()=>{this.events[e]=this.events[e]?.filter(r=>t!==r)}}off(e,t){this.events[e]=this.events[e]?.filter(r=>t!==r)}destroy(){this.events={}}},od=100/6,Vu=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:r=1}){this.element=e,this.wheelMultiplier=t,this.touchMultiplier=r,this.touchStart={x:null,y:null},this.emitter=new Ps,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}onTouchStart=e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e,n=-(t-this.touchStart.x)*this.touchMultiplier,o=-(r-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:n,y:o},this.emitter.emit("scroll",{deltaX:n,deltaY:o,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:r,deltaMode:n}=e;t*=n===1?od:n===2?this.windowWidth:1,r*=n===1?od:n===2?this.windowHeight:1,t*=this.wheelMultiplier,r*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:r,event:e})};onWindowResize=()=>{this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight}},Ls=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:r=e,eventsTarget:n=r,smoothWheel:o=!0,syncTouch:s=!1,syncTouchLerp:a=.075,touchInertiaMultiplier:u=35,duration:l,easing:c=E=>Math.min(1,1.001-Math.pow(2,-10*E)),lerp:d=!l&&.1,infinite:p=!1,orientation:f="vertical",gestureOrientation:_="vertical",touchMultiplier:h=1,wheelMultiplier:g=1,autoResize:m=!0,prevent:v=!1,__experimental__naiveDimensions:y=!1}={}){this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.onVirtualScroll=({deltaX:E,deltaY:b,event:x})=>{if(x.ctrlKey)return;let w=x.type.includes("touch"),S=x.type.includes("wheel");if(this.isTouching=x.type==="touchstart"||x.type==="touchmove",this.options.syncTouch&&w&&x.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();let A=E===0&&b===0,C=this.options.gestureOrientation==="vertical"&&b===0||this.options.gestureOrientation==="horizontal"&&E===0;if(A||C)return;let O=x.composedPath();O=O.slice(0,O.indexOf(this.rootElement));let F=this.options.prevent;if(O.find(P=>{var R,N,T,D,L;return(typeof F=="function"?F?.(P):F)||((R=P.hasAttribute)===null||R===void 0?void 0:R.call(P,"data-lenis-prevent"))||w&&((N=P.hasAttribute)===null||N===void 0?void 0:N.call(P,"data-lenis-prevent-touch"))||S&&((T=P.hasAttribute)===null||T===void 0?void 0:T.call(P,"data-lenis-prevent-wheel"))||((D=P.classList)===null||D===void 0?void 0:D.contains("lenis"))&&!(!((L=P.classList)===null||L===void 0)&&L.contains("lenis-stopped"))}))return;if(this.isStopped||this.isLocked)return void x.preventDefault();if(!(this.options.syncTouch&&w||this.options.smoothWheel&&S))return this.isScrolling="native",void this.animate.stop();x.preventDefault();let k=b;this.options.gestureOrientation==="both"?k=Math.abs(b)>Math.abs(E)?b:E:this.options.gestureOrientation==="horizontal"&&(k=E);let H=w&&this.options.syncTouch,z=w&&x.type==="touchend"&&Math.abs(k)>5;z&&(k=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+k,Object.assign({programmatic:!1},H?{lerp:z?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(clearTimeout(this.__resetVelocityTimeout),delete this.__resetVelocityTimeout,this.__preventNextNativeScrollEvent)delete this.__preventNextNativeScrollEvent;else if(this.isScrolling===!1||this.isScrolling==="native"){let E=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-E,this.direction=Math.sign(this.animatedScroll-E),this.isScrolling="native",this.emit(),this.velocity!==0&&(this.__resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}},window.lenisVersion="1.1.2",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:r,eventsTarget:n,smoothWheel:o,syncTouch:s,syncTouchLerp:a,touchInertiaMultiplier:u,duration:l,easing:c,lerp:d,infinite:p,gestureOrientation:_,orientation:f,touchMultiplier:h,wheelMultiplier:g,autoResize:m,prevent:v,__experimental__naiveDimensions:y},this.animate=new Bu,this.emitter=new Ps,this.dimensions=new zu({wrapper:e,content:t,autoResize:m}),this.updateClassName(),this.userData={},this.time=0,this.velocity=this.lastVelocity=0,this.isLocked=!1,this.isStopped=!1,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll=new Vu(n,{touchMultiplier:h,wheelMultiplier:g}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName()}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}setScroll(e){this.isHorizontal?this.rootElement.scrollLeft=e:this.rootElement.scrollTop=e}resize(){this.dimensions.resize()}emit({userData:e={}}={}){this.userData=e,this.emitter.emit("scroll",this),this.userData={}}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(e){let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t)}scrollTo(e,{offset:t=0,immediate:r=!1,lock:n=!1,duration:o=this.options.duration,easing:s=this.options.easing,lerp:a=!o&&this.options.lerp,onStart:u,onComplete:l,force:c=!1,programmatic:d=!0,userData:p={}}={}){if(!this.isStopped&&!this.isLocked||c){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{let f;if(typeof e=="string"?f=document.querySelector(e):e?.nodeType&&(f=e),f){if(this.options.wrapper!==window){let h=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?h.left:h.top}let _=f.getBoundingClientRect();e=(this.isHorizontal?_.left:_.top)+this.animatedScroll}}if(typeof e=="number"){if(e+=t,e=Math.round(e),this.options.infinite?d&&(this.targetScroll=this.animatedScroll=this.scroll):e=sd(0,e,this.limit),r)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(l==null||l(this));e!==this.targetScroll&&(d||(this.targetScroll=e),this.animate.fromTo(this.animatedScroll,e,{duration:o,easing:s,lerp:a,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",u?.(this)},onUpdate:(f,_)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=f-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=f,this.setScroll(this.scroll),d&&(this.targetScroll=f),_||this.emit({userData:p}),_&&(this.reset(),this.emit({userData:p}),l?.(this),this.__preventNextNativeScrollEvent=!0)}}))}}}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?function(t,r){return(t%r+r)%r}(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.updateClassName())}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.updateClassName())}get isLocked(){return this.__isLocked}set isLocked(e){this.__isLocked!==e&&(this.__isLocked=e,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isScrolling==="smooth"&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};function Mr(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function pd(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}var Ct={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},mn={duration:.5,overwrite:!1,delay:0},ol,ot,ye,Vt=1e8,_e=1/Vt,$u=Math.PI*2,M0=$u/4,k0=0,_d=Math.sqrt,P0=Math.cos,L0=Math.sin,We=function(e){return typeof e=="string"},Ae=function(e){return typeof e=="function"},Pr=function(e){return typeof e=="number"},Ys=function(e){return typeof e>"u"},gr=function(e){return typeof e=="object"},St=function(e){return e!==!1},sl=function(){return typeof window<"u"},Rs=function(e){return Ae(e)||We(e)},gd=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},st=Array.isArray,ju=/(?:-?\.?\d|\.)+/gi,al=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ii=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Hu=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ul=/[+-]=-?[.\d]+/,md=/[^,'"\[\]\s]+/gi,R0=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,we,pr,Ku,ll,Lt={},zs={},vd,Dd=function(e){return(zs=Ni(e,Lt))&&at},Xs=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},_o=function(e,t){return!t&&console.warn(e)},yd=function(e,t){return e&&(Lt[e]=t)&&zs&&(zs[e]=t)||Lt},go=function(){return 0},N0={suppressEvents:!0,isStart:!0,kill:!1},Ns={suppressEvents:!0,kill:!1},I0={suppressEvents:!0},cl={},ni=[],Zu={},Ed,bt={},Wu={},ad=30,Is=[],fl="",dl=function(e){var t=e[0],r,n;if(gr(t)||Ae(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Is.length;n--&&!Is[n].targetTest(t););r=Is[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new _l(e[n],r)))||e.splice(n,1);return e},oi=function(e){return e._gsap||dl(Ht(e))[0]._gsap},hl=function(e,t,r){return(r=e[t])&&Ae(r)?e[t]():Ys(r)&&e.getAttribute&&e.getAttribute(t)||r},dt=function(e,t){return(e=e.split(",")).forEach(t)||e},Fe=function(e){return Math.round(e*1e5)/1e5||0},Ge=function(e){return Math.round(e*1e7)/1e7||0},Bi=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},B0=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},Vs=function(){var e=ni.length,t=ni.slice(0),r,n;for(Zu={},ni.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},wd=function(e,t,r,n){ni.length&&!ot&&Vs(),e.render(t,r,n||ot&&t<0&&(e._initted||e._startAt)),ni.length&&!ot&&Vs()},bd=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(md).length<2?t:We(e)?e.trim():e},xd=function(e){return e},Wt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},z0=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},Ni=function(e,t){for(var r in t)e[r]=t[r];return e},ud=function i(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=gr(t[r])?i(e[r]||(e[r]={}),t[r]):t[r]);return e},Hs=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},fo=function(e){var t=e.parent||we,r=e.keyframes?z0(st(e.keyframes)):Wt;if(St(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},V0=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},Sd=function(e,t,r,n,o){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=e[n],a;if(o)for(a=t[o];s&&s[o]>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},Us=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var o=t._prev,s=t._next;o?o._next=s:e[r]===t&&(e[r]=s),s?s._prev=o:e[n]===t&&(e[n]=o),t._next=t._prev=t.parent=null},si=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Pi=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},H0=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Qu=function(e,t,r,n){return e._startAt&&(ot?e._startAt.revert(Ns):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},W0=function i(e){return!e||e._ts&&i(e.parent)},ld=function(e){return e._repeat?vn(e._tTime,e=e.duration()+e._rDelay)*e:0},vn=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},Ws=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Gs=function(e){return e._end=Ge(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},$s=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Ge(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Gs(e),r._dirty||Pi(r,e)),e},Cd=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Ws(e.rawTime(),t),(!t._dur||Do(0,t.totalDuration(),r)-t._tTime>_e)&&t.render(r,!0)),Pi(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=-_e}},_r=function(e,t,r,n){return t.parent&&si(t),t._start=Ge((Pr(r)?r:r||e!==we?zt(e,r,t):e._time)+t._delay),t._end=Ge(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Sd(e,t,"_first","_last",e._sort?"_start":0),Ju(t)||(e._recent=t),n||Cd(e,t),e._ts<0&&$s(e,e._tTime),e},Td=function(e,t){return(Lt.ScrollTrigger||Xs("scrollTrigger",t))&&Lt.ScrollTrigger.create(t,e)},Ad=function(e,t,r,n,o){if(vl(e,t,o),!e._initted)return 1;if(!r&&e._pt&&!ot&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Ed!==xt.frame)return ni.push(e),e._lazy=[o,n],1},q0=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},Ju=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Y0=function(e,t,r,n){var o=e.ratio,s=t<0||!t&&(!e._start&&q0(e)&&!(!e._initted&&Ju(e))||(e._ts<0||e._dp._ts<0)&&!Ju(e))?0:1,a=e._rDelay,u=0,l,c,d;if(a&&e._repeat&&(u=Do(0,e._tDur,t),c=vn(u,a),e._yoyo&&c&1&&(s=1-s),c!==vn(e._tTime,a)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==o||ot||n||e._zTime===_e||!t&&e._zTime){if(!e._initted&&Ad(e,t,n,r,u))return;for(d=e._zTime,e._zTime=t||(r?_e:0),r||(r=t&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=u,l=e._pt;l;)l.r(s,l.d),l=l._next;t<0&&Qu(e,t,r,!0),e._onUpdate&&!r&&Pt(e,"onUpdate"),u&&e._repeat&&!r&&e.parent&&Pt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&si(e,1),!r&&!ot&&(Pt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},X0=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 o=e._repeat,s=Ge(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=s/e._dur),e._dur=s,e._tDur=o?o<0?1e10:Ge(s*(o+1)+e._rDelay*o):s,a>0&&!n&&$s(e,e._tTime=e._tDur*a),e.parent&&Gs(e),r||Pi(e.parent,e),e},cd=function(e){return e instanceof Je?Pi(e):Dn(e,e._dur)},U0={_start:0,endTime:go,totalDuration:go},zt=function i(e,t,r){var n=e.labels,o=e._recent||U0,s=e.duration()>=Vt?o.endTime(!1):e._dur,a,u,l;return We(t)&&(isNaN(t)||t in n)?(u=t.charAt(0),l=t.substr(-1)==="%",a=t.indexOf("="),u==="<"||u===">"?(a>=0&&(t=t.replace(/=/,"")),(u==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(t.substr(1))||0)*(l?(a<0?o:r).totalDuration()/100:1)):a<0?(t in n||(n[t]=s),n[t]):(u=parseFloat(t.charAt(a-1)+t.substr(a+1)),l&&r&&(u=u/100*(st(r)?r[0]:r).totalDuration()),a>1?i(e,t.substr(0,a-1),r)+u:s+u)):t==null?s:+t},ho=function(e,t,r){var n=Pr(t[1]),o=(n?2:1)+(e<2?0:1),s=t[o],a,u;if(n&&(s.duration=t[1]),s.parent=r,e){for(a=s,u=r;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=St(u.vars.inherit)&&u.parent;s.immediateRender=St(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[o-1]}return new Pe(t[0],s,t[o+1])},ai=function(e,t){return e||e===0?t(e):t},Do=function(e,t,r){return r<e?e:r>t?t:r},et=function(e,t){return!We(e)||!(t=R0.exec(e))?"":t[1]},G0=function(e,t,r){return ai(r,function(n){return Do(e,t,n)})},el=[].slice,Fd=function(e,t){return e&&gr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&gr(e[0]))&&!e.nodeType&&e!==pr},$0=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var o;return We(n)&&!t||Fd(n,1)?(o=r).push.apply(o,Ht(n)):r.push(n)})||r},Ht=function(e,t,r){return ye&&!t&&ye.selector?ye.selector(e):We(e)&&!r&&(Ku||!yn())?el.call((t||ll).querySelectorAll(e),0):st(e)?$0(e,r):Fd(e)?el.call(e,0):e?[e]:[]},tl=function(e){return e=Ht(e)[0]||_o("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Ht(t,r.querySelectorAll?r:r===e?_o("Invalid scope")||ll.createElement("div"):e)}},Od=function(e){return e.sort(function(){return .5-Math.random()})},Md=function(e){if(Ae(e))return e;var t=gr(e)?e:{each:e},r=Li(t.ease),n=t.from||0,o=parseFloat(t.base)||0,s={},a=n>0&&n<1,u=isNaN(n)||a,l=t.axis,c=n,d=n;return We(n)?c=d={center:.5,edges:.5,end:1}[n]||0:!a&&u&&(c=n[0],d=n[1]),function(p,f,_){var h=(_||t).length,g=s[h],m,v,y,E,b,x,w,S,A;if(!g){if(A=t.grid==="auto"?0:(t.grid||[1,Vt])[1],!A){for(w=-Vt;w<(w=_[A++].getBoundingClientRect().left)&&A<h;);A<h&&A--}for(g=s[h]=[],m=u?Math.min(A,h)*c-.5:n%A,v=A===Vt?0:u?h*d/A-.5:n/A|0,w=0,S=Vt,x=0;x<h;x++)y=x%A-m,E=v-(x/A|0),g[x]=b=l?Math.abs(l==="y"?E:y):_d(y*y+E*E),b>w&&(w=b),b<S&&(S=b);n==="random"&&Od(g),g.max=w-S,g.min=S,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(A>h?h-1:l?l==="y"?h/A:A:Math.max(A,h/A))||0)*(n==="edges"?-1:1),g.b=h<0?o-h:o,g.u=et(t.amount||t.each)||0,r=r&&h<0?Vd(r):r}return h=(g[p]-g.min)/g.max||0,Ge(g.b+(r?r(h):h)*g.v)+g.u}},rl=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=Ge(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(Pr(r)?0:et(r))}},kd=function(e,t){var r=st(e),n,o;return!r&&gr(e)&&(n=r=e.radius||Vt,e.values?(e=Ht(e.values),(o=!Pr(e[0]))&&(n*=n)):e=rl(e.increment)),ai(t,r?Ae(e)?function(s){return o=e(s),Math.abs(o-s)<=n?o:s}:function(s){for(var a=parseFloat(o?s.x:s),u=parseFloat(o?s.y:0),l=Vt,c=0,d=e.length,p,f;d--;)o?(p=e[d].x-a,f=e[d].y-u,p=p*p+f*f):p=Math.abs(e[d]-a),p<l&&(l=p,c=d);return c=!n||l<=n?e[c]:s,o||c===s||Pr(s)?c:c+et(s)}:rl(e))},Pd=function(e,t,r,n){return ai(st(e)?!t:r===!0?!!(r=0):!n,function(){return st(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})},j0=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(o,s){return s(o)},n)}},K0=function(e,t){return function(r){return e(parseFloat(r))+(t||et(r))}},Z0=function(e,t,r){return Rd(e,t,0,1,r)},Ld=function(e,t,r){return ai(r,function(n){return e[~~t(n)]})},Q0=function i(e,t,r){var n=t-e;return st(e)?Ld(e,i(0,e.length),t):ai(r,function(o){return(n+(o-e)%n)%n+e})},J0=function i(e,t,r){var n=t-e,o=n*2;return st(e)?Ld(e,i(0,e.length-1),t):ai(r,function(s){return s=(o+(s-e)%o)%o||0,e+(s>n?o-s:s)})},En=function(e){for(var t=0,r="",n,o,s,a;~(n=e.indexOf("random(",t));)s=e.indexOf(")",n),a=e.charAt(n+7)==="[",o=e.substr(n+7,s-n-7).match(a?md:ju),r+=e.substr(t,n-t)+Pd(a?o:+o[0],a?0:+o[1],+o[2]||1e-5),t=s+1;return r+e.substr(t,e.length-t)},Rd=function(e,t,r,n,o){var s=t-e,a=n-r;return ai(o,function(u){return r+((u-e)/s*a||0)})},em=function i(e,t,r,n){var o=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!o){var s=We(e),a={},u,l,c,d,p;if(r===!0&&(n=1)&&(r=null),s)e={p:e},t={p:t};else if(st(e)&&!st(t)){for(c=[],d=e.length,p=d-2,l=1;l<d;l++)c.push(i(e[l-1],e[l]));d--,o=function(_){_*=d;var h=Math.min(p,~~_);return c[h](_-h)},r=t}else n||(e=Ni(st(e)?[]:{},e));if(!c){for(u in t)gl.call(a,e,u,"get",t[u]);o=function(_){return El(_,a)||(s?e.p:e)}}}return ai(r,o)},fd=function(e,t,r){var n=e.labels,o=Vt,s,a,u;for(s in n)a=n[s]-t,a<0==!!r&&a&&o>(a=Math.abs(a))&&(u=s,o=a);return u},Pt=function(e,t,r){var n=e.vars,o=n[t],s=ye,a=e._ctx,u,l,c;if(o)return u=n[t+"Params"],l=n.callbackScope||e,r&&ni.length&&Vs(),a&&(ye=a),c=u?o.apply(l,u):o.call(l),ye=s,c},lo=function(e){return si(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ot),e.progress()<1&&Pt(e,"onInterrupt"),e},gn,Nd=[],Id=function(e){if(e)if(e=!e.name&&e.default||e,sl()||e.headless){var t=e.name,r=Ae(e),n=t&&!r&&e.init?function(){this._props=[]}:e,o={init:go,render:El,add:gl,kill:gm,modifier:_m,rawVars:0},s={targetTest:0,get:0,getSetter:js,aliases:{},register:0};if(yn(),e!==n){if(bt[t])return;Wt(n,Wt(Hs(e,o),s)),Ni(n.prototype,Ni(o,Hs(e,s))),bt[n.prop=t]=n,e.targetTest&&(Is.push(n),cl[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}yd(t,n),e.register&&e.register(at,n,ht)}else Nd.push(e)},pe=255,co={aqua:[0,pe,pe],lime:[0,pe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,pe],navy:[0,0,128],white:[pe,pe,pe],olive:[128,128,0],yellow:[pe,pe,0],orange:[pe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[pe,0,0],pink:[pe,192,203],cyan:[0,pe,pe],transparent:[pe,pe,pe,0]},qu=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)*pe+.5|0},Bd=function(e,t,r){var n=e?Pr(e)?[e>>16,e>>8&pe,e&pe]:0:co.black,o,s,a,u,l,c,d,p,f,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),co[e])n=co[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+o+o+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&pe,n&pe,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&pe,e&pe]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(ju),!t)u=+n[0]%360/360,l=+n[1]/100,c=+n[2]/100,s=c<=.5?c*(l+1):c+l-c*l,o=c*2-s,n.length>3&&(n[3]*=1),n[0]=qu(u+1/3,o,s),n[1]=qu(u,o,s),n[2]=qu(u-1/3,o,s);else if(~e.indexOf("="))return n=e.match(al),r&&n.length<4&&(n[3]=1),n}else n=e.match(ju)||co.transparent;n=n.map(Number)}return t&&!_&&(o=n[0]/pe,s=n[1]/pe,a=n[2]/pe,d=Math.max(o,s,a),p=Math.min(o,s,a),c=(d+p)/2,d===p?u=l=0:(f=d-p,l=c>.5?f/(2-d-p):f/(d+p),u=d===o?(s-a)/f+(s<a?6:0):d===s?(a-o)/f+2:(o-s)/f+4,u*=60),n[0]=~~(u+.5),n[1]=~~(l*100+.5),n[2]=~~(c*100+.5)),r&&n.length<4&&(n[3]=1),n},zd=function(e){var t=[],r=[],n=-1;return e.split(kr).forEach(function(o){var s=o.match(Ii)||[];t.push.apply(t,s),r.push(n+=s.length+1)}),t.c=r,t},dd=function(e,t,r){var n="",o=(e+n).match(kr),s=t?"hsla(":"rgba(",a=0,u,l,c,d;if(!o)return e;if(o=o.map(function(p){return(p=Bd(p,t,1))&&s+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(c=zd(e),u=r.c,u.join(n)!==c.c.join(n)))for(l=e.replace(kr,"1").split(Ii),d=l.length-1;a<d;a++)n+=l[a]+(~u.indexOf(a)?o.shift()||s+"0,0,0,0)":(c.length?c:o.length?o:r).shift());if(!l)for(l=e.split(kr),d=l.length-1;a<d;a++)n+=l[a]+o[a];return n+l[d]},kr=function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in co)i+="|"+e+"\\b";return new RegExp(i+")","gi")}(),tm=/hsl[a]?\(/,pl=function(e){var t=e.join(" "),r;if(kr.lastIndex=0,kr.test(t))return r=tm.test(t),e[1]=dd(e[1],r),e[0]=dd(e[0],r,zd(e[1])),!0},mo,xt=function(){var i=Date.now,e=500,t=33,r=i(),n=r,o=1e3/240,s=o,a=[],u,l,c,d,p,f,_=function h(g){var m=i()-n,v=g===!0,y,E,b,x;if((m>e||m<0)&&(r+=m-t),n+=m,b=n-r,y=b-s,(y>0||v)&&(x=++d.frame,p=b-d.time*1e3,d.time=b=b/1e3,s+=y+(y>=o?4:o-y),E=1),v||(u=l(h)),E)for(f=0;f<a.length;f++)a[f](b,p,x,g)};return d={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){vd&&(!Ku&&sl()&&(pr=Ku=window,ll=pr.document||{},Lt.gsap=at,(pr.gsapVersions||(pr.gsapVersions=[])).push(at.version),Dd(zs||pr.GreenSockGlobals||!pr.gsap&&pr||{}),Nd.forEach(Id)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&d.sleep(),l=c||function(g){return setTimeout(g,s-d.time*1e3+1|0)},mo=1,_(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(u),mo=0,l=go},lagSmoothing:function(g,m){e=g||1/0,t=Math.min(m||33,e)},fps:function(g){o=1e3/(g||240),s=d.time*1e3+o},add:function(g,m,v){var y=m?function(E,b,x,w){g(E,b,x,w),d.remove(y)}:g;return d.remove(g),a[v?"unshift":"push"](y),yn(),y},remove:function(g,m){~(m=a.indexOf(g))&&a.splice(m,1)&&f>=m&&f--},_listeners:a},d}(),yn=function(){return!mo&&xt.wake()},le={},rm=/^[\d.\-M][\d.\-,\s]/,im=/["']/g,nm=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],o=1,s=r.length,a,u,l;o<s;o++)u=r[o],a=o!==s-1?u.lastIndexOf(","):u.length,l=u.substr(0,a),t[n]=isNaN(l)?l.replace(im,"").trim():+l,n=u.substr(a+1).trim();return t},om=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)},sm=function(e){var t=(e+"").split("("),r=le[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[nm(t[1])]:om(e).split(",").map(bd)):le._CE&&rm.test(e)?le._CE("",e):r},Vd=function(e){return function(t){return 1-e(1-t)}},Hd=function i(e,t){for(var r=e._first,n;r;)r instanceof Je?i(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?i(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},Li=function(e,t){return e&&(Ae(e)?e:le[e]||sm(e))||t},zi=function(e,t,r,n){r===void 0&&(r=function(u){return 1-t(1-u)}),n===void 0&&(n=function(u){return u<.5?t(u*2)/2:1-t((1-u)*2)/2});var o={easeIn:t,easeOut:r,easeInOut:n},s;return dt(e,function(a){le[a]=Lt[a]=o,le[s=a.toLowerCase()]=r;for(var u in o)le[s+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=le[a+"."+u]=o[u]}),o},Wd=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Yu=function i(e,t,r){var n=t>=1?t:1,o=(r||(e?.3:.45))/(t<1?t:1),s=o/$u*(Math.asin(1/n)||0),a=function(c){return c===1?1:n*Math.pow(2,-10*c)*L0((c-s)*o)+1},u=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:Wd(a);return o=$u/o,u.config=function(l,c){return i(e,l,c)},u},Xu=function i(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(o){return 1-r(1-o)}:Wd(r);return n.config=function(o){return i(e,o)},n};dt("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var t=e<5?e+1:e;zi(i+",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})});le.Linear.easeNone=le.none=le.Linear.easeIn;zi("Elastic",Yu("in"),Yu("out"),Yu());(function(i,e){var t=1/e,r=2*t,n=2.5*t,o=function(a){return a<t?i*a*a:a<r?i*Math.pow(a-1.5/e,2)+.75:a<n?i*(a-=2.25/e)*a+.9375:i*Math.pow(a-2.625/e,2)+.984375};zi("Bounce",function(s){return 1-o(1-s)},o)})(7.5625,2.75);zi("Expo",function(i){return i?Math.pow(2,10*(i-1)):0});zi("Circ",function(i){return-(_d(1-i*i)-1)});zi("Sine",function(i){return i===1?1:-P0(i*M0)+1});zi("Back",Xu("in"),Xu("out"),Xu());le.SteppedEase=le.steps=Lt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),o=t?1:0,s=1-_e;return function(a){return((n*Do(0,s,a)|0)+o)*r}}};mn.ease=le["quad.out"];dt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return fl+=i+","+i+"Params,"});var _l=function(e,t){this.id=k0++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:hl,this.set=t?t.getSetter:js},vo=function(){function i(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,ye&&(this._ctx=ye,ye.data.push(this)),mo||xt.wake()}var e=i.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(yn(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for($s(this,r),!o._dp||o.parent||Cd(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&_r(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===_e||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),wd(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ld(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?1:0},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+ld(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,n){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,n):this._repeat?vn(this._tTime,o)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?Ws(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-_e?0:this._rts,this.totalTime(Do(-Math.abs(this._delay),this._tDur,o),n!==!1),Gs(this),H0(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):(yn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_e&&(this._tTime-=_e)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&_r(n,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(St(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?Ws(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=I0);var n=ot;return ot=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),ot=n,this},e.globalTime=function(r){for(var n=this,o=arguments.length?r:n.rawTime();n;)o=n._start+o/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,cd(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,cd(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(zt(this,r),St(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,St(n))},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?-_e:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_e,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=n&&o<this.endTime(!0)-_e)},e.eventCallback=function(r,n,o){var s=this.vars;return arguments.length>1?(n?(s[r]=n,o&&(s[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=n)):delete s[r],this):s[r]},e.then=function(r){var n=this;return new Promise(function(o){var s=Ae(r)?r:xd,a=function(){var l=n.then;n.then=null,Ae(s)&&(s=s(n))&&(s.then||s===n)&&(n.then=l),o(s),n.then=l};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?a():n._prom=a})},e.kill=function(){lo(this)},i}();Wt(vo.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:-_e,_prom:0,_ps:!1,_rts:1});var Je=function(i){pd(e,i);function e(r,n){var o;return r===void 0&&(r={}),o=i.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=St(r.sortChildren),we&&_r(r.parent||we,Mr(o),n),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&Td(Mr(o),r.scrollTrigger),o}var t=e.prototype;return t.to=function(n,o,s){return ho(0,arguments,this),this},t.from=function(n,o,s){return ho(1,arguments,this),this},t.fromTo=function(n,o,s,a){return ho(2,arguments,this),this},t.set=function(n,o,s){return o.duration=0,o.parent=this,fo(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Pe(n,o,zt(this,s),1),this},t.call=function(n,o,s){return _r(this,Pe.delayedCall(0,n,o),s)},t.staggerTo=function(n,o,s,a,u,l,c){return s.duration=o,s.stagger=s.stagger||a,s.onComplete=l,s.onCompleteParams=c,s.parent=this,new Pe(n,s,zt(this,u)),this},t.staggerFrom=function(n,o,s,a,u,l,c){return s.runBackwards=1,fo(s).immediateRender=St(s.immediateRender),this.staggerTo(n,o,s,a,u,l,c)},t.staggerFromTo=function(n,o,s,a,u,l,c,d){return a.startAt=s,fo(a).immediateRender=St(a.immediateRender),this.staggerTo(n,o,a,u,l,c,d)},t.render=function(n,o,s){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,l=this._dur,c=n<=0?0:Ge(n),d=this._zTime<0!=n<0&&(this._initted||!l),p,f,_,h,g,m,v,y,E,b,x,w;if(this!==we&&c>u&&n>=0&&(c=u),c!==this._tTime||s||d){if(a!==this._time&&l&&(c+=this._time-a,n+=this._time-a),p=c,E=this._start,y=this._ts,m=!y,d&&(l||(a=this._zTime),(n||!o)&&(this._zTime=n)),this._repeat){if(x=this._yoyo,g=l+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,o,s);if(p=Ge(c%g),c===u?(h=this._repeat,p=l):(h=~~(c/g),h&&h===c/g&&(p=l,h--),p>l&&(p=l)),b=vn(this._tTime,g),!a&&this._tTime&&b!==h&&this._tTime-b*g-this._dur<=0&&(b=h),x&&h&1&&(p=l-p,w=1),h!==b&&!this._lock){var S=x&&b&1,A=S===(x&&h&1);if(h<b&&(S=!S),a=S?0:c%l?l:c,this._lock=1,this.render(a||(w?0:Ge(h*g)),o,!l)._lock=0,this._tTime=c,!o&&this.parent&&Pt(this,"onRepeat"),this.vars.repeatRefresh&&!w&&(this.invalidate()._lock=1),a&&a!==this._time||m!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,u=this._tDur,A&&(this._lock=2,a=S?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!w&&this.invalidate()),this._lock=0,!this._ts&&!m)return this;Hd(this,w)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=X0(this,Ge(a),Ge(p)),v&&(c-=p-(p=v._start))),this._tTime=c,this._time=p,this._act=!y,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&p&&!o&&!h&&(Pt(this,"onStart"),this._tTime!==c))return this;if(p>=a&&n>=0)for(f=this._first;f;){if(_=f._next,(f._act||p>=f._start)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,o,s);if(f.render(f._ts>0?(p-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(p-f._start)*f._ts,o,s),p!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=-_e);break}}f=_}else{f=this._last;for(var C=n<0?n:p;f;){if(_=f._prev,(f._act||C<=f._end)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,o,s);if(f.render(f._ts>0?(C-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(C-f._start)*f._ts,o,s||ot&&(f._initted||f._startAt)),p!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=C?-_e:_e);break}}f=_}}if(v&&!o&&(this.pause(),v.render(p>=a?0:-_e)._zTime=p>=a?1:-1,this._ts))return this._start=E,Gs(this),this.render(n,o,s);this._onUpdate&&!o&&Pt(this,"onUpdate",!0),(c===u&&this._tTime>=this.totalDuration()||!c&&a)&&(E===this._start||Math.abs(y)!==Math.abs(this._ts))&&(this._lock||((n||!l)&&(c===u&&this._ts>0||!c&&this._ts<0)&&si(this,1),!o&&!(n<0&&!a)&&(c||a||!u)&&(Pt(this,c===u&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<u&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,o){var s=this;if(Pr(o)||(o=zt(this,o,n)),!(n instanceof vo)){if(st(n))return n.forEach(function(a){return s.add(a,o)}),this;if(We(n))return this.addLabel(n,o);if(Ae(n))n=Pe.delayedCall(0,n);else return this}return this!==n?_r(this,n,o):this},t.getChildren=function(n,o,s,a){n===void 0&&(n=!0),o===void 0&&(o=!0),s===void 0&&(s=!0),a===void 0&&(a=-Vt);for(var u=[],l=this._first;l;)l._start>=a&&(l instanceof Pe?o&&u.push(l):(s&&u.push(l),n&&u.push.apply(u,l.getChildren(!0,o,s)))),l=l._next;return u},t.getById=function(n){for(var o=this.getChildren(1,1,1),s=o.length;s--;)if(o[s].vars.id===n)return o[s]},t.remove=function(n){return We(n)?this.removeLabel(n):Ae(n)?this.killTweensOf(n):(Us(this,n),n===this._recent&&(this._recent=this._last),Pi(this))},t.totalTime=function(n,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ge(xt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),i.prototype.totalTime.call(this,n,o),this._forcing=0,this):this._tTime},t.addLabel=function(n,o){return this.labels[n]=zt(this,o),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,o,s){var a=Pe.delayedCall(0,o||go,s);return a.data="isPause",this._hasPause=1,_r(this,a,zt(this,n))},t.removePause=function(n){var o=this._first;for(n=zt(this,n);o;)o._start===n&&o.data==="isPause"&&si(o),o=o._next},t.killTweensOf=function(n,o,s){for(var a=this.getTweensOf(n,s),u=a.length;u--;)ii!==a[u]&&a[u].kill(n,o);return this},t.getTweensOf=function(n,o){for(var s=[],a=Ht(n),u=this._first,l=Pr(o),c;u;)u instanceof Pe?B0(u._targets,a)&&(l?(!ii||u._initted&&u._ts)&&u.globalTime(0)<=o&&u.globalTime(u.totalDuration())>o:!o||u.isActive())&&s.push(u):(c=u.getTweensOf(a,o)).length&&s.push.apply(s,c),u=u._next;return s},t.tweenTo=function(n,o){o=o||{};var s=this,a=zt(s,n),u=o,l=u.startAt,c=u.onStart,d=u.onStartParams,p=u.immediateRender,f,_=Pe.to(s,Wt({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:o.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale())||_e,onStart:function(){if(s.pause(),!f){var g=o.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale());_._dur!==g&&Dn(_,g,0,1).render(_._time,!0,!0),f=1}c&&c.apply(_,d||[])}},o));return p?_.render(0):_},t.tweenFromTo=function(n,o,s){return this.tweenTo(o,Wt({startAt:{time:zt(this,n)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),fd(this,zt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),fd(this,zt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+_e)},t.shiftChildren=function(n,o,s){s===void 0&&(s=0);for(var a=this._first,u=this.labels,l;a;)a._start>=s&&(a._start+=n,a._end+=n),a=a._next;if(o)for(l in u)u[l]>=s&&(u[l]+=n);return Pi(this)},t.invalidate=function(n){var o=this._first;for(this._lock=0;o;)o.invalidate(n),o=o._next;return i.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var o=this._first,s;o;)s=o._next,this.remove(o),o=s;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Pi(this)},t.totalDuration=function(n){var o=0,s=this,a=s._last,u=Vt,l,c,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-n:n));if(s._dirty){for(d=s.parent;a;)l=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>u&&s._sort&&a._ts&&!s._lock?(s._lock=1,_r(s,a,c-a._delay,1)._lock=0):u=c,c<0&&a._ts&&(o-=c,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=c/s._ts,s._time-=c,s._tTime-=c),s.shiftChildren(-c,!1,-1/0),u=0),a._end>o&&a._ts&&(o=a._end),a=l;Dn(s,s===we&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(n){if(we._ts&&(wd(we,Ws(n,we)),Ed=xt.frame),xt.frame>=ad){ad+=Ct.autoSleep||120;var o=we._first;if((!o||!o._ts)&&Ct.autoSleep&&xt._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||xt.sleep()}}},e}(vo);Wt(Je.prototype,{_lock:0,_hasPause:0,_forcing:0});var am=function(e,t,r,n,o,s,a){var u=new ht(this._pt,e,t,0,1,yl,null,o),l=0,c=0,d,p,f,_,h,g,m,v;for(u.b=r,u.e=n,r+="",n+="",(m=~n.indexOf("random("))&&(n=En(n)),s&&(v=[r,n],s(v,e,t),r=v[0],n=v[1]),p=r.match(Hu)||[];d=Hu.exec(n);)_=d[0],h=n.substring(l,d.index),f?f=(f+1)%5:h.substr(-5)==="rgba("&&(f=1),_!==p[c++]&&(g=parseFloat(p[c-1])||0,u._pt={_next:u._pt,p:h||c===1?h:",",s:g,c:_.charAt(1)==="="?Bi(g,_)-g:parseFloat(_)-g,m:f&&f<4?Math.round:0},l=Hu.lastIndex);return u.c=l<n.length?n.substring(l,n.length):"",u.fp=a,(ul.test(n)||m)&&(u.e=0),this._pt=u,u},gl=function(e,t,r,n,o,s,a,u,l,c){Ae(n)&&(n=n(o||0,e,s));var d=e[t],p=r!=="get"?r:Ae(d)?l?e[t.indexOf("set")||!Ae(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,f=Ae(d)?l?dm:Xd:Dl,_;if(We(n)&&(~n.indexOf("random(")&&(n=En(n)),n.charAt(1)==="="&&(_=Bi(p,n)+(et(p)||0),(_||_===0)&&(n=_))),!c||p!==n||il)return!isNaN(p*n)&&n!==""?(_=new ht(this._pt,e,t,+p||0,n-(p||0),typeof d=="boolean"?pm:Ud,0,f),l&&(_.fp=l),a&&_.modifier(a,this,e),this._pt=_):(!d&&!(t in e)&&Xs(t,n),am.call(this,e,t,p,n,f,u||Ct.stringFilter,l))},um=function(e,t,r,n,o){if(Ae(e)&&(e=po(e,o,t,r,n)),!gr(e)||e.style&&e.nodeType||st(e)||gd(e))return We(e)?po(e,o,t,r,n):e;var s={},a;for(a in e)s[a]=po(e[a],o,t,r,n);return s},ml=function(e,t,r,n,o,s){var a,u,l,c;if(bt[e]&&(a=new bt[e]).init(o,a.rawVars?t[e]:um(t[e],n,o,s,r),r,n,s)!==!1&&(r._pt=u=new ht(r._pt,o,e,0,1,a.render,a,0,a.priority),r!==gn))for(l=r._ptLookup[r._targets.indexOf(o)],c=a._props.length;c--;)l[a._props[c]]=u;return a},ii,il,vl=function i(e,t,r){var n=e.vars,o=n.ease,s=n.startAt,a=n.immediateRender,u=n.lazy,l=n.onUpdate,c=n.runBackwards,d=n.yoyoEase,p=n.keyframes,f=n.autoRevert,_=e._dur,h=e._startAt,g=e._targets,m=e.parent,v=m&&m.data==="nested"?m.vars.targets:g,y=e._overwrite==="auto"&&!ol,E=e.timeline,b,x,w,S,A,C,O,F,k,H,z,P,R;if(E&&(!p||!o)&&(o="none"),e._ease=Li(o,mn.ease),e._yEase=d?Vd(Li(d===!0?o:d,mn.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!E&&!!n.runBackwards,!E||p&&!n.stagger){if(F=g[0]?oi(g[0]).harness:0,P=F&&n[F.prop],b=Hs(n,cl),h&&(h._zTime<0&&h.progress(1),t<0&&c&&a&&!f?h.render(-1,!0):h.revert(c&&_?Ns:N0),h._lazy=0),s){if(si(e._startAt=Pe.set(g,Wt({data:"isStart",overwrite:!1,parent:m,immediateRender:!0,lazy:!h&&St(u),startAt:null,delay:0,onUpdate:l&&function(){return Pt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(ot||!a&&!f)&&e._startAt.revert(Ns),a&&_&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(c&&_&&!h){if(t&&(a=!1),w=Wt({overwrite:!1,data:"isFromStart",lazy:a&&!h&&St(u),immediateRender:a,stagger:0,parent:m},b),P&&(w[F.prop]=P),si(e._startAt=Pe.set(g,w)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(ot?e._startAt.revert(Ns):e._startAt.render(-1,!0)),e._zTime=t,!a)i(e._startAt,_e,_e);else if(!t)return}for(e._pt=e._ptCache=0,u=_&&St(u)||u&&!_,x=0;x<g.length;x++){if(A=g[x],O=A._gsap||dl(g)[x]._gsap,e._ptLookup[x]=H={},Zu[O.id]&&ni.length&&Vs(),z=v===g?x:v.indexOf(A),F&&(k=new F).init(A,P||b,e,z,v)!==!1&&(e._pt=S=new ht(e._pt,A,k.name,0,1,k.render,k,0,k.priority),k._props.forEach(function(N){H[N]=S}),k.priority&&(C=1)),!F||P)for(w in b)bt[w]&&(k=ml(w,b,e,z,A,v))?k.priority&&(C=1):H[w]=S=gl.call(e,A,w,"get",b[w],z,v,0,n.stringFilter);e._op&&e._op[x]&&e.kill(A,e._op[x]),y&&e._pt&&(ii=e,we.killTweensOf(A,H,e.globalTime(t)),R=!e.parent,ii=0),e._pt&&u&&(Zu[O.id]=1)}C&&wl(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!R,p&&t<=0&&E.render(Vt,!0,!0)},lm=function(e,t,r,n,o,s,a,u){var l=(e._pt&&e._ptCache||(e._ptCache={}))[t],c,d,p,f;if(!l)for(l=e._ptCache[t]=[],p=e._ptLookup,f=e._targets.length;f--;){if(c=p[f][t],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==t&&c.fp!==t;)c=c._next;if(!c)return il=1,e.vars[t]="+=0",vl(e,a),il=0,u?_o(t+" not eligible for reset"):1;l.push(c)}for(f=l.length;f--;)d=l[f],c=d._pt||d,c.s=(n||n===0)&&!o?n:c.s+(n||0)+s*c.c,c.c=r-c.s,d.e&&(d.e=Fe(r)+et(d.e)),d.b&&(d.b=c.s+et(d.b))},cm=function(e,t){var r=e[0]?oi(e[0]).harness:0,n=r&&r.aliases,o,s,a,u;if(!n)return t;o=Ni({},t);for(s in n)if(s in o)for(u=n[s].split(","),a=u.length;a--;)o[u[a]]=o[s];return o},fm=function(e,t,r,n){var o=t.ease||n||"power1.inOut",s,a;if(st(t))a=r[e]||(r[e]=[]),t.forEach(function(u,l){return a.push({t:l/(t.length-1)*100,v:u,e:o})});else for(s in t)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:o})},po=function(e,t,r,n,o){return Ae(e)?e.call(t,r,n,o):We(e)&&~e.indexOf("random(")?En(e):e},qd=fl+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Yd={};dt(qd+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return Yd[i]=1});var Pe=function(i){pd(e,i);function e(r,n,o,s){var a;typeof n=="number"&&(o.duration=n,n=o,o=null),a=i.call(this,s?n:fo(n))||this;var u=a.vars,l=u.duration,c=u.delay,d=u.immediateRender,p=u.stagger,f=u.overwrite,_=u.keyframes,h=u.defaults,g=u.scrollTrigger,m=u.yoyoEase,v=n.parent||we,y=(st(r)||gd(r)?Pr(r[0]):"length"in n)?[r]:Ht(r),E,b,x,w,S,A,C,O;if(a._targets=y.length?dl(y):_o("GSAP target "+r+" not found. https://gsap.com",!Ct.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,_||p||Rs(l)||Rs(c)){if(n=a.vars,E=a.timeline=new Je({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:y}),E.kill(),E.parent=E._dp=Mr(a),E._start=0,p||Rs(l)||Rs(c)){if(w=y.length,C=p&&Md(p),gr(p))for(S in p)~qd.indexOf(S)&&(O||(O={}),O[S]=p[S]);for(b=0;b<w;b++)x=Hs(n,Yd),x.stagger=0,m&&(x.yoyoEase=m),O&&Ni(x,O),A=y[b],x.duration=+po(l,Mr(a),b,A,y),x.delay=(+po(c,Mr(a),b,A,y)||0)-a._delay,!p&&w===1&&x.delay&&(a._delay=c=x.delay,a._start+=c,x.delay=0),E.to(A,x,C?C(b,A,y):0),E._ease=le.none;E.duration()?l=c=0:a.timeline=0}else if(_){fo(Wt(E.vars.defaults,{ease:"none"})),E._ease=Li(_.ease||n.ease||"none");var F=0,k,H,z;if(st(_))_.forEach(function(P){return E.to(y,P,">")}),E.duration();else{x={};for(S in _)S==="ease"||S==="easeEach"||fm(S,_[S],x,_.easeEach);for(S in x)for(k=x[S].sort(function(P,R){return P.t-R.t}),F=0,b=0;b<k.length;b++)H=k[b],z={ease:H.e,duration:(H.t-(b?k[b-1].t:0))/100*l},z[S]=H.v,E.to(y,z,F),F+=z.duration;E.duration()<l&&E.to({},{duration:l-E.duration()})}}l||a.duration(l=E.duration())}else a.timeline=0;return f===!0&&!ol&&(ii=Mr(a),we.killTweensOf(y),ii=0),_r(v,Mr(a),o),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(d||!l&&!_&&a._start===Ge(v._time)&&St(d)&&W0(Mr(a))&&v.data!=="nested")&&(a._tTime=-_e,a.render(Math.max(0,-c)||0)),g&&Td(Mr(a),g),a}var t=e.prototype;return t.render=function(n,o,s){var a=this._time,u=this._tDur,l=this._dur,c=n<0,d=n>u-_e&&!c?u:n<_e?0:n,p,f,_,h,g,m,v,y,E;if(!l)Y0(this,n,o,s);else if(d!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(p=d,y=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&c)return this.totalTime(h*100+n,o,s);if(p=Ge(d%h),d===u?(_=this._repeat,p=l):(_=~~(d/h),_&&_===Ge(d/h)&&(p=l,_--),p>l&&(p=l)),m=this._yoyo&&_&1,m&&(E=this._yEase,p=l-p),g=vn(this._tTime,h),p===a&&!s&&this._initted&&_===g)return this._tTime=d,this;_!==g&&(y&&this._yEase&&Hd(y,m),this.vars.repeatRefresh&&!m&&!this._lock&&this._time!==h&&this._initted&&(this._lock=s=1,this.render(Ge(h*_),!0).invalidate()._lock=0))}if(!this._initted){if(Ad(this,c?n:p,s,o,d))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&_!==g))return this;if(l!==this._dur)return this.render(n,o,s)}if(this._tTime=d,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(E||this._ease)(p/l),this._from&&(this.ratio=v=1-v),p&&!a&&!o&&!_&&(Pt(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(v,f.d),f=f._next;y&&y.render(n<0?n:y._dur*y._ease(p/this._dur),o,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!o&&(c&&Qu(this,n,o,s),Pt(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!o&&this.parent&&Pt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&Qu(this,n,!0,!0),(n||!l)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&si(this,1),!o&&!(c&&!a)&&(d||a||m)&&(Pt(this,d===u?"onComplete":"onReverseComplete",!0),this._prom&&!(d<u&&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),i.prototype.invalidate.call(this,n)},t.resetTo=function(n,o,s,a,u){mo||xt.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||vl(this,l),c=this._ease(l/this._dur),lm(this,n,o,s,a,c,l,u)?this.resetTo(n,o,s,a,1):($s(this,0),this.parent||Sd(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,o){if(o===void 0&&(o="all"),!n&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?lo(this):this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,o,ii&&ii.vars.overwrite!==!0)._first||lo(this),this.parent&&s!==this.timeline.totalDuration()&&Dn(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,u=n?Ht(n):a,l=this._ptLookup,c=this._pt,d,p,f,_,h,g,m;if((!o||o==="all")&&V0(a,u))return o==="all"&&(this._pt=0),lo(this);for(d=this._op=this._op||[],o!=="all"&&(We(o)&&(h={},dt(o,function(v){return h[v]=1}),o=h),o=cm(a,o)),m=a.length;m--;)if(~u.indexOf(a[m])){p=l[m],o==="all"?(d[m]=o,_=p,f={}):(f=d[m]=d[m]||{},_=o);for(h in _)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&Us(this,g,"_pt"),delete p[h]),f!=="all"&&(f[h]=1)}return this._initted&&!this._pt&&c&&lo(this),this},e.to=function(n,o){return new e(n,o,arguments[2])},e.from=function(n,o){return ho(1,arguments)},e.delayedCall=function(n,o,s,a){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:o,onReverseComplete:o,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(n,o,s){return ho(2,arguments)},e.set=function(n,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(n,o)},e.killTweensOf=function(n,o,s){return we.killTweensOf(n,o,s)},e}(vo);Wt(Pe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});dt("staggerTo,staggerFrom,staggerFromTo",function(i){Pe[i]=function(){var e=new Je,t=el.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var Dl=function(e,t,r){return e[t]=r},Xd=function(e,t,r){return e[t](r)},dm=function(e,t,r,n){return e[t](n.fp,r)},hm=function(e,t,r){return e.setAttribute(t,r)},js=function(e,t){return Ae(e[t])?Xd:Ys(e[t])&&e.setAttribute?hm:Dl},Ud=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},pm=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},yl=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)},El=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},_m=function(e,t,r,n){for(var o=this._pt,s;o;)s=o._next,o.p===n&&o.modifier(e,t,r),o=s},gm=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Us(this,t,"_pt"):t.dep||(r=1),t=n;return!r},mm=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},wl=function(e){for(var t=e._pt,r,n,o,s;t;){for(r=t._next,n=o;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:s)?t._prev._next=t:o=t,(t._next=n)?n._prev=t:s=t,t=r}e._pt=o},ht=function(){function i(t,r,n,o,s,a,u,l,c){this.t=r,this.s=o,this.c=s,this.p=n,this.r=a||Ud,this.d=u||this,this.set=l||Dl,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=i.prototype;return e.modifier=function(r,n,o){this.mSet=this.mSet||this.set,this.set=mm,this.m=r,this.mt=o,this.tween=n},i}();dt(fl+"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(i){return cl[i]=1});Lt.TweenMax=Lt.TweenLite=Pe;Lt.TimelineLite=Lt.TimelineMax=Je;we=new Je({sortChildren:!1,defaults:mn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ct.stringFilter=pl;var Ri=[],Bs={},vm=[],hd=0,Dm=0,Uu=function(e){return(Bs[e]||vm).map(function(t){return t()})},nl=function(){var e=Date.now(),t=[];e-hd>2&&(Uu("matchMediaInit"),Ri.forEach(function(r){var n=r.queries,o=r.conditions,s,a,u,l;for(a in n)s=pr.matchMedia(n[a]).matches,s&&(u=1),s!==o[a]&&(o[a]=s,l=1);l&&(r.revert(),u&&t.push(r))}),Uu("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),hd=e,Uu("matchMedia"))},Gd=function(){function i(t,r){this.selector=r&&tl(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Dm++,t&&this.add(t)}var e=i.prototype;return e.add=function(r,n,o){Ae(r)&&(o=n,n=r,r=Ae);var s=this,a=function(){var l=ye,c=s.selector,d;return l&&l!==s&&l.data.push(s),o&&(s.selector=tl(o)),ye=s,d=n.apply(s,arguments),Ae(d)&&s._r.push(d),ye=l,s.selector=c,s.isReverted=!1,d};return s.last=a,r===Ae?a(s,function(u){return s.add(null,u)}):r?s[r]=a:a},e.ignore=function(r){var n=ye;ye=null,r(this),ye=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof i?r.push.apply(r,n.getTweens()):n instanceof Pe&&!(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 o=this;if(r?function(){for(var a=o.getTweens(),u=o.data.length,l;u--;)l=o.data[u],l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(c){return a.splice(a.indexOf(c),1)}));for(a.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,d){return d.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),u=o.data.length;u--;)l=o.data[u],l instanceof Je?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof Pe)&&l.revert&&l.revert(r);o._r.forEach(function(c){return c(r,o)}),o.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var s=Ri.length;s--;)Ri[s].id===this.id&&Ri.splice(s,1)},e.revert=function(r){this.kill(r||{})},i}(),ym=function(){function i(t){this.contexts=[],this.scope=t,ye&&ye.data.push(this)}var e=i.prototype;return e.add=function(r,n,o){gr(r)||(r={matches:r});var s=new Gd(0,o||this.scope),a=s.conditions={},u,l,c;ye&&!s.selector&&(s.selector=ye.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=r;for(l in r)l==="all"?c=1:(u=pr.matchMedia(r[l]),u&&(Ri.indexOf(s)<0&&Ri.push(s),(a[l]=u.matches)&&(c=1),u.addListener?u.addListener(nl):u.addEventListener("change",nl)));return c&&n(s,function(d){return s.add(null,d)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},i}(),qs={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 Id(n)})},timeline:function(e){return new Je(e)},getTweensOf:function(e,t){return we.getTweensOf(e,t)},getProperty:function(e,t,r,n){We(e)&&(e=Ht(e)[0]);var o=oi(e||{}).get,s=r?xd:bd;return r==="native"&&(r=""),e&&(t?s((bt[t]&&bt[t].get||o)(e,t,r,n)):function(a,u,l){return s((bt[a]&&bt[a].get||o)(e,a,u,l))})},quickSetter:function(e,t,r){if(e=Ht(e),e.length>1){var n=e.map(function(c){return at.quickSetter(c,t,r)}),o=n.length;return function(c){for(var d=o;d--;)n[d](c)}}e=e[0]||{};var s=bt[t],a=oi(e),u=a.harness&&(a.harness.aliases||{})[t]||t,l=s?function(c){var d=new s;gn._pt=0,d.init(e,r?c+r:c,gn,0,[e]),d.render(1,d),gn._pt&&El(1,gn)}:a.set(e,u);return s?l:function(c){return l(e,u,r?c+r:c,a,1)}},quickTo:function(e,t,r){var n,o=at.to(e,Ni((n={},n[t]="+=0.1",n.paused=!0,n),r||{})),s=function(u,l,c){return o.resetTo(t,u,l,c)};return s.tween=o,s},isTweening:function(e){return we.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Li(e.ease,mn.ease)),ud(mn,e||{})},config:function(e){return ud(Ct,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,o=e.defaults,s=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!bt[a]&&!Lt[a]&&_o(t+" effect requires "+a+" plugin.")}),Wu[t]=function(a,u,l){return r(Ht(a),Wt(u||{},o),l)},s&&(Je.prototype[t]=function(a,u,l){return this.add(Wu[t](a,gr(u)?u:(l=u)&&{},this),l)})},registerEase:function(e,t){le[e]=Li(t)},parseEase:function(e,t){return arguments.length?Li(e,t):le},getById:function(e){return we.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Je(e),n,o;for(r.smoothChildTiming=St(e.smoothChildTiming),we.remove(r),r._dp=0,r._time=r._tTime=we._time,n=we._first;n;)o=n._next,(t||!(!n._dur&&n instanceof Pe&&n.vars.onComplete===n._targets[0]))&&_r(r,n,n._start-n._delay),n=o;return _r(we,r,0),r},context:function(e,t){return e?new Gd(e,t):ye},matchMedia:function(e){return new ym(e)},matchMediaRefresh:function(){return Ri.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||nl()},addEventListener:function(e,t){var r=Bs[e]||(Bs[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Bs[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:Q0,wrapYoyo:J0,distribute:Md,random:Pd,snap:kd,normalize:Z0,getUnit:et,clamp:G0,splitColor:Bd,toArray:Ht,selector:tl,mapRange:Rd,pipe:j0,unitize:K0,interpolate:em,shuffle:Od},install:Dd,effects:Wu,ticker:xt,updateRoot:Je.updateRoot,plugins:bt,globalTimeline:we,core:{PropTween:ht,globals:yd,Tween:Pe,Timeline:Je,Animation:vo,getCache:oi,_removeLinkedListItem:Us,reverting:function(){return ot},context:function(e){return e&&ye&&(ye.data.push(e),e._ctx=ye),ye},suppressOverwrites:function(e){return ol=e}}};dt("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return qs[i]=Pe[i]});xt.add(Je.updateRoot);gn=qs.to({},{duration:0});var Em=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},wm=function(e,t){var r=e._targets,n,o,s;for(n in t)for(o=r.length;o--;)s=e._ptLookup[o][n],s&&(s=s.d)&&(s._pt&&(s=Em(s,n)),s&&s.modifier&&s.modifier(t[n],e,r[o],n))},Gu=function(e,t){return{name:e,rawVars:1,init:function(n,o,s){s._onInit=function(a){var u,l;if(We(o)&&(u={},dt(o,function(c){return u[c]=1}),o=u),t){u={};for(l in o)u[l]=t(o[l]);o=u}wm(a,o)}}}},at=qs.registerPlugin({name:"attr",init:function(e,t,r,n,o){var s,a,u;this.tween=r;for(s in t)u=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(u||0)+"",t[s],n,o,0,0,s),a.op=s,a.b=u,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)ot?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",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)}},Gu("roundProps",rl),Gu("modifiers"),Gu("snap",kd))||qs;Pe.version=Je.version=at.version="3.12.5";vd=1;sl()&&yn();var bm=le.Power0,xm=le.Power1,Sm=le.Power2,Cm=le.Power3,Tm=le.Power4,Am=le.Linear,Fm=le.Quad,Om=le.Cubic,Mm=le.Quart,km=le.Quint,Pm=le.Strong,Lm=le.Elastic,Rm=le.Back,Nm=le.SteppedEase,Im=le.Bounce,Bm=le.Sine,zm=le.Expo,Vm=le.Circ;var $d,ui,bn,Fl,qi,Hm,jd,Ol,Wm=function(){return typeof window<"u"},Rr={},Wi=180/Math.PI,xn=Math.PI/180,wn=Math.atan2,Kd=1e8,Ml=/([A-Z])/g,qm=/(left|right|width|margin|padding|x)/i,Ym=/[\s,\(]\S/,mr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Sl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Xm=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)},Um=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)},Gm=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},ih=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},nh=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},$m=function(e,t,r){return e.style[t]=r},jm=function(e,t,r){return e.style.setProperty(t,r)},Km=function(e,t,r){return e._gsap[t]=r},Zm=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Qm=function(e,t,r,n,o){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(o,s)},Jm=function(e,t,r,n,o){var s=e._gsap;s[t]=r,s.renderTransform(o,s)},be="transform",Tt=be+"Origin",ev=function i(e,t){var r=this,n=this.target,o=n.style,s=n._gsap;if(e in Rr&&o){if(this.tfm=this.tfm||{},e!=="transform")e=mr[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===Tt&&(this.tfm.zOrigin=s.zOrigin);else return mr.transform.split(",").forEach(function(a){return i.call(r,a,t)});if(this.props.indexOf(be)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(Tt,t,"")),e=be}(o||t)&&this.props.push(e,t,o[e])},oh=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},tv=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,o,s;for(o=0;o<e.length;o+=3)e[o+1]?t[e[o]]=e[o+2]:e[o+2]?r[e[o]]=e[o+2]:r.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(Ml,"-$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||"")),o=Ol(),(!o||!o.isStart)&&!r[be]&&(oh(r),n.zOrigin&&r[Tt]&&(r[Tt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},sh=function(e,t){var r={target:e,props:[],revert:tv,save:ev};return e._gsap||at.core.getCache(e),t&&t.split(",").forEach(function(n){return r.save(n)}),r},ah,Cl=function(e,t){var r=ui.createElementNS?ui.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ui.createElement(e);return r&&r.style?r:ui.createElement(e)},vr=function i(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(Ml,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&i(e,Sn(t)||t,1)||""},Zd="O,Moz,ms,Ms,Webkit".split(","),Sn=function(e,t,r){var n=t||qi,o=n.style,s=5;if(e in o&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Zd[s]+e in o););return s<0?null:(s===3?"ms":s>=0?Zd[s]:"")+e},Tl=function(){Wm()&&window.document&&($d=window,ui=$d.document,bn=ui.documentElement,qi=Cl("div")||{style:{}},Hm=Cl("div"),be=Sn(be),Tt=be+"Origin",qi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ah=!!Sn("perspective"),Ol=at.core.reverting,Fl=1)},bl=function i(e){var t=Cl("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,o=this.style.cssText,s;if(bn.appendChild(t),t.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=i}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(n?r.insertBefore(this,n):r.appendChild(this)),bn.removeChild(t),this.style.cssText=o,s},Qd=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},uh=function(e){var t;try{t=e.getBBox()}catch{t=bl.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===bl||(t=bl.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+Qd(e,["x","cx","x1"])||0,y:+Qd(e,["y","cy","y1"])||0,width:0,height:0}:t},lh=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&uh(e))},Yi=function(e,t){if(t){var r=e.style,n;t in Rr&&t!==Tt&&(t=be),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(Ml,"-$1").toLowerCase())):r.removeAttribute(t)}},li=function(e,t,r,n,o,s){var a=new ht(e._pt,t,r,0,1,s?nh:ih);return e._pt=a,a.b=n,a.e=o,e._props.push(r),a},Jd={deg:1,rad:1,turn:1},rv={grid:1,flex:1},ci=function i(e,t,r,n){var o=parseFloat(r)||0,s=(r+"").trim().substr((o+"").length)||"px",a=qi.style,u=qm.test(t),l=e.tagName.toLowerCase()==="svg",c=(l?"client":"offset")+(u?"Width":"Height"),d=100,p=n==="px",f=n==="%",_,h,g,m;if(n===s||!o||Jd[n]||Jd[s])return o;if(s!=="px"&&!p&&(o=i(e,t,r,"px")),m=e.getCTM&&lh(e),(f||s==="%")&&(Rr[t]||~t.indexOf("adius")))return _=m?e.getBBox()[u?"width":"height"]:e[c],Fe(f?o/_*d:o/100*_);if(a[u?"width":"height"]=d+(p?s:n),h=~t.indexOf("adius")||n==="em"&&e.appendChild&&!l?e:e.parentNode,m&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===ui||!h.appendChild)&&(h=ui.body),g=h._gsap,g&&f&&g.width&&u&&g.time===xt.time&&!g.uncache)return Fe(o/g.width*d);if(f&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=d+n,_=e[c],v?e.style[t]=v:Yi(e,t)}else(f||s==="%")&&!rv[vr(h,"display")]&&(a.position=vr(e,"position")),h===e&&(a.position="static"),h.appendChild(qi),_=qi[c],h.removeChild(qi),a.position="absolute";return u&&f&&(g=oi(h),g.time=xt.time,g.width=h[c]),Fe(p?_*o/d:_&&o?d/_*o:0)},Lr=function(e,t,r,n){var o;return Fl||Tl(),t in mr&&t!=="transform"&&(t=mr[t],~t.indexOf(",")&&(t=t.split(",")[0])),Rr[t]&&t!=="transform"?(o=wo(e,n),o=t!=="transformOrigin"?o[t]:o.svg?o.origin:Zs(vr(e,Tt))+" "+o.zOrigin+"px"):(o=e.style[t],(!o||o==="auto"||n||~(o+"").indexOf("calc("))&&(o=Ks[t]&&Ks[t](e,t,r)||vr(e,t)||hl(e,t)||(t==="opacity"?1:0))),r&&!~(o+"").trim().indexOf(" ")?ci(e,t,o,r)+r:o},iv=function(e,t,r,n){if(!r||r==="none"){var o=Sn(t,e,1),s=o&&vr(e,o,1);s&&s!==r?(t=o,r=s):t==="borderColor"&&(r=vr(e,"borderTopColor"))}var a=new ht(this._pt,e.style,t,0,1,yl),u=0,l=0,c,d,p,f,_,h,g,m,v,y,E,b;if(a.b=r,a.e=n,r+="",n+="",n==="auto"&&(h=e.style[t],e.style[t]=n,n=vr(e,t)||n,h?e.style[t]=h:Yi(e,t)),c=[r,n],pl(c),r=c[0],n=c[1],p=r.match(Ii)||[],b=n.match(Ii)||[],b.length){for(;d=Ii.exec(n);)g=d[0],v=n.substring(u,d.index),_?_=(_+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(_=1),g!==(h=p[l++]||"")&&(f=parseFloat(h)||0,E=h.substr((f+"").length),g.charAt(1)==="="&&(g=Bi(f,g)+E),m=parseFloat(g),y=g.substr((m+"").length),u=Ii.lastIndex-y.length,y||(y=y||Ct.units[t]||E,u===n.length&&(n+=y,a.e+=y)),E!==y&&(f=ci(e,t,h,y)||0),a._pt={_next:a._pt,p:v||l===1?v:",",s:f,c:m-f,m:_&&_<4||t==="zIndex"?Math.round:0});a.c=u<n.length?n.substring(u,n.length):""}else a.r=t==="display"&&n==="none"?nh:ih;return ul.test(n)&&(a.e=0),this._pt=a,a},eh={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},nv=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]=eh[r]||r,t[1]=eh[n]||n,t.join(" ")},ov=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,o=t.u,s=r._gsap,a,u,l;if(o==="all"||o===!0)n.cssText="",u=1;else for(o=o.split(","),l=o.length;--l>-1;)a=o[l],Rr[a]&&(u=1,a=a==="transformOrigin"?Tt:be),Yi(r,a);u&&(Yi(r,be),s&&(s.svg&&r.removeAttribute("transform"),wo(r,1),s.uncache=1,oh(n)))}},Ks={clearProps:function(e,t,r,n,o){if(o.data!=="isFromStart"){var s=e._pt=new ht(e._pt,t,r,0,0,ov);return s.u=n,s.pr=-10,s.tween=o,e._props.push(r),1}}},Eo=[1,0,0,1,0,0],ch={},fh=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},th=function(e){var t=vr(e,be);return fh(t)?Eo:t.substr(7).match(al).map(Fe)},kl=function(e,t){var r=e._gsap||oi(e),n=e.style,o=th(e),s,a,u,l;return r.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,o=[u.a,u.b,u.c,u.d,u.e,u.f],o.join(",")==="1,0,0,1,0,0"?Eo:o):(o===Eo&&!e.offsetParent&&e!==bn&&!r.svg&&(u=n.display,n.display="block",s=e.parentNode,(!s||!e.offsetParent)&&(l=1,a=e.nextElementSibling,bn.appendChild(e)),o=th(e),u?n.display=u:Yi(e,"display"),l&&(a?s.insertBefore(e,a):s?s.appendChild(e):bn.removeChild(e))),t&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},Al=function(e,t,r,n,o,s){var a=e._gsap,u=o||kl(e,!0),l=a.xOrigin||0,c=a.yOrigin||0,d=a.xOffset||0,p=a.yOffset||0,f=u[0],_=u[1],h=u[2],g=u[3],m=u[4],v=u[5],y=t.split(" "),E=parseFloat(y[0])||0,b=parseFloat(y[1])||0,x,w,S,A;r?u!==Eo&&(w=f*g-_*h)&&(S=E*(g/w)+b*(-h/w)+(h*v-g*m)/w,A=E*(-_/w)+b*(f/w)-(f*v-_*m)/w,E=S,b=A):(x=uh(e),E=x.x+(~y[0].indexOf("%")?E/100*x.width:E),b=x.y+(~(y[1]||y[0]).indexOf("%")?b/100*x.height:b)),n||n!==!1&&a.smooth?(m=E-l,v=b-c,a.xOffset=d+(m*f+v*h)-m,a.yOffset=p+(m*_+v*g)-v):a.xOffset=a.yOffset=0,a.xOrigin=E,a.yOrigin=b,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!r,e.style[Tt]="0px 0px",s&&(li(s,a,"xOrigin",l,E),li(s,a,"yOrigin",c,b),li(s,a,"xOffset",d,a.xOffset),li(s,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",E+" "+b)},wo=function(e,t){var r=e._gsap||new _l(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,o=r.scaleX<0,s="px",a="deg",u=getComputedStyle(e),l=vr(e,Tt)||"0",c,d,p,f,_,h,g,m,v,y,E,b,x,w,S,A,C,O,F,k,H,z,P,R,N,T,D,L,X,te,U,G;return c=d=p=h=g=m=v=y=E=0,f=_=1,r.svg=!!(e.getCTM&&lh(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(n[be]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[be]!=="none"?u[be]:"")),n.scale=n.rotate=n.translate="none"),w=kl(e,r.svg),r.svg&&(r.uncache?(N=e.getBBox(),l=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",R=""):R=!t&&e.getAttribute("data-svg-origin"),Al(e,R||l,!!R||r.originIsAbsolute,r.smooth!==!1,w)),b=r.xOrigin||0,x=r.yOrigin||0,w!==Eo&&(O=w[0],F=w[1],k=w[2],H=w[3],c=z=w[4],d=P=w[5],w.length===6?(f=Math.sqrt(O*O+F*F),_=Math.sqrt(H*H+k*k),h=O||F?wn(F,O)*Wi:0,v=k||H?wn(k,H)*Wi+h:0,v&&(_*=Math.abs(Math.cos(v*xn))),r.svg&&(c-=b-(b*O+x*k),d-=x-(b*F+x*H))):(G=w[6],te=w[7],D=w[8],L=w[9],X=w[10],U=w[11],c=w[12],d=w[13],p=w[14],S=wn(G,X),g=S*Wi,S&&(A=Math.cos(-S),C=Math.sin(-S),R=z*A+D*C,N=P*A+L*C,T=G*A+X*C,D=z*-C+D*A,L=P*-C+L*A,X=G*-C+X*A,U=te*-C+U*A,z=R,P=N,G=T),S=wn(-k,X),m=S*Wi,S&&(A=Math.cos(-S),C=Math.sin(-S),R=O*A-D*C,N=F*A-L*C,T=k*A-X*C,U=H*C+U*A,O=R,F=N,k=T),S=wn(F,O),h=S*Wi,S&&(A=Math.cos(S),C=Math.sin(S),R=O*A+F*C,N=z*A+P*C,F=F*A-O*C,P=P*A-z*C,O=R,z=N),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,m=180-m),f=Fe(Math.sqrt(O*O+F*F+k*k)),_=Fe(Math.sqrt(P*P+G*G)),S=wn(z,P),v=Math.abs(S)>2e-4?S*Wi:0,E=U?1/(U<0?-U:U):0),r.svg&&(R=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!fh(vr(e,be)),R&&e.setAttribute("transform",R))),Math.abs(v)>90&&Math.abs(v)<270&&(o?(f*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(_*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=c-((r.xPercent=c&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Fe(f),r.scaleY=Fe(_),r.rotation=Fe(h)+a,r.rotationX=Fe(g)+a,r.rotationY=Fe(m)+a,r.skewX=v+a,r.skewY=y+a,r.transformPerspective=E+s,(r.zOrigin=parseFloat(l.split(" ")[2])||!t&&r.zOrigin||0)&&(n[Tt]=Zs(l)),r.xOffset=r.yOffset=0,r.force3D=Ct.force3D,r.renderTransform=r.svg?av:ah?dh:sv,r.uncache=0,r},Zs=function(e){return(e=e.split(" "))[0]+" "+e[1]},xl=function(e,t,r){var n=et(t);return Fe(parseFloat(t)+parseFloat(ci(e,"x",r+"px",n)))+n},sv=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,dh(e,t)},Vi="0deg",yo="0px",Hi=") ",dh=function(e,t){var r=t||this,n=r.xPercent,o=r.yPercent,s=r.x,a=r.y,u=r.z,l=r.rotation,c=r.rotationY,d=r.rotationX,p=r.skewX,f=r.skewY,_=r.scaleX,h=r.scaleY,g=r.transformPerspective,m=r.force3D,v=r.target,y=r.zOrigin,E="",b=m==="auto"&&e&&e!==1||m===!0;if(y&&(d!==Vi||c!==Vi)){var x=parseFloat(c)*xn,w=Math.sin(x),S=Math.cos(x),A;x=parseFloat(d)*xn,A=Math.cos(x),s=xl(v,s,w*A*-y),a=xl(v,a,-Math.sin(x)*-y),u=xl(v,u,S*A*-y+y)}g!==yo&&(E+="perspective("+g+Hi),(n||o)&&(E+="translate("+n+"%, "+o+"%) "),(b||s!==yo||a!==yo||u!==yo)&&(E+=u!==yo||b?"translate3d("+s+", "+a+", "+u+") ":"translate("+s+", "+a+Hi),l!==Vi&&(E+="rotate("+l+Hi),c!==Vi&&(E+="rotateY("+c+Hi),d!==Vi&&(E+="rotateX("+d+Hi),(p!==Vi||f!==Vi)&&(E+="skew("+p+", "+f+Hi),(_!==1||h!==1)&&(E+="scale("+_+", "+h+Hi),v.style[be]=E||"translate(0, 0)"},av=function(e,t){var r=t||this,n=r.xPercent,o=r.yPercent,s=r.x,a=r.y,u=r.rotation,l=r.skewX,c=r.skewY,d=r.scaleX,p=r.scaleY,f=r.target,_=r.xOrigin,h=r.yOrigin,g=r.xOffset,m=r.yOffset,v=r.forceCSS,y=parseFloat(s),E=parseFloat(a),b,x,w,S,A;u=parseFloat(u),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,u+=c),u||l?(u*=xn,l*=xn,b=Math.cos(u)*d,x=Math.sin(u)*d,w=Math.sin(u-l)*-p,S=Math.cos(u-l)*p,l&&(c*=xn,A=Math.tan(l-c),A=Math.sqrt(1+A*A),w*=A,S*=A,c&&(A=Math.tan(c),A=Math.sqrt(1+A*A),b*=A,x*=A)),b=Fe(b),x=Fe(x),w=Fe(w),S=Fe(S)):(b=d,S=p,x=w=0),(y&&!~(s+"").indexOf("px")||E&&!~(a+"").indexOf("px"))&&(y=ci(f,"x",s,"px"),E=ci(f,"y",a,"px")),(_||h||g||m)&&(y=Fe(y+_-(_*b+h*w)+g),E=Fe(E+h-(_*x+h*S)+m)),(n||o)&&(A=f.getBBox(),y=Fe(y+n/100*A.width),E=Fe(E+o/100*A.height)),A="matrix("+b+","+x+","+w+","+S+","+y+","+E+")",f.setAttribute("transform",A),v&&(f.style[be]=A)},uv=function(e,t,r,n,o){var s=360,a=We(o),u=parseFloat(o)*(a&&~o.indexOf("rad")?Wi:1),l=u-n,c=n+l+"deg",d,p;return a&&(d=o.split("_")[1],d==="short"&&(l%=s,l!==l%(s/2)&&(l+=l<0?s:-s)),d==="cw"&&l<0?l=(l+s*Kd)%s-~~(l/s)*s:d==="ccw"&&l>0&&(l=(l-s*Kd)%s-~~(l/s)*s)),e._pt=p=new ht(e._pt,t,r,n,l,Xm),p.e=c,p.u="deg",e._props.push(r),p},rh=function(e,t){for(var r in t)e[r]=t[r];return e},lv=function(e,t,r){var n=rh({},r._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,u,l,c,d,p,f,_;n.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),s[be]=t,a=wo(r,1),Yi(r,be),r.setAttribute("transform",l)):(l=getComputedStyle(r)[be],s[be]=t,a=wo(r,1),s[be]=l);for(u in Rr)l=n[u],c=a[u],l!==c&&o.indexOf(u)<0&&(f=et(l),_=et(c),d=f!==_?ci(r,u,l,_):parseFloat(l),p=parseFloat(c),e._pt=new ht(e._pt,a,u,d,p-d,Sl),e._pt.u=_||0,e._props.push(u));rh(a,n)};dt("padding,margin,Width,Radius",function(i,e){var t="Top",r="Right",n="Bottom",o="Left",s=(e<3?[t,r,n,o]:[t+o,t+r,n+r,n+o]).map(function(a){return e<2?i+a:"border"+a+i});Ks[e>1?"border"+i:i]=function(a,u,l,c,d){var p,f;if(arguments.length<4)return p=s.map(function(_){return Lr(a,_,l)}),f=p.join(" "),f.split(p[0]).length===5?p[0]:f;p=(c+"").split(" "),f={},s.forEach(function(_,h){return f[_]=p[h]=p[h]||p[(h-1)/2|0]}),a.init(u,f,d)}});var Pl={name:"css",register:Tl,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,o){var s=this._props,a=e.style,u=r.vars.startAt,l,c,d,p,f,_,h,g,m,v,y,E,b,x,w,S;Fl||Tl(),this.styles=this.styles||sh(e),S=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(c=t[h],!(bt[h]&&ml(h,t,r,n,e,o)))){if(f=typeof c,_=Ks[h],f==="function"&&(c=c.call(r,n,e,o),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=En(c)),_)_(this,e,h,c,r)&&(w=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(h)+"").trim(),c+="",kr.lastIndex=0,kr.test(l)||(g=et(l),m=et(c)),m?g!==m&&(l=ci(e,h,l,m)+m):g&&(c+=g),this.add(a,"setProperty",l,c,n,o,0,0,h),s.push(h),S.push(h,0,a[h]);else if(f!=="undefined"){if(u&&h in u?(l=typeof u[h]=="function"?u[h].call(r,n,e,o):u[h],We(l)&&~l.indexOf("random(")&&(l=En(l)),et(l+"")||l==="auto"||(l+=Ct.units[h]||et(Lr(e,h))||""),(l+"").charAt(1)==="="&&(l=Lr(e,h))):l=Lr(e,h),p=parseFloat(l),v=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),d=parseFloat(c),h in mr&&(h==="autoAlpha"&&(p===1&&Lr(e,"visibility")==="hidden"&&d&&(p=0),S.push("visibility",0,a.visibility),li(this,a,"visibility",p?"inherit":"hidden",d?"inherit":"hidden",!d)),h!=="scale"&&h!=="transform"&&(h=mr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),y=h in Rr,y){if(this.styles.save(h),E||(b=e._gsap,b.renderTransform&&!t.parseTransform||wo(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,E=this._pt=new ht(this._pt,a,be,0,1,b.renderTransform,b,0,-1),E.dep=1),h==="scale")this._pt=new ht(this._pt,b,"scaleY",b.scaleY,(v?Bi(b.scaleY,v+d):d)-b.scaleY||0,Sl),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){S.push(Tt,0,a[Tt]),c=nv(c),b.svg?Al(e,c,0,x,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==b.zOrigin&&li(this,b,"zOrigin",b.zOrigin,m),li(this,a,h,Zs(l),Zs(c)));continue}else if(h==="svgOrigin"){Al(e,c,1,x,0,this);continue}else if(h in ch){uv(this,b,h,p,v?Bi(p,v+c):c);continue}else if(h==="smoothOrigin"){li(this,b,"smooth",b.smooth,c);continue}else if(h==="force3D"){b[h]=c;continue}else if(h==="transform"){lv(this,c,e);continue}}else h in a||(h=Sn(h)||h);if(y||(d||d===0)&&(p||p===0)&&!Ym.test(c)&&h in a)g=(l+"").substr((p+"").length),d||(d=0),m=et(c)||(h in Ct.units?Ct.units[h]:g),g!==m&&(p=ci(e,h,l,m)),this._pt=new ht(this._pt,y?b:a,h,p,(v?Bi(p,v+d):d)-p,!y&&(m==="px"||h==="zIndex")&&t.autoRound!==!1?Gm:Sl),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=l,this._pt.r=Um);else if(h in a)iv.call(this,e,h,l,v?v+c:c);else if(h in e)this.add(e,h,l||e[h],v?v+c:c,n,o);else if(h!=="parseTransform"){Xs(h,c);continue}y||(h in a?S.push(h,0,a[h]):S.push(h,1,l||e[h])),s.push(h)}}w&&wl(this)},render:function(e,t){if(t.tween._time||!Ol())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Lr,aliases:mr,getSetter:function(e,t,r){var n=mr[t];return n&&n.indexOf(",")<0&&(t=n),t in Rr&&t!==Tt&&(e._gsap.x||Lr(e,"x"))?r&&jd===r?t==="scale"?Zm:Km:(jd=r||{})&&(t==="scale"?Qm:Jm):e.style&&!Ys(e.style[t])?$m:~t.indexOf("-")?jm:js(e,t)},core:{_removeProperty:Yi,_getMatrix:kl}};at.utils.checkPrefix=Sn;at.core.getStyleSaver=sh;(function(i,e,t,r){var n=dt(i+","+e+","+t,function(o){Rr[o]=1});dt(e,function(o){Ct.units[o]="deg",ch[o]=1}),mr[n[13]]=i+","+e,dt(r,function(o){var s=o.split(":");mr[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");dt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){Ct.units[i]="px"});at.registerPlugin(Pl);var V=at.registerPlugin(Pl)||at,Vy=V.core.Tween;function hh(i,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(i,r.key,r)}}function cv(i,e,t){return e&&hh(i.prototype,e),t&&hh(i,t),i}var tt,ea,fv,Rt,fi,di,Tn,_h,Xi,xo,gh,Nr,nr,mh,vh=function(){return tt||typeof window<"u"&&(tt=window.gsap)&&tt.registerPlugin&&tt},Dh=1,Cn=[],oe=[],or=[],So=Date.now,Ll=function(e,t){return t},dv=function(){var e=xo.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,oe),n.push.apply(n,or),oe=r,or=n,Ll=function(s,a){return t[s](a)}},Br=function(e,t){return~or.indexOf(e)&&or[or.indexOf(e)+1][t]},Co=function(e){return!!~gh.indexOf(e)},_t=function(e,t,r,n,o){return e.addEventListener(t,r,{passive:n!==!1,capture:!!o})},pt=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Qs="scrollLeft",Js="scrollTop",Rl=function(){return Nr&&Nr.isPressed||oe.cache++},ta=function(e,t){var r=function n(o){if(o||o===0){Dh&&(Rt.history.scrollRestoration="manual");var s=Nr&&Nr.isPressed;o=n.v=Math.round(o)||(Nr&&Nr.iOS?1:0),e(o),n.cacheID=oe.cache,s&&Ll("ss",o)}else(t||oe.cache!==n.cacheID||Ll("ref"))&&(n.cacheID=oe.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},ut={s:Qs,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:ta(function(i){return arguments.length?Rt.scrollTo(i,Ie.sc()):Rt.pageXOffset||fi[Qs]||di[Qs]||Tn[Qs]||0})},Ie={s:Js,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:ut,sc:ta(function(i){return arguments.length?Rt.scrollTo(ut.sc(),i):Rt.pageYOffset||fi[Js]||di[Js]||Tn[Js]||0})},gt=function(e,t){return(t&&t._ctx&&t._ctx.selector||tt.utils.toArray)(e)[0]||(typeof e=="string"&&tt.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Ir=function(e,t){var r=t.s,n=t.sc;Co(e)&&(e=fi.scrollingElement||di);var o=oe.indexOf(e),s=n===Ie.sc?1:2;!~o&&(o=oe.push(e)-1),oe[o+s]||_t(e,"scroll",Rl);var a=oe[o+s],u=a||(oe[o+s]=ta(Br(e,r),!0)||(Co(e)?n:ta(function(l){return arguments.length?e[r]=l:e[r]})));return u.target=e,a||(u.smooth=tt.getProperty(e,"scrollBehavior")==="smooth"),u},ra=function(e,t,r){var n=e,o=e,s=So(),a=s,u=t||50,l=Math.max(500,u*3),c=function(_,h){var g=So();h||g-s>u?(o=n,n=_,a=s,s=g):r?n+=_:n=o+(_-o)/(g-a)*(s-a)},d=function(){o=n=r?0:n,a=s=0},p=function(_){var h=a,g=o,m=So();return(_||_===0)&&_!==n&&c(_),s===a||m-a>l?0:(n+(r?g:-g))/((r?m:s)-h)*1e3};return{update:c,reset:d,getVelocity:p}},bo=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},ph=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},yh=function(){xo=tt.core.globals().ScrollTrigger,xo&&xo.core&&dv()},Eh=function(e){return tt=e||vh(),!ea&&tt&&typeof document<"u"&&document.body&&(Rt=window,fi=document,di=fi.documentElement,Tn=fi.body,gh=[Rt,fi,di,Tn],fv=tt.utils.clamp,mh=tt.core.context||function(){},Xi="onpointerenter"in Tn?"pointer":"mouse",_h=Oe.isTouch=Rt.matchMedia&&Rt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Rt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,nr=Oe.eventTypes=("ontouchstart"in di?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in di?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Dh=0},500),yh(),ea=1),ea};ut.op=Ie;oe.cache=0;var Oe=function(){function i(t){this.init(t)}var e=i.prototype;return e.init=function(r){ea||Eh(tt)||console.warn("Please gsap.registerPlugin(Observer)"),xo||yh();var n=r.tolerance,o=r.dragMinimum,s=r.type,a=r.target,u=r.lineHeight,l=r.debounce,c=r.preventDefault,d=r.onStop,p=r.onStopDelay,f=r.ignore,_=r.wheelSpeed,h=r.event,g=r.onDragStart,m=r.onDragEnd,v=r.onDrag,y=r.onPress,E=r.onRelease,b=r.onRight,x=r.onLeft,w=r.onUp,S=r.onDown,A=r.onChangeX,C=r.onChangeY,O=r.onChange,F=r.onToggleX,k=r.onToggleY,H=r.onHover,z=r.onHoverEnd,P=r.onMove,R=r.ignoreCheck,N=r.isNormalizer,T=r.onGestureStart,D=r.onGestureEnd,L=r.onWheel,X=r.onEnable,te=r.onDisable,U=r.onClick,G=r.scrollSpeed,I=r.capture,Y=r.allowClicks,fe=r.lockAxis,ie=r.onLockAxis;this.target=a=gt(a)||di,this.vars=r,f&&(f=tt.utils.toArray(f)),n=n||1e-9,o=o||0,_=_||1,G=G||1,s=s||"wheel,touch,pointer",l=l!==!1,u||(u=parseFloat(Rt.getComputedStyle(Tn).lineHeight)||22);var ne,Ke,wt,B,Z,Ce,ze,M=this,Mt=0,Cr=0,$r=r.passive||!c,Le=Ir(a,ut),jr=Ir(a,Ie),wi=Le(),an=jr(),Xe=~s.indexOf("touch")&&!~s.indexOf("pointer")&&nr[0]==="pointerdown",Kr=Co(a),Me=a.ownerDocument||fi,Zt=[0,0,0],Bt=[0,0,0],Tr=0,Gn=function(){return Tr=So()},Re=function(K,de){return(M.event=K)&&f&&~f.indexOf(K.target)||de&&Xe&&K.pointerType!=="touch"||R&&R(K,de)},ds=function(){M._vx.reset(),M._vy.reset(),Ke.pause(),d&&d(M)},Zr=function(){var K=M.deltaX=ph(Zt),de=M.deltaY=ph(Bt),W=Math.abs(K)>=n,ee=Math.abs(de)>=n;O&&(W||ee)&&O(M,K,de,Zt,Bt),W&&(b&&M.deltaX>0&&b(M),x&&M.deltaX<0&&x(M),A&&A(M),F&&M.deltaX<0!=Mt<0&&F(M),Mt=M.deltaX,Zt[0]=Zt[1]=Zt[2]=0),ee&&(S&&M.deltaY>0&&S(M),w&&M.deltaY<0&&w(M),C&&C(M),k&&M.deltaY<0!=Cr<0&&k(M),Cr=M.deltaY,Bt[0]=Bt[1]=Bt[2]=0),(B||wt)&&(P&&P(M),wt&&(v(M),wt=!1),B=!1),Ce&&!(Ce=!1)&&ie&&ie(M),Z&&(L(M),Z=!1),ne=0},un=function(K,de,W){Zt[W]+=K,Bt[W]+=de,M._vx.update(K),M._vy.update(de),l?ne||(ne=requestAnimationFrame(Zr)):Zr()},ln=function(K,de){fe&&!ze&&(M.axis=ze=Math.abs(K)>Math.abs(de)?"x":"y",Ce=!0),ze!=="y"&&(Zt[2]+=K,M._vx.update(K,!0)),ze!=="x"&&(Bt[2]+=de,M._vy.update(de,!0)),l?ne||(ne=requestAnimationFrame(Zr)):Zr()},Qr=function(K){if(!Re(K,1)){K=bo(K,c);var de=K.clientX,W=K.clientY,ee=de-M.x,$=W-M.y,Q=M.isDragging;M.x=de,M.y=W,(Q||Math.abs(M.startX-de)>=o||Math.abs(M.startY-W)>=o)&&(v&&(wt=!0),Q||(M.isDragging=!0),ln(ee,$),Q||g&&g(M))}},bi=M.onPress=function(J){Re(J,1)||J&&J.button||(M.axis=ze=null,Ke.pause(),M.isPressed=!0,J=bo(J),Mt=Cr=0,M.startX=M.x=J.clientX,M.startY=M.y=J.clientY,M._vx.reset(),M._vy.reset(),_t(N?a:Me,nr[1],Qr,$r,!0),M.deltaX=M.deltaY=0,y&&y(M))},ae=M.onRelease=function(J){if(!Re(J,1)){pt(N?a:Me,nr[1],Qr,!0);var K=!isNaN(M.y-M.startY),de=M.isDragging,W=de&&(Math.abs(M.x-M.startX)>3||Math.abs(M.y-M.startY)>3),ee=bo(J);!W&&K&&(M._vx.reset(),M._vy.reset(),c&&Y&&tt.delayedCall(.08,function(){if(So()-Tr>300&&!J.defaultPrevented){if(J.target.click)J.target.click();else if(Me.createEvent){var $=Me.createEvent("MouseEvents");$.initMouseEvent("click",!0,!0,Rt,1,ee.screenX,ee.screenY,ee.clientX,ee.clientY,!1,!1,!1,!1,0,null),J.target.dispatchEvent($)}}})),M.isDragging=M.isGesturing=M.isPressed=!1,d&&de&&!N&&Ke.restart(!0),m&&de&&m(M),E&&E(M,W)}},xi=function(K){return K.touches&&K.touches.length>1&&(M.isGesturing=!0)&&T(K,M.isDragging)},Qt=function(){return(M.isGesturing=!1)||D(M)},Jt=function(K){if(!Re(K)){var de=Le(),W=jr();un((de-wi)*G,(W-an)*G,1),wi=de,an=W,d&&Ke.restart(!0)}},er=function(K){if(!Re(K)){K=bo(K,c),L&&(Z=!0);var de=(K.deltaMode===1?u:K.deltaMode===2?Rt.innerHeight:1)*_;un(K.deltaX*de,K.deltaY*de,0),d&&!N&&Ke.restart(!0)}},Si=function(K){if(!Re(K)){var de=K.clientX,W=K.clientY,ee=de-M.x,$=W-M.y;M.x=de,M.y=W,B=!0,d&&Ke.restart(!0),(ee||$)&&ln(ee,$)}},cn=function(K){M.event=K,H(M)},Ar=function(K){M.event=K,z(M)},$n=function(K){return Re(K)||bo(K,c)&&U(M)};Ke=M._dc=tt.delayedCall(p||.25,ds).pause(),M.deltaX=M.deltaY=0,M._vx=ra(0,50,!0),M._vy=ra(0,50,!0),M.scrollX=Le,M.scrollY=jr,M.isDragging=M.isGesturing=M.isPressed=!1,mh(this),M.enable=function(J){return M.isEnabled||(_t(Kr?Me:a,"scroll",Rl),s.indexOf("scroll")>=0&&_t(Kr?Me:a,"scroll",Jt,$r,I),s.indexOf("wheel")>=0&&_t(a,"wheel",er,$r,I),(s.indexOf("touch")>=0&&_h||s.indexOf("pointer")>=0)&&(_t(a,nr[0],bi,$r,I),_t(Me,nr[2],ae),_t(Me,nr[3],ae),Y&&_t(a,"click",Gn,!0,!0),U&&_t(a,"click",$n),T&&_t(Me,"gesturestart",xi),D&&_t(Me,"gestureend",Qt),H&&_t(a,Xi+"enter",cn),z&&_t(a,Xi+"leave",Ar),P&&_t(a,Xi+"move",Si)),M.isEnabled=!0,J&&J.type&&bi(J),X&&X(M)),M},M.disable=function(){M.isEnabled&&(Cn.filter(function(J){return J!==M&&Co(J.target)}).length||pt(Kr?Me:a,"scroll",Rl),M.isPressed&&(M._vx.reset(),M._vy.reset(),pt(N?a:Me,nr[1],Qr,!0)),pt(Kr?Me:a,"scroll",Jt,I),pt(a,"wheel",er,I),pt(a,nr[0],bi,I),pt(Me,nr[2],ae),pt(Me,nr[3],ae),pt(a,"click",Gn,!0),pt(a,"click",$n),pt(Me,"gesturestart",xi),pt(Me,"gestureend",Qt),pt(a,Xi+"enter",cn),pt(a,Xi+"leave",Ar),pt(a,Xi+"move",Si),M.isEnabled=M.isPressed=M.isDragging=!1,te&&te(M))},M.kill=M.revert=function(){M.disable();var J=Cn.indexOf(M);J>=0&&Cn.splice(J,1),Nr===M&&(Nr=0)},Cn.push(M),N&&Co(a)&&(Nr=M),M.enable(h)},cv(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();Oe.version="3.12.5";Oe.create=function(i){return new Oe(i)};Oe.register=Eh;Oe.getAll=function(){return Cn.slice()};Oe.getById=function(i){return Cn.filter(function(e){return e.vars.id===i})[0]};vh()&&tt.registerPlugin(Oe);var q,On,ce,xe,sr,ve,zh,va,zo,Po,Ao,ia,lt,wa,ql,vt,wh,bh,Mn,Vh,Nl,Hh,mt,Yl,Wh,qh,hi,Xl,Kl,kn,Zl,Da,Ul,Il,na=1,ct=Date.now,Bl=ct(),Xt=0,Fo=0,xh=function(e,t,r){var n=It(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},Sh=function(e,t){return t&&(!It(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},hv=function i(){return Fo&&requestAnimationFrame(i)},Ch=function(){return wa=1},Th=function(){return wa=0},Dr=function(e){return e},Oo=function(e){return Math.round(e*1e5)/1e5||0},Yh=function(){return typeof window<"u"},Xh=function(){return q||Yh()&&(q=window.gsap)&&q.registerPlugin&&q},Zi=function(e){return!!~zh.indexOf(e)},Uh=function(e){return(e==="Height"?Zl:ce["inner"+e])||sr["client"+e]||ve["client"+e]},Gh=function(e){return Br(e,"getBoundingClientRect")||(Zi(e)?function(){return ma.width=ce.innerWidth,ma.height=Zl,ma}:function(){return zr(e)})},pv=function(e,t,r){var n=r.d,o=r.d2,s=r.a;return(s=Br(e,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(t?Uh(o):e["client"+o])||0}},_v=function(e,t){return!t||~or.indexOf(e)?Gh(e):function(){return ma}},yr=function(e,t){var r=t.s,n=t.d2,o=t.d,s=t.a;return Math.max(0,(r="scroll"+n)&&(s=Br(e,r))?s()-Gh(e)()[o]:Zi(e)?(sr[r]||ve[r])-Uh(n):e[r]-e["offset"+n])},oa=function(e,t){for(var r=0;r<Mn.length;r+=3)(!t||~t.indexOf(Mn[r+1]))&&e(Mn[r],Mn[r+1],Mn[r+2])},It=function(e){return typeof e=="string"},yt=function(e){return typeof e=="function"},Mo=function(e){return typeof e=="number"},Ui=function(e){return typeof e=="object"},To=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},zl=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)}},An=Math.abs,$h="left",jh="top",Ql="right",Jl="bottom",$i="width",ji="height",Lo="Right",Ro="Left",No="Top",Io="Bottom",Be="padding",qt="margin",Ln="Width",ec="Height",qe="px",Yt=function(e){return ce.getComputedStyle(e)},gv=function(e){var t=Yt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},Ah=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},zr=function(e,t){var r=t&&Yt(e)[ql]!=="matrix(1, 0, 0, 1, 0, 0)"&&q.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},ya=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Kh=function(e){var t=[],r=e.labels,n=e.duration(),o;for(o in r)t.push(r[o]/n);return t},mv=function(e){return function(t){return q.utils.snap(Kh(e),t)}},tc=function(e){var t=q.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,o){return n-o});return r?function(n,o,s){s===void 0&&(s=.001);var a;if(!o)return t(n);if(o>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,o,s){s===void 0&&(s=.001);var a=t(n);return!o||Math.abs(a-n)<s||a-n<0==o<0?a:t(o<0?n-e:n+e)}},vv=function(e){return function(t,r){return tc(Kh(e))(t,r.direction)}},sa=function(e,t,r,n){return r.split(",").forEach(function(o){return e(t,o,n)})},je=function(e,t,r,n,o){return e.addEventListener(t,r,{passive:!n,capture:!!o})},$e=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},aa=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},Fh={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},ua={toggleActions:"play",anticipatePin:0},Ea={top:0,left:0,center:.5,bottom:1,right:1},ha=function(e,t){if(It(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 Ea?Ea[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},la=function(e,t,r,n,o,s,a,u){var l=o.startColor,c=o.endColor,d=o.fontSize,p=o.indent,f=o.fontWeight,_=xe.createElement("div"),h=Zi(r)||Br(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,m=h?ve:r,v=e.indexOf("start")!==-1,y=v?l:c,E="border-color:"+y+";font-size:"+d+";color:"+y+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return E+="position:"+((g||u)&&h?"fixed;":"absolute;"),(g||u||!h)&&(E+=(n===Ie?Ql:Jl)+":"+(s+parseFloat(p))+"px;"),a&&(E+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=v,_.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),_.style.cssText=E,_.innerText=t||t===0?e+"-"+t:e,m.children[0]?m.insertBefore(_,m.children[0]):m.appendChild(_),_._offset=_["offset"+n.op.d2],pa(_,0,n,v),_},pa=function(e,t,r,n){var o={display:"block"},s=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,o[r.a+"Percent"]=n?-100:0,o[r.a]=n?"1px":0,o["border"+s+Ln]=1,o["border"+a+Ln]=0,o[r.p]=t+"px",q.set(e,o)},se=[],Gl={},Vo,Oh=function(){return ct()-Xt>34&&(Vo||(Vo=requestAnimationFrame(Vr)))},Fn=function(){(!mt||!mt.isPressed||mt.startX>ve.clientWidth)&&(oe.cache++,mt?Vo||(Vo=requestAnimationFrame(Vr)):Vr(),Xt||Ji("scrollStart"),Xt=ct())},Vl=function(){qh=ce.innerWidth,Wh=ce.innerHeight},ko=function(){oe.cache++,!lt&&!Hh&&!xe.fullscreenElement&&!xe.webkitFullscreenElement&&(!Yl||qh!==ce.innerWidth||Math.abs(ce.innerHeight-Wh)>ce.innerHeight*.25)&&va.restart(!0)},Qi={},Dv=[],Zh=function i(){return $e(j,"scrollEnd",i)||Gi(!0)},Ji=function(e){return Qi[e]&&Qi[e].map(function(t){return t()})||Dv},Nt=[],Qh=function(e){for(var t=0;t<Nt.length;t+=5)(!e||Nt[t+4]&&Nt[t+4].query===e)&&(Nt[t].style.cssText=Nt[t+1],Nt[t].getBBox&&Nt[t].setAttribute("transform",Nt[t+2]||""),Nt[t+3].uncache=1)},rc=function(e,t){var r;for(vt=0;vt<se.length;vt++)r=se[vt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));Da=!0,t&&Qh(t),t||Ji("revert")},Jh=function(e,t){oe.cache++,(t||!Dt)&&oe.forEach(function(r){return yt(r)&&r.cacheID++&&(r.rec=0)}),It(e)&&(ce.history.scrollRestoration=Kl=e)},Dt,Ki=0,Mh,yv=function(){if(Mh!==Ki){var e=Mh=Ki;requestAnimationFrame(function(){return e===Ki&&Gi(!0)})}},ep=function(){ve.appendChild(kn),Zl=!mt&&kn.offsetHeight||ce.innerHeight,ve.removeChild(kn)},kh=function(e){return zo(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},Gi=function(e,t){if(Xt&&!e&&!Da){je(j,"scrollEnd",Zh);return}ep(),Dt=j.isRefreshing=!0,oe.forEach(function(n){return yt(n)&&++n.cacheID&&(n.rec=n())});var r=Ji("refreshInit");Vh&&j.sort(),t||rc(),oe.forEach(function(n){yt(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),se.slice(0).forEach(function(n){return n.refresh()}),Da=!1,se.forEach(function(n){if(n._subPinOffset&&n.pin){var o=n.vars.horizontal?"offsetWidth":"offsetHeight",s=n.pin[o];n.revert(!0,1),n.adjustPinSpacing(n.pin[o]-s),n.refresh()}}),Ul=1,kh(!0),se.forEach(function(n){var o=yr(n.scroller,n._dir),s=n.vars.end==="max"||n._endClamp&&n.end>o,a=n._startClamp&&n.start>=o;(s||a)&&n.setPositions(a?o-1:n.start,s?Math.max(a?o:n.start+1,o):n.end,!0)}),kh(!1),Ul=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),oe.forEach(function(n){yt(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Jh(Kl,1),va.pause(),Ki++,Dt=2,Vr(2),se.forEach(function(n){return yt(n.vars.onRefresh)&&n.vars.onRefresh(n)}),Dt=j.isRefreshing=!1,Ji("refresh")},$l=0,_a=1,Bo,Vr=function(e){if(e===2||!Dt&&!Da){j.isUpdating=!0,Bo&&Bo.update(0);var t=se.length,r=ct(),n=r-Bl>=50,o=t&&se[0].scroll();if(_a=$l>o?-1:1,Dt||($l=o),n&&(Xt&&!wa&&r-Xt>200&&(Xt=0,Ji("scrollEnd")),Ao=Bl,Bl=r),_a<0){for(vt=t;vt-- >0;)se[vt]&&se[vt].update(0,n);_a=1}else for(vt=0;vt<t;vt++)se[vt]&&se[vt].update(0,n);j.isUpdating=!1}Vo=0},jl=[$h,jh,Jl,Ql,qt+Io,qt+Lo,qt+No,qt+Ro,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ga=jl.concat([$i,ji,"boxSizing","max"+Ln,"max"+ec,"position",qt,Be,Be+No,Be+Lo,Be+Io,Be+Ro]),Ev=function(e,t,r){Pn(r);var n=e._gsap;if(n.spacerIsNative)Pn(n.spacerState);else if(e._gsap.swappedIn){var o=t.parentNode;o&&(o.insertBefore(e,t),o.removeChild(t))}e._gsap.swappedIn=!1},Hl=function(e,t,r,n){if(!e._gsap.swappedIn){for(var o=jl.length,s=t.style,a=e.style,u;o--;)u=jl[o],s[u]=r[u];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),a[Jl]=a[Ql]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[$i]=ya(e,ut)+qe,s[ji]=ya(e,Ie)+qe,s[Be]=a[qt]=a[jh]=a[$h]="0",Pn(n),a[$i]=a["max"+Ln]=r[$i],a[ji]=a["max"+ec]=r[ji],a[Be]=r[Be],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},wv=/([A-Z])/g,Pn=function(e){if(e){var t=e.t.style,r=e.length,n=0,o,s;for((e.t._gsap||q.core.getCache(e.t)).uncache=1;n<r;n+=2)s=e[n+1],o=e[n],s?t[o]=s:t[o]&&t.removeProperty(o.replace(wv,"-$1").toLowerCase())}},ca=function(e){for(var t=ga.length,r=e.style,n=[],o=0;o<t;o++)n.push(ga[o],r[ga[o]]);return n.t=e,n},bv=function(e,t,r){for(var n=[],o=e.length,s=r?8:0,a;s<o;s+=2)a=e[s],n.push(a,a in t?t[a]:e[s+1]);return n.t=e.t,n},ma={left:0,top:0},Ph=function(e,t,r,n,o,s,a,u,l,c,d,p,f,_){yt(e)&&(e=e(u)),It(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?ha("0"+e.substr(3),r):0));var h=f?f.time():0,g,m,v;if(f&&f.seek(0),isNaN(e)||(e=+e),Mo(e))f&&(e=q.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,p,e)),a&&pa(a,r,n,!0);else{yt(t)&&(t=t(u));var y=(e||"0").split(" "),E,b,x,w;v=gt(t,u)||ve,E=zr(v)||{},(!E||!E.left&&!E.top)&&Yt(v).display==="none"&&(w=v.style.display,v.style.display="block",E=zr(v),w?v.style.display=w:v.style.removeProperty("display")),b=ha(y[0],E[n.d]),x=ha(y[1]||"0",r),e=E[n.p]-l[n.p]-c+b+o-x,a&&pa(a,x,n,r-x<20||a._isStart&&x>20),r-=r-x}if(_&&(u[_]=e||-.001,e<0&&(e=0)),s){var S=e+r,A=s._isStart;g="scroll"+n.d2,pa(s,S,n,A&&S>20||!A&&(d?Math.max(ve[g],sr[g]):s.parentNode[g])<=S+1),d&&(l=zr(a),d&&(s.style[n.op.p]=l[n.op.p]-n.op.m-s._offset+qe))}return f&&v&&(g=zr(v),f.seek(p),m=zr(v),f._caScrollDist=g[n.p]-m[n.p],e=e/f._caScrollDist*p),f&&f.seek(h),f?e:Math.round(e)},xv=/(webkit|moz|length|cssText|inset)/i,Lh=function(e,t,r,n){if(e.parentNode!==t){var o=e.style,s,a;if(t===ve){e._stOrig=o.cssText,a=Yt(e);for(s in a)!+s&&!xv.test(s)&&a[s]&&typeof o[s]=="string"&&s!=="0"&&(o[s]=a[s]);o.top=r,o.left=n}else o.cssText=e._stOrig;q.core.getCache(e).uncache=1,t.appendChild(e)}},tp=function(e,t,r){var n=t,o=n;return function(s){var a=Math.round(e());return a!==n&&a!==o&&Math.abs(a-n)>3&&Math.abs(a-o)>3&&(s=a,r&&r()),o=n,n=s,s}},fa=function(e,t,r){var n={};n[t.p]="+="+r,q.set(e,n)},Rh=function(e,t){var r=Ir(e,t),n="_scroll"+t.p2,o=function s(a,u,l,c,d){var p=s.tween,f=u.onComplete,_={};l=l||r();var h=tp(r,l,function(){p.kill(),s.tween=0});return d=c&&d||0,c=c||a-l,p&&p.kill(),u[n]=a,u.inherit=!1,u.modifiers=_,_[n]=function(){return h(l+c*p.ratio+d*p.ratio*p.ratio)},u.onUpdate=function(){oe.cache++,s.tween&&Vr()},u.onComplete=function(){s.tween=0,f&&f.call(p)},p=s.tween=q.to(e,u),p};return e[n]=r,r.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},je(e,"wheel",r.wheelHandler),j.isTouch&&je(e,"touchmove",r.wheelHandler),o},j=function(){function i(t,r){On||i.register(q)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Xl(this),this.init(t,r)}var e=i.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Fo){this.update=this.refresh=this.kill=Dr;return}r=Ah(It(r)||Mo(r)||r.nodeType?{trigger:r}:r,ua);var o=r,s=o.onUpdate,a=o.toggleClass,u=o.id,l=o.onToggle,c=o.onRefresh,d=o.scrub,p=o.trigger,f=o.pin,_=o.pinSpacing,h=o.invalidateOnRefresh,g=o.anticipatePin,m=o.onScrubComplete,v=o.onSnapComplete,y=o.once,E=o.snap,b=o.pinReparent,x=o.pinSpacer,w=o.containerAnimation,S=o.fastScrollEnd,A=o.preventOverlaps,C=r.horizontal||r.containerAnimation&&r.horizontal!==!1?ut:Ie,O=!d&&d!==0,F=gt(r.scroller||ce),k=q.core.getCache(F),H=Zi(F),z=("pinType"in r?r.pinType:Br(F,"pinType")||H&&"fixed")==="fixed",P=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],R=O&&r.toggleActions.split(" "),N="markers"in r?r.markers:ua.markers,T=H?0:parseFloat(Yt(F)["border"+C.p2+Ln])||0,D=this,L=r.onRefreshInit&&function(){return r.onRefreshInit(D)},X=pv(F,H,C),te=_v(F,H),U=0,G=0,I=0,Y=Ir(F,C),fe,ie,ne,Ke,wt,B,Z,Ce,ze,M,Mt,Cr,$r,Le,jr,wi,an,Xe,Kr,Me,Zt,Bt,Tr,Gn,Re,ds,Zr,un,ln,Qr,bi,ae,xi,Qt,Jt,er,Si,cn,Ar;if(D._startClamp=D._endClamp=!1,D._dir=C,g*=45,D.scroller=F,D.scroll=w?w.time.bind(w):Y,Ke=Y(),D.vars=r,n=n||r.animation,"refreshPriority"in r&&(Vh=1,r.refreshPriority===-9999&&(Bo=D)),k.tweenScroll=k.tweenScroll||{top:Rh(F,Ie),left:Rh(F,ut)},D.tweenTo=fe=k.tweenScroll[C.p],D.scrubDuration=function(W){xi=Mo(W)&&W,xi?ae?ae.duration(W):ae=q.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:xi,paused:!0,onComplete:function(){return m&&m(D)}}):(ae&&ae.progress(1).kill(),ae=0)},n&&(n.vars.lazy=!1,n._initted&&!D.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),D.animation=n.pause(),n.scrollTrigger=D,D.scrubDuration(d),Qr=0,u||(u=n.vars.id)),E&&((!Ui(E)||E.push)&&(E={snapTo:E}),"scrollBehavior"in ve.style&&q.set(H?[ve,sr]:F,{scrollBehavior:"auto"}),oe.forEach(function(W){return yt(W)&&W.target===(H?xe.scrollingElement||sr:F)&&(W.smooth=!1)}),ne=yt(E.snapTo)?E.snapTo:E.snapTo==="labels"?mv(n):E.snapTo==="labelsDirectional"?vv(n):E.directional!==!1?function(W,ee){return tc(E.snapTo)(W,ct()-G<500?0:ee.direction)}:q.utils.snap(E.snapTo),Qt=E.duration||{min:.1,max:2},Qt=Ui(Qt)?Po(Qt.min,Qt.max):Po(Qt,Qt),Jt=q.delayedCall(E.delay||xi/2||.1,function(){var W=Y(),ee=ct()-G<500,$=fe.tween;if((ee||Math.abs(D.getVelocity())<10)&&!$&&!wa&&U!==W){var Q=(W-B)/Le,Ue=n&&!O?n.totalProgress():Q,ue=ee?0:(Ue-bi)/(ct()-Ao)*1e3||0,ke=q.utils.clamp(-Q,1-Q,An(ue/2)*ue/.185),rt=Q+(E.inertia===!1?0:ke),Te,De,he=E,tr=he.onStart,Ee=he.onInterrupt,kt=he.onComplete;if(Te=ne(rt,D),Mo(Te)||(Te=rt),De=Math.round(B+Te*Le),W<=Z&&W>=B&&De!==W){if($&&!$._initted&&$.data<=An(De-W))return;E.inertia===!1&&(ke=Te-Q),fe(De,{duration:Qt(An(Math.max(An(rt-Ue),An(Te-Ue))*.185/ue/.05||0)),ease:E.ease||"power3",data:An(De-W),onInterrupt:function(){return Jt.restart(!0)&&Ee&&Ee(D)},onComplete:function(){D.update(),U=Y(),n&&(ae?ae.resetTo("totalProgress",Te,n._tTime/n._tDur):n.progress(Te)),Qr=bi=n&&!O?n.totalProgress():D.progress,v&&v(D),kt&&kt(D)}},W,ke*Le,De-W-ke*Le),tr&&tr(D,fe.tween)}}else D.isActive&&U!==W&&Jt.restart(!0)}).pause()),u&&(Gl[u]=D),p=D.trigger=gt(p||f!==!0&&f),Ar=p&&p._gsap&&p._gsap.stRevert,Ar&&(Ar=Ar(D)),f=f===!0?p:gt(f),It(a)&&(a={targets:p,className:a}),f&&(_===!1||_===qt||(_=!_&&f.parentNode&&f.parentNode.style&&Yt(f.parentNode).display==="flex"?!1:Be),D.pin=f,ie=q.core.getCache(f),ie.spacer?jr=ie.pinState:(x&&(x=gt(x),x&&!x.nodeType&&(x=x.current||x.nativeElement),ie.spacerIsNative=!!x,x&&(ie.spacerState=ca(x))),ie.spacer=Xe=x||xe.createElement("div"),Xe.classList.add("pin-spacer"),u&&Xe.classList.add("pin-spacer-"+u),ie.pinState=jr=ca(f)),r.force3D!==!1&&q.set(f,{force3D:!0}),D.spacer=Xe=ie.spacer,ln=Yt(f),Gn=ln[_+C.os2],Me=q.getProperty(f),Zt=q.quickSetter(f,C.a,qe),Hl(f,Xe,ln),an=ca(f)),N){Cr=Ui(N)?Ah(N,Fh):Fh,M=la("scroller-start",u,F,C,Cr,0),Mt=la("scroller-end",u,F,C,Cr,0,M),Kr=M["offset"+C.op.d2];var $n=gt(Br(F,"content")||F);Ce=this.markerStart=la("start",u,$n,C,Cr,Kr,0,w),ze=this.markerEnd=la("end",u,$n,C,Cr,Kr,0,w),w&&(cn=q.quickSetter([Ce,ze],C.a,qe)),!z&&!(or.length&&Br(F,"fixedMarkers")===!0)&&(gv(H?ve:F),q.set([M,Mt],{force3D:!0}),ds=q.quickSetter(M,C.a,qe),un=q.quickSetter(Mt,C.a,qe))}if(w){var J=w.vars.onUpdate,K=w.vars.onUpdateParams;w.eventCallback("onUpdate",function(){D.update(0,0,1),J&&J.apply(w,K||[])})}if(D.previous=function(){return se[se.indexOf(D)-1]},D.next=function(){return se[se.indexOf(D)+1]},D.revert=function(W,ee){if(!ee)return D.kill(!0);var $=W!==!1||!D.enabled,Q=lt;$!==D.isReverted&&($&&(er=Math.max(Y(),D.scroll.rec||0),I=D.progress,Si=n&&n.progress()),Ce&&[Ce,ze,M,Mt].forEach(function(Ue){return Ue.style.display=$?"none":"block"}),$&&(lt=D,D.update($)),f&&(!b||!D.isActive)&&($?Ev(f,Xe,jr):Hl(f,Xe,Yt(f),Re)),$||D.update($),lt=Q,D.isReverted=$)},D.refresh=function(W,ee,$,Q){if(!((lt||!D.enabled)&&!ee)){if(f&&W&&Xt){je(i,"scrollEnd",Zh);return}!Dt&&L&&L(D),lt=D,fe.tween&&!$&&(fe.tween.kill(),fe.tween=0),ae&&ae.pause(),h&&n&&n.revert({kill:!1}).invalidate(),D.isReverted||D.revert(!0,!0),D._subPinOffset=!1;var Ue=X(),ue=te(),ke=w?w.duration():yr(F,C),rt=Le<=.01,Te=0,De=Q||0,he=Ui($)?$.end:r.end,tr=r.endTrigger||p,Ee=Ui($)?$.start:r.start||(r.start===0||!p?0:f?"0 0":"0 100%"),kt=D.pinnedContainer=r.pinnedContainer&>(r.pinnedContainer,D),cr=p&&Math.max(0,se.indexOf(D))||0,Ze=cr,Qe,it,Ci,hs,nt,Ve,fr,Ua,kc,jn,dr,Kn,ps;for(N&&Ui($)&&(Kn=q.getProperty(M,C.p),ps=q.getProperty(Mt,C.p));Ze--;)Ve=se[Ze],Ve.end||Ve.refresh(0,1)||(lt=D),fr=Ve.pin,fr&&(fr===p||fr===f||fr===kt)&&!Ve.isReverted&&(jn||(jn=[]),jn.unshift(Ve),Ve.revert(!0,!0)),Ve!==se[Ze]&&(cr--,Ze--);for(yt(Ee)&&(Ee=Ee(D)),Ee=xh(Ee,"start",D),B=Ph(Ee,p,Ue,C,Y(),Ce,M,D,ue,T,z,ke,w,D._startClamp&&"_startClamp")||(f?-.001:0),yt(he)&&(he=he(D)),It(he)&&!he.indexOf("+=")&&(~he.indexOf(" ")?he=(It(Ee)?Ee.split(" ")[0]:"")+he:(Te=ha(he.substr(2),Ue),he=It(Ee)?Ee:(w?q.utils.mapRange(0,w.duration(),w.scrollTrigger.start,w.scrollTrigger.end,B):B)+Te,tr=p)),he=xh(he,"end",D),Z=Math.max(B,Ph(he||(tr?"100% 0":ke),tr,Ue,C,Y()+Te,ze,Mt,D,ue,T,z,ke,w,D._endClamp&&"_endClamp"))||-.001,Te=0,Ze=cr;Ze--;)Ve=se[Ze],fr=Ve.pin,fr&&Ve.start-Ve._pinPush<=B&&!w&&Ve.end>0&&(Qe=Ve.end-(D._startClamp?Math.max(0,Ve.start):Ve.start),(fr===p&&Ve.start-Ve._pinPush<B||fr===kt)&&isNaN(Ee)&&(Te+=Qe*(1-Ve.progress)),fr===f&&(De+=Qe));if(B+=Te,Z+=Te,D._startClamp&&(D._startClamp+=Te),D._endClamp&&!Dt&&(D._endClamp=Z||-.001,Z=Math.min(Z,yr(F,C))),Le=Z-B||(B-=.01)&&.001,rt&&(I=q.utils.clamp(0,1,q.utils.normalize(B,Z,er))),D._pinPush=De,Ce&&Te&&(Qe={},Qe[C.a]="+="+Te,kt&&(Qe[C.p]="-="+Y()),q.set([Ce,ze],Qe)),f&&!(Ul&&D.end>=yr(F,C)))Qe=Yt(f),hs=C===Ie,Ci=Y(),Bt=parseFloat(Me(C.a))+De,!ke&&Z>1&&(dr=(H?xe.scrollingElement||sr:F).style,dr={style:dr,value:dr["overflow"+C.a.toUpperCase()]},H&&Yt(ve)["overflow"+C.a.toUpperCase()]!=="scroll"&&(dr.style["overflow"+C.a.toUpperCase()]="scroll")),Hl(f,Xe,Qe),an=ca(f),it=zr(f,!0),Ua=z&&Ir(F,hs?ut:Ie)(),_?(Re=[_+C.os2,Le+De+qe],Re.t=Xe,Ze=_===Be?ya(f,C)+Le+De:0,Ze&&(Re.push(C.d,Ze+qe),Xe.style.flexBasis!=="auto"&&(Xe.style.flexBasis=Ze+qe)),Pn(Re),kt&&se.forEach(function(Zn){Zn.pin===kt&&Zn.vars.pinSpacing!==!1&&(Zn._subPinOffset=!0)}),z&&Y(er)):(Ze=ya(f,C),Ze&&Xe.style.flexBasis!=="auto"&&(Xe.style.flexBasis=Ze+qe)),z&&(nt={top:it.top+(hs?Ci-B:Ua)+qe,left:it.left+(hs?Ua:Ci-B)+qe,boxSizing:"border-box",position:"fixed"},nt[$i]=nt["max"+Ln]=Math.ceil(it.width)+qe,nt[ji]=nt["max"+ec]=Math.ceil(it.height)+qe,nt[qt]=nt[qt+No]=nt[qt+Lo]=nt[qt+Io]=nt[qt+Ro]="0",nt[Be]=Qe[Be],nt[Be+No]=Qe[Be+No],nt[Be+Lo]=Qe[Be+Lo],nt[Be+Io]=Qe[Be+Io],nt[Be+Ro]=Qe[Be+Ro],wi=bv(jr,nt,b),Dt&&Y(0)),n?(kc=n._initted,Nl(1),n.render(n.duration(),!0,!0),Tr=Me(C.a)-Bt+Le+De,Zr=Math.abs(Le-Tr)>1,z&&Zr&&wi.splice(wi.length-2,2),n.render(0,!0,!0),kc||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),Nl(0)):Tr=Le,dr&&(dr.value?dr.style["overflow"+C.a.toUpperCase()]=dr.value:dr.style.removeProperty("overflow-"+C.a));else if(p&&Y()&&!w)for(it=p.parentNode;it&&it!==ve;)it._pinOffset&&(B-=it._pinOffset,Z-=it._pinOffset),it=it.parentNode;jn&&jn.forEach(function(Zn){return Zn.revert(!1,!0)}),D.start=B,D.end=Z,Ke=wt=Dt?er:Y(),!w&&!Dt&&(Ke<er&&Y(er),D.scroll.rec=0),D.revert(!1,!0),G=ct(),Jt&&(U=-1,Jt.restart(!0)),lt=0,n&&O&&(n._initted||Si)&&n.progress()!==Si&&n.progress(Si||0,!0).render(n.time(),!0,!0),(rt||I!==D.progress||w||h)&&(n&&!O&&n.totalProgress(w&&B<-.001&&!I?q.utils.normalize(B,Z,0):I,!0),D.progress=rt||(Ke-B)/Le===I?0:I),f&&_&&(Xe._pinOffset=Math.round(D.progress*Tr)),ae&&ae.invalidate(),isNaN(Kn)||(Kn-=q.getProperty(M,C.p),ps-=q.getProperty(Mt,C.p),fa(M,C,Kn),fa(Ce,C,Kn-(Q||0)),fa(Mt,C,ps),fa(ze,C,ps-(Q||0))),rt&&!Dt&&D.update(),c&&!Dt&&!$r&&($r=!0,c(D),$r=!1)}},D.getVelocity=function(){return(Y()-wt)/(ct()-Ao)*1e3||0},D.endAnimation=function(){To(D.callbackAnimation),n&&(ae?ae.progress(1):n.paused()?O||To(n,D.direction<0,1):To(n,n.reversed()))},D.labelToScroll=function(W){return n&&n.labels&&(B||D.refresh()||B)+n.labels[W]/n.duration()*Le||0},D.getTrailing=function(W){var ee=se.indexOf(D),$=D.direction>0?se.slice(0,ee).reverse():se.slice(ee+1);return(It(W)?$.filter(function(Q){return Q.vars.preventOverlaps===W}):$).filter(function(Q){return D.direction>0?Q.end<=B:Q.start>=Z})},D.update=function(W,ee,$){if(!(w&&!$&&!W)){var Q=Dt===!0?er:D.scroll(),Ue=W?0:(Q-B)/Le,ue=Ue<0?0:Ue>1?1:Ue||0,ke=D.progress,rt,Te,De,he,tr,Ee,kt,cr;if(ee&&(wt=Ke,Ke=w?Y():Q,E&&(bi=Qr,Qr=n&&!O?n.totalProgress():ue)),g&&f&&!lt&&!na&&Xt&&(!ue&&B<Q+(Q-wt)/(ct()-Ao)*g?ue=1e-4:ue===1&&Z>Q+(Q-wt)/(ct()-Ao)*g&&(ue=.9999)),ue!==ke&&D.enabled){if(rt=D.isActive=!!ue&&ue<1,Te=!!ke&&ke<1,Ee=rt!==Te,tr=Ee||!!ue!=!!ke,D.direction=ue>ke?1:-1,D.progress=ue,tr&&!lt&&(De=ue&&!ke?0:ue===1?1:ke===1?2:3,O&&(he=!Ee&&R[De+1]!=="none"&&R[De+1]||R[De],cr=n&&(he==="complete"||he==="reset"||he in n))),A&&(Ee||cr)&&(cr||d||!n)&&(yt(A)?A(D):D.getTrailing(A).forEach(function(Ci){return Ci.endAnimation()})),O||(ae&&!lt&&!na?(ae._dp._time-ae._start!==ae._time&&ae.render(ae._dp._time-ae._start),ae.resetTo?ae.resetTo("totalProgress",ue,n._tTime/n._tDur):(ae.vars.totalProgress=ue,ae.invalidate().restart())):n&&n.totalProgress(ue,!!(lt&&(G||W)))),f){if(W&&_&&(Xe.style[_+C.os2]=Gn),!z)Zt(Oo(Bt+Tr*ue));else if(tr){if(kt=!W&&ue>ke&&Z+1>Q&&Q+1>=yr(F,C),b)if(!W&&(rt||kt)){var Ze=zr(f,!0),Qe=Q-B;Lh(f,ve,Ze.top+(C===Ie?Qe:0)+qe,Ze.left+(C===Ie?0:Qe)+qe)}else Lh(f,Xe);Pn(rt||kt?wi:an),Zr&&ue<1&&rt||Zt(Bt+(ue===1&&!kt?Tr:0))}}E&&!fe.tween&&!lt&&!na&&Jt.restart(!0),a&&(Ee||y&&ue&&(ue<1||!Il))&&zo(a.targets).forEach(function(Ci){return Ci.classList[rt||y?"add":"remove"](a.className)}),s&&!O&&!W&&s(D),tr&&!lt?(O&&(cr&&(he==="complete"?n.pause().totalProgress(1):he==="reset"?n.restart(!0).pause():he==="restart"?n.restart(!0):n[he]()),s&&s(D)),(Ee||!Il)&&(l&&Ee&&zl(D,l),P[De]&&zl(D,P[De]),y&&(ue===1?D.kill(!1,1):P[De]=0),Ee||(De=ue===1?1:3,P[De]&&zl(D,P[De]))),S&&!rt&&Math.abs(D.getVelocity())>(Mo(S)?S:2500)&&(To(D.callbackAnimation),ae?ae.progress(1):To(n,he==="reverse"?1:!ue,1))):O&&s&&!lt&&s(D)}if(un){var it=w?Q/w.duration()*(w._caScrollDist||0):Q;ds(it+(M._isFlipped?1:0)),un(it)}cn&&cn(-Q/w.duration()*(w._caScrollDist||0))}},D.enable=function(W,ee){D.enabled||(D.enabled=!0,je(F,"resize",ko),H||je(F,"scroll",Fn),L&&je(i,"refreshInit",L),W!==!1&&(D.progress=I=0,Ke=wt=U=Y()),ee!==!1&&D.refresh())},D.getTween=function(W){return W&&fe?fe.tween:ae},D.setPositions=function(W,ee,$,Q){if(w){var Ue=w.scrollTrigger,ue=w.duration(),ke=Ue.end-Ue.start;W=Ue.start+ke*W/ue,ee=Ue.start+ke*ee/ue}D.refresh(!1,!1,{start:Sh(W,$&&!!D._startClamp),end:Sh(ee,$&&!!D._endClamp)},Q),D.update()},D.adjustPinSpacing=function(W){if(Re&&W){var ee=Re.indexOf(C.d)+1;Re[ee]=parseFloat(Re[ee])+W+qe,Re[1]=parseFloat(Re[1])+W+qe,Pn(Re)}},D.disable=function(W,ee){if(D.enabled&&(W!==!1&&D.revert(!0,!0),D.enabled=D.isActive=!1,ee||ae&&ae.pause(),er=0,ie&&(ie.uncache=1),L&&$e(i,"refreshInit",L),Jt&&(Jt.pause(),fe.tween&&fe.tween.kill()&&(fe.tween=0)),!H)){for(var $=se.length;$--;)if(se[$].scroller===F&&se[$]!==D)return;$e(F,"resize",ko),H||$e(F,"scroll",Fn)}},D.kill=function(W,ee){D.disable(W,ee),ae&&!ee&&ae.kill(),u&&delete Gl[u];var $=se.indexOf(D);$>=0&&se.splice($,1),$===vt&&_a>0&&vt--,$=0,se.forEach(function(Q){return Q.scroller===D.scroller&&($=1)}),$||Dt||(D.scroll.rec=0),n&&(n.scrollTrigger=null,W&&n.revert({kill:!1}),ee||n.kill()),Ce&&[Ce,ze,M,Mt].forEach(function(Q){return Q.parentNode&&Q.parentNode.removeChild(Q)}),Bo===D&&(Bo=0),f&&(ie&&(ie.uncache=1),$=0,se.forEach(function(Q){return Q.pin===f&&$++}),$||(ie.spacer=0)),r.onKill&&r.onKill(D)},se.push(D),D.enable(!1,!1),Ar&&Ar(D),n&&n.add&&!Le){var de=D.update;D.update=function(){D.update=de,B||Z||D.refresh()},q.delayedCall(.01,D.update),Le=.01,B=Z=0}else D.refresh();f&&yv()},i.register=function(r){return On||(q=r||Xh(),Yh()&&window.document&&i.enable(),On=Fo),On},i.defaults=function(r){if(r)for(var n in r)ua[n]=r[n];return ua},i.disable=function(r,n){Fo=0,se.forEach(function(s){return s[n?"kill":"disable"](r)}),$e(ce,"wheel",Fn),$e(xe,"scroll",Fn),clearInterval(ia),$e(xe,"touchcancel",Dr),$e(ve,"touchstart",Dr),sa($e,xe,"pointerdown,touchstart,mousedown",Ch),sa($e,xe,"pointerup,touchend,mouseup",Th),va.kill(),oa($e);for(var o=0;o<oe.length;o+=3)aa($e,oe[o],oe[o+1]),aa($e,oe[o],oe[o+2])},i.enable=function(){if(ce=window,xe=document,sr=xe.documentElement,ve=xe.body,q&&(zo=q.utils.toArray,Po=q.utils.clamp,Xl=q.core.context||Dr,Nl=q.core.suppressOverwrites||Dr,Kl=ce.history.scrollRestoration||"auto",$l=ce.pageYOffset,q.core.globals("ScrollTrigger",i),ve)){Fo=1,kn=document.createElement("div"),kn.style.height="100vh",kn.style.position="absolute",ep(),hv(),Oe.register(q),i.isTouch=Oe.isTouch,hi=Oe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Yl=Oe.isTouch===1,je(ce,"wheel",Fn),zh=[ce,xe,sr,ve],q.matchMedia?(i.matchMedia=function(u){var l=q.matchMedia(),c;for(c in u)l.add(c,u[c]);return l},q.addEventListener("matchMediaInit",function(){return rc()}),q.addEventListener("matchMediaRevert",function(){return Qh()}),q.addEventListener("matchMedia",function(){Gi(0,1),Ji("matchMedia")}),q.matchMedia("(orientation: portrait)",function(){return Vl(),Vl})):console.warn("Requires GSAP 3.11.0 or later"),Vl(),je(xe,"scroll",Fn);var r=ve.style,n=r.borderTopStyle,o=q.core.Animation.prototype,s,a;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",s=zr(ve),Ie.m=Math.round(s.top+Ie.sc())||0,ut.m=Math.round(s.left+ut.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),ia=setInterval(Oh,250),q.delayedCall(.5,function(){return na=0}),je(xe,"touchcancel",Dr),je(ve,"touchstart",Dr),sa(je,xe,"pointerdown,touchstart,mousedown",Ch),sa(je,xe,"pointerup,touchend,mouseup",Th),ql=q.utils.checkPrefix("transform"),ga.push(ql),On=ct(),va=q.delayedCall(.2,Gi).pause(),Mn=[xe,"visibilitychange",function(){var u=ce.innerWidth,l=ce.innerHeight;xe.hidden?(wh=u,bh=l):(wh!==u||bh!==l)&&ko()},xe,"DOMContentLoaded",Gi,ce,"load",Gi,ce,"resize",ko],oa(je),se.forEach(function(u){return u.enable(0,1)}),a=0;a<oe.length;a+=3)aa($e,oe[a],oe[a+1]),aa($e,oe[a],oe[a+2])}},i.config=function(r){"limitCallbacks"in r&&(Il=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(ia)||(ia=n)&&setInterval(Oh,n),"ignoreMobileResize"in r&&(Yl=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(oa($e)||oa(je,r.autoRefreshEvents||"none"),Hh=(r.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(r,n){var o=gt(r),s=oe.indexOf(o),a=Zi(o);~s&&oe.splice(s,a?6:2),n&&(a?or.unshift(ce,n,ve,n,sr,n):or.unshift(o,n))},i.clearMatchMedia=function(r){se.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},i.isInViewport=function(r,n,o){var s=(It(r)?gt(r):r).getBoundingClientRect(),a=s[o?$i:ji]*n||0;return o?s.right-a>0&&s.left+a<ce.innerWidth:s.bottom-a>0&&s.top+a<ce.innerHeight},i.positionInViewport=function(r,n,o){It(r)&&(r=gt(r));var s=r.getBoundingClientRect(),a=s[o?$i:ji],u=n==null?a/2:n in Ea?Ea[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return o?(s.left+u)/ce.innerWidth:(s.top+u)/ce.innerHeight},i.killAll=function(r){if(se.slice(0).forEach(function(o){return o.vars.id!=="ScrollSmoother"&&o.kill()}),r!==!0){var n=Qi.killAll||[];Qi={},n.forEach(function(o){return o()})}},i}();j.version="3.12.5";j.saveStyles=function(i){return i?zo(i).forEach(function(e){if(e&&e.style){var t=Nt.indexOf(e);t>=0&&Nt.splice(t,5),Nt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),q.core.getCache(e),Xl())}}):Nt};j.revert=function(i,e){return rc(!i,e)};j.create=function(i,e){return new j(i,e)};j.refresh=function(i){return i?ko():(On||j.register())&&Gi(!0)};j.update=function(i){return++oe.cache&&Vr(i===!0?2:0)};j.clearScrollMemory=Jh;j.maxScroll=function(i,e){return yr(i,e?ut:Ie)};j.getScrollFunc=function(i,e){return Ir(gt(i),e?ut:Ie)};j.getById=function(i){return Gl[i]};j.getAll=function(){return se.filter(function(i){return i.vars.id!=="ScrollSmoother"})};j.isScrolling=function(){return!!Xt};j.snapDirectional=tc;j.addEventListener=function(i,e){var t=Qi[i]||(Qi[i]=[]);~t.indexOf(e)||t.push(e)};j.removeEventListener=function(i,e){var t=Qi[i],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};j.batch=function(i,e){var t=[],r={},n=e.interval||.016,o=e.batchMax||1e9,s=function(l,c){var d=[],p=[],f=q.delayedCall(n,function(){c(d,p),d=[],p=[]}).pause();return function(_){d.length||f.restart(!0),d.push(_.trigger),p.push(_),o<=d.length&&f.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&yt(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return yt(o)&&(o=o(),je(j,"refresh",function(){return o=e.batchMax()})),zo(i).forEach(function(u){var l={};for(a in r)l[a]=r[a];l.trigger=u,t.push(j.create(l))}),t};var Nh=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},Wl=function i(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Oe.isTouch?" pinch-zoom":""):"none",e===sr&&i(ve,t)},da={auto:1,scroll:1},Sv=function(e){var t=e.event,r=e.target,n=e.axis,o=(t.changedTouches?t.changedTouches[0]:t).target,s=o._gsap||q.core.getCache(o),a=ct(),u;if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==ve&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(da[(u=Yt(o)).overflowY]||da[u.overflowX]));)o=o.parentNode;s._isScroll=o&&o!==r&&!Zi(o)&&(da[(u=Yt(o)).overflowY]||da[u.overflowX]),s._isScrollT=a}(s._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},rp=function(e,t,r,n){return Oe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Sv,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&je(xe,Oe.eventTypes[0],Bh,!1,!0)},onDisable:function(){return $e(xe,Oe.eventTypes[0],Bh,!0)}})},Cv=/(input|label|select|textarea)/i,Ih,Bh=function(e){var t=Cv.test(e.target.tagName);(t||Ih)&&(e._gsapAllow=!0,Ih=t)},Tv=function(e){Ui(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,o=t.allowNestedScroll,s=t.onRelease,a,u,l=gt(e.target)||sr,c=q.core.globals().ScrollSmoother,d=c&&c.get(),p=hi&&(e.content&>(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=Ir(l,Ie),_=Ir(l,ut),h=1,g=(Oe.isTouch&&ce.visualViewport?ce.visualViewport.scale*ce.visualViewport.width:ce.outerWidth)/ce.innerWidth,m=0,v=yt(n)?function(){return n(a)}:function(){return n||2.8},y,E,b=rp(l,e.type,!0,o),x=function(){return E=!1},w=Dr,S=Dr,A=function(){u=yr(l,Ie),S=Po(hi?1:0,u),r&&(w=Po(0,yr(l,ut))),y=Ki},C=function(){p._gsap.y=Oo(parseFloat(p._gsap.y)+f.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)",f.offset=f.cacheID=0},O=function(){if(E){requestAnimationFrame(x);var N=Oo(a.deltaY/2),T=S(f.v-N);if(p&&T!==f.v+f.offset){f.offset=T-f.v;var D=Oo((parseFloat(p&&p._gsap.y)||0)-f.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+D+", 0, 1)",p._gsap.y=D+"px",f.cacheID=oe.cache,Vr()}return!0}f.offset&&C(),E=!0},F,k,H,z,P=function(){A(),F.isActive()&&F.vars.scrollY>u&&(f()>u?F.progress(1)&&f(u):F.resetTo("scrollY",u))};return p&&q.set(p,{y:"+=0"}),e.ignoreCheck=function(R){return hi&&R.type==="touchmove"&&O(R)||h>1.05&&R.type!=="touchstart"||a.isGesturing||R.touches&&R.touches.length>1},e.onPress=function(){E=!1;var R=h;h=Oo((ce.visualViewport&&ce.visualViewport.scale||1)/g),F.pause(),R!==h&&Wl(l,h>1.01?!0:r?!1:"x"),k=_(),H=f(),A(),y=Ki},e.onRelease=e.onGestureStart=function(R,N){if(f.offset&&C(),!N)z.restart(!0);else{oe.cache++;var T=v(),D,L;r&&(D=_(),L=D+T*.05*-R.velocityX/.227,T*=Nh(_,D,L,yr(l,ut)),F.vars.scrollX=w(L)),D=f(),L=D+T*.05*-R.velocityY/.227,T*=Nh(f,D,L,yr(l,Ie)),F.vars.scrollY=S(L),F.invalidate().duration(T).play(.01),(hi&&F.vars.scrollY>=u||D>=u-1)&&q.to({},{onUpdate:P,duration:T})}s&&s(R)},e.onWheel=function(){F._ts&&F.pause(),ct()-m>1e3&&(y=0,m=ct())},e.onChange=function(R,N,T,D,L){if(Ki!==y&&A(),N&&r&&_(w(D[2]===N?k+(R.startX-R.x):_()+N-D[1])),T){f.offset&&C();var X=L[2]===T,te=X?H+R.startY-R.y:f()+T-L[1],U=S(te);X&&te!==U&&(H+=U-te),f(U)}(T||N)&&Vr()},e.onEnable=function(){Wl(l,r?!1:"x"),j.addEventListener("refresh",P),je(ce,"resize",P),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),b.enable()},e.onDisable=function(){Wl(l,!0),$e(ce,"resize",P),j.removeEventListener("refresh",P),b.kill()},e.lockAxis=e.lockAxis!==!1,a=new Oe(e),a.iOS=hi,hi&&!f()&&f(1),hi&&q.ticker.add(Dr),z=a._dc,F=q.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:tp(f,f(),function(){return F.pause()})},onUpdate:Vr,onComplete:z.vars.onComplete}),a};j.sort=function(i){return se.sort(i||function(e,t){return(e.vars.refreshPriority||0)*-1e6+e.start-(t.start+(t.vars.refreshPriority||0)*-1e6)})};j.observe=function(i){return new Oe(i)};j.normalizeScroll=function(i){if(typeof i>"u")return mt;if(i===!0&&mt)return mt.enable();if(i===!1){mt&&mt.kill(),mt=i;return}var e=i instanceof Oe?i:Tv(i);return mt&&mt.target===e.target&&mt.kill(),Zi(e.target)&&(mt=e),e};j.core={_getVelocityProp:ra,_inputObserver:rp,_scrollers:oe,_proxies:or,bridge:{ss:function(){Xt||Ji("scrollStart"),Xt=ct()},ref:function(){return lt}}};Xh()&&q.registerPlugin(j);var Et,sp,Hr,Er,pi,ap,up,ba,lp=function(){return typeof window<"u"},cp=function(){return Et||lp()&&(Et=window.gsap)&&Et.registerPlugin&&Et},fp=function(e){return typeof e=="string"},ip=function(e){return typeof e=="function"},Ho=function(e,t){var r=t==="x"?"Width":"Height",n="scroll"+r,o="client"+r;return e===Hr||e===Er||e===pi?Math.max(Er[n],pi[n])-(Hr["inner"+r]||Er[o]||pi[o]):e[n]-e["offset"+r]},Wo=function(e,t){var r="scroll"+(t==="x"?"Left":"Top");return e===Hr&&(e.pageXOffset!=null?r="page"+t.toUpperCase()+"Offset":e=Er[r]!=null?Er:pi),function(){return e[r]}},Av=function(e,t,r,n){if(ip(e)&&(e=e(t,r,n)),typeof e!="object")return fp(e)&&e!=="max"&&e.charAt(1)!=="="?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var o={},s;for(s in e)o[s]=s!=="onAutoKill"&&ip(e[s])?e[s](t,r,n):e[s];return o},dp=function(e,t){if(e=ap(e)[0],!e||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=e.getBoundingClientRect(),n=!t||t===Hr||t===pi,o=n?{top:Er.clientTop-(Hr.pageYOffset||Er.scrollTop||pi.scrollTop||0),left:Er.clientLeft-(Hr.pageXOffset||Er.scrollLeft||pi.scrollLeft||0)}:t.getBoundingClientRect(),s={x:r.left-o.left,y:r.top-o.top};return!n&&t&&(s.x+=Wo(t,"x")(),s.y+=Wo(t,"y")()),s},np=function(e,t,r,n,o){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-o:fp(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+n-o:e==="max"?Ho(t,r)-o:Math.min(Ho(t,r),dp(e,t)[r]-o)},op=function(){Et=cp(),lp()&&Et&&typeof document<"u"&&document.body&&(Hr=window,pi=document.body,Er=document.documentElement,ap=Et.utils.toArray,Et.config({autoKillThreshold:7}),up=Et.config(),sp=1)},Rn={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(e){Et=e,op()},init:function(e,t,r,n,o){sp||op();var s=this,a=Et.getProperty(e,"scrollSnapType");s.isWin=e===Hr,s.target=e,s.tween=r,t=Av(t,n,e,o),s.vars=t,s.autoKill=!!t.autoKill,s.getX=Wo(e,"x"),s.getY=Wo(e,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),ba||(ba=Et.core.globals().ScrollTrigger),Et.getProperty(e,"scrollBehavior")==="smooth"&&Et.set(e,{scrollBehavior:"auto"}),a&&a!=="none"&&(s.snap=1,s.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),t.x!=null?(s.add(s,"x",s.x,np(t.x,e,"x",s.x,t.offsetX||0),n,o),s._props.push("scrollTo_x")):s.skipX=1,t.y!=null?(s.add(s,"y",s.y,np(t.y,e,"y",s.y,t.offsetY||0),n,o),s._props.push("scrollTo_y")):s.skipY=1},render:function(e,t){for(var r=t._pt,n=t.target,o=t.tween,s=t.autoKill,a=t.xPrev,u=t.yPrev,l=t.isWin,c=t.snap,d=t.snapInline,p,f,_,h,g;r;)r.r(e,r.d),r=r._next;p=l||!t.skipX?t.getX():a,f=l||!t.skipY?t.getY():u,_=f-u,h=p-a,g=up.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),s&&(!t.skipX&&(h>g||h<-g)&&p<Ho(n,"x")&&(t.skipX=1),!t.skipY&&(_>g||_<-g)&&f<Ho(n,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(o.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(o,t.vars.onAutoKillParams||[]))),l?Hr.scrollTo(t.skipX?p:t.x,t.skipY?f:t.y):(t.skipY||(n.scrollTop=t.y),t.skipX||(n.scrollLeft=t.x)),c&&(e===1||e===0)&&(f=n.scrollTop,p=n.scrollLeft,d?n.style.scrollSnapType=d:n.style.removeProperty("scroll-snap-type"),n.scrollTop=f+1,n.scrollLeft=p+1,n.scrollTop=f,n.scrollLeft=p),t.xPrev=t.x,t.yPrev=t.y,ba&&ba.update()},kill:function(e){var t=e==="scrollTo",r=this._props.indexOf(e);return(t||e==="scrollTo_x")&&(this.skipX=1),(t||e==="scrollTo_y")&&(this.skipY=1),r>-1&&this._props.splice(r,1),!this._props.length}};Rn.max=Ho;Rn.getOffset=dp;Rn.buildGetter=Wo;cp()&&Et.registerPlugin(Rn);var Fv=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var Ov=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var Mv=Math.PI/180,Uy=180/Math.PI,xa=Math.sin,Sa=Math.cos,Yo=Math.abs,qo=Math.sqrt;var kv=function(e){return typeof e=="number"};var hp=1e5;var _i=function(e){return Math.round(e*hp)/hp||0};function pp(i,e,t,r,n,o,s){for(var a=i.length,u,l,c,d,p;--a>-1;)for(u=i[a],l=u.length,c=0;c<l;c+=2)d=u[c],p=u[c+1],u[c]=d*e+p*r+o,u[c+1]=d*t+p*n+s;return i._dirty=1,i}function Pv(i,e,t,r,n,o,s,a,u){if(!(i===a&&e===u)){t=Yo(t),r=Yo(r);var l=n%360*Mv,c=Sa(l),d=xa(l),p=Math.PI,f=p*2,_=(i-a)/2,h=(e-u)/2,g=c*_+d*h,m=-d*_+c*h,v=g*g,y=m*m,E=v/(t*t)+y/(r*r);E>1&&(t=qo(E)*t,r=qo(E)*r);var b=t*t,x=r*r,w=(b*x-b*y-x*v)/(b*y+x*v);w<0&&(w=0);var S=(o===s?-1:1)*qo(w),A=S*(t*m/r),C=S*-(r*g/t),O=(i+a)/2,F=(e+u)/2,k=O+(c*A-d*C),H=F+(d*A+c*C),z=(g-A)/t,P=(m-C)/r,R=(-g-A)/t,N=(-m-C)/r,T=z*z+P*P,D=(P<0?-1:1)*Math.acos(z/qo(T)),L=(z*N-P*R<0?-1:1)*Math.acos((z*R+P*N)/qo(T*(R*R+N*N)));isNaN(L)&&(L=p),!s&&L>0?L-=f:s&&L<0&&(L+=f),D%=f,L%=f;var X=Math.ceil(Yo(L)/(f/4)),te=[],U=L/X,G=4/3*xa(U/2)/(1+Sa(U/2)),I=c*t,Y=d*t,fe=d*-r,ie=c*r,ne;for(ne=0;ne<X;ne++)n=D+ne*U,g=Sa(n),m=xa(n),z=Sa(n+=U),P=xa(n),te.push(g-G*m,m+G*g,z+G*P,P-G*z,z,P);for(ne=0;ne<te.length;ne+=2)g=te[ne],m=te[ne+1],te[ne]=g*I+m*fe+k,te[ne+1]=g*Y+m*ie+H;return te[ne-2]=a,te[ne-1]=u,te}}function _p(i){var e=(i+"").replace(Ov,function(A){var C=+A;return C<1e-4&&C>-1e-4?0:C}).match(Fv)||[],t=[],r=0,n=0,o=2/3,s=e.length,a=0,u="ERROR: malformed path: "+i,l,c,d,p,f,_,h,g,m,v,y,E,b,x,w,S=function(C,O,F,k){v=(F-C)/3,y=(k-O)/3,h.push(C+v,O+y,F-v,k-y,F,k)};if(!i||!isNaN(e[0])||isNaN(e[1]))return console.log(u),t;for(l=0;l<s;l++)if(b=f,isNaN(e[l])?(f=e[l].toUpperCase(),_=f!==e[l]):l--,d=+e[l+1],p=+e[l+2],_&&(d+=r,p+=n),l||(g=d,m=p),f==="M")h&&(h.length<8?t.length-=1:a+=h.length),r=g=d,n=m=p,h=[d,p],t.push(h),l+=2,f="L";else if(f==="C")h||(h=[0,0]),_||(r=n=0),h.push(d,p,r+e[l+3]*1,n+e[l+4]*1,r+=e[l+5]*1,n+=e[l+6]*1),l+=6;else if(f==="S")v=r,y=n,(b==="C"||b==="S")&&(v+=r-h[h.length-4],y+=n-h[h.length-3]),_||(r=n=0),h.push(v,y,d,p,r+=e[l+3]*1,n+=e[l+4]*1),l+=4;else if(f==="Q")v=r+(d-r)*o,y=n+(p-n)*o,_||(r=n=0),r+=e[l+3]*1,n+=e[l+4]*1,h.push(v,y,r+(d-r)*o,n+(p-n)*o,r,n),l+=4;else if(f==="T")v=r-h[h.length-4],y=n-h[h.length-3],h.push(r+v,n+y,d+(r+v*1.5-d)*o,p+(n+y*1.5-p)*o,r=d,n=p),l+=2;else if(f==="H")S(r,n,r=d,n),l+=1;else if(f==="V")S(r,n,r,n=d+(_?n-r:0)),l+=1;else if(f==="L"||f==="Z")f==="Z"&&(d=g,p=m,h.closed=!0),(f==="L"||Yo(r-d)>.5||Yo(n-p)>.5)&&(S(r,n,d,p),f==="L"&&(l+=2)),r=d,n=p;else if(f==="A"){if(x=e[l+4],w=e[l+5],v=e[l+6],y=e[l+7],c=7,x.length>1&&(x.length<3?(y=v,v=w,c--):(y=w,v=x.substr(2),c-=2),w=x.charAt(1),x=x.charAt(0)),E=Pv(r,n,+e[l+1],+e[l+2],+e[l+3],+x,+w,(_?r:0)+v*1,(_?n:0)+y*1),l+=c,E)for(c=0;c<E.length;c++)h.push(E[c]);r=h[h.length-2],n=h[h.length-1]}else console.log(u);return l=h.length,l<6?(t.pop(),l=0):h[0]===h[l-2]&&h[1]===h[l-1]&&(h.closed=!0),t.totalPoints=a+l,t}function gp(i){kv(i[0])&&(i=[i]);var e="",t=i.length,r,n,o,s;for(n=0;n<t;n++){for(s=i[n],e+="M"+_i(s[0])+","+_i(s[1])+" C",r=s.length,o=2;o<r;o++)e+=_i(s[o++])+","+_i(s[o++])+" "+_i(s[o++])+","+_i(s[o++])+" "+_i(s[o++])+","+_i(s[o])+" ";s.closed&&(e+="z")}return e}var At,vp,Dp=function(){return At||typeof window<"u"&&(At=window.gsap)&&At.registerPlugin&&At},mp=function(){At=Dp(),At?(At.registerEase("_CE",en.create),vp=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Lv=1e20,Ca=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},Rv=1,Nv=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,Iv=/[cLlsSaAhHvVtTqQ]/g,Bv=function(e){var t=e.length,r=Lv,n;for(n=1;n<t;n+=6)+e[n]<r&&(r=+e[n]);return r},zv=function(e,t,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var n=+e[0]*-1,o=-r,s=e.length,a=1/(+e[s-2]+n),u=-t||(Math.abs(+e[s-1]-+e[1])<.01*(+e[s-2]-+e[0])?Bv(e)+o:+e[s-1]+o),l;for(u?u=1/u:u=-a,l=0;l<s;l+=2)e[l]=(+e[l]+n)*a,e[l+1]=(+e[l+1]+o)*u},Vv=function i(e,t,r,n,o,s,a,u,l,c,d){var p=(e+r)/2,f=(t+n)/2,_=(r+o)/2,h=(n+s)/2,g=(o+a)/2,m=(s+u)/2,v=(p+_)/2,y=(f+h)/2,E=(_+g)/2,b=(h+m)/2,x=(v+E)/2,w=(y+b)/2,S=a-e,A=u-t,C=Math.abs((r-a)*A-(n-u)*S),O=Math.abs((o-a)*A-(s-u)*S),F;return c||(c=[{x:e,y:t},{x:a,y:u}],d=1),c.splice(d||c.length-1,0,{x,y:w}),(C+O)*(C+O)>l*(S*S+A*A)&&(F=c.length,i(e,t,p,f,v,y,x,w,l,c,d),i(x,w,E,b,g,m,a,u,l,c,d+1+(c.length-F))),c},en=function(){function i(t,r,n){vp||mp(),this.id=t,Rv&&this.setData(r,n)}var e=i.prototype;return e.setData=function(r,n){n=n||{},r=r||"0,0,1,1";var o=r.match(Nv),s=1,a=[],u=[],l=n.precision||1,c=l<=1,d,p,f,_,h,g,m,v,y;if(this.data=r,(Iv.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(o=_p(r)[0]),d=o.length,d===4)o.unshift(0,0),o.push(1,1),d=8;else if((d-2)%6)throw"Invalid CustomEase";for((+o[0]!=0||+o[d-2]!=1)&&zv(o,n.height,n.originY),this.segment=o,_=2;_<d;_+=6)p={x:+o[_-2],y:+o[_-1]},f={x:+o[_+4],y:+o[_+5]},a.push(p,f),Vv(p.x,p.y,+o[_],+o[_+1],+o[_+2],+o[_+3],f.x,f.y,1/(l*2e5),a,a.length-1);for(d=a.length,_=0;_<d;_++)m=a[_],v=a[_-1]||m,(m.x>v.x||v.y!==m.y&&v.x===m.x||m===v)&&m.x<=1?(v.cx=m.x-v.x,v.cy=m.y-v.y,v.n=m,v.nx=m.x,c&&_>1&&Math.abs(v.cy/v.cx-a[_-2].cy/a[_-2].cx)>2&&(c=0),v.cx<s&&(v.cx?s=v.cx:(v.cx=.001,_===d-1&&(v.x-=.001,s=Math.min(s,.001),c=0)))):(a.splice(_--,1),d--);if(d=1/s+1|0,h=1/d,g=0,m=a[0],c){for(_=0;_<d;_++)y=_*h,m.nx<y&&(m=a[++g]),p=m.y+(y-m.x)/m.cx*m.cy,u[_]={x:y,cx:h,y:p,cy:0,nx:9},_&&(u[_-1].cy=p-u[_-1].y);u[d-1].cy=a[a.length-1].y-p}else{for(_=0;_<d;_++)m.nx<_*h&&(m=a[++g]),u[_]=m;g<a.length-1&&(u[_-1]=a[a.length-2])}return this.ease=function(E){var b=u[E*d|0]||u[d-1];return b.nx<E&&(b=b.n),b.y+(E-b.x)/b.cx*b.cy},this.ease.custom=this,this.id&&At&&At.registerEase(this.id,this.ease),this},e.getSVGData=function(r){return i.getSVGData(this,r)},i.create=function(r,n,o){return new i(r,n,o).ease},i.register=function(r){At=r,mp()},i.get=function(r){return At.parseEase(r)},i.getSVGData=function(r,n){n=n||{};var o=n.width||100,s=n.height||100,a=n.x||0,u=(n.y||0)+s,l=At.utils.toArray(n.path)[0],c,d,p,f,_,h,g,m,v,y;if(n.invert&&(s=-s,u=0),typeof r=="string"&&(r=At.parseEase(r)),r.custom&&(r=r.custom),r instanceof i)c=gp(pp([r.segment],o,0,0,-s,a,u));else{for(c=[a,u],g=Math.max(5,(n.precision||1)*200),f=1/g,g+=2,m=5/g,v=Ca(a+f*o),y=Ca(u+r(f)*-s),d=(y-u)/(v-a),p=2;p<g;p++)_=Ca(a+p*f*o),h=Ca(u+r(p*f)*-s),(Math.abs((h-y)/(_-v)-d)>m||p===g-1)&&(c.push(v,y),d=(h-y)/(_-v)),v=_,y=h;c="M"+c.join(",")}return l&&l.setAttribute("d",c),c},i}();Dp()&&At.registerPlugin(en);en.version="3.12.5";var yp=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function ic(i){var e=i.nodeType,t="";if(e===1||e===9||e===11){if(typeof i.textContent=="string")return i.textContent;for(i=i.firstChild;i;i=i.nextSibling)t+=ic(i)}else if(e===3||e===4)return i.nodeValue;return t}var Nn,oc,bp,Xo,xp,Ta,Hv=/(?:\r|\n|\t\t)/g,Wv=/(?:\s\s+)/g,qv=String.fromCharCode(160),Sp=function(e){Nn=document,oc=window,Xo=Xo||e||oc.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),Xo&&(Ta=Xo.utils.toArray,xp=Xo.core.context||function(){},bp=1)},Yv=1,Cp=function(e){return oc.getComputedStyle(e)},sc=function(e){return e.position==="absolute"||e.absolute===!0},Xv=function(e,t){for(var r=t.length,n;--r>-1;)if(n=t[r],e.substr(0,n.length)===n)return n.length},Uv=" style='position:relative;display:inline-block;'",Ep=function(e,t){e===void 0&&(e="");var r=~e.indexOf("++"),n=1;return r&&(e=e.split("++").join("")),function(){return"<"+t+Uv+(e?" class='"+e+(r?n++:"")+"'>":">")}},Tp=function i(e,t,r){var n=e.nodeType;if(n===1||n===9||n===11)for(e=e.firstChild;e;e=e.nextSibling)i(e,t,r);else(n===3||n===4)&&(e.nodeValue=e.nodeValue.split(t).join(r))},nc=function(e,t){for(var r=t.length;--r>-1;)e.push(t[r])},wp=function(e,t,r){for(var n;e&&e!==t;){if(n=e._next||e.nextSibling,n)return n.textContent.charAt(0)===r;e=e.parentNode||e._parent}},Gv=function i(e){var t=Ta(e.childNodes),r=t.length,n,o;for(n=0;n<r;n++)o=t[n],o._isSplit?i(o):n&&o.previousSibling&&o.previousSibling.nodeType===3?(o.previousSibling.nodeValue+=o.nodeType===3?o.nodeValue:o.firstChild.nodeValue,e.removeChild(o)):o.nodeType!==3&&(e.insertBefore(o.firstChild,o),e.removeChild(o))},wr=function(e,t){return parseFloat(t[e])||0},$v=function(e,t,r,n,o,s,a){var u=Cp(e),l=wr("paddingLeft",u),c=-999,d=wr("borderBottomWidth",u)+wr("borderTopWidth",u),p=wr("borderLeftWidth",u)+wr("borderRightWidth",u),f=wr("paddingTop",u)+wr("paddingBottom",u),_=wr("paddingLeft",u)+wr("paddingRight",u),h=wr("fontSize",u)*(t.lineThreshold||.2),g=u.textAlign,m=[],v=[],y=[],E=t.wordDelimiter||" ",b=t.tag?t.tag:t.span?"span":"div",x=t.type||t.split||"chars,words,lines",w=o&&~x.indexOf("lines")?[]:null,S=~x.indexOf("words"),A=~x.indexOf("chars"),C=sc(t),O=t.linesClass,F=~(O||"").indexOf("++"),k=[],H=u.display==="flex",z=e.style.display,P,R,N,T,D,L,X,te,U,G,I,Y;for(F&&(O=O.split("++").join("")),H&&(e.style.display="block"),R=e.getElementsByTagName("*"),N=R.length,D=[],P=0;P<N;P++)D[P]=R[P];if(w||C)for(P=0;P<N;P++)T=D[P],L=T.parentNode===e,(L||C||A&&!S)&&(Y=T.offsetTop,w&&L&&Math.abs(Y-c)>h&&(T.nodeName!=="BR"||P===0)&&(X=[],w.push(X),c=Y),C&&(T._x=T.offsetLeft,T._y=Y,T._w=T.offsetWidth,T._h=T.offsetHeight),w&&((T._isSplit&&L||!A&&L||S&&L||!S&&T.parentNode.parentNode===e&&!T.parentNode._isSplit)&&(X.push(T),T._x-=l,wp(T,e,E)&&(T._wordEnd=!0)),T.nodeName==="BR"&&(T.nextSibling&&T.nextSibling.nodeName==="BR"||P===0)&&w.push([])));for(P=0;P<N;P++){if(T=D[P],L=T.parentNode===e,T.nodeName==="BR"){w||C?(T.parentNode&&T.parentNode.removeChild(T),D.splice(P--,1),N--):S||e.appendChild(T);continue}if(C&&(U=T.style,!S&&!L&&(T._x+=T.parentNode._x,T._y+=T.parentNode._y),U.left=T._x+"px",U.top=T._y+"px",U.position="absolute",U.display="block",U.width=T._w+1+"px",U.height=T._h+"px"),!S&&A)if(T._isSplit)for(T._next=R=T.nextSibling,T.parentNode.appendChild(T);R&&R.nodeType===3&&R.textContent===" ";)T._next=R.nextSibling,T.parentNode.appendChild(R),R=R.nextSibling;else T.parentNode._isSplit?(T._parent=T.parentNode,!T.previousSibling&&T.firstChild&&(T.firstChild._isFirst=!0),T.nextSibling&&T.nextSibling.textContent===" "&&!T.nextSibling.nextSibling&&k.push(T.nextSibling),T._next=T.nextSibling&&T.nextSibling._isFirst?null:T.nextSibling,T.parentNode.removeChild(T),D.splice(P--,1),N--):L||(Y=!T.nextSibling&&wp(T.parentNode,e,E),T.parentNode._parent&&T.parentNode._parent.appendChild(T),Y&&T.parentNode.appendChild(Nn.createTextNode(" ")),b==="span"&&(T.style.display="inline"),m.push(T));else T.parentNode._isSplit&&!T._isSplit&&T.innerHTML!==""?v.push(T):A&&!T._isSplit&&(b==="span"&&(T.style.display="inline"),m.push(T))}for(P=k.length;--P>-1;)k[P].parentNode.removeChild(k[P]);if(w){for(C&&(G=Nn.createElement(b),e.appendChild(G),I=G.offsetWidth+"px",Y=G.offsetParent===e?0:e.offsetLeft,e.removeChild(G)),U=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(te=E===" "&&(!C||!S&&!A),P=0;P<w.length;P++){for(X=w[P],G=Nn.createElement(b),G.style.cssText="display:block;text-align:"+g+";position:"+(C?"absolute;":"relative;"),O&&(G.className=O+(F?P+1:"")),y.push(G),N=X.length,R=0;R<N;R++)X[R].nodeName!=="BR"&&(T=X[R],G.appendChild(T),te&&T._wordEnd&&G.appendChild(Nn.createTextNode(" ")),C&&(R===0&&(G.style.top=T._y+"px",G.style.left=l+Y+"px"),T.style.top="0px",Y&&(T.style.left=T._x-Y+"px")));N===0?G.innerHTML=" ":!S&&!A&&(Gv(G),Tp(G,String.fromCharCode(160)," ")),C&&(G.style.width=I,G.style.height=T._h+"px"),e.appendChild(G)}e.style.cssText=U}C&&(a>e.clientHeight&&(e.style.height=a-f+"px",e.clientHeight<a&&(e.style.height=a+d+"px")),s>e.clientWidth&&(e.style.width=s-_+"px",e.clientWidth<s&&(e.style.width=s+p+"px"))),H&&(z?e.style.display=z:e.style.removeProperty("display")),nc(r,m),S&&nc(n,v),nc(o,y)},jv=function(e,t,r,n){var o=t.tag?t.tag:t.span?"span":"div",s=t.type||t.split||"chars,words,lines",a=~s.indexOf("chars"),u=sc(t),l=t.wordDelimiter||" ",c=function(C){return C===l||C===qv&&l===" "},d=l!==" "?"":u?"­ ":" ",p="</"+o+">",f=1,_=t.specialChars?typeof t.specialChars=="function"?t.specialChars:Xv:null,h,g,m,v,y,E,b,x,w=Nn.createElement("div"),S=e.parentNode;for(S.insertBefore(w,e),w.textContent=e.nodeValue,S.removeChild(e),e=w,h=ic(e),b=h.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(h=h.replace(Wv," ").replace(Hv,"")),b&&(h=h.split("<").join("{{LT}}")),y=h.length,g=(h.charAt(0)===" "?d:"")+r(),m=0;m<y;m++)if(E=h.charAt(m),_&&(x=_(h.substr(m),t.specialChars)))E=h.substr(m,x||1),g+=a&&E!==" "?n()+E+"</"+o+">":E,m+=x-1;else if(c(E)&&!c(h.charAt(m-1))&&m){for(g+=f?p:"",f=0;c(h.charAt(m+1));)g+=d,m++;m===y-1?g+=d:h.charAt(m+1)!==")"&&(g+=d+r(),f=1)}else E==="{"&&h.substr(m,6)==="{{LT}}"?(g+=a?n()+"{{LT}}</"+o+">":"{{LT}}",m+=5):E.charCodeAt(0)>=55296&&E.charCodeAt(0)<=56319||h.charCodeAt(m+1)>=65024&&h.charCodeAt(m+1)<=65039?(v=((h.substr(m,12).split(yp)||[])[1]||"").length||2,g+=a&&E!==" "?n()+h.substr(m,v)+"</"+o+">":h.substr(m,v),m+=v-1):g+=a&&E!==" "?n()+E+"</"+o+">":E;e.outerHTML=g+(f?p:""),b&&Tp(S,"{{LT}}","<")},Kv=function i(e,t,r,n){var o=Ta(e.childNodes),s=o.length,a=sc(t),u,l;if(e.nodeType!==3||s>1){for(t.absolute=!1,u=0;u<s;u++)l=o[u],l._next=l._isFirst=l._parent=l._wordEnd=null,(l.nodeType!==3||/\S+/.test(l.nodeValue))&&(a&&l.nodeType!==3&&Cp(l).display==="inline"&&(l.style.display="inline-block",l.style.position="relative"),l._isSplit=!0,i(l,t,r,n));t.absolute=a,e._isSplit=!0;return}jv(e,t,r,n)},Ut=function(){function i(t,r){bp||Sp(),this.elements=Ta(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},xp(this),Yv&&this.split(r)}var e=i.prototype;return e.split=function(r){this.isSplit&&this.revert(),this.vars=r=r||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var n=this.elements.length,o=r.tag?r.tag:r.span?"span":"div",s=Ep(r.wordsClass,o),a=Ep(r.charsClass,o),u,l,c;--n>-1;)c=this.elements[n],this._originals[n]={html:c.innerHTML,style:c.getAttribute("style")},u=c.clientHeight,l=c.clientWidth,Kv(c,r,s,a),$v(c,r,this.chars,this.words,this.lines,l,u);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){var r=this._originals;if(!r)throw"revert() call wasn't scoped properly.";return this.elements.forEach(function(n,o){n.innerHTML=r[o].html,n.setAttribute("style",r[o].style)}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},i.create=function(r,n){return new i(r,n)},i}();Ut.version="3.12.5";Ut.register=Sp;function Ap(i,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(i,r.key,r)}}function Zv(i,e,t){return e&&Ap(i.prototype,e),t&&Ap(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}var Fp="(prefers-reduced-motion: reduce)",zn=1,Qv=2,Wn=3,Yn=4,rs=5,Fa=6,Pa=7,Jv={CREATED:zn,MOUNTED:Qv,IDLE:Wn,MOVING:Yn,SCROLLING:rs,DRAGGING:Fa,DESTROYED:Pa};function Ur(i){i.length=0}function yi(i,e,t){return Array.prototype.slice.call(i,e,t)}function ge(i){return i.bind.apply(i,[null].concat(yi(arguments,1)))}var qp=setTimeout,fc=function(){};function Op(i){return requestAnimationFrame(i)}function Ia(i,e){return typeof e===i}function $o(i){return!vc(i)&&Ia("object",i)}var mc=Array.isArray,Yp=ge(Ia,"function"),mi=ge(Ia,"string"),is=ge(Ia,"undefined");function vc(i){return i===null}function Xp(i){try{return i instanceof(i.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function ns(i){return mc(i)?i:[i]}function jt(i,e){ns(i).forEach(e)}function Dc(i,e){return i.indexOf(e)>-1}function Oa(i,e){return i.push.apply(i,ns(e)),i}function qr(i,e,t){i&&jt(e,function(r){r&&i.classList[t?"add":"remove"](r)})}function br(i,e){qr(i,mi(e)?e.split(" "):e,!0)}function os(i,e){jt(e,i.appendChild.bind(i))}function yc(i,e){jt(i,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function jo(i,e){return Xp(i)&&(i.msMatchesSelector||i.matches).call(i,e)}function Up(i,e){var t=i?yi(i.children):[];return e?t.filter(function(r){return jo(r,e)}):t}function ss(i,e){return e?Up(i,e)[0]:i.firstElementChild}var Ko=Object.keys;function rn(i,e,t){return i&&(t?Ko(i).reverse():Ko(i)).forEach(function(r){r!=="__proto__"&&e(i[r],r)}),i}function Zo(i){return yi(arguments,1).forEach(function(e){rn(e,function(t,r){i[r]=e[r]})}),i}function gi(i){return yi(arguments,1).forEach(function(e){rn(e,function(t,r){mc(t)?i[r]=t.slice():$o(t)?i[r]=gi({},$o(i[r])?i[r]:{},t):i[r]=t})}),i}function Mp(i,e){jt(e||Ko(i),function(t){delete i[t]})}function xr(i,e){jt(i,function(t){jt(e,function(r){t&&t.removeAttribute(r)})})}function re(i,e,t){$o(e)?rn(e,function(r,n){re(i,n,r)}):jt(i,function(r){vc(t)||t===""?xr(r,e):r.setAttribute(e,String(t))})}function Vn(i,e,t){var r=document.createElement(i);return e&&(mi(e)?br(r,e):re(r,e)),t&&os(t,r),r}function ar(i,e,t){if(is(t))return getComputedStyle(i)[e];vc(t)||(i.style[e]=""+t)}function Qo(i,e){ar(i,"display",e)}function Gp(i){i.setActive&&i.setActive()||i.focus({preventScroll:!0})}function ur(i,e){return i.getAttribute(e)}function kp(i,e){return i&&i.classList.contains(e)}function Gt(i){return i.getBoundingClientRect()}function nn(i){jt(i,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function $p(i){return ss(new DOMParser().parseFromString(i,"text/html").body)}function Wr(i,e){i.preventDefault(),e&&(i.stopPropagation(),i.stopImmediatePropagation())}function jp(i,e){return i&&i.querySelector(e)}function Ec(i,e){return e?yi(i.querySelectorAll(e)):[]}function Yr(i,e){qr(i,e,!1)}function dc(i){return i.timeStamp}function tn(i){return mi(i)?i:i?i+"px":""}var as="splide",wc="data-"+as;function Uo(i,e){if(!i)throw new Error("["+as+"] "+(e||""))}var vi=Math.min,La=Math.max,Ra=Math.floor,Jo=Math.ceil,Ft=Math.abs;function Kp(i,e,t){return Ft(i-e)<t}function Ma(i,e,t,r){var n=vi(e,t),o=La(e,t);return r?n<i&&i<o:n<=i&&i<=o}function In(i,e,t){var r=vi(e,t),n=La(e,t);return vi(La(r,i),n)}function hc(i){return+(i>0)-+(i<0)}function pc(i,e){return jt(e,function(t){i=i.replace("%s",""+t)}),i}function bc(i){return i<10?"0"+i:""+i}var Pp={};function eD(i){return""+i+bc(Pp[i]=(Pp[i]||0)+1)}function Zp(){var i=[];function e(s,a,u,l){n(s,a,function(c,d,p){var f="addEventListener"in c,_=f?c.removeEventListener.bind(c,d,u,l):c.removeListener.bind(c,u);f?c.addEventListener(d,u,l):c.addListener(u),i.push([c,d,p,u,_])})}function t(s,a,u){n(s,a,function(l,c,d){i=i.filter(function(p){return p[0]===l&&p[1]===c&&p[2]===d&&(!u||p[3]===u)?(p[4](),!1):!0})})}function r(s,a,u){var l,c=!0;return typeof CustomEvent=="function"?l=new CustomEvent(a,{bubbles:c,detail:u}):(l=document.createEvent("CustomEvent"),l.initCustomEvent(a,c,!1,u)),s.dispatchEvent(l),l}function n(s,a,u){jt(s,function(l){l&&jt(a,function(c){c.split(" ").forEach(function(d){var p=d.split(".");u(l,p[0],p[1])})})})}function o(){i.forEach(function(s){s[4]()}),Ur(i)}return{bind:e,unbind:t,dispatch:r,destroy:o}}var sn="mounted",Lp="ready",Di="move",us="moved",Qp="click",tD="active",rD="inactive",iD="visible",nD="hidden",Ye="refresh",Ot="updated",es="resize",xc="resized",oD="drag",sD="dragging",aD="dragged",Sc="scroll",Xn="scrolled",uD="overflow",Jp="destroy",lD="arrows:mounted",cD="arrows:updated",fD="pagination:mounted",dD="pagination:updated",e_="navigation:mounted",t_="autoplay:play",hD="autoplay:playing",r_="autoplay:pause",i_="lazyload:loaded",n_="sk",o_="sh",Na="ei";function Se(i){var e=i?i.event.bus:document.createDocumentFragment(),t=Zp();function r(o,s){t.bind(e,ns(o).join(" "),function(a){s.apply(s,mc(a.detail)?a.detail:[])})}function n(o){t.dispatch(e,o,yi(arguments,1))}return i&&i.event.on(Jp,t.destroy),Zo(t,{bus:e,on:r,off:ge(t.unbind,e),emit:n})}function Ba(i,e,t,r){var n=Date.now,o,s=0,a,u=!0,l=0;function c(){if(!u){if(s=i?vi((n()-o)/i,1):1,t&&t(s),s>=1&&(e(),o=n(),r&&++l>=r))return p();a=Op(c)}}function d(m){m||_(),o=n()-(m?s*i:0),u=!1,a=Op(c)}function p(){u=!0}function f(){o=n(),s=0,t&&t(s)}function _(){a&&cancelAnimationFrame(a),s=0,a=0,u=!0}function h(m){i=m}function g(){return u}return{start:d,rewind:f,pause:p,cancel:_,set:h,isPaused:g}}function pD(i){var e=i;function t(n){e=n}function r(n){return Dc(ns(n),e)}return{set:t,is:r}}function _D(i,e){var t=Ba(e||0,i,null,1);return function(){t.isPaused()&&t.start()}}function gD(i,e,t){var r=i.state,n=t.breakpoints||{},o=t.reducedMotion||{},s=Zp(),a=[];function u(){var _=t.mediaQuery==="min";Ko(n).sort(function(h,g){return _?+h-+g:+g-+h}).forEach(function(h){c(n[h],"("+(_?"min":"max")+"-width:"+h+"px)")}),c(o,Fp),d()}function l(_){_&&s.destroy()}function c(_,h){var g=matchMedia(h);s.bind(g,"change",d),a.push([_,g])}function d(){var _=r.is(Pa),h=t.direction,g=a.reduce(function(m,v){return gi(m,v[1].matches?v[0]:{})},{});Mp(t),f(g),t.destroy?i.destroy(t.destroy==="completely"):_?(l(!0),i.mount()):h!==t.direction&&i.refresh()}function p(_){matchMedia(Fp).matches&&(_?gi(t,o):Mp(t,Ko(o)))}function f(_,h,g){gi(t,_),h&&gi(Object.getPrototypeOf(t),_),(g||!r.is(zn))&&i.emit(Ot,t)}return{setup:u,destroy:l,reduce:p,set:f}}var za="Arrow",Va=za+"Left",Ha=za+"Right",s_=za+"Up",a_=za+"Down";var Rp="rtl",Wa="ttb",ac={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[s_,Ha],ArrowRight:[a_,Va]};function mD(i,e,t){function r(o,s,a){a=a||t.direction;var u=a===Rp&&!s?1:a===Wa?0:-1;return ac[o]&&ac[o][u]||o.replace(/width|left|right/i,function(l,c){var d=ac[l.toLowerCase()][u]||l;return c>0?d.charAt(0).toUpperCase()+d.slice(1):d})}function n(o){return o*(t.direction===Rp?1:-1)}return{resolve:r,orient:n}}var Xr="role",Hn="tabindex",vD="disabled",lr="aria-",ls=lr+"controls",u_=lr+"current",Np=lr+"selected",$t=lr+"label",Cc=lr+"labelledby",l_=lr+"hidden",Tc=lr+"orientation",ts=lr+"roledescription",Ip=lr+"live",Bp=lr+"busy",zp=lr+"atomic",Ac=[Xr,Hn,vD,ls,u_,$t,Cc,l_,Tc,ts],Sr=as+"__",Ei="is-",uc=as,Vp=Sr+"track",DD=Sr+"list",qa=Sr+"slide",c_=qa+"--clone",yD=qa+"__container",Fc=Sr+"arrows",Ya=Sr+"arrow",f_=Ya+"--prev",d_=Ya+"--next",Xa=Sr+"pagination",h_=Xa+"__page",ED=Sr+"progress",wD=ED+"__bar",Oc=Sr+"toggle",Jy=Oc+"__play",e1=Oc+"__pause",bD=Sr+"spinner",xD=Sr+"sr",SD=Ei+"initialized",on=Ei+"active",p_=Ei+"prev",__=Ei+"next",_c=Ei+"visible",gc=Ei+"loading",g_=Ei+"focus-in",m_=Ei+"overflow",CD=[on,_c,p_,__,gc,g_,m_],TD={slide:qa,clone:c_,arrows:Fc,arrow:Ya,prev:f_,next:d_,pagination:Xa,page:h_,spinner:bD};function AD(i,e){if(Yp(i.closest))return i.closest(e);for(var t=i;t&&t.nodeType===1&&!jo(t,e);)t=t.parentElement;return t}var FD=5,Hp=200,v_="touchstart mousedown",lc="touchmove mousemove",cc="touchend touchcancel mouseup click";function OD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=i.root,a=t.i18n,u={},l=[],c=[],d=[],p,f,_;function h(){y(),E(),v()}function g(){n(Ye,m),n(Ye,h),n(Ot,v),o(document,v_+" keydown",function(w){_=w.type==="keydown"},{capture:!0}),o(s,"focusin",function(){qr(s,g_,!!_)})}function m(w){var S=Ac.concat("style");Ur(l),Yr(s,c),Yr(p,d),xr([p,f],S),xr(s,w?S:["style",ts])}function v(){Yr(s,c),Yr(p,d),c=x(uc),d=x(Vp),br(s,c),br(p,d),re(s,$t,t.label),re(s,Cc,t.labelledby)}function y(){p=b("."+Vp),f=ss(p,"."+DD),Uo(p&&f,"A track/list element is missing."),Oa(l,Up(f,"."+qa+":not(."+c_+")")),rn({arrows:Fc,pagination:Xa,prev:f_,next:d_,bar:wD,toggle:Oc},function(w,S){u[S]=b("."+w)}),Zo(u,{root:s,track:p,list:f,slides:l})}function E(){var w=s.id||eD(as),S=t.role;s.id=w,p.id=p.id||w+"-track",f.id=f.id||w+"-list",!ur(s,Xr)&&s.tagName!=="SECTION"&&S&&re(s,Xr,S),re(s,ts,a.carousel),re(f,Xr,"presentation")}function b(w){var S=jp(s,w);return S&&AD(S,"."+uc)===s?S:void 0}function x(w){return[w+"--"+t.type,w+"--"+t.direction,t.drag&&w+"--draggable",t.isNavigation&&w+"--nav",w===uc&&on]}return Zo(u,{setup:h,mount:g,destroy:m})}var qn="slide",Un="loop",cs="fade";function MD(i,e,t,r){var n=Se(i),o=n.on,s=n.emit,a=n.bind,u=i.Components,l=i.root,c=i.options,d=c.isNavigation,p=c.updateOnMove,f=c.i18n,_=c.pagination,h=c.slideFocus,g=u.Direction.resolve,m=ur(r,"style"),v=ur(r,$t),y=t>-1,E=ss(r,"."+yD),b;function x(){y||(r.id=l.id+"-slide"+bc(e+1),re(r,Xr,_?"tabpanel":"group"),re(r,ts,f.slide),re(r,$t,v||pc(f.slideLabel,[e+1,i.length]))),w()}function w(){a(r,"click",ge(s,Qp,N)),a(r,"keydown",ge(s,n_,N)),o([us,o_,Xn],O),o(e_,A),p&&o(Di,C)}function S(){b=!0,n.destroy(),Yr(r,CD),xr(r,Ac),re(r,"style",m),re(r,$t,v||"")}function A(){var T=i.splides.map(function(D){var L=D.splide.Components.Slides.getAt(e);return L?L.slide.id:""}).join(" ");re(r,$t,pc(f.slideX,(y?t:e)+1)),re(r,ls,T),re(r,Xr,h?"button":""),h&&xr(r,ts)}function C(){b||O()}function O(){if(!b){var T=i.index;F(),k(),qr(r,p_,e===T-1),qr(r,__,e===T+1)}}function F(){var T=z();T!==kp(r,on)&&(qr(r,on,T),re(r,u_,d&&T||""),s(T?tD:rD,N))}function k(){var T=P(),D=!T&&(!z()||y);if(i.state.is([Yn,rs])||re(r,l_,D||""),re(Ec(r,c.focusableNodes||""),Hn,D?-1:""),h&&re(r,Hn,D?-1:0),T!==kp(r,_c)&&(qr(r,_c,T),s(T?iD:nD,N)),!T&&document.activeElement===r){var L=u.Slides.getAt(i.index);L&&Gp(L.slide)}}function H(T,D,L){ar(L&&E||r,T,D)}function z(){var T=i.index;return T===e||c.cloneStatus&&T===t}function P(){if(i.is(cs))return z();var T=Gt(u.Elements.track),D=Gt(r),L=g("left",!0),X=g("right",!0);return Ra(T[L])<=Jo(D[L])&&Ra(D[X])<=Jo(T[X])}function R(T,D){var L=Ft(T-e);return!y&&(c.rewind||i.is(Un))&&(L=vi(L,i.length-L)),L<=D}var N={index:e,slideIndex:t,slide:r,container:E,isClone:y,mount:x,destroy:S,update:O,style:H,isWithin:R};return N}function kD(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=r.bind,a=e.Elements,u=a.slides,l=a.list,c=[];function d(){p(),n(Ye,f),n(Ye,p)}function p(){u.forEach(function(O,F){h(O,F,-1)})}function f(){b(function(O){O.destroy()}),Ur(c)}function _(){b(function(O){O.update()})}function h(O,F,k){var H=MD(i,F,k,O);H.mount(),c.push(H),c.sort(function(z,P){return z.index-P.index})}function g(O){return O?x(function(F){return!F.isClone}):c}function m(O){var F=e.Controller,k=F.toIndex(O),H=F.hasFocus()?1:t.perPage;return x(function(z){return Ma(z.index,k,k+H-1)})}function v(O){return x(O)[0]}function y(O,F){jt(O,function(k){if(mi(k)&&(k=$p(k)),Xp(k)){var H=u[F];H?yc(k,H):os(l,k),br(k,t.classes.slide),S(k,ge(o,es))}}),o(Ye)}function E(O){nn(x(O).map(function(F){return F.slide})),o(Ye)}function b(O,F){g(F).forEach(O)}function x(O){return c.filter(Yp(O)?O:function(F){return mi(O)?jo(F.slide,O):Dc(ns(O),F.index)})}function w(O,F,k){b(function(H){H.style(O,F,k)})}function S(O,F){var k=Ec(O,"img"),H=k.length;H?k.forEach(function(z){s(z,"load error",function(){--H||F()})}):F()}function A(O){return O?u.length:c.length}function C(){return c.length>t.perPage}return{mount:d,destroy:f,update:_,register:h,get:g,getIn:m,getAt:v,add:y,remove:E,forEach:b,filter:x,style:w,getLength:A,isEnough:C}}function PD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=r.emit,a=e.Slides,u=e.Direction.resolve,l=e.Elements,c=l.root,d=l.track,p=l.list,f=a.getAt,_=a.style,h,g,m;function v(){y(),o(window,"resize load",_D(ge(s,es))),n([Ot,Ye],y),n(es,E)}function y(){h=t.direction===Wa,ar(c,"maxWidth",tn(t.width)),ar(d,u("paddingLeft"),b(!1)),ar(d,u("paddingRight"),b(!0)),E(!0)}function E(N){var T=Gt(c);(N||g.width!==T.width||g.height!==T.height)&&(ar(d,"height",x()),_(u("marginRight"),tn(t.gap)),_("width",S()),_("height",A(),!0),g=T,s(xc),m!==(m=R())&&(qr(c,m_,m),s(uD,m)))}function b(N){var T=t.padding,D=u(N?"right":"left");return T&&tn(T[D]||($o(T)?0:T))||"0px"}function x(){var N="";return h&&(N=w(),Uo(N,"height or heightRatio is missing."),N="calc("+N+" - "+b(!1)+" - "+b(!0)+")"),N}function w(){return tn(t.height||Gt(p).width*t.heightRatio)}function S(){return t.autoWidth?null:tn(t.fixedWidth)||(h?"":C())}function A(){return tn(t.fixedHeight)||(h?t.autoHeight?null:C():w())}function C(){var N=tn(t.gap);return"calc((100%"+(N&&" + "+N)+")/"+(t.perPage||1)+(N&&" - "+N)+")"}function O(){return Gt(p)[u("width")]}function F(N,T){var D=f(N||0);return D?Gt(D.slide)[u("width")]+(T?0:z()):0}function k(N,T){var D=f(N);if(D){var L=Gt(D.slide)[u("right")],X=Gt(p)[u("left")];return Ft(L-X)+(T?0:z())}return 0}function H(N){return k(i.length-1)-k(0)+F(0,N)}function z(){var N=f(0);return N&&parseFloat(ar(N.slide,u("marginRight")))||0}function P(N){return parseFloat(ar(d,u("padding"+(N?"Right":"Left"))))||0}function R(){return i.is(cs)||H(!0)>O()}return{mount:v,resize:E,listSize:O,slideSize:F,sliderSize:H,totalSize:k,getPadding:P,isOverflow:R}}var LD=2;function RD(i,e,t){var r=Se(i),n=r.on,o=e.Elements,s=e.Slides,a=e.Direction.resolve,u=[],l;function c(){n(Ye,d),n([Ot,es],f),(l=g())&&(_(l),e.Layout.resize(!0))}function d(){p(),c()}function p(){nn(u),Ur(u),r.destroy()}function f(){var m=g();l!==m&&(l<m||!m)&&r.emit(Ye)}function _(m){var v=s.get().slice(),y=v.length;if(y){for(;v.length<m;)Oa(v,v);Oa(v.slice(-m),v.slice(0,m)).forEach(function(E,b){var x=b<m,w=h(E.slide,b);x?yc(w,v[0].slide):os(o.list,w),Oa(u,w),s.register(w,b-m+(x?0:y),E.index)})}}function h(m,v){var y=m.cloneNode(!0);return br(y,t.classes.clone),y.id=i.root.id+"-clone"+bc(v+1),y}function g(){var m=t.clones;if(!i.is(Un))m=0;else if(is(m)){var v=t[a("fixedWidth")]&&e.Layout.slideSize(0),y=v&&Jo(Gt(o.track)[a("width")]/v);m=y||t[a("autoWidth")]&&i.length||t.perPage*LD}return m}return{mount:c,destroy:p}}function ND(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=i.state.set,a=e.Layout,u=a.slideSize,l=a.getPadding,c=a.totalSize,d=a.listSize,p=a.sliderSize,f=e.Direction,_=f.resolve,h=f.orient,g=e.Elements,m=g.list,v=g.track,y;function E(){y=e.Transition,n([sn,xc,Ot,Ye],b)}function b(){e.Controller.isBusy()||(e.Scroll.cancel(),w(i.index),e.Slides.update())}function x(D,L,X,te){D!==L&&N(D>X)&&(O(),S(C(H(),D>X),!0)),s(Yn),o(Di,L,X,D),y.start(L,function(){s(Wn),o(us,L,X,D),te&&te()})}function w(D){S(k(D,!0))}function S(D,L){if(!i.is(cs)){var X=L?D:A(D);ar(m,"transform","translate"+_("X")+"("+X+"px)"),D!==X&&o(o_)}}function A(D){if(i.is(Un)){var L=F(D),X=L>e.Controller.getEnd(),te=L<0;(te||X)&&(D=C(D,X))}return D}function C(D,L){var X=D-R(L),te=p();return D-=h(te*(Jo(Ft(X)/te)||1))*(L?1:-1),D}function O(){S(H(),!0),y.cancel()}function F(D){for(var L=e.Slides.get(),X=0,te=1/0,U=0;U<L.length;U++){var G=L[U].index,I=Ft(k(G,!0)-D);if(I<=te)te=I,X=G;else break}return X}function k(D,L){var X=h(c(D-1)-P(D));return L?z(X):X}function H(){var D=_("left");return Gt(m)[D]-Gt(v)[D]+h(l(!1))}function z(D){return t.trimSpace&&i.is(qn)&&(D=In(D,0,h(p(!0)-d()))),D}function P(D){var L=t.focus;return L==="center"?(d()-u(D,!0))/2:+L*u(D)||0}function R(D){return k(D?e.Controller.getEnd():0,!!t.trimSpace)}function N(D){var L=h(C(H(),D));return D?L>=0:L<=m[_("scrollWidth")]-Gt(v)[_("width")]}function T(D,L){L=is(L)?H():L;var X=D!==!0&&h(L)<h(R(!1)),te=D!==!1&&h(L)>h(R(!0));return X||te}return{mount:E,move:x,jump:w,translate:S,shift:C,cancel:O,toIndex:F,toPosition:k,getPosition:H,getLimit:R,exceededLimit:T,reposition:b}}function ID(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=e.Move,a=s.getPosition,u=s.getLimit,l=s.toPosition,c=e.Slides,d=c.isEnough,p=c.getLength,f=t.omitEnd,_=i.is(Un),h=i.is(qn),g=ge(H,!1),m=ge(H,!0),v=t.start||0,y,E=v,b,x,w;function S(){A(),n([Ot,Ye,Na],A),n(xc,C)}function A(){b=p(!0),x=t.perMove,w=t.perPage,y=N();var I=In(v,0,f?y:b-1);I!==v&&(v=I,s.reposition())}function C(){y!==N()&&o(Na)}function O(I,Y,fe){if(!G()){var ie=k(I),ne=R(ie);ne>-1&&(Y||ne!==v)&&(X(ne),s.move(ie,ne,E,fe))}}function F(I,Y,fe,ie){e.Scroll.scroll(I,Y,fe,function(){var ne=R(s.toIndex(a()));X(f?vi(ne,y):ne),ie&&ie()})}function k(I){var Y=v;if(mi(I)){var fe=I.match(/([+\-<>])(\d+)?/)||[],ie=fe[1],ne=fe[2];ie==="+"||ie==="-"?Y=z(v+ +(""+ie+(+ne||1)),v):ie===">"?Y=ne?T(+ne):g(!0):ie==="<"&&(Y=m(!0))}else Y=_?I:In(I,0,y);return Y}function H(I,Y){var fe=x||(U()?1:w),ie=z(v+fe*(I?-1:1),v,!(x||U()));return ie===-1&&h&&!Kp(a(),u(!I),1)?I?0:y:Y?ie:R(ie)}function z(I,Y,fe){if(d()||U()){var ie=P(I);ie!==I&&(Y=I,I=ie,fe=!1),I<0||I>y?!x&&(Ma(0,I,Y,!0)||Ma(y,Y,I,!0))?I=T(D(I)):_?I=fe?I<0?-(b%w||w):b:I:t.rewind?I=I<0?y:0:I=-1:fe&&I!==Y&&(I=T(D(Y)+(I<Y?-1:1)))}else I=-1;return I}function P(I){if(h&&t.trimSpace==="move"&&I!==v)for(var Y=a();Y===l(I,!0)&&Ma(I,0,i.length-1,!t.rewind);)I<v?--I:++I;return I}function R(I){return _?(I+b)%b||0:I}function N(){for(var I=b-(U()||_&&x?1:w);f&&I-- >0;)if(l(b-1,!0)!==l(I,!0)){I++;break}return In(I,0,b-1)}function T(I){return In(U()?I:w*I,0,y)}function D(I){return U()?vi(I,y):Ra((I>=y?b-1:I)/w)}function L(I){var Y=s.toIndex(I);return h?In(Y,0,y):Y}function X(I){I!==v&&(E=v,v=I)}function te(I){return I?E:v}function U(){return!is(t.focus)||t.isNavigation}function G(){return i.state.is([Yn,rs])&&!!t.waitForTransition}return{mount:S,go:O,scroll:F,getNext:g,getPrev:m,getAdjacent:H,getEnd:N,setIndex:X,getIndex:te,toIndex:T,toPage:D,toDest:L,hasFocus:U,isBusy:G}}var BD="http://www.w3.org/2000/svg",zD="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",Aa=40;function VD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=r.emit,a=t.classes,u=t.i18n,l=e.Elements,c=e.Controller,d=l.arrows,p=l.track,f=d,_=l.prev,h=l.next,g,m,v={};function y(){b(),n(Ot,E)}function E(){x(),y()}function b(){var F=t.arrows;F&&!(_&&h)&&A(),_&&h&&(Zo(v,{prev:_,next:h}),Qo(f,F?"":"none"),br(f,m=Fc+"--"+t.direction),F&&(w(),O(),re([_,h],ls,p.id),s(lD,_,h)))}function x(){r.destroy(),Yr(f,m),g?(nn(d?[_,h]:f),_=h=null):xr([_,h],Ac)}function w(){n([sn,us,Ye,Xn,Na],O),o(h,"click",ge(S,">")),o(_,"click",ge(S,"<"))}function S(F){c.go(F,!0)}function A(){f=d||Vn("div",a.arrows),_=C(!0),h=C(!1),g=!0,os(f,[_,h]),!d&&yc(f,p)}function C(F){var k='<button class="'+a.arrow+" "+(F?a.prev:a.next)+'" type="button"><svg xmlns="'+BD+'" viewBox="0 0 '+Aa+" "+Aa+'" width="'+Aa+'" height="'+Aa+'" focusable="false"><path d="'+(t.arrowPath||zD)+'" />';return $p(k)}function O(){if(_&&h){var F=i.index,k=c.getPrev(),H=c.getNext(),z=k>-1&&F<k?u.last:u.prev,P=H>-1&&F>H?u.first:u.next;_.disabled=k<0,h.disabled=H<0,re(_,$t,z),re(h,$t,P),s(cD,_,h,k,H)}}return{arrows:v,mount:y,destroy:x,update:O}}var HD=wc+"-interval";function WD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=r.emit,a=Ba(t.interval,i.go.bind(i,">"),w),u=a.isPaused,l=e.Elements,c=e.Elements,d=c.root,p=c.toggle,f=t.autoplay,_,h,g=f==="pause";function m(){f&&(v(),p&&re(p,ls,l.track.id),g||y(),x())}function v(){t.pauseOnHover&&o(d,"mouseenter mouseleave",function(A){_=A.type==="mouseenter",b()}),t.pauseOnFocus&&o(d,"focusin focusout",function(A){h=A.type==="focusin",b()}),p&&o(p,"click",function(){g?y():E(!0)}),n([Di,Sc,Ye],a.rewind),n(Di,S)}function y(){u()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),h=_=g=!1,x(),s(t_))}function E(A){A===void 0&&(A=!0),g=!!A,x(),u()||(a.pause(),s(r_))}function b(){g||(_||h?E(!1):y())}function x(){p&&(qr(p,on,!g),re(p,$t,t.i18n[g?"play":"pause"]))}function w(A){var C=l.bar;C&&ar(C,"width",A*100+"%"),s(hD,A)}function S(A){var C=e.Slides.getAt(A);a.set(C&&+ur(C.slide,HD)||t.interval)}return{mount:m,destroy:a.cancel,play:y,pause:E,isPaused:u}}function qD(i,e,t){var r=Se(i),n=r.on;function o(){t.cover&&(n(i_,ge(a,!0)),n([sn,Ot,Ye],ge(s,!0)))}function s(u){e.Slides.forEach(function(l){var c=ss(l.container||l.slide,"img");c&&c.src&&a(u,c,l)})}function a(u,l,c){c.style("background",u?'center/cover no-repeat url("'+l.src+'")':"",!0),Qo(l,u?"none":"")}return{mount:o,destroy:ge(s,!1)}}var YD=10,XD=600,UD=.6,GD=1.5,$D=800;function jD(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=i.state.set,a=e.Move,u=a.getPosition,l=a.getLimit,c=a.exceededLimit,d=a.translate,p=i.is(qn),f,_,h=1;function g(){n(Di,E),n([Ot,Ye],b)}function m(w,S,A,C,O){var F=u();if(E(),A&&(!p||!c())){var k=e.Layout.sliderSize(),H=hc(w)*k*Ra(Ft(w)/k)||0;w=a.toPosition(e.Controller.toDest(w%k))+H}var z=Kp(F,w,1);h=1,S=z?0:S||La(Ft(w-F)/GD,$D),_=C,f=Ba(S,v,ge(y,F,w,O),1),s(rs),o(Sc),f.start()}function v(){s(Wn),_&&_(),o(Xn)}function y(w,S,A,C){var O=u(),F=w+(S-w)*x(C),k=(F-O)*h;d(O+k),p&&!A&&c()&&(h*=UD,Ft(k)<YD&&m(l(c(!0)),XD,!1,_,!0))}function E(){f&&f.cancel()}function b(){f&&!f.isPaused()&&(E(),v())}function x(w){var S=t.easingFunc;return S?S(w):1-Math.pow(1-w,4)}return{mount:g,destroy:E,scroll:m,cancel:b}}var Bn={passive:!1,capture:!0};function KD(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=r.bind,a=r.unbind,u=i.state,l=e.Move,c=e.Scroll,d=e.Controller,p=e.Elements.track,f=e.Media.reduce,_=e.Direction,h=_.resolve,g=_.orient,m=l.getPosition,v=l.exceededLimit,y,E,b,x,w,S=!1,A,C,O;function F(){s(p,lc,fc,Bn),s(p,cc,fc,Bn),s(p,v_,H,Bn),s(p,"click",R,{capture:!0}),s(p,"dragstart",Wr),n([sn,Ot],k)}function k(){var B=t.drag;wt(!B),x=B==="free"}function H(B){if(A=!1,!C){var Z=ne(B);ie(B.target)&&(Z||!B.button)&&(d.isBusy()?Wr(B,!0):(O=Z?p:window,w=u.is([Yn,rs]),b=null,s(O,lc,z,Bn),s(O,cc,P,Bn),l.cancel(),c.cancel(),N(B)))}}function z(B){if(u.is(Fa)||(u.set(Fa),o(oD)),B.cancelable)if(w){l.translate(y+fe(U(B)));var Z=G(B)>Hp,Ce=S!==(S=v());(Z||Ce)&&N(B),A=!0,o(sD),Wr(B)}else L(B)&&(w=D(B),Wr(B))}function P(B){u.is(Fa)&&(u.set(Wn),o(aD)),w&&(T(B),Wr(B)),a(O,lc,z),a(O,cc,P),w=!1}function R(B){!C&&A&&Wr(B,!0)}function N(B){b=E,E=B,y=m()}function T(B){var Z=X(B),Ce=te(Z),ze=t.rewind&&t.rewindByDrag;f(!1),x?d.scroll(Ce,0,t.snap):i.is(cs)?d.go(g(hc(Z))<0?ze?"<":"-":ze?">":"+"):i.is(qn)&&S&&ze?d.go(v(!0)?">":"<"):d.go(d.toDest(Ce),!0),f(!0)}function D(B){var Z=t.dragMinThreshold,Ce=$o(Z),ze=Ce&&Z.mouse||0,M=(Ce?Z.touch:+Z)||10;return Ft(U(B))>(ne(B)?M:ze)}function L(B){return Ft(U(B))>Ft(U(B,!0))}function X(B){if(i.is(Un)||!S){var Z=G(B);if(Z&&Z<Hp)return U(B)/Z}return 0}function te(B){return m()+hc(B)*vi(Ft(B)*(t.flickPower||600),x?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function U(B,Z){return Y(B,Z)-Y(I(B),Z)}function G(B){return dc(B)-dc(I(B))}function I(B){return E===B&&b||E}function Y(B,Z){return(ne(B)?B.changedTouches[0]:B)["page"+h(Z?"Y":"X")]}function fe(B){return B/(S&&i.is(qn)?FD:1)}function ie(B){var Z=t.noDrag;return!jo(B,"."+h_+", ."+Ya)&&(!Z||!jo(B,Z))}function ne(B){return typeof TouchEvent<"u"&&B instanceof TouchEvent}function Ke(){return w}function wt(B){C=B}return{mount:F,disable:wt,isDragging:Ke}}var ZD={Spacebar:" ",Right:Ha,Left:Va,Up:s_,Down:a_};function Mc(i){return i=mi(i)?i:i.key,ZD[i]||i}var Wp="keydown";function QD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=r.unbind,a=i.root,u=e.Direction.resolve,l,c;function d(){p(),n(Ot,f),n(Ot,p),n(Di,h)}function p(){var m=t.keyboard;m&&(l=m==="global"?window:a,o(l,Wp,g))}function f(){s(l,Wp)}function _(m){c=m}function h(){var m=c;c=!0,qp(function(){c=m})}function g(m){if(!c){var v=Mc(m);v===u(Va)?i.go("<"):v===u(Ha)&&i.go(">")}}return{mount:d,destroy:f,disable:_}}var Go=wc+"-lazy",ka=Go+"-srcset",JD="["+Go+"], ["+ka+"]";function ey(i,e,t){var r=Se(i),n=r.on,o=r.off,s=r.bind,a=r.emit,u=t.lazyLoad==="sequential",l=[us,Xn],c=[];function d(){t.lazyLoad&&(p(),n(Ye,p))}function p(){Ur(c),f(),u?m():(o(l),n(l,_),_())}function f(){e.Slides.forEach(function(v){Ec(v.slide,JD).forEach(function(y){var E=ur(y,Go),b=ur(y,ka);if(E!==y.src||b!==y.srcset){var x=t.classes.spinner,w=y.parentElement,S=ss(w,"."+x)||Vn("span",x,w);c.push([y,v,S]),y.src||Qo(y,"none")}})})}function _(){c=c.filter(function(v){var y=t.perPage*((t.preloadPages||1)+1)-1;return v[1].isWithin(i.index,y)?h(v):!0}),c.length||o(l)}function h(v){var y=v[0];br(v[1].slide,gc),s(y,"load error",ge(g,v)),re(y,"src",ur(y,Go)),re(y,"srcset",ur(y,ka)),xr(y,Go),xr(y,ka)}function g(v,y){var E=v[0],b=v[1];Yr(b.slide,gc),y.type!=="error"&&(nn(v[2]),Qo(E,""),a(i_,E,b),a(es)),u&&m()}function m(){c.length&&h(c.shift())}return{mount:d,destroy:ge(Ur,c),check:_}}function ty(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=r.bind,a=e.Slides,u=e.Elements,l=e.Controller,c=l.hasFocus,d=l.getIndex,p=l.go,f=e.Direction.resolve,_=u.pagination,h=[],g,m;function v(){y(),n([Ot,Ye,Na],v);var C=t.pagination;_&&Qo(_,C?"":"none"),C&&(n([Di,Sc,Xn],A),E(),A(),o(fD,{list:g,items:h},S(i.index)))}function y(){g&&(nn(_?yi(g.children):g),Yr(g,m),Ur(h),g=null),r.destroy()}function E(){var C=i.length,O=t.classes,F=t.i18n,k=t.perPage,H=c()?l.getEnd()+1:Jo(C/k);g=_||Vn("ul",O.pagination,u.track.parentElement),br(g,m=Xa+"--"+w()),re(g,Xr,"tablist"),re(g,$t,F.select),re(g,Tc,w()===Wa?"vertical":"");for(var z=0;z<H;z++){var P=Vn("li",null,g),R=Vn("button",{class:O.page,type:"button"},P),N=a.getIn(z).map(function(D){return D.slide.id}),T=!c()&&k>1?F.pageX:F.slideX;s(R,"click",ge(b,z)),t.paginationKeyboard&&s(R,"keydown",ge(x,z)),re(P,Xr,"presentation"),re(R,Xr,"tab"),re(R,ls,N.join(" ")),re(R,$t,pc(T,z+1)),re(R,Hn,-1),h.push({li:P,button:R,page:z})}}function b(C){p(">"+C,!0)}function x(C,O){var F=h.length,k=Mc(O),H=w(),z=-1;k===f(Ha,!1,H)?z=++C%F:k===f(Va,!1,H)?z=(--C+F)%F:k==="Home"?z=0:k==="End"&&(z=F-1);var P=h[z];P&&(Gp(P.button),p(">"+z),Wr(O,!0))}function w(){return t.paginationDirection||t.direction}function S(C){return h[l.toPage(C)]}function A(){var C=S(d(!0)),O=S(d());if(C){var F=C.button;Yr(F,on),xr(F,Np),re(F,Hn,-1)}if(O){var k=O.button;br(k,on),re(k,Np,!0),re(k,Hn,"")}o(dD,{list:g,items:h},C,O)}return{items:h,mount:v,destroy:y,getAt:S,update:A}}var ry=[" ","Enter"];function iy(i,e,t){var r=t.isNavigation,n=t.slideFocus,o=[];function s(){i.splides.forEach(function(_){_.isParent||(l(i,_.splide),l(_.splide,i))}),r&&c()}function a(){o.forEach(function(_){_.destroy()}),Ur(o)}function u(){a(),s()}function l(_,h){var g=Se(_);g.on(Di,function(m,v,y){h.go(h.is(Un)?y:m)}),o.push(g)}function c(){var _=Se(i),h=_.on;h(Qp,p),h(n_,f),h([sn,Ot],d),o.push(_),_.emit(e_,i.splides)}function d(){re(e.Elements.list,Tc,t.direction===Wa?"vertical":"")}function p(_){i.go(_.index)}function f(_,h){Dc(ry,Mc(h))&&(p(_),Wr(h))}return{setup:ge(e.Media.set,{slideFocus:is(n)?r:n},!0),mount:s,destroy:a,remount:u}}function ny(i,e,t){var r=Se(i),n=r.bind,o=0;function s(){t.wheel&&n(e.Elements.track,"wheel",a,Bn)}function a(l){if(l.cancelable){var c=l.deltaY,d=c<0,p=dc(l),f=t.wheelMinThreshold||0,_=t.wheelSleep||0;Ft(c)>f&&p-o>_&&(i.go(d?"<":">"),o=p),u(d)&&Wr(l)}}function u(l){return!t.releaseWheel||i.state.is(Yn)||e.Controller.getAdjacent(l)!==-1}return{mount:s}}var oy=90;function sy(i,e,t){var r=Se(i),n=r.on,o=e.Elements.track,s=t.live&&!t.isNavigation,a=Vn("span",xD),u=Ba(oy,ge(c,!1));function l(){s&&(p(!e.Autoplay.isPaused()),re(o,zp,!0),a.textContent="\u2026",n(t_,ge(p,!0)),n(r_,ge(p,!1)),n([us,Xn],ge(c,!0)))}function c(f){re(o,Bp,f),f?(os(o,a),u.start()):(nn(a),u.cancel())}function d(){xr(o,[Ip,zp,Bp]),nn(a)}function p(f){s&&re(o,Ip,f?"off":"polite")}return{mount:l,disable:p,destroy:d}}var ay=Object.freeze({__proto__:null,Media:gD,Direction:mD,Elements:OD,Slides:kD,Layout:PD,Clones:RD,Move:ND,Controller:ID,Arrows:VD,Autoplay:WD,Cover:qD,Scroll:jD,Drag:KD,Keyboard:QD,LazyLoad:ey,Pagination:ty,Sync:iy,Wheel:ny,Live:sy}),uy={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},ly={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:TD,i18n:uy,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function cy(i,e,t){var r=e.Slides;function n(){Se(i).on([sn,Ye],o)}function o(){r.forEach(function(a){a.style("transform","translateX(-"+100*a.index+"%)")})}function s(a,u){r.style("transition","opacity "+t.speed+"ms "+t.easing),qp(u)}return{mount:n,start:s,cancel:fc}}function fy(i,e,t){var r=e.Move,n=e.Controller,o=e.Scroll,s=e.Elements.list,a=ge(ar,s,"transition"),u;function l(){Se(i).bind(s,"transitionend",function(f){f.target===s&&u&&(d(),u())})}function c(f,_){var h=r.toPosition(f,!0),g=r.getPosition(),m=p(f);Ft(h-g)>=1&&m>=1?t.useScroll?o.scroll(h,m,!1,_):(a("transform "+m+"ms "+t.easing),r.translate(h,!0),u=_):(r.jump(f),_())}function d(){a(""),o.cancel()}function p(f){var _=t.rewindSpeed;if(i.is(qn)&&_){var h=n.getIndex(!0),g=n.getEnd();if(h===0&&f>=g||h>=g&&f===0)return _}return t.speed}return{mount:l,start:c,cancel:d}}var dy=function(){function i(t,r){this.event=Se(),this.Components={},this.state=pD(zn),this.splides=[],this._o={},this._E={};var n=mi(t)?jp(document,t):t;Uo(n,n+" is invalid."),this.root=n,r=gi({label:ur(n,$t)||"",labelledby:ur(n,Cc)||""},ly,i.defaults,r||{});try{gi(r,JSON.parse(ur(n,wc)))}catch{Uo(!1,"Invalid JSON")}this._o=Object.create(gi({},r))}var e=i.prototype;return e.mount=function(r,n){var o=this,s=this.state,a=this.Components;Uo(s.is([zn,Pa]),"Already mounted!"),s.set(zn),this._C=a,this._T=n||this._T||(this.is(cs)?cy:fy),this._E=r||this._E;var u=Zo({},ay,this._E,{Transition:this._T});return rn(u,function(l,c){var d=l(o,a,o._o);a[c]=d,d.setup&&d.setup()}),rn(a,function(l){l.mount&&l.mount()}),this.emit(sn),br(this.root,SD),s.set(Wn),this.emit(Lp),this},e.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(Wn)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},e.go=function(r){return this._C.Controller.go(r),this},e.on=function(r,n){return this.event.on(r,n),this},e.off=function(r){return this.event.off(r),this},e.emit=function(r){var n;return(n=this.event).emit.apply(n,[r].concat(yi(arguments,1))),this},e.add=function(r,n){return this._C.Slides.add(r,n),this},e.remove=function(r){return this._C.Slides.remove(r),this},e.is=function(r){return this._o.type===r},e.refresh=function(){return this.emit(Ye),this},e.destroy=function(r){r===void 0&&(r=!0);var n=this.event,o=this.state;return o.is(zn)?Se(this).on(Lp,this.destroy.bind(this,r)):(rn(this._C,function(s){s.destroy&&s.destroy(r)},!0),n.emit(Jp),n.destroy(),r&&Ur(this.splides),o.set(Pa)),this},Zv(i,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),i}(),Gr=dy;Gr.defaults={};Gr.STATES=Jv;V.registerPlugin(j,Rn,en,Ut);function hy(){en.create("loader","0.83, 0, 0.17, 1"),en.create("loader2","0.77, 0, 0.175, 1")}var fs;function py(){let i=document.querySelector(".contact-modal_main-wrapper"),e=document.querySelector(".contact-modal_content-wrapper");fs=V.timeline({paused:!0}),fs.to(i,{autoAlpha:1,duration:.3,ease:"loader2"}),fs.from(e,{x:"100%",duration:.4,ease:"loader2"},"-=0.2");function t(){document.querySelectorAll("[project-category]").forEach(n=>{n.addEventListener("click",()=>{let o=n.textContent.trim().toLowerCase(),s=document.querySelector(`.contact-modal_main-wrapper input[type="checkbox"][data-name="${o}"]`);s?(s.click(),console.log(`Clicked on checkbox for ${o}`)):console.log(`No checkbox found for ${o}`)})})}t()}var Kt=new Ls({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function _y(){Kt.on("scroll",j.update),V.ticker.add(e=>{Kt.raf(e*1e3)}),V.ticker.lagSmoothing(0);function i(e){Kt.raf(e),requestAnimationFrame(i)}requestAnimationFrame(i)}function gy(){let i=[].slice.call(document.querySelectorAll("video.lazyload"));if("IntersectionObserver"in window){let e=new IntersectionObserver(function(t,r){t.forEach(function(n){if(n.isIntersecting){for(let o of n.target.children)o.setAttribute("src",o.getAttribute("data-src"));n.target.load(),n.target.play(),e.unobserve(n.target)}})});i.forEach(function(t){e.observe(t)})}}function my(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function vy(){function i(){let e=document.querySelector(".w-nav-overlay"),t={attributes:!0,attributeFilter:["style"]},r=function(o,s){for(let a of o)a.type==="attributes"&&a.attributeName==="style"&&(e.style.display==="none"?(document.body.classList.remove("is-scroll-off"),Kt.start()):(document.body.classList.add("is-scroll-off"),Kt.stop()))};new MutationObserver(r).observe(e,t)}i()}function Dy(){document.querySelector(".is-footer")&&V.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},autoAlpha:0})}function yy(){document.querySelectorAll('a:not([/**/href^="#"]):not([href^="javascript:"]):not([href=""]):not([href^="mailto:"]):not([href^="tel:"])').forEach(e=>{e.getAttribute("target")!=="_blank"&&e.addEventListener("click",t=>{t.preventDefault();let r=V.timeline({onComplete:()=>{window.location.href=e.href}});r.to(".unloader_wrapper",{display:"flex",duration:.05}),r.from(".unloader_ract",{duration:.4,width:"0%",ease:"loader2"}),r.play()})})}var Ey=document.querySelector(".info-bar"),D_=V.timeline({paused:!0});D_.to(".navbar",{y:"-100%",duration:.2,ease:"loader2"});Ey&&D_.to(".button_small.is-navbar",{top:"1.75rem",duration:.2,ease:"loader2"},"<");function wy(){let i=document.querySelectorAll('[wide="customCursor"]'),e=document.querySelector(".custom_cursor");i.forEach(t=>{t.addEventListener("mousedown",function(){e.style.transform="scale3d(0.8, 0.8, 1)"}),t.addEventListener("mouseup",function(){e.style.transform="scale3d(1, 1, 1)"})})}window.heroFixedSections=function(i){document.querySelectorAll(".herofixedsection").forEach((r,n)=>{j.create({trigger:r,start:()=>r.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,markers:!1,pinSpacing:!1,scrub:3})});let t=document.querySelector(".cover-bg");t&&j.create({trigger:".cover-bg",start:"bottom center+=300",end:"bottom top+=400",scrub:!0,onUpdate:r=>{V.to(t,{opacity:r.progress,overwrite:!0})}})};window.servicesSliders=function(i){let e={type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination services-pagination",page:"splide__pagination__page services-page"},breakpoints:{992:{drag:!0,fixedWidth:"90%"},480:{}}},t=new Gr(i,e).mount();window.innerWidth>992&&t.on("click",function(){t.go("+1")}),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom+=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.standardHeaderScrollAnimation=function(){let i=V.timeline({paused:!0}),e=V.timeline({paused:!0});i.to(".navbar_brand.scale",{scale:.25,duration:1}).to(".wideletter",{y:"-150%",duration:1,ease:"loader2",stagger:.1},0),e.to(".navbar_brand.scale",{scale:1,duration:1}).to(".wideletter",{y:"0%",duration:1,ease:"loader2",stagger:.1},0),j.create({start:"top+=100 top",onEnter:()=>{e.pause(0),i.restart()},onLeaveBack:()=>{i.pause(0),e.restart()}})};window.videoInsideText=function(i){let e=i.querySelector('[class*="copy-this"]');i.querySelector('[class*="headline-span"]').appendChild(e)};window.spanVideoMaskAnimation=function(i){V.to(i,{scrollTrigger:{trigger:i,start:"bottom bottom-=5%"},width:0,ease:"loader2",duration:.6})};window.customCursorText=function(i){i.addEventListener("mouseenter",()=>{let e=i.getAttribute("wideCursorText"),t=document.querySelector(".custom_cursor_text");t.innerHTML=e})};window.heroAnimationOnLoad=function(i){let e=i.querySelector(".hero_headline_ract-mask"),t=i.querySelector("video"),r=V.timeline({}),n=new Ut("#heroHeading",{type:"lines",linesClass:"hero-line"}),o=new Ut("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});if(document.querySelectorAll(".hero-line").length===0){console.error("GSAP target .hero-line not found.");return}V.set("#heroHeading",{opacity:0}),V.set(".hero-line",{y:"100%"}),V.set(".wideletter",{y:"-150%"}),r.to(".navbar_brand_lottie",{duration:1.5,progress:1,onComplete:function(){V.to(".navbar_brand_lottie",{opacity:0,duration:.25})}}),r.to("#heroHeading",{opacity:1,duration:.1,ease:"none"},"+=0.1"),r.fromTo(".hero-line",{y:"100%"},{duration:.75,y:"0%",stagger:.2,ease:"loader2"},"<"),r.to("#heroHeading",{opacity:0,duration:.3,ease:"loader2"},"+=1"),r.to(".preloader",{scaleY:0,display:"none",duration:1,ease:"loader"}),r.call(()=>{t&&t.play()},null,">"),r.to(".wideletter",{y:"0%",duration:1,ease:"loader2",stagger:.1},"eager"),r.from("#heroBottomWrapper",{opacity:0,duration:1,ease:"loader2"},">-0.4")};window.briefContact=function(i){let e=document.querySelector(".brief-button"),t=document.querySelector("#bottomWrapperOverlay");function r(){let n=window.pageYOffset||document.documentElement.scrollTop,o=t.getBoundingClientRect(),s=o.top+n,a=o.bottom+n;n>=s&&n<a?e.style.opacity=0:e.style.opacity=1}window.addEventListener("scroll",r),r(),V.utils.toArray("section").forEach((n,o)=>{j.create({trigger:n,start:"top top",end:"bottom top",toggleClass:{targets:e,className:"scrolled-over",addTriggerCondition:s=>s.direction===-1}})})};window.contactUsHide=function(i){V.to(i,{autoAlpha:0,duration:.15,ease:"loader2",scrollTrigger:{trigger:".contactushide",start:"top center",toggleActions:"play none none reverse"}})};window.caseCategories=function(i){let e=document.querySelectorAll(".summary-title");function t(){e.forEach(r=>{r.style.color=""})}e.forEach(r=>{r.addEventListener("mouseenter",()=>{e.forEach(n=>{V.to(n,{duration:0,color:"var(--wide-gray-400)"})}),V.to(r,{duration:0,color:"var(--wide-black)"})}),r.addEventListener("mouseleave",()=>{setTimeout(()=>{Array.from(e).some(o=>o.matches(":hover"))||t()},0)})})};window.textScroll=function(i){let e=V.timeline({scrollTrigger:{trigger:".stats-content_wrapper",start:"top center+=200"}}),t=new Ut("#heroHeading",{type:"lines",linesClass:"hero-line"}),r=new Ut("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});if(document.querySelectorAll(".hero-line").length===0){console.error("GSAP target .hero-line not found.");return}V.set(".hero-line",{y:"100%"}),V.set(".hero-line-mask",{y:"100%"});let o=document.querySelectorAll(".reveal-scroll");e.fromTo(o,{y:"100%",opacity:0},{y:"0%",opacity:1,duration:1.2,stagger:.2,ease:"loader2"}),e.fromTo(".hero-line",{y:"100%"},{duration:1.2,y:"0%",stagger:.2,ease:"loader2"},"<"),e.fromTo(".hero-line-mask",{y:"100%"},{duration:1.2,y:"0%",stagger:.2,ease:"loader2"},"<")};window.HoverMaskVideo=function(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-trigger");function n(){e.forEach(s=>{s.style.opacity=""})}function o(s){s.querySelectorAll(".bg-video").forEach(u=>{u.style.display=""})}r.forEach((s,a)=>{let u=!1,l=V.fromTo(t[a],{height:"0rem"},{height:"29.6rem",ease:"loader",duration:.5,paused:!0}),c=Array.from(t[a].querySelectorAll(".bg-video")).reverse(),d=V.timeline({paused:!0,repeat:-1});c.forEach((p,f)=>{d.to(p,{display:"none",duration:0,delay:1},f*1)}),s.addEventListener("mouseenter",()=>{u=!0,e[a].style.zIndex=21,l.restart().play(),e.forEach((p,f)=>{f!==a&&V.to(p,{duration:0,opacity:.2})}),V.to(e[a],{duration:0,opacity:1}),l.eventCallback("onComplete",()=>{d.restart().play()})}),s.addEventListener("mouseleave",()=>{u=!1,e[a].style.zIndex="",l.reverse(),d.pause().seek(0),o(t[a]),setTimeout(()=>{Array.from(r).some(f=>f.matches(":hover"))||n()},0)})})};window.animationTest=function(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(l=>{l.style.display=""})}function s(a){let u=window.innerWidth,l=window.innerHeight,c=23.75*16,d=17.5*16,p=u-c,f=l-d,_=Math.max(0,Math.random()*p),h=Math.max(0,Math.random()*f);a.style.left=`${_}px`,a.style.top=`${h}px`}r.forEach((a,u)=>{let l=!1,c=V.fromTo(t[u],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.5,paused:!0}),d=Array.from(t[u].querySelectorAll(".bg-video")).reverse(),p=V.timeline({paused:!0,repeat:-1});d.forEach((f,_)=>{p.to(f,{display:"none",duration:0,delay:1},_*1)}),a.addEventListener("mouseenter",()=>{l=!0,s(t[u]),c.restart().play(),e.forEach((f,_)=>{_!==u&&V.to(f,{duration:0,opacity:.2})}),V.to(e[u],{duration:0,opacity:1}),c.eventCallback("onComplete",()=>{p.restart().play()})}),a.addEventListener("mouseleave",()=>{l=!1,c.reverse(),p.pause().seek(0),o(t[u]),setTimeout(()=>{Array.from(r).some(_=>_.matches(":hover"))||n()},0)})})};window.animationTest1=function(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}window.animationTest2=function(a){let u=a.querySelectorAll(".hover-title"),l=a.querySelectorAll(".hover-mask"),c=a.querySelectorAll(".hover-wrapper");function d(){u.forEach(_=>{_.style.opacity=""})}function p(_){_.querySelectorAll(".bg-video").forEach(g=>{g.style.display=""})}function f(_){let h=window.innerWidth,g=window.innerHeight,m=23.75*16,v=17.5*16,y=h-m,E=g-v,b=Math.max(0,Math.random()*y),x=Math.max(0,Math.random()*E);_.style.left=`${b}px`,_.style.top=`${x}px`}c.forEach((_,h)=>{let g=!1,m=V.fromTo(l[h],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.5,paused:!0}),v=Array.from(l[h].querySelectorAll(".bg-video")).reverse();function y(){v.forEach(E=>f(E))}_.addEventListener("mouseenter",()=>{g=!0,y(),f(l[h]),m.restart().play(),u.forEach((E,b)=>{b!==h&&V.to(E,{duration:0,opacity:.2})}),V.to(u[h],{duration:0,opacity:1}),m.eventCallback("onComplete",()=>{v.forEach(E=>{V.set(E,{display:"inline-block"})})})}),_.addEventListener("mousemove",E=>{if(!g)return;let{clientX:b,clientY:x}=E,w=window.innerWidth/2,S=window.innerHeight/2,A=(b-w)*.05,C=(x-S)*.05;v.forEach((O,F)=>{V.to(O,{x:A,y:C,delay:F*.05,duration:.5,ease:"power2.out",overwrite:"auto"})})}),_.addEventListener("mouseleave",()=>{g=!1,m.reverse(),p(l[h]),setTimeout(()=>{Array.from(c).some(b=>b.matches(":hover"))||d()},0)})})};function o(a){if(!a)return;a.querySelectorAll(".bg-video").forEach(l=>{V.set(l,{display:"none",x:0,y:0})})}function s(a){if(!a)return;let u=window.innerWidth,l=window.innerHeight,c=23.75*16,d=17.5*16,p=u-c,f=l-d,_=Math.max(0,Math.random()*p),h=Math.max(0,Math.random()*f);a.style.left=`${_}px`,a.style.top=`${h}px`}t.forEach(a=>{a.querySelectorAll(".bg-video").forEach(l=>{V.set(l,{display:"none"})})}),r.forEach((a,u)=>{if(!t[u])return;let l=!1,c=null,d=V.timeline({paused:!0}),p=Array.from(t[u].querySelectorAll(".bg-video"));function f(){p.forEach(_=>s(_))}a.addEventListener("mouseenter",()=>{l=!0,f(),t[u].style.display="flex",e.forEach((g,m)=>{m!==u&&V.to(g,{duration:0,opacity:.2})}),V.to(e[u],{duration:0,opacity:1}),c=V.timeline(),p.forEach((g,m)=>{c.to(g,{display:"inline-block",duration:0,onStart:()=>s(g)},m)}),c.play();let _=p.map(g=>V.quickSetter(g,"x","px")),h=p.map(g=>V.quickSetter(g,"y","px"));a.addEventListener("mousemove",g=>{let{clientX:m,clientY:v}=g,y=window.innerWidth/2,E=window.innerHeight/2,b=(m-y)*.05,x=(v-E)*.05;p.forEach((w,S)=>{V.to(w,{x:b,y:x,delay:S*.1,duration:1,ease:"power2.out",overwrite:"auto"})})})}),a.addEventListener("mouseleave",()=>{l=!1,t[u].style.display="none",o(t[u]),c&&(c.kill(),c=null),d&&(d.kill(),d=V.timeline({paused:!0})),setTimeout(()=>{Array.from(r).some(h=>h.matches(":hover"))||n()},0)})})};window.animationTest2=function(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(l=>{l.style.display=""})}function s(a,u,l){let p=u-190,f=l-280/2;a.style.left=`${p}px`,a.style.top=`${f}px`}r.forEach((a,u)=>{let l=!1,c=V.fromTo(t[u],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.5,paused:!0}),d=Array.from(t[u].querySelectorAll(".bg-video")).reverse(),p=V.timeline({paused:!0,repeat:-1});d.forEach((f,_)=>{p.to(f,{display:"none",duration:0,delay:1},_*1)}),a.addEventListener("mouseenter",f=>{l=!0,s(t[u],f.clientX,f.clientY),c.restart().play(),e.forEach((_,h)=>{h!==u&&V.to(_,{duration:0,opacity:.2})}),V.to(e[u],{duration:0,opacity:1}),c.eventCallback("onComplete",()=>{p.restart().play()})}),a.addEventListener("mousemove",f=>{l&&s(t[u],f.clientX,f.clientY)}),a.addEventListener("mouseleave",()=>{l=!1,c.reverse(),p.pause().seek(0),o(t[u]),setTimeout(()=>{Array.from(r).some(_=>_.matches(":hover"))||n()},0)})})};window.caseStudyInteraction=function(i){let e=i.querySelector(".portfolio_item_image-mask");if(!e){console.error("Mask element not found in:",i);return}let t=V.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});j.create({animation:t,trigger:e,start:"top 80%",onEnter:()=>t.play()});let r=i.getElementsByTagName("video");if(window.innerWidth>992){let o=function(){n.play()},s=function(){n.pause(),n.currentTime=0,n.load()},n=r.length>0?r[0]:null;if(!n){console.error("No video element found in:",i);return}n.addEventListener("loadeddata",()=>{n.pause()}),i.addEventListener("mouseenter",o,!1),i.addEventListener("mouseleave",s,!1)}else Array.from(r).forEach(n=>{let o=n.getAttribute("poster");n.innerHTML="",n.setAttribute("poster",o),n.load(),n.pause()})};var y_=V.utils.toArray(".panel"),by=y_.map(i=>j.create({trigger:i,start:"top top"}));y_.forEach((i,e)=>{j.create({trigger:i,start:()=>i.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,pinSpacing:!1})});j.create({snap:{snapTo:(i,e)=>{let t=by.map(n=>n.start),r=V.utils.snap(t,e.scroll());return V.utils.normalize(0,j.maxScroll(window),r)},duration:.5}});window.reviewsSlider=function(i){let e=i.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,t=i.querySelector(".reviews_collection_item");t.innerHTML=e,t.classList.add("is-static");let r=new Gr(i,{type:"slide",fixedWidth:"24.5rem",rewind:!0,focus:0,padding:{left:"2.5rem",right:0},gap:0,omitEnd:!0,arrows:!1,drag:!1,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination reviews-pagination",page:"splide__pagination__page reviews-page"},breakpoints:{992:{fixedWidth:"17.438rem",padding:{left:"1.75rem"},drag:"free",snap:!1},480:{fixedWidth:"16.25rem",padding:{left:"1.375rem"}}}}).mount();window.innerWidth>992&&r.on("click",function(){r.go("+1")}),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.reviewsSlider=function(i){let e=i.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,t=i.querySelector(".reviews_collection_item");t.innerHTML=e,t.classList.add("is-static");let r=new Gr(i,{type:"slide",fixedWidth:"24.5rem",rewind:!0,focus:0,padding:{left:"2.5rem",right:0},gap:0,omitEnd:!0,arrows:!1,drag:!1,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination reviews-pagination",page:"splide__pagination__page reviews-page"},breakpoints:{992:{fixedWidth:"17.438rem",padding:{left:"1.75rem"},drag:"free",snap:!1},480:{fixedWidth:"16.25rem",padding:{left:"1.375rem"}}}}).mount();window.innerWidth>992&&r.on("click",function(){r.go("+1")}),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.factsSlider=function(i){let e=new Gr(i,{type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination facts-pagination",page:"splide__pagination__page facts-page"},breakpoints:{992:{gap:"1.75rem",drag:!0},480:{gap:"1.375rem"}}}).mount();window.innerWidth>992&&e.on("click",function(){e.go("+1")}),i.querySelectorAll(".external_link.is-cursor").forEach(a=>{a.addEventListener("click",()=>{event.stopPropagation()})});function r(a){var u=e.Components.Elements.slides[a],l=u.querySelector("video");l&&l.play()}function n(a){var u=e.Components.Elements.slides;u.forEach(function(l,c){var d=l.querySelector("video");d&&c!==a&&(d.pause(),d.currentTime=0)})}function o(a){V.fromTo([a.querySelector(".is-h4"),a.querySelector(".facts-slide_legend-wrapper"),a.querySelector(".facts-slide_diagram-wrapper"),a.querySelector(".facts-slide_source")],{x:"2rem",opacity:0},{x:"0",opacity:1,stagger:.2,duration:.5,easing:"loader2"})}function s(a){V.set([a.querySelector(".is-h4"),a.querySelector(".facts-slide_legend-wrapper"),a.querySelector(".facts-slide_diagram-wrapper"),a.querySelector(".facts-slide_source")],{x:"2rem",opacity:0})}e.on("move",function(a){r(a);var u=e.Components.Elements.slides[a];o(u)}),e.on("moved",function(a){n(a);var u=e.Components.Elements.slides[a];s(u)})};window.teamSlider=function(i){let e=i.querySelector(".team_collection_list"),t=Array.from(e.children);t.sort(function(){return .5-Math.random()}),t.forEach(function(r){e.appendChild(r)}),new Gr(i,{type:"slide",fixedWidth:"20%",padding:{left:"2.5rem",right:0},focus:0,gap:0,pagination:!1,omitEnd:!0,arrows:!1,drag:!0,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination facts-pagination",page:"splide__pagination__page facts-page"},breakpoints:{992:{fixedWidth:"40%",padding:{left:"1.75rem"},drag:"free",snap:!1},560:{fixedWidth:"75%",padding:{left:"1.375rem"},drag:"free",snap:!1}}}).mount(),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.elementPaddingChange=function(i){V.to(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"top top",toggleActions:"restart none none reverse",scrub:1},paddingLeft:"0rem",paddingRight:"0rem",ease:"linear"})};window.sectionBgChange=function(i){V.set(i,{backgroundColor:"#fff"}),V.set("#heroNavbarLottie path",{fill:"rgb(21, 21, 21)"});let e=V.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:i,start:"top center",end:"bottom top",toggleActions:"play reverse play reverse"}});e.to(["#skills","#portfolio"],{backgroundColor:"#151515"},"<"),e.to(".info-bar_wrapper",{backgroundColor:"#2E2E2E",color:"#fff"},"<"),e.to([".button_small",".button_small_icon",".navbar_brand_svg","#heroNavbarLottie path "],{color:"#fff",fill:"rgb(254, 254, 254)"},"<"),window.innerWidth>992&&e.to(".navbar_menu_link",{color:"#fff",fill:"rgb(254, 254, 254)"},"<")};window.badgeColorChange=function(i){let e=V.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:i,start:"top center",end:"bottom center",toggleActions:"play reverse play reverse"}});e.to(".js-color-bg",{fill:"#2E2E2E"},"<"),e.to(".js-color-text",{fill:"#fff"},"<")};window.clientLogosAnimation=function(i){let t=i.querySelectorAll('[class*="item_mask"]'),r=i.querySelectorAll('[class*="image"]');V.from(t,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},width:"0%",duration:.7,ease:"loader2",stagger:.15}),V.from(r,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},opacity:0,delay:.4,duration:.45,ease:"loader2",stagger:.15})};window.heroSpanVideoOnHover=function(i){window.customCursorText(i);let e=V.timeline({paused:!0,ease:"loader2"});e.to(".hero-line-mask",{clipPath:"none",duration:.05},">"),e.to(i,{scale:2,duration:.35},">"),window.innerWidth>992&&(i.addEventListener("mouseenter",()=>{e.timeScale(1).play()}),i.addEventListener("mouseleave",()=>{e.timeScale(2).reverse()}))};window.reelModal=function(){let i=document.querySelectorAll('[wideClick="playReel"]'),e=document.querySelector(".reel-modal"),t=document.getElementById("fullReel"),r=0,n=V.timeline({ease:"loader2",paused:!0});n.to(e,{display:"flex",opacity:0,duration:0}),n.to(e,{opacity:1,duration:.6},">"),window.innerWidth>992?(i.forEach(o=>{o.addEventListener("click",()=>{if(Kt.stop(),n.timeScale(1).play(),r===0)t.canPlayType("video/webm")?t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.webm":t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.mp4",t.load();else return;t.play()})}),e.addEventListener("click",()=>{n.timeScale(4).reverse(),t.pause(),Kt.start()}),window.addEventListener("keydown",function(o){o.keyCode===27&&(n.timeScale(4).reverse(),t.pause(),Kt.start())})):(i.forEach(o=>{o.addEventListener("click",()=>{t.canPlayType("video/webm")?t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.webm":t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.mp4",t.load(),t.addEventListener("canplaythrough",()=>{t.play()},{once:!0})})}),e.addEventListener("click",()=>{t.pause()}))};window.foundersTooltip=function(i){let e=i.querySelector(".line"),t=i.querySelector(".arrow"),r=V.timeline({paused:!0,ease:"loader2"});r.from(i,{x:"5%",opacity:0,duration:.4}),r.from(e,{drawSVG:"0% 0%",duration:.2},">-0.2"),r.from(t,{drawSVG:"0% 0%",duration:.15}),window.innerWidth>992&&(i.addEventListener("mouseenter",()=>{r.timeScale(1).play()}),i.addEventListener("mouseleave",()=>{r.timeScale(3).reverse()}))};window.clientsMapActions=function(i){let e=V.timeline({scrollTrigger:{trigger:".reviews_map_base",start:"bottom-=160px bottom"}});e.from(".map-point",{duration:1,opacity:0,stagger:.1,ease:"loader2"}),e.from(".map-pin_wrapper",{duration:1,opacity:0,stagger:.1,ease:"loader2"},"0.3"),document.querySelectorAll(".map-pin_wrapper").forEach(function(n){n.addEventListener("mouseenter",function(){let o=this.getAttribute("w-map-pin"),s=document.querySelectorAll(".map_info-collection-item"),a=document.querySelectorAll(".map_info-collection-item[w-map-info='"+o+"']"),u=V.timeline({});u.to(s,{opacity:0,ease:"loader2",duration:.1}),u.to(s,{display:"none",duration:.01}),u.to(a,{display:"block",duration:.01}),u.to(a,{opacity:1,ease:"loader2",duration:.2})})});let r=document.querySelectorAll(".map_info-wrapper");for(let n=0;n<r.length;n++){let o=r[n].getAttribute("href");o&&o.length>3&&(r[n].style.cursor="pointer")}};window.statsHeadlineAnimation=function(){let i=V.timeline({scrollTrigger:{trigger:"#statsKnow",start:"center center",toggleActions:"restart none none reverse",end:"+=500"},pause:"paused",ease:"defaultEase"}),e=new Ut("#statsDone",{type:"lines",linesClass:"stats-line"}),t=new Ut("#statsDone",{type:"lines",linesClass:"stats-line-mask"});i.to("#statsKnow",{duration:.5,opacity:0,display:"none"},">"),i.from(".stats-line",{duration:.5,opacity:0,y:"100%",stagger:.25})};window.counterUpAnimation=function(){document.querySelectorAll("#counter").forEach(e=>{let t=parseFloat(e.textContent.replace(/,/g,""));V.fromTo(e,{innerHTML:0},{innerHTML:t,duration:2,ease:"power1.inOut",snap:{innerHTML:1},onUpdate:function(){e.textContent=this.targets()[0].innerHTML.toLocaleString()}})})};window.heroSliders=function(i){console.log("Initializing Splide on element:",i);let e={type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination hero-pagination",page:"splide__pagination__page hero-page"},breakpoints:{992:{drag:!0},480:{}}},t=new Gr(i,e).mount();console.log("Splide instance:",t),window.innerWidth>992&&t.on("click",function(){t.go("+1")}),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom+=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.whatsNext=function(){let i=document.querySelectorAll(".whats-next_links_item.is-case"),e=document.querySelector(".whats-next_links_item.is-all");i.forEach(r=>{let n=r.querySelector(".whats-next_links_item_image_mask"),o=r.querySelector(".whats-next_links_item_image-wrapper"),s=V.timeline({paused:!0,ease:"loader2"});s.to(o,{opacity:.8,duration:.15}),s.to(n,{width:"0%",duration:.3},">-0."),r.addEventListener("mouseenter",()=>{s.timeScale(1).play(),i.forEach(a=>{a!==event.target&&V.to(a,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),r.addEventListener("mouseleave",()=>{s.timeScale(3).reverse(),i.forEach(a=>{a!==event.target&&V.to(a,{color:"#fff",duration:.1,ease:"loader2"})})})}),e.addEventListener("mouseenter",()=>{V.to(e,{color:"#fff",duration:.2,ease:"loader2"}),i.forEach(r=>{V.to(r,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),e.addEventListener("mouseleave",()=>{V.to(e,{color:"#7A7A7A",duration:.2,ease:"loader2"}),i.forEach(r=>{V.to(r,{color:"#fff",duration:.2,ease:"loader2"})})});for(var t=0;t<document.getElementsByTagName("img").length;t++)document.getElementsByTagName("img")[t].srcset="";for(var t=0;t<document.getElementsByTagName("img").length;t++)document.getElementsByTagName("img")[t].sizes=""};window.csMaskAnimation=function(){document.querySelectorAll(".portfolio_item_image-mask").forEach((e,t)=>{if(t===0)return;let r=V.from(e,{width:"100%",duration:.7,ease:"loader2",paused:!0});j.create({animation:r,trigger:e,start:"top 80%",onEnter:()=>r.play()})})};window.updateScrollTrigger=function(){window.onload=function(){j.update()}};window.blogPostMaskAnimation=function(i){let e=document.querySelector("#heroSection"),t=V.from(".post_main-mask-ract",{left:"0%",ease:"loader2"});j.create({animation:t,trigger:e,start:"top -5%",end:"bottom 50%",scrub:.5})};window.changeCheckboxLabelColor=function(){let i=document.querySelectorAll(".w-checkbox-input"),e=function(t,r){for(let n of t)if(n.type==="attributes"&&n.attributeName==="class"){let o=n.target.classList.contains("w--redirected-checked"),s=n.target.parentElement.querySelector(".form-checkbox_label");o&&s&&!s.classList.contains("is-active")?s.classList.add("is-active"):!o&&s&&s.classList.contains("is-active")&&s.classList.remove("is-active")}};i.forEach(function(t){let r={attributes:!0,attributeFilter:["class"]};new MutationObserver(e).observe(t,r)})};window.openContactModal=function(){fs.play(),document.body.classList.add("is-scroll-off"),Kt.stop()};window.closeContactModal=function(){fs.timeScale(1).reverse(),document.body.classList.remove("is-scroll-off"),Kt.start()};window.closeContactModalOnEsc=function(i){document.addEventListener("keydown",function(e){e.key==="Escape"&&window.closeContactModal()})};window.successMsgAnimation=function(i){let e=V.timeline({}),t=new Ut("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line"}),r=new Ut("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line-mask"});e.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"}),e.to(i,{width:"0%",duration:.6,ease:"loader2"},">-0.5"),e.from("#successParagraph",{opacity:0,duration:.3,ease:"loader2"},">-0.4")};window.formSubmitAnimation=function(i){function e(){let t=document.querySelector(".contact-modal_form-success"),r={attributes:!0,attributeFilter:["style"]};new MutationObserver(function(o,s){o.forEach(function(a){a.target.style.display==="block"&&successMsgAnimation(i)})}).observe(t,r)}e()};window.scrollTriggerRefresh=function(){function i(){j.refresh()}let e=new MutationObserver(i),t=document.querySelector(".section.is-post-body"),r={attributes:!0,childList:!0,subtree:!0};e.observe(t,r)};window.closeInfoBar=function(){let i=V.timeline({});i.to(".info-bar",{height:0,autoAlpha:0,duration:.3,ease:"loader2"}),i.to(".button_small.is-navbar",{top:"1.75rem",duration:.3,ease:"loader2"},"<"),i.to("#heroSection",{paddingTop:"6.5rem",duration:.3,ease:"loader2"},"<")};window.Webflow||=[];window.Webflow.push(()=>{console.log("The new code source is loaded!"),nd(),gy(),Webflow.env("editor")===void 0?(_y(),Kt.start()):(console.log("Editor mode ON"),Kt.destroy()),hy(),my(),Dy(),yy(),wy(),py(),vy()});})();
|
|
6
6
|
/*! Bundled license information:
|
|
7
7
|
|
|
8
8
|
gsap/gsap-core.js:
|
|
@@ -111,16 +111,5 @@ gsap/SplitText.js:
|
|
|
111
111
|
* License : MIT
|
|
112
112
|
* Copyright: 2022 Naotoshi Fujita
|
|
113
113
|
*)
|
|
114
|
-
|
|
115
|
-
gsap/DrawSVGPlugin.js:
|
|
116
|
-
(*!
|
|
117
|
-
* DrawSVGPlugin 3.12.5
|
|
118
|
-
* https://gsap.com
|
|
119
|
-
*
|
|
120
|
-
* @license Copyright 2008-2024, GreenSock. All rights reserved.
|
|
121
|
-
* Subject to the terms at https://gsap.com/standard-license or for
|
|
122
|
-
* Club GSAP members, the agreement issued with that membership.
|
|
123
|
-
* @author: Jack Doyle, jack@greensock.com
|
|
124
|
-
*)
|
|
125
114
|
*/
|
|
126
115
|
//# sourceMappingURL=index.js.map
|