1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4349],{13851:t=>{t.exports={style:{fontFamily:"'outfit', 'outfit Fallback'"},className:"__className_09cd12",variable:"__variable_09cd12"}},13932:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(39789).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},15403:(t,e,i)=>{"use strict";i.d(e,{b:()=>n,u:()=>r});var s=i(64186),o=i(7620);let r=o.createContext(void 0);function n(){let t=o.useContext(r);if(void 0===t)throw Error((0,s.A)(63));return t}},22407:(t,e,i)=>{"use strict";i.d(e,{N:()=>S});var s=i(54568),o=i(7620),r=i(82576),n=i(78328),l=i(3640),a=i(49518),h=i(35362),c=i(72543);function u(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class d extends o.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,h.s)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,i=(0,h.s)(t)&&t.offsetWidth||0,s=(0,h.s)(t)&&t.offsetHeight||0,o=getComputedStyle(e),r=this.props.sizeRef.current;r.height=parseFloat(o.height),r.width=parseFloat(o.width),r.top=e.offsetTop,r.left=e.offsetLeft,r.right=i-r.width-r.left,r.bottom=s-r.height-r.top,r.direction=o.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:t,isPresent:e,anchorX:i,anchorY:r,root:n,pop:l}){let a=(0,o.useId)(),h=(0,o.useRef)(null),m=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:f}=(0,o.useContext)(c.Q),v=function(...t){return o.useCallback(function(...t){return e=>{let i=!1,s=t.map(t=>{let s=u(t,e);return i||"function"!=typeof s||(i=!0),s});if(i)return()=>{for(let e=0;e<s.length;e++){let i=s[e];"function"==typeof i?i():u(t[e],null)}}}}(...t),t)}(h,!1!==l?t.props?.ref??t?.ref:void 0);return(0,o.useInsertionEffect)(()=>{let{width:t,height:s,top:o,left:c,right:u,bottom:d,direction:p}=m.current;if(e||!1===l||!h.current||!t||!s)return;let v="rtl"===p,g="left"===i?v?`right: ${u}`:`left: ${c}`:v?`left: ${c}`:`right: ${u}`,w="bottom"===r?`bottom: ${d}`:`top: ${o}`;h.current.dataset.motionPopId=a;let S=document.createElement("style");f&&(S.nonce=f);let y=n??document.head;return y.appendChild(S),S.sheet&&S.sheet.insertRule(` 2 [data-motion-pop-id="${a}"] { 3 position: absolute !important; 4 width: ${t}px !important; 5 height: ${s}px !important; 6 ${g}px !important; 7 ${w}px !important; 8 } 9 `),()=>{h.current?.removeAttribute("data-motion-pop-id"),y.contains(S)&&y.removeChild(S)}},[e]),(0,s.jsx)(d,{isPresent:e,childRef:h,sizeRef:m,pop:l,children:!1===l?t:o.cloneElement(t,{ref:v})})}let m=({children:t,initial:e,isPresent:i,onExitComplete:r,custom:h,presenceAffectsLayout:c,mode:u,anchorX:d,anchorY:m,root:v})=>{let g=(0,n.M)(f),w=(0,o.useId)(),S=(0,o.useRef)(i),y=(0,o.useRef)(r);(0,l.E)(()=>{S.current=i,y.current=r});let E=!0,b=(0,o.useMemo)(()=>(E=!1,{id:w,initial:e,isPresent:i,custom:h,onExitComplete:t=>{for(let e of(g.set(t,!0),g.values()))if(!e)return;r&&r()},register:t=>(g.set(t,!1),()=>{g.delete(t),S.current||g.size||y.current?.()})}),[i,g,r]);return c&&E&&(b={...b}),(0,o.useMemo)(()=>{g.forEach((t,e)=>g.set(e,!1))},[i]),o.useEffect(()=>{i||g.size||!r||r()},[i]),t=(0,s.jsx)(p,{pop:"popLayout"===u,isPresent:i,anchorX:d,anchorY:m,root:v,children:t}),(0,s.jsx)(a.t.Provider,{value:b,children:t})};function f(){return new Map}var v=i(40873);let g=t=>t.key||"";function w(t){let e=[];return o.Children.forEach(t,t=>{(0,o.isValidElement)(t)&&e.push(t)}),e}let S=({children:t,custom:e,initial:i=!0,onExitComplete:a,presenceAffectsLayout:h=!0,mode:c="sync",propagate:u=!1,anchorX:d="left",anchorY:p="top",root:f})=>{let[S,y]=(0,v.xQ)(u),E=(0,o.useMemo)(()=>w(t),[t]),b=u&&!S?[]:E.map(g),R=(0,o.useRef)(!0),M=(0,o.useRef)(E),T=(0,n.M)(()=>new Map),x=(0,o.useRef)(new Set),[z,C]=(0,o.useState)(E),[L,N]=(0,o.useState)(E);(0,l.E)(()=>{R.current=!1,M.current=E;for(let t=0;t<L.length;t++){let e=g(L[t]);b.includes(e)?(T.delete(e),x.current.delete(e)):!0!==T.get(e)&&T.set(e,!1)}},[L,b.length,b.join("-")]);let k=[];if(E!==z){let t=[...E];for(let e=0;e<L.length;e++){let i=L[e],s=g(i);b.includes(s)||(t.splice(e,0,i),k.push(i))}return"wait"===c&&k.length&&(t=k),N(w(t)),C(E),null}let{forceRender:P}=(0,o.useContext)(r.L);return(0,s.jsx)(s.Fragment,{children:L.map(t=>{let o=g(t),r=(!u||!!S)&&(E===L||b.includes(o));return(0,s.jsx)(m,{isPresent:r,initial:(!R.current||!!i)&&void 0,custom:e,presenceAffectsLayout:h,mode:c,root:f,onExitComplete:r?void 0:()=>
9{if(x.current.has(o)||!T.has(o))return;x.current.add(o),T.set(o,!0);let t=!0;T.forEach(e=>{e||(t=!1)}),t&&(P?.(),N(M.current),u&&y?.(),a&&a())},anchorX:d,anchorY:p,children:t},o)})})}},24285:(t,e,i)=>{"use strict";i.d(e,{l:()=>k});var s=i(7620),o=i(52537),r=i(53857);let n={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},l={...n,position:"fixed",top:0,left:0},a={...n,position:"absolute"};var h=i(62425),c=i(4377),u=i(50982);let d=0,p=u.X.useId;function m(t){var e="base-ui";if(void 0!==p){let i=p();return t??(e?`${e}-${i}`:i)}return function(t,e="mui"){let[i,o]=s.useState(t),r=t||i;return s.useEffect(()=>{null==i&&(d+=1,o(`${e}-${d}`))},[i,e]),r}(t,e)}var f=i(95302),v=i(15403),g=i(37181),w=i(22172),S=i(64186),y=i(55705);let E={invalid:void 0,name:void 0,validityData:{state:y.ZV,errors:[],error:"",value:"",initialValue:null},setValidityData:h.tE,disabled:void 0,setTouched:h.tE,setDirty:h.tE,setFilled:h.tE,setFocused:h.tE,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:y.mk,registerFieldControl:h.tE,validation:{getValidationProps:(t,e=h.t0)=>e,inputRef:{current:null},registeredInputs:new Map,registerInput:h.tE,getInputControl:()=>null,commit:async()=>{},change:h.tE}},b=s.createContext(E);function R(t=!0){let e=s.useContext(b);if(e.setValidityData===h.tE&&!t)throw Error((0,S.A)(28));return e}var M=i(1570);let T=s.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:h.tE,validationMode:"onSubmit",submitAttemptedRef:{current:!1}}),x=s.createContext({controlId:void 0,registerControlId:h.tE,labelId:void 0,setLabelId:h.tE,messageIds:[],setMessageIds:h.tE,getDescriptionProps:t=>t});function z(){return s.useContext(x)}var C=i(89419),L=i(79306),N=i(54568);let k=s.forwardRef(function(t,e){let i,n,{checked:u,className:d,defaultChecked:p,"aria-labelledby":S,form:y,id:E,inputRef:b,name:x,nativeButton:k=!1,onCheckedChange:P,readOnly:_=!1,required:I=!1,disabled:O=!1,render:H,uncheckedValue:W,value:A,style:D,...V}=t,{clearErrors:F}=s.useContext(T),{state:j,setTouched:$,setDirty:X,validityData:B,setFilled:Y,setFocused:U,validationMode:q,disabled:Q,name:K,validation:Z}=R(),{labelId:G}=z(),J=Q||O,tt=K??x,te=s.useRef(null),ti=(0,o.a)(te,b,Z.inputRef),ts=s.useRef(null),to=m(),tr=function(t={}){let{id:e,implicit:i=!1,controlRef:o}=t,{controlId:n,registerControlId:l}=z(),a=m(e),c=i?n:void 0,u=(0,M.j)(()=>Symbol()),d=s.useRef(!1),p=s.useRef(null!=e),f=(0,C.K)(()=>{d.current&&l!==h.tE&&(d.current=!1,l(u.current,void 0))});return(0,r.g)(()=>{let t;if(l!==h.tE){if(i){let i=o?.current;t=(0,L.vq)(i)&&null!=i.closest("label")?e??null:c??a}else if(null!=e)p.current=!0,t=e;else{if(!p.current)return void f();t=a}if(void 0===t)return void f();d.current=!0,l(u.current,t)}},[e,o,c,l,i,a,u,f]),s.useEffect(()=>f,[f]),n??a}({id:E,implicit:!1,controlRef:ts}),tn=k?void 0:tr,[tl,ta]=function({controlled:t,default:e,name:i,state:o="value"}){let{current:r}=s.useRef(void 0!==t),[n,l]=s.useState(e),a=s.useCallback(t=>{r||l(t)},[]);return[r?t:n,a]}({controlled:u,default:!!p,name:"Switch",state:"checked"});!function(t,e,i,s,o=!0,n){let{registerFieldControl:l}=R(),a=(0,M.j)(()=>Symbol());(0,r.g)(()=>{let r=a.current;o?l(r,{controlRef:t,getValue:s,id:e,name:n,value:i}):l(r,void 0)},[t,o,s,e,n,l,a,i]),(0,r.g)(()=>{let t=a.current;return()=>{l(t,void 0)}},[l,a])}(ts,to,tl,void 0,!J,x),(0,r.g)(()=>{te.current&&Y(te.current.checked)},[Y]),i=s.useRef(tl),n=(0,C.K)(()=>{F(tt),X(tl!==B.initialValue),Y(tl),Z.change(tl)}),(0,r.g)(()=>{i.current!==tl&&n(i.current),i.current=tl},[tl,n]);let{getButtonProps:th,buttonRef:tc}=(0,f.s)({disabled:J,native:k}),tu=function(t,e,i,o=!0,n){let[l,a]=s.useState(),h=m(n?`${n}-label`:void 0),c=t??e??l;return(0,r.g)(()=>{let s=t||e||!o?void 0:function(t,e){let i=function(t){if(!t)return;let e=t.parentElement;if(e&&"LABEL"===e.tagName)return e;let i=t.id;if(i){let e=t.nextElementSibling;if(e&&e.htmlFor===i)return e}let s=t.labels;return s&&s[0]}(t);if(i)return!i.id&&e&&(i.id=e),i.id||void 0}(i.current,h);l!==s&&a(s)}),c}(S,G,te,!k,tn),td={...Z.getValidationProps(J),checked:tl,disabled:J,form:y,id:tn,name:tt,required:I,style:tt?a:l,tabIndex:-1,type:"checkbox","aria-hidden":!0,ref:ti,onChange(t){var e;let i,s,o;if(t.nativeEvent.defaultPrevented)return;if(_)return void t.preventDefault();let r=t.currentTarget.checked,n=(e=t.nativeEvent,i=!1,s=!1,o=(void 0)??h.t0,{reason:"none",event:e??new Event("base-ui"),cancel(){i=!0},allowPropagation(){s=!0},get isCanceled(){return i},get isPropagationAllowed(){return s},trigger:void 0,...o});P?.(r,n),n.isCanceled||ta(r)},onClick(t){t.stopPropagation()},onFocus(){ts.current?.focus()},...void 0!==A?{value:A}:h.t0},tp=s.useMemo(()=>({...j,checked:tl,disabled:J,readOnly:_,required:I}),[j,tl,J,_,I]),tm=(0,c.o)("span",t,{state:tp,ref:[e,ts,tc],props:[{id:k?tr:to,role:"switch","aria-checked":tl,"aria-readonly":_||void 0,"aria-required":I||void 0,"aria-labelledby":tu,onFocus(){J||U(!0)},onBlur(){let t=te.current;t&&!J&&($(!0),U(!1),"onBlur"===q&&Z.commit(t.checked))},onClick(t){if(_||J)return;t.preventDefault();let e=te.current;e&&(0,w.B)(e,t)}},V,th,t=>Z.getValidationProps(J,t)],stateAttributesMapping:g.P});return(0,N.jsxs)(v.u.Provider,{value:tp,children:[tm,!tl&&tt&&void 0!==W&&(0,N.jsx)("input",{type:"hidden",form:y,name:tt,value:W,disabled:J}),(0,N.jsx)("input",{...td,suppressHydrationWarning:!0})]})})},37181:(t,e,i)=>{"use strict";i.d(e,{P:()=>s});let s={...i(55705).dc,checked:t=>t?{"data-checked":""}:{"data-unchecked":""}}
9},37812:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(39789).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},38862:(t,e,i)=>{"use strict";i.d(e,{p:()=>l});var s=i(7620),o=i(15403),r=i(4377),n=i(37181);let l=s.forwardRef(function(t,e){let{render:i,className:s,style:l,...a}=t,h=(0,o.b)();return(0,r.o)("span",t,{state:h,ref:e,stateAttributesMapping:n.P,props:a})})},46763:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(39789).A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]])},48881:(t,e,i)=>{"use strict";i.d(e,{L:()=>o});var s=i(7620);function o(t,e,i){(0,s.useInsertionEffect)(()=>t.on(e,i),[t,e,i])}},51053:(t,e,i)=>{"use strict";i.d(e,{B:()=>p});var s=i(7620),o=i(1570),r=i(62425);class n{static create(){return new n}start(t,e){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,e()},t)}isStarted(){return 0!==this.currentId}constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}}var l=i(53857);function a(t,e,i){let s,o=null==i||((s=["mouse","pen"]).push("",void 0),s.includes(i))?"function"==typeof t?t():t:0;return"number"==typeof o?o:o?.[e]}var h=i(54568);let c=s.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new n,currentIdRef:{current:null},currentContextRef:{current:null}});function u(t){var e;let i,{children:u,delay:d,timeoutMs:p=0}=t,m=s.useRef(d),f=s.useRef(d),v=s.useRef(null),g=s.useRef(null),w=(e=(i=(0,o.j)(n.create).current).disposeEffect,s.useEffect(e,r.Ml),i);return(0,l.g)(()=>{if(f.current=d,!v.current){m.current=d;return}m.current={open:a(m.current,"open"),close:a(d,"close")}},[d,v,m,f]),(0,h.jsx)(c.Provider,{value:s.useMemo(()=>({hasProvider:!0,delayRef:m,initialDelayRef:f,currentIdRef:v,timeoutMs:p,currentContextRef:g,timeout:w}),[p,w]),children:u})}let d=s.createContext(void 0),p=function(t){let{delay:e,closeDelay:i,timeout:o=400}=t,r=s.useMemo(()=>({open:e,close:i}),[e,i]);return(0,h.jsx)(d.Provider,{value:e,children:(0,h.jsx)(u,{delay:r,timeoutMs:o,children:t.children})})}},55705:(t,e,i)=>{"use strict";i.d(e,{ZV:()=>s,dc:()=>r,mk:()=>o});let s={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},o={disabled:!1,valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},r={valid:t=>null===t?null:t?{"data-valid":""}:{"data-invalid":""}}},79748:(t,e,i)=>{"use strict";var s=i(79796);i.o(s,"usePathname")&&i.d(e,{usePathname:function(){return s.usePathname}}),i.o(s,"useRouter")&&i.d(e,{useRouter:function(){return s.useRouter}})},81643:(t,e,i)=>{"use strict";i.d(e,{A:()=>p});var s="1.3.26";function o(t,e,i){return Math.max(t,Math.min(e,i))}var r=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(t){if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;let i=o(0,this.currentTime/this.duration,1),s=(e=i>=1)?1:this.easing(i);this.value=this.from+(this.to-this.from)*s}else if(this.lerp){var i,s,r,n;this.value=(i=this.value,s=this.to,r=60*this.lerp,(1-(n=1-Math.exp(-r*t)))*i+n*s),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,e=!0)}else this.value=this.to,e=!0;e&&this.stop(),this.onUpdate?.(this.value,e)}stop(){this.isRunning=!1}fromTo(t,e,{lerp:i,duration:s,easing:o,onStart:r,onUpdate:n}){this.from=this.value=t,this.to=e,this.lerp=i,this.duration=s,this.easing=o,this.currentTime=0,this.isRunning=!0,r?.(),this.onUpdate=n}},n=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(t,e,{autoResize:i=!0,debounce:s=250}={}){this.wrapper=t,this.content=e,i&&(this.debouncedResize=function(t,e){let i;return function(...s){clearTimeout(i),i=setTimeout(()=>{i=void 0,t.apply(this,s)},e)}}(this.resize,s),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},l=class{events={};emit(t,...e){let i=this.events[t]||[];for(let t=0,s=i.length;t<s;t++)i[t]?.(...e)}on(t,e){return this.events[t]?this.events[t].push(e):this.events[t]=[e],()=>{this.events[t]=this.events[t]?.filter(t=>e!==t)}}off(t,e){this.events[t]=this.events[t]?.filter(t=>e!==t)}destroy(){this.events={}}};let a=100/6,h={passive:!1};function c(t,e){return 1===t?a:2===t?e:1}var u=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new l;constructor(t,e={wheelMultiplier:1,touchMultiplier:1}){this.element=t,this.options=e,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,h),this.element.addEventListener("touchstart",this.onTouchStart,h),this.element.addEventListener("touchmove",this.onTouchMove,h),this.element.addEventListener("touchend",this.onTouchEnd,h)}on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,h),this.element.removeEventListener("touchstart",this.onTouchStart,h),this.element.removeEventListener("touchmove",this.onTouchMove,h),this.element.removeEventListener("touchend",this.onTouchEnd,h)}onTouchStart=t=>{let{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})};onTouchMove=t=>{let{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t,s=-(e-this.touchStart.x)*this.options.touchMultiplier,o=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:s,y:o},this.emitter.emit("scroll",{deltaX:s,deltaY:o,event:t})};onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})};onWheel=t=>{let{deltaX:e,deltaY:i,deltaMode:s}=t,o=c(s,this.window.width),r=c(s,this.window.height);e*=o,i*=r,e*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:i,event:t})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}};let d=t=>Math.min(1,1.001-2**(-10*t));var p=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;_isDraggingSelection=!1;reducedMotionMediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)");
9isTouching;isIos;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new r;emitter=new l;dimensions;virtualScroll;constructor({wrapper:t=window,content:e=document.documentElement,eventsTarget:i=t,smoothWheel:o=!0,syncTouch:r=!1,syncTouchLerp:l=.075,touchInertiaExponent:a=1.7,duration:h,easing:c,lerp:p=.1,infinite:m=!1,orientation:f="vertical",gestureOrientation:v="horizontal"===f?"both":"vertical",touchMultiplier:g=1,wheelMultiplier:w=1,autoResize:S=!0,prevent:y,virtualScroll:E,overscroll:b=!0,autoRaf:R=!1,anchors:M=!1,autoToggle:T=!1,allowNestedScroll:x=!1,__experimental__naiveDimensions:z=!1,naiveDimensions:C=z,stopInertiaOnNavigate:L=!1,respectReducedMotion:N=!0}={}){window.lenisVersion=s,window.lenis||(window.lenis={}),window.lenis.version=s,"horizontal"===f&&(window.lenis.horizontal=!0),!0===r&&(window.lenis.touch=!0),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),t&&t!==document.documentElement||(t=window),"number"==typeof h&&"function"!=typeof c?c=d:"function"==typeof c&&"number"!=typeof h&&(h=1),this.options={wrapper:t,content:e,eventsTarget:i,smoothWheel:o,syncTouch:r,syncTouchLerp:l,touchInertiaExponent:a,duration:h,easing:c,lerp:p,infinite:m,gestureOrientation:v,orientation:f,touchMultiplier:g,wheelMultiplier:w,autoResize:S,prevent:y,virtualScroll:E,overscroll:b,autoRaf:R,anchors:M,autoToggle:T,allowNestedScroll:x,naiveDimensions:C,stopInertiaOnNavigate:L,respectReducedMotion:N},this.dimensions=new n(t,e,{autoResize:S}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new u(i,{touchMultiplier:g,wheelMultiplier:w}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}onScrollEnd=t=>{t instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||t.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let t=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[t]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=t=>{t.propertyName?.includes("overflow")&&t.target===this.rootElement&&this.checkOverflow()};setScroll(t){this.isHorizontal?this.options.wrapper.scrollTo({left:t,behavior:"instant"}):this.options.wrapper.scrollTo({top:t,behavior:"instant"})}onClick=t=>{let e=t.composedPath().filter(t=>t instanceof HTMLAnchorElement&&t.href).map(t=>new URL(t.href)),i=new URL(window.location.href);if(this.options.anchors){let t=e.find(t=>i.host===t.host&&i.pathname===t.pathname&&t.hash);if(t){let e="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,i=decodeURIComponent(t.hash);this.scrollTo(i,e);return}}if(this.options.stopInertiaOnNavigate&&e.some(t=>i.host===t.host&&i.pathname!==t.pathname))return void this.reset()};onPointerDown=t=>{1===t.button&&this.reset()};isTouchOnSelectionHandle(t){let e=window.getSelection();if(!e||e.isCollapsed||0===e.rangeCount)return!1;let i=t.targetTouches[0]??t.changedTouches[0];if(!i)return!1;let s=e.getRangeAt(0).getClientRects();if(0===s.length)return!1;let o=s[0],r=s[s.length-1],n=40>=Math.hypot(i.clientX-o.left,i.clientY-o.top),l=40>=Math.hypot(i.clientX-r.right,i.clientY-r.bottom);return n||l}onVirtualScroll=t=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(t))return;let{deltaX:e,deltaY:i,event:s}=t;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:i,event:s}),s.ctrlKey||s.lenisStopPropagation)return;let o=s.type.includes("touch"),r=s.type.includes("wheel");if(o&&this.isIos&&("touchstart"===s.type&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(s)),this._isDraggingSelection)){"touchend"===s.type&&(this._isDraggingSelection=!1);return}this.isTouching="touchstart"===s.type||"touchmove"===s.type;let n=0===e&&0===i;if(this.options.syncTouch&&o&&"touchstart"===s.type&&n&&!this.isStopped&&!this.isLocked)return void this.reset();let l="vertical"===this.options.gestureOrientation&&0===i||"horizontal"===this.options.gestureOrientation&&0===e;if(n||l)return;let a=s.composedPath();a=a.slice(0,a.indexOf(this.rootElement));let h=this.options.prevent,c=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if(a.find(t=>t instanceof HTMLElement&&("function"==typeof h&&h?.(t)||t.hasAttribute?.("data-lenis-prevent")||"vertical"===c&&t.hasAttribute?.("data-lenis-prevent-vertical")||"horizontal"===c&&t.hasAttribute?.("data-lenis-prevent-horizontal")||o&&t.hasAttribute?.("data-lenis-prevent-touch")||r&&t.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(t,{deltaX:e,deltaY:i}
9))))return;if(this.isStopped||this.isLocked){s.cancelable&&s.preventDefault();return}if(!(this.options.syncTouch&&o||this.options.smoothWheel&&r)){this.isScrolling="native",this.animate.stop(),s.lenisStopPropagation=!0;return}let u=i;"both"===this.options.gestureOrientation?u=Math.abs(i)>Math.abs(e)?i:e:"horizontal"===this.options.gestureOrientation&&(u=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&i>0||this.animatedScroll===this.limit&&i<0))&&(s.lenisStopPropagation=!0),s.cancelable&&s.preventDefault();let d=o&&this.options.syncTouch,p=o&&"touchend"===s.type;p&&(u=Math.sign(u)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+u,{programmatic:!1,...d?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isStopped||(this.isScrolling="native"),this.emit(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.removeProperty("overflow");this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.setProperty("overflow","clip");this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=t=>{let e=t-(this.time||t);this.time=t,this.animate.advance(.001*e),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(t,{offset:e=0,immediate:i=!1,lock:s=!1,programmatic:r=!0,lerp:n=r?this.options.lerp:void 0,duration:l=r?this.options.duration:void 0,easing:a=r?this.options.easing:void 0,onStart:h,onComplete:c,force:u=!1,userData:p}={}){if(this.prefersReducedMotion&&(r?i=!0:(n=1,l=void 0,a=void 0)),(this.isStopped||this.isLocked)&&!u)return;let m=t,f=e;if("string"==typeof m&&["top","left","start","#"].includes(m))m=0;else if("string"==typeof m&&["bottom","right","end"].includes(m))m=this.limit;else{let t=null;if("string"==typeof m?(t=m.startsWith("#")?document.getElementById(m.slice(1)):document.querySelector(m))||("#top"===m?m=0:console.warn("Lenis: Target not found",m)):m instanceof HTMLElement&&m?.nodeType&&(t=m),t){if(this.options.wrapper!==window){let t=this.rootElement.getBoundingClientRect();f-=this.isHorizontal?t.left:t.top}let e=t.getBoundingClientRect(),i=getComputedStyle(t),s=this.isHorizontal?Number.parseFloat(i.scrollMarginLeft):Number.parseFloat(i.scrollMarginTop),o=getComputedStyle(this.rootElement),r=this.isHorizontal?Number.parseFloat(o.scrollPaddingLeft):Number.parseFloat(o.scrollPaddingTop);m=(this.isHorizontal?e.left:e.top)+this.animatedScroll-(Number.isNaN(s)?0:s)-(Number.isNaN(r)?0:r)}}if("number"==typeof m){if(m+=f,this.options.infinite){if(r){this.targetScroll=this.animatedScroll=this.scroll;let t=m-this.animatedScroll;t>this.limit/2?m-=this.limit:t<-this.limit/2&&(m+=this.limit)}}else m=o(0,m,this.limit);if(m===this.targetScroll){h?.(this),c?.(this);return}if(this.userData=p??{},i){this.animatedScroll=this.targetScroll=m,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit
9(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}r||(this.targetScroll=m),"number"==typeof l&&"function"!=typeof a?a=d:"function"==typeof a&&"number"!=typeof l&&(l=1),this.animate.fromTo(this.animatedScroll,m,{duration:l,easing:a,lerp:n,onStart:()=>{s&&(this.isLocked=!0),this.isScrolling="smooth",h?.(this)},onUpdate:(t,e)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=t-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=t,this.setScroll(this.scroll),r&&(this.targetScroll=t),e||this.emit(),e&&(this.reset(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(t,{deltaX:e,deltaY:i}){let s,o,r,n,l,a,h,c,u,d,p,m,f,v,g,w,S=Date.now();t._lenis||(t._lenis={});let y=t._lenis;if(S-(y.time??0)>2e3){y.time=Date.now();let e=window.getComputedStyle(t);if(y.computedStyle=e,s=["auto","overlay","scroll"].includes(e.overflowX),o=["auto","overlay","scroll"].includes(e.overflowY),l=["auto"].includes(e.overscrollBehaviorX),a=["auto"].includes(e.overscrollBehaviorY),y.hasOverflowX=s,y.hasOverflowY=o,!(s||o))return!1;h=t.scrollWidth,c=t.scrollHeight,u=t.clientWidth,d=t.clientHeight,r=h>u,n=c>d,y.isScrollableX=r,y.isScrollableY=n,y.scrollWidth=h,y.scrollHeight=c,y.clientWidth=u,y.clientHeight=d,y.hasOverscrollBehaviorX=l,y.hasOverscrollBehaviorY=a}else r=y.isScrollableX,n=y.isScrollableY,s=y.hasOverflowX,o=y.hasOverflowY,h=y.scrollWidth,c=y.scrollHeight,u=y.clientWidth,d=y.clientHeight,l=y.hasOverscrollBehaviorX,a=y.hasOverscrollBehaviorY;if(!(s&&r||o&&n))return!1;let E=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if("horizontal"===E)p=Math.round(t.scrollLeft),m=h-u,f=e,v=s,g=r,w=l;else{if("vertical"!==E)return!1;p=Math.round(t.scrollTop),m=c-d,f=i,v=o,g=n,w=a}return!w&&(p>=m||p<=0)||(f>0?p<m:p>0)&&v&&g}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let t=this.options.wrapper;return this.isHorizontal?t.scrollX??t.scrollLeft:t.scrollY??t.scrollTop}get scroll(){var t;return this.options.infinite?(this.animatedScroll%(t=this.limit)+t)%t:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get prefersReducedMotion(){return this.options.respectReducedMotion&&this.reducedMotionMediaQuery.matches}get className(){let t="lenis";return this.options.autoToggle&&(t+=" lenis-autoToggle"),this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),"smooth"===this.isScrolling&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(t=>{this.rootElement.classList.add(t)})}cleanUpClassName(){for(let t of Array.from(this.rootElement.classList))("lenis"===t||t.startsWith("lenis-"))&&this.rootElement.classList.remove(t)}}},91397:(t,e,i)=>{"use strict";i.d(e,{F:()=>n});var s=i(9917);let o=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,r=s.$,n=(t,e)=>i=>{var s;if((null==e?void 0:e.variants)==null)return r(t,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:n,defaultVariants:l}=e,a=Object.keys(n).map(t=>{let e=null==i?void 0:i[t],s=null==l?void 0:l[t];if(null===e)return null;let r=o(e)||o(s);return n[t][r]}),h=i&&Object.entries(i).reduce((t,e)=>{let[i,s]=e;return void 0===s||(t[i]=s),t},{});return r(t,a,null==e||null==(s=e.compoundVariants)?void 0:s.reduce((t,e)=>{let{class:i,className:s,...o}=e;return Object.entries(o).every(t=>{let[e,i]=t;return Array.isArray(i)?i.includes({...l,...h}[e]):({...l,...h})[e]===i})?[...t,i,s]:t},[]),null==i?void 0:i.class,null==i?void 0:i.className)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.