(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12476,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},53244,(e,t,r)=>{"use strict";function n(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function u(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,o(e));else t.set(r,o(n));return t}function i(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{assign:function(){return i},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return u}})},32846,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{formatUrl:function(){return u},formatWithValidation:function(){return a},urlObjectKeys:function(){return i}});let n=e.r(48052)._(e.r(53244)),o=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:r}=e,u=e.protocol||"",i=e.pathname||"",a=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let f=e.search||l&&"?"+l||"";return u&&!u.endsWith(":")&&(u+=":"),e.slashes||(!u||o.test(u))&&!1!==c?(c="//"+(c||""),i&&"/"!==i[0]&&(i="/"+i)):c||(c=""),a&&"#"!==a[0]&&(a="#"+a),f&&"?"!==f[0]&&(f="?"+f),""+u+c+(i=i.replace(/[?#]/g,encodeURIComponent))+(f=f.replace("#","%23"))+a}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(e){return u(e)}},7460,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(72600);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},44275,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{DecodeError:function(){return g},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return P},NormalizeError:function(){return m},PageNotFoundError:function(){return y},SP:function(){return d},ST:function(){return h},WEB_VITALS:function(){return n},execOnce:function(){return o},getDisplayName:function(){return c},getLocationOrigin:function(){return a},getURL:function(){return l},isAbsoluteUrl:function(){return i},isResSent:function(){return f},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return s},stringifyError:function(){return v}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),u=0;u<n;u++)o[u]=arguments[u];return r||(r=!0,t=e(...o)),t}}let u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>u.test(e);function a(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function l(){let{href:e}=window.location,t=a();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function s(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error('"'+c(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let d="undefined"!=typeof performance,h=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class m extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class P extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function v(e){return JSON.stringify({message:e.message,stack:e.stack})}},34379,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=e.r(44275),o=e.r(58397);function u(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},72571,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},62697,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{default:function(){return m},useLinkStatus:function(){return P}});let n=e.r(48052),o=e.r(10725),u=n._(e.r(72600)),i=e.r(32846),a=e.r(49927),l=e.r(7460),c=e.r(44275),f=e.r(26817);e.r(12476);let s=e.r(64977),p=e.r(34379),d=e.r(92622);e.r(72571);let h=e.r(2066);function g(e){return"string"==typeof e?e:(0,i.formatUrl)(e)}function m(e){var t;let r,n,i,[m,P]=(0,u.useOptimistic)(s.IDLE_LINK_STATUS),b=(0,u.useRef)(null),{href:v,as:j,children:O,prefetch:x=null,passHref:_,replace:E,shallow:S,scroll:L,onClick:R,onMouseEnter:T,onTouchStart:A,legacyBehavior:C=!1,onNavigate:N,ref:w,unstable_dynamicOnHover:M,...U}=e;r=O,C&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let k=u.default.useContext(a.AppRouterContext),I=!1!==x,F=!1!==x?null===(t=x)||"auto"===t?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:z,as:B}=u.default.useMemo(()=>{let e=g(v);return{href:e,as:j?g(j):e}},[v,j]);C&&(n=u.default.Children.only(r));let D=C?n&&"object"==typeof n&&n.ref:w,K=u.default.useCallback(e=>(null!==k&&(b.current=(0,s.mountLinkInstance)(e,z,k,F,I,P)),()=>{b.current&&((0,s.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,s.unmountPrefetchableInstance)(e)}),[I,z,k,F,P]),W={ref:(0,l.useMergedRef)(K,D),onClick(e){C||"function"!=typeof R||R(e),C&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),k&&(e.defaultPrevented||function(e,t,r,n,o,i,a){let{nodeName:l}=e.currentTarget;if(!("A"===l.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.currentTarget.hasAttribute("download"))){if(!(0,p.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}u.default.startTransition(()=>{(0,d.dispatchNavigateAction)(r||t,o?"replace":"push",null==i||i,n.current)})}}(e,z,B,b,E,L,N))},onMouseEnter(e){C||"function"!=typeof T||T(e),C&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),k&&I&&(0,s.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){C||"function"!=typeof A||A(e),C&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),k&&I&&(0,s.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,c.isAbsoluteUrl)(B)?W.href=B:C&&!_&&("a"!==n.type||"href"in n.props)||(W.href=(0,f.addBasePath)(B)),i=C?u.default.cloneElement(n,W):(0,o.jsx)("a",{...U,...W,children:r}),(0,o.jsx)(y.Provider,{value:m,children:i})}let y=(0,u.createContext)(s.IDLE_LINK_STATUS),P=()=>(0,u.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},57711,(e,t,r)=>{t.exports=e.r(79426)},58387,97414,25250,3492,e=>{"use strict";e.s(["default",()=>R],58387);var t=e.i(62697),r=e.i(57711),n=e.i(72600),o=e.i(70607);function u(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function i(e,t){return e.replace(new RegExp("^".concat(t)),"")||"/"}function a(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function l(e,t){return t===e||t.startsWith("".concat(e,"/"))}function c(e,t,r){return"string"==typeof e?e:e[t]||r}function f(e){let t=function(){try{return!0}catch(e){return!1}}(),[r,...n]=e.split("#"),o=n.join("#"),u=r;if("/"!==u){let e=u.endsWith("/");t&&!e?u+="/":!t&&e&&(u=u.slice(0,-1))}return o&&(u+="#"+o),u}function s(e,t){let r=f(e),n=f(t);return(function(e){let t=e.replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"?(.*)").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return new RegExp("^".concat(t,"$"))})(r).test(n)}function p(e,t){var r;return"never"!==t.mode&&(null==(r=t.prefixes)?void 0:r[e])||d(e)}function d(e){return"/"+e}function h(e){return e.includes("[[...")}function g(e){return e.includes("[...")}function m(e){return e.includes("[")}function y(e,t){let r=e.split("/"),n=t.split("/"),o=Math.max(r.length,n.length);for(let e=0;e<o;e++){let t=r[e],o=n[e];if(!t&&o)return -1;if(t&&!o)return 1;if(t||o){if(!m(t)&&m(o))return -1;if(m(t)&&!m(o))return 1;if(!g(t)&&g(o))return -1;if(g(t)&&!g(o))return 1;if(!h(t)&&h(o))return -1;if(h(t)&&!h(o))return 1}}return 0}function P(e){return e.sort(y)}function b(e){return"function"==typeof e.then}function v(e){return"string"==typeof e?{pathname:e}:e}function j(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function O(e){let{pathname:t,locale:r,params:n,pathnames:o,query:u}=e;function i(e){let t,i=o[e];return i?(t=c(i,r,e),n&&Object.entries(n).forEach(e=>{let r,n,[o,u]=e;Array.isArray(u)?(r="(\\[)?\\[...".concat(o,"\\](\\])?"),n=u.map(e=>String(e)).join("/")):(r="\\[".concat(o,"\\]"),n=String(u)),t=t.replace(RegExp(r,"g"),n)}),t=new URL(t=t.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):t=e,t=f(t),u&&(t+=j(u)),t}if("string"==typeof t)return i(t);{let{pathname:e,...r}=t;return{...r,pathname:i(e)}}}function x(e,t,r){let n=P(Object.keys(r)),o=decodeURI(t);for(let t of n){let n=r[t];if("string"==typeof n){if(s(n,o))return t}else if(s(c(n,e,t),o))return t}return t}function _(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")}function E(e,t,r,n){let o,{mode:i}=r.localePrefix;return void 0!==n?o=n:u(e)&&("always"===i?o=!0:"as-needed"===i&&(o=r.domains?!r.domains.some(e=>e.defaultLocale===t):t!==r.defaultLocale)),o?a(p(t,r.localePrefix),e):e}function S(e,t,r,n){if(!e||n===r||null==n||!t)return;let o=_(t),{name:u,...i}=e;i.path||(i.path=""!==o?o:"/");let a="".concat(u,"=").concat(n,";");for(let[e,t]of Object.entries(i))a+="".concat("maxAge"===e?"max-age":e),"boolean"!=typeof t&&(a+="="+t),a+=";";document.cookie=a}e.s(["default",()=>S],3492),e.s(["applyPathnamePrefix",()=>E,"compileLocalizedPathname",()=>O,"getBasePath",()=>_,"getRoute",()=>x,"normalizeNameOrNameWithParams",()=>v,"serializeSearchParams",()=>j],25250),e.s(["getLocaleAsPrefix",()=>d,"getLocalePrefix",()=>p,"getLocalizedTemplate",()=>c,"getSortedPathnames",()=>P,"hasPathnamePrefixed",()=>l,"isLocalizableHref",()=>u,"isPromise",()=>b,"matchesPathname",()=>s,"normalizeTrailingSlash",()=>f,"prefixPathname",()=>a,"unprefixPathname",()=>i],97414),e.i(82568);var L=e.i(10725),R=(0,n.forwardRef)(function(e,n){let{href:u,locale:i,localeCookie:a,onClick:l,prefetch:c,...f}=e,s=(0,o.useLocale)(),p=null!=i&&i!==s,d=(0,r.usePathname)();return p&&(c=!1),(0,L.jsx)(t.default,{ref:n,href:u,hrefLang:p?i:void 0,onClick:function(e){S(a,d,s,i),l&&l(e)},prefetch:c,...f})})}]);