(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81507],{49565:function(e,t){"use strict";var n,r,o,l;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return s},ACTION_NAVIGATE:function(){return f},ACTION_PREFETCH:function(){return i},ACTION_REFRESH:function(){return u},ACTION_RESTORE:function(){return a},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return c},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let u="refresh",f="navigate",a="restore",c="server-patch",i="prefetch",s="fast-refresh",d="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=n||(n={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(l=r||(r={})).fresh="fresh",l.reusable="reusable",l.expired="expired",l.stale="stale",("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)},72039:function(e,t,n){"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(38908),("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)},52958:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(39308),o=n(55818),l=n(97768);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return j}});let u=n(51538),f=n(24246),a=u._(n(27378)),c=n(71949),i=n(61349),s=n(48290),d=n(57730),p=n(75738),h=n(74573),y=n(33247),b=n(9736),v=n(72039),_=n(6883),g=n(49565),C=new Set;function O(e,t,n,r,o,l){if(l||(0,i.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let o=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(C.has(o))return;C.add(o)}(async()=>l?e.prefetch(t,o):e.prefetch(t,n,r))().catch(e=>{})}}function E(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let j=a.default.forwardRef(function(e,t){let n,u;let{href:s,as:C,children:j,prefetch:P=null,passHref:M,replace:T,shallow:R,scroll:m,locale:k,onClick:A,onMouseEnter:L,onTouchStart:x,legacyBehavior:I=!1}=e,S=l._(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=j,I&&("string"==typeof n||"number"==typeof n)&&(n=(0,f.jsx)("a",{children:n}));let w=a.default.useContext(h.RouterContext),N=a.default.useContext(y.AppRouterContext),U=null!=w?w:N,H=!w,K=!1!==P,F=null===P?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:D,as:B}=a.default.useMemo(()=>{if(!w){let e=E(s);return{href:e,as:C?E(C):e}}let[e,t]=(0,c.resolveHref)(w,s,!0);return{href:e,as:C?(0,c.resolveHref)(w,C):t||e}},[w,s,C]),V=a.default.useRef(D),z=a.default.useRef(B);I&&(u=a.default.Children.only(n));let q=I?u&&"object"==typeof u&&u.ref:t,[G,Y,Z]=(0,b.useIntersection)({rootMargin:"200px"}),J=a.default.useCallback(e=>{(z.current!==B||V.current!==D)&&(Z(),z.current=B,V.current=D),G(e),q&&("function"==typeof q?q(e):"object"==typeof q&&(q.current=e))},[B,q,D,Z,G]);a.default.useEffect(()=>{U&&Y&&K&&O(U,D,B,{locale:k},{kind:F},H)},[B,D,Y,k,K,null==w?void 0:w.locale,U,H,F]);let Q={ref:J,onClick(e){I||"function"!=typeof A||A(e),I&&u.props&&"function"==typeof u.props.onClick&&u.props.onClick(e),U&&!e.defaultPrevented&&function(e,t,n,r,o,l,u,f,c){let{nodeName:s}=e.currentTarget;if("A"===s.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)||!c&&!(0,i.isLocalURL)(n)))return;e.preventDefault();let d=()=>{let e=null==u||u;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:l,locale:f,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?a.default.startTransition(d):d()}(e,U,D,B,T,R,m,k,H)},onMouseEnter(e){I||"function"!=typeof L||L(e),I&&u.props&&"function"==typeof u.props.onMouseEnter&&u.props.onMouseEnter(e),U&&(K||!H)&&O(U,D,B,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:F},H)},onTouchStart:function(e){I||"function"!=typeof x||x(e),I&&u.props&&"function"==typeof u.props.onTouchStart&&u.props.onTouchStart(e),U&&(K||!H)&&O(U,D,B,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:F},H)}};if((0,d.isAbsoluteUrl)(B))Q.href=B;else if(!I||M||"a"===u.type&&!("href"in u.props)){let e=void 0!==k?k:null==w?void 0:w.locale,t=(null==w?void 0:w.isLocaleDomain)&&(0,v.getDomainLocale)(B,e,null==w?void 0:w.locales,null==w?void 0:w.domainLocales);Q.href=t||(0,_.addBasePath)((0,p.addLocale)(B,e,null==w?void 0:w.defaultLocale))}return I?a.default.cloneElement(u,Q):(0,f.jsx)("a",o._(r._({},S,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)},9736:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return a}});let r=n(27378),o=n(6635),l="function"==typeof IntersectionObserver,u=new Map,f=[];function a(e){let{rootRef:t,rootMargin:n,disabled:a}=e,c=a||!l,[i,s]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(l){if(c||i)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:l}=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=u.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},f.push(n),u.set(n,t),t}(n);return l.set(e,t),o.observe(e),function(){if(l.delete(e),o.unobserve(e),0===l.size){o.disconnect(),u.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,o.requestIdleCallback)(()=>s(!0));return()=>(0,o.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)},79894:function(e,t,n){e.exports=n(52958)},75905:function(e,t,n){"use strict";var r=n(27378);t.Z=function(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),r.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))}}}]);