1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{60932:function(e,t){"use strict";function r(e,t,r,n,a,o,i){try{var s=e[o](i),u=s.value}catch(l){return void r(l)}s.done?t(u):Promise.resolve(u).then(n,a)}t.Z=function(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var i=e.apply(t,n);function s(e){r(i,a,o,s,u,"next",e)}function u(e){r(i,a,o,s,u,"throw",e)}s(void 0)}))}}},6495:function(e,t){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}t.Z=function(){return r.apply(this,arguments)}},92648:function(e,t){"use strict";t.Z=function(e){return e&&e.__esModule?e:{default:e}}},91598:function(e,t){"use strict";function r(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}t.Z=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(a,i,s):a[i]=e[i]}a.default=e,n&&n.set(e,a);return a}},17273:function(e,t){"use strict";t.Z=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}},13143:function(){"use strict";try{self["workbox:window:6.5.4"]&&_()}catch(e){}function e(e,t){return new Promise((function(r){var n=new MessageChannel;n.port1.onmessage=function(e){r(e.data)},e.postMessage(t,[n.port2])}))}function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function n(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}try{self["workbox:core:6.5.4"]&&_()}catch(e){}var a=function(){var e=this;this.promise=new Promise((function(t,r){e.resolve=t,e.reject=r}))};function o(e,t){var r=location.href;return new URL(e,r).href===new URL(t,r).href}var i=function(e,t){this.type=e,Object.assign(this,t)};function s(e,t,r){return r?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function u(){}var l={type:"SKIP_WAITING"};function c(e,t){if(!t)return e&&e.then?e.then(u):Promise.resolve()}var d=function(r){var n,u;function d(e,t){var n,u;return void 0===t&&(t={}),(n=r.call(this)||this).nn={},n.tn=0,n.rn=new a,n.en=new a,n.on=new a,n.un=0,n.an=new Set,n.cn=function(){var e=n.fn,t=e.installing;n.tn>0||!o(t.scriptURL,n.sn.toString())||performance.now()>n.un+6e4?(n.vn=t,e.removeEventListener("updatefound",n.cn)):(n.hn=t,n.an.add(t),n.rn.resolve(t)),++n.tn,t.addEventListener("statechange",n.ln)},n.ln=function(e){var t=n.fn,r=e.target,a=r.state,o=r===n.vn,s={sw:r,isExternal:o,originalEvent:e};!o&&n.mn&&(s.isUpdate=!0),n.dispatchEvent(new i(a,s)),"installed"===a?n.wn=self.setTimeout((function(){"installed"===a&&t.waiting===r&&n.dispatchEvent(new i("waiting",s))}),200):"activating"===a&&(clearTimeout(n.wn),o||n.en.resolve(r))},n.dn=function(e){var t=n.hn,r=t!==navigator.serviceWorker.controller;n.dispatchEvent(new i("controlling",{isExternal:r,originalEvent:e,sw:t,isUpdate:n.mn})),r||n.on.resolve(t)},n.gn=(u=function(e){var t=e.data,r=e.ports,a=e.source;return s(n.getSW(),(function(){n.an.has(a)&&n.dispatchEvent(new i("message",{data:t,originalEvent:e,ports:r,sw:a}))}))},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Promise.resolve(u.apply(this,e))}catch(e){return Promise.reject(e)}}),n.sn=e,n.nn=t,navigator.serviceWorker.addEventListener("message",n.gn),n}u=r,(n=d).prototype=Object.create(u.prototype),n.prototype.constructor=n,n.__proto__=u;var f,h,p=d.prototype;return p.register=function(e){var t=(void 0===e?{}:e).immediate,r=void 0!==t&&t;try{var n=this;return function(e,t){var r=e();return r&&r.then?r.then(t):t()}((function(){if(!r&&"complete"!==document.readyState)return c(new Promise((function(e){return window.addEventListener("load",e)})))}),(function(){return n.mn=Boolean(navigator.serviceWorker.controller),n.yn=n.pn(),s(n.bn(),(function(e){n.fn=e,n.yn&&(n.hn=n.yn,n.en.resolve(n.yn),n.on.resolve(n.yn),n.yn.addEventListener("statechange",n.ln,{once:!0}));var t=n.fn.waiting;
1return t&&o(t.scriptURL,n.sn.toString())&&(n.hn=t,Promise.resolve().then((function(){n.dispatchEvent(new i("waiting",{sw:t,wasWaitingBeforeRegister:!0}))})).then((function(){}))),n.hn&&(n.rn.resolve(n.hn),n.an.add(n.hn)),n.fn.addEventListener("updatefound",n.cn),navigator.serviceWorker.addEventListener("controllerchange",n.dn),n.fn}))}))}catch(e){return Promise.reject(e)}},p.update=function(){try{return this.fn?c(this.fn.update()):void 0}catch(e){return Promise.reject(e)}},p.getSW=function(){return void 0!==this.hn?Promise.resolve(this.hn):this.rn.promise},p.messageSW=function(t){try{return s(this.getSW(),(function(r){return e(r,t)}))}catch(e){return Promise.reject(e)}},p.messageSkipWaiting=function(){this.fn&&this.fn.waiting&&e(this.fn.waiting,l)},p.pn=function(){var e=navigator.serviceWorker.controller;return e&&o(e.scriptURL,this.sn.toString())?e:void 0},p.bn=function(){try{var e=this;return function(e,t){try{var r=e()}catch(e){return t(e)}return r&&r.then?r.then(void 0,t):r}((function(){return s(navigator.serviceWorker.register(e.sn,e.nn),(function(t){return e.un=performance.now(),t}))}),(function(e){throw e}))}catch(e){return Promise.reject(e)}},f=d,(h=[{key:"active",get:function(){return this.en.promise}},{key:"controlling",get:function(){return this.on.promise}}])&&t(f.prototype,h),d}(function(){function e(){this.Pn=new Map}var t=e.prototype;return t.addEventListener=function(e,t){this.Sn(e).add(t)},t.removeEventListener=function(e,t){this.Sn(e).delete(t)},t.dispatchEvent=function(e){e.target=this;for(var t,r=n(this.Sn(e.type));!(t=r()).done;)(0,t.value)(e)},t.Sn=function(e){return this.Pn.has(e)||this.Pn.set(e,new Set),this.Pn.get(e)},e}());if("undefined"!==typeof window&&"serviceWorker"in navigator&&"undefined"!==typeof caches){caches.has("start-url").then((function(e){e||caches.open("start-url").then((e=>e.put("/",new Response("",{status:200}))))})),window.workbox=new d(window.location.origin+"/sw.js",{scope:"/"}),window.workbox.addEventListener("installed",(async({isUpdate:e})=>
1{if(!e){const e=await caches.open("start-url"),t=await fetch("/");let r=t;t.redirected&&(r=new Response(t.body,{status:200,statusText:"OK",headers:t.headers})),await e.put("/",r)}})),window.workbox.addEventListener("installed",(async()=>{const e=window.performance.getEntriesByType("resource").map((e=>e.name)).filter((e=>e.startsWith(`${window.location.origin}/_next/data/`)&&e.endsWith(".json"))),t=await caches.open("next-data");e.forEach((e=>t.add(e)))})),window.workbox.register();{const e=function(e){if(window.navigator.onLine)return"/"===e?fetch("/").then((function(e){return e.redirected?Promise.resolve():caches.open("start-url").then((t=>t.put("/",e)))})):void 0},t=history.pushState;history.pushState=function(){t.apply(history,arguments),e(arguments[2])};const r=history.replaceState;history.replaceState=function(){r.apply(history,arguments),e(arguments[2])},window.addEventListener("online",(()=>{e(window.location.pathname)}))}window.addEventListener("online",(()=>{location.reload()}))}},70227:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBasePath=function(e,t){0;return a.normalizePathTrailingSlash(n.addPathPrefix(e,""))};var n=r(89782),a=r(24969);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57995:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=void 0;r(24969);t.addLocale=function(e){return e},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57565:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectDomainLocale=void 0;t.detectDomainLocale=function(){0},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8771:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBasePath=function(e){return n.pathHasPrefix(e,"")};var n=r(19880);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40877:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{mountedInstances:new Set,updateHead:e=>{var t={};e.forEach((e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'.concat(e.props["data-href"],'"]')))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}var r=t[e.type]||[];r.push(e),t[e.type]=r}));var r=t.title?t.title[0]:null,o="";if(r){var{children:i}=r.props;o="string"===typeof i?i:Array.isArray(i)?i.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach((e=>{!function(e,t){var r=document.getElementsByTagName("head")[0],o=r.querySelector("meta[name=next-head-count]");0;for(var i=Number(o.content),s=[],u=0,l=o.previousElementSibling;u<i;u++,l=(null==l?void 0:l.previousElementSibling)||null){var c;(null==l||null==(c=l.tagName)?void 0:c.toLowerCase())===e&&s.push(l)}var d=t.map(n).filter((e=>{for(var t=0,r=s.length;t<r;t++){if(a(s[t],e))return s.splice(t,1),!1}return!0}));s.forEach((e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),d.forEach((e=>r.insertBefore(e,o))),o.content=(i-s.length+d.length).toString()}(e,t[e]||[])}))}}},t.isEqualNode=a,t.DOMAttributeNames=void 0;var r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function n(e){var{type:t,props:n}=e,a=document.createElement(t);for(var o in n)if(n.hasOwnProperty(o)&&"children"!==o&&"dangerouslySetInnerHTML"!==o&&void 0!==n[o]){var i=r[o]||o.toLowerCase();"script"!==t||"async"!==i&&"defer"!==i&&"noModule"!==i?a.setAttribute(i,n[o]):a[i]=!!n[o]}var{children:s,dangerouslySetInnerHTML:u}=n;return u?a.innerHTML=u.__html||"":s&&(a.textContent="string"===typeof s?s:Array.isArray(s)?s.join(""):""),a}function a(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){var r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){var n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}t.DOMAttributeNames=r,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96947:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initialize=function(){return U.apply(this,arguments)},t.hydrate=function(e){return re.apply(this,arguments)},t.emitter=t.router=t.version=void 0;var n=r(60932).Z,a=r(6495).Z,o=r(92648).Z;r(91598).Z;r(40037);var i,s=o(r(67294)),u=r(15850),l=o(r(18286)),c=r(30647),d=r(9636),f=r(25880),h=r(36616),p=r(99475),v=r(63291),m=o(r(40877)),y=o(r(66184)),g=o(r(8854)),_=r(93396),P=r(69898),b=r(80676),w=r(89239),S=r(65678),E=r(8771),j=r(20745);t.version="12.3.7",t.router=i;var O=l.default();t.emitter=O;var x,C,R,L,M,A,T,N,I,k,D=e=>[].slice.call(e),B=void 0,q=!1;self.__next_require__=r;class W extends s.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),i.isSsr&&"/404"!==x.page&&"/_error"!==x.page&&(x.isFallback||x.nextExport&&(d.isDynamicRoute(i.pathname)||location.search||q)||x.props&&x.props.__N_SSG&&(location.search||q))&&i.replace(i.pathname+"?"+String(f.assign(f.urlQueryToSearchParams(i.query),new URLSearchParams(location.search))),C,{_h:1,shallow:!x.isFallback&&!q}).catch((e=>{if(!e.cancelled)throw e}))}componentDidUpdate(){this.scrollToHash()}scrollToHash(){var{hash:e}=location;if(e=e&&e.substring(1)){var t=document.getElementById(e);t&&setTimeout((()=>t.scrollIntoView()),0)}}render(){return this.props.children}}function U(){return(U=n((function*(){x=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=x,B=x.defaultLocale;var e=x.assetPrefix||"";if(r.p="".concat(e,"/_next/"),h.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:x.runtimeConfig||{}}),C=p.getURL(),E.hasBasePath(C)&&(C=S.removeBasePath(C)),x.scriptLoader){var{initScriptLoader:t}=r(72189);t(x.scriptLoader)}R=new y.default(x.buildId,e);var n=e=>{var[t,r]=e;return R.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map((e=>setTimeout((()=>n(e)),0))),window.__NEXT_P=[],window.__NEXT_P.push=n,(M=m.default()).getIsSsr=()=>i.isSsr,L=document.getElementById("__next"),{assetPrefix:e}}))).apply(this,arguments)}function H(e,t){return s.default.createElement(e,Object.assign({},t))}function F(e){var{children:t}=e;return s.default.createElement(W,{fn:e=>Z({App:N,err:e}).catch((e=>{}))},s.default.createElement(c.RouterContext.Provider,{value:P.makePublicRouterInstance(i)},s.default.createElement(u.HeadManagerContext.Provider,{value:M},s.default.createElement(w.ImageConfigContext.Provider,{value:{deviceSizes:[320,420,640,768,1024,1280],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}},t))))}var z=e=>t=>{var r=a({},t,{Component:k,err:x.err,router:i});return s.default.createElement(F,null,H(e,r))};function Z(e){var{App:t,err:n}=e;return R.loadPage("/_error").then((n=>{var{page:a,styleSheets:o}=n;return(null==A?void 0:A.Component)===a?r.e(9651).then(r.bind(r,99651)).then((n=>r.e(2741).then(r.bind(r,22741)).then((r=>(t=r.default,e.App=t,n))))).then((e=>({ErrorComponent:e.default,styleSheets:[]}))):{ErrorComponent:a,styleSheets:o}})).then((r=>{var o,{ErrorComponent:s,styleSheets:u}=r,l=z(t),c={Component:s,AppTree:l,router:i,ctx:{err:n,pathname:x.page,query:x.query,asPath:C,AppTree:l}};return Promise.resolve((null==(o=e.props)?void 0:o.err)?e.props:p.loadGetInitialProps(t,c)).then((t=>Q(a({},e,{err:n,Component:s,styleSheets:u,props:t}))))}))}function G(e){var{callback:t}=e;return s.default.useLayoutEffect((()=>t()),[t]),null}var V=null,K=!0;function X(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((e=>performance.clearMarks(e)))}function $(){p.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),I&&performance.getEntriesByName("Next.js-hydration").forEach(I),X())}function Y(){if(p.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","afterRe
1nder"),I&&(performance.getEntriesByName("Next.js-render").forEach(I),performance.getEntriesByName("Next.js-route-change-to-render").forEach(I)),X(),["Next.js-route-change-to-render","Next.js-render"].forEach((e=>performance.clearMeasures(e))))}}function J(e){var{callbacks:t,children:r}=e;return s.default.useLayoutEffect((()=>t.forEach((e=>e()))),[t]),s.default.useEffect((()=>{g.default(I)}),[]),r}function Q(e){var{App:t,Component:r,props:n,err:o}=e,u="initial"in e?void 0:e.styleSheets;r=r||A.Component,n=n||A.props;var l=a({},n,{Component:r,err:o,router:i});A=l;var c,d=!1,f=new Promise(((e,t)=>{T&&T(),c=()=>{T=null,e()},T=()=>{d=!0,T=null;var e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));function h(){c()}!function(){if(!u)return!1;var e=D(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map((e=>e.getAttribute("data-n-href")))),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");u.forEach((e=>{var{href:r,text:a}=e;if(!t.has(r)){var o=document.createElement("style");o.setAttribute("data-n-href",r),o.setAttribute("media","x"),n&&o.setAttribute("nonce",n),document.head.appendChild(o),o.appendChild(document.createTextNode(a))}}))}();var m=s.default.createElement(s.default.Fragment,null,s.default.createElement(G,{callback:function(){if(u&&!d){for(var t=new Set(u.map((e=>e.href))),r=D(document.querySelectorAll("style[data-n-href]")),n=r.map((e=>e.getAttribute("data-n-href"))),a=0;a<n.length;++a)t.has(n[a])?r[a].removeAttribute("media"):r[a].setAttribute("media","x");var o=document.querySelector("noscript[data-n-css]");o&&u.forEach((e=>{var{href:t}=e,r=document.querySelector('style[data-n-href="'.concat(t,'"]'));r&&(o.parentNode.insertBefore(r,o.nextSibling),o=r)})),D(document.querySelectorAll("link[data-n-p]")).forEach((e=>{e.parentNode.removeChild(e)}))}if(e.scroll){var i=document.documentElement,s=i.style.scrollBehavior;i.style.scrollBehavior="auto",window.scrollTo(e.scroll.x,e.scroll.y),i.style.scrollBehavior=s}}}),s.default.createElement(F,null,H(t,l),s.default.createElement(v.Portal,{type:"next-route-announcer"},s.default.createElement(_.RouteAnnouncer,null))));return function(e,t){p.ST&&performance.mark("beforeRender");var r=t(K?$:Y);V?(0,s.default.startTransition)((()=>{V.render(r)})):(V=j.hydrateRoot(e,r),K=!1)}(L,(e=>s.default.createElement(J,{callbacks:[e,h]},s.default.createElement(s.default.StrictMode,null,m)))),f}function ee(e){return te.apply(this,arguments)}function te(){return(te=n((function*(e){if(e.err)yield Z(e);else try{yield Q(e)}catch(r){var t=b.getProperError(r);if(t.cancelled)throw t;0,yield Z(a({},e,{err:t}))}}))).apply(this,arguments)}function re(){return(re=n((function*(e){var r=x.err;try{var n=yield R.routeLoader.whenEntrypoint("/_app");if("error"in n)throw n.error;var{component:a,exports:o}=n;N=a,o&&o.reportWebVitals&&(I=e=>{var t,{id:r,name:n,startTime:a,value:i,duration:s,entryType:u,entries:l}=e,c="".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12);l&&l.length&&(t=l[0].startTime);var d={id:r||c,name:n,startTime:a||t,value:null==i?s:i,label:"mark"===u||"measure"===u?"custom":"web-vital"};o.reportWebVitals(d)});var s=yield R.routeLoader.whenEntrypoint(x.page);if("error"in s)throw s.error;k=s.component}catch(l){r=b.getProperError(l)}window.__NEXT_PRELOADREADY&&(yield window.__NEXT_PRELOADREADY(x.dynamicIds)),t.router=i=P.createRouter(x.page,x.query,C,{initialProps:x.props,pageLoader:R,App:N,Component:k,wrapApp:z,err:r,isFallback:Boolean(x.isFallback),subscription:(e,t,r)=>ee(Object.assign({},e,{App:t,scroll:r})),locale:x.locale,locales:x.locales,defaultLocale:B,domainLocales:x.domainLocales,isPreview:x.isPreview}),q=yield i._initialMatchesMiddlewarePromise;var u={App:N,initial:!0,Component:k,props:x.props,err:r};(null==e?void 0:e.beforeRender)&&(yield e.beforeRender()),ee(u)}))).apply(this,arguments)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94609:function(e,t,r){"use strict";var n=r(96947);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},n.initialize({}).then((()=>
1n.hydrate())).catch((function(){})),("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},24969:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathTrailingSlash=void 0;var n=r(15323),a=r(23082);t.normalizePathTrailingSlash=e=>{if(!e.startsWith("/"))return e;var{pathname:t,query:r,hash:o}=a.parsePath(e);return"".concat(n.removeTrailingSlash(t)).concat(r).concat(o)},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66184:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92648).Z,a=r(70227),o=r(64957),i=n(r(58792)),s=r(57995),u=r(9636),l=r(86472),c=r(15323),d=r(4989);t.default=class{getPageList(){return d.getClientBuildManifest().then((e=>e.sortedPages))}getMiddleware(){var e=[];return window.__MIDDLEWARE_MATCHERS=e||void 0,window.__MIDDLEWARE_MATCHERS}getDataHref(e){var{asPath:t,href:r,locale:n}=e,{pathname:d,query:f,search:h}=l.parseRelativeUrl(r),{pathname:p}=l.parseRelativeUrl(t),v=c.removeTrailingSlash(d);if("/"!==v[0])throw new Error('Route name should start with a "/", got "'.concat(v,'"'));return(e=>{var t=i.default(c.removeTrailingSlash(s.addLocale(e,n)),".json");return a.addBasePath("/_next/data/".concat(this.buildId).concat(t).concat(h),!0)})(e.skipInterpolation?p:u.isDynamicRoute(v)?o.interpolateAs(d,p,f).result:v)}_isSsg(e){return this.promisedSsgManifest.then((t=>t.has(e)))}loadPage(e){return this.routeLoader.loadRoute(e).then((e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map((e=>({href:e.href,text:e.content})))};throw e.error}))}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=d.createRouteLoader(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise((e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}}))}},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8854:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=r(78018),o=(location.href,!1);function i(e){n&&n(e)}t.default=e=>{n=e,o||(o=!0,a.onCLS(i),a.onFID(i),a.onFCP(i),a.onLCP(i),a.onTTFB(i),a.onINP(i))},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63291:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Portal=void 0;var n=r(67294),a=r(73935);t.Portal=e=>{var{children:t,type:r}=e,[o,i]=n.useState(null);return n.useEffect((()=>{var e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}}),[r]),o?a.createPortal(t,o):null},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65678:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeBasePath=function(e){0;(e=e.slice("".length)).startsWith("/")||(e="/".concat(e));return e};r(8771);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49781:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeLocale=function(e,t){0;return e};r(23082);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},26286:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cancelIdleCallback=t.requestIdleCallback=void 0;var r="undefined"!==typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){var t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};t.requestIdleCallback=r;var n="undefined"!==typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};t.cancelIdleCallback=n,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},93396:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RouteAnnouncer=void 0;var n=(0,r(92648).Z)(r(67294)),a=r(69898),o={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},i=()=>{var{asPath:e}=a.useRouter(),[t,r]=n.default.useState(""),i=n.default.useRef(e);return n.default.useEffect((()=>{if(i.current!==e)if(i.current=e,document.title)r(document.title);else{var t,n=document.querySelector("h1"),a=null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent;r(a||e)}}),[e]),n.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:o},t)};t.RouteAnnouncer=i;var s=i;t.default=s,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4989:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.markAssetError=u,t.isAssetError=function(e){return e&&s in e},t.getClientBuildManifest=c,t.createRouteLoader=function(e){var t=new Map,r=new Map,n=new Map,s=new Map;function c(e){var t=r.get(e.toString());return t||(document.querySelector('script[src^="'.concat(e,'"]'))?Promise.resolve():(r.set(e.toString(),t=function(e,t){return new Promise(((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(u(new Error("Failed to load script: ".concat(e)))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)}))}(e)),t))}function f(e){var t=n.get(e);return t||(n.set(e,t=fetch(e).then((t=>{if(!t.ok)throw new Error("Failed to load stylesheet: ".concat(e));return t.text().then((t=>({href:e,content:t})))})).catch((e=>{throw u(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=>{var n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),s.delete(e))}))}
1,loadRoute(r,n){return o(r,s,(()=>l(d(e,r).then((e=>{var{scripts:n,css:a}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(c)),Promise.all(a.map(f))])})).then((e=>this.whenEntrypoint(r).then((t=>({entrypoint:t,styles:e[1]}))))),3800,u(new Error("Route did not complete loading: ".concat(r)))).then((e=>{var{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n})).catch((e=>{if(n)throw e;return{error:e}})).finally((()=>{}))))},prefetch(t){var r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():d(e,t).then((e=>Promise.all(i?e.scripts.map((e=>{return t=e.toString(),r="script",new Promise(((e,a)=>{var o='\n link[rel="prefetch"][href^="'.concat(t,'"],\n link[rel="preload"][href^="').concat(t,'"],\n script[src^="').concat(t,'"]');if(document.querySelector(o))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=a,n.href=t,document.head.appendChild(n)}));var t,r,n})):[]))).then((()=>{a.requestIdleCallback((()=>this.loadRoute(t,!0).catch((()=>{}))))})).catch((()=>{}))}}};(0,r(92648).Z)(r(58792));var n=r(65740),a=r(26286);function o(e,t,r){var n,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);var o=new Promise((e=>{n=e}));return t.set(e,a={resolve:n,future:o}),r?r().then((e=>(n(e),e))).catch((r=>{throw t.delete(e),r})):o}var i=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(t){return!1}}();var s=Symbol("ASSET_LOAD_ERROR");function u(e){return Object.defineProperty(e,s,{})}function l(e,t,r){return new Promise(((n,o)=>{var i=!1;e.then((e=>{i=!0,n(e)})).catch(o),a.requestIdleCallback((()=>setTimeout((()=>{i||o(r)}),t)))}))}function c(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):l(new Promise((e=>{var t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}})),3800,u(new Error("Failed to load client build manifest")))}function d(e,t){return c().then((r=>{if(!(t in r))throw u(new Error("Failed to lookup route: ".concat(t)));var a=r[t].map((t=>e+"/_next/"+encodeURI(t)));return{scripts:a.filter((e=>e.endsWith(".js"))).map((e=>n.__unsafeCreateTrustedScriptURL(e))),css:a.filter((e=>e.endsWith(".css")))}}))}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69898:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Router",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"withRouter",{enumerable:!0,get:function(){return s.default}}),t.useRouter=function(){return a.default.useContext(i.RouterContext)},t.createRouter=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.router=new o.default(...t),u.readyCallbacks.forEach((e=>e())),u.readyCallbacks=[],u.router},t.makePublicRouterInstance=function(e){var t=e,r={};for(var n of l)"object"!==typeof t[n]?r[n]=t[n]:r[n]=Object.assign(Array.isArray(t[n])?[]:{},t[n]);return r.events=o.default.events,c.forEach((e=>{r[e]=function(){return t[e](...arguments)}})),r},t.default=void 0;var n=r(92648).Z,a=n(r(67294)),o=n(r(64957)),i=r(30647),s=(n(r(80676)),n(r(96098))),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},l=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],c=["push","replace","reload","back","prefetch","beforePopState"];function d(){if(!u.router){throw new 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:()=>o.default.events}),l.forEach((e=>{Object.defineProperty(u,e,{get:()=>d()[e]})})),c.forEach((e=>{u[e]=function(){var t=d();return t[e](...arguments)}})),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach((e=>{u.ready((()=>{o.default.events.on(e,(function(){var t="on".concat(e.charAt(0).toUpperCase()).concat(e.substring(1)),r=u;if(r[t])try{r[t](...arguments)}catch(n){}}))}))}));var f=u;t.default=f,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},72189:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleClientScriptLoad=p,t.initScriptLoader=function(e){e.forEach(p),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach((e=>{var t=e.id||e.getAttribute("src");d.add(t)}))},t.default=void 0;var n=r(6495).Z,a=r(91598).Z,o=r(17273).Z,i=a(r(67294)),s=r(15850),u=r(40877),l=r(26286),c=new Map,d=new Set,f=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy"],h=e=>{var{src:t,id:r,onLoad:n=(()=>{}),onReady:a=null,dangerouslySetInnerHTML:o,children:i="",strategy:s="afterInteractive",onError:l}=e,h=r||t;if(!h||!d.has(h)){if(c.has(t))return d.add(h),void c.get(t).then(n,l);var p=()=>{a&&a(),d.add(h)},v=document.createElement("script"),m=new Promise(((e,t)=>{v.addEventListener("load",(function(t){e(),n&&n.call(this,t),p()})),v.addEventListener("error",(function(e){t(e)}))})).catch((function(e){l&&l(e)}));for(var[y,g]of(o?(v.innerHTML=o.__html||"",p()):i?(v.textContent="string"===typeof i?i:Array.isArray(i)?i.join(""):"",p()):t&&(v.src=t,c.set(t,m)),Object.entries(e)))if(void 0!==g&&!f.includes(y)){var _=u.DOMAttributeNames[y]||y.toLowerCase();v.setAttribute(_,g)}"worker"===s&&v.setAttribute("type","text/partytown"),v.setAttribute("data-nscript",s),document.body.appendChild(v)}};function p(e){var{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",(()=>{l.requestIdleCallback((()=>h(e)))})):h(e)}function v(e){var{id:t,src:r="",onLoad:a=(()=>{}),onReady:u=null,strategy:c="afterInteractive",onError:f}=e,p=o(e,["id","src","onLoad","onReady","strategy","onError"]),{updateScripts:v,scripts:m,getIsSsr:y}=i.useContext(s.HeadManagerContext),g=i.useRef(!1);i.useEffect((()=>{var e=t||r;g.current||(u&&e&&d.has(e)&&u(),g.current=!0)}),[u,t,r]);var _=i.useRef(!1);return i.useEffect((()=>{_.current||("afterInteractive"===c?h(e):"lazyOnload"===c&&function(e){"complete"===document.readyState?l.requestIdleCallback((()=>h(e))):window.addEventListener("load",(()=>{l.requestIdleCallback((()=>h(e)))}))}(e),_.current=!0)}),[e,c]),"beforeInteractive"!==c&&"worker"!==c||(v?(m[c]=(m[c]||[]).concat([n({id:t,src:r,onLoad:a,onReady:u,onError:f},p)]),v(m)):y&&y()?d.add(t||r):y&&!y()&&h(e)),null}Object.defineProperty(v,"__nextScript",{value:!0});var m=v;t.default=m,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65740:function(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.__unsafeCreateTrustedScriptURL=function(e){var t;return(null==(t=function(){var e;"undefined"===typeof r&&(r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null);return r}())?void 0:t.createScriptURL(e))||e},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96098:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t){return n.default.createElement(e,Object.assign({router:a.useRouter()},t))}t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,!1;return t};var n=(0,r(92648).Z)(r(67294)),a=r(69898);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79817:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeStringRegexp=function(e){if(r.test(e))return e.replace(n,"\\$&");return e};var r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g},15850:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.HeadManagerContext=void 0;var n=(0,r(92648).Z)(r(67294)).default.createContext({});t.HeadManagerContext=n},9625:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=function(e,t){var r,n=e.split("/");return(t||[]).some((t=>!(!n[1]||n[1].toLowerCase()!==t.toLowerCase())&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0))),{pathname:e,detectedLocale:r}}},89239:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageConfigContext=void 0;var n=(0,r(92648).Z)(r(67294)),a=r(48187),o=n.default.createContext(a.imageConfigDefault);t.ImageConfigContext=o},48187:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageConfigDefault=t.VALID_LOADERS=void 0;t.VALID_LOADERS=["default","imgix","cloudinary","akamai","custom"];t.imageConfigDefault={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",remotePatterns:[],unoptimized:!1}},22784:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectClassLabel=r,t.isPlainObject=function(e){if("[object Object]"!==r(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},18286:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];(e[t]||[]).slice().map((e=>{e(...n)}))}}}},7748:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.denormalizePagePath=function(e){var t=a.normalizePathSep(e);return t.startsWith("/index/")&&!n.isDynamicRoute(t)?t.slice(6):"/index"!==t?t:"/"};var n=r(41134),a=r(70716)},70716:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathSep=function(e){return e.replace(/\\/g,"/")}},30647:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RouterContext=void 0;var n=(0,r(92648).Z)(r(67294)).default.createContext(null);t.RouterContext=n},64957:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchesMiddleware=N,t.isLocalURL=B,t.interpolateAs=q,t.resolveHref=W,t.createKey=$,t.default=void 0;var n=r(60932).Z,a=r(6495).Z,o=r(92648).Z,i=r(91598).Z,s=r(24969),u=r(15323),l=r(4989),c=r(72189),d=i(r(80676)),f=r(7748),h=r(9625),p=o(r(18286)),v=r(99475),m=r(9636),y=r(86472),g=r(25880),P=(o(r(72431)),r(61553)),b=r(76927),w=r(69422),S=(r(57565),r(23082)),E=r(57995),j=r(49781),O=r(65678),x=r(70227),C=r(8771),R=r(83601),L=r(46394),M=r(56752),A=r(29293);function T(){return Object.assign(new Error("Route Cancelled"),{cancelled:!0})}function N(e){return I.apply(this,arguments)}function I(){return(I=n((function*(e){var t=yield Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;var{pathname:r}=S.parsePath(e.asPath),n=C.hasBasePath(r)?O.removeBasePath(r):r,a=x.addBasePath(E.addLocale(n,e.locale));return t.some((e=>new RegExp(e.regexp).test(a)))}))).apply(this,arguments)}function k(e){var t=v.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function D(e,t){var r={};return Object.keys(e).forEach((n=>{t.includes(n)||(r[n]=e[n])})),r}function B(e){if(!v.isAbsoluteUrl(e))return!0;try{var t=v.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&C.hasBasePath(r.pathname)}catch(_){return!1}}function q(e,t,r){var n="",a=b.getRouteRegex(e),o=a.groups,i=(t!==e?P.getRouteMatcher(a)(t):"")||r;n=e;var s=Object.keys(o);return s.every((e=>{var t=i[e]||"",{repeat:r,optional:a}=o[e],s="[".concat(r?"...":"").concat(e,"]");return a&&(s="".concat(t?"":"/","[").concat(s,"]")),r&&!Array.isArray(t)&&(t=[t]),(a||e in i)&&
1(n=n.replace(s,r?t.map((e=>encodeURIComponent(e))).join("/"):encodeURIComponent(t))||"/")}))||(n=""),{params:s,result:n}}function W(e,t,r){var n,a="string"===typeof t?t:w.formatWithValidation(t),o=a.match(/^[a-zA-Z]{1,}:\/\//),i=o?a.slice(o[0].length):a;if((i.split("?")[0]||"").match(/(\/\/|\\)/)){var u=v.normalizeRepeatedSlashes(i);a=(o?o[0]:"")+u}if(!B(a))return r?[a]:a;try{n=new URL(a.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(_){n=new URL("/","http://n")}try{var l=new URL(a,n);l.pathname=s.normalizePathTrailingSlash(l.pathname);var c="";if(m.isDynamicRoute(l.pathname)&&l.searchParams&&r){var d=g.searchParamsToUrlQuery(l.searchParams),{result:f,params:h}=q(l.pathname,l.pathname,d);f&&(c=w.formatWithValidation({pathname:f,hash:l.hash,query:D(d,h)}))}var p=l.origin===n.origin?l.href.slice(l.origin.length):l.href;return r?[p,c||p]:p}catch(y){return r?[a]:a}}function U(e,t,r){var[n,a]=W(e,t,!0),o=v.getLocationOrigin(),i=n.startsWith(o),s=a&&a.startsWith(o);n=k(n),a=a?k(a):a;var u=i?n:x.addBasePath(n),l=r?k(W(e,r)):a||n;return{url:u,as:s?l:x.addBasePath(l)}}function H(e,t){var r=u.removeTrailingSlash(f.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some((t=>{if(m.isDynamicRoute(t)&&b.getRouteRegex(t).re.test(r))return e=t,!0})),u.removeTrailingSlash(e))}function F(e){return N(e).then((t=>t&&e.fetchData?e.fetchData().then((t=>function(e,t,r){var n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:Boolean(!1)},o=t.headers.get("x-nextjs-rewrite"),i=o||t.headers.get("x-nextjs-matched-path"),s=t.headers.get("x-matched-path");if(!s||i||s.includes("__next_data_catchall")||s.includes("/_error")||s.includes("/404")||(i=s),i){if(i.startsWith("/")){var c=y.parseRelativeUrl(i),d=R.getNextPathnameInfo(c.pathname,{nextConfig:n,parseData:!0}),f=u.removeTrailingSlash(d.pathname);return Promise.all([r.router.pageLoader.getPageList(),l.getClientBuildManifest()]).then((t=>{var[n,{__rewrites:a}]=t,i=E.addLocale(d.pathname,d.locale);if(m.isDynamicRoute(i)||!o&&n.includes(h.normalizeLocalePath(O.removeBasePath(i),r.router.locales).pathname)){var s=R.getNextPathnameInfo(y.parseRelativeUrl(e).pathname,{parseData:!0});i=x.addBasePath(s.pathname),c.pathname=i}if(!n.includes(f)){var u=H(f,n);u!==f&&(f=u)}var l=n.includes(f)?f:H(h.normalizeLocalePath(O.removeBasePath(c.pathname),r.router.locales).pathname,n);if(m.isDynamicRoute(l)){var p=P.getRouteMatcher(b.getRouteRegex(l))(i);Object.assign(c.query,p||{})}return{type:"rewrite",parsedAs:c,resolvedHref:l}}))}var p=S.parsePath(e),v=L.formatNextPathnameInfo(a({},R.getNextPathnameInfo(p.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-external",destination:"".concat(v).concat(p.query).concat(p.hash)})}var g=t.headers.get("x-nextjs-redirect");if(g){if(g.startsWith("/")){var _=S.parsePath(g),w=L.formatNextPathnameInfo(a({},R.getNextPathnameInfo(_.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-internal",newAs:"".concat(w).concat(_.query).concat(_.hash),newUrl:"".concat(w).concat(_.query).concat(_.hash)})}return Promise.resolve({type:"redirect-external",destination:g})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e).then((e=>({dataHref:t.dataHref,cacheKey:t.cacheKey,json:t.json,response:t.response,text:t.text,effect:e}))))).catch((e=>null)):null))}var z=Symbol("SSG_DATA_NOT_FOUND");function Z(e,t,r){return fetch(e,{credentials:"same-origin",method:r.method||"GET",headers:Object.assign({},r.headers,{"x-nextjs-data":"1"})}).then((n=>!n.ok&&t>1&&n.status>=500?Z(e,t-1,r):n))}var G={};function V(e){var t=document.documentElement,r=t.style.scrollBehavior;t.style.scrollBehavior="auto",e(),t.style.scrollBehavior=r}function K(e){try{return JSON.parse(e)}catch(t){return null}}function X(e){var t,{dataHref:r,inflightCache:n,isPrefetch:a,hasMiddleware:o,isServerRender:i,parseJSON:s,persist
1Cache:u,isBackground:c,unstable_skipClientCache:d}=e,{href:f}=new URL(r,window.location.href),h=e=>Z(r,i?3:1,{headers:a?{purpose:"prefetch"}:{},method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then((t=>t.ok&&"HEAD"===(null==e?void 0:e.method)?{dataHref:r,response:t,text:"",json:{},cacheKey:f}:t.text().then((e=>{if(!t.ok){if(o&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:f};var n;if(!o&&404===t.status)if(null==(n=K(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:z},response:t,text:e,cacheKey:f};var a=new Error("Failed to load static props");throw i||l.markAssetError(a),a}return{dataHref:r,json:s?K(e):null,response:t,text:e,cacheKey:f}})))).then((e=>(u&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[f],e))).catch((e=>{throw delete n[f],e}));return d&&u?h({}).then((e=>(n[f]=Promise.resolve(e),e))):void 0!==n[f]?n[f]:n[f]=h(c?{method:"HEAD"}:{})}function $(){return Math.random().toString(36).slice(2,10)}function Y(e){var{url:t,router:r}=e;if(t===x.addBasePath(E.addLocale(r.asPath,r.locale)))throw new Error("Invariant: attempted to hard navigate to the same URL ".concat(t," ").concat(location.href));window.location.href=t}var J=e=>{var{route:t,router:r}=e,n=!1,a=r.clc=()=>{n=!0};return()=>{if(n){var e=new Error('Abort fetching component for route: "'.concat(t,'"'));throw e.cancelled=!0,e}a===r.clc&&(r.clc=null)}};class Q{reload(){window.location.reload()}back(){window.history.back()}push(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return({url:e,as:t}=U(this,e,t)),this.change("pushState",e,t,r)}replace(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return({url:e,as:t}=U(this,e,t)),this.change("replaceState",e,t,r)}change(e,t,r,o,i){var s=this;return n((function*(){if(!B(t))return Y({url:t,router:s}),!1;var n=o._h,f=n||o._shouldResolveHref||S.parsePath(t).pathname===S.parsePath(r).pathname,h=a({},s.state),p=!0!==s.isReady;s.isReady=!0;var g=s.isSsr;if(n||(s.isSsr=!1),n&&s.clc)return!1;var R=h.locale;v.ST&&performance.mark("routeChange");var{shallow:L=!1,scroll:A=!0}=o,I={shallow:L};s._inFlightRoute&&s.clc&&(g||Q.events.emit("routeChangeError",T(),s._inFlightRoute,I),s.clc(),s.clc=null),r=x.addBasePath(E.addLocale(C.hasBasePath(r)?O.removeBasePath(r):r,o.locale,s.defaultLocale));var k=j.removeLocale(C.hasBasePath(r)?O.removeBasePath(r):r,h.locale);s._inFlightRoute=r;var W=R!==h.locale;if(!n&&s.onlyAHashChange(k)&&!W){h.asPath=k,Q.events.emit("hashChangeStart",r,I),s.changeState(e,t,r,a({},o,{scroll:!1})),A&&s.scrollToHash(k);try{yield s.set(h,s.components[h.route],null)}catch(Me){throw d.default(Me)&&Me.cancelled&&Q.events.emit("routeChangeError",Me,k,I),Me}return Q.events.emit("hashChangeComplete",r,I),!0}var F,Z,G=y.parseRelativeUrl(t),{pathname:V,query:K}=G;try{[F,{__rewrites:Z}]=yield Promise.all([s.pageLoader.getPageList(),l.getClientBuildManifest(),s.pageLoader.getMiddleware()])}catch(Me){return Y({url:r,router:s}),!1}s.urlIsNew(k)||W||(e="replaceState");var X=r;V=V?u.removeTrailingSlash(O.removeBasePath(V)):V;var $=yield N({asPath:r,locale:h.locale,router:s});(o.shallow&&$&&(V=s.pathname),f&&"/_error"!==V)&&(o._shouldResolveHref=!0,G.pathname=H(V,F),G.pathname!==V&&(V=G.pathname,G.pathname=x.addBasePath(V),$||(t=w.formatWithValidation(G))));if(!B(r))return Y({url:r,router:s}),!1;X=j.removeLocale(O.removeBasePath(X),h.locale);var J=u.removeTrailingSlash(V),ee=!1;if(m.isDynamicRoute(J)){var te=y.parseRelativeUrl(X),re=te.pathname,ne=b.getRouteRegex(J);ee=P.getRouteMatcher(ne)(re);var ae=J===re,oe=ae?q(J,re,K):{};if(!ee||ae&&!oe.result){var ie=Object.keys(ne.groups).filter((e=>!K[e]));if(ie.length>0&&!$)throw new Error((ae?"The provided `href` (".concat(t,") value is missing query values (").concat(ie.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(re,") is incompatible with the `href` value (").concat(J,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(ae?"href-interpolation-failed":"incompatible-href-as"))}else ae?r=w.formatWithValidation(Object.assign({},te,{pathname:oe.result,query:D(K,oe.params)})):Object.assign(K,ee)}n||Q.events.emit("routeChangeStart",r,I);try{var se,ue,le=yield s.getRouteInfo({route:J,pathname:V,query:K,as:r,resolvedAs:X,routeProps:I,locale:h.locale,isPreview:h.isPreview,hasMiddleware:$});if("route"in le&&$){J=V=le.route||J,I.shallow||(K=Object.assign({},le.query||{},K));var ce=C.hasBasePath(G.pathname)?O.removeBasePath(G.pathname):G.pathname;if(ee&&V!==ce&&Object.keys(ee).forEach((e=>{ee&&K[e]===ee[e]&&delete K[e]})),m.isDynamicRoute(V)){var de=!I.shallow&&le.resolvedAs?le.resolvedAs:x.addBasePath(E.addLocale(new URL(r,location.href).pathname,h.locale),!0);C.hasBasePath(de)&&(de=O.removeBasePath(de));var fe=b.getRouteRegex(V),he=P.getRouteMatcher(fe)(de);he&&Object.assign(K,he)}}if("type"in le)return"redirect-internal"===le.type?s.change(e,le.newUrl,le.newAs,o):(Y({url:le.de
1stination,router:s}),new Promise((()=>{})));var pe,{error:ve,props:me,__N_SSG:ye,__N_SSP:ge}=le,_e=le.Component;if(_e&&_e.unstable_scriptLoader)[].concat(_e.unstable_scriptLoader()).forEach((e=>{c.handleClientScriptLoad(e.props)}));if((ye||ge)&&me){if(me.pageProps&&me.pageProps.__N_REDIRECT){o.locale=!1;var Pe=me.pageProps.__N_REDIRECT;if(Pe.startsWith("/")&&!1!==me.pageProps.__N_REDIRECT_BASE_PATH){var be=y.parseRelativeUrl(Pe);be.pathname=H(be.pathname,F);var{url:we,as:Se}=U(s,Pe,Pe);return s.change(e,we,Se,o)}return Y({url:Pe,router:s}),new Promise((()=>{}))}if(h.isPreview=!!me.__N_PREVIEW,me.notFound===z){var Ee;try{yield s.fetchComponent("/404"),Ee="/404"}catch(_){Ee="/_error"}if("type"in(le=yield s.getRouteInfo({route:Ee,pathname:Ee,query:K,as:r,resolvedAs:X,routeProps:{shallow:!1},locale:h.locale,isPreview:h.isPreview})))throw new Error("Unexpected middleware effect on /404")}}Q.events.emit("beforeHistoryChange",r,I),s.changeState(e,t,r,o),n&&"/_error"===V&&500===(null==(se=self.__NEXT_DATA__.props)||null==(ue=se.pageProps)?void 0:ue.statusCode)&&(null==me?void 0:me.pageProps)&&(me.pageProps.statusCode=500);var je,Oe=o.shallow&&h.route===(null!=(pe=le.route)?pe:J),xe=null!=(je=o.scroll)?je:!o._h&&!Oe,Ce=xe?{x:0,y:0}:null,Re=a({},h,{route:J,pathname:V,query:K,asPath:k,isFallback:!1}),Le=null!=i?i:Ce;if(!(o._h&&!Le&&!p&&!W&&M.compareRouterStates(Re,s.state))){if(yield s.set(Re,le,Le).catch((e=>{if(!e.cancelled)throw e;ve=ve||e})),ve)throw n||Q.events.emit("routeChangeError",ve,k,I),ve;0,n||Q.events.emit("routeChangeComplete",r,I);xe&&/#.+$/.test(r)&&s.scrollToHash(r)}return!0}catch(Ae){if(d.default(Ae)&&Ae.cancelled)return!1;throw Ae}}))()}changeState(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};"pushState"===e&&v.getURL()===r||(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:$()},"",r))}handleRouteInfoError(e,t,r,a,o,i){var s=this;return n((function*(){if(e.cancelled)throw e;if(l.isAssetError(e)||i)throw Q.events.emit("routeChangeError",e,a,o),Y({url:a,router:s}),T();try{var{page:n,styleSheets:u}=yield s.fetchComponent("/_error"),c={props:undefined,Component:n,styleSheets:u,err:e,error:e};if(!c.props)try{c.props=yield s.getInitialProps(n,{err:e,pathname:t,query:r})}catch(f){c.props={}}return c}catch(h){return s.handleRouteInfoError(d.default(h)?h:new Error(h+""),t,r,a,o,!0)}}))()}getRouteInfo(e){var{route:t,pathname:r,query:o,as:i,resolvedAs:s,routeProps:l,locale:c,hasMiddleware:f,isPreview:p,unstable_skipClientCache:v}=e,m=this;return n((function*(){var e=t;try{var y,g,_,P=J({route:e,router:m}),b=m.components[e];if(l.shallow&&b&&m.route===e)return b;f&&(b=void 0);var S=b&&!("initial"in b)?b:void 0,E={dataHref:m.pageLoader.getDataHref({href:w.formatWithValidation({pathname:r,query:o}),skipInterpolation:!0,asPath:s,locale:c}),hasMiddleware:!0,isServerRender:m.isSsr,parseJSON:!0,inflightCache:m.sdc,persistCache:!p,isPrefetch:!1,unstable_skipClientCache:v},j=yield F({fetchData:()=>X(E),asPath:s,locale:c,router:m});if(P(),"redirect-internal"===(null==j||null==(y=j.effect)?void 0:y.type)||"redirect-external"===(null==j||null==(g=j.effect)?void 0:g.type))return j.effect;if("rewrite"===(null==j||null==(_=j.effect)?void 0:_.type)&&(e=u.removeTrailingSlash(j.effect.resolvedHref),r=j.effect.resolvedHref,o=a({},o,j.effect.parsedAs.query),s=O.removeBasePath(h.normalizeLocalePath(j.effect.parsedAs.pathname,m.locales).pathname),b=m.components[e],l.shallow&&b&&m.route===e&&!f))return a({},b,{route:e});if("/api"===e||e.startsWith("/api/"))return Y({url:i,router:m}),new Promise((()=>{}));var x=S||(yield m.fetchComponent(e).then((e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})))),C=x.__N_SSG||x.__N_SSP,{props:R,cacheKey:L}=yield m._getData(n((function*(){if(C){var{json:e,cacheKey:t}=(null==j?void 0:j.json)?j:yield X({dataHref:m.pageLoader.getDataHref({href:w.formatWithValidation({pathname:r,query:o}),asPath:s,locale:c}),isServerRender:m.isSsr,parseJSON:!0,inflightCache:m.sdc,persistCache:!p,isPrefetch:!1,unstable_skipClientCache:v});return{cacheKey:t,props:e||{}}}return{headers:{},cacheKey:"",props:yield m.getInitialProps(x.Component,{pathname:r,query:o,asPath:i,locale:c,locales:m.locales,defaultLocale:m.defaultLocale})}})));return x.__N_SSP&&E.dataHref&&delete m.sdc[L],!m.isPreview&&x.__N_SSG&&X(Object.assign({}
1,E,{isBackground:!0,persistCache:!1,inflightCache:G})).catch((()=>{})),R.pageProps=Object.assign({},R.pageProps),x.props=R,x.route=e,x.query=o,x.resolvedAs=s,m.components[e]=x,x}catch(M){return m.handleRouteInfoError(d.getProperError(M),r,o,i,l)}}))()}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;var[t,r]=this.asPath.split("#"),[n,a]=e.split("#");return!(!a||t!==n||r!==a)||t===n&&r!==a}scrollToHash(e){var[,t=""]=e.split("#");if(""!==t&&"top"!==t){var r=decodeURIComponent(t),n=document.getElementById(r);if(n)V((()=>n.scrollIntoView()));else{var a=document.getElementsByName(r)[0];a&&V((()=>a.scrollIntoView()))}}else V((()=>window.scrollTo(0,0)))}urlIsNew(e){return this.asPath!==e}prefetch(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=this;return n((function*(){if(!A.isBot(window.navigator.userAgent)){var n=y.parseRelativeUrl(e),{pathname:o,query:i}=n,s=yield a.pageLoader.getPageList(),l=t,c="undefined"!==typeof r.locale?r.locale||void 0:a.locale;n.pathname=H(n.pathname,s),m.isDynamicRoute(n.pathname)&&(o=n.pathname,n.pathname=o,Object.assign(i,P.getRouteMatcher(b.getRouteRegex(n.pathname))(S.parsePath(t).pathname)||{}),e=w.formatWithValidation(n));var d=u.removeTrailingSlash(o);yield Promise.all([a.pageLoader._isSsg(d).then((t=>!!t&&X({dataHref:a.pageLoader.getDataHref({href:e,asPath:l,locale:c}),isServerRender:!1,parseJSON:!0,inflightCache:a.sdc,persistCache:!a.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then((()=>!1)))),a.pageLoader[r.priority?"loadPage":"prefetch"](d)])}}))()}fetchComponent(e){var t=this;return n((function*(){var r=J({route:e,router:t});try{var n=yield t.pageLoader.loadPage(e);return r(),n}catch(a){throw r(),a}}))()}_getData(e){var t=!1,r=()=>{t=!0};return this.clc=r,e().then((e=>{if(r===this.clc&&(this.clc=null),t){var n=new Error("Loading initial props cancelled");throw n.cancelled=!0,n}return e}))}_getFlightData(e){return X({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then((e=>{var{text:t}=e;return{data:t}}))}getInitialProps(e,t){var{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,v.loadGetInitialProps(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,r,n){var{initialProps:a,pageLoader:o,App:i,wrapApp:s,Component:l,err:c,subscription:d,isFallback:f,locale:h,locales:p,defaultLocale:g,domainLocales:_,isPreview:P}=n;this.sdc={},this.isFirstPopStateEvent=!0,this._key=$(),this.onPopState=e=>{var{isFirstPopStateEvent:t}=this;this.isFirstPopStateEvent=!1;var r=e.state;if(r){if(r.__NA)window.location.reload();else if(r.__N&&(!t||this.locale!==r.options.locale||r.as!==this.asPath)){var{url:n,as:a,options:o,key:i}=r;this._key=i;var{pathname:s}=y.parseRelativeUrl(n);this.isSsr&&a===x.addBasePath(this.asPath)&&s===x.addBasePath(this.pathname)||this._bps&&!this._bps(r)||this.change("replaceState",n,a,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),undefined)}}else{var{pathname:u,query:l}=this;this.changeState("replaceState",w.formatWithValidation({pathname:x.addBasePath(u),query:l}),v.getURL())}};var b=u.removeTrailingSlash(e);this.components={},"/_error"!==e&&(this.components[b]={Component:l,initial:!0,props:a,err:c,__N_SSG:a&&a.__N_SSG,__N_SSP:a&&a.__N_SSP}),this.components["/_app"]={Component:i,styleSheets:[]},this.events=Q.events,this.pageLoader=o;var S=m.isDynamicRoute(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=d,this.clc=null,this._wrapApp=s,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!S&&!self.location.search),this.state={route:b,pathname:e,query:t,asPath:S?e:r,isPreview:!!P,locale:void 0,isFallback:f},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){var E={locale:h},j=v.getURL();this._initialMatchesMiddlewarePromise=N({router:this,locale:h,asPath:j}).then((n=>(E._shouldResolveHref=r!==e,this.changeState("replaceState",n?j:w.formatWithValidation({pathname:x.addBasePath(e),query:t}),j,E),n)))}window.addEventListener("popstate",this.onPopState)}}Q.events=p.default(),t.default=Q},8249:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=function(e,t,r,o){if(t&&t!==r&&(o||!a.pathHasPrefix(e.toLowerCase(),"/".concat(t.toLowerCase()))&&!a.pathHasPrefix(e.toLowerCase(),"/api")))return n.addPathPrefix(e,"/".concat(t));return e};var n=r(89782),a=r(19880)},89782:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathPrefix=function(e,t){if(!e.startsWith("/")||!t)return e;var{pathname:r,query:a,hash:o}=n.parsePath(e);return"".concat(t).concat(r).concat(a).concat(o)};var n=r(23082)},75954:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathSuffix=function(e,t){if(!e.startsWith("/")||!t)return e;var{pathname:r,query:a,hash:o}=n.parsePath(e);return"".concat(r).concat(t).concat(a).concat(o)};var n=r(23082)},56752:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareRouterStates=function(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 s=o[i];if(!t.query.hasOwnProperty(s)||e.query[s]!==t.query[s])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}},46394:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatNextPathnameInfo=function(e){var t=i.addLocale(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);e.buildId&&(t=o.addPathSuffix(a.addPathPrefix(t,"/_next/data/".concat(e.buildId)),"/"===e.pathname?"index.json":".json"));return t=a.addPathPrefix(t,e.basePath),e.trailingSlash?e.buildId||t.endsWith("/")?t:o.addPathSuffix(t,"/"):n.removeTrailingSlash(t)};var n=r(15323),a=r(89782),o=r(75954),i=r(8249)},69422:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=o,t.formatWithValidation=function(e){0;return o(e)},t.urlObjectKeys=void 0;var n=(0,r(91598).Z)(r(25880)),a=/https?|ftp|gopher|file/;function o(e){var{auth:t,hostname:r}=e,o=e.protocol||"",i=e.pathname||"",s=e.hash||"",u=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(l+=":"+e.port)),u&&"object"===typeof u&&(u=String(n.urlQueryToSearchParams(u)));var c=e.search||u&&"?".concat(u)||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==l?(l="//"+(l||""),i&&"/"!==i[0]&&(i="/"+i)):l||(l=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),"".concat(o).concat(l).concat(i).concat(c).concat(s)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"]},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}},83601:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNextPathnameInfo=function(e,t){var r,{basePath:i,i18n:s,trailingSlash:u}=null!=(r=t.nextConfig)?r:{},l={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};i&&o.pathHasPrefix(l.pathname,i)&&(l.pathname=a.removePathPrefix(l.pathname,i),l.basePath=i);if(!0===t.parseData&&l.pathname.startsWith("/_next/data/")&&l.pathname.endsWith(".json")){var c=l.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),d=c[0];l.pathname="index"!==c[1]?"/".concat(c.slice(1).join("/")):"/",l.buildId=d}if(s){var f=n.normalizeLocalePath(l.pathname,s.locales);l.locale=null==f?void 0:f.detectedLocale,l.pathname=(null==f?void 0:f.pathname)||l.pathname}return l};var n=r(9625),a=r(29543),o=r(19880)},41134:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n.getSortedRoutes}}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a.isDynamicRoute}});var n=r(43258),a=r(9636)},29293:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.isBot=function(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}},9636:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};var r=/\/\[[^/]+?\](?=\/|$)/},23082:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePath=function(e){var t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r<t);if(n||t>-1)return{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""};return{pathname:e,query:"",hash:""}}},86472:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){var r=new URL(n.getLocationOrigin()),o=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:s,search:u,hash:l,href:c,origin:d}=new URL(e,o);if(d!==r.origin)throw new Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:i,query:a.searchParamsToUrlQuery(s),search:u,hash:l,href:c.slice(r.origin.length)}};var n=r(99475),a=r(25880)},19880:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathHasPrefix=function(e,t){if("string"!==typeof e)return!1;var{pathname:r}=n.parsePath(e);return r===t||r.startsWith(t+"/")};var n=r(23082)},25880:function(e,t){"use strict";function r(e){return"string"===typeof e||"number"===typeof e&&!isNaN(e)||"boolean"===typeof e?String(e):""}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){var t={};return e.forEach(((e,r)=>{"undefined"===typeof t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]})),t},t.urlQueryToSearchParams=function(e){var t=new URLSearchParams;return Object.entries(e).forEach((e=>{var[n,a]=e;Array.isArray(a)?a.forEach((e=>t.append(n,r(e)))):t.set(n,r(a))})),t},t.assign=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.forEach((t=>{Array.from(t.keys()).forEach((t=>e.delete(t))),t.forEach(((t,r)=>e.append(r,t)))})),e}},29543:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePathPrefix=function(e,t){if(n.pathHasPrefix(e,t)){var r=e.slice(t.length);return r.startsWith("/")?r:"/".concat(r)}return e};var n=r(19880)},15323:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=function(e){return e.replace(/\/$/,"")||"/"}},61553:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteMatcher=function(e){var{re:t,groups:r}=e;return e=>{var a=t.exec(e);if(!a)return!1;var o=e=>{try{return decodeURIComponent(e)}catch(_){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach((e=>{var t=r[e],n=a[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map((e=>o(e))):t.repeat?[o(n)]:o(n))})),i}};var n=r(99475)},76927:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteRegex=u,t.getNamedRouteRegex=function(e){var t=l(e);return n({},u(e),{namedRegex:"^".concat(t.namedParameterizedRoute,"(?:/)?$"),routeKeys:t.routeKeys})},t.getNamedMiddlewareRegex=function(e,t){var{parameterizedRoute:r}=s(e),{catchAll:n=!0}=t;if("/"===r){return{namedRegex:"^/".concat(n?".*":"","$")}}var{namedParameterizedRoute:a}=l(e),o=n?"(?:(/.*)?)":"";return{namedRegex:"^".concat(a).concat(o,"$")}};var n=r(6495).Z,a=r(79817),o=r(15323);function i(e){var t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));var r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function s(e){var t=o.removeTrailingSlash(e).slice(1).split("/"),r={},n=1;return{parameterizedRoute:t.map((e=>{if(e.startsWith("[")&&e.endsWith("]")){var{key:t,optional:o,repeat:s}=i(e.slice(1,-1));return r[t]={pos:n++,repeat:s,optional:o},s?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}return"/".concat(a.escapeStringRegexp(e))})).join(""),groups:r}}function u(e){var{parameterizedRoute:t,groups:r}=s(e);return{re:new RegExp("^".concat(t,"(?:/)?$")),groups:r}}function l(e){var t=o.removeTrailingSlash(e).slice(1).split("/"),r=function(){var e=97,t=1;return()=>{for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e),++e>122&&(t++,e=97);return r}}(),n={};return{namedParameterizedRoute:t.map((e=>{if(e.startsWith("[")&&e.endsWith("]")){var{key:t,optional:o,repeat:s}=i(e.slice(1,-1)),u=t.replace(/\W/g,""),l=!1;return(0===u.length||u.length>30)&&(l=!0),isNaN(parseInt(u.slice(0,1)))||(l=!0),l&&(u=r()),n[u]=t,s?o?"(?:/(?<".concat(u,">.+?))?"):"/(?<".concat(u,">.+?)"):"/(?<".concat(u,">[^/]+?)")}return"/".concat(a.escapeStringRegexp(e))})).join(""),routeKeys:n}}},43258:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.getSortedRoutes=function(e){var t=new r;return e.forEach((e=>t.insert(e))),t.smoosh()};class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);var r=t.map((t=>this.children.get(t)._smoosh("".concat(e).concat(t,"/")))).reduce(((e,t)=>[...e,...t]),[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh("".concat(e,"[").concat(this.slugName,"]/"))),!this.placeholder){var n="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("'.concat(n,'" and "').concat(n,"[[...").concat(this.optionalRestSlugName,']]").'));r.unshift(n)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh("".concat(e,"[...").concat(this.restSlugName,"]/"))),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh("".concat(e,"[[...").concat(this.optionalRestSlugName,"]]/"))),r}_insert(e,t,n){if(0!==e.length){if(n)throw new Error("Catch-all must be the last part of the URL.");var a=e[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 new Error("Segment names may not start or end with extra brackets ('".concat(o,"')."));if(o.startsWith("."))throw new Error("Segment names may not start with erroneous periods ('".concat(o,"')."));function s(e,r){if(null!==e&&e!==r)throw new Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(r,"')."));t.forEach((e=>{if(e===r)throw new Error('You cannot have the same slug name "'.concat(r,'" repeat within a single dynamic path'));if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw new Error('You cannot have the slug names "'.concat(e,'" and "').concat(r,'" differ only by non-word symbols within a single dynamic path'))})),t.push(r)}if(n)if(i){if(null!=this.restSlugName)throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...'.concat(this.restSlugName,']" and "').concat(e[0],'" ).'));s(this.optionalRestSlugName,o),this.optionalRestSlugName=o,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(e[0],'").'));s(this.restSlugName,o),this.restSlugName=o,a="[...]"}else{if(i)throw new Error('Optional route parameters are not yet supported ("'.concat(e[0],'").'));s(this.slugName,o),this.slugName=o,a="[]"}}this.children.has(a)||this.children.set(a,new r),this.children.get(a)._insert(e.slice(1),t,n)}else this.placeholder=!1}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}},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=()=>r,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99475:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){var t,r=!1;return function(){return r||(r=!0,t=e(...arguments)),t}},t.getLocationOrigin=o,t.getURL=function(){var{href:e}=window.location,t=o();return e.substring(t.length)},t.getDisplayName=i,t.isResSent=s,t.normalizeRepeatedSlashes=function(e){var t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?".concat(t.slice(1).join("?")):"")},t.loadGetInitialProps=u,t.ST=t.SP=t.warnOnce=t.isAbsoluteUrl=void 0;var n=r(60932).Z;var a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/;function o(){var{protocol:e,hostname:t,port:r}=window.location;return"".concat(e,"//").concat(t).concat(r?":"+r:"")}function i(e){return"string"===typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function u(e,t){return l.apply(this,arguments)}function l(){return(l=n((function*(e,t){var r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:yield u(t.Component,t.ctx)}:{};var n=yield e.getInitialProps(t);if(r&&s(r))return n;if(!n){var a='"'.concat(i(e),'.getInitialProps()" should resolve to an object. But found "').concat(n,'" instead.');throw new Error(a)}return n}))).apply(this,arguments)}
1t.isAbsoluteUrl=e=>a.test(e);var c="undefined"!==typeof performance;t.SP=c;var d=c&&["mark","measure","getEntriesByName"].every((e=>"function"===typeof performance[e]));t.ST=d;class f extends Error{}t.DecodeError=f;class h extends Error{}t.NormalizeError=h;class p extends Error{constructor(e){super(),this.code="ENOENT",this.message="Cannot find module for page: ".concat(e)}}t.PageNotFoundError=p;class v extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: ".concat(e," ").concat(t)}}t.MissingStaticPage=v;class m extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}t.MiddlewareNotFoundError=m,t.warnOnce=e=>{}},40037:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce((function(e,t){return e[t[0]]=t[1],e}),{})})},78018:function(e){!function(){"use strict";var t={d:function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}};"undefined"!==typeof t&&(t.ab="//");var r={};t.r(r),t.d(r,{getCLS:function(){return S},getFCP:function(){return P},getFID:function(){return L},getINP:function(){return U},getLCP:function(){return F},getTTFB:function(){return Z},onCLS:function(){return S},onFCP:function(){return P},onFID:function(){return L},onINP:function(){return U},onLCP:function(){return F},onTTFB:function(){return Z}});var n,a,o,i,s,u=-1,l=function(e){addEventListener("pageshow",(function(t){t.persisted&&(u=t.timeStamp,e(t))}),!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},d=function(){var e=c();return e&&e.activationStart||0},f=function(e,t){var r=c(),n="navigate";return u>=0?n="back-forward-cache":r&&(n=document.prerendering||d()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},h=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){}},p=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){t.value>=0&&(i||n)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,r),e(t))}},m=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},g=function(){p((function(e){var t=e.timeStamp;m=t}),!0)},_=function(){return m<0&&(m=y(),g(),l((function(){setTimeout((function(){m=y(),g()}),0)}))),{get firstHiddenTime(){return m}}},P=function(e,t){t=t||{};var r,n=[1800,3e3],a=_(),o=f("FCP"),i=function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(u&&u.disconnect(),e.startTime<a.firstHiddenTime&&(o.value=e.startTime-d(),o.entries.push(e),r(!0)))}))},s=window.performance&&window.performance.getEntriesByName&&window.performance.getEntriesByName("first-contentful-paint")[0],u=s?null:h("paint",i);(s||u)&&(r=v(e,o,n,t.reportAllChanges),s&&i([s]),l((function(a){o=f("FCP"),r=v(e,o,n,t.reportAllChanges),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-a.timeStamp,r(!0)}))}))})))},b=!1,w=-1,S=function(e,t){t=t||{};var r=[.1,.25];b||(P((function(e){w=e.value})),b=!0);var n,a=function(t){w>-1&&e(t)},o=f("CLS",0),i=0,s=[],u=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=s[0],r=s[s.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,s.push(e)):(i=e.value,s=[e]),i>o.value&&(o.value=i,o.entries=s,n())}}))},c=h("layout-shift",u);c&&(n=v(a,o,r,t.reportAllChanges),p((function(){u(c.takeRecords()),n(!0)})),l((function(){i=0,w=-1,o=f("CLS",0),n=v(a,o,r,t.reportAllChanges)})))},E={passive:!0,capture:!0},j=new Date,O=function(e,t){n||(n=t,a=e,o=new Date,R(removeEventListener),x())},x=function(){if(a>
1=0&&a<o-j){var e={entryType:"first-input",name:n.type,target:n.target,cancelable:n.cancelable,startTime:n.timeStamp,processingStart:n.timeStamp+a};i.forEach((function(t){t(e)})),i=[]}},C=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var r=function(){O(e,t),a()},n=function(){a()},a=function(){removeEventListener("pointerup",r,E),removeEventListener("pointercancel",n,E)};addEventListener("pointerup",r,E),addEventListener("pointercancel",n,E)}(t,e):O(t,e)}},R=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,C,E)}))},L=function(e,t){t=t||{};var r,o=[100,300],s=_(),u=f("FID"),c=function(e){e.startTime<s.firstHiddenTime&&(u.value=e.processingStart-e.startTime,u.entries.push(e),r(!0))},d=function(e){e.forEach(c)},m=h("first-input",d);r=v(e,u,o,t.reportAllChanges),m&&p((function(){d(m.takeRecords()),m.disconnect()}),!0),m&&l((function(){var s;u=f("FID"),r=v(e,u,o,t.reportAllChanges),i=[],a=-1,n=null,R(addEventListener),s=c,i.push(s),x()}))},M=0,A=1/0,T=0,N=function(e){e.forEach((function(e){e.interactionId&&(A=Math.min(A,e.interactionId),T=Math.max(T,e.interactionId),M=T?(T-A)/7+1:0)}))},I=function(){return s?M:performance.interactionCount||0},k=0,D=function(){return I()-k},B=[],q={},W=function(e){var t=B[B.length-1],r=q[e.interactionId];if(r||B.length<10||e.duration>t.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};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];"interactionCount"in performance||s||(s=h("event",N,{type:"event",buffered:!0,durationThreshold:0}));var n,a=f("INP"),o=function(e){e.forEach((function(e){e.interactionId&&W(e),"first-input"===e.entryType&&!B.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&W(e)}));var t,r=(t=Math.min(B.length-1,Math.floor(D()/50)),B[t]);r&&r.latency!==a.value&&(a.value=r.latency,a.entries=r.entries,n())},i=h("event",o,{durationThreshold:t.durationThreshold||40});n=v(e,a,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),p((function(){o(i.takeRecords()),a.value<0&&D()>0&&(a.value=0,a.entries=[]),n(!0)})),l((function(){B=[],k=I(),a=f("INP"),n=v(e,a,r,t.reportAllChanges)})))},H={},F=function(e,t){t=t||{};var r,n=[2500,4e3],a=_(),o=f("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-d();n<a.firstHiddenTime&&(o.value=n,o.entries=[t],r())}},s=h("largest-contentful-paint",i);if(s){r=v(e,o,n,t.reportAllChanges);var u=function(){H[o.id]||(i(s.takeRecords()),s.disconnect(),H[o.id]=!0,r(!0))};["keydown","click"].forEach((function(e){addEventListener(e,u,{once:!0,capture:!0})})),p(u,!0),l((function(a){o=f("LCP"),r=v(e,o,n,t.reportAllChanges),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-a.timeStamp,H[o.id]=!0,r(!0)}))}))}))}},z=function e(t){document.prerendering?addEventListener("prerenderingchange",(function(){return e(t)}),!0):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},Z=function(e,t){t=t||{};var r=[800,1800],n=f("TTFB"),a=v(e,n,r,t.reportAllChanges);z((function(){var o=c();if(o){if(n.value=Math.max(o.responseStart-d(),0),n.value<0||n.value>performance.now())return;n.entries=[o],a(!0),l((function(){n=f("TTFB",0),(a=v(e,n,r,t.reportAllChanges))(!0)}))}}))};e.exports=r}()},80676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.getProperError=function(e){if(a(e))return e;0;return new Error(n.isPlainObject(e)?JSON.stringify(e):e+"")};var n=r(22784);function a(e){return"object"===typeof e&&null!==e&&"name"in e&&"message"in e}},72431:function(){}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774],(function(){return t(13143),t(94609)}
1));var r=e.O();_N_E=r}]);
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.