(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{14425: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},{})})},22247:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return o}});var n=r(47508),a=r(77439);function o(e,t){return(0,a.normalizePathTrailingSlash)((0,n.addPathPrefix)(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)},92051:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(7300),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(77439);var n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n>>13,t=Math.imul(t,1540483477);return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}}],[{key:"from",value:function(t,r){void 0===r&&(r=.01);var n=new e(t.length,r),a=!0,o=!1,i=void 0;try{for(var u,s=t[Symbol.iterator]();!(a=(u=s.next()).done);a=!0){var c=u.value;n.add(c)}}catch(e){o=!0,i=e}finally{try{a||null==s.return||s.return()}finally{if(o)throw i}}return n}}]),e}()},21116:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return a}});var r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function a(e){return r.test(e)?e.replace(n,"\\$&"):e}},69128:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});var n=r(60005)._(r(52983)).default.createContext({})},64385:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(52071);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{defaultHead:function(){return l},default:function(){return h}});var a=r(60005),o=r(39805)._(r(52983)),i=a._(r(19594)),u=r(16297),s=r(69128),c=r(53946);function l(e){void 0===e&&(e=!1);var t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(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(function(e,t){return"string"==typeof t||"number"==typeof t?e:e.concat(t)},[])):e.concat(t)}r(29021);var d=["name","httpEquiv","charSet","itemProp"];function p(e,t){var r,a,i,u,s=t.inAmpMode;return e.reduce(f,[]).reverse().concat(l(s).reverse()).filter((r=new Set,a=new Set,i=new Set,u={},function(e){var t=!0,n=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){n=!0;var o=e.key.slice(e.key.indexOf("$")+1);r.has(o)?t=!1:r.add(o)}switch(e.type){case"title":case"base":a.has(e.type)?t=!1:a.add(e.type);break;case"meta":for(var s=0,c=d.length;s>>0,1)},emit:function(t){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o1&&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(function(t){return t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:f}:t.text().then(function(e){if(!t.ok){if(o&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:f};if(404===t.status){var n;if(null==(n=J(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:Y},response:t,text:e,cacheKey:f}}var a=Error("Failed to load static props");throw i||(0,p.markAssetError)(a),a}return{dataHref:r,json:u?J(e):null,response:t,text:e,cacheKey:f}})}).then(function(e){return s&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[f],e}).catch(function(e){throw l||delete n[f],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,p.markAssetError)(e),e})};return l&&s?d({}).then(function(e){return n[f]=Promise.resolve(e),e}):void 0!==n[f]?n[f]:n[f]=d(c?{method:"HEAD"}:{})}function Z(){return Math.random().toString(36).slice(2,10)}function ee(e){var t=e.url,r=e.router;if(t===(0,M.addBasePath)((0,x.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}var et=function(e){var t=e.route,r=e.router,n=!1,a=r.clc=function(){n=!0};return function(){if(n){var e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}a===r.clc&&(r.clc=null)}},er=function(){function e(t,n,o,i){var u=i.initialProps,s=i.pageLoader,c=i.App,l=i.wrapApp,f=i.Component,p=i.err,h=i.subscription,v=i.isFallback,m=i.locale,y=(i.locales,i.defaultLocale,i.domainLocales,i.isPreview),_=this;a._(this,e),this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=Z(),this.onPopState=function(e){var t,r=_.isFirstPopStateEvent;_.isFirstPopStateEvent=!1;var n=e.state;if(!n){var a=_.pathname,o=_.query;_.changeState("replaceState",(0,S.formatWithValidation)({pathname:(0,M.addBasePath)(a),query:o}),(0,g.getURL)());return}if(n.__NA){window.location.reload();return}if(n.__N&&(!r||_.locale!==n.options.locale||n.as!==_.asPath)){var i=n.url,u=n.as,s=n.options,c=n.key;_._key=c;var l=(0,P.parseRelativeUrl)(i).pathname;(!_.isSsr||u!==(0,M.addBasePath)(_.asPath)||l!==(0,M.addBasePath)(_.pathname))&&(!_._bps||_._bps(n))&&_.change("replaceState",i,u,Object.assign({},s,{shallow:s.shallow&&_._shallow,locale:s.locale||_.defaultLocale,_h:0}),t)}};var w=(0,d.removeTrailingSlash)(t);this.components={},"/_error"!==t&&(this.components[w]={Component:f,initial:!0,props:u,err:p,__N_SSG:u&&u.__N_SSG,__N_SSP:u&&u.__N_SSP}),this.components["/_app"]={Component:c,styleSheets:[]};var j=r(73213).q,O={numItems:0,errorRate:.01,numBits:0,numHashes:null,bitArray:[]},E={numItems:0,errorRate:.01,numBits:0,numHashes:null,bitArray:[]};(null==O?void 0:O.numHashes)&&(this._bfl_s=new j(O.numItems,O.errorRate),this._bfl_s.import(O)),(null==E?void 0:E.numHashes)&&(this._bfl_d=new j(E.numItems,E.errorRate),this._bfl_d.import(E)),this.events=e.events,this.pageLoader=s;var x=(0,b.isDynamicRoute)(t)&&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__.appGip&&!self.__NEXT_DATA__.gsp||!x&&!self.location.search),this.state={route:w,pathname:t,query:n,asPath:x?t:o,isPreview:!!y,locale:void 0,isFallback:v},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!o.startsWith("//")){var R={locale:m},C=(0,g.getURL)();this._initialMatchesMiddlewarePromise=W({router:this,locale:m,asPath:C}).then(function(e){return R._shouldResolveHref=o!==t,_.changeState("replaceState",e?C:(0,S.formatWithValidation)({pathname:(0,M.addBasePath)(t),query:n}),C,R),e})}window.addEventListener("popstate",this.onPopState)}return o._(e,[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"forward",value:function(){window.history.forward()}},{key:"push",value:function(e,t,r){var n;return void 0===r&&(r={}),e=(n=V(this,e,t)).url,t=n.as,this.change("pushState",e,t,r)}},{key:"replace",value:function(e,t,r){var n;return void 0===r&&(r={}),e=(n=V(this,e,t)).url,t=n.as,this.change("replaceState",e,t,r)}},{key:"_bfl",value:function(e,t,r,a){var o=this;return n._(function(){var n,i,u,s,l,f,p,h,v,m,y,_,g,b,P;return c._(this,function(c){for(u=0,n=!1,i=!1,s=[e,t];u0&&!eu)throw Error((ep?"The provided `href` ("+r+") value is missing query values ("+ev.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+ef+") is incompatible with the `href` value ("+ea+"). ")+"Read more: https://nextjs.org/docs/messages/"+(ep?"href-interpolation-failed":"incompatible-href-as"))}m||e.events.emit("routeChangeStart",a,z),em="/404"===f.pathname||"/_error"===f.pathname,c.label=14;case 14:return c.trys.push([14,35,,36]),[4,f.getRouteInfo({route:ea,pathname:Q,query:Z,as:a,resolvedAs:en,routeProps:z,locale:_.locale,isPreview:_.isPreview,hasMiddleware:eu,unstable_skipClientCache:o.unstable_skipClientCache,isQueryUpdating:m&&!f.isFallback,isMiddlewareRewrite:ei})];case 15:if(eb=c.sent(),!(!m&&!o.shallow))return[3,17];return[4,f._bfl(a,"resolvedAs"in eb?eb.resolvedAs:void 0,_.locale)];case 16:c.sent(),c.label=17;case 17:if("route"in eb&&eu&&(ea=Q=eb.route||ea,z.shallow||(Z=Object.assign({},eb.query||{},Z)),eP=(0,A.hasBasePath)(J.pathname)?(0,C.removeBasePath)(J.pathname):J.pathname,ec&&Q!==eP&&Object.keys(ec).forEach(function(e){ec&&Z[e]===ec[e]&&delete Z[e]}),(0,b.isDynamicRoute)(Q))&&(ew=!z.shallow&&eb.resolvedAs?eb.resolvedAs:(0,M.addBasePath)((0,x.addLocale)(new URL(a,location.href).pathname,_.locale),!0),(0,A.hasBasePath)(ew)&&(ew=(0,C.removeBasePath)(ew)),ej=(0,O.getRouteRegex)(Q),(eO=(0,j.getRouteMatcher)(ej)(new URL(ew,location.href).pathname))&&Object.assign(Z,eO)),"type"in eb){if("redirect-internal"===eb.type)return[2,f.change(t,eb.newUrl,eb.newAs,o)];return ee({url:eb.destination,router:f}),[2,new Promise(function(){})]}if((eS=eb.Component)&&eS.unstable_scriptLoader&&[].concat(eS.unstable_scriptLoader()).forEach(function(e){(0,h.handleClientScriptLoad)(e.props)}),!((eb.__N_SSG||eb.__N_SSP)&&eb.props))return[3,23];if(eb.props.pageProps&&eb.props.pageProps.__N_REDIRECT){if(o.locale=!1,(eE=eb.props.pageProps.__N_REDIRECT).startsWith("/")&&!1!==eb.props.pageProps.__N_REDIRECT_BASE_PATH)return(ex=(0,P.parseRelativeUrl)(eE)).pathname=$(ex.pathname,et),eC=(eR=V(f,eE,eE)).url,eM=eR.as,[2,f.change(t,eC,eM,o)];return ee({url:eE,router:f}),[2,new Promise(function(){})]}if(_.isPreview=!!eb.props.__N_PREVIEW,eb.props.notFound!==Y)return[3,23];c.label=18;case 18:return c.trys.push([18,20,,21]),[4,f.fetchComponent("/404")];case 19:return c.sent(),eA="/404",[3,21];case 20:return c.sent(),eA="/_error",[3,21];case 21:return[4,f.getRouteInfo({route:eA,pathname:eA,query:Z,as:a,resolvedAs:en,routeProps:{shallow:!1},locale:_.locale,isPreview:_.isPreview,isNotFound:!0})];case 22:if("type"in(eb=c.sent()))throw Error("Unexpected middleware effect on /404");c.label=23;case 23:if(m&&"/_error"===f.pathname&&(null==(ey=self.__NEXT_DATA__.props)?void 0:null==(e_=ey.pageProps)?void 0:e_.statusCode)===500&&(null==(eg=eb.props)?void 0:eg.pageProps)&&(eb.props.pageProps.statusCode=500),eL=o.shallow&&_.route===(null!=(ek=eb.route)?ek:ea),eN=(eI=null!=(eT=o.scroll)?eT:!m&&!eL)?{x:0,y:0}:null,eD=null!=l?l:eN,eH=u._(i._({},_),{route:ea,pathname:Q,query:Z,asPath:G,isFallback:!1}),!(m&&em))return[3,29];return[4,f.getRouteInfo({route:f.pathname,pathname:f.pathname,query:Z,as:a,resolvedAs:en,routeProps:{shallow:!1},locale:_.locale,isPreview:_.isPreview,isQueryUpdating:m&&!f.isFallback})];case 24:if("type"in(eb=c.sent()))throw Error("Unexpected middleware effect on "+f.pathname);"/_error"===f.pathname&&(null==(eB=self.__NEXT_DATA__.props)?void 0:null==(eq=eB.pageProps)?void 0:eq.statusCode)===500&&(null==(eF=eb.props)?void 0:eF.pageProps)&&(eb.props.pageProps.statusCode=500),c.label=25;case 25:return c.trys.push([25,27,,28]),[4,f.set(eH,eb,eD)];case 26:return c.sent(),[3,28];case 27:throw eU=c.sent(),(0,v.default)(eU)&&eU.cancelled&&e.events.emit("routeChangeError",eU,G,z),eU;case 28:return[2,!0];case 29:if(e.events.emit("beforeHistoryChange",a,z),f.changeState(t,r,a,o),m&&!eD&&!w&&!X&&(0,I.compareRouterStates)(eH,f.state))return[3,34];c.label=30;case 30:return c.trys.push([30,32,,33]),[4,f.set(eH,eb,eD)];case 31:return c.sent(),[3,33];case 32:if((eW=c.sent()).cancelled)eb.error=eb.error||eW;else throw eW;return[3,33];case 33:if(eb.error)throw m||e.events.emit("routeChangeError",eb.error,G,z),eb.error;m||e.events.emit("routeChangeComplete",a,z),ez=/#.+$/,eI&&ez.test(a)&&f.scrollToHash(a),c.label=34;case 34:return[2,!0];case 35:if(eG=c.sent(),(0,v.default)(eG)&&eG.cancelled)return[2,!1];throw eG;case 36:return[2]}})})()}},{key:"changeState",value:function(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,g.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:Z()},"",r))}},{key:"handleRouteInfoError",value:function(t,r,a,o,i,u){var s=this;return n._(function(){var n,l,f,d,h;return c._(this,function(c){switch(c.label){case 0:if(console.error(t),t.cancelled)throw t;if((0,p.isAssetError)(t)||u)throw e.events.emit("routeChangeError",t,o,i),ee({url:o,router:s}),U();c.label=1;case 1:return c.trys.push([1,7,,8]),[4,s.fetchComponent("/_error")];case 2:if((d={props:n,Component:f=(l=c.sent()).page,styleSheets:l.styleSheets,err:t,error:t}).props)return[3,6];c.label=3;case 3:return c.trys.push([3,5,,6]),[4,s.getInitialProps(f,{err:t,pathname:r,query:a})];case 4:return d.props=c.sent(),[3,6];case 5:return console.error("Error in error page `getInitialProps`: ",c.sent()),d.props={},[3,6];case 6:return[2,d];case 7:return h=c.sent(),[2,s.handleRouteInfoError((0,v.default)(h)?h:Error(h+""),r,a,o,i,!0)];case 8:return[2]}})})()}},{key:"getRouteInfo",value:function(e){var t=this;return n._(function(){var r,a,o,s,l,f,p,h,m,_,g,b,P,w,j,O,E,x,R,M,A,L,T,I,N,D,H,B,q,F,U,W,z,G,V;return c._(this,function($){switch($.label){case 0:r=e.route,a=e.pathname,o=e.query,s=e.as,l=e.resolvedAs,f=e.routeProps,p=e.locale,h=e.hasMiddleware,m=e.isPreview,_=e.unstable_skipClientCache,g=e.isQueryUpdating,b=e.isMiddlewareRewrite,P=e.isNotFound,w=r,$.label=1;case 1:if($.trys.push([1,10,,11]),R=et({route:w,router:t}),M=t.components[w],f.shallow&&M&&t.route===w)return[2,M];if(h&&(M=void 0),A=!M||"initial"in M?void 0:M,L=g,T={dataHref:t.pageLoader.getDataHref({href:(0,S.formatWithValidation)({pathname:a,query:o}),skipInterpolation:!0,asPath:P?"/404":l,locale:p}),hasMiddleware:!0,isServerRender:t.isSsr,parseJSON:!0,inflightCache:L?t.sbc:t.sdc,persistCache:!m,isPrefetch:!1,unstable_skipClientCache:_,isBackground:L},!(g&&!b))return[3,2];return N=null,[3,4];case 2:return[4,X({fetchData:function(){return Q(T)},asPath:P?"/404":l,locale:p,router:t}).catch(function(e){if(g)return null;throw e})];case 3:N=$.sent(),$.label=4;case 4:if((I=N)&&("/_error"===a||"/404"===a)&&(I.effect=void 0),g&&(I?I.json=self.__NEXT_DATA__.props:I={json:self.__NEXT_DATA__.props}),R(),(null==I?void 0:null==(j=I.effect)?void 0:j.type)==="redirect-internal"||(null==I?void 0:null==(O=I.effect)?void 0:O.type)==="redirect-external")return[2,I.effect];if((null==I?void 0:null==(E=I.effect)?void 0:E.type)!=="rewrite")return[3,6];return D=(0,d.removeTrailingSlash)(I.effect.resolvedHref),[4,t.pageLoader.getPageList()];case 5:if(H=$.sent(),(!g||H.includes(D))&&(w=D,a=I.effect.resolvedHref,o=i._({},o,I.effect.parsedAs.query),l=(0,C.removeBasePath)((0,y.normalizeLocalePath)(I.effect.parsedAs.pathname,t.locales).pathname),M=t.components[w],f.shallow&&M&&t.route===w&&!h))return[2,u._(i._({},M),{route:w})];$.label=6;case 6:if((0,k.isAPIRoute)(w))return ee({url:s,router:t}),[2,new Promise(function(){})];if(q=A)return[3,8];return[4,t.fetchComponent(w).then(function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP}})];case 7:q=$.sent(),$.label=8;case 8:return B=q,F=null==I?void 0:null==(x=I.response)?void 0:x.headers.get("x-middleware-skip"),U=B.__N_SSG||B.__N_SSP,F&&(null==I?void 0:I.dataHref)&&delete t.sdc[I.dataHref],[4,t._getData(n._(function(){var e,r;return c._(this,function(n){switch(n.label){case 0:if(!U)return[3,2];if((null==I?void 0:I.json)&&!F)return[2,{cacheKey:I.cacheKey,props:I.json}];return[4,Q({dataHref:(null==I?void 0:I.dataHref)?I.dataHref:t.pageLoader.getDataHref({href:(0,S.formatWithValidation)({pathname:a,query:o}),asPath:l,locale:p}),isServerRender:t.isSsr,parseJSON:!0,inflightCache:F?{}:t.sdc,persistCache:!m,isPrefetch:!1,unstable_skipClientCache:_})];case 1:return[2,{cacheKey:(e=n.sent()).cacheKey,props:e.json||{}}];case 2:return r={headers:{}},[4,t.getInitialProps(B.Component,{pathname:a,query:o,asPath:s,locale:p,locales:t.locales,defaultLocale:t.defaultLocale})];case 3:return[2,(r.props=n.sent(),r)]}})}))];case 9:return z=(W=$.sent()).props,G=W.cacheKey,B.__N_SSP&&T.dataHref&&G&&delete t.sdc[G],t.isPreview||!B.__N_SSG||g||Q(Object.assign({},T,{isBackground:!0,persistCache:!1,inflightCache:t.sbc})).catch(function(){}),z.pageProps=Object.assign({},z.pageProps),B.props=z,B.route=w,B.query=o,B.resolvedAs=l,t.components[w]=B,[2,B];case 10:return V=$.sent(),[2,t.handleRouteInfoError((0,v.getProperError)(V),a,o,s,f)];case 11:return[2]}})})()}},{key:"set",value:function(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}},{key:"beforePopState",value:function(e){this._bps=e}},{key:"onlyAHashChange",value:function(e){if(!this.asPath)return!1;var t=s._(this.asPath.split("#"),2),r=t[0],n=t[1],a=s._(e.split("#"),2),o=a[0],i=a[1];return!!i&&r===o&&n===i||r===o&&n!==i}},{key:"scrollToHash",value:function(e){var t=s._(e.split("#"),2)[1],r=void 0===t?"":t;(0,F.handleSmoothScroll)(function(){if(""===r||"top"===r){window.scrollTo(0,0);return}var e=decodeURIComponent(r),t=document.getElementById(e);if(t){t.scrollIntoView();return}var n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(e,t,r){var a=this;return n._(function(){var n,o,u,s,l,f,p,h,v,m,y,_,g,A;return c._(this,function(c){switch(c.label){case 0:if(void 0===t&&(t=e),void 0===r&&(r={}),(0,D.isBot)(window.navigator.userAgent))return[2];return o=(n=(0,P.parseRelativeUrl)(e)).pathname,u=n.pathname,s=n.query,l=u,[4,a.pageLoader.getPageList()];case 1:return f=c.sent(),p=t,[4,W({asPath:t,locale:h=void 0!==r.locale?r.locale||void 0:a.locale,router:a})];case 2:return v=c.sent(),[3,4];case 3:if(m=c.sent().__rewrites,(y=(0,w.default)((0,M.addBasePath)((0,x.addLocale)(t,a.locale),!0),f,m,n.query,function(e){return $(e,f)},a.locales)).externalDest)return[2];v||(p=(0,R.removeLocale)((0,C.removeBasePath)(y.asPath),a.locale)),y.matchedPage&&y.resolvedHref&&(u=y.resolvedHref,n.pathname=u,v||(e=(0,S.formatWithValidation)(n))),c.label=4;case 4:return n.pathname=$(n.pathname,f),(0,b.isDynamicRoute)(n.pathname)&&(u=n.pathname,n.pathname=u,Object.assign(s,(0,j.getRouteMatcher)((0,O.getRouteRegex)(n.pathname))((0,E.parsePath)(t).pathname)||{}),v||(e=(0,S.formatWithValidation)(n))),[3,5];case 5:return[4,X({fetchData:function(){return Q({dataHref:a.pageLoader.getDataHref({href:(0,S.formatWithValidation)({pathname:l,query:s}),skipInterpolation:!0,asPath:p,locale:h}),hasMiddleware:!0,isServerRender:a.isSsr,parseJSON:!0,inflightCache:a.sdc,persistCache:!a.isPreview,isPrefetch:!0})},asPath:t,locale:h,router:a})];case 6:g=c.sent(),c.label=7;case 7:if((null==(_=g)?void 0:_.effect.type)==="rewrite"&&(n.pathname=_.effect.resolvedHref,u=_.effect.resolvedHref,s=i._({},s,_.effect.parsedAs.query),p=_.effect.parsedAs.pathname,e=(0,S.formatWithValidation)(n)),(null==_?void 0:_.effect.type)==="redirect-external")return[2];return A=(0,d.removeTrailingSlash)(u),[4,a._bfl(t,p,r.locale,!0)];case 8:return c.sent()&&(a.components[o]={__appRouter:!0}),[4,Promise.all([a.pageLoader._isSsg(A).then(function(t){return!!t&&Q({dataHref:(null==_?void 0:_.json)?null==_?void 0:_.dataHref:a.pageLoader.getDataHref({href:e,asPath:p,locale:h}),isServerRender:!1,parseJSON:!0,inflightCache:a.sdc,persistCache:!a.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(function(){return!1}).catch(function(){return!1})}),a.pageLoader[r.priority?"loadPage":"prefetch"](A)])];case 9:return c.sent(),[2]}})})()}},{key:"fetchComponent",value:function(e){var t=this;return n._(function(){var r,n,a;return c._(this,function(o){switch(o.label){case 0:r=et({route:e,router:t}),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,t.pageLoader.loadPage(e)];case 2:return n=o.sent(),r(),[2,n];case 3:throw a=o.sent(),r(),a;case 4:return[2]}})})()}},{key:"_getData",value:function(e){var t=this,r=!1,n=function(){r=!0};return this.clc=n,e().then(function(e){if(n===t.clc&&(t.clc=null),r){var a=Error("Loading initial props cancelled");throw a.cancelled=!0,a}return e})}},{key:"_getFlightData",value:function(e){return Q({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(function(e){return{data:e.text}})}},{key:"getInitialProps",value:function(e,t){var r=this.components["/_app"].Component,n=this._wrapApp(r);return t.AppTree=n,(0,g.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}},{key:"route",get:function(){return this.state.route}},{key:"pathname",get:function(){return this.state.pathname}},{key:"query",get:function(){return this.state.query}},{key:"asPath",get:function(){return this.state.asPath}},{key:"locale",get:function(){return this.state.locale}},{key:"isFallback",get:function(){return this.state.isFallback}},{key:"isPreview",get:function(){return this.state.isPreview}}]),e}();er.events=(0,_.default)()},77398:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});var n=r(47508),a=r(96050);function o(e,t,r,o){if(!t||t===r)return e;var i=e.toLowerCase();return!o&&((0,a.pathHasPrefix)(i,"/api")||(0,a.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},47508:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return a}});var n=r(89291);function a(e,t){if(!e.startsWith("/")||!t)return e;var r=(0,n.parsePath)(e);return""+t+r.pathname+r.query+r.hash}},77469:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return a}});var n=r(89291);function a(e,t){if(!e.startsWith("/")||!t)return e;var r=(0,n.parsePath)(e);return""+r.pathname+t+r.query+r.hash}},82469: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,{normalizeAppPath:function(){return a},normalizeRscPath:function(){return o}});var n=r(45959);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce(function(e,t,r,n){return!t||"("===t[0]&&t.endsWith(")")||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t},""))}function o(e,t){return t?e.replace(/\.rsc($|\?)/,"$1"):e}},89143:function(e,t){"use strict";function r(e,t){var r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(var n=r.length;n--;){var a=r[n];if("query"===a){var o=Object.keys(e.query);if(o.length!==Object.keys(t.query).length)return!1;for(var i=o.length;i--;){var u=o[i];if(!t.query.hasOwnProperty(u)||e.query[u]!==t.query[u])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},90752:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return u}});var n=r(79874),a=r(47508),o=r(77469),i=r(77398);function u(e){var t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,a.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},97078: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,{formatUrl:function(){return o},urlObjectKeys:function(){return i},formatWithValidation:function(){return u}});var n=r(39805)._(r(19046)),a=/https?|ftp|gopher|file/;function o(e){var t=e.auth,r=e.hostname,o=e.protocol||"",i=e.pathname||"",u=e.hash||"",s=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(c+=":"+e.port)),s&&"object"==typeof s&&(s=String(n.urlQueryToSearchParams(s)));var l=e.search||s&&"?"+s||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==c?(c="//"+(c||""),i&&"/"!==i[0]&&(i="/"+i)):c||(c=""),u&&"#"!==u[0]&&(u="#"+u),l&&"?"!==l[0]&&(l="?"+l),""+o+c+(i=i.replace(/[?#]/g,encodeURIComponent))+(l=l.replace("#","%23"))+u}var i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return o(e)}},7533: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}})},26769:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});var n=r(45360),a=r(37506),o=r(96050);function i(e,t){var r=null!=(d=t.nextConfig)?d:{},i=r.basePath,u=r.i18n,s=r.trailingSlash,c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};if(i&&(0,o.pathHasPrefix)(c.pathname,i)&&(c.pathname=(0,a.removePathPrefix)(c.pathname,i),c.basePath=i),!0===t.parseData&&c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){var l=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),f=l[0];c.pathname="index"!==l[1]?"/"+l.slice(1).join("/"):"/",c.buildId=f}if(t.i18nProvider){var d,p,h=t.i18nProvider.analyze(c.pathname);c.locale=h.detectedLocale,c.pathname=null!=(p=h.pathname)?p:c.pathname}else if(u){var v,m=(0,n.normalizeLocalePath)(c.pathname,u.locales);c.locale=m.detectedLocale,c.pathname=null!=(v=m.pathname)?v:c.pathname}return c}},31097:function(e,t){"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}var r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},9867: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,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return a.isDynamicRoute}});var n=r(80352),a=r(22160)},45977:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return o}});var n=r(79076),a=r(27261);function o(e,t,r){var o="",i=(0,a.getRouteRegex)(e),u=i.groups,s=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;o=e;var c=Object.keys(u);return c.every(function(e){var t=s[e]||"",r=u[e],n=r.repeat,a=r.optional,i="["+(n?"...":"")+e+"]";return a&&(i=(t?"":"/")+"["+i+"]"),n&&!Array.isArray(t)&&(t=[t]),(a||e in s)&&(o=o.replace(i,n?t.map(function(e){return encodeURIComponent(e)}).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:c,result:o}}},89320: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}})},22160:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return n}});var r=/\/\[[^/]+?\](?=\/|$)/;function n(e){return r.test(e)}},80283:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});var n=r(90883),a=r(74196);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{var t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},31220:function(e,t){"use strict";function r(e,t){var r={};return Object.keys(e).forEach(function(n){t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},89291:function(e,t){"use strict";function r(e){var 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:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},39194:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});var n=r(90883),a=r(19046);function o(e,t){var r=new URL((0,n.getLocationOrigin)()),o=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,i=new URL(e,o),u=i.pathname,s=i.searchParams,c=i.search,l=i.hash,f=i.href;if(i.origin!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:u,query:(0,a.searchParamsToUrlQuery)(s),search:c,hash:l,href:f.slice(r.origin.length)}}},96050:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return a}});var n=r(89291);function a(e,t){if("string"!=typeof e)return!1;var r=(0,n.parsePath)(e).pathname;return r===t||r.startsWith(t+"/")}},19046:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(53520);function a(e){var t={};return e.forEach(function(e,r){void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function o(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){var t=new URLSearchParams;return Object.entries(e).forEach(function(e){var r=n._(e,2),a=r[0],i=r[1];Array.isArray(i)?i.forEach(function(e){return t.append(a,o(e))}):t.set(a,o(i))}),t}function u(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n122&&(r++,t=97);return e}),u=s(n),c=u.key,l=u.optional,f=u.repeat,d=c.replace(/\W/g,"");o&&(d=""+o+d);var p=!1;return(0===d.length||d.length>30)&&(p=!0),isNaN(parseInt(d.slice(0,1)))||(p=!0),p&&(d=i()),o?a[d]=""+o+c:a[d]=""+c,f?l?"(?:/(?<"+d+">.+?))?":"/(?<"+d+">.+?)":"/(?<"+d+">[^/]+?)"}function d(e,t){var r=(0,u.removeTrailingSlash)(e).slice(1).split("/"),n={};return{namedParameterizedRoute:r.map(function(e){var r=o.INTERCEPTION_ROUTE_MARKERS.some(function(t){return e.startsWith(t)}),a=e.match(/\[((?:\[.*\])|.+)\]/);return r&&a?f({segment:a[1],routeKeys:n,keyPrefix:t?"nxtI":void 0}):a?f({segment:a[1],routeKeys:n,keyPrefix:t?"nxtP":void 0}):"/"+(0,i.escapeStringRegexp)(e)}).join(""),routeKeys:n}}function p(e,t){var r=d(e,t);return a._(n._({},l(e)),{namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys})}function h(e,t){var r=c(e).parameterizedRoute,n=t.catchAll,a=void 0===n||n;return"/"===r?{namedRegex:"^/"+(a?".*":"")+"$"}:{namedRegex:"^"+d(e,!1).namedParameterizedRoute+(a?"(?:(/.*)?)":"")+"$"}}},80352:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(15992),a=r(52617),o=r(7300);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return u}});var i=function(){function e(){n._(this,e),this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}return a._(e,[{key:"insert",value:function(e){this._insert(e.split("/").filter(Boolean),[],!1)}},{key:"smoosh",value:function(){return this._smoosh()}},{key:"_smoosh",value:function(e){var t=this;void 0===e&&(e="/");var r=o._(this.children.keys()).sort();null!==this.slugName&&r.splice(r.indexOf("[]"),1),null!==this.restSlugName&&r.splice(r.indexOf("[...]"),1),null!==this.optionalRestSlugName&&r.splice(r.indexOf("[[...]]"),1);var n=r.map(function(r){return t.children.get(r)._smoosh(""+e+r+"/")}).reduce(function(e,t){return o._(e).concat(o._(t))},[]);if(null!==this.slugName&&n.push.apply(n,o._(this.children.get("[]")._smoosh(e+"["+this.slugName+"]/"))),!this.placeholder){var a="/"===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 ("'+a+'" and "'+a+"[[..."+this.optionalRestSlugName+']]").');n.unshift(a)}return null!==this.restSlugName&&n.push.apply(n,o._(this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/"))),null!==this.optionalRestSlugName&&n.push.apply(n,o._(this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/"))),n}},{key:"_insert",value:function(t,r,n){if(0===t.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");var a=t[0];if(a.startsWith("[")&&a.endsWith("]")){var o=a.slice(1,-1),i=!1;if(o.startsWith("[")&&o.endsWith("]")&&(o=o.slice(1,-1),i=!0),o.startsWith("...")&&(o=o.substring(3),n=!0),o.startsWith("[")||o.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+o+"').");if(o.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+o+"').");function u(e,t){if(null!==e&&e!==t)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+t+"').");r.forEach(function(e){if(e===t)throw Error('You cannot have the same slug name "'+t+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+t+'" differ only by non-word symbols within a single dynamic path')}),r.push(t)}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 ("[...'+this.restSlugName+']" and "'+t[0]+'" ).');u(this.optionalRestSlugName,o),this.optionalRestSlugName=o,a="[[...]]"}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 "'+t[0]+'").');u(this.restSlugName,o),this.restSlugName=o,a="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'+t[0]+'").');u(this.slugName,o),this.slugName=o,a="[]"}}this.children.has(a)||this.children.set(a,new e),this.children.get(a)._insert(t.slice(1),r,n)}}]),e}();function u(e){var t=new i;return e.forEach(function(e){return t.insert(e)}),t.smoosh()}},66642:function(e,t){"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},setConfig:function(){return a}});var r,n=function(){return r};function a(e){r=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)},19594:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});var n=r(39805)._(r(52983)),a=n.useLayoutEffect,o=n.useEffect;function i(e){var t=e.headManager,r=e.reduceComponentsToState;function i(){if(t&&t.mountedInstances){var a=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(a,e))}}return a(function(){var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),function(){var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),a(function(){return t&&(t._pendingUpdate=i),function(){t&&(t._pendingUpdate=i)}}),o(function(){return t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),function(){t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}}),null}},90883:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(80762),a=r(15992),o=r(74421),i=r(7300),u=r(79125),s=r(45906),c=r(23303);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{WEB_VITALS:function(){return l},execOnce:function(){return f},isAbsoluteUrl:function(){return p},getLocationOrigin:function(){return h},getURL:function(){return v},getDisplayName:function(){return m},isResSent:function(){return y},normalizeRepeatedSlashes:function(){return _},loadGetInitialProps:function(){return g},SP:function(){return P},ST:function(){return w},DecodeError:function(){return j},NormalizeError:function(){return O},PageNotFoundError:function(){return S},MissingStaticPage:function(){return E},MiddlewareNotFoundError:function(){return x},stringifyError:function(){return R}});var l=["CLS","FCP","FID","INP","LCP","TTFB"];function f(e){var t,r=!1;return function(){for(var n=arguments.length,a=Array(n),o=0;o=0?n="back-forward-cache":r&&(n=document.prerendering||f()>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)},v=function(e,t,r,n){var a,o;return function(i){var u;t.value>=0&&(i||n)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=(u=t.value)>r[1]?"poor":u>r[0]?"needs-improvement":"good",e(t))}},m=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},_=function(){h(function(e){m=e.timeStamp},!0)},g=function(){return m<0&&(m=y(),_(),c(function(){setTimeout(function(){m=y(),_()},0)})),{get firstHiddenTime(){return m}}},b=function(e,t){t=t||{};var r,n=[1800,3e3],a=g(),o=d("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(s&&s.disconnect(),e.startTime-1&&e(t)},o=d("CLS",0),i=0,u=[],s=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=u[0],r=u[u.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,u.push(e)):(i=e.value,u=[e]),i>o.value&&(o.value=i,o.entries=u,n())}})},l=p("layout-shift",s);l&&(n=v(a,o,r,t.reportAllChanges),h(function(){s(l.takeRecords()),n(!0)}),c(function(){i=0,w=-1,n=v(a,o=d("CLS",0),r,t.reportAllChanges)}))},O={passive:!0,capture:!0},S=new Date,E=function(e,t){n||(n=t,a=e,o=new Date,C(removeEventListener),x())},x=function(){if(a>=0&&a1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){E(a,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,O),removeEventListener("pointercancel",r,O)},addEventListener("pointerup",t,O),addEventListener("pointercancel",r,O)):E(a,e)}},C=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,R,O)})},M=function(e,t){t=t||{};var r,o=[100,300],u=g(),s=d("FID"),l=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]};q[n.id]=n,B.push(n)}B.sort(function(e,t){return t.latency-e.latency}),B.splice(10).forEach(function(e){delete q[e.id]})}},U=function(e,t){t=t||{};var r=[200,500];N();var n,a=d("INP"),o=function(e){e.forEach(function(e){e.interactionId&&F(e),"first-input"!==e.entryType||B.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(B.length-1,Math.floor(H()/50)),B[t]);r&&r.latency!==a.value&&(a.value=r.latency,a.entries=r.entries,n())},i=p("event",o,{durationThreshold:t.durationThreshold||40});n=v(e,a,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),h(function(){o(i.takeRecords()),a.value<0&&H()>0&&(a.value=0,a.entries=[]),n(!0)}),c(function(){B=[],D=I(),n=v(e,a=d("INP"),r,t.reportAllChanges)}))},W={},z=function(e,t){t=t||{};var r,n=[2500,4e3],a=g(),o=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-f();nperformance.now())return;n.entries=[o],a(!0),c(function(){(a=v(e,n=d("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r},65655: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}})},30501: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 a},getProperError:function(){return o}});let n=r(67520);function a(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function o(e){return a(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},51523: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,{INTERCEPTION_ROUTE_MARKERS:function(){return a},isInterceptionRouteAppPath:function(){return o},extractInterceptionRouteInformation:function(){return i}});let n=r(82469),a=["(..)(..)","(.)","(..)","(...)"];function o(e){return void 0!==e.split("/").find(e=>a.find(t=>e.startsWith(t)))}function i(e){let t,r,o;for(let n of e.split("/"))if(r=a.find(e=>n.startsWith(e))){[t,o]=e.split(r,2);break}if(!t||!r||!o)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":o="/"===t?`/${o}`:t+"/"+o;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);o=t.split("/").slice(0,-1).concat(o).join("/");break;case"(...)":o="/"+o;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);o=i.slice(0,-2).concat(o).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:o}}},63253:function(){},10488:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}r.r(t),r.d(t,{_:function(){return n},_object_without_properties:function(){return n}})},18431:function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}r.d(t,{b:function(){return n}})},53520:function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return a},_sliced_to_array:function(){return a}});var n=r(52344);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var o=[],i=!0,u=!1;try{for(a=a.call(e);!(i=(r=a.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){u=!0,n=e}finally{try{i||null==a.return||a.return()}finally{if(u)throw n}}return o}}(e,t)||(0,n.N)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},7300:function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return o},_to_consumable_array:function(){return o}});var n=r(10488),a=r(52344);function o(e){return function(e){if(Array.isArray(e))return(0,n.F)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.N)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},23303:function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return n.Jh},_ts_generator:function(){return n.Jh}});var n=r(92869)},23557:function(e,t,r){"use strict";function n(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}r.d(t,{j:function(){return n}})},52344:function(e,t,r){"use strict";r.d(t,{N:function(){return a}});var n=r(10488);function a(e,t){if(e){if("string"==typeof e)return(0,n.F)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,n.F)(e,t)}}},79125:function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return i},_wrap_native_super:function(){return i}});var n=r(15385),a=r(33219),o=r(18431);function i(e){var t="function"==typeof Map?new Map:void 0;return(i=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return(0,n._construct)(e,arguments,(0,a.X)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,o.b)(r,e)})(e)}},92869:function(e,t,r){"use strict";function n(e,t){var r,n,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(s){return function(u){if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(a=2&u[0]?n.return:u[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;switch(n=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]