@widelab-nc/widelab 1.1.22 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +3 -3
- package/dist/style.css +1 -1
- package/dist/style.css.map +2 -2
- package/package.json +1 -1
- package/src/index.js +38 -7
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(()=>{var
|
|
1
|
+
(()=>{var iu=!1,nu=!1,ki=[],su=-1;function V_(i){W_(i)}function W_(i){ki.includes(i)||ki.push(i),H_()}function sf(i){let e=ki.indexOf(i);e!==-1&&e>su&&ki.splice(e,1)}function H_(){!nu&&!iu&&(iu=!0,queueMicrotask(Y_))}function Y_(){iu=!1,nu=!0;for(let i=0;i<ki.length;i++)ki[i](),su=i;ki.length=0,su=-1,nu=!1}var mn,vn,ls,of,ou=!0;function q_(i){ou=!1,i(),ou=!0}function U_(i){mn=i.reactive,ls=i.release,vn=e=>i.effect(e,{scheduler:t=>{ou?V_(t):t()}}),of=i.raw}function qc(i){vn=i}function X_(i){let e=()=>{};return[r=>{let n=vn(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),ls(n))},n},()=>{e()}]}function ss(i,e,t={}){i.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0,cancelable:!0}))}function ei(i,e){if(typeof ShadowRoot=="function"&&i instanceof ShadowRoot){Array.from(i.children).forEach(n=>ei(n,e));return}let t=!1;if(e(i,()=>t=!0),t)return;let r=i.firstElementChild;for(;r;)ei(r,e,!1),r=r.nextElementSibling}function Or(i,...e){console.warn(`Alpine Warning: ${i}`,...e)}var Uc=!1;function G_(){Uc&&Or("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),Uc=!0,document.body||Or("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),ss(document,"alpine:init"),ss(document,"alpine:initializing"),Su(),K_(e=>Mr(e,ei)),Eu(e=>bu(e)),gf((e,t)=>{Pu(e,t).forEach(r=>r())});let i=e=>!Eo(e.parentElement,!0);Array.from(document.querySelectorAll(lf())).filter(i).forEach(e=>{Mr(e)}),ss(document,"alpine:initialized")}var xu=[],af=[];function uf(){return xu.map(i=>i())}function lf(){return xu.concat(af).map(i=>i())}function cf(i){xu.push(i)}function ff(i){af.push(i)}function Eo(i,e=!1){return wo(i,t=>{if((e?lf():uf()).some(n=>t.matches(n)))return!0})}function wo(i,e){if(i){if(e(i))return i;if(i._x_teleportBack&&(i=i._x_teleportBack),!!i.parentElement)return wo(i.parentElement,e)}}function j_(i){return uf().some(e=>i.matches(e))}var df=[];function $_(i){df.push(i)}function Mr(i,e=ei,t=()=>{}){fg(()=>{e(i,(r,n)=>{t(r,n),df.forEach(s=>s(r,n)),Pu(r,r.attributes).forEach(s=>s()),r._x_ignore&&n()})})}function bu(i){ei(i,e=>{vf(e),Z_(e)})}var hf=[],pf=[],_f=[];function K_(i){_f.push(i)}function Eu(i,e){typeof e=="function"?(i._x_cleanups||(i._x_cleanups=[]),i._x_cleanups.push(e)):(e=i,pf.push(e))}function gf(i){hf.push(i)}function mf(i,e,t){i._x_attributeCleanups||(i._x_attributeCleanups={}),i._x_attributeCleanups[e]||(i._x_attributeCleanups[e]=[]),i._x_attributeCleanups[e].push(t)}function vf(i,e){i._x_attributeCleanups&&Object.entries(i._x_attributeCleanups).forEach(([t,r])=>{(e===void 0||e.includes(t))&&(r.forEach(n=>n()),delete i._x_attributeCleanups[t])})}function Z_(i){if(i._x_cleanups)for(;i._x_cleanups.length;)i._x_cleanups.pop()()}var wu=new MutationObserver(Au),Cu=!1;function Su(){wu.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Cu=!0}function Df(){Q_(),wu.disconnect(),Cu=!1}var os=[],Ja=!1;function Q_(){os=os.concat(wu.takeRecords()),os.length&&!Ja&&(Ja=!0,queueMicrotask(()=>{J_(),Ja=!1}))}function J_(){Au(os),os.length=0}function Ve(i){if(!Cu)return i();Df();let e=i();return Su(),e}var Tu=!1,yo=[];function eg(){Tu=!0}function tg(){Tu=!1,Au(yo),yo=[]}function Au(i){if(Tu){yo=yo.concat(i);return}let e=[],t=[],r=new Map,n=new Map;for(let s=0;s<i.length;s++)if(!i[s].target._x_ignoreMutationObserver&&(i[s].type==="childList"&&(i[s].addedNodes.forEach(o=>o.nodeType===1&&e.push(o)),i[s].removedNodes.forEach(o=>o.nodeType===1&&t.push(o))),i[s].type==="attributes")){let o=i[s].target,a=i[s].attributeName,u=i[s].oldValue,l=()=>{r.has(o)||r.set(o,[]),r.get(o).push({name:a,value:o.getAttribute(a)})},c=()=>{n.has(o)||n.set(o,[]),n.get(o).push(a)};o.hasAttribute(a)&&u===null?l():o.hasAttribute(a)?(c(),l()):c()}n.forEach((s,o)=>{vf(o,s)}),r.forEach((s,o)=>{hf.forEach(a=>a(o,s))});for(let s of t)e.includes(s)||(pf.forEach(o=>o(s)),bu(s));e.forEach(s=>{s._x_ignoreSelf=!0,s._x_ignore=!0});for(let s of e)t.includes(s)||s.isConnected&&(delete s._x_ignoreSelf,delete s._x_ignore,_f.forEach(o=>o(s)),s._x_ignore=!0,s._x_ignoreSelf=!0);e.forEach(s=>{delete s._x_ignoreSelf,delete s._x_ignore}),e=null,t=null,r=null,n=null}function yf(i){return fs(_n(i))}function cs(i,e,t){return i._x_dataStack=[e,..._n(t||i)],()=>{i._x_dataStack=i._x_dataStack.filter(r=>r!==e)}}function _n(i){return i._x_dataStack?i._x_dataStack:typeof ShadowRoot=="function"&&i instanceof ShadowRoot?_n(i.host):i.parentNode?_n(i.parentNode):[]}function fs(i){return new Proxy({objects:i},rg)}var rg={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"?ig: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 ig(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function xf(i){let e=r=>typeof r=="object"&&!Array.isArray(r)&&r!==null,t=(r,n="")=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([s,{value:o,enumerable:a}])=>{if(a===!1||o===void 0)return;let u=n===""?s:`${n}.${s}`;typeof o=="object"&&o!==null&&o._x_interceptor?r[s]=o.initialize(i,u,s):e(o)&&o!==r&&!(o instanceof Element)&&t(o,u)})};return t(i)}function bf(i,e=()=>{}){let t={initialValue:void 0,_x_interceptor:!0,initialize(r,n,s){return i(this.initialValue,()=>ng(r,n),o=>au(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 ng(i,e){return e.split(".").reduce((t,r)=>t[r],i)}function au(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]]={}),au(i[e[0]],e.slice(1),t)}}var Ef={};function ir(i,e){Ef[i]=e}function uu(i,e){return Object.entries(Ef).forEach(([t,r])=>{let n=null;function s(){if(n)return n;{let[o,a]=Ff(e);return n={interceptor:bf,...o},Eu(e,a),n}}Object.defineProperty(i,`$${t}`,{get(){return r(e,s())},enumerable:!1})}),i}function sg(i,e,t,...r){try{return t(...r)}catch(n){us(n,i,e)}}function us(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 Ef(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 wf(...i)}var wf=Cf;function ag(i){wf=i}function Cf(i,e){let t={};au(t,i);let r=[t,..._n(i)],n=typeof e=="function"?ug(r,e):cg(r,e,i);return og.bind(null,i,e,n)}function ug(i,e){return(t=()=>{},{scope:r={},params:n=[]}={})=>{let s=e.apply(fs([r,...i]),n);xo(t,s)}}var Ja={};function lg(i,e){if(Ja[i])return Ja[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 Ja[i]=s,s}function cg(i,e,t){let r=lg(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 Au="x-";function Dn(i=""){return Au+i}function fg(i){Au=i}var uu={};function Re(i,e){return uu[i]=e,{before(t){if(!uu[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 Fu(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=Sf(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(Of((s,o)=>r[s]=o)).filter(kf).map(pg(r,t)).sort(_g).map(s=>hg(i,s))}function Sf(i){return Array.from(i).map(Of()).filter(e=>!kf(e))}var lu=!1,ns=new Map,Tf=Symbol();function dg(i){lu=!0;let e=Symbol();Tf=e,ns.set(e,[]);let t=()=>{for(;ns.get(e).length;)ns.get(e).shift()();ns.delete(e)},r=()=>{lu=!1,t()};i(t),r()}function Af(i){let e=[],t=a=>e.push(a),[r,n]=G_(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 hg(i,e){let t=()=>{},r=uu[e.type]||t,[n,s]=Af(i);gf(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),lu?ns.get(Tf).push(r):r())};return o.runCleanups=s,o}var Ff=(i,e)=>({name:t,value:r})=>(t.startsWith(i)&&(t=t.replace(i,e)),{name:t,value:r}),Pf=i=>i;function Of(i=()=>{}){return({name:e,value:t})=>{let{name:r,value:n}=Mf.reduce((s,o)=>o(s),{name:e,value:t});return r!==e&&i(r,e),{name:r,value:n}}}var Mf=[];function Pu(i){Mf.push(i)}function kf({name:i}){return Lf().test(i)}var Lf=()=>new RegExp(`^${Au}([^:^.]+)\\b`);function pg(i,e){return({name:t,value:r})=>{let n=t.match(Lf()),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 cu="DEFAULT",Mi=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",cu,"teleport"];function _g(i,e){let t=Mi.indexOf(i.type)===-1?cu:i.type,r=Mi.indexOf(e.type)===-1?cu:e.type;return Mi.indexOf(t)-Mi.indexOf(r)}var fu=[],Ou=!1;function Mu(i=()=>{}){return queueMicrotask(()=>{Ou||setTimeout(()=>{du()})}),new Promise(e=>{fu.push(()=>{i(),e()})})}function du(){for(Ou=!1;fu.length;)fu.shift()()}function gg(){Ou=!0}function ku(i,e){return Array.isArray(e)?Uc(i,e.join(" ")):typeof e=="object"&&e!==null?mg(i,e):typeof e=="function"?ku(i,e()):Uc(i,e)}function Uc(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 mg(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?vg(i,e):Dg(i,e)}function vg(i,e){let t={};return Object.entries(e).forEach(([r,n])=>{t[r]=i.style[r],r.startsWith("--")||(r=yg(r)),i.style.setProperty(r,n)}),setTimeout(()=>{i.style.length===0&&i.removeAttribute("style")}),()=>{Co(i,t)}}function Dg(i,e){let t=i.getAttribute("style",e);return i.setAttribute("style",e),()=>{i.setAttribute("style",t||"")}}function yg(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function hu(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"?bg(i,t,e):xg(i,r,e))});function xg(i,e,t){Rf(i,ku,""),{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 bg(i,e,t){Rf(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 Rf(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=()=>{}){pu(i,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){pu(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=Nf(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 Nf(i){let e=i.parentNode;if(e)return e._x_hidePromise?e:Nf(e)}function pu(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;Eg(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 Eg(i,e){let t,r,n,s=hu(()=>{Ve(()=>{t=!0,r||e.before(),n||(e.end(),du()),e.after(),i.isConnected&&e.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(o){this.beforeCancels.push(o)},cancel:hu(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();s()}),finish:s},Ve(()=>{e.start(),e.during()}),gg(),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()}),du(),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 wg(i){return(...e)=>ti&&i(...e)}function Cg(i,e){i._x_dataStack&&(e._x_dataStack=i._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),ti=!0,If(()=>{Mr(e,(t,r)=>{r(t,()=>{})})}),ti=!1}var _u=!1;function Sg(i,e){e._x_dataStack||(e._x_dataStack=i._x_dataStack),ti=!0,_u=!0,If(()=>{Tg(e)}),ti=!1,_u=!1}function Tg(i){let e=!1;Mr(i,(r,n)=>{ei(r,(s,o)=>{if(e&&$_(s))return o();e=!0,n(s,o)})})}function If(i){let e=vn;Yc((t,r)=>{let n=e(t);return ls(n),()=>{}}),i(),Yc(e)}function Ag(i){return ti?_u?!0:i.hasAttribute("data-has-alpine-state"):!1}function Bf(i,e,t,r=[]){switch(i._x_bindings||(i._x_bindings=mn({})),i._x_bindings[e]=t,e=r.includes("camel")?Ng(e):e,e){case"value":Fg(i,t);break;case"style":Og(i,t);break;case"class":Pg(i,t);break;case"selected":case"checked":Mg(i,e,t);break;default:zf(i,e,t);break}}function Fg(i,e){if(i.type==="radio")i.attributes.value===void 0&&(i.value=e),window.fromModel&&(i.checked=Xc(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=>Xc(t,i.value)):i.checked=!!e;else if(i.tagName==="SELECT")Rg(i,e);else{if(i.value===e)return;i.value=e===void 0?"":e}}function Pg(i,e){i._x_undoAddedClasses&&i._x_undoAddedClasses(),i._x_undoAddedClasses=ku(i,e)}function Og(i,e){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=Co(i,e)}function Mg(i,e,t){zf(i,e,t),Lg(i,e,t)}function zf(i,e,t){[null,void 0,!1].includes(t)&&Ig(e)?i.removeAttribute(e):(Vf(e)&&(t=e),kg(i,e,t))}function kg(i,e,t){i.getAttribute(e)!=t&&i.setAttribute(e,t)}function Lg(i,e,t){i[e]!==t&&(i[e]=t)}function Rg(i,e){let t=[].concat(e).map(r=>r+"");Array.from(i.options).forEach(r=>{r.selected=t.includes(r.value)})}function Ng(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Xc(i,e){return i==e}function Vf(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 Ig(i){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)}function Bg(i,e,t){return i._x_bindings&&i._x_bindings[e]!==void 0?i._x_bindings[e]:Wf(i,e,t)}function zg(i,e,t,r=!0){if(i._x_bindings&&i._x_bindings[e]!==void 0)return i._x_bindings[e];if(i._x_inlineBindings&&i._x_inlineBindings[e]!==void 0){let n=i._x_inlineBindings[e];return n.extract=r,Ef(()=>Li(i,n.expression))}return Wf(i,e,t)}function Wf(i,e,t){let r=i.getAttribute(e);return r===null?typeof t=="function"?t():t:r===""?!0:Vf(e)?!![e,"true"].includes(r):r}function Hf(i,e){var t;return function(){var r=this,n=arguments,s=function(){t=null,i.apply(r,n)};clearTimeout(t),t=setTimeout(s,e)}}function Yf(i,e){let t;return function(){let r=this,n=arguments;t||(i.apply(r,n),t=!0,setTimeout(()=>t=!1,e))}}function qf({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 Vg(i){(Array.isArray(i)?i:[i]).forEach(t=>t(ds))}var Oi={},Gc=!1;function Wg(i,e){if(Gc||(Oi=mn(Oi),Gc=!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(),yf(Oi[i])}function Hg(){return Oi}var Uf={};function Yg(i,e){let t=typeof e!="function"?()=>e:e;return i instanceof Element?Xf(i,t()):(Uf[i]=t,()=>{})}function qg(i){return Object.entries(Uf).forEach(([e,t])=>{Object.defineProperty(i,e,{get(){return(...r)=>t(...r)}})}),i}function Xf(i,e,t){let r=[];for(;r.length;)r.pop()();let n=Object.entries(e).map(([o,a])=>({name:o,value:a})),s=Sf(n);return n=n.map(o=>s.find(a=>a.name===o.name)?{name:`x-bind:${o.name}`,value:`"${o.value}"`}:o),Fu(i,n,t).map(o=>{r.push(o.runCleanups),o()}),()=>{for(;r.length;)r.pop()()}}var Gf={};function Ug(i,e){Gf[i]=e}function Xg(i,e){return Object.entries(Gf).forEach(([t,r])=>{Object.defineProperty(i,t,{get(){return(...n)=>r.bind(e)(...n)},enumerable:!1})}),i}var Gg={get reactive(){return mn},get release(){return ls},get effect(){return vn},get raw(){return sf},version:"3.13.1",flushAndStopDeferringMutations:rg,dontAutoEvaluateFunctions:Ef,disableEffectScheduling:U_,startObservingMutations:Cu,stopObservingMutations:vf,setReactivityEngine:X_,onAttributeRemoved:gf,onAttributesAdded:_f,closestDataStack:_n,skipDuringClone:So,onlyDuringClone:wg,addRootSelector:lf,addInitSelector:cf,addScopeToNode:cs,deferMutations:tg,mapAttributes:Pu,evaluateLater:lt,interceptInit:K_,setEvaluator:ag,mergeProxies:fs,extractProp:zg,findClosest:wo,onElRemoved:bu,closestRoot:Eo,destroyTree:xu,interceptor:xf,transition:pu,setStyles:Co,mutateDom:Ve,directive:Re,entangle:qf,throttle:Yf,debounce:Hf,evaluate:Li,initTree:Mr,nextTick:Mu,prefixed:Dn,prefix:fg,plugin:Vg,magic:ir,store:Wg,start:j_,clone:Sg,cloneNode:Cg,bound:Bg,$data:Df,walk:ei,data:Ug,bind:Yg},ds=Gg;function jf(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 jg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Uy=jf(jg+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),$g=Object.freeze({}),Xy=Object.freeze([]),Kg=Object.prototype.hasOwnProperty,To=(i,e)=>Kg.call(i,e),Ri=Array.isArray,as=i=>$f(i)==="[object Map]",Zg=i=>typeof i=="string",Lu=i=>typeof i=="symbol",Ao=i=>i!==null&&typeof i=="object",Qg=Object.prototype.toString,$f=i=>Qg.call(i),Kf=i=>$f(i).slice(8,-1),Ru=i=>Zg(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,Fo=i=>{let e=Object.create(null);return t=>e[t]||(e[t]=i(t))},Jg=/-(\w)/g,Gy=Fo(i=>i.replace(Jg,(e,t)=>t?t.toUpperCase():"")),e0=/\B([A-Z])/g,jy=Fo(i=>i.replace(e0,"-$1").toLowerCase()),Zf=Fo(i=>i.charAt(0).toUpperCase()+i.slice(1)),$y=Fo(i=>i?`on${Zf(i)}`:""),Qf=(i,e)=>i!==e&&(i===i||e===e),gu=new WeakMap,is=[],_r,Ni=Symbol("iterate"),mu=Symbol("Map key iterate");function t0(i){return i&&i._isEffect===!0}function r0(i,e=$g){t0(i)&&(i=i.raw);let t=s0(i,e);return e.lazy||t(),t}function i0(i){i.active&&(Jf(i),i.options.onStop&&i.options.onStop(),i.active=!1)}var n0=0;function s0(i,e){let t=function(){if(!t.active)return i();if(!is.includes(t)){Jf(t);try{return a0(),is.push(t),_r=t,i()}finally{is.pop(),ed(),_r=is[is.length-1]}}};return t.id=n0++,t.allowRecurse=!!e.allowRecurse,t._isEffect=!0,t.active=!0,t.raw=i,t.deps=[],t.options=e,t}function Jf(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,Nu=[];function o0(){Nu.push(gn),gn=!1}function a0(){Nu.push(gn),gn=!0}function ed(){let i=Nu.pop();gn=i===void 0?!0:i}function rr(i,e,t){if(!gn||_r===void 0)return;let r=gu.get(i);r||gu.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=gu.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)?Ru(t)&&u(o.get("length")):(u(o.get(Ni)),as(i)&&u(o.get(mu)));break;case"delete":Ri(i)||(u(o.get(Ni)),as(i)&&u(o.get(mu)));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 u0=jf("__proto__,__v_isRef,__isVue"),td=new Set(Object.getOwnPropertyNames(Symbol).map(i=>Symbol[i]).filter(Lu)),l0=rd(),c0=rd(!0),jc=f0();function f0(){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){o0();let r=me(this)[e].apply(this,t);return ed(),r}}),i}function rd(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?T0:od:e?S0:sd).get(r))return r;let o=Ri(r);if(!i&&o&&To(jc,n))return Reflect.get(jc,n,s);let a=Reflect.get(r,n,s);return(Lu(n)?td.has(n):u0(n))||(i||rr(r,"get",n),e)?a:vu(a)?!o||!Ru(n)?a.value:a:Ao(a)?i?ad(a):Vu(a):a}}var d0=h0();function h0(i=!1){return function(t,r,n,s){let o=t[r];if(!i&&(n=me(n),o=me(o),!Ri(t)&&vu(o)&&!vu(n)))return o.value=n,!0;let a=Ri(t)&&Ru(r)?Number(r)<t.length:To(t,r),u=Reflect.set(t,r,n,s);return t===me(s)&&(a?Qf(n,o)&&ri(t,"set",r,n,o):ri(t,"add",r,n)),u}}function p0(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 _0(i,e){let t=Reflect.has(i,e);return(!Lu(e)||!td.has(e))&&rr(i,"has",e),t}function g0(i){return rr(i,"iterate",Ri(i)?"length":Ni),Reflect.ownKeys(i)}var m0={get:l0,set:d0,deleteProperty:p0,has:_0,ownKeys:g0},v0={get:c0,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}},Iu=i=>Ao(i)?Vu(i):i,Bu=i=>Ao(i)?ad(i):i,zu=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?zu:t?Bu:Iu;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 $c(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 Kc(i,e){e=me(e);let t=me(this),{has:r,get:n}=Po(t),s=r.call(t,i);s?nd(t,r,i):(i=me(i),s=r.call(t,i));let o=n.call(t,i);return t.set(i,e),s?Qf(e,o)&&ri(t,"set",i,e,o):ri(t,"add",i,e),this}function Zc(i){let e=me(this),{has:t,get:r}=Po(e),n=t.call(e,i);n?nd(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 Qc(){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?zu:i?Bu:Iu;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?zu:e?Bu:Iu;return!e&&rr(s,"iterate",u?mu: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(`${Zf(i)} operation ${t}failed: target is readonly.`,me(this))}return i==="delete"?!1:this}}function D0(){let i={get(s){return po(this,s)},get size(){return go(this)},has:_o,add:$c,set:Kc,delete:Zc,clear:Qc,forEach:mo(!1,!1)},e={get(s){return po(this,s,!1,!0)},get size(){return go(this)},has:_o,add:$c,set:Kc,delete:Zc,clear:Qc,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[y0,x0,b0,E0]=D0();function id(i,e){let t=e?i?E0:b0:i?x0:y0;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 w0={get:id(!1,!1)},C0={get:id(!0,!1)};function nd(i,e,t){let r=me(t);if(r!==t&&e.call(i,r)){let n=Kf(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 sd=new WeakMap,S0=new WeakMap,od=new WeakMap,T0=new WeakMap;function A0(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function F0(i){return i.__v_skip||!Object.isExtensible(i)?0:A0(Kf(i))}function Vu(i){return i&&i.__v_isReadonly?i:ud(i,!1,m0,w0,sd)}function ad(i){return ud(i,!0,v0,C0,od)}function ud(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=F0(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 vu(i){return!!(i&&i.__v_isRef===!0)}ir("nextTick",()=>Mu);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",Hg);ir("data",i=>Df(i));ir("root",i=>Eo(i));ir("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=fs(P0(i))),i._x_refs_proxy));function P0(i){let e=[],t=i;for(;t;)t._x_refs&&e.push(t._x_refs),t=t.parentNode;return e}var eu={};function ld(i){return eu[i]||(eu[i]=0),++eu[i]}function O0(i,e){return wo(i,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function M0(i,e){i._x_ids||(i._x_ids={}),i._x_ids[e]||(i._x_ids[e]=ld(e))}ir("id",i=>(e,t=null)=>{let r=O0(i,e),n=r?r._x_ids[e]:ld(e);return t?`${e}-${n}-${t}`:`${e}-${n}`});ir("el",i=>i);cd("Focus","focus","focus");cd("Persist","persist","persist");function cd(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=qf({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=Jc(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=Jc(t);Ve(()=>{o(i._x_teleport,a,e)})},r(()=>s.remove())});var k0=document.createElement("div");function Jc(i){let e=So(()=>document.querySelector(i),()=>k0)();return e||Or(`Cannot find x-teleport element for selector: "${i}"`),e}var fd=()=>{};fd.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",fd);Re("effect",(i,{expression:e},{effect:t})=>t(lt(i,e)));function Du(i,e,t,r){let n=i,s=u=>r(u),o={},a=(u,l)=>c=>l(u,c);if(t.includes("dot")&&(e=L0(e)),t.includes("camel")&&(e=R0(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=Hf(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=Yf(s,l)}return t.includes("prevent")&&(s=a(s,(u,l)=>{l.preventDefault(),u(l)})),t.includes("stop")&&(s=a(s,(u,l)=>{l.stopPropagation(),u(l)})),t.includes("self")&&(s=a(s,(u,l)=>{l.target===i&&u(l)})),(t.includes("away")||t.includes("outside"))&&(n=document,s=a(s,(u,l)=>{i.contains(l.target)||l.target.isConnected!==!1&&(i.offsetWidth<1&&i.offsetHeight<1||i._x_isShown!==!1&&u(l))})),t.includes("once")&&(s=a(s,(u,l)=>{u(l),n.removeEventListener(e,s,o)})),s=a(s,(u,l)=>{I0(e)&&B0(l,t)||u(l)}),n.addEventListener(e,s,o),()=>{n.removeEventListener(e,s,o)}}function L0(i){return i.replace(/-/g,".")}function R0(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function bo(i){return!Array.isArray(i)&&!isNaN(i)}function N0(i){return[" ","_"].includes(i)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function I0(i){return["keydown","keyup"].includes(i)}function B0(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&&ef(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&&ef(i.key).includes(t[0]))}function ef(i){if(!i)return[];i=N0(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),tf(d)?d.get():d},l=d=>{let f;o(_=>f=_),tf(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?()=>{}:Du(i,c,e,d=>{l(z0(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=Du(i.form,"reset",[],f=>{Mu(()=>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(()=>Bf(i,"value",d)),delete window.fromModel},r(()=>{let d=u();e.includes("unintrusive")&&document.activeElement.isSameNode(i)||i._x_forceModelUpdate(d)})});function z0(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")?tu(t.target.value):t.target.value;return t.target.checked?r.concat([n]):r.filter(s=>!V0(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 tu(s)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?tu(n):e.includes("trim")?n.trim():n}}})}function tu(i){let e=i?parseFloat(i):null;return W0(e)?e:i}function V0(i,e){return i==e}function W0(i){return!Array.isArray(i)&&!isNaN(i)}function tf(i){return i!==null&&typeof i=="object"&&typeof i.get=="function"&&typeof i.set=="function"}Re("cloak",i=>queueMicrotask(()=>Ve(()=>i.removeAttribute(Dn("cloak")))));cf(()=>`[${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})})})});Pu(Ff(":",Pf(Dn("bind:"))));var dd=(i,{value:e,modifiers:t,expression:r,original:n},{effect:s})=>{if(!e){let a={};qg(a),lt(i,r)(l=>{Xf(i,l,n)},{scope:a});return}if(e==="key")return H0(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(()=>Bf(i,e,a,t))}))};dd.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",dd);function H0(i,e){i._x_keyExpression=e}lf(()=>`[${Dn("data")}]`);Re("data",(i,{expression:e},{cleanup:t})=>{if(Ag(i))return;e=e===""?"{}":e;let r={};au(r,i);let n={};Xg(n,r);let s=Li(i,e,{scope:n});(s===void 0||s===!0)&&(s={}),au(s,i);let o=mn(s);yf(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=hu(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=q0(e),s=lt(i,n.items),o=lt(i,i._x_keyExpression||"index");i._x_prevKeys=[],i._x_lookup={},t(()=>Y0(i,n,s,o)),r(()=>{Object.values(i._x_lookup).forEach(a=>a.remove()),delete i._x_prevKeys,delete i._x_lookup})});function Y0(i,e,t,r){let n=o=>typeof o=="object"&&!Array.isArray(o),s=i;t(o=>{U0(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=rf(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=rf(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(nf),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 q0(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 rf(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 U0(i){return!Array.isArray(i)&&!isNaN(i)}function hd(){}hd.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",hd);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(nf)}),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=>M0(i,n))});Pu(Ff("@",Pf(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=Du(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(Cf);ds.setReactivityEngine({reactive:Vu,effect:r0,release:i0,raw:me});var X0=ds,Wu=X0;function Hu(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 G0(i){let e=document.createElement("template");Hu(i).forEach(r=>{e.setAttribute(r.name,r.value),i.removeAttribute(r.name)}),i.parentNode.insertBefore(e,i),e.content.appendChild(i)}function j0(i){Hu(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 $0(i){Hu(i).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&i.setAttribute(t.name,"")})}function K0(){document.querySelectorAll("[x-data],[x-data] *").forEach(i=>{j0(i),$0(i)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(G0)}function pd(){window.Alpine=Wu,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{K0(),Wu.start()})}function Yu(){return Yu=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},Yu.apply(this,arguments)}function Mo(i,e,t){return Math.max(i,Math.min(e,t))}var qu=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}},Uu=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={}}},Xu=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,Yu({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 qu,this.emitter=new ko,this.dimensions=new Uu({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 Xu(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 bd(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},fl,it,Te,Vt=1e8,_e=1/Vt,el=Math.PI*2,Z0=el/4,Q0=0,Ed=Math.sqrt,J0=Math.cos,em=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},dl=function(){return typeof window<"u"},Ro=function(e){return Ae(e)||We(e)},wd=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},nt=Array.isArray,tl=/(?:-?\.?\d|\.)+/gi,hl=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Wi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Gu=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,pl=/[+-]=-?[.\d]+/,Cd=/[^,'"\[\]\s]+/gi,tm=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,xe,zt,rl,_l,kt={},zo={},Sd,Td=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)},Ad=function(e,t){return e&&(kt[e]=t)&&zo&&(zo[e]=t)||kt},vs=function(){return 0},rm={suppressEvents:!0,isStart:!0,kill:!1},No={suppressEvents:!0,kill:!1},im={suppressEvents:!0},gl={},ni=[],il={},Fd,xt={},ju={},_d=30,Io=[],ml="",vl=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 xl(e[n],r)))||e.splice(n,1);return e},si=function(e){return e._gsap||vl(Wt(e))[0]._gsap},Dl=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},nm=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(il={},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)},Pd=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()},Od=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Cd).length<2?t:We(e)?e.trim():e},Md=function(e){return e},Yt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},sm=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},gd=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?sm(nt(e.keyframes)):Yt;if(Et(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},om=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},kd=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},am=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},nl=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))},um=function i(e){return!e||e._ts&&i(e.parent)},md=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},Ld=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)),kd(e,t,"_first","_last",e._sort?"_start":0),sl(t)||(e._recent=t),n||Ld(e,t),e._ts<0&&$o(e,e._tTime),e},Rd=function(e,t){return(kt.ScrollTrigger||Xo("scrollTrigger",t))&&kt.ScrollTrigger.create(t,e)},Nd=function(e,t,r,n,s){if(wl(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!it&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Fd!==bt.frame)return ni.push(e),e._lazy=[s,n],1},lm=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},sl=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},cm=function(e,t,r,n){var s=e.ratio,o=t<0||!t&&(!e._start&&lm(e)&&!(!e._initted&&sl(e))||(e._ts<0||e._dp._ts<0)&&!sl(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&&Nd(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&&nl(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)},fm=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},vd=function(e){return e instanceof rt?Ii(e):En(e,e._dur)},dm={_start:0,endTime:vs,totalDuration:vs},Bt=function i(e,t,r){var n=e.labels,s=e._recent||dm,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=tm.exec(e))?"":t[1]},hm=function(e,t,r){return ai(r,function(n){return xs(e,t,n)})},ol=[].slice,Id=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},pm=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var s;return We(n)&&!t||Id(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&&(rl||!wn())?ol.call((t||_l).querySelectorAll(e),0):nt(e)?pm(e,r):Id(e)?ol.call(e,0):e?[e]:[]},al=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")||_l.createElement("div"):e)}},Bd=function(e){return e.sort(function(){return .5-Math.random()})},zd=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):Ed(D*D+b*b),E>x&&(x=E),E<w&&(w=E);n==="random"&&Bd(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?jd(r):r}return p=(g[d]-g.min)/g.max||0,$e(g.b+(r?r(p):p)*g.v)+g.u}},ul=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))}},Vd=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=ul(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)}:ul(e))},Wd=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})},_m=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)}},gm=function(e,t){return function(r){return e(parseFloat(r))+(t||Ke(r))}},mm=function(e,t,r){return Yd(e,t,0,1,r)},Hd=function(e,t,r){return ai(r,function(n){return e[~~t(n)]})},vm=function i(e,t,r){var n=t-e;return nt(e)?Hd(e,i(0,e.length),t):ai(r,function(s){return(n+(s-e)%n)%n+e})},Dm=function i(e,t,r){var n=t-e,s=n*2;return nt(e)?Hd(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?Cd:tl),r+=e.substr(t,n-t)+Wd(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),t=o+1;return r+e.substr(t,e.length-t)},Yd=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)})},ym=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)bl.call(a,e,u,"get",t[u]);s=function(_){return Tl(_,a)||(o?e.p:e)}}}return ai(r,s)},Dd=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,qd=[],Ud=function(e){if(dl()&&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:Tl,add:bl,kill:Nm,modifier:Rm,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),gl[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Ad(t,n),e.register&&e.register(st,n,ft)}else e&&qd.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]},$u=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},Xd=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(tl),!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]=$u(u+1/3,s,o),n[1]=$u(u,s,o),n[2]=$u(u-1/3,s,o);else if(~e.indexOf("="))return n=e.match(hl),r&&n.length<4&&(n[3]=1),n}else n=e.match(tl)||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},Gd=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},yd=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=Xd(d,t,1))&&o+(t?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),r&&(c=Gd(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")}(),xm=/hsl[a]?\(/,yl=function(e){var t=e.join(" "),r;if(Lr.lastIndex=0,Lr.test(t))return r=xm.test(t),e[1]=yd(e[1],r),e[0]=yd(e[0],r,Gd(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(){Sd&&(!rl&&dl()&&(zt=rl=window,_l=zt.document||{},kt.gsap=st,(zt.gsapVersions||(zt.gsapVersions=[])).push(st.version),Td(zo||zt.GreenSockGlobals||!zt.gsap&&zt||{}),c=zt.requestAnimationFrame,qd.forEach(Ud)),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={},bm=/^[\d.\-M][\d.\-,\s]/,Em=/["']/g,wm=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(Em,"").trim():+l,n=u.substr(a+1).trim();return t},Cm=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},Sm=function(e){var t=(e+"").split("("),r=oe[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[wm(t[1])]:Cm(e).split(",").map(Od)):oe._CE&&bm.test(e)?oe._CE("",e):r},jd=function(e){return function(t){return 1-e(1-t)}},$d=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]||Sm(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},Kd=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Ku=function i(e,t,r){var n=t>=1?t:1,s=(r||(e?.3:.45))/(t<1?t:1),o=s/el*(Math.asin(1/n)||0),a=function(c){return c===1?1:n*Math.pow(2,-10*c)*em((c-o)*s)+1},u=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:Kd(a);return s=el/s,u.config=function(l,c){return i(e,l,c)},u},Zu=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)}:Kd(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",Ku("in"),Ku("out"),Ku());(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-(Ed(1-i*i)-1)});Yi("Sine",function(i){return i===1?1:-J0(i*Z0)+1});Yi("Back",Zu("in"),Zu("out"),Zu());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 ml+=i+","+i+"Params,"});var xl=function(e,t){this.id=Q0++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Dl,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||Ld(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),Pd(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+md(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)+md(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),am(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=im);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,vd(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,vd(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:Md,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){bd(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&&Rd(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;$d(this,x)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=fm(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?nm(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),Dd(this,Bt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),Dd(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&&(Pd(xe,Yo(n,xe)),Fd=bt.frame),bt.frame>=_d){_d+=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 Tm=function(e,t,r,n,s,o,a){var u=new ft(this._pt,e,t,0,1,Sl,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(Gu)||[];h=Gu.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=Gu.lastIndex);return u.c=l<n.length?n.substring(l,n.length):"",u.fp=a,(pl.test(n)||m)&&(u.e=0),this._pt=u,u},bl=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?Mm:Jd:Cl,_;if(We(n)&&(~n.indexOf("random(")&&(n=Cn(n)),n.charAt(1)==="="&&(_=Hi(d,n)+(Ke(d)||0),(_||_===0)&&(n=_))),!c||d!==n||ll)return!isNaN(d*n)&&n!==""?(_=new ft(this._pt,e,t,+d||0,n-(d||0),typeof h=="boolean"?Lm:eh,0,f),l&&(_.fp=l),a&&_.modifier(a,this,e),this._pt=_):(!h&&!(t in e)&&Xo(t,n),Tm.call(this,e,t,d,n,f,u||wt.stringFilter,l))},Am=function(e,t,r,n,s){if(Ae(e)&&(e=ms(e,s,t,r,n)),!mr(e)||e.style&&e.nodeType||nt(e)||wd(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},El=function(e,t,r,n,s,o){var a,u,l,c;if(xt[e]&&(a=new xt[e]).init(s,a.rawVars?t[e]:Am(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,ll,wl=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"&&!fl,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?jd(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,gl),m&&(m._zTime<0&&m.progress(1),t<0&&d&&a&&!p?m.render(-1,!0):m.revert(d&&g?No:rm),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||vl(v)[w]._gsap,e._ptLookup[w]=I={},il[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=El(A,x,e,L,P,b))?N.priority&&(F=1):I[A]=S=bl.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&&(il[M.id]=1)}F&&Al(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!T,_&&t<=0&&C.render(Vt,!0,!0)},Fm=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 ll=1,e.vars[t]="+=0",wl(e,a),ll=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))},Pm=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},Om=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},Zd=ml+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Qd={};ct(Zd+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return Qd[i]=1});var Me=function(i){bd(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)||wd(r)?Rr(r[0]):"length"in n)?[r]:Wt(r),b,E,C,x,w,A,S,P;if(a._targets=D.length?vl(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&&zd(d),mr(d))for(w in d)~Zd.indexOf(w)&&(P||(P={}),P[w]=d[w]);for(E=0;E<x;E++)C=Ho(n,Qd),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"||Om(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&&!fl&&(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)&&um(kr(a))&&v.data!=="nested")&&(a._tTime=-_e,a.render(Math.max(0,-c)||0)),g&&Rd(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)cm(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&&$d(D,m),this.vars.repeatRefresh&&!m&&!this._lock&&(this._lock=o=1,this.render($e(p*_),!0).invalidate()._lock=0))}if(!this._initted){if(Nd(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&&nl(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&&nl(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||wl(this,u),l=this._ease(u/this._dur),Fm(this,n,s,o,a,l,u)?this.resetTo(n,s,o,a):($o(this,0),this.parent||kd(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")&&om(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=Pm(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=ol.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var Cl=function(e,t,r){return e[t]=r},Jd=function(e,t,r){return e[t](r)},Mm=function(e,t,r,n){return e[t](n.fp,r)},km=function(e,t,r){return e.setAttribute(t,r)},Ko=function(e,t){return Ae(e[t])?Jd:Uo(e[t])&&e.setAttribute?km:Cl},eh=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Lm=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Sl=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)},Tl=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Rm=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},Nm=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},Im=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Al=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||eh,this.d=u||this,this.set=l||Cl,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=i.prototype;return e.modifier=function(r,n,s){this.mSet=this.mSet||this.set,this.set=Im,this.m=r,this.mt=s,this.tween=n},i}();ct(ml+"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 gl[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=yl;var zi=[],Bo={},Bm=[],xd=0,zm=0,Qu=function(e){return(Bo[e]||Bm).map(function(t){return t()})},cl=function(){var e=Date.now(),t=[];e-xd>2&&(Qu("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))}),Qu("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r)}),xd=e,Qu("matchMedia"))},th=function(){function i(t,r){this.selector=r&&al(r),this.data=[],this._r=[],this.isReverted=!1,this.id=zm++,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=al(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}(),Vm=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 th(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(cl):u.addEventListener("change",cl)));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 Ud(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?Md:Od;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&&Tl(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)),gd(xn,e||{})},config:function(e){return gd(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.")}),ju[t]=function(a,u,l){return r(Wt(a),Yt(u||{},s),l)},o&&(rt.prototype[t]=function(a,u,l){return this.add(ju[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 th(e,t):Te},matchMedia:function(e){return new Vm(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()})||cl()},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:vm,wrapYoyo:Dm,distribute:zd,random:Wd,snap:Vd,normalize:mm,getUnit:Ke,clamp:hm,splitColor:Xd,toArray:Wt,selector:al,mapRange:Yd,pipe:_m,unitize:gm,interpolate:ym,shuffle:Bd},install:Td,effects:ju,ticker:bt,updateRoot:rt.updateRoot,plugins:xt,globalTimeline:xe,core:{PropTween:ft,globals:Ad,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 fl=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 Wm=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Hm=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=Wm(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[s],n))},Ju=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}Hm(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)}},Ju("roundProps",ul),Ju("modifiers"),Ju("snap",Vd))||qo;Me.version=rt.version=st.version="3.12.2";Sd=1;dl()&&wn();var Ym=oe.Power0,qm=oe.Power1,Um=oe.Power2,Xm=oe.Power3,Gm=oe.Power4,jm=oe.Linear,$m=oe.Quad,Km=oe.Cubic,Zm=oe.Quart,Qm=oe.Quint,Jm=oe.Strong,ev=oe.Elastic,tv=oe.Back,rv=oe.SteppedEase,iv=oe.Bounce,nv=oe.Sine,sv=oe.Expo,ov=oe.Circ;var rh,ui,Tn,Rl,Gi,av,ih,Nl,uv=function(){return typeof window<"u"},Ir={},Xi=180/Math.PI,An=Math.PI/180,Sn=Math.atan2,nh=1e8,Il=/([A-Z])/g,lv=/(left|right|width|margin|padding|x)/i,cv=/[\s,\(]\S/,vr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ol=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},fv=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)},dv=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)},hv=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},fh=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},dh=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},pv=function(e,t,r){return e.style[t]=r},_v=function(e,t,r){return e.style.setProperty(t,r)},gv=function(e,t,r){return e._gsap[t]=r},mv=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},vv=function(e,t,r,n,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},Dv=function(e,t,r,n,s){var o=e._gsap;o[t]=r,o.renderTransform(s,o)},be="transform",nr=be+"Origin",yv=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])},hh=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},xv=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(Il,"-$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=Nl(),(!s||!s.isStart)&&!r[be]&&(hh(r),n.uncache=1)}},ph=function(e,t){var r={target:e,props:[],revert:xv,save:yv};return e._gsap||st.core.getCache(e),t&&t.split(",").forEach(function(n){return r.save(n)}),r},_h,Ml=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(Il,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&i(e,Fn(t)||t,1)||""},sh="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--&&!(sh[o]+e in s););return o<0?null:(o===3?"ms":o>=0?sh[o]:"")+e},kl=function(){uv()&&window.document&&(rh=window,ui=rh.document,Tn=ui.documentElement,Gi=Ml("div")||{style:{}},av=Ml("div"),be=Fn(be),nr=be+"Origin",Gi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",_h=!!Fn("perspective"),Nl=st.core.reverting,Rl=1)},Fl=function i(e){var t=Ml("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,s=this.style.cssText,o;if(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},oh=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},gh=function(e){var t;try{t=e.getBBox()}catch{t=Fl.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Fl||(t=Fl.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+oh(e,["x","cx","x1"])||0,y:+oh(e,["y","cy","y1"])||0,width:0,height:0}:t},mh=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&gh(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(Il,"-$1").toLowerCase())):r.removeAttribute(t)}},li=function(e,t,r,n,s,o){var a=new ft(e._pt,t,r,0,1,o?dh:fh);return e._pt=a,a.b=n,a.e=s,e._props.push(r),a},ah={deg:1,rad:1,turn:1},bv={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=lv.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||ah[n]||ah[o]?s:(o!=="px"&&!d&&(s=i(e,t,r,"px")),m=e.getCTM&&mh(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==="%")&&!bv[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 Rl||kl(),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)||Dl(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?ci(e,t,s,r)+r:s},Ev=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,Sl),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],yl(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"?dh:fh;return pl.test(n)&&(a.e=0),this._pt=a,a},uh={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},wv=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]=uh[r]||r,t[1]=uh[n]||n,t.join(" ")},Cv=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,hh(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,Cv);return o.u=n,o.pr=-10,o.tween=s,e._props.push(r),1}}},ws=[1,0,0,1,0,0],vh={},Dh=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},lh=function(e){var t=Dr(e,be);return Dh(t)?ws:t.substr(7).match(hl).map(Fe)},Bl=function(e,t){var r=e._gsap||si(e),n=e.style,s=lh(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=lh(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)},Ll=function(e,t,r,n,s,o){var a=e._gsap,u=s||Bl(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=gh(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 xl(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&&mh(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=Bl(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"),Ll(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","")||!Dh(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?Tv:_h?yh:Sv,r.uncache=0,r},Qo=function(e){return(e=e.split(" "))[0]+" "+e[1]},Pl=function(e,t,r){var n=Ke(t);return Fe(parseFloat(t)+parseFloat(ci(e,"x",r+"px",n)))+n},Sv=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,yh(e,t)},qi="0deg",bs="0px",Ui=") ",yh=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=Pl(v,o,x*A*-D),a=Pl(v,a,-Math.sin(C)*-D),u=Pl(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)"},Tv=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)},Av=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*nh)%o-~~(l/o)*o:h==="ccw"&&l>0&&(l=(l-o*nh)%o-~~(l/o)*o)),e._pt=d=new ft(e._pt,t,r,n,l,fv),d.e=c,d.u="deg",e._props.push(r),d},ch=function(e,t){for(var r in t)e[r]=t[r];return e},Fv=function(e,t,r){var n=ch({},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,Ol),e._pt.u=_||0,e._props.push(u));ch(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 zl={name:"css",register:kl,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;Rl||kl(),this.styles=this.styles||ph(e),w=this.styles.props,this.tween=r;for(p in t)if(p!=="autoRound"&&(c=t[p],!(xt[p]&&El(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,Ol),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){w.push(nr,0,a[nr]),c=wv(c),E.svg?Ll(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"){Ll(e,c,1,C,0,this);continue}else if(p in vh){Av(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"){Fv(this,c,e);continue}}else p in a||(p=Fn(p)||p);if(D||(h||h===0)&&(d||d===0)&&!cv.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?hv:Ol),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=l,this._pt.r=dv);else if(p in a)Ev.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&&Al(this)},render:function(e,t){if(t.tween._time||!Nl())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&&ih===r?t==="scale"?mv:gv:(ih=r||{})&&(t==="scale"?vv:Dv):e.style&&!Uo(e.style[t])?pv:~t.indexOf("-")?_v:Ko(e,t)},core:{_removeProperty:Es,_getMatrix:Bl}};st.utils.checkPrefix=Fn;st.core.getStyleSaver=ph;(function(i,e,t,r){var n=ct(i+","+e+","+t,function(s){Ir[s]=1});ct(e,function(s){wt.units[s]="deg",vh[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(zl);var Q=st.registerPlugin(zl)||st,a1=Q.core.Tween;function xh(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 Pv(i,e,t){return e&&xh(i.prototype,e),t&&xh(i,t),i}var Ze,Vl,Ov,Lt,fi,di,On,Eh,ji,Ts,wh,Br,sr,Ch,Sh=function(){return Ze||typeof window<"u"&&(Ze=window.gsap)&&Ze.registerPlugin&&Ze},Th=1,Pn=[],ie=[],or=[],As=Date.now,Wl=function(e,t){return t},Mv=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,Wl=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!!~wh.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",Hl=function(){return Br&&Br.isPressed||ie.cache++},ta=function(e,t){var r=function n(s){if(s||s===0){Th&&(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&&Wl("ss",s)}else(t||ie.cache!==n.cacheID||Wl("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",Hl);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},bh=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},Ah=function(){Ts=Ze.core.globals().ScrollTrigger,Ts&&Ts.core&&Mv()},Fh=function(e){return Ze=e||Sh(),Ze&&typeof document<"u"&&document.body&&(Lt=window,fi=document,di=fi.documentElement,On=fi.body,wh=[Lt,fi,di,On],Ov=Ze.utils.clamp,Ch=Ze.core.context||function(){},ji="onpointerenter"in On?"pointer":"mouse",Eh=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 Th=0},500),Ah(),Vl=1),Vl};ot.op=Ne;ie.cache=0;var ke=function(){function i(t){this.init(t)}var e=i.prototype;return e.init=function(r){Vl||Fh(Ze)||console.warn("Please gsap.registerPlugin(Observer)"),Ts||Ah();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=bh(Kt),de=O.deltaY=bh(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(Z){fr(Z,1)||Z&&Z.button||(O.axis=Be=null,Je.pause(),O.isPressed=!0,Z=Ss(Z),Pt=Ar=0,O.startX=O.x=Z.clientX,O.startY=O.y=Z.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(Z){if(!fr(Z,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(Z);!de&&G&&(O._vx.reset(),O._vy.reset(),c&&Y&&Ze.delayedCall(.08,function(){if(As()-Ci>300&&!Z.defaultPrevented){if(Z.target.click)Z.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),Z.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,Ch(this),O.enable=function(Z){return O.isEnabled||(ht(Xe?Pe:a,"scroll",Hl),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&&Eh||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,Z&&Z.type&&Zr(Z),q&&q(O)),O},O.disable=function(){O.isEnabled&&(Pn.filter(function(Z){return Z!==O&&Fs(Z.target)}).length||dt(Xe?Pe:a,"scroll",Hl),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 Z=Pn.indexOf(O);Z>=0&&Pn.splice(Z,1),Br===O&&(Br=0)},Pn.push(O),B&&Fs(a)&&(Br=O),O.enable(p)},Pv(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=Fh;ke.getAll=function(){return Pn.slice()};ke.getById=function(i){return Pn.filter(function(e){return e.vars.id===i})[0]};Sh()&&Ze.registerPlugin(ke);var H,Ln,ae,Ee,ar,ve,Xh,ya,xa,Nn,ha,ia,at,Ea,Kl,_t,Ph,Oh,Rn,Gh,Yl,jh,Rt,$h,Kh,Zh,hi,Zl,rc,In,ic,ql,na=1,mt=Date.now,Ul=mt(),Xt=0,Os=0,Mh=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},kh=function(e,t){return t&&(!It(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},kv=function i(){return Os&&requestAnimationFrame(i)},Lh=function(){return Ea=1},Rh=function(){return Ea=0},yr=function(e){return e},Ms=function(e){return Math.round(e*1e5)/1e5||0},Qh=function(){return typeof window<"u"},Jh=function(){return H||Qh()&&(H=window.gsap)&&H.registerPlugin&&H},en=function(e){return!!~Xh.indexOf(e)},ep=function(e){return(e==="Height"?ic:ae["inner"+e])||ar["client"+e]||ve["client"+e]},tp=function(e){return Vr(e,"getBoundingClientRect")||(en(e)?function(){return Da.width=ae.innerWidth,Da.height=ic,Da}:function(){return Wr(e)})},Lv=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?ep(s):e["client"+s])||0}},Rv=function(e,t){return!t||~or.indexOf(e)?tp(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()-tp(e)()[s]:en(e)?(ar[r]||ve[r])-ep(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()},Xl=function(e,t){if(e.enabled){var r=t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},Mn=Math.abs,rp="left",ip="top",nc="right",sc="bottom",Zi="width",Qi="height",Ls="Right",Rs="Left",Ns="Top",Is="Bottom",Ie="padding",qt="margin",zn="Width",oc="Height",Qe="px",Ut=function(e){return ae.getComputedStyle(e)},Nv=function(e){var t=Ut(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},Nh=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)[Kl]!=="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},Ql=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},np=function(e){var t=[],r=e.labels,n=e.duration(),s;for(s in r)t.push(r[s]/n);return t},Iv=function(e){return function(t){return H.utils.snap(np(e),t)}},ac=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)}},Bv=function(e){return function(t,r){return ac(np(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))},Ih={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?nc:sc)+":"+(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=[],Jl={},zs,Bh=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())},Gl=function(){Zh=ae.innerWidth,Kh=ae.innerHeight},ks=function(){ie.cache++,!at&&!jh&&!Ee.fullscreenElement&&!Ee.webkitFullscreenElement&&(!$h||Zh!==ae.innerWidth||Math.abs(ae.innerHeight-Kh)>ae.innerHeight*.25)&&ya.restart(!0)},tn={},zv=[],sp=function i(){return qe(K,"scrollEnd",i)||Ki(!0)},rn=function(e){return tn[e]&&tn[e].map(function(t){return t()})||zv},Nt=[],op=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)},uc=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&&op(t),t||rn("revert")},ap=function(e,t){ie.cache++,(t||!gt)&&ie.forEach(function(r){return vt(r)&&r.cacheID++&&(r.rec=0)}),It(e)&&(ae.history.scrollRestoration=rc=e)},gt,Ji=0,zh,Vv=function(){if(zh!==Ji){var e=zh=Ji;requestAnimationFrame(function(){return e===Ji&&Ki(!0)})}},up=function(){ve.appendChild(In),ic=In.offsetHeight||ae.innerHeight,ve.removeChild(In)},Ki=function(e,t){if(Xt&&!e){Ue(K,"scrollEnd",sp);return}up(),gt=K.isRefreshing=!0,ie.forEach(function(n){return vt(n)&&++n.cacheID&&(n.rec=n())});var r=rn("refreshInit");Gh&&K.sort(),t||uc(),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))}),ap(rc,1),ya.pause(),Ji++,gt=2,Yr(2),ne.forEach(function(n){return vt(n.vars.onRefresh)&&n.vars.onRefresh(n)}),gt=K.isRefreshing=!1,rn("refresh")},ec=0,ma=1,Bs,Yr=function(e){if(!gt||e===2){K.isUpdating=!0,Bs&&Bs.update(0);var t=ne.length,r=mt(),n=r-Ul>=50,s=t&&ne[0].scroll();if(ma=ec>s?-1:1,gt||(ec=s),n&&(Xt&&!Ea&&r-Xt>200&&(Xt=0,rn("scrollEnd")),ha=Ul,Ul=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);K.isUpdating=!1}zs=0},tc=[rp,ip,sc,nc,qt+Is,qt+Ls,qt+Ns,qt+Rs,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],va=tc.concat([Zi,Qi,"boxSizing","max"+zn,"max"+oc,"position",qt,Ie,Ie+Ns,Ie+Ls,Ie+Is,Ie+Rs]),Wv=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},jl=function(e,t,r,n){if(!e._gsap.swappedIn){for(var s=tc.length,o=t.style,a=e.style,u;s--;)u=tc[s],o[u]=r[u];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),a[sc]=a[nc]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[Zi]=Ql(e,ot)+Qe,o[Qi]=Ql(e,Ne)+Qe,o[Ie]=a[qt]=a[ip]=a[rp]="0",Bn(n),a[Zi]=a["max"+zn]=r[Zi],a[Qi]=a["max"+oc]=r[Qi],a[Ie]=r[Ie],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Hv=/([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(Hv,"-$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},Yv=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},Vh=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)},qv=/(webkit|moz|length|cssText|inset)/i,Wh=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&&!qv.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)}},lp=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)},Hh=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=lp(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),K.isTouch&&Ue(e,"touchmove",r.wheelHandler),s},K=function(){function i(t,r){Ln||i.register(H)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Zl(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=Nh(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=Lv(F,R,S),J=Rv(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&&(Gh=1,r.refreshPriority===-9999&&(Bs=y)),M.tweenScroll=M.tweenScroll||{top:Hh(F,Ne),left:Hh(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"?Iv(n):b.snapTo==="labelsDirectional"?Bv(n):b.directional!==!1?function(W,ue){return ac(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&&(Jl[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),jl(f,Xe,Ti),Qn=ca(f)),B){Ar=$i(B)?Nh(B,Ih):Ih,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 Z=pt(Vr(F,"content")||F);Ce=this.markerStart=la("start",u,Z,S,Ar,Pe,0,x),Be=this.markerEnd=la("end",u,Z,S,Ar,Pe,0,x),x&&(pn=H.quickSetter([Ce,Be],S.a,Qe)),!N&&!(or.length&&Vr(F,"fixedMarkers")===!0)&&(Nv(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?Wv(f,Xe,Ei):jl(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",sp);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,Za,Hc,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=Mh(ye,"start",y),V=Vh(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=Mh(he,"end",y),$=Math.max(V,Vh(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")),jl(f,Xe,je),Qn=ca(f),et=Wr(f,!0),Za=N&&zr(F,fo?ot:Ne)(),_&&(yt=[_+S.os2,Le+De+Qe],yt.t=Xe,Mt=_===Ie?Ql(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:Za)+Qe,left:et.left+(fo?Za:Pi-V)+Qe,boxSizing:"border-box",position:"fixed"},tt[Zi]=tt["max"+zn]=Math.ceil(et.width)+Qe,tt[Qi]=tt["max"+oc]=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=Yv(Ei,tt,E),gt&&Y(0)),n?(Hc=n._initted,Yl(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),Hc||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),Yl(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;Wh(f,ve,Mt.top+(S===Ne?je:0)+Qe,Mt.left+(S===Ne?0:je)+Qe)}else Wh(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||!ql))&&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||!ql)&&(l&&ye&&Xl(y,l),I[De]&&Xl(y,I[De]),D&&(ce===1?y.kill(!1,1):I[De]=0),ye||(De=ce===1?1:3,I[De]&&Xl(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:kh(W,j&&!!y._startClamp),end:kh(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 Jl[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&&Vv()},i.register=function(r){return Ln||(H=r||Jh(),Qh()&&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",Lh),oa(qe,Ee,"pointerup,touchend,mouseup",Rh),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,Zl=H.core.context||yr,Yl=H.core.suppressOverwrites||yr,rc=ae.history.scrollRestoration||"auto",ec=ae.pageYOffset,H.core.globals("ScrollTrigger",i),ve)){Os=1,In=document.createElement("div"),In.style.height="100vh",In.style.position="absolute",up(),kv(),ke.register(H),i.isTouch=ke.isTouch,hi=ke.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ue(ae,"wheel",kn),Xh=[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 uc()}),H.addEventListener("matchMediaRevert",function(){return op()}),H.addEventListener("matchMedia",function(){Ki(0,1),rn("matchMedia")}),H.matchMedia("(orientation: portrait)",function(){return Gl(),Gl})):console.warn("Requires GSAP 3.11.0 or later"),Gl(),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(Bh,250),H.delayedCall(.5,function(){return na=0}),Ue(Ee,"touchcancel",yr),Ue(ve,"touchstart",yr),oa(Ue,Ee,"pointerdown,touchstart,mousedown",Lh),oa(Ue,Ee,"pointerup,touchend,mouseup",Rh),Kl=H.utils.checkPrefix("transform"),va.push(Kl),Ln=mt(),ya=H.delayedCall(.2,Ki).pause(),Rn=[Ee,"visibilitychange",function(){var u=ae.innerWidth,l=ae.innerHeight;Ee.hidden?(Ph=u,Oh=l):(Ph!==u||Oh!==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&&(ql=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(ia)||(ia=n)&&setInterval(Bh,n),"ignoreMobileResize"in r&&($h=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(sa(qe)||sa(Ue,r.autoRefreshEvents||"none"),jh=(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}();K.version="3.12.2";K.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),Zl())}}):Nt};K.revert=function(i,e){return uc(!i,e)};K.create=function(i,e){return new K(i,e)};K.refresh=function(i){return i?ks():(Ln||K.register())&&Ki(!0)};K.update=function(i){return++ie.cache&&Yr(i===!0?2:0)};K.clearScrollMemory=ap;K.maxScroll=function(i,e){return Hr(i,e?ot:Ne)};K.getScrollFunc=function(i,e){return zr(pt(i),e?ot:Ne)};K.getById=function(i){return Jl[i]};K.getAll=function(){return ne.filter(function(i){return i.vars.id!=="ScrollSmoother"})};K.isScrolling=function(){return!!Xt};K.snapDirectional=ac;K.addEventListener=function(i,e){var t=tn[i]||(tn[i]=[]);~t.indexOf(e)||t.push(e)};K.removeEventListener=function(i,e){var t=tn[i],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};K.batch=function(i,e){var t=[],r={},n=e.interval||.016,s=e.batchMax||1e9,o=function(l,c){var 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(K,"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(K.create(l))}),t};var Yh=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},$l=function i(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(ke.isTouch?" pinch-zoom":""):"none",e===ar&&i(ve,t)},da={auto:1,scroll:1},Uv=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)},cp=function(e,t,r,n){return ke.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Uv,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&Ue(Ee,ke.eventTypes[0],Uh,!1,!0)},onDisable:function(){return qe(Ee,ke.eventTypes[0],Uh,!0)}})},Xv=/(input|label|select|textarea)/i,qh,Uh=function(e){var t=Xv.test(e.target.tagName);(t||qh)&&(e._gsapAllow=!0,qh=t)},Gv=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=cp(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&&$l(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*=Yh(_,y,k,Hr(l,ot)),F.vars.scrollX=x(k)),y=f(),k=y+T*.05*-L.velocityY/.227,T*=Yh(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(){$l(l,r?!1:"x"),K.addEventListener("refresh",I),Ue(ae,"resize",I),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),E.enable()},e.onDisable=function(){$l(l,!0),qe(ae,"resize",I),K.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:lp(f,f(),function(){return F.pause()})},onUpdate:Yr,onComplete:N.vars.onComplete}),a};K.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)})};K.observe=function(i){return new ke(i)};K.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:Gv(i);return Rt&&Rt.target===e.target&&Rt.kill(),en(e.target)&&(Rt=e),e};K.core={_getVelocityProp:ra,_inputObserver:cp,_scrollers:ie,_proxies:or,bridge:{ss:function(){Xt||rn("scrollStart"),Xt=mt()},ref:function(){return at}}};Jh()&&H.registerPlugin(K);var Dt,pp,qr,xr,pi,_p,gp,wa,mp=function(){return typeof window<"u"},vp=function(){return Dt||mp()&&(Dt=window.gsap)&&Dt.registerPlugin&&Dt},Dp=function(e){return typeof e=="string"},fp=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]}},jv=function(e,t,r,n){if(fp(e)&&(e=e(t,r,n)),typeof e!="object")return Dp(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"&&fp(e[o])?e[o](t,r,n):e[o];return s},yp=function(e,t){if(e=_p(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},dp=function(e,t,r,n,s){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-s:Dp(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),yp(e,t)[r]-s)},hp=function(){Dt=vp(),mp()&&Dt&&typeof document<"u"&&document.body&&(qr=window,pi=document.body,xr=document.documentElement,_p=Dt.utils.toArray,Dt.config({autoKillThreshold:7}),gp=Dt.config(),pp=1)},Vn={version:"3.12.2",name:"scrollTo",rawVars:1,register:function(e){Dt=e,hp()},init:function(e,t,r,n,s){pp||hp();var o=this,a=Dt.getProperty(e,"scrollSnapType");o.isWin=e===qr,o.target=e,o.tween=r,t=jv(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,dp(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,dp(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=gp.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=yp;Vn.buildGetter=Ws;vp()&&Dt.registerPlugin(Vn);var $v=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var Kv=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var Zv=Math.PI/180,h1=180/Math.PI,Ca=Math.sin,Sa=Math.cos,Ys=Math.abs,Hs=Math.sqrt;var Qv=function(e){return typeof e=="number"};var xp=1e5;var _i=function(e){return Math.round(e*xp)/xp||0};function bp(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 Jv(i,e,t,r,n,s,o,a,u){if(!(i===a&&e===u)){t=Ys(t),r=Ys(r);var l=n%360*Zv,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 Ep(i){var e=(i+"").replace(Kv,function(A){var S=+A;return S<1e-4&&S>-1e-4?0:S}).match($v)||[],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=Jv(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 wp(i){Qv(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,Sp,Tp=function(){return Ct||typeof window<"u"&&(Ct=window.gsap)&&Ct.registerPlugin&&Ct},Cp=function(){Ct=Tp(),Ct?(Ct.registerEase("_CE",nn.create),Sp=1):console.warn("Please gsap.registerPlugin(CustomEase)")},eD=1e20,Ta=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},tD=1,rD=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,iD=/[cLlsSaAhHvVtTqQ]/g,nD=function(e){var t=e.length,r=eD,n;for(n=1;n<t;n+=6)+e[n]<r&&(r=+e[n]);return r},sD=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])?nD(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},oD=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){Sp||Cp(),this.id=t,tD&&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(rD),o=1,a=[],u=[],l=n.precision||1,c=l<=1,h,d,f,_,p,g,m,v,D;if(this.data=r,(iD.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(s=Ep(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)&&sD(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),oD(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,Cp()},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=wp(bp([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}();Tp()&&Ct.registerPlugin(nn);nn.version="3.12.2";var Ap=/([\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 lc(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+=lc(i)}else if(e===3||e===4)return i.nodeValue;return t}var Wn,fc,Op,qs,Mp,Aa,aD=/(?:\r|\n|\t\t)/g,uD=/(?:\s\s+)/g,kp=function(e){Wn=document,fc=window,qs=qs||e||fc.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),qs&&(Aa=qs.utils.toArray,Mp=qs.core.context||function(){},Op=1)},lD=1,Lp=function(e){return fc.getComputedStyle(e)},dc=function(e){return e.position==="absolute"||e.absolute===!0},cD=function(e,t){for(var r=t.length,n;--r>-1;)if(n=t[r],e.substr(0,n.length)===n)return n.length},fD=" style='position:relative;display:inline-block;'",Fp=function(e,t){e===void 0&&(e="");var r=~e.indexOf("++"),n=1;return r&&(e=e.split("++").join("")),function(){return"<"+t+fD+(e?" class='"+e+(r?n++:"")+"'>":">")}},Rp=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))},cc=function(e,t){for(var r=t.length;--r>-1;)e.push(t[r])},Pp=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}},dD=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},hD=function(e,t,r,n,s,o,a){var u=Lp(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=dc(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,Pp(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&&Pp(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&&(dD(X),Rp(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")),cc(r,m),w&&cc(n,v),cc(s,D)},pD=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=dc(t),l=t.wordDelimiter||" ",c=l!==" "?"":u?"­ ":" ",h="</"+s+">",d=1,f=t.specialChars?typeof t.specialChars=="function"?t.specialChars:cD: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,_=lc(e),b=_.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(_=_.replace(uD," ").replace(aD,"")),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(Ap)||[])[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&&Rp(x,"{{LT}}","<")},_D=function i(e,t,r,n){var s=Aa(e.childNodes),o=s.length,a=dc(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&&Lp(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}pD(e,t,r,n)},Er=function(){function i(t,r){Op||kp(),this.elements=Aa(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},Mp(this),lD&&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=Fp(r.wordsClass,s),a=Fp(r.charsClass,s),u,l,c;--n>-1;)c=this.elements[n],this._originals[n]=c.innerHTML,u=c.clientHeight,l=c.clientWidth,_D(c,r,o,a),hD(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=kp;function Np(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 gD(i,e,t){return e&&Np(i.prototype,e),t&&Np(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}var Ip="(prefers-reduced-motion: reduce)",qn=1,mD=2,Gn=3,$n=4,to=5,Pa=6,La=7,vD={CREATED:qn,MOUNTED:mD,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 Zp=setTimeout,mc=function(){};function Bp(i){return requestAnimationFrame(i)}function Ba(i,e){return typeof e===i}function Gs(i){return!wc(i)&&Ba("object",i)}var Ec=Array.isArray,Qp=ge(Ba,"function"),mi=ge(Ba,"string"),ro=ge(Ba,"undefined");function wc(i){return i===null}function Jp(i){try{return i instanceof(i.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function io(i){return Ec(i)?i:[i]}function $t(i,e){io(i).forEach(e)}function Cc(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 Sc(i,e){$t(i,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function js(i,e){return Jp(i)&&(i.msMatchesSelector||i.matches).call(i,e)}function e_(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?e_(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){Ec(t)?i[r]=t.slice():Gs(t)?i[r]=gi({},Gs(i[r])?i[r]:{},t):i[r]=t})}),i}function zp(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){wc(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];wc(t)||(i.style[e]=""+t)}function Zs(i,e){ur(i,"display",e)}function t_(i){i.setActive&&i.setActive()||i.focus({preventScroll:!0})}function lr(i,e){return i.getAttribute(e)}function Vp(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 r_(i){return so(new DOMParser().parseFromString(i,"text/html").body)}function Ur(i,e){i.preventDefault(),e&&(i.stopPropagation(),i.stopImmediatePropagation())}function i_(i,e){return i&&i.querySelector(e)}function Tc(i,e){return e?yi(i.querySelectorAll(e)):[]}function Gr(i,e){Xr(i,e,!1)}function vc(i){return i.timeStamp}function sn(i){return mi(i)?i:i?i+"px":""}var oo="splide",Ac="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 n_(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 Dc(i){return+(i>0)-+(i<0)}function yc(i,e){return $t(e,function(t){i=i.replace("%s",""+t)}),i}function Fc(i){return i<10?"0"+i:""+i}var Wp={};function DD(i){return""+i+Fc(Wp[i]=(Wp[i]||0)+1)}function s_(){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",Hp="ready",Di="move",ao="moved",o_="click",yD="active",xD="inactive",bD="visible",ED="hidden",He="refresh",Tt="updated",Js="resize",Pc="resized",wD="drag",CD="dragging",SD="dragged",Oc="scroll",Kn="scrolled",TD="overflow",a_="destroy",AD="arrows:mounted",FD="arrows:updated",PD="pagination:mounted",OD="pagination:updated",u_="navigation:mounted",l_="autoplay:play",MD="autoplay:playing",c_="autoplay:pause",f_="lazyload:loaded",d_="sk",h_="sh",Ia="ei";function we(i){var e=i?i.event.bus:document.createDocumentFragment(),t=s_();function r(s,o){t.bind(e,io(s).join(" "),function(a){o.apply(o,Ec(a.detail)?a.detail:[])})}function n(s){t.dispatch(e,s,yi(arguments,1))}return i&&i.event.on(a_,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=Bp(c)}}function h(m){m||_(),s=n()-(m?o*i:0),u=!1,a=Bp(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 kD(i){var e=i;function t(n){e=n}function r(n){return Cc(io(n),e)}return{set:t,is:r}}function LD(i,e){var t=za(e||0,i,null,1);return function(){t.isPaused()&&t.start()}}function RD(i,e,t){var r=i.state,n=t.breakpoints||{},s=t.reducedMotion||{},o=s_(),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,Ip),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]:{})},{});zp(t),f(g),t.destroy?i.destroy(t.destroy==="completely"):_?(l(!0),i.mount()):p!==t.direction&&i.refresh()}function d(_){matchMedia(Ip).matches&&(_?gi(t,s):zp(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",p_=Va+"Up",__=Va+"Down";var Yp="rtl",Ya="ttb",hc={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[p_,Ha],ArrowRight:[__,Wa]};function ND(i,e,t){function r(s,o,a){a=a||t.direction;var u=a===Yp&&!o?1:a===Ya?0:-1;return hc[s]&&hc[s][u]||s.replace(/width|left|right/i,function(l,c){var h=hc[l.toLowerCase()][u]||l;return c>0?h.charAt(0).toUpperCase()+h.slice(1):h})}function n(s){return s*(t.direction===Yp?1:-1)}return{resolve:r,orient:n}}var jr="role",Xn="tabindex",ID="disabled",cr="aria-",uo=cr+"controls",g_=cr+"current",qp=cr+"selected",jt=cr+"label",Mc=cr+"labelledby",m_=cr+"hidden",kc=cr+"orientation",eo=cr+"roledescription",Up=cr+"live",Xp=cr+"busy",Gp=cr+"atomic",Lc=[jr,Xn,ID,uo,g_,jt,Mc,m_,kc,eo],Sr=oo+"__",xi="is-",pc=oo,jp=Sr+"track",BD=Sr+"list",qa=Sr+"slide",v_=qa+"--clone",zD=qa+"__container",Rc=Sr+"arrows",Ua=Sr+"arrow",D_=Ua+"--prev",y_=Ua+"--next",Xa=Sr+"pagination",x_=Xa+"__page",VD=Sr+"progress",WD=VD+"__bar",Nc=Sr+"toggle",y1=Nc+"__play",x1=Nc+"__pause",HD=Sr+"spinner",YD=Sr+"sr",qD=xi+"initialized",un=xi+"active",b_=xi+"prev",E_=xi+"next",xc=xi+"visible",bc=xi+"loading",w_=xi+"focus-in",C_=xi+"overflow",UD=[un,xc,b_,E_,bc,w_,C_],XD={slide:qa,clone:v_,arrows:Rc,arrow:Ua,prev:D_,next:y_,pagination:Xa,page:x_,spinner:HD};function GD(i,e){if(Qp(i.closest))return i.closest(e);for(var t=i;t&&t.nodeType===1&&!js(t,e);)t=t.parentElement;return t}var jD=5,$p=200,S_="touchstart mousedown",_c="touchmove mousemove",gc="touchend touchcancel mouseup click";function $D(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,S_+" keydown",function(x){_=x.type==="keydown"},{capture:!0}),s(o,"focusin",function(){Xr(o,w_,!!_)})}function m(x){var w=Lc.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(pc),h=C(jp),wr(o,c),wr(d,h),ee(o,jt,t.label),ee(o,Mc,t.labelledby)}function D(){d=E("."+jp),f=so(d,"."+BD),Us(d&&f,"A track/list element is missing."),Oa(l,e_(f,"."+qa+":not(."+v_+")")),on({arrows:Rc,pagination:Xa,prev:D_,next:y_,bar:WD,toggle:Nc},function(x,w){u[w]=E("."+x)}),Ks(u,{root:o,track:d,list:f,slides:l})}function b(){var x=o.id||DD(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=i_(o,x);return w&&GD(w,"."+pc)===o?w:void 0}function C(x){return[x+"--"+t.type,x+"--"+t.direction,t.drag&&x+"--draggable",t.isNavigation&&x+"--nav",x===pc&&un]}return Ks(u,{setup:p,mount:g,destroy:m})}var jn="slide",Zn="loop",lo="fade";function KD(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,"."+zD),E;function C(){D||(r.id=l.id+"-slide"+Fc(e+1),ee(r,jr,_?"tabpanel":"group"),ee(r,eo,f.slide),ee(r,jt,v||yc(f.slideLabel,[e+1,i.length]))),x()}function x(){a(r,"click",ge(o,o_,B)),a(r,"keydown",ge(o,d_,B)),s([ao,h_,Kn],P),s(u_,A),d&&s(Di,S)}function w(){E=!0,n.destroy(),Gr(r,UD),Cr(r,Lc),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,yc(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,b_,e===T-1),Xr(r,E_,e===T+1)}}function F(){var T=N();T!==Vp(r,un)&&(Xr(r,un,T),ee(r,g_,h&&T||""),o(T?yD:xD,B))}function M(){var T=I(),y=!T&&(!N()||D);if(i.state.is([$n,to])||ee(r,m_,y||""),ee(Tc(r,c.focusableNodes||""),Xn,y?-1:""),p&&ee(r,Xn,y?-1:0),T!==Vp(r,xc)&&(Xr(r,xc,T),o(T?bD:ED,B)),!T&&document.activeElement===r){var k=u.Slides.getAt(i.index);k&&t_(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 ZD(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=KD(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=r_(M)),Jp(M)){var R=u[F];R?Sc(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(Qp(P)?P:function(F){return mi(P)?js(F.slide,P):Cc(io(P),F.index)})}function x(P,F,M){E(function(R){R.style(P,F,M)})}function w(P,F){var M=Tc(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 QD(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",LD(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(Pc),m!==(m=L())&&(Xr(c,C_,m),o(TD,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 JD=2;function ey(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?Sc(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"+Fc(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*JD}return m}return{mount:c,destroy:d}}function ty(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,Pc,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(h_)}}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 ry(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(Pc,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&&!n_(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 iy="http://www.w3.org/2000/svg",ny="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 sy(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=Rc+"--"+t.direction),F&&(x(),P(),ee([_,p],uo,d.id),o(AD,_,p)))}function C(){r.destroy(),Gr(f,m),g?(an(h?[_,p]:f),_=p=null):Cr([_,p],Lc)}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&&Sc(f,d)}function S(F){var M='<button class="'+a.arrow+" "+(F?a.prev:a.next)+'" type="button"><svg xmlns="'+iy+'" viewBox="0 0 '+Fa+" "+Fa+'" width="'+Fa+'" height="'+Fa+'" focusable="false"><path d="'+(t.arrowPath||ny)+'" />';return r_(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(FD,_,p,M,R)}}return{arrows:v,mount:D,destroy:C,update:P}}var oy=Ac+"-interval";function ay(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,Oc,He],a.rewind),n(Di,w)}function D(){u()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),p=_=g=!1,C(),o(l_))}function b(A){A===void 0&&(A=!0),g=!!A,C(),u()||(a.pause(),o(c_))}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(MD,A)}function w(A){var S=e.Slides.getAt(A);a.set(S&&+lr(S.slide,oy)||t.interval)}return{mount:m,destroy:a.cancel,play:D,pause:b,isPaused:u}}function uy(i,e,t){var r=we(i),n=r.on;function s(){t.cover&&(n(f_,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 ly=10,cy=600,fy=.6,dy=1.5,hy=800;function py(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=Dc(x)*M*Na(St(x)/M)||0;x=a.toPosition(e.Controller.toDest(x%M))+R}var N=n_(F,x,1);p=1,w=N?0:w||Ra(St(x-F)/dy,hy),_=S,f=za(w,v,ge(D,F,x,P),1),o(to),s(Oc),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*=fy,St(M)<ly&&m(l(c(!0)),cy,!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 _y(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,_c,mc,Yn),o(d,gc,mc,Yn),o(d,S_,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,_c,N,Yn),o(P,gc,I,Yn),l.cancel(),c.cancel(),B(V)))}}function N(V){if(u.is(Pa)||(u.set(Pa),s(wD)),V.cancelable)if(x){l.translate(D+fe(U(V)));var $=X(V)>$p,Ce=w!==(w=v());($||Ce)&&B(V),A=!0,s(CD),Ur(V)}else k(V)&&(x=y(V),Ur(V))}function I(V){u.is(Pa)&&(u.set(Gn),s(SD)),x&&(T(V),Ur(V)),a(P,_c,N),a(P,gc,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(Dc($))<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($&&$<$p)return U(V)/$}return 0}function J(V){return m()+Dc(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 vc(V)-vc(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)?jD:1)}function te(V){var $=t.noDrag;return!js(V,"."+x_+", ."+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 gy={Spacebar:" ",Right:Ha,Left:Wa,Up:p_,Down:__};function Ic(i){return i=mi(i)?i:i.key,gy[i]||i}var Kp="keydown";function my(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,Kp,g))}function f(){o(l,Kp)}function _(m){c=m}function p(){var m=c;c=!0,Zp(function(){c=m})}function g(m){if(!c){var v=Ic(m);v===u(Wa)?i.go("<"):v===u(Ha)&&i.go(">")}}return{mount:h,destroy:f,disable:_}}var Xs=Ac+"-lazy",ka=Xs+"-srcset",vy="["+Xs+"], ["+ka+"]";function Dy(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){Tc(v.slide,vy).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,bc),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,bc),D.type!=="error"&&(an(v[2]),Zs(b,""),a(f_,b,E),a(Js)),u&&m()}function m(){c.length&&p(c.shift())}return{mount:h,destroy:ge($r,c),check:_}}function yy(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,Oc,Kn],A),b(),A(),s(PD,{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,kc,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,yc(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=Ic(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&&(t_(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,qp),ee(F,Xn,-1)}if(P){var M=P.button;wr(M,un),ee(M,qp,!0),ee(M,Xn,"")}s(OD,{list:g,items:p},S,P)}return{items:p,mount:v,destroy:D,getAt:w,update:A}}var xy=[" ","Enter"];function by(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(o_,d),p(d_,f),p([ln,Tt],h),s.push(_),_.emit(u_,i.splides)}function h(){ee(e.Elements.list,kc,t.direction===Ya?"vertical":"")}function d(_){i.go(_.index)}function f(_,p){Cc(xy,Ic(p))&&(d(_),Ur(p))}return{setup:ge(e.Media.set,{slideFocus:ro(n)?r:n},!0),mount:o,destroy:a,remount:u}}function Ey(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=vc(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 wy=90;function Cy(i,e,t){var r=we(i),n=r.on,s=e.Elements.track,o=t.live&&!t.isNavigation,a=Un("span",YD),u=za(wy,ge(c,!1));function l(){o&&(d(!e.Autoplay.isPaused()),ee(s,Gp,!0),a.textContent="\u2026",n(l_,ge(d,!0)),n(c_,ge(d,!1)),n([ao,Kn],ge(c,!0)))}function c(f){ee(s,Xp,f),f?(no(s,a),u.start()):(an(a),u.cancel())}function h(){Cr(s,[Up,Gp,Xp]),an(a)}function d(f){o&&ee(s,Up,f?"off":"polite")}return{mount:l,disable:d,destroy:h}}var Sy=Object.freeze({__proto__:null,Media:RD,Direction:ND,Elements:$D,Slides:ZD,Layout:QD,Clones:ey,Move:ty,Controller:ry,Arrows:sy,Autoplay:ay,Cover:uy,Scroll:py,Drag:_y,Keyboard:my,LazyLoad:Dy,Pagination:yy,Sync:by,Wheel:Ey,Live:Cy}),Ty={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"},Ay={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:XD,i18n:Ty,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Fy(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),Zp(u)}return{mount:n,start:o,cancel:mc}}function Py(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 Oy=function(){function i(t,r){this.event=we(),this.Components={},this.state=kD(qn),this.splides=[],this._o={},this._E={};var n=mi(t)?i_(document,t):t;Us(n,n+" is invalid."),this.root=n,r=gi({label:lr(n,jt)||"",labelledby:lr(n,Mc)||""},Ay,i.defaults,r||{});try{gi(r,JSON.parse(lr(n,Ac)))}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)?Fy:Py),this._E=r||this._E;var u=Ks({},Sy,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,qD),o.set(Gn),this.emit(Hp),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(Hp,this.destroy.bind(this,r)):(on(this._C,function(o){o.destroy&&o.destroy(r)},!0),n.emit(a_),n.destroy(),r&&$r(this.splides),s.set(La)),this},gD(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=Oy;cn.defaults={};cn.STATES=vD;var Tr,Vc,My,Ka,k_,L_,T_,zc,R_,N_=function(){return typeof window<"u"},I_=function(){return Tr||N_()&&(Tr=window.gsap)&&Tr.registerPlugin&&Tr},ky=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Bc={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},A_=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,F_=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))},P_=function(e){return console.warn(e)},B_=function(e){return e.getAttribute("vector-effect")==="non-scaling-stroke"},Ly=1,Ry=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=A_(s,t),o=A_(o,t),s>o?[o,s]:[s,o]},$a=function(e){if(e=Vc(e)[0],!e)return 0;var t=e.tagName.toLowerCase(),r=e.style,n=1,s=1,o,a,u,l,c,h,d;B_(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{P_("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)&&Bc[t]&&(g=Ga(e,Bc[t][0]),m=Ga(e,Bc[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)&&!T_&&(T_=1)&&P_("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=F_(_,p,_+g,p+m,n,s);else if(t==="polyline"||t==="polygon")for(u=e.getAttribute("points").match(ky)||[],t==="polygon"&&u.push(u[0],u[1]),o=0,c=2;c<u.length;c+=2)o+=F_(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},O_=function(e,t){if(e=Vc(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]},M_=function(){N_()&&(My=document,Ka=window,L_=Tr=I_(),Vc=Tr.utils.toArray,zc=Tr.core.getStyleSaver,R_=Tr.core.reverting||function(){},k_=((Ka.navigator||{}).userAgent||"").indexOf("Edge")!==-1)},Wc={version:"3.12.2",name:"drawSVG",register:function(e){Tr=e,M_()},init:function(e,t,r,n,s){if(!e.getBBox)return!1;L_||M_();var o=$a(e),a,u,l;return this.styles=zc&&zc(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=O_(e,o),u=Ry(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),k_&&(l=Ka.getComputedStyle(e),l.strokeLinecap!==l.strokeLinejoin&&(u=Kr(l.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",u,u+.01))),this._live=B_(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),Ly},render:function(e,t){if(t.tween._time||!R_()){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:O_};I_()&&Tr.registerPlugin(Wc);Q.registerPlugin(K,Vn,nn,Er,Wc);function Ny(){nn.create("loader","0.83, 0, 0.17, 1"),nn.create("loader2","0.77, 0, 0.175, 1")}var co;function Iy(){let i=document.querySelector(".contact-modal_main-wrapper"),e=document.querySelector(".contact-modal_content-wrapper");co=Q.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 By(){At.on("scroll",K.update),Q.ticker.add(e=>{At.raf(e*1e3)}),Q.ticker.lagSmoothing(0);function i(e){At.raf(e),requestAnimationFrame(i)}requestAnimationFrame(i)}function zy(){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 Vy(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function z_(){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")&&Q.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},autoAlpha:0})}function Hy(){let i=Q.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(){Q.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=Q.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 V_=Q.from(".navbar",{y:"-100%",paused:!0,duration:.2,ease:"loader2"}).progress(1);function qy(){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(){K.create({start:"top top",endTrigger:".bottom-wrapper",end:"bottom bottom",onUpdate:i=>{i.direction===-1?V_.play():V_.reverse()}})};window.videoInsideText=function(i){let e=i.querySelector('[class*="copy-this"]');i.querySelector('[class*="headline-span"]').appendChild(e)};window.spanVideoMaskAnimation=function(i){Q.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=Q.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=Q.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});K.create({animation:t,trigger:e,start:"top 80%",onEnter:()=>t.play()});let r=i.getElementsByTagName("video");if(window.innerWidth>992){let s=function(){n.play()},o=function(){n.pause()},n=r.length>0?r[0]:null;if(!n)return;n.addEventListener("loadeddata",()=>{n.pause()}),i.addEventListener("mouseenter",s,!1),i.addEventListener("mouseleave",o,!1)}else r.forEach(n=>{let s=n.getAttribute("poster");n.innerHTML="",n.setAttribute("poster",s),n.load(),n.pause()})};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")}),Q.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){Q.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){Q.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(),Q.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){Q.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){Q.set(i,{backgroundColor:"#fff"}),Q.set("#heroNavbarLottie path",{fill:"rgb(21, 21, 21)"});let e=Q.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:i,start:"top top",end:"bottom top",toggleActions:"play reverse play reverse"}});e.to(["#skills","#portfolio"],{backgroundColor:"#151515"}),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.clientLogosAnimation=function(i){let t=i.querySelectorAll('[class*="item_mask"]'),r=i.querySelectorAll('[class*="image"]');Q.from(t,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},width:"0%",duration:.7,ease:"loader2",stagger:.15}),Q.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=Q.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=Q.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=Q.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=Q.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=Q.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=Q.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")}),Q.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=Q.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&&Q.to(a,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),r.addEventListener("mouseleave",()=>{o.timeScale(3).reverse(),i.forEach(a=>{a!==event.target&&Q.to(a,{color:"#fff",duration:.1,ease:"loader2"})})})}),e.addEventListener("mouseenter",()=>{Q.to(e,{color:"#fff",duration:.2,ease:"loader2"}),i.forEach(r=>{Q.to(r,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),e.addEventListener("mouseleave",()=>{Q.to(e,{color:"#7A7A7A",duration:.2,ease:"loader2"}),i.forEach(r=>{Q.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=Q.from(e,{width:"100%",duration:.7,ease:"loader2",paused:!0});K.create({animation:r,trigger:e,start:"top 80%",onEnter:()=>r.play()})})};window.updateScrollTrigger=function(){window.onload=function(){K.update()}};window.blogPostMaskAnimation=function(i){let e=document.querySelector("#heroSection"),t=Q.from(".post_main-mask-ract",{left:"0%",ease:"loader2"});K.create({animation:t,trigger:e,start:"top -5%",end:"bottom 50%",scrub:.5})};window.changeCheckboxLabelColor=function(){let i=document.querySelectorAll(".w-checkbox-input"),e=function(t,r){for(let n of t)if(n.type==="attributes"&&n.attributeName==="class"){let s=n.target.classList.contains("w--redirected-checked"),o=n.target.parentElement.querySelector(".form-checkbox_label");s&&o&&!o.classList.contains("is-active")?o.classList.add("is-active"):!s&&o&&o.classList.contains("is-active")&&o.classList.remove("is-active")}};i.forEach(function(t){let r={attributes:!0,attributeFilter:["class"]};new MutationObserver(e).observe(t,r)})};window.openContactModal=function(){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=Q.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){Q.to(i,{autoAlpha:0,duration:.15,ease:"loader2",scrollTrigger:{trigger:"#bottomWrapperOverlay",start:"top center",toggleActions:"play none none reverse"}})};window.scrollTriggerRefresh=function(){function i(){K.refresh()}let e=new MutationObserver(i),t=document.querySelector(".section.is-post-body"),r={attributes:!0,childList:!0,subtree:!0};e.observe(t,r)};window.Webflow||=[];window.Webflow.push(()=>{console.log("The new code source is loaded!"),pd(),zy(),Webflow.env("editor")===void 0?(By(),At.start()):(console.log("Editor mode ON"),At.destroy()),Ny(),Vy(),Wy(),Hy(),Yy(),qy(),Iy(),z_(),window.innerWidth<992&&z_()});})();
|
|
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 Z=st.registerPlugin(Vl)||st,u1=Z.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(K,"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(K,"scrollEnd",op);return}lp(),gt=K.isRefreshing=!0,ie.forEach(function(n){return vt(n)&&++n.cacheID&&(n.rec=n())});var r=rn("refreshInit");jh&&K.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=K.isRefreshing=!1,rn("refresh")},tc=0,ma=1,Bs,Yr=function(e){if(!gt||e===2){K.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);K.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),K.isTouch&&Ue(e,"touchmove",r.wheelHandler),s},K=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}();K.version="3.12.2";K.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};K.revert=function(i,e){return lc(!i,e)};K.create=function(i,e){return new K(i,e)};K.refresh=function(i){return i?ks():(Ln||K.register())&&Ki(!0)};K.update=function(i){return++ie.cache&&Yr(i===!0?2:0)};K.clearScrollMemory=up;K.maxScroll=function(i,e){return Hr(i,e?ot:Ne)};K.getScrollFunc=function(i,e){return zr(pt(i),e?ot:Ne)};K.getById=function(i){return ec[i]};K.getAll=function(){return ne.filter(function(i){return i.vars.id!=="ScrollSmoother"})};K.isScrolling=function(){return!!Xt};K.snapDirectional=uc;K.addEventListener=function(i,e){var t=tn[i]||(tn[i]=[]);~t.indexOf(e)||t.push(e)};K.removeEventListener=function(i,e){var t=tn[i],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};K.batch=function(i,e){var t=[],r={},n=e.interval||.016,s=e.batchMax||1e9,o=function(l,c){var 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(K,"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(K.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"),K.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),K.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};K.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)})};K.observe=function(i){return new ke(i)};K.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};K.core={_getVelocityProp:ra,_inputObserver:fp,_scrollers:ie,_proxies:or,bridge:{ss:function(){Xt||rn("scrollStart"),Xt=mt()},ref:function(){return at}}};ep()&&H.registerPlugin(K);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);Z.registerPlugin(K,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=Z.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",K.update),Z.ticker.add(e=>{At.raf(e*1e3)}),Z.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")&&Z.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},autoAlpha:0})}function Hy(){let i=Z.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(){Z.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=Z.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=Z.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(){K.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){Z.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=Z.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=Z.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});K.create({animation:t,trigger:e,start:"top 80%",onEnter:()=>t.play()});let r=i.getElementsByTagName("video");if(window.innerWidth>992){let s=function(){n.play()},o=function(){n.pause()},n=r.length>0?r[0]:null;if(!n)return;n.addEventListener("loadeddata",()=>{n.pause()}),i.addEventListener("mouseenter",s,!1),i.addEventListener("mouseleave",o,!1)}else r.forEach(n=>{let s=n.getAttribute("poster");n.innerHTML="",n.setAttribute("poster",s),n.load(),n.pause()})};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")}),Z.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){Z.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){Z.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(),Z.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){Z.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){Z.set(i,{backgroundColor:"#fff"}),Z.set("#heroNavbarLottie path",{fill:"rgb(21, 21, 21)"});let e=Z.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.clientLogosAnimation=function(i){let t=i.querySelectorAll('[class*="item_mask"]'),r=i.querySelectorAll('[class*="image"]');Z.from(t,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},width:"0%",duration:.7,ease:"loader2",stagger:.15}),Z.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=Z.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=Z.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=Z.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=Z.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=Z.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=Z.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")}),Z.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=Z.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&&Z.to(a,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),r.addEventListener("mouseleave",()=>{o.timeScale(3).reverse(),i.forEach(a=>{a!==event.target&&Z.to(a,{color:"#fff",duration:.1,ease:"loader2"})})})}),e.addEventListener("mouseenter",()=>{Z.to(e,{color:"#fff",duration:.2,ease:"loader2"}),i.forEach(r=>{Z.to(r,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),e.addEventListener("mouseleave",()=>{Z.to(e,{color:"#7A7A7A",duration:.2,ease:"loader2"}),i.forEach(r=>{Z.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=Z.from(e,{width:"100%",duration:.7,ease:"loader2",paused:!0});K.create({animation:r,trigger:e,start:"top 80%",onEnter:()=>r.play()})})};window.updateScrollTrigger=function(){window.onload=function(){K.update()}};window.blogPostMaskAnimation=function(i){let e=document.querySelector("#heroSection"),t=Z.from(".post_main-mask-ract",{left:"0%",ease:"loader2"});K.create({animation:t,trigger:e,start:"top -5%",end:"bottom 50%",scrub:.5})};window.changeCheckboxLabelColor=function(){let i=document.querySelectorAll(".w-checkbox-input"),e=function(t,r){for(let n of t)if(n.type==="attributes"&&n.attributeName==="class"){let s=n.target.classList.contains("w--redirected-checked"),o=n.target.parentElement.querySelector(".form-checkbox_label");s&&o&&!o.classList.contains("is-active")?o.classList.add("is-active"):!s&&o&&o.classList.contains("is-active")&&o.classList.remove("is-active")}};i.forEach(function(t){let r={attributes:!0,attributeFilter:["class"]};new MutationObserver(e).observe(t,r)})};window.openContactModal=function(){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=Z.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){Z.to(i,{autoAlpha:0,duration:.15,ease:"loader2",scrollTrigger:{trigger:"#bottomWrapperOverlay",start:"top center",toggleActions:"play none none reverse"}})};window.scrollTriggerRefresh=function(){function i(){K.refresh()}let e=new MutationObserver(i),t=document.querySelector(".section.is-post-body"),r={attributes:!0,childList:!0,subtree:!0};e.observe(t,r)};window.closeInfoBar=function(){let i=Z.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()});})();
|
|
6
6
|
/*! Bundled license information:
|
|
7
7
|
|
|
8
8
|
gsap/gsap-core.js:
|