(()=>{var e={"./dist/compiled/@edge-runtime/cookies/index.js":e=>{"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={};function a(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`].filter(Boolean);return`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}; ${r.join("; ")}`}function i(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[n,o]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=o?o:"true"))}catch{}}return t}function l(e){var t;if(!e)return;let[[r,n],...o]=i(e),{domain:s,expires:a,httponly:l,maxage:u,path:c,samesite:p,secure:f}=Object.fromEntries(o.map(([e,t])=>[e.toLowerCase(),t])),m={name:r,value:decodeURIComponent(n),domain:s,...a&&{expires:new Date(a)},...l&&{httpOnly:!0},..."string"==typeof u&&{maxAge:Number(u)},path:c,...p&&{sameSite:d.includes(t=(t=p).toLowerCase())?t:void 0},...f&&{secure:!0}};return function(e){let t={};for(let r in e)e[r]&&(t[r]=e[r]);return t}(m)}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(s,{RequestCookies:()=>c,ResponseCookies:()=>p,parseCookie:()=>i,parseSetCookie:()=>l,splitCookiesString:()=>u,stringifyCookie:()=>a}),e.exports=((e,s,a,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let a of n(s))o.call(e,a)||void 0===a||t(e,a,{get:()=>s[a],enumerable:!(i=r(s,a))||i.enumerable});return e})(t({},"__esModule",{value:!0}),s);var d=["strict","lax","none"];function u(e){if(!e)return[];var t,r,n,o,s,a=[],i=0;function l(){for(;i<e.length&&/\s/.test(e.charAt(i));)i+=1;return i<e.length}for(;i<e.length;){for(t=i,s=!1;l();)if(","===(r=e.charAt(i))){for(n=i,i+=1,l(),o=i;i<e.length&&"="!==(r=e.charAt(i))&&";"!==r&&","!==r;)i+=1;i<e.length&&"="===e.charAt(i)?(s=!0,i=o,a.push(e.substring(t,n)),t=i):i=n+1}else i+=1;(!s||i>=e.length)&&a.push(e.substring(t,e.length))}return a}var c=class{constructor(e){this._parsed=new Map,this._headers=e;let t=e.get("cookie");if(t){let e=i(t);for(let[t,r]of e)this._parsed.set(t,{name:t,value:r})}}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>a(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>a(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},p=class{constructor(e){var t;this._parsed=new Map,this._headers=e;let r=null==(t=e.getSetCookie)?void 0:t.call(e);e.get("set-cookie");let n=Array.isArray(r)?r:u(r);for(let e of n){let t=l(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,o=this._parsed;return o.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=a(r);t.append("set-cookie",e)}}(o,this._headers),this}delete(...e){let[t,r,n]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0].path,e[0].domain];return this.set({name:t,path:r,domain:n,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(a).join("; ")}}},"./dist/compiled/bytes/index.js":e=>{(()=>{"use strict";var t={56:e=>{/*!
 * bytes
 * Copyright(c) 2012-2014 TJ Holowaychuk
 * Copyright(c) 2015 Jed Watson
 * MIT Licensed
 */e.exports=function(e,t){return"string"==typeof e?a(e):"number"==typeof e?s(e,t):null},e.exports.format=s,e.exports.parse=a;var t=/\B(?=(\d{3})+(?!\d))/g,r=/(?:\.0*|(\.[^0]+)0+)$/,n={b:1,kb:1024,mb:1048576,gb:1073741824,tb:1099511627776,pb:0x4000000000000},o=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function s(e,o){if(!Number.isFinite(e))return null;var s=Math.abs(e),a=o&&o.thousandsSeparator||"",i=o&&o.unitSeparator||"",l=o&&void 0!==o.decimalPlaces?o.decimalPlaces:2,d=!!(o&&o.fixedDecimals),u=o&&o.unit||"";u&&n[u.toLowerCase()]||(u=s>=n.pb?"PB":s>=n.tb?"TB":s>=n.gb?"GB":s>=n.mb?"MB":s>=n.kb?"KB":"B");var c=(e/n[u.toLowerCase()]).toFixed(l);return d||(c=c.replace(r,"$1")),a&&(c=c.split(".").map(function(e,r){return 0===r?e.replace(t,a):e}).join(".")),c+i+u}function a(e){if("number"==typeof e&&!isNaN(e))return e;if("string"!=typeof e)return null;var t,r=o.exec(e),s="b";return r?(t=parseFloat(r[1]),s=r[4].toLowerCase()):(t=parseInt(e,10),s="b"),Math.floor(n[s]*t)}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var s=r[e]={exports:{}},a=!0;try{t[e](s,s.exports,n),a=!1}finally{a&&delete r[e]}return s.exports}n.ab=__dirname+"/";var o=n(56);e.exports=o})()},"./dist/compiled/content-type/index.js":e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var t={};(()=>{/*!
 * content-type
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */var e=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,r=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,n=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,o=/\\([\u000b\u0020-\u00ff])/g,s=/([\\"])/g,a=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function i(e){this.parameters=Object.create(null),this.type=e}t.format=function(e){if(!e||"object"!=typeof e)throw TypeError("argument obj is required");var t=e.parameters,o=e.type;if(!o||!a.test(o))throw TypeError("invalid type");var i=o;if(t&&"object"==typeof t)for(var l,d=Object.keys(t).sort(),u=0;u<d.length;u++){if(l=d[u],!n.test(l))throw TypeError("invalid parameter name");i+="; "+l+"="+function(e){var t=String(e);if(n.test(t))return t;if(t.length>0&&!r.test(t))throw TypeError("invalid parameter value");return'"'+t.replace(s,"\\$1")+'"'}(t[l])}return i},t.parse=function(t){if(!t)throw TypeError("argument string is required");var r,n,s,l="object"==typeof t?function(e){var t;if("function"==typeof e.getHeader?t=e.getHeader("content-type"):"object"==typeof e.headers&&(t=e.headers&&e.headers["content-type"]),"string"!=typeof t)throw TypeError("content-type header is missing from object");return t}(t):t;if("string"!=typeof l)throw TypeError("argument string is required to be a string");var d=l.indexOf(";"),u=-1!==d?l.substr(0,d).trim():l.trim();if(!a.test(u))throw TypeError("invalid media type");var c=new i(u.toLowerCase());if(-1!==d){for(e.lastIndex=d;n=e.exec(l);){if(n.index!==d)throw TypeError("invalid parameter format");d+=n[0].length,r=n[1].toLowerCase(),'"'===(s=n[2])[0]&&(s=s.substr(1,s.length-2).replace(o,"$1")),c.parameters[r]=s}if(d!==l.length)throw TypeError("invalid parameter format")}return c}})(),e.exports=t})()},"./dist/compiled/cookie/index.js":e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var t={};(()=>{/*!
 * cookie
 * Copyright(c) 2012-2014 Roman Shtylman
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */t.parse=function(t,r){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var o={},s=t.split(n),a=(r||{}).decode||e,i=0;i<s.length;i++){var l=s[i],d=l.indexOf("=");if(!(d<0)){var u=l.substr(0,d).trim(),c=l.substr(++d,l.length).trim();'"'==c[0]&&(c=c.slice(1,-1)),void 0==o[u]&&(o[u]=function(e,t){try{return t(e)}catch(t){return e}}(c,a))}}return o},t.serialize=function(e,t,n){var s=n||{},a=s.encode||r;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!o.test(e))throw TypeError("argument name is invalid");var i=a(t);if(i&&!o.test(i))throw TypeError("argument val is invalid");var l=e+"="+i;if(null!=s.maxAge){var d=s.maxAge-0;if(isNaN(d)||!isFinite(d))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(d)}if(s.domain){if(!o.test(s.domain))throw TypeError("option domain is invalid");l+="; Domain="+s.domain}if(s.path){if(!o.test(s.path))throw TypeError("option path is invalid");l+="; Path="+s.path}if(s.expires){if("function"!=typeof s.expires.toUTCString)throw TypeError("option expires is invalid");l+="; Expires="+s.expires.toUTCString()}if(s.httpOnly&&(l+="; HttpOnly"),s.secure&&(l+="; Secure"),s.sameSite)switch("string"==typeof s.sameSite?s.sameSite.toLowerCase():s.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var e=decodeURIComponent,r=encodeURIComponent,n=/; */,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/})(),e.exports=t})()},"./dist/compiled/fresh/index.js":e=>{(()=>{"use strict";var t={695:e=>{/*!
 * fresh
 * Copyright(c) 2012 TJ Holowaychuk
 * Copyright(c) 2016-2017 Douglas Christopher Wilson
 * MIT Licensed
 */var t=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function r(e){var t=e&&Date.parse(e);return"number"==typeof t?t:NaN}e.exports=function(e,n){var o=e["if-modified-since"],s=e["if-none-match"];if(!o&&!s)return!1;var a=e["cache-control"];if(a&&t.test(a))return!1;if(s&&"*"!==s){var i=n.etag;if(!i)return!1;for(var l=!0,d=function(e){for(var t=0,r=[],n=0,o=0,s=e.length;o<s;o++)switch(e.charCodeAt(o)){case 32:n===t&&(n=t=o+1);break;case 44:r.push(e.substring(n,t)),n=t=o+1;break;default:t=o+1}return r.push(e.substring(n,t)),r}(s),u=0;u<d.length;u++){var c=d[u];if(c===i||c==="W/"+i||"W/"+c===i){l=!1;break}}if(l)return!1}if(o){var p=n["last-modified"];if(!p||!(r(p)<=r(o)))return!1}return!0}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var s=r[e]={exports:{}},a=!0;try{t[e](s,s.exports,n),a=!1}finally{a&&delete r[e]}return s.exports}n.ab=__dirname+"/";var o=n(695);e.exports=o})()},"./dist/compiled/react-is/cjs/react-is.production.min.js":(e,t)=>{"use strict";/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),d=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case s:case i:case a:case p:case f:return e;default:switch(e=e&&e.$$typeof){case u:case d:case c:case h:case m:case l:return e;default:return t}}case o:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=d,t.ContextProvider=l,t.Element=n,t.ForwardRef=c,t.Fragment=s,t.Lazy=h,t.Memo=m,t.Portal=o,t.Profiler=i,t.StrictMode=a,t.Suspense=p,t.SuspenseList=f,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===d},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return v(e)===c},t.isFragment=function(e){return v(e)===s},t.isLazy=function(e){return v(e)===h},t.isMemo=function(e){return v(e)===m},t.isPortal=function(e){return v(e)===o},t.isProfiler=function(e){return v(e)===i},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===p},t.isSuspenseList=function(e){return v(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===i||e===a||e===p||e===f||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===l||e.$$typeof===d||e.$$typeof===c||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=v},"./dist/compiled/react-is/index.js":(e,t,r)=>{"use strict";e.exports=r("./dist/compiled/react-is/cjs/react-is.production.min.js")},"./dist/compiled/strip-ansi/index.js":e=>{(()=>{"use strict";var t={511:e=>{e.exports=({onlyFirst:e=!1}={})=>RegExp("[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))",e?void 0:"g")},532:(e,t,r)=>{let n=r(511);e.exports=e=>"string"==typeof e?e.replace(n(),""):e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var s=r[e]={exports:{}},a=!0;try{t[e](s,s.exports,n),a=!1}finally{a&&delete r[e]}return s.exports}n.ab=__dirname+"/";var o=n(532);e.exports=o})()},"./dist/esm/build/output/log.js":(e,t,r)=>{"use strict";var n;r.d(t,{ZK:()=>v});let{env:o,stdout:s}=(null==(n=globalThis)?void 0:n.process)??{},a=o&&!o.NO_COLOR&&(o.FORCE_COLOR||(null==s?void 0:s.isTTY)&&!o.CI&&"dumb"!==o.TERM),i=(e,t,r,n)=>{let o=e.substring(0,n)+r,s=e.substring(n+t.length),a=s.indexOf(t);return~a?o+i(s,t,r,a):o+s},l=(e,t,r=e)=>n=>{let o=""+n,s=o.indexOf(t,e.length);return~s?e+i(o,t,r,s)+t:e+o+t},d=a?l("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m"):String;a&&l("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"),a&&l("\x1b[3m","\x1b[23m"),a&&l("\x1b[4m","\x1b[24m"),a&&l("\x1b[7m","\x1b[27m"),a&&l("\x1b[8m","\x1b[28m"),a&&l("\x1b[9m","\x1b[29m"),a&&l("\x1b[30m","\x1b[39m");let u=a?l("\x1b[31m","\x1b[39m"):String,c=a?l("\x1b[32m","\x1b[39m"):String,p=a?l("\x1b[33m","\x1b[39m"):String;a&&l("\x1b[34m","\x1b[39m");let f=a?l("\x1b[35m","\x1b[39m"):String;a&&l("\x1b[36m","\x1b[39m");let m=a?l("\x1b[37m","\x1b[39m"):String;a&&l("\x1b[90m","\x1b[39m"),a&&l("\x1b[40m","\x1b[49m"),a&&l("\x1b[41m","\x1b[49m"),a&&l("\x1b[42m","\x1b[49m"),a&&l("\x1b[43m","\x1b[49m"),a&&l("\x1b[44m","\x1b[49m"),a&&l("\x1b[45m","\x1b[49m"),a&&l("\x1b[46m","\x1b[49m"),a&&l("\x1b[47m","\x1b[49m");let h={wait:m(d("○")),error:u(d("⨯")),warn:p(d("⚠")),ready:d("▲"),info:m(d(" ")),event:c(d("✓")),trace:f(d("\xbb"))},g={log:"log",warn:"warn",error:"error"};function v(...e){!function(e,...t){(""===t[0]||void 0===t[0])&&1===t.length&&t.shift();let r=e in g?g[e]:"log",n=h[e];0===t.length?console[r](""):console[r](" "+n,...t)}("warn",...e)}},"./dist/esm/client/components/app-router-headers.js":(e,t,r)=>{"use strict";r.d(t,{H4:()=>n});let n="_rsc"},"./dist/esm/lib/constants.js":(e,t,r)=>{"use strict";r.d(t,{Ei:()=>l,Eo:()=>c,Lx:()=>u,Qq:()=>o,Wo:()=>a,lk:()=>p,oL:()=>i,q6:()=>d,wh:()=>s,y3:()=>n});let n="x-prerender-revalidate",o="x-prerender-revalidate-if-generated",s="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",a="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",i="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",l="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",d="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",u="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",c="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",p="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",f={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route",appRouteHandler:"app-route-handler"};({...f,GROUP:{server:[f.reactServerComponents,f.actionBrowser,f.appMetadataRoute,f.appRouteHandler],nonClientServerTarget:[f.middleware,f.api],app:[f.reactServerComponents,f.actionBrowser,f.appMetadataRoute,f.appRouteHandler,f.serverSideRendering,f.appPagesBrowser]}})},"./dist/esm/lib/non-nullable.js":(e,t,r)=>{"use strict";function n(e){return null!=e}r.d(t,{v:()=>n})},"./dist/esm/server/api-utils/get-cookie-parser.js":(e,t,r)=>{"use strict";function n(e){return function(){let{cookie:t}=e;if(!t)return{};let{parse:n}=r("./dist/compiled/cookie/index.js");return n(Array.isArray(t)?t.join("; "):t)}}r.d(t,{a:()=>n})},"./dist/esm/server/api-utils/index.js":(e,t,r)=>{"use strict";r.d(t,{Di:()=>l,Iq:()=>s,Lm:()=>u,QM:()=>i,dS:()=>a,gk:()=>c});var n=r("./dist/esm/server/web/spec-extension/adapters/headers.js"),o=r("./dist/esm/lib/constants.js");function s(e,t){let r=n.h.from(e.headers),s=r.get(o.y3),a=s===t.previewModeId,i=r.has(o.Qq);return{isOnDemandRevalidate:a,revalidateOnlyGenerated:i}}let a="__prerender_bypass",i="__next_preview_data",l=Symbol(i),d=Symbol(a);function u(e,t={}){if(d in e)return e;let{serialize:n}=r("./dist/compiled/cookie/index.js"),o=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof o?[o]:Array.isArray(o)?o:[],n(a,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0}),n(i,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0})]),Object.defineProperty(e,d,{value:!0,enumerable:!1}),e}function c({req:e},t,r){let n={configurable:!0,enumerable:!0},o={...n,writable:!0};Object.defineProperty(e,t,{...n,get:()=>{let n=r();return Object.defineProperty(e,t,{...o,value:n}),n},set:r=>{Object.defineProperty(e,t,{...o,value:r})}})}},"./dist/esm/server/api-utils/node.js":(e,t,r)=>{"use strict";r.d(t,{RR:()=>a});var n=r("./dist/esm/server/api-utils/index.js");r("./dist/compiled/bytes/index.js"),r("./dist/esm/server/send-payload/index.js"),r("stream"),r("./dist/compiled/content-type/index.js"),r("./dist/esm/shared/lib/utils.js"),r("./dist/esm/server/api-utils/get-cookie-parser.js"),r("./lib/trace/tracer"),r("./dist/esm/server/lib/trace/constants.js");var o=r("./dist/esm/server/web/spec-extension/cookies.js"),s=r("./dist/esm/server/web/spec-extension/adapters/headers.js");function a(e,t,a){var i,l;let d;if(a&&(0,n.Iq)(e,a).isOnDemandRevalidate)return!1;if(n.Di in e)return e[n.Di];let u=s.h.from(e.headers),c=new o.q(u),p=null==(i=c.get(n.dS))?void 0:i.value,f=null==(l=c.get(n.QM))?void 0:l.value;if(p&&!f&&p===a.previewModeId){let t={};return Object.defineProperty(e,n.Di,{value:t,enumerable:!1}),t}if(!p&&!f)return!1;if(!p||!f||p!==a.previewModeId)return(0,n.Lm)(t),!1;try{let e=r("next/dist/compiled/jsonwebtoken");d=e.verify(f,a.previewModeSigningKey)}catch{return(0,n.Lm)(t),!1}let{decryptWithSecret:m}=r("./dist/esm/server/crypto-utils.js"),h=m(Buffer.from(a.previewModeEncryptionKey),d.data);try{let t=JSON.parse(h);return Object.defineProperty(e,n.Di,{value:t,enumerable:!1}),t}catch{return!1}}r("./dist/esm/lib/constants.js")},"./dist/esm/server/crypto-utils.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decryptWithSecret:()=>i,encryptWithSecret:()=>a});let n=require("crypto");var o=r.n(n);let s="aes-256-gcm";function a(e,t){let r=o().randomBytes(16),n=o().randomBytes(64),a=o().pbkdf2Sync(e,n,1e5,32,"sha512"),i=o().createCipheriv(s,a,r),l=Buffer.concat([i.update(t,"utf8"),i.final()]),d=i.getAuthTag();return Buffer.concat([n,r,d,l]).toString("hex")}function i(e,t){let r=Buffer.from(t,"hex"),n=r.slice(0,64),a=r.slice(64,80),i=r.slice(80,96),l=r.slice(96),d=o().pbkdf2Sync(e,n,1e5,32,"sha512"),u=o().createDecipheriv(s,d,a);return u.setAuthTag(i),u.update(l)+u.final("utf8")}},"./dist/esm/server/font-utils.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{calculateOverrideValues:()=>f,calculateSizeAdjustValues:()=>m,getFontDefinitionFromManifest:()=>u,getFontDefinitionFromNetwork:()=>d,getFontOverrideCss:()=>v});var n=r("./dist/esm/build/output/log.js"),o=r("./dist/esm/shared/lib/constants.js");let s=r("next/dist/server/capsize-font-metrics.json"),a=r("https");function i(e){return e.startsWith(o.Lw)}function l(e,t){return new Promise((r,n)=>{let o="";a.get(e,{headers:{"user-agent":t}},e=>{e.on("data",e=>{o+=e}),e.on("end",()=>{r(o.toString("utf8"))})}).on("error",e=>{n(e)})})}async function d(e){let t="";try{i(e)&&(t+=await l(e,"Mozilla/5.0 (Windows NT 10.0; Trident/7.0; rv:11.0) like Gecko")),t+=await l(e,"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36")}catch(t){return n.ZK(`Failed to download the stylesheet for ${e}. Skipped optimizing this font.`),""}return t}function u(e,t){var r;return(null==(r=t.find(t=>!!t&&t.url===e))?void 0:r.content)||""}function c(e){return e.replace(/(?:^\w|[A-Z]|\b\w)/g,function(e,t){return 0===t?e.toLowerCase():e.toUpperCase()}).replace(/\s+/g,"")}function p(e){return Math.abs(100*e).toFixed(2)}function f(e){let t=c(e),r=s[t],{category:n,ascent:a,descent:i,lineGap:l,unitsPerEm:d}=r,u="serif"===n?o.oh:o.dW;return{ascent:a=p(a/d),descent:i=p(i/d),lineGap:l=p(l/d),fallbackFont:u.name}}function m(e){let t=c(e),r=s[t],{category:n,ascent:a,descent:i,lineGap:l,unitsPerEm:d,xWidthAvg:u}=r,f=u/d,m="serif"===n?o.oh:o.dW,h=c(m.name),g=s[h],v=g.xWidthAvg/g.unitsPerEm,y=u?f/v:1;return{ascent:a=p(a/(d*y)),descent:i=p(i/(d*y)),lineGap:l=p(l/(d*y)),fallbackFont:m.name,sizeAdjust:p(y)}}function h(e){let t=e.trim(),{ascent:r,descent:n,lineGap:o,fallbackFont:s}=f(t);return`
    @font-face {
      font-family: "${t} Fallback";
      ascent-override: ${r}%;
      descent-override: ${n}%;
      line-gap-override: ${o}%;
      src: local("${s}");
    }
  `}function g(e){let t=e.trim(),{ascent:r,descent:n,lineGap:o,fallbackFont:s,sizeAdjust:a}=m(t);return`
    @font-face {
      font-family: "${t} Fallback";
      ascent-override: ${r}%;
      descent-override: ${n}%;
      line-gap-override: ${o}%;
      size-adjust: ${a}%;
      src: local("${s}");
    }
  `}function v(e,t,r=!1){if(!i(e))return"";let n=r?g:h;try{let e=function(e){let t=e.matchAll(/font-family: ([^;]*)/g),r=new Set;for(let e of t){let t=e[1].replace(/^['"]|['"]$/g,"");r.add(t)}return[...r]}(t),r=e.reduce((e,t)=>e+=n(t),"");return r}catch(e){return console.log("Error getting font override values - ",e),""}}},"./dist/esm/server/lib/trace/constants.js":(e,t,r)=>{"use strict";var n,o,s,a,i,l,d,u,c,p,f;r.d(t,{k0:()=>d,xj:()=>l}),function(e){e.handleRequest="BaseServer.handleRequest",e.run="BaseServer.run",e.pipe="BaseServer.pipe",e.getStaticHTML="BaseServer.getStaticHTML",e.render="BaseServer.render",e.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",e.renderToResponse="BaseServer.renderToResponse",e.renderToHTML="BaseServer.renderToHTML",e.renderError="BaseServer.renderError",e.renderErrorToResponse="BaseServer.renderErrorToResponse",e.renderErrorToHTML="BaseServer.renderErrorToHTML",e.render404="BaseServer.render404"}(n||(n={})),function(e){e.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents"}(o||(o={})),function(e){e.getRequestHandler="NextServer.getRequestHandler",e.getServer="NextServer.getServer",e.getServerRequestHandler="NextServer.getServerRequestHandler",e.createServer="createServer.createServer"}(s||(s={})),function(e){e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch"}(a||(a={})),(i||(i={})).startServer="startServer.startServer",function(e){e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult"}(l||(l={})),function(e){e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch"}(d||(d={})),(u||(u={})).executeRoute="Router.executeRoute",(c||(c={})).runHandler="Node.runHandler",(p||(p={})).runHandler="AppRouteRouteHandlers.runHandler",(f||(f={})).generateMetadata="ResolveMetadata.generateMetadata"},"./dist/esm/server/node-polyfill-web-streams.js":(e,t,r)=>{if(!global.ReadableStream){if(r("stream/web").ReadableStream)global.ReadableStream=r("stream/web").ReadableStream;else{let{ReadableStream:e}=r("next/dist/compiled/@edge-runtime/ponyfill");global.ReadableStream=e}}if(!global.TransformStream){if(r("stream/web").TransformStream)global.TransformStream=r("stream/web").TransformStream;else{let{TransformStream:e}=r("next/dist/compiled/@edge-runtime/ponyfill");global.TransformStream=e}}},"./dist/esm/server/optimize-amp.js":(e,t,r)=>{"use strict";async function n(e,t){let n;try{n=r("next/dist/compiled/@ampproject/toolbox-optimizer")}catch(t){return e}let o=n.create(t);return o.transformHtml(e,t)}r.d(t,{Z:()=>n})},"./dist/esm/server/post-process.js":(e,t,r)=>{"use strict";r.d(t,{X:()=>l});var n,o=r("./dist/esm/shared/lib/constants.js"),s=r("./dist/esm/lib/non-nullable.js");let a=[];async function i(e,t,n){if(!a[0])return e;let{parse:o}=r("next/dist/compiled/node-html-parser"),s=o(e),i=e;async function l(e){let r=e.inspect(s,t);i=await e.mutate(i,r,t)}for(let e=0;e<a.length;e++){let t=a[e];(!t.condition||t.condition(n))&&await l(a[e].middleware)}return i}async function l(e,t,n,{inAmpMode:o,hybridAmp:a}){let l=[o?async t=>{let o=r("./dist/esm/server/optimize-amp.js").Z;return t=await o(t,n.ampOptimizerConfig),!n.ampSkipValidation&&n.ampValidator&&await n.ampValidator(t,e),t}:null,(0,n.optimizeFonts)?async e=>await i(e,{getFontDefinition:e=>{if(n.fontManifest){let{getFontDefinitionFromManifest:t}=r("./dist/esm/server/font-utils.js");return t(e,n.fontManifest)}return""}},{optimizeFonts:n.optimizeFonts}):null,(0,n.optimizeCss)?async e=>{let t=r("critters"),o=new t({ssrMode:!0,reduceInlineStyles:!1,path:n.distDir,publicPath:`${n.assetPrefix}/_next/`,preload:"media",fonts:!1,...n.optimizeCss});return await o.process(e)}:null,o||a?e=>e.replace(/&amp;amp=1/g,"&amp=1"):null].filter(s.v);for(let e of l)e&&(t=await e(t));return t}n=new class{inspect(e,t){if(!t.getFontDefinition)return;let r=[];return e.querySelectorAll("link").filter(e=>"stylesheet"===e.getAttribute("rel")&&e.hasAttribute("data-href")&&o.C7.some(({url:t})=>{let r=e.getAttribute("data-href");return!!r&&r.startsWith(t)})).forEach(e=>{let t=e.getAttribute("data-href"),n=e.getAttribute("nonce");t&&r.push([t,n])}),r}constructor(){this.mutate=async(e,t,r)=>{let n=e,s=new Set;if(!r.getFontDefinition)return e;t.forEach(e=>{let[t,a]=e,i=`<link rel="stylesheet" href="${t}"/>`;if(n.indexOf(`<style data-href="${t}">`)>-1||n.indexOf(i)>-1)return;let l=r.getFontDefinition?r.getFontDefinition(t):null;if(l){let e=a?` nonce="${a}"`:"",r="";l.includes("ascent-override")&&(r=' data-size-adjust="true"'),n=n.replace("</head>",`<style data-href="${t}"${e}${r}>${l}</style></head>`);let i=t.replace(/&/g,"&amp;").replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),d=RegExp(`<link[^>]*data-href="${i}"[^>]*/>`);n=n.replace(d,"");let u=o.C7.find(e=>t.startsWith(e.url));u&&s.add(u.preconnect)}else n=n.replace("</head>",`${i}</head>`)});let a="";return s.forEach(e=>{a+=`<link rel="preconnect" href="${e}" crossorigin />`}),n=n.replace('<meta name="next-font-preconnect"/>',a)}}},a.push({name:"Inline-Fonts",middleware:n,condition:(e=>e.optimizeFonts||process.env.__NEXT_OPTIMIZE_FONTS)||null})},"./dist/esm/server/send-payload/index.js":(e,t,r)=>{"use strict";r("./dist/esm/shared/lib/utils.js"),r("./dist/compiled/fresh/index.js"),r("./dist/esm/client/components/app-router-headers.js")},"./dist/esm/server/web/spec-extension/adapters/headers.js":(e,t,r)=>{"use strict";r.d(t,{h:()=>s});var n=r("./dist/esm/server/web/spec-extension/adapters/reflect.js");class o extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new o}}class s extends Headers{constructor(e){super(),this.headers=new Proxy(e,{get(t,r,o){if("symbol"==typeof r)return n.g.get(t,r,o);let s=r.toLowerCase(),a=Object.keys(e).find(e=>e.toLowerCase()===s);if(void 0!==a)return n.g.get(t,a,o)},set(t,r,o,s){if("symbol"==typeof r)return n.g.set(t,r,o,s);let a=r.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===a);return n.g.set(t,i??r,o,s)},has(t,r){if("symbol"==typeof r)return n.g.has(t,r);let o=r.toLowerCase(),s=Object.keys(e).find(e=>e.toLowerCase()===o);return void 0!==s&&n.g.has(t,s)},deleteProperty(t,r){if("symbol"==typeof r)return n.g.deleteProperty(t,r);let o=r.toLowerCase(),s=Object.keys(e).find(e=>e.toLowerCase()===o);return void 0===s||n.g.deleteProperty(t,s)}})}static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"append":case"delete":case"set":return o.callable;default:return n.g.get(e,t,r)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new s(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}},"./dist/esm/server/web/spec-extension/adapters/reflect.js":(e,t,r)=>{"use strict";r.d(t,{g:()=>n});class n{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},"./dist/esm/server/web/spec-extension/cookies.js":(e,t,r)=>{"use strict";r.d(t,{q:()=>n.RequestCookies});var n=r("./dist/compiled/@edge-runtime/cookies/index.js")},"./dist/esm/shared/lib/constants.js":(e,t,r)=>{"use strict";r.d(t,{C7:()=>u,Er:()=>f,Lw:()=>d,NO:()=>i,dW:()=>p,fn:()=>a,o3:()=>s,oh:()=>c,uY:()=>l,wU:()=>o}),r("./dist/esm/shared/lib/modern-browserslist-target.js");let n={client:"client",server:"server",edgeServer:"edge-server"};n.client,n.server,n.edgeServer;let o="__NEXT_BUILTIN_DOCUMENT__";Symbol("polyfills");let s=307,a=308,i="__N_SSG",l="__N_SSP",d="https://fonts.googleapis.com/",u=[{url:d,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],c={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},p={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},f=["/500"]},"./dist/esm/shared/lib/modern-browserslist-target.js":e=>{e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},"./dist/esm/shared/lib/utils.js":(e,t,r)=>{"use strict";function n(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function o(e){return e.finished||e.headersSent}async function s(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await s(t.Component,t.ctx)}:{};let a=await e.getInitialProps(t);if(r&&o(r))return a;if(!a){let t='"'+n(e)+'.getInitialProps()" should resolve to an object. But found "'+a+'" instead.';throw Error(t)}return a}r.d(t,{Gf:()=>n,KM:()=>i,aC:()=>o,nq:()=>s});let a="undefined"!=typeof performance;a&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class i extends Error{}},"./lib/trace/tracer":e=>{"use strict";e.exports=require("next/dist/server/lib/trace/tracer")},critters:e=>{"use strict";e.exports=require("critters")},"next/dist/compiled/@ampproject/toolbox-optimizer":e=>{"use strict";e.exports=require("next/dist/compiled/@ampproject/toolbox-optimizer")},"next/dist/compiled/@edge-runtime/ponyfill":e=>{"use strict";e.exports=require("next/dist/compiled/@edge-runtime/ponyfill")},"next/dist/compiled/@next/react-dev-overlay/dist/middleware":e=>{"use strict";e.exports=require("next/dist/compiled/@next/react-dev-overlay/dist/middleware")},"next/dist/compiled/jsonwebtoken":e=>{"use strict";e.exports=require("next/dist/compiled/jsonwebtoken")},"next/dist/compiled/node-html-parser":e=>{"use strict";e.exports=require("next/dist/compiled/node-html-parser")},"next/dist/compiled/raw-body":e=>{"use strict";e.exports=require("next/dist/compiled/raw-body")},"next/dist/server/capsize-font-metrics.json":e=>{"use strict";e.exports=require("next/dist/server/capsize-font-metrics.json")},https:e=>{"use strict";e.exports=require("https")},path:e=>{"use strict";e.exports=require("path")},querystring:e=>{"use strict";e.exports=require("querystring")},stream:e=>{"use strict";e.exports=require("stream")},"stream/web":e=>{"use strict";e.exports=require("stream/web")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";let e,t,o;r.r(n),r.d(n,{PagesRouteModule:()=>eI,default:()=>eD,renderToHTML:()=>eM,vendored:()=>eF});var s,a={};r.r(a),r.d(a,{AmpStateContext:()=>N});var i={};r.r(i),r.d(i,{HeadManagerContext:()=>k});var l={};r.r(l),r.d(l,{LoadableContext:()=>O});var d={};r.r(d),r.d(d,{default:()=>H});var u={};r.r(u),r.d(u,{RouterContext:()=>z});var c={};r.r(c),r.d(c,{HtmlContext:()=>Z,useHtmlContext:()=>G});var p={};r.r(p),r.d(p,{ImageConfigContext:()=>ed});var f={};r.r(f),r.d(f,{PathParamsContext:()=>eg,PathnameContext:()=>eh,SearchParamsContext:()=>em});var m={};r.r(m),r.d(m,{AppRouterContext:()=>e_,CacheStates:()=>s,GlobalLayoutRouterContext:()=>eP,LayoutRouterContext:()=>eE,TemplateContext:()=>ej});var h={};r.r(h),r.d(h,{ServerInsertedHTMLContext:()=>eL,useServerInsertedHTML:()=>eq});var g={};r.r(g),r.d(g,{AmpContext:()=>a,AppRouterContext:()=>m,HeadManagerContext:()=>i,HooksClientContext:()=>f,HtmlContext:()=>c,ImageConfigContext:()=>p,Loadable:()=>d,LoadableContext:()=>l,RouterContext:()=>u,ServerInsertedHtml:()=>h});class v{constructor({userland:e,definition:t}){this.userland=e,this.definition=t}}var y=r("./dist/esm/server/api-utils/index.js"),b=r("./dist/esm/server/api-utils/get-cookie-parser.js");let x=require("react");var S=r.n(x);let w=require("react-dom/server.browser");var _=r.n(w);let E=require("styled-jsx");var P=r("./dist/esm/lib/constants.js"),j=r("./dist/esm/shared/lib/constants.js");function T(e){return Object.prototype.toString.call(e)}function C(e){if("[object Object]"!==T(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}let R=/^[A-Za-z_$][A-Za-z0-9_$]*$/;class $ extends Error{constructor(e,t,r,n){super(r?`Error serializing \`${r}\` returned from \`${t}\` in "${e}".
Reason: ${n}`:`Error serializing props returned from \`${t}\` in "${e}".
Reason: ${n}`)}}function A(e,t,r){if(!C(r))throw new $(e,t,"",`Props must be returned as a plain object from ${t}: \`{ props: { ... } }\` (received: \`${T(r)}\`).`);function n(r,n,o){if(r.has(n))throw new $(e,t,o,`Circular references cannot be expressed in JSON (references: \`${r.get(n)||"(self)"}\`).`);r.set(n,o)}return function r(o,s,a){let i=typeof s;if(null===s||"boolean"===i||"number"===i||"string"===i)return!0;if("undefined"===i)throw new $(e,t,a,"`undefined` cannot be serialized as JSON. Please use `null` or omit this value.");if(C(s)){if(n(o,s,a),Object.entries(s).every(([e,t])=>{let n=R.test(e)?`${a}.${e}`:`${a}[${JSON.stringify(e)}]`,s=new Map(o);return r(s,e,n)&&r(s,t,n)}))return!0;throw new $(e,t,a,"invariant: Unknown error encountered in Object.")}if(Array.isArray(s)){if(n(o,s,a),s.every((e,t)=>{let n=new Map(o);return r(n,e,`${a}[${t}]`)}))return!0;throw new $(e,t,a,"invariant: Unknown error encountered in Array.")}throw new $(e,t,a,"`"+i+"`"+("object"===i?` ("${Object.prototype.toString.call(s)}")`:"")+" cannot be serialized as JSON. Please only return JSON serializable data types.")}(new Map,r,"")}let N=S().createContext({}),k=S().createContext({}),O=S().createContext(null),M=[],L=[];function q(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class I{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function F(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),n=null;function o(){if(!n){let t=new I(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}function s(e,t){!function(){o();let e=S().useContext(O);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let s=S().useSyncExternalStore(n.subscribe,n.getCurrentValue,n.getCurrentValue);return S().useImperativeHandle(t,()=>({retry:n.retry}),[]),S().useMemo(()=>{var t;return s.loading||s.error?S().createElement(r.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:n.retry}):s.loaded?S().createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return M.push(o),s.preload=()=>o(),s.displayName="LoadableComponent",S().forwardRef(s)}(q,e)}function D(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return D(e,t)})}F.preloadAll=()=>new Promise((e,t)=>{D(M).then(e,t)}),F.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>t();D(L,e).then(r,r)}));let H=F,z=S().createContext(null),B=/\/\[[^/]+?\](?=\/|$)/;function W(e){return B.test(e)}var U=r("./dist/esm/shared/lib/utils.js");let Z=(0,x.createContext)(void 0);function G(){let e=(0,x.useContext)(Z);if(!e)throw Error("<Html> should not be imported outside of pages/_document.\nRead more: https://nextjs.org/docs/messages/no-document-import-in-page");return e}let J=Symbol.for("NextInternalRequestMeta");function V(e,t){let r=e[J]||{};return"string"==typeof t?r[t]:r}let Y=new Set([301,302,303,307,308]);function K(e){return e.statusCode||(e.permanent?j.fn:j.o3)}async function Q(e,t,r){let n=e.getReader(),o=!1,s=!1;function a(){s=!0,t.off("close",a),o||(o=!0,n.cancel().catch(()=>{}))}t.on("close",a);try{for(;;){let{done:e,value:r}=await n.read();if(o=e,e||s)break;r&&(t.write(r),null==t.flush||t.flush.call(t))}}catch(e){if((null==e?void 0:e.name)!=="AbortError")throw e}finally{t.off("close",a),o||n.cancel().catch(()=>{}),r&&await r,s||t.end()}}class X{static fromStatic(e){return new X(e)}constructor(e,{contentType:t,waitUntil:r,...n}={}){this.response=e,this.contentType=t,this.metadata=n,this.waitUntil=r}extendMetadata(e){Object.assign(this.metadata,e)}get isNull(){return null===this.response}get isDynamic(){return"string"!=typeof this.response}toUnchunkedString(){if("string"!=typeof this.response)throw Error("Invariant: dynamic responses cannot be unchunked. This is a bug in Next.js");return this.response}async pipe(e){if(null===this.response)throw Error("Invariant: response is null. This is a bug in Next.js");if("string"==typeof this.response)throw Error("Invariant: static responses cannot be piped. This is a bug in Next.js");return await Q(this.response,e,this.waitUntil)}}var ee=r("./dist/esm/lib/non-nullable.js"),et=r("./lib/trace/tracer"),er=r("./dist/esm/server/lib/trace/constants.js");function en(e){return new TextEncoder().encode(e)}function eo(e,t){return t.decode(e,{stream:!0})}let es=setImmediate;function ea(e){return new ReadableStream({start(t){t.enqueue(en(e)),t.close()}})}async function ei(e){let t=e.getReader(),r=new TextDecoder,n="";for(;;){let{done:e,value:o}=await t.read();if(e)return n;n+=eo(o,r)}}async function el(e,{suffix:t,dataStream:r,generateStaticHTML:n,getServerInsertedHTML:o,serverInsertedHTMLToHead:s,validateRootLayout:a}){let i,l,d;let u="</body></html>",c=t?t.split(u)[0]:null;n&&await e.allReady;let p=[function(){let e=new Uint8Array,t=null,r=r=>{t||(t=new Promise(n=>{es(()=>{r.enqueue(e),e=new Uint8Array,t=null,n()})}))};return new TransformStream({transform(t,n){let o=new Uint8Array(e.length+t.byteLength);o.set(e),o.set(t,e.length),e=o,r(n)},flush(){if(t)return t}})}(),o&&!s?new TransformStream({async transform(e,t){let r=en(await o());t.enqueue(r),t.enqueue(e)}}):null,null!=c?(i=!1,l=null,new TransformStream({transform(e,t){t.enqueue(e),!i&&c.length&&(i=!0,l=new Promise(e=>{es(()=>{t.enqueue(en(c)),e()})}))},flush(e){if(l)return l;!i&&c.length&&(i=!0,e.enqueue(en(c)))}})):null,r?(d=null,new TransformStream({transform(e,t){if(t.enqueue(e),!d){let e=r.getReader();d=new Promise(r=>setTimeout(async()=>{try{for(;;){let{done:n,value:o}=await e.read();if(n)return r();t.enqueue(o)}}catch(e){t.error(e)}r()},0))}},flush(){if(d)return d}})):null,function(e){let t=!1,r=new TextDecoder;return new TransformStream({transform(n,o){if(!e||t)return o.enqueue(n);let s=eo(n,r);if(s.endsWith(e)){t=!0;let r=s.slice(0,-e.length);o.enqueue(en(r))}else o.enqueue(n)},flush(t){e&&t.enqueue(en(e))}})}(u),o&&s?function(e){let t=!1,r=!1,n=new TextDecoder;return new TransformStream({async transform(o,s){if(r){s.enqueue(o);return}let a=await e();if(t)s.enqueue(en(a)),s.enqueue(o),r=!0;else{let e=eo(o,n),i=e.indexOf("</head>");if(-1!==i){let n=e.slice(0,i)+a+e.slice(i);s.enqueue(en(n)),r=!0,t=!0}}t?es(()=>{r=!1}):s.enqueue(o)},async flush(t){let r=await e();r&&t.enqueue(en(r))}})}(o):null,a?function(e="",t){let r=!1,n=!1,o=new TextDecoder;return new TransformStream({async transform(e,t){if(!r||!n){let t=eo(e,o);!r&&t.includes("<html")&&(r=!0),!n&&t.includes("<body")&&(n=!0)}t.enqueue(e)},flush(o){if(!r||!n){let s=[r?null:"html",n?null:"body"].filter(ee.v);o.enqueue(en(`<script>self.__next_root_layout_missing_tags_error=${JSON.stringify({missingTags:s,assetPrefix:e??"",tree:t()})}</script>`))}}})}(a.assetPrefix,a.getTree):null].filter(ee.v);return p.reduce((e,t)=>e.pipeThrough(t),e)}let ed=S().createContext({deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1});var eu=r("./dist/compiled/strip-ansi/index.js"),ec=r.n(eu),ep=r("./dist/esm/client/components/app-router-headers.js");let ef=["__nextFallback","__nextLocale","__nextInferredLocaleFromDefault","__nextDefaultLocale","__nextIsNotFound",ep.H4],em=(0,x.createContext)(null),eh=(0,x.createContext)(null),eg=(0,x.createContext)(null),ev=["(..)(..)","(.)","(..)","(...)"],ey=/[|\\{}()[\]^$+*?.-]/,eb=/[|\\{}()[\]^$+*?.-]/g;function ex(e){return ey.test(e)?e.replace(eb,"\\$&"):e}function eS(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function ew(e){let{children:t,router:r,...n}=e,o=(0,x.useRef)(n.isAutoExport),s=(0,x.useMemo)(()=>{let e;let t=o.current;if(t&&(o.current=!1),W(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return S().createElement(eh.Provider,{value:s},t)}!function(e){e.LAZY_INITIALIZED="LAZYINITIALIZED",e.DATA_FETCH="DATAFETCH",e.READY="READY"}(s||(s={}));let e_=S().createContext(null),eE=S().createContext(null),eP=S().createContext(null),ej=S().createContext(null),eT="<!DOCTYPE html>";function eC(){throw Error('No router instance found. you should only use "next/router" inside the client side of your app. https://nextjs.org/docs/messages/no-router-instance')}async function eR(e){let t=await _().renderToReadableStream(e);return await t.allReady,ei(t)}r("./dist/esm/server/node-polyfill-web-streams.js"),e=r("./dist/esm/server/api-utils/node.js").RR,t=r("./dist/esm/build/output/log.js").ZK,o=r("./dist/esm/server/post-process.js").X;class e${constructor(e,t,r,{isFallback:n},o,s,a,i,l,d,u,c){this.route=e.replace(/\/$/,"")||"/",this.pathname=e,this.query=t,this.asPath=r,this.isFallback=n,this.basePath=s,this.locale=a,this.locales=i,this.defaultLocale=l,this.isReady=o,this.domainLocales=d,this.isPreview=!!u,this.isLocaleDomain=!!c}push(){eC()}replace(){eC()}reload(){eC()}back(){eC()}forward(){eC()}prefetch(){eC()}beforePopState(){eC()}}function eA(e,t,r){return S().createElement(e,{Component:t,...r})}let eN=(e,t)=>{let r=`invalid-${e.toLocaleLowerCase()}-value`;return`Additional keys were returned from \`${e}\`. Properties intended for your component must be nested under the \`props\` key, e.g.:

	return { props: { title: 'My Title', content: '...' } }

Keys that need to be moved: ${t.join(", ")}.
Read more: https://nextjs.org/docs/messages/${r}`};function ek(e,t,r){let{destination:n,permanent:o,statusCode:s,basePath:a}=e,i=[],l=void 0!==s,d=void 0!==o;d&&l?i.push("`permanent` and `statusCode` can not both be provided"):d&&"boolean"!=typeof o?i.push("`permanent` must be `true` or `false`"):l&&!Y.has(s)&&i.push(`\`statusCode\` must undefined or one of ${[...Y].join(", ")}`);let u=typeof n;"string"!==u&&i.push(`\`destination\` should be string but received ${u}`);let c=typeof a;if("undefined"!==c&&"boolean"!==c&&i.push(`\`basePath\` should be undefined or a false, received ${c}`),i.length>0)throw Error(`Invalid redirect object returned from ${r} for ${t.url}
`+i.join(" and ")+"\nSee more info here: https://nextjs.org/docs/messages/invalid-redirect-gssp")}async function eO(n,s,a,i,l,d){var u;let c,p,f;(0,y.gk)({req:n},"cookies",(0,b.a)(n.headers));let m={};m.assetQueryString=l.dev?l.assetQueryString||`?ts=${Date.now()}`:"",l.deploymentId&&(m.assetQueryString+=`${m.assetQueryString?"&":"?"}dpl=${l.deploymentId}`),i=Object.assign({},i);let{err:h,dev:g=!1,ampPath:v="",pageConfig:x={},buildManifest:w,reactLoadableManifest:T,ErrorDebug:C,getStaticProps:R,getStaticPaths:$,getServerSideProps:M,isDataReq:L,params:q,previewProps:I,basePath:F,images:D,runtime:B}=l,{App:G}=d,J=m.assetQueryString,Y=d.Document,Q=l.Component,ee=!!i.__nextFallback,en=i.__nextNotFoundSrcPage;!function(e){for(let t of ef)delete e[t]}(i);let eo=!!R,es=eo&&l.nextExport,eu=G.getInitialProps===G.origGetInitialProps,ep=!!(null==Q?void 0:Q.getInitialProps),eh=null==Q?void 0:Q.unstable_scriptLoader,ey=W(a),eb="/_error"===a&&Q.getInitialProps===Q.origGetInitialProps;l.nextExport&&ep&&!eb&&t(`Detected getInitialProps on page '${a}' while running export. It's recommended to use getStaticProps which has a more correct behavior for static exporting.
Read more: https://nextjs.org/docs/messages/get-initial-props-export`);let eE=!ep&&eu&&!eo&&!M;if(ep&&eo)throw Error(P.wh+` ${a}`);if(ep&&M)throw Error(P.Wo+` ${a}`);if(M&&eo)throw Error(P.oL+` ${a}`);if(M&&"export"===l.nextConfigOutput)throw Error('getServerSideProps cannot be used with "output: export". See more info here: https://nextjs.org/docs/advanced-features/static-html-export');if($&&!ey)throw Error(`getStaticPaths is only allowed for dynamic SSG pages and was found on '${a}'.
Read more: https://nextjs.org/docs/messages/non-dynamic-getstaticpaths-usage`);if($&&!eo)throw Error(`getStaticPaths was added without a getStaticProps in ${a}. Without getStaticProps, getStaticPaths does nothing`);if(eo&&ey&&!$)throw Error(`getStaticPaths is required for dynamic SSG pages and is missing for '${a}'.
Read more: https://nextjs.org/docs/messages/invalid-getstaticpaths-value`);let eP=l.resolvedAsPath||n.url;if(g){let{isValidElementType:e}=r("./dist/compiled/react-is/index.js");if(!e(Q))throw Error(`The default export is not a React Component in page: "${a}"`);if(!e(G))throw Error('The default export is not a React Component in page: "/_app"');if(!e(Y))throw Error('The default export is not a React Component in page: "/_document"');if((eE||ee)&&(i={...i.amp?{amp:i.amp}:{}},eP=`${a}${n.url.endsWith("/")&&"/"!==a&&!ey?"/":""}`,n.url=a),"/404"===a&&(ep||M))throw Error(`\`pages/404\` ${P.Ei}`);if(j.Er.includes(a)&&(ep||M))throw Error(`\`pages${a}\` ${P.Ei}`)}for(let e of["getStaticProps","getServerSideProps","getStaticPaths"])if(null==Q?void 0:Q[e])throw Error(`page ${a} ${e} ${P.lk}`);await H.preloadAll(),(eo||M)&&!ee&&I&&(f=!1!==(c=e(n,s,I)));let ej=!!(M||ep||!eu&&!eo),eC=new e$(a,i,eP,{isFallback:ee},ej,F,l.locale,l.locales,l.defaultLocale,l.domainLocales,f,V(n,"__nextIsLocaleDomain")),eO={back(){eC.back()},forward(){eC.forward()},refresh(){eC.reload()},push(e,t){let{scroll:r}=void 0===t?{}:t;eC.push(e,void 0,{scroll:r})},replace(e,t){let{scroll:r}=void 0===t?{}:t;eC.replace(e,void 0,{scroll:r})},prefetch(e){eC.prefetch(e)}},eM={},eL=(0,E.createStyleRegistry)(),eq={ampFirst:!0===x.amp,hasQuery:!!i.amp,hybrid:"hybrid"===x.amp},eI=function(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}(eq),eF=function(e){void 0===e&&(e=!1);let t=[S().createElement("meta",{charSet:"utf-8"})];return e||t.push(S().createElement("meta",{name:"viewport",content:"width=device-width"})),t}(eI),eD=[],eH={};eh&&(eH.beforeInteractive=[].concat(eh()).filter(e=>"beforeInteractive"===e.props.strategy).map(e=>e.props));let ez=({children:e})=>{var t;return S().createElement(e_.Provider,{value:eO},S().createElement(em.Provider,{value:eC.isReady&&eC.query?(t=eC.asPath,new URL(t,"http://n").searchParams):new URLSearchParams},S().createElement(ew,{router:eC,isAutoExport:eE},S().createElement(eg.Provider,{value:function(e){if(!e.isReady||!e.query)return null;let t={},r=function(e){let{parameterizedRoute:t,groups:r}=function(e){let t=(e.replace(/\/$/,"")||"/").slice(1).split("/"),r={},n=1;return{parameterizedRoute:t.map(e=>{let t=ev.find(t=>e.startsWith(t)),o=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&o){let{key:e,optional:s,repeat:a}=eS(o[1]);return r[e]={pos:n++,repeat:a,optional:s},"/"+ex(t)+"([^/]+?)"}if(!o)return"/"+ex(e);{let{key:e,repeat:t,optional:s}=eS(o[1]);return r[e]={pos:n++,repeat:t,optional:s},t?s?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}(e.pathname),n=Object.keys(r.groups);for(let r of n)t[r]=e.query[r];return t}(eC)},S().createElement(z.Provider,{value:eC},S().createElement(N.Provider,{value:eq},S().createElement(k.Provider,{value:{updateHead:e=>{eF=e},updateScripts:e=>{eM=e},scripts:eH,mountedInstances:new Set}},S().createElement(O.Provider,{value:e=>eD.push(e)},S().createElement(E.StyleRegistry,{registry:eL},S().createElement(ed.Provider,{value:D},e))))))))))},eB=()=>null,eW=({children:e})=>S().createElement(S().Fragment,null,S().createElement(eB,null),S().createElement(ez,null,S().createElement(S().Fragment,null,g?S().createElement(S().Fragment,null,e,S().createElement(eB,null)):e,S().createElement(eB,null)))),eU={err:h,req:eE?void 0:n,res:eE?void 0:s,pathname:a,query:i,asPath:eP,locale:l.locale,locales:l.locales,defaultLocale:l.defaultLocale,AppTree:e=>S().createElement(eW,null,eA(G,Q,{...e,router:eC})),defaultGetInitialProps:async(e,t={})=>{let{html:r,head:n}=await e.renderPage({enhanceApp:e=>t=>S().createElement(e,t)}),o=eL.styles({nonce:t.nonce});return eL.flush(),{html:r,head:n,styles:o}}},eZ=!eo&&(l.nextExport||g&&(eE||ee)),eG=()=>{let e=eL.styles();return eL.flush(),S().createElement(S().Fragment,null,e)};if(p=await (0,U.nq)(G,{AppTree:eU.AppTree,Component:Q,router:eC,ctx:eU}),(eo||M)&&f&&(p.__N_PREVIEW=!0),eo&&(p[j.NO]=!0),eo&&!ee){let e;try{e=await (0,et.getTracer)().trace(er.xj.getStaticProps,{spanName:`getStaticProps ${a}`,attributes:{"next.route":a}},()=>R({...ey?{params:i}:void 0,...f?{draftMode:!0,preview:!0,previewData:c}:void 0,locales:l.locales,locale:l.locale,defaultLocale:l.defaultLocale}))}catch(e){throw e&&"ENOENT"===e.code&&delete e.code,e}if(null==e)throw Error(P.q6);let t=Object.keys(e).filter(e=>"revalidate"!==e&&"props"!==e&&"redirect"!==e&&"notFound"!==e);if(t.includes("unstable_revalidate"))throw Error(P.Eo);if(t.length)throw Error(eN("getStaticProps",t));if("notFound"in e&&e.notFound){if("/404"===a)throw Error('The /404 page can not return notFound in "getStaticProps", please remove it to continue!');m.isNotFound=!0}if("redirect"in e&&e.redirect&&"object"==typeof e.redirect){if(ek(e.redirect,n,"getStaticProps"),es)throw Error(`\`redirect\` can not be returned from getStaticProps during prerendering (${n.url})
See more info here: https://nextjs.org/docs/messages/gsp-redirect-during-prerender`);e.props={__N_REDIRECT:e.redirect.destination,__N_REDIRECT_STATUS:K(e.redirect)},void 0!==e.redirect.basePath&&(e.props.__N_REDIRECT_BASE_PATH=e.redirect.basePath),m.isRedirect=!0}if((g||es)&&!m.isNotFound&&!A(a,"getStaticProps",e.props))throw Error("invariant: getStaticProps did not return valid props. Please report this.");if("revalidate"in e){if(e.revalidate&&"export"===l.nextConfigOutput)throw Error('ISR cannot be used with "output: export". See more info here: https://nextjs.org/docs/advanced-features/static-html-export');if("number"==typeof e.revalidate){if(Number.isInteger(e.revalidate)){if(e.revalidate<=0)throw Error(`A page's revalidate option can not be less than or equal to zero for ${n.url}. A revalidate option of zero means to revalidate after _every_ request, and implies stale data cannot be tolerated.

To never revalidate, you can set revalidate to \`false\` (only ran once at build-time).
To revalidate as soon as possible, you can set the value to \`1\`.`);e.revalidate>31536e3&&console.warn(`Warning: A page's revalidate option was set to more than a year for ${n.url}. This may have been done in error.
To only run getStaticProps at build-time and not revalidate at runtime, you can set \`revalidate\` to \`false\`!`)}else throw Error(`A page's revalidate option must be seconds expressed as a natural number for ${n.url}. Mixed numbers, such as '${e.revalidate}', cannot be used.
Try changing the value to '${Math.ceil(e.revalidate)}' or using \`Math.ceil()\` if you're computing the value.`)}else if(!0===e.revalidate)e.revalidate=1;else if(!1===e.revalidate||void 0===e.revalidate)e.revalidate=!1;else throw Error(`A page's revalidate option must be seconds expressed as a natural number. Mixed numbers and strings cannot be used. Received '${JSON.stringify(e.revalidate)}' for ${n.url}`)}else e.revalidate=!1;if(p.pageProps=Object.assign({},p.pageProps,"props"in e?e.props:void 0),m.revalidate="revalidate"in e?e.revalidate:void 0,m.pageData=p,m.isNotFound)return new X(null,m)}if(M&&(p[j.uY]=!0),M&&!ee){let e;let t=!1;try{e=await (0,et.getTracer)().trace(er.xj.getServerSideProps,{spanName:`getServerSideProps ${a}`,attributes:{"next.route":a}},async()=>M({req:n,res:s,query:i,resolvedUrl:l.resolvedUrl,...ey?{params:q}:void 0,...!1!==c?{draftMode:!0,preview:!0,previewData:c}:void 0,locales:l.locales,locale:l.locale,defaultLocale:l.defaultLocale}))}catch(e){throw"object"==typeof e&&null!==e&&"name"in e&&"message"in e&&"ENOENT"===e.code&&delete e.code,e}if(null==e)throw Error(P.Lx);e.props instanceof Promise&&(t=!0);let r=Object.keys(e).filter(e=>"props"!==e&&"redirect"!==e&&"notFound"!==e);if(e.unstable_notFound)throw Error(`unstable_notFound has been renamed to notFound, please update the field to continue. Page: ${a}`);if(e.unstable_redirect)throw Error(`unstable_redirect has been renamed to redirect, please update the field to continue. Page: ${a}`);if(r.length)throw Error(eN("getServerSideProps",r));if("notFound"in e&&e.notFound){if("/404"===a)throw Error('The /404 page can not return notFound in "getStaticProps", please remove it to continue!');return m.isNotFound=!0,new X(null,m)}if("redirect"in e&&"object"==typeof e.redirect&&(ek(e.redirect,n,"getServerSideProps"),e.props={__N_REDIRECT:e.redirect.destination,__N_REDIRECT_STATUS:K(e.redirect)},void 0!==e.redirect.basePath&&(e.props.__N_REDIRECT_BASE_PATH=e.redirect.basePath),m.isRedirect=!0),t&&(e.props=await e.props),(g||es)&&!A(a,"getServerSideProps",e.props))throw Error("invariant: getServerSideProps did not return valid props. Please report this.");p.pageProps=Object.assign({},p.pageProps,e.props),m.pageData=p}if(L&&!eo||m.isRedirect)return new X(JSON.stringify(p),m);if(ee&&(p.pageProps={}),(0,U.aC)(s)&&!eo)return new X(null,m);let eJ=w;if(eE&&ey){let e;let t=(e=(function(e){let t=/^\/index(\/|$)/.test(e)&&!W(e)?"/index"+e:"/"===e?"/index":e.startsWith("/")?e:"/"+e;{let{posix:e}=r("path"),n=e.normalize(t);if(n!==t)throw new U.KM("Requested and resolved page mismatch: "+t+" "+n)}return t})(a).replace(/\\/g,"/")).startsWith("/index/")&&!W(e)?e.slice(6):"/index"!==e?e:"/";t in eJ.pages&&(eJ={...eJ,pages:{...eJ.pages,[t]:[...eJ.pages[t],...eJ.lowPriorityFiles.filter(e=>e.includes("_buildManifest"))]},lowPriorityFiles:eJ.lowPriorityFiles.filter(e=>!e.includes("_buildManifest"))})}let eV=({children:e})=>eI?e:S().createElement("div",{id:"__next"},e),eY=async()=>{let e,t,r;async function n(e){let t=async(t={})=>{if(eU.err&&C){e&&e(G,Q);let t=await eR(S().createElement(eV,null,S().createElement(C,{error:eU.err})));return{html:t,head:eF}}if(g&&(p.router||p.Component))throw Error("'router' and 'Component' can not be returned in getInitialProps from _app.js https://nextjs.org/docs/messages/cant-override-next-props");let{App:r,Component:n}="function"==typeof t?{App:G,Component:t(Q)}:{App:t.enhanceApp?t.enhanceApp(G):G,Component:t.enhanceComponent?t.enhanceComponent(Q):Q};if(e)return e(r,n).then(async e=>{await e.allReady;let t=await ei(e);return{html:t,head:eF}});let o=await eR(S().createElement(eV,null,S().createElement(eW,null,eA(r,n,{...p,router:eC}))));return{html:o,head:eF}},r={...eU,renderPage:t},n=await (0,U.nq)(Y,r);if((0,U.aC)(s)&&!eo)return null;if(!n||"string"!=typeof n.html){let e=`"${(0,U.Gf)(Y)}.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string`;throw Error(e)}return{docProps:n,documentCtx:r}}Y[j.wU];let o=(e,t)=>{let r=e||G,n=t||Q;return eU.err&&C?S().createElement(eV,null,S().createElement(C,{error:eU.err})):S().createElement(eV,null,S().createElement(eW,null,eA(r,n,{...p,router:eC})))},a=async(e,t)=>{let r=o(e,t);return await function({ReactDOMServer:e,element:t,streamOptions:r}){return(0,et.getTracer)().trace(er.k0.renderToReadableStream,async()=>e.renderToReadableStream(t,r))}({ReactDOMServer:_(),element:r})},i=(0,et.getTracer)().wrap(er.xj.createBodyResult,(e,t)=>{let r=async()=>eR(eG());return el(e,{suffix:t,dataStream:void 0,generateStaticHTML:!0,getServerInsertedHTML:r,serverInsertedHTMLToHead:!1})}),l=!!Y.getInitialProps;if(l){if(null===(t=await n(a)))return null;let{docProps:r}=t;e=e=>i(ea(r.html+e))}else{let r=await a(G,Q);e=e=>i(r,e),t={}}let{docProps:d}=t||{};return l?(r=d.styles,eF=d.head):(r=eL.styles(),eL.flush()),{bodyResult:e,documentElement:e=>S().createElement(Y,{...e,...d}),head:eF,headTags:[],styles:r}};null==(u=(0,et.getTracer)().getRootSpanAttributes())||u.set("next.route",l.page);let eK=await (0,et.getTracer)().trace(er.xj.renderDocument,{spanName:`render route (pages) ${l.page}`,attributes:{"next.route":l.page}},async()=>eY());if(!eK)return new X(null,m);let eQ=new Set,eX=new Set;for(let e of eD){let t=T[e];t&&(eQ.add(t.id),t.files.forEach(e=>{eX.add(e)}))}let e0=eq.hybrid,{assetPrefix:e1,buildId:e4,customServer:e3,defaultLocale:e2,disableOptimizedLoading:e9,domainLocales:e5,locale:e6,locales:e8,runtimeConfig:e7}=l,te={__NEXT_DATA__:{props:p,page:a,query:i,buildId:e4,assetPrefix:""===e1?void 0:e1,runtimeConfig:e7,nextExport:!0===eZ||void 0,autoExport:!0===eE||void 0,isFallback:ee,dynamicIds:0===eQ.size?void 0:Array.from(eQ),err:l.err?function(e,t){if(e){let e;return e="server",e=r("next/dist/compiled/@next/react-dev-overlay/dist/middleware").getErrorSource(t)||"server",{name:t.name,source:e,message:ec()(t.message),stack:t.stack,digest:t.digest}}return{name:"Internal Server Error.",message:"500 - Internal Server Error.",statusCode:500}}(g,l.err):void 0,gsp:!!R||void 0,gssp:!!M||void 0,customServer:e3,gip:!!ep||void 0,appGip:!eu||void 0,locale:e6,locales:e8,defaultLocale:e2,domainLocales:e5,isPreview:!0===f||void 0,notFoundSrcPage:en&&g?en:void 0},strictNextHead:l.strictNextHead,buildManifest:eJ,docComponentsRendered:{},dangerousAsPath:eC.asPath,canonicalBase:!l.ampPath&&V(n,"__nextStrippedLocale")?`${l.canonicalBase||""}/${l.locale}`:l.canonicalBase,ampPath:v,inAmpMode:eI,isDevelopment:!!g,hybridAmp:e0,dynamicImports:Array.from(eX),assetPrefix:e1,unstable_runtimeJS:x.unstable_runtimeJS,unstable_JsPreload:x.unstable_JsPreload,assetQueryString:J,scriptLoader:eM,locale:e6,disableOptimizedLoading:e9,head:eK.head,headTags:eK.headTags,styles:eK.styles,crossOrigin:l.crossOrigin,optimizeCss:l.optimizeCss,optimizeFonts:l.optimizeFonts,nextConfigOutput:l.nextConfigOutput,nextScriptWorkers:l.nextScriptWorkers,runtime:B,largePageDataBytes:l.largePageDataBytes,nextFontManifest:l.nextFontManifest},tt=S().createElement(N.Provider,{value:eq},S().createElement(Z.Provider,{value:te},eK.documentElement(te))),tr=await (0,et.getTracer)().trace(er.xj.renderToString,async()=>eR(tt)),[tn,to]=tr.split("<next-js-internal-body-render-target></next-js-internal-body-render-target>"),ts="";tr.startsWith(eT)||(ts+=eT),ts+=tn,eI&&(ts+="<!-- __NEXT_DATA__ -->");let ta=[ea(ts),await eK.bodyResult(to)],ti=await ei(function(e){let{readable:t,writable:r}=new TransformStream,n=Promise.resolve();for(let t=0;t<e.length;++t)n=n.then(()=>e[t].pipeTo(r,{preventClose:t+1<e.length}));return t}(ta)),tl=await o(a,ti,l,{inAmpMode:eI,hybridAmp:e0});return new X(tl,m)}let eM=(e,t,r,n,o)=>eO(e,t,r,n,o,o),eL=S().createContext(null);function eq(e){let t=(0,x.useContext)(eL);t&&t(e)}class eI extends v{constructor(e){super(e),this.components=e.components}render(e,t,r){return eO(e,t,r.page,r.query,r.renderOpts,{App:this.components.App,Document:this.components.Document})}}let eF={contexts:g},eD=eI})(),module.exports=n})();