a(c,t))e[r]=c,e[s]=t,r=s;else break e}}return n}function a(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var u,o=performance;n.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();n.unstable_now=function(){return i.now()-s}}var c=[],f=[],d=1,p=null,m=3,h=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,k="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var n=r(f);null!==n;){if(null===n.callback)l(f);else if(n.startTime<=e)l(f),n.sortIndex=n.expirationTime,t(c,n);else break;n=r(f)}}function S(e){if(v=!1,w(e),!g){if(null!==r(c))g=!0,M(x);else{var n=r(f);null!==n&&F(S,n.startTime-e)}}}function x(e,t){g=!1,v&&(v=!1,b(C),C=-1),h=!0;var a=m;try{for(w(t),p=r(c);null!==p&&(!(p.expirationTime>t)||e&&!z());){var u=p.callback;if("function"==typeof u){p.callback=null,m=p.priorityLevel;var o=u(p.expirationTime<=t);t=n.unstable_now(),"function"==typeof o?p.callback=o:p===r(c)&&l(c),w(t)}else l(c);p=r(c)}if(null!==p)var i=!0;else{var s=r(f);null!==s&&F(S,s.startTime-t),i=!1}return i}finally{p=null,m=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,_=null,C=-1,P=5,N=-1;function z(){return!(n.unstable_now()-Ne||125u?(e.sortIndex=a,t(f,e),null===r(c)&&e===r(f)&&(v?(b(C),C=-1):v=!0,F(S,a-u))):(e.sortIndex=o,t(c,e),g||h||(g=!0,M(x))),e},n.unstable_shouldYield=z,n.unstable_wrapCallback=function(e){var n=m;return function(){var t=m;m=n;try{return e.apply(this,arguments)}finally{m=t}}}},3840:function(e,n,t){e.exports=t(53)}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/main-0d29989a2d11ebf8.js b/_next/static/chunks/main-0d29989a2d11ebf8.js
deleted file mode 100644
index 30e4372..0000000
--- a/_next/static/chunks/main-0d29989a2d11ebf8.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{932:function(e,t){"use strict";function r(e,t,r,n,a,o,i){try{var l=e[o](i),s=l.value}catch(e){r(e);return}l.done?t(s):Promise.resolve(s).then(n,a)}function n(e){return function(){var t=this,n=arguments;return new Promise(function(a,o){var i=e.apply(t,n);function l(e){r(i,a,o,l,s,"next",e)}function s(e){r(i,a,o,l,s,"throw",e)}l(void 0)})}}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return n}})},6495:function(e,t){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0||(a[r]=e[r]);return a}Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return r}})},37: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},{})})},3468:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBasePath=function(e,t){return a.normalizePathTrailingSlash(n.addPathPrefix(e,""))};var n=r(4135),a=r(2700);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4465:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=void 0,r(2700),t.addLocale=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'.concat(e.props["data-href"],'"]')))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let r=t.title?t.title[0]:null,o="";if(r){let{children:e}=r.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{(function(e,t){let r=document.getElementsByTagName("head")[0],o=r.querySelector("meta[name=next-head-count]"),i=Number(o.content),l=[];for(let t=0,r=o.previousElementSibling;t{for(let t=0,r=l.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),u.forEach(e=>r.insertBefore(e,o)),o.content=(i-l.length+u.length).toString()})(e,t[e]||[])})}}},t.isEqualNode=a,t.DOMAttributeNames=void 0;let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function n(e){let{type:t,props:n}=e,a=document.createElement(t);for(let e in n){if(!n.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===n[e])continue;let o=r[e]||e.toLowerCase();"script"===t&&("async"===o||"defer"===o||"noModule"===o)?a[o]=!!n[e]:a.setAttribute(o,n[e])}let{children:o,dangerouslySetInnerHTML:i}=n;return i?a.innerHTML=i.__html||"":o&&(a.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):""),a}function a(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}t.DOMAttributeNames=r,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4534:function(e,t,r){"use strict";let n,a,o,i,l,s,u,c,d,f,p,h;Object.defineProperty(t,"__esModule",{value:!0});let m=r(1598).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.initialize=function(){return V.apply(this,arguments)},t.hydrate=function(e){return es.apply(this,arguments)},t.emitter=t.router=t.version=void 0;var g=r(932).Z,y=r(6495).Z,v=r(2648).Z;r(1598).Z,r(37);var _=v(r(7294)),P=v(r(745)),b=r(4664),S=v(r(8550)),w=r(2692),E=r(4146),x=r(6238),j=r(4919),C=r(6949),O=r(670),R=r(7345),M=v(r(1831)),A=v(r(976)),L=v(r(659)),T=r(8483),I=r(880),N=r(676),k=r(8730),D=r(2813),B=r(928),U=r(8245),H=r(401),F=r(8914),q=v(r(6954));t.version="13.2.1",t.router=n;let W=S.default();t.emitter=W;let Z=e=>[].slice.call(e),z=!1;self.__next_require__=r;class G extends _.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(a.isFallback||a.nextExport&&(x.isDynamicRoute(n.pathname)||location.search||z)||a.props&&a.props.__N_SSG&&(location.search||z))&&n.replace(n.pathname+"?"+String(j.assign(j.urlQueryToSearchParams(n.query),new URLSearchParams(location.search))),o,{_h:1,shallow:!a.isFallback&&!z}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}function V(){return(V=g(function*(){arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=a,h=a.defaultLocale;let e=a.assetPrefix||"";if(r.p="".concat(e,"/_next/"),C.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:a.runtimeConfig||{}}),o=O.getURL(),B.hasBasePath(o)&&(o=D.removeBasePath(o)),a.scriptLoader){let{initScriptLoader:e}=r(3573);e(a.scriptLoader)}i=new A.default(a.buildId,e);let t=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>t(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=t,(s=M.default()).getIsSsr=()=>n.isSsr,l=document.getElementById("__next"),{assetPrefix:e}})).apply(this,arguments)}function X(e,t){return _.default.createElement(e,Object.assign({},t))}function Y(e){var t;let{children:r}=e;return _.default.createElement(G,{fn:e=>K({App:d,err:e}).catch(e=>console.error("Error rendering page: ",e))},_.default.createElement(U.AppRouterContext.Provider,{value:H.adaptForAppRouterInstance(n)},_.default.createElement(F.SearchParamsContext.Provider,{value:H.adaptForSearchParams(n)},_.default.createElement(H.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t},_.default.createElement(w.RouterContext.Provider,{value:I.makePublicRouterInstance(n)},_.default.createElement(b.HeadManagerContext.Provider,{value:s},_.default.createElement(k.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:!0}},r)))))))}let $=e=>t=>{let r=y({},t,{Component:p,err:a.err,router:n});return _.default.createElement(Y,null,X(e,r))};function K(e){let{App:t,err:l}=e;return console.error(l),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:a,styleSheets:o}=n;return(null==u?void 0:u.Component)===a?Promise.resolve().then(()=>m(r(67))).then(n=>Promise.resolve().then(()=>m(r(4297))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:a,styleSheets:o}}).then(r=>{var i;let{ErrorComponent:s,styleSheets:u}=r,c=$(t),d={Component:s,AppTree:c,router:n,ctx:{err:l,pathname:a.page,query:a.query,asPath:o,AppTree:c}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:O.loadGetInitialProps(t,d)).then(t=>eo(y({},e,{err:l,Component:s,styleSheets:u,props:t})))})}function J(e){let{callback:t}=e;return _.default.useLayoutEffect(()=>t(),[t]),null}let Q=null,ee=!0;function et(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach(e=>performance.clearMarks(e))}function er(){O.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),f&&performance.getEntriesByName("Next.js-hydration").forEach(f),et())}function en(){if(!O.ST)return;performance.mark("afterRender");let e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),f&&(performance.getEntriesByName("Next.js-render").forEach(f),performance.getEntriesByName("Next.js-route-change-to-render").forEach(f)),et(),["Next.js-route-change-to-render","Next.js-render"].forEach(e=>performance.clearMeasures(e)))}function ea(e){let{callbacks:t,children:r}=e;return _.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),_.default.useEffect(()=>{L.default(f)},[]),r}function eo(e){let t,{App:r,Component:a,props:o,err:i}=e,s="initial"in e?void 0:e.styleSheets;a=a||u.Component,o=o||u.props;let d=y({},o,{Component:a,err:i,router:n});u=d;let f=!1,p=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{f=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function h(){t()}!function(){if(!s)return;let e=Z(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map(e=>e.getAttribute("data-n-href"))),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");s.forEach(e=>{let{href:r,text:a}=e;if(!t.has(r)){let e=document.createElement("style");e.setAttribute("data-n-href",r),e.setAttribute("media","x"),n&&e.setAttribute("nonce",n),document.head.appendChild(e),e.appendChild(document.createTextNode(a))}})}();let m=_.default.createElement(_.default.Fragment,null,_.default.createElement(J,{callback:function(){if(s&&!f){let e=new Set(s.map(e=>e.href)),t=Z(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n{let{href:t}=e,r=document.querySelector('style[data-n-href="'.concat(t,'"]'));r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),Z(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;E.handleSmoothScroll(()=>{window.scrollTo(t,r)})}}}),_.default.createElement(Y,null,X(r,d),_.default.createElement(R.Portal,{type:"next-route-announcer"},_.default.createElement(T.RouteAnnouncer,null))));return!function(e,t){O.ST&&performance.mark("beforeRender");let r=t(ee?er:en);if(Q){let e=_.default.startTransition;e(()=>{Q.render(r)})}else Q=P.default.hydrateRoot(e,r,{onRecoverableError:q.default}),ee=!1}(l,e=>_.default.createElement(ea,{callbacks:[e,h]},_.default.createElement(_.default.StrictMode,null,m))),p}function ei(e){return el.apply(this,arguments)}function el(){return(el=g(function*(e){if(e.err){yield K(e);return}try{yield eo(e)}catch(r){let t=N.getProperError(r);if(t.cancelled)throw t;yield K(y({},e,{err:t}))}})).apply(this,arguments)}function es(){return(es=g(function*(e){let r=a.err;try{let e=yield i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;d=t,r&&r.reportWebVitals&&(f=e=>{let t,{id:n,name:a,startTime:o,value:i,duration:l,entryType:s,entries:u,attribution:c}=e,d="".concat(Date.now(),"-").concat(Math.floor(Math.random()*(9e12-1))+1e12);u&&u.length&&(t=u[0].startTime);let f={id:n||d,name:a,startTime:o||t,value:null==i?l:i,label:"mark"===s||"measure"===s?"custom":"web-vital"};c&&(f.attribution=c),r.reportWebVitals(f)});let n=yield i.routeLoader.whenEntrypoint(a.page);if("error"in n)throw n.error;p=n.component}catch(e){r=N.getProperError(e)}window.__NEXT_PRELOADREADY&&(yield window.__NEXT_PRELOADREADY(a.dynamicIds)),t.router=n=I.createRouter(a.page,a.query,o,{initialProps:a.props,pageLoader:i,App:d,Component:p,wrapApp:$,err:r,isFallback:Boolean(a.isFallback),subscription:(e,t,r)=>ei(Object.assign({},e,{App:t,scroll:r})),locale:a.locale,locales:a.locales,defaultLocale:h,domainLocales:a.domainLocales,isPreview:a.isPreview}),z=yield n._initialMatchesMiddlewarePromise;let l={App:d,initial:!0,Component:p,props:a.props,err:r};(null==e?void 0:e.beforeRender)&&(yield e.beforeRender()),ei(l)})).apply(this,arguments)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1783:function(e,t,r){"use strict";var n=r(4534);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},n.initialize({}).then(()=>n.hydrate()).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2700:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathTrailingSlash=void 0;var n=r(12),a=r(6727);let o=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:o}=a.parsePath(e);return"".concat(n.removeTrailingSlash(t)).concat(r).concat(o)};t.normalizePathTrailingSlash=o,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6954:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.digest||t.digest,a="function"==typeof reportError?reportError:e=>{window.console.error(e)};r!==n.NEXT_DYNAMIC_NO_SSR_CODE&&a(e)};var n=r(5680);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},976:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(2648).Z,a=r(3468),o=r(8074),i=n(r(7929)),l=r(4465),s=r(6238),u=r(2864),c=r(12),d=r(2497);t.default=class{getPageList(){return d.getClientBuildManifest().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:d,query:f,search:p}=u.parseRelativeUrl(r),{pathname:h}=u.parseRelativeUrl(t),m=c.removeTrailingSlash(d);if("/"!==m[0])throw Error('Route name should start with a "/", got "'.concat(m,'"'));return(e=>{let t=i.default(c.removeTrailingSlash(l.addLocale(e,n)),".json");return a.addBasePath("/_next/data/".concat(this.buildId).concat(t).concat(p),!0)})(e.skipInterpolation?h:s.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)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},659:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let a=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let o=!1;function i(e){n&&n(e)}var l=e=>{if(n=e,!o)for(let e of(o=!0,a))try{let t;t||(t=r(8018)),t["on".concat(e)](i)}catch(t){console.warn("Failed to track ".concat(e," web-vital"),t)}};t.default=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7345:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Portal=void 0;var n=r(7294),a=r(3935);let o=e=>{let{children:t,type:r}=e,[o,i]=n.useState(null);return n.useEffect(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),o?a.createPortal(t,o):null};t.Portal=o,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2813:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeBasePath=function(e){return(e=e.slice(0)).startsWith("/")||(e="/".concat(e)),e},r(928),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6876:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeLocale=function(e,t){return e},r(6727),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4686:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cancelIdleCallback=t.requestIdleCallback=void 0;let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)};t.requestIdleCallback=r;let n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};t.cancelIdleCallback=n,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8483:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RouteAnnouncer=void 0;var n=(0,r(2648).Z)(r(7294)),a=r(880);let o={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},i=()=>{let{asPath:e}=a.useRouter(),[t,r]=n.default.useState(""),i=n.default.useRef(e);return n.default.useEffect(()=>{if(i.current!==e){if(i.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1"),a=null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent;r(a||e)}}},[e]),n.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:o},t)};t.RouteAnnouncer=i,t.default=i,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2497:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.markAssetError=l,t.isAssetError=function(e){return e&&i in e},t.getClientBuildManifest=c,t.createRouteLoader=function(e){let t=new Map,r=new Map,n=new Map,i=new Map;function c(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'.concat(e,'"]'))?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(l(Error("Failed to load script: ".concat(e)))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}function f(e){let t=n.get(e);return t||n.set(e,t=fetch(e).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: ".concat(e));return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw l(e)})),t}return{whenEntrypoint:e=>o(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),i.delete(e))})},loadRoute(r,n){return o(r,i,()=>{let a;return u(d(e,r).then(e=>{let{scripts:n,css:a}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(c)),Promise.all(a.map(f))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,l(Error("Route did not complete loading: ".concat(r)))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==a?void 0:a())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():d(e,t).then(e=>Promise.all(s?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,a)=>{let o='\n link[rel="prefetch"][href^="'.concat(t,'"],\n link[rel="preload"][href^="').concat(t,'"],\n script[src^="').concat(t,'"]');if(document.querySelector(o))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>a(l(Error("Failed to prefetch: ".concat(t)))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{a.requestIdleCallback(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}},(0,r(2648).Z)(r(7929));var n=r(5407),a=r(4686);function o(e,t,r){let n,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let o=new Promise(e=>{n=e});return t.set(e,a={resolve:n,future:o}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):o}let i=Symbol("ASSET_LOAD_ERROR");function l(e){return Object.defineProperty(e,i,{})}let s=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}();function u(e,t,r){return new Promise((n,o)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(o),a.requestIdleCallback(()=>setTimeout(()=>{i||o(r)},t))})}function c(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return u(e,3800,l(Error("Failed to load client build manifest")))}function d(e,t){return c().then(r=>{if(!(t in r))throw l(Error("Failed to lookup route: ".concat(t)));let a=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:a.filter(e=>e.endsWith(".js")).map(e=>n.__unsafeCreateTrustedScriptURL(e)),css:a.filter(e=>e.endsWith(".css"))}})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},880:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Router",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"withRouter",{enumerable:!0,get:function(){return s.default}}),t.useRouter=function(){let e=a.default.useContext(i.RouterContext);if(!e)throw Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return e},t.createRouter=function(){for(var e=arguments.length,t=Array(e),r=0;re()),u.readyCallbacks=[],u.router},t.makePublicRouterInstance=function(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=o.default.events,d.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),a=0;ao.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get(){let t=f();return t[e]}})}),d.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{u.ready(()=>{o.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;n{let t=e.id||e.getAttribute("src");p.add(t)})}()},t.default=void 0;var n=r(6495).Z,a=r(2648).Z,o=r(1598).Z,i=r(7273).Z,l=a(r(3935)),s=o(r(7294)),u=r(4664),c=r(1831),d=r(4686);let f=new Map,p=new Set,h=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy"],m=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:i="",strategy:l="afterInteractive",onError:s}=e,u=r||t;if(u&&p.has(u))return;if(f.has(t)){p.add(u),f.get(t).then(n,s);return}let d=()=>{a&&a(),p.add(u)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),n&&n.call(this,t),d()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){s&&s(e)});for(let[r,n]of(o?(m.innerHTML=o.__html||"",d()):i?(m.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",d()):t&&(m.src=t,f.set(t,g)),Object.entries(e))){if(void 0===n||h.includes(r))continue;let e=c.DOMAttributeNames[r]||r.toLowerCase();m.setAttribute(e,n)}"worker"===l&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",l),document.body.appendChild(m)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{d.requestIdleCallback(()=>m(e))}):m(e)}function y(e){let{id:t,src:r="",onLoad:a=()=>{},onReady:o=null,strategy:c="afterInteractive",onError:f}=e,h=i(e,["id","src","onLoad","onReady","strategy","onError"]),{updateScripts:g,scripts:y,getIsSsr:v,appDir:_,nonce:P}=s.useContext(u.HeadManagerContext),b=s.useRef(!1);s.useEffect(()=>{let e=t||r;b.current||(o&&e&&p.has(e)&&o(),b.current=!0)},[o,t,r]);let S=s.useRef(!1);if(s.useEffect(()=>{!S.current&&("afterInteractive"===c?m(e):"lazyOnload"===c&&("complete"===document.readyState?d.requestIdleCallback(()=>m(e)):window.addEventListener("load",()=>{d.requestIdleCallback(()=>m(e))})),S.current=!0)},[e,c]),("beforeInteractive"===c||"worker"===c)&&(g?(y[c]=(y[c]||[]).concat([n({id:t,src:r,onLoad:a,onReady:o,onError:f},h)]),g(y)):v&&v()?p.add(t||r):v&&!v()&&m(e)),_){if("beforeInteractive"===c)return r?(l.default.preload(r,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"}),s.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),s.default.createElement("script",{nonce:P,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push(".concat(JSON.stringify([0,n({},h)]),")")}}));"afterInteractive"===c&&r&&l.default.preload(r,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"})}return null}Object.defineProperty(y,"__nextScript",{value:!0}),t.default=y,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5407:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.__unsafeCreateTrustedScriptURL=function(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9977:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t){return n.default.createElement(e,Object.assign({router:a.useRouter()},t))}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t};var n=(0,r(2648).Z)(r(7294)),a=r(880);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4297:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=r(932).Z,o=(0,r(2648).Z)(r(7294)),i=r(670);function l(e){return s.apply(this,arguments)}function s(){return(s=a(function*(e){let{Component:t,ctx:r}=e,n=yield i.loadGetInitialProps(t,r);return{pageProps:n}})).apply(this,arguments)}class u extends(n=o.default.Component){render(){let{Component:e,pageProps:t}=this.props;return o.default.createElement(e,Object.assign({},t))}}u.origGetInitialProps=l,u.getInitialProps=l,t.default=u,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=r(2648).Z,o=a(r(7294)),i=a(r(3121));let l={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function s(e){let{res:t,err:r}=e,n=t&&t.statusCode?t.statusCode:r?r.statusCode:404;return{statusCode:n}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block",textAlign:"left"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};class c extends(n=o.default.Component){render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||l[e]||"An unexpected error has occurred";return o.default.createElement("div",{style:u.error},o.default.createElement(i.default,null,o.default.createElement("title",null,e?"".concat(e,": ").concat(r):"Application error: a client-side exception has occurred")),o.default.createElement("div",null,o.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}".concat(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?o.default.createElement("h1",{className:"next-error-h1",style:u.h1},e):null,o.default.createElement("div",{style:u.desc},o.default.createElement("h2",{style:u.h2},this.props.title||e?r:o.default.createElement(o.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}c.displayName="ErrorPage",c.getInitialProps=s,c.origGetInitialProps=s,t.default=c,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},610:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;var n=(0,r(2648).Z)(r(7294));let a=n.default.createContext({});t.AmpStateContext=a},532: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}},8245:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=t.CacheStates=void 0;var n,a,o=(0,r(2648).Z)(r(7294));t.CacheStates=n,(a=n||(t.CacheStates=n={})).LAZY_INITIALIZED="LAZYINITIALIZED",a.DATA_FETCH="DATAFETCH",a.READY="READY";let i=o.default.createContext(null);t.AppRouterContext=i;let l=o.default.createContext(null);t.LayoutRouterContext=l;let s=o.default.createContext(null);t.GlobalLayoutRouterContext=s;let u=o.default.createContext(null);t.TemplateContext=u},8659:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeStringRegexp=function(e){return r.test(e)?e.replace(n,"\\$&"):e};let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g},4664:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadManagerContext=void 0;var n=(0,r(2648).Z)(r(7294));let a=n.default.createContext({});t.HeadManagerContext=a},3121:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=c,t.default=void 0;var n=r(6495).Z,a=r(2648).Z,o=(0,r(1598).Z)(r(7294)),i=a(r(1436)),l=r(610),s=r(4664),u=r(532);function c(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(7238);let f=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(c(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return a=>{let o=!0,i=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){i=!0;let t=a.key.slice(a.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(a.type){case"title":case"base":t.has(a.type)?o=!1:t.add(a.type);break;case"meta":for(let e=0,t=f.length;e{let a=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t=n({},e.props||{});return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:a})})}t.default=function(e){let{children:t}=e,r=o.useContext(l.AmpStateContext),n=o.useContext(s.HeadManagerContext);return o.default.createElement(i.default,{reduceComponentsToState:p,headManager:n,inAmpMode:u.isInAmpMode(r)},t)},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8914: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(7294);let a=n.createContext(null);t.SearchParamsContext=a;let o=n.createContext(null);t.PathnameContext=o;let i=n.createContext(null);t.ParamsContext=i;let l=n.createContext(null);t.LayoutSegmentsContext=l},4769:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=function(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}},8730:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageConfigContext=void 0;var n=(0,r(2648).Z)(r(7294)),a=r(139);let o=n.default.createContext(a.imageConfigDefault);t.ImageConfigContext=o},139:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageConfigDefault=t.VALID_LOADERS=void 0,t.VALID_LOADERS=["default","imgix","cloudinary","akamai","custom"],t.imageConfigDefault={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},2849:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectClassLabel=r,t.isPlainObject=function(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},5680: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"},8550:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a{e(...n)})}}}},6301: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(8588),a=r(9997)},9997:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathSep=function(e){return e.replace(/\\/g,"/")}},2692:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RouterContext=void 0;var n=(0,r(2648).Z)(r(7294));let a=n.default.createContext(null);t.RouterContext=a},401:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adaptForAppRouterInstance=function(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},push(t){e.push(t)},replace(t){e.replace(t)},prefetch(t){e.prefetch(t)}}},t.adaptForSearchParams=function(e){return e.isReady&&e.query?function(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,e);else void 0!==n&&t.append(r,n);return t}(e.query):new URLSearchParams},t.PathnameContextProviderAdapter=function(e){var{children:t,router:r}=e,n=a(e,["children","router"]);let s=o.useRef(n.isAutoExport),u=o.useMemo(()=>{let e;let t=s.current;if(t&&(s.current=!1),l.isDynamicRoute(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return o.default.createElement(i.PathnameContext.Provider,{value:u},t)};var n=r(1598).Z,a=r(7273).Z,o=n(r(7294)),i=r(8914),l=r(8588)},1003:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchesMiddleware=D,t.createKey=V,t.default=void 0;var n=r(932).Z,a=r(6495).Z,o=r(2648).Z,i=r(1598).Z,l=r(12),s=r(2497),u=r(3573),c=i(r(676)),d=r(6301),f=r(4769),p=o(r(8550)),h=r(670),m=r(6238),g=r(2864);o(r(2431));var y=r(3156),v=r(4903),_=r(7795);r(4643);var P=r(6727),b=r(4465),S=r(6876),w=r(2813),E=r(3468),x=r(928),j=r(9423),C=r(8756),O=r(7429),R=r(9002),M=r(2139),A=r(1754),L=r(7562),T=r(1978),I=r(8074),N=r(4146);function k(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}function D(e){return B.apply(this,arguments)}function B(){return(B=n(function*(e){let t=yield Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=P.parsePath(e.asPath),n=x.hasBasePath(r)?w.removeBasePath(r):r,a=E.addBasePath(b.addLocale(n,e.locale));return t.some(e=>RegExp(e.regexp).test(a))})).apply(this,arguments)}function U(e){let t=h.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function H(e,t,r){let[n,a]=T.resolveHref(e,t,!0),o=h.getLocationOrigin(),i=n.startsWith(o),l=a&&a.startsWith(o);n=U(n),a=a?U(a):a;let s=i?n:E.addBasePath(n),u=r?U(T.resolveHref(e,r)):a||n;return{url:s,as:l?u:E.addBasePath(u)}}function F(e,t){let r=l.removeTrailingSlash(d.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if(m.isDynamicRoute(t)&&v.getRouteRegex(t).re.test(r))return e=t,!0}),l.removeTrailingSlash(e))}function q(e){return W.apply(this,arguments)}function W(){return(W=n(function*(e){let t=yield D(e);if(!t||!e.fetchData)return null;try{let t=yield e.fetchData(),r=yield function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:Boolean(!1)},o=t.headers.get("x-nextjs-rewrite"),i=o||t.headers.get("x-nextjs-matched-path"),u=t.headers.get("x-matched-path");if(!u||i||u.includes("__next_data_catchall")||u.includes("/_error")||u.includes("/404")||(i=u),i){if(i.startsWith("/")){let t=g.parseRelativeUrl(i),a=C.getNextPathnameInfo(t.pathname,{nextConfig:n,parseData:!0}),u=l.removeTrailingSlash(a.pathname);return Promise.all([r.router.pageLoader.getPageList(),s.getClientBuildManifest()]).then(n=>{let[i,{__rewrites:l}]=n,s=b.addLocale(a.pathname,a.locale);if(m.isDynamicRoute(s)||!o&&i.includes(f.normalizeLocalePath(w.removeBasePath(s),r.router.locales).pathname)){let r=C.getNextPathnameInfo(g.parseRelativeUrl(e).pathname,{parseData:!0});s=E.addBasePath(r.pathname),t.pathname=s}if(!i.includes(u)){let e=F(u,i);e!==u&&(u=e)}let c=i.includes(u)?u:F(f.normalizeLocalePath(w.removeBasePath(t.pathname),r.router.locales).pathname,i);if(m.isDynamicRoute(c)){let e=y.getRouteMatcher(v.getRouteRegex(c))(s);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:c}})}let t=P.parsePath(e),u=O.formatNextPathnameInfo(a({},C.getNextPathnameInfo(t.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-external",destination:"".concat(u).concat(t.query).concat(t.hash)})}let c=t.headers.get("x-nextjs-redirect");if(c){if(c.startsWith("/")){let e=P.parsePath(c),t=O.formatNextPathnameInfo(a({},C.getNextPathnameInfo(e.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-internal",newAs:"".concat(t).concat(e.query).concat(e.hash),newUrl:"".concat(t).concat(e.query).concat(e.hash)})}return Promise.resolve({type:"redirect-external",destination:c})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}catch(e){return null}})).apply(this,arguments)}let Z=Symbol("SSG_DATA_NOT_FOUND");function z(e){try{return JSON.parse(e)}catch(e){return null}}function G(e){var t;let{dataHref:r,inflightCache:n,isPrefetch:a,hasMiddleware:o,isServerRender:i,parseJSON:l,persistCache:u,isBackground:c,unstable_skipClientCache:d}=e,{href:f}=new URL(r,window.location.href),p=e=>(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&r>1&&a.status>=500?e(t,r-1,n):a)})(r,i?3:1,{headers:Object.assign({},a?{purpose:"prefetch"}:{},a&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then(t=>t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:f}:t.text().then(e=>{if(!t.ok){if(o&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:f};if(!o&&404===t.status){var n;if(null==(n=z(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:Z},response:t,text:e,cacheKey:f}}let a=Error("Failed to load static props");throw i||s.markAssetError(a),a}return{dataHref:r,json:l?z(e):null,response:t,text:e,cacheKey:f}})).then(e=>(u&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[f],e)).catch(e=>{throw d||delete n[f],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&s.markAssetError(e),e});return d&&u?p({}).then(e=>(n[f]=Promise.resolve(e),e)):void 0!==n[f]?n[f]:n[f]=p(c?{method:"HEAD"}:{})}function V(){return Math.random().toString(36).slice(2,10)}function X(e){let{url:t,router:r}=e;if(t===E.addBasePath(b.addLocale(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL ".concat(t," ").concat(location.href));window.location.href=t}let Y=e=>{let{route:t,router:r}=e,n=!1,a=r.clc=()=>{n=!0},o=()=>{if(n){let e=Error('Abort fetching component for route: "'.concat(t,'"'));throw e.cancelled=!0,e}a===r.clc&&(r.clc=null)};return o};class ${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}=H(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}=H(this,e,t),this.change("replaceState",e,t,r)}change(e,t,r,o,i){var d=this;return n(function*(){let n,f;if(!M.isLocalURL(t))return X({url:t,router:d}),!1;let p=1===o._h,j=p||o._shouldResolveHref||P.parsePath(t).pathname===P.parsePath(r).pathname,C=a({},d.state),O=!0!==d.isReady;d.isReady=!0;let A=d.isSsr;if(p||(d.isSsr=!1),p&&d.clc)return!1;let T=C.locale;h.ST&&performance.mark("routeChange");let{shallow:N=!1,scroll:B=!0}=o,U={shallow:N};d._inFlightRoute&&d.clc&&(A||$.events.emit("routeChangeError",k(),d._inFlightRoute,U),d.clc(),d.clc=null),r=E.addBasePath(b.addLocale(x.hasBasePath(r)?w.removeBasePath(r):r,o.locale,d.defaultLocale));let q=S.removeLocale(x.hasBasePath(r)?w.removeBasePath(r):r,C.locale);d._inFlightRoute=r;let W=T!==C.locale;if(!p&&d.onlyAHashChange(q)&&!W){C.asPath=q,$.events.emit("hashChangeStart",r,U),d.changeState(e,t,r,a({},o,{scroll:!1})),B&&d.scrollToHash(q);try{yield d.set(C,d.components[C.route],null)}catch(e){throw c.default(e)&&e.cancelled&&$.events.emit("routeChangeError",e,q,U),e}return $.events.emit("hashChangeComplete",r,U),!0}let z=g.parseRelativeUrl(t),{pathname:G,query:V}=z;try{[n,{__rewrites:f}]=yield Promise.all([d.pageLoader.getPageList(),s.getClientBuildManifest(),d.pageLoader.getMiddleware()])}catch(e){return X({url:r,router:d}),!1}d.urlIsNew(q)||W||(e="replaceState");let Y=r;G=G?l.removeTrailingSlash(w.removeBasePath(G)):G;let K=l.removeTrailingSlash(G),J=r.startsWith("/")&&g.parseRelativeUrl(r).pathname,Q=!!(J&&K!==J&&(!m.isDynamicRoute(K)||!y.getRouteMatcher(v.getRouteRegex(K))(J))),ee=!o.shallow&&(yield D({asPath:r,locale:C.locale,router:d}));if(p&&ee&&(j=!1),j&&"/_error"!==G&&(o._shouldResolveHref=!0,z.pathname=F(G,n),z.pathname===G||(G=z.pathname,z.pathname=E.addBasePath(G),ee||(t=_.formatWithValidation(z)))),!M.isLocalURL(r))return X({url:r,router:d}),!1;Y=S.removeLocale(w.removeBasePath(Y),C.locale),K=l.removeTrailingSlash(G);let et=!1;if(m.isDynamicRoute(K)){let e=g.parseRelativeUrl(Y),n=e.pathname,a=v.getRouteRegex(K);et=y.getRouteMatcher(a)(n);let o=K===n,i=o?I.interpolateAs(K,n,V):{};if(et&&(!o||i.result))o?r=_.formatWithValidation(Object.assign({},e,{pathname:i.result,query:L.omit(V,i.params)})):Object.assign(V,et);else{let e=Object.keys(a.groups).filter(e=>!V[e]&&!a.groups[e].optional);if(e.length>0&&!ee)throw Error((o?"The provided `href` (".concat(t,") value is missing query values (").concat(e.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(n,") is incompatible with the `href` value (").concat(K,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(o?"href-interpolation-failed":"incompatible-href-as"))}}p||$.events.emit("routeChangeStart",r,U);let er="/404"===d.pathname||"/_error"===d.pathname;try{var en,ea,eo,ei,el,es,eu,ec;let l=yield d.getRouteInfo({route:K,pathname:G,query:V,as:r,resolvedAs:Y,routeProps:U,locale:C.locale,isPreview:C.isPreview,hasMiddleware:ee,unstable_skipClientCache:o.unstable_skipClientCache,isQueryUpdating:p&&!d.isFallback,isMiddlewareRewrite:Q});if("route"in l&&ee){K=G=l.route||K,U.shallow||(V=Object.assign({},l.query||{},V));let e=x.hasBasePath(z.pathname)?w.removeBasePath(z.pathname):z.pathname;if(et&&G!==e&&Object.keys(et).forEach(e=>{et&&V[e]===et[e]&&delete V[e]}),m.isDynamicRoute(G)){let e=!U.shallow&&l.resolvedAs?l.resolvedAs:E.addBasePath(b.addLocale(new URL(r,location.href).pathname,C.locale),!0),t=e;x.hasBasePath(t)&&(t=w.removeBasePath(t));let n=v.getRouteRegex(G),a=y.getRouteMatcher(n)(new URL(t,location.href).pathname);a&&Object.assign(V,a)}}if("type"in l){if("redirect-internal"===l.type)return d.change(e,l.newUrl,l.newAs,o);return X({url:l.destination,router:d}),new Promise(()=>{})}let s=l.Component;if(s&&s.unstable_scriptLoader){let e=[].concat(s.unstable_scriptLoader());e.forEach(e=>{u.handleClientScriptLoad(e.props)})}if((l.__N_SSG||l.__N_SSP)&&l.props){if(l.props.pageProps&&l.props.pageProps.__N_REDIRECT){o.locale=!1;let t=l.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==l.props.pageProps.__N_REDIRECT_BASE_PATH){let r=g.parseRelativeUrl(t);r.pathname=F(r.pathname,n);let{url:a,as:i}=H(d,t,t);return d.change(e,a,i,o)}return X({url:t,router:d}),new Promise(()=>{})}if(C.isPreview=!!l.props.__N_PREVIEW,l.props.notFound===Z){let e;try{yield d.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(l=yield d.getRouteInfo({route:e,pathname:e,query:V,as:r,resolvedAs:Y,routeProps:{shallow:!1},locale:C.locale,isPreview:C.isPreview}),"type"in l)throw Error("Unexpected middleware effect on /404")}}p&&"/_error"===d.pathname&&(null==(en=self.__NEXT_DATA__.props)?void 0:null==(ea=en.pageProps)?void 0:ea.statusCode)===500&&(null==(eo=l.props)?void 0:eo.pageProps)&&(l.props.pageProps.statusCode=500);let f=o.shallow&&C.route===(null!=(ei=l.route)?ei:K),h=null!=(el=o.scroll)?el:!p&&!f,_=null!=i?i:h?{x:0,y:0}:null,P=a({},C,{route:K,pathname:G,query:V,asPath:q,isFallback:!1});if(p&&er){if(l=yield d.getRouteInfo({route:d.pathname,pathname:d.pathname,query:V,as:r,resolvedAs:Y,routeProps:{shallow:!1},locale:C.locale,isPreview:C.isPreview,isQueryUpdating:p&&!d.isFallback}),"type"in l)throw Error("Unexpected middleware effect on ".concat(d.pathname));"/_error"===d.pathname&&(null==(es=self.__NEXT_DATA__.props)?void 0:null==(eu=es.pageProps)?void 0:eu.statusCode)===500&&(null==(ec=l.props)?void 0:ec.pageProps)&&(l.props.pageProps.statusCode=500);try{yield d.set(P,l,_)}catch(e){throw c.default(e)&&e.cancelled&&$.events.emit("routeChangeError",e,q,U),e}return!0}$.events.emit("beforeHistoryChange",r,U),d.changeState(e,t,r,o);let S=p&&!_&&!O&&!W&&R.compareRouterStates(P,d.state);if(!S){try{yield d.set(P,l,_)}catch(e){if(e.cancelled)l.error=l.error||e;else throw e}if(l.error)throw p||$.events.emit("routeChangeError",l.error,q,U),l.error;p||$.events.emit("routeChangeComplete",r,U),h&&/#.+$/.test(r)&&d.scrollToHash(r)}return!0}catch(e){if(c.default(e)&&e.cancelled)return!1;throw e}})()}changeState(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};("pushState"!==e||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:V()},"",r))}handleRouteInfoError(e,t,r,a,o,i){var l=this;return n(function*(){if(console.error(e),e.cancelled)throw e;if(s.isAssetError(e)||i)throw $.events.emit("routeChangeError",e,a,o),X({url:a,router:l}),k();try{let n;let{page:a,styleSheets:o}=yield l.fetchComponent("/_error"),i={props:n,Component:a,styleSheets:o,err:e,error:e};if(!i.props)try{i.props=yield l.getInitialProps(a,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return l.handleRouteInfoError(c.default(e)?e:Error(e+""),t,r,a,o,!0)}})()}getRouteInfo(e){let{route:t,pathname:r,query:o,as:i,resolvedAs:s,routeProps:u,locale:d,hasMiddleware:p,isPreview:h,unstable_skipClientCache:m,isQueryUpdating:g,isMiddlewareRewrite:y}=e;var v=this;return n(function*(){let e=t;try{var P,b,S,E;let t=Y({route:e,router:v}),c=v.components[e];if(u.shallow&&c&&v.route===e)return c;p&&(c=void 0);let x=!c||"initial"in c?void 0:c,C={dataHref:v.pageLoader.getDataHref({href:_.formatWithValidation({pathname:r,query:o}),skipInterpolation:!0,asPath:s,locale:d}),hasMiddleware:!0,isServerRender:v.isSsr,parseJSON:!0,inflightCache:g?v.sbc:v.sdc,persistCache:!h,isPrefetch:!1,unstable_skipClientCache:m,isBackground:g},O=g&&!y?null:yield q({fetchData:()=>G(C),asPath:s,locale:d,router:v}).catch(e=>{if(g)return null;throw e});if(g&&(O?O.json=self.__NEXT_DATA__.props:O={json:self.__NEXT_DATA__.props}),t(),(null==O?void 0:null==(P=O.effect)?void 0:P.type)==="redirect-internal"||(null==O?void 0:null==(b=O.effect)?void 0:b.type)==="redirect-external")return O.effect;if((null==O?void 0:null==(S=O.effect)?void 0:S.type)==="rewrite"){let t=l.removeTrailingSlash(O.effect.resolvedHref),n=yield v.pageLoader.getPageList();if((!g||n.includes(t))&&(e=t,r=O.effect.resolvedHref,o=a({},o,O.effect.parsedAs.query),s=w.removeBasePath(f.normalizeLocalePath(O.effect.parsedAs.pathname,v.locales).pathname),c=v.components[e],u.shallow&&c&&v.route===e&&!p))return a({},c,{route:e})}if(j.isAPIRoute(e))return X({url:i,router:v}),new Promise(()=>{});let R=x||(yield v.fetchComponent(e).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP}))),M=null==O?void 0:null==(E=O.response)?void 0:E.headers.get("x-middleware-skip"),A=R.__N_SSG||R.__N_SSP;M&&(null==O?void 0:O.dataHref)&&delete v.sdc[O.dataHref];let{props:L,cacheKey:T}=yield v._getData(n(function*(){if(A){if((null==O?void 0:O.json)&&!M)return{cacheKey:O.cacheKey,props:O.json};let e=(null==O?void 0:O.dataHref)?O.dataHref:v.pageLoader.getDataHref({href:_.formatWithValidation({pathname:r,query:o}),asPath:s,locale:d}),t=yield G({dataHref:e,isServerRender:v.isSsr,parseJSON:!0,inflightCache:M?{}:v.sdc,persistCache:!h,isPrefetch:!1,unstable_skipClientCache:m});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:yield v.getInitialProps(R.Component,{pathname:r,query:o,asPath:i,locale:d,locales:v.locales,defaultLocale:v.defaultLocale})}}));return R.__N_SSP&&C.dataHref&&T&&delete v.sdc[T],v.isPreview||!R.__N_SSG||g||G(Object.assign({},C,{isBackground:!0,persistCache:!1,inflightCache:v.sbc})).catch(()=>{}),L.pageProps=Object.assign({},L.pageProps),R.props=L,R.route=e,R.query=o,R.resolvedAs=s,v.components[e]=R,R}catch(e){return v.handleRouteInfoError(c.getProperError(e),r,o,i,u)}})()}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#"),[n,a]=e.split("#");return!!a&&t===n&&r===a||t===n&&r!==a}scrollToHash(e){let[,t=""]=e.split("#");if(""===t||"top"===t){N.handleSmoothScroll(()=>window.scrollTo(0,0));return}let r=decodeURIComponent(t),n=document.getElementById(r);if(n){N.handleSmoothScroll(()=>n.scrollIntoView());return}let a=document.getElementsByName(r)[0];a&&N.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(A.isBot(window.navigator.userAgent))return;let n=g.parseRelativeUrl(e),{pathname:i,query:s}=n,u=i,c=yield o.pageLoader.getPageList(),d=t,f=void 0!==r.locale?r.locale||void 0:o.locale,p=yield D({asPath:t,locale:f,router:o});n.pathname=F(n.pathname,c),m.isDynamicRoute(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(s,y.getRouteMatcher(v.getRouteRegex(n.pathname))(P.parsePath(t).pathname)||{}),p||(e=_.formatWithValidation(n)));let h=yield q({fetchData:()=>G({dataHref:o.pageLoader.getDataHref({href:_.formatWithValidation({pathname:u,query:s}),skipInterpolation:!0,asPath:d,locale:f}),hasMiddleware:!0,isServerRender:o.isSsr,parseJSON:!0,inflightCache:o.sdc,persistCache:!o.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:o});if((null==h?void 0:h.effect.type)==="rewrite"&&(n.pathname=h.effect.resolvedHref,i=h.effect.resolvedHref,s=a({},s,h.effect.parsedAs.query),d=h.effect.parsedAs.pathname,e=_.formatWithValidation(n)),(null==h?void 0:h.effect.type)==="redirect-external")return;let b=l.removeTrailingSlash(i);yield Promise.all([o.pageLoader._isSsg(b).then(t=>!!t&&G({dataHref:(null==h?void 0:h.json)?null==h?void 0:h.dataHref:o.pageLoader.getDataHref({href:e,asPath:d,locale:f}),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"](b)])})()}fetchComponent(e){var t=this;return n(function*(){let r=Y({route:e,router:t});try{let n=yield t.pageLoader.loadPage(e);return r(),n}catch(e){throw r(),e}})()}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return G({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,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:s,err:u,subscription:c,isFallback:d,locale:f,locales:p,defaultLocale:y,domainLocales:v,isPreview:P}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=V(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",_.formatWithValidation({pathname:E.addBasePath(e),query:t}),h.getURL());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:a,as:o,options:i,key:l}=n;this._key=l;let{pathname:s}=g.parseRelativeUrl(a);(!this.isSsr||o!==E.addBasePath(this.asPath)||s!==E.addBasePath(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",a,o,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let b=l.removeTrailingSlash(e);this.components={},"/_error"!==e&&(this.components[b]={Component:s,initial:!0,props:n,err:u,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:o,styleSheets:[]},this.events=$.events,this.pageLoader=a;let S=m.isDynamicRoute(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=i,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!S&&!self.location.search),this.state={route:b,pathname:e,query:t,asPath:S?e:r,isPreview:!!P,locale:void 0,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){let n={locale:f},a=h.getURL();this._initialMatchesMiddlewarePromise=D({router:this,locale:f,asPath:a}).then(o=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",o?a:_.formatWithValidation({pathname:E.addBasePath(e),query:t}),a,n),o))}window.addEventListener("popstate",this.onPopState)}}$.events=p.default(),t.default=$},4441:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=function(e,t,r,o){return t&&t!==r&&(o||!a.pathHasPrefix(e.toLowerCase(),"/".concat(t.toLowerCase()))&&!a.pathHasPrefix(e.toLowerCase(),"/api"))?n.addPathPrefix(e,"/".concat(t)):e};var n=r(4135),a=r(3210)},4135:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathPrefix=function(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=n.parsePath(e);return"".concat(t).concat(r).concat(a).concat(o)};var n=r(6727)},6074:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathSuffix=function(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=n.parsePath(e);return"".concat(r).concat(t).concat(a).concat(o)};var n=r(6727)},9002:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareRouterStates=function(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let a=r[n];if("query"===a){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let a=r[n];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}},7429:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatNextPathnameInfo=function(e){let t=i.addLocale(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=n.removeTrailingSlash(t)),e.buildId&&(t=o.addPathSuffix(a.addPathPrefix(t,"/_next/data/".concat(e.buildId)),"/"===e.pathname?"index.json":".json")),t=a.addPathPrefix(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:o.addPathSuffix(t,"/"):n.removeTrailingSlash(t)};var n=r(12),a=r(4135),o=r(6074),i=r(4441)},7795:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=o,t.formatWithValidation=function(e){return o(e)},t.urlObjectKeys=void 0;var n=(0,r(1598).Z)(r(4919));let a=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,o=e.protocol||"",i=e.pathname||"",l=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(n.urlQueryToSearchParams(s)));let c=e.search||s&&"?".concat(s)||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),"".concat(o).concat(u).concat(i).concat(c).concat(l)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"]},7929:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e);return r+t}},8756:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNextPathnameInfo=function(e,t){var r;let{basePath:i,i18n:l,trailingSlash:s}=null!=(r=t.nextConfig)?r:{},u={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};if(i&&o.pathHasPrefix(u.pathname,i)&&(u.pathname=a.removePathPrefix(u.pathname,i),u.basePath=i),!0===t.parseData&&u.pathname.startsWith("/_next/data/")&&u.pathname.endsWith(".json")){let e=u.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),t=e[0];u.pathname="index"!==e[1]?"/".concat(e.slice(1).join("/")):"/",u.buildId=t}if(l){let e=n.normalizeLocalePath(u.pathname,l.locales);u.locale=null==e?void 0:e.detectedLocale,u.pathname=(null==e?void 0:e.pathname)||u.pathname}return u};var n=r(4769),a=r(2650),o=r(3210)},4146:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleSmoothScroll=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}},8588: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(566),a=r(6238)},8074:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interpolateAs=function(e,t,r){let o="",i=a.getRouteRegex(e),l=i.groups,s=(t!==e?n.getRouteMatcher(i)(t):"")||r;o=e;let u=Object.keys(l);return u.every(e=>{let t=s[e]||"",{repeat:r,optional:n}=l[e],a="[".concat(r?"...":"").concat(e,"]");return n&&(a="".concat(t?"":"/","[").concat(a,"]")),r&&!Array.isArray(t)&&(t=[t]),(n||e in s)&&(o=o.replace(a,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:u,result:o}};var n=r(3156),a=r(4903)},1754: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)}},6238:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};let r=/\/\[[^/]+?\](?=\/|$)/},2139:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLocalURL=function(e){if(!n.isAbsoluteUrl(e))return!0;try{let t=n.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&a.hasBasePath(r.pathname)}catch(e){return!1}};var n=r(670),a=r(928)},7562:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.omit=function(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}},6727:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePath=function(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}},2864:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){let r=new URL(n.getLocationOrigin()),o=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:l,search:s,hash:u,href:c,origin:d}=new URL(e,o);if(d!==r.origin)throw Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:i,query:a.searchParamsToUrlQuery(l),search:s,hash:u,href:c.slice(r.origin.length)}};var n=r(670),a=r(4919)},3210:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathHasPrefix=function(e,t){if("string"!=typeof e)return!1;let{pathname:r}=n.parsePath(e);return r===t||r.startsWith(t+"/")};var n=r(6727)},4919:function(e,t){"use strict";function r(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t},t.urlQueryToSearchParams=function(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[n,a]=e;Array.isArray(a)?a.forEach(e=>t.append(n,r(e))):t.set(n,r(a))}),t},t.assign=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}},2650:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePathPrefix=function(e,t){if(n.pathHasPrefix(e,t)){let r=e.slice(t.length);return r.startsWith("/")?r:"/".concat(r)}return e};var n=r(3210)},12:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=function(e){return e.replace(/\/$/,"")||"/"}},1978:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveHref=function(e,t,r){let d;let f="string"==typeof t?t:a.formatWithValidation(t),p=f.match(/^[a-zA-Z]{1,}:\/\//),h=p?f.slice(p[0].length):f,m=h.split("?");if((m[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href passed to next/router: ".concat(f,", repeated forward-slashes (//) or backslashes \\ are not valid in the href"));let e=i.normalizeRepeatedSlashes(h);f=(p?p[0]:"")+e}if(!s.isLocalURL(f))return r?[f]:f;try{d=new URL(f.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){d=new URL("/","http://n")}try{let e=new URL(f,d);e.pathname=l.normalizePathTrailingSlash(e.pathname);let t="";if(u.isDynamicRoute(e.pathname)&&e.searchParams&&r){let r=n.searchParamsToUrlQuery(e.searchParams),{result:i,params:l}=c.interpolateAs(e.pathname,e.pathname,r);i&&(t=a.formatWithValidation({pathname:i,hash:e.hash,query:o.omit(r,l)}))}let i=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[f]:f}};var n=r(4919),a=r(7795),o=r(7562),i=r(670),l=r(2700),s=r(2139),u=r(6238),c=r(8074)},3156:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteMatcher=function(e){let{re:t,groups:r}=e;return e=>{let a=t.exec(e);if(!a)return!1;let o=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(e=>{let t=r[e],n=a[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(e=>o(e)):t.repeat?[o(n)]:o(n))}),i}};var n=r(670)},4903:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteRegex=s,t.getNamedRouteRegex=function(e){let t=u(e);return n({},s(e),{namedRegex:"^".concat(t.namedParameterizedRoute,"(?:/)?$"),routeKeys:t.routeKeys})},t.getNamedMiddlewareRegex=function(e,t){let{parameterizedRoute:r}=l(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/".concat(n?".*":"","$")};let{namedParameterizedRoute:a}=u(e);return{namedRegex:"^".concat(a).concat(n?"(?:(/.*)?)":"","$")}};var n=r(6495).Z,a=r(8659),o=r(12);function i(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function l(e){let t=o.removeTrailingSlash(e).slice(1).split("/"),r={},n=1;return{parameterizedRoute:t.map(e=>{if(!(e.startsWith("[")&&e.endsWith("]")))return"/".concat(a.escapeStringRegexp(e));{let{key:t,optional:a,repeat:o}=i(e.slice(1,-1));return r[t]={pos:n++,repeat:o,optional:a},o?a?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function s(e){let{parameterizedRoute:t,groups:r}=l(e);return{re:RegExp("^".concat(t,"(?:/)?$")),groups:r}}function u(e){let t,r;let n=o.removeTrailingSlash(e).slice(1).split("/"),l=(t=97,r=1,()=>{let e="";for(let n=0;n122&&(r++,t=97);return e}),s={};return{namedParameterizedRoute:n.map(e=>{if(!(e.startsWith("[")&&e.endsWith("]")))return"/".concat(a.escapeStringRegexp(e));{let{key:t,optional:r,repeat:n}=i(e.slice(1,-1)),a=t.replace(/\W/g,""),o=!1;return(0===a.length||a.length>30)&&(o=!0),isNaN(parseInt(a.slice(0,1)))||(o=!0),o&&(a=l()),s[a]=t,n?r?"(?:/(?<".concat(a,">.+?))?"):"/(?<".concat(a,">.+?)"):"/(?<".concat(a,">[^/]+?)")}}).join(""),routeKeys:s}}},566:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSortedRoutes=function(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()};class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh("".concat(e).concat(t,"/"))).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh("".concat(e,"[").concat(this.slugName,"]/"))),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'.concat(t,'" and "').concat(t,"[[...").concat(this.optionalRestSlugName,']]").'));r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh("".concat(e,"[...").concat(this.restSlugName,"]/"))),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh("".concat(e,"[[...").concat(this.optionalRestSlugName,"]]/"))),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let a=e[0];if(a.startsWith("[")&&a.endsWith("]")){let r=a.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('".concat(r,"')."));if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('".concat(r,"')."));function o(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(r,"')."));t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'.concat(r,'" repeat within a single dynamic path'));if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw Error('You cannot have the slug names "'.concat(e,'" and "').concat(r,'" differ only by non-word symbols within a single dynamic path'))}),t.push(r)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'.concat(this.restSlugName,']" and "').concat(e[0],'" ).'));o(this.optionalRestSlugName,r),this.optionalRestSlugName=r,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(e[0],'").'));o(this.restSlugName,r),this.restSlugName=r,a="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'.concat(e[0],'").'));o(this.slugName,r),this.slugName=r,a="[]"}}this.children.has(a)||this.children.set(a,new r),this.children.get(a)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}},6949:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=function(e){r=e},t.default=void 0,t.default=()=>r,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1436:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let a=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(a,e))}}if(a){var s;null==t||null==(s=t.mountedInstances)||s.add(e.children),l()}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null};var n=(0,r(1598).Z)(r(7294));let a=!1,o=a?()=>{}:n.useLayoutEffect,i=a?()=>{}:n.useEffect},670:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){let t,r=!1;return function(){for(var n=arguments.length,a=Array(n),o=0;oa.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return"".concat(e,"//").concat(t).concat(r?":"+r:"")}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function u(e,t){return c.apply(this,arguments)}function c(){return(c=n(function*(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:yield u(t.Component,t.ctx)}:{};let n=yield e.getInitialProps(t);if(r&&s(r))return n;if(!n){let t='"'.concat(l(e),'.getInitialProps()" should resolve to an object. But found "').concat(n,'" instead.');throw Error(t)}return n})).apply(this,arguments)}t.isAbsoluteUrl=o;let d="undefined"!=typeof performance;t.SP=d;let f=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);t.ST=f,t.DecodeError=class extends Error{},t.NormalizeError=class extends Error{},t.PageNotFoundError=class extends Error{constructor(e){super(),this.code="ENOENT",this.message="Cannot find module for page: ".concat(e)}},t.MissingStaticPage=class extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: ".concat(e," ").concat(t)}},t.MiddlewareNotFoundError=class extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}},7238:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.warnOnce=void 0;let r=e=>{};t.warnOnce=r},8018:function(e){var t,r,n,a,o,i,l,s,u,c,d,f,p,h,m,g,y,v,_,P,b,S,w,E,x,j,C,O,R,M,A,L,T,I,N,k,D,B,U,H,F,q,W,Z,z,G;(t={}).d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),r={},t.r(r),t.d(r,{getCLS:function(){return w},getFCP:function(){return P},getFID:function(){return M},getINP:function(){return q},getLCP:function(){return Z},getTTFB:function(){return G},onCLS:function(){return w},onFCP:function(){return P},onFID:function(){return M},onINP:function(){return q},onLCP:function(){return Z},onTTFB:function(){return G}}),s=-1,u=function(e){addEventListener("pageshow",function(t){t.persisted&&(s=t.timeStamp,e(t))},!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},d=function(){var e=c();return e&&e.activationStart||0},f=function(e,t){var r=c(),n="navigate";return s>=0?n="back-forward-cache":r&&(n=document.prerendering||d()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},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){var l;t.value>=0&&(i||n)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=(l=t.value)>r[1]?"poor":l>r[0]?"needs-improvement":"good",e(t))}},g=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},v=function(){h(function(e){g=e.timeStamp},!0)},_=function(){return g<0&&(g=y(),v(),u(function(){setTimeout(function(){g=y(),v()},0)})),{get firstHiddenTime(){return g}}},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&&(s&&s.disconnect(),e.startTime-1&&e(t)},o=f("CLS",0),i=0,l=[],s=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=l[0],r=l[l.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,l.push(e)):(i=e.value,l=[e]),i>o.value&&(o.value=i,o.entries=l,n())}})},c=p("layout-shift",s);c&&(n=m(a,o,r,t.reportAllChanges),h(function(){s(c.takeRecords()),n(!0)}),u(function(){i=0,S=-1,n=m(a,o=f("CLS",0),r,t.reportAllChanges)}))},E={passive:!0,capture:!0},x=new Date,j=function(e,t){n||(n=t,a=e,o=new Date,R(removeEventListener),C())},C=function(){if(a>=0&&a1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){j(a,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,E),removeEventListener("pointercancel",r,E)},addEventListener("pointerup",t,E),addEventListener("pointercancel",r,E)):j(a,e)}},R=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,O,E)})},M=function(e,t){t=t||{};var r,o=[100,300],l=_(),s=f("FID"),c=function(e){e.startTimet.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};H[n.id]=n,U.push(n)}U.sort(function(e,t){return t.latency-e.latency}),U.splice(10).forEach(function(e){delete H[e.id]})}},q=function(e,t){t=t||{};var r=[200,500];k();var n,a=f("INP"),o=function(e){e.forEach(function(e){e.interactionId&&F(e),"first-input"!==e.entryType||U.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||F(e)});var t,r=(t=Math.min(U.length-1,Math.floor(B()/50)),U[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&&B()>0&&(a.value=0,a.entries=[]),n(!0)}),u(function(){U=[],D=N(),n=m(e,a=f("INP"),r,t.reportAllChanges)}))},W={},Z=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();nperformance.now())return;n.entries=[o],a(!0),u(function(){(a=m(e,n=f("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r},9423: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/"))}},676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.getProperError=function(e){return a(e)?e:Error(n.isPlainObject(e)?JSON.stringify(e):e+"")};var n=r(2849);function a(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}},2431:function(){}},function(e){e.O(0,[774],function(){return e(e.s=1783)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/_next/static/chunks/main-2f8a559bf41c5649.js b/_next/static/chunks/main-2f8a559bf41c5649.js
new file mode 100644
index 0000000..7473a55
--- /dev/null
+++ b/_next/static/chunks/main-2f8a559bf41c5649.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{37: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 r=/\((.*)\)/.exec(this.toString());return r?r[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(r,n){return n=this.concat.apply([],this),r>1&&n.some(Array.isArray)?n.flat(r-1):n},Array.prototype.flatMap=function(r,n){return this.map(r,n).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(r){if("function"!=typeof r)return this.then(r,r);var n=this.constructor||Promise;return this.then(function(o){return n.resolve(r()).then(function(){return o})},function(o){return n.resolve(r()).then(function(){throw o})})}),Object.fromEntries||(Object.fromEntries=function(r){return Array.from(r).reduce(function(r,n){return r[n[0]]=n[1],r},{})}),Array.prototype.at||(Array.prototype.at=function(r){var n=Math.trunc(r)||0;if(n<0&&(n+=this.length),!(n<0||n>=this.length))return this[n]})},1417:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addBasePath",{enumerable:!0,get:function(){return addBasePath}});let l=o(7662),u=o(4005);function addBasePath(r,n){return(0,u.normalizePathTrailingSlash)((0,l.addPathPrefix)(r,""))}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},5017:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addLocale",{enumerable:!0,get:function(){return addLocale}}),o(4005);let addLocale=function(r){for(var n=arguments.length,o=Array(n>1?n-1:0),l=1;l{let n={};r.forEach(r=>{if("link"===r.type&&r.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+r.props["data-href"]+'"]'))return;r.props.href=r.props["data-href"],r.props["data-href"]=void 0}let o=n[r.type]||[];o.push(r),n[r.type]=o});let l=n.title?n.title[0]:null,u="";if(l){let{children:r}=l.props;u="string"==typeof r?r:Array.isArray(r)?r.join(""):""}u!==document.title&&(document.title=u),["meta","base","link","style","script"].forEach(r=>{o(r,n[r]||[])})}}}o=(r,n)=>{let o=document.getElementsByTagName("head")[0],l=o.querySelector("meta[name=next-head-count]"),u=Number(l.content),s=[];for(let n=0,o=l.previousElementSibling;n{for(let n=0,o=s.length;n{var n;return null==(n=r.parentNode)?void 0:n.removeChild(r)}),f.forEach(r=>o.insertBefore(r,l)),l.content=(u-s.length+f.length).toString()},("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},3567:function(r,n,o){"use strict";let l,u,s,d,f,h,g,_,y,P,b,E;Object.defineProperty(n,"__esModule",{value:!0});let S=o(1757);Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{version:function(){return J},router:function(){return l},emitter:function(){return Z},initialize:function(){return initialize},hydrate:function(){return hydrate}});let R=o(8754);o(37);let w=R._(o(7294)),O=R._(o(745)),j=o(6139),A=R._(o(6632)),M=o(5734),C=o(233),I=o(8207),x=o(6507),N=o(6286),L=o(9938),D=o(6999),k=R._(o(2714)),F=R._(o(6882)),U=R._(o(72)),H=o(4201),B=o(8355),W=o(676),q=o(5264),z=o(4209),G=o(6732),V=o(8503),X=o(1922),Y=o(3016),K=R._(o(2298)),Q=R._(o(2323)),$=R._(o(6689)),J="13.5.4",Z=(0,A.default)(),looseToArray=r=>[].slice.call(r),ee=!1;let Container=class Container extends w.default.Component{componentDidCatch(r,n){this.props.fn(r,n)}componentDidMount(){this.scrollToHash(),l.isSsr&&(u.isFallback||u.nextExport&&((0,I.isDynamicRoute)(l.pathname)||location.search||ee)||u.props&&u.props.__N_SSG&&(location.search||ee))&&l.replace(l.pathname+"?"+String((0,x.assign)((0,x.urlQueryToSearchParams)(l.query),new URLSearchParams(location.search))),s,{_h:1,shallow:!u.isFallback&&!ee}).catch(r=>{if(!r.cancelled)throw r})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:r}=location;if(!(r=r&&r.substring(1)))return;let n=document.getElementById(r);n&&setTimeout(()=>n.scrollIntoView(),0)}render(){return this.props.children}};async function initialize(r){void 0===r&&(r={}),Q.default.onSpanEnd($.default),u=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=u,E=u.defaultLocale;let n=u.assetPrefix||"";if(self.__next_set_public_path__(""+n+"/_next/"),(0,N.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:u.runtimeConfig||{}}),s=(0,L.getURL)(),(0,G.hasBasePath)(s)&&(s=(0,z.removeBasePath)(s)),u.scriptLoader){let{initScriptLoader:r}=o(7616);r(u.scriptLoader)}d=new F.default(u.buildId,n);let register=r=>{let[n,o]=r;return d.routeLoader.onEntrypoint(n,o)};return window.__NEXT_P&&window.__NEXT_P.map(r=>setTimeout(()=>register(r),0)),window.__NEXT_P=[],window.__NEXT_P.push=register,(h=(0,k.default)()).getIsSsr=()=>l.isSsr,f=document.getElementById("__next"),{assetPrefix:n}}function renderApp(r,n){return w.default.createElement(r,n)}function AppContainer(r){var n;let{children:o}=r,u=w.default.useMemo(()=>(0,X.adaptForAppRouterInstance)(l),[]);return w.default.createElement(Container,{fn:r=>renderError({App:y,err:r}).catch(r=>console.error("Error rendering page: ",r))},w.default.createElement(V.AppRouterContext.Provider,{value:u},w.default.createElement(Y.SearchParamsContext.Provider,{value:(0,X.adaptForSearchParams)(l)},w.default.createElement(X.PathnameContextProviderAdapter,{router:l,isAutoExport:null!=(n=self.__NEXT_DATA__.autoExport)&&n},w.default.createElement(Y.PathParamsContext.Provider,{value:(0,X.adaptForPathParams)(l)},w.default.createElement(M.RouterContext.Provider,{value:(0,B.makePublicRouterInstance)(l)},w.default.createElement(j.HeadManagerContext.Provider,{value:h},w.default.createElement(q.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:!0}},o))))))))}let wrapApp=r=>n=>{let o={...n,Component:b,err:u.err,router:l};return w.default.createElement(AppContainer,null,renderApp(r,o))};function renderError(r){let{App:n,err:f}=r;return console.error(f),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(l=>{let{page:u,styleSheets:s}=l;return(null==g?void 0:g.Component)===u?Promise.resolve().then(()=>S._(o(5480))).then(l=>Promise.resolve().then(()=>S._(o(9798))).then(o=>(n=o.default,r.App=n,l))).then(r=>({ErrorComponent:r.default,styleSheets:[]})):{ErrorComponent:u,styleSheets:s}}).then(o=>{var d;let{ErrorComponent:h,styleSheets:g}=o,_=wrapApp(n),y={Component:h,AppTree:_,router:l,ctx:{err:f,pathname:u.page,query:u.query,asPath:s,AppTree:_}};return Promise.resolve((null==(d=r.props)?void 0:d.err)?r.props:(0,L.loadGetInitialProps)(n,y)).then(n=>doRender({...r,err:f,Component:h,styleSheets:g,props:n}))})}function Head(r){let{callback:n}=r;return w.default.useLayoutEffect(()=>n(),[n]),null}let et={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},er={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},en=null,ea=!0;function clearMarks(){[et.beforeRender,et.afterHydrate,et.afterRender,et.routeChange].forEach(r=>performance.clearMarks(r))}function markHydrateComplete(){if(!L.ST)return;performance.mark(et.afterHydrate);let r=performance.getEntriesByName(et.beforeRender,"mark").length;r&&(performance.measure(er.beforeHydration,et.navigationStart,et.beforeRender),performance.measure(er.hydration,et.beforeRender,et.afterHydrate)),P&&performance.getEntriesByName(er.hydration).forEach(P),clearMarks()}function markRenderComplete(){if(!L.ST)return;performance.mark(et.afterRender);let r=performance.getEntriesByName(et.routeChange,"mark");if(!r.length)return;let n=performance.getEntriesByName(et.beforeRender,"mark").length;n&&(performance.measure(er.routeChangeToRender,r[0].name,et.beforeRender),performance.measure(er.render,et.beforeRender,et.afterRender),P&&(performance.getEntriesByName(er.render).forEach(P),performance.getEntriesByName(er.routeChangeToRender).forEach(P))),clearMarks(),[er.routeChangeToRender,er.render].forEach(r=>performance.clearMeasures(r))}function Root(r){let{callbacks:n,children:o}=r;return w.default.useLayoutEffect(()=>n.forEach(r=>r()),[n]),w.default.useEffect(()=>{(0,U.default)(P)},[]),o}function doRender(r){let n,{App:o,Component:u,props:s,err:d}=r,h="initial"in r?void 0:r.styleSheets;u=u||g.Component,s=s||g.props;let y={...s,Component:u,err:d,router:l};g=y;let P=!1,b=new Promise((r,o)=>{_&&_(),n=()=>{_=null,r()},_=()=>{P=!0,_=null;let r=Error("Cancel rendering route");r.cancelled=!0,o(r)}});function onRootCommit(){n()}!function(){if(!h)return;let r=looseToArray(document.querySelectorAll("style[data-n-href]")),n=new Set(r.map(r=>r.getAttribute("data-n-href"))),o=document.querySelector("noscript[data-n-css]"),l=null==o?void 0:o.getAttribute("data-n-css");h.forEach(r=>{let{href:o,text:u}=r;if(!n.has(o)){let r=document.createElement("style");r.setAttribute("data-n-href",o),r.setAttribute("media","x"),l&&r.setAttribute("nonce",l),document.head.appendChild(r),r.appendChild(document.createTextNode(u))}})}();let E=w.default.createElement(w.default.Fragment,null,w.default.createElement(Head,{callback:function(){if(h&&!P){let r=new Set(h.map(r=>r.href)),n=looseToArray(document.querySelectorAll("style[data-n-href]")),o=n.map(r=>r.getAttribute("data-n-href"));for(let l=0;l{let{href:n}=r,o=document.querySelector('style[data-n-href="'+n+'"]');o&&(l.parentNode.insertBefore(o,l.nextSibling),l=o)}),looseToArray(document.querySelectorAll("link[data-n-p]")).forEach(r=>{r.parentNode.removeChild(r)})}if(r.scroll){let{x:n,y:o}=r.scroll;(0,C.handleSmoothScroll)(()=>{window.scrollTo(n,o)})}}}),w.default.createElement(AppContainer,null,renderApp(o,y),w.default.createElement(D.Portal,{type:"next-route-announcer"},w.default.createElement(H.RouteAnnouncer,null))));return!function(r,n){L.ST&&performance.mark(et.beforeRender);let o=n(ea?markHydrateComplete:markRenderComplete);if(en){let r=w.default.startTransition;r(()=>{en.render(o)})}else en=O.default.hydrateRoot(r,o,{onRecoverableError:K.default}),ea=!1}(f,r=>w.default.createElement(Root,{callbacks:[r,onRootCommit]},w.default.createElement(w.default.StrictMode,null,E))),b}async function render(r){if(r.err){await renderError(r);return}try{await doRender(r)}catch(o){let n=(0,W.getProperError)(o);if(n.cancelled)throw n;await renderError({...r,err:n})}}async function hydrate(r){let n=u.err;try{let r=await d.routeLoader.whenEntrypoint("/_app");if("error"in r)throw r.error;let{component:n,exports:o}=r;y=n,o&&o.reportWebVitals&&(P=r=>{let n,{id:l,name:u,startTime:s,value:d,duration:f,entryType:h,entries:g,attribution:_}=r,y=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);g&&g.length&&(n=g[0].startTime);let P={id:l||y,name:u,startTime:s||n,value:null==d?f:d,label:"mark"===h||"measure"===h?"custom":"web-vital"};_&&(P.attribution=_),o.reportWebVitals(P)});let l=await d.routeLoader.whenEntrypoint(u.page);if("error"in l)throw l.error;b=l.component}catch(r){n=(0,W.getProperError)(r)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(u.dynamicIds),l=(0,B.createRouter)(u.page,u.query,s,{initialProps:u.props,pageLoader:d,App:y,Component:b,wrapApp,err:n,isFallback:!!u.isFallback,subscription:(r,n,o)=>render(Object.assign({},r,{App:n,scroll:o})),locale:u.locale,locales:u.locales,defaultLocale:E,domainLocales:u.domainLocales,isPreview:u.isPreview}),ee=await l._initialMatchesMiddlewarePromise;let o={App:y,initial:!0,Component:b,props:u.props,err:n};(null==r?void 0:r.beforeRender)&&await r.beforeRender(),render(o)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},9866:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),o(3459);let l=o(3567);window.next={version:l.version,get router(){return l.router},emitter:l.emitter},(0,l.initialize)({}).then(()=>(0,l.hydrate)()).catch(console.error),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},4005:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return normalizePathTrailingSlash}});let l=o(9620),u=o(5754),normalizePathTrailingSlash=r=>{if(!r.startsWith("/"))return r;let{pathname:n,query:o,hash:s}=(0,u.parsePath)(r);return""+(0,l.removeTrailingSlash)(n)+o+s};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},2298:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return onRecoverableError}});let l=o(6290);function onRecoverableError(r){let n="function"==typeof reportError?reportError:r=>{window.console.error(r)};r.digest!==l.NEXT_DYNAMIC_NO_SSR_CODE&&n(r)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},6882:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return PageLoader}});let l=o(8754),u=o(1417),s=o(5421),d=l._(o(1528)),f=o(5017),h=o(8207),g=o(9370),_=o(9620),y=o(6734);o(3755);let PageLoader=class PageLoader{getPageList(){return(0,y.getClientBuildManifest)().then(r=>r.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(r){let{asPath:n,href:o,locale:l}=r,{pathname:y,query:P,search:b}=(0,g.parseRelativeUrl)(o),{pathname:E}=(0,g.parseRelativeUrl)(n),S=(0,_.removeTrailingSlash)(y);if("/"!==S[0])throw Error('Route name should start with a "/", got "'+S+'"');return(r=>{let n=(0,d.default)((0,_.removeTrailingSlash)((0,f.addLocale)(r,l)),".json");return(0,u.addBasePath)("/_next/data/"+this.buildId+n+b,!0)})(r.skipInterpolation?E:(0,h.isDynamicRoute)(S)?(0,s.interpolateAs)(y,E,P).result:S)}_isSsg(r){return this.promisedSsgManifest.then(n=>n.has(r))}loadPage(r){return this.routeLoader.loadRoute(r).then(r=>{if("component"in r)return{page:r.component,mod:r.exports,styleSheets:r.styles.map(r=>({href:r.href,text:r.content}))};throw r.error})}prefetch(r){return this.routeLoader.prefetch(r)}constructor(r,n){this.routeLoader=(0,y.createRouteLoader)(n),this.buildId=r,this.assetPrefix=n,this.promisedSsgManifest=new Promise(r=>{window.__SSG_MANIFEST?r(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{r(window.__SSG_MANIFEST)}})}};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},72:function(r,n,o){"use strict";let l;Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return _default}});let u=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let s=!1;function onReport(r){l&&l(r)}let _default=r=>{if(l=r,!s)for(let r of(s=!0,u))try{let n;n||(n=o(8018)),n["on"+r](onReport)}catch(n){console.warn("Failed to track "+r+" web-vital",n)}};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},6999:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Portal",{enumerable:!0,get:function(){return Portal}});let l=o(7294),u=o(3935),Portal=r=>{let{children:n,type:o}=r,[s,d]=(0,l.useState)(null);return(0,l.useEffect)(()=>{let r=document.createElement(o);return document.body.appendChild(r),d(r),()=>{document.body.removeChild(r)}},[o]),s?(0,u.createPortal)(n,s):null};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},4209:function(r,n,o){"use strict";function removeBasePath(r){return r}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"removeBasePath",{enumerable:!0,get:function(){return removeBasePath}}),o(6732),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},9886:function(r,n,o){"use strict";function removeLocale(r,n){return r}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"removeLocale",{enumerable:!0,get:function(){return removeLocale}}),o(5754),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},517:function(r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{requestIdleCallback:function(){return o},cancelIdleCallback:function(){return l}});let o="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(r){let n=Date.now();return self.setTimeout(function(){r({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-n))}})},1)},l="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(r){return clearTimeout(r)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},6722:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"resolveHref",{enumerable:!0,get:function(){return resolveHref}});let l=o(6507),u=o(7822),s=o(1162),d=o(9938),f=o(4005),h=o(4812),g=o(2778),_=o(5421);function resolveHref(r,n,o){let y;let P="string"==typeof n?n:(0,u.formatWithValidation)(n),b=P.match(/^[a-zA-Z]{1,}:\/\//),E=b?P.slice(b[0].length):P,S=E.split("?");if((S[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+P+"' passed to next/router in page: '"+r.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let n=(0,d.normalizeRepeatedSlashes)(E);P=(b?b[0]:"")+n}if(!(0,h.isLocalURL)(P))return o?[P]:P;try{y=new URL(P.startsWith("#")?r.asPath:r.pathname,"http://n")}catch(r){y=new URL("/","http://n")}try{let r=new URL(P,y);r.pathname=(0,f.normalizePathTrailingSlash)(r.pathname);let n="";if((0,g.isDynamicRoute)(r.pathname)&&r.searchParams&&o){let o=(0,l.searchParamsToUrlQuery)(r.searchParams),{result:d,params:f}=(0,_.interpolateAs)(r.pathname,r.pathname,o);d&&(n=(0,u.formatWithValidation)({pathname:d,hash:r.hash,query:(0,s.omit)(o,f)}))}let d=r.origin===y.origin?r.href.slice(r.origin.length):r.href;return o?[d,n||d]:d}catch(r){return o?[P]:P}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},4201:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{RouteAnnouncer:function(){return RouteAnnouncer},default:function(){return f}});let l=o(8754),u=l._(o(7294)),s=o(8355),d={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},RouteAnnouncer=()=>{let{asPath:r}=(0,s.useRouter)(),[n,o]=u.default.useState(""),l=u.default.useRef(r);return u.default.useEffect(()=>{if(l.current!==r){if(l.current=r,document.title)o(document.title);else{var n;let l=document.querySelector("h1"),u=null!=(n=null==l?void 0:l.innerText)?n:null==l?void 0:l.textContent;o(u||r)}}},[r]),u.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:d},n)},f=RouteAnnouncer;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},6734:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{markAssetError:function(){return markAssetError},isAssetError:function(){return isAssetError},getClientBuildManifest:function(){return getClientBuildManifest},createRouteLoader:function(){return createRouteLoader}}),o(8754),o(1528);let l=o(7978),u=o(517);function withFuture(r,n,o){let l,u=n.get(r);if(u)return"future"in u?u.future:Promise.resolve(u);let s=new Promise(r=>{l=r});return n.set(r,u={resolve:l,future:s}),o?o().then(r=>(l(r),r)).catch(o=>{throw n.delete(r),o}):s}let s=Symbol("ASSET_LOAD_ERROR");function markAssetError(r){return Object.defineProperty(r,s,{})}function isAssetError(r){return r&&s in r}let d=function(r){try{return r=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||r.relList.supports("prefetch")}catch(r){return!1}}(),getAssetQueryString=()=>"";function resolvePromiseWithTimeout(r,n,o){return new Promise((l,s)=>{let d=!1;r.then(r=>{d=!0,l(r)}).catch(s),(0,u.requestIdleCallback)(()=>setTimeout(()=>{d||s(o)},n))})}function getClientBuildManifest(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let r=new Promise(r=>{let n=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{r(self.__BUILD_MANIFEST),n&&n()}});return resolvePromiseWithTimeout(r,3800,markAssetError(Error("Failed to load client build manifest")))}function getFilesForRoute(r,n){return getClientBuildManifest().then(o=>{if(!(n in o))throw markAssetError(Error("Failed to lookup route: "+n));let u=o[n].map(n=>r+"/_next/"+encodeURI(n));return{scripts:u.filter(r=>r.endsWith(".js")).map(r=>(0,l.__unsafeCreateTrustedScriptURL)(r)+getAssetQueryString()),css:u.filter(r=>r.endsWith(".css")).map(r=>r+getAssetQueryString())}})}function createRouteLoader(r){let n=new Map,o=new Map,l=new Map,s=new Map;function maybeExecuteScript(r){{var n;let l=o.get(r.toString());return l||(document.querySelector('script[src^="'+r+'"]')?Promise.resolve():(o.set(r.toString(),l=new Promise((o,l)=>{(n=document.createElement("script")).onload=o,n.onerror=()=>l(markAssetError(Error("Failed to load script: "+r))),n.crossOrigin=void 0,n.src=r,document.body.appendChild(n)})),l))}}function fetchStyleSheet(r){let n=l.get(r);return n||l.set(r,n=fetch(r).then(n=>{if(!n.ok)throw Error("Failed to load stylesheet: "+r);return n.text().then(n=>({href:r,content:n}))}).catch(r=>{throw markAssetError(r)})),n}return{whenEntrypoint:r=>withFuture(r,n),onEntrypoint(r,o){(o?Promise.resolve().then(()=>o()).then(r=>({component:r&&r.default||r,exports:r}),r=>({error:r})):Promise.resolve(void 0)).then(o=>{let l=n.get(r);l&&"resolve"in l?o&&(n.set(r,o),l.resolve(o)):(o?n.set(r,o):n.delete(r),s.delete(r))})},loadRoute(o,l){return withFuture(o,s,()=>{let u;return resolvePromiseWithTimeout(getFilesForRoute(r,o).then(r=>{let{scripts:l,css:u}=r;return Promise.all([n.has(o)?[]:Promise.all(l.map(maybeExecuteScript)),Promise.all(u.map(fetchStyleSheet))])}).then(r=>this.whenEntrypoint(o).then(n=>({entrypoint:n,styles:r[1]}))),3800,markAssetError(Error("Route did not complete loading: "+o))).then(r=>{let{entrypoint:n,styles:o}=r,l=Object.assign({styles:o},n);return"error"in n?n:l}).catch(r=>{if(l)throw r;return{error:r}}).finally(()=>null==u?void 0:u())})},prefetch(n){let o;return(o=navigator.connection)&&(o.saveData||/2g/.test(o.effectiveType))?Promise.resolve():getFilesForRoute(r,n).then(r=>Promise.all(d?r.scripts.map(r=>{var n,o,l;return n=r.toString(),o="script",new Promise((r,u)=>{let s='\n link[rel="prefetch"][href^="'+n+'"],\n link[rel="preload"][href^="'+n+'"],\n script[src^="'+n+'"]';if(document.querySelector(s))return r();l=document.createElement("link"),o&&(l.as=o),l.rel="prefetch",l.crossOrigin=void 0,l.onload=r,l.onerror=()=>u(markAssetError(Error("Failed to prefetch: "+n))),l.href=n,document.head.appendChild(l)})}):[])).then(()=>{(0,u.requestIdleCallback)(()=>this.loadRoute(n,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},8355:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{Router:function(){return s.default},default:function(){return P},withRouter:function(){return h.default},useRouter:function(){return useRouter},createRouter:function(){return createRouter},makePublicRouterInstance:function(){return makePublicRouterInstance}});let l=o(8754),u=l._(o(7294)),s=l._(o(755)),d=o(5734),f=l._(o(676)),h=l._(o(206)),g={router:null,readyCallbacks:[],ready(r){if(this.router)return r();this.readyCallbacks.push(r)}},_=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],y=["push","replace","reload","back","prefetch","beforePopState"];function getRouter(){if(!g.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return g.router}Object.defineProperty(g,"events",{get:()=>s.default.events}),_.forEach(r=>{Object.defineProperty(g,r,{get(){let n=getRouter();return n[r]}})}),y.forEach(r=>{g[r]=function(){for(var n=arguments.length,o=Array(n),l=0;l{g.ready(()=>{s.default.events.on(r,function(){for(var n=arguments.length,o=Array(n),l=0;lr()),g.readyCallbacks=[],g.router}function makePublicRouterInstance(r){let n={};for(let o of _){if("object"==typeof r[o]){n[o]=Object.assign(Array.isArray(r[o])?[]:{},r[o]);continue}n[o]=r[o]}return n.events=s.default.events,y.forEach(o=>{n[o]=function(){for(var n=arguments.length,l=Array(n),u=0;u{if(s.default.preinit){r.forEach(r=>{s.default.preinit(r,{as:"style"})});return}{let n=document.head;r.forEach(r=>{let o=document.createElement("link");o.type="text/css",o.rel="stylesheet",o.href=r,n.appendChild(o)})}},loadScript=r=>{let{src:n,id:o,onLoad:l=()=>{},onReady:u=null,dangerouslySetInnerHTML:s,children:d="",strategy:f="afterInteractive",onError:g,stylesheets:b}=r,E=o||n;if(E&&y.has(E))return;if(_.has(n)){y.add(E),_.get(n).then(l,g);return}let afterLoad=()=>{u&&u(),y.add(E)},S=document.createElement("script"),R=new Promise((r,n)=>{S.addEventListener("load",function(n){r(),l&&l.call(this,n),afterLoad()}),S.addEventListener("error",function(r){n(r)})}).catch(function(r){g&&g(r)});for(let[o,l]of(s?(S.innerHTML=s.__html||"",afterLoad()):d?(S.textContent="string"==typeof d?d:Array.isArray(d)?d.join(""):"",afterLoad()):n&&(S.src=n,_.set(n,R)),Object.entries(r))){if(void 0===l||P.includes(o))continue;let r=h.DOMAttributeNames[o]||o.toLowerCase();S.setAttribute(r,l)}"worker"===f&&S.setAttribute("type","text/partytown"),S.setAttribute("data-nscript",f),b&&insertStylesheets(b),document.body.appendChild(S)};function handleClientScriptLoad(r){let{strategy:n="afterInteractive"}=r;"lazyOnload"===n?window.addEventListener("load",()=>{(0,g.requestIdleCallback)(()=>loadScript(r))}):loadScript(r)}function initScriptLoader(r){r.forEach(handleClientScriptLoad),function(){let r=[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')];r.forEach(r=>{let n=r.id||r.getAttribute("src");y.add(n)})}()}function Script(r){let{id:n,src:o="",onLoad:l=()=>{},onReady:u=null,strategy:h="afterInteractive",onError:_,stylesheets:P,...b}=r,{updateScripts:E,scripts:S,getIsSsr:R,appDir:w,nonce:O}=(0,d.useContext)(f.HeadManagerContext),j=(0,d.useRef)(!1);(0,d.useEffect)(()=>{let r=n||o;j.current||(u&&r&&y.has(r)&&u(),j.current=!0)},[u,n,o]);let A=(0,d.useRef)(!1);if((0,d.useEffect)(()=>{!A.current&&("afterInteractive"===h?loadScript(r):"lazyOnload"===h&&("complete"===document.readyState?(0,g.requestIdleCallback)(()=>loadScript(r)):window.addEventListener("load",()=>{(0,g.requestIdleCallback)(()=>loadScript(r))})),A.current=!0)},[r,h]),("beforeInteractive"===h||"worker"===h)&&(E?(S[h]=(S[h]||[]).concat([{id:n,src:o,onLoad:l,onReady:u,onError:_,...b}]),E(S)):R&&R()?y.add(n||o):R&&!R()&&loadScript(r)),w){if(P&&P.forEach(r=>{s.default.preinit(r,{as:"style"})}),"beforeInteractive"===h)return o?(s.default.preload(o,b.integrity?{as:"script",integrity:b.integrity}:{as:"script"}),d.default.createElement("script",{nonce:O,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([o])+")"}})):(b.dangerouslySetInnerHTML&&(b.children=b.dangerouslySetInnerHTML.__html,delete b.dangerouslySetInnerHTML),d.default.createElement("script",{nonce:O,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...b}])+")"}}));"afterInteractive"===h&&o&&s.default.preload(o,b.integrity?{as:"script",integrity:b.integrity}:{as:"script"})}return null}Object.defineProperty(Script,"__nextScript",{value:!0});let b=Script;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},6689:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return reportToSocket}});let l=o(97);function reportToSocket(r){if("ended"!==r.state.state)throw Error("Expected span to be ended");(0,l.sendMessage)(JSON.stringify({event:"span-end",startTime:r.startTime,endTime:r.state.endTime,spanName:r.name,attributes:r.attributes}))}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},2323:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return s}});let l=o(8754),u=l._(o(6632));let Span=class Span{end(r){if("ended"===this.state.state)throw Error("Span has already ended");this.state={state:"ended",endTime:null!=r?r:Date.now()},this.onSpanEnd(this)}constructor(r,n,o){var l,u;this.name=r,this.attributes=null!=(l=n.attributes)?l:{},this.startTime=null!=(u=n.startTime)?u:Date.now(),this.onSpanEnd=o,this.state={state:"inprogress"}}};let s=new class{startSpan(r,n){return new Span(r,n,this.handleSpanEnd)}onSpanEnd(r){return this._emitter.on("spanend",r),()=>{this._emitter.off("spanend",r)}}constructor(){this._emitter=(0,u.default)(),this.handleSpanEnd=r=>{this._emitter.emit("spanend",r)}}};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},7978:function(r,n){"use strict";let o;function __unsafeCreateTrustedScriptURL(r){var n;return(null==(n=function(){if(void 0===o){var r;o=(null==(r=window.trustedTypes)?void 0:r.createPolicy("nextjs",{createHTML:r=>r,createScript:r=>r,createScriptURL:r=>r}))||null}return o}())?void 0:n.createScriptURL(r))||r}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return __unsafeCreateTrustedScriptURL}}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},3459:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0});let addChunkSuffix=r=>n=>r(n)+"",l=o.u;o.u=addChunkSuffix(l);let u=o.k;o.k=addChunkSuffix(u);let s=o.miniCssF;o.miniCssF=addChunkSuffix(s),self.__next_require__=o,self.__next_set_public_path__=r=>{o.p=r},("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},206:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return withRouter}});let l=o(8754),u=l._(o(7294)),s=o(8355);function withRouter(r){function WithRouterWrapper(n){return u.default.createElement(r,{router:(0,s.useRouter)(),...n})}return WithRouterWrapper.getInitialProps=r.getInitialProps,WithRouterWrapper.origGetInitialProps=r.origGetInitialProps,WithRouterWrapper}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},9798:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return App}});let l=o(8754),u=l._(o(7294)),s=o(9938);async function appGetInitialProps(r){let{Component:n,ctx:o}=r,l=await (0,s.loadGetInitialProps)(n,o);return{pageProps:l}}let App=class App extends u.default.Component{render(){let{Component:r,pageProps:n}=this.props;return u.default.createElement(r,n)}};App.origGetInitialProps=appGetInitialProps,App.getInitialProps=appGetInitialProps,("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},5480:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return Error}});let l=o(8754),u=l._(o(7294)),s=l._(o(4605)),d={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function _getInitialProps(r){let{res:n,err:o}=r,l=n&&n.statusCode?n.statusCode:o?o.statusCode:404;return{statusCode:l}}let f={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:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};let Error=class Error extends u.default.Component{render(){let{statusCode:r,withDarkMode:n=!0}=this.props,o=this.props.title||d[r]||"An unexpected error has occurred";return u.default.createElement("div",{style:f.error},u.default.createElement(s.default,null,u.default.createElement("title",null,r?r+": "+o:"Application error: a client-side exception has occurred")),u.default.createElement("div",{style:f.desc},u.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(n?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),r?u.default.createElement("h1",{className:"next-error-h1",style:f.h1},r):null,u.default.createElement("div",{style:f.wrap},u.default.createElement("h2",{style:f.h2},this.props.title||r?o:u.default.createElement(u.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}};Error.displayName="ErrorPage",Error.getInitialProps=_getInitialProps,Error.origGetInitialProps=_getInitialProps,("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},9756:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AmpStateContext",{enumerable:!0,get:function(){return s}});let l=o(8754),u=l._(o(7294)),s=u.default.createContext({})},5617:function(r,n){"use strict";function isInAmpMode(r){let{ampFirst:n=!1,hybrid:o=!1,hasQuery:l=!1}=void 0===r?{}:r;return n||o&&l}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isInAmpMode",{enumerable:!0,get:function(){return isInAmpMode}})},8503:function(r,n,o){"use strict";var l,u;Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{CacheStates:function(){return l},AppRouterContext:function(){return f},LayoutRouterContext:function(){return h},GlobalLayoutRouterContext:function(){return g},TemplateContext:function(){return _}});let s=o(8754),d=s._(o(7294));(u=l||(l={})).LAZY_INITIALIZED="LAZYINITIALIZED",u.DATA_FETCH="DATAFETCH",u.READY="READY";let f=d.default.createContext(null),h=d.default.createContext(null),g=d.default.createContext(null),_=d.default.createContext(null)},1063:function(r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BloomFilter",{enumerable:!0,get:function(){return BloomFilter}});let BloomFilter=class BloomFilter{static from(r,n){void 0===n&&(n=.01);let o=new BloomFilter(r.length,n);for(let n of r)o.add(n);return o}export(){let r={numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray};return r}import(r){this.numItems=r.numItems,this.errorRate=r.errorRate,this.numBits=r.numBits,this.numHashes=r.numHashes,this.bitArray=r.bitArray}add(r){let n=this.getHashValues(r);n.forEach(r=>{this.bitArray[r]=1})}contains(r){let n=this.getHashValues(r);return n.every(r=>this.bitArray[r])}getHashValues(r){let n=[];for(let o=1;o<=this.numHashes;o++){let l=function(r){let n=0;for(let o=0;o>>13,n=Math.imul(n,1540483477)}return n>>>0}(""+r+o)%this.numBits;n.push(l)}return n}constructor(r,n){this.numItems=r,this.errorRate=n,this.numBits=Math.ceil(-(r*Math.log(n))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/r*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},3755:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{MODERN_BROWSERSLIST_TARGET:function(){return u.default},COMPILER_NAMES:function(){return s},INTERNAL_HEADERS:function(){return d},COMPILER_INDEXES:function(){return f},PHASE_EXPORT:function(){return h},PHASE_PRODUCTION_BUILD:function(){return g},PHASE_PRODUCTION_SERVER:function(){return _},PHASE_DEVELOPMENT_SERVER:function(){return y},PHASE_TEST:function(){return P},PHASE_INFO:function(){return b},PAGES_MANIFEST:function(){return E},APP_PATHS_MANIFEST:function(){return S},APP_PATH_ROUTES_MANIFEST:function(){return R},BUILD_MANIFEST:function(){return w},APP_BUILD_MANIFEST:function(){return O},FUNCTIONS_CONFIG_MANIFEST:function(){return j},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return A},NEXT_FONT_MANIFEST:function(){return M},EXPORT_MARKER:function(){return C},EXPORT_DETAIL:function(){return I},PRERENDER_MANIFEST:function(){return x},ROUTES_MANIFEST:function(){return N},IMAGES_MANIFEST:function(){return L},SERVER_FILES_MANIFEST:function(){return D},DEV_CLIENT_PAGES_MANIFEST:function(){return k},MIDDLEWARE_MANIFEST:function(){return F},DEV_MIDDLEWARE_MANIFEST:function(){return U},REACT_LOADABLE_MANIFEST:function(){return H},FONT_MANIFEST:function(){return B},SERVER_DIRECTORY:function(){return W},CONFIG_FILES:function(){return q},BUILD_ID_FILE:function(){return z},BLOCKED_PAGES:function(){return G},CLIENT_PUBLIC_FILES_PATH:function(){return V},CLIENT_STATIC_FILES_PATH:function(){return X},STRING_LITERAL_DROP_BUNDLE:function(){return Y},NEXT_BUILTIN_DOCUMENT:function(){return K},BARREL_OPTIMIZATION_PREFIX:function(){return Q},CLIENT_REFERENCE_MANIFEST:function(){return $},SERVER_REFERENCE_MANIFEST:function(){return J},MIDDLEWARE_BUILD_MANIFEST:function(){return Z},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return et},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return er},APP_CLIENT_INTERNALS:function(){return en},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return ea},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return eo},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return ei},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return el},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return eu},EDGE_RUNTIME_WEBPACK:function(){return es},TEMPORARY_REDIRECT_STATUS:function(){return ec},PERMANENT_REDIRECT_STATUS:function(){return ed},STATIC_PROPS_ID:function(){return ef},SERVER_PROPS_ID:function(){return ep},PAGE_SEGMENT_KEY:function(){return eh},GOOGLE_FONT_PROVIDER:function(){return em},OPTIMIZED_FONT_PROVIDERS:function(){return eg},DEFAULT_SERIF_FONT:function(){return e_},DEFAULT_SANS_SERIF_FONT:function(){return ey},STATIC_STATUS_PAGES:function(){return eP},TRACE_OUTPUT_VERSION:function(){return ev},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return eb},RSC_MODULE_TYPES:function(){return eE},EDGE_UNSUPPORTED_NODE_APIS:function(){return eS},SYSTEM_ENTRYPOINTS:function(){return eR}});let l=o(8754),u=l._(o(4504)),s={client:"client",server:"server",edgeServer:"edge-server"},d=["x-invoke-path","x-invoke-status","x-invoke-error","x-invoke-query","x-middleware-invoke"],f={[s.client]:0,[s.server]:1,[s.edgeServer]:2},h="phase-export",g="phase-production-build",_="phase-production-server",y="phase-development-server",P="phase-test",b="phase-info",E="pages-manifest.json",S="app-paths-manifest.json",R="app-path-routes-manifest.json",w="build-manifest.json",O="app-build-manifest.json",j="functions-config-manifest.json",A="subresource-integrity-manifest",M="next-font-manifest",C="export-marker.json",I="export-detail.json",x="prerender-manifest.json",N="routes-manifest.json",L="images-manifest.json",D="required-server-files.json",k="_devPagesManifest.json",F="middleware-manifest.json",U="_devMiddlewareManifest.json",H="react-loadable-manifest.json",B="font-manifest.json",W="server",q=["next.config.js","next.config.mjs"],z="BUILD_ID",G=["/_document","/_app","/_error"],V="public",X="static",Y="__NEXT_DROP_CLIENT_FILE__",K="__NEXT_BUILTIN_DOCUMENT__",Q="__barrel_optimize__",$="client-reference-manifest",J="server-reference-manifest",Z="middleware-build-manifest",ee="middleware-react-loadable-manifest",et="main",er=""+et+"-app",en="app-pages-internals",ea="react-refresh",eo="amp",ei="webpack",el="polyfills",eu=Symbol(el),es="edge-runtime-webpack",ec=307,ed=308,ef="__N_SSG",ep="__N_SSP",eh="__PAGE__",em="https://fonts.googleapis.com/",eg=[{url:em,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],e_={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},ey={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},eP=["/500"],ev=1,eb=6e3,eE={client:"client",server:"server"},eS=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],eR=new Set([et,ea,eo,er]);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},9314:function(r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"escapeStringRegexp",{enumerable:!0,get:function(){return escapeStringRegexp}});let o=/[|\\{}()[\]^$+*?.-]/,l=/[|\\{}()[\]^$+*?.-]/g;function escapeStringRegexp(r){return o.test(r)?r.replace(l,"\\$&"):r}},6139:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"HeadManagerContext",{enumerable:!0,get:function(){return s}});let l=o(8754),u=l._(o(7294)),s=u.default.createContext({})},4605:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{defaultHead:function(){return defaultHead},default:function(){return _default}});let l=o(8754),u=o(1757),s=u._(o(7294)),d=l._(o(3746)),f=o(9756),h=o(6139),g=o(5617);function defaultHead(r){void 0===r&&(r=!1);let n=[s.default.createElement("meta",{charSet:"utf-8"})];return r||n.push(s.default.createElement("meta",{name:"viewport",content:"width=device-width"})),n}function onlyReactElement(r,n){return"string"==typeof n||"number"==typeof n?r:n.type===s.default.Fragment?r.concat(s.default.Children.toArray(n.props.children).reduce((r,n)=>"string"==typeof n||"number"==typeof n?r:r.concat(n),[])):r.concat(n)}o(3213);let _=["name","httpEquiv","charSet","itemProp"];function reduceComponents(r,n){let{inAmpMode:o}=n;return r.reduce(onlyReactElement,[]).reverse().concat(defaultHead(o).reverse()).filter(function(){let r=new Set,n=new Set,o=new Set,l={};return u=>{let s=!0,d=!1;if(u.key&&"number"!=typeof u.key&&u.key.indexOf("$")>0){d=!0;let n=u.key.slice(u.key.indexOf("$")+1);r.has(n)?s=!1:r.add(n)}switch(u.type){case"title":case"base":n.has(u.type)?s=!1:n.add(u.type);break;case"meta":for(let r=0,n=_.length;r{let l=r.key||n;if(!o&&"link"===r.type&&r.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(n=>r.props.href.startsWith(n))){let n={...r.props||{}};return n["data-href"]=n.href,n.href=void 0,n["data-optimized-fonts"]=!0,s.default.cloneElement(r,n)}return s.default.cloneElement(r,{key:l})})}let _default=function(r){let{children:n}=r,o=(0,s.useContext)(f.AmpStateContext),l=(0,s.useContext)(h.HeadManagerContext);return s.default.createElement(d.default,{reduceComponentsToState:reduceComponents,headManager:l,inAmpMode:(0,g.isInAmpMode)(o)},n)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),r.exports=n.default)},3016:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{SearchParamsContext:function(){return u},PathnameContext:function(){return s},PathParamsContext:function(){return d}});let l=o(7294),u=(0,l.createContext)(null),s=(0,l.createContext)(null),d=(0,l.createContext)(null)},6694:function(r,n){"use strict";function normalizeLocalePath(r,n){let o;let l=r.split("/");return(n||[]).some(n=>!!l[1]&&l[1].toLowerCase()===n.toLowerCase()&&(o=n,l.splice(1,1),r=l.join("/")||"/",!0)),{pathname:r,detectedLocale:o}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizeLocalePath",{enumerable:!0,get:function(){return normalizeLocalePath}})},5264:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ImageConfigContext",{enumerable:!0,get:function(){return d}});let l=o(8754),u=l._(o(7294)),s=o(2269),d=u.default.createContext(s.imageConfigDefault)},2269:function(r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{VALID_LOADERS:function(){return o},imageConfigDefault:function(){return l}});let o=["default","imgix","cloudinary","akamai","custom"],l={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},9200:function(r,n){"use strict";function getObjectClassLabel(r){return Object.prototype.toString.call(r)}function isPlainObject(r){if("[object Object]"!==getObjectClassLabel(r))return!1;let n=Object.getPrototypeOf(r);return null===n||n.hasOwnProperty("isPrototypeOf")}Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{getObjectClassLabel:function(){return getObjectClassLabel},isPlainObject:function(){return isPlainObject}})},6290:function(r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NEXT_DYNAMIC_NO_SSR_CODE",{enumerable:!0,get:function(){return o}});let o="NEXT_DYNAMIC_NO_SSR_CODE"},6632:function(r,n){"use strict";function mitt(){let r=Object.create(null);return{on(n,o){(r[n]||(r[n]=[])).push(o)},off(n,o){r[n]&&r[n].splice(r[n].indexOf(o)>>>0,1)},emit(n){for(var o=arguments.length,l=Array(o>1?o-1:0),u=1;u{r(...l)})}}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return mitt}})},4504:function(r){"use strict";r.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},2679:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"denormalizePagePath",{enumerable:!0,get:function(){return denormalizePagePath}});let l=o(2778),u=o(8041);function denormalizePagePath(r){let n=(0,u.normalizePathSep)(r);return n.startsWith("/index/")&&!(0,l.isDynamicRoute)(n)?n.slice(6):"/index"!==n?n:"/"}},8034:function(r,n){"use strict";function ensureLeadingSlash(r){return r.startsWith("/")?r:"/"+r}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ensureLeadingSlash",{enumerable:!0,get:function(){return ensureLeadingSlash}})},8041:function(r,n){"use strict";function normalizePathSep(r){return r.replace(/\\/g,"/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizePathSep",{enumerable:!0,get:function(){return normalizePathSep}})},5734:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"RouterContext",{enumerable:!0,get:function(){return s}});let l=o(8754),u=l._(o(7294)),s=u.default.createContext(null)},1922:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{adaptForAppRouterInstance:function(){return adaptForAppRouterInstance},adaptForSearchParams:function(){return adaptForSearchParams},adaptForPathParams:function(){return adaptForPathParams},PathnameContextProviderAdapter:function(){return PathnameContextProviderAdapter}});let l=o(1757),u=l._(o(7294)),s=o(3016),d=o(2778),f=o(5610),h=o(2767);function adaptForAppRouterInstance(r){return{back(){r.back()},forward(){r.forward()},refresh(){r.reload()},push(n,o){let{scroll:l}=void 0===o?{}:o;r.push(n,void 0,{scroll:l})},replace(n,o){let{scroll:l}=void 0===o?{}:o;r.replace(n,void 0,{scroll:l})},prefetch(n){r.prefetch(n)}}}function adaptForSearchParams(r){return r.isReady&&r.query?(0,f.asPathToSearchParams)(r.asPath):new URLSearchParams}function adaptForPathParams(r){if(!r.isReady||!r.query)return null;let n={},o=(0,h.getRouteRegex)(r.pathname),l=Object.keys(o.groups);for(let o of l)n[o]=r.query[o];return n}function PathnameContextProviderAdapter(r){let{children:n,router:o,...l}=r,f=(0,u.useRef)(l.isAutoExport),h=(0,u.useMemo)(()=>{let r;let n=f.current;if(n&&(f.current=!1),(0,d.isDynamicRoute)(o.pathname)&&(o.isFallback||n&&!o.isReady))return null;try{r=new URL(o.asPath,"http://f")}catch(r){return"/"}return r.pathname},[o.asPath,o.isFallback,o.isReady,o.pathname]);return u.default.createElement(s.PathnameContext.Provider,{value:h},n)}},755:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{default:function(){return Router},matchesMiddleware:function(){return matchesMiddleware},createKey:function(){return createKey}});let l=o(8754),u=o(1757),s=o(9620),d=o(6734),f=o(7616),h=u._(o(676)),g=o(2679),_=o(6694),y=l._(o(6632)),P=o(9938),b=o(8207),E=o(9370);o(2431);let S=o(2461),R=o(2767),w=o(7822);o(6919);let O=o(5754),j=o(5017),A=o(9886),M=o(4209),C=o(1417),I=o(6732),x=o(6722),N=o(9423),L=o(3190),D=o(6378),k=o(8026),F=o(4812),U=o(8497),H=o(1162),B=o(5421),W=o(233);function buildCancellationError(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function matchesMiddleware(r){let n=await Promise.resolve(r.router.pageLoader.getMiddleware());if(!n)return!1;let{pathname:o}=(0,O.parsePath)(r.asPath),l=(0,I.hasBasePath)(o)?(0,M.removeBasePath)(o):o,u=(0,C.addBasePath)((0,j.addLocale)(l,r.locale));return n.some(r=>new RegExp(r.regexp).test(u))}function stripOrigin(r){let n=(0,P.getLocationOrigin)();return r.startsWith(n)?r.substring(n.length):r}function prepareUrlAs(r,n,o){let[l,u]=(0,x.resolveHref)(r,n,!0),s=(0,P.getLocationOrigin)(),d=l.startsWith(s),f=u&&u.startsWith(s);l=stripOrigin(l),u=u?stripOrigin(u):u;let h=d?l:(0,C.addBasePath)(l),g=o?stripOrigin((0,x.resolveHref)(r,o)):u||l;return{url:h,as:f?g:(0,C.addBasePath)(g)}}function resolveDynamicRoute(r,n){let o=(0,s.removeTrailingSlash)((0,g.denormalizePagePath)(r));return"/404"===o||"/_error"===o?r:(n.includes(o)||n.some(n=>{if((0,b.isDynamicRoute)(n)&&(0,R.getRouteRegex)(n).re.test(o))return r=n,!0}),(0,s.removeTrailingSlash)(r))}async function withMiddlewareEffects(r){let n=await matchesMiddleware(r);if(!n||!r.fetchData)return null;try{let n=await r.fetchData(),o=await function(r,n,o){let l={basePath:o.router.basePath,i18n:{locales:o.router.locales},trailingSlash:!1},u=n.headers.get("x-nextjs-rewrite"),f=u||n.headers.get("x-nextjs-matched-path"),h=n.headers.get("x-matched-path");if(!h||f||h.includes("__next_data_catchall")||h.includes("/_error")||h.includes("/404")||(f=h),f){if(f.startsWith("/")){let n=(0,E.parseRelativeUrl)(f),h=(0,L.getNextPathnameInfo)(n.pathname,{nextConfig:l,parseData:!0}),g=(0,s.removeTrailingSlash)(h.pathname);return Promise.all([o.router.pageLoader.getPageList(),(0,d.getClientBuildManifest)()]).then(s=>{let[d,{__rewrites:f}]=s,y=(0,j.addLocale)(h.pathname,h.locale);if((0,b.isDynamicRoute)(y)||!u&&d.includes((0,_.normalizeLocalePath)((0,M.removeBasePath)(y),o.router.locales).pathname)){let o=(0,L.getNextPathnameInfo)((0,E.parseRelativeUrl)(r).pathname,{nextConfig:l,parseData:!0});y=(0,C.addBasePath)(o.pathname),n.pathname=y}if(!d.includes(g)){let r=resolveDynamicRoute(g,d);r!==g&&(g=r)}let P=d.includes(g)?g:resolveDynamicRoute((0,_.normalizeLocalePath)((0,M.removeBasePath)(n.pathname),o.router.locales).pathname,d);if((0,b.isDynamicRoute)(P)){let r=(0,S.getRouteMatcher)((0,R.getRouteRegex)(P))(y);Object.assign(n.query,r||{})}return{type:"rewrite",parsedAs:n,resolvedHref:P}})}let n=(0,O.parsePath)(r),h=(0,D.formatNextPathnameInfo)({...(0,L.getNextPathnameInfo)(n.pathname,{nextConfig:l,parseData:!0}),defaultLocale:o.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:""+h+n.query+n.hash})}let g=n.headers.get("x-nextjs-redirect");if(g){if(g.startsWith("/")){let r=(0,O.parsePath)(g),n=(0,D.formatNextPathnameInfo)({...(0,L.getNextPathnameInfo)(r.pathname,{nextConfig:l,parseData:!0}),defaultLocale:o.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+n+r.query+r.hash,newUrl:""+n+r.query+r.hash})}return Promise.resolve({type:"redirect-external",destination:g})}return Promise.resolve({type:"next"})}(n.dataHref,n.response,r);return{dataHref:n.dataHref,json:n.json,response:n.response,text:n.text,cacheKey:n.cacheKey,effect:o}}catch(r){return null}}let q=Symbol("SSG_DATA_NOT_FOUND");function tryToParseAsJSON(r){try{return JSON.parse(r)}catch(r){return null}}function fetchNextData(r){var n;let{dataHref:o,inflightCache:l,isPrefetch:u,hasMiddleware:s,isServerRender:f,parseJSON:h,persistCache:g,isBackground:_,unstable_skipClientCache:y}=r,{href:P}=new URL(o,window.location.href),getData=r=>(function fetchRetry(r,n,o){return fetch(r,{credentials:"same-origin",method:o.method||"GET",headers:Object.assign({},o.headers,{"x-nextjs-data":"1"})}).then(l=>!l.ok&&n>1&&l.status>=500?fetchRetry(r,n-1,o):l)})(o,f?3:1,{headers:Object.assign({},u?{purpose:"prefetch"}:{},u&&s?{"x-middleware-prefetch":"1"}:{}),method:null!=(n=null==r?void 0:r.method)?n:"GET"}).then(n=>n.ok&&(null==r?void 0:r.method)==="HEAD"?{dataHref:o,response:n,text:"",json:{},cacheKey:P}:n.text().then(r=>{if(!n.ok){if(s&&[301,302,307,308].includes(n.status))return{dataHref:o,response:n,text:r,json:{},cacheKey:P};if(404===n.status){var l;if(null==(l=tryToParseAsJSON(r))?void 0:l.notFound)return{dataHref:o,json:{notFound:q},response:n,text:r,cacheKey:P}}let u=Error("Failed to load static props");throw f||(0,d.markAssetError)(u),u}return{dataHref:o,json:h?tryToParseAsJSON(r):null,response:n,text:r,cacheKey:P}})).then(r=>(g&&"no-cache"!==r.response.headers.get("x-middleware-cache")||delete l[P],r)).catch(r=>{throw y||delete l[P],("Failed to fetch"===r.message||"NetworkError when attempting to fetch resource."===r.message||"Load failed"===r.message)&&(0,d.markAssetError)(r),r});return y&&g?getData({}).then(r=>(l[P]=Promise.resolve(r),r)):void 0!==l[P]?l[P]:l[P]=getData(_?{method:"HEAD"}:{})}function createKey(){return Math.random().toString(36).slice(2,10)}function handleHardNavigation(r){let{url:n,router:o}=r;if(n===(0,C.addBasePath)((0,j.addLocale)(o.asPath,o.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+n+" "+location.href);window.location.href=n}let getCancelledHandler=r=>{let{route:n,router:o}=r,l=!1,u=o.clc=()=>{l=!0};return()=>{if(l){let r=Error('Abort fetching component for route: "'+n+'"');throw r.cancelled=!0,r}u===o.clc&&(o.clc=null)}};let Router=class Router{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(r,n,o){return void 0===o&&(o={}),{url:r,as:n}=prepareUrlAs(this,r,n),this.change("pushState",r,n,o)}replace(r,n,o){return void 0===o&&(o={}),{url:r,as:n}=prepareUrlAs(this,r,n),this.change("replaceState",r,n,o)}async _bfl(r,n,o,l){{let h=!1,g=!1;for(let _ of[r,n])if(_){let n=(0,s.removeTrailingSlash)(new URL(_,"http://n").pathname),y=(0,C.addBasePath)((0,j.addLocale)(n,o||this.locale));if(n!==(0,s.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var u,d,f;for(let r of(h=h||!!(null==(u=this._bfl_s)?void 0:u.contains(n))||!!(null==(d=this._bfl_s)?void 0:d.contains(y)),[n,y])){let n=r.split("/");for(let r=0;!g&&r{})}}}}return!1}async change(r,n,o,l,u){var g,_,y,x,N,L,D,U,W;let z,G;if(!(0,F.isLocalURL)(n))return handleHardNavigation({url:n,router:this}),!1;let V=1===l._h;V||l.shallow||await this._bfl(o,void 0,l.locale);let X=V||l._shouldResolveHref||(0,O.parsePath)(n).pathname===(0,O.parsePath)(o).pathname,Y={...this.state},K=!0!==this.isReady;this.isReady=!0;let Q=this.isSsr;if(V||(this.isSsr=!1),V&&this.clc)return!1;let $=Y.locale;P.ST&&performance.mark("routeChange");let{shallow:J=!1,scroll:Z=!0}=l,ee={shallow:J};this._inFlightRoute&&this.clc&&(Q||Router.events.emit("routeChangeError",buildCancellationError(),this._inFlightRoute,ee),this.clc(),this.clc=null),o=(0,C.addBasePath)((0,j.addLocale)((0,I.hasBasePath)(o)?(0,M.removeBasePath)(o):o,l.locale,this.defaultLocale));let et=(0,A.removeLocale)((0,I.hasBasePath)(o)?(0,M.removeBasePath)(o):o,Y.locale);this._inFlightRoute=o;let er=$!==Y.locale;if(!V&&this.onlyAHashChange(et)&&!er){Y.asPath=et,Router.events.emit("hashChangeStart",o,ee),this.changeState(r,n,o,{...l,scroll:!1}),Z&&this.scrollToHash(et);try{await this.set(Y,this.components[Y.route],null)}catch(r){throw(0,h.default)(r)&&r.cancelled&&Router.events.emit("routeChangeError",r,et,ee),r}return Router.events.emit("hashChangeComplete",o,ee),!0}let en=(0,E.parseRelativeUrl)(n),{pathname:ea,query:eo}=en;if(null==(g=this.components[ea])?void 0:g.__appRouter)return handleHardNavigation({url:o,router:this}),new Promise(()=>{});try{[z,{__rewrites:G}]=await Promise.all([this.pageLoader.getPageList(),(0,d.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(r){return handleHardNavigation({url:o,router:this}),!1}this.urlIsNew(et)||er||(r="replaceState");let ei=o;ea=ea?(0,s.removeTrailingSlash)((0,M.removeBasePath)(ea)):ea;let el=(0,s.removeTrailingSlash)(ea),eu=o.startsWith("/")&&(0,E.parseRelativeUrl)(o).pathname,es=!!(eu&&el!==eu&&(!(0,b.isDynamicRoute)(el)||!(0,S.getRouteMatcher)((0,R.getRouteRegex)(el))(eu))),ec=!l.shallow&&await matchesMiddleware({asPath:o,locale:Y.locale,router:this});if(V&&ec&&(X=!1),X&&"/_error"!==ea&&(l._shouldResolveHref=!0,en.pathname=resolveDynamicRoute(ea,z),en.pathname===ea||(ea=en.pathname,en.pathname=(0,C.addBasePath)(ea),ec||(n=(0,w.formatWithValidation)(en)))),!(0,F.isLocalURL)(o))return handleHardNavigation({url:o,router:this}),!1;ei=(0,A.removeLocale)((0,M.removeBasePath)(ei),Y.locale),el=(0,s.removeTrailingSlash)(ea);let ed=!1;if((0,b.isDynamicRoute)(el)){let r=(0,E.parseRelativeUrl)(ei),l=r.pathname,u=(0,R.getRouteRegex)(el);ed=(0,S.getRouteMatcher)(u)(l);let s=el===l,d=s?(0,B.interpolateAs)(el,l,eo):{};if(ed&&(!s||d.result))s?o=(0,w.formatWithValidation)(Object.assign({},r,{pathname:d.result,query:(0,H.omit)(eo,d.params)})):Object.assign(eo,ed);else{let r=Object.keys(u.groups).filter(r=>!eo[r]&&!u.groups[r].optional);if(r.length>0&&!ec)throw Error((s?"The provided `href` ("+n+") value is missing query values ("+r.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+l+") is incompatible with the `href` value ("+el+"). ")+"Read more: https://nextjs.org/docs/messages/"+(s?"href-interpolation-failed":"incompatible-href-as"))}}V||Router.events.emit("routeChangeStart",o,ee);let ef="/404"===this.pathname||"/_error"===this.pathname;try{let s=await this.getRouteInfo({route:el,pathname:ea,query:eo,as:o,resolvedAs:ei,routeProps:ee,locale:Y.locale,isPreview:Y.isPreview,hasMiddleware:ec,unstable_skipClientCache:l.unstable_skipClientCache,isQueryUpdating:V&&!this.isFallback,isMiddlewareRewrite:es});if(V||l.shallow||await this._bfl(o,"resolvedAs"in s?s.resolvedAs:void 0,Y.locale),"route"in s&&ec){el=ea=s.route||el,ee.shallow||(eo=Object.assign({},s.query||{},eo));let r=(0,I.hasBasePath)(en.pathname)?(0,M.removeBasePath)(en.pathname):en.pathname;if(ed&&ea!==r&&Object.keys(ed).forEach(r=>{ed&&eo[r]===ed[r]&&delete eo[r]}),(0,b.isDynamicRoute)(ea)){let r=!ee.shallow&&s.resolvedAs?s.resolvedAs:(0,C.addBasePath)((0,j.addLocale)(new URL(o,location.href).pathname,Y.locale),!0),n=r;(0,I.hasBasePath)(n)&&(n=(0,M.removeBasePath)(n));let l=(0,R.getRouteRegex)(ea),u=(0,S.getRouteMatcher)(l)(new URL(n,location.href).pathname);u&&Object.assign(eo,u)}}if("type"in s){if("redirect-internal"===s.type)return this.change(r,s.newUrl,s.newAs,l);return handleHardNavigation({url:s.destination,router:this}),new Promise(()=>{})}let d=s.Component;if(d&&d.unstable_scriptLoader){let r=[].concat(d.unstable_scriptLoader());r.forEach(r=>{(0,f.handleClientScriptLoad)(r.props)})}if((s.__N_SSG||s.__N_SSP)&&s.props){if(s.props.pageProps&&s.props.pageProps.__N_REDIRECT){l.locale=!1;let n=s.props.pageProps.__N_REDIRECT;if(n.startsWith("/")&&!1!==s.props.pageProps.__N_REDIRECT_BASE_PATH){let o=(0,E.parseRelativeUrl)(n);o.pathname=resolveDynamicRoute(o.pathname,z);let{url:u,as:s}=prepareUrlAs(this,n,n);return this.change(r,u,s,l)}return handleHardNavigation({url:n,router:this}),new Promise(()=>{})}if(Y.isPreview=!!s.props.__N_PREVIEW,s.props.notFound===q){let r;try{await this.fetchComponent("/404"),r="/404"}catch(n){r="/_error"}if(s=await this.getRouteInfo({route:r,pathname:r,query:eo,as:o,resolvedAs:ei,routeProps:{shallow:!1},locale:Y.locale,isPreview:Y.isPreview,isNotFound:!0}),"type"in s)throw Error("Unexpected middleware effect on /404")}}V&&"/_error"===this.pathname&&(null==(y=self.__NEXT_DATA__.props)?void 0:null==(_=y.pageProps)?void 0:_.statusCode)===500&&(null==(x=s.props)?void 0:x.pageProps)&&(s.props.pageProps.statusCode=500);let g=l.shallow&&Y.route===(null!=(N=s.route)?N:el),P=null!=(L=l.scroll)?L:!V&&!g,w=null!=u?u:P?{x:0,y:0}:null,O={...Y,route:el,pathname:ea,query:eo,asPath:et,isFallback:!1};if(V&&ef){if(s=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:eo,as:o,resolvedAs:ei,routeProps:{shallow:!1},locale:Y.locale,isPreview:Y.isPreview,isQueryUpdating:V&&!this.isFallback}),"type"in s)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(U=self.__NEXT_DATA__.props)?void 0:null==(D=U.pageProps)?void 0:D.statusCode)===500&&(null==(W=s.props)?void 0:W.pageProps)&&(s.props.pageProps.statusCode=500);try{await this.set(O,s,w)}catch(r){throw(0,h.default)(r)&&r.cancelled&&Router.events.emit("routeChangeError",r,et,ee),r}return!0}Router.events.emit("beforeHistoryChange",o,ee),this.changeState(r,n,o,l);let A=V&&!w&&!K&&!er&&(0,k.compareRouterStates)(O,this.state);if(!A){try{await this.set(O,s,w)}catch(r){if(r.cancelled)s.error=s.error||r;else throw r}if(s.error)throw V||Router.events.emit("routeChangeError",s.error,et,ee),s.error;V||Router.events.emit("routeChangeComplete",o,ee),P&&/#.+$/.test(o)&&this.scrollToHash(o)}return!0}catch(r){if((0,h.default)(r)&&r.cancelled)return!1;throw r}}changeState(r,n,o,l){void 0===l&&(l={}),("pushState"!==r||(0,P.getURL)()!==o)&&(this._shallow=l.shallow,window.history[r]({url:n,as:o,options:l,__N:!0,key:this._key="pushState"!==r?this._key:createKey()},"",o))}async handleRouteInfoError(r,n,o,l,u,s){if(console.error(r),r.cancelled)throw r;if((0,d.isAssetError)(r)||s)throw Router.events.emit("routeChangeError",r,l,u),handleHardNavigation({url:l,router:this}),buildCancellationError();try{let l;let{page:u,styleSheets:s}=await this.fetchComponent("/_error"),d={props:l,Component:u,styleSheets:s,err:r,error:r};if(!d.props)try{d.props=await this.getInitialProps(u,{err:r,pathname:n,query:o})}catch(r){console.error("Error in error page `getInitialProps`: ",r),d.props={}}return d}catch(r){return this.handleRouteInfoError((0,h.default)(r)?r:Error(r+""),n,o,l,u,!0)}}async getRouteInfo(r){let{route:n,pathname:o,query:l,as:u,resolvedAs:d,routeProps:f,locale:g,hasMiddleware:y,isPreview:P,unstable_skipClientCache:b,isQueryUpdating:E,isMiddlewareRewrite:S,isNotFound:R}=r,O=n;try{var j,A,C,I;let r=getCancelledHandler({route:O,router:this}),n=this.components[O];if(f.shallow&&n&&this.route===O)return n;y&&(n=void 0);let h=!n||"initial"in n?void 0:n,x={dataHref:this.pageLoader.getDataHref({href:(0,w.formatWithValidation)({pathname:o,query:l}),skipInterpolation:!0,asPath:R?"/404":d,locale:g}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:E?this.sbc:this.sdc,persistCache:!P,isPrefetch:!1,unstable_skipClientCache:b,isBackground:E},L=E&&!S?null:await withMiddlewareEffects({fetchData:()=>fetchNextData(x),asPath:R?"/404":d,locale:g,router:this}).catch(r=>{if(E)return null;throw r});if(L&&("/_error"===o||"/404"===o)&&(L.effect=void 0),E&&(L?L.json=self.__NEXT_DATA__.props:L={json:self.__NEXT_DATA__.props}),r(),(null==L?void 0:null==(j=L.effect)?void 0:j.type)==="redirect-internal"||(null==L?void 0:null==(A=L.effect)?void 0:A.type)==="redirect-external")return L.effect;if((null==L?void 0:null==(C=L.effect)?void 0:C.type)==="rewrite"){let r=(0,s.removeTrailingSlash)(L.effect.resolvedHref),u=await this.pageLoader.getPageList();if((!E||u.includes(r))&&(O=r,o=L.effect.resolvedHref,l={...l,...L.effect.parsedAs.query},d=(0,M.removeBasePath)((0,_.normalizeLocalePath)(L.effect.parsedAs.pathname,this.locales).pathname),n=this.components[O],f.shallow&&n&&this.route===O&&!y))return{...n,route:O}}if((0,N.isAPIRoute)(O))return handleHardNavigation({url:u,router:this}),new Promise(()=>{});let D=h||await this.fetchComponent(O).then(r=>({Component:r.page,styleSheets:r.styleSheets,__N_SSG:r.mod.__N_SSG,__N_SSP:r.mod.__N_SSP})),k=null==L?void 0:null==(I=L.response)?void 0:I.headers.get("x-middleware-skip"),F=D.__N_SSG||D.__N_SSP;k&&(null==L?void 0:L.dataHref)&&delete this.sdc[L.dataHref];let{props:U,cacheKey:H}=await this._getData(async()=>{if(F){if((null==L?void 0:L.json)&&!k)return{cacheKey:L.cacheKey,props:L.json};let r=(null==L?void 0:L.dataHref)?L.dataHref:this.pageLoader.getDataHref({href:(0,w.formatWithValidation)({pathname:o,query:l}),asPath:d,locale:g}),n=await fetchNextData({dataHref:r,isServerRender:this.isSsr,parseJSON:!0,inflightCache:k?{}:this.sdc,persistCache:!P,isPrefetch:!1,unstable_skipClientCache:b});return{cacheKey:n.cacheKey,props:n.json||{}}}return{headers:{},props:await this.getInitialProps(D.Component,{pathname:o,query:l,asPath:u,locale:g,locales:this.locales,defaultLocale:this.defaultLocale})}});return D.__N_SSP&&x.dataHref&&H&&delete this.sdc[H],this.isPreview||!D.__N_SSG||E||fetchNextData(Object.assign({},x,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),U.pageProps=Object.assign({},U.pageProps),D.props=U,D.route=O,D.query=l,D.resolvedAs=d,this.components[O]=D,D}catch(r){return this.handleRouteInfoError((0,h.getProperError)(r),o,l,u,f)}}set(r,n,o){return this.state=r,this.sub(n,this.components["/_app"].Component,o)}beforePopState(r){this._bps=r}onlyAHashChange(r){if(!this.asPath)return!1;let[n,o]=this.asPath.split("#"),[l,u]=r.split("#");return!!u&&n===l&&o===u||n===l&&o!==u}scrollToHash(r){let[,n=""]=r.split("#");(0,W.handleSmoothScroll)(()=>{if(""===n||"top"===n){window.scrollTo(0,0);return}let r=decodeURIComponent(n),o=document.getElementById(r);if(o){o.scrollIntoView();return}let l=document.getElementsByName(r)[0];l&&l.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(r)})}urlIsNew(r){return this.asPath!==r}async prefetch(r,n,o){if(void 0===n&&(n=r),void 0===o&&(o={}),(0,U.isBot)(window.navigator.userAgent))return;let l=(0,E.parseRelativeUrl)(r),u=l.pathname,{pathname:d,query:f}=l,h=d,g=await this.pageLoader.getPageList(),_=n,y=void 0!==o.locale?o.locale||void 0:this.locale,P=await matchesMiddleware({asPath:n,locale:y,router:this});l.pathname=resolveDynamicRoute(l.pathname,g),(0,b.isDynamicRoute)(l.pathname)&&(d=l.pathname,l.pathname=d,Object.assign(f,(0,S.getRouteMatcher)((0,R.getRouteRegex)(l.pathname))((0,O.parsePath)(n).pathname)||{}),P||(r=(0,w.formatWithValidation)(l)));let j=await withMiddlewareEffects({fetchData:()=>fetchNextData({dataHref:this.pageLoader.getDataHref({href:(0,w.formatWithValidation)({pathname:h,query:f}),skipInterpolation:!0,asPath:_,locale:y}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:n,locale:y,router:this});if((null==j?void 0:j.effect.type)==="rewrite"&&(l.pathname=j.effect.resolvedHref,d=j.effect.resolvedHref,f={...f,...j.effect.parsedAs.query},_=j.effect.parsedAs.pathname,r=(0,w.formatWithValidation)(l)),(null==j?void 0:j.effect.type)==="redirect-external")return;let A=(0,s.removeTrailingSlash)(d);await this._bfl(n,_,o.locale,!0)&&(this.components[u]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(A).then(n=>!!n&&fetchNextData({dataHref:(null==j?void 0:j.json)?null==j?void 0:j.dataHref:this.pageLoader.getDataHref({href:r,asPath:_,locale:y}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:o.unstable_skipClientCache||o.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[o.priority?"loadPage":"prefetch"](A)])}async fetchComponent(r){let n=getCancelledHandler({route:r,router:this});try{let o=await this.pageLoader.loadPage(r);return n(),o}catch(r){throw n(),r}}_getData(r){let n=!1,cancel=()=>{n=!0};return this.clc=cancel,r().then(r=>{if(cancel===this.clc&&(this.clc=null),n){let r=Error("Loading initial props cancelled");throw r.cancelled=!0,r}return r})}_getFlightData(r){return fetchNextData({dataHref:r,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(r=>{let{text:n}=r;return{data:n}})}getInitialProps(r,n){let{Component:o}=this.components["/_app"],l=this._wrapApp(o);return n.AppTree=l,(0,P.loadGetInitialProps)(o,{AppTree:l,Component:r,router:this,ctx:n})}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(r,n,l,{initialProps:u,pageLoader:d,App:f,wrapApp:h,Component:g,err:_,subscription:y,isFallback:S,locale:R,locales:O,defaultLocale:j,domainLocales:A,isPreview:M}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=createKey(),this.onPopState=r=>{let n;let{isFirstPopStateEvent:o}=this;this.isFirstPopStateEvent=!1;let l=r.state;if(!l){let{pathname:r,query:n}=this;this.changeState("replaceState",(0,w.formatWithValidation)({pathname:(0,C.addBasePath)(r),query:n}),(0,P.getURL)());return}if(l.__NA){window.location.reload();return}if(!l.__N||o&&this.locale===l.options.locale&&l.as===this.asPath)return;let{url:u,as:s,options:d,key:f}=l;this._key=f;let{pathname:h}=(0,E.parseRelativeUrl)(u);(!this.isSsr||s!==(0,C.addBasePath)(this.asPath)||h!==(0,C.addBasePath)(this.pathname))&&(!this._bps||this._bps(l))&&this.change("replaceState",u,s,Object.assign({},d,{shallow:d.shallow&&this._shallow,locale:d.locale||this.defaultLocale,_h:0}),n)};let I=(0,s.removeTrailingSlash)(r);this.components={},"/_error"!==r&&(this.components[I]={Component:g,initial:!0,props:u,err:_,__N_SSG:u&&u.__N_SSG,__N_SSP:u&&u.__N_SSP}),this.components["/_app"]={Component:f,styleSheets:[]};{let{BloomFilter:r}=o(1063),n={numItems:0,errorRate:.01,numBits:0,numHashes:null,bitArray:[]},l={numItems:0,errorRate:.01,numBits:0,numHashes:null,bitArray:[]};(null==n?void 0:n.numHashes)&&(this._bfl_s=new r(n.numItems,n.errorRate),this._bfl_s.import(n)),(null==l?void 0:l.numHashes)&&(this._bfl_d=new r(l.numItems,l.errorRate),this._bfl_d.import(l))}this.events=Router.events,this.pageLoader=d;let x=(0,b.isDynamicRoute)(r)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=y,this.clc=null,this._wrapApp=h,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!x&&!self.location.search),this.state={route:I,pathname:r,query:n,asPath:x?r:l,isPreview:!!M,locale:void 0,isFallback:S},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!l.startsWith("//")){let o={locale:R},u=(0,P.getURL)();this._initialMatchesMiddlewarePromise=matchesMiddleware({router:this,locale:R,asPath:u}).then(s=>(o._shouldResolveHref=l!==r,this.changeState("replaceState",s?u:(0,w.formatWithValidation)({pathname:(0,C.addBasePath)(r),query:n}),u,o),s))}window.addEventListener("popstate",this.onPopState)}};Router.events=(0,y.default)()},5258:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addLocale",{enumerable:!0,get:function(){return addLocale}});let l=o(7662),u=o(2858);function addLocale(r,n,o,s){if(!n||n===o)return r;let d=r.toLowerCase();return!s&&((0,u.pathHasPrefix)(d,"/api")||(0,u.pathHasPrefix)(d,"/"+n.toLowerCase()))?r:(0,l.addPathPrefix)(r,"/"+n)}},7662:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addPathPrefix",{enumerable:!0,get:function(){return addPathPrefix}});let l=o(5754);function addPathPrefix(r,n){if(!r.startsWith("/")||!n)return r;let{pathname:o,query:u,hash:s}=(0,l.parsePath)(r);return""+n+o+u+s}},9602:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addPathSuffix",{enumerable:!0,get:function(){return addPathSuffix}});let l=o(5754);function addPathSuffix(r,n){if(!r.startsWith("/")||!n)return r;let{pathname:o,query:u,hash:s}=(0,l.parsePath)(r);return""+o+n+u+s}},3851:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{normalizeAppPath:function(){return normalizeAppPath},normalizeRscPath:function(){return normalizeRscPath}});let l=o(8034),u=o(8181);function normalizeAppPath(r){return(0,l.ensureLeadingSlash)(r.split("/").reduce((r,n,o,l)=>!n||(0,u.isGroupSegment)(n)||"@"===n[0]||("page"===n||"route"===n)&&o===l.length-1?r:r+"/"+n,""))}function normalizeRscPath(r,n){return n?r.replace(/\.rsc($|\?)/,"$1"):r}},5610:function(r,n){"use strict";function asPathToSearchParams(r){return new URL(r,"http://n").searchParams}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"asPathToSearchParams",{enumerable:!0,get:function(){return asPathToSearchParams}})},8026:function(r,n){"use strict";function compareRouterStates(r,n){let o=Object.keys(r);if(o.length!==Object.keys(n).length)return!1;for(let l=o.length;l--;){let u=o[l];if("query"===u){let o=Object.keys(r.query);if(o.length!==Object.keys(n.query).length)return!1;for(let l=o.length;l--;){let u=o[l];if(!n.query.hasOwnProperty(u)||r.query[u]!==n.query[u])return!1}}else if(!n.hasOwnProperty(u)||r[u]!==n[u])return!1}return!0}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"compareRouterStates",{enumerable:!0,get:function(){return compareRouterStates}})},6378:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"formatNextPathnameInfo",{enumerable:!0,get:function(){return formatNextPathnameInfo}});let l=o(9620),u=o(7662),s=o(9602),d=o(5258);function formatNextPathnameInfo(r){let n=(0,d.addLocale)(r.pathname,r.locale,r.buildId?void 0:r.defaultLocale,r.ignorePrefix);return(r.buildId||!r.trailingSlash)&&(n=(0,l.removeTrailingSlash)(n)),r.buildId&&(n=(0,s.addPathSuffix)((0,u.addPathPrefix)(n,"/_next/data/"+r.buildId),"/"===r.pathname?"index.json":".json")),n=(0,u.addPathPrefix)(n,r.basePath),!r.buildId&&r.trailingSlash?n.endsWith("/")?n:(0,s.addPathSuffix)(n,"/"):(0,l.removeTrailingSlash)(n)}},7822:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{formatUrl:function(){return formatUrl},urlObjectKeys:function(){return d},formatWithValidation:function(){return formatWithValidation}});let l=o(1757),u=l._(o(6507)),s=/https?|ftp|gopher|file/;function formatUrl(r){let{auth:n,hostname:o}=r,l=r.protocol||"",d=r.pathname||"",f=r.hash||"",h=r.query||"",g=!1;n=n?encodeURIComponent(n).replace(/%3A/i,":")+"@":"",r.host?g=n+r.host:o&&(g=n+(~o.indexOf(":")?"["+o+"]":o),r.port&&(g+=":"+r.port)),h&&"object"==typeof h&&(h=String(u.urlQueryToSearchParams(h)));let _=r.search||h&&"?"+h||"";return l&&!l.endsWith(":")&&(l+=":"),r.slashes||(!l||s.test(l))&&!1!==g?(g="//"+(g||""),d&&"/"!==d[0]&&(d="/"+d)):g||(g=""),f&&"#"!==f[0]&&(f="#"+f),_&&"?"!==_[0]&&(_="?"+_),""+l+g+(d=d.replace(/[?#]/g,encodeURIComponent))+(_=_.replace("#","%23"))+f}let d=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function formatWithValidation(r){return formatUrl(r)}},1528:function(r,n){"use strict";function getAssetPathFromRoute(r,n){void 0===n&&(n="");let o="/"===r?"/index":/^\/index(\/|$)/.test(r)?"/index"+r:""+r;return o+n}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return getAssetPathFromRoute}})},3190:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getNextPathnameInfo",{enumerable:!0,get:function(){return getNextPathnameInfo}});let l=o(6694),u=o(5199),s=o(2858);function getNextPathnameInfo(r,n){var o,d;let{basePath:f,i18n:h,trailingSlash:g}=null!=(o=n.nextConfig)?o:{},_={pathname:r,trailingSlash:"/"!==r?r.endsWith("/"):g};f&&(0,s.pathHasPrefix)(_.pathname,f)&&(_.pathname=(0,u.removePathPrefix)(_.pathname,f),_.basePath=f);let y=_.pathname;if(_.pathname.startsWith("/_next/data/")&&_.pathname.endsWith(".json")){let r=_.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),o=r[0];_.buildId=o,y="index"!==r[1]?"/"+r.slice(1).join("/"):"/",!0===n.parseData&&(_.pathname=y)}if(h){let r=n.i18nProvider?n.i18nProvider.analyze(_.pathname):(0,l.normalizeLocalePath)(_.pathname,h.locales);_.locale=r.detectedLocale,_.pathname=null!=(d=r.pathname)?d:_.pathname,!r.detectedLocale&&_.buildId&&(r=n.i18nProvider?n.i18nProvider.analyze(y):(0,l.normalizeLocalePath)(y,h.locales)).detectedLocale&&(_.locale=r.detectedLocale)}return _}},233:function(r,n){"use strict";function handleSmoothScroll(r,n){if(void 0===n&&(n={}),n.onlyHashChange){r();return}let o=document.documentElement,l=o.style.scrollBehavior;o.style.scrollBehavior="auto",n.dontForceLayout||o.getClientRects(),r(),o.style.scrollBehavior=l}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"handleSmoothScroll",{enumerable:!0,get:function(){return handleSmoothScroll}})},2778:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{getSortedRoutes:function(){return l.getSortedRoutes},isDynamicRoute:function(){return u.isDynamicRoute}});let l=o(3249),u=o(8207)},5421:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"interpolateAs",{enumerable:!0,get:function(){return interpolateAs}});let l=o(2461),u=o(2767);function interpolateAs(r,n,o){let s="",d=(0,u.getRouteRegex)(r),f=d.groups,h=(n!==r?(0,l.getRouteMatcher)(d)(n):"")||o;s=r;let g=Object.keys(f);return g.every(r=>{let n=h[r]||"",{repeat:o,optional:l}=f[r],u="["+(o?"...":"")+r+"]";return l&&(u=(n?"":"/")+"["+u+"]"),o&&!Array.isArray(n)&&(n=[n]),(l||r in h)&&(s=s.replace(u,o?n.map(r=>encodeURIComponent(r)).join("/"):encodeURIComponent(n))||"/")})||(s=""),{params:g,result:s}}},8497:function(r,n){"use strict";function isBot(r){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(r)}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isBot",{enumerable:!0,get:function(){return isBot}})},8207:function(r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isDynamicRoute",{enumerable:!0,get:function(){return isDynamicRoute}});let o=/\/\[[^/]+?\](?=\/|$)/;function isDynamicRoute(r){return o.test(r)}},4812:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isLocalURL",{enumerable:!0,get:function(){return isLocalURL}});let l=o(9938),u=o(6732);function isLocalURL(r){if(!(0,l.isAbsoluteUrl)(r))return!0;try{let n=(0,l.getLocationOrigin)(),o=new URL(r,n);return o.origin===n&&(0,u.hasBasePath)(o.pathname)}catch(r){return!1}}},1162:function(r,n){"use strict";function omit(r,n){let o={};return Object.keys(r).forEach(l=>{n.includes(l)||(o[l]=r[l])}),o}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"omit",{enumerable:!0,get:function(){return omit}})},5754:function(r,n){"use strict";function parsePath(r){let n=r.indexOf("#"),o=r.indexOf("?"),l=o>-1&&(n<0||o-1?{pathname:r.substring(0,l?o:n),query:l?r.substring(o,n>-1?n:void 0):"",hash:n>-1?r.slice(n):""}:{pathname:r,query:"",hash:""}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parsePath",{enumerable:!0,get:function(){return parsePath}})},9370:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parseRelativeUrl",{enumerable:!0,get:function(){return parseRelativeUrl}});let l=o(9938),u=o(6507);function parseRelativeUrl(r,n){let o=new URL((0,l.getLocationOrigin)()),s=n?new URL(n,o):r.startsWith(".")?new URL(window.location.href):o,{pathname:d,searchParams:f,search:h,hash:g,href:_,origin:y}=new URL(r,s);if(y!==o.origin)throw Error("invariant: invalid relative URL, router received "+r);return{pathname:d,query:(0,u.searchParamsToUrlQuery)(f),search:h,hash:g,href:_.slice(o.origin.length)}}},2858:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"pathHasPrefix",{enumerable:!0,get:function(){return pathHasPrefix}});let l=o(5754);function pathHasPrefix(r,n){if("string"!=typeof r)return!1;let{pathname:o}=(0,l.parsePath)(r);return o===n||o.startsWith(n+"/")}},6507:function(r,n){"use strict";function searchParamsToUrlQuery(r){let n={};return r.forEach((r,o)=>{void 0===n[o]?n[o]=r:Array.isArray(n[o])?n[o].push(r):n[o]=[n[o],r]}),n}function stringifyUrlQueryParam(r){return"string"!=typeof r&&("number"!=typeof r||isNaN(r))&&"boolean"!=typeof r?"":String(r)}function urlQueryToSearchParams(r){let n=new URLSearchParams;return Object.entries(r).forEach(r=>{let[o,l]=r;Array.isArray(l)?l.forEach(r=>n.append(o,stringifyUrlQueryParam(r))):n.set(o,stringifyUrlQueryParam(l))}),n}function assign(r){for(var n=arguments.length,o=Array(n>1?n-1:0),l=1;l{Array.from(n.keys()).forEach(n=>r.delete(n)),n.forEach((n,o)=>r.append(o,n))}),r}Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{searchParamsToUrlQuery:function(){return searchParamsToUrlQuery},urlQueryToSearchParams:function(){return urlQueryToSearchParams},assign:function(){return assign}})},5199:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"removePathPrefix",{enumerable:!0,get:function(){return removePathPrefix}});let l=o(2858);function removePathPrefix(r,n){if(!(0,l.pathHasPrefix)(r,n))return r;let o=r.slice(n.length);return o.startsWith("/")?o:"/"+o}},9620:function(r,n){"use strict";function removeTrailingSlash(r){return r.replace(/\/$/,"")||"/"}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"removeTrailingSlash",{enumerable:!0,get:function(){return removeTrailingSlash}})},2461:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getRouteMatcher",{enumerable:!0,get:function(){return getRouteMatcher}});let l=o(9938);function getRouteMatcher(r){let{re:n,groups:o}=r;return r=>{let u=n.exec(r);if(!u)return!1;let decode=r=>{try{return decodeURIComponent(r)}catch(r){throw new l.DecodeError("failed to decode param")}},s={};return Object.keys(o).forEach(r=>{let n=o[r],l=u[n.pos];void 0!==l&&(s[r]=~l.indexOf("/")?l.split("/").map(r=>decode(r)):n.repeat?[decode(l)]:decode(l))}),s}}},2767:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{getRouteRegex:function(){return getRouteRegex},getNamedRouteRegex:function(){return getNamedRouteRegex},getNamedMiddlewareRegex:function(){return getNamedMiddlewareRegex}});let l=o(2407),u=o(9314),s=o(9620);function parseParameter(r){let n=r.startsWith("[")&&r.endsWith("]");n&&(r=r.slice(1,-1));let o=r.startsWith("...");return o&&(r=r.slice(3)),{key:r,repeat:o,optional:n}}function getParametrizedRoute(r){let n=(0,s.removeTrailingSlash)(r).slice(1).split("/"),o={},d=1;return{parameterizedRoute:n.map(r=>{let n=l.INTERCEPTION_ROUTE_MARKERS.find(n=>r.startsWith(n)),s=r.match(/\[((?:\[.*\])|.+)\]/);if(n&&s){let{key:r,optional:l,repeat:f}=parseParameter(s[1]);return o[r]={pos:d++,repeat:f,optional:l},"/"+(0,u.escapeStringRegexp)(n)+"([^/]+?)"}if(!s)return"/"+(0,u.escapeStringRegexp)(r);{let{key:r,repeat:n,optional:l}=parseParameter(s[1]);return o[r]={pos:d++,repeat:n,optional:l},n?l?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:o}}function getRouteRegex(r){let{parameterizedRoute:n,groups:o}=getParametrizedRoute(r);return{re:RegExp("^"+n+"(?:/)?$"),groups:o}}function getSafeKeyFromSegment(r){let{getSafeRouteKey:n,segment:o,routeKeys:l,keyPrefix:u}=r,{key:s,optional:d,repeat:f}=parseParameter(o),h=s.replace(/\W/g,"");u&&(h=""+u+h);let g=!1;return(0===h.length||h.length>30)&&(g=!0),isNaN(parseInt(h.slice(0,1)))||(g=!0),g&&(h=n()),u?l[h]=""+u+s:l[h]=""+s,f?d?"(?:/(?<"+h+">.+?))?":"/(?<"+h+">.+?)":"/(?<"+h+">[^/]+?)"}function getNamedParametrizedRoute(r,n){let o;let d=(0,s.removeTrailingSlash)(r).slice(1).split("/"),f=(o=0,()=>{let r="",n=++o;for(;n>0;)r+=String.fromCharCode(97+(n-1)%26),n=Math.floor((n-1)/26);return r}),h={};return{namedParameterizedRoute:d.map(r=>{let o=l.INTERCEPTION_ROUTE_MARKERS.some(n=>r.startsWith(n)),s=r.match(/\[((?:\[.*\])|.+)\]/);return o&&s?getSafeKeyFromSegment({getSafeRouteKey:f,segment:s[1],routeKeys:h,keyPrefix:n?"nxtI":void 0}):s?getSafeKeyFromSegment({getSafeRouteKey:f,segment:s[1],routeKeys:h,keyPrefix:n?"nxtP":void 0}):"/"+(0,u.escapeStringRegexp)(r)}).join(""),routeKeys:h}}function getNamedRouteRegex(r,n){let o=getNamedParametrizedRoute(r,n);return{...getRouteRegex(r),namedRegex:"^"+o.namedParameterizedRoute+"(?:/)?$",routeKeys:o.routeKeys}}function getNamedMiddlewareRegex(r,n){let{parameterizedRoute:o}=getParametrizedRoute(r),{catchAll:l=!0}=n;if("/"===o)return{namedRegex:"^/"+(l?".*":"")+"$"};let{namedParameterizedRoute:u}=getNamedParametrizedRoute(r,!1);return{namedRegex:"^"+u+(l?"(?:(/.*)?)":"")+"$"}}},3249:function(r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getSortedRoutes",{enumerable:!0,get:function(){return getSortedRoutes}});let UrlNode=class UrlNode{insert(r){this._insert(r.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(r){void 0===r&&(r="/");let n=[...this.children.keys()].sort();null!==this.slugName&&n.splice(n.indexOf("[]"),1),null!==this.restSlugName&&n.splice(n.indexOf("[...]"),1),null!==this.optionalRestSlugName&&n.splice(n.indexOf("[[...]]"),1);let o=n.map(n=>this.children.get(n)._smoosh(""+r+n+"/")).reduce((r,n)=>[...r,...n],[]);if(null!==this.slugName&&o.push(...this.children.get("[]")._smoosh(r+"["+this.slugName+"]/")),!this.placeholder){let n="/"===r?"/":r.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+n+'" and "'+n+"[[..."+this.optionalRestSlugName+']]").');o.unshift(n)}return null!==this.restSlugName&&o.push(...this.children.get("[...]")._smoosh(r+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&o.push(...this.children.get("[[...]]")._smoosh(r+"[[..."+this.optionalRestSlugName+"]]/")),o}_insert(r,n,o){if(0===r.length){this.placeholder=!1;return}if(o)throw Error("Catch-all must be the last part of the URL.");let l=r[0];if(l.startsWith("[")&&l.endsWith("]")){let u=l.slice(1,-1),s=!1;if(u.startsWith("[")&&u.endsWith("]")&&(u=u.slice(1,-1),s=!0),u.startsWith("...")&&(u=u.substring(3),o=!0),u.startsWith("[")||u.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+u+"').");if(u.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+u+"').");function handleSlug(r,o){if(null!==r&&r!==o)throw Error("You cannot use different slug names for the same dynamic path ('"+r+"' !== '"+o+"').");n.forEach(r=>{if(r===o)throw Error('You cannot have the same slug name "'+o+'" repeat within a single dynamic path');if(r.replace(/\W/g,"")===l.replace(/\W/g,""))throw Error('You cannot have the slug names "'+r+'" and "'+o+'" differ only by non-word symbols within a single dynamic path')}),n.push(o)}if(o){if(s){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+r[0]+'" ).');handleSlug(this.optionalRestSlugName,u),this.optionalRestSlugName=u,l="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+r[0]+'").');handleSlug(this.restSlugName,u),this.restSlugName=u,l="[...]"}}else{if(s)throw Error('Optional route parameters are not yet supported ("'+r[0]+'").');handleSlug(this.slugName,u),this.slugName=u,l="[]"}}this.children.has(l)||this.children.set(l,new UrlNode),this.children.get(l)._insert(r.slice(1),n,o)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}};function getSortedRoutes(r){let n=new UrlNode;return r.forEach(r=>n.insert(r)),n.smoosh()}},6286:function(r,n){"use strict";let o;Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{default:function(){return _default},setConfig:function(){return setConfig}});let _default=()=>o;function setConfig(r){o=r}},8181:function(r,n){"use strict";function isGroupSegment(r){return"("===r[0]&&r.endsWith(")")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isGroupSegment",{enumerable:!0,get:function(){return isGroupSegment}})},3746:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return SideEffect}});let l=o(1757),u=l._(o(7294)),s=u.useLayoutEffect,d=u.useEffect;function SideEffect(r){let{headManager:n,reduceComponentsToState:o}=r;function emitChange(){if(n&&n.mountedInstances){let l=u.Children.toArray(Array.from(n.mountedInstances).filter(Boolean));n.updateHead(o(l,r))}}return s(()=>{var o;return null==n||null==(o=n.mountedInstances)||o.add(r.children),()=>{var o;null==n||null==(o=n.mountedInstances)||o.delete(r.children)}}),s(()=>(n&&(n._pendingUpdate=emitChange),()=>{n&&(n._pendingUpdate=emitChange)})),d(()=>(n&&n._pendingUpdate&&(n._pendingUpdate(),n._pendingUpdate=null),()=>{n&&n._pendingUpdate&&(n._pendingUpdate(),n._pendingUpdate=null)})),null}},9938:function(r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{WEB_VITALS:function(){return o},execOnce:function(){return execOnce},isAbsoluteUrl:function(){return isAbsoluteUrl},getLocationOrigin:function(){return getLocationOrigin},getURL:function(){return getURL},getDisplayName:function(){return getDisplayName},isResSent:function(){return isResSent},normalizeRepeatedSlashes:function(){return normalizeRepeatedSlashes},loadGetInitialProps:function(){return loadGetInitialProps},SP:function(){return u},ST:function(){return s},DecodeError:function(){return DecodeError},NormalizeError:function(){return NormalizeError},PageNotFoundError:function(){return PageNotFoundError},MissingStaticPage:function(){return MissingStaticPage},MiddlewareNotFoundError:function(){return MiddlewareNotFoundError},stringifyError:function(){return stringifyError}});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function execOnce(r){let n,o=!1;return function(){for(var l=arguments.length,u=Array(l),s=0;sl.test(r);function getLocationOrigin(){let{protocol:r,hostname:n,port:o}=window.location;return r+"//"+n+(o?":"+o:"")}function getURL(){let{href:r}=window.location,n=getLocationOrigin();return r.substring(n.length)}function getDisplayName(r){return"string"==typeof r?r:r.displayName||r.name||"Unknown"}function isResSent(r){return r.finished||r.headersSent}function normalizeRepeatedSlashes(r){let n=r.split("?"),o=n[0];return o.replace(/\\/g,"/").replace(/\/\/+/g,"/")+(n[1]?"?"+n.slice(1).join("?"):"")}async function loadGetInitialProps(r,n){let o=n.res||n.ctx&&n.ctx.res;if(!r.getInitialProps)return n.ctx&&n.Component?{pageProps:await loadGetInitialProps(n.Component,n.ctx)}:{};let l=await r.getInitialProps(n);if(o&&isResSent(o))return l;if(!l){let n='"'+getDisplayName(r)+'.getInitialProps()" should resolve to an object. But found "'+l+'" instead.';throw Error(n)}return l}let u="undefined"!=typeof performance,s=u&&["mark","measure","getEntriesByName"].every(r=>"function"==typeof performance[r]);let DecodeError=class DecodeError extends Error{};let NormalizeError=class NormalizeError extends Error{};let PageNotFoundError=class PageNotFoundError extends Error{constructor(r){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+r}};let MissingStaticPage=class MissingStaticPage extends Error{constructor(r,n){super(),this.message="Failed to load static file for page: "+r+" "+n}};let MiddlewareNotFoundError=class MiddlewareNotFoundError extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}};function stringifyError(r){return JSON.stringify({message:r.message,stack:r.stack})}},3213:function(r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"warnOnce",{enumerable:!0,get:function(){return warnOnce}});let warnOnce=r=>{}},8018:function(r){var n,o,l,u,s,d,f,h,g,_,y,P,b,E,S,R,w,O,j,A,M,C,I,x,N,L,D,k,F,U,H,B,W,q,z,G,V,X,Y,K,Q,$,J,Z,ee,et;(n={}).d=function(r,o){for(var l in o)n.o(o,l)&&!n.o(r,l)&&Object.defineProperty(r,l,{enumerable:!0,get:o[l]})},n.o=function(r,n){return Object.prototype.hasOwnProperty.call(r,n)},n.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},void 0!==n&&(n.ab="//"),o={},n.r(o),n.d(o,{getCLS:function(){return I},getFCP:function(){return A},getFID:function(){return U},getINP:function(){return $},getLCP:function(){return Z},getTTFB:function(){return et},onCLS:function(){return I},onFCP:function(){return A},onFID:function(){return U},onINP:function(){return $},onLCP:function(){return Z},onTTFB:function(){return et}}),h=-1,g=function(r){addEventListener("pageshow",function(n){n.persisted&&(h=n.timeStamp,r(n))},!0)},_=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},y=function(){var r=_();return r&&r.activationStart||0},P=function(r,n){var o=_(),l="navigate";return h>=0?l="back-forward-cache":o&&(l=document.prerendering||y()>0?"prerender":o.type.replace(/_/g,"-")),{name:r,value:void 0===n?-1:n,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:l}},b=function(r,n,o){try{if(PerformanceObserver.supportedEntryTypes.includes(r)){var l=new PerformanceObserver(function(r){n(r.getEntries())});return l.observe(Object.assign({type:r,buffered:!0},o||{})),l}}catch(r){}},E=function(r,n){var T=function t(o){"pagehide"!==o.type&&"hidden"!==document.visibilityState||(r(o),n&&(removeEventListener("visibilitychange",t,!0),removeEventListener("pagehide",t,!0)))};addEventListener("visibilitychange",T,!0),addEventListener("pagehide",T,!0)},S=function(r,n,o,l){var u,s;return function(d){var f;n.value>=0&&(d||l)&&((s=n.value-(u||0))||void 0===u)&&(u=n.value,n.delta=s,n.rating=(f=n.value)>o[1]?"poor":f>o[0]?"needs-improvement":"good",r(n))}},R=-1,w=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},O=function(){E(function(r){R=r.timeStamp},!0)},j=function(){return R<0&&(R=w(),O(),g(function(){setTimeout(function(){R=w(),O()},0)})),{get firstHiddenTime(){return R}}},A=function(r,n){n=n||{};var o,l=[1800,3e3],u=j(),s=P("FCP"),c=function(r){r.forEach(function(r){"first-contentful-paint"===r.name&&(f&&f.disconnect(),r.startTime-1&&r(n)},u=P("CLS",0),s=0,d=[],p=function(r){r.forEach(function(r){if(!r.hadRecentInput){var n=d[0],o=d[d.length-1];s&&r.startTime-o.startTime<1e3&&r.startTime-n.startTime<5e3?(s+=r.value,d.push(r)):(s=r.value,d=[r]),s>u.value&&(u.value=s,u.entries=d,l())}})},f=b("layout-shift",p);f&&(l=S(i,u,o,n.reportAllChanges),E(function(){p(f.takeRecords()),l(!0)}),g(function(){s=0,C=-1,l=S(i,u=P("CLS",0),o,n.reportAllChanges)}))},x={passive:!0,capture:!0},N=new Date,L=function(r,n){l||(l=n,u=r,s=new Date,F(removeEventListener),D())},D=function(){if(u>=0&&u1e12?new Date:performance.now())-r.timeStamp;"pointerdown"==r.type?(n=function(){L(u,r),l()},o=function(){l()},l=function(){removeEventListener("pointerup",n,x),removeEventListener("pointercancel",o,x)},addEventListener("pointerup",n,x),addEventListener("pointercancel",o,x)):L(u,r)}},F=function(r){["mousedown","keydown","touchstart","pointerdown"].forEach(function(n){return r(n,k,x)})},U=function(r,n){n=n||{};var o,s=[100,300],f=j(),h=P("FID"),v=function(r){r.startTimen.latency){if(o)o.entries.push(r),o.latency=Math.max(o.latency,r.duration);else{var l={id:r.interactionId,latency:r.duration,entries:[r]};K[l.id]=l,Y.push(l)}Y.sort(function(r,n){return n.latency-r.latency}),Y.splice(10).forEach(function(r){delete K[r.id]})}},$=function(r,n){n=n||{};var o=[200,500];G();var l,u=P("INP"),a=function(r){r.forEach(function(r){r.interactionId&&Q(r),"first-input"!==r.entryType||Y.some(function(n){return n.entries.some(function(n){return r.duration===n.duration&&r.startTime===n.startTime})})||Q(r)});var n,o=(n=Math.min(Y.length-1,Math.floor(X()/50)),Y[n]);o&&o.latency!==u.value&&(u.value=o.latency,u.entries=o.entries,l())},s=b("event",a,{durationThreshold:n.durationThreshold||40});l=S(r,u,o,n.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),E(function(){a(s.takeRecords()),u.value<0&&X()>0&&(u.value=0,u.entries=[]),l(!0)}),g(function(){Y=[],V=z(),l=S(r,u=P("INP"),o,n.reportAllChanges)}))},J={},Z=function(r,n){n=n||{};var o,l=[2500,4e3],u=j(),s=P("LCP"),c=function(r){var n=r[r.length-1];if(n){var l=n.startTime-y();lperformance.now())return;l.entries=[s],u(!0),g(function(){(u=S(r,l=P("TTFB",0),o,n.reportAllChanges))(!0)})}})},r.exports=o},9423:function(r,n){"use strict";function isAPIRoute(r){return"/api"===r||!!(null==r?void 0:r.startsWith("/api/"))}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isAPIRoute",{enumerable:!0,get:function(){return isAPIRoute}})},676:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{default:function(){return isError},getProperError:function(){return getProperError}});let l=o(9200);function isError(r){return"object"==typeof r&&null!==r&&"name"in r&&"message"in r}function getProperError(r){return isError(r)?r:Error((0,l.isPlainObject)(r)?JSON.stringify(r):r+"")}},2407:function(r,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(r,n){for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]})}(n,{INTERCEPTION_ROUTE_MARKERS:function(){return u},isInterceptionRouteAppPath:function(){return isInterceptionRouteAppPath},extractInterceptionRouteInformation:function(){return extractInterceptionRouteInformation}});let l=o(3851),u=["(..)(..)","(.)","(..)","(...)"];function isInterceptionRouteAppPath(r){return void 0!==r.split("/").find(r=>u.find(n=>r.startsWith(n)))}function extractInterceptionRouteInformation(r){let n,o,s;for(let l of r.split("/"))if(o=u.find(r=>l.startsWith(r))){[n,s]=r.split(o,2);break}if(!n||!o||!s)throw Error(`Invalid interception route: ${r}. Must be in the format //(..|...|..)(..)/`);switch(n=(0,l.normalizeAppPath)(n),o){case"(.)":s="/"===n?`/${s}`:n+"/"+s;break;case"(..)":if("/"===n)throw Error(`Invalid interception route: ${r}. Cannot use (..) marker at the root level, use (.) instead.`);s=n.split("/").slice(0,-1).concat(s).join("/");break;case"(...)":s="/"+s;break;case"(..)(..)":let d=n.split("/");if(d.length<=2)throw Error(`Invalid interception route: ${r}. Cannot use (..)(..) marker at the root level or one level up.`);s=d.slice(0,-2).concat(s).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:n,interceptedRoute:s}}},2431:function(){},8754:function(r,n,o){"use strict";function _interop_require_default(r){return r&&r.__esModule?r:{default:r}}o.r(n),o.d(n,{_:function(){return _interop_require_default},_interop_require_default:function(){return _interop_require_default}})},1757:function(r,n,o){"use strict";function _getRequireWildcardCache(r){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(r){return r?o:n})(r)}function _interop_require_wildcard(r,n){if(!n&&r&&r.__esModule)return r;if(null===r||"object"!=typeof r&&"function"!=typeof r)return{default:r};var o=_getRequireWildcardCache(n);if(o&&o.has(r))return o.get(r);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in r)if("default"!==s&&Object.prototype.hasOwnProperty.call(r,s)){var d=u?Object.getOwnPropertyDescriptor(r,s):null;d&&(d.get||d.set)?Object.defineProperty(l,s,d):l[s]=r[s]}return l.default=r,o&&o.set(r,l),l}o.r(n),o.d(n,{_:function(){return _interop_require_wildcard},_interop_require_wildcard:function(){return _interop_require_wildcard}})}},function(r){r.O(0,[774],function(){return r(r.s=9866)}),_N_E=r.O()}]);
\ No newline at end of file
diff --git a/_next/static/chunks/pages/[page]-621d3e32b098c42a.js b/_next/static/chunks/pages/[page]-621d3e32b098c42a.js
deleted file mode 100644
index 51d6c14..0000000
--- a/_next/static/chunks/pages/[page]-621d3e32b098c42a.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[358],{2019:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[page]",function(){return t(9898)}])},4417:function(e,s,t){"use strict";t.d(s,{Z:function(){return w}});var a=t(5893),n=t(9008),l=t.n(n),o=t(4298),r=t.n(o),c=t(3454);let i=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("meta",{charSet:"utf-8"}),(0,a.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/favicon/apple-touch-icon.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon/favicon-32x32.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon/favicon-16x16.png"}),(0,a.jsx)("link",{rel:"manifest",href:"/favicon/site.webmanifest"}),(0,a.jsx)("link",{rel:"mask-icon",href:"/favicon/safari-pinned-tab.svg",color:"#81e66c"}),(0,a.jsx)("link",{rel:"shortcut icon",href:"/favicon/favicon.ico"}),(0,a.jsx)("meta",{name:"msapplication-TileColor",content:"#603cba"}),(0,a.jsx)("meta",{name:"msapplication-config",content:"/favicon/browserconfig.xml"}),(0,a.jsx)("meta",{name:"theme-color",content:"#603cba"}),(0,a.jsx)("link",{rel:"alternate",type:"application/rss+xml",href:"/feed.xml"}),(0,a.jsx)("meta",{property:"og:image",content:"/icon.png"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,a.jsx)("title",{children:"Genoma Games"}),(0,a.jsx)("meta",{name:"description",content:c.env.NEXT_PUBLIC_SITE_DESCRIPTION}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,a.jsx)("meta",{name:"twitter:site",content:"@".concat("GenomaGames")})]}),(0,a.jsx)(r(),{src:"https://www.googletagmanager.com/gtag/js?id=".concat("G-ZPYXRCXX7D"),strategy:"afterInteractive"}),(0,a.jsx)(r(),{id:"google-analytics",strategy:"afterInteractive",children:"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '".concat("G-ZPYXRCXX7D","');\n ")})]});var m=t(9417),d=t(7814);let x=()=>(0,a.jsx)("footer",{className:"mt-auto h-12 w-full bg-gradient-to-br from-slate-800 to-gray-900 shadow-md shadow-black",children:(0,a.jsxs)("div",{className:"container mx-auto flex h-full max-w-5xl items-center px-4",children:[(0,a.jsx)("div",{className:"text-xs text-slate-400",children:"\xa9️ 2014-2022 Genoma Games. All rights reserved"}),(0,a.jsxs)("a",{className:"ml-auto flex h-8 w-8 items-center justify-center justify-self-end rounded bg-emerald-800",href:"#top",children:[(0,a.jsx)(d.G,{icon:m.FPD}),(0,a.jsx)("span",{className:"sr-only",children:"Scroll to top"})]})]})});var f=t(3024),h=t(5675),u=t.n(h),g=t(1664),p=t.n(g),j={src:"/_next/static/media/icon.078899de.png",height:156,width:156,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA6klEQVR42mNQ2GbHeOX/EkYGCGBkWKWvzlDFwM0ABFUPM5gYYCDoRFB67o3EE6V3U3+nX4l9En4qxJMBBpIvRs+pepDxv/Zx1v+SOyn/ax5l/i+4lfRLc4ejJoPzAS+/SqBk9cPM31Z73f9wb7L6n3El9lfdk+z/fscCckFGFwElQQp+mex2+c+0yfJf2uWYn3WPgQqO+ucyAB2pWXAz6U/z87z/5ffS/gPd8L/pee7/vBuJICu0GEAg5mx4GdDO70W3kz8DFX3JvhZ/NfRksBcDCGz73w/x4mw+SaAXlRgWKSrBHF/1IIMJAGfLb/mY8EV8AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8};let b=()=>(0,a.jsx)("header",{className:"fixed top-0 left-0 z-10 h-12 w-full bg-gradient-to-br from-slate-800 to-gray-900 shadow-md shadow-black",children:(0,a.jsxs)("div",{className:"container mx-auto flex h-full max-w-5xl items-center px-4",children:[(0,a.jsx)("h1",{className:"flex h-full items-center",children:(0,a.jsxs)(p(),{href:"/",className:"flex items-center",children:[(0,a.jsx)(u(),{className:"inline-block h-auto w-8",src:j,alt:"".concat("Genoma Games"," logo")}),(0,a.jsx)("span",{className:"ml-2 inline-block text-xl font-bold",children:"Genoma Games"})]})}),(0,a.jsxs)("div",{className:"ml-auto flex",children:[!1,(0,a.jsxs)(p(),{className:"flex h-12 w-12 items-center justify-center justify-self-end",href:"https://twitter.com/".concat("GenomaGames"),children:[(0,a.jsx)(d.G,{className:"text-[#00acee]",icon:f.mdU,size:"xl"}),(0,a.jsx)("span",{className:"sr-only",children:"".concat("Genoma Games"," Twitter")})]})]})]})}),v=e=>{let{children:s}=e;return(0,a.jsxs)("div",{className:"flex min-h-screen flex-col",children:[(0,a.jsx)(i,{}),(0,a.jsx)("div",{id:"top"}),(0,a.jsx)(b,{}),(0,a.jsx)("main",{className:"mx-auto mt-16 w-full px-5 pt-4 sm:max-w-2xl md:max-w-3xl lg:max-w-4xl",children:s}),(0,a.jsx)(x,{})]})};var w=v},9694:function(e,s,t){"use strict";t.d(s,{Z:function(){return f}});var a=t(5893),n=t(1664),l=t.n(n),o=t(2167),r=t(7814),c=t(9417),i=t(5675),m=t.n(i);let d=e=>{let{coverImage:s,date:t,draft:n,summary:i,title:d,slug:x}=e;return(0,a.jsx)("article",{className:"mx-auto mb-4",children:(0,a.jsxs)(l(),{className:"md group relative block rounded-md bg-gray-800 drop-shadow-xl transition-colors ease-in-out sm:pl-44 sm:pt-2 lg:pl-56",as:"/posts/".concat(x),href:"/posts/[...slug]",children:[n&&(0,a.jsx)("div",{className:"absolute top-0 right-0 z-10 w-8 rounded-tr-md rounded-bl-md bg-indigo-700 text-center",title:"Draft post",children:(0,a.jsx)(r.G,{icon:c.$tV})}),(0,a.jsxs)("header",{children:[s?(0,a.jsx)(m(),{alt:d,src:s.src,className:"mb-2 aspect-video max-h-36 w-full rounded-t-md object-cover brightness-50 group-hover:brightness-100 sm:absolute sm:left-0 sm:top-0 sm:mb-0 sm:h-full sm:max-h-full sm:w-44 sm:rounded-none sm:rounded-l-md lg:w-56",width:384,height:144}):(0,a.jsx)("div",{className:"h-2 w-full rounded-t-md bg-gradient-to-r from-emerald-500 via-emerald-700 to-indigo-800 group-hover:from-emerald-300 group-hover:to-indigo-700 group-focus:from-emerald-300 group-focus:to-indigo-700 sm:absolute sm:left-0 sm:top-0 sm:h-full sm:w-44 sm:rounded-none sm:rounded-l-md sm:bg-gradient-to-br lg:w-56"}),(0,a.jsx)("h2",{className:"mt-3 mb-2 px-3 text-lg font-bold text-emerald-500 transition-colors ease-in-out group-hover:text-emerald-200 group-hover:underline group-hover:underline-offset-4 group-focus:text-emerald-200 group-focus:underline group-focus:underline-offset-4 sm:mt-0",children:d})]}),(0,a.jsxs)("div",{className:"px-3 pb-4",children:[(0,a.jsx)("p",{className:"mb-2",children:i}),(0,a.jsx)("footer",{className:"text-right text-sm leading-none text-slate-400",children:(0,a.jsxs)("time",{className:"inline-block",dateTime:(0,o.Z)(t,"yyyy-MM-dd"),children:[(0,a.jsx)(r.G,{className:"mr-1",icon:c.$nv,size:"sm"}),(0,a.jsx)("span",{children:(0,o.Z)(t,"yyyy-MM-dd")})]})})]})]})})},x=e=>(0,a.jsx)("div",{className:e.className,children:e.posts.map((e,s)=>(0,a.jsx)(d,{...e},s))});var f=x},9898:function(e,s,t){"use strict";t.r(s),t.d(s,{__N_SSG:function(){return d}});var a=t(5893),n=t(4417),l=t(9694),o=t(9008),r=t.n(o),c=t(1664),i=t.n(c);let m=e=>{let{currentPage:s,posts:t,totalPages:o}=e,c=s+1,m=s-1;return(0,a.jsxs)(n.Z,{children:[(0,a.jsxs)(r(),{children:[(0,a.jsx)("title",{children:"Blog page ".concat(s," | ").concat("Genoma Games")}),1===s&&(0,a.jsx)("link",{rel:"canonical",href:"https://genomagames.com"}),(0,a.jsx)("meta",{name:"description",content:"Page ".concat(s," of game development posts for Genoma Games' blog.")})]}),(0,a.jsx)(l.Z,{className:"mx-auto max-w-sm sm:max-w-full",posts:t}),(0,a.jsxs)("nav",{className:"mx-auto flex max-w-sm gap-4 sm:max-w-full",children:[m>0&&(0,a.jsx)(i(),{className:"mb-4 block h-10 flex-1 rounded bg-emerald-600 text-center font-bold leading-10 text-slate-900 transition-colors ease-in-out hover:bg-emerald-400 focus:bg-emerald-400",as:1===m?"/":"/".concat(m),href:1===m?"/":"/[page]",rel:"prev",children:"Prev"}),c<=o&&(0,a.jsx)(i(),{className:"mb-4 block h-10 flex-1 rounded bg-emerald-600 text-center font-bold leading-10 text-slate-900 transition-colors ease-in-out hover:bg-emerald-400 focus:bg-emerald-400",as:"/".concat(c),href:"/[page]",rel:"next",children:"Next"})]})]})};var d=!0;s.default=m}},function(e){e.O(0,[976,948,732,774,888,179],function(){return e(e.s=2019)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/_next/static/chunks/pages/[page]-7a63497b593196b5.js b/_next/static/chunks/pages/[page]-7a63497b593196b5.js
new file mode 100644
index 0000000..565dc5e
--- /dev/null
+++ b/_next/static/chunks/pages/[page]-7a63497b593196b5.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[358],{2019:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[page]",function(){return t(5958)}])},9172:function(e,s,t){"use strict";t.d(s,{Z:function(){return layout}});var a=t(5893),n=t(9008),l=t.n(n),o=t(4298),r=t.n(o),c=t(3454),meta=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("meta",{charSet:"utf-8"}),(0,a.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/favicon/apple-touch-icon.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon/favicon-32x32.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon/favicon-16x16.png"}),(0,a.jsx)("link",{rel:"manifest",href:"/favicon/site.webmanifest"}),(0,a.jsx)("link",{rel:"mask-icon",href:"/favicon/safari-pinned-tab.svg",color:"#81e66c"}),(0,a.jsx)("link",{rel:"shortcut icon",href:"/favicon/favicon.ico"}),(0,a.jsx)("meta",{name:"msapplication-TileColor",content:"#603cba"}),(0,a.jsx)("meta",{name:"msapplication-config",content:"/favicon/browserconfig.xml"}),(0,a.jsx)("meta",{name:"theme-color",content:"#603cba"}),(0,a.jsx)("link",{rel:"alternate",type:"application/rss+xml",href:"/feed.xml"}),(0,a.jsx)("meta",{property:"og:image",content:"/icon.png"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,a.jsx)("title",{children:"Genoma Games"}),(0,a.jsx)("meta",{name:"description",content:c.env.NEXT_PUBLIC_SITE_DESCRIPTION}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,a.jsx)("meta",{name:"twitter:site",content:"@".concat("GenomaGames")})]}),(0,a.jsx)(r(),{src:"https://www.googletagmanager.com/gtag/js?id=".concat("G-ZPYXRCXX7D"),strategy:"afterInteractive"}),(0,a.jsx)(r(),{id:"google-analytics",strategy:"afterInteractive",children:"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '".concat("G-ZPYXRCXX7D","');\n ")})]}),i=t(9417),m=t(7814),footer=()=>(0,a.jsx)("footer",{className:"mt-auto h-12 w-full bg-gradient-to-br from-slate-800 to-gray-900 shadow-md shadow-black",children:(0,a.jsxs)("div",{className:"container mx-auto flex h-full max-w-5xl items-center px-4",children:[(0,a.jsx)("div",{className:"text-xs text-slate-400",children:"\xa9️ 2014-2022 Genoma Games. All rights reserved"}),(0,a.jsxs)("a",{className:"ml-auto flex h-8 w-8 items-center justify-center justify-self-end rounded bg-emerald-800",href:"#top",children:[(0,a.jsx)(m.G,{icon:i.FPD}),(0,a.jsx)("span",{className:"sr-only",children:"Scroll to top"})]})]})}),d=t(3024),x=t(5675),f=t.n(x),h=t(1664),u=t.n(h),g={src:"/_next/static/media/icon.078899de.png",height:156,width:156,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA6klEQVR42mNQ2GbHeOX/EkYGCGBkWKWvzlDFwM0ABFUPM5gYYCDoRFB67o3EE6V3U3+nX4l9En4qxJMBBpIvRs+pepDxv/Zx1v+SOyn/ax5l/i+4lfRLc4ejJoPzAS+/SqBk9cPM31Z73f9wb7L6n3El9lfdk+z/fscCckFGFwElQQp+mex2+c+0yfJf2uWYn3WPgQqO+ucyAB2pWXAz6U/z87z/5ffS/gPd8L/pee7/vBuJICu0GEAg5mx4GdDO70W3kz8DFX3JvhZ/NfRksBcDCGz73w/x4mw+SaAXlRgWKSrBHF/1IIMJAGfLb/mY8EV8AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},header=()=>(0,a.jsx)("header",{className:"fixed left-0 top-0 z-10 h-12 w-full bg-gradient-to-br from-slate-800 to-gray-900 shadow-md shadow-black",children:(0,a.jsxs)("div",{className:"container mx-auto flex h-full max-w-5xl items-center px-4",children:[(0,a.jsx)("h1",{className:"flex h-full items-center",children:(0,a.jsxs)(u(),{href:"/",className:"flex items-center",children:[(0,a.jsx)(f(),{className:"inline-block h-auto w-8",src:g,alt:"".concat("Genoma Games"," logo")}),(0,a.jsx)("span",{className:"ml-2 inline-block text-xl font-bold",children:"Genoma Games"})]})}),(0,a.jsxs)("div",{className:"ml-auto flex",children:[!1,(0,a.jsxs)(u(),{className:"flex h-12 w-12 items-center justify-center justify-self-end",href:"https://twitter.com/".concat("GenomaGames"),children:[(0,a.jsx)(m.G,{className:"text-[#00acee]",icon:d.mdU,size:"xl"}),(0,a.jsx)("span",{className:"sr-only",children:"".concat("Genoma Games"," Twitter")})]})]})]})}),layout=e=>{let{children:s}=e;return(0,a.jsxs)("div",{className:"flex min-h-screen flex-col",children:[(0,a.jsx)(meta,{}),(0,a.jsx)("div",{id:"top"}),(0,a.jsx)(header,{}),(0,a.jsx)("main",{className:"mx-auto mt-16 w-full px-5 pt-4 sm:max-w-2xl md:max-w-3xl lg:max-w-4xl",children:s}),(0,a.jsx)(footer,{})]})}},9595:function(e,s,t){"use strict";t.d(s,{Z:function(){return posts_list}});var a=t(5893),n=t(1664),l=t.n(n),o=t(8260),r=t(7814),c=t(9417),i=t(5675),m=t.n(i),post_item=e=>{let{coverImage:s,date:t,draft:n,summary:i,title:d,slug:x}=e;return(0,a.jsx)("article",{className:"mx-auto mb-4",children:(0,a.jsxs)(l(),{className:"md group relative block rounded-md bg-gray-800 drop-shadow-xl transition-colors ease-in-out sm:pl-44 sm:pt-2 lg:pl-56",as:"/posts/".concat(x),href:"/posts/[...slug]",children:[n&&(0,a.jsx)("div",{className:"absolute right-0 top-0 z-10 w-8 rounded-bl-md rounded-tr-md bg-indigo-700 text-center",title:"Draft post",children:(0,a.jsx)(r.G,{icon:c.$tV})}),(0,a.jsxs)("header",{children:[s?(0,a.jsx)(m(),{alt:d,src:s.src,className:"mb-2 aspect-video max-h-36 w-full rounded-t-md object-cover brightness-50 group-hover:brightness-100 sm:absolute sm:left-0 sm:top-0 sm:mb-0 sm:h-full sm:max-h-full sm:w-44 sm:rounded-none sm:rounded-l-md lg:w-56",width:384,height:144}):(0,a.jsx)("div",{className:"h-2 w-full rounded-t-md bg-gradient-to-r from-emerald-500 via-emerald-700 to-indigo-800 group-hover:from-emerald-300 group-hover:to-indigo-700 group-focus:from-emerald-300 group-focus:to-indigo-700 sm:absolute sm:left-0 sm:top-0 sm:h-full sm:w-44 sm:rounded-none sm:rounded-l-md sm:bg-gradient-to-br lg:w-56"}),(0,a.jsx)("h2",{className:"mb-2 mt-3 px-3 text-lg font-bold text-emerald-500 transition-colors ease-in-out group-hover:text-emerald-200 group-hover:underline group-hover:underline-offset-4 group-focus:text-emerald-200 group-focus:underline group-focus:underline-offset-4 sm:mt-0",children:d})]}),(0,a.jsxs)("div",{className:"px-3 pb-4",children:[(0,a.jsx)("p",{className:"mb-2",children:i}),(0,a.jsx)("footer",{className:"text-right text-sm leading-none text-slate-400",children:(0,a.jsxs)("time",{className:"inline-block",dateTime:(0,o.Z)(t,"yyyy-MM-dd"),children:[(0,a.jsx)(r.G,{className:"mr-1",icon:c.$nv,size:"sm"}),(0,a.jsx)("span",{children:(0,o.Z)(t,"yyyy-MM-dd")})]})})]})]})})},posts_list=e=>(0,a.jsx)("div",{className:e.className,children:e.posts.map((e,s)=>(0,a.jsx)(post_item,{...e},s))})},5958:function(e,s,t){"use strict";t.r(s),t.d(s,{__N_SSG:function(){return m}});var a=t(5893),n=t(9172),l=t(9595),o=t(9008),r=t.n(o),c=t(1664),i=t.n(c),m=!0;s.default=e=>{let{currentPage:s,posts:t,totalPages:o}=e,c=s+1,m=s-1;return(0,a.jsxs)(n.Z,{children:[(0,a.jsxs)(r(),{children:[(0,a.jsx)("title",{children:"Blog page ".concat(s," | ").concat("Genoma Games")}),1===s&&(0,a.jsx)("link",{rel:"canonical",href:"https://genomagames.com"}),(0,a.jsx)("meta",{name:"description",content:"Page ".concat(s," of game development posts for Genoma Games' blog.")})]}),(0,a.jsx)(l.Z,{className:"mx-auto max-w-sm sm:max-w-full",posts:t}),(0,a.jsxs)("nav",{className:"mx-auto flex max-w-sm gap-4 sm:max-w-full",children:[m>0&&(0,a.jsx)(i(),{className:"mb-4 block h-10 flex-1 rounded bg-emerald-600 text-center font-bold leading-10 text-slate-900 transition-colors ease-in-out hover:bg-emerald-400 focus:bg-emerald-400",as:1===m?"/":"/".concat(m),href:1===m?"/":"/[page]",rel:"prev",children:"Prev"}),c<=o&&(0,a.jsx)(i(),{className:"mb-4 block h-10 flex-1 rounded bg-emerald-600 text-center font-bold leading-10 text-slate-900 transition-colors ease-in-out hover:bg-emerald-400 focus:bg-emerald-400",as:"/".concat(c),href:"/[page]",rel:"next",children:"Next"})]})]})}}},function(e){e.O(0,[976,948,90,774,888,179],function(){return e(e.s=2019)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/_next/static/chunks/pages/_app-b540f546cb9c4288.js b/_next/static/chunks/pages/_app-b540f546cb9c4288.js
new file mode 100644
index 0000000..4d35440
--- /dev/null
+++ b/_next/static/chunks/pages/_app-b540f546cb9c4288.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{6840:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return e(4496)}])},4496:function(n,t,e){"use strict";e.r(t),e.d(t,{default:function(){return App}});var a=e(5893),r=e(3636);function App(n){let{Component:t,pageProps:e}=n;return(0,a.jsx)(t,{...e})}e(6910),e(9610),r.vc.autoAddCss=!1},6910:function(){},9610:function(){},3636:function(n,t,e){"use strict";function ownKeys(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),e.push.apply(e,a)}return e}function _objectSpread2(n){for(var t=1;tn.length)&&(t=n.length);for(var e=0,a=Array(t);e0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function toArray(n){for(var t=[],e=(n||[]).length>>>0;e--;)t[e]=n[e];return t}function classArray(n){return n.classList?toArray(n.classList):(n.getAttribute("class")||"").split(" ").filter(function(n){return n})}function htmlEscape(n){return"".concat(n).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/