1(self.webpackChunktechassist_host=self.webpackChunktechassist_host||[]).push([[6715],{43:function(e,t){"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},2976:function(e,t){"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},3850:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}function a(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return a}})},6738:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createKey:function(){return G},default:function(){return Q},matchesMiddleware:function(){return D}});let a=r(87677),n=r(40544),i=r(50390),o=r(62596),s=r(67884),l=n._(r(83382)),u=r(10397),c=r(68038),h=a._(r(35995)),f=r(98356),d=r(43885),p=r(83951),m=a._(r(51459)),g=r(75519),_=r(70430),v=r(74374),P=r(85352),y=r(66916),b=r(20471),w=r(28590),E=r(12541),R=r(85690),S=r(17773),x=r(40789),O=r(2976),j=r(72793),A=r(58076),C=r(59497),L=r(30315),T=r(38253),M=r(48400),N=r(21819),I=r(96102);function k(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function D(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,y.parsePath)(e.asPath),a=(0,S.hasBasePath)(r)?(0,E.removeBasePath)(r):r,n=(0,R.addBasePath)((0,b.addLocale)(a,e.locale));return t.some(e=>new RegExp(e.regexp).test(n))}function B(e){let t=(0,f.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function U(e,t,r){let[a,n]=(0,x.resolveHref)(e,t,!0),i=(0,f.getLocationOrigin)(),o=a.startsWith(i),s=n&&n.startsWith(i);a=B(a),n=n?B(n):n;let l=o?a:(0,R.addBasePath)(a),u=r?B((0,x.resolveHref)(e,r)):n||a;return{url:l,as:s?u:(0,R.addBasePath)(u)}}function H(e,t){let r=(0,i.removeTrailingSlash)((0,u.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,d.isDynamicRoute)(t)&&(0,_.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,i.removeTrailingSlash)(e))}async function F(e){if(!await D(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let a={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},n=t.headers.get("x-nextjs-rewrite"),s=n||t.headers.get("x-nextjs-matched-path"),l=t.headers.get("x-matched-path");if(!l||s||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(s=l),s){if(s.startsWith("/")){let t=(0,p.parseRelativeUrl)(s),l=(0,j.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),u=(0,i.removeTrailingSlash)(l.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,o.getClientBuildManifest)()]).then(a=>{let[i,{__rewrites:o}]=a,s=(0,b.addLocale)(l.pathname,l.locale);if((0,d.isDynamicRoute)(s)||!n&&i.includes((0,c.normalizeLocalePath)((0,E.removeBasePath)(s),r.router.locales).pathname)){let r=(0,j.getNextPathnameInfo)((0,p.parseRelativeUrl)(e).pathname,{nextConfig:void 0,parseData:!0});s=(0,R.addBasePath)(r.pathname),t.pathname=s}{let e=(0,m.default)(s,i,o,t.query,e=>H(e,i),r.router.locales);e.matchedPage&&(t.pathname=e.parsedAs.pathname,s=t.pathname,Object.assign(t.query,e.parsedAs.query))}let h=i.includes(u)?u:H((0,c.normalizeLocalePath)((0,E.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,d.isDynamicRoute)(h)){let e=(0,g.getRouteMatcher)((0,_.getRouteRegex)(h))(s);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:h}})}let t=(0,y.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,A.formatNextPathnameInfo)({...(0,j.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}
1),defaultLocale:r.router.defaultLocale,buildId:""})+t.query+t.hash})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,y.parsePath)(u),t=(0,A.formatNextPathnameInfo)({...(0,j.getNextPathnameInfo)(e.pathname,{nextConfig:a,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:u})}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}}let W=Symbol("SSG_DATA_NOT_FOUND");function q(e){try{return JSON.parse(e)}catch(e){return null}}function V(e){let{dataHref:t,inflightCache:r,isPrefetch:a,hasMiddleware:n,isServerRender:i,parseJSON:s,persistCache:l,isBackground:u,unstable_skipClientCache:c}=e,{href:h}=new URL(t,window.location.href),f=e=>{var u;return(function e(t,r,a){return fetch(t,{credentials:"same-origin",method:a.method||"GET",headers:Object.assign({},a.headers,{"x-nextjs-data":"1"})}).then(n=>!n.ok&&r>1&&n.status>=500?e(t,r-1,a):n)})(t,i?3:1,{headers:Object.assign({},a?{purpose:"prefetch"}:{},a&&n?{"x-middleware-prefetch":"1"}:{}),method:null!=(u=null==e?void 0:e.method)?u:"GET"}).then(r=>r.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:r,text:"",json:{},cacheKey:h}:r.text().then(e=>{if(!r.ok){if(n&&[301,302,307,308].includes(r.status))return{dataHref:t,response:r,text:e,json:{},cacheKey:h};if(404===r.status){var a;if(null==(a=q(e))?void 0:a.notFound)return{dataHref:t,json:{notFound:W},response:r,text:e,cacheKey:h}}let s=Error("Failed to load static props");throw i||(0,o.markAssetError)(s),s}return{dataHref:t,json:s?q(e):null,response:r,text:e,cacheKey:h}})).then(e=>(l&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[h],e)).catch(e=>{throw c||delete r[h],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,o.markAssetError)(e),e})};return c&&l?f({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(r[h]=Promise.resolve(e)),e)):void 0!==r[h]?r[h]:r[h]=f(u?{method:"HEAD"}:{})}function G(){return Math.random().toString(36).slice(2,10)}function z(e){let{url:t,router:r}=e;if(t===(0,R.addBasePath)((0,b.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let X=e=>{let{route:t,router:r}=e,a=!1,n=r.clc=()=>{a=!0};return()=>{if(a){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}n===r.clc&&(r.clc=null)}};class Q{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=U(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=U(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,r,a){{let l=!1,u=!1;for(let c of[e,t])if(c){let t=(0,i.removeTrailingSlash)(new URL(c,"http://n").pathname),h=(0,R.addBasePath)((0,b.addLocale)(t,r||this.locale));if(t!==(0,i.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var n,o,s;for(let e of(l=l||!!(null==(n=this._bfl_s)?void 0:n.contains(t))||!!(null==(o=this._bfl_s)?void 0:o.contains(h)),[t,h])){let t=e.split("/");for(let e=0;!u&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&(null==(s=this._bfl_d)?void 0:s.contains(r))){u=!0;break}}}if(l||u){if(a)return!0;return z({url:(0,R.addBasePath)((0,b.addLocale)(e,r||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,a,n){var u,h,x,O,j,A,T,I,B,F;let q,V;if(!(0,L.isLocalURL)(t))return z({url:t,router:this}),!1;let G=1===a._h;G||a.shallow||await this._bfl(r,void 0,a.locale);let X=G||a._shouldResolveHref||(0,y.parsePath)(t).pathname===(0,y.parsePath)(r).pathname,$={...this.state},K=!0!==this.isReady;this.isReady=!0;let J=this.isSsr;if(G||(this.isSsr=!1),G&&this.clc)return!1;let Y=$.locale;{$.locale=!1===a.locale?this.defaultLocale:a.locale||$.locale,void 0===a.locale&&(a.locale=$.locale);let e=(0,p.parseRelativeUrl)((0,S.hasBasePath)(r)?(0,E.removeBasePath)(r):r),n=(0,c.normalizeLocalePath)(e.pathname,this.locales);n.detectedLocale&&($.locale=n.detectedLocale,e.pathname=(0,R.addBasePath)(e.pathname),r=(0,v.formatWithValidation)(e),t=(0,R.addBasePath)((0,c.normalizeLocalePath)((0,S.hasBasePath)(t)?(0,E.removeBasePath)(t):t,this.locales).pathname));let i=!1;(null==(h=this.locales)?void 0:h.includes($.locale))||(e.pathname=(0,b.addLocale)(e.pathname,$.locale),z({url:(0,v.formatWithValidation)(e),router:this}),i=!0);let o=(0,P.detectDomainLocale)(this.domainLocales,void 0,$.locale);if(!i&&o&&this.isLocaleDomain&&self.location.hostname!==o.domain){let e=(0,E.removeBasePath)(r);z({url:"http"+(o.http?"":"s")+"://"+o.domain+(0,R.addBasePath)(($.locale===o.defaultLocale?"":"/"+$.locale)+("/"===e?"":e)||"/"),router:this}),i=!0}if(i)return new Promise(()=>{})}f.ST&&performance.mark("routeChange");let{shallow:Z=!1,scroll:ee=!0}=a,et={shallow:Z};this._inFlightRoute&&this.clc&&(J||Q.events.emit("routeChangeError",k(),this._inFlightRoute,et),this.clc(),this.clc=null),r=(0,R.addBasePath)((0,b.addLocale)((0,S.hasBasePath)(r)?(0,E.removeBasePath)(r):r,a.locale,this.defaultLocale));let er=(0,w.removeLocale)((0,S.hasBasePath)(r)?(0,E.removeBasePath)(r):r,$.locale);this._inFlightRoute=r;let ea=Y!==$.locale;if(!G&&this.onlyAHashChange(er)&&!ea){$.asPath=er,Q.events.emit("hashChangeStart",r,et),this.changeState(e,t,r,{...a,scroll:!1}),ee&&this.scrollToHash(er);try{await this.set($,this.components[$.route],null)}catch(e){throw(0,l.default)(e)&&e.cancelled&&Q.events.emit("routeChangeError",e,er,et),e}return Q.events.emit("hashChangeComplete",r,et),!0}let en=(0,p.parseRelativeUrl)(t),{pathname:ei,query:eo}=en;try{[q,{__rewrites:V}
1]=await Promise.all([this.pageLoader.getPageList(),(0,o.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return z({url:r,router:this}),!1}this.urlIsNew(er)||ea||(e="replaceState");let es=r;ei=ei?(0,i.removeTrailingSlash)((0,E.removeBasePath)(ei)):ei;let el=(0,i.removeTrailingSlash)(ei),eu=r.startsWith("/")&&(0,p.parseRelativeUrl)(r).pathname;if(null==(u=this.components[ei])?void 0:u.__appRouter)return z({url:r,router:this}),new Promise(()=>{});let ec=!!(eu&&el!==eu&&(!(0,d.isDynamicRoute)(el)||!(0,g.getRouteMatcher)((0,_.getRouteRegex)(el))(eu))),eh=!a.shallow&&await D({asPath:r,locale:$.locale,router:this});if(G&&eh&&(X=!1),X&&"/_error"!==ei){if(a._shouldResolveHref=!0,r.startsWith("/")){let e=(0,m.default)((0,R.addBasePath)((0,b.addLocale)(er,$.locale),!0),q,V,eo,e=>H(e,q),this.locales);if(e.externalDest)return z({url:r,router:this}),!0;eh||(es=e.asPath),e.matchedPage&&e.resolvedHref&&(ei=e.resolvedHref,en.pathname=(0,R.addBasePath)(ei),eh||(t=(0,v.formatWithValidation)(en)))}else en.pathname=H(ei,q),en.pathname===ei||(ei=en.pathname,en.pathname=(0,R.addBasePath)(ei),eh||(t=(0,v.formatWithValidation)(en)))}if(!(0,L.isLocalURL)(r))return z({url:r,router:this}),!1;es=(0,w.removeLocale)((0,E.removeBasePath)(es),$.locale),el=(0,i.removeTrailingSlash)(ei);let ef=!1;if((0,d.isDynamicRoute)(el)){let e=(0,p.parseRelativeUrl)(es),a=e.pathname,n=(0,_.getRouteRegex)(el);ef=(0,g.getRouteMatcher)(n)(a);let i=el===a,o=i?(0,N.interpolateAs)(el,a,eo):{};if(ef&&(!i||o.result))i?r=(0,v.formatWithValidation)(Object.assign({},e,{pathname:o.result,query:(0,M.omit)(eo,o.params)})):Object.assign(eo,ef);else{let e=Object.keys(n.groups).filter(e=>!eo[e]&&!n.groups[e].optional);if(e.length>0&&!eh)throw Error((i?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+a+") is incompatible with the `href` value ("+el+"). ")+"Read more: https://nextjs.org/docs/messages/"+(i?"href-interpolation-failed":"incompatible-href-as"))}}G||Q.events.emit("routeChangeStart",r,et);let ed="/404"===this.pathname||"/_error"===this.pathname;try{let i=await this.getRouteInfo({route:el,pathname:ei,query:eo,as:r,resolvedAs:es,routeProps:et,locale:$.locale,isPreview:$.isPreview,hasMiddleware:eh,unstable_skipClientCache:a.unstable_skipClientCache,isQueryUpdating:G&&!this.isFallback,isMiddlewareRewrite:ec});if(G||a.shallow||await this._bfl(r,"resolvedAs"in i?i.resolvedAs:void 0,$.locale),"route"in i&&eh){el=ei=i.route||el,et.shallow||(eo=Object.assign({},i.query||{},eo));let e=(0,S.hasBasePath)(en.pathname)?(0,E.removeBasePath)(en.pathname):en.pathname;if(ef&&ei!==e&&Object.keys(ef).forEach(e=>{ef&&eo[e]===ef[e]&&delete eo[e]}),(0,d.isDynamicRoute)(ei)){let e=!et.shallow&&i.resolvedAs?i.resolvedAs:(0,R.addBasePath)((0,b.addLocale)(new URL(r,location.href).pathname,$.locale),!0);(0,S.hasBasePath)(e)&&(e=(0,E.removeBasePath)(e));{let t=(0,c.normalizeLocalePath)(e,this.locales);$.locale=t.detectedLocale||$.locale,e=t.pathname}let t=(0,_.getRouteRegex)(ei),a=(0,g.getRouteMatcher)(t)(new URL(e,location.href).pathname);a&&Object.assign(eo,a)}}if("type"in i){if("redirect-internal"===i.type)return this.change(e,i.newUrl,i.newAs,a);return z({url:i.destination,router:this}),new Promise(()=>{})}let o=i.Component;if(o&&o.unstable_scriptLoader&&[].concat(o.unstable_scriptLoader()).forEach(e=>{(0,s.handleClientScriptLoad)(e.props)}),(i.__N_SSG||i.__N_SSP)&&i.props){if(i.props.pageProps&&i.props.pageProps.__N_REDIRECT){a.locale=!1;let t=i.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==i.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,p.parseRelativeUrl)(t);r.pathname=H(r.pathname,q);let{url:n,as:i}=U(this,t,t);return this.change(e,n,i,a)}return z({url:t,router:this}),new Promise(()=>{})}if($.isPreview=!!i.props.__N_PREVIEW,i.props.notFound===W){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(i=await this.getRouteInfo({route:e,pathname:e,query:eo,as:r,resolvedAs:es,routeProps:{shallow:!1},locale:$.locale,isPreview:$.isPreview,isNotFound:!0}),"type"in i)throw Error("Unexpected middleware effect on /404")}}G&&"/_error"===this.pathname&&(null==(O=self.__NEXT_DATA__.props)?void 0:null==(x=O.pageProps)?void 0:x.statusCode)===500&&(null==(j=i.props)?void 0:j.pageProps)&&(i.props.pageProps.statusCode=500);let u=a.shallow&&$.route===(null!=(A=i.route)?A:el),h=null!=(T=a.scroll)?T:!G&&!u,f=null!=n?n:h?{x:0,y:0}:null,m={...$,route:el,pathname:ei,query:eo,asPath:er,isFallback:!1};if(G&&ed){if(i=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:eo,as:r,resolvedAs:es,routeProps:{shallow:!1},locale:$.locale,isPreview:$.isPreview,isQueryUpdating:G&&!this.isFallback}),"type"in i)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(B=self.__NEXT_DATA__.props)?void 0:null==(I=B.pageProps)?void 0:I.statusCode)===500&&(null==(F=i.props)?void 0:F.pageProps)&&(i.props.pageProps.statusCode=500);try{await this.set(m,i,f)}catch(e){throw(0,l.default)(e)&&e.cancelled&&Q.events.emit("routeChangeError",e,er,et),e}return!0}if(Q.events.emit("beforeHistoryChange",r,et),this.changeState(e,t,r,a),!(G&&!f&&!K&&!ea&&(0,C.compareRouterStates)(m,this.state))){try{await this.set(m,i,f)}catch(e){if(e.cancelled)i.error=i.error||e;else throw e}if(i.error)throw G||Q.events.emit("routeChangeError",i.error,er,et),i.error;$.locale&&(document.documentElement.lang=$.locale),G||Q.events.emit("routeChangeComplete",r,et),h&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,l.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,a){void 0===a&&(a={}),("pushState"!==e||(0,f.getURL)()!==r)&&(this._shallow=a.shallow,window.history[e]({url:t,as:r,options:a,__N:!0,key:this._key="pushState"!==e?this._key:G()},"",r))}async handleRouteInfoError(e,t,r,a,n,i){if(console.error(e),e.cancelled)throw e;
1if((0,o.isAssetError)(e)||i)throw Q.events.emit("routeChangeError",e,a,n),z({url:a,router:this}),k();try{let a;let{page:n,styleSheets:i}=await this.fetchComponent("/_error"),o={props:a,Component:n,styleSheets:i,err:e,error:e};if(!o.props)try{o.props=await this.getInitialProps(n,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),o.props={}}return o}catch(e){return this.handleRouteInfoError((0,l.default)(e)?e:Error(e+""),t,r,a,n,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:a,as:n,resolvedAs:o,routeProps:s,locale:u,hasMiddleware:h,isPreview:f,unstable_skipClientCache:d,isQueryUpdating:p,isMiddlewareRewrite:m,isNotFound:g}=e,_=t;try{var P,y,b,w;let e=this.components[_];if(s.shallow&&e&&this.route===_)return e;let t=X({route:_,router:this});h&&(e=void 0);let l=!e||"initial"in e?void 0:e,R={dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:r,query:a}),skipInterpolation:!0,asPath:g?"/404":o,locale:u}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:p?this.sbc:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:d,isBackground:p},S=p&&!m?null:await F({fetchData:()=>V(R),asPath:g?"/404":o,locale:u,router:this}).catch(e=>{if(p)return null;throw e});if(S&&("/_error"===r||"/404"===r)&&(S.effect=void 0),p&&(S?S.json=self.__NEXT_DATA__.props:S={json:self.__NEXT_DATA__.props}),t(),(null==S?void 0:null==(P=S.effect)?void 0:P.type)==="redirect-internal"||(null==S?void 0:null==(y=S.effect)?void 0:y.type)==="redirect-external")return S.effect;if((null==S?void 0:null==(b=S.effect)?void 0:b.type)==="rewrite"){let t=(0,i.removeTrailingSlash)(S.effect.resolvedHref),n=await this.pageLoader.getPageList();if((!p||n.includes(t))&&(_=t,r=S.effect.resolvedHref,a={...a,...S.effect.parsedAs.query},o=(0,E.removeBasePath)((0,c.normalizeLocalePath)(S.effect.parsedAs.pathname,this.locales).pathname),e=this.components[_],s.shallow&&e&&this.route===_&&!h))return{...e,route:_}}if((0,O.isAPIRoute)(_))return z({url:n,router:this}),new Promise(()=>{});let x=l||await this.fetchComponent(_).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),j=null==S?void 0:null==(w=S.response)?void 0:w.headers.get("x-middleware-skip"),A=x.__N_SSG||x.__N_SSP;j&&(null==S?void 0:S.dataHref)&&delete this.sdc[S.dataHref];let{props:C,cacheKey:L}=await this._getData(async()=>{if(A){if((null==S?void 0:S.json)&&!j)return{cacheKey:S.cacheKey,props:S.json};let e=(null==S?void 0:S.dataHref)?S.dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:r,query:a}),asPath:o,locale:u}),t=await V({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:j?{}:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:d});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(x.Component,{pathname:r,query:a,asPath:n,locale:u,locales:this.locales,defaultLocale:this.defaultLocale})}});return x.__N_SSP&&R.dataHref&&L&&delete this.sdc[L],this.isPreview||!x.__N_SSG||p||V(Object.assign({},R,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),C.pageProps=Object.assign({},C.pageProps),x.props=C,x.route=_,x.query=a,x.resolvedAs=o,this.components[_]=x,x}catch(e){return this.handleRouteInfoError((0,l.getProperError)(e),r,a,n,s)}}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("#",2),[a,n]=e.split("#",2);return!!n&&t===a&&r===n||t===a&&r!==n}scrollToHash(e){let[,t=""]=e.split("#",2);(0,I.handleSmoothScroll)(()=>{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),r=document.getElementById(e);if(r){r.scrollIntoView();return}let a=document.getElementsByName(e)[0];a&&a.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,T.isBot)(window.navigator.userAgent))return;let a=(0,p.parseRelativeUrl)(e),n=a.pathname,{pathname:s,query:l}=a,u=s;if(!1===r.locale){s=(0,c.normalizeLocalePath)(s,this.locales).pathname,a.pathname=s,e=(0,v.formatWithValidation)(a);let n=(0,p.parseRelativeUrl)(t),i=(0,c.normalizeLocalePath)(n.pathname,this.locales);n.pathname=i.pathname,r.locale=i.detectedLocale||this.defaultLocale,t=(0,v.formatWithValidation)(n)}
1let h=await this.pageLoader.getPageList(),f=t,P=void 0!==r.locale?r.locale||void 0:this.locale,S=await D({asPath:t,locale:P,router:this});if(t.startsWith("/")){let r;({__rewrites:r}=await (0,o.getClientBuildManifest)());let n=(0,m.default)((0,R.addBasePath)((0,b.addLocale)(t,this.locale),!0),h,r,a.query,e=>H(e,h),this.locales);if(n.externalDest)return;S||(f=(0,w.removeLocale)((0,E.removeBasePath)(n.asPath),this.locale)),n.matchedPage&&n.resolvedHref&&(s=n.resolvedHref,a.pathname=s,S||(e=(0,v.formatWithValidation)(a)))}a.pathname=H(a.pathname,h),(0,d.isDynamicRoute)(a.pathname)&&(s=a.pathname,a.pathname=s,Object.assign(l,(0,g.getRouteMatcher)((0,_.getRouteRegex)(a.pathname))((0,y.parsePath)(t).pathname)||{}),S||(e=(0,v.formatWithValidation)(a)));let x=await F({fetchData:()=>V({dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:u,query:l}),skipInterpolation:!0,asPath:f,locale:P}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:P,router:this});if((null==x?void 0:x.effect.type)==="rewrite"&&(a.pathname=x.effect.resolvedHref,s=x.effect.resolvedHref,l={...l,...x.effect.parsedAs.query},f=x.effect.parsedAs.pathname,e=(0,v.formatWithValidation)(a)),(null==x?void 0:x.effect.type)==="redirect-external")return;let O=(0,i.removeTrailingSlash)(s);await this._bfl(t,f,r.locale,!0)&&(this.components[n]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(O).then(t=>!!t&&V({dataHref:(null==x?void 0:x.json)?null==x?void 0:x.dataHref:this.pageLoader.getDataHref({href:e,asPath:f,locale:P}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](O)])}async fetchComponent(e){let t=X({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),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 V({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"],a=this._wrapApp(r);return t.AppTree=a,(0,f.loadGetInitialProps)(r,{AppTree:a,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,a,{initialProps:n,pageLoader:o,App:s,wrapApp:l,Component:u,err:c,subscription:h,isFallback:m,locale:g,locales:_,defaultLocale:y,domainLocales:b,isPreview:w}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=G(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let a=e.state;if(!a){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,v.formatWithValidation)({pathname:(0,R.addBasePath)(e),query:t}),(0,f.getURL)());return}if(a.__NA){window.location.reload();return}if(!a.__N||r&&this.locale===a.options.locale&&a.as===this.asPath)return;let{url:n,as:i,options:o,key:s}=a;this._key=s;let{pathname:l}=(0,p.parseRelativeUrl)(n);(!this.isSsr||i!==(0,R.addBasePath)(this.asPath)||l!==(0,R.addBasePath)(this.pathname))&&(!this._bps||this._bps(a))&&this.change("replaceState",n,i,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),t)};let E=(0,i.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[E]={Component:u,initial:!0,props:n,err:c,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:s,styleSheets:[]};{let{BloomFilter:e}=r(91261),t={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]},a={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==a?void 0:a.numHashes)&&(this._bfl_d=new e(a.numItems,a.errorRate),this._bfl_d.import(a))}this.events=Q.events,this.pageLoader=o;let S=(0,d.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=h,this.clc=null,this._wrapApp=l,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||(S||self.location.search,0)),this.locales=_,this.defaultLocale=y,this.domainLocales=b,this.isLocaleDomain=!!(0,P.detectDomainLocale)(b,self.location.hostname),this.state={route:E,pathname:e,query:t,asPath:S?e:a,isPreview:!!w,locale:g,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!a.startsWith("//")){let r={locale:g},n=(0,f.getURL)();this._initialMatchesMiddlewarePromise=D({router:this,locale:g,asPath:n}).then(i=>(r._shouldResolveHref=a!==e,this.changeState("replaceState",i?n:(0,v.formatWithValidation)({pathname:(0,R.addBasePath)(e),query:t}),n,r),i))}window.addEventListener("popstate",this.onPopState)}}Q.events=(0,h.default)()},9806:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPathMatch",{enumerable:!0,get:function(){return n}});let a=r(15889);function n(e,t){let r=[],n=(0,a.pathToRegexp)(e,r,{delimiter:"/",sensitive:"boolean"==typeof(null==t?void 0:t.sensitive)&&t.sensitive,strict:null==t?void 0:t.strict}),i=(0,a.regexpToFunction)((null==t?void 0:t.regexModifier)?new RegExp(t.regexModifier(n.source),n.flags):n,r);return(e,a)=>{if("string"!=typeof e)return!1;let n=i(e);if(!n)return!1;if(null==t?void 0:t.removeUnnamedParams)for(let e of r)"number"==typeof e.name&&delete n.params[e.name];return{...a,...n.params}}}},10397:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return i}});let a=r(11009),n=r(87123);function i(e){let t=(0,n.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,a.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},12541:function(e,t,r){"use strict";function a(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return a}}),r(17773),("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)},15889:function(e,t){"use strict";function r(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var a=e[r];if("*"===a||"+"===a||"?"===a){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===a){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===a){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===a){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===a){for(var n="",i=r+1;i<e.length;){var o=e.charCodeAt(i);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||95===o){n+=e[i++];continue}break}if(!n)throw TypeError("Missing parameter name at "+r);t.push({type:"NAME",index:r,value:n}),r=i;continue}if("("===a){var s=1,l="",i=r+1;if("?"===e[i])throw TypeError('Pattern cannot start with "?" at '+i);for(;i<e.length;){if("\\"===e[i]){l+=e[i++]+e[i++];continue}if(")"===e[i]){if(0==--s){i++;break}}else if("("===e[i]&&(s++,"?"!==e[i+1]))throw TypeError("Capturing groups are not allowed at "+i);l+=e[i++]}if(s)throw TypeError("Unbalanced pattern at "+r);if(!l)throw TypeError("Missing pattern at "+r);t.push({type:"PATTERN",index:r,value:l}),r=i;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),a=t.prefixes,n=void 0===a?"./":a,o="[^"+i(t.delimiter||"/#?")+"]+?",s=[],l=0,u=0,c="",h=function(e){if(u<r.length&&r[u].type===e)return r[u++].value},f=function(e){var t=h(e);if(void 0!==t)return t;var a=r[u];throw TypeError("Unexpected "+a.type+" at "+a.index+", expected "+e)},d=function(){for(var e,t="";e=h("CHAR")||h("ESCAPED_CHAR");)t+=e;return t};u<r.length;){var p=h("CHAR"),m=h("NAME"),g=h("PATTERN");if(m||g){var _=p||"";-1===n.indexOf(_)&&(c+=_,_=""),c&&(s.push(c),c=""),s.push({name:m||l++,prefix:_,suffix:"",pattern:g||o,modifier:h("MODIFIER")||""});continue}var v=p||h("ESCAPED_CHAR");if(v){c+=v;continue}if(c&&(s.push(c),c=""),h("OPEN")){var _=d(),P=h("NAME")||"",y=h("PATTERN")||"",b=d();f("CLOSE"),s.push({name:P||(y?l++:""),pattern:P&&!y?o:y,prefix:_,suffix:b,modifier:h("MODIFIER")||""});continue}f("END")}return s}function a(e,t){void 0===t&&(t={});var r=o(t),a=t.encode,n=void 0===a?function(e){return e}:a,i=t.validate,s=void 0===i||i,l=e.map(function(e){if("object"==typeof e)return RegExp("^(?:"+e.pattern+")$",r)});return function(t){for(var r="",a=0;a<e.length;a++){var i=e[a];if("string"==typeof i){r+=i;continue}var o=t?t[i.name]:void 0,u="?"===i.modifier||"*"===i.modifier,c="*"===i.modifier||"+"===i.modifier;if(Array.isArray(o)){if(!c)throw TypeError('Expected "'+i.name+'" to not repeat, but got an array');if(0===o.length){if(u)continue;throw TypeError('Expected "'+i.name+'" to not be empty')}for(var h=0;h<o.length;h++){var f=n(o[h],i);if(s&&!l[a].test(f))throw TypeError('Expected all "'+i.name+'" to match "'+i.pattern+'", but got "'+f+'"');r+=i.prefix+f+i.suffix}continue}if("string"==typeof o||"number"==typeof o){var f=n(String(o),i);if(s&&!l[a].test(f))throw TypeError('Expected "'+i.name+'" to match "'+i.pattern+'", but got "'+f+'"');r+=i.prefix+f+i.suffix;continue}if(!u){var d=c?"an array":"a string";throw TypeError('Expected "'+i.name+'" to be '+d)}}return r}}function n(e,t,r){void 0===r&&(r={});var a=r.decode,n=void 0===a?function(e){return e}:a;return function(r){var a=e.exec(r);if(!a)return!1;for(var i=a[0],o=a.index,s=Object.create(null),l=1;l<a.length;l++)!function(e){if(void 0!==a[e]){var r=t[e-1];"*"===r.modifier||"+"===r.modifier?s[r.name]=a[e].split(r.prefix+r.suffix).map(function(e){return n(e,r)}):s[r.name]=n(a[e],r)}}(l);return{path:i,index:o,params:s}}}function i(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function o(e){return e&&e.sensitive?"":"i"}function s(e,t,r){void 0===r&&(r={});for(var a=r.strict,n=void 0!==a&&a,s=r.start,l=r.end,u=r.encode,c=void 0===u?function(e){return e}:u,h="["+i(r.endsWith||"")+"]|$",f="["+i(r.delimiter||"/#?")+"]",d=void 0===s||s?"^":"",p=0;p<e.length;p++){var m=e[p];if("string"==typeof m)d+=i(c(m));else{var g=i(c(m.prefix)),_=i(c(m.suffix));if(m.pattern){if(t&&t.push(m),g||_){if("+"===m.modifier||"*"===m.modifier){var v="*"===m.modifier?"?":"";d+="(?:"+g+"((?:"+m.pattern+")(?:"+_+g+"(?:"+m.pattern+"))*)"+_+")"+v}else d+="(?:"+g+"("+m.pattern+")"+_+")"+m.modifier}else d+="("+m.pattern+")"+m.modifier}else d+="(?:"+g+_+")"+m.modifier}}if(void 0===l||l)n||(d+=f+"?"),d+=r.endsWith?"(?="+h+")":"$";else{var P=e[e.length-1],y="string"==typeof P?f.indexOf(P[P.length-1])>-1:void 0===P;n||(d+="(?:"+f+"(?="+h+"))?"),y||(d+="(?="+f+"|"+h+")")}return new RegExp(d,o(r))}function l(e,t,a){return e instanceof RegExp?function(e,t){if(!t)return e;var r=e.source.match(/\((?!\?)/g);if(r)for(var a=0;a<r.length;a++)t.push({name:a,prefix:"",suffix:"",modifier:"",pattern:""});return e}(e,t):Array.isArray(e)?RegExp("(?:"+e.map(function(e){return l(e,t,a).source}).join("|")+")",o(a)):s(r(e,a),t,a)}
1Object.defineProperty(t,"__esModule",{value:!0}),t.parse=r,t.compile=function(e,t){return a(r(e,t),t)},t.tokensToFunction=a,t.match=function(e,t){var r=[];return n(l(e,r,t),r,t)},t.regexpToFunction=n,t.tokensToRegexp=s,t.pathToRegexp=l},28590:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}});let a=r(66916);function n(e,t){{let{pathname:r}=(0,a.parsePath)(e),n=r.toLowerCase(),i=null==t?void 0:t.toLowerCase();return t&&(n.startsWith("/"+i+"/")||n==="/"+i)?(r.length===t.length+1?"/":"")+e.slice(t.length+1):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)},28925:function(e,t){"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},35995:function(e,t){"use strict";function r(){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,a=Array(r>1?r-1:0),n=1;n<r;n++)a[n-1]=arguments[n];(e[t]||[]).slice().map(e=>{e(...a)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},36154:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseUrl",{enumerable:!0,get:function(){return i}});let a=r(45324),n=r(83951);function i(e){if(e.startsWith("/"))return(0,n.parseRelativeUrl)(e);let t=new URL(e);return{hash:t.hash,hostname:t.hostname,href:t.href,pathname:t.pathname,port:t.port,protocol:t.protocol,query:(0,a.searchParamsToUrlQuery)(t.searchParams),search:t.search}}},37579:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{compileNonPath:function(){return h},matchHas:function(){return c},prepareDestination:function(){return f}});let a=r(15889),n=r(67462),i=r(36154),o=r(3794),s=r(91894),l=r(38121);function u(e){return e.replace(/__ESC_COLON_/gi,":")}function c(e,t,r,a){void 0===r&&(r=[]),void 0===a&&(a=[]);let n={},i=r=>{let a;let i=r.key;switch(r.type){case"header":i=i.toLowerCase(),a=e.headers[i];break;case"cookie":a="cookies"in e?e.cookies[r.key]:(0,l.getCookieParser)(e.headers)()[r.key];break;case"query":a=t[i];break;case"host":{let{host:t}=(null==e?void 0:e.headers)||{};a=null==t?void 0:t.split(":",1)[0].toLowerCase()}}if(!r.value&&a)return n[function(e){let t="";for(let r=0;r<e.length;r++){let a=e.charCodeAt(r);(a>64&&a<91||a>96&&a<123)&&(t+=e[r])}return t}(i)]=a,!0;if(a){let e=RegExp("^"+r.value+"$"),t=Array.isArray(a)?a.slice(-1)[0].match(e):a.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{n[e]=t.groups[e]}):"host"===r.type&&t[0]&&(n.host=t[0])),!0}return!1};return!!r.every(e=>i(e))&&!a.some(e=>i(e))&&n}function h(e,t){if(!e.includes(":"))return e;for(let r of Object.keys(t))e.includes(":"+r)&&(e=e.replace(RegExp(":"+r+"\\*","g"),":"+r+"--ESCAPED_PARAM_ASTERISKS").replace(RegExp(":"+r+"\\?","g"),":"+r+"--ESCAPED_PARAM_QUESTION").replace(RegExp(":"+r+"\\+","g"),":"+r+"--ESCAPED_PARAM_PLUS").replace(RegExp(":"+r+"(?!\\w)","g"),"--ESCAPED_PARAM_COLON"+r));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,a.compile)("/"+e,{validate:!1})(t).slice(1)}function f(e){let t;let r=Object.assign({},e.query);delete r.__nextLocale,delete r.__nextDefaultLocale,delete r.__nextDataReq,delete r.__nextInferredLocaleFromDefault,delete r[s.NEXT_RSC_UNION_QUERY];let l=e.destination;for(let t of Object.keys({...e.params,...r}))l=l.replace(RegExp(":"+(0,n.escapeStringRegexp)(t),"g"),"__ESC_COLON_"+t);let c=(0,i.parseUrl)(l),f=c.query,d=u(""+c.pathname+(c.hash||"")),p=u(c.hostname||""),m=[],g=[];(0,a.pathToRegexp)(d,m),(0,a.pathToRegexp)(p,g);let _=[];
1m.forEach(e=>_.push(e.name)),g.forEach(e=>_.push(e.name));let v=(0,a.compile)(d,{validate:!1}),P=(0,a.compile)(p,{validate:!1});for(let[t,r]of Object.entries(f))Array.isArray(r)?f[t]=r.map(t=>h(u(t),e.params)):"string"==typeof r&&(f[t]=h(u(r),e.params));let y=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!y.some(e=>_.includes(e)))for(let t of y)t in f||(f[t]=e.params[t]);if((0,o.isInterceptionRouteAppPath)(d))for(let t of d.split("/")){let r=o.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e));if(r){e.params["0"]=r;break}}try{let[r,a]=(t=v(e.params)).split("#",2);c.hostname=P(e.params),c.pathname=r,c.hash=(a?"#":"")+(a||""),delete c.search}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match");throw e}return c.query={...r,...c.query},{newUrl:t,destQuery:f,parsedDestination:c}}},38121:function(e,t,r){"use strict";function a(e){return function(){let{cookie:t}=e;if(!t)return{};let{parse:a}=r(68108);return a(Array.isArray(t)?t.join("; "):t)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCookieParser",{enumerable:!0,get:function(){return a}})},38253:function(e,t){"use strict";function r(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)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},42012:function(e,t){"use strict";let r;function a(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}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return a}}),("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)},46748:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return n}});let a=r(66916);function n(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:i}=(0,a.parsePath)(e);return""+r+t+n+i}},51459:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let a=r(9806),n=r(37579),i=r(50390),o=r(68038),s=r(12541),l=r(83951);function u(e,t,r,u,c,h){let f,d=!1,p=!1,m=(0,l.parseRelativeUrl)(e),g=(0,i.removeTrailingSlash)((0,o.normalizeLocalePath)((0,s.removeBasePath)(m.pathname),h).pathname),_=r=>{let l=(0,a.getPathMatch)(r.source+"",{removeUnnamedParams:!0,strict:!0})(m.pathname);if((r.has||r.missing)&&l){let e=(0,n.matchHas)({headers:{host:document.location.hostname,"user-agent":navigator.userAgent},cookies:document.cookie.split("; ").reduce((e,t)=>{let[r,...a]=t.split("=");return e[r]=a.join("="),e},{})},m.query,r.has,r.missing);e?Object.assign(l,e):l=!1}if(l){if(!r.destination)return p=!0,!0;let a=(0,n.prepareDestination)({appendParamsToQuery:!0,destination:r.destination,params:l,query:u});if(m=a.parsedDestination,e=a.newUrl,Object.assign(u,a.parsedDestination.query),g=(0,i.removeTrailingSlash)((0,o.normalizeLocalePath)((0,s.removeBasePath)(e),h).pathname),t.includes(g))return d=!0,f=g,!0;if((f=c(g))!==e&&t.includes(f))return d=!0,!0}},v=!1;for(let e=0;e<r.beforeFiles.length;e++)_(r.beforeFiles[e]);if(!(d=t.includes(g))){if(!v){for(let e=0;e<r.afterFiles.length;e++)if(_(r.afterFiles[e])){v=!0;break}}if(v||(f=c(g),v=d=t.includes(f)),!v){for(let e=0;e<r.fallback.length;e++)if(_(r.fallback[e])){v=!0;break}}}return{asPath:e,parsedAs:m,matchedPage:d,resolvedHref:f,externalDest:p}}},54402:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return i.default},createRouter:function(){return m},default:function(){return d},makePublicRouterInstance:function(){return g},useRouter:function(){return p},withRouter:function(){return l.default}});let a=r(87677),n=a._(r(13732)),i=a._(r(6738)),o=r(51130),s=a._(r(83382)),l=a._(r(99721)),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],h=["push","replace","reload","back","prefetch","beforePopState"];function f(){if(!u.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return u.router}Object.defineProperty(u,"events",{get:()=>i.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get:()=>f()[e]})}),h.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];return f()[e](...r)}}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{u.ready(()=>{i.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];let n="on"+e.charAt(0).toUpperCase()+e.substring(1);if(u[n])try{u[n](...r)}catch(e){console.error("Error when running the Router event: "+n),console.error((0,s.default)(e)?e.message+"\n"+e.stack:e+"")}})})});let d=u;function p(){let e=n.default.useContext(o.RouterContext);if(!e)throw Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return e}function m(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.router=new i.default(...t),u.readyCallbacks.forEach(e=>e()),u.readyCallbacks=[],u.router}function g(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=i.default.events,h.forEach(r=>{t[r]=function(){for(var t=arguments.length,a=Array(t),n=0;n<t;n++)a[n]=arguments[n];return e[r](...a)}}),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)},58076:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let a=r(50390),n=r(31073),i=r(46748),o=r(57097);function s(e){let t=(0,o.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,a.removeTrailingSlash)(t)),e.buildId&&(t=(0,i.addPathSuffix)((0,n.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,n.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,i.addPathSuffix)(t,"/"):(0,a.removeTrailingSlash)(t)}},59497:function(e,t){"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let a=r.length;a--;){let n=r[a];if("query"===n){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let a=r.length;a--;){let n=r[a];if(!t.query.hasOwnProperty(n)||e.query[n]!==t.query[n])return!1}}else if(!t.hasOwnProperty(n)||e[n]!==t[n])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},62596:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createRouteLoader:function(){return m},getClientBuildManifest:function(){return d},isAssetError:function(){return u},markAssetError:function(){return l}}),r(87677),r(43);let a=r(42012),n=r(63377),i=r(28925);function o(e,t,r){let a,n=t.get(e);if(n)return"future"in n?n.future:Promise.resolve(n);let i=new Promise(e=>{a=e});return t.set(e,n={resolve:a,future:i}),r?r().then(e=>(a(e),e)).catch(r=>{throw t.delete(e),r}):i}let s=Symbol("ASSET_LOAD_ERROR");function l(e){return Object.defineProperty(e,s,{})}function u(e){return e&&s in e}let c=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),h=()=>(0,i.getDeploymentIdQueryOrEmptyString)();function f(e,t,r){return new Promise((a,i)=>{let o=!1;e.then(e=>{o=!0,a(e)}).catch(i),(0,n.requestIdleCallback)(()=>setTimeout(()=>{o||i(r)},t))})}function d(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):f(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,l(Error("Failed to load client build manifest")))}function p(e,t){return d().then(r=>
1{if(!(t in r))throw l(Error("Failed to lookup route: "+t));let n=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:n.filter(e=>e.endsWith(".js")).map(e=>(0,a.__unsafeCreateTrustedScriptURL)(e)+h()),css:n.filter(e=>e.endsWith(".css")).map(e=>e+h())}})}function m(e){let t=new Map,r=new Map,a=new Map,i=new Map;function s(e){{var t;let a=r.get(e.toString());return a||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),a=new Promise((r,a)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>a(l(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),a))}}function u(e){let t=a.get(e);return t||a.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+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 a=t.get(e);a&&"resolve"in a?r&&(t.set(e,r),a.resolve(r)):(r?t.set(e,r):t.delete(e),i.delete(e))})},loadRoute(r,a){return o(r,i,()=>{let n;return f(p(e,r).then(e=>{let{scripts:a,css:n}=e;return Promise.all([t.has(r)?[]:Promise.all(a.map(s)),Promise.all(n.map(u))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,l(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,a=Object.assign({styles:r},t);return"error"in t?t:a}).catch(e=>{if(a)throw e;return{error:e}}).finally(()=>null==n?void 0:n())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():p(e,t).then(e=>Promise.all(c?e.scripts.map(e=>{var t,r,a;return t=e.toString(),r="script",new Promise((e,n)=>{if(document.querySelector('\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]'))return e();a=document.createElement("link"),r&&(a.as=r),a.rel="prefetch",a.crossOrigin=void 0,a.onload=e,a.onerror=()=>n(l(Error("Failed to prefetch: "+t))),a.href=t,document.head.appendChild(a)})}):[])).then(()=>{(0,n.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("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)},68108:function(e){var t,r,a,n,i;"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),(t={}).parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var a={},i=e.split(n),o=(t||{}).decode||r,s=0;s<i.length;s++){var l=i[s],u=l.indexOf("=");if(!(u<0)){var c=l.substr(0,u).trim(),h=l.substr(++u,l.length).trim();'"'==h[0]&&(h=h.slice(1,-1)),void 0==a[c]&&(a[c]=function(e,t){try{return t(e)}catch(t){return e}}(h,o))}}return a},t.serialize=function(e,t,r){var n=r||{},o=n.encode||a;if("function"!=typeof o)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var s=o(t);if(s&&!i.test(s))throw TypeError("argument val is invalid");var l=e+"="+s;if(null!=n.maxAge){var u=n.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(n.domain){if(!i.test(n.domain))throw TypeError("option domain is invalid");l+="; Domain="+n.domain}if(n.path){if(!i.test(n.path))throw TypeError("option path is invalid");l+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw TypeError("option expires is invali
1d");l+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(l+="; HttpOnly"),n.secure&&(l+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l},r=decodeURIComponent,a=encodeURIComponent,n=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,e.exports=t},72793:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return o}});let a=r(68038),n=r(83938),i=r(78556);function o(e,t){var r,o;let{basePath:s,i18n:l,trailingSlash:u}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};s&&(0,i.pathHasPrefix)(c.pathname,s)&&(c.pathname=(0,n.removePathPrefix)(c.pathname,s),c.basePath=s);let h=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];c.buildId=r,h="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=h)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,a.normalizeLocalePath)(c.pathname,l.locales);c.locale=e.detectedLocale,c.pathname=null!=(o=e.pathname)?o:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(h):(0,a.normalizeLocalePath)(h,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},83382:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},getProperError:function(){return i}});let a=r(3850);function n(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function i(e){return n(e)?e:Error((0,a.isPlainObject)(e)?JSON.stringify(e):e+"")}},83938:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return n}});let a=r(78556);function n(e,t){if(!(0,a.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},83951:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return i}});let a=r(98356),n=r(45324);function i(e,t){let r=new URL((0,a.getLocationOrigin)()),i=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:o,searchParams:s,search:l,hash:u,href:c,origin:h}=new URL(e,i);if(h!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:o,query:(0,n.searchParamsToUrlQuery)(s),search:l,hash:u,href:c.slice(r.origin.length)}}},86715:function(e,t,r){e.exports=r(54402)},87123:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},91261:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=1e-4);let a=new r(e.length,t);for(let t of e)a.add(t);return a}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let a=function(e){let t=0;for(let r=0;r<e.length;r++)t=Math.imul(t^e.charCodeAt(r),1540483477),t^=t>>>13,t=Math.imul(t,1540483477);return t>>>0}(""+e+r)%this.numBits;t.push(a)}return t}constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},91894:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION:function(){return a},FLIGHT_PARAMETERS:function(){return l},NEXT_DID_POSTPONE_HEADER:function(){return c},NEXT_ROUTER_PREFETCH_HEADER:function(){return i},NEXT_ROUTER_STATE_TREE:function(){return n},NEXT_RSC_UNION_QUERY:function(){return u},NEXT_URL:function(){return o},RSC_CONTENT_TYPE_HEADER:function(){return s},RSC_HEADER:function(){return r}});let r="RSC",a="Next-Action",n="Next-Router-State-Tree",i="Next-Router-Prefetch",o="Next-Url",s="text/x-component",l=[[r],[n],[i]],u="_rsc",c="x-nextjs-postponed";("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)},96102:function(e,t){"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,a=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=a}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},99721:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}}),r(87677);let a=r(1995);r(13732);let n=r(54402);function i(e){function t(t){return(0,a.jsx)(e,{router:(0,n.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,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)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.