PageSourceSearch

https://cahnfc.com/_next/static/chunks/main-a6194a67d930764c.js

js cahnfc.com collected 2026-10-02 22:18:37 UTC 106,022 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{60932:function(e,t){"use strict";function r(e,t,r,n,a,o,i){try{var s=e[o](i),l=s.value}catch(c){return void r(c)}s.done?t(l):Promise.resolve(l).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 s(e){r(i,a,o,s,l,"next",e)}function l(e){r(i,a,o,s,l,"throw",e)}s(void 0)}))}}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return n}})},6495:function(e,t){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}function n(){return r.apply(this,arguments)}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return n}})},92648:function(e,t){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return r}})},91598:function(e,t){"use strict";function r(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}function n(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(a,i,s):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return n}})},17273:function(e,t){"use strict";function r(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return r}})},40037: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}),{})})},64266:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBasePath=function(e,t){0;return a.normalizePathTrailingSlash(n.addPathPrefix(e,""))};var n=r(5246),a=r(82387);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},370:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=void 0;var n=r(82387);t.addLocale=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];return n.normalizePathTrailingSlash(r(62721).addLocale(e,...a))},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2249:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectDomainLocale=void 0;t.detectDomainLocale=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r(18391).detectDomainLocale(...t)},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12140:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBasePath=function(e){return n.pathHasPrefix(e,"")};var n=r(76325);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19623:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{mountedInstances:new Set,updateHead:e=>{const 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}const r=t[e.type]||[];r.push(e),t[e.type]=r}));const r=t.title?t.title[0]:null;let o="";if(r){const{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){const r=document.getElementsByTagName("head")[0],o=r.querySelector("meta[name=next-head-count]");0;const i=Number(o.content),s=[];for(let n=0,a=o.previousElementSibling;n<i;n++,a=(null==a?void 0:a.previousElementSibling)||null){var l;(null==a||null==(l=a.tagName)?void 0:l.toLowerCase())===e&&s.push(a)}const c=t.map(n).filter((e=>{for(let t=0,r=s.length;t<r;t++){if(a(s[t],e))return s.splice(t,1),!1}return!0}));s.forEach((e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),c.forEach((e=>r.insertBefore(e,o))),o.content=(i-s.length+c.length).toString()}(e,t[e]||[])}))}}},t.isEqualNode=a,t.DOMAttributeNames=void 0;const r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function n(e){let{type:t,props:n}=e;const a=document.createElement(t);for(const s in n){if(!n.hasOwnProperty(s))continue;if("children"===s||"dangerouslySetInnerHTML"===s)continue;if(void 0===n[s])continue;const e=r[s]||s.toLowerCase();"script"!==t||"async"!==e&&"defer"!==e&&"noModule"!==e?a.setAttribute(e,n[s]):a[e]=!!n[s]}const{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){const r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){const 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)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15274:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(91598).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.initialize=function(){return V.apply(this,arguments)},t.hydrate=function(e){return le.apply(this,arguments)},t.emitter=t.router=t.version=void 0;var a=r(60932).Z,o=r(6495).Z,i=r(92648).Z;r(91598).Z;r(40037);var s=i(r(67294)),l=i(r(20745)),c=r(79958),u=i(r(96595)),d=r(69955),f=r(3105),p=r(63162),h=r(53908),m=r(7905),y=r(79064),g=r(73232),v=i(r(19623)),_=i(r(29030)),P=i(r(35108)),b=r(42827),w=r(96885),E=r(80676),S=r(83341),x=r(39577),C=r(12140),R=r(24224),O=r(29486),A=r(78463),j=i(r(24225));let L;t.version="13.2.4",t.router=L;const M=u.default();t.emitter=M;const T=e=>[].slice.call(e);let I,N,k,D,B,U,H,q,F,W,Z,z=!1;self.__next_require__=r;class G extends s.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),L.isSsr&&(I.isFallback||I.nextExport&&(p.isDynamicRoute(L.pathname)||location.search,1)||I.props&&I.props.__N_SSG&&(location.search,1))&&L.replace(L.pathname+"?"+String(h.assign(h.urlQueryToSearchParams(L.query),new URLSearchParams(location.search))),k,{_h:1,shallow:!I.isFallback&&!z}).catch((e=>{if(!e.cancelled)throw e}))}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(e=e&&e.substring(1),!e)return;const t=document.getElementById(e);t&&setTimeout((()=>t.scrollIntoView()),0)}render(){return this.props.children}}function V(){return(V=a((function*(){I=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=I,N=I.defaultLocale;const e=I.assetPrefix||"";r.p="".concat(e,"/_next/"),m.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:I.runtimeConfig||{}}),k=y.getURL(),C.hasBasePath(k)&&(k=x.removeBasePath(k));{const{normalizeLocalePath:e}=r(34842),{detectDomainLocale:t}=r(18391),{parseRelativeUrl:n}=r(73460),{formatUrl:a}=r(61410);if(I.locales){const r=n(k),o=e(r.pathname,I.locales);o.detectedLocale?(r.pathname=o.pathname,k=a(r)):N=I.locale;const i=t(void 0,window.location.hostname);i&&(N=i.defaultLocale)}}if(I.scriptLoader){const{initScriptLoader:e}
1=r(85442);e(I.scriptLoader)}D=new _.default(I.buildId,e);const t=e=>{let[t,r]=e;return D.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,U=v.default(),U.getIsSsr=()=>L.isSsr,B=document.getElementById("__next"),{assetPrefix:e}}))).apply(this,arguments)}function X(e,t){return s.default.createElement(e,Object.assign({},t))}function $(e){let{children:t}=e;var r;return s.default.createElement(G,{fn:e=>Y({App:F,err:e}).catch((e=>console.error("Error rendering page: ",e)))},s.default.createElement(R.AppRouterContext.Provider,{value:O.adaptForAppRouterInstance(L)},s.default.createElement(A.SearchParamsContext.Provider,{value:O.adaptForSearchParams(L)},s.default.createElement(O.PathnameContextProviderAdapter,{router:L,isAutoExport:null!=(r=self.__NEXT_DATA__.autoExport)&&r},s.default.createElement(d.RouterContext.Provider,{value:w.makePublicRouterInstance(L)},s.default.createElement(c.HeadManagerContext.Provider,{value:U},s.default.createElement(S.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}},t)))))))}const K=e=>t=>{const r=o({},t,{Component:Z,err:I.err,router:L});return s.default.createElement($,null,X(e,r))};function Y(e){let{App:t,err:a}=e;return console.error(a),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),D.loadPage("/_error").then((a=>{let{page:o,styleSheets:i}=a;return(null==H?void 0:H.Component)===o?Promise.resolve().then((()=>n(r(43499)))).then((a=>Promise.resolve().then((()=>n(r(65035)))).then((r=>(t=r.default,e.App=t,a))))).then((e=>({ErrorComponent:e.default,styleSheets:[]}))):{ErrorComponent:o,styleSheets:i}})).then((r=>{let{ErrorComponent:n,styleSheets:i}=r;var s;const l=K(t),c={Component:n,AppTree:l,router:L,ctx:{err:a,pathname:I.page,query:I.query,asPath:k,AppTree:l}};return Promise.resolve((null==(s=e.props)?void 0:s.err)?e.props:y.loadGetInitialProps(t,c)).then((t=>oe(o({},e,{err:a,Component:n,styleSheets:i,props:t}))))}))}function Q(e){let{callback:t}=e;return s.default.useLayoutEffect((()=>t()),[t]),null}let J=null,ee=!0;function te(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((e=>performance.clearMarks(e)))}function re(){y.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),W&&performance.getEntriesByName("Next.js-hydration").forEach(W),te())}function ne(){if(!y.ST)return;performance.mark("afterRender");const 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"),W&&(performance.getEntriesByName("Next.js-render").forEach(W),performance.getEntriesByName("Next.js-route-change-to-render").forEach(W)),te(),["Next.js-route-change-to-render","Next.js-render"].forEach((e=>performance.clearMeasures(e))))}function ae(e){let{callbacks:t,children:r}=e;return s.default.useLayoutEffect((()=>t.forEach((e=>e()))),[t]),s.default.useEffect((()=>{P.default(W)}),[]),r}function oe(e){let{App:t,Component:r,props:n,err:a}=e,i="initial"in e?void 0:e.styleSheets;r=r||H.Component,n=n||H.props;const c=o({},n,{Component:r,err:a,router:L});H=c;let u,d=!1;const p=new Promise(((e,t)=>{q&&q(),u=()=>{q=null,e()},q=()=>{d=!0,q=null;const e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));function h(){u()}!function(){if(!i)return!1;const e=T(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");i.forEach((e=>{let{href:r,text:a}=e;if(!t.has(r)){const 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))}}))}();const m=s.default.createElement(s.default.Fragment,null,s.default.createElement(Q,{callback:function(){if(i&&!d){const e=new Set(i.map((e=>e.href))),t=T(document.querySelectorAll("style[data-n-href]")),r=t.map((e=>e.getAttribute("data-n-href")));for(let a=0;a<r.length;++a)e.has(r[a])?t[a].removeAttribute("media"):t[a].setAttribute("media","x");let n=document.querySelector("noscript[data-n-css]");
1n&&i.forEach((e=>{let{href:t}=e;const r=document.querySelector('style[data-n-href="'.concat(t,'"]'));r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)})),T(document.querySelectorAll("link[data-n-p]")).forEach((e=>{e.parentNode.removeChild(e)}))}if(e.scroll){const{x:t,y:r}=e.scroll;f.handleSmoothScroll((()=>{window.scrollTo(t,r)}))}}}),s.default.createElement($,null,X(t,c),s.default.createElement(g.Portal,{type:"next-route-announcer"},s.default.createElement(b.RouteAnnouncer,null))));return function(e,t){y.ST&&performance.mark("beforeRender");const r=t(ee?re:ne);J?(0,s.default.startTransition)((()=>{J.render(r)})):(J=l.default.hydrateRoot(e,r,{onRecoverableError:j.default}),ee=!1)}(B,(e=>s.default.createElement(ae,{callbacks:[e,h]},s.default.createElement(s.default.StrictMode,null,m)))),p}function ie(e){return se.apply(this,arguments)}function se(){return(se=a((function*(e){if(e.err)yield Y(e);else try{yield oe(e)}catch(t){const r=E.getProperError(t);if(r.cancelled)throw r;0,yield Y(o({},e,{err:r}))}}))).apply(this,arguments)}function le(){return(le=a((function*(e){let r=I.err;try{const e=yield D.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;const{component:t,exports:r}=e;F=t,r&&r.reportWebVitals&&(W=e=>{let{id:t,name:n,startTime:a,value:o,duration:i,entryType:s,entries:l,attribution:c}=e;const u="".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12);let d;l&&l.length&&(d=l[0].startTime);const f={id:t||u,name:n,startTime:a||d,value:null==o?i:o,label:"mark"===s||"measure"===s?"custom":"web-vital"};c&&(f.attribution=c),r.reportWebVitals(f)});const n=yield D.routeLoader.whenEntrypoint(I.page);if("error"in n)throw n.error;Z=n.component}catch(a){r=E.getProperError(a)}window.__NEXT_PRELOADREADY&&(yield window.__NEXT_PRELOADREADY(I.dynamicIds)),t.router=L=w.createRouter(I.page,I.query,k,{initialProps:I.props,pageLoader:D,App:F,Component:Z,wrapApp:K,err:r,isFallback:Boolean(I.isFallback),subscription:(e,t,r)=>ie(Object.assign({},e,{App:t,scroll:r})),locale:I.locale,locales:I.locales,defaultLocale:N,domainLocales:I.domainLocales,isPreview:I.isPreview}),z=yield L._initialMatchesMiddlewarePromise;const n={App:F,initial:!0,Component:Z,props:I.props,err:r};(null==e?void 0:e.beforeRender)&&(yield e.beforeRender()),ie(n)}))).apply(this,arguments)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14642:function(e,t,r){"use strict";var n=r(15274);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},n.initialize({}).then((()=>
1n.hydrate())).catch(console.error),("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82387:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathTrailingSlash=void 0;var n=r(67734),a=r(64046);t.normalizePathTrailingSlash=e=>{if(!e.startsWith("/"))return e;const{pathname:t,query:r,hash:o}=a.parsePath(e);return"".concat(n.removeTrailingSlash(t)).concat(r).concat(o)},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},24225:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.digest||t.digest,a="function"===typeof reportError?reportError:e=>{window.console.error(e)};if(r===n.NEXT_DYNAMIC_NO_SSR_CODE)return;a(e)};var n=r(54149);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29030:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92648).Z,a=r(64266),o=r(35036),i=n(r(9184)),s=r(370),l=r(63162),c=r(73460),u=r(67734),d=r
1(95564);t.default=class{getPageList(){return d.getClientBuildManifest().then((e=>e.sortedPages))}getMiddleware(){{const e=[];return window.__MIDDLEWARE_MATCHERS=e||void 0,window.__MIDDLEWARE_MATCHERS}}getDataHref(e){const{asPath:t,href:r,locale:n}=e,{pathname:d,query:f,search:p}=c.parseRelativeUrl(r),{pathname:h}=c.parseRelativeUrl(t),m=u.removeTrailingSlash(d);if("/"!==m[0])throw new Error('Route name should start with a "/", got "'.concat(m,'"'));return(e=>{const t=i.default(u.removeTrailingSlash(s.addLocale(e,n)),".json");return a.addBasePath("/_next/data/".concat(this.buildId).concat(t).concat(p),!0)})(e.skipInterpolation?h:l.isDynamicRoute(m)?o.interpolateAs(d,h,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)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35108:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let a,o=!1;function i(e){a&&a(e)}t.default=e=>{if(a=e,o)return;o=!0;for(const a of n)try{let e;0,e||(e=r(78018)),e["on".concat(a)](i)}catch(t){console.warn("Failed to track ".concat(a," web-vital"),t)}},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},73232:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Portal=void 0;var n=r(67294),a=r(73935);t.Portal=e=>{let{children:t,type:r}=e;const[o,i]=n.useState(null);return n.useEffect((()=>{const e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}}),[r]),o?a.createPortal(t,o):null},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39577:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeBasePath=function(e){0;(e=e.slice("".length)).startsWith("/")||(e="/".concat(e));return e};r(12140);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52080:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeLocale=function(e,t){{const{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}return e};var n=r(64046);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},10029:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cancelIdleCallback=t.requestIdleCallback=void 0;const 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;const 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)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42827:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RouteAnnouncer=void 0;var n=(0,r(92648).Z)(r(67294)),a=r(96885);const 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=()=>{const{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{const n=document.querySelector("h1");var t;const 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;var s=i;t.default=s,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95564:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.markAssetError=s,t.isAssetError=function(e){return e&&i in e},t.getClientBuildManifest=u,t.createRouteLoader=function(e){const t=new Map,r=new Map,n=new Map,i=new Map;function u(e){{let t=r.get(e.toString());return t||(document.querySelector('script[src^="'.concat(e,'"]'))?Promise.resolve():(r.set(e.toString(),t=function(e,t){return new Promise(((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(s(new Error("Failed to load script: ".concat(e)))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)}))}(e)),t))}}function f(e){let t=n.get(e);return t||(n.set(e,t=fetch(e).then((t=>{if(!t.ok)throw new Error("Failed to load stylesheet: ".concat(e));return t.text().then((t=>({href:e,content:t})))})).catch((e=>{throw s(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=>{const 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))}))}
1,loadRoute(r,n){return o(r,i,(()=>c(d(e,r).then((e=>{let{scripts:n,css:a}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(u)),Promise.all(a.map(f))])})).then((e=>this.whenEntrypoint(r).then((t=>({entrypoint:t,styles:e[1]}))))),3800,s(new Error("Route did not complete loading: ".concat(r)))).then((e=>{let{entrypoint:t,styles:r}=e;const n=Object.assign({styles:r},t);return"error"in t?t:n})).catch((e=>{if(n)throw e;return{error:e}})).finally((()=>{}))))},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():d(e,t).then((e=>Promise.all(l?e.scripts.map((e=>{return t=e.toString(),r="script",new Promise(((e,a)=>{const 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(s(new Error("Failed to prefetch: ".concat(t)))),n.href=t,document.head.appendChild(n)}));var t,r,n})):[]))).then((()=>{a.requestIdleCallback((()=>this.loadRoute(t,!0).catch((()=>{}))))})).catch((()=>{}))}}};(0,r(92648).Z)(r(9184));var n=r(466),a=r(10029);function o(e,t,r){let n,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);const 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}const i=Symbol("ASSET_LOAD_ERROR");function s(e){return Object.defineProperty(e,i,{})}const l=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(t){return!1}}();function c(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 u(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);return c(new Promise((e=>{const t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}})),3800,s(new Error("Failed to load client build manifest")))}function d(e,t){return u().then((r=>{if(!(t in r))throw s(new Error("Failed to lookup route: ".concat(t)));const 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)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96885: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 l.default}}),t.useRouter=function(){const e=a.default.useContext(i.RouterContext);if(!e)throw new 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=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.router=new o.default(...t),c.readyCallbacks.forEach((e=>e())),c.readyCallbacks=[],c.router},t.makePublicRouterInstance=function(e){const t=e,r={};for(const n of u)"object"!==typeof t[n]?r[n]=t[n]:r[n]=Object.assign(Array.isArray(t[n])?[]:{},t[n]);return r.events=o.default.events,d.forEach((e=>{r[e]=function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return t[e](...n)}})),r},t.default=void 0;var n=r(92648).Z,a=n(r(67294)),o=n(r(15932)),i=r(69955),s=n(r(80676)),l=n(r(38620));const c={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},u=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["push","replace","reload","back","prefetch","beforePopState"];function f(){if(!c.router){throw new Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n')}return c.router}Object.defineProperty(c,"events",{get:()=>o.default.events}),u.forEach((e=>{Object.defineProperty(c,e,{get:()=>f()[e]})})),d.forEach((e=>{c[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const a=f();return a[e](...r)}})),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach((e=>{c.ready((()=>{o.default.events.on(e,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const a="on".concat(e.charAt(0).toUpperCase()).concat(e.substring(1)),o=c;if(o[a])try{o[a](...r)}catch(i){console.error("Error when running the Router event: ".concat(a)),console.error(s.default(i)?"".concat(i.message,"\n").concat(i.stack):i+"")}}))}))}));var p=c;t.default=p,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85442:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleClientScriptLoad=y,t.initScriptLoader=function(e){e.forEach(y),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach((e=>{const t=e.id||e.getAttribute("src");p.add(t)}))},t.default=void 0;var n=r(6495).Z,a=r(92648).Z,o=r(91598).Z,i=r(17273).Z,s=a(r(73935)),l=o(r(67294)),c=r(79958),u=r(19623),d=r(10029);const f=new Map,p=new Set,h=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy"],m=e=>{const{src:t,id:r,onLoad:n=(()=>{}),onReady:a=null,dangerouslySetInnerHTML:o,children:i="",strategy:s="afterInteractive",onError:l}=e,c=r||t;if(c&&p.has(c))return;if(f.has(t))return p.add(c),void f.get(t).then(n,l);const d=()=>{a&&a(),p.add(c)},m=document.createElement("script"),y=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){l&&l(e)}));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,y));for(const[f,p]of Object.entries(e)){if(void 0===p||h.includes(f))continue;const e=u.DOMAttributeNames[f]||f.toLowerCase();m.setAttribute(e,p)}"worker"===s&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",s),document.body.appendChild(m)};function y(e){const{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",(()=>{d.requestIdleCallback((()=>m(e)))})):m(e)}function g(e){const{id:t,src:r="",onLoad:a=(()=>{}),onReady:o=null,strategy:u="afterInteractive",onError:f}=e,h=i(e,["id","src","onLoad","onReady","strategy","onError"]),{updateScripts:y,scripts:g,getIsSsr:v,appDir:_,nonce:P}=l.useContext(c.HeadManagerContext),b=l.useRef(!1);l.useEffect((()=>{const e=t||r;b.current||(o&&e&&p.has(e)&&o(),b.current=!0)}),[o,t,r]);const w=l.useRef(!1);if(l.useEffect((()=>{w.current||("afterInteractive"===u?m(e):"lazyOnload"===u&&function(e){"complete"===document.readyState?d.requestIdleCallback((()=>m(e))):window.addEventListener("load",(()=>{d.requestIdleCallback((()=>m(e)))}))}(e),w.current=!0)}),[e,u]),"beforeInteractive"!==u&&"worker"!==u||(y?(g[u]=(g[u]||[]).concat([n({id:t,src:r,onLoad:a,onReady:o,onError:f},h)]),y(g)):v&&v()?p.add(t||r):v&&!v()&&m(e)),_){if("beforeInteractive"===u)return r?(s.default.preload(r,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"}),l.default.createElement("script",{nonce:P,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push(".concat(JSON.stringify([r]),")")}})):(h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),l.default.createElement("script",{nonce:P,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push(".concat(JSON.stringify([0,n({},h)]),")")}}));"afterInteractive"===u&&r&&s.default.preload(r,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"})}return null}Object.defineProperty(g,"__nextScript",{value:!0});var v=g;t.default=v,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},466:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.__unsafeCreateTrustedScriptURL=function(e){var t;return(null==(t=function(){var e;"undefined"===typeof r&&(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)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38620: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))}t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,!1;return t};var n=(0,r(92648).Z)(r(67294)),a=r(96885);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65035:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(60932).Z,a=(0,r(92648).Z)(r(67294)),o=r(79064);function i(e){return s.apply(this,arguments)}function s(){return(s=n((function*(e){let{Component:t,ctx:r}=e;return{pageProps:yield o.loadGetInitialProps(t,r)}}))).apply(this,arguments)}class l extends a.default.Component{render(){const{Component:e,pageProps:t}=this.props;return a.default.createElement(e,Object.assign({},t))}}l.origGetInitialProps=i,l.getInitialProps=i,t.default=l,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43499:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92648).Z,a=n(r(67294)),o=n(r(42636));const i={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;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}const l={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 a.default.Component{render(){const{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||i[e]||"An unexpected error has occurred";return a.default.createElement("div",{style:l.error},a.default.createElement(o.default,null,a.default.createElement("title",null,e?"".concat(e,": ").concat(r):"Application error: a client-side exception has occurred")),a.default.createElement("div",null,a.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?a.default.createElement("h1",{className:"next-error-h1",style:l.h1},e):null,a.default.createElement("div",{style:l.desc},a.default.createElement("h2",{style:l.h2},this.props.title||e?r:a.default.createElement(a.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)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14221:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;const n=(0,r(92648).Z)(r(67294)).default.createContext({});t.AmpStateContext=n},63459: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}},24224: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=(0,r(92648).Z)(r(67294));t.CacheStates=n,function(e){e.LAZY_INITIALIZED="LAZYINITIALIZED",e.DATA_FETCH="DATAFETCH",e.READY="READY"}(n||(t.CacheStates=n={}));const o=a.default.createContext(null);t.AppRouterContext=o;const i=a.default.createContext(null);t.LayoutRouterContext=i;const s=a.default.createContext(null);t.GlobalLayoutRouterContext=s;const l=a.default.createContext(null);t.TemplateContext=l},35987:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.escapeStringRegexp=function(e){if(r.test(e))return e.replace(n,"\\$&");return e};const r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g},79958:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadManagerContext=void 0;const n=(0,r(92648).Z)(r(67294)).default.createContext({});t.HeadManagerContext=n},42636:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=u,t.default=void 0;var n=r(6495).Z,a=r(92648).Z,o=(0,r(91598).Z)(r(67294)),i=a(r(63962)),s=r(14221),l=r(79958),c=r(63459);r(34210);function u(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const 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)}const f=["name","httpEquiv","charSet","itemProp"];function p(e,t){const{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(u(r).reverse()).filter(function(){const 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;const 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<t;e++){const t=f[e];if(a.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?o=!1:r.add(t);else{const e=a.props[t],r=n[t]||new Set;"name"===t&&i||!r.has(e)?(r.add(e),n[t]=r):o=!1}}}return o}}()).reverse().map(((e,t)=>{const 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)))){const 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})}))}var h=function(e){let{children:t}=e;const r=o.useContext(s.AmpStateContext),n=o.useContext(l.HeadManagerContext);return o.default.createElement(i.default,{reduceComponentsToState:p,headManager:n,inAmpMode:c.isInAmpMode(r)},t)};t.default=h,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78463: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(67294);const a=n.createContext(null);t.SearchParamsContext=a;const o=n.createContext(null);t.PathnameContext=o;const i=n.createContext(null);t.ParamsContext=i;const s=n.createContext(null);t.LayoutSegmentsContext=s},18391:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectDomainLocale=function(e,t,r){let n;if(e){r&&(r=r.toLowerCase());for(const i of e){var a,o;const 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}},34842:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=function(e,t){let r;const 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}}},83341:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageConfigContext=void 0;var n=(0,r(92648).Z)(r(67294)),a=r(3735);const o=n.default.createContext(a.imageConfigDefault);t.ImageConfigContext=o},3735: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,
1contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},19125: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;const t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},54149: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"},96595:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const 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=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];(e[t]||[]).slice().map((e=>{e(...n)}))}}}},82307: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(919),a=r(98106)},98106:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathSep=function(e){return e.replace(/\\/g,"/")}},69955:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RouterContext=void 0;const n=(0,r(92648).Z)(r(67294)).default.createContext(null);t.RouterContext=n},29486: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){if(!e.isReady||!e.query)return new URLSearchParams;return function(e){const t=new URLSearchParams;for(const[r,n]of Object.entries(e))if(Array.isArray(n))for(const e of n)t.append(r,e);else"undefined"!==typeof n&&t.append(r,n);return t}(e.query)},t.PathnameContextProviderAdapter=function(e){var{children:t,router:r}=e,n=a(e,["children","router"]);const l=o.useRef(n.isAutoExport),c=o.useMemo((()=>{const e=l.current;if(e&&(l.current=!1),s.isDynamicRoute(r.pathname)){if(r.isFallback)return null;if(e&&!r.isReady)return null}let t;try{t=new URL(r.asPath,"http://f")}catch(n){return"/"}return t.pathname}),[r.asPath,r.isFallback,r.isReady,r.pathname]);return o.default.createElement(i.PathnameContext.Provider,{value:c},t)};var n=r(91598).Z,a=r(17273).Z,o=n(r(67294)),i=r(78463),s=r(919)},15932: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(60932).Z,a=r(6495).Z,o=r(92648).Z,i=r(91598).Z,s=r(67734),l=r(95564),c=r(85442),u=i(r(80676)),d=r(82307),f=r(34842),p=o(r(96595)),h=r(79064),m=r(63162),y=r(73460),g=o(r(71546)),v=r(43978),_=r(37762),P=r(61410),b=r(2249),w=r(64046),E=r(370),S=r(52080),x=r(39577),C=r(64266),R=r(12140),O=r(79423),A=r(96373),j=r(79473),L=r(66385),M=r(83353),T=r(90293),I=r(35821),N=r(14532),k=r(35036),D=r(3105);function B(){return Object.assign(new Error("Route Cancelled"),{cancelled:!0})}function U(e){return H.apply(this,arguments)}function H(){return(H=n((function*(e){const t=yield Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;const{pathname:r}=w.parsePath(e.asPath),n=R.hasBasePath(r)?x.removeBasePath(r):r,a=C.addBasePath(E.addLocale(n,e.locale));return t.some((e=>new RegExp(e.regexp).test(a)))}))).apply(this,arguments)}function q(e){const t=h.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function F(e,t,r){let[n,a]=N.resolveHref(e,t,!0);const o=h.getLocationOrigin(),i=n.startsWith(o),s=a&&a.startsWith(o);n=q(n),a=a?q(a):a;const l=i?n:C.addBasePath(n),c=r?q(N.resolveHref(e,r)):a||n;return{url:l,as:s?c:C.addBasePath(c)}}function W(e,t){const r=s.removeTrailingSlash(d.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some((t=>{if(m.isDynamicRoute(t)&&_.getRouteRegex(t).re.test(r))return e=t,!0})),s.removeTrailingSlash(e))}function Z(e,t,r){const n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:Boolean(!1)},o=t.headers.get("x-nextjs-rewrite");let i=o||t.headers.get("x-nextjs-matched-path");const c=t.headers.get("x-matched-path");if(!c||i||c.includes("__next_data_catchall")||c.includes("/_error")||c.includes("/404")||(i=c),i){if(i.startsWith("/")){const t=y.parseRelativeUrl(i),a=A.getNextPathnameInfo(t.pathname,{nextConfig:n,parseData:!0}
1);let c=s.removeTrailingSlash(a.pathname);return Promise.all([r.router.pageLoader.getPageList(),l.getClientBuildManifest()]).then((n=>{let[i,{__rewrites:s}]=n,l=E.addLocale(a.pathname,a.locale);if(m.isDynamicRoute(l)||!o&&i.includes(f.normalizeLocalePath(x.removeBasePath(l),r.router.locales).pathname)){const r=A.getNextPathnameInfo(y.parseRelativeUrl(e).pathname,{parseData:!0});l=C.addBasePath(r.pathname),t.pathname=l}{const e=g.default(l,i,s,t.query,(e=>W(e,i)),r.router.locales);e.matchedPage&&(t.pathname=e.parsedAs.pathname,l=t.pathname,Object.assign(t.query,e.parsedAs.query))}const u=i.includes(c)?c:W(f.normalizeLocalePath(x.removeBasePath(t.pathname),r.router.locales).pathname,i);if(m.isDynamicRoute(u)){const e=v.getRouteMatcher(_.getRouteRegex(u))(l);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:u}}))}const t=w.parsePath(e),c=j.formatNextPathnameInfo(a({},A.getNextPathnameInfo(t.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-external",destination:"".concat(c).concat(t.query).concat(t.hash)})}const u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){const e=w.parsePath(u),t=j.formatNextPathnameInfo(a({},A.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:u})}return Promise.resolve({type:"next"})}function z(e){return G.apply(this,arguments)}function G(){return(G=n((function*(e){if(!(yield U(e))||!e.fetchData)return null;try{const t=yield e.fetchData(),r=yield Z(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}catch(t){return null}}))).apply(this,arguments)}const V=Symbol("SSG_DATA_NOT_FOUND");function X(e,t,r){return fetch(e,{credentials:"same-origin",method:r.method||"GET",headers:Object.assign({},r.headers,{"x-nextjs-data":"1"})}).then((n=>!n.ok&&t>1&&n.status>=500?X(e,t-1,r):n))}function $(e){try{return JSON.parse(e)}catch(t){return null}}function K(e){let{dataHref:t,inflightCache:r,isPrefetch:n,hasMiddleware:a,isServerRender:o,parseJSON:i,persistCache:s,isBackground:c,unstable_skipClientCache:u}=e;const{href:d}=new URL(t,window.location.href);var f;const p=e=>X(t,o?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&a?{"x-middleware-prefetch":"1"}:{}),method:null!=(f=null==e?void 0:e.method)?f:"GET"}).then((r=>r.ok&&"HEAD"===(null==e?void 0:e.method)?{dataHref:t,response:r,text:"",json:{},cacheKey:d}:r.text().then((e=>{if(!r.ok){if(a&&[301,302,307,308].includes(r.status))return{dataHref:t,response:r,text:e,json:{},cacheKey:d};var n;if(404===r.status)if(null==(n=$(e))?void 0:n.notFound)return{dataHref:t,json:{notFound:V},response:r,text:e,cacheKey:d};const i=new Error("Failed to load static props");throw o||l.markAssetError(i),i}return{dataHref:t,json:i?$(e):null,response:r,text:e,cacheKey:d}})))).then((e=>(s&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[d],e))).catch((e=>{throw u||delete r[d],"Failed to fetch"!==e.message&&"NetworkError when attempting to fetch resource."!==e.message&&"Load failed"!==e.message||l.markAssetError(e),e}));return u&&s?p({}).then((e=>
1(r[d]=Promise.resolve(e),e))):void 0!==r[d]?r[d]:r[d]=p(c?{method:"HEAD"}:{})}function Y(){return Math.random().toString(36).slice(2,10)}function Q(e){let{url:t,router:r}=e;if(t===C.addBasePath(E.addLocale(r.asPath,r.locale)))throw new Error("Invariant: attempted to hard navigate to the same URL ".concat(t," ").concat(location.href));window.location.href=t}const J=e=>{let{route:t,router:r}=e,n=!1;const a=r.clc=()=>{n=!0};return()=>{if(n){const e=new Error('Abort fetching component for route: "'.concat(t,'"'));throw e.cancelled=!0,e}a===r.clc&&(r.clc=null)}};class ee{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*(){if(!M.isLocalURL(t))return Q({url:t,router:d}),!1;const n=1===o._h;n||o.shallow||(yield d._bfl(r,void 0,o.locale));let p=n||o._shouldResolveHref||w.parsePath(t).pathname===w.parsePath(r).pathname;const O=a({},d.state),A=!0!==d.isReady;d.isReady=!0;const j=d.isSsr;if(n||(d.isSsr=!1),n&&d.clc)return!1;const T=O.locale;{O.locale=!1===o.locale?d.defaultLocale:o.locale||O.locale,"undefined"===typeof o.locale&&(o.locale=O.locale);const e=y.parseRelativeUrl(R.hasBasePath(r)?x.removeBasePath(r):r),n=f.normalizeLocalePath(e.pathname,d.locales);n.detectedLocale&&(O.locale=n.detectedLocale,e.pathname=C.addBasePath(e.pathname),r=P.formatWithValidation(e),t=C.addBasePath(f.normalizeLocalePath(R.hasBasePath(t)?x.removeBasePath(t):t,d.locales).pathname));let a=!1;var N;(null==(N=d.locales)?void 0:N.includes(O.locale))||(e.pathname=E.addLocale(e.pathname,O.locale),Q({url:P.formatWithValidation(e),router:d}),a=!0);const i=b.detectDomainLocale(d.domainLocales,void 0,O.locale);if(!a&&i&&d.isLocaleDomain&&self.location.hostname!==i.domain){const e=x.removeBasePath(r);Q({url:"http".concat(i.http?"":"s","://").concat(i.domain).concat(C.addBasePath("".concat(O.locale===i.defaultLocale?"":"/".concat(O.locale)).concat("/"===e?"":e)||"/")),router:d}),a=!0}if(a)return new Promise((()=>{}))}h.ST&&performance.mark("routeChange");const{shallow:D=!1,scroll:H=!0}=o,q={shallow:D};d._inFlightRoute&&d.clc&&(j||ee.events.emit("routeChangeError",B(),d._inFlightRoute,q),d.clc(),d.clc=null),r=C.addBasePath(E.addLocale(R.hasBasePath(r)?x.removeBasePath(r):r,o.locale,d.defaultLocale));const Z=S.removeLocale(R.hasBasePath(r)?x.removeBasePath(r):r,O.locale);d._inFlightRoute=r;const z=T!==O.locale;if(!n&&d.onlyAHashChange(Z)&&!z){O.asPath=Z,ee.events.emit("hashChangeStart",r,q),d.changeState(e,t,r,a({},o,{scroll:!1})),H&&d.scrollToHash(Z);try{yield d.set(O,d.components[O.route],null)}catch(me){throw u.default(me)&&me.cancelled&&ee.events.emit("routeChangeError",me,Z,q),me}return ee.events.emit("hashChangeComplete",r,q),!0}let G,X,$=y.parseRelativeUrl(t),{pathname:K,query:Y}=$;try{[G,{__rewrites:X}]=yield Promise.all([d.pageLoader.getPageList(),l.getClientBuildManifest(),d.pageLoader.getMiddleware()])}catch(me){return Q({url:r,router:d}),!1}d.urlIsNew(Z)||z||(e="replaceState");let J=r;K=K?s.removeTrailingSlash(x.removeBasePath(K)):K;let te=s.removeTrailingSlash(K);const re=r.startsWith("/")&&y.parseRelativeUrl(r).pathname,ne=!(!re||te===re||m.isDynamicRoute(te)&&v.getRouteMatcher(_.getRouteRegex(te))(re)),ae=!o.shallow&&(yield U({asPath:r,locale:O.locale,router:d}));if(n&&ae&&(p=!1),p&&"/_error"!==K)if(o._shouldResolveHref=!0,r.startsWith("/")){const e=g.default(C.addBasePath(E.addLocale(Z,O.locale),!0),G,X,Y,(e=>W(e,G)),d.locales);if(e.externalDest)return Q({url:r,router:d}),!0;ae||(J=e.asPath),e.matchedPage&&e.resolvedHref&&(K=e.resolvedHref,$.pathname=C.addBasePath(K),ae||(t=P.formatWithValidation($)))}else $.pathname=W(K,G),$.pathname!==K&&(K=$.pathname,$.pathname=C.addBasePath(K),ae||(t=P.formatWithValidation($)));if(!M.isLocalURL(r))return Q({url:r,router:d}),!1;J=S.removeLocale(x.removeBasePath(J),O.locale),te=s.removeTrailingSlash(K);let oe=!1;if(m.isDynamicRoute(te)){const e=y.parseRelativeUrl(J),n=e.pathname,a=_.getRouteRegex(te);
1oe=v.getRouteMatcher(a)(n);const o=te===n,i=o?k.interpolateAs(te,n,Y):{};if(!oe||o&&!i.result){const e=Object.keys(a.groups).filter((e=>!Y[e]&&!a.groups[e].optional));if(e.length>0&&!ae)throw new 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(te,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(o?"href-interpolation-failed":"incompatible-href-as"))}else o?r=P.formatWithValidation(Object.assign({},e,{pathname:i.result,query:I.omit(Y,i.params)})):Object.assign(Y,oe)}n||ee.events.emit("routeChangeStart",r,q);const ie="/404"===d.pathname||"/_error"===d.pathname;try{var se,le,ce;let s=yield d.getRouteInfo({route:te,pathname:K,query:Y,as:r,resolvedAs:J,routeProps:q,locale:O.locale,isPreview:O.isPreview,hasMiddleware:ae,unstable_skipClientCache:o.unstable_skipClientCache,isQueryUpdating:n&&!d.isFallback,isMiddlewareRewrite:ne});if(n||o.shallow||(yield d._bfl(r,"resolvedAs"in s?s.resolvedAs:void 0,O.locale)),"route"in s&&ae){K=s.route||te,te=K,q.shallow||(Y=Object.assign({},s.query||{},Y));const e=R.hasBasePath($.pathname)?x.removeBasePath($.pathname):$.pathname;if(oe&&K!==e&&Object.keys(oe).forEach((e=>{oe&&Y[e]===oe[e]&&delete Y[e]})),m.isDynamicRoute(K)){let e=!q.shallow&&s.resolvedAs?s.resolvedAs:C.addBasePath(E.addLocale(new URL(r,location.href).pathname,O.locale),!0);R.hasBasePath(e)&&(e=x.removeBasePath(e));{const t=f.normalizeLocalePath(e,d.locales);O.locale=t.detectedLocale||O.locale,e=t.pathname}const t=_.getRouteRegex(K),n=v.getRouteMatcher(t)(new URL(e,location.href).pathname);n&&Object.assign(Y,n)}}if("type"in s)return"redirect-internal"===s.type?d.change(e,s.newUrl,s.newAs,o):(Q({url:s.destination,router:d}),new Promise((()=>{})));const l=s.Component;if(l&&l.unstable_scriptLoader){[].concat(l.unstable_scriptLoader()).forEach((e=>{c.handleClientScriptLoad(e.props)}))}if((s.__N_SSG||s.__N_SSP)&&s.props){if(s.props.pageProps&&s.props.pageProps.__N_REDIRECT){o.locale=!1;const t=s.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==s.props.pageProps.__N_REDIRECT_BASE_PATH){const r=y.parseRelativeUrl(t);r.pathname=W(r.pathname,G);const{url:n,as:a}=F(d,t,t);return d.change(e,n,a,o)}return Q({url:t,router:d}),new Promise((()=>{}))}if(O.isPreview=!!s.props.__N_PREVIEW,s.props.notFound===V){let e;try{yield d.fetchComponent("/404"),e="/404"}catch(ye){e="/_error"}if(s=yield d.getRouteInfo({route:e,pathname:e,query:Y,as:r,resolvedAs:J,routeProps:{shallow:!1},locale:O.locale,isPreview:O.isPreview,isNotFound:!0}),"type"in s)throw new Error("Unexpected middleware effect on /404")}}var ue;n&&"/_error"===d.pathname&&500===(null==(se=self.__NEXT_DATA__.props)||null==(le=se.pageProps)?void 0:le.statusCode)&&(null==(ce=s.props)?void 0:ce.pageProps)&&(s.props.pageProps.statusCode=500);const p=o.shallow&&O.route===(null!=(ue=s.route)?ue:te);var de;const h=null!=(de=o.scroll)?de:!n&&!p,g=h?{x:0,y:0}:null,P=null!=i?i:g,b=a({},O,{route:te,pathname:K,query:Y,asPath:Z,isFallback:!1});if(n&&ie){var fe,pe,he;if(s=yield d.getRouteInfo({route:d.pathname,pathname:d.pathname,query:Y,as:r,resolvedAs:J,routeProps:{shallow:!1},locale:O.locale,isPreview:O.isPreview,isQueryUpdating:n&&!d.isFallback}),"type"in s)throw new Error("Unexpected middleware effect on ".concat(d.pathname));"/_error"===d.pathname&&500===(null==(fe=self.__NEXT_DATA__.props)||null==(pe=fe.pageProps)?void 0:pe.statusCode)&&(null==(he=s.props)?void 0:he.pageProps)&&(s.props.pageProps.statusCode=500);try{yield d.set(b,s,P)}catch(me){throw u.default(me)&&me.cancelled&&ee.events.emit("routeChangeError",me,Z,q),me}return!0}ee.events.emit("beforeHistoryChange",r,q),d.changeState(e,t,r,o);if(!(n&&!P&&!A&&!z&&L.compareRouterStates(b,d.state))){try{yield d.set(b,s,P)}catch(ge){if(!ge.cancelled)throw ge;s.error=s.error||ge}if(s.error)throw n||ee.events.emit("routeChangeError",s.error,Z,q),s.error;O.locale&&(document.documentElement.lang=O.locale),n||ee.events.emit("routeChangeComplete",r,q);const e=/#.+$/;h&&e.test(r)&&d.scrollToHash(r)}return!0}catch(ve){if(u.default(ve)&&ve.cancelled)return!1;throw ve}}))()}changeState(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};"pushState"===e&&h.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 s=this;return n((function*(){if(console.error(e),e.cancelled)throw e;if(l.isAssetError(e)||i)throw ee.events.emit("routeChangeError",e,a,o),Q({url:a,router:s}),B();try{let a;const{page:o,styleSheets:i}=yield s.fetchComponent("/_error"),l={props:a,Component:o,styleSheets:i,err:e,error:e};if(!l.props)try{l.props=yield s.getInitialProps(o,{err:e,pathname:t,query:r})}catch(n){console.error("Error in error page `getInitialProps`: ",n),l.props={}}return l}catch(c){return s.handleRouteInfoError(u.default(c)?c:new Error(c+""),t,r,a,o,!0)}}))()}getRouteInfo(e){let{route:t,pathname:r,query:o,as:i,resolvedAs:l,routeProps:c,locale:d,hasMiddleware:p,isPreview:h,unstable_skipClientCache:m,isQueryUpdating:y,isMiddlewareRewrite:g,isNotFound:v}=e;var _=this;return n((function*(){let e=t;try{var b,w,E,S;const t=J({route:e,router:_});let u=_.components[e];if(c.shallow&&u&&_.route===e)return u;p&&(u=void 0);let C=u&&!("initial"in u)?u:void 0;const R=y,A={dataHref:_.pageLoader.getDataHref({href:P.formatWithValidation({pathname:r,query:o}),skipInterpolation:!0,asPath:v?"/404":l,locale:d}),hasMiddleware:!0,isServerRender:_.isSsr,parseJSON:!0,inflightCache:R?_.sbc:_.sdc,persist
1Cache:!h,isPrefetch:!1,unstable_skipClientCache:m,isBackground:R};let j=y&&!g?null:yield z({fetchData:()=>K(A),asPath:v?"/404":l,locale:d,router:_}).catch((e=>{if(y)return null;throw e}));if(!j||"/_error"!==r&&"/404"!==r||(j.effect=void 0),y&&(j?j.json=self.__NEXT_DATA__.props:j={json:self.__NEXT_DATA__.props}),t(),"redirect-internal"===(null==j||null==(b=j.effect)?void 0:b.type)||"redirect-external"===(null==j||null==(w=j.effect)?void 0:w.type))return j.effect;if("rewrite"===(null==j||null==(E=j.effect)?void 0:E.type)){const t=s.removeTrailingSlash(j.effect.resolvedHref),n=yield _.pageLoader.getPageList();if((!y||n.includes(t))&&(e=t,r=j.effect.resolvedHref,o=a({},o,j.effect.parsedAs.query),l=x.removeBasePath(f.normalizeLocalePath(j.effect.parsedAs.pathname,_.locales).pathname),u=_.components[e],c.shallow&&u&&_.route===e&&!p))return a({},u,{route:e})}if(O.isAPIRoute(e))return Q({url:i,router:_}),new Promise((()=>{}));const L=C||(yield _.fetchComponent(e).then((e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP}))));0;const M=null==j||null==(S=j.response)?void 0:S.headers.get("x-middleware-skip"),T=L.__N_SSG||L.__N_SSP;M&&(null==j?void 0:j.dataHref)&&delete _.sdc[j.dataHref];const{props:I,cacheKey:N}=yield _._getData(n((function*(){if(T){if((null==j?void 0:j.json)&&!M)return{cacheKey:j.cacheKey,props:j.json};const e=(null==j?void 0:j.dataHref)?j.dataHref:_.pageLoader.getDataHref({href:P.formatWithValidation({pathname:r,query:o}),asPath:l,locale:d}),t=yield K({dataHref:e,isServerRender:_.isSsr,parseJSON:!0,inflightCache:M?{}:_.sdc,persistCache:!h,isPrefetch:!1,unstable_skipClientCache:m});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:yield _.getInitialProps(L.Component,{pathname:r,query:o,asPath:i,locale:d,locales:_.locales,defaultLocale:_.defaultLocale})}})));return L.__N_SSP&&A.dataHref&&N&&delete _.sdc[N],_.isPreview||!L.__N_SSG||y||K(Object.assign({},A,{isBackground:!0,persistCache:!1,inflightCache:_.sbc})).catch((()=>{})),I.pageProps=Object.assign({},I.pageProps),L.props=I,L.route=e,L.query=o,L.resolvedAs=l,_.components[e]=L,L}catch(C){return _.handleRouteInfoError(u.getProperError(C),r,o,i,c)}}))()}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;const[t,r]=this.asPath.split("#"),[n,a]=e.split("#");return!(!a||t!==n||r!==a)||t===n&&r!==a}scrollToHash(e){const[,t=""]=e.split("#");if(""===t||"top"===t)return void D.handleSmoothScroll((()=>window.scrollTo(0,0)));const r=decodeURIComponent(t),n=document.getElementById(r);if(n)return void D.handleSmoothScroll((()=>n.scrollIntoView()));const 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=y.parseRelativeUrl(e),{pathname:i,query:c}=n;const u=i;if(!1===r.locale){i=f.normalizeLocalePath(i,o.locales).pathname,n.pathname=i,e=P.formatWithValidation(n);let a=y.parseRelativeUrl(t);const s=f.normalizeLocalePath(a.pathname,o.locales);a.pathname=s.pathname,r.locale=s.detectedLocale||o.defaultLocale,t=P.formatWithValidation(a)}const d=yield o.pageLoader.getPageList();let p=t;const h="undefined"!==typeof r.locale?r.locale||void 0:o.locale,b=yield U({asPath:t,locale:h,router:o});if(t.startsWith("/")){let r;({__rewrites:r}=yield l.getClientBuildManifest());const a=g.default(C.addBasePath(E.addLocale(t,o.locale),!0),d,r,n.query,(e=>W(e,d)),o.locales);if(a.externalDest)return;b||(p=S.removeLocale(x.removeBasePath(a.asPath),o.locale)),a.matchedPage&&a.resolvedHref&&(i=a.resolvedHref,n.pathname=i,b||(e=P.formatWithValidation(n)))}n.pathname=W(n.pathname,d),m.isDynamicRoute(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(c,v.getRouteMatcher(_.getRouteRegex(n.pathname))(w.parsePath(t).pathname)||{}),b||(e=P.formatWithValidation(n)));const R=yield z({fetchData:()=>K({dataHref:o.pageLoader.getDataHref({href:P.formatWithValidation({pathname:u,query:c}),skipInterpolation:!0,asPath:p,locale:h}),hasMiddleware:!0,isServerRender:o.isSsr,parseJSON:!0,inflightCache:o.sdc,persist
1Cache:!o.isPreview,isPrefetch:!0}),asPath:t,locale:h,router:o});if("rewrite"===(null==R?void 0:R.effect.type)&&(n.pathname=R.effect.resolvedHref,i=R.effect.resolvedHref,c=a({},c,R.effect.parsedAs.query),p=R.effect.parsedAs.pathname,e=P.formatWithValidation(n)),"redirect-external"===(null==R?void 0:R.effect.type))return;const O=s.removeTrailingSlash(i);yield Promise.all([o.pageLoader._isSsg(O).then((t=>!!t&&K({dataHref:(null==R?void 0:R.json)?null==R?void 0:R.dataHref:o.pageLoader.getDataHref({href:e,asPath:p,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"](O)])}))()}fetchComponent(e){var t=this;return n((function*(){const r=J({route:e,router:t});try{const n=yield t.pageLoader.loadPage(e);return r(),n}catch(n){throw r(),n}}))()}_getData(e){let t=!1;const r=()=>{t=!0};return this.clc=r,e().then((e=>{if(r===this.clc&&(this.clc=null),t){const e=new Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e}))}_getFlightData(e){return K({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){const{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,h.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:l,err:c,subscription:u,isFallback:d,locale:f,locales:p,defaultLocale:g,domainLocales:v,isPreview:_}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=Y(),this.onPopState=e=>{const{isFirstPopStateEvent:t}=this;this.isFirstPopStateEvent=!1;const r=e.state;if(!r){const{pathname:e,query:t}=this;return void this.changeState("replaceState",P.formatWithValidation({pathname:C.addBasePath(e),query:t}),h.getURL())}if(r.__NA)return void window.location.reload();if(!r.__N)return;if(t&&this.locale===r.options.locale&&r.as===this.asPath)return;const{url:n,as:a,options:o,key:i}=r;this._key=i;const{pathname:s}=y.parseRelativeUrl(n);this.isSsr&&a===C.addBasePath(this.asPath)&&s===C.addBasePath(this.pathname)||this._bps&&!this._bps(r)||this.change("replaceState",n,a,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),undefined)};const w=s.removeTrailingSlash(e);this.components={},"/_error"!==e&&(this.components[w]={Component:l,initial:!0,props:n,err:c,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:o,styleSheets:[]},this.events=ee.events,this.pageLoader=a;const E=m.isDynamicRoute(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=u,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,0)),this.locales=p,this.defaultLocale=g,this.domainLocales=v,this.isLocaleDomain=!!b.detectDomainLocale(v,self.location.hostname),this.state={route:w,pathname:e,query:t,asPath:E?e:r,isPreview:!!_,locale:f,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){const n={locale:f},a=h.getURL();this._initialMatchesMiddlewarePromise=U({router:this,locale:f,asPath:a}).then((o=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",o?a:P.formatWithValidation({pathname:C.addBasePath(e),query:t}),a,n),o)))}window.addEventListener("popstate",this.onPopState)}}ee.events=p.default(),t.default=ee},62721:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=function(e,t,r,o){if(t&&t!==r&&(o||!a.pathHasPrefix(e.toLowerCase(),"/".concat(t.toLowerCase()))&&!a.pathHasPrefix(e.toLowerCase(),"/api")))return n.addPathPrefix(e,"/".concat(t));return e};var n=r(5246),a=r(76325)},5246:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.addPathPrefix=function(e,t){if(!e.startsWith("/")||!t)return e;const{pathname:r,query:a,hash:o}=n.parsePath(e);return"".concat(t).concat(r).concat(a).concat(o)};var n=r(64046)},19603:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathSuffix=function(e,t){if(!e.startsWith("/")||!t)return e;const{pathname:r,query:a,hash:o}=n.parsePath(e);return"".concat(r).concat(t).concat(a).concat(o)};var n=r(64046)},66385:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareRouterStates=function(e,t){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){const a=r[n];if("query"===a){const r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){const 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}},79473: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);!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"));return t=a.addPathPrefix(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:o.addPathSuffix(t,"/"):n.removeTrailingSlash(t)};var n=r(67734),a=r(5246),o=r(19603),i=r(62721)},61410:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=o,t.formatWithValidation=function(e){0;return o(e)},t.urlObjectKeys=void 0;var n=(0,r(91598).Z)(r(53908));const a=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,o=e.protocol||"",i=e.pathname||"",s=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(":")?"[".concat(r,"]"):r),e.port&&(c+=":"+e.port)),l&&"object"===typeof l&&(l=String(n.urlQueryToSearchParams(l)));let u=e.search||l&&"?".concat(l)||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==c?(c="//"+(c||""),i&&"/"!==i[0]&&(i="/"+i)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),u&&"?"!==u[0]&&(u="?"+u),i=i.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),"".concat(o).concat(c).concat(i).concat(u).concat(s)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"]},9184: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]:"";const r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e);return r+t}},96373:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNextPathnameInfo=function(e,t){var r;const{basePath:i,i18n:s,trailingSlash:l}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):l};i&&o.pathHasPrefix(c.pathname,i)&&(c.pathname=a.removePathPrefix(c.pathname,i),c.basePath=i);if(!0===t.parseData&&c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){const e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),t=e[0];c.pathname="index"!==e[1]?"/".concat(e.slice(1).join("/")):"/",c.buildId=t}if(s){const e=n.normalizeLocalePath(c.pathname,s.locales);c.locale=null==e?void 0:e.detectedLocale,c.pathname=(null==e?void 0:e.pathname)||c.pathname}return c};var n=r(34842),a=r(2476),o=r(76325)},3105: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]:{};const r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects();e(),r.style.scrollBehavior=n}},919: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(49163),a=r(63162)},35036:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.interpolateAs=function(e,t,r){let o="";const i=a.getRouteRegex(e),s=i.groups,l=(t!==e?n.getRouteMatcher(i)(t):"")||r;o=e;const c=Object.keys(s);c.every((e=>{let t=l[e]||"";const{repeat:r,optional:n}=s[e];let a="[".concat(r?"...":"").concat(e,"]");return n&&(a="".concat(t?"":"/","[").concat(a,"]")),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(o=o.replace(a,r?t.map((e=>encodeURIComponent(e))).join("/"):encodeURIComponent(t))||"/")}))||(o="");return{params:c,result:o}};var n=r(43978),a=r(37762)},90293: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)}},63162:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};const r=/\/\[[^/]+?\](?=\/|$)/},83353:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLocalURL=function(e){if(!n.isAbsoluteUrl(e))return!0;try{const t=n.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&a.hasBasePath(r.pathname)}catch(t){return!1}};var n=r(79064),a=r(12140)},35821:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.omit=function(e,t){const r={};return Object.keys(e).forEach((n=>{t.includes(n)||(r[n]=e[n])})),r}},64046:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePath=function(e){const t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r<t);if(n||t>-1)return{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""};return{pathname:e,query:"",hash:""}}},73460:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){const r=new URL(n.getLocationOrigin()),o=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:s,search:l,hash:c,href:u,origin:d}=new URL(e,o);if(d!==r.origin)throw new Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:i,query:a.searchParamsToUrlQuery(s),search:l,hash:c,href:u.slice(r.origin.length)}};var n=r(79064),a=r(53908)},63049:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseUrl=function(e){if(e.startsWith("/"))return a.parseRelativeUrl(e);const t=new URL(e);return{hash:t.hash,hostname:t.hostname,href:t.href,pathname:t.pathname,port:t.port,protocol:t.protocol,query:n.searchParamsToUrlQuery(t.searchParams),search:t.search}};var n=r(53908),a=r(73460)},76325:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathHasPrefix=function(e,t){if("string"!==typeof e)return!1;const{pathname:r}=n.parsePath(e);return r===t||r.startsWith(t+"/")};var n=r(64046)},9877:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPathMatch=function(e,t){const r=[],o=a.pathToRegexp(e,r,{delimiter:"/",sensitive:!1,strict:null==t?void 0:t.strict}),i=a.regexpToFunction((null==t?void 0:t.regexModifier)?new RegExp(t.regexModifier(o.source),o.flags):o,r);return(e,a)=>{const o=null!=e&&i(e);if(!o)return!1;if(null==t?void 0:t.removeUnnamedParams)for(const t of r)"number"===typeof t.name&&delete o.params[t.name];return n({},a,o.params)}};var n=r(6495).Z,a=r(74329)},5445:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchHas=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];const a={},o=r=>{let n,o=r.key;switch(r.type){case"header":o=o.toLowerCase(),n=e.headers[o];break;case"cookie":n=e.cookies[r.key];break;case"query":n=t[o];break;case"host":{const{host:t}=(null==e?void 0:e.headers)||{};n=null==t?void 0:t.split(":")[0].toLowerCase();break}}if(!r.value&&n)return a[s(o)]=n,!0;if(n){const e=new RegExp("^".concat(r.value,"$")),t=Array.isArray(n)?n.slice(-1)[0].match(e):n.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEac
1h((e=>{a[e]=t.groups[e]})):"host"===r.type&&t[0]&&(a.host=t[0])),!0}return!1},i=r.every((e=>o(e)))&&!n.some((e=>o(e)));if(i)return a;return!1},t.compileNonPath=c,t.prepareDestination=function(e){const t=Object.assign({},e.query);delete t.__nextLocale,delete t.__nextDefaultLocale,delete t.__nextDataReq;let r=e.destination;for(const a of Object.keys(n({},e.params,t)))s=a,r=r.replace(new RegExp(":".concat(o.escapeStringRegexp(s)),"g"),"__ESC_COLON_".concat(s));var s;const u=i.parseUrl(r),d=u.query,f=l("".concat(u.pathname).concat(u.hash||"")),p=l(u.hostname||""),h=[],m=[];a.pathToRegexp(f,h),a.pathToRegexp(p,m);const y=[];h.forEach((e=>y.push(e.name))),m.forEach((e=>y.push(e.name)));const g=a.compile(f,{validate:!1}),v=a.compile(p,{validate:!1});for(const[n,a]of Object.entries(d))Array.isArray(a)?d[n]=a.map((t=>c(l(t),e.params))):"string"===typeof a&&(d[n]=c(l(a),e.params));let _,P=Object.keys(e.params).filter((e=>"nextInternalLocale"!==e));if(e.appendParamsToQuery&&!P.some((e=>y.includes(e))))for(const n of P)n in d||(d[n]=e.params[n]);try{_=g(e.params);const[t,r]=_.split("#");u.hostname=v(e.params),u.pathname=t,u.hash="".concat(r?"#":"").concat(r||""),delete u.search}catch(b){if(b.message.match(/Expected .*? to not repeat, but got an array/))throw new Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match");throw b}return u.query=n({},t,u.query),{newUrl:_,destQuery:d,parsedDestination:u}};var n=r(6495).Z,a=r(74329),o=r(35987),i=r(63049);function s(e){let t="";for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);(n>64&&n<91||n>96&&n<123)&&(t+=e[r])}return t}function l(e){return e.replace(/__ESC_COLON_/gi,":")}function c(e,t){if(!e.includes(":"))return e;for(const r of Object.keys(t))e.includes(":".concat(r))&&(e=e.replace(new RegExp(":".concat(r,"\\*"),"g"),":".concat(r,"--ESCAPED_PARAM_ASTERISKS")).replace(new RegExp(":".concat(r,"\\?"),"g"),":".concat(r,"--ESCAPED_PARAM_QUESTION")).replace(new RegExp(":".concat(r,"\\+"),"g"),":".concat(r,"--ESCAPED_PARAM_PLUS")).replace(new RegExp(":".concat(r,"(?!\\w)"),"g"),"--ESCAPED_PARAM_COLON".concat(r)));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),a.compile("/".concat(e),{validate:!1})(t).slice(1)}},53908: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){const t={};return e.forEach(((e,r)=>{"undefined"===typeof t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]})),t},t.urlQueryToSearchParams=function(e){const 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=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.forEach((t=>{Array.from(t.keys()).forEach((t=>e.delete(t))),t.forEach(((t,r)=>e.append(r,t)))})),e}},2476:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePathPrefix=function(e,t){if(n.pathHasPrefix(e,t)){const r=e.slice(t.length);return r.startsWith("/")?r:"/".concat(r)}return e};var n=r(76325)},67734:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=function(e){return e.replace(/\/$/,"")||"/"}},14532:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveHref=function(e,t,r){let d,f="string"===typeof t?t:a.formatWithValidation(t);const p=f.match(/^[a-zA-Z]{1,}:\/\//),h=p?f.slice(p[0].length):f;if((h.split("?")[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."));const t=i.normalizeRepeatedSlashes(h);f=(p?p[0]:"")+t}if(!l.isLocalURL(f))return r?[f]:f;try{d=new URL(f.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(m){d=new URL("/","http://n")}try{const e=new URL(f,d);e.pathname=s.normalizePathTrailingSlash(e.pathname);let t="";if(c.isDynamicRoute(e.pathname)&&e.searchParams&&r){const r=n.searchParamsToUrlQuery(e.searchParams),{result:i,params:s}=u.interpolateAs(e.pathname,e.pathname,r);
1i&&(t=a.formatWithValidation({pathname:i,hash:e.hash,query:o.omit(r,s)}))}const i=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(y){return r?[f]:f}};var n=r(53908),a=r(61410),o=r(35821),i=r(79064),s=r(82387),l=r(83353),c=r(63162),u=r(35036)},71546:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,c,u,d){let f,p=!1,h=!1,m=l.parseRelativeUrl(e),y=o.removeTrailingSlash(i.normalizeLocalePath(s.removeBasePath(m.pathname),d).pathname);const g=r=>{let l=n.getPathMatch(r.source+"",{removeUnnamedParams:!0,strict:!0})(m.pathname);if((r.has||r.missing)&&l){const e=a.matchHas({headers:{host:document.location.hostname},cookies:document.cookie.split("; ").reduce(((e,t)=>{const[r,...n]=t.split("=");return e[r]=n.join("="),e}),{})},m.query,r.has,r.missing);e?Object.assign(l,e):l=!1}if(l){if(!r.destination)return h=!0,!0;const n=a.prepareDestination({appendParamsToQuery:!0,destination:r.destination,params:l,query:c});if(m=n.parsedDestination,e=n.newUrl,Object.assign(c,n.parsedDestination.query),y=o.removeTrailingSlash(i.normalizeLocalePath(s.removeBasePath(e),d).pathname),t.includes(y))return p=!0,f=y,!0;if(f=u(y),f!==e&&t.includes(f))return p=!0,!0}};let v=!1;for(let n=0;n<r.beforeFiles.length;n++)g(r.beforeFiles[n]);
1if(p=t.includes(y),!p){if(!v)for(let e=0;e<r.afterFiles.length;e++)if(g(r.afterFiles[e])){v=!0;break}if(v||(f=u(y),p=t.includes(f),v=p),!v)for(let e=0;e<r.fallback.length;e++)if(g(r.fallback[e])){v=!0;break}}return{asPath:e,parsedAs:m,matchedPage:p,resolvedHref:f,externalDest:h}};var n=r(9877),a=r(5445),o=r(67734),i=r(34842),s=r(39577),l=r(73460)},43978:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteMatcher=function(e){let{re:t,groups:r}=e;return e=>{const a=t.exec(e);if(!a)return!1;const o=e=>{try{return decodeURIComponent(e)}catch(t){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach((e=>{const 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(79064)},37762:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteRegex=l,t.getNamedRouteRegex=function(e){const t=c(e);return n({},l(e),{namedRegex:"^".concat(t.namedParameterizedRoute,"(?:/)?$"),routeKeys:t.routeKeys})},t.getNamedMiddlewareRegex=function(e,t){const{parameterizedRoute:r}=s(e),{catchAll:n=!0}=t;if("/"===r){return{namedRegex:"^/".concat(n?".*":"","$")}}const{namedParameterizedRoute:a}=c(e);let o=n?"(?:(/.*)?)":"";return{namedRegex:"^".concat(a).concat(o,"$")}};var n=r(6495).Z,a=r(35987),o=r(67734);function i(e){const t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));const r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function s(e){const t=o.removeTrailingSlash(e).slice(1).split("/"),r={};let n=1;return{parameterizedRoute:t.map((e=>{if(e.startsWith("[")&&e.endsWith("]")){const{key:t,optional:a,repeat:o}=i(e.slice(1,-1));return r[t]={pos:n++,repeat:o,optional:a},o?a?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}return"/".concat(a.escapeStringRegexp(e))})).join(""),groups:r}}function l(e){const{parameterizedRoute:t,groups:r}=s(e);return{re:new RegExp("^".concat(t,"(?:/)?$")),groups:r}}function c(e){const t=o.removeTrailingSlash(e).slice(1).split("/"),r=function(){let e=97,t=1;return()=>{let r="";for(let n=0;n<t;n++)r+=String.fromCharCode(e),e++,e>122&&(t++,e=97);return r}}(),n={};return{namedParameterizedRoute:t.map((e=>{if(e.startsWith("[")&&e.endsWith("]")){const{key:t,optional:a,repeat:o}=i(e.slice(1,-1));let s=t.replace(/\W/g,""),l=!1;return(0===s.length||s.length>30)&&(l=!0),isNaN(parseInt(s.slice(0,1)))||(l=!0),l&&(s=r()),n[s]=t,o?a?"(?:/(?<".concat(s,">.+?))?"):"/(?<".concat(s,">.+?)"):"/(?<".concat(s,">[^/]+?)")}return"/".concat(a.escapeStringRegexp(e))})).join(""),routeKeys:n}}},49163:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSortedRoutes=function(e){const 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]:"/";const 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);const 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){const t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw new 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)return void(this.placeholder=!1);if(n)throw new Error("Catch-all must be the last part of the URL.");let a=e[0];if(a.startsWith("[")&&a.endsWith("]")){let o=a.slice(1,-1),i=!1;if(o.startsWith("[")&&o.endsWith("]")&&(o=o.slice(1,-1),i=!0),o.startsWith("...")&&(o=o.substring(3),n=!0),o.startsWith("[")||o.endsWith("]"))throw new Error("Segment names may not start or end with extra brackets ('".concat(o,"')."));if(o.startsWith("."))throw new Error("Segment names may not start with erroneous periods ('".concat(o,"')."));function s(e,r){if(null!==e&&e!==r)throw new Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(r,"')."));t.forEach((e=>{if(e===r)throw new 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 new 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 new Error('You cannot use both an required and optional catch-all route at the same level ("[...'.concat(this.restSlugName,']" and "').concat(e[0],'" ).'));s(this.optionalRestSlugName,o),this.optionalRestSlugName=o,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(e[0],'").'));s(this.restSlugName,o),this.restSlugName=o,a="[...]"}else{if(i)throw new Error('Optional route parameters are not yet supported ("'.concat(e[0],'").'));s(this.slugName,o),this.slugName=o,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}}},7905:function(e,t){"use strict";let r;
1Object.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)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63962:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){const a=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(a,e))}}if(a){var l;null==t||null==(l=t.mountedInstances)||l.add(e.children),s()}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=s),()=>{t&&(t._pendingUpdate=s)}))),i((()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}))),null};var n=(0,r(91598).Z)(r(67294));const a=!1,o=a?()=>{}:n.useLayoutEffect,i=a?()=>{}:n.useEffect},79064: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=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return r||(r=!0,t=e(...a)),t}},t.getLocationOrigin=o,t.getURL=function(){const{href:e}=window.location,t=o();return e.substring(t.length)},t.getDisplayName=i,t.isResSent=s,t.normalizeRepeatedSlashes=function(e){const t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?".concat(t.slice(1).join("?")):"")},t.loadGetInitialProps=l,t.ST=t.SP=t.isAbsoluteUrl=t.WEB_VITALS=void 0;var n=r(60932).Z;t.WEB_VITALS=["CLS","FCP","FID","INP","LCP","TTFB"];const a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/;function o(){const{protocol:e,hostname:t,port:r}=window.location;return"".concat(e,"//").concat(t).concat(r?":"+r:"")}function i(e){return"string"===typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function l(e,t){return c.apply(this,arguments)}function c(){return(c=n((function*(e,t){const r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:yield l(t.Component,t.ctx)}:{};const n=yield e.getInitialProps(t);if(r&&s(r))return n;if(!n){const t='"'.concat(i(e),'.getInitialProps()" should resolve to an object. But found "').concat(n,'" instead.');throw new Error(t)}return n}))).apply(this,arguments)}t.isAbsoluteUrl=e=>a.test(e);const u="undefined"!==typeof performance;t.SP=u;const d=u&&["mark","measure","getEntriesByName"].every((e=>"function"===typeof performance[e]));t.ST=d;class f extends Error{}t.DecodeError=f;
1class p extends Error{}t.NormalizeError=p;class h extends Error{constructor(e){super(),this.code="ENOENT",this.message="Cannot find module for page: ".concat(e)}}t.PageNotFoundError=h;class m extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: ".concat(e," ").concat(t)}}t.MissingStaticPage=m;class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}t.MiddlewareNotFoundError=y},34210:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.warnOnce=void 0;t.warnOnce=e=>{}},74329:function(e,t){"use strict";function r(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var n=e[r];if("*"!==n&&"+"!==n&&"?"!==n)if("\\"!==n)if("{"!==n)if("}"!==n)if(":"!==n)if("("!==n)t.push({type:"CHAR",index:r,value:e[r++]});else{var a=1,o="";if("?"===e[s=r+1])throw new TypeError('Pattern cannot start with "?" at '+s);for(;s<e.length;)if("\\"!==e[s]){if(")"===e[s]){if(0===--a){s++;break}}else if("("===e[s]&&(a++,"?"!==e[s+1]))throw new TypeError("Capturing groups are not allowed at "+s);o+=e[s++]}else o+=e[s++]+e[s++];if(a)throw new TypeError("Unbalanced pattern at "+r);if(!o)throw new TypeError("Missing pattern at "+r);t.push({type:"PATTERN",index:r,value:o}),r=s}else{for(var i="",s=r+1;s<e.length;){var l=e.charCodeAt(s);if(!(l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||95===l))break;i+=e[s++]}if(!i)throw new TypeError("Missing parameter name at "+r);t.push({type:"NAME",index:r,value:i}),r=s}else t.push({type:"CLOSE",index:r,value:e[r++]});else t.push({type:"OPEN",index:r,value:e[r++]});else t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});else t.push({type:"MODIFIER",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),n=t.prefixes,a=void 0===n?"./":n,i="[^"+o(t.delimiter||"/#?")+"]+?",s=[],l=0,c=0,u="",d=function(e){if(c<r.length&&r[c].type===e)return r[c++].value},f=function(e){var t=d(e);if(void 0!==t)return t;var n=r[c],a=n.type,o=n.index;throw new TypeError("Unexpected "+a+" at "+o+", expected "+e)},p=function(){for(var e,t="";e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t};c<r.length;){var h=d("CHAR"),m=d("NAME"),y=d("PATTERN");if(m||y){var g=h||"";-1===a.indexOf(g)&&(u+=g,g=""),u&&(s.push(u),u=""),s.push({name:m||l++,prefix:g,suffix:"",pattern:y||i,modifier:d("MODIFIER")||""})}else{var v=h||d("ESCAPED_CHAR");if(v)u+=v;else if(u&&(s.push(u),u=""),d("OPEN")){g=p();var _=d("NAME")||"",P=d("PATTERN")||"",b=p();f("CLOSE"),s.push({name:_||(P?l++:""),pattern:_&&!P?i:P,prefix:g,suffix:b,modifier:d("MODIFIER")||""})}else f("END")}}return s}function n(e,t){void 0===t&&(t={});var r=i(t),n=t.encode,a=void 0===n?function(e){return e}:n,o=t.validate,s=void 0===o||o,l=e.map((function(e){if("object"===typeof e)return new RegExp("^(?:"+e.pattern+")$",r)}));return function(t){for(var r="",n=0;n<e.length;n++){var o=e[n];if("string"!==typeof o){var i=t?t[o.name]:void 0,c="?"===o.modifier||"*"===o.modifier,u="*"===o.modifier||"+"===o.modifier;if(Array.isArray(i)){if(!u)throw new TypeError('Expected "'+o.name+'" to not repeat, but got an array');if(0===i.length){if(c)continue;throw new TypeError('Expected "'+o.name+'" to not be empty')}for(var d=0;d<i.length;d++){var f=a(i[d],o);if(s&&!l[n].test(f))throw new TypeError('Expected all "'+o.name+'" to match "'+o.pattern+'", but got "'+f+'"');r+=o.prefix+f+o.suffix}}else if("string"!==typeof i&&"number"!==typeof i){if(!c){var p=u?"an array":"a string";throw new TypeError('Expected "'+o.name+'" to be '+p)}}else{f=a(String(i),o);if(s&&!l[n].test(f))throw new TypeError('Expected "'+o.name+'" to match "'+o.pattern+'", but got "'+f+'"');r+=o.prefix+f+o.suffix}}else r+=o}return r}}function a(e,t,r){void 0===r&&(r={});var n=r.decode,a=void 0===n?function(e){return e}:n;return function(r){var n=e.exec(r);if(!n)return!1;for(var o=n[0],i=n.index,s=Object.create(null),l=function(e){if(void 0===n[e])return"continue";var r=t[e-1];"*"===r.modifier||"+"===r.modifier?s[r.name]=n[e].split(r.prefix+r.suffix).map((function(e){return a(e,r)})):s[r.name]=a(n[e],r)},c=1;c<n.length;c++)l(c);return{path:o,index:i,params:s}}}function o(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function s(e,t,r){void 0===r&&(r={});for(var n=r.strict,a=void 0!==n&&n,s=r.start,l=void 0===s||s,c=r.end,u=void 0===c||c,d=r.encode,f=void 0===d?function(e){return e}:d,p="["+o(r.endsWith||"")+"]|$",h="["+o(r.delimiter||"/#?")+"]",m=l?"^":"",y=0,g=e;y<g.length;y++){var v=g[y];if("string"===typeof v)m+=o(f(v));else{var _=o(f(v.prefix)),P=o(f(v.suffix));if(v.pattern)if(t&&t.push(v),_||P)if("+"===v.modifier||"*"===v.modifier){var b="*"===v.modifier?"?":"";m+="(?:"+_+"((?:"+v.pattern+")(?:"+P+_+"(?:"+v.pattern+"))*)"+P+")"+b}else m+="(?:"+_+"("+v.pattern+")"+P+")"+v.modifier;else m+="("+v.pattern+")"+v.modifier;else m+="(?:"+_+P+")"+v.modifier}}if(u)a||(m+=h+"?"),m+=r.endsWith?"(?="+p+")":"$";else{var w=e[e.length-1],E="string"===typeof w?h.indexOf(w[w.length-1])>-1:void 0===w;a||(m+="(?:"+h+"(?="+p+"))?"),E||(m+="(?="+h+"|"+p+")")}return new RegExp(m,i(r))}function l(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:"",suffix:"",modifier:"",pattern:""});return e}(e,t):Array.isArray(e)?function(e,t,r){var n=e.map((function(e){return l(e,t,r).source}));return new RegExp("(?:"+n.join("|")+")",i(r))}
1(e,t,n):function(e,t,n){return s(r(e,n),t,n)}(e,t,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=r,t.compile=function(e,t){return n(r(e,t),t)},t.tokensToFunction=n,t.match=function(e,t){var r=[];return a(l(e,r,t),r,t)},t.regexpToFunction=a,t.tokensToRegexp=s,t.pathToRegexp=l},78018:function(e){!function(){"use strict";var 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]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}};"undefined"!==typeof t&&(t.ab="//");var r={};t.r(r),t.d(r,{getCLS:function(){return E},getFCP:function(){return P},getFID:function(){return j},getINP:function(){return q},getLCP:function(){return W},getTTFB:function(){return z},onCLS:function(){return E},onFCP:function(){return P},onFID:function(){return j},onINP:function(){return q},onLCP:function(){return W},onTTFB:function(){return z}});var n,a,o,i,s,l=-1,c=function(e){addEventListener("pageshow",(function(t){t.persisted&&(l=t.timeStamp,e(t))}),!0)},u=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},d=function(){var e=u();return e&&e.activationStart||0},f=function(e,t){var r=u(),n="navigate";return l>=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}},p=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){}},h=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){t.value>=0&&(i||n)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,r),e(t))}},y=-1,g=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},v=function(){h((function(e){var t=e.timeStamp;y=t}),!0)},_=function(){return y<0&&(y=g(),v(),c((function(){setTimeout((function(){y=g(),v()}),0)}))),{get firstHiddenTime(){return y}}},P=function(e,t){t=t||{};var r,n=[1800,3e3],a=_(),o=f("FCP"),i=function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(l&&l.disconnect(),e.startTime<a.firstHiddenTime&&(o.value=e.startTime-d(),o.entries.push(e),r(!0)))}))},s=window.performance&&window.performance.getEntriesByName&&window.performance.getEntriesByName("first-contentful-paint")[0],l=s?null:p("paint",i);(s||l)&&(r=m(e,o,n,t.reportAllChanges),s&&i([s]),c((function(a){o=f("FCP"),r=m(e,o,n,t.reportAllChanges),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-a.timeStamp,r(!0)}))}))})))},b=!1,w=-1,E=function(e,t){t=t||{};var r=[.1,.25];b||(P((function(e){w=e.value})),b=!0);var n,a=function(t){w>-1&&e(t)},o=f("CLS",0),i=0,s=[],l=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=s[0],r=s[s.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,s.push(e)):(i=e.value,s=[e]),i>o.value&&(o.value=i,o.entries=s,n())}}))},u=p("layout-shift",l);u&&(n=m(a,o,r,t.reportAllChanges),h((function(){l(u.takeRecords()),n(!0)})),c((function(){i=0,w=-1,o=f("CLS",0),n=m(a,o,r,t.reportAllChanges)})))},S={passive:!0,capture:!0},x=new Date,C=function(e,t){n||(n=t,a=e,o=new Date,A(removeEventListener),R())},R=function(){if(a>=0&&a<o-x){var e={entryType:"first-input",name:n.type,target:n.target,cancelable:n.cancelable,startTime:n.timeStamp,processingStart:n.timeStamp+a};i.forEach((function(t){t(e)})),i=[]}},O=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var r=function(){C(e,t),a()},n=function(){a()},a=function(){removeEventListener("pointerup",r,S),removeEventListener("pointercancel",n,S)};addEventListener("pointerup",r,S),addEventListener("pointercancel",n,S)}(t,e):C(t,e)}},A=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,O,S)}))},j=function(e,t){t=t||{};var r,o=[100,300],s=_(),l=f("FID"),u=function(e){e.startTime<s.firstHiddenTime&&(l.value=e.processingStart-e.startTime,l.entries.push(e),r(!0))},d=function(e){e.forEach(u)},y=p("first-input",d);r=m(e,l,o,t.reportAllChanges),y&&h((function(){d(y.takeRecords()),y.disconnect()}),!0),y&&c((function(){var s;l=f("FID"),r=m(e,l,o,t.reportAllChanges),i=[],a=-1,n=null,A(addEventListener),s=u,i.push(s),R()}))},L=0,M=1/0,T=0,I=function(e){e.forEach((function(e){e.interactionId&&(M=Math.min(M,e.interactionId),T=Math.max(T,e.interactionId),L=T?(T-M)/7+1:0)}))},N=function(){return s?L:performance.interactionCount||0},k=0,D=function(){return N()-k},B=[],U={},H=function(e){var t=B[B.length-1],r=U[e.interactionId];if(r||B.length<10||e.duration>t.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]};U[n.id]=n,B.push(n)}B.sort((function(e,t){return t.latency-e.latency}
1)),B.splice(10).forEach((function(e){delete U[e.id]}))}},q=function(e,t){t=t||{};var r=[200,500];"interactionCount"in performance||s||(s=p("event",I,{type:"event",buffered:!0,durationThreshold:0}));var n,a=f("INP"),o=function(e){e.forEach((function(e){e.interactionId&&H(e),"first-input"===e.entryType&&!B.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&H(e)}));var t,r=(t=Math.min(B.length-1,Math.floor(D()/50)),B[t]);r&&r.latency!==a.value&&(a.value=r.latency,a.entries=r.entries,n())},i=p("event",o,{durationThreshold:t.durationThreshold||40});n=m(e,a,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),h((function(){o(i.takeRecords()),a.value<0&&D()>0&&(a.value=0,a.entries=[]),n(!0)})),c((function(){B=[],k=N(),a=f("INP"),n=m(e,a,r,t.reportAllChanges)})))},F={},W=function(e,t){t=t||{};var r,n=[2500,4e3],a=_(),o=f("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-d();n<a.firstHiddenTime&&(o.value=n,o.entries=[t],r())}},s=p("largest-contentful-paint",i);if(s){r=m(e,o,n,t.reportAllChanges);var l=function(){F[o.id]||(i(s.takeRecords()),s.disconnect(),F[o.id]=!0,r(!0))};["keydown","click"].forEach((function(e){addEventListener(e,l,{once:!0,capture:!0})})),h(l,!0),c((function(a){o=f("LCP"),r=m(e,o,n,t.reportAllChanges),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-a.timeStamp,F[o.id]=!0,r(!0)}))}))}))}},Z=function e(t){document.prerendering?addEventListener("prerenderingchange",(function(){return e(t)}),!0):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},z=function(e,t){t=t||{};var r=[800,1800],n=f("TTFB"),a=m(e,n,r,t.reportAllChanges);Z((function(){var o=u();if(o){if(n.value=Math.max(o.responseStart-d(),0),n.value<0||n.value>performance.now())return;n.entries=[o],a(!0),c((function(){n=f("TTFB",0),(a=m(e,n,r,t.reportAllChanges))(!0)}))}}))};e.exports=r}()},79423: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/"))}},80676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.getProperError=function(e){if(a(e))return e;0;return new Error(n.isPlainObject(e)?JSON.stringify(e):e+"")};var n=r(19125);function a(e){return"object"===typeof e&&null!==e&&"name"in e&&"message"in e}}},function(e){e.O(0,[9774],(function(){return t=14642,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.