next 15.4.0-canary.40 → 15.4.0-canary.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/next +1 -1
- package/dist/build/define-env.d.ts +1 -2
- package/dist/build/define-env.js +19 -5
- package/dist/build/define-env.js.map +1 -1
- package/dist/build/index.js +2 -2
- package/dist/build/swc/index.js +1 -2
- package/dist/build/swc/index.js.map +1 -1
- package/dist/build/turbopack-build/impl.js +50 -0
- package/dist/build/turbopack-build/impl.js.map +1 -1
- package/dist/build/webpack-config.js +2 -3
- package/dist/build/webpack-config.js.map +1 -1
- package/dist/client/app-bootstrap.js +1 -1
- package/dist/client/index.js +1 -1
- package/dist/compiled/next-server/pages-turbo.runtime.prod.js +2 -2
- package/dist/compiled/next-server/pages-turbo.runtime.prod.js.map +1 -1
- package/dist/compiled/next-server/pages.runtime.prod.js +2 -2
- package/dist/compiled/next-server/pages.runtime.prod.js.map +1 -1
- package/dist/compiled/next-server/server.runtime.prod.js +1 -1
- package/dist/compiled/next-server/server.runtime.prod.js.map +1 -1
- package/dist/esm/build/define-env.js +19 -5
- package/dist/esm/build/define-env.js.map +1 -1
- package/dist/esm/build/index.js +2 -2
- package/dist/esm/build/swc/index.js +1 -2
- package/dist/esm/build/swc/index.js.map +1 -1
- package/dist/esm/build/turbopack-build/impl.js +9 -0
- package/dist/esm/build/turbopack-build/impl.js.map +1 -1
- package/dist/esm/build/webpack-config.js +2 -3
- package/dist/esm/build/webpack-config.js.map +1 -1
- package/dist/esm/client/app-bootstrap.js +1 -1
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/server/config-schema.js +1 -0
- package/dist/esm/server/config-schema.js.map +1 -1
- package/dist/esm/server/config-shared.js.map +1 -1
- package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/esm/server/lib/app-info-log.js +1 -1
- package/dist/esm/server/lib/incremental-cache/index.js +4 -2
- package/dist/esm/server/lib/incremental-cache/index.js.map +1 -1
- package/dist/esm/server/lib/router-utils/setup-dev-bundler.js +0 -1
- package/dist/esm/server/lib/router-utils/setup-dev-bundler.js.map +1 -1
- package/dist/esm/server/lib/start-server.js +1 -1
- package/dist/esm/shared/lib/canary-only.js +1 -1
- package/dist/server/config-schema.js +1 -0
- package/dist/server/config-schema.js.map +1 -1
- package/dist/server/config-shared.d.ts +5 -0
- package/dist/server/config-shared.js.map +1 -1
- package/dist/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/server/lib/app-info-log.js +1 -1
- package/dist/server/lib/incremental-cache/index.js +4 -2
- package/dist/server/lib/incremental-cache/index.js.map +1 -1
- package/dist/server/lib/router-utils/setup-dev-bundler.js +0 -1
- package/dist/server/lib/router-utils/setup-dev-bundler.js.map +1 -1
- package/dist/server/lib/start-server.js +1 -1
- package/dist/shared/lib/canary-only.js +1 -1
- package/dist/telemetry/anonymous-meta.js +1 -1
- package/dist/telemetry/events/session-stopped.js +2 -2
- package/dist/telemetry/events/version.js +2 -2
- package/package.json +15 -15
@@ -1,6 +1,6 @@
|
|
1
|
-
(()=>{var e={"./dist/compiled/@edge-runtime/cookies/index.js":function(e){"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,o={},a={RequestCookies:()=>f,ResponseCookies:()=>h,parseCookie:()=>u,parseSetCookie:()=>c,stringifyCookie:()=>l};for(var s in a)t(o,s,{get:a[s],enumerable:!0});function l(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}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function u(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,i]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=i?i:"true"))}catch{}}return t}function c(e){if(!e)return;let[[t,r],...n]=u(e),{domain:i,expires:o,httponly:a,maxage:s,path:l,samesite:c,secure:f,partitioned:h,priority:m}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,y,v={name:t,value:decodeURIComponent(r),domain:i,...o&&{expires:new Date(o)},...a&&{httpOnly:!0},..."string"==typeof s&&{maxAge:Number(s)},path:l,...c&&{sameSite:d.includes(g=(g=c).toLowerCase())?g:void 0},...f&&{secure:!0},...m&&{priority:p.includes(y=(y=m).toLowerCase())?y:void 0},...h&&{partitioned:!0}};let e={};for(let t in v)v[t]&&(e[t]=v[t]);return e}}e.exports=((e,o,a,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let a of n(o))i.call(e,a)||void 0===a||t(e,a,{get:()=>o[a],enumerable:!(s=r(o,a))||s.enumerable});return e})(t({},"__esModule",{value:!0}),o);var d=["strict","lax","none"],p=["low","medium","high"],f=class{constructor(e){this._parsed=new Map,this._headers=e;let t=e.get("cookie");if(t)for(let[e,r]of u(t))this._parsed.set(e,{name:e,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])=>l(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])=>l(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("; ")}},h=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;let i=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(let e of Array.isArray(i)?i:function(e){if(!e)return[];var t,r,n,i,o,a=[],s=0;function l(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;l();)if(","===(r=e.charAt(s))){for(n=s,s+=1,l(),i=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=i,a.push(e.substring(t,n)),t=s):s=n+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}(i)){let t=c(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,i=this._parsed;return i.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=l(r);t.append("set-cookie",e)}}(i,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,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(l).join("; ")}}},"./dist/compiled/cookie/index.js":function(e){(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var t,r,n,i,o={};o.parse=function(e,r){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var i={},o=e.split(n),a=(r||{}).decode||t,s=0;s<o.length;s++){var l=o[s],u=l.indexOf("=");if(!(u<0)){var c=l.substr(0,u).trim(),d=l.substr(++u,l.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),void 0==i[c]&&(i[c]=function(e,t){try{return t(e)}catch(t){return e}}(d,a))}}return i},o.serialize=function(e,t,n){var o=n||{},a=o.encode||r;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var s=a(t);if(s&&!i.test(s))throw TypeError("argument val is invalid");var l=e+"="+s;if(null!=o.maxAge){var u=o.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(o.domain){if(!i.test(o.domain))throw TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!i.test(o.path))throw TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invalid");l+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(l+="; HttpOnly"),o.secure&&(l+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.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},t=decodeURIComponent,r=encodeURIComponent,n=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,e.exports=o})()},"./dist/compiled/path-to-regexp/index.js":function(e){(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var t={};(()=>{function e(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var n=e[r];if("*"===n||"+"===n||"?"===n){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===n){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===n){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===n){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===n){for(var i="",o=r+1;o<e.length;){var a=e.charCodeAt(o);if(a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122||95===a){i+=e[o++];continue}break}if(!i)throw TypeError("Missing parameter name at "+r);t.push({type:"NAME",index:r,value:i}),r=o;continue}if("("===n){var s=1,l="",o=r+1;if("?"===e[o])throw TypeError('Pattern cannot start with "?" at '+o);for(;o<e.length;){if("\\"===e[o]){l+=e[o++]+e[o++];continue}if(")"===e[o]){if(0==--s){o++;break}}else if("("===e[o]&&(s++,"?"!==e[o+1]))throw TypeError("Capturing groups are not allowed at "+o);l+=e[o++]}if(s)throw TypeError("Unbalanced pattern at "+r);if(!l)throw TypeError("Missing pattern at "+r);t.push({type:"PATTERN",index:r,value:l}),r=o;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),n=t.prefixes,o=void 0===n?"./":n,a="[^"+i(t.delimiter||"/#?")+"]+?",s=[],l=0,u=0,c="",d=function(e){if(u<r.length&&r[u].type===e)return r[u++].value},p=function(e){var t=d(e);if(void 0!==t)return t;var n=r[u];throw TypeError("Unexpected "+n.type+" at "+n.index+", expected "+e)},f=function(){for(var e,t="";e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t};u<r.length;){var h=d("CHAR"),m=d("NAME"),g=d("PATTERN");if(m||g){var y=h||"";-1===o.indexOf(y)&&(c+=y,y=""),c&&(s.push(c),c=""),s.push({name:m||l++,prefix:y,suffix:"",pattern:g||a,modifier:d("MODIFIER")||""});continue}var v=h||d("ESCAPED_CHAR");if(v){c+=v;continue}if(c&&(s.push(c),c=""),d("OPEN")){var y=f(),b=d("NAME")||"",x=d("PATTERN")||"",E=f();p("CLOSE"),s.push({name:b||(x?l++:""),pattern:b&&!x?a:x,prefix:y,suffix:E,modifier:d("MODIFIER")||""});continue}p("END")}return s}function r(e,t){void 0===t&&(t={});var r=o(t),n=t.encode,i=void 0===n?function(e){return e}:n,a=t.validate,s=void 0===a||a,l=e.map(function(e){if("object"==typeof e)return RegExp("^(?:"+e.pattern+")$",r)});return function(t){for(var r="",n=0;n<e.length;n++){var o=e[n];if("string"==typeof o){r+=o;continue}var a=t?t[o.name]:void 0,u="?"===o.modifier||"*"===o.modifier,c="*"===o.modifier||"+"===o.modifier;if(Array.isArray(a)){if(!c)throw TypeError('Expected "'+o.name+'" to not repeat, but got an array');if(0===a.length){if(u)continue;throw TypeError('Expected "'+o.name+'" to not be empty')}for(var d=0;d<a.length;d++){var p=i(a[d],o);if(s&&!l[n].test(p))throw TypeError('Expected all "'+o.name+'" to match "'+o.pattern+'", but got "'+p+'"');r+=o.prefix+p+o.suffix}continue}if("string"==typeof a||"number"==typeof a){var p=i(String(a),o);if(s&&!l[n].test(p))throw TypeError('Expected "'+o.name+'" to match "'+o.pattern+'", but got "'+p+'"');r+=o.prefix+p+o.suffix;continue}if(!u){var f=c?"an array":"a string";throw TypeError('Expected "'+o.name+'" to be '+f)}}return r}}function n(e,t,r){void 0===r&&(r={});var n=r.decode,i=void 0===n?function(e){return e}:n;return function(r){var n=e.exec(r);if(!n)return!1;for(var o=n[0],a=n.index,s=Object.create(null),l=1;l<n.length;l++)!function(e){if(void 0!==n[e]){var r=t[e-1];"*"===r.modifier||"+"===r.modifier?s[r.name]=n[e].split(r.prefix+r.suffix).map(function(e){return i(e,r)}):s[r.name]=i(n[e],r)}}(l);return{path:o,index:a,params:s}}}function i(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function o(e){return e&&e.sensitive?"":"i"}function a(e,t,r){void 0===r&&(r={});for(var n=r.strict,a=void 0!==n&&n,s=r.start,l=r.end,u=r.encode,c=void 0===u?function(e){return e}:u,d="["+i(r.endsWith||"")+"]|$",p="["+i(r.delimiter||"/#?")+"]",f=void 0===s||s?"^":"",h=0;h<e.length;h++){var m=e[h];if("string"==typeof m)f+=i(c(m));else{var g=i(c(m.prefix)),y=i(c(m.suffix));if(m.pattern)if(t&&t.push(m),g||y)if("+"===m.modifier||"*"===m.modifier){var v="*"===m.modifier?"?":"";f+="(?:"+g+"((?:"+m.pattern+")(?:"+y+g+"(?:"+m.pattern+"))*)"+y+")"+v}else f+="(?:"+g+"("+m.pattern+")"+y+")"+m.modifier;else f+="("+m.pattern+")"+m.modifier;else f+="(?:"+g+y+")"+m.modifier}}if(void 0===l||l)a||(f+=p+"?"),f+=r.endsWith?"(?="+d+")":"$";else{var b=e[e.length-1],x="string"==typeof b?p.indexOf(b[b.length-1])>-1:void 0===b;a||(f+="(?:"+p+"(?="+d+"))?"),x||(f+="(?="+p+"|"+d+")")}return new RegExp(f,o(r))}function s(t,r,n){if(t instanceof RegExp){if(!r)return t;var i=t.source.match(/\((?!\?)/g);if(i)for(var l=0;l<i.length;l++)r.push({name:l,prefix:"",suffix:"",modifier:"",pattern:""});return t}return Array.isArray(t)?RegExp("(?:"+t.map(function(e){return s(e,r,n).source}).join("|")+")",o(n)):a(e(t,n),r,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=e,t.compile=function(t,n){return r(e(t,n),n)},t.tokensToFunction=r,t.match=function(e,t){var r=[];return n(s(e,r,t),r,t)},t.regexpToFunction=n,t.tokensToRegexp=a,t.pathToRegexp=s})(),e.exports=t})()},"./dist/compiled/react-is/cjs/react-is.production.js":function(e,t){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler");Symbol.for("react.provider");var s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case a:case o:case c:case d:case h:return e;default:switch(e=e&&e.$$typeof){case l:case u:case f:case p:case s:return e;default:return t}}case n:return t}}}t.ContextConsumer=s,t.ContextProvider=l,t.Element=r,t.ForwardRef=u,t.Fragment=i,t.Lazy=f,t.Memo=p,t.Portal=n,t.Profiler=a,t.StrictMode=o,t.Suspense=c,t.SuspenseList=d,t.isContextConsumer=function(e){return g(e)===s},t.isContextProvider=function(e){return g(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return g(e)===u},t.isFragment=function(e){return g(e)===i},t.isLazy=function(e){return g(e)===f},t.isMemo=function(e){return g(e)===p},t.isPortal=function(e){return g(e)===n},t.isProfiler=function(e){return g(e)===a},t.isStrictMode=function(e){return g(e)===o},t.isSuspense=function(e){return g(e)===c},t.isSuspenseList=function(e){return g(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===o||e===c||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===l||e.$$typeof===s||e.$$typeof===u||e.$$typeof===m||void 0!==e.getModuleId)||!1},t.typeOf=g},"./dist/compiled/react-is/index.js":function(e,t,r){"use strict";e.exports=r("./dist/compiled/react-is/cjs/react-is.production.js")},"./dist/compiled/strip-ansi/index.js":function(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 i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab=__dirname+"/",e.exports=n(532)})()},"./dist/esm/build/output/log.js":function(e,t,r){"use strict";var n;r.d(t,{ZK:()=>y});let{env:i,stdout:o}=(null==(n=globalThis)?void 0:n.process)??{},a=i&&!i.NO_COLOR&&(i.FORCE_COLOR||(null==o?void 0:o.isTTY)&&!i.CI&&"dumb"!==i.TERM),s=(e,t,r,n)=>{let i=e.substring(0,n)+r,o=e.substring(n+t.length),a=o.indexOf(t);return~a?i+s(o,t,r,a):i+o},l=(e,t,r=e)=>a?n=>{let i=""+n,o=i.indexOf(t,e.length);return~o?e+s(i,t,r,o)+t:e+i+t}:String,u=l("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m");l("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"),l("\x1b[3m","\x1b[23m"),l("\x1b[4m","\x1b[24m"),l("\x1b[7m","\x1b[27m"),l("\x1b[8m","\x1b[28m"),l("\x1b[9m","\x1b[29m"),l("\x1b[30m","\x1b[39m");let c=l("\x1b[31m","\x1b[39m"),d=l("\x1b[32m","\x1b[39m"),p=l("\x1b[33m","\x1b[39m");l("\x1b[34m","\x1b[39m");let f=l("\x1b[35m","\x1b[39m");l("\x1b[38;2;173;127;168m","\x1b[39m"),l("\x1b[36m","\x1b[39m");let h=l("\x1b[37m","\x1b[39m");l("\x1b[90m","\x1b[39m"),l("\x1b[40m","\x1b[49m"),l("\x1b[41m","\x1b[49m"),l("\x1b[42m","\x1b[49m"),l("\x1b[43m","\x1b[49m"),l("\x1b[44m","\x1b[49m"),l("\x1b[45m","\x1b[49m"),l("\x1b[46m","\x1b[49m"),l("\x1b[47m","\x1b[49m");let m={wait:h(u("○")),error:c(u("⨯")),warn:p(u("⚠")),ready:"▲",info:h(u(" ")),event:d(u("✓")),trace:f(u("\xbb"))},g={log:"log",warn:"warn",error:"error"};function y(...e){!function(e,...t){(""===t[0]||void 0===t[0])&&1===t.length&&t.shift();let r=e in g?g[e]:"log",n=m[e];0===t.length?console[r](""):1===t.length&&"string"==typeof t[0]?console[r](" "+n+" "+t[0]):console[r](" "+n,...t)}("warn",...e)}new class{constructor(e,t){this.cache=new Map,this.sizes=new Map,this.totalSize=0,this.maxSize=e,this.calculateSize=t||(()=>1)}set(e,t){if(!e||!t)return;let r=this.calculateSize(t);if(r>this.maxSize)return void console.warn("Single item size exceeds maxSize");this.cache.has(e)&&(this.totalSize-=this.sizes.get(e)||0),this.cache.set(e,t),this.sizes.set(e,r),this.totalSize+=r,this.touch(e)}has(e){return!!e&&(this.touch(e),!!this.cache.get(e))}get(e){if(!e)return;let t=this.cache.get(e);if(void 0!==t)return this.touch(e),t}touch(e){let t=this.cache.get(e);void 0!==t&&(this.cache.delete(e),this.cache.set(e,t),this.evictIfNecessary())}evictIfNecessary(){for(;this.totalSize>this.maxSize&&this.cache.size>0;)this.evictLeastRecentlyUsed()}evictLeastRecentlyUsed(){let e=this.cache.keys().next().value;if(void 0!==e){let t=this.sizes.get(e)||0;this.totalSize-=t,this.cache.delete(e),this.sizes.delete(e)}}reset(){this.cache.clear(),this.sizes.clear(),this.totalSize=0}keys(){return[...this.cache.keys()]}remove(e){this.cache.has(e)&&(this.totalSize-=this.sizes.get(e)||0,this.cache.delete(e),this.sizes.delete(e))}clear(){this.cache.clear(),this.sizes.clear(),this.totalSize=0}get size(){return this.cache.size}get currentSize(){return this.totalSize}}(1e4,e=>e.length)},"./dist/esm/lib/constants.js":function(e,t,r){"use strict";r.d(t,{BR:()=>s,Ei:()=>d,Eo:()=>h,Lx:()=>f,Qq:()=>a,Wo:()=>u,dN:()=>n,lk:()=>m,oL:()=>c,q6:()=>p,u7:()=>i,wh:()=>l,y3:()=>o});let n="nxtP",i="nxtI",o="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",s=31536e3,l="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",u="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",c="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",d="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",p="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",f="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",h="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",m="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",g={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"};({...g,GROUP:{builtinReact:[g.reactServerComponents,g.actionBrowser],serverOnly:[g.reactServerComponents,g.actionBrowser,g.instrument,g.middleware],neutralTarget:[g.apiNode,g.apiEdge],clientOnly:[g.serverSideRendering,g.appPagesBrowser],bundled:[g.reactServerComponents,g.actionBrowser,g.serverSideRendering,g.appPagesBrowser,g.shared,g.instrument,g.middleware],appPages:[g.reactServerComponents,g.serverSideRendering,g.appPagesBrowser,g.actionBrowser]}})},"./dist/esm/server/api-utils/index.js":function(e,t,r){"use strict";r.d(t,{Di:()=>l,Iq:()=>o,Lm:()=>c,QM:()=>s,dS:()=>a,gk:()=>d});var n=r("./dist/esm/server/web/spec-extension/adapters/headers.js"),i=r("./dist/esm/lib/constants.js");function o(e,t){let r=n.h.from(e.headers);return{isOnDemandRevalidate:r.get(i.y3)===t.previewModeId,revalidateOnlyGenerated:r.has(i.Qq)}}r("../lib/trace/tracer");let a="__prerender_bypass",s="__next_preview_data",l=Symbol(s),u=Symbol(a);function c(e,t={}){if(u in e)return e;let{serialize:n}=r("./dist/compiled/cookie/index.js"),i=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof i?[i]:Array.isArray(i)?i:[],n(a,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0}),n(s,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0})]),Object.defineProperty(e,u,{value:!0,enumerable:!1}),e}function d({req:e},t,r){let n={configurable:!0,enumerable:!0},i={...n,writable:!0};Object.defineProperty(e,t,{...n,get:()=>{let n=r();return Object.defineProperty(e,t,{...i,value:n}),n},set:r=>{Object.defineProperty(e,t,{...i,value:r})}})}},"./dist/esm/server/api-utils/node/try-get-preview-data.js":function(e,t,r){"use strict";r.d(t,{R:()=>a});var n=r("./dist/esm/server/api-utils/index.js"),i=r("./dist/esm/server/web/spec-extension/cookies.js"),o=r("./dist/esm/server/web/spec-extension/adapters/headers.js");function a(e,t,a,s){var l,u;let c;if(a&&(0,n.Iq)(e,a).isOnDemandRevalidate)return!1;if(n.Di in e)return e[n.Di];let d=o.h.from(e.headers),p=new i.qC(d),f=null==(l=p.get(n.dS))?void 0:l.value,h=null==(u=p.get(n.QM))?void 0:u.value;if(f&&!h&&f===a.previewModeId){let t={};return Object.defineProperty(e,n.Di,{value:t,enumerable:!1}),t}if(!f&&!h)return!1;if(!f||!h||f!==a.previewModeId)return s||(0,n.Lm)(t),!1;try{c=r("next/dist/compiled/jsonwebtoken").verify(h,a.previewModeSigningKey)}catch{return(0,n.Lm)(t),!1}let{decryptWithSecret:m}=r("./dist/esm/server/crypto-utils.js"),g=m(Buffer.from(a.previewModeEncryptionKey),c.data);try{let t=JSON.parse(g);return Object.defineProperty(e,n.Di,{value:t,enumerable:!1}),t}catch{return!1}}},"./dist/esm/server/crypto-utils.js":function(e,t,r){"use strict";r.r(t),r.d(t,{decryptWithSecret:()=>s,encryptWithSecret:()=>a});let n=require("crypto");var i=r.n(n);let o="aes-256-gcm";function a(e,t){let r=i().randomBytes(16),n=i().randomBytes(64),a=i().pbkdf2Sync(e,n,1e5,32,"sha512"),s=i().createCipheriv(o,a,r),l=Buffer.concat([s.update(t,"utf8"),s.final()]),u=s.getAuthTag();return Buffer.concat([n,r,u,l]).toString("hex")}function s(e,t){let r=Buffer.from(t,"hex"),n=r.slice(0,64),a=r.slice(64,80),s=r.slice(80,96),l=r.slice(96),u=i().pbkdf2Sync(e,n,1e5,32,"sha512"),c=i().createDecipheriv(o,u,a);return c.setAuthTag(s),c.update(l)+c.final("utf8")}},"./dist/esm/server/optimize-amp.js":function(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}return n.create(t).transformHtml(e,t)}r.d(t,{Z:()=>n})},"./dist/esm/server/post-process.js":function(e,t,r){"use strict";function n(e){return null!=e}async function i(e,t,i,{inAmpMode:o,hybridAmp:a}){for(let s of[o&&1?async t=>{let n=r("./dist/esm/server/optimize-amp.js").Z;return t=await n(t,i.ampOptimizerConfig),!i.ampSkipValidation&&i.ampValidator&&await i.ampValidator(t,e),t}:null,i.optimizeCss?async e=>{let t=new(r("critters"))({ssrMode:!0,reduceInlineStyles:!1,path:i.distDir,publicPath:`${i.assetPrefix}/_next/`,preload:"media",fonts:!1,logLevel:process.env.CRITTERS_LOG_LEVEL||"warn",...i.optimizeCss});return await t.process(e)}:null,o||a?e=>e.replace(/&amp=1/g,"&=1"):null].filter(n))s&&(t=await s(t));return t}r.d(t,{X:()=>i})},"./dist/esm/server/web/spec-extension/adapters/headers.js":function(e,t,r){"use strict";r.d(t,{h:()=>o});var n=r("./dist/esm/server/web/spec-extension/adapters/reflect.js");class i extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new i}}class o extends Headers{constructor(e){super(),this.headers=new Proxy(e,{get(t,r,i){if("symbol"==typeof r)return n.g.get(t,r,i);let o=r.toLowerCase(),a=Object.keys(e).find(e=>e.toLowerCase()===o);if(void 0!==a)return n.g.get(t,a,i)},set(t,r,i,o){if("symbol"==typeof r)return n.g.set(t,r,i,o);let a=r.toLowerCase(),s=Object.keys(e).find(e=>e.toLowerCase()===a);return n.g.set(t,s??r,i,o)},has(t,r){if("symbol"==typeof r)return n.g.has(t,r);let i=r.toLowerCase(),o=Object.keys(e).find(e=>e.toLowerCase()===i);return void 0!==o&&n.g.has(t,o)},deleteProperty(t,r){if("symbol"==typeof r)return n.g.deleteProperty(t,r);let i=r.toLowerCase(),o=Object.keys(e).find(e=>e.toLowerCase()===i);return void 0===o||n.g.deleteProperty(t,o)}})}static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"append":case"delete":case"set":return i.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 o(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":function(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":function(e,t,r){"use strict";r.d(t,{qC:()=>n.RequestCookies});var n=r("./dist/compiled/@edge-runtime/cookies/index.js")},"./dist/esm/shared/lib/modern-browserslist-target.js":function(e){e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},"./dist/server/ReactDOMServerPages.js":function(e,t,r){"use strict";let n;try{n=r("react-dom/server.edge")}catch(e){if("MODULE_NOT_FOUND"!==e.code&&"ERR_PACKAGE_PATH_NOT_EXPORTED"!==e.code)throw e;n=r("react-dom/server.browser")}e.exports=n},"../lib/router-utils/instrumentation-globals.external":function(e){"use strict";e.exports=require("next/dist/server/lib/router-utils/instrumentation-globals.external.js")},"../lib/trace/tracer":function(e){"use strict";e.exports=require("next/dist/server/lib/trace/tracer")},"../load-manifest.external":function(e){"use strict";e.exports=require("next/dist/server/load-manifest.external.js")},critters:function(e){"use strict";e.exports=require("critters")},"next/dist/compiled/@ampproject/toolbox-optimizer":function(e){"use strict";e.exports=require("next/dist/compiled/@ampproject/toolbox-optimizer")},"next/dist/compiled/jsonwebtoken":function(e){"use strict";e.exports=require("next/dist/compiled/jsonwebtoken")},"react-dom/server.browser":function(e){"use strict";e.exports=require("react-dom/server.browser")},"react-dom/server.edge":function(e){"use strict";e.exports=require("react-dom/server.edge")},path:function(e){"use strict";e.exports=require("path")},"./dist/compiled/superstruct/index.cjs":function(e){var t;"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/"),({318:function(e,t){(function(e){"use strict";class t extends TypeError{constructor(e,t){let r,{message:n,explanation:i,...o}=e,{path:a}=e,s=0===a.length?n:`At path: ${a.join(".")} -- ${n}`;super(i??s),null!=i&&(this.cause=s),Object.assign(this,o),this.name=this.constructor.name,this.failures=()=>r??(r=[e,...t()])}}function r(e){return"object"==typeof e&&null!=e}function n(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function i(e){return"symbol"==typeof e?e.toString():"string"==typeof e?JSON.stringify(e):`${e}`}function*o(e,t,n,o){var a;for(let s of(r(a=e)&&"function"==typeof a[Symbol.iterator]||(e=[e]),e)){let e=function(e,t,r,n){if(!0===e)return;!1===e?e={}:"string"==typeof e&&(e={message:e});let{path:o,branch:a}=t,{type:s}=r,{refinement:l,message:u=`Expected a value of type \`${s}\`${l?` with refinement \`${l}\``:""}, but received: \`${i(n)}\``}=e;return{value:n,type:s,refinement:l,key:o[o.length-1],path:o,branch:a,...e,message:u}}(s,t,n,o);e&&(yield e)}}function*a(e,t,n={}){let{path:i=[],branch:o=[e],coerce:s=!1,mask:l=!1}=n,u={path:i,branch:o};if(s&&(e=t.coercer(e,u),l&&"type"!==t.type&&r(t.schema)&&r(e)&&!Array.isArray(e)))for(let r in e)void 0===t.schema[r]&&delete e[r];let c="valid";for(let r of t.validator(e,u))r.explanation=n.message,c="not_valid",yield[r,void 0];for(let[d,p,f]of t.entries(e,u))for(let t of a(p,f,{path:void 0===d?i:[...i,d],branch:void 0===d?o:[...o,p],coerce:s,mask:l,message:n.message}))t[0]?(c=null!=t[0].refinement?"not_refined":"not_valid",yield[t[0],void 0]):s&&(p=t[1],void 0===d?e=p:e instanceof Map?e.set(d,p):e instanceof Set?e.add(p):r(e)&&(void 0!==p||d in e)&&(e[d]=p));if("not_valid"!==c)for(let r of t.refiner(e,u))r.explanation=n.message,c="not_refined",yield[r,void 0];"valid"===c&&(yield[void 0,e])}class s{constructor(e){let{type:t,schema:r,validator:n,refiner:i,coercer:a=e=>e,entries:s=function*(){}}=e;this.type=t,this.schema=r,this.entries=s,this.coercer=a,n?this.validator=(e,t)=>o(n(e,t),t,this,e):this.validator=()=>[],i?this.refiner=(e,t)=>o(i(e,t),t,this,e):this.refiner=()=>[]}assert(e,t){return l(e,this,t)}create(e,t){return u(e,this,t)}is(e){return d(e,this)}mask(e,t){return c(e,this,t)}validate(e,t={}){return p(e,this,t)}}function l(e,t,r){let n=p(e,t,{message:r});if(n[0])throw n[0]}function u(e,t,r){let n=p(e,t,{coerce:!0,message:r});if(!n[0])return n[1];throw n[0]}function c(e,t,r){let n=p(e,t,{coerce:!0,mask:!0,message:r});if(!n[0])return n[1];throw n[0]}function d(e,t){return!p(e,t)[0]}function p(e,r,n={}){let i=a(e,r,n),o=function(e){let{done:t,value:r}=e.next();return t?void 0:r}(i);return o[0]?[new t(o[0],function*(){for(let e of i)e[0]&&(yield e[0])}),void 0]:[void 0,o[1]]}function f(e,t){return new s({type:e,schema:null,validator:t})}function h(){return f("never",()=>!1)}function m(e){let t=e?Object.keys(e):[],n=h();return new s({type:"object",schema:e||null,*entries(i){if(e&&r(i)){let r=new Set(Object.keys(i));for(let n of t)r.delete(n),yield[n,i[n],e[n]];for(let e of r)yield[e,i[e],n]}},validator:e=>r(e)||`Expected an object, but received: ${i(e)}`,coercer:e=>r(e)?{...e}:e})}function g(e){return new s({...e,validator:(t,r)=>void 0===t||e.validator(t,r),refiner:(t,r)=>void 0===t||e.refiner(t,r)})}function y(){return f("string",e=>"string"==typeof e||`Expected a string, but received: ${i(e)}`)}function v(e){let t=Object.keys(e);return new s({type:"type",schema:e,*entries(n){if(r(n))for(let r of t)yield[r,n[r],e[r]]},validator:e=>r(e)||`Expected an object, but received: ${i(e)}`,coercer:e=>r(e)?{...e}:e})}function b(){return f("unknown",()=>!0)}function x(e,t,r){return new s({...e,coercer:(n,i)=>d(n,t)?e.coercer(r(n,i),i):e.coercer(n,i)})}function E(e){return e instanceof Map||e instanceof Set?e.size:e.length}function _(e,t,r){return new s({...e,*refiner(n,i){for(let a of(yield*e.refiner(n,i),o(r(n,i),i,e,n)))yield{...a,refinement:t}}})}e.Struct=s,e.StructError=t,e.any=function(){return f("any",()=>!0)},e.array=function(e){return new s({type:"array",schema:e,*entries(t){if(e&&Array.isArray(t))for(let[r,n]of t.entries())yield[r,n,e]},coercer:e=>Array.isArray(e)?e.slice():e,validator:e=>Array.isArray(e)||`Expected an array value, but received: ${i(e)}`})},e.assert=l,e.assign=function(...e){let t="type"===e[0].type,r=Object.assign({},...e.map(e=>e.schema));return t?v(r):m(r)},e.bigint=function(){return f("bigint",e=>"bigint"==typeof e)},e.boolean=function(){return f("boolean",e=>"boolean"==typeof e)},e.coerce=x,e.create=u,e.date=function(){return f("date",e=>e instanceof Date&&!isNaN(e.getTime())||`Expected a valid \`Date\` object, but received: ${i(e)}`)},e.defaulted=function(e,t,r={}){return x(e,b(),e=>{let i="function"==typeof t?t():t;if(void 0===e)return i;if(!r.strict&&n(e)&&n(i)){let t={...e},r=!1;for(let e in i)void 0===t[e]&&(t[e]=i[e],r=!0);if(r)return t}return e})},e.define=f,e.deprecated=function(e,t){return new s({...e,refiner:(t,r)=>void 0===t||e.refiner(t,r),validator:(r,n)=>void 0===r||(t(r,n),e.validator(r,n))})},e.dynamic=function(e){return new s({type:"dynamic",schema:null,*entries(t,r){let n=e(t,r);yield*n.entries(t,r)},validator:(t,r)=>e(t,r).validator(t,r),coercer:(t,r)=>e(t,r).coercer(t,r),refiner:(t,r)=>e(t,r).refiner(t,r)})},e.empty=function(e){return _(e,"empty",t=>{let r=E(t);return 0===r||`Expected an empty ${e.type} but received one with a size of \`${r}\``})},e.enums=function(e){let t={},r=e.map(e=>i(e)).join();for(let r of e)t[r]=r;return new s({type:"enums",schema:t,validator:t=>e.includes(t)||`Expected one of \`${r}\`, but received: ${i(t)}`})},e.func=function(){return f("func",e=>"function"==typeof e||`Expected a function, but received: ${i(e)}`)},e.instance=function(e){return f("instance",t=>t instanceof e||`Expected a \`${e.name}\` instance, but received: ${i(t)}`)},e.integer=function(){return f("integer",e=>"number"==typeof e&&!isNaN(e)&&Number.isInteger(e)||`Expected an integer, but received: ${i(e)}`)},e.intersection=function(e){return new s({type:"intersection",schema:null,*entries(t,r){for(let n of e)yield*n.entries(t,r)},*validator(t,r){for(let n of e)yield*n.validator(t,r)},*refiner(t,r){for(let n of e)yield*n.refiner(t,r)}})},e.is=d,e.lazy=function(e){let t;return new s({type:"lazy",schema:null,*entries(r,n){t??(t=e()),yield*t.entries(r,n)},validator:(r,n)=>(t??(t=e()),t.validator(r,n)),coercer:(r,n)=>(t??(t=e()),t.coercer(r,n)),refiner:(r,n)=>(t??(t=e()),t.refiner(r,n))})},e.literal=function(e){let t=i(e),r=typeof e;return new s({type:"literal",schema:"string"===r||"number"===r||"boolean"===r?e:null,validator:r=>r===e||`Expected the literal \`${t}\`, but received: ${i(r)}`})},e.map=function(e,t){return new s({type:"map",schema:null,*entries(r){if(e&&t&&r instanceof Map)for(let[n,i]of r.entries())yield[n,n,e],yield[n,i,t]},coercer:e=>e instanceof Map?new Map(e):e,validator:e=>e instanceof Map||`Expected a \`Map\` object, but received: ${i(e)}`})},e.mask=c,e.max=function(e,t,r={}){let{exclusive:n}=r;return _(e,"max",r=>n?r<t:r<=t||`Expected a ${e.type} less than ${n?"":"or equal to "}${t} but received \`${r}\``)},e.min=function(e,t,r={}){let{exclusive:n}=r;return _(e,"min",r=>n?r>t:r>=t||`Expected a ${e.type} greater than ${n?"":"or equal to "}${t} but received \`${r}\``)},e.never=h,e.nonempty=function(e){return _(e,"nonempty",t=>E(t)>0||`Expected a nonempty ${e.type} but received an empty one`)},e.nullable=function(e){return new s({...e,validator:(t,r)=>null===t||e.validator(t,r),refiner:(t,r)=>null===t||e.refiner(t,r)})},e.number=function(){return f("number",e=>"number"==typeof e&&!isNaN(e)||`Expected a number, but received: ${i(e)}`)},e.object=m,e.omit=function(e,t){let{schema:r}=e,n={...r};for(let e of t)delete n[e];return"type"===e.type?v(n):m(n)},e.optional=g,e.partial=function(e){let t=e instanceof s?{...e.schema}:{...e};for(let e in t)t[e]=g(t[e]);return m(t)},e.pattern=function(e,t){return _(e,"pattern",r=>t.test(r)||`Expected a ${e.type} matching \`/${t.source}/\` but received "${r}"`)},e.pick=function(e,t){let{schema:r}=e,n={};for(let e of t)n[e]=r[e];return m(n)},e.record=function(e,t){return new s({type:"record",schema:null,*entries(n){if(r(n))for(let r in n){let i=n[r];yield[r,r,e],yield[r,i,t]}},validator:e=>r(e)||`Expected an object, but received: ${i(e)}`})},e.refine=_,e.regexp=function(){return f("regexp",e=>e instanceof RegExp)},e.set=function(e){return new s({type:"set",schema:null,*entries(t){if(e&&t instanceof Set)for(let r of t)yield[r,r,e]},coercer:e=>e instanceof Set?new Set(e):e,validator:e=>e instanceof Set||`Expected a \`Set\` object, but received: ${i(e)}`})},e.size=function(e,t,r=t){let n=`Expected a ${e.type}`,i=t===r?`of \`${t}\``:`between \`${t}\` and \`${r}\``;return _(e,"size",e=>{if("number"==typeof e||e instanceof Date)return t<=e&&e<=r||`${n} ${i} but received \`${e}\``;if(e instanceof Map||e instanceof Set){let{size:o}=e;return t<=o&&o<=r||`${n} with a size ${i} but received one with a size of \`${o}\``}{let{length:o}=e;return t<=o&&o<=r||`${n} with a length ${i} but received one with a length of \`${o}\``}})},e.string=y,e.struct=function(e,t){return console.warn("superstruct@0.11 - The `struct` helper has been renamed to `define`."),f(e,t)},e.trimmed=function(e){return x(e,y(),e=>e.trim())},e.tuple=function(e){let t=h();return new s({type:"tuple",schema:null,*entries(r){if(Array.isArray(r)){let n=Math.max(e.length,r.length);for(let i=0;i<n;i++)yield[i,r[i],e[i]||t]}},validator:e=>Array.isArray(e)||`Expected an array, but received: ${i(e)}`})},e.type=v,e.union=function(e){let t=e.map(e=>e.type).join(" | ");return new s({type:"union",schema:null,coercer(t){for(let r of e){let[e,n]=r.validate(t,{coerce:!0});if(!e)return n}return t},validator(r,n){let o=[];for(let t of e){let[...e]=a(r,t,n),[i]=e;if(!i[0])return[];for(let[t]of e)t&&o.push(t)}return[`Expected the value to satisfy a union of \`${t}\`, but received: ${i(r)}`,...o]}})},e.unknown=b,e.validate=p})(t)}})[318](0,t={}),e.exports=t}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(n,i){if(1&i&&(n=this(n)),8&i||"object"==typeof n&&n&&(4&i&&n.__esModule||16&i&&"function"==typeof n.then))return n;var o=Object.create(null);r.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&i&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>{a[e]=()=>n[e]});return a.default=()=>n,r.d(o,a),o}})(),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,i;r.r(n),r.d(n,{vendored:()=>tA,default:()=>t$,renderToHTML:()=>tj,PagesRouteModule:()=>tN});var o={};r.r(o),r.d(o,{AmpStateContext:()=>ew});var a={};r.r(a),r.d(a,{HeadManagerContext:()=>eO});var s={};r.r(s),r.d(s,{LoadableContext:()=>ej});var l={};r.r(l),r.d(l,{default:()=>ek});var u={};r.r(u),r.d(u,{RouterContext:()=>eI});var c={};r.r(c),r.d(c,{HtmlContext:()=>eM,useHtmlContext:()=>ez});var d={};r.r(d),r.d(d,{ImageConfigContext:()=>to});var p={};r.r(p),r.d(p,{PathParamsContext:()=>td,PathnameContext:()=>tc,SearchParamsContext:()=>tu});var f={};r.r(f),r.d(f,{AppRouterContext:()=>tf,GlobalLayoutRouterContext:()=>tm,LayoutRouterContext:()=>th,MissingSlotContext:()=>ty,TemplateContext:()=>tg});var h={};r.r(h),r.d(h,{ServerInsertedHTMLContext:()=>tC,useServerInsertedHTML:()=>tT});var m={};r.r(m),r.d(m,{AmpContext:()=>o,AppRouterContext:()=>f,HeadManagerContext:()=>a,HooksClientContext:()=>p,HtmlContext:()=>c,ImageConfigContext:()=>d,Loadable:()=>l,LoadableContext:()=>s,RouterContext:()=>u,ServerInsertedHtml:()=>h}),r("./dist/esm/shared/lib/modern-browserslist-target.js");let g={client:"client",server:"server",edgeServer:"edge-server"};g.client,g.server,g.edgeServer,Symbol("polyfills");let y=["/500"];function v(e){let t=function(e){let t;try{t=new URL(e,"http://n")}catch{}return t}(e);if(!t)return;let r={};for(let e of t.searchParams.keys()){let n=t.searchParams.getAll(e);r[e]=n.length>1?n:n[0]}return{query:r,hash:t.hash,search:t.search,path:t.pathname,pathname:t.pathname,href:`${t.pathname}${t.search}${t.hash}`,host:"",hostname:"",auth:"",protocol:"",slashes:null,port:""}}let b=new WeakMap;function x(e,t){let r;if(!t)return{pathname:e};let n=b.get(t);n||(n=t.map(e=>e.toLowerCase()),b.set(t,n));let i=e.split("/",2);if(!i[1])return{pathname:e};let o=i[1].toLowerCase(),a=n.indexOf(o);return a<0?{pathname:e}:(r=t[a],{pathname:e=e.slice(r.length+1)||"/",detectedLocale:r})}function E(e){return e.startsWith("/")?e:"/"+e}function _(e){return e.replace(/\.rsc($|\?)/,"$1")}let R=["(..)(..)","(.)","(..)","(...)"];function w(e){return void 0!==e.split("/").find(e=>R.find(t=>e.startsWith(t)))}let O=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,S=/\/\[[^/]+\](?=\/|$)/;function P(e,t){return(void 0===t&&(t=!0),w(e)&&(e=function(e){let t,r,n;for(let i of e.split("/"))if(r=R.find(e=>i.startsWith(e))){[t,n]=e.split(r,2);break}if(!t||!r||!n)throw Object.defineProperty(Error("Invalid interception route: "+e+". Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(t=E(t.split("/").reduce((e,t,r,n)=>t?"("===t[0]&&t.endsWith(")")||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t:e,"")),r){case"(.)":n="/"===t?"/"+n:t+"/"+n;break;case"(..)":if("/"===t)throw Object.defineProperty(Error("Invalid interception route: "+e+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});n=t.split("/").slice(0,-1).concat(n).join("/");break;case"(...)":n="/"+n;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Object.defineProperty(Error("Invalid interception route: "+e+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});n=i.slice(0,-2).concat(n).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:t,interceptedRoute:n}}(e).interceptedRoute),t)?S.test(e):O.test(e)}function j(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r<t);return n||t>-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}function C(e,t){if("string"!=typeof e)return!1;let{pathname:r}=j(e);return r===t||r.startsWith(t+"/")}function T(e,t){if(!C(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}let N=Symbol.for("@next/router-server-methods"),A=globalThis;var $=r("./dist/compiled/path-to-regexp/index.js"),D=r("./dist/esm/lib/constants.js");let L=/[|\\{}()[\]^$+*?.-]/,k=/[|\\{}()[\]^$+*?.-]/g;function I(e){return L.test(e)?e.replace(k,"\\$&"):e}function M(e){return e.replace(/\/$/,"")||"/"}let z=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function q(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 X(e,t){let{includeSuffix:r=!1,includePrefix:n=!1,excludeOptionalTrailingSlash:i=!1}=void 0===t?{}:t,{parameterizedRoute:o,groups:a}=function(e,t,r){let n={},i=1,o=[];for(let a of M(e).slice(1).split("/")){let e=R.find(e=>a.startsWith(e)),s=a.match(z);if(e&&s&&s[2]){let{key:t,optional:r,repeat:a}=q(s[2]);n[t]={pos:i++,repeat:a,optional:r},o.push("/"+I(e)+"([^/]+?)")}else if(s&&s[2]){let{key:e,repeat:t,optional:a}=q(s[2]);n[e]={pos:i++,repeat:t,optional:a},r&&s[1]&&o.push("/"+I(s[1]));let l=t?a?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";r&&s[1]&&(l=l.substring(1)),o.push(l)}else o.push("/"+I(a));t&&s&&s[3]&&o.push(I(s[3]))}return{parameterizedRoute:o.join(""),groups:n}}(e,r,n),s=o;return i||(s+="(?:/)?"),{re:RegExp("^"+s+"$"),groups:a}}function U(e){let t,{interceptionMarker:r,getSafeRouteKey:n,segment:i,routeKeys:o,keyPrefix:a,backreferenceDuplicateKeys:s}=e,{key:l,optional:u,repeat:c}=q(i),d=l.replace(/\W/g,"");a&&(d=""+a+d);let p=!1;(0===d.length||d.length>30)&&(p=!0),isNaN(parseInt(d.slice(0,1)))||(p=!0),p&&(d=n());let f=d in o;a?o[d]=""+a+l:o[d]=l;let h=r?I(r):"";return t=f&&s?"\\k<"+d+">":c?"(?<"+d+">.+?)":"(?<"+d+">[^/]+?)",u?"(?:/"+h+t+")?":"/"+h+t}function F(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function W(e){return e.finished||e.headersSent}async function H(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await H(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&W(r))return n;if(!n)throw Object.defineProperty(Error('"'+F(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}"undefined"!=typeof performance&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class B extends Error{}class Q extends Error{}function G(e){let{re:t,groups:r}=e;return e=>{let n=t.exec(e);if(!n)return!1;let i=e=>{try{return decodeURIComponent(e)}catch(e){throw Object.defineProperty(new B("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},o={};for(let[e,t]of Object.entries(r)){let r=n[t.pos];void 0!==r&&(t.repeat?o[e]=r.split("/").map(e=>i(e)):o[e]=i(r))}return o}}function J(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function V(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function K(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)}}function Z(e){return e.replace(/__ESC_COLON_/gi,":")}function Y(e,t){if(!e.includes(":"))return e;for(let r of Object.keys(t))e.includes(":"+r)&&(e=e.replace(RegExp(":"+r+"\\*","g"),":"+r+"--ESCAPED_PARAM_ASTERISKS").replace(RegExp(":"+r+"\\?","g"),":"+r+"--ESCAPED_PARAM_QUESTION").replace(RegExp(":"+r+"\\+","g"),":"+r+"--ESCAPED_PARAM_PLUS").replace(RegExp(":"+r+"(?!\\w)","g"),"--ESCAPED_PARAM_COLON"+r));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,$.compile)("/"+e,{validate:!1})(t).slice(1)}function ee(e){for(let t of[D.dN,D.u7])if(e!==t&&e.startsWith(t))return e.substring(t.length);return null}function et(e){try{return decodeURIComponent(e)}catch{return e}}let er=/https?|ftp|gopher|file/;var en=r("./dist/compiled/superstruct/index.cjs"),ei=r.n(en);let eo=ei().enums(["c","ci","oc","d","di"]),ea=ei().union([ei().string(),ei().tuple([ei().string(),ei().string(),eo])]),es=ei().tuple([ea,ei().record(ei().string(),ei().lazy(()=>es)),ei().optional(ei().nullable(ei().string())),ei().optional(ei().nullable(ei().union([ei().literal("refetch"),ei().literal("refresh"),ei().literal("inside-shared-layout")]))),ei().optional(ei().boolean())]),el=e=>"/"===e[0]?e.slice(1):e;function eu(e,t,r){if(e)for(let o of(r&&(r=r.toLowerCase()),e)){var n,i;if(t===(null==(n=o.domain)?void 0:n.split(":",1)[0].toLowerCase())||r===o.defaultLocale.toLowerCase()||(null==(i=o.locales)?void 0:i.some(e=>e.toLowerCase()===r)))return o}}function ec(e,t){let r;if((null==t?void 0:t.host)&&!Array.isArray(t.host))r=t.host.toString().split(":",1)[0];else{if(!e.hostname)return;r=e.hostname}return r.toLowerCase()}class ed{constructor({userland:e,definition:t,distDir:r}){var n;this.userland=e,this.definition=t,this.isDev=!1,this.distDir=r,this.projectDir=(null==(n=A[N])?void 0:n.dir)||process.cwd()}async instrumentationOnRequestError(...e){{let{instrumentationOnRequestError:t}=await Promise.resolve().then(r.t.bind(r,"../lib/router-utils/instrumentation-globals.external",23));return t(this.projectDir,this.distDir,...e)}}async prepare(e,t){{var n;let i,{loadManifestFromRelativePath:o}=await Promise.resolve().then(r.t.bind(r,"../load-manifest.external",23)),{ensureInstrumentationRegistered:a}=await Promise.resolve().then(r.t.bind(r,"../lib/router-utils/instrumentation-globals.external",23)),[s,l]=await Promise.all([o(this.projectDir,this.distDir,"routes-manifest.json"),o(this.projectDir,this.distDir,"prerender-manifest.json"),a(this.projectDir,this.distDir)]),{basePath:u,i18n:c,rewrites:d}=s;if(u&&(e.url=T(e.url||"/",u)),c){let t=(e.url||"/").split("?");(i=x(t[0]||"/",c.locales)).detectedLocale&&(e.url=`${i.pathname}${t[1]?`?${t[1]}`:""}`)}let p=v(e.url||"/");if(!p)return;let f=P(t),h=function({page:e,i18n:t,basePath:r,rewrites:n,pageIsDynamic:i,trailingSlash:o,caseSensitive:a}){let s,l,u;return i&&(u=(l=G(s=function(e,t){var r,n,i;let o=function(e,t,r,n,i){let o,a=(o=0,()=>{let e="",t=++o;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),s={},l=[];for(let o of M(e).slice(1).split("/")){let e=R.some(e=>o.startsWith(e)),u=o.match(z);if(e&&u&&u[2])l.push(U({getSafeRouteKey:a,interceptionMarker:u[1],segment:u[2],routeKeys:s,keyPrefix:t?D.u7:void 0,backreferenceDuplicateKeys:i}));else if(u&&u[2]){n&&u[1]&&l.push("/"+I(u[1]));let e=U({getSafeRouteKey:a,segment:u[2],routeKeys:s,keyPrefix:t?D.dN:void 0,backreferenceDuplicateKeys:i});n&&u[1]&&(e=e.substring(1)),l.push(e)}else l.push("/"+I(o));r&&u&&u[3]&&l.push(I(u[3]))}return{namedParameterizedRoute:l.join(""),routeKeys:s}}(e,t.prefixRouteKeys,null!=(r=t.includeSuffix)&&r,null!=(n=t.includePrefix)&&n,null!=(i=t.backreferenceDuplicateKeys)&&i),a=o.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(a+="(?:/)?"),{...X(e,t),namedRegex:"^"+a+"$",routeKeys:o.routeKeys}}(e,{prefixRouteKeys:!1})))(e)),{handleRewrites:function(s,u){let c={},d=u.pathname,p=n=>{let p=function(e,t){let r=[],n=(0,$.pathToRegexp)(e,r,{delimiter:"/",sensitive:"boolean"==typeof(null==t?void 0:t.sensitive)&&t.sensitive,strict:null==t?void 0:t.strict}),i=(0,$.regexpToFunction)((null==t?void 0:t.regexModifier)?new RegExp(t.regexModifier(n.source),n.flags):n,r);return(e,n)=>{if("string"!=typeof e)return!1;let o=i(e);if(!o)return!1;if(null==t?void 0:t.removeUnnamedParams)for(let e of r)"number"==typeof e.name&&delete o.params[e.name];return{...n,...o.params}}}(n.source+(o?"(/)?":""),{removeUnnamedParams:!0,strict:!0,sensitive:!!a});if(!u.pathname)return!1;let f=p(u.pathname);if((n.has||n.missing)&&f){let e=function(e,t,r,n){void 0===r&&(r=[]),void 0===n&&(n=[]);let i={},o=r=>{let n,o=r.key;switch(r.type){case"header":o=o.toLowerCase(),n=e.headers[o];break;case"cookie":n="cookies"in e?e.cookies[r.key]:K(e.headers)()[r.key];break;case"query":n=t[o];break;case"host":{let{host:t}=(null==e?void 0:e.headers)||{};n=null==t?void 0:t.split(":",1)[0].toLowerCase()}}if(!r.value&&n)return i[function(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);(n>64&&n<91||n>96&&n<123)&&(t+=e[r])}return t}(o)]=n,!0;if(n){let e=RegExp("^"+r.value+"$"),t=Array.isArray(n)?n.slice(-1)[0].match(e):n.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{i[e]=t.groups[e]}):"host"===r.type&&t[0]&&(i.host=t[0])),!0}return!1};return!(!r.every(e=>o(e))||n.some(e=>o(e)))&&i}(s,u.query,n.has,n.missing);e?Object.assign(f,e):f=!1}if(f){try{var h,m;if((null==(m=n.has)||null==(h=m[0])?void 0:h.key)==="Next-Url"){let e=s.headers["next-router-state-tree"];e&&(f={...function e(t,r){for(let n of(void 0===r&&(r={}),Object.values(t[1]))){let t=n[0],i=Array.isArray(t),o=i?t[1]:t;!o||o.startsWith("__PAGE__")||(i&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):i&&(r[t[0]]=t[1]),r=e(n,r))}return r}(function(e){if(void 0!==e){if(Array.isArray(e))throw Object.defineProperty(Error("Multiple router state headers were sent. This is not allowed."),"__NEXT_ERROR_CODE",{value:"E418",enumerable:!1,configurable:!0});if(e.length>4e4)throw Object.defineProperty(Error("The router state header was too large."),"__NEXT_ERROR_CODE",{value:"E142",enumerable:!1,configurable:!0});try{let t=JSON.parse(decodeURIComponent(e));return(0,en.assert)(t,es),t}catch{throw Object.defineProperty(Error("The router state header was sent but could not be parsed."),"__NEXT_ERROR_CODE",{value:"E10",enumerable:!1,configurable:!0})}}}(e)),...f})}}catch(e){}let{parsedDestination:o,destQuery:a}=function(e){let t,r,n=function(e){let t=e.destination;for(let r of Object.keys({...e.params,...e.query}))r&&(t=t.replace(RegExp(":"+I(r),"g"),"__ESC_COLON_"+r));let r=function(e){if(e.startsWith("/"))return function(e,t,r){void 0===r&&(r=!0);let n=new URL("http://n"),i=e.startsWith(".")?new URL("http://n"):n,{pathname:o,searchParams:a,search:s,hash:l,href:u,origin:c}=new URL(e,i);if(c!==n.origin)throw Object.defineProperty(Error("invariant: invalid relative URL, router received "+e),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{pathname:o,query:r?J(a):void 0,search:s,hash:l,href:u.slice(c.length),slashes:void 0}}(e);let t=new URL(e);return{hash:t.hash,hostname:t.hostname,href:t.href,pathname:t.pathname,port:t.port,protocol:t.protocol,query:J(t.searchParams),search:t.search,slashes:"//"===t.href.slice(t.protocol.length,t.protocol.length+2)}}(t),n=r.pathname;n&&(n=Z(n));let i=r.href;i&&(i=Z(i));let o=r.hostname;o&&(o=Z(o));let a=r.hash;return a&&(a=Z(a)),{...r,pathname:n,hostname:o,href:i,hash:a}}(e),{hostname:i,query:o}=n,a=n.pathname;n.hash&&(a=""+a+n.hash);let s=[],l=[];for(let e of((0,$.pathToRegexp)(a,l),l))s.push(e.name);if(i){let e=[];for(let t of((0,$.pathToRegexp)(i,e),e))s.push(t.name)}let u=(0,$.compile)(a,{validate:!1});for(let[r,n]of(i&&(t=(0,$.compile)(i,{validate:!1})),Object.entries(o)))Array.isArray(n)?o[r]=n.map(t=>Y(Z(t),e.params)):"string"==typeof n&&(o[r]=Y(Z(n),e.params));let c=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!c.some(e=>s.includes(e)))for(let t of c)t in o||(o[t]=e.params[t]);if(w(a))for(let t of a.split("/")){let r=R.find(e=>t.startsWith(e));if(r){"(..)(..)"===r?(e.params["0"]="(..)",e.params["1"]="(..)"):e.params["0"]=r;break}}try{let[i,o]=(r=u(e.params)).split("#",2);t&&(n.hostname=t(e.params)),n.pathname=i,n.hash=(o?"#":"")+(o||""),delete n.search}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Object.defineProperty(Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match"),"__NEXT_ERROR_CODE",{value:"E329",enumerable:!1,configurable:!0});throw e}return n.query={...e.query,...n.query},{newUrl:r,destQuery:o,parsedDestination:n}}({appendParamsToQuery:!0,destination:n.destination,params:f,query:u.query});if(o.protocol)return!0;if(Object.assign(c,a,f),Object.assign(u.query,o.query),delete o.query,Object.entries(u.query).forEach(([e,t])=>{if(t&&"string"==typeof t&&t.startsWith(":")){let r=c[t.slice(1)];r&&(u.query[e]=r)}}),Object.assign(u,o),!(d=u.pathname))return!1;if(r&&(d=d.replace(RegExp(`^${r}`),"")||"/"),t){let e=x(d,t.locales);d=e.pathname,u.query.nextInternalLocale=e.detectedLocale||f.nextInternalLocale}if(d===e)return!0;if(i&&l){let e=l(d);if(e)return u.query={...u.query,...e},!0}}return!1};for(let e of n.beforeFiles||[])p(e);if(d!==e){let t=!1;for(let e of n.afterFiles||[])if(t=p(e))break;if(!t&&!(()=>{let t=M(d||"");return t===M(e)||(null==l?void 0:l(t))})()){for(let e of n.fallback||[])if(t=p(e))break}}return c},defaultRouteRegex:s,dynamicRouteMatcher:l,defaultRouteMatches:u,normalizeQueryParams:function(e){for(let[t,r]of(delete e.nextInternalLocale,Object.entries(e))){let n=ee(t);n&&(delete e[t],void 0!==r&&(e[n]=Array.isArray(r)?r.map(e=>et(e)):et(r)))}},getParamsFromRouteMatches:function(e){if(!s)return null;let{groups:t,routeKeys:r}=s,n=G({re:{exec:e=>{let n=Object.fromEntries(new URLSearchParams(e));for(let[e,t]of Object.entries(n)){let r=ee(e);r&&(n[r]=t,delete n[e])}let i={};for(let e of Object.keys(r)){let o=r[e];if(!o)continue;let a=t[o],s=n[e];if(!a.optional&&!s)return null;i[a.pos]=s}return i}},groups:t})(e);return n||null},normalizeDynamicRouteParams:(e,t)=>{if(!s||!u)return{params:{},hasValidParams:!1};var r=s,n=u;let i={};for(let o of Object.keys(r.groups)){let a=e[o];"string"==typeof a?a=_(a):Array.isArray(a)&&(a=a.map(_));let s=n[o],l=r.groups[o].optional;if((Array.isArray(s)?s.some(e=>Array.isArray(a)?a.some(t=>t.includes(e)):null==a?void 0:a.includes(e)):null==a?void 0:a.includes(s))||void 0===a&&!(l&&t))return{params:{},hasValidParams:!1};l&&(!a||Array.isArray(a)&&1===a.length&&("index"===a[0]||a[0]===`[[...${o}]]`))&&(a=void 0,delete e[o]),a&&"string"==typeof a&&r.groups[o].repeat&&(a=a.split("/")),a&&(i[o]=a)}return{params:i,hasValidParams:!0}},normalizeCdnUrl:(e,t)=>(function(e,t,r){let n=v(e.url);if(!n)return e.url;for(let e of(delete n.search,Object.keys(n.query))){let i=e!==D.dN&&e.startsWith(D.dN),o=e!==D.u7&&e.startsWith(D.u7);(i||o||t.includes(e)||r&&Object.keys(r.groups).includes(e))&&delete n.query[e]}e.url=function(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",o=e.hash||"",a=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(s+=":"+e.port)),a&&"object"==typeof a&&(a=String(function(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,V(e));else t.set(r,V(n));return t}(a)));let l=e.search||a&&"?"+a||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||er.test(n))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),o&&"#"!==o[0]&&(o="#"+o),l&&"?"!==l[0]&&(l="?"+l),""+n+s+(i=i.replace(/[?#]/g,encodeURIComponent))+(l=l.replace("#","%23"))+o}(n)})(e,t,s),interpolateDynamicPath:(e,t)=>(function(e,t,r){if(!r)return e;for(let n of Object.keys(r.groups)){let i,{optional:o,repeat:a}=r.groups[n],s=`[${a?"...":""}${n}]`;o&&(s=`[${s}]`);let l=t[n];i=Array.isArray(l)?l.map(e=>e&&encodeURIComponent(e)).join("/"):l?encodeURIComponent(l):"",e=e.replaceAll(s,i)}return e})(e,t,s)}}({page:t,i18n:c,basePath:u,rewrites:d,pageIsDynamic:f,trailingSlash:process.env.__NEXT_TRAILING_SLASH,caseSensitive:!!s.caseSensitive}),m=eu(null==c?void 0:c.domains,ec(p,e.headers),null==i?void 0:i.detectedLocale),g=(null==m?void 0:m.defaultLocale)||(null==c?void 0:c.defaultLocale);!g||(null==i?void 0:i.detectedLocale)||(p.pathname=`/${g}${p.pathname}`);let y=Object.keys(h.handleRewrites(e,p));h.normalizeCdnUrl(e,[...y,...Object.keys((null==(n=h.defaultRouteRegex)?void 0:n.groups)||{})]);let b=h.dynamicRouteMatcher&&h.dynamicRouteMatcher((null==i?void 0:i.pathname)||p.pathname||"")||{},E={...p.query,...b};if(h.normalizeQueryParams(E),f){let e=h.normalizeDynamicRouteParams(E,!0);e.hasValidParams&&Object.assign(E,e.params)}return{query:E,params:b,parsedUrl:p,routesManifest:s,prerenderManifest:l}}}}let ep=require("react/jsx-runtime");var ef=r("./dist/esm/server/api-utils/index.js");let eh=require("react");var em=r.n(eh),eg=r("./dist/server/ReactDOMServerPages.js"),ey=r.n(eg);let ev=require("styled-jsx");function eb(e){return Object.prototype.toString.call(e)}function ex(e){if("[object Object]"!==eb(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}let eE=/^[A-Za-z_$][A-Za-z0-9_$]*$/;class e_ extends Error{constructor(e,t,r,n){super(r?`Error serializing \`${r}\` returned from \`${t}\` in "${e}".
|
1
|
+
(()=>{var e={"./dist/compiled/@edge-runtime/cookies/index.js":function(e){"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,o={},a={RequestCookies:()=>f,ResponseCookies:()=>h,parseCookie:()=>u,parseSetCookie:()=>c,stringifyCookie:()=>l};for(var s in a)t(o,s,{get:a[s],enumerable:!0});function l(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}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function u(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,i]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=i?i:"true"))}catch{}}return t}function c(e){if(!e)return;let[[t,r],...n]=u(e),{domain:i,expires:o,httponly:a,maxage:s,path:l,samesite:c,secure:f,partitioned:h,priority:m}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,y,v={name:t,value:decodeURIComponent(r),domain:i,...o&&{expires:new Date(o)},...a&&{httpOnly:!0},..."string"==typeof s&&{maxAge:Number(s)},path:l,...c&&{sameSite:d.includes(g=(g=c).toLowerCase())?g:void 0},...f&&{secure:!0},...m&&{priority:p.includes(y=(y=m).toLowerCase())?y:void 0},...h&&{partitioned:!0}};let e={};for(let t in v)v[t]&&(e[t]=v[t]);return e}}e.exports=((e,o,a,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let a of n(o))i.call(e,a)||void 0===a||t(e,a,{get:()=>o[a],enumerable:!(s=r(o,a))||s.enumerable});return e})(t({},"__esModule",{value:!0}),o);var d=["strict","lax","none"],p=["low","medium","high"],f=class{constructor(e){this._parsed=new Map,this._headers=e;let t=e.get("cookie");if(t)for(let[e,r]of u(t))this._parsed.set(e,{name:e,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])=>l(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])=>l(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("; ")}},h=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;let i=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(let e of Array.isArray(i)?i:function(e){if(!e)return[];var t,r,n,i,o,a=[],s=0;function l(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;l();)if(","===(r=e.charAt(s))){for(n=s,s+=1,l(),i=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=i,a.push(e.substring(t,n)),t=s):s=n+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}(i)){let t=c(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,i=this._parsed;return i.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=l(r);t.append("set-cookie",e)}}(i,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,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(l).join("; ")}}},"./dist/compiled/cookie/index.js":function(e){(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var t,r,n,i,o={};o.parse=function(e,r){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var i={},o=e.split(n),a=(r||{}).decode||t,s=0;s<o.length;s++){var l=o[s],u=l.indexOf("=");if(!(u<0)){var c=l.substr(0,u).trim(),d=l.substr(++u,l.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),void 0==i[c]&&(i[c]=function(e,t){try{return t(e)}catch(t){return e}}(d,a))}}return i},o.serialize=function(e,t,n){var o=n||{},a=o.encode||r;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var s=a(t);if(s&&!i.test(s))throw TypeError("argument val is invalid");var l=e+"="+s;if(null!=o.maxAge){var u=o.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(o.domain){if(!i.test(o.domain))throw TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!i.test(o.path))throw TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invalid");l+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(l+="; HttpOnly"),o.secure&&(l+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.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},t=decodeURIComponent,r=encodeURIComponent,n=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,e.exports=o})()},"./dist/compiled/path-to-regexp/index.js":function(e){(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var t={};(()=>{function e(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var n=e[r];if("*"===n||"+"===n||"?"===n){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===n){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===n){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===n){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===n){for(var i="",o=r+1;o<e.length;){var a=e.charCodeAt(o);if(a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122||95===a){i+=e[o++];continue}break}if(!i)throw TypeError("Missing parameter name at "+r);t.push({type:"NAME",index:r,value:i}),r=o;continue}if("("===n){var s=1,l="",o=r+1;if("?"===e[o])throw TypeError('Pattern cannot start with "?" at '+o);for(;o<e.length;){if("\\"===e[o]){l+=e[o++]+e[o++];continue}if(")"===e[o]){if(0==--s){o++;break}}else if("("===e[o]&&(s++,"?"!==e[o+1]))throw TypeError("Capturing groups are not allowed at "+o);l+=e[o++]}if(s)throw TypeError("Unbalanced pattern at "+r);if(!l)throw TypeError("Missing pattern at "+r);t.push({type:"PATTERN",index:r,value:l}),r=o;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),n=t.prefixes,o=void 0===n?"./":n,a="[^"+i(t.delimiter||"/#?")+"]+?",s=[],l=0,u=0,c="",d=function(e){if(u<r.length&&r[u].type===e)return r[u++].value},p=function(e){var t=d(e);if(void 0!==t)return t;var n=r[u];throw TypeError("Unexpected "+n.type+" at "+n.index+", expected "+e)},f=function(){for(var e,t="";e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t};u<r.length;){var h=d("CHAR"),m=d("NAME"),g=d("PATTERN");if(m||g){var y=h||"";-1===o.indexOf(y)&&(c+=y,y=""),c&&(s.push(c),c=""),s.push({name:m||l++,prefix:y,suffix:"",pattern:g||a,modifier:d("MODIFIER")||""});continue}var v=h||d("ESCAPED_CHAR");if(v){c+=v;continue}if(c&&(s.push(c),c=""),d("OPEN")){var y=f(),b=d("NAME")||"",x=d("PATTERN")||"",E=f();p("CLOSE"),s.push({name:b||(x?l++:""),pattern:b&&!x?a:x,prefix:y,suffix:E,modifier:d("MODIFIER")||""});continue}p("END")}return s}function r(e,t){void 0===t&&(t={});var r=o(t),n=t.encode,i=void 0===n?function(e){return e}:n,a=t.validate,s=void 0===a||a,l=e.map(function(e){if("object"==typeof e)return RegExp("^(?:"+e.pattern+")$",r)});return function(t){for(var r="",n=0;n<e.length;n++){var o=e[n];if("string"==typeof o){r+=o;continue}var a=t?t[o.name]:void 0,u="?"===o.modifier||"*"===o.modifier,c="*"===o.modifier||"+"===o.modifier;if(Array.isArray(a)){if(!c)throw TypeError('Expected "'+o.name+'" to not repeat, but got an array');if(0===a.length){if(u)continue;throw TypeError('Expected "'+o.name+'" to not be empty')}for(var d=0;d<a.length;d++){var p=i(a[d],o);if(s&&!l[n].test(p))throw TypeError('Expected all "'+o.name+'" to match "'+o.pattern+'", but got "'+p+'"');r+=o.prefix+p+o.suffix}continue}if("string"==typeof a||"number"==typeof a){var p=i(String(a),o);if(s&&!l[n].test(p))throw TypeError('Expected "'+o.name+'" to match "'+o.pattern+'", but got "'+p+'"');r+=o.prefix+p+o.suffix;continue}if(!u){var f=c?"an array":"a string";throw TypeError('Expected "'+o.name+'" to be '+f)}}return r}}function n(e,t,r){void 0===r&&(r={});var n=r.decode,i=void 0===n?function(e){return e}:n;return function(r){var n=e.exec(r);if(!n)return!1;for(var o=n[0],a=n.index,s=Object.create(null),l=1;l<n.length;l++)!function(e){if(void 0!==n[e]){var r=t[e-1];"*"===r.modifier||"+"===r.modifier?s[r.name]=n[e].split(r.prefix+r.suffix).map(function(e){return i(e,r)}):s[r.name]=i(n[e],r)}}(l);return{path:o,index:a,params:s}}}function i(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function o(e){return e&&e.sensitive?"":"i"}function a(e,t,r){void 0===r&&(r={});for(var n=r.strict,a=void 0!==n&&n,s=r.start,l=r.end,u=r.encode,c=void 0===u?function(e){return e}:u,d="["+i(r.endsWith||"")+"]|$",p="["+i(r.delimiter||"/#?")+"]",f=void 0===s||s?"^":"",h=0;h<e.length;h++){var m=e[h];if("string"==typeof m)f+=i(c(m));else{var g=i(c(m.prefix)),y=i(c(m.suffix));if(m.pattern)if(t&&t.push(m),g||y)if("+"===m.modifier||"*"===m.modifier){var v="*"===m.modifier?"?":"";f+="(?:"+g+"((?:"+m.pattern+")(?:"+y+g+"(?:"+m.pattern+"))*)"+y+")"+v}else f+="(?:"+g+"("+m.pattern+")"+y+")"+m.modifier;else f+="("+m.pattern+")"+m.modifier;else f+="(?:"+g+y+")"+m.modifier}}if(void 0===l||l)a||(f+=p+"?"),f+=r.endsWith?"(?="+d+")":"$";else{var b=e[e.length-1],x="string"==typeof b?p.indexOf(b[b.length-1])>-1:void 0===b;a||(f+="(?:"+p+"(?="+d+"))?"),x||(f+="(?="+p+"|"+d+")")}return new RegExp(f,o(r))}function s(t,r,n){if(t instanceof RegExp){if(!r)return t;var i=t.source.match(/\((?!\?)/g);if(i)for(var l=0;l<i.length;l++)r.push({name:l,prefix:"",suffix:"",modifier:"",pattern:""});return t}return Array.isArray(t)?RegExp("(?:"+t.map(function(e){return s(e,r,n).source}).join("|")+")",o(n)):a(e(t,n),r,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=e,t.compile=function(t,n){return r(e(t,n),n)},t.tokensToFunction=r,t.match=function(e,t){var r=[];return n(s(e,r,t),r,t)},t.regexpToFunction=n,t.tokensToRegexp=a,t.pathToRegexp=s})(),e.exports=t})()},"./dist/compiled/react-is/cjs/react-is.production.js":function(e,t){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler");Symbol.for("react.provider");var s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case a:case o:case c:case d:case h:return e;default:switch(e=e&&e.$$typeof){case l:case u:case f:case p:case s:return e;default:return t}}case n:return t}}}t.ContextConsumer=s,t.ContextProvider=l,t.Element=r,t.ForwardRef=u,t.Fragment=i,t.Lazy=f,t.Memo=p,t.Portal=n,t.Profiler=a,t.StrictMode=o,t.Suspense=c,t.SuspenseList=d,t.isContextConsumer=function(e){return g(e)===s},t.isContextProvider=function(e){return g(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return g(e)===u},t.isFragment=function(e){return g(e)===i},t.isLazy=function(e){return g(e)===f},t.isMemo=function(e){return g(e)===p},t.isPortal=function(e){return g(e)===n},t.isProfiler=function(e){return g(e)===a},t.isStrictMode=function(e){return g(e)===o},t.isSuspense=function(e){return g(e)===c},t.isSuspenseList=function(e){return g(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===o||e===c||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===l||e.$$typeof===s||e.$$typeof===u||e.$$typeof===m||void 0!==e.getModuleId)||!1},t.typeOf=g},"./dist/compiled/react-is/index.js":function(e,t,r){"use strict";e.exports=r("./dist/compiled/react-is/cjs/react-is.production.js")},"./dist/compiled/strip-ansi/index.js":function(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 i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab=__dirname+"/",e.exports=n(532)})()},"./dist/esm/build/output/log.js":function(e,t,r){"use strict";var n;r.d(t,{ZK:()=>y});let{env:i,stdout:o}=(null==(n=globalThis)?void 0:n.process)??{},a=i&&!i.NO_COLOR&&(i.FORCE_COLOR||(null==o?void 0:o.isTTY)&&!i.CI&&"dumb"!==i.TERM),s=(e,t,r,n)=>{let i=e.substring(0,n)+r,o=e.substring(n+t.length),a=o.indexOf(t);return~a?i+s(o,t,r,a):i+o},l=(e,t,r=e)=>a?n=>{let i=""+n,o=i.indexOf(t,e.length);return~o?e+s(i,t,r,o)+t:e+i+t}:String,u=l("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m");l("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"),l("\x1b[3m","\x1b[23m"),l("\x1b[4m","\x1b[24m"),l("\x1b[7m","\x1b[27m"),l("\x1b[8m","\x1b[28m"),l("\x1b[9m","\x1b[29m"),l("\x1b[30m","\x1b[39m");let c=l("\x1b[31m","\x1b[39m"),d=l("\x1b[32m","\x1b[39m"),p=l("\x1b[33m","\x1b[39m");l("\x1b[34m","\x1b[39m");let f=l("\x1b[35m","\x1b[39m");l("\x1b[38;2;173;127;168m","\x1b[39m"),l("\x1b[36m","\x1b[39m");let h=l("\x1b[37m","\x1b[39m");l("\x1b[90m","\x1b[39m"),l("\x1b[40m","\x1b[49m"),l("\x1b[41m","\x1b[49m"),l("\x1b[42m","\x1b[49m"),l("\x1b[43m","\x1b[49m"),l("\x1b[44m","\x1b[49m"),l("\x1b[45m","\x1b[49m"),l("\x1b[46m","\x1b[49m"),l("\x1b[47m","\x1b[49m");let m={wait:h(u("○")),error:c(u("⨯")),warn:p(u("⚠")),ready:"▲",info:h(u(" ")),event:d(u("✓")),trace:f(u("\xbb"))},g={log:"log",warn:"warn",error:"error"};function y(...e){!function(e,...t){(""===t[0]||void 0===t[0])&&1===t.length&&t.shift();let r=e in g?g[e]:"log",n=m[e];0===t.length?console[r](""):1===t.length&&"string"==typeof t[0]?console[r](" "+n+" "+t[0]):console[r](" "+n,...t)}("warn",...e)}new class{constructor(e,t){this.cache=new Map,this.sizes=new Map,this.totalSize=0,this.maxSize=e,this.calculateSize=t||(()=>1)}set(e,t){if(!e||!t)return;let r=this.calculateSize(t);if(r>this.maxSize)return void console.warn("Single item size exceeds maxSize");this.cache.has(e)&&(this.totalSize-=this.sizes.get(e)||0),this.cache.set(e,t),this.sizes.set(e,r),this.totalSize+=r,this.touch(e)}has(e){return!!e&&(this.touch(e),!!this.cache.get(e))}get(e){if(!e)return;let t=this.cache.get(e);if(void 0!==t)return this.touch(e),t}touch(e){let t=this.cache.get(e);void 0!==t&&(this.cache.delete(e),this.cache.set(e,t),this.evictIfNecessary())}evictIfNecessary(){for(;this.totalSize>this.maxSize&&this.cache.size>0;)this.evictLeastRecentlyUsed()}evictLeastRecentlyUsed(){let e=this.cache.keys().next().value;if(void 0!==e){let t=this.sizes.get(e)||0;this.totalSize-=t,this.cache.delete(e),this.sizes.delete(e)}}reset(){this.cache.clear(),this.sizes.clear(),this.totalSize=0}keys(){return[...this.cache.keys()]}remove(e){this.cache.has(e)&&(this.totalSize-=this.sizes.get(e)||0,this.cache.delete(e),this.sizes.delete(e))}clear(){this.cache.clear(),this.sizes.clear(),this.totalSize=0}get size(){return this.cache.size}get currentSize(){return this.totalSize}}(1e4,e=>e.length)},"./dist/esm/lib/constants.js":function(e,t,r){"use strict";r.d(t,{BR:()=>s,Ei:()=>d,Eo:()=>h,Lx:()=>f,Qq:()=>a,Wo:()=>u,dN:()=>n,lk:()=>m,oL:()=>c,q6:()=>p,u7:()=>i,wh:()=>l,y3:()=>o});let n="nxtP",i="nxtI",o="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",s=31536e3,l="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",u="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",c="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",d="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",p="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",f="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",h="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",m="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",g={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"};({...g,GROUP:{builtinReact:[g.reactServerComponents,g.actionBrowser],serverOnly:[g.reactServerComponents,g.actionBrowser,g.instrument,g.middleware],neutralTarget:[g.apiNode,g.apiEdge],clientOnly:[g.serverSideRendering,g.appPagesBrowser],bundled:[g.reactServerComponents,g.actionBrowser,g.serverSideRendering,g.appPagesBrowser,g.shared,g.instrument,g.middleware],appPages:[g.reactServerComponents,g.serverSideRendering,g.appPagesBrowser,g.actionBrowser]}})},"./dist/esm/server/api-utils/index.js":function(e,t,r){"use strict";r.d(t,{Di:()=>l,Iq:()=>o,Lm:()=>c,QM:()=>s,dS:()=>a,gk:()=>d});var n=r("./dist/esm/server/web/spec-extension/adapters/headers.js"),i=r("./dist/esm/lib/constants.js");function o(e,t){let r=n.h.from(e.headers);return{isOnDemandRevalidate:r.get(i.y3)===t.previewModeId,revalidateOnlyGenerated:r.has(i.Qq)}}r("./lib/trace/tracer");let a="__prerender_bypass",s="__next_preview_data",l=Symbol(s),u=Symbol(a);function c(e,t={}){if(u in e)return e;let{serialize:n}=r("./dist/compiled/cookie/index.js"),i=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof i?[i]:Array.isArray(i)?i:[],n(a,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0}),n(s,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0})]),Object.defineProperty(e,u,{value:!0,enumerable:!1}),e}function d({req:e},t,r){let n={configurable:!0,enumerable:!0},i={...n,writable:!0};Object.defineProperty(e,t,{...n,get:()=>{let n=r();return Object.defineProperty(e,t,{...i,value:n}),n},set:r=>{Object.defineProperty(e,t,{...i,value:r})}})}},"./dist/esm/server/api-utils/node/try-get-preview-data.js":function(e,t,r){"use strict";r.d(t,{R:()=>a});var n=r("./dist/esm/server/api-utils/index.js"),i=r("./dist/esm/server/web/spec-extension/cookies.js"),o=r("./dist/esm/server/web/spec-extension/adapters/headers.js");function a(e,t,a,s){var l,u;let c;if(a&&(0,n.Iq)(e,a).isOnDemandRevalidate)return!1;if(n.Di in e)return e[n.Di];let d=o.h.from(e.headers),p=new i.qC(d),f=null==(l=p.get(n.dS))?void 0:l.value,h=null==(u=p.get(n.QM))?void 0:u.value;if(f&&!h&&f===a.previewModeId){let t={};return Object.defineProperty(e,n.Di,{value:t,enumerable:!1}),t}if(!f&&!h)return!1;if(!f||!h||f!==a.previewModeId)return s||(0,n.Lm)(t),!1;try{c=r("next/dist/compiled/jsonwebtoken").verify(h,a.previewModeSigningKey)}catch{return(0,n.Lm)(t),!1}let{decryptWithSecret:m}=r("./dist/esm/server/crypto-utils.js"),g=m(Buffer.from(a.previewModeEncryptionKey),c.data);try{let t=JSON.parse(g);return Object.defineProperty(e,n.Di,{value:t,enumerable:!1}),t}catch{return!1}}},"./dist/esm/server/crypto-utils.js":function(e,t,r){"use strict";r.r(t),r.d(t,{decryptWithSecret:()=>s,encryptWithSecret:()=>a});let n=require("crypto");var i=r.n(n);let o="aes-256-gcm";function a(e,t){let r=i().randomBytes(16),n=i().randomBytes(64),a=i().pbkdf2Sync(e,n,1e5,32,"sha512"),s=i().createCipheriv(o,a,r),l=Buffer.concat([s.update(t,"utf8"),s.final()]),u=s.getAuthTag();return Buffer.concat([n,r,u,l]).toString("hex")}function s(e,t){let r=Buffer.from(t,"hex"),n=r.slice(0,64),a=r.slice(64,80),s=r.slice(80,96),l=r.slice(96),u=i().pbkdf2Sync(e,n,1e5,32,"sha512"),c=i().createDecipheriv(o,u,a);return c.setAuthTag(s),c.update(l)+c.final("utf8")}},"./dist/esm/server/optimize-amp.js":function(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}return n.create(t).transformHtml(e,t)}r.d(t,{Z:()=>n})},"./dist/esm/server/post-process.js":function(e,t,r){"use strict";function n(e){return null!=e}async function i(e,t,i,{inAmpMode:o,hybridAmp:a}){for(let s of[o&&1?async t=>{let n=r("./dist/esm/server/optimize-amp.js").Z;return t=await n(t,i.ampOptimizerConfig),!i.ampSkipValidation&&i.ampValidator&&await i.ampValidator(t,e),t}:null,i.optimizeCss?async e=>{let t=new(r("critters"))({ssrMode:!0,reduceInlineStyles:!1,path:i.distDir,publicPath:`${i.assetPrefix}/_next/`,preload:"media",fonts:!1,logLevel:process.env.CRITTERS_LOG_LEVEL||"warn",...i.optimizeCss});return await t.process(e)}:null,o||a?e=>e.replace(/&amp=1/g,"&=1"):null].filter(n))s&&(t=await s(t));return t}r.d(t,{X:()=>i})},"./dist/esm/server/web/spec-extension/adapters/headers.js":function(e,t,r){"use strict";r.d(t,{h:()=>o});var n=r("./dist/esm/server/web/spec-extension/adapters/reflect.js");class i extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new i}}class o extends Headers{constructor(e){super(),this.headers=new Proxy(e,{get(t,r,i){if("symbol"==typeof r)return n.g.get(t,r,i);let o=r.toLowerCase(),a=Object.keys(e).find(e=>e.toLowerCase()===o);if(void 0!==a)return n.g.get(t,a,i)},set(t,r,i,o){if("symbol"==typeof r)return n.g.set(t,r,i,o);let a=r.toLowerCase(),s=Object.keys(e).find(e=>e.toLowerCase()===a);return n.g.set(t,s??r,i,o)},has(t,r){if("symbol"==typeof r)return n.g.has(t,r);let i=r.toLowerCase(),o=Object.keys(e).find(e=>e.toLowerCase()===i);return void 0!==o&&n.g.has(t,o)},deleteProperty(t,r){if("symbol"==typeof r)return n.g.deleteProperty(t,r);let i=r.toLowerCase(),o=Object.keys(e).find(e=>e.toLowerCase()===i);return void 0===o||n.g.deleteProperty(t,o)}})}static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"append":case"delete":case"set":return i.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 o(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":function(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":function(e,t,r){"use strict";r.d(t,{qC:()=>n.RequestCookies});var n=r("./dist/compiled/@edge-runtime/cookies/index.js")},"./dist/esm/shared/lib/modern-browserslist-target.js":function(e){e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},"./dist/server/ReactDOMServerPages.js":function(e,t,r){"use strict";let n;try{n=r("react-dom/server.edge")}catch(e){if("MODULE_NOT_FOUND"!==e.code&&"ERR_PACKAGE_PATH_NOT_EXPORTED"!==e.code)throw e;n=r("react-dom/server.browser")}e.exports=n},"../lib/router-utils/instrumentation-globals.external":function(e){"use strict";e.exports=require("next/dist/server/lib/router-utils/instrumentation-globals.external.js")},"./lib/trace/tracer":function(e){"use strict";e.exports=require("next/dist/server/lib/trace/tracer")},"../load-manifest.external":function(e){"use strict";e.exports=require("next/dist/server/load-manifest.external.js")},critters:function(e){"use strict";e.exports=require("critters")},"next/dist/compiled/@ampproject/toolbox-optimizer":function(e){"use strict";e.exports=require("next/dist/compiled/@ampproject/toolbox-optimizer")},"next/dist/compiled/jsonwebtoken":function(e){"use strict";e.exports=require("next/dist/compiled/jsonwebtoken")},"react-dom/server.browser":function(e){"use strict";e.exports=require("react-dom/server.browser")},"react-dom/server.edge":function(e){"use strict";e.exports=require("react-dom/server.edge")},path:function(e){"use strict";e.exports=require("path")},"./dist/compiled/superstruct/index.cjs":function(e){var t;"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/"),({318:function(e,t){(function(e){"use strict";class t extends TypeError{constructor(e,t){let r,{message:n,explanation:i,...o}=e,{path:a}=e,s=0===a.length?n:`At path: ${a.join(".")} -- ${n}`;super(i??s),null!=i&&(this.cause=s),Object.assign(this,o),this.name=this.constructor.name,this.failures=()=>r??(r=[e,...t()])}}function r(e){return"object"==typeof e&&null!=e}function n(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function i(e){return"symbol"==typeof e?e.toString():"string"==typeof e?JSON.stringify(e):`${e}`}function*o(e,t,n,o){var a;for(let s of(r(a=e)&&"function"==typeof a[Symbol.iterator]||(e=[e]),e)){let e=function(e,t,r,n){if(!0===e)return;!1===e?e={}:"string"==typeof e&&(e={message:e});let{path:o,branch:a}=t,{type:s}=r,{refinement:l,message:u=`Expected a value of type \`${s}\`${l?` with refinement \`${l}\``:""}, but received: \`${i(n)}\``}=e;return{value:n,type:s,refinement:l,key:o[o.length-1],path:o,branch:a,...e,message:u}}(s,t,n,o);e&&(yield e)}}function*a(e,t,n={}){let{path:i=[],branch:o=[e],coerce:s=!1,mask:l=!1}=n,u={path:i,branch:o};if(s&&(e=t.coercer(e,u),l&&"type"!==t.type&&r(t.schema)&&r(e)&&!Array.isArray(e)))for(let r in e)void 0===t.schema[r]&&delete e[r];let c="valid";for(let r of t.validator(e,u))r.explanation=n.message,c="not_valid",yield[r,void 0];for(let[d,p,f]of t.entries(e,u))for(let t of a(p,f,{path:void 0===d?i:[...i,d],branch:void 0===d?o:[...o,p],coerce:s,mask:l,message:n.message}))t[0]?(c=null!=t[0].refinement?"not_refined":"not_valid",yield[t[0],void 0]):s&&(p=t[1],void 0===d?e=p:e instanceof Map?e.set(d,p):e instanceof Set?e.add(p):r(e)&&(void 0!==p||d in e)&&(e[d]=p));if("not_valid"!==c)for(let r of t.refiner(e,u))r.explanation=n.message,c="not_refined",yield[r,void 0];"valid"===c&&(yield[void 0,e])}class s{constructor(e){let{type:t,schema:r,validator:n,refiner:i,coercer:a=e=>e,entries:s=function*(){}}=e;this.type=t,this.schema=r,this.entries=s,this.coercer=a,n?this.validator=(e,t)=>o(n(e,t),t,this,e):this.validator=()=>[],i?this.refiner=(e,t)=>o(i(e,t),t,this,e):this.refiner=()=>[]}assert(e,t){return l(e,this,t)}create(e,t){return u(e,this,t)}is(e){return d(e,this)}mask(e,t){return c(e,this,t)}validate(e,t={}){return p(e,this,t)}}function l(e,t,r){let n=p(e,t,{message:r});if(n[0])throw n[0]}function u(e,t,r){let n=p(e,t,{coerce:!0,message:r});if(!n[0])return n[1];throw n[0]}function c(e,t,r){let n=p(e,t,{coerce:!0,mask:!0,message:r});if(!n[0])return n[1];throw n[0]}function d(e,t){return!p(e,t)[0]}function p(e,r,n={}){let i=a(e,r,n),o=function(e){let{done:t,value:r}=e.next();return t?void 0:r}(i);return o[0]?[new t(o[0],function*(){for(let e of i)e[0]&&(yield e[0])}),void 0]:[void 0,o[1]]}function f(e,t){return new s({type:e,schema:null,validator:t})}function h(){return f("never",()=>!1)}function m(e){let t=e?Object.keys(e):[],n=h();return new s({type:"object",schema:e||null,*entries(i){if(e&&r(i)){let r=new Set(Object.keys(i));for(let n of t)r.delete(n),yield[n,i[n],e[n]];for(let e of r)yield[e,i[e],n]}},validator:e=>r(e)||`Expected an object, but received: ${i(e)}`,coercer:e=>r(e)?{...e}:e})}function g(e){return new s({...e,validator:(t,r)=>void 0===t||e.validator(t,r),refiner:(t,r)=>void 0===t||e.refiner(t,r)})}function y(){return f("string",e=>"string"==typeof e||`Expected a string, but received: ${i(e)}`)}function v(e){let t=Object.keys(e);return new s({type:"type",schema:e,*entries(n){if(r(n))for(let r of t)yield[r,n[r],e[r]]},validator:e=>r(e)||`Expected an object, but received: ${i(e)}`,coercer:e=>r(e)?{...e}:e})}function b(){return f("unknown",()=>!0)}function x(e,t,r){return new s({...e,coercer:(n,i)=>d(n,t)?e.coercer(r(n,i),i):e.coercer(n,i)})}function E(e){return e instanceof Map||e instanceof Set?e.size:e.length}function _(e,t,r){return new s({...e,*refiner(n,i){for(let a of(yield*e.refiner(n,i),o(r(n,i),i,e,n)))yield{...a,refinement:t}}})}e.Struct=s,e.StructError=t,e.any=function(){return f("any",()=>!0)},e.array=function(e){return new s({type:"array",schema:e,*entries(t){if(e&&Array.isArray(t))for(let[r,n]of t.entries())yield[r,n,e]},coercer:e=>Array.isArray(e)?e.slice():e,validator:e=>Array.isArray(e)||`Expected an array value, but received: ${i(e)}`})},e.assert=l,e.assign=function(...e){let t="type"===e[0].type,r=Object.assign({},...e.map(e=>e.schema));return t?v(r):m(r)},e.bigint=function(){return f("bigint",e=>"bigint"==typeof e)},e.boolean=function(){return f("boolean",e=>"boolean"==typeof e)},e.coerce=x,e.create=u,e.date=function(){return f("date",e=>e instanceof Date&&!isNaN(e.getTime())||`Expected a valid \`Date\` object, but received: ${i(e)}`)},e.defaulted=function(e,t,r={}){return x(e,b(),e=>{let i="function"==typeof t?t():t;if(void 0===e)return i;if(!r.strict&&n(e)&&n(i)){let t={...e},r=!1;for(let e in i)void 0===t[e]&&(t[e]=i[e],r=!0);if(r)return t}return e})},e.define=f,e.deprecated=function(e,t){return new s({...e,refiner:(t,r)=>void 0===t||e.refiner(t,r),validator:(r,n)=>void 0===r||(t(r,n),e.validator(r,n))})},e.dynamic=function(e){return new s({type:"dynamic",schema:null,*entries(t,r){let n=e(t,r);yield*n.entries(t,r)},validator:(t,r)=>e(t,r).validator(t,r),coercer:(t,r)=>e(t,r).coercer(t,r),refiner:(t,r)=>e(t,r).refiner(t,r)})},e.empty=function(e){return _(e,"empty",t=>{let r=E(t);return 0===r||`Expected an empty ${e.type} but received one with a size of \`${r}\``})},e.enums=function(e){let t={},r=e.map(e=>i(e)).join();for(let r of e)t[r]=r;return new s({type:"enums",schema:t,validator:t=>e.includes(t)||`Expected one of \`${r}\`, but received: ${i(t)}`})},e.func=function(){return f("func",e=>"function"==typeof e||`Expected a function, but received: ${i(e)}`)},e.instance=function(e){return f("instance",t=>t instanceof e||`Expected a \`${e.name}\` instance, but received: ${i(t)}`)},e.integer=function(){return f("integer",e=>"number"==typeof e&&!isNaN(e)&&Number.isInteger(e)||`Expected an integer, but received: ${i(e)}`)},e.intersection=function(e){return new s({type:"intersection",schema:null,*entries(t,r){for(let n of e)yield*n.entries(t,r)},*validator(t,r){for(let n of e)yield*n.validator(t,r)},*refiner(t,r){for(let n of e)yield*n.refiner(t,r)}})},e.is=d,e.lazy=function(e){let t;return new s({type:"lazy",schema:null,*entries(r,n){t??(t=e()),yield*t.entries(r,n)},validator:(r,n)=>(t??(t=e()),t.validator(r,n)),coercer:(r,n)=>(t??(t=e()),t.coercer(r,n)),refiner:(r,n)=>(t??(t=e()),t.refiner(r,n))})},e.literal=function(e){let t=i(e),r=typeof e;return new s({type:"literal",schema:"string"===r||"number"===r||"boolean"===r?e:null,validator:r=>r===e||`Expected the literal \`${t}\`, but received: ${i(r)}`})},e.map=function(e,t){return new s({type:"map",schema:null,*entries(r){if(e&&t&&r instanceof Map)for(let[n,i]of r.entries())yield[n,n,e],yield[n,i,t]},coercer:e=>e instanceof Map?new Map(e):e,validator:e=>e instanceof Map||`Expected a \`Map\` object, but received: ${i(e)}`})},e.mask=c,e.max=function(e,t,r={}){let{exclusive:n}=r;return _(e,"max",r=>n?r<t:r<=t||`Expected a ${e.type} less than ${n?"":"or equal to "}${t} but received \`${r}\``)},e.min=function(e,t,r={}){let{exclusive:n}=r;return _(e,"min",r=>n?r>t:r>=t||`Expected a ${e.type} greater than ${n?"":"or equal to "}${t} but received \`${r}\``)},e.never=h,e.nonempty=function(e){return _(e,"nonempty",t=>E(t)>0||`Expected a nonempty ${e.type} but received an empty one`)},e.nullable=function(e){return new s({...e,validator:(t,r)=>null===t||e.validator(t,r),refiner:(t,r)=>null===t||e.refiner(t,r)})},e.number=function(){return f("number",e=>"number"==typeof e&&!isNaN(e)||`Expected a number, but received: ${i(e)}`)},e.object=m,e.omit=function(e,t){let{schema:r}=e,n={...r};for(let e of t)delete n[e];return"type"===e.type?v(n):m(n)},e.optional=g,e.partial=function(e){let t=e instanceof s?{...e.schema}:{...e};for(let e in t)t[e]=g(t[e]);return m(t)},e.pattern=function(e,t){return _(e,"pattern",r=>t.test(r)||`Expected a ${e.type} matching \`/${t.source}/\` but received "${r}"`)},e.pick=function(e,t){let{schema:r}=e,n={};for(let e of t)n[e]=r[e];return m(n)},e.record=function(e,t){return new s({type:"record",schema:null,*entries(n){if(r(n))for(let r in n){let i=n[r];yield[r,r,e],yield[r,i,t]}},validator:e=>r(e)||`Expected an object, but received: ${i(e)}`})},e.refine=_,e.regexp=function(){return f("regexp",e=>e instanceof RegExp)},e.set=function(e){return new s({type:"set",schema:null,*entries(t){if(e&&t instanceof Set)for(let r of t)yield[r,r,e]},coercer:e=>e instanceof Set?new Set(e):e,validator:e=>e instanceof Set||`Expected a \`Set\` object, but received: ${i(e)}`})},e.size=function(e,t,r=t){let n=`Expected a ${e.type}`,i=t===r?`of \`${t}\``:`between \`${t}\` and \`${r}\``;return _(e,"size",e=>{if("number"==typeof e||e instanceof Date)return t<=e&&e<=r||`${n} ${i} but received \`${e}\``;if(e instanceof Map||e instanceof Set){let{size:o}=e;return t<=o&&o<=r||`${n} with a size ${i} but received one with a size of \`${o}\``}{let{length:o}=e;return t<=o&&o<=r||`${n} with a length ${i} but received one with a length of \`${o}\``}})},e.string=y,e.struct=function(e,t){return console.warn("superstruct@0.11 - The `struct` helper has been renamed to `define`."),f(e,t)},e.trimmed=function(e){return x(e,y(),e=>e.trim())},e.tuple=function(e){let t=h();return new s({type:"tuple",schema:null,*entries(r){if(Array.isArray(r)){let n=Math.max(e.length,r.length);for(let i=0;i<n;i++)yield[i,r[i],e[i]||t]}},validator:e=>Array.isArray(e)||`Expected an array, but received: ${i(e)}`})},e.type=v,e.union=function(e){let t=e.map(e=>e.type).join(" | ");return new s({type:"union",schema:null,coercer(t){for(let r of e){let[e,n]=r.validate(t,{coerce:!0});if(!e)return n}return t},validator(r,n){let o=[];for(let t of e){let[...e]=a(r,t,n),[i]=e;if(!i[0])return[];for(let[t]of e)t&&o.push(t)}return[`Expected the value to satisfy a union of \`${t}\`, but received: ${i(r)}`,...o]}})},e.unknown=b,e.validate=p})(t)}})[318](0,t={}),e.exports=t}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(n,i){if(1&i&&(n=this(n)),8&i||"object"==typeof n&&n&&(4&i&&n.__esModule||16&i&&"function"==typeof n.then))return n;var o=Object.create(null);r.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&i&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>{a[e]=()=>n[e]});return a.default=()=>n,r.d(o,a),o}})(),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,i;r.r(n),r.d(n,{vendored:()=>tA,default:()=>t$,renderToHTML:()=>tj,PagesRouteModule:()=>tN});var o={};r.r(o),r.d(o,{AmpStateContext:()=>ew});var a={};r.r(a),r.d(a,{HeadManagerContext:()=>eO});var s={};r.r(s),r.d(s,{LoadableContext:()=>ej});var l={};r.r(l),r.d(l,{default:()=>ek});var u={};r.r(u),r.d(u,{RouterContext:()=>eI});var c={};r.r(c),r.d(c,{HtmlContext:()=>eM,useHtmlContext:()=>ez});var d={};r.r(d),r.d(d,{ImageConfigContext:()=>to});var p={};r.r(p),r.d(p,{PathParamsContext:()=>td,PathnameContext:()=>tc,SearchParamsContext:()=>tu});var f={};r.r(f),r.d(f,{AppRouterContext:()=>tf,GlobalLayoutRouterContext:()=>tm,LayoutRouterContext:()=>th,MissingSlotContext:()=>ty,TemplateContext:()=>tg});var h={};r.r(h),r.d(h,{ServerInsertedHTMLContext:()=>tC,useServerInsertedHTML:()=>tT});var m={};r.r(m),r.d(m,{AmpContext:()=>o,AppRouterContext:()=>f,HeadManagerContext:()=>a,HooksClientContext:()=>p,HtmlContext:()=>c,ImageConfigContext:()=>d,Loadable:()=>l,LoadableContext:()=>s,RouterContext:()=>u,ServerInsertedHtml:()=>h}),r("./dist/esm/shared/lib/modern-browserslist-target.js");let g={client:"client",server:"server",edgeServer:"edge-server"};g.client,g.server,g.edgeServer,Symbol("polyfills");let y=["/500"];function v(e){let t=function(e){let t;try{t=new URL(e,"http://n")}catch{}return t}(e);if(!t)return;let r={};for(let e of t.searchParams.keys()){let n=t.searchParams.getAll(e);r[e]=n.length>1?n:n[0]}return{query:r,hash:t.hash,search:t.search,path:t.pathname,pathname:t.pathname,href:`${t.pathname}${t.search}${t.hash}`,host:"",hostname:"",auth:"",protocol:"",slashes:null,port:""}}let b=new WeakMap;function x(e,t){let r;if(!t)return{pathname:e};let n=b.get(t);n||(n=t.map(e=>e.toLowerCase()),b.set(t,n));let i=e.split("/",2);if(!i[1])return{pathname:e};let o=i[1].toLowerCase(),a=n.indexOf(o);return a<0?{pathname:e}:(r=t[a],{pathname:e=e.slice(r.length+1)||"/",detectedLocale:r})}function E(e){return e.startsWith("/")?e:"/"+e}function _(e){return e.replace(/\.rsc($|\?)/,"$1")}let R=["(..)(..)","(.)","(..)","(...)"];function w(e){return void 0!==e.split("/").find(e=>R.find(t=>e.startsWith(t)))}let O=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,S=/\/\[[^/]+\](?=\/|$)/;function P(e,t){return(void 0===t&&(t=!0),w(e)&&(e=function(e){let t,r,n;for(let i of e.split("/"))if(r=R.find(e=>i.startsWith(e))){[t,n]=e.split(r,2);break}if(!t||!r||!n)throw Object.defineProperty(Error("Invalid interception route: "+e+". Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(t=E(t.split("/").reduce((e,t,r,n)=>t?"("===t[0]&&t.endsWith(")")||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t:e,"")),r){case"(.)":n="/"===t?"/"+n:t+"/"+n;break;case"(..)":if("/"===t)throw Object.defineProperty(Error("Invalid interception route: "+e+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});n=t.split("/").slice(0,-1).concat(n).join("/");break;case"(...)":n="/"+n;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Object.defineProperty(Error("Invalid interception route: "+e+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});n=i.slice(0,-2).concat(n).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:t,interceptedRoute:n}}(e).interceptedRoute),t)?S.test(e):O.test(e)}function j(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r<t);return n||t>-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}function C(e,t){if("string"!=typeof e)return!1;let{pathname:r}=j(e);return r===t||r.startsWith(t+"/")}function T(e,t){if(!C(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}let N=Symbol.for("@next/router-server-methods"),A=globalThis;var $=r("./dist/compiled/path-to-regexp/index.js"),D=r("./dist/esm/lib/constants.js");let L=/[|\\{}()[\]^$+*?.-]/,k=/[|\\{}()[\]^$+*?.-]/g;function I(e){return L.test(e)?e.replace(k,"\\$&"):e}function M(e){return e.replace(/\/$/,"")||"/"}let z=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function q(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 X(e,t){let{includeSuffix:r=!1,includePrefix:n=!1,excludeOptionalTrailingSlash:i=!1}=void 0===t?{}:t,{parameterizedRoute:o,groups:a}=function(e,t,r){let n={},i=1,o=[];for(let a of M(e).slice(1).split("/")){let e=R.find(e=>a.startsWith(e)),s=a.match(z);if(e&&s&&s[2]){let{key:t,optional:r,repeat:a}=q(s[2]);n[t]={pos:i++,repeat:a,optional:r},o.push("/"+I(e)+"([^/]+?)")}else if(s&&s[2]){let{key:e,repeat:t,optional:a}=q(s[2]);n[e]={pos:i++,repeat:t,optional:a},r&&s[1]&&o.push("/"+I(s[1]));let l=t?a?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";r&&s[1]&&(l=l.substring(1)),o.push(l)}else o.push("/"+I(a));t&&s&&s[3]&&o.push(I(s[3]))}return{parameterizedRoute:o.join(""),groups:n}}(e,r,n),s=o;return i||(s+="(?:/)?"),{re:RegExp("^"+s+"$"),groups:a}}function U(e){let t,{interceptionMarker:r,getSafeRouteKey:n,segment:i,routeKeys:o,keyPrefix:a,backreferenceDuplicateKeys:s}=e,{key:l,optional:u,repeat:c}=q(i),d=l.replace(/\W/g,"");a&&(d=""+a+d);let p=!1;(0===d.length||d.length>30)&&(p=!0),isNaN(parseInt(d.slice(0,1)))||(p=!0),p&&(d=n());let f=d in o;a?o[d]=""+a+l:o[d]=l;let h=r?I(r):"";return t=f&&s?"\\k<"+d+">":c?"(?<"+d+">.+?)":"(?<"+d+">[^/]+?)",u?"(?:/"+h+t+")?":"/"+h+t}function F(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function W(e){return e.finished||e.headersSent}async function H(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await H(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&W(r))return n;if(!n)throw Object.defineProperty(Error('"'+F(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}"undefined"!=typeof performance&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class B extends Error{}class Q extends Error{}function G(e){let{re:t,groups:r}=e;return e=>{let n=t.exec(e);if(!n)return!1;let i=e=>{try{return decodeURIComponent(e)}catch(e){throw Object.defineProperty(new B("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},o={};for(let[e,t]of Object.entries(r)){let r=n[t.pos];void 0!==r&&(t.repeat?o[e]=r.split("/").map(e=>i(e)):o[e]=i(r))}return o}}function J(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function V(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function K(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)}}function Z(e){return e.replace(/__ESC_COLON_/gi,":")}function Y(e,t){if(!e.includes(":"))return e;for(let r of Object.keys(t))e.includes(":"+r)&&(e=e.replace(RegExp(":"+r+"\\*","g"),":"+r+"--ESCAPED_PARAM_ASTERISKS").replace(RegExp(":"+r+"\\?","g"),":"+r+"--ESCAPED_PARAM_QUESTION").replace(RegExp(":"+r+"\\+","g"),":"+r+"--ESCAPED_PARAM_PLUS").replace(RegExp(":"+r+"(?!\\w)","g"),"--ESCAPED_PARAM_COLON"+r));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,$.compile)("/"+e,{validate:!1})(t).slice(1)}function ee(e){for(let t of[D.dN,D.u7])if(e!==t&&e.startsWith(t))return e.substring(t.length);return null}function et(e){try{return decodeURIComponent(e)}catch{return e}}let er=/https?|ftp|gopher|file/;var en=r("./dist/compiled/superstruct/index.cjs"),ei=r.n(en);let eo=ei().enums(["c","ci","oc","d","di"]),ea=ei().union([ei().string(),ei().tuple([ei().string(),ei().string(),eo])]),es=ei().tuple([ea,ei().record(ei().string(),ei().lazy(()=>es)),ei().optional(ei().nullable(ei().string())),ei().optional(ei().nullable(ei().union([ei().literal("refetch"),ei().literal("refresh"),ei().literal("inside-shared-layout")]))),ei().optional(ei().boolean())]),el=e=>"/"===e[0]?e.slice(1):e;function eu(e,t,r){if(e)for(let o of(r&&(r=r.toLowerCase()),e)){var n,i;if(t===(null==(n=o.domain)?void 0:n.split(":",1)[0].toLowerCase())||r===o.defaultLocale.toLowerCase()||(null==(i=o.locales)?void 0:i.some(e=>e.toLowerCase()===r)))return o}}function ec(e,t){let r;if((null==t?void 0:t.host)&&!Array.isArray(t.host))r=t.host.toString().split(":",1)[0];else{if(!e.hostname)return;r=e.hostname}return r.toLowerCase()}class ed{constructor({userland:e,definition:t,distDir:r}){var n;this.userland=e,this.definition=t,this.isDev=!1,this.distDir=r,this.projectDir=(null==(n=A[N])?void 0:n.dir)||process.cwd()}async instrumentationOnRequestError(...e){{let{instrumentationOnRequestError:t}=await Promise.resolve().then(r.t.bind(r,"../lib/router-utils/instrumentation-globals.external",23));return t(this.projectDir,this.distDir,...e)}}async prepare(e,t){{var n;let i,{loadManifestFromRelativePath:o}=await Promise.resolve().then(r.t.bind(r,"../load-manifest.external",23)),{ensureInstrumentationRegistered:a}=await Promise.resolve().then(r.t.bind(r,"../lib/router-utils/instrumentation-globals.external",23)),[s,l]=await Promise.all([o(this.projectDir,this.distDir,"routes-manifest.json"),o(this.projectDir,this.distDir,"prerender-manifest.json"),a(this.projectDir,this.distDir)]),{basePath:u,i18n:c,rewrites:d}=s;if(u&&(e.url=T(e.url||"/",u)),c){let t=(e.url||"/").split("?");(i=x(t[0]||"/",c.locales)).detectedLocale&&(e.url=`${i.pathname}${t[1]?`?${t[1]}`:""}`)}let p=v(e.url||"/");if(!p)return;let f=P(t),h=function({page:e,i18n:t,basePath:r,rewrites:n,pageIsDynamic:i,trailingSlash:o,caseSensitive:a}){let s,l,u;return i&&(u=(l=G(s=function(e,t){var r,n,i;let o=function(e,t,r,n,i){let o,a=(o=0,()=>{let e="",t=++o;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),s={},l=[];for(let o of M(e).slice(1).split("/")){let e=R.some(e=>o.startsWith(e)),u=o.match(z);if(e&&u&&u[2])l.push(U({getSafeRouteKey:a,interceptionMarker:u[1],segment:u[2],routeKeys:s,keyPrefix:t?D.u7:void 0,backreferenceDuplicateKeys:i}));else if(u&&u[2]){n&&u[1]&&l.push("/"+I(u[1]));let e=U({getSafeRouteKey:a,segment:u[2],routeKeys:s,keyPrefix:t?D.dN:void 0,backreferenceDuplicateKeys:i});n&&u[1]&&(e=e.substring(1)),l.push(e)}else l.push("/"+I(o));r&&u&&u[3]&&l.push(I(u[3]))}return{namedParameterizedRoute:l.join(""),routeKeys:s}}(e,t.prefixRouteKeys,null!=(r=t.includeSuffix)&&r,null!=(n=t.includePrefix)&&n,null!=(i=t.backreferenceDuplicateKeys)&&i),a=o.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(a+="(?:/)?"),{...X(e,t),namedRegex:"^"+a+"$",routeKeys:o.routeKeys}}(e,{prefixRouteKeys:!1})))(e)),{handleRewrites:function(s,u){let c={},d=u.pathname,p=n=>{let p=function(e,t){let r=[],n=(0,$.pathToRegexp)(e,r,{delimiter:"/",sensitive:"boolean"==typeof(null==t?void 0:t.sensitive)&&t.sensitive,strict:null==t?void 0:t.strict}),i=(0,$.regexpToFunction)((null==t?void 0:t.regexModifier)?new RegExp(t.regexModifier(n.source),n.flags):n,r);return(e,n)=>{if("string"!=typeof e)return!1;let o=i(e);if(!o)return!1;if(null==t?void 0:t.removeUnnamedParams)for(let e of r)"number"==typeof e.name&&delete o.params[e.name];return{...n,...o.params}}}(n.source+(o?"(/)?":""),{removeUnnamedParams:!0,strict:!0,sensitive:!!a});if(!u.pathname)return!1;let f=p(u.pathname);if((n.has||n.missing)&&f){let e=function(e,t,r,n){void 0===r&&(r=[]),void 0===n&&(n=[]);let i={},o=r=>{let n,o=r.key;switch(r.type){case"header":o=o.toLowerCase(),n=e.headers[o];break;case"cookie":n="cookies"in e?e.cookies[r.key]:K(e.headers)()[r.key];break;case"query":n=t[o];break;case"host":{let{host:t}=(null==e?void 0:e.headers)||{};n=null==t?void 0:t.split(":",1)[0].toLowerCase()}}if(!r.value&&n)return i[function(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);(n>64&&n<91||n>96&&n<123)&&(t+=e[r])}return t}(o)]=n,!0;if(n){let e=RegExp("^"+r.value+"$"),t=Array.isArray(n)?n.slice(-1)[0].match(e):n.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{i[e]=t.groups[e]}):"host"===r.type&&t[0]&&(i.host=t[0])),!0}return!1};return!(!r.every(e=>o(e))||n.some(e=>o(e)))&&i}(s,u.query,n.has,n.missing);e?Object.assign(f,e):f=!1}if(f){try{var h,m;if((null==(m=n.has)||null==(h=m[0])?void 0:h.key)==="Next-Url"){let e=s.headers["next-router-state-tree"];e&&(f={...function e(t,r){for(let n of(void 0===r&&(r={}),Object.values(t[1]))){let t=n[0],i=Array.isArray(t),o=i?t[1]:t;!o||o.startsWith("__PAGE__")||(i&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):i&&(r[t[0]]=t[1]),r=e(n,r))}return r}(function(e){if(void 0!==e){if(Array.isArray(e))throw Object.defineProperty(Error("Multiple router state headers were sent. This is not allowed."),"__NEXT_ERROR_CODE",{value:"E418",enumerable:!1,configurable:!0});if(e.length>4e4)throw Object.defineProperty(Error("The router state header was too large."),"__NEXT_ERROR_CODE",{value:"E142",enumerable:!1,configurable:!0});try{let t=JSON.parse(decodeURIComponent(e));return(0,en.assert)(t,es),t}catch{throw Object.defineProperty(Error("The router state header was sent but could not be parsed."),"__NEXT_ERROR_CODE",{value:"E10",enumerable:!1,configurable:!0})}}}(e)),...f})}}catch(e){}let{parsedDestination:o,destQuery:a}=function(e){let t,r,n=function(e){let t=e.destination;for(let r of Object.keys({...e.params,...e.query}))r&&(t=t.replace(RegExp(":"+I(r),"g"),"__ESC_COLON_"+r));let r=function(e){if(e.startsWith("/"))return function(e,t,r){void 0===r&&(r=!0);let n=new URL("http://n"),i=e.startsWith(".")?new URL("http://n"):n,{pathname:o,searchParams:a,search:s,hash:l,href:u,origin:c}=new URL(e,i);if(c!==n.origin)throw Object.defineProperty(Error("invariant: invalid relative URL, router received "+e),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{pathname:o,query:r?J(a):void 0,search:s,hash:l,href:u.slice(c.length),slashes:void 0}}(e);let t=new URL(e);return{hash:t.hash,hostname:t.hostname,href:t.href,pathname:t.pathname,port:t.port,protocol:t.protocol,query:J(t.searchParams),search:t.search,slashes:"//"===t.href.slice(t.protocol.length,t.protocol.length+2)}}(t),n=r.pathname;n&&(n=Z(n));let i=r.href;i&&(i=Z(i));let o=r.hostname;o&&(o=Z(o));let a=r.hash;return a&&(a=Z(a)),{...r,pathname:n,hostname:o,href:i,hash:a}}(e),{hostname:i,query:o}=n,a=n.pathname;n.hash&&(a=""+a+n.hash);let s=[],l=[];for(let e of((0,$.pathToRegexp)(a,l),l))s.push(e.name);if(i){let e=[];for(let t of((0,$.pathToRegexp)(i,e),e))s.push(t.name)}let u=(0,$.compile)(a,{validate:!1});for(let[r,n]of(i&&(t=(0,$.compile)(i,{validate:!1})),Object.entries(o)))Array.isArray(n)?o[r]=n.map(t=>Y(Z(t),e.params)):"string"==typeof n&&(o[r]=Y(Z(n),e.params));let c=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!c.some(e=>s.includes(e)))for(let t of c)t in o||(o[t]=e.params[t]);if(w(a))for(let t of a.split("/")){let r=R.find(e=>t.startsWith(e));if(r){"(..)(..)"===r?(e.params["0"]="(..)",e.params["1"]="(..)"):e.params["0"]=r;break}}try{let[i,o]=(r=u(e.params)).split("#",2);t&&(n.hostname=t(e.params)),n.pathname=i,n.hash=(o?"#":"")+(o||""),delete n.search}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Object.defineProperty(Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match"),"__NEXT_ERROR_CODE",{value:"E329",enumerable:!1,configurable:!0});throw e}return n.query={...e.query,...n.query},{newUrl:r,destQuery:o,parsedDestination:n}}({appendParamsToQuery:!0,destination:n.destination,params:f,query:u.query});if(o.protocol)return!0;if(Object.assign(c,a,f),Object.assign(u.query,o.query),delete o.query,Object.entries(u.query).forEach(([e,t])=>{if(t&&"string"==typeof t&&t.startsWith(":")){let r=c[t.slice(1)];r&&(u.query[e]=r)}}),Object.assign(u,o),!(d=u.pathname))return!1;if(r&&(d=d.replace(RegExp(`^${r}`),"")||"/"),t){let e=x(d,t.locales);d=e.pathname,u.query.nextInternalLocale=e.detectedLocale||f.nextInternalLocale}if(d===e)return!0;if(i&&l){let e=l(d);if(e)return u.query={...u.query,...e},!0}}return!1};for(let e of n.beforeFiles||[])p(e);if(d!==e){let t=!1;for(let e of n.afterFiles||[])if(t=p(e))break;if(!t&&!(()=>{let t=M(d||"");return t===M(e)||(null==l?void 0:l(t))})()){for(let e of n.fallback||[])if(t=p(e))break}}return c},defaultRouteRegex:s,dynamicRouteMatcher:l,defaultRouteMatches:u,normalizeQueryParams:function(e){for(let[t,r]of(delete e.nextInternalLocale,Object.entries(e))){let n=ee(t);n&&(delete e[t],void 0!==r&&(e[n]=Array.isArray(r)?r.map(e=>et(e)):et(r)))}},getParamsFromRouteMatches:function(e){if(!s)return null;let{groups:t,routeKeys:r}=s,n=G({re:{exec:e=>{let n=Object.fromEntries(new URLSearchParams(e));for(let[e,t]of Object.entries(n)){let r=ee(e);r&&(n[r]=t,delete n[e])}let i={};for(let e of Object.keys(r)){let o=r[e];if(!o)continue;let a=t[o],s=n[e];if(!a.optional&&!s)return null;i[a.pos]=s}return i}},groups:t})(e);return n||null},normalizeDynamicRouteParams:(e,t)=>{if(!s||!u)return{params:{},hasValidParams:!1};var r=s,n=u;let i={};for(let o of Object.keys(r.groups)){let a=e[o];"string"==typeof a?a=_(a):Array.isArray(a)&&(a=a.map(_));let s=n[o],l=r.groups[o].optional;if((Array.isArray(s)?s.some(e=>Array.isArray(a)?a.some(t=>t.includes(e)):null==a?void 0:a.includes(e)):null==a?void 0:a.includes(s))||void 0===a&&!(l&&t))return{params:{},hasValidParams:!1};l&&(!a||Array.isArray(a)&&1===a.length&&("index"===a[0]||a[0]===`[[...${o}]]`))&&(a=void 0,delete e[o]),a&&"string"==typeof a&&r.groups[o].repeat&&(a=a.split("/")),a&&(i[o]=a)}return{params:i,hasValidParams:!0}},normalizeCdnUrl:(e,t)=>(function(e,t,r){let n=v(e.url);if(!n)return e.url;for(let e of(delete n.search,Object.keys(n.query))){let i=e!==D.dN&&e.startsWith(D.dN),o=e!==D.u7&&e.startsWith(D.u7);(i||o||t.includes(e)||r&&Object.keys(r.groups).includes(e))&&delete n.query[e]}e.url=function(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",o=e.hash||"",a=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(s+=":"+e.port)),a&&"object"==typeof a&&(a=String(function(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,V(e));else t.set(r,V(n));return t}(a)));let l=e.search||a&&"?"+a||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||er.test(n))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),o&&"#"!==o[0]&&(o="#"+o),l&&"?"!==l[0]&&(l="?"+l),""+n+s+(i=i.replace(/[?#]/g,encodeURIComponent))+(l=l.replace("#","%23"))+o}(n)})(e,t,s),interpolateDynamicPath:(e,t)=>(function(e,t,r){if(!r)return e;for(let n of Object.keys(r.groups)){let i,{optional:o,repeat:a}=r.groups[n],s=`[${a?"...":""}${n}]`;o&&(s=`[${s}]`);let l=t[n];i=Array.isArray(l)?l.map(e=>e&&encodeURIComponent(e)).join("/"):l?encodeURIComponent(l):"",e=e.replaceAll(s,i)}return e})(e,t,s)}}({page:t,i18n:c,basePath:u,rewrites:d,pageIsDynamic:f,trailingSlash:process.env.__NEXT_TRAILING_SLASH,caseSensitive:!!s.caseSensitive}),m=eu(null==c?void 0:c.domains,ec(p,e.headers),null==i?void 0:i.detectedLocale),g=(null==m?void 0:m.defaultLocale)||(null==c?void 0:c.defaultLocale);!g||(null==i?void 0:i.detectedLocale)||(p.pathname=`/${g}${p.pathname}`);let y=Object.keys(h.handleRewrites(e,p));h.normalizeCdnUrl(e,[...y,...Object.keys((null==(n=h.defaultRouteRegex)?void 0:n.groups)||{})]);let b=h.dynamicRouteMatcher&&h.dynamicRouteMatcher((null==i?void 0:i.pathname)||p.pathname||"")||{},E={...p.query,...b};if(h.normalizeQueryParams(E),f){let e=h.normalizeDynamicRouteParams(E,!0);e.hasValidParams&&Object.assign(E,e.params)}return{query:E,params:b,parsedUrl:p,routesManifest:s,prerenderManifest:l}}}}let ep=require("react/jsx-runtime");var ef=r("./dist/esm/server/api-utils/index.js");let eh=require("react");var em=r.n(eh),eg=r("./dist/server/ReactDOMServerPages.js"),ey=r.n(eg);let ev=require("styled-jsx");function eb(e){return Object.prototype.toString.call(e)}function ex(e){if("[object Object]"!==eb(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}let eE=/^[A-Za-z_$][A-Za-z0-9_$]*$/;class e_ extends Error{constructor(e,t,r,n){super(r?`Error serializing \`${r}\` returned from \`${t}\` in "${e}".
|
2
2
|
Reason: ${n}`:`Error serializing props returned from \`${t}\` in "${e}".
|
3
|
-
Reason: ${n}`)}}function eR(e,t,r){if(!ex(r))throw Object.defineProperty(new e_(e,t,"",`Props must be returned as a plain object from ${t}: \`{ props: { ... } }\` (received: \`${eb(r)}\`).`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});function n(r,n,i){if(r.has(n))throw Object.defineProperty(new e_(e,t,i,`Circular references cannot be expressed in JSON (references: \`${r.get(n)||"(self)"}\`).`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});r.set(n,i)}return function r(i,o,a){let s=typeof o;if(null===o||"boolean"===s||"number"===s||"string"===s)return!0;if("undefined"===s)throw Object.defineProperty(new e_(e,t,a,"`undefined` cannot be serialized as JSON. Please use `null` or omit this value."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});if(ex(o)){if(n(i,o,a),Object.entries(o).every(([e,t])=>{let n=eE.test(e)?`${a}.${e}`:`${a}[${JSON.stringify(e)}]`,o=new Map(i);return r(o,e,n)&&r(o,t,n)}))return!0;throw Object.defineProperty(new e_(e,t,a,"invariant: Unknown error encountered in Object."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}if(Array.isArray(o)){if(n(i,o,a),o.every((e,t)=>r(new Map(i),e,`${a}[${t}]`)))return!0;throw Object.defineProperty(new e_(e,t,a,"invariant: Unknown error encountered in Array."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}throw Object.defineProperty(new e_(e,t,a,"`"+s+"`"+("object"===s?` ("${Object.prototype.toString.call(o)}")`:"")+" cannot be serialized as JSON. Please only return JSON serializable data types."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}(new Map,r,"")}let ew=em().createContext({}),eO=em().createContext({});function eS(e){void 0===e&&(e=!1);let t=[(0,ep.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,ep.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function eP(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===React.Fragment?e.concat(React.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let ej=em().createContext(null),eC=[],eT=[],eN=!1;function eA(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 e${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 eD(e){let t=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},e),r=null;function n(){if(!r){let e=new e$(eA,t);r={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return r.promise()}function i(e,i){n();let o=em().useContext(ej);o&&Array.isArray(t.modules)&&t.modules.forEach(e=>{o(e)});let a=em().useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return em().useImperativeHandle(i,()=>({retry:r.retry}),[]),em().useMemo(()=>{var n;return a.loading||a.error?em().createElement(t.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:r.retry}):a.loaded?em().createElement((n=a.loaded)&&n.default?n.default:n,e):null},[e,a])}return eC.push(n),i.preload=()=>n(),i.displayName="LoadableComponent",em().forwardRef(i)}function eL(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return eL(e,t)})}eD.preloadAll=()=>new Promise((e,t)=>{eL(eC).then(e,t)}),eD.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>t();eL(eT,e).then(r,r)}));let ek=eD,eI=em().createContext(null),eM=(0,eh.createContext)(void 0);function ez(){let e=(0,eh.useContext)(eM);if(!e)throw Object.defineProperty(Error("<Html> should not be imported outside of pages/_document.\nRead more: https://nextjs.org/docs/messages/no-document-import-in-page"),"__NEXT_ERROR_CODE",{value:"E67",enumerable:!1,configurable:!0});return e}let eq=Symbol.for("NextInternalRequestMeta");function eX(e,t){let r=e[eq]||{};return"string"==typeof t?r[t]:r}var eU=function(e){return e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e}({});let eF=new Set([301,302,303,307,308]);function eW(e){return e.statusCode||(e.permanent?eU.PermanentRedirect:eU.TemporaryRedirect)}var eH=r("../lib/trace/tracer"),eB=function(e){return e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",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.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch",e}(eB||{}),eQ=function(e){return e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult",e}(eQ||{}),eG=function(e){return e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch",e}(eG||{});function eJ(){}new Uint8Array([60,104,116,109,108]),new Uint8Array([60,98,111,100,121]),new Uint8Array([60,47,104,101,97,100,62]),new Uint8Array([60,47,98,111,100,121,62]),new Uint8Array([60,47,104,116,109,108,62]),new Uint8Array([60,47,98,111,100,121,62,60,47,104,116,109,108,62]);let eV=new TextEncoder;function eK(e){return new ReadableStream({start(t){t.enqueue(e),t.close()}})}async function eZ(e){let t=e.getReader(),r=[];for(;;){let{done:e,value:n}=await t.read();if(e)break;r.push(n)}return Buffer.concat(r)}async function eY(e,t){let r=new TextDecoder("utf-8",{fatal:!0}),n="";for await(let i of e){if(null==t?void 0:t.aborted)return n;n+=r.decode(i,{stream:!0})}return n+r.decode()}function e0(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:i}=j(e);return""+t+r+n+i}function e1(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:i}=j(e);return""+r+t+n+i}let e2=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function e4(e,t){return new URL(String(e).replace(e2,"localhost"),t&&String(t).replace(e2,"localhost"))}let e3=Symbol("NextURLInternal");class e9{constructor(e,t,r){let n,i;"object"==typeof t&&"pathname"in t||"string"==typeof t?(n=t,i=r||{}):i=r||t||{},this[e3]={url:e4(e,n??i.base),options:i,basePath:""},this.analyze()}analyze(){var e,t,r,n,i;let o=function(e,t){var r,n;let{basePath:i,i18n:o,trailingSlash:a}=null!=(r=t.nextConfig)?r:{},s={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):a};i&&C(s.pathname,i)&&(s.pathname=T(s.pathname,i),s.basePath=i);let l=s.pathname;if(s.pathname.startsWith("/_next/data/")&&s.pathname.endsWith(".json")){let e=s.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");s.buildId=e[0],l="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(s.pathname=l)}if(o){let e=t.i18nProvider?t.i18nProvider.analyze(s.pathname):x(s.pathname,o.locales);s.locale=e.detectedLocale,s.pathname=null!=(n=e.pathname)?n:s.pathname,!e.detectedLocale&&s.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(l):x(l,o.locales)).detectedLocale&&(s.locale=e.detectedLocale)}return s}(this[e3].url.pathname,{nextConfig:this[e3].options.nextConfig,parseData:!process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,i18nProvider:this[e3].options.i18nProvider}),a=ec(this[e3].url,this[e3].options.headers);this[e3].domainLocale=this[e3].options.i18nProvider?this[e3].options.i18nProvider.detectDomainLocale(a):eu(null==(t=this[e3].options.nextConfig)||null==(e=t.i18n)?void 0:e.domains,a);let s=(null==(r=this[e3].domainLocale)?void 0:r.defaultLocale)||(null==(i=this[e3].options.nextConfig)||null==(n=i.i18n)?void 0:n.defaultLocale);this[e3].url.pathname=o.pathname,this[e3].defaultLocale=s,this[e3].basePath=o.basePath??"",this[e3].buildId=o.buildId,this[e3].locale=o.locale??s,this[e3].trailingSlash=o.trailingSlash}formatPathname(){var e;let t;return t=function(e,t,r,n){if(!t||t===r)return e;let i=e.toLowerCase();return!n&&(C(i,"/api")||C(i,"/"+t.toLowerCase()))?e:e0(e,"/"+t)}((e={basePath:this[e3].basePath,buildId:this[e3].buildId,defaultLocale:this[e3].options.forceLocale?void 0:this[e3].defaultLocale,locale:this[e3].locale,pathname:this[e3].url.pathname,trailingSlash:this[e3].trailingSlash}).pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix),(e.buildId||!e.trailingSlash)&&(t=M(t)),e.buildId&&(t=e1(e0(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=e0(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:e1(t,"/"):M(t)}formatSearch(){return this[e3].url.search}get buildId(){return this[e3].buildId}set buildId(e){this[e3].buildId=e}get locale(){return this[e3].locale??""}set locale(e){var t,r;if(!this[e3].locale||!(null==(r=this[e3].options.nextConfig)||null==(t=r.i18n)?void 0:t.locales.includes(e)))throw Object.defineProperty(TypeError(`The NextURL configuration includes no locale "${e}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[e3].locale=e}get defaultLocale(){return this[e3].defaultLocale}get domainLocale(){return this[e3].domainLocale}get searchParams(){return this[e3].url.searchParams}get host(){return this[e3].url.host}set host(e){this[e3].url.host=e}get hostname(){return this[e3].url.hostname}set hostname(e){this[e3].url.hostname=e}get port(){return this[e3].url.port}set port(e){this[e3].url.port=e}get protocol(){return this[e3].url.protocol}set protocol(e){this[e3].url.protocol=e}get href(){let e=this.formatPathname(),t=this.formatSearch();return`${this.protocol}//${this.host}${e}${t}${this.hash}`}set href(e){this[e3].url=e4(e),this.analyze()}get origin(){return this[e3].url.origin}get pathname(){return this[e3].url.pathname}set pathname(e){this[e3].url.pathname=e}get hash(){return this[e3].url.hash}set hash(e){this[e3].url.hash=e}get search(){return this[e3].url.search}set search(e){this[e3].url.search=e}get password(){return this[e3].url.password}set password(e){this[e3].url.password=e}get username(){return this[e3].url.username}set username(e){this[e3].url.username=e}get basePath(){return this[e3].basePath}set basePath(e){this[e3].basePath=e.startsWith("/")?e:`/${e}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new e9(String(this),this[e3].options)}}r("./dist/esm/server/web/spec-extension/cookies.js"),Symbol("internal request"),Request,Symbol.for("edge-runtime.inspect.custom");let e8="ResponseAborted";class e6 extends Error{constructor(...e){super(...e),this.name=e8}}class e7{constructor(){let e,t;this.promise=new Promise((r,n)=>{e=r,t=n}),this.resolve=e,this.reject=t}}let e5=0,te=0,tt=0;function tr(e){return(null==e?void 0:e.name)==="AbortError"||(null==e?void 0:e.name)===e8}async function tn(e,t,r){try{let{errored:n,destroyed:i}=t;if(n||i)return;let o=function(e){let t=new AbortController;return e.once("close",()=>{e.writableFinished||t.abort(new e6)}),t}(t),a=function(e,t){let r=!1,n=new e7;function i(){n.resolve()}e.on("drain",i),e.once("close",()=>{e.off("drain",i),n.resolve()});let o=new e7;return e.once("finish",()=>{o.resolve()}),new WritableStream({write:async t=>{if(!r){if(r=!0,"performance"in globalThis&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX){let e=function(e={}){let t=0===e5?void 0:{clientComponentLoadStart:e5,clientComponentLoadTimes:te,clientComponentLoadCount:tt};return e.reset&&(e5=0,te=0,tt=0),t}();e&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-client-component-loading`,{start:e.clientComponentLoadStart,end:e.clientComponentLoadStart+e.clientComponentLoadTimes})}e.flushHeaders(),(0,eH.getTracer)().trace(eB.startResponse,{spanName:"start response"},()=>void 0)}try{let r=e.write(t);"flush"in e&&"function"==typeof e.flush&&e.flush(),r||(await n.promise,n=new e7)}catch(t){throw e.end(),Object.defineProperty(Error("failed to write chunk to response",{cause:t}),"__NEXT_ERROR_CODE",{value:"E321",enumerable:!1,configurable:!0})}},abort:t=>{e.writableFinished||e.destroy(t)},close:async()=>{if(t&&await t,!e.writableFinished)return e.end(),o.promise}})}(t,r);await e.pipeTo(a,{signal:o.signal})}catch(e){if(tr(e))return;throw Object.defineProperty(Error("failed to pipe response",{cause:e}),"__NEXT_ERROR_CODE",{value:"E180",enumerable:!1,configurable:!0})}}class ti{static fromStatic(e){return new ti(e,{metadata:{}})}constructor(e,{contentType:t,waitUntil:r,metadata:n}){this.response=e,this.contentType=t,this.metadata=n,this.waitUntil=r}assignMetadata(e){Object.assign(this.metadata,e)}get isNull(){return null===this.response}get isDynamic(){return"string"!=typeof this.response}toUnchunkedBuffer(e=!1){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be unchunked"),"__NEXT_ERROR_CODE",{value:"E274",enumerable:!1,configurable:!0});if("string"!=typeof this.response){if(!e)throw Object.defineProperty(Error("Invariant: dynamic responses cannot be unchunked. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E81",enumerable:!1,configurable:!0});return eZ(this.readable)}return Buffer.from(this.response)}toUnchunkedString(e=!1){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be unchunked"),"__NEXT_ERROR_CODE",{value:"E274",enumerable:!1,configurable:!0});if("string"!=typeof this.response){if(!e)throw Object.defineProperty(Error("Invariant: dynamic responses cannot be unchunked. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E81",enumerable:!1,configurable:!0});return eY(this.readable)}return this.response}get readable(){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be streamed"),"__NEXT_ERROR_CODE",{value:"E14",enumerable:!1,configurable:!0});if("string"==typeof this.response)throw Object.defineProperty(Error("Invariant: static responses cannot be streamed"),"__NEXT_ERROR_CODE",{value:"E151",enumerable:!1,configurable:!0});return Buffer.isBuffer(this.response)?eK(this.response):Array.isArray(this.response)?function(...e){if(0===e.length)throw Object.defineProperty(Error("Invariant: chainStreams requires at least one stream"),"__NEXT_ERROR_CODE",{value:"E437",enumerable:!1,configurable:!0});if(1===e.length)return e[0];let{readable:t,writable:r}=new TransformStream,n=e[0].pipeTo(r,{preventClose:!0}),i=1;for(;i<e.length-1;i++){let t=e[i];n=n.then(()=>t.pipeTo(r,{preventClose:!0}))}let o=e[i];return(n=n.then(()=>o.pipeTo(r))).catch(eJ),t}(...this.response):this.response}chain(e){var t;let r;if(null===this.response)throw Object.defineProperty(Error("Invariant: response is null. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E258",enumerable:!1,configurable:!0});(r="string"==typeof this.response?[(t=this.response,new ReadableStream({start(e){e.enqueue(eV.encode(t)),e.close()}}))]:Array.isArray(this.response)?this.response:Buffer.isBuffer(this.response)?[eK(this.response)]:[this.response]).push(e),this.response=r}async pipeTo(e){try{await this.readable.pipeTo(e,{preventClose:!0}),this.waitUntil&&await this.waitUntil,await e.close()}catch(t){if(tr(t))return void await e.abort(t);throw t}}async pipeToNodeResponse(e){await tn(this.readable,e,this.waitUntil)}}let to=em().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:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1});var ta=r("./dist/compiled/strip-ansi/index.js"),ts=r.n(ta);let tl=["_rsc"],tu=(0,eh.createContext)(null),tc=(0,eh.createContext)(null),td=(0,eh.createContext)(null);function tp(e){let{children:t,router:r,...n}=e,i=(0,eh.useRef)(n.isAutoExport),o=(0,eh.useMemo)(()=>{let e,t=i.current;if(t&&(i.current=!1),P(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(0,ep.jsx)(tc.Provider,{value:o,children:t})}let tf=em().createContext(null),th=em().createContext(null),tm=em().createContext(null),tg=em().createContext(null),ty=em().createContext(new Set),tv=Symbol.for("NextjsError"),tb=/[&><\u2028\u2029]/g,tx="<!DOCTYPE html>";function tE(){throw Object.defineProperty(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'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}async function t_(e){let t=await ey().renderToReadableStream(e);return await t.allReady,eY(t)}e=r("./dist/esm/server/api-utils/node/try-get-preview-data.js").R,t=r("./dist/esm/build/output/log.js").ZK,i=r("./dist/esm/server/post-process.js").X;class tR{constructor(e,t,r,{isFallback:n},i,o,a,s,l,u,c,d){this.route=e.replace(/\/$/,"")||"/",this.pathname=e,this.query=t,this.asPath=r,this.isFallback=n,this.basePath=o,this.locale=a,this.locales=s,this.defaultLocale=l,this.isReady=i,this.domainLocales=u,this.isPreview=!!c,this.isLocaleDomain=!!d}push(){tE()}replace(){tE()}reload(){tE()}back(){tE()}forward(){tE()}prefetch(){tE()}beforePopState(){tE()}}function tw(e,t,r){return(0,ep.jsx)(e,{Component:t,...r})}let tO=(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.:
|
3
|
+
Reason: ${n}`)}}function eR(e,t,r){if(!ex(r))throw Object.defineProperty(new e_(e,t,"",`Props must be returned as a plain object from ${t}: \`{ props: { ... } }\` (received: \`${eb(r)}\`).`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});function n(r,n,i){if(r.has(n))throw Object.defineProperty(new e_(e,t,i,`Circular references cannot be expressed in JSON (references: \`${r.get(n)||"(self)"}\`).`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});r.set(n,i)}return function r(i,o,a){let s=typeof o;if(null===o||"boolean"===s||"number"===s||"string"===s)return!0;if("undefined"===s)throw Object.defineProperty(new e_(e,t,a,"`undefined` cannot be serialized as JSON. Please use `null` or omit this value."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});if(ex(o)){if(n(i,o,a),Object.entries(o).every(([e,t])=>{let n=eE.test(e)?`${a}.${e}`:`${a}[${JSON.stringify(e)}]`,o=new Map(i);return r(o,e,n)&&r(o,t,n)}))return!0;throw Object.defineProperty(new e_(e,t,a,"invariant: Unknown error encountered in Object."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}if(Array.isArray(o)){if(n(i,o,a),o.every((e,t)=>r(new Map(i),e,`${a}[${t}]`)))return!0;throw Object.defineProperty(new e_(e,t,a,"invariant: Unknown error encountered in Array."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}throw Object.defineProperty(new e_(e,t,a,"`"+s+"`"+("object"===s?` ("${Object.prototype.toString.call(o)}")`:"")+" cannot be serialized as JSON. Please only return JSON serializable data types."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}(new Map,r,"")}let ew=em().createContext({}),eO=em().createContext({});function eS(e){void 0===e&&(e=!1);let t=[(0,ep.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,ep.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function eP(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===React.Fragment?e.concat(React.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let ej=em().createContext(null),eC=[],eT=[],eN=!1;function eA(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 e${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 eD(e){let t=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},e),r=null;function n(){if(!r){let e=new e$(eA,t);r={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return r.promise()}function i(e,i){n();let o=em().useContext(ej);o&&Array.isArray(t.modules)&&t.modules.forEach(e=>{o(e)});let a=em().useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return em().useImperativeHandle(i,()=>({retry:r.retry}),[]),em().useMemo(()=>{var n;return a.loading||a.error?em().createElement(t.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:r.retry}):a.loaded?em().createElement((n=a.loaded)&&n.default?n.default:n,e):null},[e,a])}return eC.push(n),i.preload=()=>n(),i.displayName="LoadableComponent",em().forwardRef(i)}function eL(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return eL(e,t)})}eD.preloadAll=()=>new Promise((e,t)=>{eL(eC).then(e,t)}),eD.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>t();eL(eT,e).then(r,r)}));let ek=eD,eI=em().createContext(null),eM=(0,eh.createContext)(void 0);function ez(){let e=(0,eh.useContext)(eM);if(!e)throw Object.defineProperty(Error("<Html> should not be imported outside of pages/_document.\nRead more: https://nextjs.org/docs/messages/no-document-import-in-page"),"__NEXT_ERROR_CODE",{value:"E67",enumerable:!1,configurable:!0});return e}let eq=Symbol.for("NextInternalRequestMeta");function eX(e,t){let r=e[eq]||{};return"string"==typeof t?r[t]:r}var eU=function(e){return e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e}({});let eF=new Set([301,302,303,307,308]);function eW(e){return e.statusCode||(e.permanent?eU.PermanentRedirect:eU.TemporaryRedirect)}var eH=r("./lib/trace/tracer"),eB=function(e){return e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",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.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch",e}(eB||{}),eQ=function(e){return e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult",e}(eQ||{}),eG=function(e){return e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch",e}(eG||{});function eJ(){}new Uint8Array([60,104,116,109,108]),new Uint8Array([60,98,111,100,121]),new Uint8Array([60,47,104,101,97,100,62]),new Uint8Array([60,47,98,111,100,121,62]),new Uint8Array([60,47,104,116,109,108,62]),new Uint8Array([60,47,98,111,100,121,62,60,47,104,116,109,108,62]);let eV=new TextEncoder;function eK(e){return new ReadableStream({start(t){t.enqueue(e),t.close()}})}async function eZ(e){let t=e.getReader(),r=[];for(;;){let{done:e,value:n}=await t.read();if(e)break;r.push(n)}return Buffer.concat(r)}async function eY(e,t){let r=new TextDecoder("utf-8",{fatal:!0}),n="";for await(let i of e){if(null==t?void 0:t.aborted)return n;n+=r.decode(i,{stream:!0})}return n+r.decode()}function e0(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:i}=j(e);return""+t+r+n+i}function e1(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:i}=j(e);return""+r+t+n+i}let e2=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function e4(e,t){return new URL(String(e).replace(e2,"localhost"),t&&String(t).replace(e2,"localhost"))}let e3=Symbol("NextURLInternal");class e9{constructor(e,t,r){let n,i;"object"==typeof t&&"pathname"in t||"string"==typeof t?(n=t,i=r||{}):i=r||t||{},this[e3]={url:e4(e,n??i.base),options:i,basePath:""},this.analyze()}analyze(){var e,t,r,n,i;let o=function(e,t){var r,n;let{basePath:i,i18n:o,trailingSlash:a}=null!=(r=t.nextConfig)?r:{},s={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):a};i&&C(s.pathname,i)&&(s.pathname=T(s.pathname,i),s.basePath=i);let l=s.pathname;if(s.pathname.startsWith("/_next/data/")&&s.pathname.endsWith(".json")){let e=s.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");s.buildId=e[0],l="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(s.pathname=l)}if(o){let e=t.i18nProvider?t.i18nProvider.analyze(s.pathname):x(s.pathname,o.locales);s.locale=e.detectedLocale,s.pathname=null!=(n=e.pathname)?n:s.pathname,!e.detectedLocale&&s.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(l):x(l,o.locales)).detectedLocale&&(s.locale=e.detectedLocale)}return s}(this[e3].url.pathname,{nextConfig:this[e3].options.nextConfig,parseData:!process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,i18nProvider:this[e3].options.i18nProvider}),a=ec(this[e3].url,this[e3].options.headers);this[e3].domainLocale=this[e3].options.i18nProvider?this[e3].options.i18nProvider.detectDomainLocale(a):eu(null==(t=this[e3].options.nextConfig)||null==(e=t.i18n)?void 0:e.domains,a);let s=(null==(r=this[e3].domainLocale)?void 0:r.defaultLocale)||(null==(i=this[e3].options.nextConfig)||null==(n=i.i18n)?void 0:n.defaultLocale);this[e3].url.pathname=o.pathname,this[e3].defaultLocale=s,this[e3].basePath=o.basePath??"",this[e3].buildId=o.buildId,this[e3].locale=o.locale??s,this[e3].trailingSlash=o.trailingSlash}formatPathname(){var e;let t;return t=function(e,t,r,n){if(!t||t===r)return e;let i=e.toLowerCase();return!n&&(C(i,"/api")||C(i,"/"+t.toLowerCase()))?e:e0(e,"/"+t)}((e={basePath:this[e3].basePath,buildId:this[e3].buildId,defaultLocale:this[e3].options.forceLocale?void 0:this[e3].defaultLocale,locale:this[e3].locale,pathname:this[e3].url.pathname,trailingSlash:this[e3].trailingSlash}).pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix),(e.buildId||!e.trailingSlash)&&(t=M(t)),e.buildId&&(t=e1(e0(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=e0(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:e1(t,"/"):M(t)}formatSearch(){return this[e3].url.search}get buildId(){return this[e3].buildId}set buildId(e){this[e3].buildId=e}get locale(){return this[e3].locale??""}set locale(e){var t,r;if(!this[e3].locale||!(null==(r=this[e3].options.nextConfig)||null==(t=r.i18n)?void 0:t.locales.includes(e)))throw Object.defineProperty(TypeError(`The NextURL configuration includes no locale "${e}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[e3].locale=e}get defaultLocale(){return this[e3].defaultLocale}get domainLocale(){return this[e3].domainLocale}get searchParams(){return this[e3].url.searchParams}get host(){return this[e3].url.host}set host(e){this[e3].url.host=e}get hostname(){return this[e3].url.hostname}set hostname(e){this[e3].url.hostname=e}get port(){return this[e3].url.port}set port(e){this[e3].url.port=e}get protocol(){return this[e3].url.protocol}set protocol(e){this[e3].url.protocol=e}get href(){let e=this.formatPathname(),t=this.formatSearch();return`${this.protocol}//${this.host}${e}${t}${this.hash}`}set href(e){this[e3].url=e4(e),this.analyze()}get origin(){return this[e3].url.origin}get pathname(){return this[e3].url.pathname}set pathname(e){this[e3].url.pathname=e}get hash(){return this[e3].url.hash}set hash(e){this[e3].url.hash=e}get search(){return this[e3].url.search}set search(e){this[e3].url.search=e}get password(){return this[e3].url.password}set password(e){this[e3].url.password=e}get username(){return this[e3].url.username}set username(e){this[e3].url.username=e}get basePath(){return this[e3].basePath}set basePath(e){this[e3].basePath=e.startsWith("/")?e:`/${e}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new e9(String(this),this[e3].options)}}r("./dist/esm/server/web/spec-extension/cookies.js"),Symbol("internal request"),Request,Symbol.for("edge-runtime.inspect.custom");let e8="ResponseAborted";class e6 extends Error{constructor(...e){super(...e),this.name=e8}}class e7{constructor(){let e,t;this.promise=new Promise((r,n)=>{e=r,t=n}),this.resolve=e,this.reject=t}}let e5=0,te=0,tt=0;function tr(e){return(null==e?void 0:e.name)==="AbortError"||(null==e?void 0:e.name)===e8}async function tn(e,t,r){try{let{errored:n,destroyed:i}=t;if(n||i)return;let o=function(e){let t=new AbortController;return e.once("close",()=>{e.writableFinished||t.abort(new e6)}),t}(t),a=function(e,t){let r=!1,n=new e7;function i(){n.resolve()}e.on("drain",i),e.once("close",()=>{e.off("drain",i),n.resolve()});let o=new e7;return e.once("finish",()=>{o.resolve()}),new WritableStream({write:async t=>{if(!r){if(r=!0,"performance"in globalThis&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX){let e=function(e={}){let t=0===e5?void 0:{clientComponentLoadStart:e5,clientComponentLoadTimes:te,clientComponentLoadCount:tt};return e.reset&&(e5=0,te=0,tt=0),t}();e&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-client-component-loading`,{start:e.clientComponentLoadStart,end:e.clientComponentLoadStart+e.clientComponentLoadTimes})}e.flushHeaders(),(0,eH.getTracer)().trace(eB.startResponse,{spanName:"start response"},()=>void 0)}try{let r=e.write(t);"flush"in e&&"function"==typeof e.flush&&e.flush(),r||(await n.promise,n=new e7)}catch(t){throw e.end(),Object.defineProperty(Error("failed to write chunk to response",{cause:t}),"__NEXT_ERROR_CODE",{value:"E321",enumerable:!1,configurable:!0})}},abort:t=>{e.writableFinished||e.destroy(t)},close:async()=>{if(t&&await t,!e.writableFinished)return e.end(),o.promise}})}(t,r);await e.pipeTo(a,{signal:o.signal})}catch(e){if(tr(e))return;throw Object.defineProperty(Error("failed to pipe response",{cause:e}),"__NEXT_ERROR_CODE",{value:"E180",enumerable:!1,configurable:!0})}}class ti{static fromStatic(e){return new ti(e,{metadata:{}})}constructor(e,{contentType:t,waitUntil:r,metadata:n}){this.response=e,this.contentType=t,this.metadata=n,this.waitUntil=r}assignMetadata(e){Object.assign(this.metadata,e)}get isNull(){return null===this.response}get isDynamic(){return"string"!=typeof this.response}toUnchunkedBuffer(e=!1){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be unchunked"),"__NEXT_ERROR_CODE",{value:"E274",enumerable:!1,configurable:!0});if("string"!=typeof this.response){if(!e)throw Object.defineProperty(Error("Invariant: dynamic responses cannot be unchunked. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E81",enumerable:!1,configurable:!0});return eZ(this.readable)}return Buffer.from(this.response)}toUnchunkedString(e=!1){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be unchunked"),"__NEXT_ERROR_CODE",{value:"E274",enumerable:!1,configurable:!0});if("string"!=typeof this.response){if(!e)throw Object.defineProperty(Error("Invariant: dynamic responses cannot be unchunked. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E81",enumerable:!1,configurable:!0});return eY(this.readable)}return this.response}get readable(){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be streamed"),"__NEXT_ERROR_CODE",{value:"E14",enumerable:!1,configurable:!0});if("string"==typeof this.response)throw Object.defineProperty(Error("Invariant: static responses cannot be streamed"),"__NEXT_ERROR_CODE",{value:"E151",enumerable:!1,configurable:!0});return Buffer.isBuffer(this.response)?eK(this.response):Array.isArray(this.response)?function(...e){if(0===e.length)throw Object.defineProperty(Error("Invariant: chainStreams requires at least one stream"),"__NEXT_ERROR_CODE",{value:"E437",enumerable:!1,configurable:!0});if(1===e.length)return e[0];let{readable:t,writable:r}=new TransformStream,n=e[0].pipeTo(r,{preventClose:!0}),i=1;for(;i<e.length-1;i++){let t=e[i];n=n.then(()=>t.pipeTo(r,{preventClose:!0}))}let o=e[i];return(n=n.then(()=>o.pipeTo(r))).catch(eJ),t}(...this.response):this.response}chain(e){var t;let r;if(null===this.response)throw Object.defineProperty(Error("Invariant: response is null. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E258",enumerable:!1,configurable:!0});(r="string"==typeof this.response?[(t=this.response,new ReadableStream({start(e){e.enqueue(eV.encode(t)),e.close()}}))]:Array.isArray(this.response)?this.response:Buffer.isBuffer(this.response)?[eK(this.response)]:[this.response]).push(e),this.response=r}async pipeTo(e){try{await this.readable.pipeTo(e,{preventClose:!0}),this.waitUntil&&await this.waitUntil,await e.close()}catch(t){if(tr(t))return void await e.abort(t);throw t}}async pipeToNodeResponse(e){await tn(this.readable,e,this.waitUntil)}}let to=em().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:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1});var ta=r("./dist/compiled/strip-ansi/index.js"),ts=r.n(ta);let tl=["_rsc"],tu=(0,eh.createContext)(null),tc=(0,eh.createContext)(null),td=(0,eh.createContext)(null);function tp(e){let{children:t,router:r,...n}=e,i=(0,eh.useRef)(n.isAutoExport),o=(0,eh.useMemo)(()=>{let e,t=i.current;if(t&&(i.current=!1),P(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(0,ep.jsx)(tc.Provider,{value:o,children:t})}let tf=em().createContext(null),th=em().createContext(null),tm=em().createContext(null),tg=em().createContext(null),ty=em().createContext(new Set),tv=Symbol.for("NextjsError"),tb=/[&><\u2028\u2029]/g,tx="<!DOCTYPE html>";function tE(){throw Object.defineProperty(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'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}async function t_(e){let t=await ey().renderToReadableStream(e);return await t.allReady,eY(t)}e=r("./dist/esm/server/api-utils/node/try-get-preview-data.js").R,t=r("./dist/esm/build/output/log.js").ZK,i=r("./dist/esm/server/post-process.js").X;class tR{constructor(e,t,r,{isFallback:n},i,o,a,s,l,u,c,d){this.route=e.replace(/\/$/,"")||"/",this.pathname=e,this.query=t,this.asPath=r,this.isFallback=n,this.basePath=o,this.locale=a,this.locales=s,this.defaultLocale=l,this.isReady=i,this.domainLocales=u,this.isPreview=!!c,this.isLocaleDomain=!!d}push(){tE()}replace(){tE()}reload(){tE()}back(){tE()}forward(){tE()}prefetch(){tE()}beforePopState(){tE()}}function tw(e,t,r){return(0,ep.jsx)(e,{Component:t,...r})}let tO=(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.:
|
4
4
|
|
5
5
|
return { props: { title: 'My Title', content: '...' } }
|
6
6
|
|