(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{40877:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEqualNode=o,t.default=function(){var e=null;return{mountedInstances:new Set,updateHead:function(t){var r=e=Promise.resolve().then((function(){if(r===e){e=null;var a={};t.forEach((function(e){if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'.concat(e.props["data-href"],'"]')))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}var t=a[e.type]||[];t.push(e),a[e.type]=t}));var i=a.title?a.title[0]:null,u="";if(i){var c=i.props.children;u="string"===typeof c?c:Array.isArray(c)?c.join(""):""}u!==document.title&&(document.title=u),["meta","base","link","style","script"].forEach((function(e){!function(e,t){var r=document.getElementsByTagName("head")[0],a=r.querySelector("meta[name=next-head-count]");0;for(var i=Number(a.content),u=[],c=0,s=a.previousElementSibling;c0&&void 0!==f[0]?f[0]:{},o=q,e.prev=3,e.next=6,Z.routeLoader.whenEntrypoint("/_app");case 6:if(!("error"in(a=e.sent))){e.next=9;break}throw a.error;case 9:i=a.component,u=a.exports,ne=i,c=u&&u.reportWebVitals,oe=function(e){var t,r=e.id,n=e.name,o=e.startTime,a=e.value,i=e.duration,u=e.entryType,s=e.entries,l="".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12);s&&s.length&&(t=s[0].startTime);var f={id:r||l,name:n,startTime:o||t,value:null==a?i:a,label:"mark"===u||"measure"===u?"custom":"web-vital"};null===c||void 0===c||c(f),k.trackWebVitalMetric(f)},e.next=17;break;case 17:return e.next=19,Z.routeLoader.whenEntrypoint(F);case 19:e.t0=e.sent;case 20:if(!("error"in(s=e.t0))){e.next=23;break}throw s.error;case 23:ue=s.component,e.next=28;break;case 28:e.next=33;break;case 30:e.prev=30,e.t1=e.catch(3),o=R.getProperError(e.t1);case 33:if(!window.__NEXT_PRELOADREADY){e.next=37;break}return e.next=37,window.__NEXT_PRELOADREADY(z);case 37:if(t.router=re=O.createRouter(F,W,J,{initialProps:D,pageLoader:Z,App:ne,Component:ue,wrapApp:we,err:o,isFallback:Boolean(V),subscription:function(e,t,r){return pe(Object.assign({},e,{App:t,scroll:r}))},locale:G,locales:$,defaultLocale:K,domainLocales:X,isPreview:Y}),l={App:ne,initial:!0,Component:ue,props:D,err:o},!r.beforeRender){e.next=42;break}return e.next=42,r.beforeRender();case 42:pe(l);case 43:case"end":return e.stop()}}),e,null,[[3,30]])}))),le.apply(this,arguments)}function fe(){return(fe=C(n.mark((function e(t){var r;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.err){e.next=4;break}return e.next=3,de(t);case 3:return e.abrupt("return");case 4:return e.prev=4,e.next=7,xe(t);case 7:e.next=17;break;case 9:if(e.prev=9,e.t0=e.catch(4),!(r=R.getProperError(e.t0)).cancelled){e.next=14;break}throw r;case 14:return e.next=17,de(T({},t,{err:r}));case 17:case"end":return e.stop()}}),e,null,[[4,9]])})))).apply(this,arguments)}function pe(e){return fe.apply(this,arguments)}function de(e){var t=e.App,n=e.err;return console.error(n),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),Z.loadPage("/_error").then((function(e){var t=e.page,n=e.styleSheets;return(null===be||void 0===be?void 0:be.Component)===t?r.e(651).then(r.bind(r,99651)).then((function(e){return{ErrorComponent:e.default,styleSheets:[]}})):{ErrorComponent:t,styleSheets:n}})).then((function(r){var o=r.ErrorComponent,a=r.styleSheets,i=we(t),u={Component:o,AppTree:i,router:re,ctx:{err:n,pathname:F,query:W,asPath:J,AppTree:i}};return Promise.resolve(e.props?e.props:b.loadGetInitialProps(t,u)).then((function(t){return xe(T({},e,{err:n,Component:o,styleSheets:a,props:t}))}))}))}t.emitter=se;var he=!0;function ve(){b.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),oe&&performance.getEntriesByName("Next.js-hydration").forEach(oe),ye())}function me(){if(b.ST){performance.mark("afterRender");var e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),oe&&(performance.getEntriesByName("Next.js-render").forEach(oe),performance.getEntriesByName("Next.js-route-change-to-render").forEach(oe)),ye(),["Next.js-route-change-to-render","Next.js-render"].forEach((function(e){return performance.clearMeasures(e)})))}}function ye(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((function(e){return performance.clearMarks(e)}))}function ge(e){var t=e.children;return f.default.createElement(ce,{fn:function(e){return de({App:ne,err:e}).catch((function(e){return console.error("Error rendering page: ",e)}))}},f.default.createElement(v.RouterContext.Provider,{value:O.makePublicRouterInstance(re)},f.default.createElement(d.HeadManagerContext.Provider,{value:ae},f.default.createElement(L.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"",loader:"akamai"}},t))))}function _e(e,t){return f.default.createElement(e,Object.assign({},t))}var be,we=function(e){return function(t){var r=T({},t,{Component:ue,err:q,router:re});return f.default.createElement(ge,null,_e(e,r))}};function xe(e){var t=e.App,r=e.Component,n=e.props,o=e.err,a=e.__N_RSC,i="initial"in e?void 0:e.styleSheets;r=r||be.Component;var u=T({},n=n||be.props,{Component:!!a?undefined:r,err:o,router:re});be=u;var c,s=!1,l=new Promise((function(e,t){te&&te(),c=function(){te=null,e()},te=function(){s=!0,te=null;var e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));function d(){c()}!function(){if(!i)return!1;var e=I(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map((function(e){return e.getAttribute("data-n-href")}))),r=document.querySelector("noscript[data-n-css]"),n=null===r||void 0===r?void 0:r.getAttribute("data-n-css");i.forEach((function(e){var r=e.href,o=e.text;if(!t.has(r)){var a=document.createElement("style");a.setAttribute("data-n-href",r),a.setAttribute("media","x"),n&&a.setAttribute("nonce",n),document.head.appendChild(a),a.appendChild(document.createTextNode(o))}}))}();var h=f.default.createElement(f.default.Fragment,null,f.default.createElement(Se,{callback:function(){if(i&&!s){for(var t=new Set(i.map((function(e){return e.href}))),r=I(document.querySelectorAll("style[data-n-href]")),n=r.map((function(e){return e.getAttribute("data-n-href")})),o=0;o=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,i=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f=new Map,p=new Set,d=["onLoad","dangerouslySetInnerHTML","children","onError","strategy"],h=function(e){var t=e.src,r=e.id,o=e.onLoad,a=void 0===o?function(){}:o,u=e.dangerouslySetInnerHTML,c=e.children,s=void 0===c?"":c,l=e.strategy,h=void 0===l?"afterInteractive":l,v=e.onError,m=r||t;if(!m||!p.has(m)){if(f.has(t))return p.add(m),void f.get(t).then(a,v);var y=document.createElement("script"),g=new Promise((function(e,t){y.addEventListener("load",(function(t){e(),a&&a.call(this,t)})),y.addEventListener("error",(function(e){t(e)}))})).catch((function(e){v&&v(e)}));t&&f.set(t,g),p.add(m),u?y.innerHTML=u.__html||"":s?y.textContent="string"===typeof s?s:Array.isArray(s)?s.join(""):"":t&&(y.src=t);for(var _=0,b=Object.entries(e);_>>0,1)},emit:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o-1||r>-1)&&(e=e.substring(0,t>-1?t:r)),e}function j(e){return""===(e=L(e))||e.startsWith("/")}function C(e){return function(e,t){if(!e.startsWith("/")||!t)return e;var r=L(e);return f.normalizePathTrailingSlash("".concat(t).concat(r))+e.substr(r.length)}(e,"")}function M(e){return(e=e.slice("".length)).startsWith("/")||(e="/".concat(e)),e}function A(e){if(e.startsWith("/")||e.startsWith("#")||e.startsWith("?"))return!0;try{var t=y.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&j(r.pathname)}catch(n){return!1}}function T(e,t,r){var n="",o=P.getRouteRegex(e),a=o.groups,i=(t!==e?x.getRouteMatcher(o)(t):"")||r;n=e;var u=Object.keys(a);return u.every((function(e){var t=i[e]||"",r=a[e],o=r.repeat,u=r.optional,c="[".concat(o?"...":"").concat(e,"]");return u&&(c="".concat(t?"":"/","[").concat(c,"]")),o&&!Array.isArray(t)&&(t=[t]),(u||e in i)&&(n=n.replace(c,o?t.map((function(e){return encodeURIComponent(e)})).join("/"):encodeURIComponent(t))||"/")}))||(n=""),{params:u,result:n}}function N(e,t){var r={};return Object.keys(e).forEach((function(n){t.includes(n)||(r[n]=e[n])})),r}function I(e,t,r){var n,o="string"===typeof t?t:y.formatWithValidation(t),a=o.match(/^[a-zA-Z]{1,}:\/\//),i=a?o.substr(a[0].length):o;if((i.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href passed to next/router: ".concat(o,", repeated forward-slashes (//) or backslashes \\ are not valid in the href"));var u=y.normalizeRepeatedSlashes(i);o=(a?a[0]:"")+u}if(!A(o))return r?[o]:o;try{n=new URL(o.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(m){n=new URL("/","http://n")}try{var c=new URL(o,n);c.pathname=f.normalizePathTrailingSlash(c.pathname);var s="";if(g.isDynamicRoute(c.pathname)&&c.searchParams&&r){var l=b.searchParamsToUrlQuery(c.searchParams),p=T(c.pathname,c.pathname,l),d=p.result,h=p.params;d&&(s=y.formatWithValidation({pathname:d,hash:c.hash,query:N(l,h)}))}var v=c.origin===n.origin?c.href.slice(c.origin.length):c.href;return r?[v,s||v]:v}catch(_){return r?[o]:o}}function D(e){var t=y.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function q(e,t,r){var n=I(e,t,!0),o=c(n,2),a=o[0],i=o[1],u=y.getLocationOrigin(),s=a.startsWith(u),l=i&&i.startsWith(u);a=D(a),i=i?D(i):i;var f=s?a:C(a),p=r?D(I(e,r)):i||a;return{url:f,as:l?p:C(p)}}function F(e,t){var r=f.removePathTrailingSlash(h.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some((function(t){if(g.isDynamicRoute(t)&&P.getRouteRegex(t).re.test(r))return e=t,!0})),f.removePathTrailingSlash(e))}var W=Symbol("SSG_DATA_NOT_FOUND");function H(e,t,r){return fetch(e,{credentials:"same-origin"}).then((function(n){if(!n.ok){if(t>1&&n.status>=500)return H(e,t-1,r);if(404===n.status)return n.json().then((function(e){if(e.notFound)return{notFound:W};throw new Error("Failed to load static props")}));throw new Error("Failed to load static props")}return r.text?n.text():n.json()}))}function U(e,t,r,n,o){var a=new URL(e,window.location.href).href;return void 0!==n[a]?n[a]:n[a]=H(e,t?3:1,{text:r}).catch((function(e){throw t||p.markAssetError(e),e})).then((function(e){return o||delete n[a],e})).catch((function(e){throw delete n[a],e}))}var B=function(){function e(t,r,n,o){var a=this,u=o.initialProps,c=o.pageLoader,s=o.App,l=o.wrapApp,p=o.Component,d=o.err,h=o.subscription,v=o.isFallback,m=o.locale,b=(o.locales,o.defaultLocale,o.domainLocales,o.isPreview);i(this,e),this.sdc={},this.sdr={},this.sde={},this._idx=0,this.onPopState=function(e){var t=e.state;if(t){if(t.__N){var r=t.url,n=t.as,o=t.options,i=t.idx;a._idx=i;var u=_.parseRelativeUrl(r).pathname;a.isSsr&&n===C(a.asPath)&&u===C(a.pathname)||a._bps&&!a._bps(t)||a.change("replaceState",r,n,Object.assign({},o,{shallow:o.shallow&&a._shallow,locale:o.locale||a.defaultLocale}),undefined)}}else{var c=a.pathname,s=a.query;a.changeState("replaceState",y.formatWithValidation({pathname:C(c),query:s}),y.getURL())}};var w,x=f.removePathTrailingSlash(t);(this.components={},"/_error"!==t)&&(this.components[x]={Component:p,initial:!0,props:u,err:d,__N_SSG:u&&u.__N_SSG,__N_SSP:u&&u.__N_SSP,__N_RSC:!!(null===(w=p)||void 0===w?void 0:w.__next_rsc__)});this.components["/_app"]={Component:s,styleSheets:[]},this.events=e.events,this.pageLoader=c;var P=g.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||!P&&!self.location.search),this.state={route:x,pathname:t,query:r,asPath:P?t:n,isPreview:!!b,locale:void 0,isFallback:v},"//"!==n.substr(0,2)){var S={locale:m};S._shouldResolveHref=n!==t,this.changeState("replaceState",y.formatWithValidation({pathname:C(t),query:r}),y.getURL(),S)}window.addEventListener("popstate",this.onPopState)}return u(e,[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"push",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var n=q(this,e,t);return e=n.url,t=n.as,this.change("pushState",e,t,r)}},{key:"replace",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=q(this,e,t);return e=n.url,t=n.as,this.change("replaceState",e,t,r)}},{key:"change",value:function(){var t=a(n.mark((function t(r,o,a,i,u){var s,h,v,m,b,w,S,E,O,I,D,H,U,B,z,V,G,$,X,Y,K,Q,J,Z,ee,te,re,ne,oe,ae,ie,ue,ce,se,le,fe,pe,de,he,ve,me,ye,ge,_e,be;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(A(o)){t.next=3;break}return window.location.href=o,t.abrupt("return",!1);case 3:s=i._h||i._shouldResolveHref||L(o)===L(a),h=l({},this.state),i._h&&(this.isReady=!0),v=h.locale,t.next=19;break;case 19:if(i._h||(this.isSsr=!1),y.ST&&performance.mark("routeChange"),b=i.shallow,w=void 0!==b&&b,S=i.scroll,E=void 0===S||S,O={shallow:w},this._inFlightRoute&&this.abortComponentLoad(this._inFlightRoute,O),a=C(R(j(a)?M(a):a,i.locale,this.defaultLocale)),I=k(j(a)?M(a):a,h.locale),this._inFlightRoute=a,D=v!==h.locale,i._h||!this.onlyAHashChange(I)||D){t.next=36;break}return h.asPath=I,e.events.emit("hashChangeStart",a,O),this.changeState(r,o,a,l(l({},i),{},{scroll:!1})),E&&this.scrollToHash(I),this.set(h,this.components[h.route],null),e.events.emit("hashChangeComplete",a,O),t.abrupt("return",!0);case 36:return H=_.parseRelativeUrl(o),U=H.pathname,B=H.query,t.prev=38,t.next=41,Promise.all([this.pageLoader.getPageList(),p.getClientBuildManifest(),this.pageLoader.getMiddlewareList()]);case 41:V=t.sent,G=c(V,2),z=G[0],G[1].__rewrites,t.next=51;break;case 47:return t.prev=47,t.t0=t.catch(38),window.location.href=a,t.abrupt("return",!1);case 51:if(this.urlIsNew(I)||D||(r="replaceState"),$=a,U=U?f.removePathTrailingSlash(M(U)):U,!s||"/_error"===U){t.next=67;break}i._shouldResolveHref=!0,t.next=65;break;case 61:$=X.asPath,X.matchedPage&&X.resolvedHref&&(U=X.resolvedHref,H.pathname=C(U),o=y.formatWithValidation(H)),t.next=67;break;case 65:H.pathname=F(U,z),H.pathname!==U&&(U=H.pathname,H.pathname=C(U),o=y.formatWithValidation(H));case 67:if(A(a)){t.next=72;break}t.next=70;break;case 70:return window.location.href=a,t.abrupt("return",!1);case 72:if($=k(M($),h.locale),1===i._h&&!g.isDynamicRoute(f.removePathTrailingSlash(U))){t.next=97;break}return t.next=76,this._preflightRequest({as:a,cache:!0,pages:z,pathname:U,query:B,locale:h.locale,isPreview:h.isPreview});case 76:if("rewrite"!==(Y=t.sent).type){t.next=85;break}B=l(l({},B),Y.parsedAs.query),$=Y.asPath,U=Y.resolvedHref,H.pathname=Y.resolvedHref,o=y.formatWithValidation(H),t.next=97;break;case 85:if("redirect"!==Y.type||!Y.newAs){t.next=89;break}return t.abrupt("return",this.change(r,Y.newUrl,Y.newAs,i));case 89:if("redirect"!==Y.type||!Y.destination){t.next=94;break}return window.location.href=Y.destination,t.abrupt("return",new Promise((function(){})));case 94:if("refresh"!==Y.type||a===window.location.pathname){t.next=97;break}return window.location.href=a,t.abrupt("return",new Promise((function(){})));case 97:if(K=f.removePathTrailingSlash(U),!g.isDynamicRoute(K)){t.next=113;break}if(Q=_.parseRelativeUrl($),J=Q.pathname,Z=P.getRouteRegex(K),ee=x.getRouteMatcher(Z)(J),re=(te=K===J)?T(K,J,B):{},ee&&(!te||re.result)){t.next=112;break}if(!((ne=Object.keys(Z.groups).filter((function(e){return!B[e]}))).length>0)){t.next=110;break}throw new Error((te?"The provided `href` (".concat(o,") value is missing query values (").concat(ne.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(J,") is incompatible with the `href` value (").concat(K,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(te?"href-interpolation-failed":"incompatible-href-as"));case 110:t.next=113;break;case 112:te?a=y.formatWithValidation(Object.assign({},Q,{pathname:re.result,query:N(B,re.params)})):Object.assign(B,ee);case 113:return e.events.emit("routeChangeStart",a,O),t.prev=114,t.next=117,this.getRouteInfo(K,U,B,a,$,O,h.locale,h.isPreview);case 117:if(ae=t.sent,ue=(ie=ae).error,ce=ie.props,se=ie.__N_SSG,le=ie.__N_SSP,!se&&!le||!ce){t.next=143;break}if(!ce.pageProps||!ce.pageProps.__N_REDIRECT){t.next=129;break}if(!(fe=ce.pageProps.__N_REDIRECT).startsWith("/")||!1===ce.pageProps.__N_REDIRECT_BASE_PATH){t.next=127;break}return(pe=_.parseRelativeUrl(fe)).pathname=F(pe.pathname,z),de=q(this,fe,fe),he=de.url,ve=de.as,t.abrupt("return",this.change(r,he,ve,i));case 127:return window.location.href=fe,t.abrupt("return",new Promise((function(){})));case 129:if(h.isPreview=!!ce.__N_PREVIEW,ce.notFound!==W){t.next=143;break}return t.prev=131,t.next=134,this.fetchComponent("/404");case 134:me="/404",t.next=140;break;case 137:t.prev=137,t.t1=t.catch(131),me="/_error";case 140:return t.next=142,this.getRouteInfo(me,me,B,a,$,{shallow:!1},h.locale,h.isPreview);case 142:ae=t.sent;case 143:return e.events.emit("beforeHistoryChange",a,O),this.changeState(r,o,a,i),i._h&&"/_error"===U&&500===(null===(m=self.__NEXT_DATA__.props)||void 0===m||null===(oe=m.pageProps)||void 0===oe?void 0:oe.statusCode)&&(null===ce||void 0===ce?void 0:ce.pageProps)&&(ce.pageProps.statusCode=500),ye=i.shallow&&h.route===K,_e=null!==(ge=i.scroll)&&void 0!==ge?ge:!ye,be=_e?{x:0,y:0}:null,t.next=151,this.set(l(l({},h),{},{route:K,pathname:U,query:B,asPath:I,isFallback:!1}),ae,null!==u&&void 0!==u?u:be).catch((function(e){if(!e.cancelled)throw e;ue=ue||e}));case 151:if(!ue){t.next=154;break}throw e.events.emit("routeChangeError",ue,I,O),ue;case 154:return e.events.emit("routeChangeComplete",a,O),t.abrupt("return",!0);case 159:if(t.prev=159,t.t2=t.catch(114),!d.default(t.t2)||!t.t2.cancelled){t.next=163;break}return t.abrupt("return",!1);case 163:throw t.t2;case 164:case"end":return t.stop()}}),t,this,[[38,47],[114,159],[131,137]])})));return function(e,r,n,o,a){return t.apply(this,arguments)}}()},{key:"changeState",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};"pushState"===e&&y.getURL()===r||(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,idx:this._idx="pushState"!==e?this._idx:this._idx+1},"",r))}},{key:"handleRouteInfoError",value:function(){var t=a(n.mark((function t(r,o,a,i,u,c){var s,l,f,h;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r.cancelled){t.next=2;break}throw r;case 2:if(!p.isAssetError(r)&&!c){t.next=6;break}throw e.events.emit("routeChangeError",r,i,u),window.location.href=i,O();case 6:if(t.prev=6,"undefined"!==typeof s&&"undefined"!==typeof l){t.next=13;break}return t.next=10,this.fetchComponent("/_error");case 10:f=t.sent,s=f.page,l=f.styleSheets;case 13:if((h={props:undefined,Component:s,styleSheets:l,err:r,error:r}).props){t.next=25;break}return t.prev=15,t.next=18,this.getInitialProps(s,{err:r,pathname:o,query:a});case 18:h.props=t.sent,t.next=25;break;case 21:t.prev=21,t.t0=t.catch(15),console.error("Error in error page `getInitialProps`: ",t.t0),h.props={};case 25:return t.abrupt("return",h);case 28:return t.prev=28,t.t1=t.catch(6),t.abrupt("return",this.handleRouteInfoError(d.default(t.t1)?t.t1:new Error(t.t1+""),o,a,i,u,!0));case 31:case"end":return t.stop()}}),t,this,[[6,28],[15,21]])})));return function(e,r,n,o,a,i){return t.apply(this,arguments)}}()},{key:"getRouteInfo",value:function(){var e=a(n.mark((function e(t,r,o,a,i,u,c,s){var l,f,p,h,v,m,g,_,b,w,x,P,S=this;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,l=this.components[t],!u.shallow||!l||this.route!==t){e.next=4;break}return e.abrupt("return",l);case 4:if(f=void 0,l&&!("initial"in l)&&(f=l),e.t0=f,e.t0){e.next=11;break}return e.next=10,this.fetchComponent(t).then((function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP,__N_RSC:!!e.page.__next_rsc__}}));case 10:e.t0=e.sent;case 11:p=e.t0,h=p.Component,v=p.__N_SSG,m=p.__N_SSP,g=p.__N_RSC,e.next=17;break;case 17:return(v||m||g)&&(_=this.pageLoader.getDataHref({href:y.formatWithValidation({pathname:r,query:o}),asPath:i,ssg:v,rsc:g,locale:c})),e.next=20,this._getData((function(){return v||m?U(_,S.isSsr,!1,v?S.sdc:S.sdr,!!v&&!s):S.getInitialProps(h,{pathname:r,query:o,asPath:a,locale:c,locales:S.locales,defaultLocale:S.defaultLocale})}));case 20:if(b=e.sent,!g){e.next=28;break}return e.next=24,this._getData((function(){return S._getFlightData(_)}));case 24:w=e.sent,x=w.fresh,P=w.data,b.pageProps=Object.assign(b.pageProps,{__flight_serialized__:P,__flight_fresh__:x});case 28:return p.props=b,this.components[t]=p,e.abrupt("return",p);case 33:return e.prev=33,e.t1=e.catch(0),e.abrupt("return",this.handleRouteInfoError(d.getProperError(e.t1),r,o,a,u));case 36:case"end":return e.stop()}}),e,this,[[0,33]])})));return function(t,r,n,o,a,i,u,c){return e.apply(this,arguments)}}()},{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=this.asPath.split("#"),r=c(t,2),n=r[0],o=r[1],a=e.split("#"),i=c(a,2),u=i[0],s=i[1];return!(!s||n!==u||o!==s)||n===u&&o!==s}},{key:"scrollToHash",value:function(e){var t=e.split("#"),r=c(t,2)[1],n=void 0===r?"":r;if(""!==n&&"top"!==n){var o=document.getElementById(n);if(o)o.scrollIntoView();else{var a=document.getElementsByName(n)[0];a&&a.scrollIntoView()}}else window.scrollTo(0,0)}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(){var e=a(n.mark((function e(t){var r,o,a,i,u,c,s,p,d,h,v,m,g=this,b=arguments;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=b.length>1&&void 0!==b[1]?b[1]:t,o=b.length>2&&void 0!==b[2]?b[2]:{},a=_.parseRelativeUrl(t),i=a.pathname,u=a.query,e.next=7,this.pageLoader.getPageList();case 7:c=e.sent,s=r,e.next=21;break;case 12:if(d=e.sent,p=d.__rewrites,!(h=w.default(C(R(r,this.locale)),c,p,a.query,(function(e){return F(e,c)}),this.locales)).externalDest){e.next=17;break}return e.abrupt("return");case 17:s=k(M(h.asPath),this.locale),h.matchedPage&&h.resolvedHref&&(i=h.resolvedHref,a.pathname=i,t=y.formatWithValidation(a)),e.next=23;break;case 21:a.pathname=F(a.pathname,c),a.pathname!==i&&(i=a.pathname,a.pathname=i,t=y.formatWithValidation(a));case 23:e.next=25;break;case 25:return e.next=27,this._preflightRequest({as:C(r),cache:!0,pages:c,pathname:i,query:u,locale:this.locale,isPreview:this.isPreview});case 27:return"rewrite"===(v=e.sent).type&&(a.pathname=v.resolvedHref,i=v.resolvedHref,u=l(l({},u),v.parsedAs.query),s=v.asPath,t=y.formatWithValidation(a)),m=f.removePathTrailingSlash(i),e.next=32,Promise.all([this.pageLoader._isSsg(m).then((function(e){return!!e&&U(g.pageLoader.getDataHref({href:t,asPath:s,ssg:!0,locale:"undefined"!==typeof o.locale?o.locale:g.locale}),!1,!1,g.sdc,!0)})),this.pageLoader[o.priority?"loadPage":"prefetch"](m)]);case 32:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"fetchComponent",value:function(){var e=a(n.mark((function e(t){var r,o,a,i,u=this;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=!1,o=this.clc=function(){r=!0},a=function(){if(r){var e=new Error('Abort fetching component for route: "'.concat(t,'"'));throw e.cancelled=!0,e}o===u.clc&&(u.clc=null)},e.prev=3,e.next=6,this.pageLoader.loadPage(t);case 6:return i=e.sent,a(),e.abrupt("return",i);case 11:throw e.prev=11,e.t0=e.catch(3),a(),e.t0;case 15:case"end":return e.stop()}}),e,this,[[3,11]])})));return function(t){return e.apply(this,arguments)}}()},{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 o=new Error("Loading initial props cancelled");throw o.cancelled=!0,o}return e}))}},{key:"_getFlightData",value:function(e){return U(e,!0,!0,this.sdc,!1).then((function(e){return{fresh:!0,data:e}}))}},{key:"_preflightRequest",value:function(){var e=a(n.mark((function e(t){var r,o,a,i,u,s,l,p,d,h,m;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=k(j(t.as)?M(t.as):t.as,t.locale),e.next=3,this.pageLoader.getMiddlewareList();case 3:if(o=e.sent,o.some((function(e){var t=c(e,2),n=t[0],o=t[1];return x.getRouteMatcher(S.getMiddlewareRegex(n,!o))(r)}))){e.next=7;break}return e.abrupt("return",{type:"next"});case 7:return e.next=9,this._getPreflightData({preflightHref:t.as,shouldCache:t.cache,isPreview:t.isPreview});case 9:if(!(a=e.sent).rewrite){e.next=17;break}if(a.rewrite.startsWith("/")){e.next=13;break}return e.abrupt("return",{type:"redirect",destination:t.as});case 13:return i=_.parseRelativeUrl(v.normalizeLocalePath(j(a.rewrite)?M(a.rewrite):a.rewrite,this.locales).pathname),u=f.removePathTrailingSlash(i.pathname),t.pages.includes(u)?(s=!0,l=u):(l=F(u,t.pages))!==i.pathname&&t.pages.includes(l)&&(s=!0),e.abrupt("return",{type:"rewrite",asPath:i.pathname,parsedAs:i,matchedPage:s,resolvedHref:l});case 17:if(!a.redirect){e.next=23;break}if(!a.redirect.startsWith("/")){e.next=22;break}return p=f.removePathTrailingSlash(v.normalizeLocalePath(j(a.redirect)?M(a.redirect):a.redirect,this.locales).pathname),d=q(this,p,p),h=d.url,m=d.as,e.abrupt("return",{type:"redirect",newUrl:h,newAs:m});case 22:return e.abrupt("return",{type:"redirect",destination:a.redirect});case 23:if(!a.refresh||a.ssr){e.next=25;break}return e.abrupt("return",{type:"refresh"});case 25:return e.abrupt("return",{type:"next"});case 26:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_getPreflightData",value:function(e){var t=this,r=e.preflightHref,n=e.shouldCache,o=void 0!==n&&n,a=e.isPreview,i=new URL(r,window.location.href).href;return!a&&o&&this.sde[i]?Promise.resolve(this.sde[i]):fetch(r,{method:"HEAD",credentials:"same-origin",headers:{"x-middleware-preflight":"1"}}).then((function(e){if(!e.ok)throw new Error("Failed to preflight request");return{cache:e.headers.get("x-middleware-cache"),redirect:e.headers.get("Location"),refresh:e.headers.has("x-middleware-refresh"),rewrite:e.headers.get("x-middleware-rewrite"),ssr:!!e.headers.get("x-middleware-ssr")}})).then((function(e){return o&&"no-cache"!==e.cache&&(t.sde[i]=e),e})).catch((function(e){throw delete t.sde[i],e}))}},{key:"getInitialProps",value:function(e,t){var r=this.components["/_app"].Component,n=this._wrapApp(r);return t.AppTree=n,y.loadGetInitialProps(r,{AppTree:n,Component:e,router:this,ctx:t})}},{key:"abortComponentLoad",value:function(t,r){this.clc&&(e.events.emit("routeChangeError",O(),t,r),this.clc(),this.clc=null)}},{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}();B.events=m.default(),t.default=B},69422:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=function(e){var t=e.auth,r=e.hostname,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",c=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(s+=":"+e.port));c&&"object"===typeof c&&(c=String(n.urlQueryToSearchParams(c)));var l=e.search||c&&"?".concat(c)||"";a&&":"!==a.substr(-1)&&(a+=":");e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s="");u&&"#"!==u[0]&&(u="#"+u);l&&"?"!==l[0]&&(l="?"+l);return i=i.replace(/[?#]/g,encodeURIComponent),l=l.replace("#","%23"),"".concat(a).concat(s).concat(i).concat(l).concat(u)};var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(25880));var o=/https?|ftp|gopher|file/},58792:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e);return r+t}},43539:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMiddlewareRegex=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=n.getParametrizedRoute(e),o=t?"(?!_next).*":"",a=t?"(?:(/.*)?)":"";if("routeKeys"in r)return"/"===r.parameterizedRoute?{groups:{},namedRegex:"^/".concat(o,"$"),re:new RegExp("^/".concat(o,"$")),routeKeys:{}}:{groups:r.groups,namedRegex:"^".concat(r.namedParameterizedRoute).concat(a,"$"),re:new RegExp("^".concat(r.parameterizedRoute).concat(a,"$")),routeKeys:r.routeKeys};if("/"===r.parameterizedRoute)return{groups:{},re:new RegExp("^/".concat(o,"$"))};return{groups:{},re:new RegExp("^".concat(r.parameterizedRoute).concat(a,"$"))}};var n=r(76927)},41134:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getMiddlewareRegex",{enumerable:!0,get:function(){return n.getMiddlewareRegex}}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o.getRouteMatcher}}),Object.defineProperty(t,"getRouteRegex",{enumerable:!0,get:function(){return a.getRouteRegex}}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return i.getSortedRoutes}}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return u.isDynamicRoute}});var n=r(43539),o=r(61553),a=r(76927),i=r(43258),u=r(9636)},9636:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};var r=/\/\[[^/]+?\](?=\/|$)/},86472:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){var r=new URL(n.getLocationOrigin()),a=t?new URL(t,r):r,i=new URL(e,a),u=i.pathname,c=i.searchParams,s=i.search,l=i.hash,f=i.href;if(i.origin!==r.origin)throw new Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:u,query:o.searchParamsToUrlQuery(c),search:s,hash:l,href:f.slice(r.origin.length)}};var n=r(99475),o=r(25880)},25880:function(e,t,r){"use strict";var n=r(85696);function o(e){return"string"===typeof e||"number"===typeof e&&!isNaN(e)||"boolean"===typeof e?String(e):""}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){var t={};return e.forEach((function(e,r){"undefined"===typeof t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]})),t},t.urlQueryToSearchParams=function(e){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},t.assign=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:"/",r=n(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 o=r.map((function(r){return e.children.get(r)._smoosh("".concat(t).concat(r,"/"))})).reduce((function(e,t){return[].concat(n(e),n(t))}),[]);if(null!==this.slugName&&o.push.apply(o,n(this.children.get("[]")._smoosh("".concat(t,"[").concat(this.slugName,"]/")))),!this.placeholder){var a="/"===t?"/":t.slice(0,-1);if(null!=this.optionalRestSlugName)throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("'.concat(a,'" and "').concat(a,"[[...").concat(this.optionalRestSlugName,']]").'));o.unshift(a)}return null!==this.restSlugName&&o.push.apply(o,n(this.children.get("[...]")._smoosh("".concat(t,"[...").concat(this.restSlugName,"]/")))),null!==this.optionalRestSlugName&&o.push.apply(o,n(this.children.get("[[...]]")._smoosh("".concat(t,"[[...").concat(this.optionalRestSlugName,"]]/")))),o}},{key:"_insert",value:function(t,r,n){if(0!==t.length){if(n)throw new Error("Catch-all must be the last part of the URL.");var o=t[0];if(o.startsWith("[")&&o.endsWith("]")){var a=function(e,t){if(null!==e&&e!==t)throw new Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(t,"')."));r.forEach((function(e){if(e===t)throw new Error('You cannot have the same slug name "'.concat(t,'" repeat within a single dynamic path'));if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw new Error('You cannot have the slug names "'.concat(e,'" and "').concat(t,'" differ only by non-word symbols within a single dynamic path'))})),r.push(t)},i=o.slice(1,-1),u=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),u=!0),i.startsWith("...")&&(i=i.substring(3),n=!0),i.startsWith("[")||i.endsWith("]"))throw new Error("Segment names may not start or end with extra brackets ('".concat(i,"')."));if(i.startsWith("."))throw new Error("Segment names may not start with erroneous periods ('".concat(i,"')."));if(n)if(u){if(null!=this.restSlugName)throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...'.concat(this.restSlugName,']" and "').concat(t[0],'" ).'));a(this.optionalRestSlugName,i),this.optionalRestSlugName=i,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(t[0],'").'));a(this.restSlugName,i),this.restSlugName=i,o="[...]"}else{if(u)throw new Error('Optional route parameters are not yet supported ("'.concat(t[0],'").'));a(this.slugName,i),this.slugName=i,o="[]"}}this.children.has(o)||this.children.set(o,new e),this.children.get(o)._insert(t.slice(1),r,n)}else this.placeholder=!1}}]),e}()},36616:function(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=function(e){r=e},t.default=void 0;t.default=function(){return r}},99475:function(e,t,r){"use strict";var n=r(87794),o=r(33227),a=r(85971),i=r(52715),u=r(91193),c=r(36558),s=r(49376);function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=u(e);if(t){var o=u(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return i(this,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){var t,r=!1;return function(){return r||(r=!0,t=e.apply(void 0,arguments)),t}},t.getLocationOrigin=d,t.getURL=function(){var e=window.location.href,t=d();return e.substring(t.length)},t.getDisplayName=h,t.isResSent=v,t.normalizeRepeatedSlashes=function(e){var t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?".concat(t.slice(1).join("?")):"")},t.loadGetInitialProps=m,t.formatWithValidation=function(e){0;return p.formatUrl(e)},t.HtmlContext=t.ST=t.SP=t.urlObjectKeys=void 0;var f=r(67294),p=r(69422);function d(){var e=window.location,t=e.protocol,r=e.hostname,n=e.port;return"".concat(t,"//").concat(r).concat(n?":"+n:"")}function h(e){return"string"===typeof e?e:e.displayName||e.name||"Unknown"}function v(e){return e.finished||e.headersSent}function m(e,t){return y.apply(this,arguments)}function y(){return(y=s(n.mark((function e(t,r){var o,a,i;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=4;break;case 4:if(o=r.res||r.ctx&&r.ctx.res,t.getInitialProps){e.next=12;break}if(!r.ctx||!r.Component){e.next=11;break}return e.next=9,m(r.Component,r.ctx);case 9:return e.t0=e.sent,e.abrupt("return",{pageProps:e.t0});case 11:return e.abrupt("return",{});case 12:return e.next=14,t.getInitialProps(r);case 14:if(a=e.sent,!o||!v(o)){e.next=17;break}return e.abrupt("return",a);case 17:if(a){e.next=20;break}throw i='"'.concat(h(t),'.getInitialProps()" should resolve to an object. But found "').concat(a,'" instead.'),new Error(i);case 20:return e.abrupt("return",a);case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];var g="undefined"!==typeof performance;t.SP=g;var _=g&&"function"===typeof performance.mark&&"function"===typeof performance.measure;t.ST=_;var b=function(e){a(r,e);var t=l(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(c(Error));t.DecodeError=b;var w=f.createContext(null);t.HtmlContext=w},96086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},40037:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))})},90479:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(r){Function("r","regeneratorRuntime = r")(t)}},38745:function(e){!function(){var t={106:function(e,t){!function(e){"use strict";var t,r,n,o,a=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},i=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var r=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return r.observe({type:e,buffered:!0}),r}}catch(e){}},u=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)},c=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},s=function(e,t,r){var n;return function(o){t.value>=0&&(o||r)&&(t.delta=t.value-(n||0),(t.delta||void 0===n)&&(n=t.value,e(t)))}},l=-1,f=function(){return"hidden"===document.visibilityState?0:1/0},p=function(){u((function(e){var t=e.timeStamp;l=t}),!0)},d=function(){return l<0&&(l=f(),p(),c((function(){setTimeout((function(){l=f(),p()}),0)}))),{get firstHiddenTime(){return l}}},h=function(e,t){var r,n=d(),o=a("FCP"),u=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var r=function(){_(e,t),o()},n=function(){o()},o=function(){removeEventListener("pointerup",r,y),removeEventListener("pointercancel",n,y)};addEventListener("pointerup",r,y),addEventListener("pointercancel",n,y)}(t,e):_(t,e)}},x=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,w,y)}))},P=new Set;e.getCLS=function(e,t){v||(h((function(e){m=e.value})),v=!0);var r,n=function(t){m>-1&&e(t)},o=a("CLS",0),l=0,f=[],p=function(e){if(!e.hadRecentInput){var t=f[0],n=f[f.length-1];l&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(l+=e.value,f.push(e)):(l=e.value,f=[e]),l>o.value&&(o.value=l,o.entries=f,r())}},d=i("layout-shift",p);d&&(r=s(n,o,t),u((function(){d.takeRecords().map(p),r(!0)})),c((function(){l=0,m=-1,o=a("CLS",0),r=s(n,o,t)})))},e.getFCP=h,e.getFID=function(e,n){var l,f=d(),p=a("FID"),h=function(e){e.startTime