(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{17576:function(e,t){"use strict";function r(e,t,r,n,a,o,i){try{var l=e[o](i),s=l.value}catch(e){r(e);return}l.done?t(s):Promise.resolve(s).then(n,a)}function n(e){return function(){var t=this,n=arguments;return new Promise(function(a,o){var i=e.apply(t,n);function l(e){r(i,a,o,l,s,"next",e)}function s(e){r(i,a,o,l,s,"throw",e)}l(void 0)})}}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return n}})},76516:function(e,t){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0||(a[r]=e[r]);return a}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return r}})},28251:function(){"use strict";try{self["workbox:window:6.6.0"]&&_()}catch(e){}function e(e,t){return new Promise(function(r){var n=new MessageChannel;n.port1.onmessage=function(e){r(e.data)},e.postMessage(t,[n.port2])})}function t(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=Array(t);r0||!a(t.scriptURL,l.sn.toString())||performance.now()>l.un+6e4?(l.vn=t,e.removeEventListener("updatefound",l.cn)):(l.hn=t,l.an.add(t),l.rn.resolve(t)),++l.tn,t.addEventListener("statechange",l.ln)},l.ln=function(e){var t=l.fn,r=e.target,n=r.state,a=r===l.vn,i={sw:r,isExternal:a,originalEvent:e};!a&&l.mn&&(i.isUpdate=!0),l.dispatchEvent(new o(n,i)),"installed"===n?l.wn=self.setTimeout(function(){"installed"===n&&t.waiting===r&&l.dispatchEvent(new o("waiting",i))},200):"activating"===n&&(clearTimeout(l.wn),a||l.en.resolve(r))},l.dn=function(e){var t=l.hn,r=t!==navigator.serviceWorker.controller;l.dispatchEvent(new o("controlling",{isExternal:r,originalEvent:e,sw:t,isUpdate:l.mn})),r||l.on.resolve(t)},l.gn=(s=function(e){var t=e.data,r=e.ports,n=e.source;return i(l.getSW(),function(){l.an.has(n)&&l.dispatchEvent(new o("message",{data:t,originalEvent:e,ports:r,sw:n}))})},function(){for(var e=[],t=0;t=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(this.Sn(e.type));!(t=n()).done;)(0,t.value)(e)},t.Sn=function(e){return this.Pn.has(e)||this.Pn.set(e,new Set),this.Pn.get(e)},e}());if("undefined"!=typeof window&&"serviceWorker"in navigator&&"undefined"!=typeof caches){caches.has("start-url").then(function(e){e||caches.open("start-url").then(e=>e.put("/",new Response("",{status:200})))}),window.workbox=new c(window.location.origin+"/sw.js",{scope:"/"}),window.workbox.addEventListener("installed",async({isUpdate:e})=>{if(!e){let e=await caches.open("start-url"),t=await fetch("/"),r=t;t.redirected&&(r=new Response(t.body,{status:200,statusText:"OK",headers:t.headers})),await e.put("/",r)}}),window.workbox.addEventListener("installed",async()=>{let e=window.performance.getEntriesByType("resource").map(e=>e.name).filter(e=>e.startsWith(`${window.location.origin}/_next/data/`)&&e.endsWith(".json")),t=await caches.open("next-data");e.forEach(e=>t.add(e))}),window.workbox.register();{let e=function(e){if(window.navigator.onLine&&"/"===e)return fetch("/").then(function(e){return e.redirected?Promise.resolve():caches.open("start-url").then(t=>t.put("/",e))})},t=history.pushState;history.pushState=function(){t.apply(history,arguments),e(arguments[2])};let r=history.replaceState;history.replaceState=function(){r.apply(history,arguments),e(arguments[2])},window.addEventListener("online",()=>{e(window.location.pathname)})}window.addEventListener("online",()=>{location.reload()})}},88223:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})})},91470:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBasePath=function(e,t){return a.normalizePathTrailingSlash(n.addPathPrefix(e,""))};var n=r(3973),a=r(54810);("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)},24087:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=void 0;var n=r(54810);t.addLocale=function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),o=1;o{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'.concat(e.props["data-href"],'"]')))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let r=t.title?t.title[0]:null,o="";if(r){let{children:e}=r.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{(function(e,t){let r=document.getElementsByTagName("head")[0],o=r.querySelector("meta[name=next-head-count]"),i=Number(o.content),l=[];for(let t=0,r=o.previousElementSibling;t{for(let t=0,r=l.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),u.forEach(e=>r.insertBefore(e,o)),o.content=(i-l.length+u.length).toString()})(e,t[e]||[])})}}},t.isEqualNode=a,t.DOMAttributeNames=void 0;let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function n(e){let{type:t,props:n}=e,a=document.createElement(t);for(let e in n){if(!n.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===n[e])continue;let o=r[e]||e.toLowerCase();"script"===t&&("async"===o||"defer"===o||"noModule"===o)?a[o]=!!n[e]:a.setAttribute(o,n[e])}let{children:o,dangerouslySetInnerHTML:i}=n;return i?a.innerHTML=i.__html||"":o&&(a.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):""),a}function a(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}t.DOMAttributeNames=r,("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)},4738:function(e,t,r){"use strict";let n,a,o,i,l,s,u,c,d,f,h,p;Object.defineProperty(t,"__esModule",{value:!0});let m=r(96808).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.initialize=function(){return X.apply(this,arguments)},t.hydrate=function(e){return eu.apply(this,arguments)},t.emitter=t.router=t.version=void 0;var g=r(17576).Z,v=r(76516).Z,y=r(42619).Z;r(96808).Z,r(88223);var P=y(r(27378)),b=y(r(37634)),w=r(62393),S=y(r(94988)),E=r(49756),x=r(62786),j=r(22627),C=r(2734),O=r(99603),R=r(94915),L=r(29388),M=y(r(790)),A=y(r(87838)),T=y(r(80313)),I=r(14608),N=r(15817),k=r(60016),D=r(80300),B=r(89960),U=r(67554),W=r(82627),H=r(80857),F=r(99237),q=y(r(75577));t.version="13.2.3",t.router=n;let Z=S.default();t.emitter=Z;let z=e=>[].slice.call(e),G=!1;self.__next_require__=r;class V extends P.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(a.isFallback||a.nextExport&&(j.isDynamicRoute(n.pathname)||location.search||G)||a.props&&a.props.__N_SSG&&(location.search||G))&&n.replace(n.pathname+"?"+String(C.assign(C.urlQueryToSearchParams(n.query),new URLSearchParams(location.search))),o,{_h:1,shallow:!a.isFallback&&!G}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}function X(){return(X=g(function*(){arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=a,p=a.defaultLocale;let e=a.assetPrefix||"";r.p="".concat(e,"/_next/"),O.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:a.runtimeConfig||{}}),o=R.getURL(),U.hasBasePath(o)&&(o=B.removeBasePath(o));{let{normalizeLocalePath:e}=r(94331),{detectDomainLocale:t}=r(76684),{parseRelativeUrl:n}=r(86995),{formatUrl:i}=r(11646);if(a.locales){let r=n(o),l=e(r.pathname,a.locales);l.detectedLocale?(r.pathname=l.pathname,o=i(r)):p=a.locale;let s=t(void 0,window.location.hostname);s&&(p=s.defaultLocale)}}if(a.scriptLoader){let{initScriptLoader:e}=r(17162);e(a.scriptLoader)}i=new A.default(a.buildId,e);let t=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>t(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=t,(s=M.default()).getIsSsr=()=>n.isSsr,l=document.getElementById("__next"),{assetPrefix:e}})).apply(this,arguments)}function Y(e,t){return P.default.createElement(e,Object.assign({},t))}function $(e){var t;let{children:r}=e;return P.default.createElement(V,{fn:e=>J({App:d,err:e}).catch(e=>console.error("Error rendering page: ",e))},P.default.createElement(W.AppRouterContext.Provider,{value:H.adaptForAppRouterInstance(n)},P.default.createElement(F.SearchParamsContext.Provider,{value:H.adaptForSearchParams(n)},P.default.createElement(H.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t},P.default.createElement(E.RouterContext.Provider,{value:N.makePublicRouterInstance(n)},P.default.createElement(w.HeadManagerContext.Provider,{value:s},P.default.createElement(D.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}},r)))))))}let K=e=>t=>{let r=v({},t,{Component:h,err:a.err,router:n});return P.default.createElement($,null,Y(e,r))};function J(e){let{App:t,err:l}=e;return console.error(l),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:a,styleSheets:o}=n;return(null==u?void 0:u.Component)===a?Promise.resolve().then(()=>m(r(66698))).then(n=>Promise.resolve().then(()=>m(r(63239))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:a,styleSheets:o}}).then(r=>{var i;let{ErrorComponent:s,styleSheets:u}=r,c=K(t),d={Component:s,AppTree:c,router:n,ctx:{err:l,pathname:a.page,query:a.query,asPath:o,AppTree:c}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:R.loadGetInitialProps(t,d)).then(t=>ei(v({},e,{err:l,Component:s,styleSheets:u,props:t})))})}function Q(e){let{callback:t}=e;return P.default.useLayoutEffect(()=>t(),[t]),null}let ee=null,et=!0;function er(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach(e=>performance.clearMarks(e))}function en(){R.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),f&&performance.getEntriesByName("Next.js-hydration").forEach(f),er())}function ea(){if(!R.ST)return;performance.mark("afterRender");let e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),f&&(performance.getEntriesByName("Next.js-render").forEach(f),performance.getEntriesByName("Next.js-route-change-to-render").forEach(f)),er(),["Next.js-route-change-to-render","Next.js-render"].forEach(e=>performance.clearMeasures(e)))}function eo(e){let{callbacks:t,children:r}=e;return P.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),P.default.useEffect(()=>{T.default(f)},[]),r}function ei(e){let t,{App:r,Component:a,props:o,err:i}=e,s="initial"in e?void 0:e.styleSheets;a=a||u.Component,o=o||u.props;let d=v({},o,{Component:a,err:i,router:n});u=d;let f=!1,h=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{f=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function p(){t()}!function(){if(!s)return;let e=z(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map(e=>e.getAttribute("data-n-href"))),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");s.forEach(e=>{let{href:r,text:a}=e;if(!t.has(r)){let e=document.createElement("style");e.setAttribute("data-n-href",r),e.setAttribute("media","x"),n&&e.setAttribute("nonce",n),document.head.appendChild(e),e.appendChild(document.createTextNode(a))}})}();let m=P.default.createElement(P.default.Fragment,null,P.default.createElement(Q,{callback:function(){if(s&&!f){let e=new Set(s.map(e=>e.href)),t=z(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n{let{href:t}=e,r=document.querySelector('style[data-n-href="'.concat(t,'"]'));r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),z(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;x.handleSmoothScroll(()=>{window.scrollTo(t,r)})}}}),P.default.createElement($,null,Y(r,d),P.default.createElement(L.Portal,{type:"next-route-announcer"},P.default.createElement(I.RouteAnnouncer,null))));return!function(e,t){R.ST&&performance.mark("beforeRender");let r=t(et?en:ea);if(ee){let e=P.default.startTransition;e(()=>{ee.render(r)})}else ee=b.default.hydrateRoot(e,r,{onRecoverableError:q.default}),et=!1}(l,e=>P.default.createElement(eo,{callbacks:[e,p]},P.default.createElement(P.default.StrictMode,null,m))),h}function el(e){return es.apply(this,arguments)}function es(){return(es=g(function*(e){if(e.err){yield J(e);return}try{yield ei(e)}catch(r){let t=k.getProperError(r);if(t.cancelled)throw t;yield J(v({},e,{err:t}))}})).apply(this,arguments)}function eu(){return(eu=g(function*(e){let r=a.err;try{let e=yield i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;d=t,r&&r.reportWebVitals&&(f=e=>{let t,{id:n,name:a,startTime:o,value:i,duration:l,entryType:s,entries:u,attribution:c}=e,d="".concat(Date.now(),"-").concat(Math.floor(Math.random()*(9e12-1))+1e12);u&&u.length&&(t=u[0].startTime);let f={id:n||d,name:a,startTime:o||t,value:null==i?l:i,label:"mark"===s||"measure"===s?"custom":"web-vital"};c&&(f.attribution=c),r.reportWebVitals(f)});let n=yield i.routeLoader.whenEntrypoint(a.page);if("error"in n)throw n.error;h=n.component}catch(e){r=k.getProperError(e)}window.__NEXT_PRELOADREADY&&(yield window.__NEXT_PRELOADREADY(a.dynamicIds)),t.router=n=N.createRouter(a.page,a.query,o,{initialProps:a.props,pageLoader:i,App:d,Component:h,wrapApp:K,err:r,isFallback:Boolean(a.isFallback),subscription:(e,t,r)=>el(Object.assign({},e,{App:t,scroll:r})),locale:a.locale,locales:a.locales,defaultLocale:p,domainLocales:a.domainLocales,isPreview:a.isPreview}),G=yield n._initialMatchesMiddlewarePromise;let l={App:d,initial:!0,Component:h,props:a.props,err:r};(null==e?void 0:e.beforeRender)&&(yield e.beforeRender()),el(l)})).apply(this,arguments)}("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)},66932:function(e,t,r){"use strict";var n=r(4738);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},n.initialize({}).then(()=>n.hydrate()).catch(console.error),("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)},54810:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathTrailingSlash=void 0;var n=r(58690),a=r(89653);let o=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:o}=a.parsePath(e);return"".concat(n.removeTrailingSlash(t)).concat(r).concat(o)};t.normalizePathTrailingSlash=o,("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)},75577:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.digest||t.digest,a="function"==typeof reportError?reportError:e=>{window.console.error(e)};r!==n.NEXT_DYNAMIC_NO_SSR_CODE&&a(e)};var n=r(30974);("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)},87838:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(42619).Z,a=r(91470),o=r(52219),i=n(r(85641)),l=r(24087),s=r(22627),u=r(86995),c=r(58690),d=r(18878);t.default=class{getPageList(){return d.getClientBuildManifest().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:d,query:f,search:h}=u.parseRelativeUrl(r),{pathname:p}=u.parseRelativeUrl(t),m=c.removeTrailingSlash(d);if("/"!==m[0])throw Error('Route name should start with a "/", got "'.concat(m,'"'));return(e=>{let t=i.default(c.removeTrailingSlash(l.addLocale(e,n)),".json");return a.addBasePath("/_next/data/".concat(this.buildId).concat(t).concat(h),!0)})(e.skipInterpolation?p:s.isDynamicRoute(m)?o.interpolateAs(d,p,f).result:m)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=d.createRouteLoader(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}},("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)},80313:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let a=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let o=!1;function i(e){n&&n(e)}var l=e=>{if(n=e,!o)for(let e of(o=!0,a))try{let t;t||(t=r(76295)),t["on".concat(e)](i)}catch(t){console.warn("Failed to track ".concat(e," web-vital"),t)}};t.default=l,("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)},29388:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Portal=void 0;var n=r(27378),a=r(31542);let o=e=>{let{children:t,type:r}=e,[o,i]=n.useState(null);return n.useEffect(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),o?a.createPortal(t,o):null};t.Portal=o,("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)},89960:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeBasePath=function(e){return(e=e.slice(0)).startsWith("/")||(e="/".concat(e)),e},r(67554),("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)},13775:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeLocale=function(e,t){{let{pathname:r}=n.parsePath(e),a=r.toLowerCase(),o=null==t?void 0:t.toLowerCase();return t&&(a.startsWith("/".concat(o,"/"))||a==="/".concat(o))?"".concat(r.length===t.length+1?"/":"").concat(e.slice(t.length+1)):e}};var n=r(89653);("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)},72878:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cancelIdleCallback=t.requestIdleCallback=void 0;let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)};t.requestIdleCallback=r;let n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};t.cancelIdleCallback=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)},14608:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RouteAnnouncer=void 0;var n=(0,r(42619).Z)(r(27378)),a=r(15817);let o={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},i=()=>{let{asPath:e}=a.useRouter(),[t,r]=n.default.useState(""),i=n.default.useRef(e);return n.default.useEffect(()=>{if(i.current!==e){if(i.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1"),a=null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent;r(a||e)}}},[e]),n.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:o},t)};t.RouteAnnouncer=i,t.default=i,("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)},18878:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.markAssetError=l,t.isAssetError=function(e){return e&&i in e},t.getClientBuildManifest=c,t.createRouteLoader=function(e){let t=new Map,r=new Map,n=new Map,i=new Map;function c(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'.concat(e,'"]'))?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(l(Error("Failed to load script: ".concat(e)))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}function f(e){let t=n.get(e);return t||n.set(e,t=fetch(e).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: ".concat(e));return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw l(e)})),t}return{whenEntrypoint:e=>o(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),i.delete(e))})},loadRoute(r,n){return o(r,i,()=>{let a;return u(d(e,r).then(e=>{let{scripts:n,css:a}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(c)),Promise.all(a.map(f))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,l(Error("Route did not complete loading: ".concat(r)))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==a?void 0:a())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():d(e,t).then(e=>Promise.all(s?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,a)=>{let o='\n link[rel="prefetch"][href^="'.concat(t,'"],\n link[rel="preload"][href^="').concat(t,'"],\n script[src^="').concat(t,'"]');if(document.querySelector(o))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>a(l(Error("Failed to prefetch: ".concat(t)))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{a.requestIdleCallback(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}},(0,r(42619).Z)(r(85641));var n=r(22153),a=r(72878);function o(e,t,r){let n,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let o=new Promise(e=>{n=e});return t.set(e,a={resolve:n,future:o}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):o}let i=Symbol("ASSET_LOAD_ERROR");function l(e){return Object.defineProperty(e,i,{})}let s=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}();function u(e,t,r){return new Promise((n,o)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(o),a.requestIdleCallback(()=>setTimeout(()=>{i||o(r)},t))})}function c(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return u(e,3800,l(Error("Failed to load client build manifest")))}function d(e,t){return c().then(r=>{if(!(t in r))throw l(Error("Failed to lookup route: ".concat(t)));let a=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:a.filter(e=>e.endsWith(".js")).map(e=>n.__unsafeCreateTrustedScriptURL(e)),css:a.filter(e=>e.endsWith(".css"))}})}("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)},15817:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Router",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"withRouter",{enumerable:!0,get:function(){return s.default}}),t.useRouter=function(){let e=a.default.useContext(i.RouterContext);if(!e)throw Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return e},t.createRouter=function(){for(var e=arguments.length,t=Array(e),r=0;re()),u.readyCallbacks=[],u.router},t.makePublicRouterInstance=function(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=o.default.events,d.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),a=0;ao.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get(){let t=f();return t[e]}})}),d.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{u.ready(()=>{o.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;n{let t=e.id||e.getAttribute("src");h.add(t)})}()},t.default=void 0;var n=r(76516).Z,a=r(42619).Z,o=r(96808).Z,i=r(90518).Z,l=a(r(31542)),s=o(r(27378)),u=r(62393),c=r(790),d=r(72878);let f=new Map,h=new Set,p=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy"],m=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:i="",strategy:l="afterInteractive",onError:s}=e,u=r||t;if(u&&h.has(u))return;if(f.has(t)){h.add(u),f.get(t).then(n,s);return}let d=()=>{a&&a(),h.add(u)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),n&&n.call(this,t),d()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){s&&s(e)});for(let[r,n]of(o?(m.innerHTML=o.__html||"",d()):i?(m.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",d()):t&&(m.src=t,f.set(t,g)),Object.entries(e))){if(void 0===n||p.includes(r))continue;let e=c.DOMAttributeNames[r]||r.toLowerCase();m.setAttribute(e,n)}"worker"===l&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",l),document.body.appendChild(m)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{d.requestIdleCallback(()=>m(e))}):m(e)}function v(e){let{id:t,src:r="",onLoad:a=()=>{},onReady:o=null,strategy:c="afterInteractive",onError:f}=e,p=i(e,["id","src","onLoad","onReady","strategy","onError"]),{updateScripts:g,scripts:v,getIsSsr:y,appDir:P,nonce:b}=s.useContext(u.HeadManagerContext),w=s.useRef(!1);s.useEffect(()=>{let e=t||r;w.current||(o&&e&&h.has(e)&&o(),w.current=!0)},[o,t,r]);let S=s.useRef(!1);if(s.useEffect(()=>{!S.current&&("afterInteractive"===c?m(e):"lazyOnload"===c&&("complete"===document.readyState?d.requestIdleCallback(()=>m(e)):window.addEventListener("load",()=>{d.requestIdleCallback(()=>m(e))})),S.current=!0)},[e,c]),("beforeInteractive"===c||"worker"===c)&&(g?(v[c]=(v[c]||[]).concat([n({id:t,src:r,onLoad:a,onReady:o,onError:f},p)]),g(v)):y&&y()?h.add(t||r):y&&!y()&&m(e)),P){if("beforeInteractive"===c)return r?(l.default.preload(r,p.integrity?{as:"script",integrity:p.integrity}:{as:"script"}),s.default.createElement("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push(".concat(JSON.stringify([r]),")")}})):(p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),s.default.createElement("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push(".concat(JSON.stringify([0,n({},p)]),")")}}));"afterInteractive"===c&&r&&l.default.preload(r,p.integrity?{as:"script",integrity:p.integrity}:{as:"script"})}return null}Object.defineProperty(v,"__nextScript",{value:!0}),t.default=v,("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)},22153:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.__unsafeCreateTrustedScriptURL=function(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e},("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)},41383:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t){return n.default.createElement(e,Object.assign({router:a.useRouter()},t))}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t};var n=(0,r(42619).Z)(r(27378)),a=r(15817);("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)},63239:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=r(17576).Z,o=(0,r(42619).Z)(r(27378)),i=r(94915);function l(e){return s.apply(this,arguments)}function s(){return(s=a(function*(e){let{Component:t,ctx:r}=e,n=yield i.loadGetInitialProps(t,r);return{pageProps:n}})).apply(this,arguments)}class u extends(n=o.default.Component){render(){let{Component:e,pageProps:t}=this.props;return o.default.createElement(e,Object.assign({},t))}}u.origGetInitialProps=l,u.getInitialProps=l,t.default=u,("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)},66698:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=r(42619).Z,o=a(r(27378)),i=a(r(80555));let l={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function s(e){let{res:t,err:r}=e,n=t&&t.statusCode?t.statusCode:r?r.statusCode:404;return{statusCode:n}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block",textAlign:"left"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};class c extends(n=o.default.Component){render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||l[e]||"An unexpected error has occurred";return o.default.createElement("div",{style:u.error},o.default.createElement(i.default,null,o.default.createElement("title",null,e?"".concat(e,": ").concat(r):"Application error: a client-side exception has occurred")),o.default.createElement("div",null,o.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}".concat(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?o.default.createElement("h1",{className:"next-error-h1",style:u.h1},e):null,o.default.createElement("div",{style:u.desc},o.default.createElement("h2",{style:u.h2},this.props.title||e?r:o.default.createElement(o.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}c.displayName="ErrorPage",c.getInitialProps=s,c.origGetInitialProps=s,t.default=c,("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)},63739:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;var n=(0,r(42619).Z)(r(27378));let a=n.default.createContext({});t.AmpStateContext=a},11729:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInAmpMode=function(){let{ampFirst:e=!1,hybrid:t=!1,hasQuery:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e||t&&r}},82627:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=t.CacheStates=void 0;var n,a,o=(0,r(42619).Z)(r(27378));t.CacheStates=n,(a=n||(t.CacheStates=n={})).LAZY_INITIALIZED="LAZYINITIALIZED",a.DATA_FETCH="DATAFETCH",a.READY="READY";let i=o.default.createContext(null);t.AppRouterContext=i;let l=o.default.createContext(null);t.LayoutRouterContext=l;let s=o.default.createContext(null);t.GlobalLayoutRouterContext=s;let u=o.default.createContext(null);t.TemplateContext=u},55275:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeStringRegexp=function(e){return r.test(e)?e.replace(n,"\\$&"):e};let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g},62393:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadManagerContext=void 0;var n=(0,r(42619).Z)(r(27378));let a=n.default.createContext({});t.HeadManagerContext=a},80555:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=c,t.default=void 0;var n=r(76516).Z,a=r(42619).Z,o=(0,r(96808).Z)(r(27378)),i=a(r(7501)),l=r(63739),s=r(62393),u=r(11729);function c(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(2320);let f=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(c(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return a=>{let o=!0,i=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){i=!0;let t=a.key.slice(a.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(a.type){case"title":case"base":t.has(a.type)?o=!1:t.add(a.type);break;case"meta":for(let e=0,t=f.length;e{let a=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t=n({},e.props||{});return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:a})})}t.default=function(e){let{children:t}=e,r=o.useContext(l.AmpStateContext),n=o.useContext(s.HeadManagerContext);return o.default.createElement(i.default,{reduceComponentsToState:h,headManager:n,inAmpMode:u.isInAmpMode(r)},t)},("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)},99237:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutSegmentsContext=t.ParamsContext=t.PathnameContext=t.SearchParamsContext=void 0;var n=r(27378);let a=n.createContext(null);t.SearchParamsContext=a;let o=n.createContext(null);t.PathnameContext=o;let i=n.createContext(null);t.ParamsContext=i;let l=n.createContext(null);t.LayoutSegmentsContext=l},76684:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectDomainLocale=function(e,t,r){let n;if(e)for(let i of(r&&(r=r.toLowerCase()),e)){var a,o;let e=null==(a=i.domain)?void 0:a.split(":")[0].toLowerCase();if(t===e||r===i.defaultLocale.toLowerCase()||(null==(o=i.locales)?void 0:o.some(e=>e.toLowerCase()===r))){n=i;break}}return n}},94331:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=function(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}},80300:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageConfigContext=void 0;var n=(0,r(42619).Z)(r(27378)),a=r(27893);let o=n.default.createContext(a.imageConfigDefault);t.ImageConfigContext=o},27893:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageConfigDefault=t.VALID_LOADERS=void 0,t.VALID_LOADERS=["default","imgix","cloudinary","akamai","custom"],t.imageConfigDefault={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},35122:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectClassLabel=r,t.isPlainObject=function(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},30974:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NEXT_DYNAMIC_NO_SSR_CODE=void 0,t.NEXT_DYNAMIC_NO_SSR_CODE="DYNAMIC_SERVER_USAGE"},94988:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a{e(...n)})}}}},44397:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.denormalizePagePath=function(e){let t=a.normalizePathSep(e);return t.startsWith("/index/")&&!n.isDynamicRoute(t)?t.slice(6):"/index"!==t?t:"/"};var n=r(93397),a=r(35917)},35917:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathSep=function(e){return e.replace(/\\/g,"/")}},49756:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RouterContext=void 0;var n=(0,r(42619).Z)(r(27378));let a=n.default.createContext(null);t.RouterContext=a},80857:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adaptForAppRouterInstance=function(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},push(t){e.push(t)},replace(t){e.replace(t)},prefetch(t){e.prefetch(t)}}},t.adaptForSearchParams=function(e){return e.isReady&&e.query?function(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,e);else void 0!==n&&t.append(r,n);return t}(e.query):new URLSearchParams},t.PathnameContextProviderAdapter=function(e){var{children:t,router:r}=e,n=a(e,["children","router"]);let s=o.useRef(n.isAutoExport),u=o.useMemo(()=>{let e;let t=s.current;if(t&&(s.current=!1),l.isDynamicRoute(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return o.default.createElement(i.PathnameContext.Provider,{value:u},t)};var n=r(96808).Z,a=r(90518).Z,o=n(r(27378)),i=r(99237),l=r(93397)},30194:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchesMiddleware=U,t.createKey=Y,t.default=void 0;var n=r(17576).Z,a=r(76516).Z,o=r(42619).Z,i=r(96808).Z,l=r(58690),s=r(18878),u=r(17162),c=i(r(60016)),d=r(44397),f=r(94331),h=o(r(94988)),p=r(94915),m=r(22627),g=r(86995);o(r(56918));var v=r(69339),y=r(94750),P=r(11646),b=r(42019),w=r(89653),S=r(24087),E=r(13775),x=r(89960),j=r(91470),C=r(67554),O=r(35335),R=r(61168),L=r(53285),M=r(42677),A=r(30976),T=r(10036),I=r(24937),N=r(38551),k=r(52219),D=r(62786);function B(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}function U(e){return W.apply(this,arguments)}function W(){return(W=n(function*(e){let t=yield Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=w.parsePath(e.asPath),n=C.hasBasePath(r)?x.removeBasePath(r):r,a=j.addBasePath(S.addLocale(n,e.locale));return t.some(e=>RegExp(e.regexp).test(a))})).apply(this,arguments)}function H(e){let t=p.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function F(e,t,r){let[n,a]=N.resolveHref(e,t,!0),o=p.getLocationOrigin(),i=n.startsWith(o),l=a&&a.startsWith(o);n=H(n),a=a?H(a):a;let s=i?n:j.addBasePath(n),u=r?H(N.resolveHref(e,r)):a||n;return{url:s,as:l?u:j.addBasePath(u)}}function q(e,t){let r=l.removeTrailingSlash(d.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if(m.isDynamicRoute(t)&&y.getRouteRegex(t).re.test(r))return e=t,!0}),l.removeTrailingSlash(e))}function Z(e){return z.apply(this,arguments)}function z(){return(z=n(function*(e){let t=yield U(e);if(!t||!e.fetchData)return null;try{let t=yield e.fetchData(),r=yield function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:Boolean(!1)},o=t.headers.get("x-nextjs-rewrite"),i=o||t.headers.get("x-nextjs-matched-path"),u=t.headers.get("x-matched-path");if(!u||i||u.includes("__next_data_catchall")||u.includes("/_error")||u.includes("/404")||(i=u),i){if(i.startsWith("/")){let t=g.parseRelativeUrl(i),a=R.getNextPathnameInfo(t.pathname,{nextConfig:n,parseData:!0}),u=l.removeTrailingSlash(a.pathname);return Promise.all([r.router.pageLoader.getPageList(),s.getClientBuildManifest()]).then(n=>{let[i,{__rewrites:l}]=n,s=S.addLocale(a.pathname,a.locale);if(m.isDynamicRoute(s)||!o&&i.includes(f.normalizeLocalePath(x.removeBasePath(s),r.router.locales).pathname)){let r=R.getNextPathnameInfo(g.parseRelativeUrl(e).pathname,{parseData:!0});s=j.addBasePath(r.pathname),t.pathname=s}if(!i.includes(u)){let e=q(u,i);e!==u&&(u=e)}let c=i.includes(u)?u:q(f.normalizeLocalePath(x.removeBasePath(t.pathname),r.router.locales).pathname,i);if(m.isDynamicRoute(c)){let e=v.getRouteMatcher(y.getRouteRegex(c))(s);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:c}})}let t=w.parsePath(e),u=L.formatNextPathnameInfo(a({},R.getNextPathnameInfo(t.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-external",destination:"".concat(u).concat(t.query).concat(t.hash)})}let c=t.headers.get("x-nextjs-redirect");if(c){if(c.startsWith("/")){let e=w.parsePath(c),t=L.formatNextPathnameInfo(a({},R.getNextPathnameInfo(e.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-internal",newAs:"".concat(t).concat(e.query).concat(e.hash),newUrl:"".concat(t).concat(e.query).concat(e.hash)})}return Promise.resolve({type:"redirect-external",destination:c})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}catch(e){return null}})).apply(this,arguments)}let G=Symbol("SSG_DATA_NOT_FOUND");function V(e){try{return JSON.parse(e)}catch(e){return null}}function X(e){var t;let{dataHref:r,inflightCache:n,isPrefetch:a,hasMiddleware:o,isServerRender:i,parseJSON:l,persistCache:u,isBackground:c,unstable_skipClientCache:d}=e,{href:f}=new URL(r,window.location.href),h=e=>(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&r>1&&a.status>=500?e(t,r-1,n):a)})(r,i?3:1,{headers:Object.assign({},a?{purpose:"prefetch"}:{},a&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then(t=>t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:f}:t.text().then(e=>{if(!t.ok){if(o&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:f};if(!o&&404===t.status){var n;if(null==(n=V(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:G},response:t,text:e,cacheKey:f}}let a=Error("Failed to load static props");throw i||s.markAssetError(a),a}return{dataHref:r,json:l?V(e):null,response:t,text:e,cacheKey:f}})).then(e=>(u&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[f],e)).catch(e=>{throw d||delete n[f],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&s.markAssetError(e),e});return d&&u?h({}).then(e=>(n[f]=Promise.resolve(e),e)):void 0!==n[f]?n[f]:n[f]=h(c?{method:"HEAD"}:{})}function Y(){return Math.random().toString(36).slice(2,10)}function $(e){let{url:t,router:r}=e;if(t===j.addBasePath(S.addLocale(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL ".concat(t," ").concat(location.href));window.location.href=t}let K=e=>{let{route:t,router:r}=e,n=!1,a=r.clc=()=>{n=!0},o=()=>{if(n){let e=Error('Abort fetching component for route: "'.concat(t,'"'));throw e.cancelled=!0,e}a===r.clc&&(r.clc=null)};return o};class J{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{url:e,as:t}=F(this,e,t),this.change("pushState",e,t,r)}replace(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{url:e,as:t}=F(this,e,t),this.change("replaceState",e,t,r)}_bfl(e,t,r){return n(function*(){})()}change(e,t,r,o,i){var d=this;return n(function*(){var n,h,O,R,L,T,N,D,W;let H,Z;if(!A.isLocalURL(t))return $({url:t,router:d}),!1;let z=1===o._h;z||(yield d._bfl(r,void 0,o.locale));let V=z||o._shouldResolveHref||w.parsePath(t).pathname===w.parsePath(r).pathname,X=a({},d.state),Y=!0!==d.isReady;d.isReady=!0;let K=d.isSsr;if(z||(d.isSsr=!1),z&&d.clc)return!1;let Q=X.locale;{X.locale=!1===o.locale?d.defaultLocale:o.locale||X.locale,void 0===o.locale&&(o.locale=X.locale);let e=g.parseRelativeUrl(C.hasBasePath(r)?x.removeBasePath(r):r),a=f.normalizeLocalePath(e.pathname,d.locales);a.detectedLocale&&(X.locale=a.detectedLocale,e.pathname=j.addBasePath(e.pathname),r=P.formatWithValidation(e),t=j.addBasePath(f.normalizeLocalePath(C.hasBasePath(t)?x.removeBasePath(t):t,d.locales).pathname));let i=!1;(null==(n=d.locales)?void 0:n.includes(X.locale))||(e.pathname=S.addLocale(e.pathname,X.locale),$({url:P.formatWithValidation(e),router:d}),i=!0);let l=b.detectDomainLocale(d.domainLocales,void 0,X.locale);if(!i&&l&&d.isLocaleDomain&&self.location.hostname!==l.domain){let e=x.removeBasePath(r);$({url:"http".concat(l.http?"":"s","://").concat(l.domain).concat(j.addBasePath("".concat(X.locale===l.defaultLocale?"":"/".concat(X.locale)).concat("/"===e?"":e)||"/")),router:d}),i=!0}if(i)return new Promise(()=>{})}p.ST&&performance.mark("routeChange");let{shallow:ee=!1,scroll:et=!0}=o,er={shallow:ee};d._inFlightRoute&&d.clc&&(K||J.events.emit("routeChangeError",B(),d._inFlightRoute,er),d.clc(),d.clc=null),r=j.addBasePath(S.addLocale(C.hasBasePath(r)?x.removeBasePath(r):r,o.locale,d.defaultLocale));let en=E.removeLocale(C.hasBasePath(r)?x.removeBasePath(r):r,X.locale);d._inFlightRoute=r;let ea=Q!==X.locale;if(!z&&d.onlyAHashChange(en)&&!ea){X.asPath=en,J.events.emit("hashChangeStart",r,er),d.changeState(e,t,r,a({},o,{scroll:!1})),et&&d.scrollToHash(en);try{yield d.set(X,d.components[X.route],null)}catch(e){throw c.default(e)&&e.cancelled&&J.events.emit("routeChangeError",e,en,er),e}return J.events.emit("hashChangeComplete",r,er),!0}let eo=g.parseRelativeUrl(t),{pathname:ei,query:el}=eo;try{[H,{__rewrites:Z}]=yield Promise.all([d.pageLoader.getPageList(),s.getClientBuildManifest(),d.pageLoader.getMiddleware()])}catch(e){return $({url:r,router:d}),!1}d.urlIsNew(en)||ea||(e="replaceState");let es=r;ei=ei?l.removeTrailingSlash(x.removeBasePath(ei)):ei;let eu=l.removeTrailingSlash(ei),ec=r.startsWith("/")&&g.parseRelativeUrl(r).pathname,ed=!!(ec&&eu!==ec&&(!m.isDynamicRoute(eu)||!v.getRouteMatcher(y.getRouteRegex(eu))(ec))),ef=!o.shallow&&(yield U({asPath:r,locale:X.locale,router:d}));if(z&&ef&&(V=!1),V&&"/_error"!==ei&&(o._shouldResolveHref=!0,eo.pathname=q(ei,H),eo.pathname===ei||(ei=eo.pathname,eo.pathname=j.addBasePath(ei),ef||(t=P.formatWithValidation(eo)))),!A.isLocalURL(r))return $({url:r,router:d}),!1;es=E.removeLocale(x.removeBasePath(es),X.locale),eu=l.removeTrailingSlash(ei);let eh=!1;if(m.isDynamicRoute(eu)){let e=g.parseRelativeUrl(es),n=e.pathname,a=y.getRouteRegex(eu);eh=v.getRouteMatcher(a)(n);let o=eu===n,i=o?k.interpolateAs(eu,n,el):{};if(eh&&(!o||i.result))o?r=P.formatWithValidation(Object.assign({},e,{pathname:i.result,query:I.omit(el,i.params)})):Object.assign(el,eh);else{let e=Object.keys(a.groups).filter(e=>!el[e]&&!a.groups[e].optional);if(e.length>0&&!ef)throw Error((o?"The provided `href` (".concat(t,") value is missing query values (").concat(e.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(n,") is incompatible with the `href` value (").concat(eu,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(o?"href-interpolation-failed":"incompatible-href-as"))}}z||J.events.emit("routeChangeStart",r,er);let ep="/404"===d.pathname||"/_error"===d.pathname;try{let n=yield d.getRouteInfo({route:eu,pathname:ei,query:el,as:r,resolvedAs:es,routeProps:er,locale:X.locale,isPreview:X.isPreview,hasMiddleware:ef,unstable_skipClientCache:o.unstable_skipClientCache,isQueryUpdating:z&&!d.isFallback,isMiddlewareRewrite:ed});if(z||(yield d._bfl(r,"resolvedAs"in n?n.resolvedAs:void 0,X.locale)),"route"in n&&ef){eu=ei=n.route||eu,er.shallow||(el=Object.assign({},n.query||{},el));let e=C.hasBasePath(eo.pathname)?x.removeBasePath(eo.pathname):eo.pathname;if(eh&&ei!==e&&Object.keys(eh).forEach(e=>{eh&&el[e]===eh[e]&&delete el[e]}),m.isDynamicRoute(ei)){let e=!er.shallow&&n.resolvedAs?n.resolvedAs:j.addBasePath(S.addLocale(new URL(r,location.href).pathname,X.locale),!0),t=e;C.hasBasePath(t)&&(t=x.removeBasePath(t));{let e=f.normalizeLocalePath(t,d.locales);X.locale=e.detectedLocale||X.locale,t=e.pathname}let a=y.getRouteRegex(ei),o=v.getRouteMatcher(a)(new URL(t,location.href).pathname);o&&Object.assign(el,o)}}if("type"in n){if("redirect-internal"===n.type)return d.change(e,n.newUrl,n.newAs,o);return $({url:n.destination,router:d}),new Promise(()=>{})}let l=n.Component;if(l&&l.unstable_scriptLoader){let e=[].concat(l.unstable_scriptLoader());e.forEach(e=>{u.handleClientScriptLoad(e.props)})}if((n.__N_SSG||n.__N_SSP)&&n.props){if(n.props.pageProps&&n.props.pageProps.__N_REDIRECT){o.locale=!1;let t=n.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==n.props.pageProps.__N_REDIRECT_BASE_PATH){let r=g.parseRelativeUrl(t);r.pathname=q(r.pathname,H);let{url:n,as:a}=F(d,t,t);return d.change(e,n,a,o)}return $({url:t,router:d}),new Promise(()=>{})}if(X.isPreview=!!n.props.__N_PREVIEW,n.props.notFound===G){let e;try{yield d.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(n=yield d.getRouteInfo({route:e,pathname:e,query:el,as:r,resolvedAs:es,routeProps:{shallow:!1},locale:X.locale,isPreview:X.isPreview}),"type"in n)throw Error("Unexpected middleware effect on /404")}}z&&"/_error"===d.pathname&&(null==(h=self.__NEXT_DATA__.props)?void 0:null==(O=h.pageProps)?void 0:O.statusCode)===500&&(null==(R=n.props)?void 0:R.pageProps)&&(n.props.pageProps.statusCode=500);let s=o.shallow&&X.route===(null!=(L=n.route)?L:eu),p=null!=(T=o.scroll)?T:!z&&!s,P=null!=i?i:p?{x:0,y:0}:null,b=a({},X,{route:eu,pathname:ei,query:el,asPath:en,isFallback:!1});if(z&&ep){if(n=yield d.getRouteInfo({route:d.pathname,pathname:d.pathname,query:el,as:r,resolvedAs:es,routeProps:{shallow:!1},locale:X.locale,isPreview:X.isPreview,isQueryUpdating:z&&!d.isFallback}),"type"in n)throw Error("Unexpected middleware effect on ".concat(d.pathname));"/_error"===d.pathname&&(null==(N=self.__NEXT_DATA__.props)?void 0:null==(D=N.pageProps)?void 0:D.statusCode)===500&&(null==(W=n.props)?void 0:W.pageProps)&&(n.props.pageProps.statusCode=500);try{yield d.set(b,n,P)}catch(e){throw c.default(e)&&e.cancelled&&J.events.emit("routeChangeError",e,en,er),e}return!0}J.events.emit("beforeHistoryChange",r,er),d.changeState(e,t,r,o);let w=z&&!P&&!Y&&!ea&&M.compareRouterStates(b,d.state);if(!w){try{yield d.set(b,n,P)}catch(e){if(e.cancelled)n.error=n.error||e;else throw e}if(n.error)throw z||J.events.emit("routeChangeError",n.error,en,er),n.error;X.locale&&(document.documentElement.lang=X.locale),z||J.events.emit("routeChangeComplete",r,er),p&&/#.+$/.test(r)&&d.scrollToHash(r)}return!0}catch(e){if(c.default(e)&&e.cancelled)return!1;throw e}})()}changeState(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};("pushState"!==e||p.getURL()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:Y()},"",r))}handleRouteInfoError(e,t,r,a,o,i){var l=this;return n(function*(){if(console.error(e),e.cancelled)throw e;if(s.isAssetError(e)||i)throw J.events.emit("routeChangeError",e,a,o),$({url:a,router:l}),B();try{let n;let{page:a,styleSheets:o}=yield l.fetchComponent("/_error"),i={props:n,Component:a,styleSheets:o,err:e,error:e};if(!i.props)try{i.props=yield l.getInitialProps(a,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return l.handleRouteInfoError(c.default(e)?e:Error(e+""),t,r,a,o,!0)}})()}getRouteInfo(e){let{route:t,pathname:r,query:o,as:i,resolvedAs:s,routeProps:u,locale:d,hasMiddleware:h,isPreview:p,unstable_skipClientCache:m,isQueryUpdating:g,isMiddlewareRewrite:v}=e;var y=this;return n(function*(){let e=t;try{var b,w,S,E;let t=K({route:e,router:y}),c=y.components[e];if(u.shallow&&c&&y.route===e)return c;h&&(c=void 0);let j=!c||"initial"in c?void 0:c,C={dataHref:y.pageLoader.getDataHref({href:P.formatWithValidation({pathname:r,query:o}),skipInterpolation:!0,asPath:s,locale:d}),hasMiddleware:!0,isServerRender:y.isSsr,parseJSON:!0,inflightCache:g?y.sbc:y.sdc,persistCache:!p,isPrefetch:!1,unstable_skipClientCache:m,isBackground:g},R=g&&!v?null:yield Z({fetchData:()=>X(C),asPath:s,locale:d,router:y}).catch(e=>{if(g)return null;throw e});if(g&&(R?R.json=self.__NEXT_DATA__.props:R={json:self.__NEXT_DATA__.props}),t(),(null==R?void 0:null==(b=R.effect)?void 0:b.type)==="redirect-internal"||(null==R?void 0:null==(w=R.effect)?void 0:w.type)==="redirect-external")return R.effect;if((null==R?void 0:null==(S=R.effect)?void 0:S.type)==="rewrite"){let t=l.removeTrailingSlash(R.effect.resolvedHref),n=yield y.pageLoader.getPageList();if((!g||n.includes(t))&&(e=t,r=R.effect.resolvedHref,o=a({},o,R.effect.parsedAs.query),s=x.removeBasePath(f.normalizeLocalePath(R.effect.parsedAs.pathname,y.locales).pathname),c=y.components[e],u.shallow&&c&&y.route===e&&!h))return a({},c,{route:e})}if(O.isAPIRoute(e))return $({url:i,router:y}),new Promise(()=>{});let L=j||(yield y.fetchComponent(e).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP}))),M=null==R?void 0:null==(E=R.response)?void 0:E.headers.get("x-middleware-skip"),A=L.__N_SSG||L.__N_SSP;M&&(null==R?void 0:R.dataHref)&&delete y.sdc[R.dataHref];let{props:T,cacheKey:I}=yield y._getData(n(function*(){if(A){if((null==R?void 0:R.json)&&!M)return{cacheKey:R.cacheKey,props:R.json};let e=(null==R?void 0:R.dataHref)?R.dataHref:y.pageLoader.getDataHref({href:P.formatWithValidation({pathname:r,query:o}),asPath:s,locale:d}),t=yield X({dataHref:e,isServerRender:y.isSsr,parseJSON:!0,inflightCache:M?{}:y.sdc,persistCache:!p,isPrefetch:!1,unstable_skipClientCache:m});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:yield y.getInitialProps(L.Component,{pathname:r,query:o,asPath:i,locale:d,locales:y.locales,defaultLocale:y.defaultLocale})}}));return L.__N_SSP&&C.dataHref&&I&&delete y.sdc[I],y.isPreview||!L.__N_SSG||g||X(Object.assign({},C,{isBackground:!0,persistCache:!1,inflightCache:y.sbc})).catch(()=>{}),T.pageProps=Object.assign({},T.pageProps),L.props=T,L.route=e,L.query=o,L.resolvedAs=s,y.components[e]=L,L}catch(e){return y.handleRouteInfoError(c.getProperError(e),r,o,i,u)}})()}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#"),[n,a]=e.split("#");return!!a&&t===n&&r===a||t===n&&r!==a}scrollToHash(e){let[,t=""]=e.split("#");if(""===t||"top"===t){D.handleSmoothScroll(()=>window.scrollTo(0,0));return}let r=decodeURIComponent(t),n=document.getElementById(r);if(n){D.handleSmoothScroll(()=>n.scrollIntoView());return}let a=document.getElementsByName(r)[0];a&&D.handleSmoothScroll(()=>a.scrollIntoView())}urlIsNew(e){return this.asPath!==e}prefetch(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var o=this;return n(function*(){if(T.isBot(window.navigator.userAgent))return;let n=g.parseRelativeUrl(e),{pathname:i,query:s}=n,u=i;if(!1===r.locale){i=f.normalizeLocalePath(i,o.locales).pathname,n.pathname=i,e=P.formatWithValidation(n);let a=g.parseRelativeUrl(t),l=f.normalizeLocalePath(a.pathname,o.locales);a.pathname=l.pathname,r.locale=l.detectedLocale||o.defaultLocale,t=P.formatWithValidation(a)}let c=yield o.pageLoader.getPageList(),d=t,h=void 0!==r.locale?r.locale||void 0:o.locale,p=yield U({asPath:t,locale:h,router:o});n.pathname=q(n.pathname,c),m.isDynamicRoute(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(s,v.getRouteMatcher(y.getRouteRegex(n.pathname))(w.parsePath(t).pathname)||{}),p||(e=P.formatWithValidation(n)));let b=yield Z({fetchData:()=>X({dataHref:o.pageLoader.getDataHref({href:P.formatWithValidation({pathname:u,query:s}),skipInterpolation:!0,asPath:d,locale:h}),hasMiddleware:!0,isServerRender:o.isSsr,parseJSON:!0,inflightCache:o.sdc,persistCache:!o.isPreview,isPrefetch:!0}),asPath:t,locale:h,router:o});if((null==b?void 0:b.effect.type)==="rewrite"&&(n.pathname=b.effect.resolvedHref,i=b.effect.resolvedHref,s=a({},s,b.effect.parsedAs.query),d=b.effect.parsedAs.pathname,e=P.formatWithValidation(n)),(null==b?void 0:b.effect.type)==="redirect-external")return;let S=l.removeTrailingSlash(i);yield Promise.all([o.pageLoader._isSsg(S).then(t=>!!t&&X({dataHref:(null==b?void 0:b.json)?null==b?void 0:b.dataHref:o.pageLoader.getDataHref({href:e,asPath:d,locale:h}),isServerRender:!1,parseJSON:!0,inflightCache:o.sdc,persistCache:!o.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1)),o.pageLoader[r.priority?"loadPage":"prefetch"](S)])})()}fetchComponent(e){var t=this;return n(function*(){let r=K({route:e,router:t});try{let n=yield t.pageLoader.loadPage(e);return r(),n}catch(e){throw r(),e}})()}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return X({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,p.loadGetInitialProps(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,r,{initialProps:n,pageLoader:a,App:o,wrapApp:i,Component:s,err:u,subscription:c,isFallback:d,locale:f,locales:h,defaultLocale:v,domainLocales:y,isPreview:w}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=Y(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",P.formatWithValidation({pathname:j.addBasePath(e),query:t}),p.getURL());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:a,as:o,options:i,key:l}=n;this._key=l;let{pathname:s}=g.parseRelativeUrl(a);(!this.isSsr||o!==j.addBasePath(this.asPath)||s!==j.addBasePath(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",a,o,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let S=l.removeTrailingSlash(e);this.components={},"/_error"!==e&&(this.components[S]={Component:s,initial:!0,props:n,err:u,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:o,styleSheets:[]},this.events=J.events,this.pageLoader=a;let E=m.isDynamicRoute(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=i,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!E&&!self.location.search),this.locales=h,this.defaultLocale=v,this.domainLocales=y,this.isLocaleDomain=!!b.detectDomainLocale(y,self.location.hostname),this.state={route:S,pathname:e,query:t,asPath:E?e:r,isPreview:!!w,locale:f,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){let n={locale:f},a=p.getURL();this._initialMatchesMiddlewarePromise=U({router:this,locale:f,asPath:a}).then(o=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",o?a:P.formatWithValidation({pathname:j.addBasePath(e),query:t}),a,n),o))}window.addEventListener("popstate",this.onPopState)}}J.events=h.default(),t.default=J},69308:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=function(e,t,r,o){return t&&t!==r&&(o||!a.pathHasPrefix(e.toLowerCase(),"/".concat(t.toLowerCase()))&&!a.pathHasPrefix(e.toLowerCase(),"/api"))?n.addPathPrefix(e,"/".concat(t)):e};var n=r(3973),a=r(33204)},3973:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathPrefix=function(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=n.parsePath(e);return"".concat(t).concat(r).concat(a).concat(o)};var n=r(89653)},39232:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathSuffix=function(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=n.parsePath(e);return"".concat(r).concat(t).concat(a).concat(o)};var n=r(89653)},42677:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareRouterStates=function(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let a=r[n];if("query"===a){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let a=r[n];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}},53285:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatNextPathnameInfo=function(e){let t=i.addLocale(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=n.removeTrailingSlash(t)),e.buildId&&(t=o.addPathSuffix(a.addPathPrefix(t,"/_next/data/".concat(e.buildId)),"/"===e.pathname?"index.json":".json")),t=a.addPathPrefix(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:o.addPathSuffix(t,"/"):n.removeTrailingSlash(t)};var n=r(58690),a=r(3973),o=r(39232),i=r(69308)},11646:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=o,t.formatWithValidation=function(e){return o(e)},t.urlObjectKeys=void 0;var n=(0,r(96808).Z)(r(2734));let a=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,o=e.protocol||"",i=e.pathname||"",l=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(n.urlQueryToSearchParams(s)));let c=e.search||s&&"?".concat(s)||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),"".concat(o).concat(u).concat(i).concat(c).concat(l)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"]},85641:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e);return r+t}},61168:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNextPathnameInfo=function(e,t){var r;let{basePath:i,i18n:l,trailingSlash:s}=null!=(r=t.nextConfig)?r:{},u={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};if(i&&o.pathHasPrefix(u.pathname,i)&&(u.pathname=a.removePathPrefix(u.pathname,i),u.basePath=i),!0===t.parseData&&u.pathname.startsWith("/_next/data/")&&u.pathname.endsWith(".json")){let e=u.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),t=e[0];u.pathname="index"!==e[1]?"/".concat(e.slice(1).join("/")):"/",u.buildId=t}if(l){let e=n.normalizeLocalePath(u.pathname,l.locales);u.locale=null==e?void 0:e.detectedLocale,u.pathname=(null==e?void 0:e.pathname)||u.pathname}return u};var n=r(94331),a=r(82715),o=r(33204)},62786:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleSmoothScroll=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}},93397:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n.getSortedRoutes}}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a.isDynamicRoute}});var n=r(36282),a=r(22627)},52219:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interpolateAs=function(e,t,r){let o="",i=a.getRouteRegex(e),l=i.groups,s=(t!==e?n.getRouteMatcher(i)(t):"")||r;o=e;let u=Object.keys(l);return u.every(e=>{let t=s[e]||"",{repeat:r,optional:n}=l[e],a="[".concat(r?"...":"").concat(e,"]");return n&&(a="".concat(t?"":"/","[").concat(a,"]")),r&&!Array.isArray(t)&&(t=[t]),(n||e in s)&&(o=o.replace(a,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:u,result:o}};var n=r(69339),a=r(94750)},10036:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBot=function(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}},22627:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};let r=/\/\[[^/]+?\](?=\/|$)/},30976:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLocalURL=function(e){if(!n.isAbsoluteUrl(e))return!0;try{let t=n.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&a.hasBasePath(r.pathname)}catch(e){return!1}};var n=r(94915),a=r(67554)},24937:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.omit=function(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}},89653:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePath=function(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}},86995:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){let r=new URL(n.getLocationOrigin()),o=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:l,search:s,hash:u,href:c,origin:d}=new URL(e,o);if(d!==r.origin)throw Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:i,query:a.searchParamsToUrlQuery(l),search:s,hash:u,href:c.slice(r.origin.length)}};var n=r(94915),a=r(2734)},33204:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathHasPrefix=function(e,t){if("string"!=typeof e)return!1;let{pathname:r}=n.parsePath(e);return r===t||r.startsWith(t+"/")};var n=r(89653)},2734:function(e,t){"use strict";function r(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t},t.urlQueryToSearchParams=function(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[n,a]=e;Array.isArray(a)?a.forEach(e=>t.append(n,r(e))):t.set(n,r(a))}),t},t.assign=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}},82715:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePathPrefix=function(e,t){if(n.pathHasPrefix(e,t)){let r=e.slice(t.length);return r.startsWith("/")?r:"/".concat(r)}return e};var n=r(33204)},58690:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=function(e){return e.replace(/\/$/,"")||"/"}},38551:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveHref=function(e,t,r){let d;let f="string"==typeof t?t:a.formatWithValidation(t),h=f.match(/^[a-zA-Z]{1,}:\/\//),p=h?f.slice(h[0].length):f,m=p.split("?");if((m[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '".concat(f,"' passed to next/router in page: '").concat(e.pathname,"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href."));let t=i.normalizeRepeatedSlashes(p);f=(h?h[0]:"")+t}if(!s.isLocalURL(f))return r?[f]:f;try{d=new URL(f.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){d=new URL("/","http://n")}try{let e=new URL(f,d);e.pathname=l.normalizePathTrailingSlash(e.pathname);let t="";if(u.isDynamicRoute(e.pathname)&&e.searchParams&&r){let r=n.searchParamsToUrlQuery(e.searchParams),{result:i,params:l}=c.interpolateAs(e.pathname,e.pathname,r);i&&(t=a.formatWithValidation({pathname:i,hash:e.hash,query:o.omit(r,l)}))}let i=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[f]:f}};var n=r(2734),a=r(11646),o=r(24937),i=r(94915),l=r(54810),s=r(30976),u=r(22627),c=r(52219)},69339:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteMatcher=function(e){let{re:t,groups:r}=e;return e=>{let a=t.exec(e);if(!a)return!1;let o=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(e=>{let t=r[e],n=a[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(e=>o(e)):t.repeat?[o(n)]:o(n))}),i}};var n=r(94915)},94750:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteRegex=s,t.getNamedRouteRegex=function(e){let t=u(e);return n({},s(e),{namedRegex:"^".concat(t.namedParameterizedRoute,"(?:/)?$"),routeKeys:t.routeKeys})},t.getNamedMiddlewareRegex=function(e,t){let{parameterizedRoute:r}=l(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/".concat(n?".*":"","$")};let{namedParameterizedRoute:a}=u(e);return{namedRegex:"^".concat(a).concat(n?"(?:(/.*)?)":"","$")}};var n=r(76516).Z,a=r(55275),o=r(58690);function i(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function l(e){let t=o.removeTrailingSlash(e).slice(1).split("/"),r={},n=1;return{parameterizedRoute:t.map(e=>{if(!(e.startsWith("[")&&e.endsWith("]")))return"/".concat(a.escapeStringRegexp(e));{let{key:t,optional:a,repeat:o}=i(e.slice(1,-1));return r[t]={pos:n++,repeat:o,optional:a},o?a?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function s(e){let{parameterizedRoute:t,groups:r}=l(e);return{re:RegExp("^".concat(t,"(?:/)?$")),groups:r}}function u(e){let t,r;let n=o.removeTrailingSlash(e).slice(1).split("/"),l=(t=97,r=1,()=>{let e="";for(let n=0;n122&&(r++,t=97);return e}),s={};return{namedParameterizedRoute:n.map(e=>{if(!(e.startsWith("[")&&e.endsWith("]")))return"/".concat(a.escapeStringRegexp(e));{let{key:t,optional:r,repeat:n}=i(e.slice(1,-1)),a=t.replace(/\W/g,""),o=!1;return(0===a.length||a.length>30)&&(o=!0),isNaN(parseInt(a.slice(0,1)))||(o=!0),o&&(a=l()),s[a]=t,n?r?"(?:/(?<".concat(a,">.+?))?"):"/(?<".concat(a,">.+?)"):"/(?<".concat(a,">[^/]+?)")}}).join(""),routeKeys:s}}},36282:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSortedRoutes=function(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()};class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh("".concat(e).concat(t,"/"))).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh("".concat(e,"[").concat(this.slugName,"]/"))),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'.concat(t,'" and "').concat(t,"[[...").concat(this.optionalRestSlugName,']]").'));r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh("".concat(e,"[...").concat(this.restSlugName,"]/"))),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh("".concat(e,"[[...").concat(this.optionalRestSlugName,"]]/"))),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let a=e[0];if(a.startsWith("[")&&a.endsWith("]")){let r=a.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('".concat(r,"')."));if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('".concat(r,"')."));function o(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(r,"')."));t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'.concat(r,'" repeat within a single dynamic path'));if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw Error('You cannot have the slug names "'.concat(e,'" and "').concat(r,'" differ only by non-word symbols within a single dynamic path'))}),t.push(r)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'.concat(this.restSlugName,']" and "').concat(e[0],'" ).'));o(this.optionalRestSlugName,r),this.optionalRestSlugName=r,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(e[0],'").'));o(this.restSlugName,r),this.restSlugName=r,a="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'.concat(e[0],'").'));o(this.slugName,r),this.slugName=r,a="[]"}}this.children.has(a)||this.children.set(a,new r),this.children.get(a)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}},99603:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=function(e){r=e},t.default=void 0,t.default=()=>r,("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)},7501:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let a=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(a,e))}}if(a){var s;null==t||null==(s=t.mountedInstances)||s.add(e.children),l()}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null};var n=(0,r(96808).Z)(r(27378));let a=!1,o=a?()=>{}:n.useLayoutEffect,i=a?()=>{}:n.useEffect},94915:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){let t,r=!1;return function(){for(var n=arguments.length,a=Array(n),o=0;oa.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return"".concat(e,"//").concat(t).concat(r?":"+r:"")}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function u(e,t){return c.apply(this,arguments)}function c(){return(c=n(function*(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:yield u(t.Component,t.ctx)}:{};let n=yield e.getInitialProps(t);if(r&&s(r))return n;if(!n){let t='"'.concat(l(e),'.getInitialProps()" should resolve to an object. But found "').concat(n,'" instead.');throw Error(t)}return n})).apply(this,arguments)}t.isAbsoluteUrl=o;let d="undefined"!=typeof performance;t.SP=d;let f=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);t.ST=f,t.DecodeError=class extends Error{},t.NormalizeError=class extends Error{},t.PageNotFoundError=class extends Error{constructor(e){super(),this.code="ENOENT",this.message="Cannot find module for page: ".concat(e)}},t.MissingStaticPage=class extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: ".concat(e," ").concat(t)}},t.MiddlewareNotFoundError=class extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}},2320:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.warnOnce=void 0;let r=e=>{};t.warnOnce=r},76295:function(e){var t,r,n,a,o,i,l,s,u,c,d,f,h,p,m,g,v,y,P,b,w,S,E,x,j,C,O,R,L,M,A,T,I,N,k,D,B,U,W,H,F,q,Z,z,G,V;(t={}).d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),r={},t.r(r),t.d(r,{getCLS:function(){return E},getFCP:function(){return b},getFID:function(){return M},getINP:function(){return q},getLCP:function(){return z},getTTFB:function(){return V},onCLS:function(){return E},onFCP:function(){return b},onFID:function(){return M},onINP:function(){return q},onLCP:function(){return z},onTTFB:function(){return V}}),s=-1,u=function(e){addEventListener("pageshow",function(t){t.persisted&&(s=t.timeStamp,e(t))},!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},d=function(){var e=c();return e&&e.activationStart||0},f=function(e,t){var r=c(),n="navigate";return s>=0?n="back-forward-cache":r&&(n=document.prerendering||d()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},h=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},p=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},m=function(e,t,r,n){var a,o;return function(i){var l;t.value>=0&&(i||n)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=(l=t.value)>r[1]?"poor":l>r[0]?"needs-improvement":"good",e(t))}},g=-1,v=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},y=function(){p(function(e){g=e.timeStamp},!0)},P=function(){return g<0&&(g=v(),y(),u(function(){setTimeout(function(){g=v(),y()},0)})),{get firstHiddenTime(){return g}}},b=function(e,t){t=t||{};var r,n=[1800,3e3],a=P(),o=f("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(s&&s.disconnect(),e.startTime-1&&e(t)},o=f("CLS",0),i=0,l=[],s=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=l[0],r=l[l.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,l.push(e)):(i=e.value,l=[e]),i>o.value&&(o.value=i,o.entries=l,n())}})},c=h("layout-shift",s);c&&(n=m(a,o,r,t.reportAllChanges),p(function(){s(c.takeRecords()),n(!0)}),u(function(){i=0,S=-1,n=m(a,o=f("CLS",0),r,t.reportAllChanges)}))},x={passive:!0,capture:!0},j=new Date,C=function(e,t){n||(n=t,a=e,o=new Date,L(removeEventListener),O())},O=function(){if(a>=0&&a1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){C(a,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,x),removeEventListener("pointercancel",r,x)},addEventListener("pointerup",t,x),addEventListener("pointercancel",r,x)):C(a,e)}},L=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,R,x)})},M=function(e,t){t=t||{};var r,o=[100,300],l=P(),s=f("FID"),c=function(e){e.startTimet.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};H[n.id]=n,W.push(n)}W.sort(function(e,t){return t.latency-e.latency}),W.splice(10).forEach(function(e){delete H[e.id]})}},q=function(e,t){t=t||{};var r=[200,500];D();var n,a=f("INP"),o=function(e){e.forEach(function(e){e.interactionId&&F(e),"first-input"!==e.entryType||W.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||F(e)});var t,r=(t=Math.min(W.length-1,Math.floor(U()/50)),W[t]);r&&r.latency!==a.value&&(a.value=r.latency,a.entries=r.entries,n())},i=h("event",o,{durationThreshold:t.durationThreshold||40});n=m(e,a,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),p(function(){o(i.takeRecords()),a.value<0&&U()>0&&(a.value=0,a.entries=[]),n(!0)}),u(function(){W=[],B=k(),n=m(e,a=f("INP"),r,t.reportAllChanges)}))},Z={},z=function(e,t){t=t||{};var r,n=[2500,4e3],a=P(),o=f("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-d();nperformance.now())return;n.entries=[o],a(!0),u(function(){(a=m(e,n=f("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r},35335:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAPIRoute=function(e){return"/api"===e||Boolean(null==e?void 0:e.startsWith("/api/"))}},60016:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.getProperError=function(e){return a(e)?e:Error(n.isPlainObject(e)?JSON.stringify(e):e+"")};var n=r(35122);function a(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}},56918:function(){}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774],function(){return t(28251),t(66932)}),_N_E=e.O()}]);