@widelab-nc/widelab 1.1.24 → 1.1.26
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 +62 -62
- package/dist/index.js.map +4 -4
- package/dist/style.css +1 -1
- package/dist/style.css.map +2 -2
- package/package.json +2 -2
- package/src/index.js +151 -36
package/dist/index.js
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
(()=>{var
|
|
1
|
+
(()=>{var ou=!1,au=!1,Pi=[],uu=-1;function q_(i){Y_(i)}function Y_(i){Pi.includes(i)||Pi.push(i),U_()}function uf(i){let e=Pi.indexOf(i);e!==-1&&e>uu&&Pi.splice(e,1)}function U_(){!au&&!ou&&(ou=!0,queueMicrotask(X_))}function X_(){ou=!1,au=!0;for(let i=0;i<Pi.length;i++)Pi[i](),uu=i;Pi.length=0,uu=-1,au=!1}var gn,mn,us,lf,lu=!0;function G_(i){lu=!1,i(),lu=!0}function j_(i){gn=i.reactive,us=i.release,mn=e=>i.effect(e,{scheduler:t=>{lu?q_(t):t()}}),lf=i.raw}function Gc(i){mn=i}function $_(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 ti(i,e){if(typeof ShadowRoot=="function"&&i instanceof ShadowRoot){Array.from(i.children).forEach(n=>ti(n,e));return}let t=!1;if(e(i,()=>t=!0),t)return;let r=i.firstElementChild;for(;r;)ti(r,e,!1),r=r.nextElementSibling}function Or(i,...e){console.warn(`Alpine Warning: ${i}`,...e)}var jc=!1;function K_(){jc&&Or("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),jc=!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"),Fu(),J_(e=>Pr(e,ti)),Su(e=>Cu(e)),Df((e,t)=>{ku(e,t).forEach(r=>r())});let i=e=>!To(e.parentElement,!0);Array.from(document.querySelectorAll(df())).filter(i).forEach(e=>{Pr(e)}),ns(document,"alpine:initialized")}var wu=[],cf=[];function ff(){return wu.map(i=>i())}function df(){return wu.concat(cf).map(i=>i())}function hf(i){wu.push(i)}function pf(i){cf.push(i)}function To(i,e=!1){return Ao(i,t=>{if((e?df():ff()).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 Z_(i){return ff().some(e=>i.matches(e))}var _f=[];function Q_(i){_f.push(i)}function Pr(i,e=ti,t=()=>{}){pg(()=>{e(i,(r,n)=>{t(r,n),_f.forEach(s=>s(r,n)),ku(r,r.attributes).forEach(s=>s()),r._x_ignore&&n()})})}function Cu(i){ti(i,e=>{xf(e),eg(e)})}var gf=[],mf=[],vf=[];function J_(i){vf.push(i)}function Su(i,e){typeof e=="function"?(i._x_cleanups||(i._x_cleanups=[]),i._x_cleanups.push(e)):(e=i,mf.push(e))}function Df(i){gf.push(i)}function yf(i,e,t){i._x_attributeCleanups||(i._x_attributeCleanups={}),i._x_attributeCleanups[e]||(i._x_attributeCleanups[e]=[]),i._x_attributeCleanups[e].push(t)}function xf(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 eg(i){if(i._x_cleanups)for(;i._x_cleanups.length;)i._x_cleanups.pop()()}var Tu=new MutationObserver(Pu),Au=!1;function Fu(){Tu.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Au=!0}function bf(){tg(),Tu.disconnect(),Au=!1}var ss=[],ru=!1;function tg(){ss=ss.concat(Tu.takeRecords()),ss.length&&!ru&&(ru=!0,queueMicrotask(()=>{rg(),ru=!1}))}function rg(){Pu(ss),ss.length=0}function We(i){if(!Au)return i();bf();let e=i();return Fu(),e}var Ou=!1,wo=[];function ig(){Ou=!0}function ng(){Ou=!1,Pu(wo),wo=[]}function Pu(i){if(Ou){wo=wo.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)=>{xf(o,s)}),r.forEach((s,o)=>{gf.forEach(a=>a(o,s))});for(let s of t)e.includes(s)||(mf.forEach(o=>o(s)),Cu(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,vf.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 Ef(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},sg)}var sg={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"?og: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 og(){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 Cf(i,e=()=>{}){let t={initialValue:void 0,_x_interceptor:!0,initialize(r,n,s){return i(this.initialValue,()=>ag(r,n),o=>cu(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 ag(i,e){return e.split(".").reduce((t,r)=>t[r],i)}function cu(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]]={}),cu(i[e[0]],e.slice(1),t)}}var Sf={};function rr(i,e){Sf[i]=e}function fu(i,e){return Object.entries(Sf).forEach(([t,r])=>{let n=null;function s(){if(n)return n;{let[o,a]=Mf(e);return n={interceptor:Cf,...o},Su(e,a),n}}Object.defineProperty(i,`$${t}`,{get(){return r(e,s())},enumerable:!1})}),i}function ug(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 Do=!0;function wf(i){let e=Do;Do=!1;let t=i();return Do=e,t}function Li(i,e,t={}){let r;return lt(i,e)(n=>r=n,t),r}function lt(...i){return Cf(...i)}var Cf=Sf;function og(i){Cf=i}function Sf(i,e){let t={};uu(t,i);let r=[t,..._n(i)],n=typeof e=="function"?ag(r,e):lg(r,e,i);return sg.bind(null,i,e,n)}function ag(i,e){return(t=()=>{},{scope:r={},params:n=[]}={})=>{let s=e.apply(fs([r,...i]),n);xo(t,s)}}var eu={};function ug(i,e){if(eu[i])return eu[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 eu[i]=s,s}function lg(i,e,t){let r=ug(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?(xo(n,r.result,a,o,t),r.result=void 0):u.then(l=>{xo(n,l,a,o,t)}).catch(l=>us(l,t,e)).finally(()=>r.result=void 0)}}}function xo(i,e,t,r,n){if(Do&&typeof e=="function"){let s=e.apply(t,r);s instanceof Promise?s.then(o=>xo(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 Fu="x-";function Dn(i=""){return Fu+i}function cg(i){Fu=i}var lu={};function Re(i,e){return lu[i]=e,{before(t){if(!lu[t]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let r=Mi.indexOf(t);Mi.splice(r>=0?r:Mi.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(Mf((s,o)=>r[s]=o)).filter(Lf).map(hg(r,t)).sort(pg).map(s=>dg(i,s))}function Tf(i){return Array.from(i).map(Mf()).filter(e=>!Lf(e))}var cu=!1,ns=new Map,Af=Symbol();function fg(i){cu=!0;let e=Symbol();Af=e,ns.set(e,[]);let t=()=>{for(;ns.get(e).length;)ns.get(e).shift()();ns.delete(e)},r=()=>{cu=!1,t()};i(t),r()}function Ff(i){let e=[],t=a=>e.push(a),[r,n]=X_(i);return e.push(n),[{Alpine:ds,effect:r,cleanup:t,evaluateLater:lt.bind(lt,i),evaluate:Li.bind(Li,i)},()=>e.forEach(a=>a())]}function dg(i,e){let t=()=>{},r=lu[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),cu?ns.get(Af).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}),Of=i=>i;function Mf(i=()=>{}){return({name:e,value:t})=>{let{name:r,value:n}=kf.reduce((s,o)=>o(s),{name:e,value:t});return r!==e&&i(r,e),{name:r,value:n}}}var kf=[];function Ou(i){kf.push(i)}function Lf({name:i}){return Rf().test(i)}var Rf=()=>new RegExp(`^${Fu}([^:^.]+)\\b`);function hg(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 fu="DEFAULT",Mi=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",fu,"teleport"];function pg(i,e){let t=Mi.indexOf(i.type)===-1?fu:i.type,r=Mi.indexOf(e.type)===-1?fu:e.type;return Mi.indexOf(t)-Mi.indexOf(r)}var du=[],Mu=!1;function ku(i=()=>{}){return queueMicrotask(()=>{Mu||setTimeout(()=>{hu()})}),new Promise(e=>{du.push(()=>{i(),e()})})}function hu(){for(Mu=!1;du.length;)du.shift()()}function _g(){Mu=!0}function Lu(i,e){return Array.isArray(e)?Xc(i,e.join(" ")):typeof e=="object"&&e!==null?gg(i,e):typeof e=="function"?Lu(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 gg(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 Co(i,e){return typeof e=="object"&&e!==null?mg(i,e):vg(i,e)}function mg(i,e){let t={};return Object.entries(e).forEach(([r,n])=>{t[r]=i.style[r],r.startsWith("--")||(r=Dg(r)),i.style.setProperty(r,n)}),setTimeout(()=>{i.style.length===0&&i.removeAttribute("style")}),()=>{Co(i,t)}}function vg(i,e){let t=i.getAttribute("style",e);return i.setAttribute("style",e),()=>{i.setAttribute("style",t||"")}}function Dg(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function pu(i,e=()=>{}){let t=!1;return function(){t?e.apply(this,arguments):(t=!0,i.apply(this,arguments))}}Re("transition",(i,{value:e,modifiers:t,expression:r},{evaluate:n})=>{typeof r=="function"&&(r=n(r)),r!==!1&&(!r||typeof r=="boolean"?xg(i,t,e):yg(i,r,e))});function yg(i,e,t){Nf(i,Lu,""),{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 xg(i,e,t){Nf(i,Co);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,h=rs(e,"delay",0)/1e3,d=rs(e,"origin","center"),f="opacity, transform",_=rs(e,"duration",150)/1e3,p=rs(e,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";n&&(i._x_transition.enter.during={transformOrigin:d,transitionDelay:`${h}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:d,transitionDelay:`${h}s`,transitionProperty:f,transitionDuration:`${p}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=()=>{}){_u(i,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){_u(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 _u(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;bg(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 bg(i,e){let t,r,n,s=pu(()=>{Ve(()=>{t=!0,r||e.before(),n||(e.end(),hu()),e.after(),i.isConnected&&e.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(o){this.beforeCancels.push(o)},cancel:pu(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();s()}),finish:s},Ve(()=>{e.start(),e.during()}),_g(),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),Ve(()=>{e.before()}),r=!0,requestAnimationFrame(()=>{t||(Ve(()=>{e.end()}),hu(),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 ti=!1;function So(i,e=()=>{}){return(...t)=>ti?e(...t):i(...t)}function Eg(i){return(...e)=>ti&&i(...e)}function wg(i,e){i._x_dataStack&&(e._x_dataStack=i._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),ti=!0,Bf(()=>{Mr(e,(t,r)=>{r(t,()=>{})})}),ti=!1}var gu=!1;function Cg(i,e){e._x_dataStack||(e._x_dataStack=i._x_dataStack),ti=!0,gu=!0,Bf(()=>{Sg(e)}),ti=!1,gu=!1}function Sg(i){let e=!1;Mr(i,(r,n)=>{ei(r,(s,o)=>{if(e&&j_(s))return o();e=!0,n(s,o)})})}function Bf(i){let e=vn;qc((t,r)=>{let n=e(t);return ls(n),()=>{}}),i(),qc(e)}function Tg(i){return ti?gu?!0:i.hasAttribute("data-has-alpine-state"):!1}function zf(i,e,t,r=[]){switch(i._x_bindings||(i._x_bindings=mn({})),i._x_bindings[e]=t,e=r.includes("camel")?Rg(e):e,e){case"value":Ag(i,t);break;case"style":Pg(i,t);break;case"class":Fg(i,t);break;case"selected":case"checked":Og(i,e,t);break;default:Vf(i,e,t);break}}function Ag(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")Lg(i,e);else{if(i.value===e)return;i.value=e===void 0?"":e}}function Fg(i,e){i._x_undoAddedClasses&&i._x_undoAddedClasses(),i._x_undoAddedClasses=Lu(i,e)}function Pg(i,e){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=Co(i,e)}function Og(i,e,t){Vf(i,e,t),kg(i,e,t)}function Vf(i,e,t){[null,void 0,!1].includes(t)&&Ng(e)?i.removeAttribute(e):(Wf(e)&&(t=e),Mg(i,e,t))}function Mg(i,e,t){i.getAttribute(e)!=t&&i.setAttribute(e,t)}function kg(i,e,t){i[e]!==t&&(i[e]=t)}function Lg(i,e){let t=[].concat(e).map(r=>r+"");Array.from(i.options).forEach(r=>{r.selected=t.includes(r.value)})}function Rg(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 Ng(i){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)}function Ig(i,e,t){return i._x_bindings&&i._x_bindings[e]!==void 0?i._x_bindings[e]:Hf(i,e,t)}function Bg(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,wf(()=>Li(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 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 qf(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=vn(()=>{let c,h;n?(c=i(),r(JSON.parse(JSON.stringify(c))),h=t(),n=!1):(c=i(),h=t(),a=JSON.stringify(c),u=JSON.stringify(h),a!==s?(h=t(),r(c),h=c):(e(JSON.parse(u??null)),c=h)),s=JSON.stringify(c),o=JSON.stringify(h)});return()=>{ls(l)}}function zg(i){(Array.isArray(i)?i:[i]).forEach(t=>t(ds))}var Oi={},jc=!1;function Vg(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 Wg(){return Oi}var Xf={};function Hg(i,e){let t=typeof e!="function"?()=>e:e;return i instanceof Element?Gf(i,t()):(Xf[i]=t,()=>{})}function Yg(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 qg(i,e){jf[i]=e}function Ug(i,e){return Object.entries(jf).forEach(([t,r])=>{Object.defineProperty(i,t,{get(){return(...n)=>r.bind(e)(...n)},enumerable:!1})}),i}var Xg={get reactive(){return mn},get release(){return ls},get effect(){return vn},get raw(){return of},version:"3.13.1",flushAndStopDeferringMutations:tg,dontAutoEvaluateFunctions:wf,disableEffectScheduling:q_,startObservingMutations:Su,stopObservingMutations:Df,setReactivityEngine:U_,onAttributeRemoved:mf,onAttributesAdded:gf,closestDataStack:_n,skipDuringClone:So,onlyDuringClone:Eg,addRootSelector:cf,addInitSelector:ff,addScopeToNode:cs,deferMutations:eg,mapAttributes:Ou,evaluateLater:lt,interceptInit:$_,setEvaluator:og,mergeProxies:fs,extractProp:Bg,findClosest:wo,onElRemoved:Eu,closestRoot:Eo,destroyTree:bu,interceptor:bf,transition:_u,setStyles:Co,mutateDom:Ve,directive:Re,entangle:Uf,throttle:qf,debounce:Yf,evaluate:Li,initTree:Mr,nextTick:ku,prefixed:Dn,prefix:cg,plugin:zg,magic:ir,store:Vg,start:G_,clone:Cg,cloneNode:wg,bound:Ig,$data:yf,walk:ei,data:qg,bind:Hg},ds=Xg;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 Gg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xy=$f(Gg+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),jg=Object.freeze({}),Gy=Object.freeze([]),$g=Object.prototype.hasOwnProperty,To=(i,e)=>$g.call(i,e),Ri=Array.isArray,as=i=>Kf(i)==="[object Map]",Kg=i=>typeof i=="string",Ru=i=>typeof i=="symbol",Ao=i=>i!==null&&typeof i=="object",Zg=Object.prototype.toString,Kf=i=>Zg.call(i),Zf=i=>Kf(i).slice(8,-1),Nu=i=>Kg(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,Fo=i=>{let e=Object.create(null);return t=>e[t]||(e[t]=i(t))},Qg=/-(\w)/g,jy=Fo(i=>i.replace(Qg,(e,t)=>t?t.toUpperCase():"")),Jg=/\B([A-Z])/g,$y=Fo(i=>i.replace(Jg,"-$1").toLowerCase()),Qf=Fo(i=>i.charAt(0).toUpperCase()+i.slice(1)),Ky=Fo(i=>i?`on${Qf(i)}`:""),Jf=(i,e)=>i!==e&&(i===i||e===e),mu=new WeakMap,is=[],_r,Ni=Symbol("iterate"),vu=Symbol("Map key iterate");function e0(i){return i&&i._isEffect===!0}function t0(i,e=jg){e0(i)&&(i=i.raw);let t=n0(i,e);return e.lazy||t(),t}function r0(i){i.active&&(ed(i),i.options.onStop&&i.options.onStop(),i.active=!1)}var i0=0;function n0(i,e){let t=function(){if(!t.active)return i();if(!is.includes(t)){ed(t);try{return o0(),is.push(t),_r=t,i()}finally{is.pop(),td(),_r=is[is.length-1]}}};return t.id=i0++,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 gn=!0,Iu=[];function s0(){Iu.push(gn),gn=!1}function o0(){Iu.push(gn),gn=!0}function td(){let i=Iu.pop();gn=i===void 0?!0:i}function rr(i,e,t){if(!gn||_r===void 0)return;let r=mu.get(i);r||mu.set(i,r=new Map);let n=r.get(t);n||r.set(t,n=new Set),n.has(_r)||(n.add(_r),_r.deps.push(n),_r.options.onTrack&&_r.options.onTrack({effect:_r,target:i,type:e,key:t}))}function ri(i,e,t,r,n,s){let o=mu.get(i);if(!o)return;let a=new Set,u=c=>{c&&c.forEach(h=>{(h!==_r||h.allowRecurse)&&a.add(h)})};if(e==="clear")o.forEach(u);else if(t==="length"&&Ri(i))o.forEach((c,h)=>{(h==="length"||h>=r)&&u(c)});else switch(t!==void 0&&u(o.get(t)),e){case"add":Ri(i)?Nu(t)&&u(o.get("length")):(u(o.get(Ni)),as(i)&&u(o.get(vu)));break;case"delete":Ri(i)||(u(o.get(Ni)),as(i)&&u(o.get(vu)));break;case"set":as(i)&&u(o.get(Ni));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 a0=$f("__proto__,__v_isRef,__isVue"),rd=new Set(Object.getOwnPropertyNames(Symbol).map(i=>Symbol[i]).filter(Ru)),u0=id(),l0=id(!0),$c=c0();function c0(){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){s0();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?S0:ad:e?C0:od).get(r))return r;let o=Ri(r);if(!i&&o&&To($c,n))return Reflect.get($c,n,s);let a=Reflect.get(r,n,s);return(Ru(n)?rd.has(n):a0(n))||(i||rr(r,"get",n),e)?a:Du(a)?!o||!Nu(n)?a.value:a:Ao(a)?i?ud(a):Wu(a):a}}var f0=d0();function d0(i=!1){return function(t,r,n,s){let o=t[r];if(!i&&(n=me(n),o=me(o),!Ri(t)&&Du(o)&&!Du(n)))return o.value=n,!0;let a=Ri(t)&&Nu(r)?Number(r)<t.length:To(t,r),u=Reflect.set(t,r,n,s);return t===me(s)&&(a?Jf(n,o)&&ri(t,"set",r,n,o):ri(t,"add",r,n)),u}}function h0(i,e){let t=To(i,e),r=i[e],n=Reflect.deleteProperty(i,e);return n&&t&&ri(i,"delete",e,void 0,r),n}function p0(i,e){let t=Reflect.has(i,e);return(!Ru(e)||!rd.has(e))&&rr(i,"has",e),t}function _0(i){return rr(i,"iterate",Ri(i)?"length":Ni),Reflect.ownKeys(i)}var g0={get:u0,set:f0,deleteProperty:h0,has:p0,ownKeys:_0},m0={get:l0,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}},Bu=i=>Ao(i)?Wu(i):i,zu=i=>Ao(i)?ud(i):i,Vu=i=>i,Po=i=>Reflect.getPrototypeOf(i);function po(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}=Po(n),a=r?Vu:t?zu:Bu;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 _o(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 go(i,e=!1){return i=i.__v_raw,!e&&rr(me(i),"iterate",Ni),Reflect.get(i,"size",i)}function Kc(i){i=me(i);let e=me(this);return Po(e).has.call(e,i)||(e.add(i),ri(e,"add",i,i)),this}function Zc(i,e){e=me(e);let t=me(this),{has:r,get:n}=Po(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)&&ri(t,"set",i,e,o):ri(t,"add",i,e),this}function Qc(i){let e=me(this),{has:t,get:r}=Po(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&&ri(e,"delete",i,void 0,s),o}function Jc(){let i=me(this),e=i.size!==0,t=as(i)?new Map(i):new Set(i),r=i.clear();return e&&ri(i,"clear",void 0,void 0,t),r}function mo(i,e){return function(r,n){let s=this,o=s.__v_raw,a=me(o),u=e?Vu:i?zu:Bu;return!i&&rr(a,"iterate",Ni),o.forEach((l,c)=>r.call(n,u(l),u(c),s))}}function vo(i,e,t){return function(...r){let n=this.__v_raw,s=me(n),o=as(s),a=i==="entries"||i===Symbol.iterator&&o,u=i==="keys"&&o,l=n[i](...r),c=t?Vu:e?zu:Bu;return!e&&rr(s,"iterate",u?vu:Ni),{next(){let{value:h,done:d}=l.next();return d?{value:h,done:d}:{value:a?[c(h[0]),c(h[1])]:c(h),done:d}},[Symbol.iterator](){return this}}}}function Jr(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 v0(){let i={get(s){return po(this,s)},get size(){return go(this)},has:_o,add:Kc,set:Zc,delete:Qc,clear:Jc,forEach:mo(!1,!1)},e={get(s){return po(this,s,!1,!0)},get size(){return go(this)},has:_o,add:Kc,set:Zc,delete:Qc,clear:Jc,forEach:mo(!1,!0)},t={get(s){return po(this,s,!0)},get size(){return go(this,!0)},has(s){return _o.call(this,s,!0)},add:Jr("add"),set:Jr("set"),delete:Jr("delete"),clear:Jr("clear"),forEach:mo(!0,!1)},r={get(s){return po(this,s,!0,!0)},get size(){return go(this,!0)},has(s){return _o.call(this,s,!0)},add:Jr("add"),set:Jr("set"),delete:Jr("delete"),clear:Jr("clear"),forEach:mo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{i[s]=vo(s,!1,!1),t[s]=vo(s,!0,!1),e[s]=vo(s,!1,!0),r[s]=vo(s,!0,!0)}),[i,t,e,r]}var[D0,y0,x0,b0]=v0();function nd(i,e){let t=e?i?b0:x0:i?y0:D0;return(r,n,s)=>n==="__v_isReactive"?!i:n==="__v_isReadonly"?i:n==="__v_raw"?r:Reflect.get(To(t,n)&&n in r?t:r,n,s)}var E0={get:nd(!1,!1)},w0={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,C0=new WeakMap,ad=new WeakMap,S0=new WeakMap;function T0(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function A0(i){return i.__v_skip||!Object.isExtensible(i)?0:T0(Zf(i))}function Wu(i){return i&&i.__v_isReadonly?i:ld(i,!1,g0,E0,od)}function ud(i){return ld(i,!0,m0,w0,ad)}function ld(i,e,t,r,n){if(!Ao(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=A0(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 Du(i){return!!(i&&i.__v_isRef===!0)}ir("nextTick",()=>ku);ir("dispatch",i=>ss.bind(ss,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",Wg);ir("data",i=>yf(i));ir("root",i=>Eo(i));ir("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=fs(F0(i))),i._x_refs_proxy));function F0(i){let e=[],t=i;for(;t;)t._x_refs&&e.push(t._x_refs),t=t.parentNode;return e}var tu={};function cd(i){return tu[i]||(tu[i]=0),++tu[i]}function P0(i,e){return wo(i,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function O0(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=P0(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))}Re("modelable",(i,{expression:e},{effect:t,evaluateLater:r,cleanup:n})=>{let s=r(e),o=()=>{let c;return s(h=>c=h),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,h=i._x_model.set,d=Uf({get(){return c()},set(f){h(f)}},{get(){return o()},set(f){u(f)}});n(d)})});Re("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))})}),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)};Ve(()=>{o(s,n,e),Mr(s),s._x_ignore=!0}),i._x_teleportPutBack=()=>{let a=ef(t);Ve(()=>{o(i._x_teleport,a,e)})},r(()=>s.remove())});var M0=document.createElement("div");function ef(i){let e=So(()=>document.querySelector(i),()=>M0)();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})};Re("ignore",dd);Re("effect",(i,{expression:e},{effect:t})=>t(lt(i,e)));function yu(i,e,t,r){let n=i,s=u=>r(u),o={},a=(u,l)=>c=>l(u,c);if(t.includes("dot")&&(e=k0(e)),t.includes("camel")&&(e=L0(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=bo(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=bo(u.split("ms")[0])?Number(u.split("ms")[0]):250;s=qf(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)=>{N0(e)&&I0(l,t)||u(l)}),n.addEventListener(e,s,o),()=>{n.removeEventListener(e,s,o)}}function k0(i){return i.replace(/-/g,".")}function L0(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function bo(i){return!Array.isArray(i)&&!isNaN(i)}function R0(i){return[" ","_"].includes(i)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function N0(i){return["keydown","keyup"].includes(i)}function I0(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,bo((t[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.includes("throttle")){let s=t.indexOf("throttle");t.splice(s,bo((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=R0(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)}Re("model",(i,{modifiers:e,expression:t},{effect:r,cleanup:n})=>{let s=i;e.includes("parent")&&(s=i.parentNode);let o=lt(s,t),a;typeof t=="string"?a=lt(s,`${t} = __placeholder`):typeof t=="function"&&typeof t()=="string"?a=lt(s,`${t()} = __placeholder`):a=()=>{};let u=()=>{let d;return o(f=>d=f),rf(d)?d.get():d},l=d=>{let f;o(_=>f=_),rf(f)?f.set(d):a(()=>{},{scope:{__placeholder:d}})};typeof t=="string"&&i.type==="radio"&&Ve(()=>{i.hasAttribute("name")||i.setAttribute("name",t)});var c=i.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(i.type)||e.includes("lazy")?"change":"input";let h=ti?()=>{}:yu(i,c,e,d=>{l(B0(i,e,d,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=h,n(()=>i._x_removeModelListeners.default()),i.form){let d=yu(i.form,"reset",[],f=>{ku(()=>i._x_model&&i._x_model.set(i.value))});n(()=>d())}i._x_model={get(){return u()},set(d){l(d)}},i._x_forceModelUpdate=d=>{d===void 0&&typeof t=="string"&&t.match(/\./)&&(d=""),window.fromModel=!0,Ve(()=>zf(i,"value",d)),delete window.fromModel},r(()=>{let d=u();e.includes("unintrusive")&&document.activeElement.isSameNode(i)||i._x_forceModelUpdate(d)})});function B0(i,e,t,r){return Ve(()=>{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")?ru(t.target.value):t.target.value;return t.target.checked?r.concat([n]):r.filter(s=>!z0(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 ru(s)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?ru(n):e.includes("trim")?n.trim():n}}})}function ru(i){let e=i?parseFloat(i):null;return V0(e)?e:i}function z0(i,e){return i==e}function V0(i){return!Array.isArray(i)&&!isNaN(i)}function rf(i){return i!==null&&typeof i=="object"&&typeof i.get=="function"&&typeof i.set=="function"}Re("cloak",i=>queueMicrotask(()=>Ve(()=>i.removeAttribute(Dn("cloak")))));ff(()=>`[${Dn("init")}]`);Re("init",So((i,{expression:e},{evaluate:t})=>typeof e=="string"?!!e.trim()&&t(e,{},!1):t(e,{},!1)));Re("text",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(s=>{Ve(()=>{i.textContent=s})})})});Re("html",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(s=>{Ve(()=>{i.innerHTML=s,i._x_ignoreSelf=!0,Mr(i),delete i._x_ignoreSelf})})})});Ou(Pf(":",Of(Dn("bind:"))));var hd=(i,{value:e,modifiers:t,expression:r,original:n},{effect:s})=>{if(!e){let a={};Yg(a),lt(i,r)(l=>{Gf(i,l,n)},{scope:a});return}if(e==="key")return W0(i,r);if(i._x_inlineBindings&&i._x_inlineBindings[e]&&i._x_inlineBindings[e].extract)return;let o=lt(i,r);s(()=>o(a=>{a===void 0&&typeof r=="string"&&r.match(/\./)&&(a=""),Ve(()=>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})};Re("bind",hd);function W0(i,e){i._x_keyExpression=e}cf(()=>`[${Dn("data")}]`);Re("data",(i,{expression:e},{cleanup:t})=>{if(Tg(i))return;e=e===""?"{}":e;let r={};uu(r,i);let n={};Ug(n,r);let s=Li(i,e,{scope:n});(s===void 0||s===!0)&&(s={}),uu(s,i);let o=mn(s);xf(o);let a=cs(i,o);o.init&&Li(i,o.init),t(()=>{o.destroy&&Li(i,o.destroy),a()})});Re("show",(i,{modifiers:e,expression:t},{effect:r})=>{let n=lt(i,t);i._x_doHide||(i._x_doHide=()=>{Ve(()=>{i.style.setProperty("display","none",e.includes("important")?"important":void 0)})}),i._x_doShow||(i._x_doShow=()=>{Ve(()=>{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=pu(h=>h?o():s(),h=>{typeof i._x_toggleAndCascadeWithTransitions=="function"?i._x_toggleAndCascadeWithTransitions(i,h,o,s):h?a():s()}),l,c=!0;r(()=>n(h=>{!c&&h===l||(e.includes("immediate")&&(h?a():s()),u(h),l=h,c=!1)}))});Re("for",(i,{expression:e},{effect:t,cleanup:r})=>{let n=Y0(e),s=lt(i,n.items),o=lt(i,i._x_keyExpression||"index");i._x_prevKeys=[],i._x_lookup={},t(()=>H0(i,n,s,o)),r(()=>{Object.values(i._x_lookup).forEach(a=>a.remove()),delete i._x_prevKeys,delete i._x_lookup})});function H0(i,e,t,r){let n=o=>typeof o=="object"&&!Array.isArray(o),s=i;t(o=>{q0(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(D=>c.push(D),{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 h=[],d=[],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 p="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),h.push([p,g]);else if(v!==g){let D=u.splice(g,1)[0],b=u.splice(v-1,1)[0];u.splice(g,0,b),u.splice(v,0,D),d.push([D,b])}else _.push(m);p=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<d.length;g++){let[m,v]=d[g],D=a[m],b=a[v],E=document.createElement("div");Ve(()=>{b||Or('x-for ":key" is undefined or invalid',s),b.after(E),D.after(b),b._x_currentIfEl&&b.after(b._x_currentIfEl),E.before(D),D._x_currentIfEl&&D.after(D._x_currentIfEl),E.remove()}),b._x_refreshXForScope(l[c.indexOf(v)])}for(let g=0;g<h.length;g++){let[m,v]=h[g],D=m==="template"?s:a[m];D._x_currentIfEl&&(D=D._x_currentIfEl);let b=l[v],E=c[v],C=document.importNode(s.content,!0).firstElementChild,x=mn(b);cs(C,x,s),C._x_refreshXForScope=w=>{Object.entries(w).forEach(([A,S])=>{x[A]=S})},Ve(()=>{D.after(C),Mr(C)}),typeof E=="object"&&Or("x-for key cannot be an object, it must be a string or an integer",s),a[E]=C}for(let g=0;g<_.length;g++)a[_[g]]._x_refreshXForScope(l[c.indexOf(_[g])]);s._x_prevKeys=c})}function Y0(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 q0(i){return!Array.isArray(i)&&!isNaN(i)}function pd(){}pd.inline=(i,{expression:e},{cleanup:t})=>{let r=Eo(i);r._x_refs||(r._x_refs={}),r._x_refs[e]=i,t(()=>delete r._x_refs[e])};Re("ref",pd);Re("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=lt(i,e),s=()=>{if(i._x_currentIfEl)return i._x_currentIfEl;let a=i.content.cloneNode(!0).firstElementChild;return cs(a,{},i),Ve(()=>{i.after(a),Mr(a)}),i._x_currentIfEl=a,i._x_undoIf=()=>{ei(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())});Re("id",(i,{expression:e},{evaluate:t})=>{t(e).forEach(n=>O0(i,n))});Ou(Pf("@",Of(Dn("on:"))));Re("on",So((i,{value:e,modifiers:t,expression:r},{cleanup:n})=>{let s=r?lt(i,r):()=>{};i.tagName.toLowerCase()==="template"&&(i._x_forwardEvents||(i._x_forwardEvents=[]),i._x_forwardEvents.includes(e)||i._x_forwardEvents.push(e));let o=yu(i,e,t,a=>{s(()=>{},{scope:{$event:a},params:[a]})});n(()=>o())}));Oo("Collapse","collapse","collapse");Oo("Intersect","intersect","intersect");Oo("Focus","trap","focus");Oo("Mask","mask","mask");function Oo(i,e,t){Re(e,r=>Or(`You can't use [x-${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}ds.setEvaluator(Sf);ds.setReactivityEngine({reactive:Wu,effect:t0,release:r0,raw:me});var U0=ds,Hu=U0;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 X0(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 G0(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 j0(i){Yu(i).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&i.setAttribute(t.name,"")})}function $0(){document.querySelectorAll("[x-data],[x-data] *").forEach(i=>{G0(i),j0(i)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(X0)}function _d(){window.Alpine=Hu,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{$0(),Hu.start()})}function qu(){return qu=Object.assign?Object.assign.bind():function(i){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(i[r]=t[r])}return i},qu.apply(this,arguments)}function Mo(i,e,t){return Math.max(i,Math.min(e,t))}var Uu=class{advance(e){var t;if(!this.isRunning)return;let r=!1;if(this.lerp)this.value=(n=this.value,s=this.to,(1-(o=1-Math.exp(-60*this.lerp*e)))*n+o*s),Math.round(this.value)===this.to&&(this.value=this.to,r=!0);else{this.currentTime+=e;let a=Mo(0,this.currentTime/this.duration,1);r=a>=1;let u=r?1:this.easing(a);this.value=this.from+(this.to-this.from)*u}var n,s,o;(t=this.onUpdate)==null||t.call(this,this.value,r),r&&this.stop()}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}={}){if(this.resize=()=>{this.onWrapperResize(),this.onContentResize()},this.onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)},this.onContentResize=()=>{this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth},this.wrapper=e,this.content=t,r){let n=function(s,o){let a;return function(){let u=arguments,l=this;clearTimeout(a),a=setTimeout(function(){s.apply(l,u)},250)}}(this.resize);this.wrapper!==window&&(this.wrapperResizeObserver=new ResizeObserver(n),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(n),this.contentResizeObserver.observe(this.content)}this.resize()}destroy(){var e,t;(e=this.wrapperResizeObserver)==null||e.disconnect(),(t=this.contentResizeObserver)==null||t.disconnect()}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},ko=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){var r;return(r=this.events[e])!=null&&r.push(t)||(this.events[e]=[t]),()=>{var n;this.events[e]=(n=this.events[e])==null?void 0:n.filter(s=>t!==s)}}off(e,t){var r;this.events[e]=(r=this.events[e])==null?void 0:r.filter(n=>t!==n)}destroy(){this.events={}}},Gu=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:r=2,normalizeWheel:n=!1}){this.onTouchStart=s=>{let{clientX:o,clientY:a}=s.targetTouches?s.targetTouches[0]:s;this.touchStart.x=o,this.touchStart.y=a,this.lastDelta={x:0,y:0}},this.onTouchMove=s=>{let{clientX:o,clientY:a}=s.targetTouches?s.targetTouches[0]:s,u=-(o-this.touchStart.x)*this.touchMultiplier,l=-(a-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=o,this.touchStart.y=a,this.lastDelta={x:u,y:l},this.emitter.emit("scroll",{deltaX:u,deltaY:l,event:s})},this.onTouchEnd=s=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:s})},this.onWheel=s=>{let{deltaX:o,deltaY:a}=s;this.normalizeWheel&&(o=Mo(-100,o,100),a=Mo(-100,a,100)),o*=this.wheelMultiplier,a*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:o,deltaY:a,event:s})},this.element=e,this.wheelMultiplier=t,this.touchMultiplier=r,this.normalizeWheel=n,this.touchStart={x:null,y:null},this.emitter=new ko,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(),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})}},Lo=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:r=e,eventsTarget:n=r,smoothWheel:s=!0,smoothTouch:o=!1,syncTouch:a=!1,syncTouchLerp:u=.1,__iosNoInertiaSyncTouchLerp:l=.4,touchInertiaMultiplier:c=35,duration:h,easing:d=E=>Math.min(1,1.001-Math.pow(2,-10*E)),lerp:f=!h&&.1,infinite:_=!1,orientation:p="vertical",gestureOrientation:g="vertical",touchMultiplier:m=1,wheelMultiplier:v=1,normalizeWheel:D=!1,autoResize:b=!0}={}){this.onVirtualScroll=({deltaX:E,deltaY:C,event:x})=>{if(x.ctrlKey)return;let w=x.type.includes("touch"),A=x.type.includes("wheel");if(this.options.gestureOrientation==="both"&&E===0&&C===0||this.options.gestureOrientation==="vertical"&&C===0||this.options.gestureOrientation==="horizontal"&&E===0||w&&this.options.gestureOrientation==="vertical"&&this.scroll===0&&!this.options.infinite&&C<=0)return;let S=x.composedPath();if(S=S.slice(0,S.indexOf(this.rootElement)),S.find(R=>{var N;return(R.hasAttribute==null?void 0:R.hasAttribute("data-lenis-prevent"))||w&&(R.hasAttribute==null?void 0:R.hasAttribute("data-lenis-prevent-touch"))||A&&(R.hasAttribute==null?void 0:R.hasAttribute("data-lenis-prevent-wheel"))||((N=R.classList)==null?void 0:N.contains("lenis"))}))return;if(this.isStopped||this.isLocked)return void x.preventDefault();if(this.isSmooth=(this.options.smoothTouch||this.options.syncTouch)&&w||this.options.smoothWheel&&A,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();x.preventDefault();let P=C;this.options.gestureOrientation==="both"?P=Math.abs(C)>Math.abs(E)?C:E:this.options.gestureOrientation==="horizontal"&&(P=E);let F=w&&this.options.syncTouch,M=w&&x.type==="touchend"&&Math.abs(P)>1;M&&(P=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+P,qu({programmatic:!1},F&&{lerp:M?this.syncTouchLerp:this.options.__iosNoInertiaSyncTouchLerp}))},this.onScroll=()=>{if(!this.isScrolling){let E=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-E),this.emit()}},window.lenisVersion="1.0.27",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:r,eventsTarget:n,smoothWheel:s,smoothTouch:o,syncTouch:a,syncTouchLerp:u,__iosNoInertiaSyncTouchLerp:l,touchInertiaMultiplier:c,duration:h,easing:d,lerp:f,infinite:_,gestureOrientation:g,orientation:p,touchMultiplier:m,wheelMultiplier:v,normalizeWheel:D,autoResize:b},this.animate=new Uu,this.emitter=new ko,this.dimensions=new Xu({wrapper:e,content:t,autoResize:b}),this.toggleClass("lenis",!0),this.velocity=0,this.isLocked=!1,this.isStopped=!1,this.isSmooth=a||s||o,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll=new Gu(n,{touchMultiplier:m,wheelMultiplier:v,normalizeWheel:D}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClass("lenis",!1),this.toggleClass("lenis-smooth",!1),this.toggleClass("lenis-scrolling",!1),this.toggleClass("lenis-stopped",!1),this.toggleClass("lenis-locked",!1)}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(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.velocity=0,this.animate.stop()}start(){this.isStopped=!1,this.reset()}stop(){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,onComplete:u=null,force:l=!1,programmatic:c=!0}={}){if(!this.isStopped&&!this.isLocked||l){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{var h;let d;if(typeof e=="string"?d=document.querySelector(e):(h=e)!=null&&h.nodeType&&(d=e),d){if(this.options.wrapper!==window){let _=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?_.left:_.top}let f=d.getBoundingClientRect();e=(this.isHorizontal?f.left:f.top)+this.animatedScroll}}if(typeof e=="number"){if(e+=t,e=Math.round(e),this.options.infinite?c&&(this.targetScroll=this.animatedScroll=this.scroll):e=Mo(0,e,this.limit),r)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(u==null||u(this));if(!c){if(e===this.targetScroll)return;this.targetScroll=e}this.animate.fromTo(this.animatedScroll,e,{duration:s,easing:o,lerp:a,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(d,f)=>{this.isScrolling=!0,this.velocity=d-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=d,this.setScroll(this.scroll),c&&(this.targetScroll=d),f||this.emit(),f&&requestAnimationFrame(()=>{this.reset(),this.emit(),u?.(this)})}})}}}get rootElement(){return this.options.wrapper===window?this.options.content:this.options.wrapper}get limit(){return 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?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll;var e}get progress(){return this.limit===0?1:this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(e){this.__isSmooth!==e&&(this.__isSmooth=e,this.toggleClass("lenis-smooth",e))}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.toggleClass("lenis-scrolling",e))}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.toggleClass("lenis-stopped",e))}get isLocked(){return this.__isLocked}set isLocked(e){this.__isLocked!==e&&(this.__isLocked=e,this.toggleClass("lenis-locked",e))}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isSmooth&&(e+=" lenis-smooth"),e}toggleClass(e,t){this.rootElement.classList.toggle(e,t),this.emitter.emit("className change",this)}};function kr(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function Ed(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}var wt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},xn={duration:.5,overwrite:!1,delay:0},dl,it,Te,Vt=1e8,_e=1/Vt,tl=Math.PI*2,K0=tl/4,Z0=0,wd=Math.sqrt,Q0=Math.cos,J0=Math.sin,We=function(e){return typeof e=="string"},Ae=function(e){return typeof e=="function"},Rr=function(e){return typeof e=="number"},Uo=function(e){return typeof e>"u"},mr=function(e){return typeof e=="object"},Et=function(e){return e!==!1},hl=function(){return typeof window<"u"},Ro=function(e){return Ae(e)||We(e)},Cd=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},nt=Array.isArray,rl=/(?:-?\.?\d|\.)+/gi,pl=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Wi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ju=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_l=/[+-]=-?[.\d]+/,Sd=/[^,'"\[\]\s]+/gi,em=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,xe,zt,il,gl,kt={},zo={},Td,Ad=function(e){return(zo=Vi(e,kt))&&st},Xo=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Vo=function(e,t){return!t&&console.warn(e)},Fd=function(e,t){return e&&(kt[e]=t)&&zo&&(zo[e]=t)||kt},vs=function(){return 0},tm={suppressEvents:!0,isStart:!0,kill:!1},No={suppressEvents:!0,kill:!1},rm={suppressEvents:!0},ml={},ni=[],nl={},Pd,xt={},$u={},gd=30,Io=[],vl="",Dl=function(e){var t=e[0],r,n;if(mr(t)||Ae(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Io.length;n--&&!Io[n].targetTest(t););r=Io[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},si=function(e){return e._gsap||Dl(Wt(e))[0]._gsap},yl=function(e,t,r){return(r=e[t])&&Ae(r)?e[t]():Uo(r)&&e.getAttribute&&e.getAttribute(t)||r},ct=function(e,t){return(e=e.split(",")).forEach(t)||e},Fe=function(e){return Math.round(e*1e5)/1e5||0},$e=function(e){return Math.round(e*1e7)/1e7||0},Hi=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},im=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},Wo=function(){var e=ni.length,t=ni.slice(0),r,n;for(nl={},ni.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Od=function(e,t,r,n){ni.length&&!it&&Wo(),e.render(t,r,n||it&&t<0&&(e._initted||e._startAt)),ni.length&&!it&&Wo()},Md=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Sd).length<2?t:We(e)?e.trim():e},kd=function(e){return e},Yt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},nm=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},Vi=function(e,t){for(var r in t)e[r]=t[r];return e},md=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},Ho=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||xe,r=e.keyframes?nm(nt(e.keyframes)):Yt;if(Et(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},sm=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},Ld=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},Go=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},oi=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ii=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},om=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&&(it?e._startAt.revert(No):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},am=function i(e){return!e||e._ts&&i(e.parent)},vd=function(e){return e._repeat?bn(e._tTime,e=e.duration()+e._rDelay)*e:0},bn=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},Yo=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},jo=function(e){return e._end=$e(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},$o=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)),jo(e),r._dirty||Ii(r,e)),e},Rd=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Yo(e.rawTime(),t),(!t._dur||xs(0,t.totalDuration(),r)-t._tTime>_e)&&t.render(r,!0)),Ii(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}},gr=function(e,t,r,n){return t.parent&&oi(t),t._start=$e((Rr(r)?r:r||e!==xe?Bt(e,r,t):e._time)+t._delay),t._end=$e(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ld(e,t,"_first","_last",e._sort?"_start":0),ol(t)||(e._recent=t),n||Rd(e,t),e._ts<0&&$o(e,e._tTime),e},Nd=function(e,t){return(kt.ScrollTrigger||Xo("scrollTrigger",t))&&kt.ScrollTrigger.create(t,e)},Id=function(e,t,r,n,s){if(Cl(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!it&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Pd!==bt.frame)return ni.push(e),e._lazy=[s,n],1},um=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"},lm=function(e,t,r,n){var s=e.ratio,o=t<0||!t&&(!e._start&&um(e)&&!(!e._initted&&ol(e))||(e._ts<0||e._dp._ts<0)&&!ol(e))?0:1,a=e._rDelay,u=0,l,c,h;if(a&&e._repeat&&(u=xs(0,e._tDur,t),c=bn(u,a),e._yoyo&&c&1&&(o=1-o),c!==bn(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||it||n||e._zTime===_e||!t&&e._zTime){if(!e._initted&&Id(e,t,n,r,u))return;for(h=e._zTime,e._zTime=t||(r?_e:0),r||(r=t&&!h),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&&Ht(e,"onUpdate"),u&&e._repeat&&!r&&e.parent&&Ht(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&oi(e,1),!r&&!it&&(Ht(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},cm=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}},En=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&&$o(e,e._tTime=e._tDur*a),e.parent&&jo(e),r||Ii(e.parent,e),e},Dd=function(e){return e instanceof rt?Ii(e):En(e,e._dur)},fm={_start:0,endTime:vs,totalDuration:vs},Bt=function i(e,t,r){var n=e.labels,s=e._recent||fm,o=e.duration()>=Vt?s.endTime(!1):e._dur,a,u,l;return We(t)&&(isNaN(t)||t in n)?(u=t.charAt(0),l=t.substr(-1)==="%",a=t.indexOf("="),u==="<"||u===">"?(a>=0&&(t=t.replace(/=/,"")),(u==="<"?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*(nt(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=Et(u.vars.inherit)&&u.parent;o.immediateRender=Et(a.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return new Me(t[0],o,t[s+1])},ai=function(e,t){return e||e===0?t(e):t},xs=function(e,t,r){return r<e?e:r>t?t:r},Ke=function(e,t){return!We(e)||!(t=em.exec(e))?"":t[1]},dm=function(e,t,r){return ai(r,function(n){return xs(e,t,n)})},al=[].slice,Bd=function(e,t){return e&&mr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&mr(e[0]))&&!e.nodeType&&e!==zt},hm=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var s;return We(n)&&!t||Bd(n,1)?(s=r).push.apply(s,Wt(n)):r.push(n)})||r},Wt=function(e,t,r){return Te&&!t&&Te.selector?Te.selector(e):We(e)&&!r&&(il||!wn())?al.call((t||gl).querySelectorAll(e),0):nt(e)?hm(e,r):Bd(e)?al.call(e,0):e?[e]:[]},ul=function(e){return e=Wt(e)[0]||Vo("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Wt(t,r.querySelectorAll?r:r===e?Vo("Invalid scope")||gl.createElement("div"):e)}},zd=function(e){return e.sort(function(){return .5-Math.random()})},Vd=function(e){if(Ae(e))return e;var t=mr(e)?e:{each:e},r=Bi(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,h=n;return We(n)?c=h={center:.5,edges:.5,end:1}[n]||0:!a&&u&&(c=n[0],h=n[1]),function(d,f,_){var p=(_||t).length,g=o[p],m,v,D,b,E,C,x,w,A;if(!g){if(A=t.grid==="auto"?0:(t.grid||[1,Vt])[1],!A){for(x=-Vt;x<(x=_[A++].getBoundingClientRect().left)&&A<p;);A--}for(g=o[p]=[],m=u?Math.min(A,p)*c-.5:n%A,v=A===Vt?0:u?p*h/A-.5:n/A|0,x=0,w=Vt,C=0;C<p;C++)D=C%A-m,b=v-(C/A|0),g[C]=E=l?Math.abs(l==="y"?b:D):wd(D*D+b*b),E>x&&(x=E),E<w&&(w=E);n==="random"&&zd(g),g.max=x-w,g.min=w,g.v=p=(parseFloat(t.amount)||parseFloat(t.each)*(A>p?p-1:l?l==="y"?p/A:A:Math.max(A,p/A))||0)*(n==="edges"?-1:1),g.b=p<0?s-p:s,g.u=Ke(t.amount||t.each)||0,r=r&&p<0?$d(r):r}return p=(g[d]-g.min)/g.max||0,$e(g.b+(r?r(p):p)*g.v)+g.u}},ll=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:Ke(r))}},Wd=function(e,t){var r=nt(e),n,s;return!r&&mr(e)&&(n=r=e.radius||Vt,e.values?(e=Wt(e.values),(s=!Rr(e[0]))&&(n*=n)):e=ll(e.increment)),ai(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=Vt,c=0,h=e.length,d,f;h--;)s?(d=e[h].x-a,f=e[h].y-u,d=d*d+f*f):d=Math.abs(e[h]-a),d<l&&(l=d,c=h);return c=!n||l<=n?e[c]:o,s||c===o||Rr(o)?c:c+Ke(o)}:ll(e))},Hd=function(e,t,r,n){return ai(nt(e)?!t:r===!0?!!(r=0):!n,function(){return nt(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})},pm=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)}},_m=function(e,t){return function(r){return e(parseFloat(r))+(t||Ke(r))}},gm=function(e,t,r){return qd(e,t,0,1,r)},Yd=function(e,t,r){return ai(r,function(n){return e[~~t(n)]})},mm=function i(e,t,r){var n=t-e;return nt(e)?Yd(e,i(0,e.length),t):ai(r,function(s){return(n+(s-e)%n)%n+e})},vm=function i(e,t,r){var n=t-e,s=n*2;return nt(e)?Yd(e,i(0,e.length-1),t):ai(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?Sd:rl),r+=e.substr(t,n-t)+Hd(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),t=o+1;return r+e.substr(t,e.length-t)},qd=function(e,t,r,n,s){var o=t-e,a=n-r;return ai(s,function(u){return r+((u-e)/o*a||0)})},Dm=function i(e,t,r,n){var s=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!s){var o=We(e),a={},u,l,c,h,d;if(r===!0&&(n=1)&&(r=null),o)e={p:e},t={p:t};else if(nt(e)&&!nt(t)){for(c=[],h=e.length,d=h-2,l=1;l<h;l++)c.push(i(e[l-1],e[l]));h--,s=function(_){_*=h;var p=Math.min(d,~~_);return c[p](_-p)},r=t}else n||(e=Vi(nt(e)?[]:{},e));if(!c){for(u in t)El.call(a,e,u,"get",t[u]);s=function(_){return Al(_,a)||(o?e.p:e)}}}return ai(r,s)},yd=function(e,t,r){var n=e.labels,s=Vt,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},Ht=function(e,t,r){var n=e.vars,s=n[t],o=Te,a=e._ctx,u,l,c;if(s)return u=n[t+"Params"],l=n.callbackScope||e,r&&ni.length&&Wo(),a&&(Te=a),c=u?s.apply(l,u):s.call(l),Te=o,c},hs=function(e){return oi(e),e.scrollTrigger&&e.scrollTrigger.kill(!!it),e.progress()<1&&Ht(e,"onInterrupt"),e},yn,Ud=[],Xd=function(e){if(hl()&&e){e=!e.name&&e.default||e;var t=e.name,r=Ae(e),n=t&&!r&&e.init?function(){this._props=[]}:e,s={init:vs,render:Al,add:El,kill:Rm,modifier:Lm,rawVars:0},o={targetTest:0,get:0,getSetter:Ko,aliases:{},register:0};if(wn(),e!==n){if(xt[t])return;Yt(n,Yt(Ho(e,s),o)),Vi(n.prototype,Vi(s,Ho(e,o))),xt[n.prop=t]=n,e.targetTest&&(Io.push(n),ml[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Fd(t,n),e.register&&e.register(st,n,ft)}else e&&Ud.push(e)},pe=255,ps={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},Gd=function(e,t,r){var n=e?Rr(e)?[e>>16,e>>8&pe,e&pe]:0:ps.black,s,o,a,u,l,c,h,d,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&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)||ps.transparent;n=n.map(Number)}return t&&!_&&(s=n[0]/pe,o=n[1]/pe,a=n[2]/pe,h=Math.max(s,o,a),d=Math.min(s,o,a),c=(h+d)/2,h===d?u=l=0:(f=h-d,l=c>.5?f/(2-h-d):f/(h+d),u=h===s?(o-a)/f+(o<a?6:0):h===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},jd=function(e){var t=[],r=[],n=-1;return e.split(Lr).forEach(function(s){var o=s.match(Wi)||[];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(Lr),o=t?"hsla(":"rgba(",a=0,u,l,c,h;if(!s)return e;if(s=s.map(function(d){return(d=Gd(d,t,1))&&o+(t?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),r&&(c=jd(e),u=r.c,u.join(n)!==c.c.join(n)))for(l=e.replace(Lr,"1").split(Wi),h=l.length-1;a<h;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),h=l.length-1;a<h;a++)n+=l[a]+s[a];return n+l[h]},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")}(),ym=/hsl[a]?\(/,xl=function(e){var t=e.join(" "),r;if(Lr.lastIndex=0,Lr.test(t))return r=ym.test(t),e[1]=xd(e[1],r),e[0]=xd(e[0],r,jd(e[1])),!0},Ds,bt=function(){var i=Date.now,e=500,t=33,r=i(),n=r,s=1e3/240,o=s,a=[],u,l,c,h,d,f,_=function p(g){var m=i()-n,v=g===!0,D,b,E,C;if(m>e&&(r+=m-t),n+=m,E=n-r,D=E-o,(D>0||v)&&(C=++h.frame,d=E-h.time*1e3,h.time=E=E/1e3,o+=D+(D>=s?4:s-D),b=1),v||(u=l(p)),b)for(f=0;f<a.length;f++)a[f](E,d,C,g)};return h={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return d/(1e3/(g||60))},wake:function(){Td&&(!il&&hl()&&(zt=il=window,gl=zt.document||{},kt.gsap=st,(zt.gsapVersions||(zt.gsapVersions=[])).push(st.version),Ad(zo||zt.GreenSockGlobals||!zt.gsap&&zt||{}),c=zt.requestAnimationFrame,Ud.forEach(Xd)),u&&h.sleep(),l=c||function(g){return setTimeout(g,o-h.time*1e3+1|0)},Ds=1,_(2))},sleep:function(){(c?zt.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=h.time*1e3+s},add:function(g,m,v){var D=m?function(b,E,C,x){g(b,E,C,x),h.remove(D)}:g;return h.remove(g),a[v?"unshift":"push"](D),wn(),D},remove:function(g,m){~(m=a.indexOf(g))&&a.splice(m,1)&&f>=m&&f--},_listeners:a},h}(),wn=function(){return!Ds&&bt.wake()},oe={},xm=/^[\d.\-M][\d.\-,\s]/,bm=/["']/g,Em=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(bm,"").trim():+l,n=u.substr(a+1).trim();return t},wm=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)},Cm=function(e){var t=(e+"").split("("),r=oe[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Em(t[1])]:wm(e).split(",").map(Md)):oe._CE&&xm.test(e)?oe._CE("",e):r},$d=function(e){return function(t){return 1-e(1-t)}},Kd=function i(e,t){for(var r=e._first,n;r;)r instanceof rt?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},Bi=function(e,t){return e&&(Ae(e)?e:oe[e]||Cm(e))||t},Yi=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 ct(e,function(a){oe[a]=kt[a]=s,oe[o=a.toLowerCase()]=r;for(var u in s)oe[o+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=oe[a+"."+u]=s[u]}),s},Zd=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)*J0((c-o)*s)+1},u=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:Zd(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)}:Zd(r);return n.config=function(s){return i(e,s)},n};ct("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var t=e<5?e+1:e;Yi(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})});oe.Linear.easeNone=oe.none=oe.Linear.easeIn;Yi("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};Yi("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);Yi("Expo",function(i){return i?Math.pow(2,10*(i-1)):0});Yi("Circ",function(i){return-(wd(1-i*i)-1)});Yi("Sine",function(i){return i===1?1:-Q0(i*K0)+1});Yi("Back",Qu("in"),Qu("out"),Qu());oe.SteppedEase=oe.steps=kt.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*xs(0,o,a)|0)+s)*r}}};xn.ease=oe["quad.out"];ct("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return vl+=i+","+i+"Params,"});var bl=function(e,t){this.id=Z0++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:yl,this.set=t?t.getSetter:Ko},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,En(this,+t.duration,1,1),this.data=t.data,Te&&(this._ctx=Te,Te.data.push(this)),Ds||bt.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,En(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(wn(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for($o(this,r),!s._dp||s.parent||Rd(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)===_e||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Od(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+vd(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.ratio},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+vd(this),n):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(r,n){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,n):this._repeat?bn(this._tTime,s)+1:1},e.timeScale=function(r){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===r)return this;var n=this.parent&&this._ts?Yo(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-_e?0:this._rts,this.totalTime(xs(-Math.abs(this._delay),this._tDur,n),!0),jo(this),om(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):(wn(),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)&&gr(n,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Et(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?Yo(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=rm);var n=it;return it=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),it=n,this},e.globalTime=function(r){for(var n=this,s=arguments.length?r:n.rawTime();n;)s=n._start+s/(n._ts||1),n=n._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Dd(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,Dd(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(Bt(this,r),Et(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,Et(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:kd,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(){hs(this)},i}();Yt(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 rt=function(i){Ed(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=Et(r.sortChildren),xe&&gr(r.parent||xe,kr(s),n),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Nd(kr(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 Me(n,s,Bt(this,o),1),this},t.call=function(n,s,o){return gr(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,Bt(this,u)),this},t.staggerFrom=function(n,s,o,a,u,l,c){return o.runBackwards=1,_s(o).immediateRender=Et(o.immediateRender),this.staggerTo(n,s,o,a,u,l,c)},t.staggerFromTo=function(n,s,o,a,u,l,c,h){return a.startAt=o,_s(a).immediateRender=Et(a.immediateRender),this.staggerTo(n,s,a,u,l,c,h)},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),h=this._zTime<0!=n<0&&(this._initted||!l),d,f,_,p,g,m,v,D,b,E,C,x;if(this!==xe&&c>u&&n>=0&&(c=u),c!==this._tTime||o||h){if(a!==this._time&&l&&(c+=this._time-a,n+=this._time-a),d=c,b=this._start,D=this._ts,m=!D,h&&(l||(a=this._zTime),(n||!s)&&(this._zTime=n)),this._repeat){if(C=this._yoyo,g=l+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,s,o);if(d=$e(c%g),c===u?(p=this._repeat,d=l):(p=~~(c/g),p&&p===c/g&&(d=l,p--),d>l&&(d=l)),E=bn(this._tTime,g),!a&&this._tTime&&E!==p&&this._tTime-E*g-this._dur<=0&&(E=p),C&&p&1&&(d=l-d,x=1),p!==E&&!this._lock){var w=C&&E&1,A=w===(C&&p&1);if(p<E&&(w=!w),a=w?0:c%l?l:c,this._lock=1,this.render(a||(x?0:$e(p*g)),s,!l)._lock=0,this._tTime=c,!s&&this.parent&&Ht(this,"onRepeat"),this.vars.repeatRefresh&&!x&&(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=w?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!x&&this.invalidate()),this._lock=0,!this._ts&&!m)return this;Kd(this,x)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=cm(this,$e(a),$e(d)),v&&(c-=d-(d=v._start))),this._tTime=c,this._time=d,this._act=!D,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&d&&!s&&!p&&(Ht(this,"onStart"),this._tTime!==c))return this;if(d>=a&&n>=0)for(f=this._first;f;){if(_=f._next,(f._act||d>=f._start)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,s,o);if(f.render(f._ts>0?(d-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(d-f._start)*f._ts,s,o),d!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=-_e);break}}f=_}else{f=this._last;for(var S=n<0?n:d;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||it&&(f._initted||f._startAt)),d!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=S?-_e:_e);break}}f=_}}if(v&&!s&&(this.pause(),v.render(d>=a?0:-_e)._zTime=d>=a?1:-1,this._ts))return this._start=b,jo(this),this.render(n,s,o);this._onUpdate&&!s&&Ht(this,"onUpdate",!0),(c===u&&this._tTime>=this.totalDuration()||!c&&a)&&(b===this._start||Math.abs(D)!==Math.abs(this._ts))&&(this._lock||((n||!l)&&(c===u&&this._ts>0||!c&&this._ts<0)&&oi(this,1),!s&&!(n<0&&!a)&&(c||a||!u)&&(Ht(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=Bt(this,s,n)),!(n instanceof ys)){if(nt(n))return n.forEach(function(a){return o.add(a,s)}),this;if(We(n))return this.addLabel(n,s);if(Ae(n))n=Me.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=-Vt);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 We(n)?this.removeLabel(n):Ae(n)?this.killTweensOf(n):(Go(this,n),n===this._recent&&(this._recent=this._last),Ii(this))},t.totalTime=function(n,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=$e(bt.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]=Bt(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,gr(this,a,Bt(this,n))},t.removePause=function(n){var s=this._first;for(n=Bt(this,n);s;)s._start===n&&s.data==="isPause"&&oi(s),s=s._next},t.killTweensOf=function(n,s,o){for(var a=this.getTweensOf(n,o),u=a.length;u--;)ii!==a[u]&&a[u].kill(n,s);return this},t.getTweensOf=function(n,s){for(var o=[],a=Wt(n),u=this._first,l=Rr(s),c;u;)u instanceof Me?im(u._targets,a)&&(l?(!ii||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=Bt(o,n),u=s,l=u.startAt,c=u.onStart,h=u.onStartParams,d=u.immediateRender,f,_=Me.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())||_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&&En(_,g,0,1).render(_._time,!0,!0),f=1}c&&c.apply(_,h||[])}},s));return d?_.render(0):_},t.tweenFromTo=function(n,s,o){return this.tweenTo(s,Yt({startAt:{time:Bt(this,n)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),yd(this,Bt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),yd(this,Bt(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 Ii(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={}),Ii(this)},t.totalDuration=function(n){var s=0,o=this,a=o._last,u=Vt,l,c,h;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-n:n));if(o._dirty){for(h=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,(!h&&!o._dp||h&&h.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;En(o,o===xe&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(n){if(xe._ts&&(Od(xe,Yo(n,xe)),Pd=bt.frame),bt.frame>=gd){gd+=wt.autoSleep||120;var s=xe._first;if((!s||!s._ts)&&wt.autoSleep&&bt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||bt.sleep()}}},e}(ys);Yt(rt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Sm=function(e,t,r,n,s,o,a){var u=new ft(this._pt,e,t,0,1,Tl,null,s),l=0,c=0,h,d,f,_,p,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]),d=r.match(ju)||[];h=ju.exec(n);)_=h[0],p=n.substring(l,h.index),f?f=(f+1)%5:p.substr(-5)==="rgba("&&(f=1),_!==d[c++]&&(g=parseFloat(d[c-1])||0,u._pt={_next:u._pt,p:p||c===1?p:",",s:g,c:_.charAt(1)==="="?Hi(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},El=function(e,t,r,n,s,o,a,u,l,c){Ae(n)&&(n=n(s||0,e,o));var h=e[t],d=r!=="get"?r:Ae(h)?l?e[t.indexOf("set")||!Ae(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():h,f=Ae(h)?l?Om:eh:Sl,_;if(We(n)&&(~n.indexOf("random(")&&(n=Cn(n)),n.charAt(1)==="="&&(_=Hi(d,n)+(Ke(d)||0),(_||_===0)&&(n=_))),!c||d!==n||cl)return!isNaN(d*n)&&n!==""?(_=new ft(this._pt,e,t,+d||0,n-(d||0),typeof h=="boolean"?km:th,0,f),l&&(_.fp=l),a&&_.modifier(a,this,e),this._pt=_):(!h&&!(t in e)&&Xo(t,n),Sm.call(this,e,t,d,n,f,u||wt.stringFilter,l))},Tm=function(e,t,r,n,s){if(Ae(e)&&(e=ms(e,s,t,r,n)),!mr(e)||e.style&&e.nodeType||nt(e)||Cd(e))return We(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},wl=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]:Tm(t[e],n,s,o,r),r,n,o)!==!1&&(r._pt=u=new ft(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},ii,cl,Cl=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.onUpdateParams,h=n.callbackScope,d=n.runBackwards,f=n.yoyoEase,_=n.keyframes,p=n.autoRevert,g=e._dur,m=e._startAt,v=e._targets,D=e.parent,b=D&&D.data==="nested"?D.vars.targets:v,E=e._overwrite==="auto"&&!dl,C=e.timeline,x,w,A,S,P,F,M,R,N,I,L,B,T;if(C&&(!_||!s)&&(s="none"),e._ease=Bi(s,xn.ease),e._yEase=f?$d(Bi(f===!0?s:f,xn.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!C&&!!n.runBackwards,!C||_&&!n.stagger){if(R=v[0]?si(v[0]).harness:0,B=R&&n[R.prop],x=Ho(n,ml),m&&(m._zTime<0&&m.progress(1),t<0&&d&&a&&!p?m.render(-1,!0):m.revert(d&&g?No:tm),m._lazy=0),o){if(oi(e._startAt=Me.set(v,Yt({data:"isStart",overwrite:!1,parent:D,immediateRender:!0,lazy:!m&&Et(u),startAt:null,delay:0,onUpdate:l,onUpdateParams:c,callbackScope:h,stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(it||!a&&!p)&&e._startAt.revert(No),a&&g&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(d&&g&&!m){if(t&&(a=!1),A=Yt({overwrite:!1,data:"isFromStart",lazy:a&&!m&&Et(u),immediateRender:a,stagger:0,parent:D},x),B&&(A[R.prop]=B),oi(e._startAt=Me.set(v,A)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(it?e._startAt.revert(No):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=g&&Et(u)||u&&!g,w=0;w<v.length;w++){if(P=v[w],M=P._gsap||Dl(v)[w]._gsap,e._ptLookup[w]=I={},nl[M.id]&&ni.length&&Wo(),L=b===v?w:b.indexOf(P),R&&(N=new R).init(P,B||x,e,L,b)!==!1&&(e._pt=S=new ft(e._pt,P,N.name,0,1,N.render,N,0,N.priority),N._props.forEach(function(y){I[y]=S}),N.priority&&(F=1)),!R||B)for(A in x)xt[A]&&(N=wl(A,x,e,L,P,b))?N.priority&&(F=1):I[A]=S=El.call(e,P,A,"get",x[A],L,b,0,n.stringFilter);e._op&&e._op[w]&&e.kill(P,e._op[w]),E&&e._pt&&(ii=e,xe.killTweensOf(P,I,e.globalTime(t)),T=!e.parent,ii=0),e._pt&&u&&(nl[M.id]=1)}F&&Fl(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!T,_&&t<=0&&C.render(Vt,!0,!0)},Am=function(e,t,r,n,s,o,a){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,c,h,d;if(!u)for(u=e._ptCache[t]=[],h=e._ptLookup,d=e._targets.length;d--;){if(l=h[d][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return cl=1,e.vars[t]="+=0",Cl(e,a),cl=0,1;u.push(l)}for(d=u.length;d--;)c=u[d],l=c._pt||c,l.s=(n||n===0)&&!s?n:l.s+(n||0)+o*l.c,l.c=r-l.s,c.e&&(c.e=Fe(r)+Ke(c.e)),c.b&&(c.b=l.s+Ke(c.b))},Fm=function(e,t){var r=e[0]?si(e[0]).harness:0,n=r&&r.aliases,s,o,a,u;if(!n)return t;s=Vi({},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},Pm=function(e,t,r,n){var s=t.ease||n||"power1.inOut",o,a;if(nt(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 Ae(e)?e.call(t,r,n,s):We(e)&&~e.indexOf("random(")?Cn(e):e},Qd=vl+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Jd={};ct(Qd+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return Jd[i]=1});var Me=function(i){Ed(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,h=u.immediateRender,d=u.stagger,f=u.overwrite,_=u.keyframes,p=u.defaults,g=u.scrollTrigger,m=u.yoyoEase,v=n.parent||xe,D=(nt(r)||Cd(r)?Rr(r[0]):"length"in n)?[r]:Wt(r),b,E,C,x,w,A,S,P;if(a._targets=D.length?Dl(D):Vo("GSAP target "+r+" not found. https://greensock.com",!wt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,_||d||Ro(l)||Ro(c)){if(n=a.vars,b=a.timeline=new rt({data:"nested",defaults:p||{},targets:v&&v.data==="nested"?v.vars.targets:D}),b.kill(),b.parent=b._dp=kr(a),b._start=0,d||Ro(l)||Ro(c)){if(x=D.length,S=d&&Vd(d),mr(d))for(w in d)~Qd.indexOf(w)&&(P||(P={}),P[w]=d[w]);for(E=0;E<x;E++)C=Ho(n,Jd),C.stagger=0,m&&(C.yoyoEase=m),P&&Vi(C,P),A=D[E],C.duration=+ms(l,kr(a),E,A,D),C.delay=(+ms(c,kr(a),E,A,D)||0)-a._delay,!d&&x===1&&C.delay&&(a._delay=c=C.delay,a._start+=c,C.delay=0),b.to(A,C,S?S(E,A,D):0),b._ease=oe.none;b.duration()?l=c=0:a.timeline=0}else if(_){_s(Yt(b.vars.defaults,{ease:"none"})),b._ease=Bi(_.ease||n.ease||"none");var F=0,M,R,N;if(nt(_))_.forEach(function(I){return b.to(D,I,">")}),b.duration();else{C={};for(w in _)w==="ease"||w==="easeEach"||Pm(w,_[w],C,_.easeEach);for(w in C)for(M=C[w].sort(function(I,L){return I.t-L.t}),F=0,E=0;E<M.length;E++)R=M[E],N={ease:R.e,duration:(R.t-(E?M[E-1].t:0))/100*l},N[w]=R.v,b.to(D,N,F),F+=N.duration;b.duration()<l&&b.to({},{duration:l-b.duration()})}}l||a.duration(l=b.duration())}else a.timeline=0;return f===!0&&!dl&&(ii=kr(a),xe.killTweensOf(D),ii=0),gr(v,kr(a),s),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(h||!l&&!_&&a._start===$e(v._time)&&Et(h)&&am(kr(a))&&v.data!=="nested")&&(a._tTime=-_e,a.render(Math.max(0,-c)||0)),g&&Nd(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,h=n>u-_e&&!c?u:n<_e?0:n,d,f,_,p,g,m,v,D,b;if(!l)lm(this,n,s,o);else if(h!==this._tTime||!n||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(d=h,D=this.timeline,this._repeat){if(p=l+this._rDelay,this._repeat<-1&&c)return this.totalTime(p*100+n,s,o);if(d=$e(h%p),h===u?(_=this._repeat,d=l):(_=~~(h/p),_&&_===h/p&&(d=l,_--),d>l&&(d=l)),m=this._yoyo&&_&1,m&&(b=this._yEase,d=l-d),g=bn(this._tTime,p),d===a&&!o&&this._initted)return this._tTime=h,this;_!==g&&(D&&this._yEase&&Kd(D,m),this.vars.repeatRefresh&&!m&&!this._lock&&(this._lock=o=1,this.render($e(p*_),!0).invalidate()._lock=0))}if(!this._initted){if(Id(this,c?n:d,o,s,h))return this._tTime=0,this;if(a!==this._time)return this;if(l!==this._dur)return this.render(n,s,o)}if(this._tTime=h,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(b||this._ease)(d/l),this._from&&(this.ratio=v=1-v),d&&!a&&!s&&!_&&(Ht(this,"onStart"),this._tTime!==h))return this;for(f=this._pt;f;)f.r(v,f.d),f=f._next;D&&D.render(n<0?n:!d&&m?-_e:D._dur*D._ease(d/this._dur),s,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!s&&(c&&sl(this,n,s,o),Ht(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!s&&this.parent&&Ht(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(c&&!this._onUpdate&&sl(this,n,!0,!0),(n||!l)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&oi(this,1),!s&&!(c&&!a)&&(h||a||m)&&(Ht(this,h===u?"onComplete":"onReverseComplete",!0),this._prom&&!(h<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){Ds||bt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||Cl(this,u),l=this._ease(u/this._dur),Am(this,n,s,o,a,l,u)?this.resetTo(n,s,o,a):($o(this,0),this.parent||Ld(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,ii&&ii.vars.overwrite!==!0)._first||hs(this),this.parent&&o!==this.timeline.totalDuration()&&En(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,u=n?Wt(n):a,l=this._ptLookup,c=this._pt,h,d,f,_,p,g,m;if((!s||s==="all")&&sm(a,u))return s==="all"&&(this._pt=0),hs(this);for(h=this._op=this._op||[],s!=="all"&&(We(s)&&(p={},ct(s,function(v){return p[v]=1}),s=p),s=Fm(a,s)),m=a.length;m--;)if(~u.indexOf(a[m])){d=l[m],s==="all"?(h[m]=s,_=d,f={}):(f=h[m]=h[m]||{},_=s);for(p in _)g=d&&d[p],g&&((!("kill"in g.d)||g.d.kill(p)===!0)&&Go(this,g,"_pt"),delete d[p]),f!=="all"&&(f[p]=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 xe.killTweensOf(n,s,o)},e}(ys);Yt(Me.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});ct("staggerTo,staggerFrom,staggerFromTo",function(i){Me[i]=function(){var e=new rt,t=al.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var Sl=function(e,t,r){return e[t]=r},eh=function(e,t,r){return e[t](r)},Om=function(e,t,r,n){return e[t](n.fp,r)},Mm=function(e,t,r){return e.setAttribute(t,r)},Ko=function(e,t){return Ae(e[t])?eh:Uo(e[t])&&e.setAttribute?Mm:Sl},th=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},km=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},Lm=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},Rm=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Go(this,t,"_pt"):t.dep||(r=1),t=n;return!r},Nm=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},ft=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||th,this.d=u||this,this.set=l||Sl,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=Nm,this.m=r,this.mt=s,this.tween=n},i}();ct(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});kt.TweenMax=kt.TweenLite=Me;kt.TimelineLite=kt.TimelineMax=rt;xe=new rt({sortChildren:!1,defaults:xn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});wt.stringFilter=xl;var zi=[],Bo={},Im=[],bd=0,Bm=0,Ju=function(e){return(Bo[e]||Im).map(function(t){return t()})},fl=function(){var e=Date.now(),t=[];e-bd>2&&(Ju("matchMediaInit"),zi.forEach(function(r){var n=r.queries,s=r.conditions,o,a,u,l;for(a in n)o=zt.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)}),bd=e,Ju("matchMedia"))},rh=function(){function i(t,r){this.selector=r&&ul(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Bm++,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=Te,c=o.selector,h;return l&&l!==o&&l.data.push(o),s&&(o.selector=ul(s)),Te=o,h=n.apply(o,arguments),Ae(h)&&o._r.push(h),Te=l,o.selector=c,o.isReverted=!1,h};return o.last=a,r===Ae?a(o):r?o[r]=a:a},e.ignore=function(r){var n=Te;Te=null,r(this),Te=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){var o=this.getTweens();this.data.forEach(function(u){u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(l){return o.splice(o.indexOf(l),1)}))}),o.map(function(u){return{g:u.globalTime(0),t:u}}).sort(function(u,l){return l.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),this.data.forEach(function(u){return!(u instanceof Me)&&u.revert&&u.revert(r)}),this._r.forEach(function(u){return u(r,s)}),this.isReverted=!0}else this.data.forEach(function(u){return u.kill&&u.kill()});if(this.clear(),n)for(var a=zi.length;a--;)zi[a].id===this.id&&zi.splice(a,1)},e.revert=function(r){this.kill(r||{})},i}(),zm=function(){function i(t){this.contexts=[],this.scope=t}var e=i.prototype;return e.add=function(r,n,s){mr(r)||(r={matches:r});var o=new rh(0,s||this.scope),a=o.conditions={},u,l,c;Te&&!o.selector&&(o.selector=Te.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=r;for(l in r)l==="all"?c=1:(u=zt.matchMedia(r[l]),u&&(zi.indexOf(o)<0&&zi.push(o),(a[l]=u.matches)&&(c=1),u.addListener?u.addListener(fl):u.addEventListener("change",fl)));return c&&n(o),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},i}(),qo={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 Xd(n)})},timeline:function(e){return new rt(e)},getTweensOf:function(e,t){return xe.getTweensOf(e,t)},getProperty:function(e,t,r,n){We(e)&&(e=Wt(e)[0]);var s=si(e||{}).get,o=r?kd:Md;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=Wt(e),e.length>1){var n=e.map(function(c){return st.quickSetter(c,t,r)}),s=n.length;return function(c){for(var h=s;h--;)n[h](c)}}e=e[0]||{};var o=xt[t],a=si(e),u=a.harness&&(a.harness.aliases||{})[t]||t,l=o?function(c){var h=new o;yn._pt=0,h.init(e,r?c+r:c,yn,0,[e]),h.render(1,h),yn._pt&&Al(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=st.to(e,Vi((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 xe.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Bi(e.ease,xn.ease)),md(xn,e||{})},config:function(e){return md(wt,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]&&!kt[a]&&Vo(t+" effect requires "+a+" plugin.")}),$u[t]=function(a,u,l){return r(Wt(a),Yt(u||{},s),l)},o&&(rt.prototype[t]=function(a,u,l){return this.add($u[t](a,mr(u)?u:(l=u)&&{},this),l)})},registerEase:function(e,t){oe[e]=Bi(t)},parseEase:function(e,t){return arguments.length?Bi(e,t):oe},getById:function(e){return xe.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new rt(e),n,s;for(r.smoothChildTiming=Et(e.smoothChildTiming),xe.remove(r),r._dp=0,r._time=r._tTime=xe._time,n=xe._first;n;)s=n._next,(t||!(!n._dur&&n instanceof Me&&n.vars.onComplete===n._targets[0]))&&gr(r,n,n._start-n._delay),n=s;return gr(xe,r,0),r},context:function(e,t){return e?new rh(e,t):Te},matchMedia:function(e){return new zm(e)},matchMediaRefresh:function(){return zi.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=Bo[e]||(Bo[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Bo[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:mm,wrapYoyo:vm,distribute:Vd,random:Hd,snap:Wd,normalize:gm,getUnit:Ke,clamp:dm,splitColor:Gd,toArray:Wt,selector:ul,mapRange:qd,pipe:pm,unitize:_m,interpolate:Dm,shuffle:zd},install:Ad,effects:$u,ticker:bt,updateRoot:rt.updateRoot,plugins:xt,globalTimeline:xe,core:{PropTween:ft,globals:Fd,Tween:Me,Timeline:rt,Animation:ys,getCache:si,_removeLinkedListItem:Go,reverting:function(){return it},context:function(e){return e&&Te&&(Te.data.push(e),e._ctx=Te),Te},suppressOverwrites:function(e){return dl=e}}};ct("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return qo[i]=Me[i]});bt.add(rt.updateRoot);yn=qo.to({},{duration:0});var Vm=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Wm=function(e,t){var r=e._targets,n,s,o;for(n in t)for(s=r.length;s--;)o=e._ptLookup[s][n],o&&(o=o.d)&&(o._pt&&(o=Vm(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(We(s)&&(u={},ct(s,function(c){return u[c]=1}),s=u),t){u={};for(l in s)u[l]=t(s[l]);s=u}Wm(a,s)}}}},st=qo.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;)it?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",Wd))||qo;Me.version=rt.version=st.version="3.12.2";Td=1;hl()&&wn();var Hm=oe.Power0,Ym=oe.Power1,qm=oe.Power2,Um=oe.Power3,Xm=oe.Power4,Gm=oe.Linear,jm=oe.Quad,$m=oe.Cubic,Km=oe.Quart,Zm=oe.Quint,Qm=oe.Strong,Jm=oe.Elastic,ev=oe.Back,tv=oe.SteppedEase,rv=oe.Bounce,iv=oe.Sine,nv=oe.Expo,sv=oe.Circ;var ih,ui,Tn,Nl,Gi,ov,nh,Il,av=function(){return typeof window<"u"},Ir={},Xi=180/Math.PI,An=Math.PI/180,Sn=Math.atan2,sh=1e8,Bl=/([A-Z])/g,uv=/(left|right|width|margin|padding|x)/i,lv=/[\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)},cv=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)},fv=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)},dv=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},dh=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},hh=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},hv=function(e,t,r){return e.style[t]=r},pv=function(e,t,r){return e.style.setProperty(t,r)},_v=function(e,t,r){return e._gsap[t]=r},gv=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},mv=function(e,t,r,n,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},vv=function(e,t,r,n,s){var o=e._gsap;o[t]=r,o.renderTransform(s,o)},be="transform",nr=be+"Origin",Dv=function i(e,t){var r=this,n=this.target,s=n.style;if(e in Ir&&s){if(this.tfm=this.tfm||{},e!=="transform")e=vr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=Nr(n,o)}):this.tfm[e]=n._gsap.x?n._gsap[e]:Nr(n,e);else return vr.transform.split(",").forEach(function(o){return i.call(r,o,t)});if(this.props.indexOf(be)>=0)return;n._gsap.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(nr,t,"")),e=be}(s||t)&&this.props.push(e,t,s[e])},ph=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},yv=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[be]&&(ph(r),n.uncache=1)}},_h=function(e,t){var r={target:e,props:[],revert:yv,save:Dv};return e._gsap||st.core.getCache(e),t&&t.split(",").forEach(function(n){return r.save(n)}),r},gh,kl=function(e,t){var r=ui.createElementNS?ui.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ui.createElement(e);return r.style?r:ui.createElement(e)},Dr=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,Fn(t)||t,1)||""},oh="O,Moz,ms,Ms,Webkit".split(","),Fn=function(e,t,r){var n=t||Gi,s=n.style,o=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(oh[o]+e in s););return o<0?null:(o===3?"ms":o>=0?oh[o]:"")+e},Ll=function(){av()&&window.document&&(ih=window,ui=ih.document,Tn=ui.documentElement,Gi=kl("div")||{style:{}},ov=kl("div"),be=Fn(be),nr=be+"Origin",Gi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",gh=!!Fn("perspective"),Il=st.core.reverting,Nl=1)},Pl=function i(e){var t=kl("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},ah=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},mh=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:+ah(e,["x","cx","x1"])||0,y:+ah(e,["y","cy","y1"])||0,width:0,height:0}:t},vh=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&mh(e))},Es=function(e,t){if(t){var r=e.style;t in Ir&&t!==nr&&(t=be),r.removeProperty?((t.substr(0,2)==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(t.replace(Bl,"-$1").toLowerCase())):r.removeAttribute(t)}},li=function(e,t,r,n,s,o){var a=new ft(e._pt,t,r,0,1,o?hh:dh);return e._pt=a,a.b=n,a.e=s,e._props.push(r),a},uh={deg:1,rad:1,turn:1},xv={grid:1,flex:1},ci=function i(e,t,r,n){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=Gi.style,u=uv.test(t),l=e.tagName.toLowerCase()==="svg",c=(l?"client":"offset")+(u?"Width":"Height"),h=100,d=n==="px",f=n==="%",_,p,g,m;return n===o||!s||uh[n]||uh[o]?s:(o!=="px"&&!d&&(s=i(e,t,r,"px")),m=e.getCTM&&vh(e),(f||o==="%")&&(Ir[t]||~t.indexOf("adius"))?(_=m?e.getBBox()[u?"width":"height"]:e[c],Fe(f?s/_*h:s/100*_)):(a[u?"width":"height"]=h+(d?o:n),p=~t.indexOf("adius")||n==="em"&&e.appendChild&&!l?e:e.parentNode,m&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===ui||!p.appendChild)&&(p=ui.body),g=p._gsap,g&&f&&g.width&&u&&g.time===bt.time&&!g.uncache?Fe(s/g.width*h):((f||o==="%")&&!xv[Dr(p,"display")]&&(a.position=Dr(e,"position")),p===e&&(a.position="static"),p.appendChild(Gi),_=Gi[c],p.removeChild(Gi),a.position="absolute",u&&f&&(g=si(p),g.time=bt.time,g.width=p[c]),Fe(d?_*s/h:_&&s?h/_*s:0))))},Nr=function(e,t,r,n){var s;return Nl||Ll(),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:Qo(Dr(e,nr))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=Zo[t]&&Zo[t](e,t,r)||Dr(e,t)||yl(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?ci(e,t,s,r)+r:s},bv=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 ft(this._pt,e.style,t,0,1,Tl),u=0,l=0,c,h,d,f,_,p,g,m,v,D,b,E;if(a.b=r,a.e=n,r+="",n+="",n==="auto"&&(e.style[t]=n,n=Dr(e,t)||n,e.style[t]=r),c=[r,n],xl(c),r=c[0],n=c[1],d=r.match(Wi)||[],E=n.match(Wi)||[],E.length){for(;h=Wi.exec(n);)g=h[0],v=n.substring(u,h.index),_?_=(_+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(_=1),g!==(p=d[l++]||"")&&(f=parseFloat(p)||0,b=p.substr((f+"").length),g.charAt(1)==="="&&(g=Hi(f,g)+b),m=parseFloat(g),D=g.substr((m+"").length),u=Wi.lastIndex-D.length,D||(D=D||wt.units[t]||b,u===n.length&&(n+=D,a.e+=D)),b!==D&&(f=ci(e,t,p,D)||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"?hh:dh;return _l.test(n)&&(a.e=0),this._pt=a,a},lh={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ev=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]=lh[r]||r,t[1]=lh[n]||n,t.join(" ")},wv=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"?nr:be),Es(r,a);u&&(Es(r,be),o&&(o.svg&&r.removeAttribute("transform"),Cs(r,1),o.uncache=1,ph(n)))}},Zo={clearProps:function(e,t,r,n,s){if(s.data!=="isFromStart"){var o=e._pt=new ft(e._pt,t,r,0,0,wv);return o.u=n,o.pr=-10,o.tween=s,e._props.push(r),1}}},ws=[1,0,0,1,0,0],Dh={},yh=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},ch=function(e){var t=Dr(e,be);return yh(t)?ws:t.substr(7).match(pl).map(Fe)},zl=function(e,t){var r=e._gsap||si(e),n=e.style,s=ch(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"?ws:s):(s===ws&&!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=ch(e),u?n.display=u:Es(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)},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,h=a.xOffset||0,d=a.yOffset||0,f=u[0],_=u[1],p=u[2],g=u[3],m=u[4],v=u[5],D=t.split(" "),b=parseFloat(D[0])||0,E=parseFloat(D[1])||0,C,x,w,A;r?u!==ws&&(x=f*g-_*p)&&(w=b*(g/x)+E*(-p/x)+(p*v-g*m)/x,A=b*(-_/x)+E*(f/x)-(f*v-_*m)/x,b=w,E=A):(C=mh(e),b=C.x+(~D[0].indexOf("%")?b/100*C.width:b),E=C.y+(~(D[1]||D[0]).indexOf("%")?E/100*C.height:E)),n||n!==!1&&a.smooth?(m=b-l,v=E-c,a.xOffset=h+(m*f+v*p)-m,a.yOffset=d+(m*_+v*g)-v):a.xOffset=a.yOffset=0,a.xOrigin=b,a.yOrigin=E,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!r,e.style[nr]="0px 0px",o&&(li(o,a,"xOrigin",l,b),li(o,a,"yOrigin",c,E),li(o,a,"xOffset",h,a.xOffset),li(o,a,"yOffset",d,a.yOffset)),e.setAttribute("data-svg-origin",b+" "+E)},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,nr)||"0",c,h,d,f,_,p,g,m,v,D,b,E,C,x,w,A,S,P,F,M,R,N,I,L,B,T,y,k,q,J,U,X;return c=h=d=p=g=m=v=D=b=0,f=_=1,r.svg=!!(e.getCTM&&vh(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(n[be]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[be]!=="none"?u[be]:"")),n.scale=n.rotate=n.translate="none"),x=zl(e,r.svg),r.svg&&(r.uncache?(B=e.getBBox(),l=r.xOrigin-B.x+"px "+(r.yOrigin-B.y)+"px",L=""):L=!t&&e.getAttribute("data-svg-origin"),Rl(e,L||l,!!L||r.originIsAbsolute,r.smooth!==!1,x)),E=r.xOrigin||0,C=r.yOrigin||0,x!==ws&&(P=x[0],F=x[1],M=x[2],R=x[3],c=N=x[4],h=I=x[5],x.length===6?(f=Math.sqrt(P*P+F*F),_=Math.sqrt(R*R+M*M),p=P||F?Sn(F,P)*Xi:0,v=M||R?Sn(M,R)*Xi+p:0,v&&(_*=Math.abs(Math.cos(v*An))),r.svg&&(c-=E-(E*P+C*M),h-=C-(E*F+C*R))):(X=x[6],J=x[7],y=x[8],k=x[9],q=x[10],U=x[11],c=x[12],h=x[13],d=x[14],w=Sn(X,q),g=w*Xi,w&&(A=Math.cos(-w),S=Math.sin(-w),L=N*A+y*S,B=I*A+k*S,T=X*A+q*S,y=N*-S+y*A,k=I*-S+k*A,q=X*-S+q*A,U=J*-S+U*A,N=L,I=B,X=T),w=Sn(-M,q),m=w*Xi,w&&(A=Math.cos(-w),S=Math.sin(-w),L=P*A-y*S,B=F*A-k*S,T=M*A-q*S,U=R*S+U*A,P=L,F=B,M=T),w=Sn(F,P),p=w*Xi,w&&(A=Math.cos(w),S=Math.sin(w),L=P*A+F*S,B=N*A+I*S,F=F*A-P*S,I=I*A-N*S,P=L,N=B),g&&Math.abs(g)+Math.abs(p)>359.9&&(g=p=0,m=180-m),f=Fe(Math.sqrt(P*P+F*F+M*M)),_=Fe(Math.sqrt(I*I+X*X)),w=Sn(N,I),v=Math.abs(w)>2e-4?w*Xi:0,b=U?1/(U<0?-U:U):0),r.svg&&(L=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!yh(Dr(e,be)),L&&e.setAttribute("transform",L))),Math.abs(v)>90&&Math.abs(v)<270&&(s?(f*=-1,v+=p<=0?180:-180,p+=p<=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=h-((r.yPercent=h&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=d+o,r.scaleX=Fe(f),r.scaleY=Fe(_),r.rotation=Fe(p)+a,r.rotationX=Fe(g)+a,r.rotationY=Fe(m)+a,r.skewX=v+a,r.skewY=D+a,r.transformPerspective=b+o,(r.zOrigin=parseFloat(l.split(" ")[2])||0)&&(n[nr]=Qo(l)),r.xOffset=r.yOffset=0,r.force3D=wt.force3D,r.renderTransform=r.svg?Sv:gh?xh:Cv,r.uncache=0,r},Qo=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ol=function(e,t,r){var n=Ke(t);return Fe(parseFloat(t)+parseFloat(ci(e,"x",r+"px",n)))+n},Cv=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,xh(e,t)},qi="0deg",bs="0px",Ui=") ",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,h=r.rotationX,d=r.skewX,f=r.skewY,_=r.scaleX,p=r.scaleY,g=r.transformPerspective,m=r.force3D,v=r.target,D=r.zOrigin,b="",E=m==="auto"&&e&&e!==1||m===!0;if(D&&(h!==qi||c!==qi)){var C=parseFloat(c)*An,x=Math.sin(C),w=Math.cos(C),A;C=parseFloat(h)*An,A=Math.cos(C),o=Ol(v,o,x*A*-D),a=Ol(v,a,-Math.sin(C)*-D),u=Ol(v,u,w*A*-D+D)}g!==bs&&(b+="perspective("+g+Ui),(n||s)&&(b+="translate("+n+"%, "+s+"%) "),(E||o!==bs||a!==bs||u!==bs)&&(b+=u!==bs||E?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+Ui),l!==qi&&(b+="rotate("+l+Ui),c!==qi&&(b+="rotateY("+c+Ui),h!==qi&&(b+="rotateX("+h+Ui),(d!==qi||f!==qi)&&(b+="skew("+d+", "+f+Ui),(_!==1||p!==1)&&(b+="scale("+_+", "+p+Ui),v.style[be]=b||"translate(0, 0)"},Sv=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,h=r.scaleX,d=r.scaleY,f=r.target,_=r.xOrigin,p=r.yOrigin,g=r.xOffset,m=r.yOffset,v=r.forceCSS,D=parseFloat(o),b=parseFloat(a),E,C,x,w,A;u=parseFloat(u),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,u+=c),u||l?(u*=An,l*=An,E=Math.cos(u)*h,C=Math.sin(u)*h,x=Math.sin(u-l)*-d,w=Math.cos(u-l)*d,l&&(c*=An,A=Math.tan(l-c),A=Math.sqrt(1+A*A),x*=A,w*=A,c&&(A=Math.tan(c),A=Math.sqrt(1+A*A),E*=A,C*=A)),E=Fe(E),C=Fe(C),x=Fe(x),w=Fe(w)):(E=h,w=d,C=x=0),(D&&!~(o+"").indexOf("px")||b&&!~(a+"").indexOf("px"))&&(D=ci(f,"x",o,"px"),b=ci(f,"y",a,"px")),(_||p||g||m)&&(D=Fe(D+_-(_*E+p*x)+g),b=Fe(b+p-(_*C+p*w)+m)),(n||s)&&(A=f.getBBox(),D=Fe(D+n/100*A.width),b=Fe(b+s/100*A.height)),A="matrix("+E+","+C+","+x+","+w+","+D+","+b+")",f.setAttribute("transform",A),v&&(f.style[be]=A)},Tv=function(e,t,r,n,s){var o=360,a=We(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?Xi:1),l=u-n,c=n+l+"deg",h,d;return a&&(h=s.split("_")[1],h==="short"&&(l%=o,l!==l%(o/2)&&(l+=l<0?o:-o)),h==="cw"&&l<0?l=(l+o*sh)%o-~~(l/o)*o:h==="ccw"&&l>0&&(l=(l-o*sh)%o-~~(l/o)*o)),e._pt=d=new ft(e._pt,t,r,n,l,cv),d.e=c,d.u="deg",e._props.push(r),d},fh=function(e,t){for(var r in t)e[r]=t[r];return e},Av=function(e,t,r){var n=fh({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,u,l,c,h,d,f,_;n.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),o[be]=t,a=Cs(r,1),Es(r,be),r.setAttribute("transform",l)):(l=getComputedStyle(r)[be],o[be]=t,a=Cs(r,1),o[be]=l);for(u in Ir)l=n[u],c=a[u],l!==c&&s.indexOf(u)<0&&(f=Ke(l),_=Ke(c),h=f!==_?ci(r,u,l,_):parseFloat(l),d=parseFloat(c),e._pt=new ft(e._pt,a,u,h,d-h,Ml),e._pt.u=_||0,e._props.push(u));fh(a,n)};ct("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});Zo[e>1?"border"+i:i]=function(a,u,l,c,h){var d,f;if(arguments.length<4)return d=o.map(function(_){return Nr(a,_,l)}),f=d.join(" "),f.split(d[0]).length===5?d[0]:f;d=(c+"").split(" "),f={},o.forEach(function(_,p){return f[_]=d[p]=d[p]||d[(p-1)/2|0]}),a.init(u,f,h)}});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,h,d,f,_,p,g,m,v,D,b,E,C,x,w;Nl||Ll(),this.styles=this.styles||_h(e),w=this.styles.props,this.tween=r;for(p in t)if(p!=="autoRound"&&(c=t[p],!(xt[p]&&wl(p,t,r,n,e,s)))){if(f=typeof c,_=Zo[p],f==="function"&&(c=c.call(r,n,e,s),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=Cn(c)),_)_(this,e,p,c,r)&&(x=1);else if(p.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(p)+"").trim(),c+="",Lr.lastIndex=0,Lr.test(l)||(g=Ke(l),m=Ke(c)),m?g!==m&&(l=ci(e,p,l,m)+m):g&&(c+=g),this.add(a,"setProperty",l,c,n,s,0,0,p),o.push(p),w.push(p,0,a[p]);else if(f!=="undefined"){if(u&&p in u?(l=typeof u[p]=="function"?u[p].call(r,n,e,s):u[p],We(l)&&~l.indexOf("random(")&&(l=Cn(l)),Ke(l+"")||(l+=wt.units[p]||Ke(Nr(e,p))||""),(l+"").charAt(1)==="="&&(l=Nr(e,p))):l=Nr(e,p),d=parseFloat(l),v=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),h=parseFloat(c),p in vr&&(p==="autoAlpha"&&(d===1&&Nr(e,"visibility")==="hidden"&&h&&(d=0),w.push("visibility",0,a.visibility),li(this,a,"visibility",d?"inherit":"hidden",h?"inherit":"hidden",!h)),p!=="scale"&&p!=="transform"&&(p=vr[p],~p.indexOf(",")&&(p=p.split(",")[0]))),D=p in Ir,D){if(this.styles.save(p),b||(E=e._gsap,E.renderTransform&&!t.parseTransform||Cs(e,t.parseTransform),C=t.smoothOrigin!==!1&&E.smooth,b=this._pt=new ft(this._pt,a,be,0,1,E.renderTransform,E,0,-1),b.dep=1),p==="scale")this._pt=new ft(this._pt,E,"scaleY",E.scaleY,(v?Hi(E.scaleY,v+h):h)-E.scaleY||0,Ml),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){w.push(nr,0,a[nr]),c=Ev(c),E.svg?Rl(e,c,0,C,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==E.zOrigin&&li(this,E,"zOrigin",E.zOrigin,m),li(this,a,p,Qo(l),Qo(c)));continue}else if(p==="svgOrigin"){Rl(e,c,1,C,0,this);continue}else if(p in Dh){Tv(this,E,p,d,v?Hi(d,v+c):c);continue}else if(p==="smoothOrigin"){li(this,E,"smooth",E.smooth,c);continue}else if(p==="force3D"){E[p]=c;continue}else if(p==="transform"){Av(this,c,e);continue}}else p in a||(p=Fn(p)||p);if(D||(h||h===0)&&(d||d===0)&&!lv.test(c)&&p in a)g=(l+"").substr((d+"").length),h||(h=0),m=Ke(c)||(p in wt.units?wt.units[p]:g),g!==m&&(d=ci(e,p,l,m)),this._pt=new ft(this._pt,D?E:a,p,d,(v?Hi(d,v+h):h)-d,!D&&(m==="px"||p==="zIndex")&&t.autoRound!==!1?dv:Ml),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=l,this._pt.r=fv);else if(p in a)bv.call(this,e,p,l,v?v+c:c);else if(p in e)this.add(e,p,l||e[p],v?v+c:c,n,s);else if(p!=="parseTransform"){Xo(p,c);continue}D||(p in a?w.push(p,0,a[p]):w.push(p,1,l||e[p])),o.push(p)}}x&&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:Nr,aliases:vr,getSetter:function(e,t,r){var n=vr[t];return n&&n.indexOf(",")<0&&(t=n),t in Ir&&t!==nr&&(e._gsap.x||Nr(e,"x"))?r&&nh===r?t==="scale"?gv:_v:(nh=r||{})&&(t==="scale"?mv:vv):e.style&&!Uo(e.style[t])?hv:~t.indexOf("-")?pv:Ko(e,t)},core:{_removeProperty:Es,_getMatrix:zl}};st.utils.checkPrefix=Fn;st.core.getStyleSaver=_h;(function(i,e,t,r){var n=ct(i+","+e+","+t,function(s){Ir[s]=1});ct(e,function(s){wt.units[s]="deg",Dh[s]=1}),vr[n[13]]=i+","+e,ct(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");ct("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){wt.units[i]="px"});st.registerPlugin(Vl);var K=st.registerPlugin(Vl)||st,u1=K.core.Tween;function bh(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 Fv(i,e,t){return e&&bh(i.prototype,e),t&&bh(i,t),i}var Ze,Wl,Pv,Lt,fi,di,On,wh,ji,Ts,Ch,Br,sr,Sh,Th=function(){return Ze||typeof window<"u"&&(Ze=window.gsap)&&Ze.registerPlugin&&Ze},Ah=1,Pn=[],ie=[],or=[],As=Date.now,Hl=function(e,t){return t},Ov=function(){var e=Ts.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,ie),n.push.apply(n,or),ie=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!!~Ch.indexOf(e)},ht=function(e,t,r,n,s){return e.addEventListener(t,r,{passive:!n,capture:!!s})},dt=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Jo="scrollLeft",ea="scrollTop",Yl=function(){return Br&&Br.isPressed||ie.cache++},ta=function(e,t){var r=function n(s){if(s||s===0){Ah&&(Lt.history.scrollRestoration="manual");var o=Br&&Br.isPressed;s=n.v=Math.round(s)||(Br&&Br.iOS?1:0),e(s),n.cacheID=ie.cache,o&&Hl("ss",s)}else(t||ie.cache!==n.cacheID||Hl("ref"))&&(n.cacheID=ie.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},ot={s:Jo,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:ta(function(i){return arguments.length?Lt.scrollTo(i,Ne.sc()):Lt.pageXOffset||fi[Jo]||di[Jo]||On[Jo]||0})},Ne={s:ea,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:ot,sc:ta(function(i){return arguments.length?Lt.scrollTo(ot.sc(),i):Lt.pageYOffset||fi[ea]||di[ea]||On[ea]||0})},pt=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ze.utils.toArray)(e)[0]||(typeof e=="string"&&Ze.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},zr=function(e,t){var r=t.s,n=t.sc;Fs(e)&&(e=fi.scrollingElement||di);var s=ie.indexOf(e),o=n===Ne.sc?1:2;!~s&&(s=ie.push(e)-1),ie[s+o]||ht(e,"scroll",Yl);var a=ie[s+o],u=a||(ie[s+o]=ta(Vr(e,r),!0)||(Fs(e)?n:ta(function(l){return arguments.length?e[r]=l:e[r]})));return u.target=e,a||(u.smooth=Ze.getProperty(e,"scrollBehavior")==="smooth"),u},ra=function(e,t,r){var n=e,s=e,o=As(),a=o,u=t||50,l=Math.max(500,u*3),c=function(_,p){var g=As();p||g-o>u?(s=n,n=_,a=o,o=g):r?n+=_:n=s+(_-s)/(g-a)*(o-a)},h=function(){s=n=r?0:n,a=o=0},d=function(_){var p=a,g=s,m=As();return(_||_===0)&&_!==n&&c(_),o===a||m-a>l?0:(n+(r?g:-g))/((r?m:o)-p)*1e3};return{update:c,reset:h,getVelocity:d}},Ss=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Eh=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},Fh=function(){Ts=Ze.core.globals().ScrollTrigger,Ts&&Ts.core&&Ov()},Ph=function(e){return Ze=e||Th(),Ze&&typeof document<"u"&&document.body&&(Lt=window,fi=document,di=fi.documentElement,On=fi.body,Ch=[Lt,fi,di,On],Pv=Ze.utils.clamp,Sh=Ze.core.context||function(){},ji="onpointerenter"in On?"pointer":"mouse",wh=ke.isTouch=Lt.matchMedia&&Lt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Lt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,sr=ke.eventTypes=("ontouchstart"in di?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in di?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Ah=0},500),Fh(),Wl=1),Wl};ot.op=Ne;ie.cache=0;var ke=function(){function i(t){this.init(t)}var e=i.prototype;return e.init=function(r){Wl||Ph(Ze)||console.warn("Please gsap.registerPlugin(Observer)"),Ts||Fh();var n=r.tolerance,s=r.dragMinimum,o=r.type,a=r.target,u=r.lineHeight,l=r.debounce,c=r.preventDefault,h=r.onStop,d=r.onStopDelay,f=r.ignore,_=r.wheelSpeed,p=r.event,g=r.onDragStart,m=r.onDragEnd,v=r.onDrag,D=r.onPress,b=r.onRelease,E=r.onRight,C=r.onLeft,x=r.onUp,w=r.onDown,A=r.onChangeX,S=r.onChangeY,P=r.onChange,F=r.onToggleX,M=r.onToggleY,R=r.onHover,N=r.onHoverEnd,I=r.onMove,L=r.ignoreCheck,B=r.isNormalizer,T=r.onGestureStart,y=r.onGestureEnd,k=r.onWheel,q=r.onEnable,J=r.onDisable,U=r.onClick,X=r.scrollSpeed,z=r.capture,Y=r.allowClicks,fe=r.lockAxis,te=r.onLockAxis;this.target=a=pt(a)||di,this.vars=r,f&&(f=Ze.utils.toArray(f)),n=n||1e-9,s=s||0,_=_||1,X=X||1,o=o||"wheel,touch,pointer",l=l!==!1,u||(u=parseFloat(Lt.getComputedStyle(On).lineHeight)||22);var re,Je,Ft,V,$,Ce,Be,O=this,Pt=0,Ar=0,bi=zr(a,ot),Le=zr(a,Ne),Ei=bi(),wi=Le(),Qn=~o.indexOf("touch")&&!~o.indexOf("pointer")&&sr[0]==="pointerdown",Xe=Fs(a),Pe=a.ownerDocument||fi,Kt=[0,0,0],Zt=[0,0,0],Ci=0,Fr=function(){return Ci=As()},fr=function(G,de){return(O.event=G)&&f&&~f.indexOf(G.target)||de&&Qn&&G.pointerType!=="touch"||L&&L(G,de)},yt=function(){O._vx.reset(),O._vy.reset(),Je.pause(),h&&h(O)},Si=function(){var G=O.deltaX=Eh(Kt),de=O.deltaY=Eh(Zt),Se=Math.abs(G)>=n,W=Math.abs(de)>=n;P&&(Se||W)&&P(O,G,de,Kt,Zt),Se&&(E&&O.deltaX>0&&E(O),C&&O.deltaX<0&&C(O),A&&A(O),F&&O.deltaX<0!=Pt<0&&F(O),Pt=O.deltaX,Kt[0]=Kt[1]=Kt[2]=0),W&&(w&&O.deltaY>0&&w(O),x&&O.deltaY<0&&x(O),S&&S(O),M&&O.deltaY<0!=Ar<0&&M(O),Ar=O.deltaY,Zt[0]=Zt[1]=Zt[2]=0),(V||Ft)&&(I&&I(O),Ft&&(v(O),Ft=!1),V=!1),Ce&&!(Ce=!1)&&te&&te(O),$&&(k(O),$=!1),re=0},dn=function(G,de,Se){Kt[Se]+=G,Zt[Se]+=de,O._vx.update(G),O._vy.update(de),l?re||(re=requestAnimationFrame(Si)):Si()},hn=function(G,de){fe&&!Be&&(O.axis=Be=Math.abs(G)>Math.abs(de)?"x":"y",Ce=!0),Be!=="y"&&(Kt[2]+=G,O._vx.update(G,!0)),Be!=="x"&&(Zt[2]+=de,O._vy.update(de,!0)),l?re||(re=requestAnimationFrame(Si)):Si()},Ti=function(G){if(!fr(G,1)){G=Ss(G,c);var de=G.clientX,Se=G.clientY,W=de-O.x,ue=Se-O.y,j=O.isDragging;O.x=de,O.y=Se,(j||Math.abs(O.startX-de)>=s||Math.abs(O.startY-Se)>=s)&&(v&&(Ft=!0),j||(O.isDragging=!0),hn(W,ue),j||g&&g(O))}},Zr=O.onPress=function(Q){fr(Q,1)||Q&&Q.button||(O.axis=Be=null,Je.pause(),O.isPressed=!0,Q=Ss(Q),Pt=Ar=0,O.startX=O.x=Q.clientX,O.startY=O.y=Q.clientY,O._vx.reset(),O._vy.reset(),ht(B?a:Pe,sr[1],Ti,c,!0),O.deltaX=O.deltaY=0,D&&D(O))},Qr=O.onRelease=function(Q){if(!fr(Q,1)){dt(B?a:Pe,sr[1],Ti,!0);var G=!isNaN(O.y-O.startY),de=O.isDragging&&(Math.abs(O.x-O.startX)>3||Math.abs(O.y-O.startY)>3),Se=Ss(Q);!de&&G&&(O._vx.reset(),O._vy.reset(),c&&Y&&Ze.delayedCall(.08,function(){if(As()-Ci>300&&!Q.defaultPrevented){if(Q.target.click)Q.target.click();else if(Pe.createEvent){var W=Pe.createEvent("MouseEvents");W.initMouseEvent("click",!0,!0,Lt,1,Se.screenX,Se.screenY,Se.clientX,Se.clientY,!1,!1,!1,!1,0,null),Q.target.dispatchEvent(W)}}})),O.isDragging=O.isGesturing=O.isPressed=!1,h&&!B&&Je.restart(!0),m&&de&&m(O),b&&b(O,de)}},le=function(G){return G.touches&&G.touches.length>1&&(O.isGesturing=!0)&&T(G,O.isDragging)},Ai=function(){return(O.isGesturing=!1)||y(O)},Qt=function(G){if(!fr(G)){var de=bi(),Se=Le();dn((de-Ei)*X,(Se-wi)*X,1),Ei=de,wi=Se,h&&Je.restart(!0)}},Jt=function(G){if(!fr(G)){G=Ss(G,c),k&&($=!0);var de=(G.deltaMode===1?u:G.deltaMode===2?Lt.innerHeight:1)*_;dn(G.deltaX*de,G.deltaY*de,0),h&&!B&&Je.restart(!0)}},er=function(G){if(!fr(G)){var de=G.clientX,Se=G.clientY,W=de-O.x,ue=Se-O.y;O.x=de,O.y=Se,V=!0,(W||ue)&&hn(W,ue)}},Fi=function(G){O.event=G,R(O)},pn=function(G){O.event=G,N(O)},Pr=function(G){return fr(G)||Ss(G,c)&&U(O)};Je=O._dc=Ze.delayedCall(d||.25,yt).pause(),O.deltaX=O.deltaY=0,O._vx=ra(0,50,!0),O._vy=ra(0,50,!0),O.scrollX=bi,O.scrollY=Le,O.isDragging=O.isGesturing=O.isPressed=!1,Sh(this),O.enable=function(Q){return O.isEnabled||(ht(Xe?Pe:a,"scroll",Yl),o.indexOf("scroll")>=0&&ht(Xe?Pe:a,"scroll",Qt,c,z),o.indexOf("wheel")>=0&&ht(a,"wheel",Jt,c,z),(o.indexOf("touch")>=0&&wh||o.indexOf("pointer")>=0)&&(ht(a,sr[0],Zr,c,z),ht(Pe,sr[2],Qr),ht(Pe,sr[3],Qr),Y&&ht(a,"click",Fr,!1,!0),U&&ht(a,"click",Pr),T&&ht(Pe,"gesturestart",le),y&&ht(Pe,"gestureend",Ai),R&&ht(a,ji+"enter",Fi),N&&ht(a,ji+"leave",pn),I&&ht(a,ji+"move",er)),O.isEnabled=!0,Q&&Q.type&&Zr(Q),q&&q(O)),O},O.disable=function(){O.isEnabled&&(Pn.filter(function(Q){return Q!==O&&Fs(Q.target)}).length||dt(Xe?Pe:a,"scroll",Yl),O.isPressed&&(O._vx.reset(),O._vy.reset(),dt(B?a:Pe,sr[1],Ti,!0)),dt(Xe?Pe:a,"scroll",Qt,z),dt(a,"wheel",Jt,z),dt(a,sr[0],Zr,z),dt(Pe,sr[2],Qr),dt(Pe,sr[3],Qr),dt(a,"click",Fr,!0),dt(a,"click",Pr),dt(Pe,"gesturestart",le),dt(Pe,"gestureend",Ai),dt(a,ji+"enter",Fi),dt(a,ji+"leave",pn),dt(a,ji+"move",er),O.isEnabled=O.isPressed=O.isDragging=!1,J&&J(O))},O.kill=O.revert=function(){O.disable();var Q=Pn.indexOf(O);Q>=0&&Pn.splice(Q,1),Br===O&&(Br=0)},Pn.push(O),B&&Fs(a)&&(Br=O),O.enable(p)},Fv(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();ke.version="3.12.2";ke.create=function(i){return new ke(i)};ke.register=Ph;ke.getAll=function(){return Pn.slice()};ke.getById=function(i){return Pn.filter(function(e){return e.vars.id===i})[0]};Th()&&Ze.registerPlugin(ke);var H,Ln,ae,Ee,ar,ve,Gh,ya,xa,Nn,ha,ia,at,Ea,Zl,_t,Oh,Mh,Rn,jh,ql,$h,Rt,Kh,Zh,Qh,hi,Ql,ic,In,nc,Ul,na=1,mt=Date.now,Xl=mt(),Xt=0,Os=0,kh=function(e,t,r){var n=It(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},Lh=function(e,t){return t&&(!It(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Mv=function i(){return Os&&requestAnimationFrame(i)},Rh=function(){return Ea=1},Nh=function(){return Ea=0},yr=function(e){return e},Ms=function(e){return Math.round(e*1e5)/1e5||0},Jh=function(){return typeof window<"u"},ep=function(){return H||Jh()&&(H=window.gsap)&&H.registerPlugin&&H},en=function(e){return!!~Gh.indexOf(e)},tp=function(e){return(e==="Height"?nc:ae["inner"+e])||ar["client"+e]||ve["client"+e]},rp=function(e){return Vr(e,"getBoundingClientRect")||(en(e)?function(){return Da.width=ae.innerWidth,Da.height=nc,Da}:function(){return Wr(e)})},kv=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?tp(s):e["client"+s])||0}},Lv=function(e,t){return!t||~or.indexOf(e)?rp(e):function(){return Da}},Hr=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()-rp(e)()[s]:en(e)?(ar[r]||ve[r])-tp(n):e[r]-e["offset"+n])},sa=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])},It=function(e){return typeof e=="string"},vt=function(e){return typeof e=="function"},pa=function(e){return typeof e=="number"},$i=function(e){return typeof e=="object"},Ps=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},Gl=function(e,t){if(e.enabled){var r=t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},Mn=Math.abs,ip="left",np="top",sc="right",oc="bottom",Zi="width",Qi="height",Ls="Right",Rs="Left",Ns="Top",Is="Bottom",Ie="padding",qt="margin",zn="Width",ac="Height",Qe="px",Ut=function(e){return ae.getComputedStyle(e)},Rv=function(e){var t=Ut(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},Ih=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Wr=function(e,t){var r=t&&Ut(e)[Zl]!=="matrix(1, 0, 0, 1, 0, 0)"&&H.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},Jl=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},sp=function(e){var t=[],r=e.labels,n=e.duration(),s;for(s in r)t.push(r[s]/n);return t},Nv=function(e){return function(t){return H.utils.snap(sp(e),t)}},uc=function(e){var t=H.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)}},Iv=function(e){return function(t,r){return uc(sp(e))(t,r.direction)}},oa=function(e,t,r,n){return r.split(",").forEach(function(s){return e(t,s,n)})},Ue=function(e,t,r,n,s){return e.addEventListener(t,r,{passive:!n,capture:!!s})},qe=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},aa=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},Bh={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},ua={toggleActions:"play",anticipatePin:0},ba={top:0,left:0,center:.5,bottom:1,right:1},_a=function(e,t){if(It(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in ba?ba[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},la=function(e,t,r,n,s,o,a,u){var l=s.startColor,c=s.endColor,h=s.fontSize,d=s.indent,f=s.fontWeight,_=Ee.createElement("div"),p=en(r)||Vr(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,m=p?ve:r,v=e.indexOf("start")!==-1,D=v?l:c,b="border-color:"+D+";font-size:"+h+";color:"+D+";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)&&p?"fixed;":"absolute;"),(g||u||!p)&&(b+=(n===Ne?sc:oc)+":"+(o+parseFloat(d))+"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],ga(_,0,n,v),_},ga=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+zn]=1,s["border"+a+zn]=0,s[r.p]=t+"px",H.set(e,s)},ne=[],ec={},zs,zh=function(){return mt()-Xt>34&&(zs||(zs=requestAnimationFrame(Yr)))},kn=function(){(!Rt||!Rt.isPressed||Rt.startX>ve.clientWidth)&&(ie.cache++,Rt?zs||(zs=requestAnimationFrame(Yr)):Yr(),Xt||rn("scrollStart"),Xt=mt())},jl=function(){Qh=ae.innerWidth,Zh=ae.innerHeight},ks=function(){ie.cache++,!at&&!$h&&!Ee.fullscreenElement&&!Ee.webkitFullscreenElement&&(!Kh||Qh!==ae.innerWidth||Math.abs(ae.innerHeight-Zh)>ae.innerHeight*.25)&&ya.restart(!0)},tn={},Bv=[],op=function i(){return qe(Z,"scrollEnd",i)||Ki(!0)},rn=function(e){return tn[e]&&tn[e].map(function(t){return t()})||Bv},Nt=[],ap=function(e){for(var t=0;t<Nt.length;t+=5)(!e||Nt[t+4]&&Nt[t+4].query===e)&&(Nt[t].style.cssText=Nt[t+1],Nt[t].getBBox&&Nt[t].setAttribute("transform",Nt[t+2]||""),Nt[t+3].uncache=1)},lc=function(e,t){var r;for(_t=0;_t<ne.length;_t++)r=ne[_t],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));t&&ap(t),t||rn("revert")},up=function(e,t){ie.cache++,(t||!gt)&&ie.forEach(function(r){return vt(r)&&r.cacheID++&&(r.rec=0)}),It(e)&&(ae.history.scrollRestoration=ic=e)},gt,Ji=0,Vh,zv=function(){if(Vh!==Ji){var e=Vh=Ji;requestAnimationFrame(function(){return e===Ji&&Ki(!0)})}},lp=function(){ve.appendChild(In),nc=In.offsetHeight||ae.innerHeight,ve.removeChild(In)},Ki=function(e,t){if(Xt&&!e){Ue(Z,"scrollEnd",op);return}lp(),gt=Z.isRefreshing=!0,ie.forEach(function(n){return vt(n)&&++n.cacheID&&(n.rec=n())});var r=rn("refreshInit");jh&&Z.sort(),t||lc(),ie.forEach(function(n){vt(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),ne.slice(0).forEach(function(n){return n.refresh()}),ne.forEach(function(n,s){if(n._subPinOffset&&n.pin){var o=n.vars.horizontal?"offsetWidth":"offsetHeight",a=n.pin[o];n.revert(!0,1),n.adjustPinSpacing(n.pin[o]-a),n.refresh()}}),ne.forEach(function(n){var s=Hr(n.scroller,n._dir);(n.vars.end==="max"||n._endClamp&&n.end>s)&&n.setPositions(n.start,Math.max(n.start+1,s),!0)}),r.forEach(function(n){return n&&n.render&&n.render(-1)}),ie.forEach(function(n){vt(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),up(ic,1),ya.pause(),Ji++,gt=2,Yr(2),ne.forEach(function(n){return vt(n.vars.onRefresh)&&n.vars.onRefresh(n)}),gt=Z.isRefreshing=!1,rn("refresh")},tc=0,ma=1,Bs,Yr=function(e){if(!gt||e===2){Z.isUpdating=!0,Bs&&Bs.update(0);var t=ne.length,r=mt(),n=r-Xl>=50,s=t&&ne[0].scroll();if(ma=tc>s?-1:1,gt||(tc=s),n&&(Xt&&!Ea&&r-Xt>200&&(Xt=0,rn("scrollEnd")),ha=Xl,Xl=r),ma<0){for(_t=t;_t-- >0;)ne[_t]&&ne[_t].update(0,n);ma=1}else for(_t=0;_t<t;_t++)ne[_t]&&ne[_t].update(0,n);Z.isUpdating=!1}zs=0},rc=[ip,np,oc,sc,qt+Is,qt+Ls,qt+Ns,qt+Rs,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],va=rc.concat([Zi,Qi,"boxSizing","max"+zn,"max"+ac,"position",qt,Ie,Ie+Ns,Ie+Ls,Ie+Is,Ie+Rs]),Vv=function(e,t,r){Bn(r);var n=e._gsap;if(n.spacerIsNative)Bn(n.spacerState);else if(e._gsap.swappedIn){var s=t.parentNode;s&&(s.insertBefore(e,t),s.removeChild(t))}e._gsap.swappedIn=!1},$l=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[Zi]=Jl(e,ot)+Qe,o[Qi]=Jl(e,Ne)+Qe,o[Ie]=a[qt]=a[np]=a[ip]="0",Bn(n),a[Zi]=a["max"+zn]=r[Zi],a[Qi]=a["max"+ac]=r[Qi],a[Ie]=r[Ie],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Wv=/([A-Z])/g,Bn=function(e){if(e){var t=e.t.style,r=e.length,n=0,s,o;for((e.t._gsap||H.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(Wv,"-$1").toLowerCase())}},ca=function(e){for(var t=va.length,r=e.style,n=[],s=0;s<t;s++)n.push(va[s],r[va[s]]);return n.t=e,n},Hv=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},Da={left:0,top:0},Wh=function(e,t,r,n,s,o,a,u,l,c,h,d,f,_){vt(e)&&(e=e(u)),It(e)&&e.substr(0,3)==="max"&&(e=d+(e.charAt(4)==="="?_a("0"+e.substr(3),r):0));var p=f?f.time():0,g,m,v;if(f&&f.seek(0),isNaN(e)||(e=+e),pa(e))f&&(e=H.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,d,e)),a&&ga(a,r,n,!0);else{vt(t)&&(t=t(u));var D=(e||"0").split(" "),b,E,C,x;v=pt(t,u)||ve,b=Wr(v)||{},(!b||!b.left&&!b.top)&&Ut(v).display==="none"&&(x=v.style.display,v.style.display="block",b=Wr(v),x?v.style.display=x:v.style.removeProperty("display")),E=_a(D[0],b[n.d]),C=_a(D[1]||"0",r),e=b[n.p]-l[n.p]-c+E+s-C,a&&ga(a,C,n,r-C<20||a._isStart&&C>20),r-=r-C}if(_&&(u[_]=e||-.001,e<0&&(e=0)),o){var w=e+r,A=o._isStart;g="scroll"+n.d2,ga(o,w,n,A&&w>20||!A&&(h?Math.max(ve[g],ar[g]):o.parentNode[g])<=w+1),h&&(l=Wr(a),h&&(o.style[n.op.p]=l[n.op.p]-n.op.m-o._offset+Qe))}return f&&v&&(g=Wr(v),f.seek(d),m=Wr(v),f._caScrollDist=g[n.p]-m[n.p],e=e/f._caScrollDist*d),f&&f.seek(p),f?e:Math.round(e)},Yv=/(webkit|moz|length|cssText|inset)/i,Hh=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&&!Yv.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;H.core.getCache(e).uncache=1,t.appendChild(e)}},cp=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}},fa=function(e,t,r){var n={};n[t.p]="+="+r,H.set(e,n)},Yh=function(e,t){var r=zr(e,t),n="_scroll"+t.p2,s=function o(a,u,l,c,h){var d=o.tween,f=u.onComplete,_={};l=l||r();var p=cp(r,l,function(){d.kill(),o.tween=0});return h=c&&h||0,c=c||a-l,d&&d.kill(),u[n]=a,u.modifiers=_,_[n]=function(){return p(l+c*d.ratio+h*d.ratio*d.ratio)},u.onUpdate=function(){ie.cache++,Yr()},u.onComplete=function(){o.tween=0,f&&f.call(d)},d=o.tween=H.to(e,u),d};return e[n]=r,r.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},Ue(e,"wheel",r.wheelHandler),Z.isTouch&&Ue(e,"touchmove",r.wheelHandler),s},Z=function(){function i(t,r){Ln||i.register(H)||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),!Os){this.update=this.refresh=this.kill=yr;return}r=Ih(It(r)||pa(r)||r.nodeType?{trigger:r}:r,ua);var s=r,o=s.onUpdate,a=s.toggleClass,u=s.id,l=s.onToggle,c=s.onRefresh,h=s.scrub,d=s.trigger,f=s.pin,_=s.pinSpacing,p=s.invalidateOnRefresh,g=s.anticipatePin,m=s.onScrubComplete,v=s.onSnapComplete,D=s.once,b=s.snap,E=s.pinReparent,C=s.pinSpacer,x=s.containerAnimation,w=s.fastScrollEnd,A=s.preventOverlaps,S=r.horizontal||r.containerAnimation&&r.horizontal!==!1?ot:Ne,P=!h&&h!==0,F=pt(r.scroller||ae),M=H.core.getCache(F),R=en(F),N=("pinType"in r?r.pinType:Vr(F,"pinType")||R&&"fixed")==="fixed",I=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],L=P&&r.toggleActions.split(" "),B="markers"in r?r.markers:ua.markers,T=R?0:parseFloat(Ut(F)["border"+S.p2+zn])||0,y=this,k=r.onRefreshInit&&function(){return r.onRefreshInit(y)},q=kv(F,R,S),J=Lv(F,R),U=0,X=0,z=0,Y=zr(F,S),fe,te,re,Je,Ft,V,$,Ce,Be,O,Pt,Ar,bi,Le,Ei,wi,Qn,Xe,Pe,Kt,Zt,Ci,Fr,fr,yt,Si,dn,hn,Ti,Zr,Qr,le,Ai,Qt,Jt,er,Fi,pn,Pr;if(y._startClamp=y._endClamp=!1,y._dir=S,g*=45,y.scroller=F,y.scroll=x?x.time.bind(x):Y,Je=Y(),y.vars=r,n=n||r.animation,"refreshPriority"in r&&(jh=1,r.refreshPriority===-9999&&(Bs=y)),M.tweenScroll=M.tweenScroll||{top:Yh(F,Ne),left:Yh(F,ot)},y.tweenTo=fe=M.tweenScroll[S.p],y.scrubDuration=function(W){Ai=pa(W)&&W,Ai?le?le.duration(W):le=H.to(n,{ease:"expo",totalProgress:"+=0",duration:Ai,paused:!0,onComplete:function(){return m&&m(y)}}):(le&&le.progress(1).kill(),le=0)},n&&(n.vars.lazy=!1,n._initted&&!y.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),y.animation=n.pause(),n.scrollTrigger=y,y.scrubDuration(h),Zr=0,u||(u=n.vars.id)),b&&((!$i(b)||b.push)&&(b={snapTo:b}),"scrollBehavior"in ve.style&&H.set(R?[ve,ar]:F,{scrollBehavior:"auto"}),ie.forEach(function(W){return vt(W)&&W.target===(R?Ee.scrollingElement||ar:F)&&(W.smooth=!1)}),re=vt(b.snapTo)?b.snapTo:b.snapTo==="labels"?Nv(n):b.snapTo==="labelsDirectional"?Iv(n):b.directional!==!1?function(W,ue){return uc(b.snapTo)(W,mt()-X<500?0:ue.direction)}:H.utils.snap(b.snapTo),Qt=b.duration||{min:.1,max:2},Qt=$i(Qt)?Nn(Qt.min,Qt.max):Nn(Qt,Qt),Jt=H.delayedCall(b.delay||Ai/2||.1,function(){var W=Y(),ue=mt()-X<500,j=fe.tween;if((ue||Math.abs(y.getVelocity())<10)&&!j&&!Ea&&U!==W){var se=(W-V)/Le,Ye=n&&!P?n.totalProgress():se,ce=ue?0:(Ye-Qr)/(mt()-ha)*1e3||0,Oe=H.utils.clamp(-se,1-se,Mn(ce/2)*ce/.185),ut=se+(b.inertia===!1?0:Oe),Ge=Nn(0,1,re(ut,y)),De=Math.round(V+Ge*Le),he=b,tr=he.onStart,ye=he.onInterrupt,Ot=he.onComplete;if(W<=$&&W>=V&&De!==W){if(j&&!j._initted&&j.data<=Mn(De-W))return;b.inertia===!1&&(Oe=Ge-se),fe(De,{duration:Qt(Mn(Math.max(Mn(ut-Ye),Mn(Ge-Ye))*.185/ce/.05||0)),ease:b.ease||"power3",data:Mn(De-W),onInterrupt:function(){return Jt.restart(!0)&&ye&&ye(y)},onComplete:function(){y.update(),U=Y(),Zr=Qr=n&&!P?n.totalProgress():y.progress,v&&v(y),Ot&&Ot(y)}},W,Oe*Le,De-W-Oe*Le),tr&&tr(y,fe.tween)}}else y.isActive&&U!==W&&Jt.restart(!0)}).pause()),u&&(ec[u]=y),d=y.trigger=pt(d||f!==!0&&f),Pr=d&&d._gsap&&d._gsap.stRevert,Pr&&(Pr=Pr(y)),f=f===!0?d:pt(f),It(a)&&(a={targets:d,className:a}),f&&(_===!1||_===qt||(_=!_&&f.parentNode&&f.parentNode.style&&Ut(f.parentNode).display==="flex"?!1:Ie),y.pin=f,te=H.core.getCache(f),te.spacer?Ei=te.pinState:(C&&(C=pt(C),C&&!C.nodeType&&(C=C.current||C.nativeElement),te.spacerIsNative=!!C,C&&(te.spacerState=ca(C))),te.spacer=Xe=C||Ee.createElement("div"),Xe.classList.add("pin-spacer"),u&&Xe.classList.add("pin-spacer-"+u),te.pinState=Ei=ca(f)),r.force3D!==!1&&H.set(f,{force3D:!0}),y.spacer=Xe=te.spacer,Ti=Ut(f),fr=Ti[_+S.os2],Kt=H.getProperty(f),Zt=H.quickSetter(f,S.a,Qe),$l(f,Xe,Ti),Qn=ca(f)),B){Ar=$i(B)?Ih(B,Bh):Bh,O=la("scroller-start",u,F,S,Ar,0),Pt=la("scroller-end",u,F,S,Ar,0,O),Pe=O["offset"+S.op.d2];var Q=pt(Vr(F,"content")||F);Ce=this.markerStart=la("start",u,Q,S,Ar,Pe,0,x),Be=this.markerEnd=la("end",u,Q,S,Ar,Pe,0,x),x&&(pn=H.quickSetter([Ce,Be],S.a,Qe)),!N&&!(or.length&&Vr(F,"fixedMarkers")===!0)&&(Rv(R?ve:F),H.set([O,Pt],{force3D:!0}),Si=H.quickSetter(O,S.a,Qe),hn=H.quickSetter(Pt,S.a,Qe))}if(x){var G=x.vars.onUpdate,de=x.vars.onUpdateParams;x.eventCallback("onUpdate",function(){y.update(0,0,1),G&&G.apply(x,de||[])})}if(y.previous=function(){return ne[ne.indexOf(y)-1]},y.next=function(){return ne[ne.indexOf(y)+1]},y.revert=function(W,ue){if(!ue)return y.kill(!0);var j=W!==!1||!y.enabled,se=at;j!==y.isReverted&&(j&&(er=Math.max(Y(),y.scroll.rec||0),z=y.progress,Fi=n&&n.progress()),Ce&&[Ce,Be,O,Pt].forEach(function(Ye){return Ye.style.display=j?"none":"block"}),j&&(at=y,y.update(j)),f&&(!E||!y.isActive)&&(j?Vv(f,Xe,Ei):$l(f,Xe,Ut(f),yt)),j||y.update(j),at=se,y.isReverted=j)},y.refresh=function(W,ue,j,se){if(!((at||!y.enabled)&&!ue)){if(f&&W&&Xt){Ue(i,"scrollEnd",op);return}!gt&&k&&k(y),at=y,fe.tween&&!j&&(fe.tween.kill(),fe.tween=0),le&&le.pause(),p&&n&&n.revert({kill:!1}).invalidate(),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var Ye=q(),ce=J(),Oe=x?x.duration():Hr(F,S),ut=Le<=.01,Ge=0,De=se||0,he=$i(j)?j.end:r.end,tr=r.endTrigger||d,ye=$i(j)?j.start:r.start||(r.start===0||!d?0:f?"0 0":"0 100%"),Ot=y.pinnedContainer=r.pinnedContainer&&pt(r.pinnedContainer,y),dr=d&&Math.max(0,ne.indexOf(y))||0,Mt=dr,je,et,Pi,fo,tt,ze,hr,Qa,Yc,Jn,pr,es,ho;for(B&&$i(j)&&(es=H.getProperty(O,S.p),ho=H.getProperty(Pt,S.p));Mt--;)ze=ne[Mt],ze.end||ze.refresh(0,1)||(at=y),hr=ze.pin,hr&&(hr===d||hr===f||hr===Ot)&&!ze.isReverted&&(Jn||(Jn=[]),Jn.unshift(ze),ze.revert(!0,!0)),ze!==ne[Mt]&&(dr--,Mt--);for(vt(ye)&&(ye=ye(y)),ye=kh(ye,"start",y),V=Wh(ye,d,Ye,S,Y(),Ce,O,y,ce,T,N,Oe,x,y._startClamp&&"_startClamp")||(f?-.001:0),vt(he)&&(he=he(y)),It(he)&&!he.indexOf("+=")&&(~he.indexOf(" ")?he=(It(ye)?ye.split(" ")[0]:"")+he:(Ge=_a(he.substr(2),Ye),he=It(ye)?ye:(x?H.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,V):V)+Ge,tr=d)),he=kh(he,"end",y),$=Math.max(V,Wh(he||(tr?"100% 0":Oe),tr,Ye,S,Y()+Ge,Be,Pt,y,ce,T,N,Oe,x,y._endClamp&&"_endClamp"))||-.001,Ge=0,Mt=dr;Mt--;)ze=ne[Mt],hr=ze.pin,hr&&ze.start-ze._pinPush<=V&&!x&&ze.end>0&&(je=ze.end-(y._startClamp?Math.max(0,ze.start):ze.start),(hr===d&&ze.start-ze._pinPush<V||hr===Ot)&&isNaN(ye)&&(Ge+=je*(1-ze.progress)),hr===f&&(De+=je));if(V+=Ge,$+=Ge,y._startClamp&&(y._startClamp+=Ge),y._endClamp&&!gt&&(y._endClamp=$||-.001,$=Math.min($,Hr(F,S))),Le=$-V||(V-=.01)&&.001,ut&&(z=H.utils.clamp(0,1,H.utils.normalize(V,$,er))),y._pinPush=De,Ce&&Ge&&(je={},je[S.a]="+="+Ge,Ot&&(je[S.p]="-="+Y()),H.set([Ce,Be],je)),f)je=Ut(f),fo=S===Ne,Pi=Y(),Ci=parseFloat(Kt(S.a))+De,!Oe&&$>1&&(pr=(R?Ee.scrollingElement||ar:F).style,pr={style:pr,value:pr["overflow"+S.a.toUpperCase()]},R&&Ut(ve)["overflow"+S.a.toUpperCase()]!=="scroll"&&(pr.style["overflow"+S.a.toUpperCase()]="scroll")),$l(f,Xe,je),Qn=ca(f),et=Wr(f,!0),Qa=N&&zr(F,fo?ot:Ne)(),_&&(yt=[_+S.os2,Le+De+Qe],yt.t=Xe,Mt=_===Ie?Jl(f,S)+Le+De:0,Mt&&yt.push(S.d,Mt+Qe),Bn(yt),Ot&&ne.forEach(function(ts){ts.pin===Ot&&ts.vars.pinSpacing!==!1&&(ts._subPinOffset=!0)}),N&&Y(er)),N&&(tt={top:et.top+(fo?Pi-V:Qa)+Qe,left:et.left+(fo?Qa:Pi-V)+Qe,boxSizing:"border-box",position:"fixed"},tt[Zi]=tt["max"+zn]=Math.ceil(et.width)+Qe,tt[Qi]=tt["max"+ac]=Math.ceil(et.height)+Qe,tt[qt]=tt[qt+Ns]=tt[qt+Ls]=tt[qt+Is]=tt[qt+Rs]="0",tt[Ie]=je[Ie],tt[Ie+Ns]=je[Ie+Ns],tt[Ie+Ls]=je[Ie+Ls],tt[Ie+Is]=je[Ie+Is],tt[Ie+Rs]=je[Ie+Rs],wi=Hv(Ei,tt,E),gt&&Y(0)),n?(Yc=n._initted,ql(1),n.render(n.duration(),!0,!0),Fr=Kt(S.a)-Ci+Le+De,dn=Math.abs(Le-Fr)>1,N&&dn&&wi.splice(wi.length-2,2),n.render(0,!0,!0),Yc||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),ql(0)):Fr=Le,pr&&(pr.value?pr.style["overflow"+S.a.toUpperCase()]=pr.value:pr.style.removeProperty("overflow-"+S.a));else if(d&&Y()&&!x)for(et=d.parentNode;et&&et!==ve;)et._pinOffset&&(V-=et._pinOffset,$-=et._pinOffset),et=et.parentNode;Jn&&Jn.forEach(function(ts){return ts.revert(!1,!0)}),y.start=V,y.end=$,Je=Ft=gt?er:Y(),!x&&!gt&&(Je<er&&Y(er),y.scroll.rec=0),y.revert(!1,!0),X=mt(),Jt&&(U=-1,Jt.restart(!0)),at=0,n&&P&&(n._initted||Fi)&&n.progress()!==Fi&&n.progress(Fi||0,!0).render(n.time(),!0,!0),(ut||z!==y.progress||x)&&(n&&!P&&n.totalProgress(x&&V<-.001&&!z?H.utils.normalize(V,$,0):z,!0),y.progress=ut||(Je-V)/Le===z?0:z),f&&_&&(Xe._pinOffset=Math.round(y.progress*Fr)),le&&le.invalidate(),isNaN(es)||(es-=H.getProperty(O,S.p),ho-=H.getProperty(Pt,S.p),fa(O,S,es),fa(Ce,S,es-(se||0)),fa(Pt,S,ho),fa(Be,S,ho-(se||0))),ut&&!gt&&y.update(),c&&!gt&&!bi&&(bi=!0,c(y),bi=!1)}},y.getVelocity=function(){return(Y()-Ft)/(mt()-ha)*1e3||0},y.endAnimation=function(){Ps(y.callbackAnimation),n&&(le?le.progress(1):n.paused()?P||Ps(n,y.direction<0,1):Ps(n,n.reversed()))},y.labelToScroll=function(W){return n&&n.labels&&(V||y.refresh()||V)+n.labels[W]/n.duration()*Le||0},y.getTrailing=function(W){var ue=ne.indexOf(y),j=y.direction>0?ne.slice(0,ue).reverse():ne.slice(ue+1);return(It(W)?j.filter(function(se){return se.vars.preventOverlaps===W}):j).filter(function(se){return y.direction>0?se.end<=V:se.start>=$})},y.update=function(W,ue,j){if(!(x&&!j&&!W)){var se=gt===!0?er:y.scroll(),Ye=W?0:(se-V)/Le,ce=Ye<0?0:Ye>1?1:Ye||0,Oe=y.progress,ut,Ge,De,he,tr,ye,Ot,dr;if(ue&&(Ft=Je,Je=x?Y():se,b&&(Qr=Zr,Zr=n&&!P?n.totalProgress():ce)),g&&!ce&&f&&!at&&!na&&Xt&&V<se+(se-Ft)/(mt()-ha)*g&&(ce=1e-4),ce!==Oe&&y.enabled){if(ut=y.isActive=!!ce&&ce<1,Ge=!!Oe&&Oe<1,ye=ut!==Ge,tr=ye||!!ce!=!!Oe,y.direction=ce>Oe?1:-1,y.progress=ce,tr&&!at&&(De=ce&&!Oe?0:ce===1?1:Oe===1?2:3,P&&(he=!ye&&L[De+1]!=="none"&&L[De+1]||L[De],dr=n&&(he==="complete"||he==="reset"||he in n))),A&&(ye||dr)&&(dr||h||!n)&&(vt(A)?A(y):y.getTrailing(A).forEach(function(Pi){return Pi.endAnimation()})),P||(le&&!at&&!na?(le._dp._time-le._start!==le._time&&le.render(le._dp._time-le._start),le.resetTo?le.resetTo("totalProgress",ce,n._tTime/n._tDur):(le.vars.totalProgress=ce,le.invalidate().restart())):n&&n.totalProgress(ce,!!(at&&(X||W)))),f){if(W&&_&&(Xe.style[_+S.os2]=fr),!N)Zt(Ms(Ci+Fr*ce));else if(tr){if(Ot=!W&&ce>Oe&&$+1>se&&se+1>=Hr(F,S),E)if(!W&&(ut||Ot)){var Mt=Wr(f,!0),je=se-V;Hh(f,ve,Mt.top+(S===Ne?je:0)+Qe,Mt.left+(S===Ne?0:je)+Qe)}else Hh(f,Xe);Bn(ut||Ot?wi:Qn),dn&&ce<1&&ut||Zt(Ci+(ce===1&&!Ot?Fr:0))}}b&&!fe.tween&&!at&&!na&&Jt.restart(!0),a&&(ye||D&&ce&&(ce<1||!Ul))&&xa(a.targets).forEach(function(Pi){return Pi.classList[ut||D?"add":"remove"](a.className)}),o&&!P&&!W&&o(y),tr&&!at?(P&&(dr&&(he==="complete"?n.pause().totalProgress(1):he==="reset"?n.restart(!0).pause():he==="restart"?n.restart(!0):n[he]()),o&&o(y)),(ye||!Ul)&&(l&&ye&&Gl(y,l),I[De]&&Gl(y,I[De]),D&&(ce===1?y.kill(!1,1):I[De]=0),ye||(De=ce===1?1:3,I[De]&&Gl(y,I[De]))),w&&!ut&&Math.abs(y.getVelocity())>(pa(w)?w:2500)&&(Ps(y.callbackAnimation),le?le.progress(1):Ps(n,he==="reverse"?1:!ce,1))):P&&o&&!at&&o(y)}if(hn){var et=x?se/x.duration()*(x._caScrollDist||0):se;Si(et+(O._isFlipped?1:0)),hn(et)}pn&&pn(-se/x.duration()*(x._caScrollDist||0))}},y.enable=function(W,ue){y.enabled||(y.enabled=!0,Ue(F,"resize",ks),R||Ue(F,"scroll",kn),k&&Ue(i,"refreshInit",k),W!==!1&&(y.progress=z=0,Je=Ft=U=Y()),ue!==!1&&y.refresh())},y.getTween=function(W){return W&&fe?fe.tween:le},y.setPositions=function(W,ue,j,se){if(x){var Ye=x.scrollTrigger,ce=x.duration(),Oe=Ye.end-Ye.start;W=Ye.start+Oe*W/ce,ue=Ye.start+Oe*ue/ce}y.refresh(!1,!1,{start:Lh(W,j&&!!y._startClamp),end:Lh(ue,j&&!!y._endClamp)},se),y.update()},y.adjustPinSpacing=function(W){if(yt&&W){var ue=yt.indexOf(S.d)+1;yt[ue]=parseFloat(yt[ue])+W+Qe,yt[1]=parseFloat(yt[1])+W+Qe,Bn(yt)}},y.disable=function(W,ue){if(y.enabled&&(W!==!1&&y.revert(!0,!0),y.enabled=y.isActive=!1,ue||le&&le.pause(),er=0,te&&(te.uncache=1),k&&qe(i,"refreshInit",k),Jt&&(Jt.pause(),fe.tween&&fe.tween.kill()&&(fe.tween=0)),!R)){for(var j=ne.length;j--;)if(ne[j].scroller===F&&ne[j]!==y)return;qe(F,"resize",ks),R||qe(F,"scroll",kn)}},y.kill=function(W,ue){y.disable(W,ue),le&&!ue&&le.kill(),u&&delete ec[u];var j=ne.indexOf(y);j>=0&&ne.splice(j,1),j===_t&&ma>0&&_t--,j=0,ne.forEach(function(se){return se.scroller===y.scroller&&(j=1)}),j||gt||(y.scroll.rec=0),n&&(n.scrollTrigger=null,W&&n.revert({kill:!1}),ue||n.kill()),Ce&&[Ce,Be,O,Pt].forEach(function(se){return se.parentNode&&se.parentNode.removeChild(se)}),Bs===y&&(Bs=0),f&&(te&&(te.uncache=1),j=0,ne.forEach(function(se){return se.pin===f&&j++}),j||(te.spacer=0)),r.onKill&&r.onKill(y)},ne.push(y),y.enable(!1,!1),Pr&&Pr(y),n&&n.add&&!Le){var Se=y.update;y.update=function(){y.update=Se,V||$||y.refresh()},H.delayedCall(.01,y.update),Le=.01,V=$=0}else y.refresh();f&&zv()},i.register=function(r){return Ln||(H=r||ep(),Jh()&&window.document&&i.enable(),Ln=Os),Ln},i.defaults=function(r){if(r)for(var n in r)ua[n]=r[n];return ua},i.disable=function(r,n){Os=0,ne.forEach(function(o){return o[n?"kill":"disable"](r)}),qe(ae,"wheel",kn),qe(Ee,"scroll",kn),clearInterval(ia),qe(Ee,"touchcancel",yr),qe(ve,"touchstart",yr),oa(qe,Ee,"pointerdown,touchstart,mousedown",Rh),oa(qe,Ee,"pointerup,touchend,mouseup",Nh),ya.kill(),sa(qe);for(var s=0;s<ie.length;s+=3)aa(qe,ie[s],ie[s+1]),aa(qe,ie[s],ie[s+2])},i.enable=function(){if(ae=window,Ee=document,ar=Ee.documentElement,ve=Ee.body,H&&(xa=H.utils.toArray,Nn=H.utils.clamp,Ql=H.core.context||yr,ql=H.core.suppressOverwrites||yr,ic=ae.history.scrollRestoration||"auto",tc=ae.pageYOffset,H.core.globals("ScrollTrigger",i),ve)){Os=1,In=document.createElement("div"),In.style.height="100vh",In.style.position="absolute",lp(),Mv(),ke.register(H),i.isTouch=ke.isTouch,hi=ke.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ue(ae,"wheel",kn),Gh=[ae,Ee,ar,ve],H.matchMedia?(i.matchMedia=function(u){var l=H.matchMedia(),c;for(c in u)l.add(c,u[c]);return l},H.addEventListener("matchMediaInit",function(){return lc()}),H.addEventListener("matchMediaRevert",function(){return ap()}),H.addEventListener("matchMedia",function(){Ki(0,1),rn("matchMedia")}),H.matchMedia("(orientation: portrait)",function(){return jl(),jl})):console.warn("Requires GSAP 3.11.0 or later"),jl(),Ue(Ee,"scroll",kn);var r=ve.style,n=r.borderTopStyle,s=H.core.Animation.prototype,o,a;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",o=Wr(ve),Ne.m=Math.round(o.top+Ne.sc())||0,ot.m=Math.round(o.left+ot.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),ia=setInterval(zh,250),H.delayedCall(.5,function(){return na=0}),Ue(Ee,"touchcancel",yr),Ue(ve,"touchstart",yr),oa(Ue,Ee,"pointerdown,touchstart,mousedown",Rh),oa(Ue,Ee,"pointerup,touchend,mouseup",Nh),Zl=H.utils.checkPrefix("transform"),va.push(Zl),Ln=mt(),ya=H.delayedCall(.2,Ki).pause(),Rn=[Ee,"visibilitychange",function(){var u=ae.innerWidth,l=ae.innerHeight;Ee.hidden?(Oh=u,Mh=l):(Oh!==u||Mh!==l)&&ks()},Ee,"DOMContentLoaded",Ki,ae,"load",Ki,ae,"resize",ks],sa(Ue),ne.forEach(function(u){return u.enable(0,1)}),a=0;a<ie.length;a+=3)aa(qe,ie[a],ie[a+1]),aa(qe,ie[a],ie[a+2])}},i.config=function(r){"limitCallbacks"in r&&(Ul=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(ia)||(ia=n)&&setInterval(zh,n),"ignoreMobileResize"in r&&(Kh=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(sa(qe)||sa(Ue,r.autoRefreshEvents||"none"),$h=(r.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(r,n){var s=pt(r),o=ie.indexOf(s),a=en(s);~o&&ie.splice(o,a?6:2),n&&(a?or.unshift(ae,n,ve,n,ar,n):or.unshift(s,n))},i.clearMatchMedia=function(r){ne.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},i.isInViewport=function(r,n,s){var o=(It(r)?pt(r):r).getBoundingClientRect(),a=o[s?Zi:Qi]*n||0;return s?o.right-a>0&&o.left+a<ae.innerWidth:o.bottom-a>0&&o.top+a<ae.innerHeight},i.positionInViewport=function(r,n,s){It(r)&&(r=pt(r));var o=r.getBoundingClientRect(),a=o[s?Zi:Qi],u=n==null?a/2:n in ba?ba[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return s?(o.left+u)/ae.innerWidth:(o.top+u)/ae.innerHeight},i.killAll=function(r){if(ne.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}();Z.version="3.12.2";Z.saveStyles=function(i){return i?xa(i).forEach(function(e){if(e&&e.style){var t=Nt.indexOf(e);t>=0&&Nt.splice(t,5),Nt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),H.core.getCache(e),Ql())}}):Nt};Z.revert=function(i,e){return lc(!i,e)};Z.create=function(i,e){return new Z(i,e)};Z.refresh=function(i){return i?ks():(Ln||Z.register())&&Ki(!0)};Z.update=function(i){return++ie.cache&&Yr(i===!0?2:0)};Z.clearScrollMemory=up;Z.maxScroll=function(i,e){return Hr(i,e?ot:Ne)};Z.getScrollFunc=function(i,e){return zr(pt(i),e?ot:Ne)};Z.getById=function(i){return ec[i]};Z.getAll=function(){return ne.filter(function(i){return i.vars.id!=="ScrollSmoother"})};Z.isScrolling=function(){return!!Xt};Z.snapDirectional=uc;Z.addEventListener=function(i,e){var t=tn[i]||(tn[i]=[]);~t.indexOf(e)||t.push(e)};Z.removeEventListener=function(i,e){var t=tn[i],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};Z.batch=function(i,e){var t=[],r={},n=e.interval||.016,s=e.batchMax||1e9,o=function(l,c){var h=[],d=[],f=H.delayedCall(n,function(){c(h,d),h=[],d=[]}).pause();return function(_){h.length||f.restart(!0),h.push(_.trigger),d.push(_),s<=h.length&&f.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&vt(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return vt(s)&&(s=s(),Ue(Z,"refresh",function(){return s=e.batchMax()})),xa(i).forEach(function(u){var l={};for(a in r)l[a]=r[a];l.trigger=u,t.push(Z.create(l))}),t};var qh=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+(ke.isTouch?" pinch-zoom":""):"none",e===ar&&i(ve,t)},da={auto:1,scroll:1},qv=function(e){var t=e.event,r=e.target,n=e.axis,s=(t.changedTouches?t.changedTouches[0]:t).target,o=s._gsap||H.core.getCache(s),a=mt(),u;if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==ve&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(da[(u=Ut(s)).overflowY]||da[u.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!en(s)&&(da[(u=Ut(s)).overflowY]||da[u.overflowX]),o._isScrollT=a}(o._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},fp=function(e,t,r,n){return ke.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&qv,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&Ue(Ee,ke.eventTypes[0],Xh,!1,!0)},onDisable:function(){return qe(Ee,ke.eventTypes[0],Xh,!0)}})},Uv=/(input|label|select|textarea)/i,Uh,Xh=function(e){var t=Uv.test(e.target.tagName);(t||Uh)&&(e._gsapAllow=!0,Uh=t)},Xv=function(e){$i(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=pt(e.target)||ar,c=H.core.globals().ScrollSmoother,h=c&&c.get(),d=hi&&(e.content&&pt(e.content)||h&&e.content!==!1&&!h.smooth()&&h.content()),f=zr(l,Ne),_=zr(l,ot),p=1,g=(ke.isTouch&&ae.visualViewport?ae.visualViewport.scale*ae.visualViewport.width:ae.outerWidth)/ae.innerWidth,m=0,v=vt(n)?function(){return n(a)}:function(){return n||2.8},D,b,E=fp(l,e.type,!0,s),C=function(){return b=!1},x=yr,w=yr,A=function(){u=Hr(l,Ne),w=Nn(hi?1:0,u),r&&(x=Nn(0,Hr(l,ot))),D=Ji},S=function(){d._gsap.y=Ms(parseFloat(d._gsap.y)+f.offset)+"px",d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(d._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},P=function(){if(b){requestAnimationFrame(C);var B=Ms(a.deltaY/2),T=w(f.v-B);if(d&&T!==f.v+f.offset){f.offset=T-f.v;var y=Ms((parseFloat(d&&d._gsap.y)||0)-f.offset);d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",d._gsap.y=y+"px",f.cacheID=ie.cache,Yr()}return!0}f.offset&&S(),b=!0},F,M,R,N,I=function(){A(),F.isActive()&&F.vars.scrollY>u&&(f()>u?F.progress(1)&&f(u):F.resetTo("scrollY",u))};return d&&H.set(d,{y:"+=0"}),e.ignoreCheck=function(L){return hi&&L.type==="touchmove"&&P(L)||p>1.05&&L.type!=="touchstart"||a.isGesturing||L.touches&&L.touches.length>1},e.onPress=function(){b=!1;var L=p;p=Ms((ae.visualViewport&&ae.visualViewport.scale||1)/g),F.pause(),L!==p&&Kl(l,p>1.01?!0:r?!1:"x"),M=_(),R=f(),A(),D=Ji},e.onRelease=e.onGestureStart=function(L,B){if(f.offset&&S(),!B)N.restart(!0);else{ie.cache++;var T=v(),y,k;r&&(y=_(),k=y+T*.05*-L.velocityX/.227,T*=qh(_,y,k,Hr(l,ot)),F.vars.scrollX=x(k)),y=f(),k=y+T*.05*-L.velocityY/.227,T*=qh(f,y,k,Hr(l,Ne)),F.vars.scrollY=w(k),F.invalidate().duration(T).play(.01),(hi&&F.vars.scrollY>=u||y>=u-1)&&H.to({},{onUpdate:I,duration:T})}o&&o(L)},e.onWheel=function(){F._ts&&F.pause(),mt()-m>1e3&&(D=0,m=mt())},e.onChange=function(L,B,T,y,k){if(Ji!==D&&A(),B&&r&&_(x(y[2]===B?M+(L.startX-L.x):_()+B-y[1])),T){f.offset&&S();var q=k[2]===T,J=q?R+L.startY-L.y:f()+T-k[1],U=w(J);q&&J!==U&&(R+=U-J),f(U)}(T||B)&&Yr()},e.onEnable=function(){Kl(l,r?!1:"x"),Z.addEventListener("refresh",I),Ue(ae,"resize",I),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),E.enable()},e.onDisable=function(){Kl(l,!0),qe(ae,"resize",I),Z.removeEventListener("refresh",I),E.kill()},e.lockAxis=e.lockAxis!==!1,a=new ke(e),a.iOS=hi,hi&&!f()&&f(1),hi&&H.ticker.add(yr),N=a._dc,F=H.to(a,{ease:"power4",paused:!0,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:cp(f,f(),function(){return F.pause()})},onUpdate:Yr,onComplete:N.vars.onComplete}),a};Z.sort=function(i){return ne.sort(i||function(e,t){return(e.vars.refreshPriority||0)*-1e6+e.start-(t.start+(t.vars.refreshPriority||0)*-1e6)})};Z.observe=function(i){return new ke(i)};Z.normalizeScroll=function(i){if(typeof i>"u")return Rt;if(i===!0&&Rt)return Rt.enable();if(i===!1)return Rt&&Rt.kill();var e=i instanceof ke?i:Xv(i);return Rt&&Rt.target===e.target&&Rt.kill(),en(e.target)&&(Rt=e),e};Z.core={_getVelocityProp:ra,_inputObserver:fp,_scrollers:ie,_proxies:or,bridge:{ss:function(){Xt||rn("scrollStart"),Xt=mt()},ref:function(){return at}}};ep()&&H.registerPlugin(Z);var Dt,_p,qr,xr,pi,gp,mp,wa,vp=function(){return typeof window<"u"},Dp=function(){return Dt||vp()&&(Dt=window.gsap)&&Dt.registerPlugin&&Dt},yp=function(e){return typeof e=="string"},dp=function(e){return typeof e=="function"},Vs=function(e,t){var r=t==="x"?"Width":"Height",n="scroll"+r,s="client"+r;return e===qr||e===xr||e===pi?Math.max(xr[n],pi[n])-(qr["inner"+r]||xr[s]||pi[s]):e[n]-e["offset"+r]},Ws=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:pi),function(){return e[r]}},Gv=function(e,t,r,n){if(dp(e)&&(e=e(t,r,n)),typeof e!="object")return yp(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"&&dp(e[o])?e[o](t,r,n):e[o];return s},xp=function(e,t){if(e=gp(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===pi,s=n?{top:xr.clientTop-(qr.pageYOffset||xr.scrollTop||pi.scrollTop||0),left:xr.clientLeft-(qr.pageXOffset||xr.scrollLeft||pi.scrollLeft||0)}:t.getBoundingClientRect(),o={x:r.left-s.left,y:r.top-s.top};return!n&&t&&(o.x+=Ws(t,"x")(),o.y+=Ws(t,"y")()),o},hp=function(e,t,r,n,s){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-s:yp(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+n-s:e==="max"?Vs(t,r)-s:Math.min(Vs(t,r),xp(e,t)[r]-s)},pp=function(){Dt=Dp(),vp()&&Dt&&typeof document<"u"&&document.body&&(qr=window,pi=document.body,xr=document.documentElement,gp=Dt.utils.toArray,Dt.config({autoKillThreshold:7}),mp=Dt.config(),_p=1)},Vn={version:"3.12.2",name:"scrollTo",rawVars:1,register:function(e){Dt=e,pp()},init:function(e,t,r,n,s){_p||pp();var o=this,a=Dt.getProperty(e,"scrollSnapType");o.isWin=e===qr,o.target=e,o.tween=r,t=Gv(t,n,e,s),o.vars=t,o.autoKill=!!t.autoKill,o.getX=Ws(e,"x"),o.getY=Ws(e,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),wa||(wa=Dt.core.globals().ScrollTrigger),Dt.getProperty(e,"scrollBehavior")==="smooth"&&Dt.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,hp(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,hp(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,h=t.snapInline,d,f,_,p,g;r;)r.r(e,r.d),r=r._next;d=l||!t.skipX?t.getX():a,f=l||!t.skipY?t.getY():u,_=f-u,p=d-a,g=mp.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),o&&(!t.skipX&&(p>g||p<-g)&&d<Vs(n,"x")&&(t.skipX=1),!t.skipY&&(_>g||_<-g)&&f<Vs(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?d: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,d=n.scrollLeft,h?n.style.scrollSnapType=h:n.style.removeProperty("scroll-snap-type"),n.scrollTop=f+1,n.scrollLeft=d+1,n.scrollTop=f,n.scrollLeft=d),t.xPrev=t.x,t.yPrev=t.y,wa&&wa.update()},kill:function(e){var t=e==="scrollTo";(t||e==="scrollTo_x")&&(this.skipX=1),(t||e==="scrollTo_y")&&(this.skipY=1)}};Vn.max=Vs;Vn.getOffset=xp;Vn.buildGetter=Ws;Dp()&&Dt.registerPlugin(Vn);var jv=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var $v=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var Kv=Math.PI/180,p1=180/Math.PI,Ca=Math.sin,Sa=Math.cos,Ys=Math.abs,Hs=Math.sqrt;var Zv=function(e){return typeof e=="number"};var bp=1e5;var _i=function(e){return Math.round(e*bp)/bp||0};function Ep(i,e,t,r,n,s,o){for(var a=i.length,u,l,c,h,d;--a>-1;)for(u=i[a],l=u.length,c=0;c<l;c+=2)h=u[c],d=u[c+1],u[c]=h*e+d*r+s,u[c+1]=h*t+d*n+o;return i._dirty=1,i}function Qv(i,e,t,r,n,s,o,a,u){if(!(i===a&&e===u)){t=Ys(t),r=Ys(r);var l=n%360*Kv,c=Sa(l),h=Ca(l),d=Math.PI,f=d*2,_=(i-a)/2,p=(e-u)/2,g=c*_+h*p,m=-h*_+c*p,v=g*g,D=m*m,b=v/(t*t)+D/(r*r);b>1&&(t=Hs(b)*t,r=Hs(b)*r);var E=t*t,C=r*r,x=(E*C-E*D-C*v)/(E*D+C*v);x<0&&(x=0);var w=(s===o?-1:1)*Hs(x),A=w*(t*m/r),S=w*-(r*g/t),P=(i+a)/2,F=(e+u)/2,M=P+(c*A-h*S),R=F+(h*A+c*S),N=(g-A)/t,I=(m-S)/r,L=(-g-A)/t,B=(-m-S)/r,T=N*N+I*I,y=(I<0?-1:1)*Math.acos(N/Hs(T)),k=(N*B-I*L<0?-1:1)*Math.acos((N*L+I*B)/Hs(T*(L*L+B*B)));isNaN(k)&&(k=d),!o&&k>0?k-=f:o&&k<0&&(k+=f),y%=f,k%=f;var q=Math.ceil(Ys(k)/(f/4)),J=[],U=k/q,X=4/3*Ca(U/2)/(1+Sa(U/2)),z=c*t,Y=h*t,fe=h*-r,te=c*r,re;for(re=0;re<q;re++)n=y+re*U,g=Sa(n),m=Ca(n),N=Sa(n+=U),I=Ca(n),J.push(g-X*m,m+X*g,N+X*I,I-X*N,N,I);for(re=0;re<J.length;re+=2)g=J[re],m=J[re+1],J[re]=g*z+m*fe+M,J[re+1]=g*Y+m*te+R;return J[re-2]=a,J[re-1]=u,J}}function wp(i){var e=(i+"").replace($v,function(A){var S=+A;return S<1e-4&&S>-1e-4?0:S}).match(jv)||[],t=[],r=0,n=0,s=2/3,o=e.length,a=0,u="ERROR: malformed path: "+i,l,c,h,d,f,_,p,g,m,v,D,b,E,C,x,w=function(S,P,F,M){v=(F-S)/3,D=(M-P)/3,p.push(S+v,P+D,F-v,M-D,F,M)};if(!i||!isNaN(e[0])||isNaN(e[1]))return console.log(u),t;for(l=0;l<o;l++)if(E=f,isNaN(e[l])?(f=e[l].toUpperCase(),_=f!==e[l]):l--,h=+e[l+1],d=+e[l+2],_&&(h+=r,d+=n),l||(g=h,m=d),f==="M")p&&(p.length<8?t.length-=1:a+=p.length),r=g=h,n=m=d,p=[h,d],t.push(p),l+=2,f="L";else if(f==="C")p||(p=[0,0]),_||(r=n=0),p.push(h,d,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,D=n,(E==="C"||E==="S")&&(v+=r-p[p.length-4],D+=n-p[p.length-3]),_||(r=n=0),p.push(v,D,h,d,r+=e[l+3]*1,n+=e[l+4]*1),l+=4;else if(f==="Q")v=r+(h-r)*s,D=n+(d-n)*s,_||(r=n=0),r+=e[l+3]*1,n+=e[l+4]*1,p.push(v,D,r+(h-r)*s,n+(d-n)*s,r,n),l+=4;else if(f==="T")v=r-p[p.length-4],D=n-p[p.length-3],p.push(r+v,n+D,h+(r+v*1.5-h)*s,d+(n+D*1.5-d)*s,r=h,n=d),l+=2;else if(f==="H")w(r,n,r=h,n),l+=1;else if(f==="V")w(r,n,r,n=h+(_?n-r:0)),l+=1;else if(f==="L"||f==="Z")f==="Z"&&(h=g,d=m,p.closed=!0),(f==="L"||Ys(r-h)>.5||Ys(n-d)>.5)&&(w(r,n,h,d),f==="L"&&(l+=2)),r=h,n=d;else if(f==="A"){if(C=e[l+4],x=e[l+5],v=e[l+6],D=e[l+7],c=7,C.length>1&&(C.length<3?(D=v,v=x,c--):(D=x,v=C.substr(2),c-=2),x=C.charAt(1),C=C.charAt(0)),b=Qv(r,n,+e[l+1],+e[l+2],+e[l+3],+C,+x,(_?r:0)+v*1,(_?n:0)+D*1),l+=c,b)for(c=0;c<b.length;c++)p.push(b[c]);r=p[p.length-2],n=p[p.length-1]}else console.log(u);return l=p.length,l<6?(t.pop(),l=0):p[0]===p[l-2]&&p[1]===p[l-1]&&(p.closed=!0),t.totalPoints=a+l,t}function Cp(i){Zv(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"+_i(o[0])+","+_i(o[1])+" C",r=o.length,s=2;s<r;s++)e+=_i(o[s++])+","+_i(o[s++])+" "+_i(o[s++])+","+_i(o[s++])+" "+_i(o[s++])+","+_i(o[s])+" ";o.closed&&(e+="z")}return e}var Ct,Tp,Ap=function(){return Ct||typeof window<"u"&&(Ct=window.gsap)&&Ct.registerPlugin&&Ct},Sp=function(){Ct=Ap(),Ct?(Ct.registerEase("_CE",nn.create),Tp=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Jv=1e20,Ta=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},eD=1,tD=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,rD=/[cLlsSaAhHvVtTqQ]/g,iD=function(e){var t=e.length,r=Jv,n;for(n=1;n<t;n+=6)+e[n]<r&&(r=+e[n]);return r},nD=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])?iD(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},sD=function i(e,t,r,n,s,o,a,u,l,c,h){var d=(e+r)/2,f=(t+n)/2,_=(r+s)/2,p=(n+o)/2,g=(s+a)/2,m=(o+u)/2,v=(d+_)/2,D=(f+p)/2,b=(_+g)/2,E=(p+m)/2,C=(v+b)/2,x=(D+E)/2,w=a-e,A=u-t,S=Math.abs((r-a)*A-(n-u)*w),P=Math.abs((s-a)*A-(o-u)*w),F;return c||(c=[{x:e,y:t},{x:a,y:u}],h=1),c.splice(h||c.length-1,0,{x:C,y:x}),(S+P)*(S+P)>l*(w*w+A*A)&&(F=c.length,i(e,t,d,f,v,D,C,x,l,c,h),i(C,x,b,E,g,m,a,u,l,c,h+1+(c.length-F))),c},nn=function(){function i(t,r,n){Tp||Sp(),this.id=t,eD&&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(tD),o=1,a=[],u=[],l=n.precision||1,c=l<=1,h,d,f,_,p,g,m,v,D;if(this.data=r,(rD.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(s=wp(r)[0]),h=s.length,h===4)s.unshift(0,0),s.push(1,1),h=8;else if((h-2)%6)throw"Invalid CustomEase";for((+s[0]!=0||+s[h-2]!=1)&&nD(s,n.height,n.originY),this.segment=s,_=2;_<h;_+=6)d={x:+s[_-2],y:+s[_-1]},f={x:+s[_+4],y:+s[_+5]},a.push(d,f),sD(d.x,d.y,+s[_],+s[_+1],+s[_+2],+s[_+3],f.x,f.y,1/(l*2e5),a,a.length-1);for(h=a.length,_=0;_<h;_++)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,_===h-1&&(v.x-=.001,o=Math.min(o,.001),c=0)))):(a.splice(_--,1),h--);if(h=1/o+1|0,p=1/h,g=0,m=a[0],c){for(_=0;_<h;_++)D=_*p,m.nx<D&&(m=a[++g]),d=m.y+(D-m.x)/m.cx*m.cy,u[_]={x:D,cx:p,y:d,cy:0,nx:9},_&&(u[_-1].cy=d-u[_-1].y);u[h-1].cy=a[a.length-1].y-d}else{for(_=0;_<h;_++)m.nx<_*p&&(m=a[++g]),u[_]=m;g<a.length-1&&(u[_-1]=a[a.length-2])}return this.ease=function(b){var E=u[b*h|0]||u[h-1];return E.nx<b&&(E=E.n),E.y+(b-E.x)/E.cx*E.cy},this.ease.custom=this,this.id&&Ct&&Ct.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){Ct=r,Sp()},i.get=function(r){return Ct.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=Ct.utils.toArray(n.path)[0],c,h,d,f,_,p,g,m,v,D;if(n.invert&&(o=-o,u=0),typeof r=="string"&&(r=Ct.parseEase(r)),r.custom&&(r=r.custom),r instanceof i)c=Cp(Ep([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=Ta(a+f*s),D=Ta(u+r(f)*-o),h=(D-u)/(v-a),d=2;d<g;d++)_=Ta(a+d*f*s),p=Ta(u+r(d*f)*-o),(Math.abs((p-D)/(_-v)-h)>m||d===g-1)&&(c.push(v,D),h=(p-D)/(_-v)),v=_,D=p;c="M"+c.join(",")}return l&&l.setAttribute("d",c),c},i}();Ap()&&Ct.registerPlugin(nn);nn.version="3.12.2";var Fp=/([\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 Wn,dc,Mp,qs,kp,Aa,oD=/(?:\r|\n|\t\t)/g,aD=/(?:\s\s+)/g,Lp=function(e){Wn=document,dc=window,qs=qs||e||dc.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),qs&&(Aa=qs.utils.toArray,kp=qs.core.context||function(){},Mp=1)},uD=1,Rp=function(e){return dc.getComputedStyle(e)},hc=function(e){return e.position==="absolute"||e.absolute===!0},lD=function(e,t){for(var r=t.length,n;--r>-1;)if(n=t[r],e.substr(0,n.length)===n)return n.length},cD=" style='position:relative;display:inline-block;'",Pp=function(e,t){e===void 0&&(e="");var r=~e.indexOf("++"),n=1;return r&&(e=e.split("++").join("")),function(){return"<"+t+cD+(e?" class='"+e+(r?n++:"")+"'>":">")}},Np=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])},Op=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}},fD=function i(e){var t=Aa(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},dD=function(e,t,r,n,s,o,a){var u=Rp(e),l=br("paddingLeft",u),c=-999,h=br("borderBottomWidth",u)+br("borderTopWidth",u),d=br("borderLeftWidth",u)+br("borderRightWidth",u),f=br("paddingTop",u)+br("paddingBottom",u),_=br("paddingLeft",u)+br("paddingRight",u),p=br("fontSize",u)*(t.lineThreshold||.2),g=u.textAlign,m=[],v=[],D=[],b=t.wordDelimiter||" ",E=t.tag?t.tag:t.span?"span":"div",C=t.type||t.split||"chars,words,lines",x=s&&~C.indexOf("lines")?[]:null,w=~C.indexOf("words"),A=~C.indexOf("chars"),S=hc(t),P=t.linesClass,F=~(P||"").indexOf("++"),M=[],R=u.display==="flex",N=e.style.display,I,L,B,T,y,k,q,J,U,X,z,Y;for(F&&(P=P.split("++").join("")),R&&(e.style.display="block"),L=e.getElementsByTagName("*"),B=L.length,y=[],I=0;I<B;I++)y[I]=L[I];if(x||S)for(I=0;I<B;I++)T=y[I],k=T.parentNode===e,(k||S||A&&!w)&&(Y=T.offsetTop,x&&k&&Math.abs(Y-c)>p&&(T.nodeName!=="BR"||I===0)&&(q=[],x.push(q),c=Y),S&&(T._x=T.offsetLeft,T._y=Y,T._w=T.offsetWidth,T._h=T.offsetHeight),x&&((T._isSplit&&k||!A&&k||w&&k||!w&&T.parentNode.parentNode===e&&!T.parentNode._isSplit)&&(q.push(T),T._x-=l,Op(T,e,b)&&(T._wordEnd=!0)),T.nodeName==="BR"&&(T.nextSibling&&T.nextSibling.nodeName==="BR"||I===0)&&x.push([])));for(I=0;I<B;I++){if(T=y[I],k=T.parentNode===e,T.nodeName==="BR"){x||S?(T.parentNode&&T.parentNode.removeChild(T),y.splice(I--,1),B--):w||e.appendChild(T);continue}if(S&&(U=T.style,!w&&!k&&(T._x+=T.parentNode._x,T._y+=T.parentNode._y),U.left=T._x+"px",U.top=T._y+"px",U.position="absolute",U.display="block",U.width=T._w+1+"px",U.height=T._h+"px"),!w&&A)if(T._isSplit)for(T._next=L=T.nextSibling,T.parentNode.appendChild(T);L&&L.nodeType===3&&L.textContent===" ";)T._next=L.nextSibling,T.parentNode.appendChild(L),L=L.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&&M.push(T.nextSibling),T._next=T.nextSibling&&T.nextSibling._isFirst?null:T.nextSibling,T.parentNode.removeChild(T),y.splice(I--,1),B--):k||(Y=!T.nextSibling&&Op(T.parentNode,e,b),T.parentNode._parent&&T.parentNode._parent.appendChild(T),Y&&T.parentNode.appendChild(Wn.createTextNode(" ")),E==="span"&&(T.style.display="inline"),m.push(T));else T.parentNode._isSplit&&!T._isSplit&&T.innerHTML!==""?v.push(T):A&&!T._isSplit&&(E==="span"&&(T.style.display="inline"),m.push(T))}for(I=M.length;--I>-1;)M[I].parentNode.removeChild(M[I]);if(x){for(S&&(X=Wn.createElement(E),e.appendChild(X),z=X.offsetWidth+"px",Y=X.offsetParent===e?0:e.offsetLeft,e.removeChild(X)),U=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(J=b===" "&&(!S||!w&&!A),I=0;I<x.length;I++){for(q=x[I],X=Wn.createElement(E),X.style.cssText="display:block;text-align:"+g+";position:"+(S?"absolute;":"relative;"),P&&(X.className=P+(F?I+1:"")),D.push(X),B=q.length,L=0;L<B;L++)q[L].nodeName!=="BR"&&(T=q[L],X.appendChild(T),J&&T._wordEnd&&X.appendChild(Wn.createTextNode(" ")),S&&(L===0&&(X.style.top=T._y+"px",X.style.left=l+Y+"px"),T.style.top="0px",Y&&(T.style.left=T._x-Y+"px")));B===0?X.innerHTML=" ":!w&&!A&&(fD(X),Np(X,String.fromCharCode(160)," ")),S&&(X.style.width=z,X.style.height=T._h+"px"),e.appendChild(X)}e.style.cssText=U}S&&(a>e.clientHeight&&(e.style.height=a-f+"px",e.clientHeight<a&&(e.style.height=a+h+"px")),o>e.clientWidth&&(e.style.width=o-_+"px",e.clientWidth<o&&(e.style.width=o+d+"px"))),R&&(N?e.style.display=N:e.style.removeProperty("display")),fc(r,m),w&&fc(n,v),fc(s,D)},hD=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=l!==" "?"":u?"­ ":" ",h="</"+s+">",d=1,f=t.specialChars?typeof t.specialChars=="function"?t.specialChars:lD:null,_,p,g,m,v,D,b,E,C=Wn.createElement("div"),x=e.parentNode;for(x.insertBefore(C,e),C.textContent=e.nodeValue,x.removeChild(e),e=C,_=cc(e),b=_.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(_=_.replace(aD," ").replace(oD,"")),b&&(_=_.split("<").join("{{LT}}")),v=_.length,p=(_.charAt(0)===" "?c:"")+r(),g=0;g<v;g++)if(D=_.charAt(g),f&&(E=f(_.substr(g),t.specialChars)))D=_.substr(g,E||1),p+=a&&D!==" "?n()+D+"</"+s+">":D,g+=E-1;else if(D===l&&_.charAt(g-1)!==l&&g){for(p+=d?h:"",d=0;_.charAt(g+1)===l;)p+=c,g++;g===v-1?p+=c:_.charAt(g+1)!==")"&&(p+=c+r(),d=1)}else D==="{"&&_.substr(g,6)==="{{LT}}"?(p+=a?n()+"{{LT}}</"+s+">":"{{LT}}",g+=5):D.charCodeAt(0)>=55296&&D.charCodeAt(0)<=56319||_.charCodeAt(g+1)>=65024&&_.charCodeAt(g+1)<=65039?(m=((_.substr(g,12).split(Fp)||[])[1]||"").length||2,p+=a&&D!==" "?n()+_.substr(g,m)+"</"+s+">":_.substr(g,m),g+=m-1):p+=a&&D!==" "?n()+D+"</"+s+">":D;e.outerHTML=p+(d?h:""),b&&Np(x,"{{LT}}","<")},pD=function i(e,t,r,n){var s=Aa(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&&Rp(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}hD(e,t,r,n)},Er=function(){function i(t,r){Mp||Lp(),this.elements=Aa(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},kp(this),uD&&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=Pp(r.wordsClass,s),a=Pp(r.charsClass,s),u,l,c;--n>-1;)c=this.elements[n],this._originals[n]=c.innerHTML,u=c.clientHeight,l=c.clientWidth,pD(c,r,o,a),dD(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){return n.innerHTML=r[s]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},i.create=function(r,n){return new i(r,n)},i}();Er.version="3.12.2";Er.register=Lp;function Ip(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 _D(i,e,t){return e&&Ip(i.prototype,e),t&&Ip(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}var Bp="(prefers-reduced-motion: reduce)",qn=1,gD=2,Gn=3,$n=4,to=5,Pa=6,La=7,mD={CREATED:qn,MOUNTED:gD,IDLE:Gn,MOVING:$n,SCROLLING:to,DRAGGING:Pa,DESTROYED:La};function $r(i){i.length=0}function yi(i,e,t){return Array.prototype.slice.call(i,e,t)}function ge(i){return i.bind.apply(i,[null].concat(yi(arguments,1)))}var Qp=setTimeout,vc=function(){};function zp(i){return requestAnimationFrame(i)}function Ba(i,e){return typeof e===i}function Gs(i){return!Cc(i)&&Ba("object",i)}var wc=Array.isArray,Jp=ge(Ba,"function"),mi=ge(Ba,"string"),ro=ge(Ba,"undefined");function Cc(i){return i===null}function e_(i){try{return i instanceof(i.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function io(i){return wc(i)?i:[i]}function $t(i,e){io(i).forEach(e)}function Sc(i,e){return i.indexOf(e)>-1}function Oa(i,e){return i.push.apply(i,io(e)),i}function Xr(i,e,t){i&&$t(e,function(r){r&&i.classList[t?"add":"remove"](r)})}function wr(i,e){Xr(i,mi(e)?e.split(" "):e,!0)}function no(i,e){$t(e,i.appendChild.bind(i))}function Tc(i,e){$t(i,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function js(i,e){return e_(i)&&(i.msMatchesSelector||i.matches).call(i,e)}function t_(i,e){var t=i?yi(i.children):[];return e?t.filter(function(r){return js(r,e)}):t}function so(i,e){return e?t_(i,e)[0]:i.firstElementChild}var $s=Object.keys;function on(i,e,t){return i&&(t?$s(i).reverse():$s(i)).forEach(function(r){r!=="__proto__"&&e(i[r],r)}),i}function Ks(i){return yi(arguments,1).forEach(function(e){on(e,function(t,r){i[r]=e[r]})}),i}function gi(i){return yi(arguments,1).forEach(function(e){on(e,function(t,r){wc(t)?i[r]=t.slice():Gs(t)?i[r]=gi({},Gs(i[r])?i[r]:{},t):i[r]=t})}),i}function Vp(i,e){$t(e||$s(i),function(t){delete i[t]})}function Cr(i,e){$t(i,function(t){$t(e,function(r){t&&t.removeAttribute(r)})})}function ee(i,e,t){Gs(e)?on(e,function(r,n){ee(i,n,r)}):$t(i,function(r){Cc(t)||t===""?Cr(r,e):r.setAttribute(e,String(t))})}function Un(i,e,t){var r=document.createElement(i);return e&&(mi(e)?wr(r,e):ee(r,e)),t&&no(t,r),r}function ur(i,e,t){if(ro(t))return getComputedStyle(i)[e];Cc(t)||(i.style[e]=""+t)}function Zs(i,e){ur(i,"display",e)}function r_(i){i.setActive&&i.setActive()||i.focus({preventScroll:!0})}function lr(i,e){return i.getAttribute(e)}function Wp(i,e){return i&&i.classList.contains(e)}function Gt(i){return i.getBoundingClientRect()}function an(i){$t(i,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function i_(i){return so(new DOMParser().parseFromString(i,"text/html").body)}function Ur(i,e){i.preventDefault(),e&&(i.stopPropagation(),i.stopImmediatePropagation())}function n_(i,e){return i&&i.querySelector(e)}function Ac(i,e){return e?yi(i.querySelectorAll(e)):[]}function Gr(i,e){Xr(i,e,!1)}function Dc(i){return i.timeStamp}function sn(i){return mi(i)?i:i?i+"px":""}var oo="splide",Fc="data-"+oo;function Us(i,e){if(!i)throw new Error("["+oo+"] "+(e||""))}var vi=Math.min,Ra=Math.max,Na=Math.floor,Qs=Math.ceil,St=Math.abs;function s_(i,e,t){return St(i-e)<t}function Ma(i,e,t,r){var n=vi(e,t),s=Ra(e,t);return r?n<i&&i<s:n<=i&&i<=s}function Hn(i,e,t){var r=vi(e,t),n=Ra(e,t);return vi(Ra(r,i),n)}function yc(i){return+(i>0)-+(i<0)}function xc(i,e){return $t(e,function(t){i=i.replace("%s",""+t)}),i}function Pc(i){return i<10?"0"+i:""+i}var Hp={};function vD(i){return""+i+Pc(Hp[i]=(Hp[i]||0)+1)}function o_(){var i=[];function e(o,a,u,l){n(o,a,function(c,h,d){var f="addEventListener"in c,_=f?c.removeEventListener.bind(c,h,u,l):c.removeListener.bind(c,u);f?c.addEventListener(h,u,l):c.addListener(u),i.push([c,h,d,u,_])})}function t(o,a,u){n(o,a,function(l,c,h){i=i.filter(function(d){return d[0]===l&&d[1]===c&&d[2]===h&&(!u||d[3]===u)?(d[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){$t(o,function(l){l&&$t(a,function(c){c.split(" ").forEach(function(h){var d=h.split(".");u(l,d[0],d[1])})})})}function s(){i.forEach(function(o){o[4]()}),$r(i)}return{bind:e,unbind:t,dispatch:r,destroy:s}}var ln="mounted",Yp="ready",Di="move",ao="moved",a_="click",DD="active",yD="inactive",xD="visible",bD="hidden",He="refresh",Tt="updated",Js="resize",Oc="resized",ED="drag",wD="dragging",CD="dragged",Mc="scroll",Kn="scrolled",SD="overflow",u_="destroy",TD="arrows:mounted",AD="arrows:updated",FD="pagination:mounted",PD="pagination:updated",l_="navigation:mounted",c_="autoplay:play",OD="autoplay:playing",f_="autoplay:pause",d_="lazyload:loaded",h_="sk",p_="sh",Ia="ei";function we(i){var e=i?i.event.bus:document.createDocumentFragment(),t=o_();function r(s,o){t.bind(e,io(s).join(" "),function(a){o.apply(o,wc(a.detail)?a.detail:[])})}function n(s){t.dispatch(e,s,yi(arguments,1))}return i&&i.event.on(u_,t.destroy),Ks(t,{bus:e,on:r,off:ge(t.unbind,e),emit:n})}function za(i,e,t,r){var n=Date.now,s,o=0,a,u=!0,l=0;function c(){if(!u){if(o=i?vi((n()-s)/i,1):1,t&&t(o),o>=1&&(e(),s=n(),r&&++l>=r))return d();a=zp(c)}}function h(m){m||_(),s=n()-(m?o*i:0),u=!1,a=zp(c)}function d(){u=!0}function f(){s=n(),o=0,t&&t(o)}function _(){a&&cancelAnimationFrame(a),o=0,a=0,u=!0}function p(m){i=m}function g(){return u}return{start:h,rewind:f,pause:d,cancel:_,set:p,isPaused:g}}function MD(i){var e=i;function t(n){e=n}function r(n){return Sc(io(n),e)}return{set:t,is:r}}function kD(i,e){var t=za(e||0,i,null,1);return function(){t.isPaused()&&t.start()}}function LD(i,e,t){var r=i.state,n=t.breakpoints||{},s=t.reducedMotion||{},o=o_(),a=[];function u(){var _=t.mediaQuery==="min";$s(n).sort(function(p,g){return _?+p-+g:+g-+p}).forEach(function(p){c(n[p],"("+(_?"min":"max")+"-width:"+p+"px)")}),c(s,Bp),h()}function l(_){_&&o.destroy()}function c(_,p){var g=matchMedia(p);o.bind(g,"change",h),a.push([_,g])}function h(){var _=r.is(La),p=t.direction,g=a.reduce(function(m,v){return gi(m,v[1].matches?v[0]:{})},{});Vp(t),f(g),t.destroy?i.destroy(t.destroy==="completely"):_?(l(!0),i.mount()):p!==t.direction&&i.refresh()}function d(_){matchMedia(Bp).matches&&(_?gi(t,s):Vp(t,$s(s)))}function f(_,p,g){gi(t,_),p&&gi(Object.getPrototypeOf(t),_),(g||!r.is(qn))&&i.emit(Tt,t)}return{setup:u,destroy:l,reduce:d,set:f}}var Va="Arrow",Wa=Va+"Left",Ha=Va+"Right",__=Va+"Up",g_=Va+"Down";var qp="rtl",Ya="ttb",pc={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[__,Ha],ArrowRight:[g_,Wa]};function RD(i,e,t){function r(s,o,a){a=a||t.direction;var u=a===qp&&!o?1:a===Ya?0:-1;return pc[s]&&pc[s][u]||s.replace(/width|left|right/i,function(l,c){var h=pc[l.toLowerCase()][u]||l;return c>0?h.charAt(0).toUpperCase()+h.slice(1):h})}function n(s){return s*(t.direction===qp?1:-1)}return{resolve:r,orient:n}}var jr="role",Xn="tabindex",ND="disabled",cr="aria-",uo=cr+"controls",m_=cr+"current",Up=cr+"selected",jt=cr+"label",kc=cr+"labelledby",v_=cr+"hidden",Lc=cr+"orientation",eo=cr+"roledescription",Xp=cr+"live",Gp=cr+"busy",jp=cr+"atomic",Rc=[jr,Xn,ND,uo,m_,jt,kc,v_,Lc,eo],Sr=oo+"__",xi="is-",_c=oo,$p=Sr+"track",ID=Sr+"list",qa=Sr+"slide",D_=qa+"--clone",BD=qa+"__container",Nc=Sr+"arrows",Ua=Sr+"arrow",y_=Ua+"--prev",x_=Ua+"--next",Xa=Sr+"pagination",b_=Xa+"__page",zD=Sr+"progress",VD=zD+"__bar",Ic=Sr+"toggle",x1=Ic+"__play",b1=Ic+"__pause",WD=Sr+"spinner",HD=Sr+"sr",YD=xi+"initialized",un=xi+"active",E_=xi+"prev",w_=xi+"next",bc=xi+"visible",Ec=xi+"loading",C_=xi+"focus-in",S_=xi+"overflow",qD=[un,bc,E_,w_,Ec,C_,S_],UD={slide:qa,clone:D_,arrows:Nc,arrow:Ua,prev:y_,next:x_,pagination:Xa,page:b_,spinner:WD};function XD(i,e){if(Jp(i.closest))return i.closest(e);for(var t=i;t&&t.nodeType===1&&!js(t,e);)t=t.parentElement;return t}var GD=5,Kp=200,T_="touchstart mousedown",gc="touchmove mousemove",mc="touchend touchcancel mouseup click";function jD(i,e,t){var r=we(i),n=r.on,s=r.bind,o=i.root,a=t.i18n,u={},l=[],c=[],h=[],d,f,_;function p(){D(),b(),v()}function g(){n(He,m),n(He,p),n(Tt,v),s(document,T_+" keydown",function(x){_=x.type==="keydown"},{capture:!0}),s(o,"focusin",function(){Xr(o,C_,!!_)})}function m(x){var w=Rc.concat("style");$r(l),Gr(o,c),Gr(d,h),Cr([d,f],w),Cr(o,x?w:["style",eo])}function v(){Gr(o,c),Gr(d,h),c=C(_c),h=C($p),wr(o,c),wr(d,h),ee(o,jt,t.label),ee(o,kc,t.labelledby)}function D(){d=E("."+$p),f=so(d,"."+ID),Us(d&&f,"A track/list element is missing."),Oa(l,t_(f,"."+qa+":not(."+D_+")")),on({arrows:Nc,pagination:Xa,prev:y_,next:x_,bar:VD,toggle:Ic},function(x,w){u[w]=E("."+x)}),Ks(u,{root:o,track:d,list:f,slides:l})}function b(){var x=o.id||vD(oo),w=t.role;o.id=x,d.id=d.id||x+"-track",f.id=f.id||x+"-list",!lr(o,jr)&&o.tagName!=="SECTION"&&w&&ee(o,jr,w),ee(o,eo,a.carousel),ee(f,jr,"presentation")}function E(x){var w=n_(o,x);return w&&XD(w,"."+_c)===o?w:void 0}function C(x){return[x+"--"+t.type,x+"--"+t.direction,t.drag&&x+"--draggable",t.isNavigation&&x+"--nav",x===_c&&un]}return Ks(u,{setup:p,mount:g,destroy:m})}var jn="slide",Zn="loop",lo="fade";function $D(i,e,t,r){var n=we(i),s=n.on,o=n.emit,a=n.bind,u=i.Components,l=i.root,c=i.options,h=c.isNavigation,d=c.updateOnMove,f=c.i18n,_=c.pagination,p=c.slideFocus,g=u.Direction.resolve,m=lr(r,"style"),v=lr(r,jt),D=t>-1,b=so(r,"."+BD),E;function C(){D||(r.id=l.id+"-slide"+Pc(e+1),ee(r,jr,_?"tabpanel":"group"),ee(r,eo,f.slide),ee(r,jt,v||xc(f.slideLabel,[e+1,i.length]))),x()}function x(){a(r,"click",ge(o,a_,B)),a(r,"keydown",ge(o,h_,B)),s([ao,p_,Kn],P),s(l_,A),d&&s(Di,S)}function w(){E=!0,n.destroy(),Gr(r,qD),Cr(r,Rc),ee(r,"style",m),ee(r,jt,v||"")}function A(){var T=i.splides.map(function(y){var k=y.splide.Components.Slides.getAt(e);return k?k.slide.id:""}).join(" ");ee(r,jt,xc(f.slideX,(D?t:e)+1)),ee(r,uo,T),ee(r,jr,p?"button":""),p&&Cr(r,eo)}function S(){E||P()}function P(){if(!E){var T=i.index;F(),M(),Xr(r,E_,e===T-1),Xr(r,w_,e===T+1)}}function F(){var T=N();T!==Wp(r,un)&&(Xr(r,un,T),ee(r,m_,h&&T||""),o(T?DD:yD,B))}function M(){var T=I(),y=!T&&(!N()||D);if(i.state.is([$n,to])||ee(r,v_,y||""),ee(Ac(r,c.focusableNodes||""),Xn,y?-1:""),p&&ee(r,Xn,y?-1:0),T!==Wp(r,bc)&&(Xr(r,bc,T),o(T?xD:bD,B)),!T&&document.activeElement===r){var k=u.Slides.getAt(i.index);k&&r_(k.slide)}}function R(T,y,k){ur(k&&b||r,T,y)}function N(){var T=i.index;return T===e||c.cloneStatus&&T===t}function I(){if(i.is(lo))return N();var T=Gt(u.Elements.track),y=Gt(r),k=g("left",!0),q=g("right",!0);return Na(T[k])<=Qs(y[k])&&Na(y[q])<=Qs(T[q])}function L(T,y){var k=St(T-e);return!D&&(c.rewind||i.is(Zn))&&(k=vi(k,i.length-k)),k<=y}var B={index:e,slideIndex:t,slide:r,container:b,isClone:D,mount:C,destroy:w,update:P,style:R,isWithin:L};return B}function KD(i,e,t){var r=we(i),n=r.on,s=r.emit,o=r.bind,a=e.Elements,u=a.slides,l=a.list,c=[];function h(){d(),n(He,f),n(He,d)}function d(){u.forEach(function(P,F){p(P,F,-1)})}function f(){E(function(P){P.destroy()}),$r(c)}function _(){E(function(P){P.update()})}function p(P,F,M){var R=$D(i,F,M,P);R.mount(),c.push(R),c.sort(function(N,I){return N.index-I.index})}function g(P){return P?C(function(F){return!F.isClone}):c}function m(P){var F=e.Controller,M=F.toIndex(P),R=F.hasFocus()?1:t.perPage;return C(function(N){return Ma(N.index,M,M+R-1)})}function v(P){return C(P)[0]}function D(P,F){$t(P,function(M){if(mi(M)&&(M=i_(M)),e_(M)){var R=u[F];R?Tc(M,R):no(l,M),wr(M,t.classes.slide),w(M,ge(s,Js))}}),s(He)}function b(P){an(C(P).map(function(F){return F.slide})),s(He)}function E(P,F){g(F).forEach(P)}function C(P){return c.filter(Jp(P)?P:function(F){return mi(P)?js(F.slide,P):Sc(io(P),F.index)})}function x(P,F,M){E(function(R){R.style(P,F,M)})}function w(P,F){var M=Ac(P,"img"),R=M.length;R?M.forEach(function(N){o(N,"load error",function(){--R||F()})}):F()}function A(P){return P?u.length:c.length}function S(){return c.length>t.perPage}return{mount:h,destroy:f,update:_,register:p,get:g,getIn:m,getAt:v,add:D,remove:b,forEach:E,filter:C,style:x,getLength:A,isEnough:S}}function ZD(i,e,t){var r=we(i),n=r.on,s=r.bind,o=r.emit,a=e.Slides,u=e.Direction.resolve,l=e.Elements,c=l.root,h=l.track,d=l.list,f=a.getAt,_=a.style,p,g,m;function v(){D(),s(window,"resize load",kD(ge(o,Js))),n([Tt,He],D),n(Js,b)}function D(){p=t.direction===Ya,ur(c,"maxWidth",sn(t.width)),ur(h,u("paddingLeft"),E(!1)),ur(h,u("paddingRight"),E(!0)),b(!0)}function b(B){var T=Gt(c);(B||g.width!==T.width||g.height!==T.height)&&(ur(h,"height",C()),_(u("marginRight"),sn(t.gap)),_("width",w()),_("height",A(),!0),g=T,o(Oc),m!==(m=L())&&(Xr(c,S_,m),o(SD,m)))}function E(B){var T=t.padding,y=u(B?"right":"left");return T&&sn(T[y]||(Gs(T)?0:T))||"0px"}function C(){var B="";return p&&(B=x(),Us(B,"height or heightRatio is missing."),B="calc("+B+" - "+E(!1)+" - "+E(!0)+")"),B}function x(){return sn(t.height||Gt(d).width*t.heightRatio)}function w(){return t.autoWidth?null:sn(t.fixedWidth)||(p?"":S())}function A(){return sn(t.fixedHeight)||(p?t.autoHeight?null:S():x())}function S(){var B=sn(t.gap);return"calc((100%"+(B&&" + "+B)+")/"+(t.perPage||1)+(B&&" - "+B)+")"}function P(){return Gt(d)[u("width")]}function F(B,T){var y=f(B||0);return y?Gt(y.slide)[u("width")]+(T?0:N()):0}function M(B,T){var y=f(B);if(y){var k=Gt(y.slide)[u("right")],q=Gt(d)[u("left")];return St(k-q)+(T?0:N())}return 0}function R(B){return M(i.length-1)-M(0)+F(0,B)}function N(){var B=f(0);return B&&parseFloat(ur(B.slide,u("marginRight")))||0}function I(B){return parseFloat(ur(h,u("padding"+(B?"Right":"Left"))))||0}function L(){return i.is(lo)||R(!0)>P()}return{mount:v,resize:b,listSize:P,slideSize:F,sliderSize:R,totalSize:M,getPadding:I,isOverflow:L}}var QD=2;function JD(i,e,t){var r=we(i),n=r.on,s=e.Elements,o=e.Slides,a=e.Direction.resolve,u=[],l;function c(){n(He,h),n([Tt,Js],f),(l=g())&&(_(l),e.Layout.resize(!0))}function h(){d(),c()}function d(){an(u),$r(u),r.destroy()}function f(){var m=g();l!==m&&(l<m||!m)&&r.emit(He)}function _(m){var v=o.get().slice(),D=v.length;if(D){for(;v.length<m;)Oa(v,v);Oa(v.slice(-m),v.slice(0,m)).forEach(function(b,E){var C=E<m,x=p(b.slide,E);C?Tc(x,v[0].slide):no(s.list,x),Oa(u,x),o.register(x,E-m+(C?0:D),b.index)})}}function p(m,v){var D=m.cloneNode(!0);return wr(D,t.classes.clone),D.id=i.root.id+"-clone"+Pc(v+1),D}function g(){var m=t.clones;if(!i.is(Zn))m=0;else if(ro(m)){var v=t[a("fixedWidth")]&&e.Layout.slideSize(0),D=v&&Qs(Gt(s.track)[a("width")]/v);m=D||t[a("autoWidth")]&&i.length||t.perPage*QD}return m}return{mount:c,destroy:d}}function ey(i,e,t){var r=we(i),n=r.on,s=r.emit,o=i.state.set,a=e.Layout,u=a.slideSize,l=a.getPadding,c=a.totalSize,h=a.listSize,d=a.sliderSize,f=e.Direction,_=f.resolve,p=f.orient,g=e.Elements,m=g.list,v=g.track,D;function b(){D=e.Transition,n([ln,Oc,Tt,He],E)}function E(){e.Controller.isBusy()||(e.Scroll.cancel(),x(i.index),e.Slides.update())}function C(y,k,q,J){y!==k&&B(y>q)&&(P(),w(S(R(),y>q),!0)),o($n),s(Di,k,q,y),D.start(k,function(){o(Gn),s(ao,k,q,y),J&&J()})}function x(y){w(M(y,!0))}function w(y,k){if(!i.is(lo)){var q=k?y:A(y);ur(m,"transform","translate"+_("X")+"("+q+"px)"),y!==q&&s(p_)}}function A(y){if(i.is(Zn)){var k=F(y),q=k>e.Controller.getEnd(),J=k<0;(J||q)&&(y=S(y,q))}return y}function S(y,k){var q=y-L(k),J=d();return y-=p(J*(Qs(St(q)/J)||1))*(k?1:-1),y}function P(){w(R(),!0),D.cancel()}function F(y){for(var k=e.Slides.get(),q=0,J=1/0,U=0;U<k.length;U++){var X=k[U].index,z=St(M(X,!0)-y);if(z<=J)J=z,q=X;else break}return q}function M(y,k){var q=p(c(y-1)-I(y));return k?N(q):q}function R(){var y=_("left");return Gt(m)[y]-Gt(v)[y]+p(l(!1))}function N(y){return t.trimSpace&&i.is(jn)&&(y=Hn(y,0,p(d(!0)-h()))),y}function I(y){var k=t.focus;return k==="center"?(h()-u(y,!0))/2:+k*u(y)||0}function L(y){return M(y?e.Controller.getEnd():0,!!t.trimSpace)}function B(y){var k=p(S(R(),y));return y?k>=0:k<=m[_("scrollWidth")]-Gt(v)[_("width")]}function T(y,k){k=ro(k)?R():k;var q=y!==!0&&p(k)<p(L(!1)),J=y!==!1&&p(k)>p(L(!0));return q||J}return{mount:b,move:C,jump:x,translate:w,shift:S,cancel:P,toIndex:F,toPosition:M,getPosition:R,getLimit:L,exceededLimit:T,reposition:E}}function ty(i,e,t){var r=we(i),n=r.on,s=r.emit,o=e.Move,a=o.getPosition,u=o.getLimit,l=o.toPosition,c=e.Slides,h=c.isEnough,d=c.getLength,f=t.omitEnd,_=i.is(Zn),p=i.is(jn),g=ge(R,!1),m=ge(R,!0),v=t.start||0,D,b=v,E,C,x;function w(){A(),n([Tt,He,Ia],A),n(Oc,S)}function A(){E=d(!0),C=t.perMove,x=t.perPage,D=B();var z=Hn(v,0,f?D:E-1);z!==v&&(v=z,o.reposition())}function S(){D!==B()&&s(Ia)}function P(z,Y,fe){if(!X()){var te=M(z),re=L(te);re>-1&&(Y||re!==v)&&(q(re),o.move(te,re,b,fe))}}function F(z,Y,fe,te){e.Scroll.scroll(z,Y,fe,function(){var re=L(o.toIndex(a()));q(f?vi(re,D):re),te&&te()})}function M(z){var Y=v;if(mi(z)){var fe=z.match(/([+\-<>])(\d+)?/)||[],te=fe[1],re=fe[2];te==="+"||te==="-"?Y=N(v+ +(""+te+(+re||1)),v):te===">"?Y=re?T(+re):g(!0):te==="<"&&(Y=m(!0))}else Y=_?z:Hn(z,0,D);return Y}function R(z,Y){var fe=C||(U()?1:x),te=N(v+fe*(z?-1:1),v,!(C||U()));return te===-1&&p&&!s_(a(),u(!z),1)?z?0:D:Y?te:L(te)}function N(z,Y,fe){if(h()||U()){var te=I(z);te!==z&&(Y=z,z=te,fe=!1),z<0||z>D?!C&&(Ma(0,z,Y,!0)||Ma(D,Y,z,!0))?z=T(y(z)):_?z=fe?z<0?-(E%x||x):E:z:t.rewind?z=z<0?D:0:z=-1:fe&&z!==Y&&(z=T(y(Y)+(z<Y?-1:1)))}else z=-1;return z}function I(z){if(p&&t.trimSpace==="move"&&z!==v)for(var Y=a();Y===l(z,!0)&&Ma(z,0,i.length-1,!t.rewind);)z<v?--z:++z;return z}function L(z){return _?(z+E)%E||0:z}function B(){for(var z=E-(U()||_&&C?1:x);f&&z-- >0;)if(l(E-1,!0)!==l(z,!0)){z++;break}return Hn(z,0,E-1)}function T(z){return Hn(U()?z:x*z,0,D)}function y(z){return U()?vi(z,D):Na((z>=D?E-1:z)/x)}function k(z){var Y=o.toIndex(z);return p?Hn(Y,0,D):Y}function q(z){z!==v&&(b=v,v=z)}function J(z){return z?b:v}function U(){return!ro(t.focus)||t.isNavigation}function X(){return i.state.is([$n,to])&&!!t.waitForTransition}return{mount:w,go:P,scroll:F,getNext:g,getPrev:m,getAdjacent:R,getEnd:B,setIndex:q,getIndex:J,toIndex:T,toPage:y,toDest:k,hasFocus:U,isBusy:X}}var ry="http://www.w3.org/2000/svg",iy="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",Fa=40;function ny(i,e,t){var r=we(i),n=r.on,s=r.bind,o=r.emit,a=t.classes,u=t.i18n,l=e.Elements,c=e.Controller,h=l.arrows,d=l.track,f=h,_=l.prev,p=l.next,g,m,v={};function D(){E(),n(Tt,b)}function b(){C(),D()}function E(){var F=t.arrows;F&&!(_&&p)&&A(),_&&p&&(Ks(v,{prev:_,next:p}),Zs(f,F?"":"none"),wr(f,m=Nc+"--"+t.direction),F&&(x(),P(),ee([_,p],uo,d.id),o(TD,_,p)))}function C(){r.destroy(),Gr(f,m),g?(an(h?[_,p]:f),_=p=null):Cr([_,p],Rc)}function x(){n([ln,ao,He,Kn,Ia],P),s(p,"click",ge(w,">")),s(_,"click",ge(w,"<"))}function w(F){c.go(F,!0)}function A(){f=h||Un("div",a.arrows),_=S(!0),p=S(!1),g=!0,no(f,[_,p]),!h&&Tc(f,d)}function S(F){var M='<button class="'+a.arrow+" "+(F?a.prev:a.next)+'" type="button"><svg xmlns="'+ry+'" viewBox="0 0 '+Fa+" "+Fa+'" width="'+Fa+'" height="'+Fa+'" focusable="false"><path d="'+(t.arrowPath||iy)+'" />';return i_(M)}function P(){if(_&&p){var F=i.index,M=c.getPrev(),R=c.getNext(),N=M>-1&&F<M?u.last:u.prev,I=R>-1&&F>R?u.first:u.next;_.disabled=M<0,p.disabled=R<0,ee(_,jt,N),ee(p,jt,I),o(AD,_,p,M,R)}}return{arrows:v,mount:D,destroy:C,update:P}}var sy=Fc+"-interval";function oy(i,e,t){var r=we(i),n=r.on,s=r.bind,o=r.emit,a=za(t.interval,i.go.bind(i,">"),x),u=a.isPaused,l=e.Elements,c=e.Elements,h=c.root,d=c.toggle,f=t.autoplay,_,p,g=f==="pause";function m(){f&&(v(),d&&ee(d,uo,l.track.id),g||D(),C())}function v(){t.pauseOnHover&&s(h,"mouseenter mouseleave",function(A){_=A.type==="mouseenter",E()}),t.pauseOnFocus&&s(h,"focusin focusout",function(A){p=A.type==="focusin",E()}),d&&s(d,"click",function(){g?D():b(!0)}),n([Di,Mc,He],a.rewind),n(Di,w)}function D(){u()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),p=_=g=!1,C(),o(c_))}function b(A){A===void 0&&(A=!0),g=!!A,C(),u()||(a.pause(),o(f_))}function E(){g||(_||p?b(!1):D())}function C(){d&&(Xr(d,un,!g),ee(d,jt,t.i18n[g?"play":"pause"]))}function x(A){var S=l.bar;S&&ur(S,"width",A*100+"%"),o(OD,A)}function w(A){var S=e.Slides.getAt(A);a.set(S&&+lr(S.slide,sy)||t.interval)}return{mount:m,destroy:a.cancel,play:D,pause:b,isPaused:u}}function ay(i,e,t){var r=we(i),n=r.on;function s(){t.cover&&(n(d_,ge(a,!0)),n([ln,Tt,He],ge(o,!0)))}function o(u){e.Slides.forEach(function(l){var c=so(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),Zs(l,u?"none":"")}return{mount:s,destroy:ge(o,!1)}}var uy=10,ly=600,cy=.6,fy=1.5,dy=800;function hy(i,e,t){var r=we(i),n=r.on,s=r.emit,o=i.state.set,a=e.Move,u=a.getPosition,l=a.getLimit,c=a.exceededLimit,h=a.translate,d=i.is(jn),f,_,p=1;function g(){n(Di,b),n([Tt,He],E)}function m(x,w,A,S,P){var F=u();if(b(),A&&(!d||!c())){var M=e.Layout.sliderSize(),R=yc(x)*M*Na(St(x)/M)||0;x=a.toPosition(e.Controller.toDest(x%M))+R}var N=s_(F,x,1);p=1,w=N?0:w||Ra(St(x-F)/fy,dy),_=S,f=za(w,v,ge(D,F,x,P),1),o(to),s(Mc),f.start()}function v(){o(Gn),_&&_(),s(Kn)}function D(x,w,A,S){var P=u(),F=x+(w-x)*C(S),M=(F-P)*p;h(P+M),d&&!A&&c()&&(p*=cy,St(M)<uy&&m(l(c(!0)),ly,!1,_,!0))}function b(){f&&f.cancel()}function E(){f&&!f.isPaused()&&(b(),v())}function C(x){var w=t.easingFunc;return w?w(x):1-Math.pow(1-x,4)}return{mount:g,destroy:b,scroll:m,cancel:E}}var Yn={passive:!1,capture:!0};function py(i,e,t){var r=we(i),n=r.on,s=r.emit,o=r.bind,a=r.unbind,u=i.state,l=e.Move,c=e.Scroll,h=e.Controller,d=e.Elements.track,f=e.Media.reduce,_=e.Direction,p=_.resolve,g=_.orient,m=l.getPosition,v=l.exceededLimit,D,b,E,C,x,w=!1,A,S,P;function F(){o(d,gc,vc,Yn),o(d,mc,vc,Yn),o(d,T_,R,Yn),o(d,"click",L,{capture:!0}),o(d,"dragstart",Ur),n([ln,Tt],M)}function M(){var V=t.drag;Ft(!V),C=V==="free"}function R(V){if(A=!1,!S){var $=re(V);te(V.target)&&($||!V.button)&&(h.isBusy()?Ur(V,!0):(P=$?d:window,x=u.is([$n,to]),E=null,o(P,gc,N,Yn),o(P,mc,I,Yn),l.cancel(),c.cancel(),B(V)))}}function N(V){if(u.is(Pa)||(u.set(Pa),s(ED)),V.cancelable)if(x){l.translate(D+fe(U(V)));var $=X(V)>Kp,Ce=w!==(w=v());($||Ce)&&B(V),A=!0,s(wD),Ur(V)}else k(V)&&(x=y(V),Ur(V))}function I(V){u.is(Pa)&&(u.set(Gn),s(CD)),x&&(T(V),Ur(V)),a(P,gc,N),a(P,mc,I),x=!1}function L(V){!S&&A&&Ur(V,!0)}function B(V){E=b,b=V,D=m()}function T(V){var $=q(V),Ce=J($),Be=t.rewind&&t.rewindByDrag;f(!1),C?h.scroll(Ce,0,t.snap):i.is(lo)?h.go(g(yc($))<0?Be?"<":"-":Be?">":"+"):i.is(jn)&&w&&Be?h.go(v(!0)?">":"<"):h.go(h.toDest(Ce),!0),f(!0)}function y(V){var $=t.dragMinThreshold,Ce=Gs($),Be=Ce&&$.mouse||0,O=(Ce?$.touch:+$)||10;return St(U(V))>(re(V)?O:Be)}function k(V){return St(U(V))>St(U(V,!0))}function q(V){if(i.is(Zn)||!w){var $=X(V);if($&&$<Kp)return U(V)/$}return 0}function J(V){return m()+yc(V)*vi(St(V)*(t.flickPower||600),C?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function U(V,$){return Y(V,$)-Y(z(V),$)}function X(V){return Dc(V)-Dc(z(V))}function z(V){return b===V&&E||b}function Y(V,$){return(re(V)?V.changedTouches[0]:V)["page"+p($?"Y":"X")]}function fe(V){return V/(w&&i.is(jn)?GD:1)}function te(V){var $=t.noDrag;return!js(V,"."+b_+", ."+Ua)&&(!$||!js(V,$))}function re(V){return typeof TouchEvent<"u"&&V instanceof TouchEvent}function Je(){return x}function Ft(V){S=V}return{mount:F,disable:Ft,isDragging:Je}}var _y={Spacebar:" ",Right:Ha,Left:Wa,Up:__,Down:g_};function Bc(i){return i=mi(i)?i:i.key,_y[i]||i}var Zp="keydown";function gy(i,e,t){var r=we(i),n=r.on,s=r.bind,o=r.unbind,a=i.root,u=e.Direction.resolve,l,c;function h(){d(),n(Tt,f),n(Tt,d),n(Di,p)}function d(){var m=t.keyboard;m&&(l=m==="global"?window:a,s(l,Zp,g))}function f(){o(l,Zp)}function _(m){c=m}function p(){var m=c;c=!0,Qp(function(){c=m})}function g(m){if(!c){var v=Bc(m);v===u(Wa)?i.go("<"):v===u(Ha)&&i.go(">")}}return{mount:h,destroy:f,disable:_}}var Xs=Fc+"-lazy",ka=Xs+"-srcset",my="["+Xs+"], ["+ka+"]";function vy(i,e,t){var r=we(i),n=r.on,s=r.off,o=r.bind,a=r.emit,u=t.lazyLoad==="sequential",l=[ao,Kn],c=[];function h(){t.lazyLoad&&(d(),n(He,d))}function d(){$r(c),f(),u?m():(s(l),n(l,_),_())}function f(){e.Slides.forEach(function(v){Ac(v.slide,my).forEach(function(D){var b=lr(D,Xs),E=lr(D,ka);if(b!==D.src||E!==D.srcset){var C=t.classes.spinner,x=D.parentElement,w=so(x,"."+C)||Un("span",C,x);c.push([D,v,w]),D.src||Zs(D,"none")}})})}function _(){c=c.filter(function(v){var D=t.perPage*((t.preloadPages||1)+1)-1;return v[1].isWithin(i.index,D)?p(v):!0}),c.length||s(l)}function p(v){var D=v[0];wr(v[1].slide,Ec),o(D,"load error",ge(g,v)),ee(D,"src",lr(D,Xs)),ee(D,"srcset",lr(D,ka)),Cr(D,Xs),Cr(D,ka)}function g(v,D){var b=v[0],E=v[1];Gr(E.slide,Ec),D.type!=="error"&&(an(v[2]),Zs(b,""),a(d_,b,E),a(Js)),u&&m()}function m(){c.length&&p(c.shift())}return{mount:h,destroy:ge($r,c),check:_}}function Dy(i,e,t){var r=we(i),n=r.on,s=r.emit,o=r.bind,a=e.Slides,u=e.Elements,l=e.Controller,c=l.hasFocus,h=l.getIndex,d=l.go,f=e.Direction.resolve,_=u.pagination,p=[],g,m;function v(){D(),n([Tt,He,Ia],v);var S=t.pagination;_&&Zs(_,S?"":"none"),S&&(n([Di,Mc,Kn],A),b(),A(),s(FD,{list:g,items:p},w(i.index)))}function D(){g&&(an(_?yi(g.children):g),Gr(g,m),$r(p),g=null),r.destroy()}function b(){var S=i.length,P=t.classes,F=t.i18n,M=t.perPage,R=c()?l.getEnd()+1:Qs(S/M);g=_||Un("ul",P.pagination,u.track.parentElement),wr(g,m=Xa+"--"+x()),ee(g,jr,"tablist"),ee(g,jt,F.select),ee(g,Lc,x()===Ya?"vertical":"");for(var N=0;N<R;N++){var I=Un("li",null,g),L=Un("button",{class:P.page,type:"button"},I),B=a.getIn(N).map(function(y){return y.slide.id}),T=!c()&&M>1?F.pageX:F.slideX;o(L,"click",ge(E,N)),t.paginationKeyboard&&o(L,"keydown",ge(C,N)),ee(I,jr,"presentation"),ee(L,jr,"tab"),ee(L,uo,B.join(" ")),ee(L,jt,xc(T,N+1)),ee(L,Xn,-1),p.push({li:I,button:L,page:N})}}function E(S){d(">"+S,!0)}function C(S,P){var F=p.length,M=Bc(P),R=x(),N=-1;M===f(Ha,!1,R)?N=++S%F:M===f(Wa,!1,R)?N=(--S+F)%F:M==="Home"?N=0:M==="End"&&(N=F-1);var I=p[N];I&&(r_(I.button),d(">"+N),Ur(P,!0))}function x(){return t.paginationDirection||t.direction}function w(S){return p[l.toPage(S)]}function A(){var S=w(h(!0)),P=w(h());if(S){var F=S.button;Gr(F,un),Cr(F,Up),ee(F,Xn,-1)}if(P){var M=P.button;wr(M,un),ee(M,Up,!0),ee(M,Xn,"")}s(PD,{list:g,items:p},S,P)}return{items:p,mount:v,destroy:D,getAt:w,update:A}}var yy=[" ","Enter"];function xy(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(_,p){var g=we(_);g.on(Di,function(m,v,D){p.go(p.is(Zn)?D:m)}),s.push(g)}function c(){var _=we(i),p=_.on;p(a_,d),p(h_,f),p([ln,Tt],h),s.push(_),_.emit(l_,i.splides)}function h(){ee(e.Elements.list,Lc,t.direction===Ya?"vertical":"")}function d(_){i.go(_.index)}function f(_,p){Sc(yy,Bc(p))&&(d(_),Ur(p))}return{setup:ge(e.Media.set,{slideFocus:ro(n)?r:n},!0),mount:o,destroy:a,remount:u}}function by(i,e,t){var r=we(i),n=r.bind,s=0;function o(){t.wheel&&n(e.Elements.track,"wheel",a,Yn)}function a(l){if(l.cancelable){var c=l.deltaY,h=c<0,d=Dc(l),f=t.wheelMinThreshold||0,_=t.wheelSleep||0;St(c)>f&&d-s>_&&(i.go(h?"<":">"),s=d),u(h)&&Ur(l)}}function u(l){return!t.releaseWheel||i.state.is($n)||e.Controller.getAdjacent(l)!==-1}return{mount:o}}var Ey=90;function wy(i,e,t){var r=we(i),n=r.on,s=e.Elements.track,o=t.live&&!t.isNavigation,a=Un("span",HD),u=za(Ey,ge(c,!1));function l(){o&&(d(!e.Autoplay.isPaused()),ee(s,jp,!0),a.textContent="\u2026",n(c_,ge(d,!0)),n(f_,ge(d,!1)),n([ao,Kn],ge(c,!0)))}function c(f){ee(s,Gp,f),f?(no(s,a),u.start()):(an(a),u.cancel())}function h(){Cr(s,[Xp,jp,Gp]),an(a)}function d(f){o&&ee(s,Xp,f?"off":"polite")}return{mount:l,disable:d,destroy:h}}var Cy=Object.freeze({__proto__:null,Media:LD,Direction:RD,Elements:jD,Slides:KD,Layout:ZD,Clones:JD,Move:ey,Controller:ty,Arrows:ny,Autoplay:oy,Cover:ay,Scroll:hy,Drag:py,Keyboard:gy,LazyLoad:vy,Pagination:Dy,Sync:xy,Wheel:by,Live:wy}),Sy={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"},Ty={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:UD,i18n:Sy,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Ay(i,e,t){var r=e.Slides;function n(){we(i).on([ln,He],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),Qp(u)}return{mount:n,start:o,cancel:vc}}function Fy(i,e,t){var r=e.Move,n=e.Controller,s=e.Scroll,o=e.Elements.list,a=ge(ur,o,"transition"),u;function l(){we(i).bind(o,"transitionend",function(f){f.target===o&&u&&(h(),u())})}function c(f,_){var p=r.toPosition(f,!0),g=r.getPosition(),m=d(f);St(p-g)>=1&&m>=1?t.useScroll?s.scroll(p,m,!1,_):(a("transform "+m+"ms "+t.easing),r.translate(p,!0),u=_):(r.jump(f),_())}function h(){a(""),s.cancel()}function d(f){var _=t.rewindSpeed;if(i.is(jn)&&_){var p=n.getIndex(!0),g=n.getEnd();if(p===0&&f>=g||p>=g&&f===0)return _}return t.speed}return{mount:l,start:c,cancel:h}}var Py=function(){function i(t,r){this.event=we(),this.Components={},this.state=MD(qn),this.splides=[],this._o={},this._E={};var n=mi(t)?n_(document,t):t;Us(n,n+" is invalid."),this.root=n,r=gi({label:lr(n,jt)||"",labelledby:lr(n,kc)||""},Ty,i.defaults,r||{});try{gi(r,JSON.parse(lr(n,Fc)))}catch{Us(!1,"Invalid JSON")}this._o=Object.create(gi({},r))}var e=i.prototype;return e.mount=function(r,n){var s=this,o=this.state,a=this.Components;Us(o.is([qn,La]),"Already mounted!"),o.set(qn),this._C=a,this._T=n||this._T||(this.is(lo)?Ay:Fy),this._E=r||this._E;var u=Ks({},Cy,this._E,{Transition:this._T});return on(u,function(l,c){var h=l(s,a,s._o);a[c]=h,h.setup&&h.setup()}),on(a,function(l){l.mount&&l.mount()}),this.emit(ln),wr(this.root,YD),o.set(Gn),this.emit(Yp),this},e.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(Gn)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},e.go=function(r){return this._C.Controller.go(r),this},e.on=function(r,n){return this.event.on(r,n),this},e.off=function(r){return this.event.off(r),this},e.emit=function(r){var n;return(n=this.event).emit.apply(n,[r].concat(yi(arguments,1))),this},e.add=function(r,n){return this._C.Slides.add(r,n),this},e.remove=function(r){return this._C.Slides.remove(r),this},e.is=function(r){return this._o.type===r},e.refresh=function(){return this.emit(He),this},e.destroy=function(r){r===void 0&&(r=!0);var n=this.event,s=this.state;return s.is(qn)?we(this).on(Yp,this.destroy.bind(this,r)):(on(this._C,function(o){o.destroy&&o.destroy(r)},!0),n.emit(u_),n.destroy(),r&&$r(this.splides),s.set(La)),this},_D(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}(),cn=Py;cn.defaults={};cn.STATES=mD;var Tr,Wc,Oy,Ka,L_,R_,A_,Vc,N_,I_=function(){return typeof window<"u"},B_=function(){return Tr||I_()&&(Tr=window.gsap)&&Tr.registerPlugin&&Tr},My=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,zc={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},fn=function(e){return Math.round(e*1e4)/1e4},Kr=function(e){return parseFloat(e)||0},F_=function(e,t){var r=Kr(e);return~e.indexOf("%")?r/100*t:r},Ga=function(e,t){return Kr(e.getAttribute(t))},ja=Math.sqrt,P_=function(e,t,r,n,s,o){return ja(Math.pow((Kr(r)-Kr(e))*s,2)+Math.pow((Kr(n)-Kr(t))*o,2))},O_=function(e){return console.warn(e)},z_=function(e){return e.getAttribute("vector-effect")==="non-scaling-stroke"},ky=1,Ly=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=F_(s,t),o=F_(o,t),s>o?[o,s]:[s,o]},$a=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,h,d;z_(e)&&(s=e.getScreenCTM(),n=ja(s.a*s.a+s.b*s.b),s=ja(s.d*s.d+s.c*s.c));try{a=e.getBBox()}catch{O_("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,p=f.y,g=f.width,m=f.height;if((!a||!g&&!m)&&zc[t]&&(g=Ga(e,zc[t][0]),m=Ga(e,zc[t][1]),t!=="rect"&&t!=="line"&&(g*=2,m*=2),t==="line"&&(_=Ga(e,"x1"),p=Ga(e,"y1"),g=Math.abs(g-_),m=Math.abs(m-p))),t==="path")l=r.strokeDasharray,r.strokeDasharray="none",o=e.getTotalLength()||0,fn(n)!==fn(s)&&!A_&&(A_=1)&&O_("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=P_(_,p,_+g,p+m,n,s);else if(t==="polyline"||t==="polygon")for(u=e.getAttribute("points").match(My)||[],t==="polygon"&&u.push(u[0],u[1]),o=0,c=2;c<u.length;c+=2)o+=P_(u[c-2],u[c-1],u[c],u[c+1],n,s)||0;else(t==="circle"||t==="ellipse")&&(h=g/2*n,d=m/2*s,o=Math.PI*(3*(h+d)-ja((3*h+d)*(h+3*d))));return o||0},M_=function(e,t){if(e=Wc(e)[0],!e)return[0,0];t||(t=$a(e)+1);var r=Ka.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]},k_=function(){I_()&&(Oy=document,Ka=window,R_=Tr=B_(),Wc=Tr.utils.toArray,Vc=Tr.core.getStyleSaver,N_=Tr.core.reverting||function(){},L_=((Ka.navigator||{}).userAgent||"").indexOf("Edge")!==-1)},Hc={version:"3.12.2",name:"drawSVG",register:function(e){Tr=e,k_()},init:function(e,t,r,n,s){if(!e.getBBox)return!1;R_||k_();var o=$a(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=M_(e,o),u=Ly(t,o,a[0]),this._length=fn(o),this._dash=fn(a[1]-a[0]),this._offset=fn(-a[0]),this._dashPT=this.add(this,"_dash",this._dash,fn(u[1]-u[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,fn(-u[0]),0,0,0,0,0,1),L_&&(l=Ka.getComputedStyle(e),l.strokeLinecap!==l.strokeLinejoin&&(u=Kr(l.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",u,u+.01))),this._live=z_(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),ky},render:function(e,t){if(t.tween._time||!N_()){var r=t._pt,n=t._style,s,o,a,u;if(r){for(t._live&&(s=$a(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:$a,getPosition:M_};B_()&&Tr.registerPlugin(Hc);K.registerPlugin(Z,Vn,nn,Er,Hc);function Ry(){nn.create("loader","0.83, 0, 0.17, 1"),nn.create("loader2","0.77, 0, 0.175, 1")}var co;function Ny(){let i=document.querySelector(".contact-modal_main-wrapper"),e=document.querySelector(".contact-modal_content-wrapper");co=K.timeline({paused:!0}),co.to(i,{autoAlpha:1,duration:.3,ease:"loader2"}),co.from(e,{x:"100%",duration:.4,ease:"loader2"},"-=0.2")}var At=new Lo({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function Iy(){At.on("scroll",Z.update),K.ticker.add(e=>{At.raf(e*1e3)}),K.ticker.lagSmoothing(0);function i(e){At.raf(e),requestAnimationFrame(i)}requestAnimationFrame(i)}function By(){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 zy(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function Vy(){function i(){let e=document.querySelector(".w-nav-overlay"),t={attributes:!0,attributeFilter:["style"]},r=function(s,o){for(let a of s)a.type==="attributes"&&a.attributeName==="style"&&(e.style.display==="none"?(document.body.classList.remove("is-scroll-off"),At.start()):(document.body.classList.add("is-scroll-off"),At.stop()))};new MutationObserver(r).observe(e,t)}i()}function Wy(){document.querySelector(".is-footer")&&K.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},autoAlpha:0})}function Hy(){let i=K.timeline({});i.add(function(){history.scrollRestoration="manual",At.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(){At.start()},">"),i.to(".loader_wrapper",{display:"none",duration:.1},">"),window.addEventListener("resize",function(){setTimeout(function(){K.set(".loader_wrapper",{display:"none"})},50)})}function Yy(){document.querySelectorAll('a:not([/**/href^="#"]):not([href^="javascript:"]):not([href=""]):not([href^="mailto:"]):not([href^="tel:"])').forEach(e=>{e.getAttribute("target")!=="_blank"&&e.addEventListener("click",t=>{t.preventDefault();let r=K.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 qy=document.querySelector(".info-bar"),Za=K.timeline({paused:!0});Za.to(".navbar",{y:"-100%",duration:.2,ease:"loader2"});qy&&Za.to(".button_small.is-navbar",{top:"1.75rem",duration:.2,ease:"loader2"},"<");function Uy(){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.standardHeaderScrollAnimation=function(){Z.create({start:"top top",endTrigger:".bottom-wrapper",end:"bottom bottom",onUpdate:i=>{i.direction===1?Za.play():Za.reverse()}})};window.videoInsideText=function(i){let e=i.querySelector('[class*="copy-this"]');i.querySelector('[class*="headline-span"]').appendChild(e)};window.spanVideoMaskAnimation=function(i){K.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=K.timeline({}),r=new Er("#heroHeading",{type:"lines",linesClass:"hero-line"}),n=new Er("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});t.from(".navbar",{opacity:0,duration:.6,ease:"loader2"},">+0.4"),t.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"},">-0.5"),e&&t.to(".hero_headline_ract-mask",{width:"0%",duration:.6,ease:"loader2"},">-0.6"),t.from("#heroBottomWrapper",{opacity:0,duration:1,ease:"loader2"},">-0.4")};window.caseStudyInteraction=function(i){let e=i.querySelector(".portfolio_item_image-mask"),t=K.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});Z.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()})};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 cn(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")}),K.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 cn(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 h=l.querySelector("video");h&&c!==a&&(h.pause(),h.currentTime=0)})}function s(a){K.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){K.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 cn(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(),K.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){K.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){K.set(i,{backgroundColor:"#fff"}),K.set("#heroNavbarLottie path",{fill:"rgb(21, 21, 21)"});let e=K.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=K.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"]');K.from(t,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},width:"0%",duration:.7,ease:"loader2",stagger:.15}),K.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=K.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=K.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(At.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(),At.start()}),window.addEventListener("keydown",function(s){s.keyCode===27&&(n.timeScale(4).reverse(),t.pause(),At.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=K.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=K.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=K.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=K.timeline({scrollTrigger:{trigger:"#statsKnow",start:"center center",toggleActions:"restart none none reverse",end:"+=500"},pause:"paused",ease:"defaultEase"}),e=new Er("#statsDone",{type:"lines",linesClass:"stats-line"}),t=new Er("#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.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 cn(i,e).mount();window.innerWidth>992&&t.on("click",function(){t.go("+1")}),K.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=K.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&&K.to(a,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),r.addEventListener("mouseleave",()=>{o.timeScale(3).reverse(),i.forEach(a=>{a!==event.target&&K.to(a,{color:"#fff",duration:.1,ease:"loader2"})})})}),e.addEventListener("mouseenter",()=>{K.to(e,{color:"#fff",duration:.2,ease:"loader2"}),i.forEach(r=>{K.to(r,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),e.addEventListener("mouseleave",()=>{K.to(e,{color:"#7A7A7A",duration:.2,ease:"loader2"}),i.forEach(r=>{K.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=K.from(e,{width:"100%",duration:.7,ease:"loader2",paused:!0});Z.create({animation:r,trigger:e,start:"top 80%",onEnter:()=>r.play()})})};window.updateScrollTrigger=function(){window.onload=function(){Z.update()}};window.blogPostMaskAnimation=function(i){let e=document.querySelector("#heroSection"),t=K.from(".post_main-mask-ract",{left:"0%",ease:"loader2"});Z.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(){co.play(),document.body.classList.add("is-scroll-off"),At.stop()};window.closeContactModal=function(){co.timeScale(1).reverse(),document.body.classList.remove("is-scroll-off"),At.start()};window.closeContactModalOnEsc=function(i){document.addEventListener("keydown",function(e){e.key==="Escape"&&window.closeContactModal()})};window.successMsgAnimation=function(i){let e=K.timeline({}),t=new Er("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line"}),r=new Er("#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.contactUsHide=function(i){K.to(i,{autoAlpha:0,duration:.15,ease:"loader2",scrollTrigger:{trigger:"#bottomWrapperOverlay",start:"top center",toggleActions:"play none none reverse"}})};window.scrollTriggerRefresh=function(){function i(){Z.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=K.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(),By(),Webflow.env("editor")===void 0?(Iy(),At.start()):(console.log("Editor mode ON"),At.destroy()),Ry(),zy(),Wy(),Hy(),Yy(),Uy(),Ny(),Vy()});})();
|
|
5
|
+
`:""}`,e),setTimeout(()=>{throw i},0)}var Eo=!0;function Tf(i){let e=Eo;Eo=!1;let t=i();return Eo=e,t}function Mi(i,e,t={}){let r;return ft(i,e)(n=>r=n,t),r}function ft(...i){return Af(...i)}var Af=Ff;function lg(i){Af=i}function Ff(i,e){let t={};fu(t,i);let r=[t,...pn(i)],n=typeof e=="function"?cg(r,e):dg(r,e,i);return ug.bind(null,i,e,n)}function cg(i,e){return(t=()=>{},{scope:r={},params:n=[]}={})=>{let s=e.apply(cs([r,...i]),n);Co(t,s)}}var iu={};function fg(i,e){if(iu[i])return iu[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 iu[i]=s,s}function dg(i,e,t){let r=fg(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?(Co(n,r.result,a,o,t),r.result=void 0):u.then(l=>{Co(n,l,a,o,t)}).catch(l=>as(l,t,e)).finally(()=>r.result=void 0)}}}function Co(i,e,t,r,n){if(Eo&&typeof e=="function"){let s=e.apply(t,r);s instanceof Promise?s.then(o=>Co(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 Mu="x-";function vn(i=""){return Mu+i}function hg(i){Mu=i}var du={};function Ne(i,e){return du[i]=e,{before(t){if(!du[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 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=Of(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(Rf((s,o)=>r[s]=o)).filter(If).map(gg(r,t)).sort(mg).map(s=>_g(i,s))}function Of(i){return Array.from(i).map(Rf()).filter(e=>!If(e))}var hu=!1,is=new Map,Pf=Symbol();function pg(i){hu=!0;let e=Symbol();Pf=e,is.set(e,[]);let t=()=>{for(;is.get(e).length;)is.get(e).shift()();is.delete(e)},r=()=>{hu=!1,t()};i(t),r()}function Mf(i){let e=[],t=a=>e.push(a),[r,n]=$_(i);return e.push(n),[{Alpine:fs,effect:r,cleanup:t,evaluateLater:ft.bind(ft,i),evaluate:Mi.bind(Mi,i)},()=>e.forEach(a=>a())]}function _g(i,e){let t=()=>{},r=du[e.type]||t,[n,s]=Mf(i);yf(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),hu?is.get(Pf).push(r):r())};return o.runCleanups=s,o}var kf=(i,e)=>({name:t,value:r})=>(t.startsWith(i)&&(t=t.replace(i,e)),{name:t,value:r}),Lf=i=>i;function Rf(i=()=>{}){return({name:e,value:t})=>{let{name:r,value:n}=Nf.reduce((s,o)=>o(s),{name:e,value:t});return r!==e&&i(r,e),{name:r,value:n}}}var Nf=[];function Lu(i){Nf.push(i)}function If({name:i}){return Bf().test(i)}var Bf=()=>new RegExp(`^${Mu}([^:^.]+)\\b`);function gg(i,e){return({name:t,value:r})=>{let n=t.match(Bf()),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 pu="DEFAULT",Oi=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",pu,"teleport"];function mg(i,e){let t=Oi.indexOf(i.type)===-1?pu:i.type,r=Oi.indexOf(e.type)===-1?pu:e.type;return Oi.indexOf(t)-Oi.indexOf(r)}var _u=[],Ru=!1;function Nu(i=()=>{}){return queueMicrotask(()=>{Ru||setTimeout(()=>{gu()})}),new Promise(e=>{_u.push(()=>{i(),e()})})}function gu(){for(Ru=!1;_u.length;)_u.shift()()}function vg(){Ru=!0}function Iu(i,e){return Array.isArray(e)?$c(i,e.join(" ")):typeof e=="object"&&e!==null?Dg(i,e):typeof e=="function"?Iu(i,e()):$c(i,e)}function $c(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 Dg(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?yg(i,e):xg(i,e)}function yg(i,e){let t={};return Object.entries(e).forEach(([r,n])=>{t[r]=i.style[r],r.startsWith("--")||(r=bg(r)),i.style.setProperty(r,n)}),setTimeout(()=>{i.style.length===0&&i.removeAttribute("style")}),()=>{Fo(i,t)}}function xg(i,e){let t=i.getAttribute("style",e);return i.setAttribute("style",e),()=>{i.setAttribute("style",t||"")}}function bg(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function mu(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"?wg(i,t,e):Eg(i,r,e))});function Eg(i,e,t){zf(i,Iu,""),{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 wg(i,e,t){zf(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 zf(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=()=>{}){vu(i,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){vu(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=Vf(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 Vf(i){let e=i.parentNode;if(e)return e._x_hidePromise?e:Vf(e)}function vu(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=mu(()=>{We(()=>{t=!0,r||e.before(),n||(e.end(),gu()),e.after(),i.isConnected&&e.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(o){this.beforeCancels.push(o)},cancel:mu(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();s()}),finish:s},We(()=>{e.start(),e.during()}),vg(),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()}),gu(),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 ri=!1;function Oo(i,e=()=>{}){return(...t)=>ri?e(...t):i(...t)}function Sg(i){return(...e)=>ri&&i(...e)}function Tg(i,e){i._x_dataStack&&(e._x_dataStack=i._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),ri=!0,Wf(()=>{Pr(e,(t,r)=>{r(t,()=>{})})}),ri=!1}var Du=!1;function Ag(i,e){e._x_dataStack||(e._x_dataStack=i._x_dataStack),ri=!0,Du=!0,Wf(()=>{Fg(e)}),ri=!1,Du=!1}function Fg(i){let e=!1;Pr(i,(r,n)=>{ti(r,(s,o)=>{if(e&&Z_(s))return o();e=!0,n(s,o)})})}function Wf(i){let e=mn;Gc((t,r)=>{let n=e(t);return us(n),()=>{}}),i(),Gc(e)}function Og(i){return ri?Du?!0:i.hasAttribute("data-has-alpine-state"):!1}function Hf(i,e,t,r=[]){switch(i._x_bindings||(i._x_bindings=gn({})),i._x_bindings[e]=t,e=r.includes("camel")?Bg(e):e,e){case"value":Pg(i,t);break;case"style":kg(i,t);break;case"class":Mg(i,t);break;case"selected":case"checked":Lg(i,e,t);break;default:qf(i,e,t);break}}function Pg(i,e){if(i.type==="radio")i.attributes.value===void 0&&(i.value=e),window.fromModel&&(i.checked=Kc(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=>Kc(t,i.value)):i.checked=!!e;else if(i.tagName==="SELECT")Ig(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=Iu(i,e)}function kg(i,e){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=Fo(i,e)}function Lg(i,e,t){qf(i,e,t),Ng(i,e,t)}function qf(i,e,t){[null,void 0,!1].includes(t)&&zg(e)?i.removeAttribute(e):(Yf(e)&&(t=e),Rg(i,e,t))}function Rg(i,e,t){i.getAttribute(e)!=t&&i.setAttribute(e,t)}function Ng(i,e,t){i[e]!==t&&(i[e]=t)}function Ig(i,e){let t=[].concat(e).map(r=>r+"");Array.from(i.options).forEach(r=>{r.selected=t.includes(r.value)})}function Bg(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Kc(i,e){return i==e}function Yf(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 zg(i){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)}function Vg(i,e,t){return i._x_bindings&&i._x_bindings[e]!==void 0?i._x_bindings[e]:Uf(i,e,t)}function Wg(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,Tf(()=>Mi(i,n.expression))}return Uf(i,e,t)}function Uf(i,e,t){let r=i.getAttribute(e);return r===null?typeof t=="function"?t():t:r===""?!0:Yf(e)?!![e,"true"].includes(r):r}function Xf(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 Gf(i,e){let t;return function(){let r=this,n=arguments;t||(i.apply(r,n),t=!0,setTimeout(()=>t=!1,e))}}function jf({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 Hg(i){(Array.isArray(i)?i:[i]).forEach(t=>t(fs))}var Fi={},Zc=!1;function qg(i,e){if(Zc||(Fi=gn(Fi),Zc=!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 Yg(){return Fi}var $f={};function Ug(i,e){let t=typeof e!="function"?()=>e:e;return i instanceof Element?Kf(i,t()):($f[i]=t,()=>{})}function Xg(i){return Object.entries($f).forEach(([e,t])=>{Object.defineProperty(i,e,{get(){return(...r)=>t(...r)}})}),i}function Kf(i,e,t){let r=[];for(;r.length;)r.pop()();let n=Object.entries(e).map(([o,a])=>({name:o,value:a})),s=Of(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 Zf={};function Gg(i,e){Zf[i]=e}function jg(i,e){return Object.entries(Zf).forEach(([t,r])=>{Object.defineProperty(i,t,{get(){return(...n)=>r.bind(e)(...n)},enumerable:!1})}),i}var $g={get reactive(){return gn},get release(){return us},get effect(){return mn},get raw(){return lf},version:"3.13.1",flushAndStopDeferringMutations:ng,dontAutoEvaluateFunctions:Tf,disableEffectScheduling:G_,startObservingMutations:Fu,stopObservingMutations:bf,setReactivityEngine:j_,onAttributeRemoved:yf,onAttributesAdded:Df,closestDataStack:pn,skipDuringClone:Oo,onlyDuringClone:Sg,addRootSelector:hf,addInitSelector:pf,addScopeToNode:ls,deferMutations:ig,mapAttributes:Lu,evaluateLater:ft,interceptInit:Q_,setEvaluator:lg,mergeProxies:cs,extractProp:Wg,findClosest:Ao,onElRemoved:Su,closestRoot:To,destroyTree:Cu,interceptor:Cf,transition:vu,setStyles:Fo,mutateDom:We,directive:Ne,entangle:jf,throttle:Gf,debounce:Xf,evaluate:Mi,initTree:Pr,nextTick:Nu,prefixed:vn,prefix:hg,plugin:Hg,magic:rr,store:qg,start:K_,clone:Ag,cloneNode:Tg,bound:Vg,$data:Ef,walk:ti,data:Gg,bind:Ug},fs=$g;function Qf(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 Kg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ky=Qf(Kg+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Zg=Object.freeze({}),Zy=Object.freeze([]),Qg=Object.prototype.hasOwnProperty,Po=(i,e)=>Qg.call(i,e),ki=Array.isArray,os=i=>Jf(i)==="[object Map]",Jg=i=>typeof i=="string",Bu=i=>typeof i=="symbol",Mo=i=>i!==null&&typeof i=="object",e0=Object.prototype.toString,Jf=i=>e0.call(i),ed=i=>Jf(i).slice(8,-1),zu=i=>Jg(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,ko=i=>{let e=Object.create(null);return t=>e[t]||(e[t]=i(t))},t0=/-(\w)/g,Qy=ko(i=>i.replace(t0,(e,t)=>t?t.toUpperCase():"")),r0=/\B([A-Z])/g,Jy=ko(i=>i.replace(r0,"-$1").toLowerCase()),td=ko(i=>i.charAt(0).toUpperCase()+i.slice(1)),e1=ko(i=>i?`on${td(i)}`:""),rd=(i,e)=>i!==e&&(i===i||e===e),yu=new WeakMap,rs=[],dr,Li=Symbol("iterate"),xu=Symbol("Map key iterate");function i0(i){return i&&i._isEffect===!0}function n0(i,e=Zg){i0(i)&&(i=i.raw);let t=a0(i,e);return e.lazy||t(),t}function s0(i){i.active&&(id(i),i.options.onStop&&i.options.onStop(),i.active=!1)}var o0=0;function a0(i,e){let t=function(){if(!t.active)return i();if(!rs.includes(t)){id(t);try{return l0(),rs.push(t),dr=t,i()}finally{rs.pop(),nd(),dr=rs[rs.length-1]}}};return t.id=o0++,t.allowRecurse=!!e.allowRecurse,t._isEffect=!0,t.active=!0,t.raw=i,t.deps=[],t.options=e,t}function id(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,Vu=[];function u0(){Vu.push(_n),_n=!1}function l0(){Vu.push(_n),_n=!0}function nd(){let i=Vu.pop();_n=i===void 0?!0:i}function tr(i,e,t){if(!_n||dr===void 0)return;let r=yu.get(i);r||yu.set(i,r=new Map);let n=r.get(t);n||r.set(t,n=new Set),n.has(dr)||(n.add(dr),dr.deps.push(n),dr.options.onTrack&&dr.options.onTrack({effect:dr,target:i,type:e,key:t}))}function ii(i,e,t,r,n,s){let o=yu.get(i);if(!o)return;let a=new Set,u=c=>{c&&c.forEach(d=>{(d!==dr||d.allowRecurse)&&a.add(d)})};if(e==="clear")o.forEach(u);else if(t==="length"&&ki(i))o.forEach((c,d)=>{(d==="length"||d>=r)&&u(c)});else switch(t!==void 0&&u(o.get(t)),e){case"add":ki(i)?zu(t)&&u(o.get("length")):(u(o.get(Li)),os(i)&&u(o.get(xu)));break;case"delete":ki(i)||(u(o.get(Li)),os(i)&&u(o.get(xu)));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 c0=Qf("__proto__,__v_isRef,__isVue"),sd=new Set(Object.getOwnPropertyNames(Symbol).map(i=>Symbol[i]).filter(Bu)),f0=od(),d0=od(!0),Qc=h0();function h0(){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++)tr(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){u0();let r=me(this)[e].apply(this,t);return nd(),r}}),i}function od(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?F0:cd:e?A0:ld).get(r))return r;let o=ki(r);if(!i&&o&&Po(Qc,n))return Reflect.get(Qc,n,s);let a=Reflect.get(r,n,s);return(Bu(n)?sd.has(n):c0(n))||(i||tr(r,"get",n),e)?a:bu(a)?!o||!zu(n)?a.value:a:Mo(a)?i?fd(a):Yu(a):a}}var p0=_0();function _0(i=!1){return function(t,r,n,s){let o=t[r];if(!i&&(n=me(n),o=me(o),!ki(t)&&bu(o)&&!bu(n)))return o.value=n,!0;let a=ki(t)&&zu(r)?Number(r)<t.length:Po(t,r),u=Reflect.set(t,r,n,s);return t===me(s)&&(a?rd(n,o)&&ii(t,"set",r,n,o):ii(t,"add",r,n)),u}}function g0(i,e){let t=Po(i,e),r=i[e],n=Reflect.deleteProperty(i,e);return n&&t&&ii(i,"delete",e,void 0,r),n}function m0(i,e){let t=Reflect.has(i,e);return(!Bu(e)||!sd.has(e))&&tr(i,"has",e),t}function v0(i){return tr(i,"iterate",ki(i)?"length":Li),Reflect.ownKeys(i)}var D0={get:f0,set:p0,deleteProperty:g0,has:m0,ownKeys:v0},y0={get:d0,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}},Wu=i=>Mo(i)?Yu(i):i,Hu=i=>Mo(i)?fd(i):i,qu=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&&tr(n,"get",e),!t&&tr(n,"get",s);let{has:o}=Lo(n),a=r?qu:t?Hu:Wu;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&&tr(r,"has",i),!e&&tr(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&&tr(me(i),"iterate",Li),Reflect.get(i,"size",i)}function Jc(i){i=me(i);let e=me(this);return Lo(e).has.call(e,i)||(e.add(i),ii(e,"add",i,i)),this}function ef(i,e){e=me(e);let t=me(this),{has:r,get:n}=Lo(t),s=r.call(t,i);s?ud(t,r,i):(i=me(i),s=r.call(t,i));let o=n.call(t,i);return t.set(i,e),s?rd(e,o)&&ii(t,"set",i,e,o):ii(t,"add",i,e),this}function tf(i){let e=me(this),{has:t,get:r}=Lo(e),n=t.call(e,i);n?ud(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&&ii(e,"delete",i,void 0,s),o}function rf(){let i=me(this),e=i.size!==0,t=os(i)?new Map(i):new Set(i),r=i.clear();return e&&ii(i,"clear",void 0,void 0,t),r}function xo(i,e){return function(r,n){let s=this,o=s.__v_raw,a=me(o),u=e?qu:i?Hu:Wu;return!i&&tr(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?qu:e?Hu:Wu;return!e&&tr(s,"iterate",u?xu: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 ei(i){return function(...e){{let t=e[0]?`on key "${e[0]}" `:"";console.warn(`${td(i)} operation ${t}failed: target is readonly.`,me(this))}return i==="delete"?!1:this}}function x0(){let i={get(s){return vo(this,s)},get size(){return yo(this)},has:Do,add:Jc,set:ef,delete:tf,clear:rf,forEach:xo(!1,!1)},e={get(s){return vo(this,s,!1,!0)},get size(){return yo(this)},has:Do,add:Jc,set:ef,delete:tf,clear:rf,forEach:xo(!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:ei("add"),set:ei("set"),delete:ei("delete"),clear:ei("clear"),forEach:xo(!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:ei("add"),set:ei("set"),delete:ei("delete"),clear:ei("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[b0,E0,w0,C0]=x0();function ad(i,e){let t=e?i?C0:w0:i?E0:b0;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 S0={get:ad(!1,!1)},T0={get:ad(!0,!1)};function ud(i,e,t){let r=me(t);if(r!==t&&e.call(i,r)){let n=ed(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 ld=new WeakMap,A0=new WeakMap,cd=new WeakMap,F0=new WeakMap;function O0(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function P0(i){return i.__v_skip||!Object.isExtensible(i)?0:O0(ed(i))}function Yu(i){return i&&i.__v_isReadonly?i:dd(i,!1,D0,S0,ld)}function fd(i){return dd(i,!0,y0,T0,cd)}function dd(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=P0(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 bu(i){return!!(i&&i.__v_isRef===!0)}rr("nextTick",()=>Nu);rr("dispatch",i=>ns.bind(ns,i));rr("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)});rr("store",Yg);rr("data",i=>Ef(i));rr("root",i=>To(i));rr("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 nu={};function hd(i){return nu[i]||(nu[i]=0),++nu[i]}function k0(i,e){return Ao(i,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function L0(i,e){i._x_ids||(i._x_ids={}),i._x_ids[e]||(i._x_ids[e]=hd(e))}rr("id",i=>(e,t=null)=>{let r=k0(i,e),n=r?r._x_ids[e]:hd(e);return t?`${e}-${n}-${t}`:`${e}-${n}`});rr("el",i=>i);pd("Focus","focus","focus");pd("Persist","persist","persist");function pd(i,e,t){rr(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=jf({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=nf(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=nf(t);We(()=>{o(i._x_teleport,a,e)})},r(()=>s.remove())});var R0=document.createElement("div");function nf(i){let e=Oo(()=>document.querySelector(i),()=>R0)();return e||Or(`Cannot find x-teleport element for selector: "${i}"`),e}var _d=()=>{};_d.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",_d);Ne("effect",(i,{expression:e},{effect:t})=>t(ft(i,e)));function Eu(i,e,t,r){let n=i,s=u=>r(u),o={},a=(u,l)=>c=>l(u,c);if(t.includes("dot")&&(e=N0(e)),t.includes("camel")&&(e=I0(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=So(u.split("ms")[0])?Number(u.split("ms")[0]):250;s=Xf(s,l)}if(t.includes("throttle")){let u=t[t.indexOf("throttle")+1]||"invalid-wait",l=So(u.split("ms")[0])?Number(u.split("ms")[0]):250;s=Gf(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)=>{z0(e)&&V0(l,t)||u(l)}),n.addEventListener(e,s,o),()=>{n.removeEventListener(e,s,o)}}function N0(i){return i.replace(/-/g,".")}function I0(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function So(i){return!Array.isArray(i)&&!isNaN(i)}function B0(i){return[" ","_"].includes(i)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function z0(i){return["keydown","keyup"].includes(i)}function V0(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,So((t[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.includes("throttle")){let s=t.indexOf("throttle");t.splice(s,So((t[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.length===0||t.length===1&&sf(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&&sf(i.key).includes(t[0]))}function sf(i){if(!i)return[];i=B0(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),of(p)?p.get():p},l=p=>{let f;o(_=>f=_),of(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=ri?()=>{}:Eu(i,c,e,p=>{l(W0(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=Eu(i.form,"reset",[],f=>{Nu(()=>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(()=>Hf(i,"value",p)),delete window.fromModel},r(()=>{let p=u();e.includes("unintrusive")&&document.activeElement.isSameNode(i)||i._x_forceModelUpdate(p)})});function W0(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")?su(t.target.value):t.target.value;return t.target.checked?r.concat([n]):r.filter(s=>!H0(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 su(s)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?su(n):e.includes("trim")?n.trim():n}}})}function su(i){let e=i?parseFloat(i):null;return q0(e)?e:i}function H0(i,e){return i==e}function q0(i){return!Array.isArray(i)&&!isNaN(i)}function of(i){return i!==null&&typeof i=="object"&&typeof i.get=="function"&&typeof i.set=="function"}Ne("cloak",i=>queueMicrotask(()=>We(()=>i.removeAttribute(vn("cloak")))));pf(()=>`[${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})})})});Lu(kf(":",Lf(vn("bind:"))));var gd=(i,{value:e,modifiers:t,expression:r,original:n},{effect:s})=>{if(!e){let a={};Xg(a),ft(i,r)(l=>{Kf(i,l,n)},{scope:a});return}if(e==="key")return Y0(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(()=>Hf(i,e,a,t))}))};gd.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",gd);function Y0(i,e){i._x_keyExpression=e}hf(()=>`[${vn("data")}]`);Ne("data",(i,{expression:e},{cleanup:t})=>{if(Og(i))return;e=e===""?"{}":e;let r={};fu(r,i);let n={};jg(n,r);let s=Mi(i,e,{scope:n});(s===void 0||s===!0)&&(s={}),fu(s,i);let o=gn(s);wf(o);let a=ls(i,o);o.init&&Mi(i,o.init),t(()=>{o.destroy&&Mi(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=mu(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=X0(e),s=ft(i,n.items),o=ft(i,i._x_keyExpression||"index");i._x_prevKeys=[],i._x_lookup={},t(()=>U0(i,n,s,o)),r(()=>{Object.values(i._x_lookup).forEach(a=>a.remove()),delete i._x_prevKeys,delete i._x_lookup})});function U0(i,e,t,r){let n=o=>typeof o=="object"&&!Array.isArray(o),s=i;t(o=>{G0(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=af(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=af(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(uf),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],E=document.createElement("div");We(()=>{b||Or('x-for ":key" is undefined or invalid',s),b.after(E),y.after(b),b._x_currentIfEl&&b.after(b._x_currentIfEl),E.before(y),y._x_currentIfEl&&y.after(y._x_currentIfEl),E.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],E=c[v],w=document.importNode(s.content,!0).firstElementChild,x=gn(b);ls(w,x,s),w._x_refreshXForScope=S=>{Object.entries(S).forEach(([A,C])=>{x[A]=C})},We(()=>{y.after(w),Pr(w)}),typeof E=="object"&&Or("x-for key cannot be an object, it must be a string or an integer",s),a[E]=w}for(let g=0;g<_.length;g++)a[_[g]]._x_refreshXForScope(l[c.indexOf(_[g])]);s._x_prevKeys=c})}function X0(i){let e=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,t=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,n=i.match(r);if(!n)return;let 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 af(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 G0(i){return!Array.isArray(i)&&!isNaN(i)}function md(){}md.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",md);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=()=>{ti(a,u=>{u._x_effects&&u._x_effects.forEach(uf)}),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=>L0(i,n))});Lu(kf("@",Lf(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=Eu(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(Ff);fs.setReactivityEngine({reactive:Yu,effect:n0,release:s0,raw:me});var j0=fs,Uu=j0;function Xu(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 $0(i){let e=document.createElement("template");Xu(i).forEach(r=>{e.setAttribute(r.name,r.value),i.removeAttribute(r.name)}),i.parentNode.insertBefore(e,i),e.content.appendChild(i)}function K0(i){Xu(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 Z0(i){Xu(i).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&i.setAttribute(t.name,"")})}function Q0(){document.querySelectorAll("[x-data],[x-data] *").forEach(i=>{K0(i),Z0(i)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach($0)}function vd(){window.Alpine=Uu,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{Q0(),Uu.start()})}function Gu(){return Gu=Object.assign?Object.assign.bind():function(i){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(i[r]=t[r])}return i},Gu.apply(this,arguments)}function No(i,e,t){return Math.max(i,Math.min(e,t))}var ju=class{advance(e){var t;if(!this.isRunning)return;let r=!1;if(this.lerp)this.value=(n=this.value,s=this.to,(1-(o=1-Math.exp(-60*this.lerp*e)))*n+o*s),Math.round(this.value)===this.to&&(this.value=this.to,r=!0);else{this.currentTime+=e;let a=No(0,this.currentTime/this.duration,1);r=a>=1;let u=r?1:this.easing(a);this.value=this.from+(this.to-this.from)*u}var n,s,o;(t=this.onUpdate)==null||t.call(this,this.value,r),r&&this.stop()}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}},$u=class{constructor({wrapper:e,content:t,autoResize:r=!0}={}){if(this.resize=()=>{this.onWrapperResize(),this.onContentResize()},this.onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)},this.onContentResize=()=>{this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth},this.wrapper=e,this.content=t,r){let n=function(s,o){let a;return function(){let u=arguments,l=this;clearTimeout(a),a=setTimeout(function(){s.apply(l,u)},250)}}(this.resize);this.wrapper!==window&&(this.wrapperResizeObserver=new ResizeObserver(n),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(n),this.contentResizeObserver.observe(this.content)}this.resize()}destroy(){var e,t;(e=this.wrapperResizeObserver)==null||e.disconnect(),(t=this.contentResizeObserver)==null||t.disconnect()}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){var r;return(r=this.events[e])!=null&&r.push(t)||(this.events[e]=[t]),()=>{var n;this.events[e]=(n=this.events[e])==null?void 0:n.filter(s=>t!==s)}}off(e,t){var r;this.events[e]=(r=this.events[e])==null?void 0:r.filter(n=>t!==n)}destroy(){this.events={}}},Ku=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:r=2,normalizeWheel:n=!1}){this.onTouchStart=s=>{let{clientX:o,clientY:a}=s.targetTouches?s.targetTouches[0]:s;this.touchStart.x=o,this.touchStart.y=a,this.lastDelta={x:0,y:0}},this.onTouchMove=s=>{let{clientX:o,clientY:a}=s.targetTouches?s.targetTouches[0]:s,u=-(o-this.touchStart.x)*this.touchMultiplier,l=-(a-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=o,this.touchStart.y=a,this.lastDelta={x:u,y:l},this.emitter.emit("scroll",{deltaX:u,deltaY:l,event:s})},this.onTouchEnd=s=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:s})},this.onWheel=s=>{let{deltaX:o,deltaY:a}=s;this.normalizeWheel&&(o=No(-100,o,100),a=No(-100,a,100)),o*=this.wheelMultiplier,a*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:o,deltaY:a,event:s})},this.element=e,this.wheelMultiplier=t,this.touchMultiplier=r,this.normalizeWheel=n,this.touchStart={x:null,y:null},this.emitter=new Io,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(),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})}},Bo=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:r=e,eventsTarget:n=r,smoothWheel:s=!0,smoothTouch:o=!1,syncTouch:a=!1,syncTouchLerp:u=.1,__iosNoInertiaSyncTouchLerp:l=.4,touchInertiaMultiplier:c=35,duration:d,easing:p=E=>Math.min(1,1.001-Math.pow(2,-10*E)),lerp:f=!d&&.1,infinite:_=!1,orientation:h="vertical",gestureOrientation:g="vertical",touchMultiplier:m=1,wheelMultiplier:v=1,normalizeWheel:y=!1,autoResize:b=!0}={}){this.onVirtualScroll=({deltaX:E,deltaY:w,event:x})=>{if(x.ctrlKey)return;let S=x.type.includes("touch"),A=x.type.includes("wheel");if(this.options.gestureOrientation==="both"&&E===0&&w===0||this.options.gestureOrientation==="vertical"&&w===0||this.options.gestureOrientation==="horizontal"&&E===0||S&&this.options.gestureOrientation==="vertical"&&this.scroll===0&&!this.options.infinite&&w<=0)return;let C=x.composedPath();if(C=C.slice(0,C.indexOf(this.rootElement)),C.find(I=>{var z;return(I.hasAttribute==null?void 0:I.hasAttribute("data-lenis-prevent"))||S&&(I.hasAttribute==null?void 0:I.hasAttribute("data-lenis-prevent-touch"))||A&&(I.hasAttribute==null?void 0:I.hasAttribute("data-lenis-prevent-wheel"))||((z=I.classList)==null?void 0:z.contains("lenis"))}))return;if(this.isStopped||this.isLocked)return void x.preventDefault();if(this.isSmooth=(this.options.smoothTouch||this.options.syncTouch)&&S||this.options.smoothWheel&&A,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();x.preventDefault();let O=w;this.options.gestureOrientation==="both"?O=Math.abs(w)>Math.abs(E)?w:E:this.options.gestureOrientation==="horizontal"&&(O=E);let F=S&&this.options.syncTouch,M=S&&x.type==="touchend"&&Math.abs(O)>1;M&&(O=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+O,Gu({programmatic:!1},F&&{lerp:M?this.syncTouchLerp:this.options.__iosNoInertiaSyncTouchLerp}))},this.onScroll=()=>{if(!this.isScrolling){let E=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-E),this.emit()}},window.lenisVersion="1.0.27",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:r,eventsTarget:n,smoothWheel:s,smoothTouch:o,syncTouch:a,syncTouchLerp:u,__iosNoInertiaSyncTouchLerp:l,touchInertiaMultiplier:c,duration:d,easing:p,lerp:f,infinite:_,gestureOrientation:g,orientation:h,touchMultiplier:m,wheelMultiplier:v,normalizeWheel:y,autoResize:b},this.animate=new ju,this.emitter=new Io,this.dimensions=new $u({wrapper:e,content:t,autoResize:b}),this.toggleClass("lenis",!0),this.velocity=0,this.isLocked=!1,this.isStopped=!1,this.isSmooth=a||s||o,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll=new Ku(n,{touchMultiplier:m,wheelMultiplier:v,normalizeWheel:y}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClass("lenis",!1),this.toggleClass("lenis-smooth",!1),this.toggleClass("lenis-scrolling",!1),this.toggleClass("lenis-stopped",!1),this.toggleClass("lenis-locked",!1)}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(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.velocity=0,this.animate.stop()}start(){this.isStopped=!1,this.reset()}stop(){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,onComplete:u=null,force:l=!1,programmatic:c=!0}={}){if(!this.isStopped&&!this.isLocked||l){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{var d;let p;if(typeof e=="string"?p=document.querySelector(e):(d=e)!=null&&d.nodeType&&(p=e),p){if(this.options.wrapper!==window){let _=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?_.left:_.top}let f=p.getBoundingClientRect();e=(this.isHorizontal?f.left:f.top)+this.animatedScroll}}if(typeof e=="number"){if(e+=t,e=Math.round(e),this.options.infinite?c&&(this.targetScroll=this.animatedScroll=this.scroll):e=No(0,e,this.limit),r)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(u==null||u(this));if(!c){if(e===this.targetScroll)return;this.targetScroll=e}this.animate.fromTo(this.animatedScroll,e,{duration:s,easing:o,lerp:a,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(p,f)=>{this.isScrolling=!0,this.velocity=p-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=p,this.setScroll(this.scroll),c&&(this.targetScroll=p),f||this.emit(),f&&requestAnimationFrame(()=>{this.reset(),this.emit(),u?.(this)})}})}}}get rootElement(){return this.options.wrapper===window?this.options.content:this.options.wrapper}get limit(){return 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?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll;var e}get progress(){return this.limit===0?1:this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(e){this.__isSmooth!==e&&(this.__isSmooth=e,this.toggleClass("lenis-smooth",e))}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.toggleClass("lenis-scrolling",e))}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.toggleClass("lenis-stopped",e))}get isLocked(){return this.__isLocked}set isLocked(e){this.__isLocked!==e&&(this.__isLocked=e,this.toggleClass("lenis-locked",e))}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isSmooth&&(e+=" lenis-smooth"),e}toggleClass(e,t){this.rootElement.classList.toggle(e,t),this.emitter.emit("className change",this)}};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 St={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},yn={duration:.5,overwrite:!1,delay:0},_l,st,ye,Wt=1e8,_e=1/Wt,nl=Math.PI*2,J0=nl/4,em=0,Td=Math.sqrt,tm=Math.cos,rm=Math.sin,He=function(e){return typeof e=="string"},Ae=function(e){return typeof e=="function"},Lr=function(e){return typeof e=="number"},jo=function(e){return typeof e>"u"},_r=function(e){return typeof e=="object"},Ct=function(e){return e!==!1},gl=function(){return typeof window<"u"},zo=function(e){return Ae(e)||He(e)},Ad=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ot=Array.isArray,sl=/(?:-?\.?\d|\.)+/gi,ml=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,zi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Zu=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,vl=/[+-]=-?[.\d]+/,Fd=/[^,'"\[\]\s]+/gi,im=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,be,hr,ol,Dl,Rt={},qo={},Od,Pd=function(e){return(qo=Bi(e,Rt))&&at},$o=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)},Md=function(e,t){return e&&(Rt[e]=t)&&qo&&(qo[e]=t)||Rt},vs=function(){return 0},nm={suppressEvents:!0,isStart:!0,kill:!1},Vo={suppressEvents:!0,kill:!1},sm={suppressEvents:!0},yl={},si=[],al={},kd,Et={},Qu={},Dd=30,Wo=[],xl="",bl=function(e){var t=e[0],r,n;if(_r(t)||Ae(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 Cl(e[n],r)))||e.splice(n,1);return e},oi=function(e){return e._gsap||bl(Ht(e))[0]._gsap},El=function(e,t,r){return(r=e[t])&&Ae(r)?e[t]():jo(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},om=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},Yo=function(){var e=si.length,t=si.slice(0),r,n;for(al={},si.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){si.length&&!st&&Yo(),e.render(t,r,n||st&&t<0&&(e._initted||e._startAt)),si.length&&!st&&Yo()},Rd=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Fd).length<2?t:He(e)?e.trim():e},Nd=function(e){return e},qt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},am=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},yd=function i(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=_r(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},ps=function(e){var t=e.parent||be,r=e.keyframes?am(ot(e.keyframes)):qt;if(Ct(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},um=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},ai=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},lm=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},ul=function(e,t,r,n){return e._startAt&&(st?e._startAt.revert(Vo):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},cm=function i(e){return!e||e._ts&&i(e.parent)},xd=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=Ge(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},Qo=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)),Zo(e),r._dirty||Ri(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>_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}},pr=function(e,t,r,n){return t.parent&&ai(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)),Id(e,t,"_first","_last",e._sort?"_start":0),ll(t)||(e._recent=t),n||Bd(e,t),e._ts<0&&Qo(e,e._tTime),e},zd=function(e,t){return(Rt.ScrollTrigger||$o("scrollTrigger",t))&&Rt.ScrollTrigger.create(t,e)},Vd=function(e,t,r,n,s){if(Al(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!st&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&kd!==wt.frame)return si.push(e),e._lazy=[s,n],1},fm=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},ll=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},dm=function(e,t,r,n){var s=e.ratio,o=t<0||!t&&(!e._start&&fm(e)&&!(!e._initted&&ll(e))||(e._ts<0||e._dp._ts<0)&&!ll(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||st||n||e._zTime===_e||!t&&e._zTime){if(!e._initted&&Vd(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&&ul(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&&ai(e,1),!r&&!st&&(Lt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},hm=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&&Qo(e,e._tTime=e._tDur*a),e.parent&&Zo(e),r||Ri(e.parent,e),e},bd=function(e){return e instanceof Je?Ri(e):bn(e,e._dur)},pm={_start:0,endTime:vs,totalDuration:vs},Vt=function i(e,t,r){var n=e.labels,s=e._recent||pm,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=Ct(u.vars.inherit)&&u.parent;o.immediateRender=Ct(a.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return new ke(t[0],o,t[s+1])},ui=function(e,t){return e||e===0?t(e):t},xs=function(e,t,r){return r<e?e:r>t?t:r},et=function(e,t){return!He(e)||!(t=im.exec(e))?"":t[1]},_m=function(e,t,r){return ui(r,function(n){return xs(e,t,n)})},cl=[].slice,Wd=function(e,t){return e&&_r(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&_r(e[0]))&&!e.nodeType&&e!==hr},gm=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var s;return He(n)&&!t||Wd(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&&(ol||!En())?cl.call((t||Dl).querySelectorAll(e),0):ot(e)?gm(e,r):Wd(e)?cl.call(e,0):e?[e]:[]},fl=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")||Dl.createElement("div"):e)}},Hd=function(e){return e.sort(function(){return .5-Math.random()})},qd=function(e){if(Ae(e))return e;var t=_r(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,E,w,x,S,A;if(!g){if(A=t.grid==="auto"?0:(t.grid||[1,Wt])[1],!A){for(x=-Wt;x<(x=_[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,x=0,S=Wt,w=0;w<h;w++)y=w%A-m,b=v-(w/A|0),g[w]=E=l?Math.abs(l==="y"?b:y):Td(y*y+b*b),E>x&&(x=E),E<S&&(S=E);n==="random"&&Hd(g),g.max=x-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=et(t.amount||t.each)||0,r=r&&h<0?Qd(r):r}return h=(g[p]-g.min)/g.max||0,Ge(g.b+(r?r(h):h)*g.v)+g.u}},dl=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))}},Yd=function(e,t){var r=ot(e),n,s;return!r&&_r(e)&&(n=r=e.radius||Wt,e.values?(e=Ht(e.values),(s=!Lr(e[0]))&&(n*=n)):e=dl(e.increment)),ui(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)}:dl(e))},Ud=function(e,t,r,n){return ui(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})},mm=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)}},vm=function(e,t){return function(r){return e(parseFloat(r))+(t||et(r))}},Dm=function(e,t,r){return Gd(e,t,0,1,r)},Xd=function(e,t,r){return ui(r,function(n){return e[~~t(n)]})},ym=function i(e,t,r){var n=t-e;return ot(e)?Xd(e,i(0,e.length),t):ui(r,function(s){return(n+(s-e)%n)%n+e})},xm=function i(e,t,r){var n=t-e,s=n*2;return ot(e)?Xd(e,i(0,e.length-1),t):ui(r,function(o){return o=(s+(o-e)%s)%s||0,e+(o>n?s-o:o)})},wn=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:sl),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 ui(s,function(u){return r+((u-e)/o*a||0)})},bm=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)Sl.call(a,e,u,"get",t[u]);s=function(_){return Pl(_,a)||(o?e.p:e)}}}return ui(r,s)},Ed=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&&si.length&&Yo(),a&&(ye=a),c=u?s.apply(l,u):s.call(l),ye=o,c},ds=function(e){return ai(e),e.scrollTrigger&&e.scrollTrigger.kill(!!st),e.progress()<1&&Lt(e,"onInterrupt"),e},Dn,jd=[],$d=function(e){if(e)if(e=!e.name&&e.default||e,gl()||e.headless){var t=e.name,r=Ae(e),n=t&&!r&&e.init?function(){this._props=[]}:e,s={init:vs,render:Pl,add:Sl,kill:Bm,modifier:Im,rawVars:0},o={targetTest:0,get:0,getSetter:Jo,aliases:{},register:0};if(En(),e!==n){if(Et[t])return;qt(n,qt(Uo(e,s),o)),Bi(n.prototype,Bi(s,Uo(e,o))),Et[n.prop=t]=n,e.targetTest&&(Wo.push(n),yl[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Md(t,n),e.register&&e.register(at,n,ht)}else jd.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]},Ju=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},Kd=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(sl),!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]=Ju(u+1/3,s,o),n[1]=Ju(u,s,o),n[2]=Ju(u-1/3,s,o);else if(~e.indexOf("="))return n=e.match(ml),r&&n.length<4&&(n[3]=1),n}else n=e.match(sl)||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},Zd=function(e){var t=[],r=[],n=-1;return e.split(kr).forEach(function(s){var o=s.match(zi)||[];t.push.apply(t,o),r.push(n+=o.length+1)}),t.c=r,t},wd=function(e,t,r){var n="",s=(e+n).match(kr),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(kr,"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(kr),d=l.length-1;a<d;a++)n+=l[a]+s[a];return n+l[d]},kr=function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in hs)i+="|"+e+"\\b";return new RegExp(i+")","gi")}(),Em=/hsl[a]?\(/,wl=function(e){var t=e.join(" "),r;if(kr.lastIndex=0,kr.test(t))return r=Em.test(t),e[1]=wd(e[1],r),e[0]=wd(e[0],r,Zd(e[1])),!0},Ds,wt=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,E,w;if((m>e||m<0)&&(r+=m-t),n+=m,E=n-r,y=E-o,(y>0||v)&&(w=++d.frame,p=E-d.time*1e3,d.time=E=E/1e3,o+=y+(y>=s?4:s-y),b=1),v||(u=l(h)),b)for(f=0;f<a.length;f++)a[f](E,p,w,g)};return d={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){Od&&(!ol&&gl()&&(hr=ol=window,Dl=hr.document||{},Rt.gsap=at,(hr.gsapVersions||(hr.gsapVersions=[])).push(at.version),Pd(qo||hr.GreenSockGlobals||!hr.gsap&&hr||{}),jd.forEach($d)),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,E,w,x){g(b,E,w,x),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!Ds&&wt.wake()},le={},wm=/^[\d.\-M][\d.\-,\s]/,Cm=/["']/g,Sm=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},Tm=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)},Am=function(e){var t=(e+"").split("("),r=le[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Sm(t[1])]:Tm(e).split(",").map(Rd)):le._CE&&wm.test(e)?le._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 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]||Am(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},eh=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},el=function i(e,t,r){var n=t>=1?t:1,s=(r||(e?.3:.45))/(t<1?t:1),o=s/nl*(Math.asin(1/n)||0),a=function(c){return c===1?1:n*Math.pow(2,-10*c)*rm((c-o)*s)+1},u=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:eh(a);return s=nl/s,u.config=function(l,c){return i(e,l,c)},u},tl=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};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",el("in"),el("out"),el());(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-(Td(1-i*i)-1)});Wi("Sine",function(i){return i===1?1:-tm(i*J0)+1});Wi("Back",tl("in"),tl("out"),tl());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*xs(0,o,a)|0)+s)*r}}};yn.ease=le["quad.out"];dt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return xl+=i+","+i+"Params,"});var Cl=function(e,t){this.id=em++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:El,this.set=t?t.getSetter:Jo},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||wt.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)&&pr(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),Ld(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+xd(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)+xd(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===-_e?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===-_e?0:this._rts,this.totalTime(xs(-Math.abs(this._delay),this._tDur,s),n!==!1),Zo(this),lm(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)!==_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)&&pr(n,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Ct(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=sm);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,bd(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,bd(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),Ct(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,Ct(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:Nd,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=Ct(r.sortChildren),be&&pr(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 _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 ke(n,s,Vt(this,o),1),this},t.call=function(n,s,o){return pr(this,ke.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 ke(n,o,Vt(this,u)),this},t.staggerFrom=function(n,s,o,a,u,l,c){return o.runBackwards=1,ps(o).immediateRender=Ct(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=Ct(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,E,w,x;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(w=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)),E=xn(this._tTime,g),!a&&this._tTime&&E!==h&&this._tTime-E*g-this._dur<=0&&(E=h),w&&h&1&&(p=l-p,x=1),h!==E&&!this._lock){var S=w&&E&1,A=S===(w&&h&1);if(h<E&&(S=!S),a=S?0:c%l?l:c,this._lock=1,this.render(a||(x?0:Ge(h*g)),s,!l)._lock=0,this._tTime=c,!s&&this.parent&&Lt(this,"onRepeat"),this.vars.repeatRefresh&&!x&&(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&&!x&&this.invalidate()),this._lock=0,!this._ts&&!m)return this;Jd(this,x)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=hm(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 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||st&&(f._initted||f._startAt)),p!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=C?-_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,Zo(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)&&ai(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=ke.delayedCall(0,n);else return this}return this!==n?pr(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 ke?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):(Ko(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(wt.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=ke.delayedCall(0,s||vs,o);return a.data="isPause",this._hasPause=1,pr(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"&&ai(s),s=s._next},t.killTweensOf=function(n,s,o){for(var a=this.getTweensOf(n,o),u=a.length;u--;)ni!==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 ke?om(u._targets,a)&&(l?(!ni||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,_=ke.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),Ed(this,Vt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),Ed(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,pr(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)),kd=wt.frame),wt.frame>=Dd){Dd+=St.autoSleep||120;var s=be._first;if((!s||!s._ts)&&St.autoSleep&&wt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||wt.sleep()}}},e}(ys);qt(Je.prototype,{_lock:0,_hasPause:0,_forcing:0});var Fm=function(e,t,r,n,s,o,a){var u=new ht(this._pt,e,t,0,1,Ol,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=wn(n)),o&&(v=[r,n],o(v,e,t),r=v[0],n=v[1]),p=r.match(Zu)||[];d=Zu.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=Zu.lastIndex);return u.c=l<n.length?n.substring(l,n.length):"",u.fp=a,(vl.test(n)||m)&&(u.e=0),this._pt=u,u},Sl=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?Lm:ih:Fl,_;if(He(n)&&(~n.indexOf("random(")&&(n=wn(n)),n.charAt(1)==="="&&(_=Vi(p,n)+(et(p)||0),(_||_===0)&&(n=_))),!c||p!==n||hl)return!isNaN(p*n)&&n!==""?(_=new ht(this._pt,e,t,+p||0,n-(p||0),typeof d=="boolean"?Nm:nh,0,f),l&&(_.fp=l),a&&_.modifier(a,this,e),this._pt=_):(!d&&!(t in e)&&$o(t,n),Fm.call(this,e,t,p,n,f,u||St.stringFilter,l))},Om=function(e,t,r,n,s){if(Ae(e)&&(e=gs(e,s,t,r,n)),!_r(e)||e.style&&e.nodeType||ot(e)||Ad(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},Tl=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]:Om(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},ni,hl,Al=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"&&!_l,b=e.timeline,E,w,x,S,A,C,O,F,M,I,z,L,R;if(b&&(!p||!s)&&(s="none"),e._ease=Ni(s,yn.ease),e._yEase=d?Qd(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]?oi(g[0]).harness:0,L=F&&n[F.prop],E=Uo(n,yl),h&&(h._zTime<0&&h.progress(1),t<0&&c&&a&&!f?h.render(-1,!0):h.revert(c&&_?Vo:nm),h._lazy=0),o){if(ai(e._startAt=ke.set(g,qt({data:"isStart",overwrite:!1,parent:m,immediateRender:!0,lazy:!h&&Ct(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(Vo),a&&_&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(c&&_&&!h){if(t&&(a=!1),x=qt({overwrite:!1,data:"isFromStart",lazy:a&&!h&&Ct(u),immediateRender:a,stagger:0,parent:m},E),L&&(x[F.prop]=L),ai(e._startAt=ke.set(g,x)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(st?e._startAt.revert(Vo):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=_&&Ct(u)||u&&!_,w=0;w<g.length;w++){if(A=g[w],O=A._gsap||bl(g)[w]._gsap,e._ptLookup[w]=I={},al[O.id]&&si.length&&Yo(),z=v===g?w:v.indexOf(A),F&&(M=new F).init(A,L||E,e,z,v)!==!1&&(e._pt=S=new ht(e._pt,A,M.name,0,1,M.render,M,0,M.priority),M._props.forEach(function(V){I[V]=S}),M.priority&&(C=1)),!F||L)for(x in E)Et[x]&&(M=Tl(x,E,e,z,A,v))?M.priority&&(C=1):I[x]=S=Sl.call(e,A,x,"get",E[x],z,v,0,n.stringFilter);e._op&&e._op[w]&&e.kill(A,e._op[w]),y&&e._pt&&(ni=e,be.killTweensOf(A,I,e.globalTime(t)),R=!e.parent,ni=0),e._pt&&u&&(al[O.id]=1)}C&&Ml(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!R,p&&t<=0&&b.render(Wt,!0,!0)},Pm=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 hl=1,e.vars[t]="+=0",Al(e,a),hl=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]?oi(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},km=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(")?wn(e):e},th=xl+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",rh={};dt(th+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return rh[i]=1});var ke=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)||Ad(r)?Lr(r[0]):"length"in n)?[r]:Ht(r),b,E,w,x,S,A,C,O;if(a._targets=y.length?bl(y):ms("GSAP target "+r+" not found. https://gsap.com",!St.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,_||p||zo(l)||zo(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=Mr(a),b._start=0,p||zo(l)||zo(c)){if(x=y.length,C=p&&qd(p),_r(p))for(S in p)~th.indexOf(S)&&(O||(O={}),O[S]=p[S]);for(E=0;E<x;E++)w=Uo(n,rh),w.stagger=0,m&&(w.yoyoEase=m),O&&Bi(w,O),A=y[E],w.duration=+gs(l,Mr(a),E,A,y),w.delay=(+gs(c,Mr(a),E,A,y)||0)-a._delay,!p&&x===1&&w.delay&&(a._delay=c=w.delay,a._start+=c,w.delay=0),b.to(A,w,C?C(E,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,M,I,z;if(ot(_))_.forEach(function(L){return b.to(y,L,">")}),b.duration();else{w={};for(S in _)S==="ease"||S==="easeEach"||km(S,_[S],w,_.easeEach);for(S in w)for(M=w[S].sort(function(L,R){return L.t-R.t}),F=0,E=0;E<M.length;E++)I=M[E],z={ease:I.e,duration:(I.t-(E?M[E-1].t:0))/100*l},z[S]=I.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&&!_l&&(ni=Mr(a),be.killTweensOf(y),ni=0),pr(v,Mr(a),s),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(d||!l&&!_&&a._start===Ge(v._time)&&Ct(d)&&cm(Mr(a))&&v.data!=="nested")&&(a._tTime=-_e,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-_e&&!c?u:n<_e?0:n,p,f,_,h,g,m,v,y,b;if(!l)dm(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=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(Ge(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=(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&&ul(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&&ul(this,n,!0,!0),(n||!l)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&ai(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||wt.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||Al(this,l),c=this._ease(l/this._dur),Pm(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?ds(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,ni&&ni.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")&&um(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)&&Ko(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(ke.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});dt("staggerTo,staggerFrom,staggerFromTo",function(i){ke[i]=function(){var e=new Je,t=cl.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var Fl=function(e,t,r){return e[t]=r},ih=function(e,t,r){return e[t](r)},Lm=function(e,t,r,n){return e[t](n.fp,r)},Rm=function(e,t,r){return e.setAttribute(t,r)},Jo=function(e,t){return Ae(e[t])?ih:jo(e[t])&&e.setAttribute?Rm:Fl},nh=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Nm=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Ol=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)},Pl=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Im=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},Bm=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},zm=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Ml=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||nh,this.d=u||this,this.set=l||Fl,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=zm,this.m=r,this.mt=s,this.tween=n},i}();dt(xl+"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 yl[i]=1});Rt.TweenMax=Rt.TweenLite=ke;Rt.TimelineLite=Rt.TimelineMax=Je;be=new Je({sortChildren:!1,defaults:yn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});St.stringFilter=wl;var Ii=[],Ho={},Vm=[],Cd=0,Wm=0,rl=function(e){return(Ho[e]||Vm).map(function(t){return t()})},pl=function(){var e=Date.now(),t=[];e-Cd>2&&(rl("matchMediaInit"),Ii.forEach(function(r){var n=r.queries,s=r.conditions,o,a,u,l;for(a in n)o=hr.matchMedia(n[a]).matches,o&&(u=1),o!==s[a]&&(s[a]=o,l=1);l&&(r.revert(),u&&t.push(r))}),rl("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),Cd=e,rl("matchMedia"))},sh=function(){function i(t,r){this.selector=r&&fl(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Wm++,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=fl(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 ke&&!(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 ke)&&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}(),Hm=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){_r(r)||(r={matches:r});var o=new sh(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=hr.matchMedia(r[l]),u&&(Ii.indexOf(o)<0&&Ii.push(o),(a[l]=u.matches)&&(c=1),u.addListener?u.addListener(pl):u.addEventListener("change",pl)));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 $d(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=oi(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=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=Et[t],a=oi(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&&Pl(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)),yd(yn,e||{})},config:function(e){return yd(St,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]&&!Rt[a]&&ms(t+" effect requires "+a+" plugin.")}),Qu[t]=function(a,u,l){return r(Ht(a),qt(u||{},s),l)},o&&(Je.prototype[t]=function(a,u,l){return this.add(Qu[t](a,_r(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=Ct(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 ke&&n.vars.onComplete===n._targets[0]))&&pr(r,n,n._start-n._delay),n=s;return pr(be,r,0),r},context:function(e,t){return e?new sh(e,t):ye},matchMedia:function(e){return new Hm(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()})||pl()},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:ym,wrapYoyo:xm,distribute:qd,random:Ud,snap:Yd,normalize:Dm,getUnit:et,clamp:_m,splitColor:Kd,toArray:Ht,selector:fl,mapRange:Gd,pipe:mm,unitize:vm,interpolate:bm,shuffle:Hd},install:Pd,effects:Qu,ticker:wt,updateRoot:Je.updateRoot,plugins:Et,globalTimeline:be,core:{PropTween:ht,globals:Md,Tween:ke,Timeline:Je,Animation:ys,getCache:oi,_removeLinkedListItem:Ko,reverting:function(){return st},context:function(e){return e&&ye&&(ye.data.push(e),e._ctx=ye),ye},suppressOverwrites:function(e){return _l=e}}};dt("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return Go[i]=ke[i]});wt.add(Je.updateRoot);Dn=Go.to({},{duration:0});var qm=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Ym=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=qm(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[s],n))},il=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}Ym(a,s)}}}},at=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;)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)}},il("roundProps",dl),il("modifiers"),il("snap",Yd))||Go;ke.version=Je.version=at.version="3.12.5";Od=1;gl()&&En();var Um=le.Power0,Xm=le.Power1,Gm=le.Power2,jm=le.Power3,$m=le.Power4,Km=le.Linear,Zm=le.Quad,Qm=le.Cubic,Jm=le.Quart,ev=le.Quint,tv=le.Strong,rv=le.Elastic,iv=le.Back,nv=le.SteppedEase,sv=le.Bounce,ov=le.Sine,av=le.Expo,uv=le.Circ;var oh,li,Sn,zl,Ui,lv,ah,Vl,cv=function(){return typeof window<"u"},Nr={},Yi=180/Math.PI,Tn=Math.PI/180,Cn=Math.atan2,uh=1e8,Wl=/([A-Z])/g,fv=/(left|right|width|margin|padding|x)/i,dv=/[\s,\(]\S/,gr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Rl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},hv=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)},pv=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)},_v=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)},gv=function(e,t,r){return e.style[t]=r},mv=function(e,t,r){return e.style.setProperty(t,r)},vv=function(e,t,r){return e._gsap[t]=r},Dv=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},yv=function(e,t,r,n,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},xv=function(e,t,r,n,s){var o=e._gsap;o[t]=r,o.renderTransform(s,o)},Ee="transform",Tt=Ee+"Origin",bv=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=gr[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 gr.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(Tt,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"))},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(Wl,"-$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=Vl(),(!s||!s.isStart)&&!r[Ee]&&(mh(r),n.zOrigin&&r[Tt]&&(r[Tt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},vh=function(e,t){var r={target:e,props:[],revert:Ev,save:bv};return e._gsap||at.core.getCache(e),t&&t.split(",").forEach(function(n){return r.save(n)}),r},Dh,Nl=function(e,t){var r=li.createElementNS?li.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):li.createElement(e);return r&&r.style?r:li.createElement(e)},mr=function i(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(Wl,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&i(e,An(t)||t,1)||""},lh="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--&&!(lh[o]+e in s););return o<0?null:(o===3?"ms":o>=0?lh[o]:"")+e},Il=function(){cv()&&window.document&&(oh=window,li=oh.document,Sn=li.documentElement,Ui=Nl("div")||{style:{}},lv=Nl("div"),Ee=An(Ee),Tt=Ee+"Origin",Ui.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Dh=!!An("perspective"),Vl=at.core.reverting,zl=1)},kl=function i(e){var t=Nl("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(Sn.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)),Sn.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=kl.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===kl||(t=kl.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},xh=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&yh(e))},Xi=function(e,t){if(t){var r=e.style,n;t in Nr&&t!==Tt&&(t=Ee),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(Wl,"-$1").toLowerCase())):r.removeAttribute(t)}},ci=function(e,t,r,n,s,o){var a=new ht(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},wv={grid:1,flex:1},fi=function i(e,t,r,n){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=Ui.style,u=fv.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&&xh(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===li||!h.appendChild)&&(h=li.body),g=h._gsap,g&&f&&g.width&&u&&g.time===wt.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==="%")&&!wv[mr(h,"display")]&&(a.position=mr(e,"position")),h===e&&(a.position="static"),h.appendChild(Ui),_=Ui[c],h.removeChild(Ui),a.position="absolute";return u&&f&&(g=oi(h),g.time=wt.time,g.width=h[c]),Fe(p?_*s/d:_&&s?d/_*s:0)},Rr=function(e,t,r,n){var s;return zl||Il(),t in gr&&t!=="transform"&&(t=gr[t],~t.indexOf(",")&&(t=t.split(",")[0])),Nr[t]&&t!=="transform"?(s=ws(e,n),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:ta(mr(e,Tt))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=ea[t]&&ea[t](e,t,r)||mr(e,t)||El(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?fi(e,t,s,r)+r:s},Cv=function(e,t,r,n){if(!r||r==="none"){var s=An(t,e,1),o=s&&mr(e,s,1);o&&o!==r?(t=s,r=o):t==="borderColor"&&(r=mr(e,"borderTopColor"))}var a=new ht(this._pt,e.style,t,0,1,Ol),u=0,l=0,c,d,p,f,_,h,g,m,v,y,b,E;if(a.b=r,a.e=n,r+="",n+="",n==="auto"&&(h=e.style[t],e.style[t]=n,n=mr(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)||[],E=n.match(zi)||[],E.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||St.units[t]||b,u===n.length&&(n+=y,a.e+=y)),b!==y&&(f=fi(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 vl.test(n)&&(a.e=0),this._pt=a,a},dh={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Sv=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(" ")},Tv=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:Ee),Xi(r,a);u&&(Xi(r,Ee),o&&(o.svg&&r.removeAttribute("transform"),ws(r,1),o.uncache=1,mh(n)))}},ea={clearProps:function(e,t,r,n,s){if(s.data!=="isFromStart"){var o=e._pt=new ht(e._pt,t,r,0,0,Tv);return o.u=n,o.pr=-10,o.tween=s,e._props.push(r),1}}},Es=[1,0,0,1,0,0],bh={},Eh=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},hh=function(e){var t=mr(e,Ee);return Eh(t)?Es:t.substr(7).match(ml).map(Fe)},Hl=function(e,t){var r=e._gsap||oi(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!==Sn&&!r.svg&&(u=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent)&&(l=1,a=e.nextElementSibling,Sn.appendChild(e)),s=hh(e),u?n.display=u:Xi(e,"display"),l&&(a?o.insertBefore(e,a):o?o.appendChild(e):Sn.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Bl=function(e,t,r,n,s,o){var a=e._gsap,u=s||Hl(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,E=parseFloat(y[1])||0,w,x,S,A;r?u!==Es&&(x=f*g-_*h)&&(S=b*(g/x)+E*(-h/x)+(h*v-g*m)/x,A=b*(-_/x)+E*(f/x)-(f*v-_*m)/x,b=S,E=A):(w=yh(e),b=w.x+(~y[0].indexOf("%")?b/100*w.width:b),E=w.y+(~(y[1]||y[0]).indexOf("%")?E/100*w.height:E)),n||n!==!1&&a.smooth?(m=b-l,v=E-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=E,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!r,e.style[Tt]="0px 0px",o&&(ci(o,a,"xOrigin",l,b),ci(o,a,"yOrigin",c,E),ci(o,a,"xOffset",d,a.xOffset),ci(o,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",b+" "+E)},ws=function(e,t){var r=e._gsap||new Cl(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=mr(e,Tt)||"0",c,d,p,f,_,h,g,m,v,y,b,E,w,x,S,A,C,O,F,M,I,z,L,R,V,T,D,k,Y,te,U,X;return c=d=p=h=g=m=v=y=b=0,f=_=1,r.svg=!!(e.getCTM&&xh(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"),x=Hl(e,r.svg),r.svg&&(r.uncache?(V=e.getBBox(),l=r.xOrigin-V.x+"px "+(r.yOrigin-V.y)+"px",R=""):R=!t&&e.getAttribute("data-svg-origin"),Bl(e,R||l,!!R||r.originIsAbsolute,r.smooth!==!1,x)),E=r.xOrigin||0,w=r.yOrigin||0,x!==Es&&(O=x[0],F=x[1],M=x[2],I=x[3],c=z=x[4],d=L=x[5],x.length===6?(f=Math.sqrt(O*O+F*F),_=Math.sqrt(I*I+M*M),h=O||F?Cn(F,O)*Yi:0,v=M||I?Cn(M,I)*Yi+h:0,v&&(_*=Math.abs(Math.cos(v*Tn))),r.svg&&(c-=E-(E*O+w*M),d-=w-(E*F+w*I))):(X=x[6],te=x[7],D=x[8],k=x[9],Y=x[10],U=x[11],c=x[12],d=x[13],p=x[14],S=Cn(X,Y),g=S*Yi,S&&(A=Math.cos(-S),C=Math.sin(-S),R=z*A+D*C,V=L*A+k*C,T=X*A+Y*C,D=z*-C+D*A,k=L*-C+k*A,Y=X*-C+Y*A,U=te*-C+U*A,z=R,L=V,X=T),S=Cn(-M,Y),m=S*Yi,S&&(A=Math.cos(-S),C=Math.sin(-S),R=O*A-D*C,V=F*A-k*C,T=M*A-Y*C,U=I*C+U*A,O=R,F=V,M=T),S=Cn(F,O),h=S*Yi,S&&(A=Math.cos(S),C=Math.sin(S),R=O*A+F*C,V=z*A+L*C,F=F*A-O*C,L=L*A-z*C,O=R,z=V),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,m=180-m),f=Fe(Math.sqrt(O*O+F*F+M*M)),_=Fe(Math.sqrt(L*L+X*X)),S=Cn(z,L),v=Math.abs(S)>2e-4?S*Yi:0,b=U?1/(U<0?-U:U):0),r.svg&&(R=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Eh(mr(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=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]=ta(l)),r.xOffset=r.yOffset=0,r.force3D=St.force3D,r.renderTransform=r.svg?Fv:Dh?wh:Av,r.uncache=0,r},ta=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ll=function(e,t,r){var n=et(t);return Fe(parseFloat(t)+parseFloat(fi(e,"x",r+"px",n)))+n},Av=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,wh(e,t)},Hi="0deg",bs="0px",qi=") ",wh=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="",E=m==="auto"&&e&&e!==1||m===!0;if(y&&(d!==Hi||c!==Hi)){var w=parseFloat(c)*Tn,x=Math.sin(w),S=Math.cos(w),A;w=parseFloat(d)*Tn,A=Math.cos(w),o=Ll(v,o,x*A*-y),a=Ll(v,a,-Math.sin(w)*-y),u=Ll(v,u,S*A*-y+y)}g!==bs&&(b+="perspective("+g+qi),(n||s)&&(b+="translate("+n+"%, "+s+"%) "),(E||o!==bs||a!==bs||u!==bs)&&(b+=u!==bs||E?"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[Ee]=b||"translate(0, 0)"},Fv=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),E,w,x,S,A;u=parseFloat(u),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,u+=c),u||l?(u*=Tn,l*=Tn,E=Math.cos(u)*d,w=Math.sin(u)*d,x=Math.sin(u-l)*-p,S=Math.cos(u-l)*p,l&&(c*=Tn,A=Math.tan(l-c),A=Math.sqrt(1+A*A),x*=A,S*=A,c&&(A=Math.tan(c),A=Math.sqrt(1+A*A),E*=A,w*=A)),E=Fe(E),w=Fe(w),x=Fe(x),S=Fe(S)):(E=d,S=p,w=x=0),(y&&!~(o+"").indexOf("px")||b&&!~(a+"").indexOf("px"))&&(y=fi(f,"x",o,"px"),b=fi(f,"y",a,"px")),(_||h||g||m)&&(y=Fe(y+_-(_*E+h*x)+g),b=Fe(b+h-(_*w+h*S)+m)),(n||s)&&(A=f.getBBox(),y=Fe(y+n/100*A.width),b=Fe(b+s/100*A.height)),A="matrix("+E+","+w+","+x+","+S+","+y+","+b+")",f.setAttribute("transform",A),v&&(f.style[Ee]=A)},Ov=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*uh)%o-~~(l/o)*o:d==="ccw"&&l>0&&(l=(l-o*uh)%o-~~(l/o)*o)),e._pt=p=new ht(e._pt,t,r,n,l,hv),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},Pv=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=ws(r,1),Xi(r,Ee),r.setAttribute("transform",l)):(l=getComputedStyle(r)[Ee],o[Ee]=t,a=ws(r,1),o[Ee]=l);for(u in Nr)l=n[u],c=a[u],l!==c&&s.indexOf(u)<0&&(f=et(l),_=et(c),d=f!==_?fi(r,u,l,_):parseFloat(l),p=parseFloat(c),e._pt=new ht(e._pt,a,u,d,p-d,Rl),e._pt.u=_||0,e._props.push(u));ph(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});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 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 ql={name:"css",register:Il,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,E,w,x,S;zl||Il(),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]&&Tl(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=wn(c)),_)_(this,e,h,c,r)&&(x=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(h)+"").trim(),c+="",kr.lastIndex=0,kr.test(l)||(g=et(l),m=et(c)),m?g!==m&&(l=fi(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],He(l)&&~l.indexOf("random(")&&(l=wn(l)),et(l+"")||l==="auto"||(l+=St.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 gr&&(h==="autoAlpha"&&(p===1&&Rr(e,"visibility")==="hidden"&&d&&(p=0),S.push("visibility",0,a.visibility),ci(this,a,"visibility",p?"inherit":"hidden",d?"inherit":"hidden",!d)),h!=="scale"&&h!=="transform"&&(h=gr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),y=h in Nr,y){if(this.styles.save(h),b||(E=e._gsap,E.renderTransform&&!t.parseTransform||ws(e,t.parseTransform),w=t.smoothOrigin!==!1&&E.smooth,b=this._pt=new ht(this._pt,a,Ee,0,1,E.renderTransform,E,0,-1),b.dep=1),h==="scale")this._pt=new ht(this._pt,E,"scaleY",E.scaleY,(v?Vi(E.scaleY,v+d):d)-E.scaleY||0,Rl),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){S.push(Tt,0,a[Tt]),c=Sv(c),E.svg?Bl(e,c,0,w,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==E.zOrigin&&ci(this,E,"zOrigin",E.zOrigin,m),ci(this,a,h,ta(l),ta(c)));continue}else if(h==="svgOrigin"){Bl(e,c,1,w,0,this);continue}else if(h in bh){Ov(this,E,h,p,v?Vi(p,v+c):c);continue}else if(h==="smoothOrigin"){ci(this,E,"smooth",E.smooth,c);continue}else if(h==="force3D"){E[h]=c;continue}else if(h==="transform"){Pv(this,c,e);continue}}else h in a||(h=An(h)||h);if(y||(d||d===0)&&(p||p===0)&&!dv.test(c)&&h in a)g=(l+"").substr((p+"").length),d||(d=0),m=et(c)||(h in St.units?St.units[h]:g),g!==m&&(p=fi(e,h,l,m)),this._pt=new ht(this._pt,y?E:a,h,p,(v?Vi(p,v+d):d)-p,!y&&(m==="px"||h==="zIndex")&&t.autoRound!==!1?_v:Rl),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=l,this._pt.r=pv);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"){$o(h,c);continue}y||(h in a?S.push(h,0,a[h]):S.push(h,1,l||e[h])),o.push(h)}}x&&Ml(this)},render:function(e,t){if(t.tween._time||!Vl())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Rr,aliases:gr,getSetter:function(e,t,r){var n=gr[t];return n&&n.indexOf(",")<0&&(t=n),t in Nr&&t!==Tt&&(e._gsap.x||Rr(e,"x"))?r&&ah===r?t==="scale"?Dv:vv:(ah=r||{})&&(t==="scale"?yv:xv):e.style&&!jo(e.style[t])?gv:~t.indexOf("-")?mv:Jo(e,t)},core:{_removeProperty:Xi,_getMatrix:Hl}};at.utils.checkPrefix=An;at.core.getStyleSaver=vh;(function(i,e,t,r){var n=dt(i+","+e+","+t,function(s){Nr[s]=1});dt(e,function(s){St.units[s]="deg",bh[s]=1}),gr[n[13]]=i+","+e,dt(r,function(s){var o=s.split(":");gr[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){St.units[i]="px"});at.registerPlugin(ql);var $=at.registerPlugin(ql)||at,d1=$.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 Mv(i,e,t){return e&&Ch(i.prototype,e),t&&Ch(i,t),i}var tt,na,kv,Nt,di,hi,On,Th,Gi,Ss,Ah,Ir,ir,Fh,Oh=function(){return tt||typeof window<"u"&&(tt=window.gsap)&&tt.registerPlugin&&tt},Ph=1,Fn=[],se=[],nr=[],Ts=Date.now,Yl=function(e,t){return t},Lv=function(){var e=Ss.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,se),n.push.apply(n,nr),se=r,nr=n,Yl=function(o,a){return t[o](a)}},zr=function(e,t){return~nr.indexOf(e)&&nr[nr.indexOf(e)+1][t]},As=function(e){return!!~Ah.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)},ra="scrollLeft",ia="scrollTop",Ul=function(){return Ir&&Ir.isPressed||se.cache++},sa=function(e,t){var r=function n(s){if(s||s===0){Ph&&(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&&Yl("ss",s)}else(t||se.cache!==n.cacheID||Yl("ref"))&&(n.cacheID=se.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},ut={s:ra,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:sa(function(i){return arguments.length?Nt.scrollTo(i,Ie.sc()):Nt.pageXOffset||di[ra]||hi[ra]||On[ra]||0})},Ie={s:ia,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:ut,sc:sa(function(i){return arguments.length?Nt.scrollTo(ut.sc(),i):Nt.pageYOffset||di[ia]||hi[ia]||On[ia]||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=di.scrollingElement||hi);var s=se.indexOf(e),o=n===Ie.sc?1:2;!~s&&(s=se.push(e)-1),se[s+o]||_t(e,"scroll",Ul);var a=se[s+o],u=a||(se[s+o]=sa(zr(e,r),!0)||(As(e)?n:sa(function(l){return arguments.length?e[r]=l:e[r]})));return u.target=e,a||(u.smooth=tt.getProperty(e,"scrollBehavior")==="smooth"),u},oa=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}},Cs=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},Mh=function(){Ss=tt.core.globals().ScrollTrigger,Ss&&Ss.core&&Lv()},kh=function(e){return tt=e||Oh(),!na&&tt&&typeof document<"u"&&document.body&&(Nt=window,di=document,hi=di.documentElement,On=di.body,Ah=[Nt,di,hi,On],kv=tt.utils.clamp,Fh=tt.core.context||function(){},Gi="onpointerenter"in On?"pointer":"mouse",Th=Oe.isTouch=Nt.matchMedia&&Nt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Nt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,ir=Oe.eventTypes=("ontouchstart"in hi?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in hi?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Ph=0},500),Mh(),na=1),na};ut.op=Ie;se.cache=0;var Oe=function(){function i(t){this.init(t)}var e=i.prototype;return e.init=function(r){na||kh(tt)||console.warn("Please gsap.registerPlugin(Observer)"),Ss||Mh();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,E=r.onRight,w=r.onLeft,x=r.onUp,S=r.onDown,A=r.onChangeX,C=r.onChangeY,O=r.onChange,F=r.onToggleX,M=r.onToggleY,I=r.onHover,z=r.onHoverEnd,L=r.onMove,R=r.ignoreCheck,V=r.isNormalizer,T=r.onGestureStart,D=r.onGestureEnd,k=r.onWheel,Y=r.onEnable,te=r.onDisable,U=r.onClick,X=r.scrollSpeed,N=r.capture,q=r.allowClicks,fe=r.lockAxis,ie=r.onLockAxis;this.target=a=gt(a)||hi,this.vars=r,f&&(f=tt.utils.toArray(f)),n=n||1e-9,s=s||0,_=_||1,X=X||1,o=o||"wheel,touch,pointer",l=l!==!1,u||(u=parseFloat(Nt.getComputedStyle(On).lineHeight)||22);var ne,Ke,bt,B,K,Se,ze,P=this,Mt=0,Tr=0,$r=r.passive||!c,Le=Br(a,ut),Kr=Br(a,Ie),wi=Le(),cn=Kr(),Ue=~o.indexOf("touch")&&!~o.indexOf("pointer")&&ir[0]==="pointerdown",Zr=As(a),Pe=a.ownerDocument||di,Kt=[0,0,0],zt=[0,0,0],Ar=0,Kn=function(){return Ar=Ts()},Re=function(j,de){return(P.event=j)&&f&&~f.indexOf(j.target)||de&&Ue&&j.pointerType!=="touch"||R&&R(j,de)},_o=function(){P._vx.reset(),P._vy.reset(),Ke.pause(),d&&d(P)},Qr=function(){var j=P.deltaX=Sh(Kt),de=P.deltaY=Sh(zt),W=Math.abs(j)>=n,ee=Math.abs(de)>=n;O&&(W||ee)&&O(P,j,de,Kt,zt),W&&(E&&P.deltaX>0&&E(P),w&&P.deltaX<0&&w(P),A&&A(P),F&&P.deltaX<0!=Mt<0&&F(P),Mt=P.deltaX,Kt[0]=Kt[1]=Kt[2]=0),ee&&(S&&P.deltaY>0&&S(P),x&&P.deltaY<0&&x(P),C&&C(P),M&&P.deltaY<0!=Tr<0&&M(P),Tr=P.deltaY,zt[0]=zt[1]=zt[2]=0),(B||bt)&&(L&&L(P),bt&&(v(P),bt=!1),B=!1),Se&&!(Se=!1)&&ie&&ie(P),K&&(k(P),K=!1),ne=0},fn=function(j,de,W){Kt[W]+=j,zt[W]+=de,P._vx.update(j),P._vy.update(de),l?ne||(ne=requestAnimationFrame(Qr)):Qr()},dn=function(j,de){fe&&!ze&&(P.axis=ze=Math.abs(j)>Math.abs(de)?"x":"y",Se=!0),ze!=="y"&&(Kt[2]+=j,P._vx.update(j,!0)),ze!=="x"&&(zt[2]+=de,P._vy.update(de,!0)),l?ne||(ne=requestAnimationFrame(Qr)):Qr()},Jr=function(j){if(!Re(j,1)){j=Cs(j,c);var de=j.clientX,W=j.clientY,ee=de-P.x,G=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,G),Q||g&&g(P))}},Ci=P.onPress=function(J){Re(J,1)||J&&J.button||(P.axis=ze=null,Ke.pause(),P.isPressed=!0,J=Cs(J),Mt=Tr=0,P.startX=P.x=J.clientX,P.startY=P.y=J.clientY,P._vx.reset(),P._vy.reset(),_t(V?a:Pe,ir[1],Jr,$r,!0),P.deltaX=P.deltaY=0,y&&y(P))},ae=P.onRelease=function(J){if(!Re(J,1)){pt(V?a:Pe,ir[1],Jr,!0);var j=!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=Cs(J);!W&&j&&(P._vx.reset(),P._vy.reset(),c&&q&&tt.delayedCall(.08,function(){if(Ts()-Ar>300&&!J.defaultPrevented){if(J.target.click)J.target.click();else if(Pe.createEvent){var G=Pe.createEvent("MouseEvents");G.initMouseEvent("click",!0,!0,Nt,1,ee.screenX,ee.screenY,ee.clientX,ee.clientY,!1,!1,!1,!1,0,null),J.target.dispatchEvent(G)}}})),P.isDragging=P.isGesturing=P.isPressed=!1,d&&de&&!V&&Ke.restart(!0),m&&de&&m(P),b&&b(P,W)}},Si=function(j){return j.touches&&j.touches.length>1&&(P.isGesturing=!0)&&T(j,P.isDragging)},Zt=function(){return(P.isGesturing=!1)||D(P)},Qt=function(j){if(!Re(j)){var de=Le(),W=Kr();fn((de-wi)*X,(W-cn)*X,1),wi=de,cn=W,d&&Ke.restart(!0)}},Jt=function(j){if(!Re(j)){j=Cs(j,c),k&&(K=!0);var de=(j.deltaMode===1?u:j.deltaMode===2?Nt.innerHeight:1)*_;fn(j.deltaX*de,j.deltaY*de,0),d&&!V&&Ke.restart(!0)}},Ti=function(j){if(!Re(j)){var de=j.clientX,W=j.clientY,ee=de-P.x,G=W-P.y;P.x=de,P.y=W,B=!0,d&&Ke.restart(!0),(ee||G)&&dn(ee,G)}},hn=function(j){P.event=j,I(P)},Fr=function(j){P.event=j,z(P)},Zn=function(j){return Re(j)||Cs(j,c)&&U(P)};Ke=P._dc=tt.delayedCall(p||.25,_o).pause(),P.deltaX=P.deltaY=0,P._vx=oa(0,50,!0),P._vy=oa(0,50,!0),P.scrollX=Le,P.scrollY=Kr,P.isDragging=P.isGesturing=P.isPressed=!1,Fh(this),P.enable=function(J){return P.isEnabled||(_t(Zr?Pe:a,"scroll",Ul),o.indexOf("scroll")>=0&&_t(Zr?Pe:a,"scroll",Qt,$r,N),o.indexOf("wheel")>=0&&_t(a,"wheel",Jt,$r,N),(o.indexOf("touch")>=0&&Th||o.indexOf("pointer")>=0)&&(_t(a,ir[0],Ci,$r,N),_t(Pe,ir[2],ae),_t(Pe,ir[3],ae),q&&_t(a,"click",Kn,!0,!0),U&&_t(a,"click",Zn),T&&_t(Pe,"gesturestart",Si),D&&_t(Pe,"gestureend",Zt),I&&_t(a,Gi+"enter",hn),z&&_t(a,Gi+"leave",Fr),L&&_t(a,Gi+"move",Ti)),P.isEnabled=!0,J&&J.type&&Ci(J),Y&&Y(P)),P},P.disable=function(){P.isEnabled&&(Fn.filter(function(J){return J!==P&&As(J.target)}).length||pt(Zr?Pe:a,"scroll",Ul),P.isPressed&&(P._vx.reset(),P._vy.reset(),pt(V?a:Pe,ir[1],Jr,!0)),pt(Zr?Pe:a,"scroll",Qt,N),pt(a,"wheel",Jt,N),pt(a,ir[0],Ci,N),pt(Pe,ir[2],ae),pt(Pe,ir[3],ae),pt(a,"click",Kn,!0),pt(a,"click",Zn),pt(Pe,"gesturestart",Si),pt(Pe,"gestureend",Zt),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),V&&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]};Oh()&&tt.registerPlugin(Oe);var H,kn,ce,we,sr,ve,Zh,ba,Ws,Rs,Os,aa,lt,Sa,Jl,vt,Lh,Rh,Ln,Qh,Xl,Jh,mt,ec,ep,tp,pi,tc,oc,Rn,ac,Ea,rc,Gl,ua=1,ct=Date.now,jl=ct(),Xt=0,Ps=0,Nh=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},Ih=function(e,t){return t&&(!Bt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Rv=function i(){return Ps&&requestAnimationFrame(i)},Bh=function(){return Sa=1},zh=function(){return Sa=0},vr=function(e){return e},Ms=function(e){return Math.round(e*1e5)/1e5||0},rp=function(){return typeof window<"u"},ip=function(){return H||rp()&&(H=window.gsap)&&H.registerPlugin&&H},Ji=function(e){return!!~Zh.indexOf(e)},np=function(e){return(e==="Height"?ac:ce["inner"+e])||sr["client"+e]||ve["client"+e]},sp=function(e){return zr(e,"getBoundingClientRect")||(Ji(e)?function(){return xa.width=ce.innerWidth,xa.height=ac,xa}:function(){return Vr(e)})},Nv=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?np(s):e["client"+s])||0}},Iv=function(e,t){return!t||~nr.indexOf(e)?sp(e):function(){return xa}},Dr=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()-sp(e)()[s]:Ji(e)?(sr[r]||ve[r])-np(n):e[r]-e["offset"+n])},la=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"},ks=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()},$l=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,op="left",ap="top",uc="right",lc="bottom",Ki="width",Zi="height",Ns="Right",Is="Left",Bs="Top",zs="Bottom",Be="padding",Yt="margin",In="Width",cc="Height",qe="px",Ut=function(e){return ce.getComputedStyle(e)},Bv=function(e){var t=Ut(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},Vr=function(e,t){var r=t&&Ut(e)[Jl]!=="matrix(1, 0, 0, 1, 0, 0)"&&H.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},wa=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},zv=function(e){return function(t){return H.utils.snap(up(e),t)}},fc=function(e){var t=H.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)}},Vv=function(e){return function(t,r){return fc(up(e))(t,r.direction)}},ca=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)},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(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 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,_=we.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?uc:lc)+":"+(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],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+In]=1,s["border"+a+In]=0,s[r.p]=t+"px",H.set(e,s)},oe=[],ic={},Hs,Hh=function(){return ct()-Xt>34&&(Hs||(Hs=requestAnimationFrame(Wr)))},Mn=function(){(!mt||!mt.isPressed||mt.startX>ve.clientWidth)&&(se.cache++,mt?Hs||(Hs=requestAnimationFrame(Wr)):Wr(),Xt||tn("scrollStart"),Xt=ct())},Kl=function(){tp=ce.innerWidth,ep=ce.innerHeight},Ls=function(){se.cache++,!lt&&!Jh&&!we.fullscreenElement&&!we.webkitFullscreenElement&&(!ec||tp!==ce.innerWidth||Math.abs(ce.innerHeight-ep)>ce.innerHeight*.25)&&ba.restart(!0)},en={},Wv=[],lp=function i(){return je(Z,"scrollEnd",i)||$i(!0)},tn=function(e){return en[e]&&en[e].map(function(t){return t()})||Wv},It=[],cp=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)},dc=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));Ea=!0,t&&cp(t),t||tn("revert")},fp=function(e,t){se.cache++,(t||!Dt)&&se.forEach(function(r){return yt(r)&&r.cacheID++&&(r.rec=0)}),Bt(e)&&(ce.history.scrollRestoration=oc=e)},Dt,Qi=0,qh,Hv=function(){if(qh!==Qi){var e=qh=Qi;requestAnimationFrame(function(){return e===Qi&&$i(!0)})}},dp=function(){ve.appendChild(Rn),ac=!mt&&Rn.offsetHeight||ce.innerHeight,ve.removeChild(Rn)},Yh=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&&!Ea){$e(Z,"scrollEnd",lp);return}dp(),Dt=Z.isRefreshing=!0,se.forEach(function(n){return yt(n)&&++n.cacheID&&(n.rec=n())});var r=tn("refreshInit");Qh&&Z.sort(),t||dc(),se.forEach(function(n){yt(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),oe.slice(0).forEach(function(n){return n.refresh()}),Ea=!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()}}),rc=1,Yh(!0),oe.forEach(function(n){var s=Dr(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),rc=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))}),fp(oc,1),ba.pause(),Qi++,Dt=2,Wr(2),oe.forEach(function(n){return yt(n.vars.onRefresh)&&n.vars.onRefresh(n)}),Dt=Z.isRefreshing=!1,tn("refresh")},nc=0,Da=1,Vs,Wr=function(e){if(e===2||!Dt&&!Ea){Z.isUpdating=!0,Vs&&Vs.update(0);var t=oe.length,r=ct(),n=r-jl>=50,s=t&&oe[0].scroll();if(Da=nc>s?-1:1,Dt||(nc=s),n&&(Xt&&!Sa&&r-Xt>200&&(Xt=0,tn("scrollEnd")),Os=jl,jl=r),Da<0){for(vt=t;vt-- >0;)oe[vt]&&oe[vt].update(0,n);Da=1}else for(vt=0;vt<t;vt++)oe[vt]&&oe[vt].update(0,n);Z.isUpdating=!1}Hs=0},sc=[op,ap,lc,uc,Yt+zs,Yt+Ns,Yt+Bs,Yt+Is,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ya=sc.concat([Ki,Zi,"boxSizing","max"+In,"max"+cc,"position",Yt,Be,Be+Bs,Be+Ns,Be+zs,Be+Is]),qv=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},Zl=function(e,t,r,n){if(!e._gsap.swappedIn){for(var s=sc.length,o=t.style,a=e.style,u;s--;)u=sc[s],o[u]=r[u];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),a[lc]=a[uc]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[Ki]=wa(e,ut)+qe,o[Zi]=wa(e,Ie)+qe,o[Be]=a[Yt]=a[ap]=a[op]="0",Nn(n),a[Ki]=a["max"+In]=r[Ki],a[Zi]=a["max"+cc]=r[Zi],a[Be]=r[Be],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Yv=/([A-Z])/g,Nn=function(e){if(e){var t=e.t.style,r=e.length,n=0,s,o;for((e.t._gsap||H.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(Yv,"-$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},Uv=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},xa={left:0,top:0},Uh=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)==="="?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),ks(e))f&&(e=H.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,p,e)),a&&va(a,r,n,!0);else{yt(t)&&(t=t(u));var y=(e||"0").split(" "),b,E,w,x;v=gt(t,u)||ve,b=Vr(v)||{},(!b||!b.left&&!b.top)&&Ut(v).display==="none"&&(x=v.style.display,v.style.display="block",b=Vr(v),x?v.style.display=x:v.style.removeProperty("display")),E=ma(y[0],b[n.d]),w=ma(y[1]||"0",r),e=b[n.p]-l[n.p]-c+E+s-w,a&&va(a,w,n,r-w<20||a._isStart&&w>20),r-=r-w}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(ve[g],sr[g]):o.parentNode[g])<=S+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)},Xv=/(webkit|moz|length|cssText|inset)/i,Xh=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&&!Xv.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;H.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,H.set(e,n)},Gh=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=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(){se.cache++,o.tween&&Wr()},u.onComplete=function(){o.tween=0,f&&f.call(p)},p=o.tween=H.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),Z.isTouch&&$e(e,"touchmove",r.wheelHandler),s},Z=function(){function i(t,r){kn||i.register(H)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),tc(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=vr;return}r=Vh(Bt(r)||ks(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,b=s.snap,E=s.pinReparent,w=s.pinSpacer,x=s.containerAnimation,S=s.fastScrollEnd,A=s.preventOverlaps,C=r.horizontal||r.containerAnimation&&r.horizontal!==!1?ut:Ie,O=!d&&d!==0,F=gt(r.scroller||ce),M=H.core.getCache(F),I=Ji(F),z=("pinType"in r?r.pinType:zr(F,"pinType")||I&&"fixed")==="fixed",L=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],R=O&&r.toggleActions.split(" "),V="markers"in r?r.markers:da.markers,T=I?0:parseFloat(Ut(F)["border"+C.p2+In])||0,D=this,k=r.onRefreshInit&&function(){return r.onRefreshInit(D)},Y=Nv(F,I,C),te=Iv(F,I),U=0,X=0,N=0,q=Br(F,C),fe,ie,ne,Ke,bt,B,K,Se,ze,P,Mt,Tr,$r,Le,Kr,wi,cn,Ue,Zr,Pe,Kt,zt,Ar,Kn,Re,_o,Qr,fn,dn,Jr,Ci,ae,Si,Zt,Qt,Jt,Ti,hn,Fr;if(D._startClamp=D._endClamp=!1,D._dir=C,g*=45,D.scroller=F,D.scroll=x?x.time.bind(x):q,Ke=q(),D.vars=r,n=n||r.animation,"refreshPriority"in r&&(Qh=1,r.refreshPriority===-9999&&(Vs=D)),M.tweenScroll=M.tweenScroll||{top:Gh(F,Ie),left:Gh(F,ut)},D.tweenTo=fe=M.tweenScroll[C.p],D.scrubDuration=function(W){Si=ks(W)&&W,Si?ae?ae.duration(W):ae=H.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Si,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),Jr=0,u||(u=n.vars.id)),b&&((!ji(b)||b.push)&&(b={snapTo:b}),"scrollBehavior"in ve.style&&H.set(I?[ve,sr]:F,{scrollBehavior:"auto"}),se.forEach(function(W){return yt(W)&&W.target===(I?we.scrollingElement||sr:F)&&(W.smooth=!1)}),ne=yt(b.snapTo)?b.snapTo:b.snapTo==="labels"?zv(n):b.snapTo==="labelsDirectional"?Vv(n):b.directional!==!1?function(W,ee){return fc(b.snapTo)(W,ct()-X<500?0:ee.direction)}:H.utils.snap(b.snapTo),Zt=b.duration||{min:.1,max:2},Zt=ji(Zt)?Rs(Zt.min,Zt.max):Rs(Zt,Zt),Qt=H.delayedCall(b.delay||Si/2||.1,function(){var W=q(),ee=ct()-X<500,G=fe.tween;if((ee||Math.abs(D.getVelocity())<10)&&!G&&!Sa&&U!==W){var Q=(W-B)/Le,Xe=n&&!O?n.totalProgress():Q,ue=ee?0:(Xe-Ci)/(ct()-Os)*1e3||0,Me=H.utils.clamp(-Q,1-Q,Pn(ue/2)*ue/.185),rt=Q+(b.inertia===!1?0:Me),Te,De,he=b,er=he.onStart,xe=he.onInterrupt,kt=he.onComplete;if(Te=ne(rt,D),ks(Te)||(Te=rt),De=Math.round(B+Te*Le),W<=K&&W>=B&&De!==W){if(G&&!G._initted&&G.data<=Pn(De-W))return;b.inertia===!1&&(Me=Te-Q),fe(De,{duration:Zt(Pn(Math.max(Pn(rt-Xe),Pn(Te-Xe))*.185/ue/.05||0)),ease:b.ease||"power3",data:Pn(De-W),onInterrupt:function(){return Qt.restart(!0)&&xe&&xe(D)},onComplete:function(){D.update(),U=q(),n&&(ae?ae.resetTo("totalProgress",Te,n._tTime/n._tDur):n.progress(Te)),Jr=Ci=n&&!O?n.totalProgress():D.progress,v&&v(D),kt&&kt(D)}},W,Me*Le,De-W-Me*Le),er&&er(D,fe.tween)}}else D.isActive&&U!==W&&Qt.restart(!0)}).pause()),u&&(ic[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=H.core.getCache(f),ie.spacer?Kr=ie.pinState:(w&&(w=gt(w),w&&!w.nodeType&&(w=w.current||w.nativeElement),ie.spacerIsNative=!!w,w&&(ie.spacerState=pa(w))),ie.spacer=Ue=w||we.createElement("div"),Ue.classList.add("pin-spacer"),u&&Ue.classList.add("pin-spacer-"+u),ie.pinState=Kr=pa(f)),r.force3D!==!1&&H.set(f,{force3D:!0}),D.spacer=Ue=ie.spacer,dn=Ut(f),Kn=dn[_+C.os2],Pe=H.getProperty(f),Kt=H.quickSetter(f,C.a,qe),Zl(f,Ue,dn),cn=pa(f)),V){Tr=ji(V)?Vh(V,Wh):Wh,P=ha("scroller-start",u,F,C,Tr,0),Mt=ha("scroller-end",u,F,C,Tr,0,P),Zr=P["offset"+C.op.d2];var Zn=gt(zr(F,"content")||F);Se=this.markerStart=ha("start",u,Zn,C,Tr,Zr,0,x),ze=this.markerEnd=ha("end",u,Zn,C,Tr,Zr,0,x),x&&(hn=H.quickSetter([Se,ze],C.a,qe)),!z&&!(nr.length&&zr(F,"fixedMarkers")===!0)&&(Bv(I?ve:F),H.set([P,Mt],{force3D:!0}),_o=H.quickSetter(P,C.a,qe),fn=H.quickSetter(Mt,C.a,qe))}if(x){var J=x.vars.onUpdate,j=x.vars.onUpdateParams;x.eventCallback("onUpdate",function(){D.update(0,0,1),J&&J.apply(x,j||[])})}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 G=W!==!1||!D.enabled,Q=lt;G!==D.isReverted&&(G&&(Jt=Math.max(q(),D.scroll.rec||0),N=D.progress,Ti=n&&n.progress()),Se&&[Se,ze,P,Mt].forEach(function(Xe){return Xe.style.display=G?"none":"block"}),G&&(lt=D,D.update(G)),f&&(!E||!D.isActive)&&(G?qv(f,Ue,Kr):Zl(f,Ue,Ut(f),Re)),G||D.update(G),lt=Q,D.isReverted=G)},D.refresh=function(W,ee,G,Q){if(!((lt||!D.enabled)&&!ee)){if(f&&W&&Xt){$e(i,"scrollEnd",lp);return}!Dt&&k&&k(D),lt=D,fe.tween&&!G&&(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=Y(),ue=te(),Me=x?x.duration():Dr(F,C),rt=Le<=.01,Te=0,De=Q||0,he=ji(G)?G.end:r.end,er=r.endTrigger||p,xe=ji(G)?G.start:r.start||(r.start===0||!p?0:f?"0 0":"0 100%"),kt=D.pinnedContainer=r.pinnedContainer&>(r.pinnedContainer,D),lr=p&&Math.max(0,oe.indexOf(D))||0,Ze=lr,Qe,it,Ai,go,nt,Ve,cr,tu,Xc,Qn,fr,Jn,mo;for(V&&ji(G)&&(Jn=H.getProperty(P,C.p),mo=H.getProperty(Mt,C.p));Ze--;)Ve=oe[Ze],Ve.end||Ve.refresh(0,1)||(lt=D),cr=Ve.pin,cr&&(cr===p||cr===f||cr===kt)&&!Ve.isReverted&&(Qn||(Qn=[]),Qn.unshift(Ve),Ve.revert(!0,!0)),Ve!==oe[Ze]&&(lr--,Ze--);for(yt(xe)&&(xe=xe(D)),xe=Nh(xe,"start",D),B=Uh(xe,p,Xe,C,q(),Se,P,D,ue,T,z,Me,x,D._startClamp&&"_startClamp")||(f?-.001:0),yt(he)&&(he=he(D)),Bt(he)&&!he.indexOf("+=")&&(~he.indexOf(" ")?he=(Bt(xe)?xe.split(" ")[0]:"")+he:(Te=ma(he.substr(2),Xe),he=Bt(xe)?xe:(x?H.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,B):B)+Te,er=p)),he=Nh(he,"end",D),K=Math.max(B,Uh(he||(er?"100% 0":Me),er,Xe,C,q()+Te,ze,Mt,D,ue,T,z,Me,x,D._endClamp&&"_endClamp"))||-.001,Te=0,Ze=lr;Ze--;)Ve=oe[Ze],cr=Ve.pin,cr&&Ve.start-Ve._pinPush<=B&&!x&&Ve.end>0&&(Qe=Ve.end-(D._startClamp?Math.max(0,Ve.start):Ve.start),(cr===p&&Ve.start-Ve._pinPush<B||cr===kt)&&isNaN(xe)&&(Te+=Qe*(1-Ve.progress)),cr===f&&(De+=Qe));if(B+=Te,K+=Te,D._startClamp&&(D._startClamp+=Te),D._endClamp&&!Dt&&(D._endClamp=K||-.001,K=Math.min(K,Dr(F,C))),Le=K-B||(B-=.01)&&.001,rt&&(N=H.utils.clamp(0,1,H.utils.normalize(B,K,Jt))),D._pinPush=De,Se&&Te&&(Qe={},Qe[C.a]="+="+Te,kt&&(Qe[C.p]="-="+q()),H.set([Se,ze],Qe)),f&&!(rc&&D.end>=Dr(F,C)))Qe=Ut(f),go=C===Ie,Ai=q(),zt=parseFloat(Pe(C.a))+De,!Me&&K>1&&(fr=(I?we.scrollingElement||sr:F).style,fr={style:fr,value:fr["overflow"+C.a.toUpperCase()]},I&&Ut(ve)["overflow"+C.a.toUpperCase()]!=="scroll"&&(fr.style["overflow"+C.a.toUpperCase()]="scroll")),Zl(f,Ue,Qe),cn=pa(f),it=Vr(f,!0),tu=z&&Br(F,go?ut:Ie)(),_?(Re=[_+C.os2,Le+De+qe],Re.t=Ue,Ze=_===Be?wa(f,C)+Le+De:0,Ze&&(Re.push(C.d,Ze+qe),Ue.style.flexBasis!=="auto"&&(Ue.style.flexBasis=Ze+qe)),Nn(Re),kt&&oe.forEach(function(es){es.pin===kt&&es.vars.pinSpacing!==!1&&(es._subPinOffset=!0)}),z&&q(Jt)):(Ze=wa(f,C),Ze&&Ue.style.flexBasis!=="auto"&&(Ue.style.flexBasis=Ze+qe)),z&&(nt={top:it.top+(go?Ai-B:tu)+qe,left:it.left+(go?tu:Ai-B)+qe,boxSizing:"border-box",position:"fixed"},nt[Ki]=nt["max"+In]=Math.ceil(it.width)+qe,nt[Zi]=nt["max"+cc]=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],wi=Uv(Kr,nt,E),Dt&&q(0)),n?(Xc=n._initted,Xl(1),n.render(n.duration(),!0,!0),Ar=Pe(C.a)-zt+Le+De,Qr=Math.abs(Le-Ar)>1,z&&Qr&&wi.splice(wi.length-2,2),n.render(0,!0,!0),Xc||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),Xl(0)):Ar=Le,fr&&(fr.value?fr.style["overflow"+C.a.toUpperCase()]=fr.value:fr.style.removeProperty("overflow-"+C.a));else if(p&&q()&&!x)for(it=p.parentNode;it&&it!==ve;)it._pinOffset&&(B-=it._pinOffset,K-=it._pinOffset),it=it.parentNode;Qn&&Qn.forEach(function(es){return es.revert(!1,!0)}),D.start=B,D.end=K,Ke=bt=Dt?Jt:q(),!x&&!Dt&&(Ke<Jt&&q(Jt),D.scroll.rec=0),D.revert(!1,!0),X=ct(),Qt&&(U=-1,Qt.restart(!0)),lt=0,n&&O&&(n._initted||Ti)&&n.progress()!==Ti&&n.progress(Ti||0,!0).render(n.time(),!0,!0),(rt||N!==D.progress||x||h)&&(n&&!O&&n.totalProgress(x&&B<-.001&&!N?H.utils.normalize(B,K,0):N,!0),D.progress=rt||(Ke-B)/Le===N?0:N),f&&_&&(Ue._pinOffset=Math.round(D.progress*Ar)),ae&&ae.invalidate(),isNaN(Jn)||(Jn-=H.getProperty(P,C.p),mo-=H.getProperty(Mt,C.p),_a(P,C,Jn),_a(Se,C,Jn-(Q||0)),_a(Mt,C,mo),_a(ze,C,mo-(Q||0))),rt&&!Dt&&D.update(),c&&!Dt&&!$r&&($r=!0,c(D),$r=!1)}},D.getVelocity=function(){return(q()-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),G=D.direction>0?oe.slice(0,ee).reverse():oe.slice(ee+1);return(Bt(W)?G.filter(function(Q){return Q.vars.preventOverlaps===W}):G).filter(function(Q){return D.direction>0?Q.end<=B:Q.start>=K})},D.update=function(W,ee,G){if(!(x&&!G&&!W)){var Q=Dt===!0?Jt:D.scroll(),Xe=W?0:(Q-B)/Le,ue=Xe<0?0:Xe>1?1:Xe||0,Me=D.progress,rt,Te,De,he,er,xe,kt,lr;if(ee&&(bt=Ke,Ke=x?q():Q,b&&(Ci=Jr,Jr=n&&!O?n.totalProgress():ue)),g&&f&&!lt&&!ua&&Xt&&(!ue&&B<Q+(Q-bt)/(ct()-Os)*g?ue=1e-4:ue===1&&K>Q+(Q-bt)/(ct()-Os)*g&&(ue=.9999)),ue!==Me&&D.enabled){if(rt=D.isActive=!!ue&&ue<1,Te=!!Me&&Me<1,xe=rt!==Te,er=xe||!!ue!=!!Me,D.direction=ue>Me?1:-1,D.progress=ue,er&&!lt&&(De=ue&&!Me?0:ue===1?1:Me===1?2:3,O&&(he=!xe&&R[De+1]!=="none"&&R[De+1]||R[De],lr=n&&(he==="complete"||he==="reset"||he in n))),A&&(xe||lr)&&(lr||d||!n)&&(yt(A)?A(D):D.getTrailing(A).forEach(function(Ai){return Ai.endAnimation()})),O||(ae&&!lt&&!ua?(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&&(X||W)))),f){if(W&&_&&(Ue.style[_+C.os2]=Kn),!z)Kt(Ms(zt+Ar*ue));else if(er){if(kt=!W&&ue>Me&&K+1>Q&&Q+1>=Dr(F,C),E)if(!W&&(rt||kt)){var Ze=Vr(f,!0),Qe=Q-B;Xh(f,ve,Ze.top+(C===Ie?Qe:0)+qe,Ze.left+(C===Ie?0:Qe)+qe)}else Xh(f,Ue);Nn(rt||kt?wi:cn),Qr&&ue<1&&rt||Kt(zt+(ue===1&&!kt?Ar:0))}}b&&!fe.tween&&!lt&&!ua&&Qt.restart(!0),a&&(xe||y&&ue&&(ue<1||!Gl))&&Ws(a.targets).forEach(function(Ai){return Ai.classList[rt||y?"add":"remove"](a.className)}),o&&!O&&!W&&o(D),er&&!lt?(O&&(lr&&(he==="complete"?n.pause().totalProgress(1):he==="reset"?n.restart(!0).pause():he==="restart"?n.restart(!0):n[he]()),o&&o(D)),(xe||!Gl)&&(l&&xe&&$l(D,l),L[De]&&$l(D,L[De]),y&&(ue===1?D.kill(!1,1):L[De]=0),xe||(De=ue===1?1:3,L[De]&&$l(D,L[De]))),S&&!rt&&Math.abs(D.getVelocity())>(ks(S)?S:2500)&&(Fs(D.callbackAnimation),ae?ae.progress(1):Fs(n,he==="reverse"?1:!ue,1))):O&&o&&!lt&&o(D)}if(fn){var it=x?Q/x.duration()*(x._caScrollDist||0):Q;_o(it+(P._isFlipped?1:0)),fn(it)}hn&&hn(-Q/x.duration()*(x._caScrollDist||0))}},D.enable=function(W,ee){D.enabled||(D.enabled=!0,$e(F,"resize",Ls),I||$e(F,"scroll",Mn),k&&$e(i,"refreshInit",k),W!==!1&&(D.progress=N=0,Ke=bt=U=q()),ee!==!1&&D.refresh())},D.getTween=function(W){return W&&fe?fe.tween:ae},D.setPositions=function(W,ee,G,Q){if(x){var Xe=x.scrollTrigger,ue=x.duration(),Me=Xe.end-Xe.start;W=Xe.start+Me*W/ue,ee=Xe.start+Me*ee/ue}D.refresh(!1,!1,{start:Ih(W,G&&!!D._startClamp),end:Ih(ee,G&&!!D._endClamp)},Q),D.update()},D.adjustPinSpacing=function(W){if(Re&&W){var ee=Re.indexOf(C.d)+1;Re[ee]=parseFloat(Re[ee])+W+qe,Re[1]=parseFloat(Re[1])+W+qe,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(),Jt=0,ie&&(ie.uncache=1),k&&je(i,"refreshInit",k),Qt&&(Qt.pause(),fe.tween&&fe.tween.kill()&&(fe.tween=0)),!I)){for(var G=oe.length;G--;)if(oe[G].scroller===F&&oe[G]!==D)return;je(F,"resize",Ls),I||je(F,"scroll",Mn)}},D.kill=function(W,ee){D.disable(W,ee),ae&&!ee&&ae.kill(),u&&delete ic[u];var G=oe.indexOf(D);G>=0&&oe.splice(G,1),G===vt&&Da>0&&vt--,G=0,oe.forEach(function(Q){return Q.scroller===D.scroller&&(G=1)}),G||Dt||(D.scroll.rec=0),n&&(n.scrollTrigger=null,W&&n.revert({kill:!1}),ee||n.kill()),Se&&[Se,ze,P,Mt].forEach(function(Q){return Q.parentNode&&Q.parentNode.removeChild(Q)}),Vs===D&&(Vs=0),f&&(ie&&(ie.uncache=1),G=0,oe.forEach(function(Q){return Q.pin===f&&G++}),G||(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||K||D.refresh()},H.delayedCall(.01,D.update),Le=.01,B=K=0}else D.refresh();f&&Hv()},i.register=function(r){return kn||(H=r||ip(),rp()&&window.document&&i.enable(),kn=Ps),kn},i.defaults=function(r){if(r)for(var n in r)da[n]=r[n];return da},i.disable=function(r,n){Ps=0,oe.forEach(function(o){return o[n?"kill":"disable"](r)}),je(ce,"wheel",Mn),je(we,"scroll",Mn),clearInterval(aa),je(we,"touchcancel",vr),je(ve,"touchstart",vr),ca(je,we,"pointerdown,touchstart,mousedown",Bh),ca(je,we,"pointerup,touchend,mouseup",zh),ba.kill(),la(je);for(var s=0;s<se.length;s+=3)fa(je,se[s],se[s+1]),fa(je,se[s],se[s+2])},i.enable=function(){if(ce=window,we=document,sr=we.documentElement,ve=we.body,H&&(Ws=H.utils.toArray,Rs=H.utils.clamp,tc=H.core.context||vr,Xl=H.core.suppressOverwrites||vr,oc=ce.history.scrollRestoration||"auto",nc=ce.pageYOffset,H.core.globals("ScrollTrigger",i),ve)){Ps=1,Rn=document.createElement("div"),Rn.style.height="100vh",Rn.style.position="absolute",dp(),Rv(),Oe.register(H),i.isTouch=Oe.isTouch,pi=Oe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),ec=Oe.isTouch===1,$e(ce,"wheel",Mn),Zh=[ce,we,sr,ve],H.matchMedia?(i.matchMedia=function(u){var l=H.matchMedia(),c;for(c in u)l.add(c,u[c]);return l},H.addEventListener("matchMediaInit",function(){return dc()}),H.addEventListener("matchMediaRevert",function(){return cp()}),H.addEventListener("matchMedia",function(){$i(0,1),tn("matchMedia")}),H.matchMedia("(orientation: portrait)",function(){return Kl(),Kl})):console.warn("Requires GSAP 3.11.0 or later"),Kl(),$e(we,"scroll",Mn);var r=ve.style,n=r.borderTopStyle,s=H.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"),aa=setInterval(Hh,250),H.delayedCall(.5,function(){return ua=0}),$e(we,"touchcancel",vr),$e(ve,"touchstart",vr),ca($e,we,"pointerdown,touchstart,mousedown",Bh),ca($e,we,"pointerup,touchend,mouseup",zh),Jl=H.utils.checkPrefix("transform"),ya.push(Jl),kn=ct(),ba=H.delayedCall(.2,$i).pause(),Ln=[we,"visibilitychange",function(){var u=ce.innerWidth,l=ce.innerHeight;we.hidden?(Lh=u,Rh=l):(Lh!==u||Rh!==l)&&Ls()},we,"DOMContentLoaded",$i,ce,"load",$i,ce,"resize",Ls],la($e),oe.forEach(function(u){return u.enable(0,1)}),a=0;a<se.length;a+=3)fa(je,se[a],se[a+1]),fa(je,se[a],se[a+2])}},i.config=function(r){"limitCallbacks"in r&&(Gl=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(aa)||(aa=n)&&setInterval(Hh,n),"ignoreMobileResize"in r&&(ec=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(la(je)||la($e,r.autoRefreshEvents||"none"),Jh=(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?nr.unshift(ce,n,ve,n,sr,n):nr.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 Ca?Ca[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}();Z.version="3.12.5";Z.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"),H.core.getCache(e),tc())}}):It};Z.revert=function(i,e){return dc(!i,e)};Z.create=function(i,e){return new Z(i,e)};Z.refresh=function(i){return i?Ls():(kn||Z.register())&&$i(!0)};Z.update=function(i){return++se.cache&&Wr(i===!0?2:0)};Z.clearScrollMemory=fp;Z.maxScroll=function(i,e){return Dr(i,e?ut:Ie)};Z.getScrollFunc=function(i,e){return Br(gt(i),e?ut:Ie)};Z.getById=function(i){return ic[i]};Z.getAll=function(){return oe.filter(function(i){return i.vars.id!=="ScrollSmoother"})};Z.isScrolling=function(){return!!Xt};Z.snapDirectional=fc;Z.addEventListener=function(i,e){var t=en[i]||(en[i]=[]);~t.indexOf(e)||t.push(e)};Z.removeEventListener=function(i,e){var t=en[i],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};Z.batch=function(i,e){var t=[],r={},n=e.interval||.016,s=e.batchMax||1e9,o=function(l,c){var d=[],p=[],f=H.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(Z,"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(Z.create(l))}),t};var jh=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},Ql=function i(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Oe.isTouch?" pinch-zoom":""):"none",e===sr&&i(ve,t)},ga={auto:1,scroll:1},Gv=function(e){var t=e.event,r=e.target,n=e.axis,s=(t.changedTouches?t.changedTouches[0]:t).target,o=s._gsap||H.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||!(ga[(u=Ut(s)).overflowY]||ga[u.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!Ji(s)&&(ga[(u=Ut(s)).overflowY]||ga[u.overflowX]),o._isScrollT=a}(o._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},pp=function(e,t,r,n){return Oe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Gv,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&$e(we,Oe.eventTypes[0],Kh,!1,!0)},onDisable:function(){return je(we,Oe.eventTypes[0],Kh,!0)}})},jv=/(input|label|select|textarea)/i,$h,Kh=function(e){var t=jv.test(e.target.tagName);(t||$h)&&(e._gsapAllow=!0,$h=t)},$v=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)||sr,c=H.core.globals().ScrollSmoother,d=c&&c.get(),p=pi&&(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,E=pp(l,e.type,!0,s),w=function(){return b=!1},x=vr,S=vr,A=function(){u=Dr(l,Ie),S=Rs(pi?1:0,u),r&&(x=Rs(0,Dr(l,ut))),y=Qi},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(b){requestAnimationFrame(w);var V=Ms(a.deltaY/2),T=S(f.v-V);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=se.cache,Wr()}return!0}f.offset&&C(),b=!0},F,M,I,z,L=function(){A(),F.isActive()&&F.vars.scrollY>u&&(f()>u?F.progress(1)&&f(u):F.resetTo("scrollY",u))};return p&&H.set(p,{y:"+=0"}),e.ignoreCheck=function(R){return pi&&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=Ms((ce.visualViewport&&ce.visualViewport.scale||1)/g),F.pause(),R!==h&&Ql(l,h>1.01?!0:r?!1:"x"),M=_(),I=f(),A(),y=Qi},e.onRelease=e.onGestureStart=function(R,V){if(f.offset&&C(),!V)z.restart(!0);else{se.cache++;var T=v(),D,k;r&&(D=_(),k=D+T*.05*-R.velocityX/.227,T*=jh(_,D,k,Dr(l,ut)),F.vars.scrollX=x(k)),D=f(),k=D+T*.05*-R.velocityY/.227,T*=jh(f,D,k,Dr(l,Ie)),F.vars.scrollY=S(k),F.invalidate().duration(T).play(.01),(pi&&F.vars.scrollY>=u||D>=u-1)&&H.to({},{onUpdate:L,duration:T})}o&&o(R)},e.onWheel=function(){F._ts&&F.pause(),ct()-m>1e3&&(y=0,m=ct())},e.onChange=function(R,V,T,D,k){if(Qi!==y&&A(),V&&r&&_(x(D[2]===V?M+(R.startX-R.x):_()+V-D[1])),T){f.offset&&C();var Y=k[2]===T,te=Y?I+R.startY-R.y:f()+T-k[1],U=S(te);Y&&te!==U&&(I+=U-te),f(U)}(T||V)&&Wr()},e.onEnable=function(){Ql(l,r?!1:"x"),Z.addEventListener("refresh",L),$e(ce,"resize",L),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),E.enable()},e.onDisable=function(){Ql(l,!0),je(ce,"resize",L),Z.removeEventListener("refresh",L),E.kill()},e.lockAxis=e.lockAxis!==!1,a=new Oe(e),a.iOS=pi,pi&&!f()&&f(1),pi&&H.ticker.add(vr),z=a._dc,F=H.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:Wr,onComplete:z.vars.onComplete}),a};Z.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)})};Z.observe=function(i){return new Oe(i)};Z.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:$v(i);return mt&&mt.target===e.target&&mt.kill(),Ji(e.target)&&(mt=e),e};Z.core={_getVelocityProp:oa,_inputObserver:pp,_scrollers:se,_proxies:nr,bridge:{ss:function(){Xt||tn("scrollStart"),Xt=ct()},ref:function(){return lt}}};ip()&&H.registerPlugin(Z);var xt,vp,Hr,yr,_i,Dp,yp,Ta,xp=function(){return typeof window<"u"},bp=function(){return xt||xp()&&(xt=window.gsap)&&xt.registerPlugin&&xt},Ep=function(e){return typeof e=="string"},_p=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===yr||e===_i?Math.max(yr[n],_i[n])-(Hr["inner"+r]||yr[s]||_i[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=yr[r]!=null?yr:_i),function(){return e[r]}},Kv=function(e,t,r,n){if(_p(e)&&(e=e(t,r,n)),typeof e!="object")return Ep(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},wp=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===Hr||t===_i,s=n?{top:yr.clientTop-(Hr.pageYOffset||yr.scrollTop||_i.scrollTop||0),left:yr.clientLeft-(Hr.pageXOffset||yr.scrollLeft||_i.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},gp=function(e,t,r,n,s){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-s:Ep(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),wp(e,t)[r]-s)},mp=function(){xt=bp(),xp()&&xt&&typeof document<"u"&&document.body&&(Hr=window,_i=document.body,yr=document.documentElement,Dp=xt.utils.toArray,xt.config({autoKillThreshold:7}),yp=xt.config(),vp=1)},Bn={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===Hr,o.target=e,o.tween=r,t=Kv(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(),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<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,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}};Bn.max=qs;Bn.getOffset=wp;Bn.buildGetter=Ys;bp()&&xt.registerPlugin(Bn);var Zv=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var Qv=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var Jv=Math.PI/180,v1=180/Math.PI,Aa=Math.sin,Fa=Math.cos,Xs=Math.abs,Us=Math.sqrt;var eD=function(e){return typeof e=="number"};var Cp=1e5;var gi=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 tD(i,e,t,r,n,s,o,a,u){if(!(i===a&&e===u)){t=Xs(t),r=Xs(r);var l=n%360*Jv,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,b=v/(t*t)+y/(r*r);b>1&&(t=Us(b)*t,r=Us(b)*r);var E=t*t,w=r*r,x=(E*w-E*y-w*v)/(E*y+w*v);x<0&&(x=0);var S=(s===o?-1:1)*Us(x),A=S*(t*m/r),C=S*-(r*g/t),O=(i+a)/2,F=(e+u)/2,M=O+(c*A-d*C),I=F+(d*A+c*C),z=(g-A)/t,L=(m-C)/r,R=(-g-A)/t,V=(-m-C)/r,T=z*z+L*L,D=(L<0?-1:1)*Math.acos(z/Us(T)),k=(z*V-L*R<0?-1:1)*Math.acos((z*R+L*V)/Us(T*(R*R+V*V)));isNaN(k)&&(k=p),!o&&k>0?k-=f:o&&k<0&&(k+=f),D%=f,k%=f;var Y=Math.ceil(Xs(k)/(f/4)),te=[],U=k/Y,X=4/3*Aa(U/2)/(1+Fa(U/2)),N=c*t,q=d*t,fe=d*-r,ie=c*r,ne;for(ne=0;ne<Y;ne++)n=D+ne*U,g=Fa(n),m=Aa(n),z=Fa(n+=U),L=Aa(n),te.push(g-X*m,m+X*g,z+X*L,L-X*z,z,L);for(ne=0;ne<te.length;ne+=2)g=te[ne],m=te[ne+1],te[ne]=g*N+m*fe+M,te[ne+1]=g*q+m*ie+I;return te[ne-2]=a,te[ne-1]=u,te}}function Tp(i){var e=(i+"").replace(Qv,function(A){var C=+A;return C<1e-4&&C>-1e-4?0:C}).match(Zv)||[],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,E,w,x,S=function(C,O,F,M){v=(F-C)/3,y=(M-O)/3,h.push(C+v,O+y,F-v,M-y,F,M)};if(!i||!isNaN(e[0])||isNaN(e[1]))return console.log(u),t;for(l=0;l<o;l++)if(E=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,(E==="C"||E==="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"||Xs(r-d)>.5||Xs(n-p)>.5)&&(S(r,n,d,p),f==="L"&&(l+=2)),r=d,n=p;else if(f==="A"){if(w=e[l+4],x=e[l+5],v=e[l+6],y=e[l+7],c=7,w.length>1&&(w.length<3?(y=v,v=x,c--):(y=x,v=w.substr(2),c-=2),x=w.charAt(1),w=w.charAt(0)),b=tD(r,n,+e[l+1],+e[l+2],+e[l+3],+w,+x,(_?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 Ap(i){eD(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"+gi(o[0])+","+gi(o[1])+" C",r=o.length,s=2;s<r;s++)e+=gi(o[s++])+","+gi(o[s++])+" "+gi(o[s++])+","+gi(o[s++])+" "+gi(o[s++])+","+gi(o[s])+" ";o.closed&&(e+="z")}return e}var At,Op,Pp=function(){return At||typeof window<"u"&&(At=window.gsap)&&At.registerPlugin&&At},Fp=function(){At=Pp(),At?(At.registerEase("_CE",rn.create),Op=1):console.warn("Please gsap.registerPlugin(CustomEase)")},rD=1e20,Oa=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},iD=1,nD=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,sD=/[cLlsSaAhHvVtTqQ]/g,oD=function(e){var t=e.length,r=rD,n;for(n=1;n<t;n+=6)+e[n]<r&&(r=+e[n]);return r},aD=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])?oD(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},uD=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,E=(h+m)/2,w=(v+b)/2,x=(y+E)/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:w,y:x}),(C+O)*(C+O)>l*(S*S+A*A)&&(F=c.length,i(e,t,p,f,v,y,w,x,l,c,d),i(w,x,b,E,g,m,a,u,l,c,d+1+(c.length-F))),c},rn=function(){function i(t,r,n){Op||Fp(),this.id=t,iD&&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(nD),o=1,a=[],u=[],l=n.precision||1,c=l<=1,d,p,f,_,h,g,m,v,y;if(this.data=r,(sD.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)&&aD(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),uD(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 E=u[b*d|0]||u[d-1];return E.nx<b&&(E=E.n),E.y+(b-E.x)/E.cx*E.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,Fp()},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=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()&&At.registerPlugin(rn);rn.version="3.12.5";var Mp=/([\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 hc(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+=hc(i)}else if(e===3||e===4)return i.nodeValue;return t}var zn,_c,Rp,Gs,Np,Pa,lD=/(?:\r|\n|\t\t)/g,cD=/(?:\s\s+)/g,fD=String.fromCharCode(160),Ip=function(e){zn=document,_c=window,Gs=Gs||e||_c.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),Gs&&(Pa=Gs.utils.toArray,Np=Gs.core.context||function(){},Rp=1)},dD=1,Bp=function(e){return _c.getComputedStyle(e)},gc=function(e){return e.position==="absolute"||e.absolute===!0},hD=function(e,t){for(var r=t.length,n;--r>-1;)if(n=t[r],e.substr(0,n.length)===n)return n.length},pD=" 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+pD+(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))},pc=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}},_D=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))},xr=function(e,t){return parseFloat(t[e])||0},gD=function(e,t,r,n,s,o,a){var u=Bp(e),l=xr("paddingLeft",u),c=-999,d=xr("borderBottomWidth",u)+xr("borderTopWidth",u),p=xr("borderLeftWidth",u)+xr("borderRightWidth",u),f=xr("paddingTop",u)+xr("paddingBottom",u),_=xr("paddingLeft",u)+xr("paddingRight",u),h=xr("fontSize",u)*(t.lineThreshold||.2),g=u.textAlign,m=[],v=[],y=[],b=t.wordDelimiter||" ",E=t.tag?t.tag:t.span?"span":"div",w=t.type||t.split||"chars,words,lines",x=s&&~w.indexOf("lines")?[]:null,S=~w.indexOf("words"),A=~w.indexOf("chars"),C=gc(t),O=t.linesClass,F=~(O||"").indexOf("++"),M=[],I=u.display==="flex",z=e.style.display,L,R,V,T,D,k,Y,te,U,X,N,q;for(F&&(O=O.split("++").join("")),I&&(e.style.display="block"),R=e.getElementsByTagName("*"),V=R.length,D=[],L=0;L<V;L++)D[L]=R[L];if(x||C)for(L=0;L<V;L++)T=D[L],k=T.parentNode===e,(k||C||A&&!S)&&(q=T.offsetTop,x&&k&&Math.abs(q-c)>h&&(T.nodeName!=="BR"||L===0)&&(Y=[],x.push(Y),c=q),C&&(T._x=T.offsetLeft,T._y=q,T._w=T.offsetWidth,T._h=T.offsetHeight),x&&((T._isSplit&&k||!A&&k||S&&k||!S&&T.parentNode.parentNode===e&&!T.parentNode._isSplit)&&(Y.push(T),T._x-=l,Lp(T,e,b)&&(T._wordEnd=!0)),T.nodeName==="BR"&&(T.nextSibling&&T.nextSibling.nodeName==="BR"||L===0)&&x.push([])));for(L=0;L<V;L++){if(T=D[L],k=T.parentNode===e,T.nodeName==="BR"){x||C?(T.parentNode&&T.parentNode.removeChild(T),D.splice(L--,1),V--):S||e.appendChild(T);continue}if(C&&(U=T.style,!S&&!k&&(T._x+=T.parentNode._x,T._y+=T.parentNode._y),U.left=T._x+"px",U.top=T._y+"px",U.position="absolute",U.display="block",U.width=T._w+1+"px",U.height=T._h+"px"),!S&&A)if(T._isSplit)for(T._next=R=T.nextSibling,T.parentNode.appendChild(T);R&&R.nodeType===3&&R.textContent===" ";)T._next=R.nextSibling,T.parentNode.appendChild(R),R=R.nextSibling;else T.parentNode._isSplit?(T._parent=T.parentNode,!T.previousSibling&&T.firstChild&&(T.firstChild._isFirst=!0),T.nextSibling&&T.nextSibling.textContent===" "&&!T.nextSibling.nextSibling&&M.push(T.nextSibling),T._next=T.nextSibling&&T.nextSibling._isFirst?null:T.nextSibling,T.parentNode.removeChild(T),D.splice(L--,1),V--):k||(q=!T.nextSibling&&Lp(T.parentNode,e,b),T.parentNode._parent&&T.parentNode._parent.appendChild(T),q&&T.parentNode.appendChild(zn.createTextNode(" ")),E==="span"&&(T.style.display="inline"),m.push(T));else T.parentNode._isSplit&&!T._isSplit&&T.innerHTML!==""?v.push(T):A&&!T._isSplit&&(E==="span"&&(T.style.display="inline"),m.push(T))}for(L=M.length;--L>-1;)M[L].parentNode.removeChild(M[L]);if(x){for(C&&(X=zn.createElement(E),e.appendChild(X),N=X.offsetWidth+"px",q=X.offsetParent===e?0:e.offsetLeft,e.removeChild(X)),U=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(te=b===" "&&(!C||!S&&!A),L=0;L<x.length;L++){for(Y=x[L],X=zn.createElement(E),X.style.cssText="display:block;text-align:"+g+";position:"+(C?"absolute;":"relative;"),O&&(X.className=O+(F?L+1:"")),y.push(X),V=Y.length,R=0;R<V;R++)Y[R].nodeName!=="BR"&&(T=Y[R],X.appendChild(T),te&&T._wordEnd&&X.appendChild(zn.createTextNode(" ")),C&&(R===0&&(X.style.top=T._y+"px",X.style.left=l+q+"px"),T.style.top="0px",q&&(T.style.left=T._x-q+"px")));V===0?X.innerHTML=" ":!S&&!A&&(_D(X),zp(X,String.fromCharCode(160)," ")),C&&(X.style.width=N,X.style.height=T._h+"px"),e.appendChild(X)}e.style.cssText=U}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"))),I&&(z?e.style.display=z:e.style.removeProperty("display")),pc(r,m),S&&pc(n,v),pc(s,y)},mD=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=gc(t),l=t.wordDelimiter||" ",c=function(C){return C===l||C===fD&&l===" "},d=l!==" "?"":u?"­ ":" ",p="</"+s+">",f=1,_=t.specialChars?typeof t.specialChars=="function"?t.specialChars:hD:null,h,g,m,v,y,b,E,w,x=zn.createElement("div"),S=e.parentNode;for(S.insertBefore(x,e),x.textContent=e.nodeValue,S.removeChild(e),e=x,h=hc(e),E=h.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(h=h.replace(cD," ").replace(lD,"")),E&&(h=h.split("<").join("{{LT}}")),y=h.length,g=(h.charAt(0)===" "?d:"")+r(),m=0;m<y;m++)if(b=h.charAt(m),_&&(w=_(h.substr(m),t.specialChars)))b=h.substr(m,w||1),g+=a&&b!==" "?n()+b+"</"+s+">":b,m+=w-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(Mp)||[])[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:""),E&&zp(S,"{{LT}}","<")},vD=function i(e,t,r,n){var s=Pa(e.childNodes),o=s.length,a=gc(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}mD(e,t,r,n)},br=function(){function i(t,r){Rp||Ip(),this.elements=Pa(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},Np(this),dD&&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,vD(c,r,o,a),gD(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}();br.version="3.12.5";br.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 DD(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)",Hn=1,yD=2,Un=3,Gn=4,no=5,ka=6,Ia=7,xD={CREATED:Hn,MOUNTED:yD,IDLE:Un,MOVING:Gn,SCROLLING:no,DRAGGING:ka,DESTROYED:Ia};function Gr(i){i.length=0}function xi(i,e,t){return Array.prototype.slice.call(i,e,t)}function ge(i){return i.bind.apply(i,[null].concat(xi(arguments,1)))}var t_=setTimeout,xc=function(){};function Hp(i){return requestAnimationFrame(i)}function Wa(i,e){return typeof e===i}function Ks(i){return!Ac(i)&&Wa("object",i)}var Tc=Array.isArray,r_=ge(Wa,"function"),vi=ge(Wa,"string"),so=ge(Wa,"undefined");function Ac(i){return i===null}function i_(i){try{return i instanceof(i.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function oo(i){return Tc(i)?i:[i]}function $t(i,e){oo(i).forEach(e)}function Fc(i,e){return i.indexOf(e)>-1}function La(i,e){return i.push.apply(i,oo(e)),i}function Yr(i,e,t){i&&$t(e,function(r){r&&i.classList[t?"add":"remove"](r)})}function Er(i,e){Yr(i,vi(e)?e.split(" "):e,!0)}function ao(i,e){$t(e,i.appendChild.bind(i))}function Oc(i,e){$t(i,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function Zs(i,e){return i_(i)&&(i.msMatchesSelector||i.matches).call(i,e)}function n_(i,e){var t=i?xi(i.children):[];return e?t.filter(function(r){return Zs(r,e)}):t}function uo(i,e){return e?n_(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 xi(arguments,1).forEach(function(e){sn(e,function(t,r){i[r]=e[r]})}),i}function mi(i){return xi(arguments,1).forEach(function(e){sn(e,function(t,r){Tc(t)?i[r]=t.slice():Ks(t)?i[r]=mi({},Ks(i[r])?i[r]:{},t):i[r]=t})}),i}function qp(i,e){$t(e||Qs(i),function(t){delete i[t]})}function wr(i,e){$t(i,function(t){$t(e,function(r){t&&t.removeAttribute(r)})})}function re(i,e,t){Ks(e)?sn(e,function(r,n){re(i,n,r)}):$t(i,function(r){Ac(t)||t===""?wr(r,e):r.setAttribute(e,String(t))})}function qn(i,e,t){var r=document.createElement(i);return e&&(vi(e)?Er(r,e):re(r,e)),t&&ao(t,r),r}function or(i,e,t){if(so(t))return getComputedStyle(i)[e];Ac(t)||(i.style[e]=""+t)}function eo(i,e){or(i,"display",e)}function s_(i){i.setActive&&i.setActive()||i.focus({preventScroll:!0})}function ar(i,e){return i.getAttribute(e)}function Yp(i,e){return i&&i.classList.contains(e)}function Gt(i){return i.getBoundingClientRect()}function on(i){$t(i,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function o_(i){return uo(new DOMParser().parseFromString(i,"text/html").body)}function qr(i,e){i.preventDefault(),e&&(i.stopPropagation(),i.stopImmediatePropagation())}function a_(i,e){return i&&i.querySelector(e)}function Pc(i,e){return e?xi(i.querySelectorAll(e)):[]}function Ur(i,e){Yr(i,e,!1)}function bc(i){return i.timeStamp}function nn(i){return vi(i)?i:i?i+"px":""}var lo="splide",Mc="data-"+lo;function js(i,e){if(!i)throw new Error("["+lo+"] "+(e||""))}var Di=Math.min,Ba=Math.max,za=Math.floor,to=Math.ceil,Ft=Math.abs;function u_(i,e,t){return Ft(i-e)<t}function Ra(i,e,t,r){var n=Di(e,t),s=Ba(e,t);return r?n<i&&i<s:n<=i&&i<=s}function Vn(i,e,t){var r=Di(e,t),n=Ba(e,t);return Di(Ba(r,i),n)}function Ec(i){return+(i>0)-+(i<0)}function wc(i,e){return $t(e,function(t){i=i.replace("%s",""+t)}),i}function kc(i){return i<10?"0"+i:""+i}var Up={};function bD(i){return""+i+kc(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){$t(o,function(l){l&&$t(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",Xp="ready",yi="move",co="moved",c_="click",ED="active",wD="inactive",CD="visible",SD="hidden",Ye="refresh",Ot="updated",ro="resize",Lc="resized",TD="drag",AD="dragging",FD="dragged",Rc="scroll",jn="scrolled",OD="overflow",f_="destroy",PD="arrows:mounted",MD="arrows:updated",kD="pagination:mounted",LD="pagination:updated",d_="navigation:mounted",h_="autoplay:play",RD="autoplay:playing",p_="autoplay:pause",__="lazyload:loaded",g_="sk",m_="sh",Va="ei";function Ce(i){var e=i?i.event.bus:document.createDocumentFragment(),t=l_();function r(s,o){t.bind(e,oo(s).join(" "),function(a){o.apply(o,Tc(a.detail)?a.detail:[])})}function n(s){t.dispatch(e,s,xi(arguments,1))}return i&&i.event.on(f_,t.destroy),Js(t,{bus:e,on:r,off:ge(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?Di((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 ND(i){var e=i;function t(n){e=n}function r(n){return Fc(oo(n),e)}return{set:t,is:r}}function ID(i,e){var t=Ha(e||0,i,null,1);return function(){t.isPaused()&&t.start()}}function BD(i,e,t){var r=i.state,n=t.breakpoints||{},s=t.reducedMotion||{},o=l_(),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,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 mi(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&&(_?mi(t,s):qp(t,Qs(s)))}function f(_,h,g){mi(t,_),h&&mi(Object.getPrototypeOf(t),_),(g||!r.is(Hn))&&i.emit(Ot,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",mc={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[v_,Ua],ArrowRight:[D_,Ya]};function zD(i,e,t){function r(s,o,a){a=a||t.direction;var u=a===Gp&&!o?1:a===Xa?0:-1;return mc[s]&&mc[s][u]||s.replace(/width|left|right/i,function(l,c){var d=mc[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 Xr="role",Yn="tabindex",VD="disabled",ur="aria-",fo=ur+"controls",y_=ur+"current",jp=ur+"selected",jt=ur+"label",Nc=ur+"labelledby",x_=ur+"hidden",Ic=ur+"orientation",io=ur+"roledescription",$p=ur+"live",Kp=ur+"busy",Zp=ur+"atomic",Bc=[Xr,Yn,VD,fo,y_,jt,Nc,x_,Ic,io],Cr=lo+"__",bi="is-",vc=lo,Qp=Cr+"track",WD=Cr+"list",Ga=Cr+"slide",b_=Ga+"--clone",HD=Ga+"__container",zc=Cr+"arrows",ja=Cr+"arrow",E_=ja+"--prev",w_=ja+"--next",$a=Cr+"pagination",C_=$a+"__page",qD=Cr+"progress",YD=qD+"__bar",Vc=Cr+"toggle",C1=Vc+"__play",S1=Vc+"__pause",UD=Cr+"spinner",XD=Cr+"sr",GD=bi+"initialized",an=bi+"active",S_=bi+"prev",T_=bi+"next",Cc=bi+"visible",Sc=bi+"loading",A_=bi+"focus-in",F_=bi+"overflow",jD=[an,Cc,S_,T_,Sc,A_,F_],$D={slide:Ga,clone:b_,arrows:zc,arrow:ja,prev:E_,next:w_,pagination:$a,page:C_,spinner:UD};function KD(i,e){if(r_(i.closest))return i.closest(e);for(var t=i;t&&t.nodeType===1&&!Zs(t,e);)t=t.parentElement;return t}var ZD=5,Jp=200,O_="touchstart mousedown",Dc="touchmove mousemove",yc="touchend touchcancel mouseup click";function QD(i,e,t){var r=Ce(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,O_+" keydown",function(x){_=x.type==="keydown"},{capture:!0}),s(o,"focusin",function(){Yr(o,A_,!!_)})}function m(x){var S=Bc.concat("style");Gr(l),Ur(o,c),Ur(p,d),wr([p,f],S),wr(o,x?S:["style",io])}function v(){Ur(o,c),Ur(p,d),c=w(vc),d=w(Qp),Er(o,c),Er(p,d),re(o,jt,t.label),re(o,Nc,t.labelledby)}function y(){p=E("."+Qp),f=uo(p,"."+WD),js(p&&f,"A track/list element is missing."),La(l,n_(f,"."+Ga+":not(."+b_+")")),sn({arrows:zc,pagination:$a,prev:E_,next:w_,bar:YD,toggle:Vc},function(x,S){u[S]=E("."+x)}),Js(u,{root:o,track:p,list:f,slides:l})}function b(){var x=o.id||bD(lo),S=t.role;o.id=x,p.id=p.id||x+"-track",f.id=f.id||x+"-list",!ar(o,Xr)&&o.tagName!=="SECTION"&&S&&re(o,Xr,S),re(o,io,a.carousel),re(f,Xr,"presentation")}function E(x){var S=a_(o,x);return S&&KD(S,"."+vc)===o?S:void 0}function w(x){return[x+"--"+t.type,x+"--"+t.direction,t.drag&&x+"--draggable",t.isNavigation&&x+"--nav",x===vc&&an]}return Js(u,{setup:h,mount:g,destroy:m})}var Xn="slide",$n="loop",ho="fade";function JD(i,e,t,r){var n=Ce(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=ar(r,"style"),v=ar(r,jt),y=t>-1,b=uo(r,"."+HD),E;function w(){y||(r.id=l.id+"-slide"+kc(e+1),re(r,Xr,_?"tabpanel":"group"),re(r,io,f.slide),re(r,jt,v||wc(f.slideLabel,[e+1,i.length]))),x()}function x(){a(r,"click",ge(o,c_,V)),a(r,"keydown",ge(o,g_,V)),s([co,m_,jn],O),s(d_,A),p&&s(yi,C)}function S(){E=!0,n.destroy(),Ur(r,jD),wr(r,Bc),re(r,"style",m),re(r,jt,v||"")}function A(){var T=i.splides.map(function(D){var k=D.splide.Components.Slides.getAt(e);return k?k.slide.id:""}).join(" ");re(r,jt,wc(f.slideX,(y?t:e)+1)),re(r,fo,T),re(r,Xr,h?"button":""),h&&wr(r,io)}function C(){E||O()}function O(){if(!E){var T=i.index;F(),M(),Yr(r,S_,e===T-1),Yr(r,T_,e===T+1)}}function F(){var T=z();T!==Yp(r,an)&&(Yr(r,an,T),re(r,y_,d&&T||""),o(T?ED:wD,V))}function M(){var T=L(),D=!T&&(!z()||y);if(i.state.is([Gn,no])||re(r,x_,D||""),re(Pc(r,c.focusableNodes||""),Yn,D?-1:""),h&&re(r,Yn,D?-1:0),T!==Yp(r,Cc)&&(Yr(r,Cc,T),o(T?CD:SD,V)),!T&&document.activeElement===r){var k=u.Slides.getAt(i.index);k&&s_(k.slide)}}function I(T,D,k){or(k&&b||r,T,D)}function z(){var T=i.index;return T===e||c.cloneStatus&&T===t}function L(){if(i.is(ho))return z();var T=Gt(u.Elements.track),D=Gt(r),k=g("left",!0),Y=g("right",!0);return za(T[k])<=to(D[k])&&za(D[Y])<=to(T[Y])}function R(T,D){var k=Ft(T-e);return!y&&(c.rewind||i.is($n))&&(k=Di(k,i.length-k)),k<=D}var V={index:e,slideIndex:t,slide:r,container:b,isClone:y,mount:w,destroy:S,update:O,style:I,isWithin:R};return V}function ey(i,e,t){var r=Ce(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(){E(function(O){O.destroy()}),Gr(c)}function _(){E(function(O){O.update()})}function h(O,F,M){var I=JD(i,F,M,O);I.mount(),c.push(I),c.sort(function(z,L){return z.index-L.index})}function g(O){return O?w(function(F){return!F.isClone}):c}function m(O){var F=e.Controller,M=F.toIndex(O),I=F.hasFocus()?1:t.perPage;return w(function(z){return Ra(z.index,M,M+I-1)})}function v(O){return w(O)[0]}function y(O,F){$t(O,function(M){if(vi(M)&&(M=o_(M)),i_(M)){var I=u[F];I?Oc(M,I):ao(l,M),Er(M,t.classes.slide),S(M,ge(s,ro))}}),s(Ye)}function b(O){on(w(O).map(function(F){return F.slide})),s(Ye)}function E(O,F){g(F).forEach(O)}function w(O){return c.filter(r_(O)?O:function(F){return vi(O)?Zs(F.slide,O):Fc(oo(O),F.index)})}function x(O,F,M){E(function(I){I.style(O,F,M)})}function S(O,F){var M=Pc(O,"img"),I=M.length;I?M.forEach(function(z){o(z,"load error",function(){--I||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:b,forEach:E,filter:w,style:x,getLength:A,isEnough:C}}function ty(i,e,t){var r=Ce(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",ID(ge(o,ro))),n([Ot,Ye],y),n(ro,b)}function y(){h=t.direction===Xa,or(c,"maxWidth",nn(t.width)),or(d,u("paddingLeft"),E(!1)),or(d,u("paddingRight"),E(!0)),b(!0)}function b(V){var T=Gt(c);(V||g.width!==T.width||g.height!==T.height)&&(or(d,"height",w()),_(u("marginRight"),nn(t.gap)),_("width",S()),_("height",A(),!0),g=T,o(Lc),m!==(m=R())&&(Yr(c,F_,m),o(OD,m)))}function E(V){var T=t.padding,D=u(V?"right":"left");return T&&nn(T[D]||(Ks(T)?0:T))||"0px"}function w(){var V="";return h&&(V=x(),js(V,"height or heightRatio is missing."),V="calc("+V+" - "+E(!1)+" - "+E(!0)+")"),V}function x(){return nn(t.height||Gt(p).width*t.heightRatio)}function S(){return t.autoWidth?null:nn(t.fixedWidth)||(h?"":C())}function A(){return nn(t.fixedHeight)||(h?t.autoHeight?null:C():x())}function C(){var V=nn(t.gap);return"calc((100%"+(V&&" + "+V)+")/"+(t.perPage||1)+(V&&" - "+V)+")"}function O(){return Gt(p)[u("width")]}function F(V,T){var D=f(V||0);return D?Gt(D.slide)[u("width")]+(T?0:z()):0}function M(V,T){var D=f(V);if(D){var k=Gt(D.slide)[u("right")],Y=Gt(p)[u("left")];return Ft(k-Y)+(T?0:z())}return 0}function I(V){return M(i.length-1)-M(0)+F(0,V)}function z(){var V=f(0);return V&&parseFloat(or(V.slide,u("marginRight")))||0}function L(V){return parseFloat(or(d,u("padding"+(V?"Right":"Left"))))||0}function R(){return i.is(ho)||I(!0)>O()}return{mount:v,resize:b,listSize:O,slideSize:F,sliderSize:I,totalSize:M,getPadding:L,isOverflow:R}}var ry=2;function iy(i,e,t){var r=Ce(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;)La(v,v);La(v.slice(-m),v.slice(0,m)).forEach(function(b,E){var w=E<m,x=h(b.slide,E);w?Oc(x,v[0].slide):ao(s.list,x),La(u,x),o.register(x,E-m+(w?0:y),b.index)})}}function h(m,v){var y=m.cloneNode(!0);return Er(y,t.classes.clone),y.id=i.root.id+"-clone"+kc(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(Gt(s.track)[a("width")]/v);m=y||t[a("autoWidth")]&&i.length||t.perPage*ry}return m}return{mount:c,destroy:p}}function ny(i,e,t){var r=Ce(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,Lc,Ot,Ye],E)}function E(){e.Controller.isBusy()||(e.Scroll.cancel(),x(i.index),e.Slides.update())}function w(D,k,Y,te){D!==k&&V(D>Y)&&(O(),S(C(I(),D>Y),!0)),o(Gn),s(yi,k,Y,D),y.start(k,function(){o(Un),s(co,k,Y,D),te&&te()})}function x(D){S(M(D,!0))}function S(D,k){if(!i.is(ho)){var Y=k?D:A(D);or(m,"transform","translate"+_("X")+"("+Y+"px)"),D!==Y&&s(m_)}}function A(D){if(i.is($n)){var k=F(D),Y=k>e.Controller.getEnd(),te=k<0;(te||Y)&&(D=C(D,Y))}return D}function C(D,k){var Y=D-R(k),te=p();return D-=h(te*(to(Ft(Y)/te)||1))*(k?1:-1),D}function O(){S(I(),!0),y.cancel()}function F(D){for(var k=e.Slides.get(),Y=0,te=1/0,U=0;U<k.length;U++){var X=k[U].index,N=Ft(M(X,!0)-D);if(N<=te)te=N,Y=X;else break}return Y}function M(D,k){var Y=h(c(D-1)-L(D));return k?z(Y):Y}function I(){var D=_("left");return Gt(m)[D]-Gt(v)[D]+h(l(!1))}function z(D){return t.trimSpace&&i.is(Xn)&&(D=Vn(D,0,h(p(!0)-d()))),D}function L(D){var k=t.focus;return k==="center"?(d()-u(D,!0))/2:+k*u(D)||0}function R(D){return M(D?e.Controller.getEnd():0,!!t.trimSpace)}function V(D){var k=h(C(I(),D));return D?k>=0:k<=m[_("scrollWidth")]-Gt(v)[_("width")]}function T(D,k){k=so(k)?I():k;var Y=D!==!0&&h(k)<h(R(!1)),te=D!==!1&&h(k)>h(R(!0));return Y||te}return{mount:b,move:w,jump:x,translate:S,shift:C,cancel:O,toIndex:F,toPosition:M,getPosition:I,getLimit:R,exceededLimit:T,reposition:E}}function sy(i,e,t){var r=Ce(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(I,!1),m=ge(I,!0),v=t.start||0,y,b=v,E,w,x;function S(){A(),n([Ot,Ye,Va],A),n(Lc,C)}function A(){E=p(!0),w=t.perMove,x=t.perPage,y=V();var N=Vn(v,0,f?y:E-1);N!==v&&(v=N,o.reposition())}function C(){y!==V()&&s(Va)}function O(N,q,fe){if(!X()){var ie=M(N),ne=R(ie);ne>-1&&(q||ne!==v)&&(Y(ne),o.move(ie,ne,b,fe))}}function F(N,q,fe,ie){e.Scroll.scroll(N,q,fe,function(){var ne=R(o.toIndex(a()));Y(f?Di(ne,y):ne),ie&&ie()})}function M(N){var q=v;if(vi(N)){var fe=N.match(/([+\-<>])(\d+)?/)||[],ie=fe[1],ne=fe[2];ie==="+"||ie==="-"?q=z(v+ +(""+ie+(+ne||1)),v):ie===">"?q=ne?T(+ne):g(!0):ie==="<"&&(q=m(!0))}else q=_?N:Vn(N,0,y);return q}function I(N,q){var fe=w||(U()?1:x),ie=z(v+fe*(N?-1:1),v,!(w||U()));return ie===-1&&h&&!u_(a(),u(!N),1)?N?0:y:q?ie:R(ie)}function z(N,q,fe){if(d()||U()){var ie=L(N);ie!==N&&(q=N,N=ie,fe=!1),N<0||N>y?!w&&(Ra(0,N,q,!0)||Ra(y,q,N,!0))?N=T(D(N)):_?N=fe?N<0?-(E%x||x):E:N:t.rewind?N=N<0?y:0:N=-1:fe&&N!==q&&(N=T(D(q)+(N<q?-1:1)))}else N=-1;return N}function L(N){if(h&&t.trimSpace==="move"&&N!==v)for(var q=a();q===l(N,!0)&&Ra(N,0,i.length-1,!t.rewind);)N<v?--N:++N;return N}function R(N){return _?(N+E)%E||0:N}function V(){for(var N=E-(U()||_&&w?1:x);f&&N-- >0;)if(l(E-1,!0)!==l(N,!0)){N++;break}return Vn(N,0,E-1)}function T(N){return Vn(U()?N:x*N,0,y)}function D(N){return U()?Di(N,y):za((N>=y?E-1:N)/x)}function k(N){var q=o.toIndex(N);return h?Vn(q,0,y):q}function Y(N){N!==v&&(b=v,v=N)}function te(N){return N?b:v}function U(){return!so(t.focus)||t.isNavigation}function X(){return i.state.is([Gn,no])&&!!t.waitForTransition}return{mount:S,go:O,scroll:F,getNext:g,getPrev:m,getAdjacent:I,getEnd:V,setIndex:Y,getIndex:te,toIndex:T,toPage:D,toDest:k,hasFocus:U,isBusy:X}}var oy="http://www.w3.org/2000/svg",ay="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",Ma=40;function uy(i,e,t){var r=Ce(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(){E(),n(Ot,b)}function b(){w(),y()}function E(){var F=t.arrows;F&&!(_&&h)&&A(),_&&h&&(Js(v,{prev:_,next:h}),eo(f,F?"":"none"),Er(f,m=zc+"--"+t.direction),F&&(x(),O(),re([_,h],fo,p.id),o(PD,_,h)))}function w(){r.destroy(),Ur(f,m),g?(on(d?[_,h]:f),_=h=null):wr([_,h],Bc)}function x(){n([un,co,Ye,jn,Va],O),s(h,"click",ge(S,">")),s(_,"click",ge(S,"<"))}function S(F){c.go(F,!0)}function A(){f=d||qn("div",a.arrows),_=C(!0),h=C(!1),g=!0,ao(f,[_,h]),!d&&Oc(f,p)}function C(F){var M='<button class="'+a.arrow+" "+(F?a.prev:a.next)+'" type="button"><svg xmlns="'+oy+'" viewBox="0 0 '+Ma+" "+Ma+'" width="'+Ma+'" height="'+Ma+'" focusable="false"><path d="'+(t.arrowPath||ay)+'" />';return o_(M)}function O(){if(_&&h){var F=i.index,M=c.getPrev(),I=c.getNext(),z=M>-1&&F<M?u.last:u.prev,L=I>-1&&F>I?u.first:u.next;_.disabled=M<0,h.disabled=I<0,re(_,jt,z),re(h,jt,L),o(MD,_,h,M,I)}}return{arrows:v,mount:y,destroy:w,update:O}}var ly=Mc+"-interval";function cy(i,e,t){var r=Ce(i),n=r.on,s=r.bind,o=r.emit,a=Ha(t.interval,i.go.bind(i,">"),x),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(),w())}function v(){t.pauseOnHover&&s(d,"mouseenter mouseleave",function(A){_=A.type==="mouseenter",E()}),t.pauseOnFocus&&s(d,"focusin focusout",function(A){h=A.type==="focusin",E()}),p&&s(p,"click",function(){g?y():b(!0)}),n([yi,Rc,Ye],a.rewind),n(yi,S)}function y(){u()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),h=_=g=!1,w(),o(h_))}function b(A){A===void 0&&(A=!0),g=!!A,w(),u()||(a.pause(),o(p_))}function E(){g||(_||h?b(!1):y())}function w(){p&&(Yr(p,an,!g),re(p,jt,t.i18n[g?"play":"pause"]))}function x(A){var C=l.bar;C&&or(C,"width",A*100+"%"),o(RD,A)}function S(A){var C=e.Slides.getAt(A);a.set(C&&+ar(C.slide,ly)||t.interval)}return{mount:m,destroy:a.cancel,play:y,pause:b,isPaused:u}}function fy(i,e,t){var r=Ce(i),n=r.on;function s(){t.cover&&(n(__,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 dy=10,hy=600,py=.6,_y=1.5,gy=800;function my(i,e,t){var r=Ce(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(yi,b),n([Ot,Ye],E)}function m(x,S,A,C,O){var F=u();if(b(),A&&(!p||!c())){var M=e.Layout.sliderSize(),I=Ec(x)*M*za(Ft(x)/M)||0;x=a.toPosition(e.Controller.toDest(x%M))+I}var z=u_(F,x,1);h=1,S=z?0:S||Ba(Ft(x-F)/_y,gy),_=C,f=Ha(S,v,ge(y,F,x,O),1),o(no),s(Rc),f.start()}function v(){o(Un),_&&_(),s(jn)}function y(x,S,A,C){var O=u(),F=x+(S-x)*w(C),M=(F-O)*h;d(O+M),p&&!A&&c()&&(h*=py,Ft(M)<dy&&m(l(c(!0)),hy,!1,_,!0))}function b(){f&&f.cancel()}function E(){f&&!f.isPaused()&&(b(),v())}function w(x){var S=t.easingFunc;return S?S(x):1-Math.pow(1-x,4)}return{mount:g,destroy:b,scroll:m,cancel:E}}var Wn={passive:!1,capture:!0};function vy(i,e,t){var r=Ce(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,E,w,x,S=!1,A,C,O;function F(){o(p,Dc,xc,Wn),o(p,yc,xc,Wn),o(p,O_,I,Wn),o(p,"click",R,{capture:!0}),o(p,"dragstart",qr),n([un,Ot],M)}function M(){var B=t.drag;bt(!B),w=B==="free"}function I(B){if(A=!1,!C){var K=ne(B);ie(B.target)&&(K||!B.button)&&(d.isBusy()?qr(B,!0):(O=K?p:window,x=u.is([Gn,no]),E=null,o(O,Dc,z,Wn),o(O,yc,L,Wn),l.cancel(),c.cancel(),V(B)))}}function z(B){if(u.is(ka)||(u.set(ka),s(TD)),B.cancelable)if(x){l.translate(y+fe(U(B)));var K=X(B)>Jp,Se=S!==(S=v());(K||Se)&&V(B),A=!0,s(AD),qr(B)}else k(B)&&(x=D(B),qr(B))}function L(B){u.is(ka)&&(u.set(Un),s(FD)),x&&(T(B),qr(B)),a(O,Dc,z),a(O,yc,L),x=!1}function R(B){!C&&A&&qr(B,!0)}function V(B){E=b,b=B,y=m()}function T(B){var K=Y(B),Se=te(K),ze=t.rewind&&t.rewindByDrag;f(!1),w?d.scroll(Se,0,t.snap):i.is(ho)?d.go(g(Ec(K))<0?ze?"<":"-":ze?">":"+"):i.is(Xn)&&S&&ze?d.go(v(!0)?">":"<"):d.go(d.toDest(Se),!0),f(!0)}function D(B){var K=t.dragMinThreshold,Se=Ks(K),ze=Se&&K.mouse||0,P=(Se?K.touch:+K)||10;return Ft(U(B))>(ne(B)?P:ze)}function k(B){return Ft(U(B))>Ft(U(B,!0))}function Y(B){if(i.is($n)||!S){var K=X(B);if(K&&K<Jp)return U(B)/K}return 0}function te(B){return m()+Ec(B)*Di(Ft(B)*(t.flickPower||600),w?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function U(B,K){return q(B,K)-q(N(B),K)}function X(B){return bc(B)-bc(N(B))}function N(B){return b===B&&E||b}function q(B,K){return(ne(B)?B.changedTouches[0]:B)["page"+h(K?"Y":"X")]}function fe(B){return B/(S&&i.is(Xn)?ZD:1)}function ie(B){var K=t.noDrag;return!Zs(B,"."+C_+", ."+ja)&&(!K||!Zs(B,K))}function ne(B){return typeof TouchEvent<"u"&&B instanceof TouchEvent}function Ke(){return x}function bt(B){C=B}return{mount:F,disable:bt,isDragging:Ke}}var Dy={Spacebar:" ",Right:Ua,Left:Ya,Up:v_,Down:D_};function Wc(i){return i=vi(i)?i:i.key,Dy[i]||i}var e_="keydown";function yy(i,e,t){var r=Ce(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(yi,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=Wc(m);v===u(Ya)?i.go("<"):v===u(Ua)&&i.go(">")}}return{mount:d,destroy:f,disable:_}}var $s=Mc+"-lazy",Na=$s+"-srcset",xy="["+$s+"], ["+Na+"]";function by(i,e,t){var r=Ce(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){Pc(v.slide,xy).forEach(function(y){var b=ar(y,$s),E=ar(y,Na);if(b!==y.src||E!==y.srcset){var w=t.classes.spinner,x=y.parentElement,S=uo(x,"."+w)||qn("span",w,x);c.push([y,v,S]),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];Er(v[1].slide,Sc),o(y,"load error",ge(g,v)),re(y,"src",ar(y,$s)),re(y,"srcset",ar(y,Na)),wr(y,$s),wr(y,Na)}function g(v,y){var b=v[0],E=v[1];Ur(E.slide,Sc),y.type!=="error"&&(on(v[2]),eo(b,""),a(__,b,E),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=Ce(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,Va],v);var C=t.pagination;_&&eo(_,C?"":"none"),C&&(n([yi,Rc,jn],A),b(),A(),s(kD,{list:g,items:h},S(i.index)))}function y(){g&&(on(_?xi(g.children):g),Ur(g,m),Gr(h),g=null),r.destroy()}function b(){var C=i.length,O=t.classes,F=t.i18n,M=t.perPage,I=c()?l.getEnd()+1:to(C/M);g=_||qn("ul",O.pagination,u.track.parentElement),Er(g,m=$a+"--"+x()),re(g,Xr,"tablist"),re(g,jt,F.select),re(g,Ic,x()===Xa?"vertical":"");for(var z=0;z<I;z++){var L=qn("li",null,g),R=qn("button",{class:O.page,type:"button"},L),V=a.getIn(z).map(function(D){return D.slide.id}),T=!c()&&M>1?F.pageX:F.slideX;o(R,"click",ge(E,z)),t.paginationKeyboard&&o(R,"keydown",ge(w,z)),re(L,Xr,"presentation"),re(R,Xr,"tab"),re(R,fo,V.join(" ")),re(R,jt,wc(T,z+1)),re(R,Yn,-1),h.push({li:L,button:R,page:z})}}function E(C){p(">"+C,!0)}function w(C,O){var F=h.length,M=Wc(O),I=x(),z=-1;M===f(Ua,!1,I)?z=++C%F:M===f(Ya,!1,I)?z=(--C+F)%F:M==="Home"?z=0:M==="End"&&(z=F-1);var L=h[z];L&&(s_(L.button),p(">"+z),qr(O,!0))}function x(){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;Ur(F,an),wr(F,jp),re(F,Yn,-1)}if(O){var M=O.button;Er(M,an),re(M,jp,!0),re(M,Yn,"")}s(LD,{list:g,items:h},C,O)}return{items:h,mount:v,destroy:y,getAt:S,update:A}}var wy=[" ","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=Ce(_);g.on(yi,function(m,v,y){h.go(h.is($n)?y:m)}),s.push(g)}function c(){var _=Ce(i),h=_.on;h(c_,p),h(g_,f),h([un,Ot],d),s.push(_),_.emit(d_,i.splides)}function d(){re(e.Elements.list,Ic,t.direction===Xa?"vertical":"")}function p(_){i.go(_.index)}function f(_,h){Fc(wy,Wc(h))&&(p(_),qr(h))}return{setup:ge(e.Media.set,{slideFocus:so(n)?r:n},!0),mount:o,destroy:a,remount:u}}function Sy(i,e,t){var r=Ce(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=bc(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 Ty=90;function Ay(i,e,t){var r=Ce(i),n=r.on,s=e.Elements.track,o=t.live&&!t.isNavigation,a=qn("span",XD),u=Ha(Ty,ge(c,!1));function l(){o&&(p(!e.Autoplay.isPaused()),re(s,Zp,!0),a.textContent="\u2026",n(h_,ge(p,!0)),n(p_,ge(p,!1)),n([co,jn],ge(c,!0)))}function c(f){re(s,Kp,f),f?(ao(s,a),u.start()):(on(a),u.cancel())}function d(){wr(s,[$p,Zp,Kp]),on(a)}function p(f){o&&re(s,$p,f?"off":"polite")}return{mount:l,disable:p,destroy:d}}var Fy=Object.freeze({__proto__:null,Media:BD,Direction:zD,Elements:QD,Slides:ey,Layout:ty,Clones:iy,Move:ny,Controller:sy,Arrows:uy,Autoplay:cy,Cover:fy,Scroll:my,Drag:vy,Keyboard:yy,LazyLoad:by,Pagination:Ey,Sync:Cy,Wheel:Sy,Live:Ay}),Oy={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"},Py={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:$D,i18n:Oy,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function My(i,e,t){var r=e.Slides;function n(){Ce(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),t_(u)}return{mount:n,start:o,cancel:xc}}function ky(i,e,t){var r=e.Move,n=e.Controller,s=e.Scroll,o=e.Elements.list,a=ge(or,o,"transition"),u;function l(){Ce(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 Ly=function(){function i(t,r){this.event=Ce(),this.Components={},this.state=ND(Hn),this.splides=[],this._o={},this._E={};var n=vi(t)?a_(document,t):t;js(n,n+" is invalid."),this.root=n,r=mi({label:ar(n,jt)||"",labelledby:ar(n,Nc)||""},Py,i.defaults,r||{});try{mi(r,JSON.parse(ar(n,Mc)))}catch{js(!1,"Invalid JSON")}this._o=Object.create(mi({},r))}var e=i.prototype;return e.mount=function(r,n){var s=this,o=this.state,a=this.Components;js(o.is([Hn,Ia]),"Already mounted!"),o.set(Hn),this._C=a,this._T=n||this._T||(this.is(ho)?My:ky),this._E=r||this._E;var u=Js({},Fy,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),Er(this.root,GD),o.set(Un),this.emit(Xp),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(xi(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)?Ce(this).on(Xp,this.destroy.bind(this,r)):(sn(this._C,function(o){o.destroy&&o.destroy(r)},!0),n.emit(f_),n.destroy(),r&&Gr(this.splides),s.set(Ia)),this},DD(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}(),Ei=Ly;Ei.defaults={};Ei.STATES=xD;var Sr,Yc,Ry,Ja,I_,B_,P_,qc,z_,V_=function(){return typeof window<"u"},W_=function(){return Sr||V_()&&(Sr=window.gsap)&&Sr.registerPlugin&&Sr},Ny=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Hc={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},ln=function(e){return Math.round(e*1e4)/1e4},jr=function(e){return parseFloat(e)||0},M_=function(e,t){var r=jr(e);return~e.indexOf("%")?r/100*t:r},Ka=function(e,t){return jr(e.getAttribute(t))},Za=Math.sqrt,k_=function(e,t,r,n,s,o){return Za(Math.pow((jr(r)-jr(e))*s,2)+Math.pow((jr(n)-jr(t))*o,2))},L_=function(e){return console.warn(e)},H_=function(e){return e.getAttribute("vector-effect")==="non-scaling-stroke"},Iy=1,By=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=M_(s,t),o=M_(o,t),s>o?[o,s]:[s,o]},Qa=function(e){if(e=Yc(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)&&Hc[t]&&(g=Ka(e,Hc[t][0]),m=Ka(e,Hc[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,ln(n)!==ln(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=k_(_,h,_+g,h+m,n,s);else if(t==="polyline"||t==="polygon")for(u=e.getAttribute("points").match(Ny)||[],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)-Za((3*d+p)*(d+3*p))));return o||0},R_=function(e,t){if(e=Yc(e)[0],!e)return[0,0];t||(t=Qa(e)+1);var r=Ja.getComputedStyle(e),n=r.strokeDasharray||"",s=jr(r.strokeDashoffset),o=n.indexOf(",");return o<0&&(o=n.indexOf(" ")),n=o<0?t:jr(n.substr(0,o)),n>t&&(n=t),[-s||0,n-s||0]},N_=function(){V_()&&(Ry=document,Ja=window,B_=Sr=W_(),Yc=Sr.utils.toArray,qc=Sr.core.getStyleSaver,z_=Sr.core.reverting||function(){},I_=((Ja.navigator||{}).userAgent||"").indexOf("Edge")!==-1)},Uc={version:"3.12.5",name:"drawSVG",register:function(e){Sr=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=qc&&qc(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=By(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),I_&&(l=Ja.getComputedStyle(e),l.strokeLinecap!==l.strokeLinejoin&&(u=jr(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"),Iy},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_()&&Sr.registerPlugin(Uc);$.registerPlugin(Z,Bn,rn,br,Uc);function zy(){rn.create("loader","0.83, 0, 0.17, 1"),rn.create("loader2","0.77, 0, 0.175, 1")}var po;function Vy(){let i=document.querySelector(".contact-modal_main-wrapper"),e=document.querySelector(".contact-modal_content-wrapper");po=$.timeline({paused:!0}),po.to(i,{autoAlpha:1,duration:.3,ease:"loader2"}),po.from(e,{x:"100%",duration:.4,ease:"loader2"},"-=0.2")}var Pt=new Bo({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function Wy(){Pt.on("scroll",Z.update),$.ticker.add(e=>{Pt.raf(e*1e3)}),$.ticker.lagSmoothing(0);function i(e){Pt.raf(e),requestAnimationFrame(i)}requestAnimationFrame(i)}function Hy(){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 qy(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function Yy(){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 Uy(){document.querySelector(".is-footer")&&$.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},autoAlpha:0})}function Xy(){let i=$.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(){$.set(".loader_wrapper",{display:"none"})},50)})}function Gy(){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=$.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 jy=document.querySelector(".info-bar"),eu=$.timeline({paused:!0});eu.to(".navbar",{y:"-100%",duration:.2,ease:"loader2"});jy&&eu.to(".button_small.is-navbar",{top:"1.75rem",duration:.2,ease:"loader2"},"<");function $y(){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.standardHeaderScrollAnimation=function(){Z.create({start:"top top",endTrigger:".bottom-wrapper",end:"bottom bottom",onUpdate:i=>{i.direction===1?eu.play():eu.reverse()}})};window.videoInsideText=function(i){let e=i.querySelector('[class*="copy-this"]');i.querySelector('[class*="headline-span"]').appendChild(e)};window.spanVideoMaskAnimation=function(i){$.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=$.timeline({}),r=new br("#heroHeading",{type:"lines",linesClass:"hero-line"}),n=new br("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});t.from(".navbar",{opacity:0,duration:.6,ease:"loader2"},">+0.4"),t.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"},">-0.5"),e&&t.to(".hero_headline_ract-mask",{width:"0%",duration:.6,ease:"loader2"},">-0.6"),t.from("#heroBottomWrapper",{opacity:0,duration:1,ease:"loader2"},">-0.4")};window.caseStudyInteraction=function(i){let e=i.querySelector(".portfolio_item_image-mask"),t=$.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});Z.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()})};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 Ei(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")}),$.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 Ei(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")}),$.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 Ei(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){$.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){$.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 Ei(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(),$.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){$.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){$.set(i,{backgroundColor:"#fff"}),$.set("#heroNavbarLottie path",{fill:"rgb(21, 21, 21)"});let e=$.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=$.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"]');$.from(t,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},width:"0%",duration:.7,ease:"loader2",stagger:.15}),$.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=$.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=$.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=$.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=$.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=$.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=$.timeline({scrollTrigger:{trigger:"#statsKnow",start:"center center",toggleActions:"restart none none reverse",end:"+=500"},pause:"paused",ease:"defaultEase"}),e=new br("#statsDone",{type:"lines",linesClass:"stats-line"}),t=new br("#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,""));$.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 Ei(i,e).mount();console.log("Splide instance:",t);let r=i.querySelectorAll(".slider-description");r.forEach(n=>{n.closest(".splide__slide").classList.contains("is-active")||$.set(n,{opacity:0})}),window.innerWidth>992&&t.on("click",function(){t.go("+1")}),t.on("move",function(){$.set(r,{opacity:0})}),t.on("active",function(n){$.to(n.slide.querySelectorAll(".slider-description"),{opacity:1,duration:.15,ease:"linear"})}),$.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=$.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&&$.to(a,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),r.addEventListener("mouseleave",()=>{o.timeScale(3).reverse(),i.forEach(a=>{a!==event.target&&$.to(a,{color:"#fff",duration:.1,ease:"loader2"})})})}),e.addEventListener("mouseenter",()=>{$.to(e,{color:"#fff",duration:.2,ease:"loader2"}),i.forEach(r=>{$.to(r,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),e.addEventListener("mouseleave",()=>{$.to(e,{color:"#7A7A7A",duration:.2,ease:"loader2"}),i.forEach(r=>{$.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=$.from(e,{width:"100%",duration:.7,ease:"loader2",paused:!0});Z.create({animation:r,trigger:e,start:"top 80%",onEnter:()=>r.play()})})};window.updateScrollTrigger=function(){window.onload=function(){Z.update()}};window.blogPostMaskAnimation=function(i){let e=document.querySelector("#heroSection"),t=$.from(".post_main-mask-ract",{left:"0%",ease:"loader2"});Z.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=$.timeline({}),t=new br("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line"}),r=new br("#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.contactUsHide=function(i){$.to(i,{autoAlpha:0,duration:.15,ease:"loader2",scrollTrigger:{trigger:"#bottomWrapperOverlay",start:"top center",toggleActions:"play none none reverse"}})};window.scrollTriggerRefresh=function(){function i(){Z.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=$.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!"),vd(),Hy(),Webflow.env("editor")===void 0?(Wy(),Pt.start()):(console.log("Editor mode ON"),Pt.destroy()),zy(),qy(),Uy(),Xy(),Gy(),$y(),Vy(),Yy()});})();
|
|
6
6
|
/*! Bundled license information:
|
|
7
7
|
|
|
8
|
-
gsap/gsap-core.js:
|
|
8
|
+
@gsap/shockingly/gsap-core.js:
|
|
9
9
|
(*!
|
|
10
|
-
* GSAP 3.12.
|
|
11
|
-
* https://
|
|
10
|
+
* GSAP 3.12.5
|
|
11
|
+
* https://gsap.com
|
|
12
12
|
*
|
|
13
|
-
* @license Copyright 2008-
|
|
14
|
-
* Subject to the terms at https://
|
|
15
|
-
* Club
|
|
13
|
+
* @license Copyright 2008-2024, GreenSock. All rights reserved.
|
|
14
|
+
* Subject to the terms at https://gsap.com/standard-license or for
|
|
15
|
+
* Club GSAP members, the agreement issued with that membership.
|
|
16
16
|
* @author: Jack Doyle, jack@greensock.com
|
|
17
17
|
*)
|
|
18
18
|
|
|
19
|
-
gsap/CSSPlugin.js:
|
|
19
|
+
@gsap/shockingly/CSSPlugin.js:
|
|
20
20
|
(*!
|
|
21
|
-
* CSSPlugin 3.12.
|
|
22
|
-
* https://
|
|
21
|
+
* CSSPlugin 3.12.5
|
|
22
|
+
* https://gsap.com
|
|
23
23
|
*
|
|
24
|
-
* Copyright 2008-
|
|
25
|
-
* Subject to the terms at https://
|
|
26
|
-
* Club
|
|
24
|
+
* Copyright 2008-2024, GreenSock. All rights reserved.
|
|
25
|
+
* Subject to the terms at https://gsap.com/standard-license or for
|
|
26
|
+
* Club GSAP members, the agreement issued with that membership.
|
|
27
27
|
* @author: Jack Doyle, jack@greensock.com
|
|
28
28
|
*)
|
|
29
29
|
|
|
30
|
-
gsap/Observer.js:
|
|
30
|
+
@gsap/shockingly/Observer.js:
|
|
31
31
|
(*!
|
|
32
|
-
* Observer 3.12.
|
|
33
|
-
* https://
|
|
32
|
+
* Observer 3.12.5
|
|
33
|
+
* https://gsap.com
|
|
34
34
|
*
|
|
35
|
-
* @license Copyright 2008-
|
|
36
|
-
* Subject to the terms at https://
|
|
37
|
-
* Club
|
|
35
|
+
* @license Copyright 2008-2024, GreenSock. All rights reserved.
|
|
36
|
+
* Subject to the terms at https://gsap.com/standard-license or for
|
|
37
|
+
* Club GSAP members, the agreement issued with that membership.
|
|
38
38
|
* @author: Jack Doyle, jack@greensock.com
|
|
39
39
|
*)
|
|
40
40
|
|
|
41
|
-
gsap/ScrollTrigger.js:
|
|
41
|
+
@gsap/shockingly/ScrollTrigger.js:
|
|
42
42
|
(*!
|
|
43
|
-
* ScrollTrigger 3.12.
|
|
44
|
-
* https://
|
|
43
|
+
* ScrollTrigger 3.12.5
|
|
44
|
+
* https://gsap.com
|
|
45
45
|
*
|
|
46
|
-
* @license Copyright 2008-
|
|
47
|
-
* Subject to the terms at https://
|
|
48
|
-
* Club
|
|
46
|
+
* @license Copyright 2008-2024, GreenSock. All rights reserved.
|
|
47
|
+
* Subject to the terms at https://gsap.com/standard-license or for
|
|
48
|
+
* Club GSAP members, the agreement issued with that membership.
|
|
49
49
|
* @author: Jack Doyle, jack@greensock.com
|
|
50
50
|
*)
|
|
51
51
|
|
|
52
|
-
gsap/ScrollToPlugin.js:
|
|
52
|
+
@gsap/shockingly/ScrollToPlugin.js:
|
|
53
53
|
(*!
|
|
54
|
-
* ScrollToPlugin 3.12.
|
|
55
|
-
* https://
|
|
54
|
+
* ScrollToPlugin 3.12.5
|
|
55
|
+
* https://gsap.com
|
|
56
56
|
*
|
|
57
|
-
* @license Copyright 2008-
|
|
58
|
-
* Subject to the terms at https://
|
|
59
|
-
* Club
|
|
57
|
+
* @license Copyright 2008-2024, GreenSock. All rights reserved.
|
|
58
|
+
* Subject to the terms at https://gsap.com/standard-license or for
|
|
59
|
+
* Club GSAP members, the agreement issued with that membership.
|
|
60
60
|
* @author: Jack Doyle, jack@greensock.com
|
|
61
61
|
*)
|
|
62
62
|
|
|
63
|
-
gsap/utils/paths.js:
|
|
63
|
+
@gsap/shockingly/utils/paths.js:
|
|
64
64
|
(*!
|
|
65
|
-
* paths 3.12.
|
|
66
|
-
* https://
|
|
65
|
+
* paths 3.12.5
|
|
66
|
+
* https://gsap.com
|
|
67
67
|
*
|
|
68
|
-
* Copyright 2008-
|
|
69
|
-
* Subject to the terms at https://
|
|
70
|
-
* Club
|
|
68
|
+
* Copyright 2008-2024, GreenSock. All rights reserved.
|
|
69
|
+
* Subject to the terms at https://gsap.com/standard-license or for
|
|
70
|
+
* Club GSAP members, the agreement issued with that membership.
|
|
71
71
|
* @author: Jack Doyle, jack@greensock.com
|
|
72
72
|
*)
|
|
73
73
|
|
|
74
|
-
gsap/CustomEase.js:
|
|
74
|
+
@gsap/shockingly/CustomEase.js:
|
|
75
75
|
(*!
|
|
76
|
-
* CustomEase 3.12.
|
|
77
|
-
* https://
|
|
76
|
+
* CustomEase 3.12.5
|
|
77
|
+
* https://gsap.com
|
|
78
78
|
*
|
|
79
|
-
* @license Copyright 2008-
|
|
80
|
-
* Subject to the terms at https://
|
|
81
|
-
* Club
|
|
79
|
+
* @license Copyright 2008-2024, GreenSock. All rights reserved.
|
|
80
|
+
* Subject to the terms at https://gsap.com/standard-license or for
|
|
81
|
+
* Club GSAP members, the agreement issued with that membership.
|
|
82
82
|
* @author: Jack Doyle, jack@greensock.com
|
|
83
83
|
*)
|
|
84
84
|
|
|
85
|
-
gsap/utils/strings.js:
|
|
85
|
+
@gsap/shockingly/utils/strings.js:
|
|
86
86
|
(*!
|
|
87
|
-
* strings: 3.12.
|
|
88
|
-
* https://
|
|
87
|
+
* strings: 3.12.5
|
|
88
|
+
* https://gsap.com
|
|
89
89
|
*
|
|
90
|
-
* Copyright 2008-
|
|
91
|
-
* Subject to the terms at https://
|
|
92
|
-
* Club
|
|
90
|
+
* Copyright 2008-2024, GreenSock. All rights reserved.
|
|
91
|
+
* Subject to the terms at https://gsap.com/standard-license or for
|
|
92
|
+
* Club GSAP members, the agreement issued with that membership.
|
|
93
93
|
* @author: Jack Doyle, jack@greensock.com
|
|
94
94
|
*)
|
|
95
95
|
|
|
96
|
-
gsap/SplitText.js:
|
|
96
|
+
@gsap/shockingly/SplitText.js:
|
|
97
97
|
(*!
|
|
98
|
-
* SplitText: 3.12.
|
|
99
|
-
* https://
|
|
98
|
+
* SplitText: 3.12.5
|
|
99
|
+
* https://gsap.com
|
|
100
100
|
*
|
|
101
|
-
* @license Copyright 2008-
|
|
102
|
-
* Subject to the terms at https://
|
|
103
|
-
* Club
|
|
101
|
+
* @license Copyright 2008-2024, GreenSock. All rights reserved.
|
|
102
|
+
* Subject to the terms at https://gsap.com/standard-license or for
|
|
103
|
+
* Club GSAP members, the agreement issued with that membership.
|
|
104
104
|
* @author: Jack Doyle, jack@greensock.com
|
|
105
105
|
*)
|
|
106
106
|
|
|
@@ -112,14 +112,14 @@ gsap/SplitText.js:
|
|
|
112
112
|
* Copyright: 2022 Naotoshi Fujita
|
|
113
113
|
*)
|
|
114
114
|
|
|
115
|
-
gsap/DrawSVGPlugin.js:
|
|
115
|
+
@gsap/shockingly/DrawSVGPlugin.js:
|
|
116
116
|
(*!
|
|
117
|
-
* DrawSVGPlugin 3.12.
|
|
118
|
-
* https://
|
|
117
|
+
* DrawSVGPlugin 3.12.5
|
|
118
|
+
* https://gsap.com
|
|
119
119
|
*
|
|
120
|
-
* @license Copyright 2008-
|
|
121
|
-
* Subject to the terms at https://
|
|
122
|
-
* Club
|
|
120
|
+
* @license Copyright 2008-2024, GreenSock. All rights reserved.
|
|
121
|
+
* Subject to the terms at https://gsap.com/standard-license or for
|
|
122
|
+
* Club GSAP members, the agreement issued with that membership.
|
|
123
123
|
* @author: Jack Doyle, jack@greensock.com
|
|
124
124
|
*)
|
|
125
125
|
*/
|