Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

2 řádky
63 KiB

  1. (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{60400: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}))}))})},96086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},92771:function(e,t){"use strict";t.__esModule=!0,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 o={};t.forEach((function(e){"link"===e.type&&e.props["data-optimized-fonts"]&&!document.querySelector('style[data-href="'.concat(e.props["data-href"],'"]'))&&(e.props.href=e.props["data-href"],e.props["data-href"]=void 0);var t=o[e.type]||[];t.push(e),o[e.type]=t}));var a=o.title?o.title[0]:null,i="";if(a){var c=a.props.children;i="string"===typeof c?c:Array.isArray(c)?c.join(""):""}i!==document.title&&(document.title=i),["meta","base","link","style","script"].forEach((function(e){!function(e,t){var r=document.getElementsByTagName("head")[0],o=r.querySelector("meta[name=next-head-count]");0;for(var a=Number(o.content),i=[],c=0,u=o.previousElementSibling;c<a;c++,u=u.previousElementSibling)u.tagName.toLowerCase()===e&&i.push(u);var s=t.map(n).filter((function(e){for(var t=0,r=i.length;t<r;t++){if(i[t].isEqualNode(e))return i.splice(t,1),!1}return!0}));i.forEach((function(e){return e.parentNode.removeChild(e)})),s.forEach((function(e){return r.insertBefore(e,o)})),o.content=(a-i.length+s.length).toString()}(e,o[e]||[])}))}}))}}},t.DOMAttributeNames=void 0;var r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function n(e){var t=e.type,n=e.props,o=document.createElement(t);for(var a in n)if(n.hasOwnProperty(a)&&"children"!==a&&"dangerouslySetInnerHTML"!==a&&void 0!==n[a]){var i=r[a]||a.toLowerCase();"script"!==t||"async"!==i&&"defer"!==i&&"noModule"!==i?o.setAttribute(i,n[a]):o[i]=!!n[a]}var c=n.children,u=n.dangerouslySetInnerHTML;return u?o.innerHTML=u.__html||"":c&&(o.textContent="string"===typeof c?c:Array.isArray(c)?c.join(""):""),o}t.DOMAttributeNames=r},7403:function(e,t,r){"use strict";var n=r(809),o=r(38561),a=r(2553),i=r(62012),c=r(9807),u=r(27690),s=r(99828),l=r(53848);function f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=s(e);if(t){var o=s(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return u(this,r)}}var h=r(69448),p=r(62426);t.__esModule=!0,t.render=de,t.renderError=me,t.default=t.emitter=t.router=t.version=void 0;var d=p(r(9566));r(60400);var v=p(r(67294)),m=p(r(73935)),y=r(74287),g=p(r(7332)),b=r(61642),w=r(11689),_=r(93288),x=h(r(74915)),S=h(r(79186)),P=r(13937),E=r(81567),L=p(r(92771)),k=p(r(27365)),R=p(r(74829)),C=r(16975),T=r(72441),A=JSON.parse(document.getElementById("__NEXT_DATA__").textContent);window.__NEXT_DATA__=A;t.version="10.2.3";var O=function(e){return[].slice.call(e)},M=A.props,I=A.err,j=A.page,N=A.query,D=A.buildId,F=A.assetPrefix,U=A.runtimeConfig,W=A.dynamicIds,q=A.isFallback,B=A.locale,G=A.locales,H=A.domainLocales,V=A.isPreview,z=A.defaultLocale,X=F||"";r.p="".concat(X,"/_next/"),S.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:U||{}});var $=(0,P.getURL)();(0,w.hasBasePath)($)&&($=(0,w.delBasePath)($));var Q=r(81253).normalizeLocalePath,Y=r(5557).detectDomainLocale,J=r(94436).parseRelativeUrl,K=r(7687).formatUrl;if(G){var Z=J($),ee=Q(Z.pathname,G);ee.detectedLocale?(Z.pathname=ee.pathname,$=K(Z)):z=B;var te=Y(void 0,window.location.hostname);te&&(z=te.defaultLocale)}var re=new k.default(D,X),ne=function(e){var t=l(e,2),r=t[0],n=t[1];return re.routeLoader.onEntrypoint(r,n)};window.__NEXT_P&&window.__NEXT_P.map((function(e){return setTimeout((function(){return ne(e)}),0)})),window.__NEXT_P=[],window.__NEXT_P.push=ne;var oe,ae,ie,ce,ue=(0,L.default)(),se=document.getElementById("__next");t.router=ae;var le,fe=function(e){c(r,e);var t=f(r);function r(){return a(this,r),t.apply(this,arguments)}return i(r,[{key:"componentDidCatch",value:function(e,t){this.props.fn(e,t)}},{key:"componentDidMount",value:function(){this.scrollToHash(),!ae.isSsr||"/404"===j||"/_error"===j&&M&&M.pageProps&&404===M.pageProps.statusCode||!(q||A.nextExport&&((0,_.isDynamicRoute)(ae.pathname)||location.search)||M&&M.__N_SSG&&location.search)||ae.replace(ae.pathname+"?"+String(x.assign(x.urlQueryToSearchParams(ae.query),new URLSearchParams(location.search))),$,{_h:1,shallow:!q})}},{key:"componentDidUpdate",value:function(){this.scrollToHash()}},{key:"scrollToHash",value:function(){var e=location.hash;if(e=e&&e.substring(1)){var t=document.getElementById(e);t&&setTimeout((function(){return t.scrollIntoView()}),0)}}},{key:"render",value:function(){return this.props.children}}]),r}(v.default.Component),he=(0,g.default)();t.emitter=he;var pe=function(){var e=o(n.mark((function e(){var r,o,a,i,c,u,s=arguments;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s.length>0&&void 0!==s[0]?s[0]:{},r=I,e.prev=3,e.next=6,re.routeLoader.whenEntrypoint("/_app");case 6:if(!("error"in(o=e.sent))){e.next=9;break}throw o.error;case 9:a=o.component,i=o.exports,ie=a,i&&i.reportWebVitals&&(ce=function(e){var t,r=e.id,n=e.name,o=e.startTime,a=e.value,c=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),i.reportWebVitals({id:r||l,name:n,startTime:o||t,value:null==a?c:a,label:"mark"===u||"measure"===u?"custom":"web-vital"})}),e.next=16;break;case 16:return e.next=18,re.routeLoader.whenEntrypoint(j);case 18:e.t0=e.sent;case 19:if(!("error"in(c=e.t0))){e.next=22;break}throw c.error;case 22:le=c.component,e.next=27;break;case 27:e.next=32;break;case 29:e.prev=29,e.t1=e.catch(3),r=e.t1;case 32:if(!window.__NEXT_PRELOADREADY){e.next=36;break}return e.next=36,window.__NEXT_PRELOADREADY(W);case 36:return t.router=ae=(0,T.createRouter)(j,N,$,{initialProps:M,pageLoader:re,App:ie,Component:le,wrapApp:Se,err:r,isFallback:Boolean(q),subscription:function(e,t,r){return de(Object.assign({},e,{App:t,scroll:r}))},locale:B,locales:G,defaultLocale:z,domainLocales:H,isPreview:V}),de(u={App:ie,initial:!0,Component:le,props:M,err:r}),e.abrupt("return",he);case 43:return e.abrupt("return",{emitter:he,render:de,renderCtx:u});case 44:case"end":return e.stop()}}),e,null,[[3,29]])})));return function(){return e.apply(this,arguments)}}();function de(e){return ve.apply(this,arguments)}function ve(){return(ve=o(n.mark((function e(t){return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.err){e.next=4;break}return e.next=3,me(t);case 3:return e.abrupt("return");case 4:return e.prev=4,e.next=7,Pe(t);case 7:e.next=16;break;case 9:if(e.prev=9,e.t0=e.catch(4),!e.t0.cancelled){e.next=13;break}throw e.t0;case 13:return e.next=16,me((0,d.default)({},t,{err:e.t0}));case 16:case"end":return e.stop()}}),e,null,[[4,9]])})))).apply(this,arguments)}function me(e){var t=e.App,r=e.err;return console.error(r),re.loadPage("/_error").then((function(n){var o=n.page,a=n.styleSheets,i=Se(t),c={Component:o,AppTree:i,router:ae,ctx:{err:r,pathname:j,query:N,asPath:$,AppTree:i}};return Promise.resolve(e.props?e.props:(0,P.loadGetInitialProps)(t,c)).then((function(t){return Pe((0,d.default)({},e,{err:r,Component:o,styleSheets:a,props:t}))}))}))}t.default=pe;var ye="function"===typeof m.default.hydrate;function ge(){P.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),ce&&performance.getEntriesByName("Next.js-hydration").forEach(ce),we())}function be(){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","afterRender"),ce&&(performance.getEntriesByName("Next.js-render").forEach(ce),performance.getEntriesByName("Next.js-route-change-to-render").forEach(ce)),we(),["Next.js-route-change-to-render","Next.js-render"].forEach((function(e){return performance.clearMeasures(e)})))}}function we(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((function(e){return performance.clearMarks(e)}))}function _e(e){var t=e.children;return v.default.createElement(fe,{fn:function(e){return me({App:ie,err:e}).catch((function(e){return console.error("Error rendering page: ",e)}))}},v.default.createElement(b.RouterContext.Provider,{value:(0,T.makePublicRouterInstance)(ae)},v.default.createElement(y.HeadManagerContext.Provider,{value:ue},t)))}var xe,Se=function(e){return function(t){var r=(0,d.default)({},t,{Component:le,err:I,router:ae});return v.default.createElement(_e,null,v.default.createElement(e,r))}};function Pe(e){var t=e.App,r=e.Component,n=e.props,o=e.err,a="initial"in e?void 0:e.styleSheets;r=r||xe.Component,n=n||xe.props;var i=(0,d.default)({},n,{Component:r,err:o,router:ae});xe=i;var c,u=!1,s=new Promise((function(e,t){oe&&oe(),c=function(){oe=null,e()},oe=function(){u=!0,oe=null;var e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));function l(){c()}!function(){if(!a)return!1;var e=O(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.getAttribute("data-n-css");a.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 f=v.default.createElement(v.default.Fragment,null,v.default.createElement(Le,{callback:function(){if(a&&!u){for(var t=new Set(a.map((function(e){return e.href}))),r=O(document.querySelectorAll("style[data-n-href]")),n=r.map((function(e){return e.getAttribute("data-n-href")})),o=0;o<n.length;++o)t.has(n[o])?r[o].removeAttribute("media"):r[o].setAttribute("media","x");var i=document.querySelector("noscript[data-n-css]");i&&a.forEach((function(e){var t=e.href,r=document.querySelector('style[data-n-href="'.concat(t,'"]'));r&&(i.parentNode.insertBefore(r,i.nextSibling),i=r)})),O(document.querySelectorAll("link[data-n-p]")).forEach((function(e){e.parentNode.removeChild(e)})),getComputedStyle(document.body,"height")}e.scroll&&window.scrollTo(e.scroll.x,e.scroll.y)}}),v.default.createElement(_e,null,v.default.createElement(t,i),v.default.createElement(E.Portal,{type:"next-route-announcer"},v.default.createElement(C.RouteAnnouncer,null))));return function(e,t){P.ST&&performance.mark("beforeRender");var r=t(ye?ge:be);ye?(m.default.hydrate(r,e),ye=!1):m.default.render(r,e)}(se,(function(e){return v.default.createElement(Ee,{callbacks:[e,l]},f)})),s}function Ee(e){var t=e.callbacks,r=e.children;return v.default.useLayoutEffect((function(){return t.forEach((function(e){return e()}))}),[t]),v.default.useEffect((function(){(0,R.default)(ce)}),[]),r}function Le(e){var t=e.callback;return v.default.useLayoutEffect((function(){return t()}),[t]),null}},95778:function(e,t,r){"use strict";var n=r(69448)(r(7403));window.next=n,(0,n.default)().catch(console.error)},36528:function(e,t){"use strict";function r(e){return e.endsWith("/")&&"/"!==e?e.slice(0,-1):e}t.__esModule=!0,t.removePathTrailingSlash=r,t.normalizePathTrailingSlash=void 0;var n=function(e){return/\.[^/]+\/?$/.test(e)?r(e):e.endsWith("/")?e:e+"/"};t.normalizePathTrailingSlash=n},27365:function(e,t,r){"use strict";var n=r(2553),o=r(62012),a=r(69448),i=r(62426);t.__esModule=!0,t.default=void 0;var c=r(11689),u=i(r(77892)),s=r(93288),l=r(94436),f=r(36528),h=a(r(7599));var p=function(){function e(t,r){n(this,e),this.buildId=void 0,this.assetPrefix=void 0,this.promisedSsgManifest=void 0,this.promisedDevPagesManifest=void 0,this.routeLoader=void 0,this.routeLoader=(0,h.default)(r),this.buildId=t,this.assetPrefix=r,this.promisedSsgManifest=new Promise((function(e){window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=function(){e(window.__SSG_MANIFEST)}}))}return o(e,[{key:"getPageList",value:function(){return(0,h.getClientBuildManifest)().then((function(e){return e.sortedPages}))}},{key:"getDataHref",value:function(e,t,r,n){var o=this,a=(0,l.parseRelativeUrl)(e),i=a.pathname,h=a.query,p=a.search,d=(0,l.parseRelativeUrl)(t).pathname,v=function(e){if("/"!==e[0])throw new Error('Route name should start with a "/", got "'.concat(e,'"'));return"/"===e?e:e.replace(/\/$/,"")}(i),m=function(e){var t=(0,u.default)((0,f.removePathTrailingSlash)((0,c.addLocale)(e,n)),".json");return(0,c.addBasePath)("/_next/data/".concat(o.buildId).concat(t).concat(r?"":p))},y=(0,s.isDynamicRoute)(v),g=y?(0,c.interpolateAs)(i,d,h).result:"";return y?g&&m(g):m(v)}},{key:"_isSsg",value:function(e){return this.promisedSsgManifest.then((function(t){return t.has(e)}))}},{key:"loadPage",value:function(e){return this.routeLoader.loadRoute(e).then((function(e){if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map((function(e){return{href:e.href,text:e.content}}))};throw e.error}))}},{key:"prefetch",value:function(e){return this.routeLoader.prefetch(e)}}]),e}();t.default=p},74829:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=r(5866),a=(location.href,!1);function i(e){n&&n(e)}t.default=function(e){n=e,a||(a=!0,(0,o.getCLS)(i),(0,o.getFID)(i),(0,o.getFCP)(i),(0,o.getLCP)(i),(0,o.getTTFB)(i))}},81567:function(e,t,r){"use strict";var n=r(53848),o=r(69448);t.__esModule=!0,t.Portal=void 0;var a=o(r(67294)),i=r(73935);t.Portal=function(e){var t=e.children,r=e.type,o=a.useRef(null),c=a.useState(),u=n(c,2)[1];return a.useEffect((function(){return o.current=document.createElement(r),document.body.appendChild(o.current),u({}),function(){o.current&&document.body.removeChild(o.current)}}),[r]),o.current?(0,i.createPortal)(t,o.current):null}},98391:function(e,t){"use strict";t.__esModule=!0,t.cancelIdleCallback=t.requestIdleCallback=void 0;var r="undefined"!==typeof self&&self.requestIdleCallback||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||function(e){return clearTimeout(e)};t.cancelIdleCallback=n},16975:function(e,t,r){"use strict";var n=r(53848),o=r(69448);t.__esModule=!0,t.RouteAnnouncer=c,t.default=void 0;var a=o(r(67294)),i=r(72441);function c(){var e=(0,i.useRouter)().asPath,t=(0,a.useState)(""),r=n(t,2),o=r[0],c=r[1],u=(0,a.useRef)(!1);return(0,a.useEffect)((function(){if(u.current){var t,r=document.querySelector("h1");r&&(t=r.innerText||r.textContent),t||(t=document.title?document.title:e),c(t)}else u.current=!0}),[e]),a.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},o)}var u=c;t.default=u},7599:function(e,t,r){"use strict";var n=r(62426);t.__esModule=!0,t.markAssetError=u,t.isAssetError=function(e){return e&&c in e},t.getClientBuildManifest=l,t.default=void 0;n(r(77892));var o=r(98391);function a(e,t,r){var n,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);var a=new Promise((function(e){n=e}));return t.set(e,o={resolve:n,future:a}),r?r().then((function(e){return n(e),e})):a}var i=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(t){return!1}}();var c=Symbol("ASSET_LOAD_ERROR");function u(e){return Object.defineProperty(e,c,{})}function s(e,t,r){return new Promise((function(n,a){var i=!1;e.then((function(e){i=!0,n(e)})).catch(a),(0,o.requestIdleCallback)((function(){return setTimeout((function(){i||a(r)}),t)}))}))}function l(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):s(new Promise((function(e){var t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=function(){e(self.__BUILD_MANIFEST),t&&t()}})),3800,u(new Error("Failed to load client build manifest")))}function f(e,t){return l().then((function(r){if(!(t in r))throw u(new Error("Failed to lookup route: ".concat(t)));var n=r[t].map((function(t){return e+"/_next/"+encodeURI(t)}));return{scripts:n.filter((function(e){return e.endsWith(".js")})),css:n.filter((function(e){return e.endsWith(".css")}))}}))}var h=function(e){var t=new Map,r=new Map,n=new Map,c=new Map;function l(e){var t=r.get(e);return t||(document.querySelector('script[src^="'.concat(e,'"]'))?Promise.resolve():(r.set(e,t=function(e,t){return new Promise((function(r,n){(t=document.createElement("script")).onload=r,t.onerror=function(){return n(u(new Error("Failed to load script: ".concat(e))))},t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)}))}(e)),t))}function h(e){var t=n.get(e);return t||(n.set(e,t=fetch(e).then((function(t){if(!t.ok)throw new Error("Failed to load stylesheet: ".concat(e));return t.text().then((function(t){return{href:e,content:t}}))})).catch((function(e){throw u(e)}))),t)}return{whenEntrypoint:function(e){return a(e,t)},onEntrypoint:function(e,r){Promise.resolve(r).then((function(e){return e()})).then((function(e){return{component:e&&e.default||e,exports:e}}),(function(e){return{error:e}})).then((function(r){var n=t.get(e);t.set(e,r),n&&"resolve"in n&&n.resolve(r)}))},loadRoute:function(r,n){var o=this;return a(r,c,(function(){return s(f(e,r).then((function(e){var n=e.scripts,o=e.css;return Promise.all([t.has(r)?[]:Promise.all(n.map(l)),Promise.all(o.map(h))])})).then((function(e){return o.whenEntrypoint(r).then((function(t){return{entrypoint:t,styles:e[1]}}))})),3800,u(new Error("Route did not complete loading: ".concat(r)))).then((function(e){var t=e.entrypoint,r=e.styles,n=Object.assign({styles:r},t);return"error"in t?t:n})).catch((function(e){if(n)throw e;return{error:e}}))}))},prefetch:function(t){var r,n=this;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():f(e,t).then((function(e){return Promise.all(i?e.scripts.map((function(e){return t=e,r="script",new Promise((function(e,o){if(document.querySelector('link[rel="prefetch"][href^="'.concat(t,'"]')))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=o,n.href=t,document.head.appendChild(n)}));var t,r,n})):[])})).then((function(){(0,o.requestIdleCallback)((function(){return n.loadRoute(t,!0).catch((function(){}))}))})).catch((function(){}))}}};t.default=h},72441:function(e,t,r){"use strict";var n=r(41280);function o(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=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,c=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){u=!0,i=e},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw i}}}}function a(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}var i=r(69448),c=r(62426);t.__esModule=!0,t.useRouter=function(){return u.default.useContext(l.RouterContext)},t.makePublicRouterInstance=function(e){var t,r=e,n={},a=o(p);try{for(a.s();!(t=a.n()).done;){var i=t.value;"object"!==typeof r[i]?n[i]=r[i]:n[i]=Object.assign(Array.isArray(r[i])?[]:{},r[i])}}catch(c){a.e(c)}finally{a.f()}return n.events=s.default.events,d.forEach((function(e){n[e]=function(){return r[e].apply(r,arguments)}})),n},t.createRouter=t.withRouter=t.default=void 0;var u=c(r(67294)),s=i(r(11689));t.Router=s.default,t.NextRouter=s.NextRouter;var l=r(61642),f=c(r(33168));t.withRouter=f.default;var h={router:null,readyCallbacks:[],ready:function(e){if(this.router)return e();this.readyCallbacks.push(e)}},p=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain"],d=["push","replace","reload","back","prefetch","beforePopState"];function v(){if(!h.router){throw new Error('No router instance found.\nYou should only use "next/router" inside the client side of your app.\n')}return h.router}Object.defineProperty(h,"events",{get:function(){return s.default.events}}),p.forEach((function(e){Object.defineProperty(h,e,{get:function(){return v()[e]}})})),d.forEach((function(e){h[e]=function(){var t=v();return t[e].apply(t,arguments)}})),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach((function(e){h.ready((function(){s.default.events.on(e,(function(){var t="on".concat(e.charAt(0).toUpperCase()).concat(e.substring(1)),r=h;if(r[t])try{r[t].apply(r,arguments)}catch(n){console.error("Error when running the Router event: ".concat(t)),console.error("".concat(n.message,"\n").concat(n.stack))}}))}))}));var m=h;t.default=m;t.createRouter=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return h.router=n(s.default,t),h.readyCallbacks.forEach((function(e){return e()})),h.readyCallbacks=[],h.router}},33168:function(e,t,r){"use strict";var n=r(62426);t.__esModule=!0,t.default=function(e){function t(t){return o.default.createElement(e,Object.assign({router:(0,a.useRouter)()},t))}t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,!1;return t};var o=n(r(67294)),a=r(72441)},74287:function(e,t,r){"use strict";var n;t.__esModule=!0,t.HeadManagerContext=void 0;var o=((n=r(67294))&&n.__esModule?n:{default:n}).default.createContext({});t.HeadManagerContext=o},5557:function(e,t){"use strict";function r(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f: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.")}var i,c=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){u=!0,i=e},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw i}}}}function n(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}t.__esModule=!0,t.detectDomainLocale=function(e,t,n){var o;if(e){n&&(n=n.toLowerCase());var a,i=r(e);try{for(i.s();!(a=i.n()).done;){var c,u,s=a.value,l=null==(c=s.domain)?void 0:c.split(":")[0].toLowerCase();if(t===l||n===s.defaultLocale.toLowerCase()||null!=(u=s.locales)&&u.some((function(e){return e.toLowerCase()===n}))){o=s;break}}}catch(f){i.e(f)}finally{i.f()}}return o}},81253:function(e,t){"use strict";t.__esModule=!0,t.normalizeLocalePath=function(e,t){var r,n=e.split("/");return(t||[]).some((function(t){return n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)})),{pathname:e,detectedLocale:r}}},7332:function(e,t){"use strict";t.__esModule=!0,t.default=function(){var e=Object.create(null);return{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];(e[t]||[]).slice().map((function(e){e.apply(void 0,n)}))}}}},61642:function(e,t,r){"use strict";var n;t.__esModule=!0,t.RouterContext=void 0;var o=((n=r(67294))&&n.__esModule?n:{default:n}).default.createContext(null);t.RouterContext=o},11689:function(e,t,r){"use strict";var n=r(809),o=r(38561),a=r(2553),i=r(62012),c=r(53848);t.__esModule=!0,t.getDomainLocale=function(e,t,r,n){t=t||(0,h.normalizeLocalePath)(e,r).detectedLocale;var o=u(n,void 0,t);return!!o&&"http".concat(o.http?"":"s","://").concat(o.domain).concat("").concat(t===o.defaultLocale?"":"/".concat(t)).concat(e);return!1},t.addLocale=E,t.delLocale=L,t.hasBasePath=R,t.addBasePath=C,t.delBasePath=T,t.isLocalURL=A,t.interpolateAs=O,t.resolveHref=I,t.default=void 0;var u,s=r(36528),l=r(7599),f=r(89320),h=r(81253),p=_(r(7332)),d=r(13937),v=r(93288),m=r(94436),y=r(74915),g=_(r(14453)),b=r(47451),w=r(38193);function _(e){return e&&e.__esModule?e:{default:e}}u=r(5557).detectDomainLocale;var x="";function S(){return Object.assign(new Error("Route Cancelled"),{cancelled:!0})}function P(e,t){return t&&e.startsWith("/")?"/"===e?(0,s.normalizePathTrailingSlash)(t):"".concat(t).concat("/"===k(e)?e.substring(1):e):e}function E(e,t,r){var n=k(e).toLowerCase(),o=t&&t.toLowerCase();return t&&t!==r&&!n.startsWith("/"+o+"/")&&n!=="/"+o?P(e,"/"+t):e}function L(e,t){var r=k(e),n=r.toLowerCase(),o=t&&t.toLowerCase();return t&&(n.startsWith("/"+o+"/")||n==="/"+o)?(r.length===t.length+1?"/":"")+e.substr(t.length+1):e}function k(e){var t=e.indexOf("?"),r=e.indexOf("#");return(t>-1||r>-1)&&(e=e.substring(0,t>-1?t:r)),e}function R(e){return(e=k(e))===x||e.startsWith("/")}function C(e){return P(e,x)}function T(e){return(e=e.slice(x.length)).startsWith("/")||(e="/".concat(e)),e}function A(e){if(e.startsWith("/")||e.startsWith("#"))return!0;try{var t=(0,d.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&R(r.pathname)}catch(n){return!1}}function O(e,t,r){var n="",o=(0,w.getRouteRegex)(e),a=o.groups,i=(t!==e?(0,b.getRouteMatcher)(o)(t):"")||r;n=e;var c=Object.keys(a);return c.every((function(e){var t=i[e]||"",r=a[e],o=r.repeat,c=r.optional,u="[".concat(o?"...":"").concat(e,"]");return c&&(u="".concat(t?"":"/","[").concat(u,"]")),o&&!Array.isArray(t)&&(t=[t]),(c||e in i)&&(n=n.replace(u,o?t.map((function(e){return encodeURIComponent(e)})).join("/"):encodeURIComponent(t))||"/")}))||(n=""),{params:c,result:n}}function M(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;try{n=new URL(e,"http://n")}catch(p){n=new URL("/","http://n")}var o="string"===typeof t?t:(0,d.formatWithValidation)(t);if(!A(o))return r?[o]:o;try{var a=new URL(o,n);a.pathname=(0,s.normalizePathTrailingSlash)(a.pathname);var i="";if((0,v.isDynamicRoute)(a.pathname)&&a.searchParams&&r){var c=(0,y.searchParamsToUrlQuery)(a.searchParams),u=O(a.pathname,a.pathname,c),l=u.result,f=u.params;l&&(i=(0,d.formatWithValidation)({pathname:l,hash:a.hash,query:M(c,f)}))}var h=a.origin===n.origin?a.href.slice(a.origin.length):a.href;return r?[h,i||h]:h}catch(p){return r?[o]:o}}function j(e){var t=(0,d.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function N(e,t,r){var n=I(e.asPath,t,!0),o=c(n,2),a=o[0],i=o[1],u=(0,d.getLocationOrigin)(),s=a.startsWith(u),l=i&&i.startsWith(u);a=j(a),i=i?j(i):i;var f=s?a:C(a),h=r?j(I(e.asPath,r)):i||a;return{url:f,as:l?h:C(h)}}function D(e,t){var r=(0,s.removePathTrailingSlash)((0,f.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some((function(t){if((0,v.isDynamicRoute)(t)&&(0,w.getRouteRegex)(t).re.test(r))return e=t,!0})),(0,s.removePathTrailingSlash)(e))}var F=Symbol("SSG_DATA_NOT_FOUND");function U(e,t){return fetch(e,{credentials:"same-origin"}).then((function(r){if(!r.ok){if(t>1&&r.status>=500)return U(e,t-1);if(404===r.status)return r.json().then((function(e){if(e.notFound)return{notFound:F};throw new Error("Failed to load static props")}));throw new Error("Failed to load static props")}return r.json()}))}function W(e,t){return U(e,t?3:1).catch((function(e){throw t||(0,l.markAssetError)(e),e}))}var q=function(){function e(t,r,n,o){var i=this,c=o.initialProps,l=o.pageLoader,f=o.App,h=o.wrapApp,p=o.Component,y=o.err,g=o.subscription,b=o.isFallback,w=o.locale,_=o.locales,S=o.defaultLocale,P=o.domainLocales,E=o.isPreview;a(this,e),this.route=void 0,this.pathname=void 0,this.query=void 0,this.asPath=void 0,this.basePath=void 0,this.components=void 0,this.sdc={},this.sdr={},this.sub=void 0,this.clc=void 0,this.pageLoader=void 0,this._bps=void 0,this.events=void 0,this._wrapApp=void 0,this.isSsr=void 0,this.isFallback=void 0,this._inFlightRoute=void 0,this._shallow=void 0,this.locale=void 0,this.locales=void 0,this.defaultLocale=void 0,this.domainLocales=void 0,this.isReady=void 0,this.isPreview=void 0,this.isLocaleDomain=void 0,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,a=t.idx;i._idx=a;var c=(0,m.parseRelativeUrl)(r).pathname;i.isSsr&&n===i.asPath&&c===i.pathname||i._bps&&!i._bps(t)||i.change("replaceState",r,n,Object.assign({},o,{shallow:o.shallow&&i._shallow,locale:o.locale||i.defaultLocale}),undefined)}}else{var u=i.pathname,s=i.query;i.changeState("replaceState",(0,d.formatWithValidation)({pathname:C(u),query:s}),(0,d.getURL)())}},this.route=(0,s.removePathTrailingSlash)(t),this.components={},"/_error"!==t&&(this.components[this.route]={Component:p,initial:!0,props:c,err:y,__N_SSG:c&&c.__N_SSG,__N_SSP:c&&c.__N_SSP}),this.components["/_app"]={Component:f,styleSheets:[]},this.events=e.events,this.pageLoader=l,this.pathname=t,this.query=r;var L=(0,v.isDynamicRoute)(t)&&self.__NEXT_DATA__.autoExport;this.asPath=L?t:n,this.basePath=x,this.sub=g,this.clc=null,this._wrapApp=h,this.isSsr=!0,this.isFallback=b,this.isReady=!(!self.__NEXT_DATA__.gssp&&!self.__NEXT_DATA__.gip&&(L||self.location.search)),this.isPreview=!!E,this.isLocaleDomain=!1,this.locale=w,this.locales=_,this.defaultLocale=S,this.domainLocales=P,this.isLocaleDomain=!!u(P,self.location.hostname),"//"!==n.substr(0,2)&&this.changeState("replaceState",(0,d.formatWithValidation)({pathname:C(t),query:r}),(0,d.getURL)(),{locale:w}),window.addEventListener("popstate",this.onPopState)}return i(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=N(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=N(this,e,t);return e=n.url,t=n.as,this.change("replaceState",e,t,r)}},{key:"change",value:function(){var t=o(n.mark((function t(r,o,a,i,c){var f,p,y,g,_,x,S,P,k,I,j,U,W,q,B,G,H,V,z,X,$,Q,Y,J,K,Z,ee,te,re,ne,oe,ae,ie,ce,ue,se,le,fe,he,pe,de;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:if(p=o===a||i._h,i._h&&(this.isReady=!0),i.scroll=!(null!=(f=i.scroll)&&!f),y=i.locale!==this.locale,this.locale=!1===i.locale?this.defaultLocale:i.locale||this.locale,"undefined"===typeof i.locale&&(i.locale=this.locale),g=(0,m.parseRelativeUrl)(R(a)?T(a):a),(_=(0,h.normalizeLocalePath)(g.pathname,this.locales)).detectedLocale&&(this.locale=_.detectedLocale,g.pathname=C(g.pathname),a=(0,d.formatWithValidation)(g),o=C((0,h.normalizeLocalePath)(R(o)?T(o):o,this.locales).pathname)),x=!1,null!=(S=this.locales)&&S.includes(this.locale)||(g.pathname=E(g.pathname,this.locale),window.location.href=(0,d.formatWithValidation)(g),x=!0),P=u(this.domainLocales,void 0,this.locale),!x&&P&&this.isLocaleDomain&&self.location.hostname!==P.domain&&(k=T(a),window.location.href="http".concat(P.http?"":"s","://").concat(P.domain).concat(C("".concat(this.locale===P.defaultLocale?"":"/".concat(this.locale)).concat("/"===k?"":k)||"/")),x=!0),!x){t.next=19;break}return t.abrupt("return",new Promise((function(){})));case 19:if(i._h||(this.isSsr=!1),d.ST&&performance.mark("routeChange"),I=i.shallow,j={shallow:void 0!==I&&I},this._inFlightRoute&&this.abortComponentLoad(this._inFlightRoute,j),a=C(E(R(a)?T(a):a,i.locale,this.defaultLocale)),U=L(R(a)?T(a):a,this.locale),this._inFlightRoute=a,i._h||!this.onlyAHashChange(U)){t.next=35;break}return this.asPath=U,e.events.emit("hashChangeStart",a,j),this.changeState(r,o,a,i),this.scrollToHash(U),this.notify(this.components[this.route],null),e.events.emit("hashChangeComplete",a,j),t.abrupt("return",!0);case 35:return W=(0,m.parseRelativeUrl)(o),q=W.pathname,B=W.query,t.prev=37,t.next=40,this.pageLoader.getPageList();case 40:return G=t.sent,t.next=43,(0,l.getClientBuildManifest)();case 43:H=t.sent,H.__rewrites,t.next=51;break;case 47:return t.prev=47,t.t0=t.catch(37),window.location.href=a,t.abrupt("return",!1);case 51:if(this.urlIsNew(U)||y||(r="replaceState"),V=a,q=q?(0,s.removePathTrailingSlash)(T(q)):q,p&&"/_error"!==q&&(W.pathname=D(q,G),W.pathname!==q&&(q=W.pathname,o=(0,d.formatWithValidation)(W))),z=(0,s.removePathTrailingSlash)(q),A(a)){t.next=61;break}t.next=59;break;case 59:return window.location.href=a,t.abrupt("return",!1);case 61:if(V=L(T(V),this.locale),!(0,v.isDynamicRoute)(z)){t.next=77;break}if(X=(0,m.parseRelativeUrl)(V),$=X.pathname,Q=(0,w.getRouteRegex)(z),Y=(0,b.getRouteMatcher)(Q)($),K=(J=z===$)?O(z,$,B):{},Y&&(!J||K.result)){t.next=76;break}if(!((Z=Object.keys(Q.groups).filter((function(e){return!B[e]}))).length>0)){t.next=74;break}throw new Error((J?"The provided `href` (".concat(o,") value is missing query values (").concat(Z.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat($,") is incompatible with the `href` value (").concat(z,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(J?"href-interpolation-failed":"incompatible-href-as"));case 74:t.next=77;break;case 76:J?a=(0,d.formatWithValidation)(Object.assign({},X,{pathname:K.result,query:M(B,K.params)})):Object.assign(B,Y);case 77:return e.events.emit("routeChangeStart",a,j),t.prev=78,t.next=81,this.getRouteInfo(z,q,B,a,V,j);case 81:if(re=t.sent,oe=(ne=re).error,ae=ne.props,ie=ne.__N_SSG,ce=ne.__N_SSP,!ie&&!ce||!ae){t.next=108;break}if(!ae.pageProps||!ae.pageProps.__N_REDIRECT){t.next=94;break}if(!(ue=ae.pageProps.__N_REDIRECT).startsWith("/")){t.next=92;break}if((se=(0,m.parseRelativeUrl)(ue)).pathname=D(se.pathname,G),!G.includes(se.pathname)){t.next=92;break}return le=N(this,ue,ue),fe=le.url,he=le.as,t.abrupt("return",this.change(r,fe,he,i));case 92:return window.location.href=ue,t.abrupt("return",new Promise((function(){})));case 94:if(this.isPreview=!!ae.__N_PREVIEW,ae.notFound!==F){t.next=108;break}return t.prev=96,t.next=99,this.fetchComponent("/404");case 99:pe="/404",t.next=105;break;case 102:t.prev=102,t.t1=t.catch(96),pe="/_error";case 105:return t.next=107,this.getRouteInfo(pe,pe,B,a,V,{shallow:!1});case 107:re=t.sent;case 108:return e.events.emit("beforeHistoryChange",a,j),this.changeState(r,o,a,i),de=i.shallow&&this.route===z,i._h&&"/_error"===q&&500===(null==(ee=self.__NEXT_DATA__.props)||null==(te=ee.pageProps)?void 0:te.statusCode)&&null!=ae&&ae.pageProps&&(ae.pageProps.statusCode=500),t.next=115,this.set(z,q,B,U,re,c||(de||!i.scroll?null:{x:0,y:0})).catch((function(e){if(!e.cancelled)throw e;oe=oe||e}));case 115:if(!oe){t.next=118;break}throw e.events.emit("routeChangeError",oe,U,j),oe;case 118:return this.locale&&(document.documentElement.lang=this.locale),e.events.emit("routeChangeComplete",a,j),t.abrupt("return",!0);case 123:if(t.prev=123,t.t2=t.catch(78),!t.t2.cancelled){t.next=127;break}return t.abrupt("return",!1);case 127:throw t.t2;case 128:case"end":return t.stop()}}),t,this,[[37,47],[78,123],[96,102]])})));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&&(0,d.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=o(n.mark((function t(r,o,a,i,c,u){var s,f,h,p;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(!(0,l.isAssetError)(r)&&!u){t.next=6;break}throw e.events.emit("routeChangeError",r,i,c),window.location.href=i,S();case 6:if(t.prev=6,"undefined"!==typeof s&&"undefined"!==typeof f){t.next=14;break}return t.next=11,this.fetchComponent("/_error");case 11:h=t.sent,s=h.page,f=h.styleSheets;case 14:if((p={props:undefined,Component:s,styleSheets:f,err:r,error:r}).props){t.next=26;break}return t.prev=16,t.next=19,this.getInitialProps(s,{err:r,pathname:o,query:a});case 19:p.props=t.sent,t.next=26;break;case 22:t.prev=22,t.t0=t.catch(16),console.error("Error in error page `getInitialProps`: ",t.t0),p.props={};case 26:return t.abrupt("return",p);case 29:return t.prev=29,t.t1=t.catch(6),t.abrupt("return",this.handleRouteInfoError(t.t1,o,a,i,c,!0));case 32:case"end":return t.stop()}}),t,this,[[6,29],[16,22]])})));return function(e,r,n,o,a,i){return t.apply(this,arguments)}}()},{key:"getRouteInfo",value:function(){var e=o(n.mark((function e(t,r,o,a,i,c){var u,s,l,f,h,p,v,m,y=this;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,u=this.components[t],!c.shallow||!u||this.route!==t){e.next=4;break}return e.abrupt("return",u);case 4:if(!(s=u&&"initial"in u?void 0:u)){e.next=9;break}e.t0=s,e.next=12;break;case 9:return e.next=11,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}}));case 11:e.t0=e.sent;case 12:l=e.t0,f=l.Component,h=l.__N_SSG,p=l.__N_SSP,e.next=18;break;case 18:return(h||p)&&(v=this.pageLoader.getDataHref((0,d.formatWithValidation)({pathname:r,query:o}),i,h,this.locale)),e.next=21,this._getData((function(){return h?y._getStaticData(v):p?y._getServerData(v):y.getInitialProps(f,{pathname:r,query:o,asPath:a,locale:y.locale,locales:y.locales,defaultLocale:y.defaultLocale})}));case 21:return m=e.sent,l.props=m,this.components[t]=l,e.abrupt("return",l);case 27:return e.prev=27,e.t1=e.catch(0),e.abrupt("return",this.handleRouteInfoError(e.t1,r,o,a,c));case 30:case"end":return e.stop()}}),e,this,[[0,27]])})));return function(t,r,n,o,a,i){return e.apply(this,arguments)}}()},{key:"set",value:function(e,t,r,n,o,a){return this.isFallback=!1,this.route=e,this.pathname=t,this.query=r,this.asPath=n,this.notify(o,a)}},{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];if(""!==r&&"top"!==r){var n=document.getElementById(r);if(n)n.scrollIntoView();else{var o=document.getElementsByName(r)[0];o&&o.scrollIntoView()}}else window.scrollTo(0,0)}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(){var e=o(n.mark((function e(t){var r,o,a,i,c,u,l,f,p,v,y,b,w=this,_=arguments;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=_.length>1&&void 0!==_[1]?_[1]:t,o=_.length>2&&void 0!==_[2]?_[2]:{},a=(0,m.parseRelativeUrl)(t),i=a.pathname,!1===o.locale&&(i=(0,h.normalizeLocalePath)(i,this.locales).pathname,a.pathname=i,t=(0,d.formatWithValidation)(a),c=(0,m.parseRelativeUrl)(r),u=(0,h.normalizeLocalePath)(c.pathname,this.locales),c.pathname=u.pathname,o.locale=u.detectedLocale||this.defaultLocale,r=(0,d.formatWithValidation)(c)),e.next=7,this.pageLoader.getPageList();case 7:l=e.sent,f=r,e.next=19;break;case 12:v=e.sent,p=v.__rewrites,y=(0,g.default)(C(E(r,this.locale)),l,p,a.query,(function(e){return D(e,l)}),this.locales),f=L(T(y.asPath),this.locale),y.matchedPage&&y.resolvedHref&&(i=y.resolvedHref,a.pathname=i,t=(0,d.formatWithValidation)(a)),e.next=21;break;case 19:a.pathname=D(a.pathname,l),a.pathname!==i&&(i=a.pathname,t=(0,d.formatWithValidation)(a));case 21:b=(0,s.removePathTrailingSlash)(i),e.next=24;break;case 24:return e.next=26,Promise.all([this.pageLoader._isSsg(b).then((function(e){return!!e&&w._getStaticData(w.pageLoader.getDataHref(t,f,!0,"undefined"!==typeof o.locale?o.locale:w.locale))})),this.pageLoader[o.priority?"loadPage":"prefetch"](b)]);case 26:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"fetchComponent",value:function(){var e=o(n.mark((function e(t){var r,o,a,i;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=!1,o=this.clc=function(){r=!0},e.next=4,this.pageLoader.loadPage(t);case 4:if(a=e.sent,!r){e.next=9;break}throw(i=new Error('Abort fetching component for route: "'.concat(t,'"'))).cancelled=!0,i;case 9:return o===this.clc&&(this.clc=null),e.abrupt("return",a);case 11:case"end":return e.stop()}}),e,this)})));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:"_getStaticData",value:function(e){var t=this,r=new URL(e,window.location.href).href;return!this.isPreview&&this.sdc[r]?Promise.resolve(this.sdc[r]):W(e,this.isSsr).then((function(e){return t.sdc[r]=e,e}))}},{key:"_getServerData",value:function(e){var t=this,r=new URL(e,window.location.href).href;return this.sdr[r]?this.sdr[r]:this.sdr[r]=W(e,this.isSsr).then((function(e){return delete t.sdr[r],e})).catch((function(e){throw delete t.sdr[r],e}))}},{key:"getInitialProps",value:function(e,t){var r=this.components["/_app"].Component,n=this._wrapApp(r);return t.AppTree=n,(0,d.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}},{key:"abortComponentLoad",value:function(t,r){this.clc&&(e.events.emit("routeChangeError",S(),t,r),this.clc(),this.clc=null)}},{key:"notify",value:function(e,t){return this.sub(e,this.components["/_app"].Component,t)}}]),e}();t.default=q,q.events=(0,p.default)()},7687:function(e,t,r){"use strict";t.__esModule=!0,t.formatUrl=function(e){var t=e.auth,r=e.hostname,o=e.protocol||"",i=e.pathname||"",c=e.hash||"",u=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));u&&"object"===typeof u&&(u=String(n.urlQueryToSearchParams(u)));var l=e.search||u&&"?".concat(u)||"";o&&":"!==o.substr(-1)&&(o+=":");e.slashes||(!o||a.test(o))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s="");c&&"#"!==c[0]&&(c="#"+c);l&&"?"!==l[0]&&(l="?"+l);return i=i.replace(/[?#]/g,encodeURIComponent),l=l.replace("#","%23"),"".concat(o).concat(s).concat(i).concat(l).concat(c)};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,t&&t.set(e,r);return r}(r(74915));function o(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}var a=/https?|ftp|gopher|file/},77892:function(e,t){"use strict";t.__esModule=!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}},93288:function(e,t){"use strict";t.__esModule=!0,t.isDynamicRoute=function(e){return r.test(e)};var r=/\/\[[^/]+?\](?=\/|$)/},94436:function(e,t,r){"use strict";t.__esModule=!0,t.parseRelativeUrl=function(e,t){var r=new URL((0,n.getLocationOrigin)()),a=t?new URL(t,r):r,i=new URL(e,a),c=i.pathname,u=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:c,query:(0,o.searchParamsToUrlQuery)(u),search:s,hash:l,href:f.slice(r.origin.length)}};var n=r(13937),o=r(74915)},74915:function(e,t,r){"use strict";var n=r(53848);function o(e){return"string"===typeof e||"number"===typeof e&&!isNaN(e)||"boolean"===typeof e?String(e):""}t.__esModule=!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;n<t;n++)r[n-1]=arguments[n];return r.forEach((function(t){Array.from(t.keys()).forEach((function(t){return e.delete(t)})),t.forEach((function(t,r){return e.append(r,t)}))})),e}},47451:function(e,t){"use strict";t.__esModule=!0,t.getRouteMatcher=function(e){var t=e.re,r=e.groups;return function(e){var n=t.exec(e);if(!n)return!1;var o=function(e){try{return decodeURIComponent(e)}catch(r){var t=new Error("failed to decode param");throw t.code="DECODE_FAILED",t}},a={};return Object.keys(r).forEach((function(e){var t=r[e],i=n[t.pos];void 0!==i&&(a[e]=~i.indexOf("/")?i.split("/").map((function(e){return o(e)})):t.repeat?[o(i)]:o(i))})),a}}},38193:function(e,t){"use strict";t.__esModule=!0,t.getRouteRegex=function(e){var t=(e.replace(/\/$/,"")||"/").slice(1).split("/"),r={},n=1,o=t.map((function(e){if(e.startsWith("[")&&e.endsWith("]")){var t=function(e){var t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));var r=e.startsWith("...");r&&(e=e.slice(3));return{key:e,repeat:r,optional:t}}(e.slice(1,-1)),o=t.key,a=t.optional,i=t.repeat;return r[o]={pos:n++,repeat:i,optional:a},i?a?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}return"/".concat(e.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&"))})).join("");0;return{re:new RegExp("^".concat(o,"(?:/)?$")),groups:r}}},79186:function(e,t){"use strict";var r;t.__esModule=!0,t.setConfig=function(e){r=e},t.default=void 0;t.default=function(){return r}},13937:function(e,t,r){"use strict";var n=r(809),o=r(38561);t.__esModule=!0,t.execOnce=function(e){var t,r=!1;return function(){return r||(r=!0,t=e.apply(void 0,arguments)),t}},t.getLocationOrigin=i,t.getURL=function(){var e=window.location.href,t=i();return e.substring(t.length)},t.getDisplayName=c,t.isResSent=u,t.loadGetInitialProps=s,t.formatWithValidation=function(e){0;return(0,a.formatUrl)(e)},t.ST=t.SP=t.urlObjectKeys=void 0;var a=r(7687);function i(){var e=window.location,t=e.protocol,r=e.hostname,n=e.port;return"".concat(t,"//").concat(r).concat(n?":"+n:"")}function c(e){return"string"===typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function s(e,t){return l.apply(this,arguments)}function l(){return(l=o(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,s(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||!u(o)){e.next=17;break}return e.abrupt("return",a);case 17:if(a){e.next=20;break}throw i='"'.concat(c(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 f="undefined"!==typeof performance;t.SP=f;var h=f&&"function"===typeof performance.mark&&"function"===typeof performance.measure;t.ST=h},5866:function(e){e.exports=function(){var e={599:function(e,t){!function(e){"use strict";var t,r,n=function(){return"".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)},o=function(e){return{name:e,value:arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,delta:0,entries:[],id:n(),isFinal:!1}},a=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return r.observe({type:e,buffered:!0}),r}}catch(e){}},i=!1,c=!1,u=function(e){i=!e.persisted},s=function(){addEventListener("pagehide",u),addEventListener("beforeunload",(function(){}))},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c||(s(),c=!0),addEventListener("visibilitychange",(function(t){var r=t.timeStamp;"hidden"===document.visibilityState&&e({timeStamp:r,isUnloading:i})}),{capture:!0,once:t})},f=function(e,t,r,n){var o;return function(){r&&t.isFinal&&r.disconnect(),t.value>=0&&(n||t.isFinal||"hidden"===document.visibilityState)&&(t.delta=t.value-(o||0),(t.delta||t.isFinal||void 0===o)&&(e(t),o=t.value))}},h=function(){return void 0===t&&(t="hidden"===document.visibilityState?0:1/0,l((function(e){var r=e.timeStamp;return t=r}),!0)),{get timeStamp(){return t}}},p=function(){return r||(r=new Promise((function(e){return["scroll","keydown","pointerdown"].map((function(t){addEventListener(t,e,{once:!0,passive:!0,capture:!0})}))}))),r};e.getCLS=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=o("CLS",0),i=function(e){e.hadRecentInput||(n.value+=e.value,n.entries.push(e),t())},c=a("layout-shift",i);c&&(t=f(e,n,c,r),l((function(e){var r=e.isUnloading;c.takeRecords().map(i),r&&(n.isFinal=!0),t()})))},e.getFCP=function(e){var t,r=o("FCP"),n=h(),i=a("paint",(function(e){"first-contentful-paint"===e.name&&e.startTime<n.timeStamp&&(r.value=e.startTime,r.isFinal=!0,r.entries.push(e),t())}));i&&(t=f(e,r,i))},e.getFID=function(e){var t=o("FID"),r=h(),n=function(e){e.startTime<r.timeStamp&&(t.value=e.processingStart-e.startTime,t.entries.push(e),t.isFinal=!0,c())},i=a("first-input",n),c=f(e,t,i);i?l((function(){i.takeRecords().map(n),i.disconnect()}),!0):window.perfMetrics&&window.perfMetrics.onFirstInputDelay&&window.perfMetrics.onFirstInputDelay((function(e,n){n.timeStamp<r.timeStamp&&(t.value=e,t.isFinal=!0,t.entries=[{entryType:"first-input",name:n.type,target:n.target,cancelable:n.cancelable,startTime:n.timeStamp,processingStart:n.timeStamp+e}],c())}))},e.getLCP=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=o("LCP"),i=h(),c=function(e){var r=e.startTime;r<i.timeStamp?(n.value=r,n.entries.push(e)):n.isFinal=!0,t()},u=a("largest-contentful-paint",c);if(u){t=f(e,n,u,r);var s=function(){n.isFinal||(u.takeRecords().map(c),n.isFinal=!0,t())};p().then(s),l(s,!0)}},e.getTTFB=function(e){var t,r=o("TTFB");t=function(){try{var t=performance.getEntriesByType("navigation")[0]||function(){var e=performance.timing,t={entryType:"navigation",startTime:0};for(var r in e)"navigationStart"!==r&&"toJSON"!==r&&(t[r]=Math.max(e[r]-e.navigationStart,0));return t}();r.value=r.delta=t.responseStart,r.entries=[t],r.isFinal=!0,e(r)}catch(e){}},"complete"===document.readyState?setTimeout(t,0):addEventListener("pageshow",t)},Object.defineProperty(e,"__esModule",{value:!0})}(t)}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{}},a=!0;try{e[n].call(o.exports,o,o.exports,r),a=!1}finally{a&&delete t[n]}return o.exports}return r.ab="//",r(599)}()},89320:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}t.__esModule=!0,t.normalizePathSep=r,t.denormalizePagePath=function(e){(e=r(e)).startsWith("/index/")?e=e.slice(6):"/index"===e&&(e="/");return e}},54360:function(e){e.exports=function(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}},96648:function(e){e.exports=function(e){if(Array.isArray(e))return e}},50450:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},38561:function(e){function t(e,t,r,n,o,a,i){try{var c=e[a](i),u=c.value}catch(s){return void r(s)}c.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,a){var i=e.apply(r,n);function c(e){t(i,o,a,c,u,"next",e)}function u(e){t(i,o,a,c,u,"throw",e)}c(void 0)}))}}},2553:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},41280:function(e,t,r){var n=r(21914),o=r(78898);function a(t,r,i){return o()?e.exports=a=Reflect.construct:e.exports=a=function(e,t,r){var o=[null];o.push.apply(o,t);var a=new(Function.bind.apply(e,o));return r&&n(a,r.prototype),a},a.apply(null,arguments)}e.exports=a},62012:function(e){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)}}e.exports=function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}},9566:function(e){function t(){return e.exports=t=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},t.apply(this,arguments)}e.exports=t},99828:function(e){function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(r)}e.exports=t},9807:function(e,t,r){var n=r(21914);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},62426:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},69448:function(e,t,r){var n=r(87917);function o(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var c=a?Object.getOwnPropertyDescriptor(e,i):null;c&&(c.get||c.set)?Object.defineProperty(r,i,c):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}},78898:function(e){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},56325:function(e){e.exports=function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(n=(i=c.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(u){o=!0,a=u}finally{try{n||null==c.return||c.return()}finally{if(o)throw a}}return r}}},81531:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},27690:function(e,t,r){var n=r(87917),o=r(50450);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?o(e):t}},21914:function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(r,n)}e.exports=t},53848:function(e,t,r){var n=r(96648),o=r(56325),a=r(73585),i=r(81531);e.exports=function(e,t){return n(e)||o(e,t)||a(e,t)||i()}},87917:function(e){function t(r){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(r)}e.exports=t},73585:function(e,t,r){var n=r(54360);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},809:function(e,t,r){e.exports=r(35666)},35666:function(e){var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(A){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,a=Object.create(o.prototype),i=new R(n||[]);return a._invoke=function(e,t,r){var n=f;return function(o,a){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw a;return T()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=E(i,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=l(e,t,r);if("normal"===u.type){if(n=r.done?d:h,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=d,r.method="throw",r.arg=u.arg)}}}(e,r,i),a}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(A){return{type:"throw",arg:A}}}e.wrap=s;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",v={};function m(){}function y(){}function g(){}var b={};u(b,a,(function(){return this}));var w=Object.getPrototypeOf,_=w&&w(w(C([])));_&&_!==r&&n.call(_,a)&&(b=_);var x=g.prototype=m.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(o,a,i,c){var u=l(e[o],e,a);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(f).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,c)}))}c(u.arg)}var o;this._invoke=function(e,n){function a(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(a,a):a()}}function E(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function C(e){if(e){var r=e[a];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:T}}function T(){return{value:t,done:!0}}return y.prototype=g,u(x,"constructor",g),u(g,"constructor",y),y.displayName=u(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},S(P.prototype),u(P.prototype,i,(function(){return this})),e.AsyncIterator=P,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new P(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},S(x),u(x,c,"Generator"),u(x,a,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),v}},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;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(r){"object"===typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},14453:function(){}},function(e){e.O(0,[9774],(function(){return t=95778,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
  2. //# sourceMappingURL=main-e7cf26dc5b7b25dfa74f.js.map