!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]="279ac127-edba-48db-9f01-9d8149c2f7a8",e._sentryDebugIdIdentifier="sentry-dbid-279ac127-edba-48db-9f01-9d8149c2f7a8")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4598],{54598:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let r=n(42187),u=n(36636),o=r._(n(48400)),l=n(78257),f=n(91431),a=n(58555),c=n(49934),i=n(61946),s=n(51243),d=n(26213);function p(e,t,n){"undefined"!=typeof window&&(async()=>e.prefetch(t,n))().catch(e=>{})}function b(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}n(90698);let y=o.default.forwardRef(function(e,t){let n,r;let{href:l,as:y,children:g,prefetch:h=null,passHref:_,replace:v,shallow:M,scroll:j,onClick:k,onMouseEnter:m,onTouchStart:O,legacyBehavior:w=!1,...C}=e;n=g,w&&("string"==typeof n||"number"==typeof n)&&(n=(0,u.jsx)("a",{children:n}));let P=o.default.useContext(f.AppRouterContext),E=!1!==h,I=null===h?c.PrefetchKind.AUTO:c.PrefetchKind.FULL,{href:R,as:x}=o.default.useMemo(()=>{let e=b(l);return{href:e,as:y?b(y):e}},[l,y]),T=o.default.useRef(R),K=o.default.useRef(x);w&&(r=o.default.Children.only(n));let S=w?r&&"object"==typeof r&&r.ref:t,[A,D,U]=(0,a.useIntersection)({rootMargin:"200px"}),N=o.default.useCallback(e=>{(K.current!==x||T.current!==R)&&(U(),K.current=x,T.current=R),A(e)},[x,R,U,A]),L=(0,i.useMergedRef)(N,S);o.default.useEffect(()=>{P&&D&&E&&p(P,R,{kind:I})},[x,R,D,E,P,I]);let q={ref:L,onClick(e){w||"function"!=typeof k||k(e),w&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),P&&!e.defaultPrevented&&function(e,t,n,r,u,l,f){let{nodeName:a}=e.currentTarget;"A"===a.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||(e.preventDefault(),o.default.startTransition(()=>{let e=null==f||f;"beforePopState"in t?t[u?"replace":"push"](n,r,{shallow:l,scroll:e}):t[u?"replace":"push"](r||n,{scroll:e})}))}(e,P,R,x,v,M,j)},onMouseEnter(e){w||"function"!=typeof m||m(e),w&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),P&&E&&p(P,R,{kind:I})},onTouchStart:function(e){w||"function"!=typeof O||O(e),w&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),P&&E&&p(P,R,{kind:I})}};return(0,s.isAbsoluteUrl)(x)?q.href=x:w&&!_&&("a"!==r.type||"href"in r.props)||(q.href=(0,d.addBasePath)(x)),w?o.default.cloneElement(r,q):(0,u.jsx)("a",{...C,...q,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58555:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return a}});let r=n(48400),u=n(20618),o="function"==typeof IntersectionObserver,l=new Map,f=[];function a(e){let{rootRef:t,rootMargin:n,disabled:a}=e,c=a||!o,[i,s]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(o){if(c||i)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:u,elements:o}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=f.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=l.get(r)))return t;let u=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=u.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:u},f.push(n),l.set(n,t),t}(n);return o.set(e,t),u.observe(e),function(){if(o.delete(e),u.unobserve(e),0===o.size){u.disconnect(),l.delete(r);let e=f.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&f.splice(e,1)}}}(e,e=>e&&s(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!i){let e=(0,u.requestIdleCallback)(()=>s(!0));return()=>(0,u.cancelIdleCallback)(e)}},[c,n,t,i,d.current]),[p,i,(0,r.useCallback)(()=>{s(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},61946:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return u}});let r=n(48400);function u(e,t){let n=(0,r.useRef)(()=>{}),u=(0,r.useRef)(()=>{});return(0,r.useMemo)(()=>e&&t?r=>{null===r?(n.current(),u.current()):(n.current=o(e,r),u.current=o(t,r))}:e||t,[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}}]);