@widelab-nc/widehue 1.0.16 → 1.0.18
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 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
- package/src/index.js +63 -25
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(()=>{var
|
|
1
|
+
(()=>{var nu=!1,su=!1,Pi=[],ou=-1;function Y_(i){U_(i)}function U_(i){Pi.includes(i)||Pi.push(i),X_()}function sf(i){let e=Pi.indexOf(i);e!==-1&&e>ou&&Pi.splice(e,1)}function X_(){!su&&!nu&&(nu=!0,queueMicrotask(G_))}function G_(){nu=!1,su=!0;for(let i=0;i<Pi.length;i++)Pi[i](),ou=i;Pi.length=0,ou=-1,su=!1}var gn,mn,us,of,au=!0;function j_(i){au=!1,i(),au=!0}function $_(i){gn=i.reactive,us=i.release,mn=e=>i.effect(e,{scheduler:t=>{au?Y_(t):t()}}),of=i.raw}function Yc(i){mn=i}function K_(i){let e=()=>{};return[r=>{let n=mn(r);return i._x_effects||(i._x_effects=new Set,i._x_runEffects=()=>{i._x_effects.forEach(s=>s())}),i._x_effects.add(n),e=()=>{n!==void 0&&(i._x_effects.delete(n),us(n))},n},()=>{e()}]}function ns(i,e,t={}){i.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0,cancelable:!0}))}function ri(i,e){if(typeof ShadowRoot=="function"&&i instanceof ShadowRoot){Array.from(i.children).forEach(n=>ri(n,e));return}let t=!1;if(e(i,()=>t=!0),t)return;let r=i.firstElementChild;for(;r;)ri(r,e,!1),r=r.nextElementSibling}function Or(i,...e){console.warn(`Alpine Warning: ${i}`,...e)}var Uc=!1;function Z_(){Uc&&Or("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),Uc=!0,document.body||Or("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),ns(document,"alpine:init"),ns(document,"alpine:initializing"),Tu(),eg(e=>Pr(e,ri)),Eu(e=>xu(e)),gf((e,t)=>{Pu(e,t).forEach(r=>r())});let i=e=>!To(e.parentElement,!0);Array.from(document.querySelectorAll(lf())).filter(i).forEach(e=>{Pr(e)}),ns(document,"alpine:initialized")}var bu=[],af=[];function uf(){return bu.map(i=>i())}function lf(){return bu.concat(af).map(i=>i())}function cf(i){bu.push(i)}function ff(i){af.push(i)}function To(i,e=!1){return Ao(i,t=>{if((e?lf():uf()).some(n=>t.matches(n)))return!0})}function Ao(i,e){if(i){if(e(i))return i;if(i._x_teleportBack&&(i=i._x_teleportBack),!!i.parentElement)return Ao(i.parentElement,e)}}function Q_(i){return uf().some(e=>i.matches(e))}var df=[];function J_(i){df.push(i)}function Pr(i,e=ri,t=()=>{}){_g(()=>{e(i,(r,n)=>{t(r,n),df.forEach(s=>s(r,n)),Pu(r,r.attributes).forEach(s=>s()),r._x_ignore&&n()})})}function xu(i){ri(i,e=>{vf(e),tg(e)})}var hf=[],pf=[],_f=[];function eg(i){_f.push(i)}function Eu(i,e){typeof e=="function"?(i._x_cleanups||(i._x_cleanups=[]),i._x_cleanups.push(e)):(e=i,pf.push(e))}function gf(i){hf.push(i)}function mf(i,e,t){i._x_attributeCleanups||(i._x_attributeCleanups={}),i._x_attributeCleanups[e]||(i._x_attributeCleanups[e]=[]),i._x_attributeCleanups[e].push(t)}function vf(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 tg(i){if(i._x_cleanups)for(;i._x_cleanups.length;)i._x_cleanups.pop()()}var Su=new MutationObserver(Fu),Cu=!1;function Tu(){Su.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Cu=!0}function Df(){rg(),Su.disconnect(),Cu=!1}var ss=[],eu=!1;function rg(){ss=ss.concat(Su.takeRecords()),ss.length&&!eu&&(eu=!0,queueMicrotask(()=>{ig(),eu=!1}))}function ig(){Fu(ss),ss.length=0}function We(i){if(!Cu)return i();Df();let e=i();return Tu(),e}var Au=!1,Eo=[];function ng(){Au=!0}function sg(){Au=!1,Fu(Eo),Eo=[]}function Fu(i){if(Au){Eo=Eo.concat(i);return}let e=[],t=[],r=new Map,n=new Map;for(let s=0;s<i.length;s++)if(!i[s].target._x_ignoreMutationObserver&&(i[s].type==="childList"&&(i[s].addedNodes.forEach(o=>o.nodeType===1&&e.push(o)),i[s].removedNodes.forEach(o=>o.nodeType===1&&t.push(o))),i[s].type==="attributes")){let o=i[s].target,a=i[s].attributeName,u=i[s].oldValue,l=()=>{r.has(o)||r.set(o,[]),r.get(o).push({name:a,value:o.getAttribute(a)})},c=()=>{n.has(o)||n.set(o,[]),n.get(o).push(a)};o.hasAttribute(a)&&u===null?l():o.hasAttribute(a)?(c(),l()):c()}n.forEach((s,o)=>{vf(o,s)}),r.forEach((s,o)=>{hf.forEach(a=>a(o,s))});for(let s of t)e.includes(s)||(pf.forEach(o=>o(s)),xu(s));e.forEach(s=>{s._x_ignoreSelf=!0,s._x_ignore=!0});for(let s of e)t.includes(s)||s.isConnected&&(delete s._x_ignoreSelf,delete s._x_ignore,_f.forEach(o=>o(s)),s._x_ignore=!0,s._x_ignoreSelf=!0);e.forEach(s=>{delete s._x_ignoreSelf,delete s._x_ignore}),e=null,t=null,r=null,n=null}function yf(i){return cs(pn(i))}function ls(i,e,t){return i._x_dataStack=[e,...pn(t||i)],()=>{i._x_dataStack=i._x_dataStack.filter(r=>r!==e)}}function pn(i){return i._x_dataStack?i._x_dataStack:typeof ShadowRoot=="function"&&i instanceof ShadowRoot?pn(i.host):i.parentNode?pn(i.parentNode):[]}function cs(i){return new Proxy({objects:i},og)}var og={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"?ag: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 ag(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function wf(i){let e=r=>typeof r=="object"&&!Array.isArray(r)&&r!==null,t=(r,n="")=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([s,{value:o,enumerable:a}])=>{if(a===!1||o===void 0)return;let u=n===""?s:`${n}.${s}`;typeof o=="object"&&o!==null&&o._x_interceptor?r[s]=o.initialize(i,u,s):e(o)&&o!==r&&!(o instanceof Element)&&t(o,u)})};return t(i)}function bf(i,e=()=>{}){let t={initialValue:void 0,_x_interceptor:!0,initialize(r,n,s){return i(this.initialValue,()=>ug(r,n),o=>uu(r,n,o),n,s)}};return e(t),r=>{if(typeof r=="object"&&r!==null&&r._x_interceptor){let n=t.initialize.bind(t);t.initialize=(s,o,a)=>{let u=r.initialize(s,o,a);return t.initialValue=u,n(s,o,a)}}else t.initialValue=r;return t}}function ug(i,e){return e.split(".").reduce((t,r)=>t[r],i)}function uu(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]]={}),uu(i[e[0]],e.slice(1),t)}}var xf={};function ir(i,e){xf[i]=e}function lu(i,e){return Object.entries(xf).forEach(([t,r])=>{let n=null;function s(){if(n)return n;{let[o,a]=Ff(e);return n={interceptor:bf,...o},Eu(e,a),n}}Object.defineProperty(i,`$${t}`,{get(){return r(e,s())},enumerable:!1})}),i}function lg(i,e,t,...r){try{return t(...r)}catch(n){as(n,i,e)}}function as(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 Eo=!0;function Cf(i){let e=Eo;Eo=!1;let t=i();return Eo=e,t}function Mi(i,e,t={}){let r;return dt(i,e)(n=>r=n,t),r}function dt(...i){return Sf(...i)}var Sf=Tf;function fg(i){Sf=i}function Tf(i,e){let t={};cu(t,i);let r=[t,..._n(i)],n=typeof e=="function"?dg(r,e):pg(r,e,i);return cg.bind(null,i,e,n)}function dg(i,e){return(t=()=>{},{scope:r={},params:n=[]}={})=>{let s=e.apply(fs([r,...i]),n);So(t,s)}}var ru={};function hg(i,e){if(ru[i])return ru[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 us(o,e,i),Promise.resolve()}})();return ru[i]=s,s}function pg(i,e,t){let r=hg(e,t);return(n=()=>{},{scope:s={},params:o=[]}={})=>{r.result=void 0,r.finished=!1;let a=fs([s,...i]);if(typeof r=="function"){let u=r(r,a).catch(l=>us(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=>us(l,t,e)).finally(()=>r.result=void 0)}}}function So(i,e,t,r,n){if(Eo&&typeof e=="function"){let s=e.apply(t,r);s instanceof Promise?s.then(o=>So(i,o,t,r)).catch(o=>us(o,n,e)):i(s)}else typeof e=="object"&&e instanceof Promise?e.then(s=>i(s)):i(e)}var Pu="x-";function Dn(i=""){return Pu+i}function _g(i){Pu=i}var fu={};function Ie(i,e){return fu[i]=e,{before(t){if(!fu[t]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let r=Pi.indexOf(t);Pi.splice(r>=0?r:Pi.indexOf("DEFAULT"),0,i)}}}function ku(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=Af(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(Mf((s,o)=>r[s]=o)).filter(Rf).map(vg(r,t)).sort(Dg).map(s=>mg(i,s))}function Af(i){return Array.from(i).map(Mf()).filter(e=>!Rf(e))}var du=!1,ns=new Map,Ff=Symbol();function gg(i){du=!0;let e=Symbol();Ff=e,ns.set(e,[]);let t=()=>{for(;ns.get(e).length;)ns.get(e).shift()();ns.delete(e)},r=()=>{du=!1,t()};i(t),r()}function Of(i){let e=[],t=a=>e.push(a),[r,n]=Z_(i);return e.push(n),[{Alpine:ds,effect:r,cleanup:t,evaluateLater:dt.bind(dt,i),evaluate:Mi.bind(Mi,i)},()=>e.forEach(a=>a())]}function mg(i,e){let t=()=>{},r=fu[e.type]||t,[n,s]=Of(i);vf(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),du?ns.get(Ff).push(r):r())};return o.runCleanups=s,o}var Pf=(i,e)=>({name:t,value:r})=>(t.startsWith(i)&&(t=t.replace(i,e)),{name:t,value:r}),kf=i=>i;function Mf(i=()=>{}){return({name:e,value:t})=>{let{name:r,value:n}=Lf.reduce((s,o)=>o(s),{name:e,value:t});return r!==e&&i(r,e),{name:r,value:n}}}var Lf=[];function Mu(i){Lf.push(i)}function Rf({name:i}){return Nf().test(i)}var Nf=()=>new RegExp(`^${Pu}([^:^.]+)\\b`);function vg(i,e){return({name:t,value:r})=>{let n=t.match(Nf()),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 hu="DEFAULT",Pi=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",hu,"teleport"];function Dg(i,e){let t=Pi.indexOf(i.type)===-1?hu:i.type,r=Pi.indexOf(e.type)===-1?hu:e.type;return Pi.indexOf(t)-Pi.indexOf(r)}var pu=[],Lu=!1;function Ru(i=()=>{}){return queueMicrotask(()=>{Lu||setTimeout(()=>{_u()})}),new Promise(e=>{pu.push(()=>{i(),e()})})}function _u(){for(Lu=!1;pu.length;)pu.shift()()}function yg(){Lu=!0}function Nu(i,e){return Array.isArray(e)?Gc(i,e.join(" ")):typeof e=="object"&&e!==null?wg(i,e):typeof e=="function"?Nu(i,e()):Gc(i,e)}function Gc(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 wg(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 Oo(i,e){return typeof e=="object"&&e!==null?xg(i,e):bg(i,e)}function xg(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")}),()=>{Oo(i,t)}}function bg(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 gu(i,e=()=>{}){let t=!1;return function(){t?e.apply(this,arguments):(t=!0,i.apply(this,arguments))}}Ie("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):Cg(i,r,e))});function Cg(i,e,t){If(i,Nu,""),{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){If(i,Oo);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?rs(e,"scale",95)/100:1,d=rs(e,"delay",0)/1e3,p=rs(e,"origin","center"),f="opacity, transform",_=rs(e,"duration",150)/1e3,h=rs(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 If(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=()=>{}){mu(i,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){mu(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=Bf(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 Bf(i){let e=i.parentNode;if(e)return e._x_hidePromise?e:Bf(e)}function mu(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;Tg(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 Tg(i,e){let t,r,n,s=gu(()=>{He(()=>{t=!0,r||e.before(),n||(e.end(),_u()),e.after(),i.isConnected&&e.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(o){this.beforeCancels.push(o)},cancel:gu(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();s()}),finish:s},He(()=>{e.start(),e.during()}),yg(),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),He(()=>{e.before()}),r=!0,requestAnimationFrame(()=>{t||(He(()=>{e.end()}),_u(),setTimeout(i._x_transitioning.finish,o+a),n=!0)})})}function rs(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 ni=!1;function Po(i,e=()=>{}){return(...t)=>ni?e(...t):i(...t)}function Ag(i){return(...e)=>ni&&i(...e)}function Fg(i,e){i._x_dataStack&&(e._x_dataStack=i._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),ni=!0,zf(()=>{kr(e,(t,r)=>{r(t,()=>{})})}),ni=!1}var vu=!1;function Og(i,e){e._x_dataStack||(e._x_dataStack=i._x_dataStack),ni=!0,vu=!0,zf(()=>{Pg(e)}),ni=!1,vu=!1}function Pg(i){let e=!1;kr(i,(r,n)=>{ii(r,(s,o)=>{if(e&&J_(s))return o();e=!0,n(s,o)})})}function zf(i){let e=vn;Uc((t,r)=>{let n=e(t);return ls(n),()=>{}}),i(),Uc(e)}function kg(i){return ni?vu?!0:i.hasAttribute("data-has-alpine-state"):!1}function Vf(i,e,t,r=[]){switch(i._x_bindings||(i._x_bindings=mn({})),i._x_bindings[e]=t,e=r.includes("camel")?Vg(e):e,e){case"value":Mg(i,t);break;case"style":Rg(i,t);break;case"class":Lg(i,t);break;case"selected":case"checked":Ng(i,e,t);break;default:Wf(i,e,t);break}}function Mg(i,e){if(i.type==="radio")i.attributes.value===void 0&&(i.value=e),window.fromModel&&(i.checked=$c(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=>$c(t,i.value)):i.checked=!!e;else if(i.tagName==="SELECT")zg(i,e);else{if(i.value===e)return;i.value=e===void 0?"":e}}function Lg(i,e){i._x_undoAddedClasses&&i._x_undoAddedClasses(),i._x_undoAddedClasses=Nu(i,e)}function Rg(i,e){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=Oo(i,e)}function Ng(i,e,t){Wf(i,e,t),Bg(i,e,t)}function Wf(i,e,t){[null,void 0,!1].includes(t)&&Wg(e)?i.removeAttribute(e):(Hf(e)&&(t=e),Ig(i,e,t))}function Ig(i,e,t){i.getAttribute(e)!=t&&i.setAttribute(e,t)}function Bg(i,e,t){i[e]!==t&&(i[e]=t)}function zg(i,e){let t=[].concat(e).map(r=>r+"");Array.from(i.options).forEach(r=>{r.selected=t.includes(r.value)})}function Vg(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function $c(i,e){return i==e}function Hf(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 Wg(i){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)}function Hg(i,e,t){return i._x_bindings&&i._x_bindings[e]!==void 0?i._x_bindings[e]:qf(i,e,t)}function qg(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,Cf(()=>Mi(i,n.expression))}return qf(i,e,t)}function qf(i,e,t){let r=i.getAttribute(e);return r===null?typeof t=="function"?t():t:r===""?!0:Hf(e)?!![e,"true"].includes(r):r}function Yf(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 Uf(i,e){let t;return function(){let r=this,n=arguments;t||(i.apply(r,n),t=!0,setTimeout(()=>t=!1,e))}}function Xf({get:i,set:e},{get:t,set:r}){let n=!0,s,o,a,u,l=vn(()=>{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()=>{ls(l)}}function Yg(i){(Array.isArray(i)?i:[i]).forEach(t=>t(ds))}var Oi={},jc=!1;function Ug(i,e){if(jc||(Oi=mn(Oi),jc=!0),e===void 0)return Oi[i];Oi[i]=e,typeof e=="object"&&e!==null&&e.hasOwnProperty("init")&&typeof e.init=="function"&&Oi[i].init(),xf(Oi[i])}function Xg(){return Oi}var Gf={};function Gg(i,e){let t=typeof e!="function"?()=>e:e;return i instanceof Element?$f(i,t()):(Gf[i]=t,()=>{})}function $g(i){return Object.entries(Gf).forEach(([e,t])=>{Object.defineProperty(i,e,{get(){return(...r)=>t(...r)}})}),i}function $f(i,e,t){let r=[];for(;r.length;)r.pop()();let n=Object.entries(e).map(([o,a])=>({name:o,value:a})),s=Af(n);return n=n.map(o=>s.find(a=>a.name===o.name)?{name:`x-bind:${o.name}`,value:`"${o.value}"`}:o),ku(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 Kg(i,e){return Object.entries(jf).forEach(([t,r])=>{Object.defineProperty(i,t,{get(){return(...n)=>r.bind(e)(...n)},enumerable:!1})}),i}var Zg={get reactive(){return mn},get release(){return ls},get effect(){return vn},get raw(){return af},version:"3.13.1",flushAndStopDeferringMutations:og,dontAutoEvaluateFunctions:Cf,disableEffectScheduling:j_,startObservingMutations:Au,stopObservingMutations:yf,setReactivityEngine:K_,onAttributeRemoved:vf,onAttributesAdded:mf,closestDataStack:_n,skipDuringClone:Po,onlyDuringClone:Ag,addRootSelector:ff,addInitSelector:df,addScopeToNode:cs,deferMutations:sg,mapAttributes:Mu,evaluateLater:dt,interceptInit:eg,setEvaluator:fg,mergeProxies:fs,extractProp:qg,findClosest:Fo,onElRemoved:Cu,closestRoot:Ao,destroyTree:Eu,interceptor:bf,transition:mu,setStyles:Oo,mutateDom:He,directive:Ie,entangle:Xf,throttle:Uf,debounce:Yf,evaluate:Mi,initTree:kr,nextTick:Ru,prefixed:Dn,prefix:_g,plugin:Yg,magic:nr,store:Ug,start:Q_,clone:Og,cloneNode:Fg,bound:Hg,$data:wf,walk:ii,data:jg,bind:Gg},ds=Zg;function Kf(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 Qg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Jy=Kf(Qg+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Jg=Object.freeze({}),e1=Object.freeze([]),e0=Object.prototype.hasOwnProperty,ko=(i,e)=>e0.call(i,e),Li=Array.isArray,as=i=>Zf(i)==="[object Map]",t0=i=>typeof i=="string",Iu=i=>typeof i=="symbol",Mo=i=>i!==null&&typeof i=="object",r0=Object.prototype.toString,Zf=i=>r0.call(i),Qf=i=>Zf(i).slice(8,-1),Bu=i=>t0(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,Lo=i=>{let e=Object.create(null);return t=>e[t]||(e[t]=i(t))},i0=/-(\w)/g,t1=Lo(i=>i.replace(i0,(e,t)=>t?t.toUpperCase():"")),n0=/\B([A-Z])/g,r1=Lo(i=>i.replace(n0,"-$1").toLowerCase()),Jf=Lo(i=>i.charAt(0).toUpperCase()+i.slice(1)),i1=Lo(i=>i?`on${Jf(i)}`:""),ed=(i,e)=>i!==e&&(i===i||e===e),Du=new WeakMap,is=[],pr,Ri=Symbol("iterate"),yu=Symbol("Map key iterate");function s0(i){return i&&i._isEffect===!0}function o0(i,e=Jg){s0(i)&&(i=i.raw);let t=l0(i,e);return e.lazy||t(),t}function a0(i){i.active&&(td(i),i.options.onStop&&i.options.onStop(),i.active=!1)}var u0=0;function l0(i,e){let t=function(){if(!t.active)return i();if(!is.includes(t)){td(t);try{return f0(),is.push(t),pr=t,i()}finally{is.pop(),rd(),pr=is[is.length-1]}}};return t.id=u0++,t.allowRecurse=!!e.allowRecurse,t._isEffect=!0,t.active=!0,t.raw=i,t.deps=[],t.options=e,t}function td(i){let{deps:e}=i;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(i);e.length=0}}var gn=!0,zu=[];function c0(){zu.push(gn),gn=!1}function f0(){zu.push(gn),gn=!0}function rd(){let i=zu.pop();gn=i===void 0?!0:i}function ir(i,e,t){if(!gn||pr===void 0)return;let r=Du.get(i);r||Du.set(i,r=new Map);let n=r.get(t);n||r.set(t,n=new Set),n.has(pr)||(n.add(pr),pr.deps.push(n),pr.options.onTrack&&pr.options.onTrack({effect:pr,target:i,type:e,key:t}))}function si(i,e,t,r,n,s){let o=Du.get(i);if(!o)return;let a=new Set,u=c=>{c&&c.forEach(d=>{(d!==pr||d.allowRecurse)&&a.add(d)})};if(e==="clear")o.forEach(u);else if(t==="length"&&Li(i))o.forEach((c,d)=>{(d==="length"||d>=r)&&u(c)});else switch(t!==void 0&&u(o.get(t)),e){case"add":Li(i)?Bu(t)&&u(o.get("length")):(u(o.get(Ri)),as(i)&&u(o.get(yu)));break;case"delete":Li(i)||(u(o.get(Ri)),as(i)&&u(o.get(yu)));break;case"set":as(i)&&u(o.get(Ri));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 d0=Kf("__proto__,__v_isRef,__isVue"),id=new Set(Object.getOwnPropertyNames(Symbol).map(i=>Symbol[i]).filter(Iu)),h0=nd(),p0=nd(!0),Kc=_0();function _0(){let i={};return["includes","indexOf","lastIndexOf"].forEach(e=>{i[e]=function(...t){let r=ve(this);for(let s=0,o=this.length;s<o;s++)ir(r,"get",s+"");let n=r[e](...t);return n===-1||n===!1?r[e](...t.map(ve)):n}}),["push","pop","shift","unshift","splice"].forEach(e=>{i[e]=function(...t){c0();let r=ve(this)[e].apply(this,t);return rd(),r}}),i}function nd(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?P0:ud:e?O0:ad).get(r))return r;let o=Li(r);if(!i&&o&&ko(Kc,n))return Reflect.get(Kc,n,s);let a=Reflect.get(r,n,s);return(Iu(n)?id.has(n):d0(n))||(i||ir(r,"get",n),e)?a:wu(a)?!o||!Bu(n)?a.value:a:Mo(a)?i?ld(a):qu(a):a}}var g0=m0();function m0(i=!1){return function(t,r,n,s){let o=t[r];if(!i&&(n=ve(n),o=ve(o),!Li(t)&&wu(o)&&!wu(n)))return o.value=n,!0;let a=Li(t)&&Bu(r)?Number(r)<t.length:ko(t,r),u=Reflect.set(t,r,n,s);return t===ve(s)&&(a?ed(n,o)&&si(t,"set",r,n,o):si(t,"add",r,n)),u}}function v0(i,e){let t=ko(i,e),r=i[e],n=Reflect.deleteProperty(i,e);return n&&t&&si(i,"delete",e,void 0,r),n}function D0(i,e){let t=Reflect.has(i,e);return(!Iu(e)||!id.has(e))&&ir(i,"has",e),t}function y0(i){return ir(i,"iterate",Li(i)?"length":Ri),Reflect.ownKeys(i)}var w0={get:h0,set:g0,deleteProperty:v0,has:D0,ownKeys:y0},x0={get:p0,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}},Vu=i=>Mo(i)?qu(i):i,Wu=i=>Mo(i)?ld(i):i,Hu=i=>i,Ro=i=>Reflect.getPrototypeOf(i);function Do(i,e,t=!1,r=!1){i=i.__v_raw;let n=ve(i),s=ve(e);e!==s&&!t&&ir(n,"get",e),!t&&ir(n,"get",s);let{has:o}=Ro(n),a=r?Hu:t?Wu:Vu;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 yo(i,e=!1){let t=this.__v_raw,r=ve(t),n=ve(i);return i!==n&&!e&&ir(r,"has",i),!e&&ir(r,"has",n),i===n?t.has(i):t.has(i)||t.has(n)}function wo(i,e=!1){return i=i.__v_raw,!e&&ir(ve(i),"iterate",Ri),Reflect.get(i,"size",i)}function Zc(i){i=ve(i);let e=ve(this);return Ro(e).has.call(e,i)||(e.add(i),si(e,"add",i,i)),this}function Qc(i,e){e=ve(e);let t=ve(this),{has:r,get:n}=Ro(t),s=r.call(t,i);s?od(t,r,i):(i=ve(i),s=r.call(t,i));let o=n.call(t,i);return t.set(i,e),s?ed(e,o)&&si(t,"set",i,e,o):si(t,"add",i,e),this}function Jc(i){let e=ve(this),{has:t,get:r}=Ro(e),n=t.call(e,i);n?od(e,t,i):(i=ve(i),n=t.call(e,i));let s=r?r.call(e,i):void 0,o=e.delete(i);return n&&si(e,"delete",i,void 0,s),o}function ef(){let i=ve(this),e=i.size!==0,t=as(i)?new Map(i):new Set(i),r=i.clear();return e&&si(i,"clear",void 0,void 0,t),r}function xo(i,e){return function(r,n){let s=this,o=s.__v_raw,a=ve(o),u=e?Hu:i?Wu:Vu;return!i&&ir(a,"iterate",Ri),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=ve(n),o=as(s),a=i==="entries"||i===Symbol.iterator&&o,u=i==="keys"&&o,l=n[i](...r),c=t?Hu:e?Wu:Vu;return!e&&ir(s,"iterate",u?yu:Ri),{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 ri(i){return function(...e){{let t=e[0]?`on key "${e[0]}" `:"";console.warn(`${Jf(i)} operation ${t}failed: target is readonly.`,ve(this))}return i==="delete"?!1:this}}function b0(){let i={get(s){return Do(this,s)},get size(){return wo(this)},has:yo,add:Zc,set:Qc,delete:Jc,clear:ef,forEach:xo(!1,!1)},e={get(s){return Do(this,s,!1,!0)},get size(){return wo(this)},has:yo,add:Zc,set:Qc,delete:Jc,clear:ef,forEach:xo(!1,!0)},t={get(s){return Do(this,s,!0)},get size(){return wo(this,!0)},has(s){return yo.call(this,s,!0)},add:ri("add"),set:ri("set"),delete:ri("delete"),clear:ri("clear"),forEach:xo(!0,!1)},r={get(s){return Do(this,s,!0,!0)},get size(){return wo(this,!0)},has(s){return yo.call(this,s,!0)},add:ri("add"),set:ri("set"),delete:ri("delete"),clear:ri("clear"),forEach:xo(!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[E0,C0,S0,T0]=b0();function sd(i,e){let t=e?i?T0:S0:i?C0:E0;return(r,n,s)=>n==="__v_isReactive"?!i:n==="__v_isReadonly"?i:n==="__v_raw"?r:Reflect.get(ko(t,n)&&n in r?t:r,n,s)}var A0={get:sd(!1,!1)},F0={get:sd(!0,!1)};function od(i,e,t){let r=ve(t);if(r!==t&&e.call(i,r)){let n=Qf(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 ad=new WeakMap,O0=new WeakMap,ud=new WeakMap,P0=new WeakMap;function k0(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function M0(i){return i.__v_skip||!Object.isExtensible(i)?0:k0(Qf(i))}function qu(i){return i&&i.__v_isReadonly?i:cd(i,!1,w0,A0,ad)}function ld(i){return cd(i,!0,x0,F0,ud)}function cd(i,e,t,r,n){if(!Mo(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=M0(i);if(o===0)return i;let a=new Proxy(i,o===2?r:t);return n.set(i,a),a}function ve(i){return i&&ve(i.__v_raw)||i}function wu(i){return!!(i&&i.__v_isRef===!0)}nr("nextTick",()=>Ru);nr("dispatch",i=>ss.bind(ss,i));nr("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)});nr("store",Xg);nr("data",i=>wf(i));nr("root",i=>Ao(i));nr("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=fs(L0(i))),i._x_refs_proxy));function L0(i){let e=[],t=i;for(;t;)t._x_refs&&e.push(t._x_refs),t=t.parentNode;return e}var iu={};function fd(i){return iu[i]||(iu[i]=0),++iu[i]}function R0(i,e){return Fo(i,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function N0(i,e){i._x_ids||(i._x_ids={}),i._x_ids[e]||(i._x_ids[e]=fd(e))}nr("id",i=>(e,t=null)=>{let r=R0(i,e),n=r?r._x_ids[e]:fd(e);return t?`${e}-${n}-${t}`:`${e}-${n}`});nr("el",i=>i);dd("Focus","focus","focus");dd("Persist","persist","persist");function dd(i,e,t){nr(e,r=>Pr(`You can't use [$${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}Ie("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=Xf({get(){return c()},set(f){d(f)}},{get(){return o()},set(f){u(f)}});n(p)})});Ie("teleport",(i,{modifiers:e,expression:t},{cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Pr("x-teleport can only be used on a <template> tag",i);let n=tf(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))})}),cs(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)};He(()=>{o(s,n,e),kr(s),s._x_ignore=!0}),i._x_teleportPutBack=()=>{let a=tf(t);He(()=>{o(i._x_teleport,a,e)})},r(()=>s.remove())});var I0=document.createElement("div");function tf(i){let e=Po(()=>document.querySelector(i),()=>I0)();return e||Pr(`Cannot find x-teleport element for selector: "${i}"`),e}var hd=()=>{};hd.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})};Ie("ignore",hd);Ie("effect",(i,{expression:e},{effect:t})=>t(dt(i,e)));function xu(i,e,t,r){let n=i,s=u=>r(u),o={},a=(u,l)=>c=>l(u,c);if(t.includes("dot")&&(e=B0(e)),t.includes("camel")&&(e=z0(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=To(u.split("ms")[0])?Number(u.split("ms")[0]):250;s=Yf(s,l)}if(t.includes("throttle")){let u=t[t.indexOf("throttle")+1]||"invalid-wait",l=To(u.split("ms")[0])?Number(u.split("ms")[0]):250;s=Uf(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)=>{W0(e)&&H0(l,t)||u(l)}),n.addEventListener(e,s,o),()=>{n.removeEventListener(e,s,o)}}function B0(i){return i.replace(/-/g,".")}function z0(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function To(i){return!Array.isArray(i)&&!isNaN(i)}function V0(i){return[" ","_"].includes(i)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function W0(i){return["keydown","keyup"].includes(i)}function H0(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,To((t[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.includes("throttle")){let s=t.indexOf("throttle");t.splice(s,To((t[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.length===0||t.length===1&&rf(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&&rf(i.key).includes(t[0]))}function rf(i){if(!i)return[];i=V0(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)}Ie("model",(i,{modifiers:e,expression:t},{effect:r,cleanup:n})=>{let s=i;e.includes("parent")&&(s=i.parentNode);let o=dt(s,t),a;typeof t=="string"?a=dt(s,`${t} = __placeholder`):typeof t=="function"&&typeof t()=="string"?a=dt(s,`${t()} = __placeholder`):a=()=>{};let u=()=>{let p;return o(f=>p=f),nf(p)?p.get():p},l=p=>{let f;o(_=>f=_),nf(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=ni?()=>{}:xu(i,c,e,p=>{l(q0(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=xu(i.form,"reset",[],f=>{Ru(()=>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(()=>Vf(i,"value",p)),delete window.fromModel},r(()=>{let p=u();e.includes("unintrusive")&&document.activeElement.isSameNode(i)||i._x_forceModelUpdate(p)})});function q0(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")?nu(t.target.value):t.target.value;return t.target.checked?r.concat([n]):r.filter(s=>!Y0(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 nu(s)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?nu(n):e.includes("trim")?n.trim():n}}})}function nu(i){let e=i?parseFloat(i):null;return U0(e)?e:i}function Y0(i,e){return i==e}function U0(i){return!Array.isArray(i)&&!isNaN(i)}function nf(i){return i!==null&&typeof i=="object"&&typeof i.get=="function"&&typeof i.set=="function"}Ie("cloak",i=>queueMicrotask(()=>He(()=>i.removeAttribute(Dn("cloak")))));df(()=>`[${Dn("init")}]`);Ie("init",Po((i,{expression:e},{evaluate:t})=>typeof e=="string"?!!e.trim()&&t(e,{},!1):t(e,{},!1)));Ie("text",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(s=>{He(()=>{i.textContent=s})})})});Ie("html",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(s=>{He(()=>{i.innerHTML=s,i._x_ignoreSelf=!0,kr(i),delete i._x_ignoreSelf})})})});Mu(Pf(":",kf(Dn("bind:"))));var pd=(i,{value:e,modifiers:t,expression:r,original:n},{effect:s})=>{if(!e){let a={};$g(a),dt(i,r)(l=>{$f(i,l,n)},{scope:a});return}if(e==="key")return X0(i,r);if(i._x_inlineBindings&&i._x_inlineBindings[e]&&i._x_inlineBindings[e].extract)return;let o=dt(i,r);s(()=>o(a=>{a===void 0&&typeof r=="string"&&r.match(/\./)&&(a=""),He(()=>Vf(i,e,a,t))}))};pd.inline=(i,{value:e,modifiers:t,expression:r})=>{e&&(i._x_inlineBindings||(i._x_inlineBindings={}),i._x_inlineBindings[e]={expression:r,extract:!1})};Ie("bind",pd);function X0(i,e){i._x_keyExpression=e}ff(()=>`[${Dn("data")}]`);Ie("data",(i,{expression:e},{cleanup:t})=>{if(kg(i))return;e=e===""?"{}":e;let r={};cu(r,i);let n={};Kg(n,r);let s=Mi(i,e,{scope:n});(s===void 0||s===!0)&&(s={}),cu(s,i);let o=mn(s);xf(o);let a=cs(i,o);o.init&&Mi(i,o.init),t(()=>{o.destroy&&Mi(i,o.destroy),a()})});Ie("show",(i,{modifiers:e,expression:t},{effect:r})=>{let n=dt(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 s=()=>{i._x_doHide(),i._x_isShown=!1},o=()=>{i._x_doShow(),i._x_isShown=!0},a=()=>setTimeout(o),u=gu(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)}))});Ie("for",(i,{expression:e},{effect:t,cleanup:r})=>{let n=$0(e),s=dt(i,n.items),o=dt(i,i._x_keyExpression||"index");i._x_prevKeys=[],i._x_lookup={},t(()=>G0(i,n,s,o)),r(()=>{Object.values(i._x_lookup).forEach(a=>a.remove()),delete i._x_prevKeys,delete i._x_lookup})});function G0(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=sf(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=sf(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],x=u.splice(v-1,1)[0];u.splice(g,0,x),u.splice(v,0,y),p.push([y,x])}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(of),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],x=a[v],b=document.createElement("div");He(()=>{x||Pr('x-for ":key" is undefined or invalid',s),x.after(b),y.after(x),x._x_currentIfEl&&x.after(x._x_currentIfEl),b.before(y),y._x_currentIfEl&&y.after(y._x_currentIfEl),b.remove()}),x._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 x=l[v],b=c[v],E=document.importNode(s.content,!0).firstElementChild,w=mn(x);cs(E,w,s),E._x_refreshXForScope=S=>{Object.entries(S).forEach(([A,C])=>{w[A]=C})},He(()=>{y.after(E),kr(E)}),typeof b=="object"&&Pr("x-for key cannot be an object, it must be a string or an integer",s),a[b]=E}for(let g=0;g<_.length;g++)a[_[g]]._x_refreshXForScope(l[c.indexOf(_[g])]);s._x_prevKeys=c})}function $0(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 sf(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 _d(){}_d.inline=(i,{expression:e},{cleanup:t})=>{let r=Ao(i);r._x_refs||(r._x_refs={}),r._x_refs[e]=i,t(()=>delete r._x_refs[e])};Ie("ref",_d);Ie("if",(i,{expression:e},{effect:t,cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Pr("x-if can only be used on a <template> tag",i);let n=dt(i,e),s=()=>{if(i._x_currentIfEl)return i._x_currentIfEl;let a=i.content.cloneNode(!0).firstElementChild;return cs(a,{},i),He(()=>{i.after(a),kr(a)}),i._x_currentIfEl=a,i._x_undoIf=()=>{ii(a,u=>{u._x_effects&&u._x_effects.forEach(of)}),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())});Ie("id",(i,{expression:e},{evaluate:t})=>{t(e).forEach(n=>N0(i,n))});Mu(Pf("@",kf(Dn("on:"))));Ie("on",Po((i,{value:e,modifiers:t,expression:r},{cleanup:n})=>{let s=r?dt(i,r):()=>{};i.tagName.toLowerCase()==="template"&&(i._x_forwardEvents||(i._x_forwardEvents=[]),i._x_forwardEvents.includes(e)||i._x_forwardEvents.push(e));let o=xu(i,e,t,a=>{s(()=>{},{scope:{$event:a},params:[a]})});n(()=>o())}));No("Collapse","collapse","collapse");No("Intersect","intersect","intersect");No("Focus","trap","focus");No("Mask","mask","mask");function No(i,e,t){Ie(e,r=>Pr(`You can't use [x-${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}ds.setEvaluator(Tf);ds.setReactivityEngine({reactive:qu,effect:o0,release:a0,raw:ve});var K0=ds,Yu=K0;function Uu(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 Z0(i){let e=document.createElement("template");Uu(i).forEach(r=>{e.setAttribute(r.name,r.value),i.removeAttribute(r.name)}),i.parentNode.insertBefore(e,i),e.content.appendChild(i)}function Q0(i){Uu(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 J0(i){Uu(i).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&i.setAttribute(t.name,"")})}function em(){document.querySelectorAll("[x-data],[x-data] *").forEach(i=>{Q0(i),J0(i)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(Z0)}function gd(){window.Alpine=Yu,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{em(),Yu.start()})}function vd(i,e,t){return Math.max(i,Math.min(e,t))}var Xu=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=vd(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}},Gu=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}}},Io=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={}}},md=100/6,$u=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 Io,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?md:n===2?this.windowWidth:1,r*=n===1?md: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}},Bo=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=x=>Math.min(1,1.001-Math.pow(2,-10*x)),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:x,deltaY:b,event:E})=>{if(E.ctrlKey)return;let w=E.type.includes("touch"),S=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=x===0&&b===0,C=this.options.gestureOrientation==="vertical"&&b===0||this.options.gestureOrientation==="horizontal"&&x===0;if(A||C)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"))||S&&((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&&S))return this.isScrolling="native",void this.animate.stop();E.preventDefault();let k=b;this.options.gestureOrientation==="both"?k=Math.abs(b)>Math.abs(x)?b:x:this.options.gestureOrientation==="horizontal"&&(k=x);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 x=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-x,this.direction=Math.sign(this.animatedScroll-x),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 Xu,this.emitter=new Io,this.dimensions=new Gu({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 $u(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=vd(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 Mr(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 Tt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},wn={duration:.5,overwrite:!1,delay:0},hl,ot,we,Ht=1e8,ge=1/Ht,rl=Math.PI*2,tm=rl/4,rm=0,Td=Math.sqrt,im=Math.cos,nm=Math.sin,qe=function(e){return typeof e=="string"},Fe=function(e){return typeof e=="function"},Rr=function(e){return typeof e=="number"},$o=function(e){return typeof e>"u"},mr=function(e){return typeof e=="object"},St=function(e){return e!==!1},pl=function(){return typeof window<"u"},zo=function(e){return Fe(e)||qe(e)},Ad=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},at=Array.isArray,il=/(?:-?\.?\d|\.)+/gi,_l=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Vi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ju=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,gl=/[+-]=-?[.\d]+/,Fd=/[^,'"\[\]\s]+/gi,sm=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,be,_r,nl,ml,Nt={},qo={},Od,Pd=function(e){return(qo=zi(e,Nt))&&ut},jo=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},vs=function(e,t){return!t&&console.warn(e)},kd=function(e,t){return e&&(Nt[e]=t)&&qo&&(qo[e]=t)||Nt},Ds=function(){return 0},om={suppressEvents:!0,isStart:!0,kill:!1},Vo={suppressEvents:!0,kill:!1},am={suppressEvents:!0},vl={},ai=[],sl={},Md,Et={},Ku={},Dd=30,Wo=[],Dl="",yl=function(e){var t=e[0],r,n;if(mr(t)||Fe(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Wo.length;n--&&!Wo[n].targetTest(t););r=Wo[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},ui=function(e){return e._gsap||yl(qt(e))[0]._gsap},wl=function(e,t,r){return(r=e[t])&&Fe(r)?e[t]():$o(r)&&e.getAttribute&&e.getAttribute(t)||r},ht=function(e,t){return(e=e.split(",")).forEach(t)||e},Oe=function(e){return Math.round(e*1e5)/1e5||0},$e=function(e){return Math.round(e*1e7)/1e7||0},Wi=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},um=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},Yo=function(){var e=ai.length,t=ai.slice(0),r,n;for(sl={},ai.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Ld=function(e,t,r,n){ai.length&&!ot&&Yo(),e.render(t,r,n||ot&&t<0&&(e._initted||e._startAt)),ai.length&&!ot&&Yo()},Rd=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Fd).length<2?t:qe(e)?e.trim():e},Nd=function(e){return e},Yt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},lm=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},zi=function(e,t){for(var r in t)e[r]=t[r];return e},yd=function i(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=mr(t[r])?i(e[r]||(e[r]={}),t[r]):t[r]);return e},Uo=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},_s=function(e){var t=e.parent||be,r=e.keyframes?lm(at(e.keyframes)):Yt;if(St(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},cm=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},Id=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},Ko=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},li=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ni=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},fm=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},ol=function(e,t,r,n){return e._startAt&&(ot?e._startAt.revert(Vo):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},dm=function i(e){return!e||e._ts&&i(e.parent)},wd=function(e){return e._repeat?xn(e._tTime,e=e.duration()+e._rDelay)*e:0},xn=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},Xo=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Zo=function(e){return e._end=$e(e._start+(e._tDur/Math.abs(e._ts||e._rts||ge)||0))},Qo=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=$e(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Zo(e),r._dirty||Ni(r,e)),e},Bd=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Xo(e.rawTime(),t),(!t._dur||xs(0,t.totalDuration(),r)-t._tTime>ge)&&t.render(r,!0)),Ni(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=-ge}},gr=function(e,t,r,n){return t.parent&&li(t),t._start=$e((Rr(r)?r:r||e!==be?Wt(e,r,t):e._time)+t._delay),t._end=$e(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Id(e,t,"_first","_last",e._sort?"_start":0),al(t)||(e._recent=t),n||Bd(e,t),e._ts<0&&Qo(e,e._tTime),e},zd=function(e,t){return(Nt.ScrollTrigger||jo("scrollTrigger",t))&&Nt.ScrollTrigger.create(t,e)},Vd=function(e,t,r,n,s){if(Sl(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!ot&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Md!==Ct.frame)return ai.push(e),e._lazy=[s,n],1},hm=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},al=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},pm=function(e,t,r,n){var s=e.ratio,o=t<0||!t&&(!e._start&&hm(e)&&!(!e._initted&&al(e))||(e._ts<0||e._dp._ts<0)&&!al(e))?0:1,a=e._rDelay,u=0,l,c,d;if(a&&e._repeat&&(u=xs(0,e._tDur,t),c=xn(u,a),e._yoyo&&c&1&&(o=1-o),c!==xn(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||ot||n||e._zTime===ge||!t&&e._zTime){if(!e._initted&&Vd(e,t,n,r,u))return;for(d=e._zTime,e._zTime=t||(r?ge: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&&ol(e,t,r,!0),e._onUpdate&&!r&&Rt(e,"onUpdate"),u&&e._repeat&&!r&&e.parent&&Rt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&li(e,1),!r&&!ot&&(Rt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},_m=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=$e(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:$e(o*(s+1)+e._rDelay*s):o,a>0&&!n&&Qo(e,e._tTime=e._tDur*a),e.parent&&Zo(e),r||Ni(e.parent,e),e},xd=function(e){return e instanceof et?Ni(e):bn(e,e._dur)},gm={_start:0,endTime:Ds,totalDuration:Ds},Wt=function i(e,t,r){var n=e.labels,s=e._recent||gm,o=e.duration()>=Ht?s.endTime(!1):e._dur,a,u,l;return qe(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*(at(r)?r[0]:r).totalDuration()),a>1?i(e,t.substr(0,a-1),r)+u:o+u)):t==null?o:+t},gs=function(e,t,r){var n=Rr(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 Le(t[0],o,t[s+1])},ci=function(e,t){return e||e===0?t(e):t},xs=function(e,t,r){return r<e?e:r>t?t:r},tt=function(e,t){return!qe(e)||!(t=sm.exec(e))?"":t[1]},mm=function(e,t,r){return ci(r,function(n){return xs(e,t,n)})},ul=[].slice,Wd=function(e,t){return e&&mr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&mr(e[0]))&&!e.nodeType&&e!==_r},vm=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var s;return qe(n)&&!t||Wd(n,1)?(s=r).push.apply(s,qt(n)):r.push(n)})||r},qt=function(e,t,r){return we&&!t&&we.selector?we.selector(e):qe(e)&&!r&&(nl||!En())?ul.call((t||ml).querySelectorAll(e),0):at(e)?vm(e,r):Wd(e)?ul.call(e,0):e?[e]:[]},ll=function(e){return e=qt(e)[0]||vs("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return qt(t,r.querySelectorAll?r:r===e?vs("Invalid scope")||ml.createElement("div"):e)}},Hd=function(e){return e.sort(function(){return .5-Math.random()})},qd=function(e){if(Fe(e))return e;var t=mr(e)?e:{each:e},r=Ii(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 qe(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,x,b,E,w,S,A;if(!g){if(A=t.grid==="auto"?0:(t.grid||[1,Ht])[1],!A){for(w=-Ht;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===Ht?0:u?h*d/A-.5:n/A|0,w=0,S=Ht,E=0;E<h;E++)y=E%A-m,x=v-(E/A|0),g[E]=b=l?Math.abs(l==="y"?x:y):Td(y*y+x*x),b>w&&(w=b),b<S&&(S=b);n==="random"&&Hd(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?s-h:s,g.u=tt(t.amount||t.each)||0,r=r&&h<0?Qd(r):r}return h=(g[p]-g.min)/g.max||0,$e(g.b+(r?r(h):h)*g.v)+g.u}},cl=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=$e(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(Rr(r)?0:tt(r))}},Yd=function(e,t){var r=at(e),n,s;return!r&&mr(e)&&(n=r=e.radius||Ht,e.values?(e=qt(e.values),(s=!Rr(e[0]))&&(n*=n)):e=cl(e.increment)),ci(t,r?Fe(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=Ht,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||Rr(o)?c:c+tt(o)}:cl(e))},Ud=function(e,t,r,n){return ci(at(e)?!t:r===!0?!!(r=0):!n,function(){return at(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})},Dm=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)}},ym=function(e,t){return function(r){return e(parseFloat(r))+(t||tt(r))}},wm=function(e,t,r){return Gd(e,t,0,1,r)},Xd=function(e,t,r){return ci(r,function(n){return e[~~t(n)]})},xm=function i(e,t,r){var n=t-e;return at(e)?Xd(e,i(0,e.length),t):ci(r,function(s){return(n+(s-e)%n)%n+e})},bm=function i(e,t,r){var n=t-e,s=n*2;return at(e)?Xd(e,i(0,e.length-1),t):ci(r,function(o){return o=(s+(o-e)%s)%s||0,e+(o>n?s-o:o)})},Cn=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?Fd:il),r+=e.substr(t,n-t)+Ud(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),t=o+1;return r+e.substr(t,e.length-t)},Gd=function(e,t,r,n,s){var o=t-e,a=n-r;return ci(s,function(u){return r+((u-e)/o*a||0)})},Em=function i(e,t,r,n){var s=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!s){var o=qe(e),a={},u,l,c,d,p;if(r===!0&&(n=1)&&(r=null),o)e={p:e},t={p:t};else if(at(e)&&!at(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=zi(at(e)?[]:{},e));if(!c){for(u in t)El.call(a,e,u,"get",t[u]);s=function(_){return Fl(_,a)||(o?e.p:e)}}}return ci(r,s)},bd=function(e,t,r){var n=e.labels,s=Ht,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},Rt=function(e,t,r){var n=e.vars,s=n[t],o=we,a=e._ctx,u,l,c;if(s)return u=n[t+"Params"],l=n.callbackScope||e,r&&ai.length&&Yo(),a&&(we=a),c=u?s.apply(l,u):s.call(l),we=o,c},hs=function(e){return li(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ot),e.progress()<1&&Rt(e,"onInterrupt"),e},yn,$d=[],jd=function(e){if(e)if(e=!e.name&&e.default||e,pl()||e.headless){var t=e.name,r=Fe(e),n=t&&!r&&e.init?function(){this._props=[]}:e,s={init:Ds,render:Fl,add:El,kill:Vm,modifier:zm,rawVars:0},o={targetTest:0,get:0,getSetter:Jo,aliases:{},register:0};if(En(),e!==n){if(Et[t])return;Yt(n,Yt(Uo(e,s),o)),zi(n.prototype,zi(s,Uo(e,o))),Et[n.prop=t]=n,e.targetTest&&(Wo.push(n),vl[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}kd(t,n),e.register&&e.register(ut,n,pt)}else $d.push(e)},_e=255,ps={aqua:[0,_e,_e],lime:[0,_e,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_e],navy:[0,0,128],white:[_e,_e,_e],olive:[128,128,0],yellow:[_e,_e,0],orange:[_e,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_e,0,0],pink:[_e,192,203],cyan:[0,_e,_e],transparent:[_e,_e,_e,0]},Zu=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)*_e+.5|0},Kd=function(e,t,r){var n=e?Rr(e)?[e>>16,e>>8&_e,e&_e]:0:ps.black,s,o,a,u,l,c,d,p,f,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),ps[e])n=ps[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&_e,n&_e,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&_e,e&_e]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(il),!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]=Zu(u+1/3,s,o),n[1]=Zu(u,s,o),n[2]=Zu(u-1/3,s,o);else if(~e.indexOf("="))return n=e.match(_l),r&&n.length<4&&(n[3]=1),n}else n=e.match(il)||ps.transparent;n=n.map(Number)}return t&&!_&&(s=n[0]/_e,o=n[1]/_e,a=n[2]/_e,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},Zd=function(e){var t=[],r=[],n=-1;return e.split(Lr).forEach(function(s){var o=s.match(Vi)||[];t.push.apply(t,o),r.push(n+=o.length+1)}),t.c=r,t},Ed=function(e,t,r){var n="",s=(e+n).match(Lr),o=t?"hsla(":"rgba(",a=0,u,l,c,d;if(!s)return e;if(s=s.map(function(p){return(p=Kd(p,t,1))&&o+(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(Lr,"1").split(Vi),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(Lr),d=l.length-1;a<d;a++)n+=l[a]+s[a];return n+l[d]},Lr=function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in ps)i+="|"+e+"\\b";return new RegExp(i+")","gi")}(),Cm=/hsl[a]?\(/,xl=function(e){var t=e.join(" "),r;if(Lr.lastIndex=0,Lr.test(t))return r=Cm.test(t),e[1]=Ed(e[1],r),e[0]=Ed(e[0],r,Zd(e[1])),!0},ys,Ct=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,x,b,E;if((m>e||m<0)&&(r+=m-t),n+=m,b=n-r,y=b-o,(y>0||v)&&(E=++d.frame,p=b-d.time*1e3,d.time=b=b/1e3,o+=y+(y>=s?4:s-y),x=1),v||(u=l(h)),x)for(f=0;f<a.length;f++)a[f](b,p,E,g)};return d={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){Od&&(!nl&&pl()&&(_r=nl=window,ml=_r.document||{},Nt.gsap=ut,(_r.gsapVersions||(_r.gsapVersions=[])).push(ut.version),Pd(qo||_r.GreenSockGlobals||!_r.gsap&&_r||{}),$d.forEach(jd)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&d.sleep(),l=c||function(g){return setTimeout(g,o-d.time*1e3+1|0)},ys=1,_(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(u),ys=0,l=Ds},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(x,b,E,w){g(x,b,E,w),d.remove(y)}:g;return d.remove(g),a[v?"unshift":"push"](y),En(),y},remove:function(g,m){~(m=a.indexOf(g))&&a.splice(m,1)&&f>=m&&f--},_listeners:a},d}(),En=function(){return!ys&&Ct.wake()},ce={},Sm=/^[\d.\-M][\d.\-,\s]/,Tm=/["']/g,Am=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(Tm,"").trim():+l,n=u.substr(a+1).trim();return t},Fm=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)},Om=function(e){var t=(e+"").split("("),r=ce[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Am(t[1])]:Fm(e).split(",").map(Rd)):ce._CE&&Sm.test(e)?ce._CE("",e):r},Qd=function(e){return function(t){return 1-e(1-t)}},Jd=function i(e,t){for(var r=e._first,n;r;)r instanceof et?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},Ii=function(e,t){return e&&(Fe(e)?e:ce[e]||Om(e))||t},Hi=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 ht(e,function(a){ce[a]=Nt[a]=s,ce[o=a.toLowerCase()]=r;for(var u in s)ce[o+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=ce[a+"."+u]=s[u]}),s},eh=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Qu=function i(e,t,r){var n=t>=1?t:1,s=(r||(e?.3:.45))/(t<1?t:1),o=s/rl*(Math.asin(1/n)||0),a=function(c){return c===1?1:n*Math.pow(2,-10*c)*nm((c-o)*s)+1},u=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:eh(a);return s=rl/s,u.config=function(l,c){return i(e,l,c)},u},Ju=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)}:eh(r);return n.config=function(s){return i(e,s)},n};ht("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var t=e<5?e+1:e;Hi(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})});ce.Linear.easeNone=ce.none=ce.Linear.easeIn;Hi("Elastic",Qu("in"),Qu("out"),Qu());(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};Hi("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);Hi("Expo",function(i){return i?Math.pow(2,10*(i-1)):0});Hi("Circ",function(i){return-(Td(1-i*i)-1)});Hi("Sine",function(i){return i===1?1:-im(i*tm)+1});Hi("Back",Ju("in"),Ju("out"),Ju());ce.SteppedEase=ce.steps=Nt.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-ge;return function(a){return((n*xs(0,o,a)|0)+s)*r}}};wn.ease=ce["quad.out"];ht("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return Dl+=i+","+i+"Params,"});var bl=function(e,t){this.id=rm++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:wl,this.set=t?t.getSetter:Jo},ws=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,we&&(this._ctx=we,we.data.push(this)),ys||Ct.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(En(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Qo(this,r),!s._dp||s.parent||Bd(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)&&gr(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===ge||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Ld(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+wd(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)+wd(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?xn(this._tTime,s)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-ge?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?Xo(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-ge?0:this._rts,this.totalTime(xs(-Math.abs(this._delay),this._tDur,s),n!==!1),Zo(this),fm(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):(En(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ge&&(this._tTime-=ge)))),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)&&gr(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?Xo(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=am);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,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,xd(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,xd(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(Wt(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?-ge:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ge,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)-ge)},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=Fe(r)?r:Nd,a=function(){var l=n.then;n.then=null,Fe(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(){hs(this)},i}();Yt(ws.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:-ge,_prom:0,_ps:!1,_rts:1});var et=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&&gr(r.parent||be,Mr(s),n),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&zd(Mr(s),r.scrollTrigger),s}var t=e.prototype;return t.to=function(n,s,o){return gs(0,arguments,this),this},t.from=function(n,s,o){return gs(1,arguments,this),this},t.fromTo=function(n,s,o,a){return gs(2,arguments,this),this},t.set=function(n,s,o){return s.duration=0,s.parent=this,_s(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Le(n,s,Wt(this,o),1),this},t.call=function(n,s,o){return gr(this,Le.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 Le(n,o,Wt(this,u)),this},t.staggerFrom=function(n,s,o,a,u,l,c){return o.runBackwards=1,_s(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,_s(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:$e(n),d=this._zTime<0!=n<0&&(this._initted||!l),p,f,_,h,g,m,v,y,x,b,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,x=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=$e(c%g),c===u?(h=this._repeat,p=l):(h=~~(c/g),h&&h===c/g&&(p=l,h--),p>l&&(p=l)),b=xn(this._tTime,g),!a&&this._tTime&&b!==h&&this._tTime-b*g-this._dur<=0&&(b=h),E&&h&1&&(p=l-p,w=1),h!==b&&!this._lock){var S=E&&b&1,A=S===(E&&h&1);if(h<b&&(S=!S),a=S?0:c%l?l:c,this._lock=1,this.render(a||(w?0:$e(h*g)),s,!l)._lock=0,this._tTime=c,!s&&this.parent&&Rt(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;Jd(this,w)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=_m(this,$e(a),$e(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&&(Rt(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=-ge);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,s,o);if(f.render(f._ts>0?(C-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(C-f._start)*f._ts,s,o||ot&&(f._initted||f._startAt)),p!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=C?-ge:ge);break}}f=_}}if(v&&!s&&(this.pause(),v.render(p>=a?0:-ge)._zTime=p>=a?1:-1,this._ts))return this._start=x,Zo(this),this.render(n,s,o);this._onUpdate&&!s&&Rt(this,"onUpdate",!0),(c===u&&this._tTime>=this.totalDuration()||!c&&a)&&(x===this._start||Math.abs(y)!==Math.abs(this._ts))&&(this._lock||((n||!l)&&(c===u&&this._ts>0||!c&&this._ts<0)&&li(this,1),!s&&!(n<0&&!a)&&(c||a||!u)&&(Rt(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(Rr(s)||(s=Wt(this,s,n)),!(n instanceof ws)){if(at(n))return n.forEach(function(a){return o.add(a,s)}),this;if(qe(n))return this.addLabel(n,s);if(Fe(n))n=Le.delayedCall(0,n);else return this}return this!==n?gr(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=-Ht);for(var u=[],l=this._first;l;)l._start>=a&&(l instanceof Le?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 qe(n)?this.removeLabel(n):Fe(n)?this.killTweensOf(n):(Ko(this,n),n===this._recent&&(this._recent=this._last),Ni(this))},t.totalTime=function(n,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=$e(Ct.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]=Wt(this,s),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,s,o){var a=Le.delayedCall(0,s||Ds,o);return a.data="isPause",this._hasPause=1,gr(this,a,Wt(this,n))},t.removePause=function(n){var s=this._first;for(n=Wt(this,n);s;)s._start===n&&s.data==="isPause"&&li(s),s=s._next},t.killTweensOf=function(n,s,o){for(var a=this.getTweensOf(n,o),u=a.length;u--;)oi!==a[u]&&a[u].kill(n,s);return this},t.getTweensOf=function(n,s){for(var o=[],a=qt(n),u=this._first,l=Rr(s),c;u;)u instanceof Le?um(u._targets,a)&&(l?(!oi||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=Wt(o,n),u=s,l=u.startAt,c=u.onStart,d=u.onStartParams,p=u.immediateRender,f,_=Le.to(o,Yt({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())||ge,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,Yt({startAt:{time:Wt(this,n)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),bd(this,Wt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),bd(this,Wt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+ge)},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 Ni(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={}),Ni(this)},t.totalDuration=function(n){var s=0,o=this,a=o._last,u=Ht,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,gr(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&&(Ld(be,Xo(n,be)),Md=Ct.frame),Ct.frame>=Dd){Dd+=Tt.autoSleep||120;var s=be._first;if((!s||!s._ts)&&Tt.autoSleep&&Ct._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Ct.sleep()}}},e}(ws);Yt(et.prototype,{_lock:0,_hasPause:0,_forcing:0});var Pm=function(e,t,r,n,s,o,a){var u=new pt(this._pt,e,t,0,1,Al,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=Cn(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)==="="?Wi(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,(gl.test(n)||m)&&(u.e=0),this._pt=u,u},El=function(e,t,r,n,s,o,a,u,l,c){Fe(n)&&(n=n(s||0,e,o));var d=e[t],p=r!=="get"?r:Fe(d)?l?e[t.indexOf("set")||!Fe(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,f=Fe(d)?l?Nm:ih:Tl,_;if(qe(n)&&(~n.indexOf("random(")&&(n=Cn(n)),n.charAt(1)==="="&&(_=Wi(p,n)+(tt(p)||0),(_||_===0)&&(n=_))),!c||p!==n||fl)return!isNaN(p*n)&&n!==""?(_=new pt(this._pt,e,t,+p||0,n-(p||0),typeof d=="boolean"?Bm:nh,0,f),l&&(_.fp=l),a&&_.modifier(a,this,e),this._pt=_):(!d&&!(t in e)&&jo(t,n),Pm.call(this,e,t,p,n,f,u||Tt.stringFilter,l))},km=function(e,t,r,n,s){if(Fe(e)&&(e=ms(e,s,t,r,n)),!mr(e)||e.style&&e.nodeType||at(e)||Ad(e))return qe(e)?ms(e,s,t,r,n):e;var o={},a;for(a in e)o[a]=ms(e[a],s,t,r,n);return o},Cl=function(e,t,r,n,s,o){var a,u,l,c;if(Et[e]&&(a=new Et[e]).init(s,a.rawVars?t[e]:km(t[e],n,s,o,r),r,n,o)!==!1&&(r._pt=u=new pt(r._pt,s,e,0,1,a.render,a,0,a.priority),r!==yn))for(l=r._ptLookup[r._targets.indexOf(s)],c=a._props.length;c--;)l[a._props[c]]=u;return a},oi,fl,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"&&!hl,x=e.timeline,b,E,w,S,A,C,O,F,k,V,z,M,R;if(x&&(!p||!s)&&(s="none"),e._ease=Ii(s,wn.ease),e._yEase=d?Qd(Ii(d===!0?s:d,wn.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!x&&!!n.runBackwards,!x||p&&!n.stagger){if(F=g[0]?ui(g[0]).harness:0,M=F&&n[F.prop],b=Uo(n,vl),h&&(h._zTime<0&&h.progress(1),t<0&&c&&a&&!f?h.render(-1,!0):h.revert(c&&_?Vo:om),h._lazy=0),o){if(li(e._startAt=Le.set(g,Yt({data:"isStart",overwrite:!1,parent:m,immediateRender:!0,lazy:!h&&St(u),startAt:null,delay:0,onUpdate:l&&function(){return Rt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(ot||!a&&!f)&&e._startAt.revert(Vo),a&&_&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(c&&_&&!h){if(t&&(a=!1),w=Yt({overwrite:!1,data:"isFromStart",lazy:a&&!h&&St(u),immediateRender:a,stagger:0,parent:m},b),M&&(w[F.prop]=M),li(e._startAt=Le.set(g,w)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(ot?e._startAt.revert(Vo):e._startAt.render(-1,!0)),e._zTime=t,!a)i(e._startAt,ge,ge);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||yl(g)[E]._gsap,e._ptLookup[E]=V={},sl[O.id]&&ai.length&&Yo(),z=v===g?E:v.indexOf(A),F&&(k=new F).init(A,M||b,e,z,v)!==!1&&(e._pt=S=new pt(e._pt,A,k.name,0,1,k.render,k,0,k.priority),k._props.forEach(function(N){V[N]=S}),k.priority&&(C=1)),!F||M)for(w in b)Et[w]&&(k=Cl(w,b,e,z,A,v))?k.priority&&(C=1):V[w]=S=El.call(e,A,w,"get",b[w],z,v,0,n.stringFilter);e._op&&e._op[E]&&e.kill(A,e._op[E]),y&&e._pt&&(oi=e,be.killTweensOf(A,V,e.globalTime(t)),R=!e.parent,oi=0),e._pt&&u&&(sl[O.id]=1)}C&&Ol(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!R,p&&t<=0&&x.render(Ht,!0,!0)},Mm=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 fl=1,e.vars[t]="+=0",Sl(e,a),fl=0,u?vs(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=Oe(r)+tt(d.e)),d.b&&(d.b=c.s+tt(d.b))},Lm=function(e,t){var r=e[0]?ui(e[0]).harness:0,n=r&&r.aliases,s,o,a,u;if(!n)return t;s=zi({},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},Rm=function(e,t,r,n){var s=t.ease||n||"power1.inOut",o,a;if(at(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})},ms=function(e,t,r,n,s){return Fe(e)?e.call(t,r,n,s):qe(e)&&~e.indexOf("random(")?Cn(e):e},th=Dl+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",rh={};ht(th+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return rh[i]=1});var Le=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:_s(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=(at(r)||Ad(r)?Rr(r[0]):"length"in n)?[r]:qt(r),x,b,E,w,S,A,C,O;if(a._targets=y.length?yl(y):vs("GSAP target "+r+" not found. https://gsap.com",!Tt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,_||p||zo(l)||zo(c)){if(n=a.vars,x=a.timeline=new et({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:y}),x.kill(),x.parent=x._dp=Mr(a),x._start=0,p||zo(l)||zo(c)){if(w=y.length,C=p&&qd(p),mr(p))for(S in p)~th.indexOf(S)&&(O||(O={}),O[S]=p[S]);for(b=0;b<w;b++)E=Uo(n,rh),E.stagger=0,m&&(E.yoyoEase=m),O&&zi(E,O),A=y[b],E.duration=+ms(l,Mr(a),b,A,y),E.delay=(+ms(c,Mr(a),b,A,y)||0)-a._delay,!p&&w===1&&E.delay&&(a._delay=c=E.delay,a._start+=c,E.delay=0),x.to(A,E,C?C(b,A,y):0),x._ease=ce.none;x.duration()?l=c=0:a.timeline=0}else if(_){_s(Yt(x.vars.defaults,{ease:"none"})),x._ease=Ii(_.ease||n.ease||"none");var F=0,k,V,z;if(at(_))_.forEach(function(M){return x.to(y,M,">")}),x.duration();else{E={};for(S in _)S==="ease"||S==="easeEach"||Rm(S,_[S],E,_.easeEach);for(S in E)for(k=E[S].sort(function(M,R){return M.t-R.t}),F=0,b=0;b<k.length;b++)V=k[b],z={ease:V.e,duration:(V.t-(b?k[b-1].t:0))/100*l},z[S]=V.v,x.to(y,z,F),F+=z.duration;x.duration()<l&&x.to({},{duration:l-x.duration()})}}l||a.duration(l=x.duration())}else a.timeline=0;return f===!0&&!hl&&(oi=Mr(a),be.killTweensOf(y),oi=0),gr(v,Mr(a),s),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(d||!l&&!_&&a._start===$e(v._time)&&St(d)&&dm(Mr(a))&&v.data!=="nested")&&(a._tTime=-ge,a.render(Math.max(0,-c)||0)),g&&zd(Mr(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-ge&&!c?u:n<ge?0:n,p,f,_,h,g,m,v,y,x;if(!l)pm(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=$e(d%h),d===u?(_=this._repeat,p=l):(_=~~(d/h),_&&_===$e(d/h)&&(p=l,_--),p>l&&(p=l)),m=this._yoyo&&_&1,m&&(x=this._yEase,p=l-p),g=xn(this._tTime,h),p===a&&!o&&this._initted&&_===g)return this._tTime=d,this;_!==g&&(y&&this._yEase&&Jd(y,m),this.vars.repeatRefresh&&!m&&!this._lock&&this._time!==h&&this._initted&&(this._lock=o=1,this.render($e(h*_),!0).invalidate()._lock=0))}if(!this._initted){if(Vd(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=(x||this._ease)(p/l),this._from&&(this.ratio=v=1-v),p&&!a&&!s&&!_&&(Rt(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&&ol(this,n,s,o),Rt(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!s&&this.parent&&Rt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&ol(this,n,!0,!0),(n||!l)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&li(this,1),!s&&!(c&&!a)&&(d||a||m)&&(Rt(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){ys||Ct.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),Mm(this,n,s,o,a,c,l,u)?this.resetTo(n,s,o,a,1):(Qo(this,0),this.parent||Id(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?hs(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,oi&&oi.vars.overwrite!==!0)._first||hs(this),this.parent&&o!==this.timeline.totalDuration()&&bn(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,u=n?qt(n):a,l=this._ptLookup,c=this._pt,d,p,f,_,h,g,m;if((!s||s==="all")&&cm(a,u))return s==="all"&&(this._pt=0),hs(this);for(d=this._op=this._op||[],s!=="all"&&(qe(s)&&(h={},ht(s,function(v){return h[v]=1}),s=h),s=Lm(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)&&Ko(this,g,"_pt"),delete p[h]),f!=="all"&&(f[h]=1)}return this._initted&&!this._pt&&c&&hs(this),this},e.to=function(n,s){return new e(n,s,arguments[2])},e.from=function(n,s){return gs(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 gs(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}(ws);Yt(Le.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});ht("staggerTo,staggerFrom,staggerFromTo",function(i){Le[i]=function(){var e=new et,t=ul.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var Tl=function(e,t,r){return e[t]=r},ih=function(e,t,r){return e[t](r)},Nm=function(e,t,r,n){return e[t](n.fp,r)},Im=function(e,t,r){return e.setAttribute(t,r)},Jo=function(e,t){return Fe(e[t])?ih:$o(e[t])&&e.setAttribute?Im:Tl},nh=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Bm=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Al=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)},Fl=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},zm=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},Vm=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Ko(this,t,"_pt"):t.dep||(r=1),t=n;return!r},Wm=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Ol=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},pt=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||nh,this.d=u||this,this.set=l||Tl,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=Wm,this.m=r,this.mt=s,this.tween=n},i}();ht(Dl+"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 vl[i]=1});Nt.TweenMax=Nt.TweenLite=Le;Nt.TimelineLite=Nt.TimelineMax=et;be=new et({sortChildren:!1,defaults:wn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Tt.stringFilter=xl;var Bi=[],Ho={},Hm=[],Cd=0,qm=0,el=function(e){return(Ho[e]||Hm).map(function(t){return t()})},dl=function(){var e=Date.now(),t=[];e-Cd>2&&(el("matchMediaInit"),Bi.forEach(function(r){var n=r.queries,s=r.conditions,o,a,u,l;for(a in n)o=_r.matchMedia(n[a]).matches,o&&(u=1),o!==s[a]&&(s[a]=o,l=1);l&&(r.revert(),u&&t.push(r))}),el("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),Cd=e,el("matchMedia"))},sh=function(){function i(t,r){this.selector=r&&ll(r),this.data=[],this._r=[],this.isReverted=!1,this.id=qm++,t&&this.add(t)}var e=i.prototype;return e.add=function(r,n,s){Fe(r)&&(s=n,n=r,r=Fe);var o=this,a=function(){var l=we,c=o.selector,d;return l&&l!==o&&l.data.push(o),s&&(o.selector=ll(s)),we=o,d=n.apply(o,arguments),Fe(d)&&o._r.push(d),we=l,o.selector=c,o.isReverted=!1,d};return o.last=a,r===Fe?a(o,function(u){return o.add(null,u)}):r?o[r]=a:a},e.ignore=function(r){var n=we;we=null,r(this),we=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof i?r.push.apply(r,n.getTweens()):n instanceof Le&&!(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 et?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof Le)&&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=Bi.length;o--;)Bi[o].id===this.id&&Bi.splice(o,1)},e.revert=function(r){this.kill(r||{})},i}(),Ym=function(){function i(t){this.contexts=[],this.scope=t,we&&we.data.push(this)}var e=i.prototype;return e.add=function(r,n,s){mr(r)||(r={matches:r});var o=new sh(0,s||this.scope),a=o.conditions={},u,l,c;we&&!o.selector&&(o.selector=we.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=r;for(l in r)l==="all"?c=1:(u=_r.matchMedia(r[l]),u&&(Bi.indexOf(o)<0&&Bi.push(o),(a[l]=u.matches)&&(c=1),u.addListener?u.addListener(dl):u.addEventListener("change",dl)));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}(),Go={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 et(e)},getTweensOf:function(e,t){return be.getTweensOf(e,t)},getProperty:function(e,t,r,n){qe(e)&&(e=qt(e)[0]);var s=ui(e||{}).get,o=r?Nd:Rd;return r==="native"&&(r=""),e&&(t?o((Et[t]&&Et[t].get||s)(e,t,r,n)):function(a,u,l){return o((Et[a]&&Et[a].get||s)(e,a,u,l))})},quickSetter:function(e,t,r){if(e=qt(e),e.length>1){var n=e.map(function(c){return ut.quickSetter(c,t,r)}),s=n.length;return function(c){for(var d=s;d--;)n[d](c)}}e=e[0]||{};var o=Et[t],a=ui(e),u=a.harness&&(a.harness.aliases||{})[t]||t,l=o?function(c){var d=new o;yn._pt=0,d.init(e,r?c+r:c,yn,0,[e]),d.render(1,d),yn._pt&&Fl(1,yn)}: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=ut.to(e,zi((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=Ii(e.ease,wn.ease)),yd(wn,e||{})},config:function(e){return yd(Tt,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&&!Et[a]&&!Nt[a]&&vs(t+" effect requires "+a+" plugin.")}),Ku[t]=function(a,u,l){return r(qt(a),Yt(u||{},s),l)},o&&(et.prototype[t]=function(a,u,l){return this.add(Ku[t](a,mr(u)?u:(l=u)&&{},this),l)})},registerEase:function(e,t){ce[e]=Ii(t)},parseEase:function(e,t){return arguments.length?Ii(e,t):ce},getById:function(e){return be.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new et(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 Le&&n.vars.onComplete===n._targets[0]))&&gr(r,n,n._start-n._delay),n=s;return gr(be,r,0),r},context:function(e,t){return e?new sh(e,t):we},matchMedia:function(e){return new Ym(e)},matchMediaRefresh:function(){return Bi.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||dl()},addEventListener:function(e,t){var r=Ho[e]||(Ho[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Ho[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:xm,wrapYoyo:bm,distribute:qd,random:Ud,snap:Yd,normalize:wm,getUnit:tt,clamp:mm,splitColor:Kd,toArray:qt,selector:ll,mapRange:Gd,pipe:Dm,unitize:ym,interpolate:Em,shuffle:Hd},install:Pd,effects:Ku,ticker:Ct,updateRoot:et.updateRoot,plugins:Et,globalTimeline:be,core:{PropTween:pt,globals:kd,Tween:Le,Timeline:et,Animation:ws,getCache:ui,_removeLinkedListItem:Ko,reverting:function(){return ot},context:function(e){return e&&we&&(we.data.push(e),e._ctx=we),we},suppressOverwrites:function(e){return hl=e}}};ht("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return Go[i]=Le[i]});Ct.add(et.updateRoot);yn=Go.to({},{duration:0});var Um=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Xm=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=Um(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[s],n))},tl=function(e,t){return{name:e,rawVars:1,init:function(n,s,o){o._onInit=function(a){var u,l;if(qe(s)&&(u={},ht(s,function(c){return u[c]=1}),s=u),t){u={};for(l in s)u[l]=t(s[l]);s=u}Xm(a,s)}}}},ut=Go.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;)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)}},tl("roundProps",cl),tl("modifiers"),tl("snap",Yd))||Go;Le.version=et.version=ut.version="3.12.5";Od=1;pl()&&En();var Gm=ce.Power0,$m=ce.Power1,jm=ce.Power2,Km=ce.Power3,Zm=ce.Power4,Qm=ce.Linear,Jm=ce.Quad,ev=ce.Cubic,tv=ce.Quart,rv=ce.Quint,iv=ce.Strong,nv=ce.Elastic,sv=ce.Back,ov=ce.SteppedEase,av=ce.Bounce,uv=ce.Sine,lv=ce.Expo,cv=ce.Circ;var oh,fi,Tn,Il,Xi,fv,ah,Bl,dv=function(){return typeof window<"u"},Ir={},Ui=180/Math.PI,An=Math.PI/180,Sn=Math.atan2,uh=1e8,zl=/([A-Z])/g,hv=/(left|right|width|margin|padding|x)/i,pv=/[\s,\(]\S/,vr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ml=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},_v=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)},gv=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)},mv=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},_h=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},gh=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},vv=function(e,t,r){return e.style[t]=r},Dv=function(e,t,r){return e.style.setProperty(t,r)},yv=function(e,t,r){return e._gsap[t]=r},wv=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},xv=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)},Ee="transform",At=Ee+"Origin",Ev=function i(e,t){var r=this,n=this.target,s=n.style,o=n._gsap;if(e in Ir&&s){if(this.tfm=this.tfm||{},e!=="transform")e=vr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=Nr(n,a)}):this.tfm[e]=o.x?o[e]:Nr(n,e),e===At&&(this.tfm.zOrigin=o.zOrigin);else return vr.transform.split(",").forEach(function(a){return i.call(r,a,t)});if(this.props.indexOf(Ee)>=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(At,t,"")),e=Ee}(s||t)&&this.props.push(e,t,s[e])},mh=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Cv=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(zl,"-$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=Bl(),(!s||!s.isStart)&&!r[Ee]&&(mh(r),n.zOrigin&&r[At]&&(r[At]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},vh=function(e,t){var r={target:e,props:[],revert:Cv,save:Ev};return e._gsap||ut.core.getCache(e),t&&t.split(",").forEach(function(n){return r.save(n)}),r},Dh,Ll=function(e,t){var r=fi.createElementNS?fi.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):fi.createElement(e);return r&&r.style?r:fi.createElement(e)},Dr=function i(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(zl,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&i(e,Fn(t)||t,1)||""},lh="O,Moz,ms,Ms,Webkit".split(","),Fn=function(e,t,r){var n=t||Xi,s=n.style,o=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(lh[o]+e in s););return o<0?null:(o===3?"ms":o>=0?lh[o]:"")+e},Rl=function(){dv()&&window.document&&(oh=window,fi=oh.document,Tn=fi.documentElement,Xi=Ll("div")||{style:{}},fv=Ll("div"),Ee=Fn(Ee),At=Ee+"Origin",Xi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Dh=!!Fn("perspective"),Bl=ut.core.reverting,Il=1)},Pl=function i(e){var t=Ll("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(Tn.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)),Tn.removeChild(t),this.style.cssText=s,o},ch=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},yh=function(e){var t;try{t=e.getBBox()}catch{t=Pl.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Pl||(t=Pl.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+ch(e,["x","cx","x1"])||0,y:+ch(e,["y","cy","y1"])||0,width:0,height:0}:t},wh=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&yh(e))},Gi=function(e,t){if(t){var r=e.style,n;t in Ir&&t!==At&&(t=Ee),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(zl,"-$1").toLowerCase())):r.removeAttribute(t)}},di=function(e,t,r,n,s,o){var a=new pt(e._pt,t,r,0,1,o?gh:_h);return e._pt=a,a.b=n,a.e=s,e._props.push(r),a},fh={deg:1,rad:1,turn:1},Sv={grid:1,flex:1},hi=function i(e,t,r,n){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=Xi.style,u=hv.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||fh[n]||fh[o])return s;if(o!=="px"&&!p&&(s=i(e,t,r,"px")),m=e.getCTM&&wh(e),(f||o==="%")&&(Ir[t]||~t.indexOf("adius")))return _=m?e.getBBox()[u?"width":"height"]:e[c],Oe(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===fi||!h.appendChild)&&(h=fi.body),g=h._gsap,g&&f&&g.width&&u&&g.time===Ct.time&&!g.uncache)return Oe(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:Gi(e,t)}else(f||o==="%")&&!Sv[Dr(h,"display")]&&(a.position=Dr(e,"position")),h===e&&(a.position="static"),h.appendChild(Xi),_=Xi[c],h.removeChild(Xi),a.position="absolute";return u&&f&&(g=ui(h),g.time=Ct.time,g.width=h[c]),Oe(p?_*s/d:_&&s?d/_*s:0)},Nr=function(e,t,r,n){var s;return Il||Rl(),t in vr&&t!=="transform"&&(t=vr[t],~t.indexOf(",")&&(t=t.split(",")[0])),Ir[t]&&t!=="transform"?(s=Cs(e,n),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:ta(Dr(e,At))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=ea[t]&&ea[t](e,t,r)||Dr(e,t)||wl(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?hi(e,t,s,r)+r:s},Tv=function(e,t,r,n){if(!r||r==="none"){var s=Fn(t,e,1),o=s&&Dr(e,s,1);o&&o!==r?(t=s,r=o):t==="borderColor"&&(r=Dr(e,"borderTopColor"))}var a=new pt(this._pt,e.style,t,0,1,Al),u=0,l=0,c,d,p,f,_,h,g,m,v,y,x,b;if(a.b=r,a.e=n,r+="",n+="",n==="auto"&&(h=e.style[t],e.style[t]=n,n=Dr(e,t)||n,h?e.style[t]=h:Gi(e,t)),c=[r,n],xl(c),r=c[0],n=c[1],p=r.match(Vi)||[],b=n.match(Vi)||[],b.length){for(;d=Vi.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,x=h.substr((f+"").length),g.charAt(1)==="="&&(g=Wi(f,g)+x),m=parseFloat(g),y=g.substr((m+"").length),u=Vi.lastIndex-y.length,y||(y=y||Tt.units[t]||x,u===n.length&&(n+=y,a.e+=y)),x!==y&&(f=hi(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"?gh:_h;return gl.test(n)&&(a.e=0),this._pt=a,a},dh={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Av=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]=dh[r]||r,t[1]=dh[n]||n,t.join(" ")},Fv=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],Ir[a]&&(u=1,a=a==="transformOrigin"?At:Ee),Gi(r,a);u&&(Gi(r,Ee),o&&(o.svg&&r.removeAttribute("transform"),Cs(r,1),o.uncache=1,mh(n)))}},ea={clearProps:function(e,t,r,n,s){if(s.data!=="isFromStart"){var o=e._pt=new pt(e._pt,t,r,0,0,Fv);return o.u=n,o.pr=-10,o.tween=s,e._props.push(r),1}}},Es=[1,0,0,1,0,0],xh={},bh=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},hh=function(e){var t=Dr(e,Ee);return bh(t)?Es:t.substr(7).match(_l).map(Oe)},Vl=function(e,t){var r=e._gsap||ui(e),n=e.style,s=hh(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"?Es:s):(s===Es&&!e.offsetParent&&e!==Tn&&!r.svg&&(u=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent)&&(l=1,a=e.nextElementSibling,Tn.appendChild(e)),s=hh(e),u?n.display=u:Gi(e,"display"),l&&(a?o.insertBefore(e,a):o?o.appendChild(e):Tn.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Nl=function(e,t,r,n,s,o){var a=e._gsap,u=s||Vl(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(" "),x=parseFloat(y[0])||0,b=parseFloat(y[1])||0,E,w,S,A;r?u!==Es&&(w=f*g-_*h)&&(S=x*(g/w)+b*(-h/w)+(h*v-g*m)/w,A=x*(-_/w)+b*(f/w)-(f*v-_*m)/w,x=S,b=A):(E=yh(e),x=E.x+(~y[0].indexOf("%")?x/100*E.width:x),b=E.y+(~(y[1]||y[0]).indexOf("%")?b/100*E.height:b)),n||n!==!1&&a.smooth?(m=x-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=x,a.yOrigin=b,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!r,e.style[At]="0px 0px",o&&(di(o,a,"xOrigin",l,x),di(o,a,"yOrigin",c,b),di(o,a,"xOffset",d,a.xOffset),di(o,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",x+" "+b)},Cs=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=Dr(e,At)||"0",c,d,p,f,_,h,g,m,v,y,x,b,E,w,S,A,C,O,F,k,V,z,M,R,N,T,D,L,U,re,X,G;return c=d=p=h=g=m=v=y=x=0,f=_=1,r.svg=!!(e.getCTM&&wh(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(n[Ee]=(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[Ee]!=="none"?u[Ee]:"")),n.scale=n.rotate=n.translate="none"),w=Vl(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"),Nl(e,R||l,!!R||r.originIsAbsolute,r.smooth!==!1,w)),b=r.xOrigin||0,E=r.yOrigin||0,w!==Es&&(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)*Ui:0,v=k||V?Sn(k,V)*Ui+h:0,v&&(_*=Math.abs(Math.cos(v*An))),r.svg&&(c-=b-(b*O+E*k),d-=E-(b*F+E*V))):(G=w[6],re=w[7],D=w[8],L=w[9],U=w[10],X=w[11],c=w[12],d=w[13],p=w[14],S=Sn(G,U),g=S*Ui,S&&(A=Math.cos(-S),C=Math.sin(-S),R=z*A+D*C,N=M*A+L*C,T=G*A+U*C,D=z*-C+D*A,L=M*-C+L*A,U=G*-C+U*A,X=re*-C+X*A,z=R,M=N,G=T),S=Sn(-k,U),m=S*Ui,S&&(A=Math.cos(-S),C=Math.sin(-S),R=O*A-D*C,N=F*A-L*C,T=k*A-U*C,X=V*C+X*A,O=R,F=N,k=T),S=Sn(F,O),h=S*Ui,S&&(A=Math.cos(S),C=Math.sin(S),R=O*A+F*C,N=z*A+M*C,F=F*A-O*C,M=M*A-z*C,O=R,z=N),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,m=180-m),f=Oe(Math.sqrt(O*O+F*F+k*k)),_=Oe(Math.sqrt(M*M+G*G)),S=Sn(z,M),v=Math.abs(S)>2e-4?S*Ui:0,x=X?1/(X<0?-X:X):0),r.svg&&(R=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!bh(Dr(e,Ee)),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=Oe(f),r.scaleY=Oe(_),r.rotation=Oe(h)+a,r.rotationX=Oe(g)+a,r.rotationY=Oe(m)+a,r.skewX=v+a,r.skewY=y+a,r.transformPerspective=x+o,(r.zOrigin=parseFloat(l.split(" ")[2])||!t&&r.zOrigin||0)&&(n[At]=ta(l)),r.xOffset=r.yOffset=0,r.force3D=Tt.force3D,r.renderTransform=r.svg?Pv:Dh?Eh:Ov,r.uncache=0,r},ta=function(e){return(e=e.split(" "))[0]+" "+e[1]},kl=function(e,t,r){var n=tt(t);return Oe(parseFloat(t)+parseFloat(hi(e,"x",r+"px",n)))+n},Ov=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Eh(e,t)},qi="0deg",bs="0px",Yi=") ",Eh=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,x="",b=m==="auto"&&e&&e!==1||m===!0;if(y&&(d!==qi||c!==qi)){var E=parseFloat(c)*An,w=Math.sin(E),S=Math.cos(E),A;E=parseFloat(d)*An,A=Math.cos(E),o=kl(v,o,w*A*-y),a=kl(v,a,-Math.sin(E)*-y),u=kl(v,u,S*A*-y+y)}g!==bs&&(x+="perspective("+g+Yi),(n||s)&&(x+="translate("+n+"%, "+s+"%) "),(b||o!==bs||a!==bs||u!==bs)&&(x+=u!==bs||b?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+Yi),l!==qi&&(x+="rotate("+l+Yi),c!==qi&&(x+="rotateY("+c+Yi),d!==qi&&(x+="rotateX("+d+Yi),(p!==qi||f!==qi)&&(x+="skew("+p+", "+f+Yi),(_!==1||h!==1)&&(x+="scale("+_+", "+h+Yi),v.style[Ee]=x||"translate(0, 0)"},Pv=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),x=parseFloat(a),b,E,w,S,A;u=parseFloat(u),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,u+=c),u||l?(u*=An,l*=An,b=Math.cos(u)*d,E=Math.sin(u)*d,w=Math.sin(u-l)*-p,S=Math.cos(u-l)*p,l&&(c*=An,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,E*=A)),b=Oe(b),E=Oe(E),w=Oe(w),S=Oe(S)):(b=d,S=p,E=w=0),(y&&!~(o+"").indexOf("px")||x&&!~(a+"").indexOf("px"))&&(y=hi(f,"x",o,"px"),x=hi(f,"y",a,"px")),(_||h||g||m)&&(y=Oe(y+_-(_*b+h*w)+g),x=Oe(x+h-(_*E+h*S)+m)),(n||s)&&(A=f.getBBox(),y=Oe(y+n/100*A.width),x=Oe(x+s/100*A.height)),A="matrix("+b+","+E+","+w+","+S+","+y+","+x+")",f.setAttribute("transform",A),v&&(f.style[Ee]=A)},kv=function(e,t,r,n,s){var o=360,a=qe(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?Ui: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*uh)%o-~~(l/o)*o:d==="ccw"&&l>0&&(l=(l-o*uh)%o-~~(l/o)*o)),e._pt=p=new pt(e._pt,t,r,n,l,_v),p.e=c,p.u="deg",e._props.push(r),p},ph=function(e,t){for(var r in t)e[r]=t[r];return e},Mv=function(e,t,r){var n=ph({},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[Ee]=t,a=Cs(r,1),Gi(r,Ee),r.setAttribute("transform",l)):(l=getComputedStyle(r)[Ee],o[Ee]=t,a=Cs(r,1),o[Ee]=l);for(u in Ir)l=n[u],c=a[u],l!==c&&s.indexOf(u)<0&&(f=tt(l),_=tt(c),d=f!==_?hi(r,u,l,_):parseFloat(l),p=parseFloat(c),e._pt=new pt(e._pt,a,u,d,p-d,Ml),e._pt.u=_||0,e._props.push(u));ph(a,n)};ht("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});ea[e>1?"border"+i:i]=function(a,u,l,c,d){var p,f;if(arguments.length<4)return p=o.map(function(_){return Nr(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 Wl={name:"css",register:Rl,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,x,b,E,w,S;Il||Rl(),this.styles=this.styles||vh(e),S=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(c=t[h],!(Et[h]&&Cl(h,t,r,n,e,s)))){if(f=typeof c,_=ea[h],f==="function"&&(c=c.call(r,n,e,s),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=Cn(c)),_)_(this,e,h,c,r)&&(w=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(h)+"").trim(),c+="",Lr.lastIndex=0,Lr.test(l)||(g=tt(l),m=tt(c)),m?g!==m&&(l=hi(e,h,l,m)+m):g&&(c+=g),this.add(a,"setProperty",l,c,n,s,0,0,h),o.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,s):u[h],qe(l)&&~l.indexOf("random(")&&(l=Cn(l)),tt(l+"")||l==="auto"||(l+=Tt.units[h]||tt(Nr(e,h))||""),(l+"").charAt(1)==="="&&(l=Nr(e,h))):l=Nr(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 vr&&(h==="autoAlpha"&&(p===1&&Nr(e,"visibility")==="hidden"&&d&&(p=0),S.push("visibility",0,a.visibility),di(this,a,"visibility",p?"inherit":"hidden",d?"inherit":"hidden",!d)),h!=="scale"&&h!=="transform"&&(h=vr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),y=h in Ir,y){if(this.styles.save(h),x||(b=e._gsap,b.renderTransform&&!t.parseTransform||Cs(e,t.parseTransform),E=t.smoothOrigin!==!1&&b.smooth,x=this._pt=new pt(this._pt,a,Ee,0,1,b.renderTransform,b,0,-1),x.dep=1),h==="scale")this._pt=new pt(this._pt,b,"scaleY",b.scaleY,(v?Wi(b.scaleY,v+d):d)-b.scaleY||0,Ml),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){S.push(At,0,a[At]),c=Av(c),b.svg?Nl(e,c,0,E,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==b.zOrigin&&di(this,b,"zOrigin",b.zOrigin,m),di(this,a,h,ta(l),ta(c)));continue}else if(h==="svgOrigin"){Nl(e,c,1,E,0,this);continue}else if(h in xh){kv(this,b,h,p,v?Wi(p,v+c):c);continue}else if(h==="smoothOrigin"){di(this,b,"smooth",b.smooth,c);continue}else if(h==="force3D"){b[h]=c;continue}else if(h==="transform"){Mv(this,c,e);continue}}else h in a||(h=Fn(h)||h);if(y||(d||d===0)&&(p||p===0)&&!pv.test(c)&&h in a)g=(l+"").substr((p+"").length),d||(d=0),m=tt(c)||(h in Tt.units?Tt.units[h]:g),g!==m&&(p=hi(e,h,l,m)),this._pt=new pt(this._pt,y?b:a,h,p,(v?Wi(p,v+d):d)-p,!y&&(m==="px"||h==="zIndex")&&t.autoRound!==!1?mv:Ml),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=l,this._pt.r=gv);else if(h in a)Tv.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?S.push(h,0,a[h]):S.push(h,1,l||e[h])),o.push(h)}}w&&Ol(this)},render:function(e,t){if(t.tween._time||!Bl())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Nr,aliases:vr,getSetter:function(e,t,r){var n=vr[t];return n&&n.indexOf(",")<0&&(t=n),t in Ir&&t!==At&&(e._gsap.x||Nr(e,"x"))?r&&ah===r?t==="scale"?wv:yv:(ah=r||{})&&(t==="scale"?xv:bv):e.style&&!$o(e.style[t])?vv:~t.indexOf("-")?Dv:Jo(e,t)},core:{_removeProperty:Gi,_getMatrix:Vl}};ut.utils.checkPrefix=Fn;ut.core.getStyleSaver=vh;(function(i,e,t,r){var n=ht(i+","+e+","+t,function(s){Ir[s]=1});ht(e,function(s){Tt.units[s]="deg",xh[s]=1}),vr[n[13]]=i+","+e,ht(r,function(s){var o=s.split(":");vr[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");ht("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){Tt.units[i]="px"});ut.registerPlugin(Wl);var H=ut.registerPlugin(Wl)||ut,_1=H.core.Tween;function Ch(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 Lv(i,e,t){return e&&Ch(i.prototype,e),t&&Ch(i,t),i}var rt,na,Rv,It,pi,_i,Pn,Th,$i,Ts,Ah,Br,sr,Fh,Oh=function(){return rt||typeof window<"u"&&(rt=window.gsap)&&rt.registerPlugin&&rt},Ph=1,On=[],oe=[],or=[],As=Date.now,Hl=function(e,t){return t},Nv=function(){var e=Ts.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,oe),n.push.apply(n,or),oe=r,or=n,Hl=function(o,a){return t[o](a)}},Vr=function(e,t){return~or.indexOf(e)&&or[or.indexOf(e)+1][t]},Fs=function(e){return!!~Ah.indexOf(e)},gt=function(e,t,r,n,s){return e.addEventListener(t,r,{passive:n!==!1,capture:!!s})},_t=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},ra="scrollLeft",ia="scrollTop",ql=function(){return Br&&Br.isPressed||oe.cache++},sa=function(e,t){var r=function n(s){if(s||s===0){Ph&&(It.history.scrollRestoration="manual");var o=Br&&Br.isPressed;s=n.v=Math.round(s)||(Br&&Br.iOS?1:0),e(s),n.cacheID=oe.cache,o&&Hl("ss",s)}else(t||oe.cache!==n.cacheID||Hl("ref"))&&(n.cacheID=oe.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},lt={s:ra,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:sa(function(i){return arguments.length?It.scrollTo(i,Be.sc()):It.pageXOffset||pi[ra]||_i[ra]||Pn[ra]||0})},Be={s:ia,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:lt,sc:sa(function(i){return arguments.length?It.scrollTo(lt.sc(),i):It.pageYOffset||pi[ia]||_i[ia]||Pn[ia]||0})},mt=function(e,t){return(t&&t._ctx&&t._ctx.selector||rt.utils.toArray)(e)[0]||(typeof e=="string"&&rt.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},zr=function(e,t){var r=t.s,n=t.sc;Fs(e)&&(e=pi.scrollingElement||_i);var s=oe.indexOf(e),o=n===Be.sc?1:2;!~s&&(s=oe.push(e)-1),oe[s+o]||gt(e,"scroll",ql);var a=oe[s+o],u=a||(oe[s+o]=sa(Vr(e,r),!0)||(Fs(e)?n:sa(function(l){return arguments.length?e[r]=l:e[r]})));return u.target=e,a||(u.smooth=rt.getProperty(e,"scrollBehavior")==="smooth"),u},oa=function(e,t,r){var n=e,s=e,o=As(),a=o,u=t||50,l=Math.max(500,u*3),c=function(_,h){var g=As();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=As();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},kh=function(){Ts=rt.core.globals().ScrollTrigger,Ts&&Ts.core&&Nv()},Mh=function(e){return rt=e||Oh(),!na&&rt&&typeof document<"u"&&document.body&&(It=window,pi=document,_i=pi.documentElement,Pn=pi.body,Ah=[It,pi,_i,Pn],Rv=rt.utils.clamp,Fh=rt.core.context||function(){},$i="onpointerenter"in Pn?"pointer":"mouse",Th=Pe.isTouch=It.matchMedia&&It.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in It||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,sr=Pe.eventTypes=("ontouchstart"in _i?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in _i?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Ph=0},500),kh(),na=1),na};lt.op=Be;oe.cache=0;var Pe=function(){function i(t){this.init(t)}var e=i.prototype;return e.init=function(r){na||Mh(rt)||console.warn("Please gsap.registerPlugin(Observer)"),Ts||kh();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,x=r.onRelease,b=r.onRight,E=r.onLeft,w=r.onUp,S=r.onDown,A=r.onChangeX,C=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,re=r.onDisable,X=r.onClick,G=r.scrollSpeed,I=r.capture,Y=r.allowClicks,de=r.lockAxis,ne=r.onLockAxis;this.target=a=mt(a)||_i,this.vars=r,f&&(f=rt.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(It.getComputedStyle(Pn).lineHeight)||22);var se,Ze,bt,B,Q,Te,Ve,P=this,Mt=0,Ar=0,Zr=r.passive||!c,Re=zr(a,lt),Qr=zr(a,Be),Ci=Re(),fn=Qr(),Xe=~o.indexOf("touch")&&!~o.indexOf("pointer")&&sr[0]==="pointerdown",Jr=Fs(a),ke=a.ownerDocument||pi,Qt=[0,0,0],Vt=[0,0,0],Fr=0,Zn=function(){return Fr=As()},Ne=function(Z,he){return(P.event=Z)&&f&&~f.indexOf(Z.target)||he&&Xe&&Z.pointerType!=="touch"||R&&R(Z,he)},go=function(){P._vx.reset(),P._vy.reset(),Ze.pause(),d&&d(P)},ei=function(){var Z=P.deltaX=Sh(Qt),he=P.deltaY=Sh(Vt),W=Math.abs(Z)>=n,te=Math.abs(he)>=n;O&&(W||te)&&O(P,Z,he,Qt,Vt),W&&(b&&P.deltaX>0&&b(P),E&&P.deltaX<0&&E(P),A&&A(P),F&&P.deltaX<0!=Mt<0&&F(P),Mt=P.deltaX,Qt[0]=Qt[1]=Qt[2]=0),te&&(S&&P.deltaY>0&&S(P),w&&P.deltaY<0&&w(P),C&&C(P),k&&P.deltaY<0!=Ar<0&&k(P),Ar=P.deltaY,Vt[0]=Vt[1]=Vt[2]=0),(B||bt)&&(M&&M(P),bt&&(v(P),bt=!1),B=!1),Te&&!(Te=!1)&&ne&&ne(P),Q&&(L(P),Q=!1),se=0},dn=function(Z,he,W){Qt[W]+=Z,Vt[W]+=he,P._vx.update(Z),P._vy.update(he),l?se||(se=requestAnimationFrame(ei)):ei()},hn=function(Z,he){de&&!Ve&&(P.axis=Ve=Math.abs(Z)>Math.abs(he)?"x":"y",Te=!0),Ve!=="y"&&(Qt[2]+=Z,P._vx.update(Z,!0)),Ve!=="x"&&(Vt[2]+=he,P._vy.update(he,!0)),l?se||(se=requestAnimationFrame(ei)):ei()},ti=function(Z){if(!Ne(Z,1)){Z=Ss(Z,c);var he=Z.clientX,W=Z.clientY,te=he-P.x,j=W-P.y,J=P.isDragging;P.x=he,P.y=W,(J||Math.abs(P.startX-he)>=s||Math.abs(P.startY-W)>=s)&&(v&&(bt=!0),J||(P.isDragging=!0),hn(te,j),J||g&&g(P))}},Si=P.onPress=function(ee){Ne(ee,1)||ee&&ee.button||(P.axis=Ve=null,Ze.pause(),P.isPressed=!0,ee=Ss(ee),Mt=Ar=0,P.startX=P.x=ee.clientX,P.startY=P.y=ee.clientY,P._vx.reset(),P._vy.reset(),gt(N?a:ke,sr[1],ti,Zr,!0),P.deltaX=P.deltaY=0,y&&y(P))},ue=P.onRelease=function(ee){if(!Ne(ee,1)){_t(N?a:ke,sr[1],ti,!0);var Z=!isNaN(P.y-P.startY),he=P.isDragging,W=he&&(Math.abs(P.x-P.startX)>3||Math.abs(P.y-P.startY)>3),te=Ss(ee);!W&&Z&&(P._vx.reset(),P._vy.reset(),c&&Y&&rt.delayedCall(.08,function(){if(As()-Fr>300&&!ee.defaultPrevented){if(ee.target.click)ee.target.click();else if(ke.createEvent){var j=ke.createEvent("MouseEvents");j.initMouseEvent("click",!0,!0,It,1,te.screenX,te.screenY,te.clientX,te.clientY,!1,!1,!1,!1,0,null),ee.target.dispatchEvent(j)}}})),P.isDragging=P.isGesturing=P.isPressed=!1,d&&he&&!N&&Ze.restart(!0),m&&he&&m(P),x&&x(P,W)}},Ti=function(Z){return Z.touches&&Z.touches.length>1&&(P.isGesturing=!0)&&T(Z,P.isDragging)},Jt=function(){return(P.isGesturing=!1)||D(P)},er=function(Z){if(!Ne(Z)){var he=Re(),W=Qr();dn((he-Ci)*G,(W-fn)*G,1),Ci=he,fn=W,d&&Ze.restart(!0)}},tr=function(Z){if(!Ne(Z)){Z=Ss(Z,c),L&&(Q=!0);var he=(Z.deltaMode===1?u:Z.deltaMode===2?It.innerHeight:1)*_;dn(Z.deltaX*he,Z.deltaY*he,0),d&&!N&&Ze.restart(!0)}},Ai=function(Z){if(!Ne(Z)){var he=Z.clientX,W=Z.clientY,te=he-P.x,j=W-P.y;P.x=he,P.y=W,B=!0,d&&Ze.restart(!0),(te||j)&&hn(te,j)}},pn=function(Z){P.event=Z,V(P)},Or=function(Z){P.event=Z,z(P)},Qn=function(Z){return Ne(Z)||Ss(Z,c)&&X(P)};Ze=P._dc=rt.delayedCall(p||.25,go).pause(),P.deltaX=P.deltaY=0,P._vx=oa(0,50,!0),P._vy=oa(0,50,!0),P.scrollX=Re,P.scrollY=Qr,P.isDragging=P.isGesturing=P.isPressed=!1,Fh(this),P.enable=function(ee){return P.isEnabled||(gt(Jr?ke:a,"scroll",ql),o.indexOf("scroll")>=0&>(Jr?ke:a,"scroll",er,Zr,I),o.indexOf("wheel")>=0&>(a,"wheel",tr,Zr,I),(o.indexOf("touch")>=0&&Th||o.indexOf("pointer")>=0)&&(gt(a,sr[0],Si,Zr,I),gt(ke,sr[2],ue),gt(ke,sr[3],ue),Y&>(a,"click",Zn,!0,!0),X&>(a,"click",Qn),T&>(ke,"gesturestart",Ti),D&>(ke,"gestureend",Jt),V&>(a,$i+"enter",pn),z&>(a,$i+"leave",Or),M&>(a,$i+"move",Ai)),P.isEnabled=!0,ee&&ee.type&&Si(ee),U&&U(P)),P},P.disable=function(){P.isEnabled&&(On.filter(function(ee){return ee!==P&&Fs(ee.target)}).length||_t(Jr?ke:a,"scroll",ql),P.isPressed&&(P._vx.reset(),P._vy.reset(),_t(N?a:ke,sr[1],ti,!0)),_t(Jr?ke:a,"scroll",er,I),_t(a,"wheel",tr,I),_t(a,sr[0],Si,I),_t(ke,sr[2],ue),_t(ke,sr[3],ue),_t(a,"click",Zn,!0),_t(a,"click",Qn),_t(ke,"gesturestart",Ti),_t(ke,"gestureend",Jt),_t(a,$i+"enter",pn),_t(a,$i+"leave",Or),_t(a,$i+"move",Ai),P.isEnabled=P.isPressed=P.isDragging=!1,re&&re(P))},P.kill=P.revert=function(){P.disable();var ee=On.indexOf(P);ee>=0&&On.splice(ee,1),Br===P&&(Br=0)},On.push(P),N&&Fs(a)&&(Br=P),P.enable(h)},Lv(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();Pe.version="3.12.5";Pe.create=function(i){return new Pe(i)};Pe.register=Mh;Pe.getAll=function(){return On.slice()};Pe.getById=function(i){return On.filter(function(e){return e.vars.id===i})[0]};Oh()&&rt.registerPlugin(Pe);var q,Ln,fe,Ce,ar,De,Zh,xa,Hs,Ns,Ps,aa,ct,Sa,Zl,Dt,Lh,Rh,Rn,Qh,Yl,Jh,vt,Ql,ep,tp,gi,Jl,nc,Nn,sc,ba,ec,Ul,ua=1,ft=Date.now,Xl=ft(),Gt=0,ks=0,Nh=function(e,t,r){var n=zt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},Ih=function(e,t){return t&&(!zt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Iv=function i(){return ks&&requestAnimationFrame(i)},Bh=function(){return Sa=1},zh=function(){return Sa=0},yr=function(e){return e},Ms=function(e){return Math.round(e*1e5)/1e5||0},rp=function(){return typeof window<"u"},ip=function(){return q||rp()&&(q=window.gsap)&&q.registerPlugin&&q},en=function(e){return!!~Zh.indexOf(e)},np=function(e){return(e==="Height"?sc:fe["inner"+e])||ar["client"+e]||De["client"+e]},sp=function(e){return Vr(e,"getBoundingClientRect")||(en(e)?function(){return wa.width=fe.innerWidth,wa.height=sc,wa}:function(){return Wr(e)})},Bv=function(e,t,r){var n=r.d,s=r.d2,o=r.a;return(o=Vr(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?np(s):e["client"+s])||0}},zv=function(e,t){return!t||~or.indexOf(e)?sp(e):function(){return wa}},wr=function(e,t){var r=t.s,n=t.d2,s=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=Vr(e,r))?o()-sp(e)()[s]:en(e)?(ar[r]||De[r])-np(n):e[r]-e["offset"+n])},la=function(e,t){for(var r=0;r<Rn.length;r+=3)(!t||~t.indexOf(Rn[r+1]))&&e(Rn[r],Rn[r+1],Rn[r+2])},zt=function(e){return typeof e=="string"},wt=function(e){return typeof e=="function"},Ls=function(e){return typeof e=="number"},ji=function(e){return typeof e=="object"},Os=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},Gl=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)}},kn=Math.abs,op="left",ap="top",oc="right",ac="bottom",Zi="width",Qi="height",Is="Right",Bs="Left",zs="Top",Vs="Bottom",ze="padding",Ut="margin",Bn="Width",uc="Height",Ye="px",Xt=function(e){return fe.getComputedStyle(e)},Vv=function(e){var t=Xt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},Vh=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Wr=function(e,t){var r=t&&Xt(e)[Zl]!=="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},Ea=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},up=function(e){var t=[],r=e.labels,n=e.duration(),s;for(s in r)t.push(r[s]/n);return t},Wv=function(e){return function(t){return q.utils.snap(up(e),t)}},lc=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)}},Hv=function(e){return function(t,r){return lc(up(e))(t,r.direction)}},ca=function(e,t,r,n){return r.split(",").forEach(function(s){return e(t,s,n)})},Ke=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)},fa=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},Wh={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},da={toggleActions:"play",anticipatePin:0},Ca={top:0,left:0,center:.5,bottom:1,right:1},ma=function(e,t){if(zt(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 Ca?Ca[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ha=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,_=Ce.createElement("div"),h=en(r)||Vr(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,m=h?De:r,v=e.indexOf("start")!==-1,y=v?l:c,x="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 x+="position:"+((g||u)&&h?"fixed;":"absolute;"),(g||u||!h)&&(x+=(n===Be?oc:ac)+":"+(o+parseFloat(p))+"px;"),a&&(x+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=v,_.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),_.style.cssText=x,_.innerText=t||t===0?e+"-"+t:e,m.children[0]?m.insertBefore(_,m.children[0]):m.appendChild(_),_._offset=_["offset"+n.op.d2],va(_,0,n,v),_},va=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+Bn]=1,s["border"+a+Bn]=0,s[r.p]=t+"px",q.set(e,s)},ae=[],tc={},qs,Hh=function(){return ft()-Gt>34&&(qs||(qs=requestAnimationFrame(Hr)))},Mn=function(){(!vt||!vt.isPressed||vt.startX>De.clientWidth)&&(oe.cache++,vt?qs||(qs=requestAnimationFrame(Hr)):Hr(),Gt||rn("scrollStart"),Gt=ft())},$l=function(){tp=fe.innerWidth,ep=fe.innerHeight},Rs=function(){oe.cache++,!ct&&!Jh&&!Ce.fullscreenElement&&!Ce.webkitFullscreenElement&&(!Ql||tp!==fe.innerWidth||Math.abs(fe.innerHeight-ep)>fe.innerHeight*.25)&&xa.restart(!0)},tn={},qv=[],lp=function i(){return je(K,"scrollEnd",i)||Ki(!0)},rn=function(e){return tn[e]&&tn[e].map(function(t){return t()})||qv},Bt=[],cp=function(e){for(var t=0;t<Bt.length;t+=5)(!e||Bt[t+4]&&Bt[t+4].query===e)&&(Bt[t].style.cssText=Bt[t+1],Bt[t].getBBox&&Bt[t].setAttribute("transform",Bt[t+2]||""),Bt[t+3].uncache=1)},cc=function(e,t){var r;for(Dt=0;Dt<ae.length;Dt++)r=ae[Dt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ba=!0,t&&cp(t),t||rn("revert")},fp=function(e,t){oe.cache++,(t||!yt)&&oe.forEach(function(r){return wt(r)&&r.cacheID++&&(r.rec=0)}),zt(e)&&(fe.history.scrollRestoration=nc=e)},yt,Ji=0,qh,Yv=function(){if(qh!==Ji){var e=qh=Ji;requestAnimationFrame(function(){return e===Ji&&Ki(!0)})}},dp=function(){De.appendChild(Nn),sc=!vt&&Nn.offsetHeight||fe.innerHeight,De.removeChild(Nn)},Yh=function(e){return Hs(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},Ki=function(e,t){if(Gt&&!e&&!ba){Ke(K,"scrollEnd",lp);return}dp(),yt=K.isRefreshing=!0,oe.forEach(function(n){return wt(n)&&++n.cacheID&&(n.rec=n())});var r=rn("refreshInit");Qh&&K.sort(),t||cc(),oe.forEach(function(n){wt(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),ae.slice(0).forEach(function(n){return n.refresh()}),ba=!1,ae.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()}}),ec=1,Yh(!0),ae.forEach(function(n){var s=wr(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)}),Yh(!1),ec=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),oe.forEach(function(n){wt(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),fp(nc,1),xa.pause(),Ji++,yt=2,Hr(2),ae.forEach(function(n){return wt(n.vars.onRefresh)&&n.vars.onRefresh(n)}),yt=K.isRefreshing=!1,rn("refresh")},rc=0,Da=1,Ws,Hr=function(e){if(e===2||!yt&&!ba){K.isUpdating=!0,Ws&&Ws.update(0);var t=ae.length,r=ft(),n=r-Xl>=50,s=t&&ae[0].scroll();if(Da=rc>s?-1:1,yt||(rc=s),n&&(Gt&&!Sa&&r-Gt>200&&(Gt=0,rn("scrollEnd")),Ps=Xl,Xl=r),Da<0){for(Dt=t;Dt-- >0;)ae[Dt]&&ae[Dt].update(0,n);Da=1}else for(Dt=0;Dt<t;Dt++)ae[Dt]&&ae[Dt].update(0,n);K.isUpdating=!1}qs=0},ic=[op,ap,ac,oc,Ut+Vs,Ut+Is,Ut+zs,Ut+Bs,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ya=ic.concat([Zi,Qi,"boxSizing","max"+Bn,"max"+uc,"position",Ut,ze,ze+zs,ze+Is,ze+Vs,ze+Bs]),Uv=function(e,t,r){In(r);var n=e._gsap;if(n.spacerIsNative)In(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=ic.length,o=t.style,a=e.style,u;s--;)u=ic[s],o[u]=r[u];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),a[ac]=a[oc]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[Zi]=Ea(e,lt)+Ye,o[Qi]=Ea(e,Be)+Ye,o[ze]=a[Ut]=a[ap]=a[op]="0",In(n),a[Zi]=a["max"+Bn]=r[Zi],a[Qi]=a["max"+uc]=r[Qi],a[ze]=r[ze],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Xv=/([A-Z])/g,In=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(Xv,"-$1").toLowerCase())}},pa=function(e){for(var t=ya.length,r=e.style,n=[],s=0;s<t;s++)n.push(ya[s],r[ya[s]]);return n.t=e,n},Gv=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},wa={left:0,top:0},Uh=function(e,t,r,n,s,o,a,u,l,c,d,p,f,_){wt(e)&&(e=e(u)),zt(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?ma("0"+e.substr(3),r):0));var h=f?f.time():0,g,m,v;if(f&&f.seek(0),isNaN(e)||(e=+e),Ls(e))f&&(e=q.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,p,e)),a&&va(a,r,n,!0);else{wt(t)&&(t=t(u));var y=(e||"0").split(" "),x,b,E,w;v=mt(t,u)||De,x=Wr(v)||{},(!x||!x.left&&!x.top)&&Xt(v).display==="none"&&(w=v.style.display,v.style.display="block",x=Wr(v),w?v.style.display=w:v.style.removeProperty("display")),b=ma(y[0],x[n.d]),E=ma(y[1]||"0",r),e=x[n.p]-l[n.p]-c+b+s-E,a&&va(a,E,n,r-E<20||a._isStart&&E>20),r-=r-E}if(_&&(u[_]=e||-.001,e<0&&(e=0)),o){var S=e+r,A=o._isStart;g="scroll"+n.d2,va(o,S,n,A&&S>20||!A&&(d?Math.max(De[g],ar[g]):o.parentNode[g])<=S+1),d&&(l=Wr(a),d&&(o.style[n.op.p]=l[n.op.p]-n.op.m-o._offset+Ye))}return f&&v&&(g=Wr(v),f.seek(p),m=Wr(v),f._caScrollDist=g[n.p]-m[n.p],e=e/f._caScrollDist*p),f&&f.seek(h),f?e:Math.round(e)},$v=/(webkit|moz|length|cssText|inset)/i,Xh=function(e,t,r,n){if(e.parentNode!==t){var s=e.style,o,a;if(t===De){e._stOrig=s.cssText,a=Xt(e);for(o in a)!+o&&!$v.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)}},hp=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}},_a=function(e,t,r){var n={};n[t.p]="+="+r,q.set(e,n)},Gh=function(e,t){var r=zr(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=hp(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(){oe.cache++,o.tween&&Hr()},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)},Ke(e,"wheel",r.wheelHandler),K.isTouch&&Ke(e,"touchmove",r.wheelHandler),s},K=function(){function i(t,r){Ln||i.register(q)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Jl(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),!ks){this.update=this.refresh=this.kill=yr;return}r=Vh(zt(r)||Ls(r)||r.nodeType?{trigger:r}:r,da);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,x=s.snap,b=s.pinReparent,E=s.pinSpacer,w=s.containerAnimation,S=s.fastScrollEnd,A=s.preventOverlaps,C=r.horizontal||r.containerAnimation&&r.horizontal!==!1?lt:Be,O=!d&&d!==0,F=mt(r.scroller||fe),k=q.core.getCache(F),V=en(F),z=("pinType"in r?r.pinType:Vr(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:da.markers,T=V?0:parseFloat(Xt(F)["border"+C.p2+Bn])||0,D=this,L=r.onRefreshInit&&function(){return r.onRefreshInit(D)},U=Bv(F,V,C),re=zv(F,V),X=0,G=0,I=0,Y=zr(F,C),de,ne,se,Ze,bt,B,Q,Te,Ve,P,Mt,Ar,Zr,Re,Qr,Ci,fn,Xe,Jr,ke,Qt,Vt,Fr,Zn,Ne,go,ei,dn,hn,ti,Si,ue,Ti,Jt,er,tr,Ai,pn,Or;if(D._startClamp=D._endClamp=!1,D._dir=C,g*=45,D.scroller=F,D.scroll=w?w.time.bind(w):Y,Ze=Y(),D.vars=r,n=n||r.animation,"refreshPriority"in r&&(Qh=1,r.refreshPriority===-9999&&(Ws=D)),k.tweenScroll=k.tweenScroll||{top:Gh(F,Be),left:Gh(F,lt)},D.tweenTo=de=k.tweenScroll[C.p],D.scrubDuration=function(W){Ti=Ls(W)&&W,Ti?ue?ue.duration(W):ue=q.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ti,paused:!0,onComplete:function(){return m&&m(D)}}):(ue&&ue.progress(1).kill(),ue=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),ti=0,u||(u=n.vars.id)),x&&((!ji(x)||x.push)&&(x={snapTo:x}),"scrollBehavior"in De.style&&q.set(V?[De,ar]:F,{scrollBehavior:"auto"}),oe.forEach(function(W){return wt(W)&&W.target===(V?Ce.scrollingElement||ar:F)&&(W.smooth=!1)}),se=wt(x.snapTo)?x.snapTo:x.snapTo==="labels"?Wv(n):x.snapTo==="labelsDirectional"?Hv(n):x.directional!==!1?function(W,te){return lc(x.snapTo)(W,ft()-G<500?0:te.direction)}:q.utils.snap(x.snapTo),Jt=x.duration||{min:.1,max:2},Jt=ji(Jt)?Ns(Jt.min,Jt.max):Ns(Jt,Jt),er=q.delayedCall(x.delay||Ti/2||.1,function(){var W=Y(),te=ft()-G<500,j=de.tween;if((te||Math.abs(D.getVelocity())<10)&&!j&&!Sa&&X!==W){var J=(W-B)/Re,Ge=n&&!O?n.totalProgress():J,le=te?0:(Ge-Si)/(ft()-Ps)*1e3||0,Me=q.utils.clamp(-J,1-J,kn(le/2)*le/.185),it=J+(x.inertia===!1?0:Me),Ae,ye,pe=x,rr=pe.onStart,xe=pe.onInterrupt,Lt=pe.onComplete;if(Ae=se(it,D),Ls(Ae)||(Ae=it),ye=Math.round(B+Ae*Re),W<=Q&&W>=B&&ye!==W){if(j&&!j._initted&&j.data<=kn(ye-W))return;x.inertia===!1&&(Me=Ae-J),de(ye,{duration:Jt(kn(Math.max(kn(it-Ge),kn(Ae-Ge))*.185/le/.05||0)),ease:x.ease||"power3",data:kn(ye-W),onInterrupt:function(){return er.restart(!0)&&xe&&xe(D)},onComplete:function(){D.update(),X=Y(),n&&(ue?ue.resetTo("totalProgress",Ae,n._tTime/n._tDur):n.progress(Ae)),ti=Si=n&&!O?n.totalProgress():D.progress,v&&v(D),Lt&&Lt(D)}},W,Me*Re,ye-W-Me*Re),rr&&rr(D,de.tween)}}else D.isActive&&X!==W&&er.restart(!0)}).pause()),u&&(tc[u]=D),p=D.trigger=mt(p||f!==!0&&f),Or=p&&p._gsap&&p._gsap.stRevert,Or&&(Or=Or(D)),f=f===!0?p:mt(f),zt(a)&&(a={targets:p,className:a}),f&&(_===!1||_===Ut||(_=!_&&f.parentNode&&f.parentNode.style&&Xt(f.parentNode).display==="flex"?!1:ze),D.pin=f,ne=q.core.getCache(f),ne.spacer?Qr=ne.pinState:(E&&(E=mt(E),E&&!E.nodeType&&(E=E.current||E.nativeElement),ne.spacerIsNative=!!E,E&&(ne.spacerState=pa(E))),ne.spacer=Xe=E||Ce.createElement("div"),Xe.classList.add("pin-spacer"),u&&Xe.classList.add("pin-spacer-"+u),ne.pinState=Qr=pa(f)),r.force3D!==!1&&q.set(f,{force3D:!0}),D.spacer=Xe=ne.spacer,hn=Xt(f),Zn=hn[_+C.os2],ke=q.getProperty(f),Qt=q.quickSetter(f,C.a,Ye),jl(f,Xe,hn),fn=pa(f)),N){Ar=ji(N)?Vh(N,Wh):Wh,P=ha("scroller-start",u,F,C,Ar,0),Mt=ha("scroller-end",u,F,C,Ar,0,P),Jr=P["offset"+C.op.d2];var Qn=mt(Vr(F,"content")||F);Te=this.markerStart=ha("start",u,Qn,C,Ar,Jr,0,w),Ve=this.markerEnd=ha("end",u,Qn,C,Ar,Jr,0,w),w&&(pn=q.quickSetter([Te,Ve],C.a,Ye)),!z&&!(or.length&&Vr(F,"fixedMarkers")===!0)&&(Vv(V?De:F),q.set([P,Mt],{force3D:!0}),go=q.quickSetter(P,C.a,Ye),dn=q.quickSetter(Mt,C.a,Ye))}if(w){var ee=w.vars.onUpdate,Z=w.vars.onUpdateParams;w.eventCallback("onUpdate",function(){D.update(0,0,1),ee&&ee.apply(w,Z||[])})}if(D.previous=function(){return ae[ae.indexOf(D)-1]},D.next=function(){return ae[ae.indexOf(D)+1]},D.revert=function(W,te){if(!te)return D.kill(!0);var j=W!==!1||!D.enabled,J=ct;j!==D.isReverted&&(j&&(tr=Math.max(Y(),D.scroll.rec||0),I=D.progress,Ai=n&&n.progress()),Te&&[Te,Ve,P,Mt].forEach(function(Ge){return Ge.style.display=j?"none":"block"}),j&&(ct=D,D.update(j)),f&&(!b||!D.isActive)&&(j?Uv(f,Xe,Qr):jl(f,Xe,Xt(f),Ne)),j||D.update(j),ct=J,D.isReverted=j)},D.refresh=function(W,te,j,J){if(!((ct||!D.enabled)&&!te)){if(f&&W&&Gt){Ke(i,"scrollEnd",lp);return}!yt&&L&&L(D),ct=D,de.tween&&!j&&(de.tween.kill(),de.tween=0),ue&&ue.pause(),h&&n&&n.revert({kill:!1}).invalidate(),D.isReverted||D.revert(!0,!0),D._subPinOffset=!1;var Ge=U(),le=re(),Me=w?w.duration():wr(F,C),it=Re<=.01,Ae=0,ye=J||0,pe=ji(j)?j.end:r.end,rr=r.endTrigger||p,xe=ji(j)?j.start:r.start||(r.start===0||!p?0:f?"0 0":"0 100%"),Lt=D.pinnedContainer=r.pinnedContainer&&mt(r.pinnedContainer,D),fr=p&&Math.max(0,ae.indexOf(D))||0,Qe=fr,Je,nt,Fi,mo,st,We,dr,eu,Yc,Jn,hr,es,vo;for(N&&ji(j)&&(es=q.getProperty(P,C.p),vo=q.getProperty(Mt,C.p));Qe--;)We=ae[Qe],We.end||We.refresh(0,1)||(ct=D),dr=We.pin,dr&&(dr===p||dr===f||dr===Lt)&&!We.isReverted&&(Jn||(Jn=[]),Jn.unshift(We),We.revert(!0,!0)),We!==ae[Qe]&&(fr--,Qe--);for(wt(xe)&&(xe=xe(D)),xe=Nh(xe,"start",D),B=Uh(xe,p,Ge,C,Y(),Te,P,D,le,T,z,Me,w,D._startClamp&&"_startClamp")||(f?-.001:0),wt(pe)&&(pe=pe(D)),zt(pe)&&!pe.indexOf("+=")&&(~pe.indexOf(" ")?pe=(zt(xe)?xe.split(" ")[0]:"")+pe:(Ae=ma(pe.substr(2),Ge),pe=zt(xe)?xe:(w?q.utils.mapRange(0,w.duration(),w.scrollTrigger.start,w.scrollTrigger.end,B):B)+Ae,rr=p)),pe=Nh(pe,"end",D),Q=Math.max(B,Uh(pe||(rr?"100% 0":Me),rr,Ge,C,Y()+Ae,Ve,Mt,D,le,T,z,Me,w,D._endClamp&&"_endClamp"))||-.001,Ae=0,Qe=fr;Qe--;)We=ae[Qe],dr=We.pin,dr&&We.start-We._pinPush<=B&&!w&&We.end>0&&(Je=We.end-(D._startClamp?Math.max(0,We.start):We.start),(dr===p&&We.start-We._pinPush<B||dr===Lt)&&isNaN(xe)&&(Ae+=Je*(1-We.progress)),dr===f&&(ye+=Je));if(B+=Ae,Q+=Ae,D._startClamp&&(D._startClamp+=Ae),D._endClamp&&!yt&&(D._endClamp=Q||-.001,Q=Math.min(Q,wr(F,C))),Re=Q-B||(B-=.01)&&.001,it&&(I=q.utils.clamp(0,1,q.utils.normalize(B,Q,tr))),D._pinPush=ye,Te&&Ae&&(Je={},Je[C.a]="+="+Ae,Lt&&(Je[C.p]="-="+Y()),q.set([Te,Ve],Je)),f&&!(ec&&D.end>=wr(F,C)))Je=Xt(f),mo=C===Be,Fi=Y(),Vt=parseFloat(ke(C.a))+ye,!Me&&Q>1&&(hr=(V?Ce.scrollingElement||ar:F).style,hr={style:hr,value:hr["overflow"+C.a.toUpperCase()]},V&&Xt(De)["overflow"+C.a.toUpperCase()]!=="scroll"&&(hr.style["overflow"+C.a.toUpperCase()]="scroll")),jl(f,Xe,Je),fn=pa(f),nt=Wr(f,!0),eu=z&&zr(F,mo?lt:Be)(),_?(Ne=[_+C.os2,Re+ye+Ye],Ne.t=Xe,Qe=_===ze?Ea(f,C)+Re+ye:0,Qe&&(Ne.push(C.d,Qe+Ye),Xe.style.flexBasis!=="auto"&&(Xe.style.flexBasis=Qe+Ye)),In(Ne),Lt&&ae.forEach(function(ts){ts.pin===Lt&&ts.vars.pinSpacing!==!1&&(ts._subPinOffset=!0)}),z&&Y(tr)):(Qe=Ea(f,C),Qe&&Xe.style.flexBasis!=="auto"&&(Xe.style.flexBasis=Qe+Ye)),z&&(st={top:nt.top+(mo?Fi-B:eu)+Ye,left:nt.left+(mo?eu:Fi-B)+Ye,boxSizing:"border-box",position:"fixed"},st[Zi]=st["max"+Bn]=Math.ceil(nt.width)+Ye,st[Qi]=st["max"+uc]=Math.ceil(nt.height)+Ye,st[Ut]=st[Ut+zs]=st[Ut+Is]=st[Ut+Vs]=st[Ut+Bs]="0",st[ze]=Je[ze],st[ze+zs]=Je[ze+zs],st[ze+Is]=Je[ze+Is],st[ze+Vs]=Je[ze+Vs],st[ze+Bs]=Je[ze+Bs],Ci=Gv(Qr,st,b),yt&&Y(0)),n?(Yc=n._initted,Yl(1),n.render(n.duration(),!0,!0),Fr=ke(C.a)-Vt+Re+ye,ei=Math.abs(Re-Fr)>1,z&&ei&&Ci.splice(Ci.length-2,2),n.render(0,!0,!0),Yc||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),Yl(0)):Fr=Re,hr&&(hr.value?hr.style["overflow"+C.a.toUpperCase()]=hr.value:hr.style.removeProperty("overflow-"+C.a));else if(p&&Y()&&!w)for(nt=p.parentNode;nt&&nt!==De;)nt._pinOffset&&(B-=nt._pinOffset,Q-=nt._pinOffset),nt=nt.parentNode;Jn&&Jn.forEach(function(ts){return ts.revert(!1,!0)}),D.start=B,D.end=Q,Ze=bt=yt?tr:Y(),!w&&!yt&&(Ze<tr&&Y(tr),D.scroll.rec=0),D.revert(!1,!0),G=ft(),er&&(X=-1,er.restart(!0)),ct=0,n&&O&&(n._initted||Ai)&&n.progress()!==Ai&&n.progress(Ai||0,!0).render(n.time(),!0,!0),(it||I!==D.progress||w||h)&&(n&&!O&&n.totalProgress(w&&B<-.001&&!I?q.utils.normalize(B,Q,0):I,!0),D.progress=it||(Ze-B)/Re===I?0:I),f&&_&&(Xe._pinOffset=Math.round(D.progress*Fr)),ue&&ue.invalidate(),isNaN(es)||(es-=q.getProperty(P,C.p),vo-=q.getProperty(Mt,C.p),_a(P,C,es),_a(Te,C,es-(J||0)),_a(Mt,C,vo),_a(Ve,C,vo-(J||0))),it&&!yt&&D.update(),c&&!yt&&!Zr&&(Zr=!0,c(D),Zr=!1)}},D.getVelocity=function(){return(Y()-bt)/(ft()-Ps)*1e3||0},D.endAnimation=function(){Os(D.callbackAnimation),n&&(ue?ue.progress(1):n.paused()?O||Os(n,D.direction<0,1):Os(n,n.reversed()))},D.labelToScroll=function(W){return n&&n.labels&&(B||D.refresh()||B)+n.labels[W]/n.duration()*Re||0},D.getTrailing=function(W){var te=ae.indexOf(D),j=D.direction>0?ae.slice(0,te).reverse():ae.slice(te+1);return(zt(W)?j.filter(function(J){return J.vars.preventOverlaps===W}):j).filter(function(J){return D.direction>0?J.end<=B:J.start>=Q})},D.update=function(W,te,j){if(!(w&&!j&&!W)){var J=yt===!0?tr:D.scroll(),Ge=W?0:(J-B)/Re,le=Ge<0?0:Ge>1?1:Ge||0,Me=D.progress,it,Ae,ye,pe,rr,xe,Lt,fr;if(te&&(bt=Ze,Ze=w?Y():J,x&&(Si=ti,ti=n&&!O?n.totalProgress():le)),g&&f&&!ct&&!ua&&Gt&&(!le&&B<J+(J-bt)/(ft()-Ps)*g?le=1e-4:le===1&&Q>J+(J-bt)/(ft()-Ps)*g&&(le=.9999)),le!==Me&&D.enabled){if(it=D.isActive=!!le&&le<1,Ae=!!Me&&Me<1,xe=it!==Ae,rr=xe||!!le!=!!Me,D.direction=le>Me?1:-1,D.progress=le,rr&&!ct&&(ye=le&&!Me?0:le===1?1:Me===1?2:3,O&&(pe=!xe&&R[ye+1]!=="none"&&R[ye+1]||R[ye],fr=n&&(pe==="complete"||pe==="reset"||pe in n))),A&&(xe||fr)&&(fr||d||!n)&&(wt(A)?A(D):D.getTrailing(A).forEach(function(Fi){return Fi.endAnimation()})),O||(ue&&!ct&&!ua?(ue._dp._time-ue._start!==ue._time&&ue.render(ue._dp._time-ue._start),ue.resetTo?ue.resetTo("totalProgress",le,n._tTime/n._tDur):(ue.vars.totalProgress=le,ue.invalidate().restart())):n&&n.totalProgress(le,!!(ct&&(G||W)))),f){if(W&&_&&(Xe.style[_+C.os2]=Zn),!z)Qt(Ms(Vt+Fr*le));else if(rr){if(Lt=!W&&le>Me&&Q+1>J&&J+1>=wr(F,C),b)if(!W&&(it||Lt)){var Qe=Wr(f,!0),Je=J-B;Xh(f,De,Qe.top+(C===Be?Je:0)+Ye,Qe.left+(C===Be?0:Je)+Ye)}else Xh(f,Xe);In(it||Lt?Ci:fn),ei&&le<1&&it||Qt(Vt+(le===1&&!Lt?Fr:0))}}x&&!de.tween&&!ct&&!ua&&er.restart(!0),a&&(xe||y&&le&&(le<1||!Ul))&&Hs(a.targets).forEach(function(Fi){return Fi.classList[it||y?"add":"remove"](a.className)}),o&&!O&&!W&&o(D),rr&&!ct?(O&&(fr&&(pe==="complete"?n.pause().totalProgress(1):pe==="reset"?n.restart(!0).pause():pe==="restart"?n.restart(!0):n[pe]()),o&&o(D)),(xe||!Ul)&&(l&&xe&&Gl(D,l),M[ye]&&Gl(D,M[ye]),y&&(le===1?D.kill(!1,1):M[ye]=0),xe||(ye=le===1?1:3,M[ye]&&Gl(D,M[ye]))),S&&!it&&Math.abs(D.getVelocity())>(Ls(S)?S:2500)&&(Os(D.callbackAnimation),ue?ue.progress(1):Os(n,pe==="reverse"?1:!le,1))):O&&o&&!ct&&o(D)}if(dn){var nt=w?J/w.duration()*(w._caScrollDist||0):J;go(nt+(P._isFlipped?1:0)),dn(nt)}pn&&pn(-J/w.duration()*(w._caScrollDist||0))}},D.enable=function(W,te){D.enabled||(D.enabled=!0,Ke(F,"resize",Rs),V||Ke(F,"scroll",Mn),L&&Ke(i,"refreshInit",L),W!==!1&&(D.progress=I=0,Ze=bt=X=Y()),te!==!1&&D.refresh())},D.getTween=function(W){return W&&de?de.tween:ue},D.setPositions=function(W,te,j,J){if(w){var Ge=w.scrollTrigger,le=w.duration(),Me=Ge.end-Ge.start;W=Ge.start+Me*W/le,te=Ge.start+Me*te/le}D.refresh(!1,!1,{start:Ih(W,j&&!!D._startClamp),end:Ih(te,j&&!!D._endClamp)},J),D.update()},D.adjustPinSpacing=function(W){if(Ne&&W){var te=Ne.indexOf(C.d)+1;Ne[te]=parseFloat(Ne[te])+W+Ye,Ne[1]=parseFloat(Ne[1])+W+Ye,In(Ne)}},D.disable=function(W,te){if(D.enabled&&(W!==!1&&D.revert(!0,!0),D.enabled=D.isActive=!1,te||ue&&ue.pause(),tr=0,ne&&(ne.uncache=1),L&&je(i,"refreshInit",L),er&&(er.pause(),de.tween&&de.tween.kill()&&(de.tween=0)),!V)){for(var j=ae.length;j--;)if(ae[j].scroller===F&&ae[j]!==D)return;je(F,"resize",Rs),V||je(F,"scroll",Mn)}},D.kill=function(W,te){D.disable(W,te),ue&&!te&&ue.kill(),u&&delete tc[u];var j=ae.indexOf(D);j>=0&&ae.splice(j,1),j===Dt&&Da>0&&Dt--,j=0,ae.forEach(function(J){return J.scroller===D.scroller&&(j=1)}),j||yt||(D.scroll.rec=0),n&&(n.scrollTrigger=null,W&&n.revert({kill:!1}),te||n.kill()),Te&&[Te,Ve,P,Mt].forEach(function(J){return J.parentNode&&J.parentNode.removeChild(J)}),Ws===D&&(Ws=0),f&&(ne&&(ne.uncache=1),j=0,ae.forEach(function(J){return J.pin===f&&j++}),j||(ne.spacer=0)),r.onKill&&r.onKill(D)},ae.push(D),D.enable(!1,!1),Or&&Or(D),n&&n.add&&!Re){var he=D.update;D.update=function(){D.update=he,B||Q||D.refresh()},q.delayedCall(.01,D.update),Re=.01,B=Q=0}else D.refresh();f&&Yv()},i.register=function(r){return Ln||(q=r||ip(),rp()&&window.document&&i.enable(),Ln=ks),Ln},i.defaults=function(r){if(r)for(var n in r)da[n]=r[n];return da},i.disable=function(r,n){ks=0,ae.forEach(function(o){return o[n?"kill":"disable"](r)}),je(fe,"wheel",Mn),je(Ce,"scroll",Mn),clearInterval(aa),je(Ce,"touchcancel",yr),je(De,"touchstart",yr),ca(je,Ce,"pointerdown,touchstart,mousedown",Bh),ca(je,Ce,"pointerup,touchend,mouseup",zh),xa.kill(),la(je);for(var s=0;s<oe.length;s+=3)fa(je,oe[s],oe[s+1]),fa(je,oe[s],oe[s+2])},i.enable=function(){if(fe=window,Ce=document,ar=Ce.documentElement,De=Ce.body,q&&(Hs=q.utils.toArray,Ns=q.utils.clamp,Jl=q.core.context||yr,Yl=q.core.suppressOverwrites||yr,nc=fe.history.scrollRestoration||"auto",rc=fe.pageYOffset,q.core.globals("ScrollTrigger",i),De)){ks=1,Nn=document.createElement("div"),Nn.style.height="100vh",Nn.style.position="absolute",dp(),Iv(),Pe.register(q),i.isTouch=Pe.isTouch,gi=Pe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ql=Pe.isTouch===1,Ke(fe,"wheel",Mn),Zh=[fe,Ce,ar,De],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 cc()}),q.addEventListener("matchMediaRevert",function(){return cp()}),q.addEventListener("matchMedia",function(){Ki(0,1),rn("matchMedia")}),q.matchMedia("(orientation: portrait)",function(){return $l(),$l})):console.warn("Requires GSAP 3.11.0 or later"),$l(),Ke(Ce,"scroll",Mn);var r=De.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=Wr(De),Be.m=Math.round(o.top+Be.sc())||0,lt.m=Math.round(o.left+lt.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),aa=setInterval(Hh,250),q.delayedCall(.5,function(){return ua=0}),Ke(Ce,"touchcancel",yr),Ke(De,"touchstart",yr),ca(Ke,Ce,"pointerdown,touchstart,mousedown",Bh),ca(Ke,Ce,"pointerup,touchend,mouseup",zh),Zl=q.utils.checkPrefix("transform"),ya.push(Zl),Ln=ft(),xa=q.delayedCall(.2,Ki).pause(),Rn=[Ce,"visibilitychange",function(){var u=fe.innerWidth,l=fe.innerHeight;Ce.hidden?(Lh=u,Rh=l):(Lh!==u||Rh!==l)&&Rs()},Ce,"DOMContentLoaded",Ki,fe,"load",Ki,fe,"resize",Rs],la(Ke),ae.forEach(function(u){return u.enable(0,1)}),a=0;a<oe.length;a+=3)fa(je,oe[a],oe[a+1]),fa(je,oe[a],oe[a+2])}},i.config=function(r){"limitCallbacks"in r&&(Ul=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(aa)||(aa=n)&&setInterval(Hh,n),"ignoreMobileResize"in r&&(Ql=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(la(je)||la(Ke,r.autoRefreshEvents||"none"),Jh=(r.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(r,n){var s=mt(r),o=oe.indexOf(s),a=en(s);~o&&oe.splice(o,a?6:2),n&&(a?or.unshift(fe,n,De,n,ar,n):or.unshift(s,n))},i.clearMatchMedia=function(r){ae.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},i.isInViewport=function(r,n,s){var o=(zt(r)?mt(r):r).getBoundingClientRect(),a=o[s?Zi:Qi]*n||0;return s?o.right-a>0&&o.left+a<fe.innerWidth:o.bottom-a>0&&o.top+a<fe.innerHeight},i.positionInViewport=function(r,n,s){zt(r)&&(r=mt(r));var o=r.getBoundingClientRect(),a=o[s?Zi:Qi],u=n==null?a/2:n in Ca?Ca[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return s?(o.left+u)/fe.innerWidth:(o.top+u)/fe.innerHeight},i.killAll=function(r){if(ae.slice(0).forEach(function(s){return s.vars.id!=="ScrollSmoother"&&s.kill()}),r!==!0){var n=tn.killAll||[];tn={},n.forEach(function(s){return s()})}},i}();K.version="3.12.5";K.saveStyles=function(i){return i?Hs(i).forEach(function(e){if(e&&e.style){var t=Bt.indexOf(e);t>=0&&Bt.splice(t,5),Bt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),q.core.getCache(e),Jl())}}):Bt};K.revert=function(i,e){return cc(!i,e)};K.create=function(i,e){return new K(i,e)};K.refresh=function(i){return i?Rs():(Ln||K.register())&&Ki(!0)};K.update=function(i){return++oe.cache&&Hr(i===!0?2:0)};K.clearScrollMemory=fp;K.maxScroll=function(i,e){return wr(i,e?lt:Be)};K.getScrollFunc=function(i,e){return zr(mt(i),e?lt:Be)};K.getById=function(i){return tc[i]};K.getAll=function(){return ae.filter(function(i){return i.vars.id!=="ScrollSmoother"})};K.isScrolling=function(){return!!Gt};K.snapDirectional=lc;K.addEventListener=function(i,e){var t=tn[i]||(tn[i]=[]);~t.indexOf(e)||t.push(e)};K.removeEventListener=function(i,e){var t=tn[i],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};K.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"&&wt(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return wt(s)&&(s=s(),Ke(K,"refresh",function(){return s=e.batchMax()})),Hs(i).forEach(function(u){var l={};for(a in r)l[a]=r[a];l.trigger=u,t.push(K.create(l))}),t};var $h=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},Kl=function i(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Pe.isTouch?" pinch-zoom":""):"none",e===ar&&i(De,t)},ga={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=ft(),u;if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==De&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(ga[(u=Xt(s)).overflowY]||ga[u.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!en(s)&&(ga[(u=Xt(s)).overflowY]||ga[u.overflowX]),o._isScrollT=a}(o._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},pp=function(e,t,r,n){return Pe.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&&Ke(Ce,Pe.eventTypes[0],Kh,!1,!0)},onDisable:function(){return je(Ce,Pe.eventTypes[0],Kh,!0)}})},Kv=/(input|label|select|textarea)/i,jh,Kh=function(e){var t=Kv.test(e.target.tagName);(t||jh)&&(e._gsapAllow=!0,jh=t)},Zv=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=mt(e.target)||ar,c=q.core.globals().ScrollSmoother,d=c&&c.get(),p=gi&&(e.content&&mt(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=zr(l,Be),_=zr(l,lt),h=1,g=(Pe.isTouch&&fe.visualViewport?fe.visualViewport.scale*fe.visualViewport.width:fe.outerWidth)/fe.innerWidth,m=0,v=wt(n)?function(){return n(a)}:function(){return n||2.8},y,x,b=pp(l,e.type,!0,s),E=function(){return x=!1},w=yr,S=yr,A=function(){u=wr(l,Be),S=Ns(gi?1:0,u),r&&(w=Ns(0,wr(l,lt))),y=Ji},C=function(){p._gsap.y=Ms(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(x){requestAnimationFrame(E);var N=Ms(a.deltaY/2),T=S(f.v-N);if(p&&T!==f.v+f.offset){f.offset=T-f.v;var D=Ms((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,Hr()}return!0}f.offset&&C(),x=!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 gi&&R.type==="touchmove"&&O(R)||h>1.05&&R.type!=="touchstart"||a.isGesturing||R.touches&&R.touches.length>1},e.onPress=function(){x=!1;var R=h;h=Ms((fe.visualViewport&&fe.visualViewport.scale||1)/g),F.pause(),R!==h&&Kl(l,h>1.01?!0:r?!1:"x"),k=_(),V=f(),A(),y=Ji},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*=$h(_,D,L,wr(l,lt)),F.vars.scrollX=w(L)),D=f(),L=D+T*.05*-R.velocityY/.227,T*=$h(f,D,L,wr(l,Be)),F.vars.scrollY=S(L),F.invalidate().duration(T).play(.01),(gi&&F.vars.scrollY>=u||D>=u-1)&&q.to({},{onUpdate:M,duration:T})}o&&o(R)},e.onWheel=function(){F._ts&&F.pause(),ft()-m>1e3&&(y=0,m=ft())},e.onChange=function(R,N,T,D,L){if(Ji!==y&&A(),N&&r&&_(w(D[2]===N?k+(R.startX-R.x):_()+N-D[1])),T){f.offset&&C();var U=L[2]===T,re=U?V+R.startY-R.y:f()+T-L[1],X=S(re);U&&re!==X&&(V+=X-re),f(X)}(T||N)&&Hr()},e.onEnable=function(){Kl(l,r?!1:"x"),K.addEventListener("refresh",M),Ke(fe,"resize",M),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),b.enable()},e.onDisable=function(){Kl(l,!0),je(fe,"resize",M),K.removeEventListener("refresh",M),b.kill()},e.lockAxis=e.lockAxis!==!1,a=new Pe(e),a.iOS=gi,gi&&!f()&&f(1),gi&&q.ticker.add(yr),z=a._dc,F=q.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:hp(f,f(),function(){return F.pause()})},onUpdate:Hr,onComplete:z.vars.onComplete}),a};K.sort=function(i){return ae.sort(i||function(e,t){return(e.vars.refreshPriority||0)*-1e6+e.start-(t.start+(t.vars.refreshPriority||0)*-1e6)})};K.observe=function(i){return new Pe(i)};K.normalizeScroll=function(i){if(typeof i>"u")return vt;if(i===!0&&vt)return vt.enable();if(i===!1){vt&&vt.kill(),vt=i;return}var e=i instanceof Pe?i:Zv(i);return vt&&vt.target===e.target&&vt.kill(),en(e.target)&&(vt=e),e};K.core={_getVelocityProp:oa,_inputObserver:pp,_scrollers:oe,_proxies:or,bridge:{ss:function(){Gt||rn("scrollStart"),Gt=ft()},ref:function(){return ct}}};ip()&&q.registerPlugin(K);var xt,vp,qr,xr,mi,Dp,yp,Ta,wp=function(){return typeof window<"u"},xp=function(){return xt||wp()&&(xt=window.gsap)&&xt.registerPlugin&&xt},bp=function(e){return typeof e=="string"},_p=function(e){return typeof e=="function"},Ys=function(e,t){var r=t==="x"?"Width":"Height",n="scroll"+r,s="client"+r;return e===qr||e===xr||e===mi?Math.max(xr[n],mi[n])-(qr["inner"+r]||xr[s]||mi[s]):e[n]-e["offset"+r]},Us=function(e,t){var r="scroll"+(t==="x"?"Left":"Top");return e===qr&&(e.pageXOffset!=null?r="page"+t.toUpperCase()+"Offset":e=xr[r]!=null?xr:mi),function(){return e[r]}},Qv=function(e,t,r,n){if(_p(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"&&_p(e[o])?e[o](t,r,n):e[o];return s},Ep=function(e,t){if(e=Dp(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===qr||t===mi,s=n?{top:xr.clientTop-(qr.pageYOffset||xr.scrollTop||mi.scrollTop||0),left:xr.clientLeft-(qr.pageXOffset||xr.scrollLeft||mi.scrollLeft||0)}:t.getBoundingClientRect(),o={x:r.left-s.left,y:r.top-s.top};return!n&&t&&(o.x+=Us(t,"x")(),o.y+=Us(t,"y")()),o},gp=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"?Ys(t,r)-s:Math.min(Ys(t,r),Ep(e,t)[r]-s)},mp=function(){xt=xp(),wp()&&xt&&typeof document<"u"&&document.body&&(qr=window,mi=document.body,xr=document.documentElement,Dp=xt.utils.toArray,xt.config({autoKillThreshold:7}),yp=xt.config(),vp=1)},zn={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(e){xt=e,mp()},init:function(e,t,r,n,s){vp||mp();var o=this,a=xt.getProperty(e,"scrollSnapType");o.isWin=e===qr,o.target=e,o.tween=r,t=Qv(t,n,e,s),o.vars=t,o.autoKill=!!t.autoKill,o.getX=Us(e,"x"),o.getY=Us(e,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),Ta||(Ta=xt.core.globals().ScrollTrigger),xt.getProperty(e,"scrollBehavior")==="smooth"&&xt.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,gp(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,gp(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=yp.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),o&&(!t.skipX&&(h>g||h<-g)&&p<Ys(n,"x")&&(t.skipX=1),!t.skipY&&(_>g||_<-g)&&f<Ys(n,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(s.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(s,t.vars.onAutoKillParams||[]))),l?qr.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,Ta&&Ta.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}};zn.max=Ys;zn.getOffset=Ep;zn.buildGetter=Us;xp()&&xt.registerPlugin(zn);var Jv=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var eD=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var tD=Math.PI/180,w1=180/Math.PI,Aa=Math.sin,Fa=Math.cos,Gs=Math.abs,Xs=Math.sqrt;var rD=function(e){return typeof e=="number"};var Cp=1e5;var vi=function(e){return Math.round(e*Cp)/Cp||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 iD(i,e,t,r,n,s,o,a,u){if(!(i===a&&e===u)){t=Gs(t),r=Gs(r);var l=n%360*tD,c=Fa(l),d=Aa(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,x=v/(t*t)+y/(r*r);x>1&&(t=Xs(x)*t,r=Xs(x)*r);var b=t*t,E=r*r,w=(b*E-b*y-E*v)/(b*y+E*v);w<0&&(w=0);var S=(s===o?-1:1)*Xs(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),V=F+(d*A+c*C),z=(g-A)/t,M=(m-C)/r,R=(-g-A)/t,N=(-m-C)/r,T=z*z+M*M,D=(M<0?-1:1)*Math.acos(z/Xs(T)),L=(z*N-M*R<0?-1:1)*Math.acos((z*R+M*N)/Xs(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(Gs(L)/(f/4)),re=[],X=L/U,G=4/3*Aa(X/2)/(1+Fa(X/2)),I=c*t,Y=d*t,de=d*-r,ne=c*r,se;for(se=0;se<U;se++)n=D+se*X,g=Fa(n),m=Aa(n),z=Fa(n+=X),M=Aa(n),re.push(g-G*m,m+G*g,z+G*M,M-G*z,z,M);for(se=0;se<re.length;se+=2)g=re[se],m=re[se+1],re[se]=g*I+m*de+k,re[se+1]=g*Y+m*ne+V;return re[se-2]=a,re[se-1]=u,re}}function Tp(i){var e=(i+"").replace(eD,function(A){var C=+A;return C<1e-4&&C>-1e-4?0:C}).match(Jv)||[],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,x,b,E,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<o;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)*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")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"||Gs(r-d)>.5||Gs(n-p)>.5)&&(S(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)),x=iD(r,n,+e[l+1],+e[l+2],+e[l+3],+E,+w,(_?r:0)+v*1,(_?n:0)+y*1),l+=c,x)for(c=0;c<x.length;c++)h.push(x[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 Ap(i){rD(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"+vi(o[0])+","+vi(o[1])+" C",r=o.length,s=2;s<r;s++)e+=vi(o[s++])+","+vi(o[s++])+" "+vi(o[s++])+","+vi(o[s++])+" "+vi(o[s++])+","+vi(o[s])+" ";o.closed&&(e+="z")}return e}var Ft,Op,Pp=function(){return Ft||typeof window<"u"&&(Ft=window.gsap)&&Ft.registerPlugin&&Ft},Fp=function(){Ft=Pp(),Ft?(Ft.registerEase("_CE",nn.create),Op=1):console.warn("Please gsap.registerPlugin(CustomEase)")},nD=1e20,Oa=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},sD=1,oD=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,aD=/[cLlsSaAhHvVtTqQ]/g,uD=function(e){var t=e.length,r=nD,n;for(n=1;n<t;n+=6)+e[n]<r&&(r=+e[n]);return r},lD=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])?uD(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},cD=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,x=(_+g)/2,b=(h+m)/2,E=(v+x)/2,w=(y+b)/2,S=a-e,A=u-t,C=Math.abs((r-a)*A-(n-u)*S),O=Math.abs((s-a)*A-(o-u)*S),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}),(C+O)*(C+O)>l*(S*S+A*A)&&(F=c.length,i(e,t,p,f,v,y,E,w,l,c,d),i(E,w,x,b,g,m,a,u,l,c,d+1+(c.length-F))),c},nn=function(){function i(t,r,n){Op||Fp(),this.id=t,sD&&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(oD),o=1,a=[],u=[],l=n.precision||1,c=l<=1,d,p,f,_,h,g,m,v,y;if(this.data=r,(aD.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(s=Tp(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)&&lD(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),cD(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(x){var b=u[x*d|0]||u[d-1];return b.nx<x&&(b=b.n),b.y+(x-b.x)/b.cx*b.cy},this.ease.custom=this,this.id&&Ft&&Ft.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){Ft=r,Fp()},i.get=function(r){return Ft.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=Ft.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=Ft.parseEase(r)),r.custom&&(r=r.custom),r instanceof i)c=Ap(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=Oa(a+f*s),y=Oa(u+r(f)*-o),d=(y-u)/(v-a),p=2;p<g;p++)_=Oa(a+p*f*s),h=Oa(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}();Pp()&&Ft.registerPlugin(nn);nn.version="3.12.5";var kp=/([\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 fc(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+=fc(i)}else if(e===3||e===4)return i.nodeValue;return t}var Vn,hc,Rp,$s,Np,Pa,fD=/(?:\r|\n|\t\t)/g,dD=/(?:\s\s+)/g,hD=String.fromCharCode(160),Ip=function(e){Vn=document,hc=window,$s=$s||e||hc.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),$s&&(Pa=$s.utils.toArray,Np=$s.core.context||function(){},Rp=1)},pD=1,Bp=function(e){return hc.getComputedStyle(e)},pc=function(e){return e.position==="absolute"||e.absolute===!0},_D=function(e,t){for(var r=t.length,n;--r>-1;)if(n=t[r],e.substr(0,n.length)===n)return n.length},gD=" style='position:relative;display:inline-block;'",Mp=function(e,t){e===void 0&&(e="");var r=~e.indexOf("++"),n=1;return r&&(e=e.split("++").join("")),function(){return"<"+t+gD+(e?" class='"+e+(r?n++:"")+"'>":">")}},zp=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))},dc=function(e,t){for(var r=t.length;--r>-1;)e.push(t[r])},Lp=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}},mD=function i(e){var t=Pa(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},vD=function(e,t,r,n,s,o,a){var u=Bp(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=[],x=t.wordDelimiter||" ",b=t.tag?t.tag:t.span?"span":"div",E=t.type||t.split||"chars,words,lines",w=s&&~E.indexOf("lines")?[]:null,S=~E.indexOf("words"),A=~E.indexOf("chars"),C=pc(t),O=t.linesClass,F=~(O||"").indexOf("++"),k=[],V=u.display==="flex",z=e.style.display,M,R,N,T,D,L,U,re,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||C)for(M=0;M<N;M++)T=D[M],L=T.parentNode===e,(L||C||A&&!S)&&(Y=T.offsetTop,w&&L&&Math.abs(Y-c)>h&&(T.nodeName!=="BR"||M===0)&&(U=[],w.push(U),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)&&(U.push(T),T._x-=l,Lp(T,e,x)&&(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||C?(T.parentNode&&T.parentNode.removeChild(T),D.splice(M--,1),N--):S||e.appendChild(T);continue}if(C&&(X=T.style,!S&&!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"),!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(M--,1),N--):L||(Y=!T.nextSibling&&Lp(T.parentNode,e,x),T.parentNode._parent&&T.parentNode._parent.appendChild(T),Y&&T.parentNode.appendChild(Vn.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(M=k.length;--M>-1;)k[M].parentNode.removeChild(k[M]);if(w){for(C&&(G=Vn.createElement(b),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(re=x===" "&&(!C||!S&&!A),M=0;M<w.length;M++){for(U=w[M],G=Vn.createElement(b),G.style.cssText="display:block;text-align:"+g+";position:"+(C?"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),re&&T._wordEnd&&G.appendChild(Vn.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&&(mD(G),zp(G,String.fromCharCode(160)," ")),C&&(G.style.width=I,G.style.height=T._h+"px"),e.appendChild(G)}e.style.cssText=X}C&&(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")),dc(r,m),S&&dc(n,v),dc(s,y)},DD=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=pc(t),l=t.wordDelimiter||" ",c=function(C){return C===l||C===hD&&l===" "},d=l!==" "?"":u?"­ ":" ",p="</"+s+">",f=1,_=t.specialChars?typeof t.specialChars=="function"?t.specialChars:_D:null,h,g,m,v,y,x,b,E,w=Vn.createElement("div"),S=e.parentNode;for(S.insertBefore(w,e),w.textContent=e.nodeValue,S.removeChild(e),e=w,h=fc(e),b=h.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(h=h.replace(dD," ").replace(fD,"")),b&&(h=h.split("<").join("{{LT}}")),y=h.length,g=(h.charAt(0)===" "?d:"")+r(),m=0;m<y;m++)if(x=h.charAt(m),_&&(E=_(h.substr(m),t.specialChars)))x=h.substr(m,E||1),g+=a&&x!==" "?n()+x+"</"+s+">":x,m+=E-1;else if(c(x)&&!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 x==="{"&&h.substr(m,6)==="{{LT}}"?(g+=a?n()+"{{LT}}</"+s+">":"{{LT}}",m+=5):x.charCodeAt(0)>=55296&&x.charCodeAt(0)<=56319||h.charCodeAt(m+1)>=65024&&h.charCodeAt(m+1)<=65039?(v=((h.substr(m,12).split(kp)||[])[1]||"").length||2,g+=a&&x!==" "?n()+h.substr(m,v)+"</"+s+">":h.substr(m,v),m+=v-1):g+=a&&x!==" "?n()+x+"</"+s+">":x;e.outerHTML=g+(f?p:""),b&&zp(S,"{{LT}}","<")},yD=function i(e,t,r,n){var s=Pa(e.childNodes),o=s.length,a=pc(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&&Bp(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}DD(e,t,r,n)},$t=function(){function i(t,r){Rp||Ip(),this.elements=Pa(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},Np(this),pD&&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=Mp(r.wordsClass,s),a=Mp(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,yD(c,r,o,a),vD(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}();$t.version="3.12.5";$t.register=Ip;function Vp(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 wD(i,e,t){return e&&Vp(i.prototype,e),t&&Vp(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}var Wp="(prefers-reduced-motion: reduce)",qn=1,xD=2,Xn=3,$n=4,so=5,Ma=6,Ia=7,bD={CREATED:qn,MOUNTED:xD,IDLE:Xn,MOVING:$n,SCROLLING:so,DRAGGING:Ma,DESTROYED:Ia};function $r(i){i.length=0}function bi(i,e,t){return Array.prototype.slice.call(i,e,t)}function me(i){return i.bind.apply(i,[null].concat(bi(arguments,1)))}var t_=setTimeout,Dc=function(){};function Hp(i){return requestAnimationFrame(i)}function Wa(i,e){return typeof e===i}function Zs(i){return!Sc(i)&&Wa("object",i)}var Cc=Array.isArray,r_=me(Wa,"function"),yi=me(Wa,"string"),oo=me(Wa,"undefined");function Sc(i){return i===null}function i_(i){try{return i instanceof(i.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function ao(i){return Cc(i)?i:[i]}function Zt(i,e){ao(i).forEach(e)}function Tc(i,e){return i.indexOf(e)>-1}function La(i,e){return i.push.apply(i,ao(e)),i}function Ur(i,e,t){i&&Zt(e,function(r){r&&i.classList[t?"add":"remove"](r)})}function Er(i,e){Ur(i,yi(e)?e.split(" "):e,!0)}function uo(i,e){Zt(e,i.appendChild.bind(i))}function Ac(i,e){Zt(i,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function Qs(i,e){return i_(i)&&(i.msMatchesSelector||i.matches).call(i,e)}function n_(i,e){var t=i?bi(i.children):[];return e?t.filter(function(r){return Qs(r,e)}):t}function lo(i,e){return e?n_(i,e)[0]:i.firstElementChild}var Js=Object.keys;function on(i,e,t){return i&&(t?Js(i).reverse():Js(i)).forEach(function(r){r!=="__proto__"&&e(i[r],r)}),i}function eo(i){return bi(arguments,1).forEach(function(e){on(e,function(t,r){i[r]=e[r]})}),i}function Di(i){return bi(arguments,1).forEach(function(e){on(e,function(t,r){Cc(t)?i[r]=t.slice():Zs(t)?i[r]=Di({},Zs(i[r])?i[r]:{},t):i[r]=t})}),i}function qp(i,e){Zt(e||Js(i),function(t){delete i[t]})}function Cr(i,e){Zt(i,function(t){Zt(e,function(r){t&&t.removeAttribute(r)})})}function ie(i,e,t){Zs(e)?on(e,function(r,n){ie(i,n,r)}):Zt(i,function(r){Sc(t)||t===""?Cr(r,e):r.setAttribute(e,String(t))})}function Yn(i,e,t){var r=document.createElement(i);return e&&(yi(e)?Er(r,e):ie(r,e)),t&&uo(t,r),r}function ur(i,e,t){if(oo(t))return getComputedStyle(i)[e];Sc(t)||(i.style[e]=""+t)}function to(i,e){ur(i,"display",e)}function s_(i){i.setActive&&i.setActive()||i.focus({preventScroll:!0})}function lr(i,e){return i.getAttribute(e)}function Yp(i,e){return i&&i.classList.contains(e)}function jt(i){return i.getBoundingClientRect()}function an(i){Zt(i,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function o_(i){return lo(new DOMParser().parseFromString(i,"text/html").body)}function Yr(i,e){i.preventDefault(),e&&(i.stopPropagation(),i.stopImmediatePropagation())}function a_(i,e){return i&&i.querySelector(e)}function Fc(i,e){return e?bi(i.querySelectorAll(e)):[]}function Xr(i,e){Ur(i,e,!1)}function yc(i){return i.timeStamp}function sn(i){return yi(i)?i:i?i+"px":""}var co="splide",Oc="data-"+co;function js(i,e){if(!i)throw new Error("["+co+"] "+(e||""))}var wi=Math.min,Ba=Math.max,za=Math.floor,ro=Math.ceil,Ot=Math.abs;function u_(i,e,t){return Ot(i-e)<t}function Ra(i,e,t,r){var n=wi(e,t),s=Ba(e,t);return r?n<i&&i<s:n<=i&&i<=s}function Wn(i,e,t){var r=wi(e,t),n=Ba(e,t);return wi(Ba(r,i),n)}function wc(i){return+(i>0)-+(i<0)}function xc(i,e){return Zt(e,function(t){i=i.replace("%s",""+t)}),i}function Pc(i){return i<10?"0"+i:""+i}var Up={};function ED(i){return""+i+Pc(Up[i]=(Up[i]||0)+1)}function l_(){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){Zt(o,function(l){l&&Zt(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]()}),$r(i)}return{bind:e,unbind:t,dispatch:r,destroy:s}}var ln="mounted",Xp="ready",xi="move",fo="moved",c_="click",CD="active",SD="inactive",TD="visible",AD="hidden",Ue="refresh",Pt="updated",io="resize",kc="resized",FD="drag",OD="dragging",PD="dragged",Mc="scroll",jn="scrolled",kD="overflow",f_="destroy",MD="arrows:mounted",LD="arrows:updated",RD="pagination:mounted",ND="pagination:updated",d_="navigation:mounted",h_="autoplay:play",ID="autoplay:playing",p_="autoplay:pause",__="lazyload:loaded",g_="sk",m_="sh",Va="ei";function Se(i){var e=i?i.event.bus:document.createDocumentFragment(),t=l_();function r(s,o){t.bind(e,ao(s).join(" "),function(a){o.apply(o,Cc(a.detail)?a.detail:[])})}function n(s){t.dispatch(e,s,bi(arguments,1))}return i&&i.event.on(f_,t.destroy),eo(t,{bus:e,on:r,off:me(t.unbind,e),emit:n})}function Ha(i,e,t,r){var n=Date.now,s,o=0,a,u=!0,l=0;function c(){if(!u){if(o=i?wi((n()-s)/i,1):1,t&&t(o),o>=1&&(e(),s=n(),r&&++l>=r))return p();a=Hp(c)}}function d(m){m||_(),s=n()-(m?o*i:0),u=!1,a=Hp(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 BD(i){var e=i;function t(n){e=n}function r(n){return Tc(ao(n),e)}return{set:t,is:r}}function zD(i,e){var t=Ha(e||0,i,null,1);return function(){t.isPaused()&&t.start()}}function VD(i,e,t){var r=i.state,n=t.breakpoints||{},s=t.reducedMotion||{},o=l_(),a=[];function u(){var _=t.mediaQuery==="min";Js(n).sort(function(h,g){return _?+h-+g:+g-+h}).forEach(function(h){c(n[h],"("+(_?"min":"max")+"-width:"+h+"px)")}),c(s,Wp),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(Ia),h=t.direction,g=a.reduce(function(m,v){return Di(m,v[1].matches?v[0]:{})},{});qp(t),f(g),t.destroy?i.destroy(t.destroy==="completely"):_?(l(!0),i.mount()):h!==t.direction&&i.refresh()}function p(_){matchMedia(Wp).matches&&(_?Di(t,s):qp(t,Js(s)))}function f(_,h,g){Di(t,_),h&&Di(Object.getPrototypeOf(t),_),(g||!r.is(qn))&&i.emit(Pt,t)}return{setup:u,destroy:l,reduce:p,set:f}}var qa="Arrow",Ya=qa+"Left",Ua=qa+"Right",v_=qa+"Up",D_=qa+"Down";var Gp="rtl",Xa="ttb",_c={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[v_,Ua],ArrowRight:[D_,Ya]};function WD(i,e,t){function r(s,o,a){a=a||t.direction;var u=a===Gp&&!o?1:a===Xa?0:-1;return _c[s]&&_c[s][u]||s.replace(/width|left|right/i,function(l,c){var d=_c[l.toLowerCase()][u]||l;return c>0?d.charAt(0).toUpperCase()+d.slice(1):d})}function n(s){return s*(t.direction===Gp?1:-1)}return{resolve:r,orient:n}}var Gr="role",Un="tabindex",HD="disabled",cr="aria-",ho=cr+"controls",y_=cr+"current",$p=cr+"selected",Kt=cr+"label",Lc=cr+"labelledby",w_=cr+"hidden",Rc=cr+"orientation",no=cr+"roledescription",jp=cr+"live",Kp=cr+"busy",Zp=cr+"atomic",Nc=[Gr,Un,HD,ho,y_,Kt,Lc,w_,Rc,no],Sr=co+"__",Ei="is-",gc=co,Qp=Sr+"track",qD=Sr+"list",Ga=Sr+"slide",x_=Ga+"--clone",YD=Ga+"__container",Ic=Sr+"arrows",$a=Sr+"arrow",b_=$a+"--prev",E_=$a+"--next",ja=Sr+"pagination",C_=ja+"__page",UD=Sr+"progress",XD=UD+"__bar",Bc=Sr+"toggle",A1=Bc+"__play",F1=Bc+"__pause",GD=Sr+"spinner",$D=Sr+"sr",jD=Ei+"initialized",un=Ei+"active",S_=Ei+"prev",T_=Ei+"next",bc=Ei+"visible",Ec=Ei+"loading",A_=Ei+"focus-in",F_=Ei+"overflow",KD=[un,bc,S_,T_,Ec,A_,F_],ZD={slide:Ga,clone:x_,arrows:Ic,arrow:$a,prev:b_,next:E_,pagination:ja,page:C_,spinner:GD};function QD(i,e){if(r_(i.closest))return i.closest(e);for(var t=i;t&&t.nodeType===1&&!Qs(t,e);)t=t.parentElement;return t}var JD=5,Jp=200,O_="touchstart mousedown",mc="touchmove mousemove",vc="touchend touchcancel mouseup click";function ey(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(),x(),v()}function g(){n(Ue,m),n(Ue,h),n(Pt,v),s(document,O_+" keydown",function(w){_=w.type==="keydown"},{capture:!0}),s(o,"focusin",function(){Ur(o,A_,!!_)})}function m(w){var S=Nc.concat("style");$r(l),Xr(o,c),Xr(p,d),Cr([p,f],S),Cr(o,w?S:["style",no])}function v(){Xr(o,c),Xr(p,d),c=E(gc),d=E(Qp),Er(o,c),Er(p,d),ie(o,Kt,t.label),ie(o,Lc,t.labelledby)}function y(){p=b("."+Qp),f=lo(p,"."+qD),js(p&&f,"A track/list element is missing."),La(l,n_(f,"."+Ga+":not(."+x_+")")),on({arrows:Ic,pagination:ja,prev:b_,next:E_,bar:XD,toggle:Bc},function(w,S){u[S]=b("."+w)}),eo(u,{root:o,track:p,list:f,slides:l})}function x(){var w=o.id||ED(co),S=t.role;o.id=w,p.id=p.id||w+"-track",f.id=f.id||w+"-list",!lr(o,Gr)&&o.tagName!=="SECTION"&&S&&ie(o,Gr,S),ie(o,no,a.carousel),ie(f,Gr,"presentation")}function b(w){var S=a_(o,w);return S&&QD(S,"."+gc)===o?S:void 0}function E(w){return[w+"--"+t.type,w+"--"+t.direction,t.drag&&w+"--draggable",t.isNavigation&&w+"--nav",w===gc&&un]}return eo(u,{setup:h,mount:g,destroy:m})}var Gn="slide",Kn="loop",po="fade";function ty(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=lr(r,"style"),v=lr(r,Kt),y=t>-1,x=lo(r,"."+YD),b;function E(){y||(r.id=l.id+"-slide"+Pc(e+1),ie(r,Gr,_?"tabpanel":"group"),ie(r,no,f.slide),ie(r,Kt,v||xc(f.slideLabel,[e+1,i.length]))),w()}function w(){a(r,"click",me(o,c_,N)),a(r,"keydown",me(o,g_,N)),s([fo,m_,jn],O),s(d_,A),p&&s(xi,C)}function S(){b=!0,n.destroy(),Xr(r,KD),Cr(r,Nc),ie(r,"style",m),ie(r,Kt,v||"")}function A(){var T=i.splides.map(function(D){var L=D.splide.Components.Slides.getAt(e);return L?L.slide.id:""}).join(" ");ie(r,Kt,xc(f.slideX,(y?t:e)+1)),ie(r,ho,T),ie(r,Gr,h?"button":""),h&&Cr(r,no)}function C(){b||O()}function O(){if(!b){var T=i.index;F(),k(),Ur(r,S_,e===T-1),Ur(r,T_,e===T+1)}}function F(){var T=z();T!==Yp(r,un)&&(Ur(r,un,T),ie(r,y_,d&&T||""),o(T?CD:SD,N))}function k(){var T=M(),D=!T&&(!z()||y);if(i.state.is([$n,so])||ie(r,w_,D||""),ie(Fc(r,c.focusableNodes||""),Un,D?-1:""),h&&ie(r,Un,D?-1:0),T!==Yp(r,bc)&&(Ur(r,bc,T),o(T?TD:AD,N)),!T&&document.activeElement===r){var L=u.Slides.getAt(i.index);L&&s_(L.slide)}}function V(T,D,L){ur(L&&x||r,T,D)}function z(){var T=i.index;return T===e||c.cloneStatus&&T===t}function M(){if(i.is(po))return z();var T=jt(u.Elements.track),D=jt(r),L=g("left",!0),U=g("right",!0);return za(T[L])<=ro(D[L])&&za(D[U])<=ro(T[U])}function R(T,D){var L=Ot(T-e);return!y&&(c.rewind||i.is(Kn))&&(L=wi(L,i.length-L)),L<=D}var N={index:e,slideIndex:t,slide:r,container:x,isClone:y,mount:E,destroy:S,update:O,style:V,isWithin:R};return N}function ry(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(Ue,f),n(Ue,p)}function p(){u.forEach(function(O,F){h(O,F,-1)})}function f(){b(function(O){O.destroy()}),$r(c)}function _(){b(function(O){O.update()})}function h(O,F,k){var V=ty(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 Ra(z.index,k,k+V-1)})}function v(O){return E(O)[0]}function y(O,F){Zt(O,function(k){if(yi(k)&&(k=o_(k)),i_(k)){var V=u[F];V?Ac(k,V):uo(l,k),Er(k,t.classes.slide),S(k,me(s,io))}}),s(Ue)}function x(O){an(E(O).map(function(F){return F.slide})),s(Ue)}function b(O,F){g(F).forEach(O)}function E(O){return c.filter(r_(O)?O:function(F){return yi(O)?Qs(F.slide,O):Tc(ao(O),F.index)})}function w(O,F,k){b(function(V){V.style(O,F,k)})}function S(O,F){var k=Fc(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 C(){return c.length>t.perPage}return{mount:d,destroy:f,update:_,register:h,get:g,getIn:m,getAt:v,add:y,remove:x,forEach:b,filter:E,style:w,getLength:A,isEnough:C}}function iy(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",zD(me(o,io))),n([Pt,Ue],y),n(io,x)}function y(){h=t.direction===Xa,ur(c,"maxWidth",sn(t.width)),ur(d,u("paddingLeft"),b(!1)),ur(d,u("paddingRight"),b(!0)),x(!0)}function x(N){var T=jt(c);(N||g.width!==T.width||g.height!==T.height)&&(ur(d,"height",E()),_(u("marginRight"),sn(t.gap)),_("width",S()),_("height",A(),!0),g=T,o(kc),m!==(m=R())&&(Ur(c,F_,m),o(kD,m)))}function b(N){var T=t.padding,D=u(N?"right":"left");return T&&sn(T[D]||(Zs(T)?0:T))||"0px"}function E(){var N="";return h&&(N=w(),js(N,"height or heightRatio is missing."),N="calc("+N+" - "+b(!1)+" - "+b(!0)+")"),N}function w(){return sn(t.height||jt(p).width*t.heightRatio)}function S(){return t.autoWidth?null:sn(t.fixedWidth)||(h?"":C())}function A(){return sn(t.fixedHeight)||(h?t.autoHeight?null:C():w())}function C(){var N=sn(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 Ot(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(ur(N.slide,u("marginRight")))||0}function M(N){return parseFloat(ur(d,u("padding"+(N?"Right":"Left"))))||0}function R(){return i.is(po)||V(!0)>O()}return{mount:v,resize:x,listSize:O,slideSize:F,sliderSize:V,totalSize:k,getPadding:M,isOverflow:R}}var ny=2;function sy(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(Ue,d),n([Pt,io],f),(l=g())&&(_(l),e.Layout.resize(!0))}function d(){p(),c()}function p(){an(u),$r(u),r.destroy()}function f(){var m=g();l!==m&&(l<m||!m)&&r.emit(Ue)}function _(m){var v=o.get().slice(),y=v.length;if(y){for(;v.length<m;)La(v,v);La(v.slice(-m),v.slice(0,m)).forEach(function(x,b){var E=b<m,w=h(x.slide,b);E?Ac(w,v[0].slide):uo(s.list,w),La(u,w),o.register(w,b-m+(E?0:y),x.index)})}}function h(m,v){var y=m.cloneNode(!0);return Er(y,t.classes.clone),y.id=i.root.id+"-clone"+Pc(v+1),y}function g(){var m=t.clones;if(!i.is(Kn))m=0;else if(oo(m)){var v=t[a("fixedWidth")]&&e.Layout.slideSize(0),y=v&&ro(jt(s.track)[a("width")]/v);m=y||t[a("autoWidth")]&&i.length||t.perPage*ny}return m}return{mount:c,destroy:p}}function oy(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 x(){y=e.Transition,n([ln,kc,Pt,Ue],b)}function b(){e.Controller.isBusy()||(e.Scroll.cancel(),w(i.index),e.Slides.update())}function E(D,L,U,re){D!==L&&N(D>U)&&(O(),S(C(V(),D>U),!0)),o($n),s(xi,L,U,D),y.start(L,function(){o(Xn),s(fo,L,U,D),re&&re()})}function w(D){S(k(D,!0))}function S(D,L){if(!i.is(po)){var U=L?D:A(D);ur(m,"transform","translate"+_("X")+"("+U+"px)"),D!==U&&s(m_)}}function A(D){if(i.is(Kn)){var L=F(D),U=L>e.Controller.getEnd(),re=L<0;(re||U)&&(D=C(D,U))}return D}function C(D,L){var U=D-R(L),re=p();return D-=h(re*(ro(Ot(U)/re)||1))*(L?1:-1),D}function O(){S(V(),!0),y.cancel()}function F(D){for(var L=e.Slides.get(),U=0,re=1/0,X=0;X<L.length;X++){var G=L[X].index,I=Ot(k(G,!0)-D);if(I<=re)re=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(Gn)&&(D=Wn(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(C(V(),D));return D?L>=0:L<=m[_("scrollWidth")]-jt(v)[_("width")]}function T(D,L){L=oo(L)?V():L;var U=D!==!0&&h(L)<h(R(!1)),re=D!==!1&&h(L)>h(R(!0));return U||re}return{mount:x,move:E,jump:w,translate:S,shift:C,cancel:O,toIndex:F,toPosition:k,getPosition:V,getLimit:R,exceededLimit:T,reposition:b}}function ay(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(Kn),h=i.is(Gn),g=me(V,!1),m=me(V,!0),v=t.start||0,y,x=v,b,E,w;function S(){A(),n([Pt,Ue,Va],A),n(kc,C)}function A(){b=p(!0),E=t.perMove,w=t.perPage,y=N();var I=Wn(v,0,f?y:b-1);I!==v&&(v=I,o.reposition())}function C(){y!==N()&&s(Va)}function O(I,Y,de){if(!G()){var ne=k(I),se=R(ne);se>-1&&(Y||se!==v)&&(U(se),o.move(ne,se,x,de))}}function F(I,Y,de,ne){e.Scroll.scroll(I,Y,de,function(){var se=R(o.toIndex(a()));U(f?wi(se,y):se),ne&&ne()})}function k(I){var Y=v;if(yi(I)){var de=I.match(/([+\-<>])(\d+)?/)||[],ne=de[1],se=de[2];ne==="+"||ne==="-"?Y=z(v+ +(""+ne+(+se||1)),v):ne===">"?Y=se?T(+se):g(!0):ne==="<"&&(Y=m(!0))}else Y=_?I:Wn(I,0,y);return Y}function V(I,Y){var de=E||(X()?1:w),ne=z(v+de*(I?-1:1),v,!(E||X()));return ne===-1&&h&&!u_(a(),u(!I),1)?I?0:y:Y?ne:R(ne)}function z(I,Y,de){if(d()||X()){var ne=M(I);ne!==I&&(Y=I,I=ne,de=!1),I<0||I>y?!E&&(Ra(0,I,Y,!0)||Ra(y,Y,I,!0))?I=T(D(I)):_?I=de?I<0?-(b%w||w):b:I:t.rewind?I=I<0?y:0:I=-1:de&&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)&&Ra(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-(X()||_&&E?1:w);f&&I-- >0;)if(l(b-1,!0)!==l(I,!0)){I++;break}return Wn(I,0,b-1)}function T(I){return Wn(X()?I:w*I,0,y)}function D(I){return X()?wi(I,y):za((I>=y?b-1:I)/w)}function L(I){var Y=o.toIndex(I);return h?Wn(Y,0,y):Y}function U(I){I!==v&&(x=v,v=I)}function re(I){return I?x:v}function X(){return!oo(t.focus)||t.isNavigation}function G(){return i.state.is([$n,so])&&!!t.waitForTransition}return{mount:S,go:O,scroll:F,getNext:g,getPrev:m,getAdjacent:V,getEnd:N,setIndex:U,getIndex:re,toIndex:T,toPage:D,toDest:L,hasFocus:X,isBusy:G}}var uy="http://www.w3.org/2000/svg",ly="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",ka=40;function cy(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(){b(),n(Pt,x)}function x(){E(),y()}function b(){var F=t.arrows;F&&!(_&&h)&&A(),_&&h&&(eo(v,{prev:_,next:h}),to(f,F?"":"none"),Er(f,m=Ic+"--"+t.direction),F&&(w(),O(),ie([_,h],ho,p.id),o(MD,_,h)))}function E(){r.destroy(),Xr(f,m),g?(an(d?[_,h]:f),_=h=null):Cr([_,h],Nc)}function w(){n([ln,fo,Ue,jn,Va],O),s(h,"click",me(S,">")),s(_,"click",me(S,"<"))}function S(F){c.go(F,!0)}function A(){f=d||Yn("div",a.arrows),_=C(!0),h=C(!1),g=!0,uo(f,[_,h]),!d&&Ac(f,p)}function C(F){var k='<button class="'+a.arrow+" "+(F?a.prev:a.next)+'" type="button"><svg xmlns="'+uy+'" viewBox="0 0 '+ka+" "+ka+'" width="'+ka+'" height="'+ka+'" focusable="false"><path d="'+(t.arrowPath||ly)+'" />';return o_(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,ie(_,Kt,z),ie(h,Kt,M),o(LD,_,h,k,V)}}return{arrows:v,mount:y,destroy:E,update:O}}var fy=Oc+"-interval";function dy(i,e,t){var r=Se(i),n=r.on,s=r.bind,o=r.emit,a=Ha(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&&ie(p,ho,l.track.id),g||y(),E())}function v(){t.pauseOnHover&&s(d,"mouseenter mouseleave",function(A){_=A.type==="mouseenter",b()}),t.pauseOnFocus&&s(d,"focusin focusout",function(A){h=A.type==="focusin",b()}),p&&s(p,"click",function(){g?y():x(!0)}),n([xi,Mc,Ue],a.rewind),n(xi,S)}function y(){u()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),h=_=g=!1,E(),o(h_))}function x(A){A===void 0&&(A=!0),g=!!A,E(),u()||(a.pause(),o(p_))}function b(){g||(_||h?x(!1):y())}function E(){p&&(Ur(p,un,!g),ie(p,Kt,t.i18n[g?"play":"pause"]))}function w(A){var C=l.bar;C&&ur(C,"width",A*100+"%"),o(ID,A)}function S(A){var C=e.Slides.getAt(A);a.set(C&&+lr(C.slide,fy)||t.interval)}return{mount:m,destroy:a.cancel,play:y,pause:x,isPaused:u}}function hy(i,e,t){var r=Se(i),n=r.on;function s(){t.cover&&(n(__,me(a,!0)),n([ln,Pt,Ue],me(o,!0)))}function o(u){e.Slides.forEach(function(l){var c=lo(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),to(l,u?"none":"")}return{mount:s,destroy:me(o,!1)}}var py=10,_y=600,gy=.6,my=1.5,vy=800;function Dy(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(Gn),f,_,h=1;function g(){n(xi,x),n([Pt,Ue],b)}function m(w,S,A,C,O){var F=u();if(x(),A&&(!p||!c())){var k=e.Layout.sliderSize(),V=wc(w)*k*za(Ot(w)/k)||0;w=a.toPosition(e.Controller.toDest(w%k))+V}var z=u_(F,w,1);h=1,S=z?0:S||Ba(Ot(w-F)/my,vy),_=C,f=Ha(S,v,me(y,F,w,O),1),o(so),s(Mc),f.start()}function v(){o(Xn),_&&_(),s(jn)}function y(w,S,A,C){var O=u(),F=w+(S-w)*E(C),k=(F-O)*h;d(O+k),p&&!A&&c()&&(h*=gy,Ot(k)<py&&m(l(c(!0)),_y,!1,_,!0))}function x(){f&&f.cancel()}function b(){f&&!f.isPaused()&&(x(),v())}function E(w){var S=t.easingFunc;return S?S(w):1-Math.pow(1-w,4)}return{mount:g,destroy:x,scroll:m,cancel:b}}var Hn={passive:!1,capture:!0};function yy(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,x,b,E,w,S=!1,A,C,O;function F(){o(p,mc,Dc,Hn),o(p,vc,Dc,Hn),o(p,O_,V,Hn),o(p,"click",R,{capture:!0}),o(p,"dragstart",Yr),n([ln,Pt],k)}function k(){var B=t.drag;bt(!B),E=B==="free"}function V(B){if(A=!1,!C){var Q=se(B);ne(B.target)&&(Q||!B.button)&&(d.isBusy()?Yr(B,!0):(O=Q?p:window,w=u.is([$n,so]),b=null,o(O,mc,z,Hn),o(O,vc,M,Hn),l.cancel(),c.cancel(),N(B)))}}function z(B){if(u.is(Ma)||(u.set(Ma),s(FD)),B.cancelable)if(w){l.translate(y+de(X(B)));var Q=G(B)>Jp,Te=S!==(S=v());(Q||Te)&&N(B),A=!0,s(OD),Yr(B)}else L(B)&&(w=D(B),Yr(B))}function M(B){u.is(Ma)&&(u.set(Xn),s(PD)),w&&(T(B),Yr(B)),a(O,mc,z),a(O,vc,M),w=!1}function R(B){!C&&A&&Yr(B,!0)}function N(B){b=x,x=B,y=m()}function T(B){var Q=U(B),Te=re(Q),Ve=t.rewind&&t.rewindByDrag;f(!1),E?d.scroll(Te,0,t.snap):i.is(po)?d.go(g(wc(Q))<0?Ve?"<":"-":Ve?">":"+"):i.is(Gn)&&S&&Ve?d.go(v(!0)?">":"<"):d.go(d.toDest(Te),!0),f(!0)}function D(B){var Q=t.dragMinThreshold,Te=Zs(Q),Ve=Te&&Q.mouse||0,P=(Te?Q.touch:+Q)||10;return Ot(X(B))>(se(B)?P:Ve)}function L(B){return Ot(X(B))>Ot(X(B,!0))}function U(B){if(i.is(Kn)||!S){var Q=G(B);if(Q&&Q<Jp)return X(B)/Q}return 0}function re(B){return m()+wc(B)*wi(Ot(B)*(t.flickPower||600),E?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function X(B,Q){return Y(B,Q)-Y(I(B),Q)}function G(B){return yc(B)-yc(I(B))}function I(B){return x===B&&b||x}function Y(B,Q){return(se(B)?B.changedTouches[0]:B)["page"+h(Q?"Y":"X")]}function de(B){return B/(S&&i.is(Gn)?JD:1)}function ne(B){var Q=t.noDrag;return!Qs(B,"."+C_+", ."+$a)&&(!Q||!Qs(B,Q))}function se(B){return typeof TouchEvent<"u"&&B instanceof TouchEvent}function Ze(){return w}function bt(B){C=B}return{mount:F,disable:bt,isDragging:Ze}}var wy={Spacebar:" ",Right:Ua,Left:Ya,Up:v_,Down:D_};function zc(i){return i=yi(i)?i:i.key,wy[i]||i}var e_="keydown";function xy(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(Pt,f),n(Pt,p),n(xi,h)}function p(){var m=t.keyboard;m&&(l=m==="global"?window:a,s(l,e_,g))}function f(){o(l,e_)}function _(m){c=m}function h(){var m=c;c=!0,t_(function(){c=m})}function g(m){if(!c){var v=zc(m);v===u(Ya)?i.go("<"):v===u(Ua)&&i.go(">")}}return{mount:d,destroy:f,disable:_}}var Ks=Oc+"-lazy",Na=Ks+"-srcset",by="["+Ks+"], ["+Na+"]";function Ey(i,e,t){var r=Se(i),n=r.on,s=r.off,o=r.bind,a=r.emit,u=t.lazyLoad==="sequential",l=[fo,jn],c=[];function d(){t.lazyLoad&&(p(),n(Ue,p))}function p(){$r(c),f(),u?m():(s(l),n(l,_),_())}function f(){e.Slides.forEach(function(v){Fc(v.slide,by).forEach(function(y){var x=lr(y,Ks),b=lr(y,Na);if(x!==y.src||b!==y.srcset){var E=t.classes.spinner,w=y.parentElement,S=lo(w,"."+E)||Yn("span",E,w);c.push([y,v,S]),y.src||to(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];Er(v[1].slide,Ec),o(y,"load error",me(g,v)),ie(y,"src",lr(y,Ks)),ie(y,"srcset",lr(y,Na)),Cr(y,Ks),Cr(y,Na)}function g(v,y){var x=v[0],b=v[1];Xr(b.slide,Ec),y.type!=="error"&&(an(v[2]),to(x,""),a(__,x,b),a(io)),u&&m()}function m(){c.length&&h(c.shift())}return{mount:d,destroy:me($r,c),check:_}}function Cy(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([Pt,Ue,Va],v);var C=t.pagination;_&&to(_,C?"":"none"),C&&(n([xi,Mc,jn],A),x(),A(),s(RD,{list:g,items:h},S(i.index)))}function y(){g&&(an(_?bi(g.children):g),Xr(g,m),$r(h),g=null),r.destroy()}function x(){var C=i.length,O=t.classes,F=t.i18n,k=t.perPage,V=c()?l.getEnd()+1:ro(C/k);g=_||Yn("ul",O.pagination,u.track.parentElement),Er(g,m=ja+"--"+w()),ie(g,Gr,"tablist"),ie(g,Kt,F.select),ie(g,Rc,w()===Xa?"vertical":"");for(var z=0;z<V;z++){var M=Yn("li",null,g),R=Yn("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",me(b,z)),t.paginationKeyboard&&o(R,"keydown",me(E,z)),ie(M,Gr,"presentation"),ie(R,Gr,"tab"),ie(R,ho,N.join(" ")),ie(R,Kt,xc(T,z+1)),ie(R,Un,-1),h.push({li:M,button:R,page:z})}}function b(C){p(">"+C,!0)}function E(C,O){var F=h.length,k=zc(O),V=w(),z=-1;k===f(Ua,!1,V)?z=++C%F:k===f(Ya,!1,V)?z=(--C+F)%F:k==="Home"?z=0:k==="End"&&(z=F-1);var M=h[z];M&&(s_(M.button),p(">"+z),Yr(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;Xr(F,un),Cr(F,$p),ie(F,Un,-1)}if(O){var k=O.button;Er(k,un),ie(k,$p,!0),ie(k,Un,"")}s(ND,{list:g,items:h},C,O)}return{items:h,mount:v,destroy:y,getAt:S,update:A}}var Sy=[" ","Enter"];function Ty(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()}),$r(s)}function u(){a(),o()}function l(_,h){var g=Se(_);g.on(xi,function(m,v,y){h.go(h.is(Kn)?y:m)}),s.push(g)}function c(){var _=Se(i),h=_.on;h(c_,p),h(g_,f),h([ln,Pt],d),s.push(_),_.emit(d_,i.splides)}function d(){ie(e.Elements.list,Rc,t.direction===Xa?"vertical":"")}function p(_){i.go(_.index)}function f(_,h){Tc(Sy,zc(h))&&(p(_),Yr(h))}return{setup:me(e.Media.set,{slideFocus:oo(n)?r:n},!0),mount:o,destroy:a,remount:u}}function Ay(i,e,t){var r=Se(i),n=r.bind,s=0;function o(){t.wheel&&n(e.Elements.track,"wheel",a,Hn)}function a(l){if(l.cancelable){var c=l.deltaY,d=c<0,p=yc(l),f=t.wheelMinThreshold||0,_=t.wheelSleep||0;Ot(c)>f&&p-s>_&&(i.go(d?"<":">"),s=p),u(d)&&Yr(l)}}function u(l){return!t.releaseWheel||i.state.is($n)||e.Controller.getAdjacent(l)!==-1}return{mount:o}}var Fy=90;function Oy(i,e,t){var r=Se(i),n=r.on,s=e.Elements.track,o=t.live&&!t.isNavigation,a=Yn("span",$D),u=Ha(Fy,me(c,!1));function l(){o&&(p(!e.Autoplay.isPaused()),ie(s,Zp,!0),a.textContent="\u2026",n(h_,me(p,!0)),n(p_,me(p,!1)),n([fo,jn],me(c,!0)))}function c(f){ie(s,Kp,f),f?(uo(s,a),u.start()):(an(a),u.cancel())}function d(){Cr(s,[jp,Zp,Kp]),an(a)}function p(f){o&&ie(s,jp,f?"off":"polite")}return{mount:l,disable:p,destroy:d}}var Py=Object.freeze({__proto__:null,Media:VD,Direction:WD,Elements:ey,Slides:ry,Layout:iy,Clones:sy,Move:oy,Controller:ay,Arrows:cy,Autoplay:dy,Cover:hy,Scroll:Dy,Drag:yy,Keyboard:xy,LazyLoad:Ey,Pagination:Cy,Sync:Ty,Wheel:Ay,Live:Oy}),ky={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"},My={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:ZD,i18n:ky,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Ly(i,e,t){var r=e.Slides;function n(){Se(i).on([ln,Ue],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),t_(u)}return{mount:n,start:o,cancel:Dc}}function Ry(i,e,t){var r=e.Move,n=e.Controller,s=e.Scroll,o=e.Elements.list,a=me(ur,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);Ot(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(Gn)&&_){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 Ny=function(){function i(t,r){this.event=Se(),this.Components={},this.state=BD(qn),this.splides=[],this._o={},this._E={};var n=yi(t)?a_(document,t):t;js(n,n+" is invalid."),this.root=n,r=Di({label:lr(n,Kt)||"",labelledby:lr(n,Lc)||""},My,i.defaults,r||{});try{Di(r,JSON.parse(lr(n,Oc)))}catch{js(!1,"Invalid JSON")}this._o=Object.create(Di({},r))}var e=i.prototype;return e.mount=function(r,n){var s=this,o=this.state,a=this.Components;js(o.is([qn,Ia]),"Already mounted!"),o.set(qn),this._C=a,this._T=n||this._T||(this.is(po)?Ly:Ry),this._E=r||this._E;var u=eo({},Py,this._E,{Transition:this._T});return on(u,function(l,c){var d=l(s,a,s._o);a[c]=d,d.setup&&d.setup()}),on(a,function(l){l.mount&&l.mount()}),this.emit(ln),Er(this.root,jD),o.set(Xn),this.emit(Xp),this},e.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(Xn)&&(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(Ue),this},e.destroy=function(r){r===void 0&&(r=!0);var n=this.event,s=this.state;return s.is(qn)?Se(this).on(Xp,this.destroy.bind(this,r)):(on(this._C,function(o){o.destroy&&o.destroy(r)},!0),n.emit(f_),n.destroy(),r&&$r(this.splides),s.set(Ia)),this},wD(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=Ny;jr.defaults={};jr.STATES=bD;var Tr,Hc,Iy,Ja,I_,B_,P_,Wc,z_,V_=function(){return typeof window<"u"},W_=function(){return Tr||V_()&&(Tr=window.gsap)&&Tr.registerPlugin&&Tr},By=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Vc={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},cn=function(e){return Math.round(e*1e4)/1e4},Kr=function(e){return parseFloat(e)||0},k_=function(e,t){var r=Kr(e);return~e.indexOf("%")?r/100*t:r},Ka=function(e,t){return Kr(e.getAttribute(t))},Za=Math.sqrt,M_=function(e,t,r,n,s,o){return Za(Math.pow((Kr(r)-Kr(e))*s,2)+Math.pow((Kr(n)-Kr(t))*o,2))},L_=function(e){return console.warn(e)},H_=function(e){return e.getAttribute("vector-effect")==="non-scaling-stroke"},zy=1,Vy=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=k_(s,t),o=k_(o,t),s>o?[o,s]:[s,o]},Qa=function(e){if(e=Hc(e)[0],!e)return 0;var t=e.tagName.toLowerCase(),r=e.style,n=1,s=1,o,a,u,l,c,d,p;H_(e)&&(s=e.getScreenCTM(),n=Za(s.a*s.a+s.b*s.b),s=Za(s.d*s.d+s.c*s.c));try{a=e.getBBox()}catch{L_("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)&&Vc[t]&&(g=Ka(e,Vc[t][0]),m=Ka(e,Vc[t][1]),t!=="rect"&&t!=="line"&&(g*=2,m*=2),t==="line"&&(_=Ka(e,"x1"),h=Ka(e,"y1"),g=Math.abs(g-_),m=Math.abs(m-h))),t==="path")l=r.strokeDasharray,r.strokeDasharray="none",o=e.getTotalLength()||0,cn(n)!==cn(s)&&!P_&&(P_=1)&&L_("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=M_(_,h,_+g,h+m,n,s);else if(t==="polyline"||t==="polygon")for(u=e.getAttribute("points").match(By)||[],t==="polygon"&&u.push(u[0],u[1]),o=0,c=2;c<u.length;c+=2)o+=M_(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)-Za((3*d+p)*(d+3*p))));return o||0},R_=function(e,t){if(e=Hc(e)[0],!e)return[0,0];t||(t=Qa(e)+1);var r=Ja.getComputedStyle(e),n=r.strokeDasharray||"",s=Kr(r.strokeDashoffset),o=n.indexOf(",");return o<0&&(o=n.indexOf(" ")),n=o<0?t:Kr(n.substr(0,o)),n>t&&(n=t),[-s||0,n-s||0]},N_=function(){V_()&&(Iy=document,Ja=window,B_=Tr=W_(),Hc=Tr.utils.toArray,Wc=Tr.core.getStyleSaver,z_=Tr.core.reverting||function(){},I_=((Ja.navigator||{}).userAgent||"").indexOf("Edge")!==-1)},qc={version:"3.12.5",name:"drawSVG",register:function(e){Tr=e,N_()},init:function(e,t,r,n,s){if(!e.getBBox)return!1;B_||N_();var o=Qa(e),a,u,l;return this.styles=Wc&&Wc(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=R_(e,o),u=Vy(t,o,a[0]),this._length=cn(o),this._dash=cn(a[1]-a[0]),this._offset=cn(-a[0]),this._dashPT=this.add(this,"_dash",this._dash,cn(u[1]-u[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,cn(-u[0]),0,0,0,0,0,1),I_&&(l=Ja.getComputedStyle(e),l.strokeLinecap!==l.strokeLinejoin&&(u=Kr(l.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",u,u+.01))),this._live=H_(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),zy},render:function(e,t){if(t.tween._time||!z_()){var r=t._pt,n=t._style,s,o,a,u;if(r){for(t._live&&(s=Qa(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:Qa,getPosition:R_};W_()&&Tr.registerPlugin(qc);H.registerPlugin(K,zn,nn,$t,qc);function Wy(){nn.create("loader","0.83, 0, 0.17, 1"),nn.create("loader2","0.77, 0, 0.175, 1")}var _o;function Hy(){let i=document.querySelector(".contact-modal_main-wrapper"),e=document.querySelector(".contact-modal_content-wrapper");_o=H.timeline({paused:!0}),_o.to(i,{autoAlpha:1,duration:.3,ease:"loader2"}),_o.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 kt=new Bo({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function qy(){kt.on("scroll",K.update),H.ticker.add(e=>{kt.raf(e*1e3)}),H.ticker.lagSmoothing(0);function i(e){kt.raf(e),requestAnimationFrame(i)}requestAnimationFrame(i)}function Yy(){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 Uy(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function Xy(){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"),kt.start()):(document.body.classList.add("is-scroll-off"),kt.stop()))};new MutationObserver(r).observe(e,t)}i()}function Gy(){document.querySelector(".is-footer")&&H.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},autoAlpha:0})}function $y(){let i=H.timeline({});i.add(function(){history.scrollRestoration="manual",kt.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(){kt.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 Ky=document.querySelector(".info-bar"),q_=H.timeline({paused:!0});q_.to(".navbar",{y:"-100%",duration:.2,ease:"loader2"});Ky&&q_.to(".button_small.is-navbar",{top:"1.75rem",duration:.2,ease:"loader2"},"<");function Zy(){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)=>{K.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&&K.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),K.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 $t("#heroHeading",{type:"lines",linesClass:"hero-line"}),s=new $t("#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"),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)=>{K.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 $t("#heroHeading",{type:"lines",linesClass:"hero-line"}),r=new $t("#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=$(".hover-title"),t=$(".hover-mask");e.each(function(r){let n=!1,s=H.fromTo(t[r],{height:"0vh"},{height:"73vh",ease:"loader",duration:1.5,paused:!0,onComplete:()=>{n||$(e[r]).css("z-index",19)},onReverseComplete:()=>{n||$(e[r]).css("z-index","")}});$(this).on("mouseenter",()=>{n=!0,$(this).css("z-index",21),s.restart().play()}),$(this).on("mouseleave",()=>{n=!1,s.reverse()})})};window.caseStudyInteraction=function(i){let e=i.querySelector(".portfolio_item_image-mask"),t=H.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});K.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 Y_=H.utils.toArray(".panel"),Qy=Y_.map(i=>K.create({trigger:i,start:"top top"}));Y_.forEach((i,e)=>{K.create({trigger:i,start:()=>i.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,pinSpacing:!1})});K.create({snap:{snapTo:(i,e)=>{let t=Qy.map(n=>n.start),r=H.utils.snap(t,e.scroll());return H.utils.normalize(0,K.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(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(s){s.keyCode===27&&(n.timeScale(4).reverse(),t.pause(),kt.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 $t("#statsDone",{type:"lines",linesClass:"stats-line"}),t=new $t("#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});K.create({animation:r,trigger:e,start:"top 80%",onEnter:()=>r.play()})})};window.updateScrollTrigger=function(){window.onload=function(){K.update()}};window.blogPostMaskAnimation=function(i){let e=document.querySelector("#heroSection"),t=H.from(".post_main-mask-ract",{left:"0%",ease:"loader2"});K.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(){_o.play(),document.body.classList.add("is-scroll-off"),kt.stop()};window.closeContactModal=function(){_o.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=H.timeline({}),t=new $t("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line"}),r=new $t("#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(){K.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!"),gd(),Yy(),Webflow.env("editor")===void 0?(qy(),kt.start()):(console.log("Editor mode ON"),kt.destroy()),Wy(),Uy(),Gy(),$y(),jy(),Zy(),Hy(),Xy()});})();
|
|
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()});})();
|
|
6
6
|
/*! Bundled license information:
|
|
7
7
|
|
|
8
8
|
gsap/gsap-core.js:
|