!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]="ffbfd31c-8ea5-4dbc-a55b-5b4c22eb8f76",e._sentryDebugIdIdentifier="sentry-dbid-ffbfd31c-8ea5-4dbc-a55b-5b4c22eb8f76")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[548],{19548:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let r=n(77443),u=n(95155),o=r._(n(12115)),f=n(26227),l=n(39589),c=n(27333),a=n(68080),i=n(93612),s=n(65649),d=n(53783);function p(e,t,n){"undefined"!=typeof window&&(async()=>e.prefetch(t,n))().catch(e=>{})}function b(e){return"string"==typeof e?e:(0,f.formatUrl)(e)}n(75340);let y=o.default.forwardRef(function(e,t){let n,r;let{href:f,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(l.AppRouterContext),E=!1!==h,I=null===h?a.PrefetchKind.AUTO:a.PrefetchKind.FULL,{href:R,as:x}=o.default.useMemo(()=>{let e=b(f);return{href:e,as:y?b(y):e}},[f,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,c.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,f,l){let{nodeName:c}=e.currentTarget;"A"===c.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==l||l;"beforePopState"in t?t[u?"replace":"push"](n,r,{shallow:f,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)},27333:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return c}});let r=n(12115),u=n(1260),o="function"==typeof IntersectionObserver,f=new Map,l=[];function c(e){let{rootRef:t,rootMargin:n,disabled:c}=e,a=c||!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(a||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=l.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=f.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},l.push(n),f.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(),f.delete(r);let e=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&l.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)}},[a,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)},93612:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return u}});let r=n(12115);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)}}]);