!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9dc932cd-d183-45d0-ba7c-0f548740259b",e._sentryDebugIdIdentifier="sentry-dbid-9dc932cd-d183-45d0-ba7c-0f548740259b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6425],{52749:function(e,t,n){n.d(t,{W:function(){return r}});var o=n(2784);function r(e,t,n){(0,o.useInsertionEffect)((()=>e.on(t,n)),[e,t,n])}},44128:function(e,t,n){n.d(t,{v:function(){return C}});var o=n(40226),r=n(3105),i=n(2784),s=n(57035),c=n(3054);const f=new WeakMap;let l;function a({target:e,contentRect:t,borderBoxSize:n}){var o;null===(o=f.get(e))||void 0===o||o.forEach((o=>{o({target:e,contentSize:t,get size(){return function(e,t){if(t){const{inlineSize:e,blockSize:n}=t[0];return{width:e,height:n}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(e,n)}})}))}function u(e){e.forEach(a)}function d(e,t){l||"undefined"!==typeof ResizeObserver&&(l=new ResizeObserver(u));const n=(0,c.I)(e);return n.forEach((e=>{let n=f.get(e);n||(n=new Set,f.set(e,n)),n.add(t),null===l||void 0===l||l.observe(e)})),()=>{n.forEach((e=>{const n=f.get(e);null===n||void 0===n||n.delete(t),(null===n||void 0===n?void 0:n.size)||null===l||void 0===l||l.unobserve(e)}))}}const g=new Set;let h;function p(e){return g.add(e),h||(h=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};g.forEach((e=>e(t)))},window.addEventListener("resize",h)),()=>{g.delete(e),!g.size&&h&&(h=void 0)}}var v=n(17475),y=n(75394);const m={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function w(e,t,n,o){const r=n[t],{length:i,position:s}=m[t],c=r.current,f=n.time;r.current=e[`scroll${s}`],r.scrollLength=e[`scroll${i}`]-e[`client${i}`],r.offset.length=0,r.offset[0]=0,r.offset[1]=r.scrollLength,r.progress=(0,v.Y)(0,r.scrollLength,r.current);const l=o-f;r.velocity=l>50?0:(0,y.R)(r.current-c,l)}const E={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},b={start:0,center:.5,end:1};function x(e,t,n=0){let o=0;if(e in b&&(e=b[e]),"string"===typeof e){const t=parseFloat(e);e.endsWith("px")?o=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?o=t/100*document.documentElement.clientWidth:e.endsWith("vh")?o=t/100*document.documentElement.clientHeight:e=t}return"number"===typeof e&&(o=t*e),n+o}const L=[0,0];function W(e,t,n,o){let r=Array.isArray(e)?e:L,i=0,s=0;return"number"===typeof e?r=[e,e]:"string"===typeof e&&(r=(e=e.trim()).includes(" ")?e.split(" "):[e,b[e]?e:"0"]),i=x(r[0],n,o),s=x(r[1],t),i-s}var B=n(34208),S=n(95254);const z={x:0,y:0};function H(e,t,n){const{offset:o=E.All}=n,{target:r=e,axis:i="y"}=n,s="y"===i?"height":"width",c=r!==e?function(e,t){const n={x:0,y:0};let o=e;for(;o&&o!==t;)if(o instanceof HTMLElement)n.x+=o.offsetLeft,n.y+=o.offsetTop,o=o.offsetParent;else if("svg"===o.tagName){const e=o.getBoundingClientRect();o=o.parentElement;const t=o.getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else{if(!(o instanceof SVGGraphicsElement))break;{const{x:e,y:t}=o.getBBox();n.x+=e,n.y+=t;let r=null,i=o.parentNode;for(;!r;)"svg"===i.tagName&&(r=i),i=o.parentNode;o=r}}return n}(r,e):z,f=r===e?{width:e.scrollWidth,height:e.scrollHeight}:function(e){return"getBBox"in e&&"svg"!==e.tagName?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}(r),l={width:e.clientWidth,height:e.clientHeight};t[i].offset.length=0;let a=!t[i].interpolate;const u=o.length;for(let d=0;dfunction(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let o=t;for(;o&&o!==e;)n.x.targetOffset+=o.offsetLeft,n.y.targetOffset+=o.offsetTop,o=o.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}(e,o.target,n),update:t=>{!function(e,t,n){w(e,"x",t,n),w(e,"y",t,n),t.time=n}(e,n,t),(o.offset||o.target)&&H(e,n,o)},notify:()=>t(n)}}var O=n(41359);const A=new WeakMap,X=new WeakMap,_=new WeakMap,N=e=>e===document.documentElement?window:e;function P(e,{container:t=document.documentElement,...n}={}){let o=_.get(t);o||(o=new Set,_.set(t,o));const r=k(t,e,{time:0,x:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0},y:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}},n);if(o.add(r),!A.has(t)){const e=()=>{for(const e of o)e.measure()},n=()=>{for(const e of o)e.update(O.w0.timestamp)},r=()=>{for(const e of o)e.notify()},c=()=>{O.Wi.read(e,!1,!0),O.Wi.read(n,!1,!0),O.Wi.update(r,!1,!0)};A.set(t,c);const f=N(t);window.addEventListener("resize",c,{passive:!0}),t!==document.documentElement&&X.set(t,(s=c,"function"===typeof(i=t)?p(i):d(i,s))),f.addEventListener("scroll",c,{passive:!0})}var i,s;const c=A.get(t);return O.Wi.read(c,!1,!0),()=>{var e;(0,O.Pn)(c);const n=_.get(t);if(!n)return;if(n.delete(r),n.size)return;const o=A.get(t);A.delete(t),o&&(N(t).removeEventListener("scroll",o),null===(e=X.get(t))||void 0===e||e(),window.removeEventListener("resize",o))}}var I=n(23617);function R(e,t){(0,s.K)(Boolean(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}const Y=()=>({scrollX:(0,o.BX)(0),scrollY:(0,o.BX)(0),scrollXProgress:(0,o.BX)(0),scrollYProgress:(0,o.BX)(0)});function C({container:e,target:t,layoutEffect:n=!0,...o}={}){const s=(0,r.h)(Y);return(n?I.L:i.useEffect)((()=>(R("target",t),R("container",e),P((({x:e,y:t})=>{s.scrollX.set(e.current),s.scrollXProgress.set(e.progress),s.scrollY.set(t.current),s.scrollYProgress.set(t.progress)}),{...o,container:(null===e||void 0===e?void 0:e.current)||void 0,target:(null===t||void 0===t?void 0:t.current)||void 0}))),[e,t,JSON.stringify(o.offset)]),s}},37220:function(e,t,n){n.d(t,{H:function(){return u}});var o=n(34208);var r=n(2784),i=n(40226),s=n(60976),c=n(3105);var f=n(23617),l=n(41359);function a(e,t){const n=function(e){const t=(0,c.h)((()=>(0,i.BX)(e))),{isStatic:n}=(0,r.useContext)(s._);if(n){const[,n]=(0,r.useState)(e);(0,r.useEffect)((()=>t.on("change",n)),[])}return t}(t()),o=()=>n.set(t());return o(),(0,f.L)((()=>{const t=()=>l.Wi.preRender(o,!1,!0),n=e.map((e=>e.on("change",t)));return()=>{n.forEach((e=>e())),(0,l.Pn)(o)}})),n}function u(e,t,n,r){if("function"===typeof e)return function(e){i.S1.current=[],e();const t=a(i.S1.current,e);return i.S1.current=void 0,t}(e);const s="function"===typeof t?t:function(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],s=e[2+n],c=e[3+n],f=(0,o.s)(i,s,{mixer:(l=s[0],(e=>e&&"object"===typeof e&&e.mix)(l)?l.mix:void 0),...c});var l;return t?f(r):f}(t,n,r);return Array.isArray(e)?d(e,s):d([e],(([e])=>s(e)))}function d(e,t){const n=(0,c.h)((()=>[]));return a(e,(()=>{n.length=0;const o=e.length;for(let t=0;t