next 15.4.0-canary.19 → 15.4.0-canary.20

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.
Files changed (57) hide show
  1. package/dist/bin/next +1 -1
  2. package/dist/build/index.js +2 -2
  3. package/dist/build/swc/index.js +1 -1
  4. package/dist/build/webpack-config.js +2 -2
  5. package/dist/client/app-bootstrap.js +1 -1
  6. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.d.ts +2 -2
  7. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js +30 -21
  8. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js.map +1 -1
  9. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/draggable.d.ts +29 -0
  10. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/draggable.js +271 -0
  11. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/draggable.js.map +1 -0
  12. package/dist/client/components/react-dev-overlay/ui/components/fader/index.d.ts +1 -1
  13. package/dist/client/components/react-dev-overlay/ui/components/fader/index.js +1 -1
  14. package/dist/client/components/react-dev-overlay/ui/components/fader/index.js.map +1 -1
  15. package/dist/client/components/react-dev-overlay/ui/components/toast/styles.d.ts +1 -1
  16. package/dist/client/components/react-dev-overlay/ui/components/toast/styles.js +1 -1
  17. package/dist/client/components/react-dev-overlay/ui/components/toast/styles.js.map +1 -1
  18. package/dist/client/components/react-dev-overlay/ui/styles/base.js +1 -1
  19. package/dist/client/components/react-dev-overlay/ui/styles/base.js.map +1 -1
  20. package/dist/client/index.js +1 -1
  21. package/dist/compiled/next-server/app-page-experimental.runtime.dev.js +3 -3
  22. package/dist/compiled/next-server/app-page-experimental.runtime.dev.js.map +1 -1
  23. package/dist/compiled/next-server/app-page-turbo-experimental.runtime.dev.js +3 -3
  24. package/dist/compiled/next-server/app-page-turbo-experimental.runtime.dev.js.map +1 -1
  25. package/dist/compiled/next-server/app-page-turbo.runtime.dev.js +3 -3
  26. package/dist/compiled/next-server/app-page-turbo.runtime.dev.js.map +1 -1
  27. package/dist/compiled/next-server/app-page.runtime.dev.js +3 -3
  28. package/dist/compiled/next-server/app-page.runtime.dev.js.map +1 -1
  29. package/dist/esm/build/index.js +2 -2
  30. package/dist/esm/build/swc/index.js +1 -1
  31. package/dist/esm/build/webpack-config.js +2 -2
  32. package/dist/esm/client/app-bootstrap.js +1 -1
  33. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js +30 -21
  34. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js.map +1 -1
  35. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/draggable.js +243 -0
  36. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/draggable.js.map +1 -0
  37. package/dist/esm/client/components/react-dev-overlay/ui/components/fader/index.js +1 -1
  38. package/dist/esm/client/components/react-dev-overlay/ui/components/fader/index.js.map +1 -1
  39. package/dist/esm/client/components/react-dev-overlay/ui/components/toast/styles.js +1 -1
  40. package/dist/esm/client/components/react-dev-overlay/ui/components/toast/styles.js.map +1 -1
  41. package/dist/esm/client/components/react-dev-overlay/ui/styles/base.js +1 -1
  42. package/dist/esm/client/components/react-dev-overlay/ui/styles/base.js.map +1 -1
  43. package/dist/esm/client/index.js +1 -1
  44. package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
  45. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  46. package/dist/esm/server/lib/app-info-log.js +1 -1
  47. package/dist/esm/server/lib/start-server.js +1 -1
  48. package/dist/esm/shared/lib/canary-only.js +1 -1
  49. package/dist/server/dev/hot-reloader-turbopack.js +1 -1
  50. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  51. package/dist/server/lib/app-info-log.js +1 -1
  52. package/dist/server/lib/start-server.js +1 -1
  53. package/dist/shared/lib/canary-only.js +1 -1
  54. package/dist/telemetry/anonymous-meta.js +1 -1
  55. package/dist/telemetry/events/session-stopped.js +2 -2
  56. package/dist/telemetry/events/version.js +2 -2
  57. package/package.json +15 -15
@@ -266,8 +266,8 @@
266
266
  \**************************************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ReadonlyURLSearchParams:()=>ReadonlyURLSearchParams,RedirectType:()=>redirect_error.RedirectType,ServerInsertedHTMLContext:()=>server_inserted_html_shared_runtime.ServerInsertedHTMLContext,forbidden:()=>forbidden,notFound:()=>not_found.notFound,permanentRedirect:()=>redirect.permanentRedirect,redirect:()=>redirect.redirect,unauthorized:()=>unauthorized,unstable_rethrow:()=>unstable_rethrow,useParams:()=>useParams,usePathname:()=>usePathname,useRouter:()=>useRouter,useSearchParams:()=>useSearchParams,useSelectedLayoutSegment:()=>useSelectedLayoutSegment,useSelectedLayoutSegments:()=>useSelectedLayoutSegments,useServerInsertedHTML:()=>server_inserted_html_shared_runtime.useServerInsertedHTML});var react_experimental=__webpack_require__("./dist/compiled/react-experimental/index.js"),app_router_context_shared_runtime=__webpack_require__("./dist/esm/shared/lib/app-router-context.shared-runtime.js"),hooks_client_context_shared_runtime=__webpack_require__("./dist/esm/shared/lib/hooks-client-context.shared-runtime.js"),lib_segment=__webpack_require__("./dist/esm/shared/lib/segment.js"),redirect=__webpack_require__("./dist/esm/client/components/redirect.js"),redirect_error=__webpack_require__("./dist/esm/client/components/redirect-error.js"),not_found=__webpack_require__("./dist/esm/client/components/not-found.js"),http_access_fallback=__webpack_require__("./dist/esm/client/components/http-access-fallback/http-access-fallback.js");let DIGEST=""+http_access_fallback.HTTP_ERROR_FALLBACK_ERROR_CODE+";403";function forbidden(){if(!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS)throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0});let error=Object.defineProperty(Error(DIGEST),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw error.digest=DIGEST,error}let unauthorized_DIGEST=""+http_access_fallback.HTTP_ERROR_FALLBACK_ERROR_CODE+";401";function unauthorized(){if(!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS)throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0});let error=Object.defineProperty(Error(unauthorized_DIGEST),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw error.digest=unauthorized_DIGEST,error}let unstable_rethrow=__webpack_require__(/*! ./unstable-rethrow.server */"./dist/esm/client/components/unstable-rethrow.server.js").unstable_rethrow;class ReadonlyURLSearchParamsError extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class ReadonlyURLSearchParams extends URLSearchParams{append(){throw new ReadonlyURLSearchParamsError}delete(){throw new ReadonlyURLSearchParamsError}set(){throw new ReadonlyURLSearchParamsError}sort(){throw new ReadonlyURLSearchParamsError}}var server_inserted_html_shared_runtime=__webpack_require__("./dist/esm/shared/lib/server-inserted-html.shared-runtime.js");let useDynamicRouteParams=__webpack_require__(/*! ../../server/app-render/dynamic-rendering */"./dist/esm/server/app-render/dynamic-rendering.js").useDynamicRouteParams;function useSearchParams(){let searchParams=(0,react_experimental.useContext)(hooks_client_context_shared_runtime.SearchParamsContext),readonlySearchParams=(0,react_experimental.useMemo)(()=>searchParams?new ReadonlyURLSearchParams(searchParams):null,[searchParams]);{let{bailoutToClientRendering}=__webpack_require__(/*! ./bailout-to-client-rendering */"./dist/esm/client/components/bailout-to-client-rendering.js");bailoutToClientRendering("useSearchParams()")}return readonlySearchParams}function usePathname(){return null==useDynamicRouteParams||useDynamicRouteParams("usePathname()"),(0,react_experimental.useContext)(hooks_client_context_shared_runtime.PathnameContext)}function useRouter(){let router=(0,react_experimental.useContext)(app_router_context_shared_runtime.AppRouterContext);if(null===router)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return router}function useParams(){return null==useDynamicRouteParams||useDynamicRouteParams("useParams()"),(0,react_experimental.useContext)(hooks_client_context_shared_runtime.PathParamsContext)}function useSelectedLayoutSegments(parallelRouteKey){void 0===parallelRouteKey&&(parallelRouteKey="children"),null==useDynamicRouteParams||useDynamicRouteParams("useSelectedLayoutSegments()");let context=(0,react_experimental.useContext)(app_router_context_shared_runtime.LayoutRouterContext);return context?function getSelectedLayoutSegmentPath(tree,parallelRouteKey,first,segmentPath){var _parallelRoutes_children,segment;let node;if(void 0===first&&(first=!0),void 0===segmentPath&&(segmentPath=[]),first)node=tree[1][parallelRouteKey];else{let parallelRoutes=tree[1];node=null!=(_parallelRoutes_children=parallelRoutes.children)?_parallelRoutes_children:Object.values(parallelRoutes)[0]}if(!node)return segmentPath;let segmentValue=Array.isArray(segment=node[0])?segment[1]:segment;return!segmentValue||segmentValue.startsWith(lib_segment.PAGE_SEGMENT_KEY)?segmentPath:(segmentPath.push(segmentValue),getSelectedLayoutSegmentPath(node,parallelRouteKey,!1,segmentPath))}(context.parentTree,parallelRouteKey):null}function useSelectedLayoutSegment(parallelRouteKey){void 0===parallelRouteKey&&(parallelRouteKey="children"),null==useDynamicRouteParams||useDynamicRouteParams("useSelectedLayoutSegment()");let selectedLayoutSegments=useSelectedLayoutSegments(parallelRouteKey);if(!selectedLayoutSegments||0===selectedLayoutSegments.length)return null;let selectedLayoutSegment="children"===parallelRouteKey?selectedLayoutSegments[0]:selectedLayoutSegments[selectedLayoutSegments.length-1];return selectedLayoutSegment===lib_segment.DEFAULT_SEGMENT_KEY?null:selectedLayoutSegment}},"./dist/esm/client/components/not-found.js":/*!*************************************************!*\
267
267
  !*** ./dist/esm/client/components/not-found.js ***!
268
268
  \*************************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{notFound:()=>notFound});let DIGEST=""+__webpack_require__(/*! ./http-access-fallback/http-access-fallback */"./dist/esm/client/components/http-access-fallback/http-access-fallback.js").HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function notFound(){let error=Object.defineProperty(Error(DIGEST),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw error.digest=DIGEST,error}},"./dist/esm/client/components/react-dev-overlay/app/hot-reloader-client.js":/*!***********************************************************************************************!*\
269
- !*** ./dist/esm/client/components/react-dev-overlay/app/hot-reloader-client.js + 117 modules ***!
270
- \***********************************************************************************************/(module1,__webpack_exports__,__webpack_require__)=>{"use strict";let previousBodyPaddingRight,previousBodyOverflowSetting;__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>HotReload,waitForWebpackRuntimeHotUpdate:()=>waitForWebpackRuntimeHotUpdate});var _process_env___NEXT_DEV_INDICATOR,jsx_runtime=__webpack_require__("./dist/compiled/react-experimental/jsx-runtime.js"),react_experimental=__webpack_require__("./dist/compiled/react-experimental/index.js"),react_experimental_default=/*#__PURE__*/__webpack_require__.n(react_experimental),strip_ansi=__webpack_require__("./dist/compiled/strip-ansi/index.js"),strip_ansi_default=/*#__PURE__*/__webpack_require__.n(strip_ansi);let friendlySyntaxErrorLabel="Syntax error:";function isLikelyASyntaxError(message){return strip_ansi_default()(message).includes(friendlySyntaxErrorLabel)}let hadMissingSassError=!1;function formatMessage(message,verbose,importTraceNote){if("object"==typeof message&&message.message){let filteredModuleTrace=message.moduleTrace&&message.moduleTrace.filter(trace=>!/next-(middleware|client-pages|route|edge-function)-loader\.js/.test(trace.originName)),body=message.message,breakingChangeIndex=body.indexOf("\n\nBREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.");breakingChangeIndex>=0&&(body=body.slice(0,breakingChangeIndex)),message=(message.moduleName?strip_ansi_default()(message.moduleName)+"\n":"")+(message.file?strip_ansi_default()(message.file)+"\n":"")+body+(message.details&&verbose?"\n"+message.details:"")+(filteredModuleTrace&&filteredModuleTrace.length?(importTraceNote||"\n\nImport trace for requested module:")+filteredModuleTrace.map(trace=>"\n"+trace.moduleName).join(""):"")+(message.stack&&verbose?"\n"+message.stack:"")}let lines=message.split("\n");if((lines=(message=(message=(message=(message=(message=(lines=(lines=lines.filter(line=>!/Module [A-z ]+\(from/.test(line))).map(line=>{let parsingError=/Line (\d+):(?:(\d+):)?\s*Parsing error: (.+)$/.exec(line);if(!parsingError)return line;let[,errorLine,errorColumn,errorMessage]=parsingError;return friendlySyntaxErrorLabel+" "+errorMessage+" ("+errorLine+":"+errorColumn+")"})).join("\n")).replace(/SyntaxError\s+\((\d+):(\d+)\)\s*(.+?)\n/g,""+friendlySyntaxErrorLabel+" $3 ($1:$2)\n")).replace(/^.*export '(.+?)' was not found in '(.+?)'.*$/gm,"Attempted import error: '$1' is not exported from '$2'.")).replace(/^.*export 'default' \(imported as '(.+?)'\) was not found in '(.+?)'.*$/gm,"Attempted import error: '$2' does not contain a default export (imported as '$1').")).replace(/^.*export '(.+?)' \(imported as '(.+?)'\) was not found in '(.+?)'.*$/gm,"Attempted import error: '$1' is not exported from '$3' (imported as '$2').")).split("\n")).length>2&&""===lines[1].trim()&&lines.splice(1,1),lines[1]&&lines[1].startsWith("Module not found: ")&&(lines=[lines[0],lines[1].replace("Error: ","").replace("Module not found: Cannot find file:","Cannot find file:"),...lines.slice(2)]),lines[1]&&lines[1].match(/Cannot find module.+sass/)){let firstLine=lines[0].split("!");lines[0]=firstLine[firstLine.length-1],lines[1]="To use Next.js' built-in Sass support, you first need to install `sass`.\n",lines[1]+="Run `npm i sass` or `yarn add sass` inside your workspace.\n",lines[1]+="\nLearn more: https://nextjs.org/docs/messages/install-sass",lines=lines.slice(0,2),hadMissingSassError=!0}else hadMissingSassError&&message.match(/(sass-loader|resolve-url-loader: CSS error)/)&&(lines=[]);return verbose||(lines=(message=(message=(message=(message=lines.join("\n")).replace(/^\s*at\s((?!webpack:).)*:\d+:\d+[\s)]*(\n|$)/gm,"")).replace(/^\s*at\s<anonymous>(\n|$)/gm,"")).replace(/File was processed with these loaders:\n(.+[\\/](next[\\/]dist[\\/].+|@next[\\/]react-refresh-utils[\\/]loader)\.js\n)*You may need an additional loader to handle the result of these loaders.\n/g,"")).split("\n")),(message=(lines=lines.filter((line,index,arr)=>0===index||""!==line.trim()||line.trim()!==arr[index-1].trim())).join("\n")).trim()}function formatWebpackMessages(json,verbose){let formattedErrors=json.errors.map(message=>{let isUnknownNextFontError=message.message.includes("An error occurred in `next/font`.");return formatMessage(message,isUnknownNextFontError||verbose)}),formattedWarnings=json.warnings.map(message=>formatMessage(message,verbose)),reactServerComponentsError=-1;for(let i=0;i<formattedErrors.length;i++)if(formattedErrors[i].includes("ReactServerComponentsError")){reactServerComponentsError=i;break}if(-1!==reactServerComponentsError){let error=formattedErrors.splice(reactServerComponentsError,1);formattedErrors.unshift(error[0])}let result={...json,errors:formattedErrors,warnings:formattedWarnings};return!verbose&&result.errors.some(isLikelyASyntaxError)&&(result.errors=result.errors.filter(isLikelyASyntaxError),result.warnings=[]),result}var navigation=__webpack_require__("./dist/esm/client/components/navigation.js");__webpack_require__("./dist/esm/lib/is-error.js");let ownerStacks=new WeakMap,componentStacks=new WeakMap;function getOwnerStack(error){return ownerStacks.get(error)}let ACTION_STATIC_INDICATOR="static-indicator",ACTION_BUILD_OK="build-ok",ACTION_BUILD_ERROR="build-error",ACTION_BEFORE_REFRESH="before-fast-refresh",ACTION_REFRESH="fast-refresh",ACTION_VERSION_INFO="version-info",ACTION_UNHANDLED_ERROR="unhandled-error",ACTION_UNHANDLED_REJECTION="unhandled-rejection",ACTION_DEBUG_INFO="debug-info",ACTION_DEV_INDICATOR="dev-indicator",STORAGE_KEY_THEME="__nextjs-dev-tools-theme",STORAGE_KEY_POSITION="__nextjs-dev-tools-position",STORAGE_KEY_SCALE="__nextjs-dev-tools-scale",REACT_ERROR_STACK_BOTTOM_FRAME_REGEX=/\s+(at react-stack-bottom-frame.*)|(react-stack-bottom-frame@.*)/;function getStackIgnoringStrictMode(stack){return null==stack?void 0:stack.split(REACT_ERROR_STACK_BOTTOM_FRAME_REGEX)[0]}function pushErrorFilterDuplicates(errors,err){let pendingErrors=errors.filter(e=>e.event.reason.stack!==err.event.reason.stack&&getStackIgnoringStrictMode(e.event.reason.stack)!==getStackIgnoringStrictMode(err.event.reason.stack)||getOwnerStack(e.event.reason)!==getOwnerStack(err.event.reason));return pendingErrors.push(err),pendingErrors}let shouldDisableDevIndicator=(null==(_process_env___NEXT_DEV_INDICATOR=process.env.__NEXT_DEV_INDICATOR)?void 0:_process_env___NEXT_DEV_INDICATOR.toString())==="false",INITIAL_OVERLAY_STATE={nextId:1,buildError:null,errors:[],notFound:!1,staticIndicator:!1,showIndicator:!1,disableDevIndicator:!1,refreshState:{type:"idle"},versionInfo:{installed:"0.0.0",staleness:"unknown"},debugInfo:{devtoolsFrontendUrl:void 0}},stacktrace_parser_namespaceObject=require("next/dist/compiled/stacktrace-parser"),regexNextStatic=/\/_next(\/static\/.+)/;function parseStack(stack){return stack?(stack=stack.split("\n").map(line=>(line.includes("(eval ")&&(line=line.replace(/eval code/g,"eval").replace(/\(eval at [^()]* \(/,"(file://").replace(/\),.*$/g,")")),line)).join("\n"),(0,stacktrace_parser_namespaceObject.parse)(stack).map(frame=>{try{let url=new URL(frame.file),res=regexNextStatic.exec(url.pathname);if(res){var _process_env___NEXT_DIST_DIR_replace,_process_env___NEXT_DIST_DIR;let distDir=null==(_process_env___NEXT_DIST_DIR=process.env.__NEXT_DIST_DIR)?void 0:null==(_process_env___NEXT_DIST_DIR_replace=_process_env___NEXT_DIST_DIR.replace(/\\/g,"/"))?void 0:_process_env___NEXT_DIST_DIR_replace.replace(/\/$/,"");distDir&&(frame.file="file://"+distDir.concat(res.pop())+url.search)}}catch(e){}return frame})):[]}let RuntimeErrorHandler={hadRuntimeError:!1};var error_boundary=__webpack_require__("./dist/esm/client/components/error-boundary.js"),global_error=__webpack_require__("./dist/esm/client/components/global-error.js");function ErroredHtml(param){let{globalError:[GlobalError,globalErrorStyles],error}=param;return error?/*#__PURE__*/(0,jsx_runtime.jsxs)(error_boundary.ErrorBoundary,{errorComponent:global_error.default,children:[globalErrorStyles,/*#__PURE__*/(0,jsx_runtime.jsx)(GlobalError,{error:error})]}):/*#__PURE__*/(0,jsx_runtime.jsxs)("html",{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("head",{}),/*#__PURE__*/(0,jsx_runtime.jsx)("body",{})]})}class AppDevOverlayErrorBoundary extends react_experimental.PureComponent{static getDerivedStateFromError(error){return error.stack?(RuntimeErrorHandler.hadRuntimeError=!0,{isReactError:!0,reactError:error}):{isReactError:!1,reactError:null}}componentDidCatch(){this.props.onError(this.state.isReactError)}render(){let{children,globalError}=this.props,{isReactError,reactError}=this.state,fallback=/*#__PURE__*/(0,jsx_runtime.jsx)(ErroredHtml,{globalError:globalError,error:reactError});return isReactError?fallback:children}constructor(...args){super(...args),this.state={isReactError:!1,reactError:null}}}function _tagged_template_literal_loose(strings,raw){return raw||(raw=strings.slice(0)),strings.raw=raw,strings}function css(strings){for(var _len=arguments.length,keys=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)keys[_key-1]=arguments[_key];let lastIndex=strings.length-1;return(strings.slice(0,lastIndex).reduce((p,s,i)=>p+s+keys[i],"")+strings[lastIndex]).replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s+/g," ").replace(/\s*([:;,{}])\s*/g,"$1").replace(/;+}/g,"}").trim()}function _templateObject(){let data=_tagged_template_literal_loose(["\n /* latin-ext */\n @font-face {\n font-family: '__nextjs-Geist';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-latin-ext.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,\n U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,\n U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,\n U+A720-A7FF;\n }\n /* latin-ext */\n @font-face {\n font-family: '__nextjs-Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-mono-latin-ext.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,\n U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,\n U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,\n U+A720-A7FF;\n }\n /* latin */\n @font-face {\n font-family: '__nextjs-Geist';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-latin.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,\n U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,\n U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n }\n /* latin */\n @font-face {\n font-family: '__nextjs-Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-mono-latin.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,\n U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,\n U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n }\n "]);return _templateObject=function(){return data},data}let FontStyles=()=>((0,react_experimental.useInsertionEffect)(()=>{let style=document.createElement("style");return style.textContent=css(_templateObject()),document.head.appendChild(style),()=>{document.head.removeChild(style)}},[]),null);var react_dom_experimental=__webpack_require__("./dist/compiled/react-dom-experimental/index.js");function ShadowPortal(param){let{children}=param,portalNode=react_experimental.useRef(null),shadowNode=react_experimental.useRef(null),[,forceUpdate]=react_experimental.useState();return react_experimental.useEffect(()=>{let ownerDocument=document;if(portalNode.current=ownerDocument.createElement("nextjs-portal"),"undefined"!=typeof localStorage){let theme=localStorage.getItem(STORAGE_KEY_THEME);"dark"===theme?(portalNode.current.classList.add("dark"),portalNode.current.classList.remove("light")):"light"===theme&&(portalNode.current.classList.remove("dark"),portalNode.current.classList.add("light"))}return shadowNode.current=portalNode.current.attachShadow({mode:"open"}),ownerDocument.body.appendChild(portalNode.current),forceUpdate({}),()=>{portalNode.current&&portalNode.current.ownerDocument&&portalNode.current.ownerDocument.body.removeChild(portalNode.current)}},[]),shadowNode.current?/*#__PURE__*/(0,react_dom_experimental.createPortal)(children,shadowNode.current):null}function base_templateObject(){let data=_tagged_template_literal_loose(["\n :host {\n /* \n * Although the style applied to the shadow host is isolated,\n * the element that attached the shadow host (i.e. \"nextjs-portal\")\n * is still affected by the parent's style (e.g. \"body\"). This may\n * occur style conflicts like \"display: flex\", with other children\n * elements therefore give the shadow host an absolute position.\n */\n position: absolute;\n\n --color-font: #757575;\n --color-backdrop: rgba(250, 250, 250, 0.8);\n --color-border-shadow: rgba(0, 0, 0, 0.145);\n\n --color-title-color: #1f1f1f;\n --color-stack-notes: #777;\n\n --color-accents-1: #808080;\n --color-accents-2: #222222;\n --color-accents-3: #404040;\n\n --font-stack-monospace: '__nextjs-Geist Mono', 'Geist Mono',\n 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier,\n monospace;\n --font-stack-sans: '__nextjs-Geist', 'Geist', -apple-system,\n 'Source Sans Pro', sans-serif;\n\n font-family: var(--font-stack-sans);\n font-variant-ligatures: none;\n\n /* TODO: Remove replaced ones. */\n --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1),\n 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1),\n 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),\n 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),\n 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);\n --shadow-none: 0 0 #0000;\n\n --shadow-small: 0px 2px 2px rgba(0, 0, 0, 0.04);\n --shadow-menu: 0px 1px 1px rgba(0, 0, 0, 0.02),\n 0px 4px 8px -4px rgba(0, 0, 0, 0.04),\n 0px 16px 24px -8px rgba(0, 0, 0, 0.06);\n\n --focus-color: var(--color-blue-800);\n --focus-ring: 2px solid var(--focus-color);\n\n --timing-swift: cubic-bezier(0.23, 0.88, 0.26, 0.92);\n --timing-overlay: cubic-bezier(0.175, 0.885, 0.32, 1.1);\n\n --rounded-none: 0px;\n --rounded-sm: 2px;\n --rounded-md: 4px;\n --rounded-md-2: 6px;\n --rounded-lg: 8px;\n --rounded-xl: 12px;\n --rounded-2xl: 16px;\n --rounded-3xl: 24px;\n --rounded-4xl: 32px;\n --rounded-full: 9999px;\n\n /* \n This value gets set from the Dev Tools preferences,\n and we use the following --size-* variables to \n scale the relevant elements.\n\n The reason why we don't rely on rem values is because\n if an app sets their root font size to something tiny, \n it feels unexpected to have the app root size leak \n into a Next.js surface.\n\n https://github.com/vercel/next.js/discussions/76812\n */\n --nextjs-dev-tools-scale: ",";\n --size-1: calc(1px / var(--nextjs-dev-tools-scale));\n --size-2: calc(2px / var(--nextjs-dev-tools-scale));\n --size-3: calc(3px / var(--nextjs-dev-tools-scale));\n --size-4: calc(4px / var(--nextjs-dev-tools-scale));\n --size-5: calc(5px / var(--nextjs-dev-tools-scale));\n --size-6: calc(6px / var(--nextjs-dev-tools-scale));\n --size-7: calc(7px / var(--nextjs-dev-tools-scale));\n --size-8: calc(8px / var(--nextjs-dev-tools-scale));\n --size-9: calc(9px / var(--nextjs-dev-tools-scale));\n --size-10: calc(10px / var(--nextjs-dev-tools-scale));\n --size-11: calc(11px / var(--nextjs-dev-tools-scale));\n --size-12: calc(12px / var(--nextjs-dev-tools-scale));\n --size-13: calc(13px / var(--nextjs-dev-tools-scale));\n --size-14: calc(14px / var(--nextjs-dev-tools-scale));\n --size-15: calc(15px / var(--nextjs-dev-tools-scale));\n --size-16: calc(16px / var(--nextjs-dev-tools-scale));\n --size-17: calc(17px / var(--nextjs-dev-tools-scale));\n --size-18: calc(18px / var(--nextjs-dev-tools-scale));\n --size-20: calc(20px / var(--nextjs-dev-tools-scale));\n --size-22: calc(22px / var(--nextjs-dev-tools-scale));\n --size-24: calc(24px / var(--nextjs-dev-tools-scale));\n --size-26: calc(26px / var(--nextjs-dev-tools-scale));\n --size-28: calc(28px / var(--nextjs-dev-tools-scale));\n --size-30: calc(30px / var(--nextjs-dev-tools-scale));\n --size-32: calc(32px / var(--nextjs-dev-tools-scale));\n --size-34: calc(34px / var(--nextjs-dev-tools-scale));\n --size-36: calc(36px / var(--nextjs-dev-tools-scale));\n --size-38: calc(38px / var(--nextjs-dev-tools-scale));\n --size-40: calc(40px / var(--nextjs-dev-tools-scale));\n --size-42: calc(42px / var(--nextjs-dev-tools-scale));\n --size-44: calc(44px / var(--nextjs-dev-tools-scale));\n --size-46: calc(46px / var(--nextjs-dev-tools-scale));\n --size-48: calc(48px / var(--nextjs-dev-tools-scale));\n\n @media print {\n display: none;\n }\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin-bottom: 8px;\n font-weight: 500;\n line-height: 1.5;\n }\n\n a {\n color: var(--color-blue-900);\n &:hover {\n color: var(--color-blue-900);\n }\n &:focus {\n outline: var(--focus-ring);\n }\n }\n "]);return base_templateObject=function(){return data},data}function Base(param){let{scale=1}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("style",{children:css(base_templateObject(),String(scale))})}function decodeHex(hexStr){if(""===hexStr.trim())throw Object.defineProperty(Error("can't decode empty hex"),"__NEXT_ERROR_CODE",{value:"E19",enumerable:!1,configurable:!0});let num=parseInt(hexStr,16);if(isNaN(num))throw Object.defineProperty(Error("invalid hex: `"+hexStr+"`"),"__NEXT_ERROR_CODE",{value:"E293",enumerable:!1,configurable:!0});return String.fromCodePoint(num)}let DECODE_REGEX=/^__TURBOPACK__([a-zA-Z0-9_$]+)__$/,linkRegex=/https?:\/\/[^\s/$.?#].[^\s)'"]*/i,splitRegexp=RegExp("("+/__TURBOPACK__[a-zA-Z0-9_$]+__/g.source+"|\\s+)"),HotlinkedText=function(props){let{text,matcher}=props,wordsAndWhitespaces=text.split(splitRegexp);return/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:wordsAndWhitespaces.map((word,index)=>{if(linkRegex.test(word)){let href=linkRegex.exec(word)[0];return"function"!=typeof matcher||matcher(href)?/*#__PURE__*/(0,jsx_runtime.jsx)(react_experimental_default().Fragment,{children:/*#__PURE__*/(0,jsx_runtime.jsx)("a",{href:href,target:"_blank",rel:"noreferrer noopener",children:word})},"link-"+index):word}try{let decodedWord=function(identifier){let matches=identifier.match(DECODE_REGEX);if(!matches)return identifier;let inner=matches[1],output="",mode=0,buffer="";for(let i=0;i<inner.length;i++){let char=inner[i];if(0===mode)"_"===char?mode=1:"$"===char?mode=2:output+=char;else if(1===mode)"_"===char?(output+=" ",mode=0):"$"===char?(output+="_",mode=2):(output+=char,mode=0);else if(2===mode){if(2===buffer.length&&(output+=decodeHex(buffer),buffer=""),"_"===char){if(""!==buffer)throw Object.defineProperty(Error("invalid hex: `"+buffer+"`"),"__NEXT_ERROR_CODE",{value:"E293",enumerable:!1,configurable:!0});mode=3}else if("$"===char){if(""!==buffer)throw Object.defineProperty(Error("invalid hex: `"+buffer+"`"),"__NEXT_ERROR_CODE",{value:"E293",enumerable:!1,configurable:!0});mode=0}else buffer+=char}else if(3===mode){if("_"===char)throw Object.defineProperty(Error("invalid hex: `"+(buffer+char)+"`"),"__NEXT_ERROR_CODE",{value:"E244",enumerable:!1,configurable:!0});"$"===char?(output+=decodeHex(buffer),buffer="",mode=0):buffer+=char}}return output}(word);if(decodedWord!==word)return/*#__PURE__*/(0,jsx_runtime.jsxs)("i",{children:["{",decodedWord,"}"]},"ident-"+index)}catch(e){return/*#__PURE__*/(0,jsx_runtime.jsxs)("i",{children:["{",word," (decoding failed: ",""+e,")","}"]},"ident-"+index)}return/*#__PURE__*/(0,jsx_runtime.jsx)(react_experimental_default().Fragment,{children:word},"text-"+index)})})},replacementRegExes=[/^webpack-internal:\/\/\/(\([\w-]+\)\/)?/,/^(webpack:\/\/\/|webpack:\/\/(_N_E\/)?)(\([\w-]+\)\/)?/];function isWebpackInternalResource(file){for(let regex of replacementRegExes){if(regex.test(file))return!0;file=file.replace(regex,"")}return!1}function formatFrameSourceFile(file){for(let regex of replacementRegExes)file=file.replace(regex,"");return file}function getOriginalStackFrame(source,response){var _source_file;async function _getOriginalStackFrame(){var _body_originalStackFrame;if("rejected"===response.status)throw Object.defineProperty(Error(response.reason),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});let body=response.value;return{error:!1,reason:null,external:!1,sourceStackFrame:source,originalStackFrame:body.originalStackFrame,originalCodeFrame:body.originalCodeFrame||null,ignored:(null==(_body_originalStackFrame=body.originalStackFrame)?void 0:_body_originalStackFrame.ignored)||!1}}return"file://"===source.file||(null==(_source_file=source.file)?void 0:_source_file.match(/https?:\/\//))?Promise.resolve({error:!1,reason:null,external:!0,sourceStackFrame:source,originalStackFrame:null,originalCodeFrame:null,ignored:!0}):_getOriginalStackFrame().catch(err=>{var _err_message,_ref;return{error:!0,reason:null!=(_ref=null!=(_err_message=null==err?void 0:err.message)?_err_message:null==err?void 0:err.toString())?_ref:"Unknown Error",external:!1,sourceStackFrame:source,originalStackFrame:null,originalCodeFrame:null,ignored:!1}})}async function getOriginalStackFrames(frames,type,isAppDir){let res,reason;try{res=await fetch("/__nextjs_original-stack-frames",{method:"POST",body:JSON.stringify({frames,isServer:"server"===type,isEdgeServer:"edge-server"===type,isAppDirectory:isAppDir})})}catch(e){reason=e+""}if(res&&res.ok&&204!==res.status){let data=await res.json();return Promise.all(frames.map((frame,index)=>getOriginalStackFrame(frame,data[index])))}return res&&(reason=await res.text()),Promise.all(frames.map(frame=>getOriginalStackFrame(frame,{status:"rejected",reason:"Failed to fetch the original stack frames "+(reason?": "+reason:"")})))}function getFrameSource(frame){if(!frame.file)return"";let isWebpackFrame=isWebpackInternalResource(frame.file),str="";if(isWebpackFrame)str=formatFrameSourceFile(frame.file);else try{var _globalThis_location;let u=new URL(frame.file),parsedPath="";(null==(_globalThis_location=globalThis.location)?void 0:_globalThis_location.origin)!==u.origin&&("null"===u.origin?parsedPath+=u.protocol:parsedPath+=u.origin),parsedPath+=u.pathname,str=formatFrameSourceFile(parsedPath)}catch(e){str=formatFrameSourceFile(frame.file)}return!isWebpackInternalResource(frame.file)&&null!=frame.lineNumber&&str&&(null!=frame.column?str+=" ("+frame.lineNumber+":"+frame.column+")":str+=" ("+frame.lineNumber+")"),str}function useOpenInEditor(param){let{file,lineNumber,column}=void 0===param?{}:param;return(0,react_experimental.useCallback)(()=>{if(null==file||null==lineNumber||null==column)return;let params=new URLSearchParams;params.append("file",file),params.append("lineNumber",String(lineNumber)),params.append("column",String(column)),self.fetch((process.env.__NEXT_ROUTER_BASEPATH||"")+"/__nextjs_launch-editor?"+params.toString()).then(()=>{},cause=>{console.error('Failed to open file "'+file+" ("+lineNumber+":"+column+')" in your editor. Cause:',cause)})},[file,lineNumber,column])}function ExternalIcon(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M11.5 9.75V11.25C11.5 11.3881 11.3881 11.5 11.25 11.5H4.75C4.61193 11.5 4.5 11.3881 4.5 11.25L4.5 4.75C4.5 4.61193 4.61193 4.5 4.75 4.5H6.25H7V3H6.25H4.75C3.7835 3 3 3.7835 3 4.75V11.25C3 12.2165 3.7835 13 4.75 13H11.25C12.2165 13 13 12.2165 13 11.25V9.75V9H11.5V9.75ZM8.5 3H9.25H12.2495C12.6637 3 12.9995 3.33579 12.9995 3.75V6.75V7.5H11.4995V6.75V5.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L10.4388 4.5H9.25H8.5V3Z"})})}function SourceMappingErrorIcon(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",strokeLinejoin:"round",viewBox:"-4 -4 24 24",width:"16",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.55846 2H7.44148L1.88975 13.5H14.1102L8.55846 2ZM9.90929 1.34788C9.65902 0.829456 9.13413 0.5 8.55846 0.5H7.44148C6.86581 0.5 6.34092 0.829454 6.09065 1.34787L0.192608 13.5653C-0.127943 14.2293 0.355835 15 1.09316 15H14.9068C15.6441 15 16.1279 14.2293 15.8073 13.5653L9.90929 1.34788ZM8.74997 4.75V5.5V8V8.75H7.24997V8V5.5V4.75H8.74997ZM7.99997 12C8.55226 12 8.99997 11.5523 8.99997 11C8.99997 10.4477 8.55226 10 7.99997 10C7.44769 10 6.99997 10.4477 6.99997 11C6.99997 11.5523 7.44769 12 7.99997 12Z",fill:"currentColor"})})}function FileIcon(param){let{lang}=param;if(!lang)return/*#__PURE__*/(0,jsx_runtime.jsx)(File,{});switch(lang.toLowerCase()){case"jsx":case"tsx":return/*#__PURE__*/(0,jsx_runtime.jsx)(React,{});case"ts":case"typescript":return/*#__PURE__*/(0,jsx_runtime.jsx)(Ts,{});case"javascript":case"js":case"mjs":return/*#__PURE__*/(0,jsx_runtime.jsx)(Js,{});case"json":return/*#__PURE__*/(0,jsx_runtime.jsx)(Json,{});default:return/*#__PURE__*/(0,jsx_runtime.jsx)(File,{})}}function Json(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{clipRule:"evenodd",fillRule:"evenodd",height:"16",viewBox:"0 0 1321.45 1333.33",width:"16",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M221.37 618.44h757.94V405.15H755.14c-23.5 0-56.32-12.74-71.82-28.24-15.5-15.5-25-43.47-25-66.97V82.89H88.39c-1.99 0-3.49 1-4.49 2-1.5 1-2 2.5-2 4.5v1155.04c0 1.5 1 3.5 2 4.5 1 1.49 3 1.99 4.49 1.99H972.8c2 0 1.89-.99 2.89-1.99 1.5-1 3.61-3 3.61-4.5v-121.09H221.36c-44.96 0-82-36.9-82-81.99V700.44c0-45.1 36.9-82 82-82zm126.51 117.47h75.24v146.61c0 30.79-2.44 54.23-7.33 70.31-4.92 16.03-14.8 29.67-29.65 40.85-14.86 11.12-33.91 16.72-57.05 16.72-24.53 0-43.51-3.71-56.94-11.06-13.5-7.36-23.89-18.1-31.23-32.3-7.35-14.14-11.69-31.67-12.99-52.53l71.5-10.81c.11 11.81 1.07 20.61 2.81 26.33 1.76 5.78 4.75 10.37 9 13.95 2.87 2.33 6.94 3.46 12.25 3.46 8.4 0 14.58-3.46 18.53-10.37 3.9-6.92 5.87-18.6 5.87-35V735.92zm112.77 180.67l71.17-4.97c1.54 12.81 4.69 22.62 9.44 29.28 7.74 10.88 18.74 16.34 33.09 16.34 10.68 0 18.93-2.76 24.68-8.36 5.81-5.58 8.7-12.07 8.7-19.41 0-6.97-2.71-13.26-8.2-18.79-5.47-5.53-18.23-10.68-38.28-15.65-32.89-8.17-56.27-19.1-70.26-32.74-14.12-13.57-21.18-30.92-21.18-52.03 0-13.83 3.61-26.89 10.85-39.21 7.22-12.38 18.07-22.06 32.59-29.09 14.52-7.04 34.4-10.56 59.65-10.56 31 0 54.62 6.41 70.88 19.29 16.28 12.81 25.92 33.24 29.04 61.27l-70.5 4.65c-1.87-12.25-5.81-21.17-11.81-26.7-6.05-5.6-14.35-8.36-24.9-8.36-8.71 0-15.31 2.07-19.73 6.16-4.4 4.09-6.59 9.12-6.59 15.02 0 4.27 1.81 8.11 5.37 11.57 3.45 3.59 11.8 6.85 25.02 9.93 32.75 7.86 56.2 15.84 70.31 23.87 14.18 8.05 24.52 17.98 30.96 29.92 6.44 11.88 9.66 25.2 9.66 39.96 0 17.29-4.3 33.24-12.88 47.89-8.63 14.58-20.61 25.7-36.08 33.24-15.41 7.54-34.85 11.31-58.33 11.31-41.24 0-69.81-8.86-85.68-26.52-15.88-17.65-24.85-40.09-26.96-67.3zm248.74-45.5c0-44.05 11.02-78.36 33.09-102.87 22.09-24.57 52.82-36.82 92.24-36.82 40.38 0 71.5 12.07 93.34 36.13 21.86 24.13 32.77 57.94 32.77 101.37 0 31.54-4.75 57.36-14.3 77.54-9.54 20.18-23.37 35.89-41.4 47.13-18.07 11.24-40.55 16.84-67.48 16.84-27.33 0-49.99-4.83-67.94-14.52-17.92-9.74-32.49-25.07-43.62-46.06-11.13-20.92-16.72-47.19-16.72-78.74zm74.89.19c0 27.21 4.57 46.81 13.68 58.68 9.13 11.88 21.57 17.85 37.26 17.85 16.1 0 28.65-5.84 37.45-17.47 8.87-11.68 13.28-32.54 13.28-62.77 0-25.39-4.63-43.92-13.84-55.61-9.26-11.76-21.75-17.6-37.56-17.6-15.13 0-27.34 5.97-36.49 17.85-9.21 11.88-13.78 31.61-13.78 59.07zm209.08-135.36h69.99l90.98 149.05V735.91h70.83v269.96h-70.83l-90.48-148.24v148.24h-70.49V735.91zm67.71-117.47h178.37c45.1 0 82 37.04 82 82v340.91c0 44.96-37.03 81.99-82 81.99h-178.37v147c0 17.5-6.99 32.99-18.5 44.5-11.5 11.49-27 18.5-44.5 18.5H62.97c-17.5 0-32.99-7-44.5-18.5-11.49-11.5-18.5-27-18.5-44.5V63.49c0-17.5 7-33 18.5-44.5S45.97.49 62.97.49H700.1c1.5-.5 3-.5 4.5-.5 7 0 14 3 19 7.49h1c1 .5 1.5 1 2.5 2l325.46 329.47c5.5 5.5 9.5 13 9.5 21.5 0 2.5-.5 4.5-1 7v250.98zM732.61 303.47V96.99l232.48 235.47H761.6c-7.99 0-14.99-3.5-20.5-8.49-4.99-5-8.49-12.5-8.49-20.5z",fill:"currentColor"})})}function Js(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{height:"16",viewBox:"0 0 50 50",width:"16",xmlns:"http://www.w3.org/2000/svg",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M 43.335938 4 L 6.667969 4 C 5.195313 4 4 5.195313 4 6.667969 L 4 43.332031 C 4 44.804688 5.195313 46 6.667969 46 L 43.332031 46 C 44.804688 46 46 44.804688 46 43.335938 L 46 6.667969 C 46 5.195313 44.804688 4 43.335938 4 Z M 27 36.183594 C 27 40.179688 24.65625 42 21.234375 42 C 18.140625 42 15.910156 39.925781 15 38 L 18.144531 36.097656 C 18.75 37.171875 19.671875 38 21 38 C 22.269531 38 23 37.503906 23 35.574219 L 23 23 L 27 23 Z M 35.675781 42 C 32.132813 42 30.121094 40.214844 29 38 L 32 36 C 32.816406 37.335938 33.707031 38.613281 35.589844 38.613281 C 37.171875 38.613281 38 37.824219 38 36.730469 C 38 35.425781 37.140625 34.960938 35.402344 34.199219 L 34.449219 33.789063 C 31.695313 32.617188 29.863281 31.148438 29.863281 28.039063 C 29.863281 25.179688 32.046875 23 35.453125 23 C 37.878906 23 39.621094 23.84375 40.878906 26.054688 L 37.910156 27.964844 C 37.253906 26.789063 36.550781 26.328125 35.453125 26.328125 C 34.335938 26.328125 33.628906 27.039063 33.628906 27.964844 C 33.628906 29.109375 34.335938 29.570313 35.972656 30.28125 L 36.925781 30.691406 C 40.171875 32.078125 42 33.496094 42 36.683594 C 42 40.117188 39.300781 42 35.675781 42 Z",fill:"currentColor"})})}function Ts(){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{fill:"none",height:"14",viewBox:"0 0 512 512",width:"14",xmlns:"http://www.w3.org/2000/svg",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{fill:"currentColor",height:"512",rx:"50",width:"512"}),/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{fill:"currentColor",height:"512",rx:"50",width:"512"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{clipRule:"evenodd",d:"m316.939 407.424v50.061c8.138 4.172 17.763 7.3 28.875 9.386s22.823 3.129 35.135 3.129c11.999 0 23.397-1.147 34.196-3.442 10.799-2.294 20.268-6.075 28.406-11.342 8.138-5.266 14.581-12.15 19.328-20.65s7.121-19.007 7.121-31.522c0-9.074-1.356-17.026-4.069-23.857s-6.625-12.906-11.738-18.225c-5.112-5.319-11.242-10.091-18.389-14.315s-15.207-8.213-24.18-11.967c-6.573-2.712-12.468-5.345-17.685-7.9-5.217-2.556-9.651-5.163-13.303-7.822-3.652-2.66-6.469-5.476-8.451-8.448-1.982-2.973-2.974-6.336-2.974-10.091 0-3.441.887-6.544 2.661-9.308s4.278-5.136 7.512-7.118c3.235-1.981 7.199-3.52 11.894-4.615 4.696-1.095 9.912-1.642 15.651-1.642 4.173 0 8.581.313 13.224.938 4.643.626 9.312 1.591 14.008 2.894 4.695 1.304 9.259 2.947 13.694 4.928 4.434 1.982 8.529 4.276 12.285 6.884v-46.776c-7.616-2.92-15.937-5.084-24.962-6.492s-19.381-2.112-31.066-2.112c-11.895 0-23.163 1.278-33.805 3.833s-20.006 6.544-28.093 11.967c-8.086 5.424-14.476 12.333-19.171 20.729-4.695 8.395-7.043 18.433-7.043 30.114 0 14.914 4.304 27.638 12.912 38.172 8.607 10.533 21.675 19.45 39.204 26.751 6.886 2.816 13.303 5.579 19.25 8.291s11.086 5.528 15.415 8.448c4.33 2.92 7.747 6.101 10.252 9.543 2.504 3.441 3.756 7.352 3.756 11.733 0 3.233-.783 6.231-2.348 8.995s-3.939 5.162-7.121 7.196-7.147 3.624-11.894 4.771c-4.748 1.148-10.303 1.721-16.668 1.721-10.851 0-21.597-1.903-32.24-5.71-10.642-3.806-20.502-9.516-29.579-17.13zm-84.159-123.342h64.22v-41.082h-179v41.082h63.906v182.918h50.874z",fill:"var(--color-background-100)",fillRule:"evenodd"})]})}function File(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 7v7a2.5 2.5 0 0 1-2.5 2.5H4A2.5 2.5 0 0 1 1.5 14V.5h7.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V7zM13 7v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2h5v5h5zM9.5 2.621V5.5h2.879L9.5 2.621z",fill:"currentColor"})})}function React(){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("g",{clipPath:"url(#file_react_clip0_872_3183)",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 1.93782C4.70129 1.82161 4.99472 1.7858 5.41315 1.91053C5.83298 2.03567 6.33139 2.31073 6.87627 2.73948C7.01136 2.84578 7.14803 2.96052 7.28573 3.08331C6.86217 3.53446 6.44239 4.04358 6.03752 4.60092C5.35243 4.67288 4.70164 4.78186 4.09916 4.92309C4.06167 4.74244 4.03064 4.56671 4.00612 4.39656C3.90725 3.71031 3.91825 3.14114 4.01979 2.71499C4.12099 2.29025 4.29871 2.05404 4.5 1.93782ZM7.49466 1.95361C7.66225 2.08548 7.83092 2.22804 7.99999 2.38067C8.16906 2.22804 8.33773 2.08548 8.50532 1.95361C9.10921 1.47842 9.71982 1.12549 10.3012 0.952202C10.8839 0.778496 11.4838 0.7738 12 1.0718C12.5161 1.3698 12.812 1.89169 12.953 2.48322C13.0936 3.07333 13.0932 3.77858 12.9836 4.53917C12.9532 4.75024 12.9141 4.9676 12.8665 5.19034C13.0832 5.26044 13.291 5.33524 13.489 5.41444C14.2025 5.69983 14.8134 6.05217 15.2542 6.46899C15.696 6.8868 16 7.404 16 8C16 8.596 15.696 9.11319 15.2542 9.53101C14.8134 9.94783 14.2025 10.3002 13.489 10.5856C13.291 10.6648 13.0832 10.7396 12.8665 10.8097C12.9141 11.0324 12.9532 11.2498 12.9837 11.4608C13.0932 12.2214 13.0936 12.9267 12.953 13.5168C12.812 14.1083 12.5161 14.6302 12 14.9282C11.4839 15.2262 10.8839 15.2215 10.3012 15.0478C9.71984 14.8745 9.10923 14.5216 8.50534 14.0464C8.33775 13.9145 8.16906 13.7719 7.99999 13.6193C7.83091 13.7719 7.66223 13.9145 7.49464 14.0464C6.89075 14.5216 6.28014 14.8745 5.69879 15.0478C5.11605 15.2215 4.51613 15.2262 3.99998 14.9282C3.48383 14.6302 3.18794 14.1083 3.047 13.5168C2.9064 12.9267 2.90674 12.2214 3.01632 11.4608C3.04673 11.2498 3.08586 11.0324 3.13351 10.8097C2.91679 10.7395 2.709 10.6648 2.511 10.5856C1.79752 10.3002 1.18658 9.94783 0.745833 9.53101C0.304028 9.11319 0 8.596 0 8C0 7.404 0.304028 6.8868 0.745833 6.46899C1.18658 6.05217 1.79752 5.69983 2.511 5.41444C2.709 5.33524 2.9168 5.26044 3.13352 5.19034C3.08587 4.9676 3.04675 4.75024 3.01634 4.53917C2.90676 3.77858 2.90642 3.07332 3.04702 2.48321C3.18796 1.89169 3.48385 1.3698 4 1.0718C4.51615 0.773798 5.11607 0.778495 5.69881 0.952201C6.28016 1.12549 6.89077 1.47841 7.49466 1.95361ZM7.36747 4.51025C7.57735 4.25194 7.78881 4.00927 7.99999 3.78356C8.21117 4.00927 8.42263 4.25194 8.63251 4.51025C8.42369 4.50346 8.21274 4.5 8 4.5C7.78725 4.5 7.5763 4.50345 7.36747 4.51025ZM8.71425 3.08331C9.13781 3.53447 9.55759 4.04358 9.96246 4.60092C10.6475 4.67288 11.2983 4.78186 11.9008 4.92309C11.9383 4.74244 11.9693 4.56671 11.9939 4.39657C12.0927 3.71031 12.0817 3.14114 11.9802 2.71499C11.879 2.29025 11.7013 2.05404 11.5 1.93782C11.2987 1.82161 11.0053 1.7858 10.5868 1.91053C10.167 2.03568 9.66859 2.31073 9.12371 2.73948C8.98862 2.84578 8.85196 2.96052 8.71425 3.08331ZM8 5.5C8.48433 5.5 8.95638 5.51885 9.41188 5.55456C9.67056 5.93118 9.9229 6.33056 10.1651 6.75C10.4072 7.16944 10.6269 7.58766 10.8237 7.99998C10.6269 8.41232 10.4072 8.83055 10.165 9.25C9.92288 9.66944 9.67053 10.0688 9.41185 10.4454C8.95636 10.4812 8.48432 10.5 8 10.5C7.51567 10.5 7.04363 10.4812 6.58813 10.4454C6.32945 10.0688 6.0771 9.66944 5.83494 9.25C5.59277 8.83055 5.37306 8.41232 5.17624 7.99998C5.37306 7.58765 5.59275 7.16944 5.83492 6.75C6.07708 6.33056 6.32942 5.93118 6.5881 5.55456C7.04361 5.51884 7.51566 5.5 8 5.5ZM11.0311 6.25C11.1375 6.43423 11.2399 6.61864 11.3385 6.80287C11.4572 6.49197 11.5616 6.18752 11.6515 5.89178C11.3505 5.82175 11.0346 5.75996 10.706 5.70736C10.8163 5.8848 10.9247 6.06576 11.0311 6.25ZM11.0311 9.75C11.1374 9.56576 11.2399 9.38133 11.3385 9.19709C11.4572 9.50801 11.5617 9.81246 11.6515 10.1082C11.3505 10.1782 11.0346 10.24 10.7059 10.2926C10.8162 10.1152 10.9247 9.93424 11.0311 9.75ZM11.9249 7.99998C12.2051 8.62927 12.4362 9.24738 12.6151 9.83977C12.7903 9.78191 12.958 9.72092 13.1176 9.65708C13.7614 9.39958 14.2488 9.10547 14.5671 8.80446C14.8843 8.50445 15 8.23243 15 8C15 7.76757 14.8843 7.49555 14.5671 7.19554C14.2488 6.89453 13.7614 6.60042 13.1176 6.34292C12.958 6.27907 12.7903 6.21808 12.6151 6.16022C12.4362 6.7526 12.2051 7.37069 11.9249 7.99998ZM9.96244 11.3991C10.6475 11.3271 11.2983 11.2181 11.9008 11.0769C11.9383 11.2576 11.9694 11.4333 11.9939 11.6034C12.0928 12.2897 12.0817 12.8589 11.9802 13.285C11.879 13.7098 11.7013 13.946 11.5 14.0622C11.2987 14.1784 11.0053 14.2142 10.5868 14.0895C10.167 13.9643 9.66861 13.6893 9.12373 13.2605C8.98863 13.1542 8.85196 13.0395 8.71424 12.9167C9.1378 12.4655 9.55758 11.9564 9.96244 11.3991ZM8.63249 11.4898C8.42262 11.7481 8.21116 11.9907 7.99999 12.2164C7.78881 11.9907 7.57737 11.7481 7.36749 11.4897C7.57631 11.4965 7.78726 11.5 8 11.5C8.21273 11.5 8.42367 11.4965 8.63249 11.4898ZM4.96891 9.75C5.07528 9.93424 5.18375 10.1152 5.29404 10.2926C4.9654 10.24 4.64951 10.1782 4.34844 10.1082C4.43833 9.81246 4.54276 9.508 4.66152 9.19708C4.76005 9.38133 4.86254 9.56575 4.96891 9.75ZM6.03754 11.3991C5.35244 11.3271 4.70163 11.2181 4.09914 11.0769C4.06165 11.2576 4.03062 11.4333 4.0061 11.6034C3.90723 12.2897 3.91823 12.8589 4.01977 13.285C4.12097 13.7098 4.29869 13.946 4.49998 14.0622C4.70127 14.1784 4.9947 14.2142 5.41313 14.0895C5.83296 13.9643 6.33137 13.6893 6.87625 13.2605C7.01135 13.1542 7.14802 13.0395 7.28573 12.9167C6.86217 12.4655 6.4424 11.9564 6.03754 11.3991ZM4.07507 7.99998C3.79484 8.62927 3.56381 9.24737 3.38489 9.83977C3.20969 9.78191 3.042 9.72092 2.88239 9.65708C2.23864 9.39958 1.75123 9.10547 1.43294 8.80446C1.11571 8.50445 1 8.23243 1 8C1 7.76757 1.11571 7.49555 1.43294 7.19554C1.75123 6.89453 2.23864 6.60042 2.88239 6.34292C3.042 6.27907 3.2097 6.21808 3.3849 6.16022C3.56383 6.75261 3.79484 7.37069 4.07507 7.99998ZM4.66152 6.80287C4.54277 6.49197 4.43835 6.18752 4.34846 5.89178C4.64952 5.82175 4.96539 5.75996 5.29402 5.70736C5.18373 5.8848 5.07526 6.06576 4.96889 6.25C4.86253 6.43423 4.76005 6.61864 4.66152 6.80287ZM9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8C6.75 7.30965 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30965 9.25 8Z",fill:"currentColor"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("defs",{children:/*#__PURE__*/(0,jsx_runtime.jsx)("clipPath",{id:"file_react_clip0_872_3183",children:/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]})}var anser=__webpack_require__("./dist/compiled/anser/index.js"),anser_default=/*#__PURE__*/__webpack_require__.n(anser);function CodeFrame(param){var _stackFrame_file;let{stackFrame,codeFrame}=param,formattedFrame=(0,react_experimental.useMemo)(()=>(function(codeFrame){let lines=codeFrame.split(/\r?\n/g),miniLeadingSpacesLength=lines.map(line=>null===/^>? +\d+ +\| [ ]+/.exec(strip_ansi_default()(line))?null:/^>? +\d+ +\| ( *)/.exec(strip_ansi_default()(line))).filter(Boolean).map(v=>v.pop()).reduce((c,n)=>isNaN(c)?n.length:Math.min(c,n.length),NaN);return miniLeadingSpacesLength>1?lines.map((line,a)=>~(a=line.indexOf("|"))?line.substring(0,a)+line.substring(a).replace("^\\ {"+miniLeadingSpacesLength+"}",""):line).join("\n"):lines.join("\n")})(codeFrame),[codeFrame]),decodedLines=(0,react_experimental.useMemo)(()=>(function(formattedFrame){let decoded=anser_default().ansiToJson(formattedFrame,{json:!0,use_classes:!0,remove_empty:!0}),lines=[],line=[];for(let token of decoded)"\n"===token.content?(lines.push(line),line=[]):line.push(token);return line.length>0&&lines.push(line),lines})(formattedFrame),[formattedFrame]),open=useOpenInEditor({file:stackFrame.file,lineNumber:stackFrame.lineNumber,column:stackFrame.column}),fileExtension=null==stackFrame?void 0:null==(_stackFrame_file=stackFrame.file)?void 0:_stackFrame_file.split(".").pop();return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-codeframe":!0,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"code-frame-header",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"code-frame-link",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"code-frame-icon",children:/*#__PURE__*/(0,jsx_runtime.jsx)(FileIcon,{lang:fileExtension})}),/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{"data-text":!0,children:[getFrameSource(stackFrame)," @"," ",/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:stackFrame.methodName})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{"aria-label":"Open in editor","data-with-open-in-editor-link-source-file":!0,onClick:open,children:/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"code-frame-icon","data-icon":"right",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ExternalIcon,{width:16,height:16})})})]})}),/*#__PURE__*/(0,jsx_runtime.jsx)("pre",{className:"code-frame-pre",children:decodedLines.map((line,lineIndex)=>{var _line_,_line_1,_stackFrame_lineNumber,_lineNumberToken_content_replace,_lineNumberToken_content;let lineNumberToken,lineNumber;let{lineNumber:lineNumber1,isErroredLine}=(((null==(_line_=line[0])?void 0:_line_.content)===">"||(null==(_line_1=line[0])?void 0:_line_1.content)===" ")&&(lineNumber=null==(lineNumberToken=line[1])?void 0:null==(_lineNumberToken_content=lineNumberToken.content)?void 0:null==(_lineNumberToken_content_replace=_lineNumberToken_content.replace("|",""))?void 0:_lineNumberToken_content_replace.trim()),{lineNumber,isErroredLine:lineNumber===(null==(_stackFrame_lineNumber=stackFrame.lineNumber)?void 0:_stackFrame_lineNumber.toString())}),lineNumberProps={};return lineNumber1&&(lineNumberProps["data-nextjs-codeframe-line"]=lineNumber1),isErroredLine&&(lineNumberProps["data-nextjs-codeframe-line--errored"]=!0),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{...lineNumberProps,children:line.map((entry,entryIndex)=>/*#__PURE__*/(0,jsx_runtime.jsx)("span",{style:{color:entry.fg?"var(--color-"+entry.fg+")":void 0,..."bold"===entry.decoration?{fontWeight:500}:"italic"===entry.decoration?{fontStyle:"italic"}:void 0},children:entry.content},"frame-"+entryIndex))},"line-"+lineIndex)})})]})}let CSS_SELECTORS_TO_EXCLUDE_ON_CLICK_OUTSIDE=["[data-next-mark]","[data-issues-open]","#nextjs-dev-tools-menu","[data-nextjs-error-overlay-nav]","[data-info-popover]"],Dialog=function(param){var el,handler;let{children,className,onClose,"aria-labelledby":ariaLabelledBy,"aria-describedby":ariaDescribedBy,dialogResizerRef,...props}=param,dialogRef=react_experimental.useRef(null),[role,setRole]=react_experimental.useState("undefined"!=typeof document&&document.hasFocus()?"dialog":void 0);return el=dialogRef.current,handler=e=>(e.preventDefault(),null==onClose?void 0:onClose()),react_experimental.useEffect(()=>{if(null==el||null==handler)return;let listener=e=>{!el||el.contains(e.target)||CSS_SELECTORS_TO_EXCLUDE_ON_CLICK_OUTSIDE.some(cssSelector=>e.target.closest(cssSelector))||handler(e)},root=el.getRootNode();return root.addEventListener("mouseup",listener),root.addEventListener("touchend",listener,{passive:!1}),function(){root.removeEventListener("mouseup",listener),root.removeEventListener("touchend",listener)}},[handler,el,CSS_SELECTORS_TO_EXCLUDE_ON_CLICK_OUTSIDE]),react_experimental.useEffect(()=>{if(null!=dialogRef.current)return window.addEventListener("focus",handleFocus),window.addEventListener("blur",handleFocus),()=>{window.removeEventListener("focus",handleFocus),window.removeEventListener("blur",handleFocus)};function handleFocus(){setRole(document.hasFocus()?"dialog":void 0)}},[]),react_experimental.useEffect(()=>{let dialog=dialogRef.current,root=null==dialog?void 0:dialog.getRootNode(),initialActiveElement=root instanceof ShadowRoot?null==root?void 0:root.activeElement:null;return null==dialog||dialog.focus(),()=>{null==dialog||dialog.blur(),null==initialActiveElement||initialActiveElement.focus()}},[]),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:dialogRef,tabIndex:-1,"data-nextjs-dialog":!0,role:role,"aria-labelledby":ariaLabelledBy,"aria-describedby":ariaDescribedBy,"aria-modal":"true",className:className,onKeyDown:e=>{"Escape"===e.key&&(null==onClose||onClose())},...props,children:children})},DialogBody=function(param){let{children,className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-dialog-body":!0,className:className,children:children})},DialogContent=function(param){let{children,className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-dialog-content":!0,className:className,children:children})},DialogHeader=function(param){let{children,className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-dialog-header":!0,className:className,children:children})};function cx(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return args.filter(Boolean).join(" ")}let useCopy="function"==typeof react_experimental.useActionState?function(content){let[copyState,dispatch,isPending]=react_experimental.useActionState((state,action)=>"reset"===action?{state:"initial"}:"copy"===action?navigator.clipboard?navigator.clipboard.writeText(content).then(()=>({state:"success"}),error=>({state:"error",error})):{state:"error",error:"Copy to clipboard is not supported in this browser"}:state,{state:"initial"});return[copyState,function(){react_experimental.startTransition(()=>{dispatch("copy")})},react_experimental.useCallback(()=>{dispatch("reset")},[dispatch]),isPending]}:function(content){let[copyState,dispatch]=react_experimental.useReducer((state,action)=>"reset"===action.type?{state:"initial"}:"copied"===action.type?{state:"success"}:"copying"===action.type?{state:"pending"}:"error"===action.type?{state:"error",error:action.error}:state,{state:"initial"}),reset=react_experimental.useCallback(()=>{dispatch({type:"reset"})},[]),isPending="pending"===copyState.state;return[copyState,function(){isPending||(navigator.clipboard?(dispatch({type:"copying"}),navigator.clipboard.writeText(content).then(()=>{dispatch({type:"copied"})},error=>{dispatch({type:"error",error})})):dispatch({type:"error",error:"Copy to clipboard is not supported in this browser"}))},reset,isPending]};function CopyButton(param){let{actionLabel,successLabel,content,icon,disabled,...props}=param,[copyState,copy,reset,isPending]=useCopy(content),error="error"===copyState.state?copyState.error:null;react_experimental.useEffect(()=>{null!==error&&console.warn(error)},[error]),react_experimental.useEffect(()=>{if("success"===copyState.state){let timeoutId=setTimeout(()=>{reset()},2e3);return()=>{clearTimeout(timeoutId)}}},[isPending,copyState.state,reset]);let isDisabled=!navigator.clipboard||isPending||disabled||!!error,label="success"===copyState.state?successLabel:actionLabel,renderedIcon="success"===copyState.state?/*#__PURE__*/(0,jsx_runtime.jsx)(CopySuccessIcon,{}):icon||/*#__PURE__*/(0,jsx_runtime.jsx)(CopyIcon,{width:14,height:14,className:"error-overlay-toolbar-button-icon"});return/*#__PURE__*/(0,jsx_runtime.jsxs)("button",{...props,type:"button",title:label,"aria-label":label,"aria-disabled":isDisabled,disabled:isDisabled,"data-nextjs-copy-button":!0,className:cx(props.className,"nextjs-data-copy-button","nextjs-data-copy-button--"+copyState.state),onClick:()=>{isDisabled||copy()},children:[renderedIcon,"error"===copyState.state?" "+copyState.error:null]})}function CopyIcon(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.406.438c-.845 0-1.531.685-1.531 1.53v6.563c0 .846.686 1.531 1.531 1.531H3.937V8.75H2.406a.219.219 0 0 1-.219-.219V1.97c0-.121.098-.219.22-.219h4.812c.12 0 .218.098.218.219v.656H8.75v-.656c0-.846-.686-1.532-1.531-1.532H2.406zm4.375 3.5c-.845 0-1.531.685-1.531 1.53v6.563c0 .846.686 1.531 1.531 1.531h4.813c.845 0 1.531-.685 1.531-1.53V5.468c0-.846-.686-1.532-1.531-1.532H6.78zm-.218 1.53c0-.12.097-.218.218-.218h4.813c.12 0 .219.098.219.219v6.562c0 .121-.098.219-.22.219H6.782a.219.219 0 0 1-.218-.219V5.47z",fill:"currentColor"})})}function CopySuccessIcon(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{height:"16",xlinkTitle:"copied",viewBox:"0 0 16 16",width:"16",stroke:"currentColor",fill:"currentColor",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"})})}function NodeJsDisabledIcon(props){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("mask",{id:"nodejs_icon_mask_a",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"14",height:"14",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M6.67.089 1.205 3.256a.663.663 0 0 0-.33.573v6.339c0 .237.126.455.33.574l5.466 3.17a.66.66 0 0 0 .66 0l5.465-3.17a.664.664 0 0 0 .329-.574V3.829a.663.663 0 0 0-.33-.573L7.33.089a.663.663 0 0 0-.661 0",fill:"#fff"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("g",{mask:"url(#nodejs_icon_mask_a)",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M18.648 2.717 3.248-4.86-4.646 11.31l15.399 7.58 7.896-16.174z",fill:"url(#nodejs_icon_linear_gradient_b)"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("mask",{id:"nodejs_icon_mask_c",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"12",height:"15",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M1.01 10.571a.66.66 0 0 0 .195.172l4.688 2.718.781.451a.66.66 0 0 0 .51.063l5.764-10.597a.653.653 0 0 0-.153-.122L9.216 1.181 7.325.09a.688.688 0 0 0-.171-.07L1.01 10.572z",fill:"#fff"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("g",{mask:"url(#nodejs_icon_mask_c)",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M-5.647 4.96 5.226 19.736 19.606 9.07 8.734-5.707-5.647 4.96z",fill:"url(#nodejs_icon_linear_gradient_d)"})}),/*#__PURE__*/(0,jsx_runtime.jsxs)("g",{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("mask",{id:"nodejs_icon_mask_e",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"13",height:"14",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M6.935.003a.665.665 0 0 0-.264.085l-5.45 3.158 5.877 10.747a.653.653 0 0 0 .235-.082l5.465-3.17a.665.665 0 0 0 .319-.452L7.127.014a.684.684 0 0 0-.189-.01",fill:"#fff"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("g",{mask:"url(#nodejs_icon_mask_e)",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M1.222.001v13.992h11.893V0H1.222z",fill:"url(#nodejs_icon_linear_gradient_f)"})})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("defs",{children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_b",x1:"10.944",y1:"-1.084",x2:"2.997",y2:"15.062",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".3",stopColor:"#676767"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".5",stopColor:"#858585"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".8",stopColor:"#989A98"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_d",x1:"-.145",y1:"12.433",x2:"14.277",y2:"1.819",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".57",stopColor:"#747474"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".72",stopColor:"#707070"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:"1",stopColor:"#929292"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_f",x1:"1.226",y1:"6.997",x2:"13.117",y2:"6.997",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".16",stopColor:"#878787"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".38",stopColor:"#A9A9A9"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".47",stopColor:"#A5A5A5"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".7",stopColor:"#8F8F8F"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".9",stopColor:"#626262"})]})]})]})}let label="Learn more about enabling Node.js inspector for server code with Chrome DevTools";function NodejsInspectorButton(param){let{devtoolsFrontendUrl}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("a",{title:label,"aria-label":label,className:"nodejs-inspector-button",href:"https://nextjs.org/docs/app/building-your-application/configuring/debugging#server-side-code",target:"_blank",rel:"noopener noreferrer",children:/*#__PURE__*/(0,jsx_runtime.jsx)(NodeJsDisabledIcon,{className:"error-overlay-toolbar-button-icon",width:14,height:14})})}function CopyStackTraceButton(param){let{error}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)(CopyButton,{"data-nextjs-data-runtime-error-copy-stack":!0,className:"copy-stack-trace-button",actionLabel:"Copy Stack Trace",successLabel:"Stack Trace Copied",content:error.stack||"",disabled:!error.stack})}let REACT_HYDRATION_ERROR_LINK="https://react.dev/link/hydration-mismatch",NEXTJS_HYDRATION_ERROR_LINK="https://nextjs.org/docs/messages/react-hydration-error",errorMessagesWithComponentStackDiff=[/^In HTML, (.+?) cannot be a child of <(.+?)>\.(.*)\nThis will cause a hydration error\.(.*)/,/^In HTML, (.+?) cannot be a descendant of <(.+?)>\.\nThis will cause a hydration error\.(.*)/,/^In HTML, text nodes cannot be a child of <(.+?)>\.\nThis will cause a hydration error\./,/^In HTML, whitespace text nodes cannot be a child of <(.+?)>\. Make sure you don't have any extra whitespace between tags on each line of your source code\.\nThis will cause a hydration error\./];function isErrorMessageWithComponentStackDiff(msg){return errorMessagesWithComponentStackDiff.some(regex=>regex.test(msg))}let docsURLAllowlist=["https://nextjs.org","https://react.dev"];function docsLinkMatcher(text){return docsURLAllowlist.some(url=>text.startsWith(url))}function DocsLinkButton(param){let{errorMessage}=param,docsURL=function(text){let urls=function(text,matcherFunc){let links=Array.from(text.matchAll(/https?:\/\/[^\s/$.?#].[^\s)'"]*/gi),match=>match[0]);return matcherFunc?links.filter(link=>matcherFunc(link)):links}(text,docsLinkMatcher);if(0===urls.length)return null;let href=urls[0];return href===REACT_HYDRATION_ERROR_LINK?NEXTJS_HYDRATION_ERROR_LINK:href}(errorMessage);return docsURL?/*#__PURE__*/(0,jsx_runtime.jsx)("a",{title:"Go to related documentation","aria-label":"Go to related documentation",className:"docs-link-button",href:docsURL,target:"_blank",rel:"noopener noreferrer",children:/*#__PURE__*/(0,jsx_runtime.jsx)(DocsIcon,{className:"error-overlay-toolbar-button-icon",width:14,height:14})}):/*#__PURE__*/(0,jsx_runtime.jsx)("button",{title:"No related documentation found","aria-label":"No related documentation found",className:"docs-link-button",disabled:!0,children:/*#__PURE__*/(0,jsx_runtime.jsx)(DocsIcon,{className:"error-overlay-toolbar-button-icon",width:14,height:14})})}function DocsIcon(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 .875h4.375C5.448.875 6.401 1.39 7 2.187A3.276 3.276 0 0 1 9.625.875H14v11.156H9.4c-.522 0-1.023.208-1.392.577l-.544.543h-.928l-.544-.543c-.369-.37-.87-.577-1.392-.577H0V.875zm6.344 3.281a1.969 1.969 0 0 0-1.969-1.968H1.312v8.53H4.6c.622 0 1.225.177 1.744.502V4.156zm1.312 7.064V4.156c0-1.087.882-1.968 1.969-1.968h3.063v8.53H9.4c-.622 0-1.225.177-1.744.502z",fill:"currentColor"})})}function ErrorOverlayToolbar(param){let{error,debugInfo}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{className:"error-overlay-toolbar",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(CopyStackTraceButton,{error:error}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocsLinkButton,{errorMessage:error.message}),/*#__PURE__*/(0,jsx_runtime.jsx)(NodejsInspectorButton,{devtoolsFrontendUrl:null==debugInfo?void 0:debugInfo.devtoolsFrontendUrl})]})}function ThumbsUp(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"thumbs-up-icon",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("g",{id:"thumb-up-16",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M6.89531 2.23959C6.72984 2.1214 6.5 2.23968 6.5 2.44303V5.24989C6.5 6.21639 5.7165 6.99989 4.75 6.99989H2.5V13.4999H12.1884C12.762 13.4999 13.262 13.1095 13.4011 12.5531L14.4011 8.55306C14.5984 7.76412 14.0017 6.99989 13.1884 6.99989H9.25H8.5V6.24989V3.51446C8.5 3.43372 8.46101 3.35795 8.39531 3.31102L6.89531 2.23959ZM5 2.44303C5 1.01963 6.6089 0.191656 7.76717 1.01899L9.26717 2.09042C9.72706 2.41892 10 2.94929 10 3.51446V5.49989H13.1884C14.9775 5.49989 16.2903 7.18121 15.8563 8.91686L14.8563 12.9169C14.5503 14.1411 13.4503 14.9999 12.1884 14.9999H1.75H1V14.2499V6.24989V5.49989H1.75H4.75C4.88807 5.49989 5 5.38796 5 5.24989V2.44303Z",fill:"currentColor"})})})}function ThumbsDown(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"thumbs-down-icon",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.89531 12.7603C5.72984 12.8785 5.5 12.7602 5.5 12.5569V9.75C5.5 8.7835 4.7165 8 3.75 8H1.5V1.5H11.1884C11.762 1.5 12.262 1.89037 12.4011 2.44683L13.4011 6.44683C13.5984 7.23576 13.0017 8 12.1884 8H8.25H7.5V8.75V11.4854C7.5 11.5662 7.46101 11.6419 7.39531 11.6889L5.89531 12.7603ZM4 12.5569C4 13.9803 5.6089 14.8082 6.76717 13.9809L8.26717 12.9095C8.72706 12.581 9 12.0506 9 11.4854V9.5H12.1884C13.9775 9.5 15.2903 7.81868 14.8563 6.08303L13.8563 2.08303C13.5503 0.858816 12.4503 0 11.1884 0H0.75H0V0.75V8.75V9.5H0.75H3.75C3.88807 9.5 4 9.61193 4 9.75V12.5569Z",fill:"currentColor"})})}function ErrorFeedback(param){let{errorCode,className}=param,[votedMap,setVotedMap]=(0,react_experimental.useState)({}),voted=votedMap[errorCode],disabled=process.env.__NEXT_TELEMETRY_DISABLED,handleFeedback=(0,react_experimental.useCallback)(async wasHelpful=>{setVotedMap(prev=>({...prev,[errorCode]:wasHelpful}));try{(await fetch((process.env.__NEXT_ROUTER_BASEPATH||"")+"/__nextjs_error_feedback?"+new URLSearchParams({errorCode,wasHelpful:wasHelpful.toString()}))).ok||console.error("Failed to record feedback on the server.")}catch(error){console.error("Failed to record feedback:",error)}},[errorCode]);return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:cx("error-feedback",className),role:"region","aria-label":"Error feedback",children:void 0!==voted?/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"error-feedback-thanks",role:"status","aria-live":"polite",children:"Thanks for your feedback!"}):/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("p",{children:/*#__PURE__*/(0,jsx_runtime.jsx)("a",{href:"https://nextjs.org/telemetry#error-feedback",rel:"noopener noreferrer",target:"_blank",children:"Was this helpful?"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{"aria-disabled":disabled?"true":void 0,"aria-label":"Mark as helpful",onClick:disabled?void 0:()=>handleFeedback(!0),className:cx("feedback-button",!0===voted&&"voted"),title:disabled?"Feedback disabled due to setting NEXT_TELEMETRY_DISABLED":void 0,type:"button",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ThumbsUp,{"aria-hidden":"true"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{"aria-disabled":disabled?"true":void 0,"aria-label":"Mark as not helpful",onClick:disabled?void 0:()=>handleFeedback(!1),className:cx("feedback-button",!1===voted&&"voted"),title:disabled?"Feedback disabled due to setting NEXT_TELEMETRY_DISABLED":void 0,type:"button",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ThumbsDown,{"aria-hidden":"true",style:{translate:"1px 1px"}})})]})})}function ErrorOverlayFooter(param){let{errorCode,footerMessage}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("footer",{className:"error-overlay-footer",children:[footerMessage?/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"error-overlay-footer-message",children:footerMessage}):null,errorCode?/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorFeedback,{className:"error-feedback",errorCode:errorCode}):null]})}function ErrorMessage(param){let{errorMessage}=param,[isExpanded,setIsExpanded]=(0,react_experimental.useState)(!1),[shouldTruncate,setShouldTruncate]=(0,react_experimental.useState)(!1),messageRef=(0,react_experimental.useRef)(null);return(0,react_experimental.useLayoutEffect)(()=>{messageRef.current&&setShouldTruncate(messageRef.current.scrollHeight>200)},[errorMessage]),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"nextjs__container_errors_wrapper",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("p",{ref:messageRef,id:"nextjs__container_errors_desc",className:"nextjs__container_errors_desc "+(shouldTruncate&&!isExpanded?"truncated":""),children:errorMessage}),shouldTruncate&&!isExpanded&&/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"nextjs__container_errors_gradient_overlay"}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{onClick:()=>setIsExpanded(!0),className:"nextjs__container_errors_expand_button","aria-expanded":isExpanded,"aria-controls":"nextjs__container_errors_desc",children:"Show More"})]})]})}function ErrorTypeLabel(param){let{errorType}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("span",{id:"nextjs__container_errors_label",className:"nextjs__container_errors_label",children:errorType})}function LeftArrow(param){let{title,className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":title,className:className,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.24996 12.0608L8.71963 11.5304L5.89641 8.70722C5.50588 8.3167 5.50588 7.68353 5.89641 7.29301L8.71963 4.46978L9.24996 3.93945L10.3106 5.00011L9.78029 5.53044L7.31062 8.00011L9.78029 10.4698L10.3106 11.0001L9.24996 12.0608Z",fill:"currentColor"})})}function RightArrow(param){let{title,className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:className,"aria-label":title,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75011 3.93945L7.28044 4.46978L10.1037 7.29301C10.4942 7.68353 10.4942 8.3167 10.1037 8.70722L7.28044 11.5304L6.75011 12.0608L5.68945 11.0001L6.21978 10.4698L8.68945 8.00011L6.21978 5.53044L5.68945 5.00011L6.75011 3.93945Z",fill:"currentColor"})})}function ErrorOverlayPagination(param){let{runtimeErrors,activeIdx,onActiveIndexChange}=param,handlePrevious=(0,react_experimental.useCallback)(()=>(0,react_experimental.startTransition)(()=>{activeIdx>0&&onActiveIndexChange(Math.max(0,activeIdx-1))}),[activeIdx,onActiveIndexChange]),handleNext=(0,react_experimental.useCallback)(()=>(0,react_experimental.startTransition)(()=>{activeIdx<runtimeErrors.length-1&&onActiveIndexChange(Math.max(0,Math.min(runtimeErrors.length-1,activeIdx+1)))}),[activeIdx,runtimeErrors.length,onActiveIndexChange]),buttonLeft=(0,react_experimental.useRef)(null),buttonRight=(0,react_experimental.useRef)(null),[nav,setNav]=(0,react_experimental.useState)(null),onNav=(0,react_experimental.useCallback)(el=>{setNav(el)},[]);return(0,react_experimental.useEffect)(()=>{if(null==nav)return;let root=nav.getRootNode(),d=self.document;function handler(e){"ArrowLeft"===e.key?(e.preventDefault(),e.stopPropagation(),handlePrevious&&handlePrevious()):"ArrowRight"===e.key&&(e.preventDefault(),e.stopPropagation(),handleNext&&handleNext())}return root.addEventListener("keydown",handler),root!==d&&d.addEventListener("keydown",handler),function(){root.removeEventListener("keydown",handler),root!==d&&d.removeEventListener("keydown",handler)}},[nav,handleNext,handlePrevious]),(0,react_experimental.useEffect)(()=>{if(null==nav)return;let root=nav.getRootNode();if(root instanceof ShadowRoot){let a=root.activeElement;0===activeIdx?buttonLeft.current&&a===buttonLeft.current&&buttonLeft.current.blur():activeIdx===runtimeErrors.length-1&&buttonRight.current&&a===buttonRight.current&&buttonRight.current.blur()}},[nav,activeIdx,runtimeErrors.length]),/*#__PURE__*/(0,jsx_runtime.jsxs)("nav",{className:"error-overlay-pagination dialog-exclude-closing-from-outside-click",ref:onNav,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("button",{ref:buttonLeft,type:"button",disabled:0===activeIdx,"aria-disabled":0===activeIdx,onClick:handlePrevious,"data-nextjs-dialog-error-previous":!0,className:"error-overlay-pagination-button",children:/*#__PURE__*/(0,jsx_runtime.jsx)(LeftArrow,{title:"previous",className:"error-overlay-pagination-button-icon"})}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-pagination-count",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{"data-nextjs-dialog-error-index":activeIdx,children:[activeIdx+1,"/"]}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-dialog-header-total-count":!0,children:runtimeErrors.length||1})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{ref:buttonRight,type:"button",disabled:activeIdx>=runtimeErrors.length-1,"aria-disabled":activeIdx>=runtimeErrors.length-1,onClick:handleNext,"data-nextjs-dialog-error-next":!0,className:"error-overlay-pagination-button",children:/*#__PURE__*/(0,jsx_runtime.jsx)(RightArrow,{title:"next",className:"error-overlay-pagination-button-icon"})})]})}function VersionStalenessInfo(param){let{versionInfo,bundlerName}=param,{staleness}=versionInfo,{text,indicatorClass,title}=function(param){let{installed,staleness,expected}=param,text="",title="",indicatorClass="",versionLabel="Next.js "+installed;switch(staleness){case"newer-than-npm":case"fresh":text=versionLabel,title="Latest available version is detected ("+installed+").",indicatorClass="fresh";break;case"stale-patch":case"stale-minor":text=""+versionLabel+" (stale)",title="There is a newer version ("+expected+") available, upgrade recommended! ",indicatorClass="stale";break;case"stale-major":text=""+versionLabel+" (outdated)",title="An outdated version detected (latest is "+expected+"), upgrade is highly recommended!",indicatorClass="outdated";break;case"stale-prerelease":text=""+versionLabel+" (stale)",title="There is a newer canary version ("+expected+") available, please upgrade! ",indicatorClass="stale";break;case"unknown":text=""+versionLabel+" (unknown)",title="No Next.js version data was found.",indicatorClass="unknown"}return{text,indicatorClass,title}}(versionInfo),isTurbopack="Turbopack"===bundlerName;return staleness.startsWith("stale")?/*#__PURE__*/(0,jsx_runtime.jsxs)("a",{className:"nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click",target:"_blank",rel:"noopener noreferrer",href:"https://nextjs.org/docs/messages/version-staleness",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Eclipse,{className:cx("version-staleness-indicator",indicatorClass)}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-version-checker":!0,title:title,children:text}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:cx(isTurbopack&&"turbopack-text"),children:bundlerName})]}):/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{className:"nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Eclipse,{className:cx("version-staleness-indicator",indicatorClass)}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-version-checker":!0,title:title,children:text}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:cx(isTurbopack&&"turbopack-text"),children:bundlerName})]})}function Eclipse(param){let{className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:/*#__PURE__*/(0,jsx_runtime.jsx)("circle",{className:className,cx:"7",cy:"7",r:"5.5",strokeWidth:"3"})})}function ErrorOverlayNav(param){let{runtimeErrors,activeIdx,setActiveIndex,versionInfo}=param,bundlerName=process.env.__NEXT_BUNDLER||"Webpack";return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-error-overlay-nav":!0,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Notch,{side:"left",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayPagination,{runtimeErrors:null!=runtimeErrors?runtimeErrors:[],activeIdx:null!=activeIdx?activeIdx:0,onActiveIndexChange:null!=setActiveIndex?setActiveIndex:()=>{}})}),versionInfo&&/*#__PURE__*/(0,jsx_runtime.jsx)(Notch,{side:"right",children:/*#__PURE__*/(0,jsx_runtime.jsx)(VersionStalenessInfo,{versionInfo:versionInfo,bundlerName:bundlerName})})]})}function Notch(param){let{children,side="left"}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-notch","data-side":side,children:[children,/*#__PURE__*/(0,jsx_runtime.jsx)(Tail,{})]})}function Tail(){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{width:"60",height:"42",viewBox:"0 0 60 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"error-overlay-notch-tail",preserveAspectRatio:"none",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("mask",{id:"error_overlay_nav_mask0_2667_14687",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"-1",width:"60",height:"43",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("mask",{id:"error_overlay_nav_path_1_outside_1_2667_14687",maskUnits:"userSpaceOnUse",x:"0",y:"-1",width:"60",height:"43",fill:"black",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{fill:"white",y:"-1",width:"60",height:"43"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M1 0L8.0783 0C15.772 0 22.7836 4.41324 26.111 11.3501L34.8889 29.6498C38.2164 36.5868 45.228 41 52.9217 41H60H1L1 0Z"})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M1 0L8.0783 0C15.772 0 22.7836 4.41324 26.111 11.3501L34.8889 29.6498C38.2164 36.5868 45.228 41 52.9217 41H60H1L1 0Z",fill:"white"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M1 0V-1H0V0L1 0ZM1 41H0V42H1V41ZM34.8889 29.6498L33.9873 30.0823L34.8889 29.6498ZM26.111 11.3501L27.0127 10.9177L26.111 11.3501ZM1 1H8.0783V-1H1V1ZM60 40H1V42H60V40ZM2 41V0L0 0L0 41H2ZM25.2094 11.7826L33.9873 30.0823L35.7906 29.2174L27.0127 10.9177L25.2094 11.7826ZM52.9217 42H60V40H52.9217V42ZM33.9873 30.0823C37.4811 37.3661 44.8433 42 52.9217 42V40C45.6127 40 38.9517 35.8074 35.7906 29.2174L33.9873 30.0823ZM8.0783 1C15.3873 1 22.0483 5.19257 25.2094 11.7826L27.0127 10.9177C23.5188 3.6339 16.1567 -1 8.0783 -1V1Z",fill:"black",mask:"url(#error_overlay_nav_path_1_outside_1_2667_14687)"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("g",{mask:"url(#error_overlay_nav_mask0_2667_14687)",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("mask",{id:"error_overlay_nav_path_3_outside_2_2667_14687",maskUnits:"userSpaceOnUse",x:"-1",y:"0.0244141",width:"60",height:"43",fill:"black",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{fill:"white",x:"-1",y:"0.0244141",width:"60",height:"43"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M0 1.02441H7.0783C14.772 1.02441 21.7836 5.43765 25.111 12.3746L33.8889 30.6743C37.2164 37.6112 44.228 42.0244 51.9217 42.0244H59H0L0 1.02441Z"})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M0 1.02441H7.0783C14.772 1.02441 21.7836 5.43765 25.111 12.3746L33.8889 30.6743C37.2164 37.6112 44.228 42.0244 51.9217 42.0244H59H0L0 1.02441Z",fill:"var(--background-color)"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M0 1.02441L0 0.0244141H-1V1.02441H0ZM0 42.0244H-1V43.0244H0L0 42.0244ZM33.8889 30.6743L32.9873 31.1068L33.8889 30.6743ZM25.111 12.3746L26.0127 11.9421L25.111 12.3746ZM0 2.02441H7.0783V0.0244141H0L0 2.02441ZM59 41.0244H0L0 43.0244H59V41.0244ZM1 42.0244L1 1.02441H-1L-1 42.0244H1ZM24.2094 12.8071L32.9873 31.1068L34.7906 30.2418L26.0127 11.9421L24.2094 12.8071ZM51.9217 43.0244H59V41.0244H51.9217V43.0244ZM32.9873 31.1068C36.4811 38.3905 43.8433 43.0244 51.9217 43.0244V41.0244C44.6127 41.0244 37.9517 36.8318 34.7906 30.2418L32.9873 31.1068ZM7.0783 2.02441C14.3873 2.02441 21.0483 6.21699 24.2094 12.8071L26.0127 11.9421C22.5188 4.65831 15.1567 0.0244141 7.0783 0.0244141V2.02441Z",fill:"var(--stroke-color)",mask:"url(#error_overlay_nav_path_3_outside_2_2667_14687)"})]})]})}function ErrorOverlayDialog(param){let{children,onClose,footer,...props}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-dialog-container",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Dialog,{"aria-labelledby":"nextjs__container_errors_label","aria-describedby":"nextjs__container_errors_desc",className:"error-overlay-dialog-scroll",onClose:onClose,...props,children:children}),footer]})}function ErrorOverlayDialogHeader(param){let{children}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)(DialogHeader,{className:"nextjs-container-errors-header",children:children})}function ErrorOverlayDialogBody(param){let{children}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)(DialogBody,{className:"nextjs-container-errors-body",children:children})}let CallStackFrame=function(param){var _frame_originalStackFrame;let{frame}=param,f=null!=(_frame_originalStackFrame=frame.originalStackFrame)?_frame_originalStackFrame:frame.sourceStackFrame,hasSource=!!frame.originalCodeFrame,open=useOpenInEditor(hasSource?{file:f.file,lineNumber:f.lineNumber,column:f.column}:void 0),formattedMethod=f.methodName.replace(/^\([\w-]+\)\//,""),fileSource=getFrameSource(f);return fileSource?/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-call-stack-frame":!0,"data-nextjs-call-stack-frame-no-source":!hasSource,"data-nextjs-call-stack-frame-ignored":frame.ignored,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"call-stack-frame-method-name",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:formattedMethod}),hasSource&&/*#__PURE__*/(0,jsx_runtime.jsx)("button",{onClick:open,className:"open-in-editor-button",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ExternalIcon,{width:16,height:16})}),frame.error?/*#__PURE__*/(0,jsx_runtime.jsx)("button",{className:"source-mapping-error-button",onClick:()=>console.error(frame.reason),title:"Sourcemapping failed. Click to log cause of error.",children:/*#__PURE__*/(0,jsx_runtime.jsx)(SourceMappingErrorIcon,{width:16,height:16})}):null]}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"call-stack-frame-file-source","data-has-source":hasSource,children:fileSource})]}):null};function CallStack(param){let{frames,dialogResizerRef}=param,initialDialogHeight=(0,react_experimental.useRef)(NaN),[isIgnoreListOpen,setIsIgnoreListOpen]=(0,react_experimental.useState)(!1),ignoredFramesTally=(0,react_experimental.useMemo)(()=>frames.reduce((tally,frame)=>tally+(frame.ignored?1:0),0),[frames]);return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-call-stack-container",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-call-stack-header",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"error-overlay-call-stack-title",children:["Call Stack"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"error-overlay-call-stack-count",children:frames.length})]}),ignoredFramesTally>0&&/*#__PURE__*/(0,jsx_runtime.jsxs)("button",{"data-expand-ignore-button":isIgnoreListOpen,className:"error-overlay-call-stack-ignored-list-toggle-button",onClick:function(){let dialog=null==dialogResizerRef?void 0:dialogResizerRef.current;if(!dialog)return;let{height:currentHeight}=null==dialog?void 0:dialog.getBoundingClientRect();initialDialogHeight.current||(initialDialogHeight.current=currentHeight),isIgnoreListOpen?(dialog.style.height=""+initialDialogHeight.current+"px",dialog.addEventListener("transitionend",function onTransitionEnd(){dialog.removeEventListener("transitionend",onTransitionEnd),setIsIgnoreListOpen(!1)})):setIsIgnoreListOpen(!0)},children:[(isIgnoreListOpen?"Hide":"Show")+" "+ignoredFramesTally+" ignore-listed frame(s)",/*#__PURE__*/(0,jsx_runtime.jsx)(ChevronUpDown,{})]})]}),frames.map((frame,frameIndex)=>!frame.ignored||isIgnoreListOpen?/*#__PURE__*/(0,jsx_runtime.jsx)(CallStackFrame,{frame:frame},frameIndex):null)]})}function ChevronUpDown(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.70722 2.39641C8.3167 2.00588 7.68353 2.00588 7.29301 2.39641L4.46978 5.21963L3.93945 5.74996L5.00011 6.81062L5.53044 6.28029L8.00011 3.81062L10.4698 6.28029L11.0001 6.81062L12.0608 5.74996L11.5304 5.21963L8.70722 2.39641ZM5.53044 9.71963L5.00011 9.1893L3.93945 10.25L4.46978 10.7803L7.29301 13.6035C7.68353 13.994 8.3167 13.994 8.70722 13.6035L11.5304 10.7803L12.0608 10.25L11.0001 9.1893L10.4698 9.71963L8.00011 12.1893L5.53044 9.71963Z",fill:"currentColor"})})}let activeLocks=0,Overlay=function(param){let{className,children,fixed,...props}=param;return react_experimental.useEffect(()=>(setTimeout(()=>{if(activeLocks++>0)return;let scrollBarGap=window.innerWidth-document.documentElement.clientWidth;scrollBarGap>0&&(previousBodyPaddingRight=document.body.style.paddingRight,document.body.style.paddingRight=""+scrollBarGap+"px"),previousBodyOverflowSetting=document.body.style.overflow,document.body.style.overflow="hidden"}),()=>{setTimeout(()=>{0!==activeLocks&&0==--activeLocks&&(void 0!==previousBodyPaddingRight&&(document.body.style.paddingRight=previousBodyPaddingRight,previousBodyPaddingRight=void 0),void 0!==previousBodyOverflowSetting&&(document.body.style.overflow=previousBodyOverflowSetting,previousBodyOverflowSetting=void 0))})}),[]),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-dialog-overlay":!0,className:className,...props,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-dialog-backdrop":!0,"data-nextjs-dialog-backdrop-fixed":!!fixed||void 0}),children]})};function ErrorOverlayOverlay(param){let{children,...props}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)(Overlay,{...props,children:children})}function ErrorOverlayBottomStack(param){let{errorCount,activeIdx}=param,stackCount=Math.min(errorCount-activeIdx-1,2);return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"aria-hidden":!0,className:"error-overlay-bottom-stack",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-bottom-stack-stack","data-stack-count":stackCount,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"error-overlay-bottom-stack-layer error-overlay-bottom-stack-layer-1",children:"1"}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"error-overlay-bottom-stack-layer error-overlay-bottom-stack-layer-2",children:"2"})]})})}function EnvironmentNameLabel(param){let{environmentName}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-environment-name-label":!0,children:environmentName})}function useFocusTrap(rootRef,triggerRef,active,onOpenFocus){(0,react_experimental.useEffect)(()=>{let rootNode=null;function onTab(e){if("Tab"!==e.key||null===rootNode)return;let[firstFocusableNode,lastFocusableNode]=function(node){let focusableElements=node.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');return focusableElements?[focusableElements[0],focusableElements[focusableElements.length-1]]:[]}(rootNode),activeElement=getActiveElement(rootNode);e.shiftKey?activeElement===firstFocusableNode&&(null==lastFocusableNode||lastFocusableNode.focus(),e.preventDefault()):activeElement===lastFocusableNode&&(null==firstFocusableNode||firstFocusableNode.focus(),e.preventDefault())}let id=setTimeout(()=>{if(rootNode=rootRef.current,active)onOpenFocus?onOpenFocus():null==rootNode||rootNode.focus(),null==rootNode||rootNode.addEventListener("keydown",onTab);else{let activeElement=getActiveElement(rootNode);if(triggerRef&&(null==rootNode?void 0:rootNode.contains(activeElement))){var _triggerRef_current;null==(_triggerRef_current=triggerRef.current)||_triggerRef_current.focus()}}});return()=>{clearTimeout(id),null==rootNode||rootNode.removeEventListener("keydown",onTab)}},[active])}function getActiveElement(node){let root=null==node?void 0:node.getRootNode();return root instanceof ShadowRoot?null==root?void 0:root.activeElement:null}function useClickOutside(rootRef,triggerRef,active,close){(0,react_experimental.useEffect)(()=>{if(active)return document.addEventListener("mousedown",handleClickOutside),document.addEventListener("keydown",handleKeyDown),()=>{document.removeEventListener("mousedown",handleClickOutside),document.removeEventListener("keydown",handleKeyDown)};function handleClickOutside(event){var _rootRef_current,_triggerRef_current;null!=(_rootRef_current=rootRef.current)&&_rootRef_current.getBoundingClientRect()&&event.clientX>=rootRef.current.getBoundingClientRect().left&&event.clientX<=rootRef.current.getBoundingClientRect().right&&event.clientY>=rootRef.current.getBoundingClientRect().top&&event.clientY<=rootRef.current.getBoundingClientRect().bottom||null!=(_triggerRef_current=triggerRef.current)&&_triggerRef_current.getBoundingClientRect()&&event.clientX>=triggerRef.current.getBoundingClientRect().left&&event.clientX<=triggerRef.current.getBoundingClientRect().right&&event.clientY>=triggerRef.current.getBoundingClientRect().top&&event.clientY<=triggerRef.current.getBoundingClientRect().bottom||close()}function handleKeyDown(event){"Escape"===event.key&&close()}},[active])}let Fader=/*#__PURE__*/(0,react_experimental.forwardRef)(function(param,ref){let{stop,blur,side,style,height}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:ref,"aria-hidden":!0,"data-nextjs-scroll-fader":!0,className:"nextjs-scroll-fader","data-side":side,style:{"--stop":stop,"--blur":blur,"--height":""+height+"px",...style}})}),Resizer=/*#__PURE__*/(0,react_experimental.forwardRef)(function(param,resizerRef){let{children,measure,...props}=param,ref=(0,react_experimental.useRef)(null),[height,measuring]=function(ref,measure){let[height,setHeight]=(0,react_experimental.useState)(0),[measuring,setMeasuring]=(0,react_experimental.useState)(!0);return(0,react_experimental.useEffect)(()=>{let timerId;if(!measure)return;let el=ref.current;if(!el)return;let observer=new ResizeObserver(param=>{let[{contentRect}]=param;clearTimeout(timerId),timerId=window.setTimeout(()=>{setMeasuring(!1)},100),setHeight(contentRect.height)});return observer.observe(el),()=>observer.disconnect()},[measure]),[height,measuring]}(ref,measure);return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{...props,ref:resizerRef,style:{height:measuring?"auto":height,transition:"height 250ms var(--timing-swift)"},children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:ref,children:children})})});function ErrorOverlayLayout(param){let{errorMessage,errorType,children,errorCode,errorCount,error,debugInfo,isBuildError,onClose,versionInfo,runtimeErrors,activeIdx,setActiveIndex,footerMessage,isTurbopack,dialogResizerRef,rendered=!0,transitionDurationMs}=param,animationProps={"data-rendered":rendered,style:{"--transition-duration":""+transitionDurationMs+"ms"}},[animating,setAnimating]=react_experimental.useState(!!transitionDurationMs),faderRef=react_experimental.useRef(null),hasFooter=!!(footerMessage||errorCode),dialogRef=react_experimental.useRef(null);return useFocusTrap(dialogRef,null,rendered),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayOverlay,{fixed:isBuildError,...animationProps,children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-dialog-root":!0,onTransitionEnd:function(param){let{propertyName,target}=param;"scale"===propertyName&&target===dialogRef.current&&setAnimating(!1)},ref:dialogRef,...animationProps,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayNav,{runtimeErrors:runtimeErrors,activeIdx:activeIdx,setActiveIndex:setActiveIndex,versionInfo:versionInfo,isTurbopack:isTurbopack}),/*#__PURE__*/(0,jsx_runtime.jsxs)(ErrorOverlayDialog,{onClose:onClose,dialogResizerRef:dialogResizerRef,"data-has-footer":hasFooter,onScroll:function(e){if(faderRef.current){let opacity=function(value1,param){let[min,max]=param;return Math.min(Math.max(value1,min),max)}(e.currentTarget.scrollTop/17,[0,1]);faderRef.current.style.opacity=String(opacity)}},footer:hasFooter&&/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayFooter,{footerMessage:footerMessage,errorCode:errorCode}),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Resizer,{ref:dialogResizerRef,measure:!animating,"data-nextjs-dialog-sizer":!0,children:/*#__PURE__*/(0,jsx_runtime.jsxs)(DialogContent,{children:[/*#__PURE__*/(0,jsx_runtime.jsxs)(ErrorOverlayDialogHeader,{children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"nextjs__container_errors__error_title","data-nextjs-error-code":errorCode,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{"data-nextjs-error-label-group":!0,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorTypeLabel,{errorType:errorType}),error.environmentName&&/*#__PURE__*/(0,jsx_runtime.jsx)(EnvironmentNameLabel,{environmentName:error.environmentName})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayToolbar,{error:error,debugInfo:debugInfo})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorMessage,{errorMessage:errorMessage})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayDialogBody,{children:children})]})}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayBottomStack,{errorCount:errorCount,activeIdx:null!=activeIdx?activeIdx:0})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(Fader,{ref:faderRef,side:"top",stop:"50%",blur:"4px",height:48})]})})}function EditorLink(param){var _location_line,_location_column;let{file,location:location1}=param,open=useOpenInEditor({file,lineNumber:null!=(_location_line=null==location1?void 0:location1.line)?_location_line:1,column:null!=(_location_column=null==location1?void 0:location1.column)?_location_column:0});return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-with-open-in-editor-link":!0,"data-with-open-in-editor-link-import-trace":!0,tabIndex:10,role:"link",onClick:open,title:"Click to open in your editor",children:[file,location1?":"+location1.line+":"+location1.column:null,/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),/*#__PURE__*/(0,jsx_runtime.jsx)("polyline",{points:"15 3 21 3 21 9"}),/*#__PURE__*/(0,jsx_runtime.jsx)("line",{x1:"10",y1:"14",x2:"21",y2:"3"})]})]})}let Terminal=function(param){var _file_location,_file_location1,_file_location2,_file_location3,_stackFrame_file,_file_location_line,_file_location_column,_file_fileName,_file_location_line1,_file_location_column1;let{content}=param,{file,source,importTraceFiles}=react_experimental.useMemo(()=>(function(content){let lines=content.split("\n"),file=function(lines){let contentFileName=lines.shift();if(!contentFileName)return null;let[fileName,line,column]=contentFileName.split(":",3),parsedLine=Number(line),parsedColumn=Number(column),hasLocation=!Number.isNaN(parsedLine)&&!Number.isNaN(parsedColumn);return{fileName:hasLocation?fileName:contentFileName,location:hasLocation?{line:parsedLine,column:parsedColumn}:void 0}}(lines),importTraceFiles=function(lines){if(lines.some(line=>/ReactServerComponentsError:/.test(line))||lines.some(line=>/Import trace for requested module:/.test(line))){let files=[];for(;/.+\..+/.test(lines[lines.length-1])&&!lines[lines.length-1].includes(":");){let file=lines.pop().trim();files.unshift(file)}return files}return[]}(lines);return{file,source:lines.join("\n"),importTraceFiles}})(content),[content]),decoded=react_experimental.useMemo(()=>anser_default().ansiToJson(source,{json:!0,use_classes:!0,remove_empty:!0}),[source]),open=useOpenInEditor({file:null==file?void 0:file.fileName,lineNumber:null!=(_file_location_line=null==file?void 0:null==(_file_location=file.location)?void 0:_file_location.line)?_file_location_line:1,column:null!=(_file_location_column=null==file?void 0:null==(_file_location1=file.location)?void 0:_file_location1.column)?_file_location_column:0}),stackFrame={file:null!=(_file_fileName=null==file?void 0:file.fileName)?_file_fileName:null,methodName:"",arguments:[],lineNumber:null!=(_file_location_line1=null==file?void 0:null==(_file_location2=file.location)?void 0:_file_location2.line)?_file_location_line1:null,column:null!=(_file_location_column1=null==file?void 0:null==(_file_location3=file.location)?void 0:_file_location3.column)?_file_location_column1:null},fileExtension=null==stackFrame?void 0:null==(_stackFrame_file=stackFrame.file)?void 0:_stackFrame_file.split(".").pop();return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-codeframe":!0,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"code-frame-header",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"code-frame-link",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"code-frame-icon",children:/*#__PURE__*/(0,jsx_runtime.jsx)(FileIcon,{lang:fileExtension})}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-text":!0,children:getFrameSource(stackFrame)}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{"aria-label":"Open in editor","data-with-open-in-editor-link-source-file":!0,onClick:open,children:/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"code-frame-icon","data-icon":"right",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ExternalIcon,{width:16,height:16})})})]})}),/*#__PURE__*/(0,jsx_runtime.jsxs)("pre",{className:"code-frame-pre",children:[decoded.map((entry,index)=>/*#__PURE__*/(0,jsx_runtime.jsx)("span",{style:{color:entry.fg?"var(--color-"+entry.fg+")":void 0,..."bold"===entry.decoration?{fontWeight:500}:"italic"===entry.decoration?{fontStyle:"italic"}:void 0},children:/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:entry.content})},"terminal-entry-"+index)),importTraceFiles.map(importTraceFile=>/*#__PURE__*/(0,jsx_runtime.jsx)(EditorLink,{isSourceFile:!1,file:importTraceFile},importTraceFile))]})]})},Toast=function(param){let{onClick,children,className,...props}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{...props,onClick:e=>(e.target.closest("a")||e.preventDefault(),null==onClick?void 0:onClick()),className:cx("nextjs-toast",className),children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-toast-wrapper":!0,children:children})})},getErrorTextFromBuildErrorMessage=multiLineMessage=>{let lines=multiLineMessage.split("\n");return strip_ansi_default()(lines[1]||"").replace(/^Error: /,"")},BuildError=function(param){let{message,...props}=param,noop=(0,react_experimental.useCallback)(()=>{},[]),error=Object.defineProperty(Error(message),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),formattedMessage=(0,react_experimental.useMemo)(()=>getErrorTextFromBuildErrorMessage(message)||"Failed to compile",[message]);return/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayLayout,{errorType:"Build Error",errorMessage:formattedMessage,onClose:noop,error:error,footerMessage:"This error occurred during the build process and can only be dismissed by fixing the error.",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)(Terminal,{content:message})})};function CollapseIcon(param){let{collapsed}=void 0===param?{}:param;return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{"data-nextjs-call-stack-chevron-icon":!0,"data-collapsed":collapsed,width:"16",height:"16",fill:"none",..."boolean"==typeof collapsed?{style:{transform:collapsed?void 0:"rotate(90deg)"}}:{},children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{style:{fill:"var(--color-font)"},fillRule:"evenodd",d:"m6.75 3.94.53.53 2.824 2.823a1 1 0 0 1 0 1.414L7.28 11.53l-.53.53L5.69 11l.53-.53L8.69 8 6.22 5.53 5.69 5l1.06-1.06Z",clipRule:"evenodd"})})}function PseudoHtmlDiff(param){let{reactOutputComponentDiff,...props}=param,[isDiffCollapsed,toggleCollapseHtml]=(0,react_experimental.useState)(!0),htmlComponents=(0,react_experimental.useMemo)(()=>{let componentStacks=[];return reactOutputComponentDiff.split("\n").forEach((line,index)=>{let isDiffLine="+"===line[0]||"-"===line[0],isHighlightedLine=">"===line[0],hasSign=isDiffLine||isHighlightedLine,sign=hasSign?line[0]:"",signIndex=hasSign?line.indexOf(sign):-1,[prefix,suffix]=hasSign?[line.slice(0,signIndex),line.slice(signIndex+1)]:[line,""];isDiffLine?componentStacks.push(/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line":!0,"data-nextjs-container-errors-pseudo-html--diff":"+"===sign?"add":"remove",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{children:[prefix,/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line-sign":!0,children:sign}),suffix,"\n"]})},"comp-diff"+index)):componentStacks.push(/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{"data-nextjs-container-errors-pseudo-html-line":!0,...isHighlightedLine?{"data-nextjs-container-errors-pseudo-html--diff":"error"}:void 0,children:[prefix,/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line-sign":!0,children:sign}),suffix,"\n"]},"comp-diff"+index))}),componentStacks},[reactOutputComponentDiff]);return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-container-errors-pseudo-html":!0,"data-nextjs-container-errors-pseudo-html-collapse":isDiffCollapsed,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("button",{tabIndex:10,"data-nextjs-container-errors-pseudo-html-collapse-button":!0,onClick:()=>toggleCollapseHtml(!isDiffCollapsed),children:/*#__PURE__*/(0,jsx_runtime.jsx)(CollapseIcon,{collapsed:isDiffCollapsed})}),/*#__PURE__*/(0,jsx_runtime.jsx)("pre",{...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("code",{children:htmlComponents})})]})}let symbolError=Symbol.for("NextjsError");function getErrorSource(error){return error[symbolError]||null}let useFrames=error=>{if("use"in react_experimental_default()){let frames=error.frames;if("function"!=typeof frames)throw Object.defineProperty(Error("Invariant: frames must be a function when the React version has React.use. This is a bug in Next.js."),"__NEXT_ERROR_CODE",{value:"E636",enumerable:!1,configurable:!0});return react_experimental_default().use(frames())}if(!Array.isArray(error.frames))throw Object.defineProperty(Error("Invariant: frames must be an array when the React version does not have React.use. This is a bug in Next.js."),"__NEXT_ERROR_CODE",{value:"E637",enumerable:!1,configurable:!0});return error.frames};async function getErrorByType(ev,isAppDir){let{id,event}=ev;switch(event.type){case ACTION_UNHANDLED_ERROR:case ACTION_UNHANDLED_REJECTION:{let baseError={id,runtime:!0,error:event.reason};if("use"in react_experimental_default()){let readyRuntimeError={...baseError,frames:function(promiseFactory){let cachedPromise=promiseFactory();return function(){return cachedPromise}}(async()=>await getOriginalStackFrames(event.frames,getErrorSource(event.reason),isAppDir))};return event.type===ACTION_UNHANDLED_ERROR&&(readyRuntimeError.componentStackFrames=event.componentStackFrames),readyRuntimeError}{let readyRuntimeError={...baseError,frames:await getOriginalStackFrames(event.frames,getErrorSource(event.reason),isAppDir)};return event.type===ACTION_UNHANDLED_ERROR&&(readyRuntimeError.componentStackFrames=event.componentStackFrames),readyRuntimeError}}}throw Object.defineProperty(Error("type system invariant violation"),"__NEXT_ERROR_CODE",{value:"E335",enumerable:!1,configurable:!0})}function RuntimeError(param){let{error,dialogResizerRef}=param,frames=useFrames(error),firstFrame=(0,react_experimental.useMemo)(()=>{var _frames_firstFirstPartyFrameIndex;let firstFirstPartyFrameIndex=frames.findIndex(entry=>!entry.ignored&&!!entry.originalCodeFrame&&!!entry.originalStackFrame);return null!=(_frames_firstFirstPartyFrameIndex=frames[firstFirstPartyFrameIndex])?_frames_firstFirstPartyFrameIndex:null},[frames]);return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[firstFrame&&/*#__PURE__*/(0,jsx_runtime.jsx)(CodeFrame,{stackFrame:firstFrame.originalStackFrame,codeFrame:firstFrame.originalCodeFrame}),frames.length>0&&/*#__PURE__*/(0,jsx_runtime.jsx)(CallStack,{dialogResizerRef:dialogResizerRef,frames:frames})]})}let digestSym=Symbol.for("next.console.error.digest"),isConsoleError=error=>error&&"NEXT_CONSOLE_ERROR"===error[digestSym];var error_telemetry_utils=__webpack_require__("./dist/esm/lib/error-telemetry-utils.js");let squashedHydrationErrorDetails=new WeakMap;__webpack_require__("./dist/esm/shared/lib/lazy-dynamic/bailout-to-csr.js"),"function"==typeof reportError&&reportError;let recoverableErrors=new WeakSet;function isNextjsLink(text){return text.startsWith("https://nextjs.org")}function HydrationErrorDescription(param){let{message}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:message,matcher:isNextjsLink})}function GenericErrorDescription(param){let{error}=param,environmentName="environmentName"in error?error.environmentName:"",envPrefix=environmentName?"[ "+environmentName+" ] ":"",message=error.message;return message.startsWith(envPrefix)&&(message=message.slice(envPrefix.length)),/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:message,matcher:isNextjsLink})})}let noErrorDetails={hydrationWarning:null,notes:null,reactOutputComponentDiff:null};function Errors(param){var error;let{runtimeErrors,debugInfo,onClose,...props}=param,dialogResizerRef=(0,react_experimental.useRef)(null),isLoading=(0,react_experimental.useMemo)(()=>runtimeErrors.length<1,[runtimeErrors.length]),[activeIdx,setActiveIndex]=(0,react_experimental.useState)(0),activeError=(0,react_experimental.useMemo)(()=>{var _runtimeErrors_activeIdx;return null!=(_runtimeErrors_activeIdx=runtimeErrors[activeIdx])?_runtimeErrors_activeIdx:null},[activeIdx,runtimeErrors]),errorDetails=(error=null==activeError?void 0:activeError.error,(0,react_experimental.useMemo)(()=>{var _pagesRouterErrorDetails_warning,_pagesRouterErrorDetails_reactOutputComponentDiff;if(void 0===error)return noErrorDetails;let pagesRouterErrorDetails=squashedHydrationErrorDetails.has(error)?squashedHydrationErrorDetails.get(error):null;if(null!==pagesRouterErrorDetails)return{hydrationWarning:null!=(_pagesRouterErrorDetails_warning=pagesRouterErrorDetails.warning)?_pagesRouterErrorDetails_warning:null,notes:null,reactOutputComponentDiff:null!=(_pagesRouterErrorDetails_reactOutputComponentDiff=pagesRouterErrorDetails.reactOutputComponentDiff)?_pagesRouterErrorDetails_reactOutputComponentDiff:null};if(!(isErrorMessageWithComponentStackDiff(error.message)||/Hydration failed because the server rendered (text|HTML) didn't match the client\./.test(error.message)||/A tree hydrated but some attributes of the server rendered HTML didn't match the client properties./.test(error.message)))return noErrorDetails;let{message,notes,diff}=function(error){let errorMessage=error.message;if(isErrorMessageWithComponentStackDiff(errorMessage)){let[message,diffLog=""]=errorMessage.split("\n\n"),diff=diffLog.trim();return{message:""===diff?errorMessage.trim():message.trim(),diff,notes:null}}let[message,maybeComponentStackDiff]=errorMessage.split(""+REACT_HYDRATION_ERROR_LINK),trimmedMessage=message.trim();if(void 0!==maybeComponentStackDiff&&maybeComponentStackDiff.length>1){let diffs=[];maybeComponentStackDiff.split("\n").forEach(line=>{""===line.trim()||line.trim().startsWith("at ")||diffs.push(line)});let[displayedMessage,...notes]=trimmedMessage.split("\n\n");return{message:displayedMessage,diff:diffs.join("\n"),notes:notes.join("\n\n")||null}}{let[displayedMessage,...notes]=trimmedMessage.split("\n\n");return{message:displayedMessage,diff:null,notes:notes.join("\n\n")}}}(error);return null===message?noErrorDetails:{hydrationWarning:message,notes,reactOutputComponentDiff:diff}},[error]));if(isLoading)return/*#__PURE__*/(0,jsx_runtime.jsx)(Overlay,{});if(!activeError)return null;let error1=activeError.error,isServerError=["server","edge-server"].includes(getErrorSource(error1)||""),errorType=recoverableErrors.has(error1)?"Recoverable "+error1.name:isConsoleError(error1)?"Console "+error1.name:"Runtime "+error1.name,notes=errorDetails.notes,hydrationWarning=errorDetails.hydrationWarning,errorCode=(0,error_telemetry_utils.extractNextErrorCode)(error1);return/*#__PURE__*/(0,jsx_runtime.jsxs)(ErrorOverlayLayout,{errorCode:errorCode,errorType:errorType,errorMessage:hydrationWarning?/*#__PURE__*/(0,jsx_runtime.jsx)(HydrationErrorDescription,{message:hydrationWarning}):/*#__PURE__*/(0,jsx_runtime.jsx)(GenericErrorDescription,{error:error1}),onClose:isServerError?void 0:onClose,debugInfo:debugInfo,error:error1,runtimeErrors:runtimeErrors,activeIdx:activeIdx,setActiveIndex:setActiveIndex,footerMessage:isServerError?"This error happened while generating the page. Any console logs will be displayed in the terminal window.":void 0,dialogResizerRef:dialogResizerRef,...props,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-notes-container",children:[notes?/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:/*#__PURE__*/(0,jsx_runtime.jsx)("p",{id:"nextjs__container_errors__notes",className:"nextjs__container_errors__notes",children:notes})}):null,hydrationWarning?/*#__PURE__*/(0,jsx_runtime.jsx)("p",{id:"nextjs__container_errors__link",className:"nextjs__container_errors__link",children:/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:"See more info here: "+NEXTJS_HYDRATION_ERROR_LINK})}):null]}),errorDetails.reactOutputComponentDiff?/*#__PURE__*/(0,jsx_runtime.jsx)(PseudoHtmlDiff,{className:"nextjs__container_errors__component-stack",reactOutputComponentDiff:errorDetails.reactOutputComponentDiff||""}):null,/*#__PURE__*/(0,jsx_runtime.jsx)(react_experimental.Suspense,{fallback:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-error-suspended":!0}),children:/*#__PURE__*/(0,jsx_runtime.jsx)(RuntimeError,{error:activeError,dialogResizerRef:dialogResizerRef},activeError.id.toString())})]})}function next_logo_templateObject(){let data=_tagged_template_literal_loose(["\n [data-next-badge-root] {\n --timing: cubic-bezier(0.23, 0.88, 0.26, 0.92);\n --duration-long: 250ms;\n --color-outer-border: #171717;\n --color-inner-border: hsla(0, 0%, 100%, 0.14);\n --color-hover-alpha-subtle: hsla(0, 0%, 100%, 0.13);\n --color-hover-alpha-error: hsla(0, 0%, 100%, 0.2);\n --color-hover-alpha-error-2: hsla(0, 0%, 100%, 0.25);\n --mark-size: calc(var(--size) - var(--size-2) * 2);\n\n --focus-color: var(--color-blue-800);\n --focus-ring: 2px solid var(--focus-color);\n\n &:has([data-next-badge][data-error='true']) {\n --focus-color: #fff;\n }\n }\n\n [data-disabled-icon] {\n display: flex;\n align-items: center;\n justify-content: center;\n padding-right: 4px;\n }\n\n [data-next-badge] {\n -webkit-font-smoothing: antialiased;\n width: var(--size);\n height: var(--size);\n display: flex;\n align-items: center;\n position: relative;\n background: rgba(0, 0, 0, 0.8);\n box-shadow:\n 0 0 0 1px var(--color-outer-border),\n inset 0 0 0 1px var(--color-inner-border),\n 0px 16px 32px -8px rgba(0, 0, 0, 0.24);\n backdrop-filter: blur(48px);\n border-radius: var(--rounded-full);\n user-select: none;\n cursor: pointer;\n scale: 1;\n overflow: hidden;\n will-change: scale, box-shadow, width, background;\n transition:\n scale var(--duration-short) var(--timing),\n width var(--duration-long) var(--timing),\n box-shadow var(--duration-long) var(--timing),\n background var(--duration-short) ease;\n\n &:active[data-error='false'] {\n scale: 0.95;\n }\n\n &[data-animate='true']:not(:hover) {\n scale: 1.02;\n }\n\n &[data-error='false']:has([data-next-mark]:focus-visible) {\n outline: var(--focus-ring);\n outline-offset: 3px;\n }\n\n &[data-error='true'] {\n background: #ca2a30;\n --color-inner-border: #e5484d;\n\n [data-next-mark] {\n background: var(--color-hover-alpha-error);\n outline-offset: 0px;\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -1px;\n }\n\n &:hover {\n background: var(--color-hover-alpha-error-2);\n }\n }\n }\n\n &[data-error-expanded='false'][data-error='true'] ~ [data-dot] {\n scale: 1;\n }\n\n > div {\n display: flex;\n }\n }\n\n [data-issues-collapse]:focus-visible {\n outline: var(--focus-ring);\n }\n\n [data-issues]:has([data-issues-open]:focus-visible) {\n outline: var(--focus-ring);\n outline-offset: -1px;\n }\n\n [data-dot] {\n content: '';\n width: var(--size-8);\n height: var(--size-8);\n background: #fff;\n box-shadow: 0 0 0 1px var(--color-outer-border);\n border-radius: 50%;\n position: absolute;\n top: 2px;\n right: 0px;\n scale: 0;\n pointer-events: none;\n transition: scale 200ms var(--timing);\n transition-delay: var(--duration-short);\n }\n\n [data-issues] {\n --padding-left: 8px;\n display: flex;\n gap: 2px;\n align-items: center;\n padding-left: 8px;\n padding-right: 8px;\n height: var(--size-32);\n margin-right: 2px;\n border-radius: var(--rounded-full);\n transition: background var(--duration-short) ease;\n\n &:has([data-issues-open]:hover) {\n background: var(--color-hover-alpha-error);\n }\n\n &:has([data-issues-collapse]) {\n padding-right: calc(var(--padding-left) / 2);\n }\n\n [data-cross] {\n translate: 0px -1px;\n }\n }\n\n [data-issues-open] {\n font-size: var(--size-13);\n color: white;\n width: fit-content;\n height: 100%;\n display: flex;\n gap: 2px;\n align-items: center;\n margin: 0;\n line-height: var(--size-36);\n font-weight: 500;\n z-index: 2;\n white-space: nowrap;\n\n &:focus-visible {\n outline: 0;\n }\n }\n\n [data-issues-collapse] {\n width: var(--size-24);\n height: var(--size-24);\n border-radius: var(--rounded-full);\n transition: background var(--duration-short) ease;\n\n &:hover {\n background: var(--color-hover-alpha-error);\n }\n }\n\n [data-cross] {\n color: #fff;\n width: var(--size-12);\n height: var(--size-12);\n }\n\n [data-next-mark] {\n width: var(--mark-size);\n height: var(--mark-size);\n margin: 0 2px;\n display: flex;\n align-items: center;\n border-radius: var(--rounded-full);\n transition: background var(--duration-long) var(--timing);\n\n &:focus-visible {\n outline: 0;\n }\n\n &:hover {\n background: var(--color-hover-alpha-subtle);\n }\n\n svg {\n flex-shrink: 0;\n width: var(--size-40);\n height: var(--size-40);\n }\n }\n\n [data-issues-count-animation] {\n display: grid;\n place-items: center center;\n font-variant-numeric: tabular-nums;\n\n &[data-animate='false'] {\n [data-issues-count-exit],\n [data-issues-count-enter] {\n animation-duration: 0ms;\n }\n }\n\n > * {\n grid-area: 1 / 1;\n }\n\n [data-issues-count-exit] {\n animation: fadeOut 300ms var(--timing) forwards;\n }\n\n [data-issues-count-enter] {\n animation: fadeIn 300ms var(--timing) forwards;\n }\n }\n\n [data-issues-count-plural] {\n display: inline-block;\n &[data-animate='true'] {\n animation: fadeIn 300ms var(--timing) forwards;\n }\n }\n\n .path0 {\n animation: draw0 1.5s ease-in-out infinite;\n }\n\n .path1 {\n animation: draw1 1.5s ease-out infinite;\n animation-delay: 0.3s;\n }\n\n .paused {\n stroke-dashoffset: 0;\n }\n\n @keyframes fadeIn {\n 0% {\n opacity: 0;\n filter: blur(2px);\n transform: translateY(8px);\n }\n 100% {\n opacity: 1;\n filter: blur(0px);\n transform: translateY(0);\n }\n }\n\n @keyframes fadeOut {\n 0% {\n opacity: 1;\n filter: blur(0px);\n transform: translateY(0);\n }\n 100% {\n opacity: 0;\n transform: translateY(-12px);\n filter: blur(2px);\n }\n }\n\n @keyframes draw0 {\n 0%,\n 25% {\n stroke-dashoffset: -29.6;\n }\n 25%,\n 50% {\n stroke-dashoffset: 0;\n }\n 50%,\n 75% {\n stroke-dashoffset: 0;\n }\n 75%,\n 100% {\n stroke-dashoffset: 29.6;\n }\n }\n\n @keyframes draw1 {\n 0%,\n 20% {\n stroke-dashoffset: -11.6;\n }\n 20%,\n 50% {\n stroke-dashoffset: 0;\n }\n 50%,\n 75% {\n stroke-dashoffset: 0;\n }\n 75%,\n 100% {\n stroke-dashoffset: 11.6;\n }\n }\n\n @media (prefers-reduced-motion) {\n [data-issues-count-exit],\n [data-issues-count-enter],\n [data-issues-count-plural] {\n animation-duration: 0ms !important;\n }\n }\n "]);return next_logo_templateObject=function(){return data},data}let NextLogo=/*#__PURE__*/(0,react_experimental.forwardRef)(function(param,propRef){let{disabled,issueCount,isDevBuilding,isDevRendering,isBuildError,onTriggerClick,toggleErrorOverlay,scale=1,...props}=param,hasError=issueCount>0,[isErrorExpanded,setIsErrorExpanded]=(0,react_experimental.useState)(hasError),[dismissed,setDismissed]=(0,react_experimental.useState)(!1),newErrorDetected=function(issueCount,animationDurationMs){void 0===animationDurationMs&&(animationDurationMs=0);let lastUpdatedTimeStamp=(0,react_experimental.useRef)(null),[animate,setAnimate]=(0,react_experimental.useState)(!1);return(0,react_experimental.useEffect)(()=>{if(issueCount>0){let deltaMs=lastUpdatedTimeStamp.current?Date.now()-lastUpdatedTimeStamp.current:-1;if(lastUpdatedTimeStamp.current=Date.now(),deltaMs<=animationDurationMs)return;setAnimate(!0);let timeoutId=window.setTimeout(()=>{setAnimate(!1)},animationDurationMs);return()=>{clearTimeout(timeoutId)}}},[issueCount,animationDurationMs]),animate}(issueCount,150),triggerRef=(0,react_experimental.useRef)(null),ref=(0,react_experimental.useRef)(null),measuredWidth=function(ref){let[width,setWidth]=(0,react_experimental.useState)(0);return(0,react_experimental.useEffect)(()=>{let el=ref.current;if(!el)return;let observer=new ResizeObserver(param=>{let[{contentRect}]=param;setWidth(contentRect.width)});return observer.observe(el),()=>observer.disconnect()},[ref]),width}(ref),isLoading=function(isLoadingTrigger,interval){void 0===interval&&(interval=750);let[isLoading,setIsLoading]=(0,react_experimental.useState)(!1),loadStartTimeRef=(0,react_experimental.useRef)(null),timeoutIdRef=(0,react_experimental.useRef)(null);return(0,react_experimental.useEffect)(()=>{if(timeoutIdRef.current&&(clearTimeout(timeoutIdRef.current),timeoutIdRef.current=null),isLoadingTrigger)null===loadStartTimeRef.current&&(loadStartTimeRef.current=Date.now()),setIsLoading(!0);else if(null===loadStartTimeRef.current)setIsLoading(!1);else{let timeDiff=Date.now()-loadStartTimeRef.current,remainingTime=interval*Math.ceil(timeDiff/interval)-timeDiff;remainingTime>0?timeoutIdRef.current=setTimeout(()=>{setIsLoading(!1),loadStartTimeRef.current=null},remainingTime):(setIsLoading(!1),loadStartTimeRef.current=null)}return()=>{timeoutIdRef.current&&clearTimeout(timeoutIdRef.current)}},[isLoadingTrigger,interval]),isLoading}(isDevBuilding||isDevRendering),isExpanded=isErrorExpanded||disabled;return(0,react_experimental.useEffect)(()=>{setIsErrorExpanded(hasError)},[hasError]),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-next-badge-root":!0,style:{"--size":""+36/scale+"px","--duration-short":"150ms",display:disabled&&(!hasError||dismissed)?"none":"block"},children:[/*#__PURE__*/(0,jsx_runtime.jsx)("style",{children:css(next_logo_templateObject())}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-next-badge":!0,"data-error":hasError,"data-error-expanded":isExpanded,"data-animate":newErrorDetected,style:{width:0===measuredWidth?"auto":measuredWidth},children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{ref:ref,children:[!disabled&&/*#__PURE__*/(0,jsx_runtime.jsx)("button",{ref:function(){for(var _len=arguments.length,inputRefs=Array(_len),_key=0;_key<_len;_key++)inputRefs[_key]=arguments[_key];let filteredInputRefs=inputRefs.filter(Boolean);return filteredInputRefs.length<=1?filteredInputRefs[0]||null:function(ref){for(let inputRef of filteredInputRefs)"function"==typeof inputRef?inputRef(ref):inputRef&&(inputRef.current=ref)}}(triggerRef,propRef),"data-next-mark":!0,"data-next-mark-loading":isLoading,onClick:onTriggerClick,...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)(NextMark,{isLoading:isLoading,isDevBuilding:isDevBuilding})}),isExpanded&&/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-issues":!0,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("button",{"data-issues-open":!0,"aria-label":"Open issues overlay",onClick:toggleErrorOverlay,children:[disabled&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-disabled-icon":!0,children:/*#__PURE__*/(0,jsx_runtime.jsx)(Warning,{})}),/*#__PURE__*/(0,jsx_runtime.jsx)(AnimateCount,{animate:newErrorDetected,"data-issues-count-animation":!0,children:issueCount},issueCount)," ",/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{children:["Issue",issueCount>1&&/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"aria-hidden":!0,"data-issues-count-plural":!0,"data-animate":newErrorDetected&&2===issueCount,children:"s"})]})]}),!isBuildError&&/*#__PURE__*/(0,jsx_runtime.jsx)("button",{"data-issues-collapse":!0,"aria-label":"Collapse issues badge",onClick:()=>{var _triggerRef_current;disabled?setDismissed(!0):setIsErrorExpanded(!1),null==(_triggerRef_current=triggerRef.current)||_triggerRef_current.focus()},children:/*#__PURE__*/(0,jsx_runtime.jsx)(Cross,{"data-cross":!0})})]})]})}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"aria-hidden":!0,"data-dot":!0})]})});function AnimateCount(param){let{children:count,animate=!0,...props}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{...props,"data-animate":animate,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"aria-hidden":!0,"data-issues-count-exit":!0,children:count-1}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-issues-count":!0,"data-issues-count-enter":!0,children:count})]})}function NextMark(param){let{isLoading,isDevBuilding}=param,strokeColor=isDevBuilding?"rgba(255,255,255,0.7)":"white";return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none","data-next-mark-loading":isLoading,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("g",{transform:"translate(8.5, 13)",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("path",{className:isLoading?"path0":"paused",d:"M13.3 15.2 L2.34 1 V12.6",fill:"none",stroke:"url(#next_logo_paint0_linear_1357_10853)",strokeWidth:"1.86",mask:"url(#next_logo_mask0)",strokeDasharray:"29.6",strokeDashoffset:"29.6"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{className:isLoading?"path1":"paused",d:"M11.825 1.5 V13.1",strokeWidth:"1.86",stroke:"url(#next_logo_paint1_linear_1357_10853)",strokeDasharray:"11.6",strokeDashoffset:"11.6"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("defs",{children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("linearGradient",{id:"next_logo_paint0_linear_1357_10853",x1:"9.95555",y1:"11.1226",x2:"15.4778",y2:"17.9671",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{stopColor:strokeColor}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:"0.604072",stopColor:strokeColor,stopOpacity:"0"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:"1",stopColor:strokeColor,stopOpacity:"0"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("linearGradient",{id:"next_logo_paint1_linear_1357_10853",x1:"11.8222",y1:"1.40039",x2:"11.791",y2:"9.62542",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{stopColor:strokeColor}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:"1",stopColor:strokeColor,stopOpacity:"0"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("mask",{id:"next_logo_mask0",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{width:"5",height:"1.5",fill:"black"})]})]})]})}function Warning(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.98071 1.125L1.125 3.98071L1.125 8.01929L3.98071 10.875H8.01929L10.875 8.01929V3.98071L8.01929 1.125H3.98071ZM3.82538 0C3.62647 0 3.4357 0.0790176 3.29505 0.21967L0.21967 3.29505C0.0790176 3.4357 0 3.62647 0 3.82538V8.17462C0 8.37353 0.0790178 8.5643 0.21967 8.70495L3.29505 11.7803C3.4357 11.921 3.62647 12 3.82538 12H8.17462C8.37353 12 8.5643 11.921 8.70495 11.7803L11.7803 8.70495C11.921 8.5643 12 8.37353 12 8.17462V3.82538C12 3.62647 11.921 3.4357 11.7803 3.29505L8.70495 0.21967C8.5643 0.0790177 8.37353 0 8.17462 0H3.82538ZM6.5625 2.8125V3.375V6V6.5625H5.4375V6V3.375V2.8125H6.5625ZM6 9C6.41421 9 6.75 8.66421 6.75 8.25C6.75 7.83579 6.41421 7.5 6 7.5C5.58579 7.5 5.25 7.83579 5.25 8.25C5.25 8.66421 5.58579 9 6 9Z",fill:"#EAEAEA"})})}function Cross(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.08889 11.8384L2.62486 12.3024L1.69678 11.3744L2.16082 10.9103L6.07178 6.99937L2.16082 3.08841L1.69678 2.62437L2.62486 1.69629L3.08889 2.16033L6.99986 6.07129L10.9108 2.16033L11.3749 1.69629L12.3029 2.62437L11.8389 3.08841L7.92793 6.99937L11.8389 10.9103L12.3029 11.3744L11.3749 12.3024L10.9108 11.8384L6.99986 7.92744L3.08889 11.8384Z",fill:"currentColor"})})}let NOOP=()=>{},devBuildIndicator={show:NOOP,hide:NOOP},listeners=[],subscribe=listener=>(listeners.push(listener),()=>{listeners=listeners.filter(l=>l!==listener)}),getSnapshot=()=>!1;var dev_render_indicator=__webpack_require__("./dist/esm/client/components/react-dev-overlay/utils/dev-indicator/dev-render-indicator.js");function useDelayedRender(active,options){void 0===active&&(active=!1),void 0===options&&(options={});let[mounted,setMounted]=(0,react_experimental.useState)(active),[rendered,setRendered]=(0,react_experimental.useState)(!1),renderTimerRef=(0,react_experimental.useRef)(null),unmountTimerRef=(0,react_experimental.useRef)(null),clearTimers=(0,react_experimental.useCallback)(()=>{null!==renderTimerRef.current&&(window.clearTimeout(renderTimerRef.current),renderTimerRef.current=null),null!==unmountTimerRef.current&&(window.clearTimeout(unmountTimerRef.current),unmountTimerRef.current=null)},[]);return(0,react_experimental.useEffect)(()=>{let{enterDelay=1,exitDelay=0}=options;return clearTimers(),active?(setMounted(!0),enterDelay<=0?setRendered(!0):renderTimerRef.current=window.setTimeout(()=>{setRendered(!0)},enterDelay)):(setRendered(!1),exitDelay<=0?setMounted(!1):unmountTimerRef.current=window.setTimeout(()=>{setMounted(!1)},exitDelay)),clearTimers},[active,options,clearTimers]),{mounted,rendered}}function DevToolsInfo(param){let{title,children,learnMoreLink,isOpen,triggerRef,close,...props}=param,ref=(0,react_experimental.useRef)(null),closeButtonRef=(0,react_experimental.useRef)(null),{mounted,rendered}=useDelayedRender(isOpen,{enterDelay:0,exitDelay:200});return(useFocusTrap(ref,triggerRef,isOpen,()=>{var _closeButtonRef_current;null==(_closeButtonRef_current=closeButtonRef.current)||_closeButtonRef_current.focus()}),useClickOutside(ref,triggerRef,isOpen,close),mounted)?/*#__PURE__*/(0,jsx_runtime.jsx)("div",{tabIndex:-1,role:"dialog",ref:ref,"data-info-popover":!0,...props,"data-rendered":rendered,children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-container",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("h1",{className:"dev-tools-info-title",children:title}),children,/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-button-container",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("button",{ref:closeButtonRef,className:"dev-tools-info-close-button",onClick:close,children:"Close"}),learnMoreLink&&/*#__PURE__*/(0,jsx_runtime.jsx)("a",{className:"dev-tools-info-learn-more-button",href:learnMoreLink,target:"_blank",rel:"noreferrer noopener",children:"Learn More"})]})]})}):null}function TurbopackInfo(props){return/*#__PURE__*/(0,jsx_runtime.jsxs)(DevToolsInfo,{title:"Turbopack",learnMoreLink:"https://nextjs.org/docs/app/api-reference/turbopack",...props,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("article",{className:"dev-tools-info-article",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-paragraph",children:["Turbopack is an incremental bundler optimized for JavaScript and TypeScript, written in Rust, and built into Next.js. Turbopack can be used in Next.js in both the"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:"pages"})," and"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:"app"})," directories for faster local development."]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-paragraph",children:["To enable Turbopack, use the"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:"--turbopack"})," flag when running the Next.js development server."]})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-info-code-block-container",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-code-block",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(CopyButton,{actionLabel:"Copy Next.js Turbopack Command",successLabel:"Next.js Turbopack Command Copied",content:"--turbopack",className:"dev-tools-info-copy-button"}),/*#__PURE__*/(0,jsx_runtime.jsx)("pre",{className:"dev-tools-info-code-block-pre",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("code",{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-info-code-block-line",children:" "}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-info-code-block-line",children:"{"}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-code-block-line",children:[" ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-key",children:'"scripts"'}),": ","{"]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-code-block-line dev-tools-info-highlight",children:[" ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-key",children:'"dev"'}),":"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-value",children:'"next dev --turbopack"'}),","]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-code-block-line",children:[" ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-key",children:'"build"'}),":"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-value",children:'"next build"'}),","]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-code-block-line",children:[" ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-key",children:'"start"'}),":"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-value",children:'"next start"'}),","]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-code-block-line",children:[" ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-key",children:'"lint"'}),":"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-value",children:'"next lint"'})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-info-code-block-line",children:" }"}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-info-code-block-line",children:"}"}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-info-code-block-line",children:" "})]})})]})})]})}function StaticRouteContent(param){let{routerType}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("article",{className:"dev-tools-info-article",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-paragraph",children:["The path"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:window.location.pathname})," ",'is marked as "static" since it will be prerendered during the build time.']}),/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-paragraph",children:["With Static Rendering, routes are rendered at build time, or in the background after"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("a",{className:"dev-tools-info-link",href:"pages"===routerType?"https://nextjs.org/docs/pages/building-your-application/data-fetching/incremental-static-regeneration":"https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration",target:"_blank",rel:"noopener noreferrer",children:"data revalidation"}),"."]}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"dev-tools-info-paragraph",children:"Static rendering is useful when a route has data that is not personalized to the user and can be known at build time, such as a static blog post or a product page."})]})}function DynamicRouteContent(param){let{routerType}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("article",{className:"dev-tools-info-article",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-paragraph",children:["The path"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:window.location.pathname})," ",'is marked as "dynamic" since it will be rendered for each user at'," ",/*#__PURE__*/(0,jsx_runtime.jsx)("strong",{children:"request time"}),"."]}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"dev-tools-info-paragraph",children:"Dynamic rendering is useful when a route has data that is personalized to the user or has information that can only be known at request time, such as cookies or the URL's search params."}),"pages"===routerType?/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-pagraph",children:["Exporting the"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("a",{className:"dev-tools-info-link",href:"https://nextjs.org/docs/pages/building-your-application/data-fetching/get-server-side-props",target:"_blank",rel:"noopener noreferrer",children:"getServerSideProps"})," ","function will opt the route into dynamic rendering. This function will be called by the server on every request."]}):/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-paragraph",children:["During rendering, if a"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("a",{className:"dev-tools-info-link",href:"https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-apis",target:"_blank",rel:"noopener noreferrer",children:"Dynamic API"})," ","or a"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("a",{className:"dev-tools-info-link",href:"https://nextjs.org/docs/app/api-reference/functions/fetch",target:"_blank",rel:"noopener noreferrer",children:"fetch"})," ","option of"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:"{ cache: 'no-store' }"})," ","is discovered, Next.js will switch to dynamically rendering the whole route."]})]})}let learnMoreLink={pages:{static:"https://nextjs.org/docs/pages/building-your-application/rendering/static-site-generation",dynamic:"https://nextjs.org/docs/pages/building-your-application/rendering/server-side-rendering"},app:{static:"https://nextjs.org/docs/app/building-your-application/rendering/server-components#static-rendering-default",dynamic:"https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-rendering"}};function RouteInfo(param){let{routeType,routerType,...props}=param,isStaticRoute="Static"===routeType,learnMore=isStaticRoute?learnMoreLink[routerType].static:learnMoreLink[routerType].dynamic;return/*#__PURE__*/(0,jsx_runtime.jsx)(DevToolsInfo,{title:""+routeType+" Route",learnMoreLink:learnMore,...props,children:isStaticRoute?/*#__PURE__*/(0,jsx_runtime.jsx)(StaticRouteContent,{routerType:routerType}):/*#__PURE__*/(0,jsx_runtime.jsx)(DynamicRouteContent,{routerType:routerType})})}function GearIcon(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m9.7 3.736.045-.236h.51l.044.236a2.024 2.024 0 0 0 1.334 1.536c.19.066.375.143.554.23.618.301 1.398.29 2.03-.143l.199-.136.36.361-.135.199a2.024 2.024 0 0 0-.143 2.03c.087.179.164.364.23.554.224.65.783 1.192 1.536 1.334l.236.044v.51l-.236.044a2.024 2.024 0 0 0-1.536 1.334 4.95 4.95 0 0 1-.23.554 2.024 2.024 0 0 0 .143 2.03l.136.199-.361.36-.199-.135a2.024 2.024 0 0 0-2.03-.143c-.179.087-.364.164-.554.23a2.024 2.024 0 0 0-1.334 1.536l-.044.236h-.51l-.044-.236a2.024 2.024 0 0 0-1.334-1.536 4.952 4.952 0 0 1-.554-.23 2.024 2.024 0 0 0-2.03.143l-.199.136-.36-.361.135-.199a2.024 2.024 0 0 0 .143-2.03 4.958 4.958 0 0 1-.23-.554 2.024 2.024 0 0 0-1.536-1.334l-.236-.044v-.51l.236-.044a2.024 2.024 0 0 0 1.536-1.334 4.96 4.96 0 0 1 .23-.554 2.024 2.024 0 0 0-.143-2.03l-.136-.199.361-.36.199.135a2.024 2.024 0 0 0 2.03.143c.179-.087.364-.164.554-.23a2.024 2.024 0 0 0 1.334-1.536ZM8.5 2h3l.274 1.46c.034.185.17.333.348.394.248.086.49.186.722.3.17.082.37.074.526-.033l1.226-.839 2.122 2.122-.84 1.226a.524.524 0 0 0-.032.526c.114.233.214.474.3.722.061.177.21.314.394.348L18 8.5v3l-1.46.274a.524.524 0 0 0-.394.348 6.47 6.47 0 0 1-.3.722.524.524 0 0 0 .033.526l.839 1.226-2.122 2.122-1.226-.84a.524.524 0 0 0-.526-.032 6.477 6.477 0 0 1-.722.3.524.524 0 0 0-.348.394L11.5 18h-3l-.274-1.46a.524.524 0 0 0-.348-.394 6.477 6.477 0 0 1-.722-.3.524.524 0 0 0-.526.033l-1.226.839-2.122-2.122.84-1.226a.524.524 0 0 0 .032-.526 6.453 6.453 0 0 1-.3-.722.524.524 0 0 0-.394-.348L2 11.5v-3l1.46-.274a.524.524 0 0 0 .394-.348c.086-.248.186-.49.3-.722a.524.524 0 0 0-.033-.526l-.839-1.226 2.122-2.122 1.226.84a.524.524 0 0 0 .526.032 6.46 6.46 0 0 1 .722-.3.524.524 0 0 0 .348-.394L8.5 2Zm3 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm1.5 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z",clipRule:"evenodd"})})}function EyeIcon(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m.191 2.063.56.498 13.5 12 .561.498.997-1.121-.56-.498-1.81-1.608 2.88-3.342v-.98l-3.204-3.72C10.645.923 6.365.686 3.594 3.08L1.748 1.44 1.188.94.19 2.063ZM14.761 8l-2.442 2.836-1.65-1.466a3.001 3.001 0 0 0-4.342-3.86l-1.6-1.422a5.253 5.253 0 0 1 7.251.682L14.76 8ZM7.526 6.576l1.942 1.727a1.499 1.499 0 0 0-1.942-1.727Zm-7.845.935 1.722-2 1.137.979L1.24 8l2.782 3.23A5.25 5.25 0 0 0 9.9 12.703l.54 1.4a6.751 6.751 0 0 1-7.555-1.892L-.318 8.49v-.98Z",clipRule:"evenodd"})})}function LightIcon(){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"16",viewBox:"0 0 16 16",fill:"none",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("g",{clipPath:"url(#light_icon_clip_path)",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.75.75V0h-1.5v2h1.5V.75ZM3.26 4.32l-.53-.53-.354-.353-.53-.53 1.06-1.061.53.53.354.354.53.53-1.06 1.06Zm8.42-1.06.53-.53.353-.354.53-.53 1.061 1.06-.53.53-.354.354-.53.53-1.06-1.06ZM8 11.25a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5Zm0 1.5a4.75 4.75 0 1 0 0-9.5 4.75 4.75 0 0 0 0 9.5Zm6-5.5h2v1.5h-2v-1.5Zm-13.25 0H0v1.5h2v-1.5H.75Zm1.62 5.32-.53.53 1.06 1.06.53-.53.354-.353.53-.53-1.06-1.061-.53.53-.354.354Zm10.2 1.06.53.53 1.06-1.06-.53-.53-.354-.354-.53-.53-1.06 1.06.53.53.353.354ZM8.75 14v2h-1.5v-2h1.5Z",clipRule:"evenodd"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("defs",{children:/*#__PURE__*/(0,jsx_runtime.jsx)("clipPath",{id:"light_icon_clip_path",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]})}function DarkIcon(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{"data-testid":"geist-icon",height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 8.00005C1.5 5.53089 2.99198 3.40932 5.12349 2.48889C4.88136 3.19858 4.75 3.95936 4.75 4.7501C4.75 8.61609 7.88401 11.7501 11.75 11.7501C11.8995 11.7501 12.048 11.7454 12.1953 11.7361C11.0955 13.1164 9.40047 14.0001 7.5 14.0001C4.18629 14.0001 1.5 11.3138 1.5 8.00005ZM6.41706 0.577759C2.78784 1.1031 0 4.22536 0 8.00005C0 12.1422 3.35786 15.5001 7.5 15.5001C10.5798 15.5001 13.2244 13.6438 14.3792 10.9921L13.4588 9.9797C12.9218 10.155 12.3478 10.2501 11.75 10.2501C8.71243 10.2501 6.25 7.78767 6.25 4.7501C6.25 3.63431 6.58146 2.59823 7.15111 1.73217L6.41706 0.577759ZM13.25 1V1.75V2.75L14.25 2.75H15V4.25H14.25H13.25V5.25V6H11.75V5.25V4.25H10.75L10 4.25V2.75H10.75L11.75 2.75V1.75V1H13.25Z",fill:"currentColor"})})}function SystemIcon(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",strokeLinejoin:"round",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8.5a1 1 0 0 1-1 1H8.75v3h1.75V16h-5v-1.5h1.75v-3H1a1 1 0 0 1-1-1V2Zm1.5.5V10h13V2.5h-13Z",clipRule:"evenodd"})})}let INDICATOR_POSITION=process.env.__NEXT_DEV_INDICATOR_POSITION||"bottom-left",NEXT_DEV_TOOLS_SCALE={Small:16/14,Medium:1,Large:16/18};function user_preferences_templateObject(){let data=_tagged_template_literal_loose(["\n .preferences-container {\n padding: 8px 6px;\n width: 100%;\n }\n\n @media (min-width: 576px) {\n .preferences-container {\n width: 480px;\n }\n }\n\n .preference-section:first-child {\n padding-top: 0;\n }\n\n .preference-section {\n padding: 12px 0;\n border-bottom: 1px solid var(--color-gray-400);\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 24px;\n }\n\n .preference-section:last-child {\n border-bottom: none;\n }\n\n .preference-header {\n margin-bottom: 0;\n flex: 1;\n }\n\n .preference-header label {\n font-size: var(--size-14);\n font-weight: 500;\n color: var(--color-gray-1000);\n margin: 0;\n }\n\n .preference-description {\n color: var(--color-gray-900);\n font-size: var(--size-14);\n margin: 0;\n }\n\n .select-button,\n .action-button {\n display: flex;\n align-items: center;\n gap: 8px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-400);\n border-radius: var(--rounded-lg);\n font-weight: 400;\n font-size: var(--size-14);\n color: var(--color-gray-1000);\n padding: 6px 8px;\n\n &:hover {\n background: var(--color-gray-100);\n }\n }\n\n .select-button {\n &:focus-within {\n outline: var(--focus-ring);\n }\n\n select {\n all: unset;\n }\n }\n\n :global(.icon) {\n width: 18px;\n height: 18px;\n color: #666;\n }\n"]);return user_preferences_templateObject=function(){return data},data}function UserPreferences(param){let{setPosition,position,hide,scale,setScale,...props}=param,[theme,setTheme]=(0,react_experimental.useState)(function(){if("undefined"==typeof localStorage)return"system";let theme=localStorage.getItem(STORAGE_KEY_THEME);return"dark"===theme||"light"===theme?theme:"system"}());return/*#__PURE__*/(0,jsx_runtime.jsx)(DevToolsInfo,{title:"Preferences",...props,children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preferences-container",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-section",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-header",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("label",{htmlFor:"theme",children:"Theme"}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"preference-description",children:"Select your theme preference."})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)(Select,{id:"theme",name:"theme",prefix:/*#__PURE__*/(0,jsx_runtime.jsx)(ThemeIcon,{theme:theme}),value:theme,onChange:e=>{let portal=document.querySelector("nextjs-portal");if(portal){if(setTheme(e.target.value),"system"===e.target.value){portal.classList.remove("dark"),portal.classList.remove("light"),localStorage.removeItem(STORAGE_KEY_THEME);return}"dark"===e.target.value?(portal.classList.add("dark"),portal.classList.remove("light"),localStorage.setItem(STORAGE_KEY_THEME,"dark")):(portal.classList.remove("dark"),portal.classList.add("light"),localStorage.setItem(STORAGE_KEY_THEME,"light"))}},children:[/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"system",children:"System"}),/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"light",children:"Light"}),/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"dark",children:"Dark"})]})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-section",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-header",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("label",{htmlFor:"position",children:"Position"}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"preference-description",children:"Adjust the placement of your dev tools."})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)(Select,{id:"position",name:"position",value:position,onChange:function(e){setPosition(e.target.value),localStorage.setItem(STORAGE_KEY_POSITION,e.target.value)},children:[/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"bottom-left",children:"Bottom Left"}),/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"bottom-right",children:"Bottom Right"}),/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"top-left",children:"Top Left"}),/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"top-right",children:"Top Right"})]})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-section",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-header",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("label",{htmlFor:"size",children:"Size"}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"preference-description",children:"Adjust the size of your dev tools."})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(Select,{id:"size",name:"size",value:scale,onChange:function(param){let{target}=param;setScale(Number(target.value))},children:Object.entries(NEXT_DEV_TOOLS_SCALE).map(param=>{let[key,value1]=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:value1,children:key},key)})})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-section",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-header",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("label",{id:"hide-dev-tools",children:"Hide Dev Tools for this session"}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"preference-description",children:"Hide Dev Tools until you restart your dev server, or 1 day."})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"preference-control",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("button",{"aria-describedby":"hide-dev-tools",name:"hide-dev-tools","data-hide-dev-tools":!0,className:"action-button",onClick:hide,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(EyeIcon,{}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{children:"Hide"})]})})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"preference-section",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-header",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("label",{children:"Disable Dev Tools for this project"}),/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"preference-description",children:["To disable this UI completely, set"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:"devIndicators: false"})," ","in your ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:"next.config"})," ","file."]})]})})]})})}function Select(param){let{children,prefix,...props}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"select-button",children:[prefix,/*#__PURE__*/(0,jsx_runtime.jsx)("select",{...props,children:children}),/*#__PURE__*/(0,jsx_runtime.jsx)(ChevronDownIcon,{})]})}function ThemeIcon(param){let{theme}=param;switch(theme){case"system":return/*#__PURE__*/(0,jsx_runtime.jsx)(SystemIcon,{});case"dark":return/*#__PURE__*/(0,jsx_runtime.jsx)(DarkIcon,{});case"light":return/*#__PURE__*/(0,jsx_runtime.jsx)(LightIcon,{});default:return null}}let DEV_TOOLS_INFO_USER_PREFERENCES_STYLES=css(user_preferences_templateObject());function ChevronDownIcon(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":!0,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0607 5.49999L13.5303 6.03032L8.7071 10.8535C8.31658 11.2441 7.68341 11.2441 7.29289 10.8535L2.46966 6.03032L1.93933 5.49999L2.99999 4.43933L3.53032 4.96966L7.99999 9.43933L12.4697 4.96966L13 4.43933L14.0607 5.49999Z",fill:"currentColor"})})}function DevToolsIndicator(param){let{state,errorCount,isBuildError,setIsErrorOverlayOpen,...props}=param,[isDevToolsIndicatorVisible,setIsDevToolsIndicatorVisible]=(0,react_experimental.useState)(!0);return/*#__PURE__*/(0,jsx_runtime.jsx)(DevToolsPopover,{routerType:state.routerType,semver:state.versionInfo.installed,issueCount:errorCount,isStaticRoute:state.staticIndicator,hide:()=>{setIsDevToolsIndicatorVisible(!1),fetch("/__nextjs_disable_dev_indicator",{method:"POST"})},setIsErrorOverlayOpen:setIsErrorOverlayOpen,isTurbopack:!0,disabled:state.disableDevIndicator||!isDevToolsIndicatorVisible,isBuildError:isBuildError,...props})}let Context=/*#__PURE__*/(0,react_experimental.createContext)({}),OVERLAYS={Root:"root",Turbo:"turbo",Route:"route",Preferences:"preferences"};function DevToolsPopover(param){let{routerType,disabled,issueCount,isStaticRoute,isTurbopack,isBuildError,hide,setIsErrorOverlayOpen,scale,setScale}=param,menuRef=(0,react_experimental.useRef)(null),triggerRef=(0,react_experimental.useRef)(null),[open,setOpen]=(0,react_experimental.useState)(null),[position,setPosition]=(0,react_experimental.useState)("undefined"!=typeof localStorage&&localStorage.getItem(STORAGE_KEY_POSITION)?localStorage.getItem(STORAGE_KEY_POSITION):INDICATOR_POSITION),[selectedIndex,setSelectedIndex]=(0,react_experimental.useState)(-1),isMenuOpen=open===OVERLAYS.Root,isTurbopackInfoOpen=open===OVERLAYS.Turbo,isRouteInfoOpen=open===OVERLAYS.Route,isPreferencesOpen=open===OVERLAYS.Preferences,{mounted:menuMounted,rendered:menuRendered}=useDelayedRender(isMenuOpen,{enterDelay:0,exitDelay:200});function select(index){var _menuRef_current;if("first"===index){setTimeout(()=>{var _menuRef_current;let all=null==(_menuRef_current=menuRef.current)?void 0:_menuRef_current.querySelectorAll('[role="menuitem"]');all&&select(Number(all[0].getAttribute("data-index")))});return}if("last"===index){setTimeout(()=>{var _menuRef_current;let all=null==(_menuRef_current=menuRef.current)?void 0:_menuRef_current.querySelectorAll('[role="menuitem"]');all&&select(all.length-1)});return}let el=null==(_menuRef_current=menuRef.current)?void 0:_menuRef_current.querySelector('[data-index="'+index+'"]');el&&(setSelectedIndex(index),null==el||el.focus())}function openRootMenu(){setOpen(prevOpen=>(null===prevOpen&&select("first"),OVERLAYS.Root))}function closeMenu(){setOpen(prevOpen=>prevOpen===OVERLAYS.Root?null:prevOpen)}useFocusTrap(menuRef,triggerRef,isMenuOpen),useClickOutside(menuRef,triggerRef,isMenuOpen,closeMenu),(0,react_experimental.useEffect)(()=>{if(null===open){let id=setTimeout(()=>{setSelectedIndex(-1)},200);return()=>clearTimeout(id)}},[open]);let[vertical,horizontal]=position.split("-",2),popover={[vertical]:"calc(100% + 8px)",[horizontal]:0};return/*#__PURE__*/(0,jsx_runtime.jsxs)(Toast,{"data-nextjs-toast":!0,style:{"--animate-out-duration-ms":"200ms","--animate-out-timing-function":"cubic-bezier(0.175, 0.885, 0.32, 1.1)",boxShadow:"none",zIndex:0x7fffffff,bottom:"initial",left:"initial",[vertical]:"20px",[horizontal]:"20px"},children:[/*#__PURE__*/(0,jsx_runtime.jsx)(NextLogo,{ref:triggerRef,"aria-haspopup":"menu","aria-expanded":isMenuOpen,"aria-controls":"nextjs-dev-tools-menu","aria-label":(isMenuOpen?"Close":"Open")+" Next.js Dev Tools","data-nextjs-dev-tools-button":!0,disabled:disabled,issueCount:issueCount,onTriggerClick:function(){open===OVERLAYS.Root?setOpen(null):(openRootMenu(),setTimeout(()=>{select("first")}))},toggleErrorOverlay:function(){setIsErrorOverlayOpen(prev=>!prev)},isDevBuilding:(0,react_experimental.useSyncExternalStore)(subscribe,getSnapshot),isDevRendering:(0,dev_render_indicator.useIsDevRendering)(),isBuildError:isBuildError,scale:scale}),/*#__PURE__*/(0,jsx_runtime.jsx)(RouteInfo,{isOpen:isRouteInfoOpen,close:openRootMenu,triggerRef:triggerRef,style:popover,routerType:routerType,routeType:isStaticRoute?"Static":"Dynamic"}),/*#__PURE__*/(0,jsx_runtime.jsx)(TurbopackInfo,{isOpen:isTurbopackInfoOpen,close:openRootMenu,triggerRef:triggerRef,style:popover}),/*#__PURE__*/(0,jsx_runtime.jsx)(UserPreferences,{isOpen:isPreferencesOpen,close:openRootMenu,triggerRef:triggerRef,style:popover,hide:function(){setOpen(null),hide()},setPosition:setPosition,position:position,scale:scale,setScale:setScale}),menuMounted&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:menuRef,id:"nextjs-dev-tools-menu",role:"menu",dir:"ltr","aria-orientation":"vertical","aria-label":"Next.js Dev Tools Items",tabIndex:-1,className:"dev-tools-indicator-menu",onKeyDown:function(e){switch(e.preventDefault(),e.key){case"ArrowDown":select(selectedIndex+1);break;case"ArrowUp":select(selectedIndex-1);break;case"Home":select("first");break;case"End":select("last")}},"data-rendered":menuRendered,style:popover,children:/*#__PURE__*/(0,jsx_runtime.jsxs)(Context.Provider,{value:{closeMenu,selectedIndex,setSelectedIndex},children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-indicator-inner",children:[issueCount>0&&/*#__PURE__*/(0,jsx_runtime.jsx)(MenuItem,{title:issueCount+" "+(1===issueCount?"issue":"issues")+" found. Click to view details in the dev overlay.",index:0,label:"Issues",value:/*#__PURE__*/(0,jsx_runtime.jsx)(IssueCount,{children:issueCount}),onClick:function(){setOpen(null),issueCount>0&&setIsErrorOverlayOpen(!0)}}),/*#__PURE__*/(0,jsx_runtime.jsx)(MenuItem,{title:"Current route is "+(isStaticRoute?"static":"dynamic")+".",label:"Route",index:1,value:isStaticRoute?"Static":"Dynamic",onClick:()=>setOpen(OVERLAYS.Route),"data-nextjs-route-type":isStaticRoute?"static":"dynamic"}),isTurbopack?/*#__PURE__*/(0,jsx_runtime.jsx)(MenuItem,{title:"Turbopack is enabled.",label:"Turbopack",value:"Enabled"}):/*#__PURE__*/(0,jsx_runtime.jsx)(MenuItem,{index:2,title:"Learn about Turbopack and how to enable it in your application.",label:"Try Turbopack",value:/*#__PURE__*/(0,jsx_runtime.jsx)(ChevronRight,{}),onClick:()=>setOpen(OVERLAYS.Turbo)})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-indicator-footer",children:/*#__PURE__*/(0,jsx_runtime.jsx)(MenuItem,{"data-preferences":!0,label:"Preferences",value:/*#__PURE__*/(0,jsx_runtime.jsx)(GearIcon,{}),onClick:()=>setOpen(OVERLAYS.Preferences),index:isTurbopack?2:3})})]})})]})}function ChevronRight(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"#666",fillRule:"evenodd",clipRule:"evenodd",d:"M5.50011 1.93945L6.03044 2.46978L10.8537 7.293C11.2442 7.68353 11.2442 8.31669 10.8537 8.70722L6.03044 13.5304L5.50011 14.0608L4.43945 13.0001L4.96978 12.4698L9.43945 8.00011L4.96978 3.53044L4.43945 3.00011L5.50011 1.93945Z"})})}function MenuItem(param){let{index,label,value:value1,onClick,href,...props}=param,isInteractive="function"==typeof onClick||"string"==typeof href,{closeMenu,selectedIndex,setSelectedIndex}=(0,react_experimental.useContext)(Context),selected=selectedIndex===index;function click(){isInteractive&&(null==onClick||onClick(),closeMenu(),href&&window.open(href,"_blank","noopener, noreferrer"))}return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-indicator-item","data-index":index,"data-selected":selected,onClick:click,onMouseMove:()=>{isInteractive&&void 0!==index&&selectedIndex!==index&&setSelectedIndex(index)},onMouseLeave:()=>setSelectedIndex(-1),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&click()},role:isInteractive?"menuitem":void 0,tabIndex:selected?0:-1,...props,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-indicator-label",children:label}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-indicator-value",children:value1})]})}function IssueCount(param){let{children}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{className:"dev-tools-indicator-issue-count","data-has-issues":children>0,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-indicator-issue-count-indicator"}),children]})}function component_styles_templateObject(){let data=_tagged_template_literal_loose(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n "]);return component_styles_templateObject=function(){return data},data}function ComponentStyles(){return/*#__PURE__*/(0,jsx_runtime.jsx)("style",{children:css(component_styles_templateObject(),"\n .nextjs-data-copy-button {\n color: inherit;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n .nextjs-data-copy-button:disabled {\n background-color: var(--color-gray-100);\n cursor: not-allowed;\n }\n .nextjs-data-copy-button--initial:hover:not(:disabled) {\n cursor: pointer;\n }\n .nextjs-data-copy-button--error:not(:disabled),\n .nextjs-data-copy-button--error:hover:not(:disabled) {\n color: var(--color-ansi-red);\n }\n .nextjs-data-copy-button--success:not(:disabled) {\n color: var(--color-ansi-green);\n }\n",'\n [data-nextjs-call-stack-frame-no-source] {\n padding: 6px 8px;\n margin-bottom: 4px;\n\n border-radius: var(--rounded-lg);\n }\n\n [data-nextjs-call-stack-frame-no-source]:last-child {\n margin-bottom: 0;\n }\n\n [data-nextjs-call-stack-frame-ignored="true"] {\n opacity: 0.6;\n }\n\n [data-nextjs-call-stack-frame] {\n user-select: text;\n display: block;\n box-sizing: border-box;\n\n user-select: text;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n\n padding: 6px 8px;\n\n border-radius: var(--rounded-lg);\n }\n\n .call-stack-frame-method-name {\n display: flex;\n align-items: center;\n gap: 4px;\n\n margin-bottom: 4px;\n font-family: var(--font-stack-monospace);\n\n color: var(--color-gray-1000);\n font-size: var(--size-14);\n font-weight: 500;\n line-height: var(--size-20);\n\n svg {\n width: var(--size-16px);\n height: var(--size-16px);\n }\n }\n\n .open-in-editor-button, .source-mapping-error-button {\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--rounded-full);\n padding: 4px;\n color: var(--color-font);\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -2px;\n }\n\n &:hover {\n background: var(--color-gray-100);\n }\n }\n\n .call-stack-frame-file-source {\n color: var(--color-gray-900);\n font-size: var(--size-14);\n line-height: var(--size-20);\n }\n',"\n [data-nextjs-environment-name-label] {\n padding: 2px 6px;\n margin: 0;\n border-radius: var(--rounded-md-2);\n background: var(--color-gray-100);\n font-weight: 600;\n font-size: var(--size-12);\n color: var(--color-gray-900);\n font-family: var(--font-stack-monospace);\n line-height: var(--size-20);\n }\n","\n [data-nextjs-dialog-overlay] {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9000;\n\n display: flex;\n align-content: center;\n align-items: center;\n flex-direction: column;\n padding: 10vh 15px 0;\n }\n\n @media (max-height: 812px) {\n [data-nextjs-dialog-overlay] {\n padding: 15px 15px 0;\n }\n }\n\n [data-nextjs-dialog-backdrop] {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--color-backdrop);\n backdrop-filter: blur(10px);\n pointer-events: all;\n z-index: -1;\n }\n\n [data-nextjs-dialog-backdrop-fixed] {\n cursor: not-allowed;\n -webkit-backdrop-filter: blur(8px);\n backdrop-filter: blur(8px);\n }\n","\n .nextjs-toast {\n position: fixed;\n bottom: 16px;\n left: 16px;\n max-width: 420px;\n z-index: 9000;\n box-shadow: 0px 16px 32px\n rgba(0, 0, 0, 0.25);\n }\n\n @media (max-width: 440px) {\n .nextjs-toast {\n max-width: 90vw;\n left: 5vw;\n }\n }\n\n .nextjs-toast-errors-parent {\n padding: 16px;\n border-radius: var(--rounded-4xl);\n font-weight: 500;\n color: var(--color-ansi-bright-white);\n background-color: var(--color-ansi-red);\n }\n","\n [data-nextjs-dialog-root] {\n --next-dialog-radius: var(--rounded-xl);\n --next-dialog-max-width: 960px;\n --next-dialog-row-padding: 16px;\n --next-dialog-padding: 12px;\n --next-dialog-notch-height: 42px;\n --next-dialog-border-width: 1px;\n\n display: flex;\n flex-direction: column;\n width: 100%;\n max-height: calc(100% - 56px);\n max-width: var(--next-dialog-max-width);\n margin-right: auto;\n margin-left: auto;\n scale: 0.97;\n opacity: 0;\n transition-property: scale, opacity;\n transition-duration: var(--transition-duration);\n transition-timing-function: var(--timing-overlay);\n\n &[data-rendered='true'] {\n opacity: 1;\n scale: 1;\n }\n\n [data-nextjs-scroll-fader][data-side=\"top\"] {\n left: 1px;\n top: calc(var(--next-dialog-notch-height) + var(--next-dialog-border-width));\n width: calc(100% - var(--next-dialog-padding));\n opacity: 0;\n }\n }\n\n [data-nextjs-dialog] {\n outline: 0;\n }\n\n [data-nextjs-dialog], [data-nextjs-dialog] * {\n &::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n border-radius: 0 0 1rem 1rem;\n margin-bottom: 1rem;\n }\n\n &::-webkit-scrollbar-button {\n display: none;\n }\n\n &::-webkit-scrollbar-track {\n border-radius: 0 0 1rem 1rem;\n background-color: var(--color-background-100);\n }\n \n &::-webkit-scrollbar-thumb {\n border-radius: 1rem;\n background-color: var(--color-gray-500);\n }\n }\n\n /* Place overflow: hidden on this so we can break out from [data-nextjs-dialog] */\n [data-nextjs-dialog-sizer] {\n overflow: hidden;\n border-radius: inherit;\n }\n\n [data-nextjs-dialog-backdrop] {\n opacity: 0;\n transition: opacity var(--transition-duration) var(--timing-overlay);\n }\n\n [data-nextjs-dialog-overlay][data-rendered='true']\n [data-nextjs-dialog-backdrop] {\n opacity: 1;\n }\n\n [data-nextjs-dialog-content] {\n border: none;\n margin: 0;\n display: flex;\n flex-direction: column;\n position: relative;\n padding: var(--next-dialog-padding);\n }\n\n [data-nextjs-dialog-content] > [data-nextjs-dialog-header] {\n flex-shrink: 0;\n margin-bottom: 8px;\n }\n\n [data-nextjs-dialog-content] > [data-nextjs-dialog-body] {\n position: relative;\n flex: 1 1 auto;\n }\n\n @media (max-height: 812px) {\n [data-nextjs-dialog-overlay] {\n max-height: calc(100% - 15px);\n }\n }\n\n @media (min-width: 576px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 540px;\n }\n }\n\n @media (min-width: 768px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 720px;\n }\n }\n\n @media (min-width: 992px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 960px;\n }\n }\n","\n \n [data-nextjs-dialog-overlay] {\n padding: initial;\n top: 10vh;\n }\n\n \n .error-overlay-dialog-container {\n -webkit-font-smoothing: antialiased;\n display: flex;\n flex-direction: column;\n background: var(--color-background-100);\n background-clip: padding-box;\n border: var(--next-dialog-border-width) solid var(--color-gray-400);\n border-radius: 0 0 var(--next-dialog-radius) var(--next-dialog-radius);\n box-shadow: var(--shadow-menu);\n position: relative;\n overflow: hidden;\n }\n\n .error-overlay-dialog-scroll {\n overflow-y: auto;\n height: 100%;\n }\n\n \n .nextjs-container-errors-header {\n position: relative;\n }\n .nextjs-container-errors-header > h1 {\n font-size: var(--size-20);\n line-height: var(--size-24);\n font-weight: bold;\n margin: calc(16px * 1.5) 0;\n color: var(--color-title-h1);\n }\n .nextjs-container-errors-header small {\n font-size: var(--size-14);\n color: var(--color-accents-1);\n margin-left: 16px;\n }\n .nextjs-container-errors-header small > span {\n font-family: var(--font-stack-monospace);\n }\n .nextjs-container-errors-header > div > small {\n margin: 0;\n margin-top: 4px;\n }\n .nextjs-container-errors-header > p > a {\n color: inherit;\n font-weight: bold;\n }\n .nextjs-container-errors-header\n > .nextjs-container-build-error-version-status {\n position: absolute;\n top: 16px;\n right: 16px;\n }\n\n \n\n \n [data-nextjs-error-overlay-nav] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n width: 100%;\n\n position: relative;\n z-index: 2;\n outline: none;\n translate: 1px 1px;\n max-width: var(--next-dialog-max-width);\n\n .error-overlay-notch {\n --stroke-color: var(--color-gray-400);\n --background-color: var(--color-background-100);\n\n translate: -1px 0;\n width: auto;\n height: var(--next-dialog-notch-height);\n padding: 12px;\n background: var(--background-color);\n border: 1px solid var(--stroke-color);\n border-bottom: none;\n position: relative;\n\n &[data-side='left'] {\n padding-right: 0;\n border-radius: var(--rounded-xl) 0 0 0;\n\n .error-overlay-notch-tail {\n right: -54px;\n }\n\n > *:not(.error-overlay-notch-tail) {\n margin-right: -10px;\n }\n }\n\n &[data-side='right'] {\n padding-left: 0;\n border-radius: 0 var(--rounded-xl) 0 0;\n\n .error-overlay-notch-tail {\n left: -54px;\n transform: rotateY(180deg);\n }\n\n > *:not(.error-overlay-notch-tail) {\n margin-left: -12px;\n }\n }\n\n .error-overlay-notch-tail {\n position: absolute;\n top: -1px;\n pointer-events: none;\n z-index: -1;\n height: calc(100% + 1px);\n }\n }\n }\n\n \n .nextjs__container_errors_label {\n padding: 2px 6px;\n margin: 0;\n border-radius: var(--rounded-md-2);\n background: var(--color-red-100);\n font-weight: 600;\n font-size: var(--size-12);\n color: var(--color-red-900);\n font-family: var(--font-stack-monospace);\n line-height: var(--size-20);\n }\n\n \n .nextjs__container_errors_wrapper {\n position: relative;\n }\n\n .nextjs__container_errors_desc {\n margin: 0;\n margin-left: 4px;\n color: var(--color-red-900);\n font-weight: 500;\n font-size: var(--size-16);\n letter-spacing: -0.32px;\n line-height: var(--size-24);\n overflow-wrap: break-word;\n white-space: pre-wrap;\n }\n\n .nextjs__container_errors_desc.truncated {\n max-height: 200px;\n overflow: hidden;\n }\n\n .nextjs__container_errors_gradient_overlay {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 85px;\n background: linear-gradient(\n 180deg,\n rgba(250, 250, 250, 0) 0%,\n var(--color-background-100) 100%\n );\n }\n\n .nextjs__container_errors_expand_button {\n position: absolute;\n bottom: 10px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n align-items: center;\n padding: 6px 8px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n border-radius: 999px;\n box-shadow:\n 0px 2px 2px var(--color-gray-alpha-100),\n 0px 8px 8px -8px var(--color-gray-alpha-100);\n font-size: var(--size-13);\n cursor: pointer;\n color: var(--color-gray-900);\n font-weight: 500;\n transition: background-color 0.2s ease;\n }\n\n .nextjs__container_errors_expand_button:hover {\n background: var(--color-gray-100);\n }\n\n \n .error-overlay-toolbar {\n display: flex;\n gap: 6px;\n }\n\n .nodejs-inspector-button,\n .copy-stack-trace-button,\n .docs-link-button {\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: var(--size-28);\n height: var(--size-28);\n background: var(--color-background-100);\n background-clip: padding-box;\n border: 1px solid var(--color-gray-alpha-400);\n box-shadow: var(--shadow-small);\n border-radius: var(--rounded-full);\n\n svg {\n width: var(--size-14);\n height: var(--size-14);\n }\n\n &:focus {\n outline: var(--focus-ring);\n }\n\n &:not(:disabled):hover {\n background: var(--color-gray-alpha-100);\n }\n\n &:not(:disabled):active {\n background: var(--color-gray-alpha-200);\n }\n\n &:disabled {\n background-color: var(--color-gray-100);\n cursor: not-allowed;\n }\n }\n\n .error-overlay-toolbar-button-icon {\n color: var(--color-gray-900);\n }\n\n \n .error-overlay-call-stack-container {\n position: relative;\n margin-top: 8px;\n }\n\n .error-overlay-call-stack-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n min-height: var(--size-28);\n padding: 8px 8px 12px 4px;\n width: 100%;\n }\n\n .error-overlay-call-stack-title {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 8px;\n\n margin: 0;\n\n color: var(--color-gray-1000);\n font-size: var(--size-16);\n font-weight: 500;\n }\n\n .error-overlay-call-stack-count {\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: var(--size-20);\n height: var(--size-20);\n gap: 4px;\n\n color: var(--color-gray-1000);\n text-align: center;\n font-size: var(--size-11);\n font-weight: 500;\n line-height: var(--size-16);\n\n border-radius: var(--rounded-full);\n background: var(--color-gray-300);\n }\n\n .error-overlay-call-stack-ignored-list-toggle-button {\n all: unset;\n display: flex;\n align-items: center;\n gap: 6px;\n color: var(--color-gray-900);\n font-size: var(--size-14);\n line-height: var(--size-20);\n border-radius: 6px;\n padding: 4px 6px;\n margin-right: -6px;\n transition: background 150ms ease;\n\n &:hover {\n background: var(--color-gray-100);\n }\n\n &:focus {\n outline: var(--focus-ring);\n }\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n\n\n [data-nextjs-error-label-group] {\n display: flex;\n align-items: center;\n gap: 8px;\n }\n","\n .error-overlay-footer {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n gap: 8px;\n padding: 12px;\n background: var(--color-background-200);\n border-top: 1px solid var(--color-gray-400);\n }\n\n .error-feedback {\n margin-left: auto;\n\n p {\n font-size: var(--size-14);\n font-weight: 500;\n margin: 0;\n }\n }\n\n .error-overlay-footer-message {\n color: var(--color-gray-900);\n margin: 0;\n font-size: var(--size-14);\n font-weight: 400;\n line-height: var(--size-20);\n }\n\n \n .error-feedback {\n display: flex;\n align-items: center;\n gap: 8px;\n white-space: nowrap;\n color: var(--color-gray-900);\n }\n\n .error-feedback-thanks {\n height: var(--size-24);\n display: flex;\n align-items: center;\n padding-right: 4px; /* To match the 4px inner padding of the thumbs up and down icons */\n }\n\n .feedback-button {\n background: none;\n border: none;\n border-radius: var(--rounded-md);\n width: var(--size-24);\n height: var(--size-24);\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n &:focus {\n outline: var(--focus-ring);\n }\n\n &:hover {\n background: var(--color-gray-alpha-100);\n }\n\n &:active {\n background: var(--color-gray-alpha-200);\n }\n }\n\n .feedback-button[aria-disabled='true'] {\n opacity: 0.7;\n cursor: not-allowed;\n }\n\n .feedback-button.voted {\n background: var(--color-gray-alpha-200);\n }\n\n .thumbs-up-icon,\n .thumbs-down-icon {\n color: var(--color-gray-900);\n width: var(--size-16);\n height: var(--size-16);\n }\n\n","\n .error-overlay-bottom-stack-layer {\n width: 100%;\n height: var(--stack-layer-height);\n position: relative;\n border: 1px solid var(--color-gray-400);\n border-radius: var(--rounded-xl);\n background: var(--color-background-200);\n transition:\n translate 350ms var(--timing-swift),\n box-shadow 350ms var(--timing-swift);\n }\n\n .error-overlay-bottom-stack-layer-1 {\n width: calc(100% - var(--size-24));\n }\n\n .error-overlay-bottom-stack-layer-2 {\n width: calc(100% - var(--size-48));\n z-index: -1;\n }\n\n .error-overlay-bottom-stack {\n width: 100%;\n position: absolute;\n bottom: -1px;\n height: 0;\n overflow: visible;\n }\n\n .error-overlay-bottom-stack-stack {\n --stack-layer-height: 44px;\n --stack-layer-height-half: calc(var(--stack-layer-height) / 2);\n --stack-layer-trim: 13px;\n --shadow: 0px 0.925px 0.925px 0px rgba(0, 0, 0, 0.02),\n 0px 3.7px 7.4px -3.7px rgba(0, 0, 0, 0.04),\n 0px 14.8px 22.2px -7.4px rgba(0, 0, 0, 0.06);\n\n display: grid;\n place-items: center center;\n width: 100%;\n position: fixed;\n overflow: hidden;\n z-index: -1;\n max-width: var(--next-dialog-max-width);\n\n .error-overlay-bottom-stack-layer {\n grid-area: 1 / 1;\n /* Hide */\n translate: 0 calc(var(--stack-layer-height) * -1);\n }\n\n &[data-stack-count='1'],\n &[data-stack-count='2'] {\n .error-overlay-bottom-stack-layer-1 {\n translate: 0\n calc(var(--stack-layer-height-half) * -1 - var(--stack-layer-trim));\n }\n }\n\n &[data-stack-count='2'] {\n .error-overlay-bottom-stack-layer-2 {\n translate: 0 calc(var(--stack-layer-trim) * -1 * 2);\n }\n }\n\n /* Only the bottom stack should have the shadow */\n &[data-stack-count='1'] .error-overlay-bottom-stack-layer-1 {\n box-shadow: var(--shadow);\n }\n\n &[data-stack-count='2'] {\n .error-overlay-bottom-stack-layer-2 {\n box-shadow: var(--shadow);\n }\n }\n }\n","\n .error-overlay-pagination {\n -webkit-font-smoothing: antialiased;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 8px;\n width: fit-content;\n }\n\n .error-overlay-pagination-count {\n color: var(--color-gray-900);\n text-align: center;\n font-size: var(--size-14);\n font-weight: 500;\n line-height: var(--size-16);\n font-variant-numeric: tabular-nums;\n }\n\n .error-overlay-pagination-button {\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: var(--size-24);\n height: var(--size-24);\n background: var(--color-gray-300);\n flex-shrink: 0;\n\n border: none;\n border-radius: var(--rounded-full);\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n\n &:focus-visible {\n outline: var(--focus-ring);\n }\n\n &:not(:disabled):active {\n background: var(--color-gray-500);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n }\n\n .error-overlay-pagination-button-icon {\n color: var(--color-gray-1000);\n }\n",'\n [data-nextjs-codeframe] {\n --code-frame-padding: 12px;\n --code-frame-line-height: var(--size-16);\n background-color: var(--color-background-200);\n overflow: hidden;\n color: var(--color-gray-1000);\n text-overflow: ellipsis;\n border: 1px solid var(--color-gray-400);\n border-radius: 8px;\n font-family: var(--font-stack-monospace);\n font-size: var(--size-12);\n line-height: var(--code-frame-line-height);\n margin: 8px 0;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n\n .code-frame-link,\n .code-frame-pre {\n padding: var(--code-frame-padding);\n }\n\n .code-frame-link svg {\n flex-shrink: 0;\n }\n\n .code-frame-link [data-text] {\n display: inline-flex;\n text-align: left;\n margin: auto 6px;\n }\n\n .code-frame-header {\n width: 100%;\n transition: background 100ms ease-out;\n border-radius: 8px 8px 0 0;\n border-bottom: 1px solid var(--color-gray-400);\n }\n\n [data-with-open-in-editor-link-source-file] {\n padding: 4px;\n margin: -4px 0 -4px auto;\n border-radius: var(--rounded-full);\n margin-left: auto;\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -2px;\n }\n\n &:hover {\n background: var(--color-gray-100);\n }\n }\n\n [data-nextjs-codeframe]::selection,\n [data-nextjs-codeframe] *::selection {\n background-color: var(--color-ansi-selection);\n }\n\n [data-nextjs-codeframe] *:not(a) {\n color: inherit;\n background-color: transparent;\n font-family: var(--font-stack-monospace);\n }\n\n [data-nextjs-codeframe-line][data-nextjs-codeframe-line--errored="true"] {\n position: relative;\n isolation: isolate;\n\n > span { \n position: relative;\n z-index: 1;\n }\n\n &::after {\n content: "";\n width: calc(100% + var(--code-frame-padding) * 2);\n height: var(--code-frame-line-height);\n left: calc(-1 * var(--code-frame-padding));\n background: var(--color-red-200);\n box-shadow: 2px 0 0 0 var(--color-red-900) inset;\n position: absolute;\n }\n }\n\n\n [data-nextjs-codeframe] > * {\n margin: 0;\n }\n\n .code-frame-link {\n display: flex;\n margin: 0;\n outline: 0;\n }\n .code-frame-link [data-icon=\'right\'] {\n margin-left: auto;\n }\n\n [data-nextjs-codeframe] div > pre {\n overflow: hidden;\n display: inline-block;\n }\n\n [data-nextjs-codeframe] svg {\n color: var(--color-gray-900);\n }\n',"\n [data-nextjs-terminal]::selection,\n [data-nextjs-terminal] *::selection {\n background-color: var(--color-ansi-selection);\n }\n\n [data-nextjs-terminal] * {\n color: inherit;\n background-color: transparent;\n font-family: var(--font-stack-monospace);\n }\n\n [data-nextjs-terminal] > div > p {\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n margin: 0;\n }\n [data-nextjs-terminal] > div > p:hover {\n text-decoration: underline dotted;\n }\n [data-nextjs-terminal] div > pre {\n overflow: hidden;\n display: inline-block;\n }\n","\n [data-with-open-in-editor-link] svg {\n width: auto;\n height: var(--size-14);\n margin-left: 8px;\n }\n [data-with-open-in-editor-link] {\n cursor: pointer;\n }\n [data-with-open-in-editor-link]:hover {\n text-decoration: underline dotted;\n }\n [data-with-open-in-editor-link-import-trace] {\n margin-left: 16px;\n }\n","","\n .nextjs-error-with-static {\n bottom: calc(16px * 4.5);\n }\n p.nextjs__container_errors__link {\n font-size: var(--size-14);\n }\n p.nextjs__container_errors__notes {\n color: var(--color-stack-notes);\n font-size: var(--size-14);\n line-height: 1.5;\n }\n .nextjs-container-errors-body > h2:not(:first-child) {\n margin-top: calc(16px + 8px);\n }\n .nextjs-container-errors-body > h2 {\n color: var(--color-title-color);\n margin-bottom: 8px;\n font-size: var(--size-20);\n }\n .nextjs-toast-errors-parent {\n cursor: pointer;\n transition: transform 0.2s ease;\n }\n .nextjs-toast-errors-parent:hover {\n transform: scale(1.1);\n }\n .nextjs-toast-errors {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n }\n .nextjs-toast-errors > svg {\n margin-right: 8px;\n }\n .nextjs-toast-hide-button {\n margin-left: 24px;\n border: none;\n background: none;\n color: var(--color-ansi-bright-white);\n padding: 0;\n transition: opacity 0.25s ease;\n opacity: 0.7;\n }\n .nextjs-toast-hide-button:hover {\n opacity: 1;\n }\n .nextjs__container_errors__error_title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 14px;\n }\n .error-overlay-notes-container {\n margin: 8px 2px;\n }\n .error-overlay-notes-container p {\n white-space: pre-wrap;\n }\n","\n \n [data-nextjs-container-errors-pseudo-html] {\n padding: 8px 0;\n margin: 8px 0;\n border: 1px solid var(--color-gray-400);\n background: var(--color-background-200);\n color: var(--color-syntax-constant);\n font-family: var(--font-stack-monospace);\n font-size: var(--size-12);\n line-height: 1.33em; /* 16px in 12px font size */\n border-radius: var(--rounded-md-2);\n }\n [data-nextjs-container-errors-pseudo-html-line] {\n display: inline-block;\n width: 100%;\n padding-left: 40px;\n line-height: calc(5 / 3);\n }\n [data-nextjs-container-errors-pseudo-html--diff='error'] {\n background: var(--color-amber-100);\n box-shadow: 2px 0 0 0 var(--color-amber-900) inset;\n font-weight: bold;\n }\n [data-nextjs-container-errors-pseudo-html-collapse-button] {\n all: unset;\n margin-left: 12px;\n &:focus {\n outline: none;\n }\n }\n [data-nextjs-container-errors-pseudo-html--diff='add'] {\n background: var(--color-green-300);\n }\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n margin-left: calc(24px * -1);\n margin-right: 24px;\n }\n [data-nextjs-container-errors-pseudo-html--diff='add']\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n color: var(--color-green-900);\n }\n [data-nextjs-container-errors-pseudo-html--diff='remove'] {\n background: var(--color-red-300);\n }\n [data-nextjs-container-errors-pseudo-html--diff='remove']\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n color: var(--color-red-900);\n margin-left: calc(24px * -1);\n margin-right: 24px;\n }\n [data-nextjs-container-errors-pseudo-html--diff='error']\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n color: var(--color-amber-900);\n }\n \n [data-nextjs-container-errors-pseudo-html--hint] {\n display: inline-block;\n font-size: 0;\n height: 0;\n }\n [data-nextjs-container-errors-pseudo-html--tag-adjacent='false'] {\n color: var(--color-accents-1);\n }\n .nextjs__container_errors__component-stack {\n margin: 0;\n }\n [data-nextjs-container-errors-pseudo-html-collapse='true']\n .nextjs__container_errors__component-stack\n code {\n max-height: 120px;\n mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 0%,black 10%);\n padding-bottom: 40px;\n }\n .nextjs__container_errors__component-stack code {\n display: block;\n width: 100%;\n white-space: pre-wrap;\n scroll-snap-type: y mandatory;\n overflow-y: hidden;\n }\n [data-nextjs-container-errors-pseudo-html--diff] {\n scroll-snap-align: center;\n }\n .error-overlay-hydration-error-diff-plus-icon {\n color: var(--color-green-900);\n }\n .error-overlay-hydration-error-diff-minus-icon {\n color: var(--color-red-900);\n }\n\n","\n .nextjs-container-build-error-version-status {\n -webkit-font-smoothing: antialiased;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 4px;\n\n height: var(--size-26);\n padding: 6px 8px 6px 6px;\n background: var(--color-background-100);\n background-clip: padding-box;\n border: 1px solid var(--color-gray-alpha-400);\n box-shadow: var(--shadow-small);\n border-radius: var(--rounded-full);\n\n color: var(--color-gray-900);\n font-size: var(--size-12);\n font-weight: 500;\n line-height: var(--size-16);\n }\n\n a.nextjs-container-build-error-version-status {\n text-decoration: none;\n color: var(--color-gray-900);\n\n &:hover {\n background: var(--color-gray-100);\n }\n\n &:focus {\n outline: var(--focus-ring);\n }\n }\n\n .version-staleness-indicator.fresh {\n fill: var(--color-green-800);\n stroke: var(--color-green-300);\n }\n .version-staleness-indicator.stale {\n fill: var(--color-amber-800);\n stroke: var(--color-amber-300);\n }\n .version-staleness-indicator.outdated {\n fill: var(--color-red-800);\n stroke: var(--color-red-300);\n }\n .version-staleness-indicator.unknown {\n fill: var(--color-gray-800);\n stroke: var(--color-gray-300);\n }\n\n .nextjs-container-build-error-version-status > .turbopack-text {\n background: linear-gradient(\n to right,\n var(--color-turbopack-text-red) 0%,\n var(--color-turbopack-text-blue) 100%\n );\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n","\n .dev-tools-indicator-menu {\n -webkit-font-smoothing: antialiased;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n background-clip: padding-box;\n box-shadow: var(--shadow-menu);\n border-radius: var(--rounded-xl);\n position: absolute;\n font-family: var(--font-stack-sans);\n z-index: 1000;\n overflow: hidden;\n opacity: 0;\n outline: 0;\n min-width: 248px;\n transition: opacity var(--animate-out-duration-ms)\n var(--animate-out-timing-function);\n\n &[data-rendered='true'] {\n opacity: 1;\n scale: 1;\n }\n }\n\n .dev-tools-indicator-inner {\n padding: 6px;\n width: 100%;\n }\n\n .dev-tools-indicator-item {\n display: flex;\n align-items: center;\n padding: 8px 6px;\n height: var(--size-36);\n border-radius: 6px;\n text-decoration: none !important;\n user-select: none;\n white-space: nowrap;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n\n &:focus-visible {\n outline: 0;\n }\n }\n\n .dev-tools-indicator-footer {\n background: var(--color-background-200);\n padding: 6px;\n border-top: 1px solid var(--color-gray-400);\n width: 100%;\n }\n\n .dev-tools-indicator-item[data-selected='true'] {\n cursor: pointer;\n background-color: var(--color-gray-200);\n }\n\n .dev-tools-indicator-label {\n font-size: var(--size-14);\n line-height: var(--size-20);\n color: var(--color-gray-1000);\n }\n\n .dev-tools-indicator-value {\n font-size: var(--size-14);\n line-height: var(--size-20);\n color: var(--color-gray-900);\n margin-left: auto;\n }\n\n .dev-tools-indicator-issue-count {\n --color-primary: var(--color-gray-800);\n --color-secondary: var(--color-gray-100);\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n gap: 8px;\n min-width: var(--size-40);\n height: var(--size-24);\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n background-clip: padding-box;\n box-shadow: var(--shadow-small);\n padding: 2px;\n color: var(--color-gray-1000);\n border-radius: 128px;\n font-weight: 500;\n font-size: var(--size-13);\n font-variant-numeric: tabular-nums;\n\n &[data-has-issues='true'] {\n --color-primary: var(--color-red-800);\n --color-secondary: var(--color-red-100);\n }\n\n .dev-tools-indicator-issue-count-indicator {\n width: var(--size-8);\n height: var(--size-8);\n background: var(--color-primary);\n box-shadow: 0 0 0 2px var(--color-secondary);\n border-radius: 50%;\n }\n }\n\n .dev-tools-indicator-shortcut {\n display: flex;\n gap: 4px;\n\n kbd {\n width: var(--size-20);\n height: var(--size-20);\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: var(--rounded-md);\n border: 1px solid var(--color-gray-400);\n font-family: var(--font-stack-sans);\n background: var(--color-background-100);\n color: var(--color-gray-1000);\n text-align: center;\n font-size: var(--size-12);\n line-height: var(--size-16);\n }\n }\n","\n [data-info-popover] {\n -webkit-font-smoothing: antialiased;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n background-clip: padding-box;\n box-shadow: var(--shadow-menu);\n border-radius: var(--rounded-xl);\n position: absolute;\n font-family: var(--font-stack-sans);\n z-index: 1000;\n overflow: hidden;\n opacity: 0;\n outline: 0;\n min-width: 350px;\n transition: opacity var(--animate-out-duration-ms)\n var(--animate-out-timing-function);\n\n &[data-rendered='true'] {\n opacity: 1;\n scale: 1;\n }\n\n button:focus-visible {\n outline: var(--focus-ring);\n }\n }\n\n .dev-tools-info-container {\n padding: 12px;\n }\n\n .dev-tools-info-title {\n padding: 8px 6px;\n color: var(--color-gray-1000);\n font-size: var(--size-16);\n font-weight: 600;\n line-height: var(--size-20);\n margin: 0;\n }\n\n .dev-tools-info-article {\n padding: 8px 6px;\n color: var(--color-gray-1000);\n font-size: var(--size-14);\n line-height: var(--size-20);\n margin: 0;\n }\n .dev-tools-info-paragraph {\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n .dev-tools-info-button-container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 8px 6px;\n }\n\n .dev-tools-info-close-button {\n padding: 0 8px;\n height: var(--size-28);\n font-size: var(--size-14);\n font-weight: 500;\n line-height: var(--size-20);\n transition: background var(--duration-short) ease;\n color: var(--color-gray-1000);\n border-radius: var(--rounded-md-2);\n border: 1px solid var(--color-gray-alpha-400);\n background: var(--color-background-200);\n }\n\n .dev-tools-info-close-button:hover {\n background: var(--color-gray-400);\n }\n\n .dev-tools-info-learn-more-button {\n align-content: center;\n padding: 0 8px;\n height: var(--size-28);\n font-size: var(--size-14);\n font-weight: 500;\n line-height: var(--size-20);\n transition: background var(--duration-short) ease;\n color: var(--color-background-100);\n border-radius: var(--rounded-md-2);\n background: var(--color-gray-1000);\n }\n\n .dev-tools-info-learn-more-button:hover {\n text-decoration: none;\n color: var(--color-background-100);\n opacity: 0.9;\n }\n","\n .dev-tools-info-code {\n background: var(--color-gray-400);\n color: var(--color-gray-1000);\n font-family: var(--font-stack-monospace);\n padding: 2px 4px;\n margin: 0;\n font-size: var(--size-13);\n white-space: break-spaces;\n border-radius: var(--rounded-md-2);\n }\n\n .dev-tools-info-code-block-container {\n padding: 6px;\n }\n\n .dev-tools-info-code-block {\n position: relative;\n background: var(--color-background-200);\n border: 1px solid var(--color-gray-alpha-400);\n border-radius: var(--rounded-md-2);\n min-width: 326px;\n }\n\n .dev-tools-info-code-block-pre {\n margin: 0;\n font-family: var(--font-stack-monospace);\n font-size: var(--size-12);\n }\n\n .dev-tools-info-copy-button {\n position: absolute;\n\n display: flex;\n justify-content: center;\n align-items: center;\n right: 8px;\n top: 8px;\n padding: 4px;\n height: var(--size-24);\n width: var(--size-24);\n border-radius: var(--rounded-md-2);\n border: 1px solid var(--color-gray-alpha-400);\n background: var(--color-background-100);\n }\n\n .dev-tools-info-code-block-line {\n display: block;\n line-height: 1.5;\n padding: 0 16px;\n }\n\n .dev-tools-info-code-block-line.dev-tools-info-highlight {\n border-left: 2px solid var(--color-blue-900);\n background: var(--color-blue-400);\n }\n\n .dev-tools-info-code-block-json-key {\n color: var(--color-syntax-keyword);\n }\n\n .dev-tools-info-code-block-json-value {\n color: var(--color-syntax-link);\n }\n","",DEV_TOOLS_INFO_USER_PREFERENCES_STYLES,'\n .nextjs-scroll-fader {\n --blur: 1px;\n --stop: 25%;\n --height: 150px;\n --color-bg: var(--color-background-100);\n position: absolute;\n pointer-events: none;\n user-select: none;\n width: 100%;\n height: var(--height);\n left: 0;\n backdrop-filter: blur(var(--blur));\n\n &[data-side="top"] {\n top: 0;\n background: linear-gradient(to top, transparent, var(--color-bg));\n mask-image: linear-gradient(to bottom, var(--color-bg) var(--stop), transparent);\n }\n }\n\n')})}function css_reset_templateObject(){let data=_tagged_template_literal_loose(["\n :host {\n all: initial;\n\n /* the direction property is not reset by 'all' */\n direction: ltr;\n }\n\n /*!\n * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n :host {\n font-family: sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n }\n\n article,\n aside,\n figcaption,\n figure,\n footer,\n header,\n hgroup,\n main,\n nav,\n section {\n display: block;\n }\n\n :host {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,\n 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,\n 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n 'Noto Color Emoji';\n font-size: 16px;\n font-weight: 400;\n line-height: 1.5;\n color: var(--color-font);\n text-align: left;\n }\n\n :host:not(button) {\n background-color: #fff;\n }\n\n [tabindex='-1']:focus:not(:focus-visible) {\n outline: 0 !important;\n }\n\n hr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin-top: 0;\n margin-bottom: 8px;\n }\n\n p {\n margin-top: 0;\n margin-bottom: 16px;\n }\n\n abbr[title],\n abbr[data-original-title] {\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: 0;\n -webkit-text-decoration-skip-ink: none;\n text-decoration-skip-ink: none;\n }\n\n address {\n margin-bottom: 16px;\n font-style: normal;\n line-height: inherit;\n }\n\n ol,\n ul,\n dl {\n margin-top: 0;\n margin-bottom: 16px;\n }\n\n ol ol,\n ul ul,\n ol ul,\n ul ol {\n margin-bottom: 0;\n }\n\n dt {\n font-weight: 700;\n }\n\n dd {\n margin-bottom: 8px;\n margin-left: 0;\n }\n\n blockquote {\n margin: 0 0 16px;\n }\n\n b,\n strong {\n font-weight: bolder;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n a {\n color: #007bff;\n text-decoration: none;\n background-color: transparent;\n }\n\n a:hover {\n color: #0056b3;\n text-decoration: underline;\n }\n\n a:not([href]) {\n color: inherit;\n text-decoration: none;\n }\n\n a:not([href]):hover {\n color: inherit;\n text-decoration: none;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas,\n 'Liberation Mono', 'Courier New', monospace;\n font-size: 1em;\n }\n\n pre {\n margin-top: 0;\n margin-bottom: 16px;\n overflow: auto;\n }\n\n figure {\n margin: 0 0 16px;\n }\n\n img {\n vertical-align: middle;\n border-style: none;\n }\n\n svg {\n overflow: hidden;\n vertical-align: middle;\n }\n\n table {\n border-collapse: collapse;\n }\n\n caption {\n padding-top: 12px;\n padding-bottom: 12px;\n color: #6c757d;\n text-align: left;\n caption-side: bottom;\n }\n\n th {\n text-align: inherit;\n }\n\n label {\n display: inline-block;\n margin-bottom: 8px;\n }\n\n button {\n border-radius: 0;\n border: 0;\n padding: 0;\n margin: 0;\n background: none;\n appearance: none;\n -webkit-appearance: none;\n }\n\n button:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n }\n\n button:focus:not(:focus-visible) {\n outline: none;\n }\n\n input,\n button,\n select,\n optgroup,\n textarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n select {\n word-wrap: normal;\n }\n\n button,\n [type='button'],\n [type='reset'],\n [type='submit'] {\n -webkit-appearance: button;\n }\n\n button:not(:disabled),\n [type='button']:not(:disabled),\n [type='reset']:not(:disabled),\n [type='submit']:not(:disabled) {\n cursor: pointer;\n }\n\n button::-moz-focus-inner,\n [type='button']::-moz-focus-inner,\n [type='reset']::-moz-focus-inner,\n [type='submit']::-moz-focus-inner {\n padding: 0;\n border-style: none;\n }\n\n input[type='radio'],\n input[type='checkbox'] {\n box-sizing: border-box;\n padding: 0;\n }\n\n input[type='date'],\n input[type='time'],\n input[type='datetime-local'],\n input[type='month'] {\n -webkit-appearance: listbox;\n }\n\n textarea {\n overflow: auto;\n resize: vertical;\n }\n\n fieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n }\n\n legend {\n display: block;\n width: 100%;\n max-width: 100%;\n padding: 0;\n margin-bottom: 8px;\n font-size: 24px;\n line-height: inherit;\n color: inherit;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n [type='number']::-webkit-inner-spin-button,\n [type='number']::-webkit-outer-spin-button {\n height: auto;\n }\n\n [type='search'] {\n outline-offset: -2px;\n -webkit-appearance: none;\n }\n\n [type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n ::-webkit-file-upload-button {\n font: inherit;\n -webkit-appearance: button;\n }\n\n output {\n display: inline-block;\n }\n\n summary {\n display: list-item;\n cursor: pointer;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n "]);return css_reset_templateObject=function(){return data},data}function CssReset(){return/*#__PURE__*/(0,jsx_runtime.jsx)("style",{children:css(css_reset_templateObject())})}function colors_templateObject(){let data=_tagged_template_literal_loose(['\n :host {\n /* \n * CAUTION: THIS IS A WORKAROUND!\n * For now, we use @babel/code-frame to parse the code frame which does not support option to change the color.\n * x-ref: https://github.com/babel/babel/blob/efa52324ff835b794c48080f14877b6caf32cd15/packages/babel-code-frame/src/defs.ts#L40-L54\n * So, we do a workaround mapping to change the color matching the theme.\n *\n * For example, in @babel/code-frame, the "keyword" is mapped to ANSI "cyan".\n * We want the "keyword" to use the "syntax-keyword" color in the theme.\n * So, we map the "cyan" to the "syntax-keyword" in the theme.\n */\n /* cyan: keyword */\n --color-ansi-cyan: var(--color-syntax-keyword);\n /* yellow: capitalized, jsxIdentifier, punctuation */\n --color-ansi-yellow: var(--color-syntax-function);\n /* magenta: number, regex */\n --color-ansi-magenta: var(--color-syntax-keyword);\n /* green: string */\n --color-ansi-green: var(--color-syntax-string);\n /* gray (bright black): comment, gutter */\n --color-ansi-bright-black: var(--color-syntax-comment);\n\n /* Ansi - Temporary */\n --color-ansi-selection: var(--color-gray-alpha-300);\n --color-ansi-bg: var(--color-background-200);\n --color-ansi-fg: var(--color-gray-1000);\n\n --color-ansi-white: var(--color-gray-700);\n --color-ansi-black: var(--color-gray-200);\n --color-ansi-blue: var(--color-blue-700);\n --color-ansi-red: var(--color-red-700);\n --color-ansi-bright-white: var(--color-gray-1000);\n --color-ansi-bright-blue: var(--color-blue-800);\n --color-ansi-bright-cyan: var(--color-blue-800);\n --color-ansi-bright-green: var(--color-green-800);\n --color-ansi-bright-magenta: var(--color-blue-800);\n --color-ansi-bright-red: var(--color-red-800);\n --color-ansi-bright-yellow: var(--color-amber-900);\n\n /* Background Light */\n --color-background-100: #ffffff;\n --color-background-200: #fafafa;\n\n /* Syntax Light */\n --color-syntax-comment: #545454;\n --color-syntax-constant: #171717;\n --color-syntax-function: #0054ad;\n --color-syntax-keyword: #a51850;\n --color-syntax-link: #066056;\n --color-syntax-parameter: #8f3e00;\n --color-syntax-punctuation: #171717;\n --color-syntax-string: #036157;\n --color-syntax-string-expression: #066056;\n\n /* Gray Scale Light */\n --color-gray-100: #f2f2f2;\n --color-gray-200: #ebebeb;\n --color-gray-300: #e6e6e6;\n --color-gray-400: #eaeaea;\n --color-gray-500: #c9c9c9;\n --color-gray-600: #a8a8a8;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #666666;\n --color-gray-1000: #171717;\n\n /* Gray Alpha Scale Light */\n --color-gray-alpha-100: rgba(0, 0, 0, 0.05);\n --color-gray-alpha-200: rgba(0, 0, 0, 0.081);\n --color-gray-alpha-300: rgba(0, 0, 0, 0.1);\n --color-gray-alpha-400: rgba(0, 0, 0, 0.08);\n --color-gray-alpha-500: rgba(0, 0, 0, 0.21);\n --color-gray-alpha-600: rgba(0, 0, 0, 0.34);\n --color-gray-alpha-700: rgba(0, 0, 0, 0.44);\n --color-gray-alpha-800: rgba(0, 0, 0, 0.51);\n --color-gray-alpha-900: rgba(0, 0, 0, 0.605);\n --color-gray-alpha-1000: rgba(0, 0, 0, 0.91);\n\n /* Blue Scale Light */\n --color-blue-100: #f0f7ff;\n --color-blue-200: #edf6ff;\n --color-blue-300: #e1f0ff;\n --color-blue-400: #cde7ff;\n --color-blue-500: #99ceff;\n --color-blue-600: #52aeff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #0067d6;\n --color-blue-1000: #0025ad;\n\n /* Red Scale Light */\n --color-red-100: #fff0f0;\n --color-red-200: #ffebeb;\n --color-red-300: #ffe5e5;\n --color-red-400: #fdd8d8;\n --color-red-500: #f8baba;\n --color-red-600: #f87274;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ca2a30;\n --color-red-1000: #381316;\n\n /* Amber Scale Light */\n --color-amber-100: #fff6e5;\n --color-amber-200: #fff4d5;\n --color-amber-300: #fef0cd;\n --color-amber-400: #ffddbf;\n --color-amber-500: #ffc96b;\n --color-amber-600: #f5b047;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #a35200;\n --color-amber-1000: #4e2009;\n\n /* Green Scale Light */\n --color-green-100: #effbef;\n --color-green-200: #eafaea;\n --color-green-300: #dcf6dc;\n --color-green-400: #c8f1c9;\n --color-green-500: #99e59f;\n --color-green-600: #6cda76;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #297c3b;\n --color-green-1000: #18311e;\n\n /* Turbopack Light - Temporary */\n --color-turbopack-text-red: #ff1e56;\n --color-turbopack-text-blue: #0096ff;\n --color-turbopack-border-red: #f0adbe;\n --color-turbopack-border-blue: #adccea;\n --color-turbopack-background-red: #fff7f9;\n --color-turbopack-background-blue: #f6fbff;\n }\n ']);return colors_templateObject=function(){return data},data}function Colors(){return/*#__PURE__*/(0,jsx_runtime.jsx)("style",{children:css(colors_templateObject())})}function ErrorOverlay(param){let{state,runtimeErrors,isErrorOverlayOpen,setIsErrorOverlayOpen,errorCount}=param,{mounted,rendered}=useDelayedRender(isErrorOverlayOpen,{exitDelay:200}),commonProps={rendered,transitionDurationMs:200,isTurbopack:!0,versionInfo:state.versionInfo,errorCount};return null!==state.buildError?/*#__PURE__*/(0,jsx_runtime.jsx)(BuildError,{...commonProps,message:state.buildError,rendered:!0}):runtimeErrors.length&&mounted?/*#__PURE__*/(0,jsx_runtime.jsx)(Errors,{...commonProps,debugInfo:state.debugInfo,runtimeErrors:runtimeErrors,onClose:()=>{setIsErrorOverlayOpen(!1)}}):/*#__PURE__*/(0,jsx_runtime.jsx)(react_experimental.Suspense,{})}let RenderError=props=>{let{state}=props;return state.buildError?/*#__PURE__*/(0,jsx_runtime.jsx)(RenderBuildError,{...props}):/*#__PURE__*/(0,jsx_runtime.jsx)(RenderRuntimeError,{...props})},RenderRuntimeError=param=>{let{children,state,isAppDir}=param,{errors}=state,[lookups,setLookups]=(0,react_experimental.useState)({}),[runtimeErrors,nextError]=(0,react_experimental.useMemo)(()=>{let ready=[],next=null;for(let idx=0;idx<errors.length;++idx){let e=errors[idx],{id}=e;if(id in lookups){ready.push(lookups[id]);continue}next=e;break}return[ready,next]},[errors,lookups]);return(0,react_experimental.useEffect)(()=>{if(null==nextError)return;let mounted=!0;return getErrorByType(nextError,isAppDir).then(resolved=>{mounted&&setLookups(m=>({...m,[resolved.id]:resolved}))}),()=>{mounted=!1}},[nextError,isAppDir]),children({runtimeErrors,totalErrorCount:errors.length})},RenderBuildError=param=>{let{children}=param;return children({runtimeErrors:[],totalErrorCount:1})};function dark_theme_templateObject(){let data=_tagged_template_literal_loose(["\n :host(.dark) {\n ","\n ","\n }\n\n @media (prefers-color-scheme: dark) {\n :host(:not(.light)) {\n ","\n ","\n }\n }\n "]);return dark_theme_templateObject=function(){return data},data}let colors="\n /* Background Dark */\n --color-background-100: #0a0a0a;\n --color-background-200: #000000;\n\n /* Syntax Dark */\n --color-syntax-comment: #a0a0a0;\n --color-syntax-constant: #ededed;\n --color-syntax-function: #52a9ff;\n --color-syntax-keyword: #f76e99;\n --color-syntax-link: #0ac5b2;\n --color-syntax-parameter: #f1a10d;\n --color-syntax-punctuation: #ededed;\n --color-syntax-string: #0ac5b2;\n --color-syntax-string-expression: #0ac5b2;\n\n /* Gray Scale Dark */\n --color-gray-100: #1a1a1a;\n --color-gray-200: #1f1f1f;\n --color-gray-300: #292929;\n --color-gray-400: #2e2e2e;\n --color-gray-500: #454545;\n --color-gray-600: #878787;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #a0a0a0;\n --color-gray-1000: #ededed;\n\n /* Gray Alpha Scale Dark */\n --color-gray-alpha-100: rgba(255, 255, 255, 0.066);\n --color-gray-alpha-200: rgba(255, 255, 255, 0.087);\n --color-gray-alpha-300: rgba(255, 255, 255, 0.125);\n --color-gray-alpha-400: rgba(255, 255, 255, 0.145);\n --color-gray-alpha-500: rgba(255, 255, 255, 0.239);\n --color-gray-alpha-600: rgba(255, 255, 255, 0.506);\n --color-gray-alpha-700: rgba(255, 255, 255, 0.54);\n --color-gray-alpha-800: rgba(255, 255, 255, 0.47);\n --color-gray-alpha-900: rgba(255, 255, 255, 0.61);\n --color-gray-alpha-1000: rgba(255, 255, 255, 0.923);\n\n /* Blue Scale Dark */\n --color-blue-100: #0f1b2d;\n --color-blue-200: #10243e;\n --color-blue-300: #0f3058;\n --color-blue-400: #0d3868;\n --color-blue-500: #0a4481;\n --color-blue-600: #0091ff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #52a9ff;\n --color-blue-1000: #eaf6ff;\n\n /* Red Scale Dark */\n --color-red-100: #2a1314;\n --color-red-200: #3d1719;\n --color-red-300: #551a1e;\n --color-red-400: #671e22;\n --color-red-500: #822025;\n --color-red-600: #e5484d;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ff6369;\n --color-red-1000: #ffecee;\n\n /* Amber Scale Dark */\n --color-amber-100: #271700;\n --color-amber-200: #341c00;\n --color-amber-300: #4a2900;\n --color-amber-400: #573300;\n --color-amber-500: #693f05;\n --color-amber-600: #e79c13;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #f1a10d;\n --color-amber-1000: #fef3dd;\n\n /* Green Scale Dark */\n --color-green-100: #0b2211;\n --color-green-200: #0f2c17;\n --color-green-300: #11351b;\n --color-green-400: #0c461b;\n --color-green-500: #126427;\n --color-green-600: #1a9338;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #63c174;\n --color-green-1000: #e5fbeb;\n\n /* Turbopack Dark - Temporary */\n --color-turbopack-text-red: #ff6d92;\n --color-turbopack-text-blue: #45b2ff;\n --color-turbopack-border-red: #6e293b;\n --color-turbopack-border-blue: #284f80;\n --color-turbopack-background-red: #250d12;\n --color-turbopack-background-blue: #0a1723;\n",base="\n --color-font: white;\n --color-backdrop: rgba(0, 0, 0, 0.8);\n --color-border-shadow: rgba(255, 255, 255, 0.145);\n\n --color-title-color: #fafafa;\n --color-stack-notes: #a9a9a9;\n";function DarkTheme(){return/*#__PURE__*/(0,jsx_runtime.jsx)("style",{children:css(dark_theme_templateObject(),base,colors,base,colors)})}function DevOverlay(param){let{state,isErrorOverlayOpen,setIsErrorOverlayOpen}=param,[scale,setScale]=function(){let[scale,setScale]=(0,react_experimental.useState)("undefined"!=typeof localStorage&&localStorage.getItem(STORAGE_KEY_SCALE)?Number(localStorage.getItem(STORAGE_KEY_SCALE)):NEXT_DEV_TOOLS_SCALE.Medium);return[scale,function(value1){setScale(value1),localStorage.setItem(STORAGE_KEY_SCALE,String(value1))}]}();return/*#__PURE__*/(0,jsx_runtime.jsxs)(ShadowPortal,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(CssReset,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(Base,{scale:scale}),/*#__PURE__*/(0,jsx_runtime.jsx)(Colors,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(ComponentStyles,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(DarkTheme,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(RenderError,{state:state,isAppDir:!0,children:param=>{let{runtimeErrors,totalErrorCount}=param,isBuildError=null!==state.buildError;return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[state.showIndicator&&/*#__PURE__*/(0,jsx_runtime.jsx)(DevToolsIndicator,{scale:scale,setScale:setScale,state:state,errorCount:totalErrorCount,isBuildError:isBuildError,setIsErrorOverlayOpen:setIsErrorOverlayOpen}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlay,{state:state,runtimeErrors:runtimeErrors,errorCount:totalErrorCount,isErrorOverlayOpen:isErrorOverlayOpen,setIsErrorOverlayOpen:setIsErrorOverlayOpen})]})}})]})}var is_next_router_error=__webpack_require__("./dist/esm/client/components/is-next-router-error.js");let queueMicroTask=globalThis.queueMicrotask||(cb=>Promise.resolve().then(cb)),errorQueue=[],errorHandlers=[],rejectionQueue=[],rejectionHandlers=[];var constants=__webpack_require__("./dist/esm/shared/lib/errors/constants.js");function ReplaySsrOnlyErrors(param){let{onBlockingError}=param;{let ssrError=function(){if("undefined"==typeof document)return null;let ssrErrorTemplateTag=document.querySelector("template[data-next-error-message]");if(ssrErrorTemplateTag){let message=ssrErrorTemplateTag.getAttribute("data-next-error-message"),stack=ssrErrorTemplateTag.getAttribute("data-next-error-stack"),digest=ssrErrorTemplateTag.getAttribute("data-next-error-digest"),error=Object.defineProperty(Error(message),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return(digest&&(error.digest=digest),(0,is_next_router_error.isNextRouterError)(error))?null:(error.stack=stack||"",error)}return null}();(0,react_experimental.useEffect)(()=>{null!==ssrError&&(function(error){for(let handler of(errorQueue.push(error),errorHandlers))queueMicroTask(()=>{handler(error)})}(ssrError),ssrError.digest===constants.MISSING_ROOT_TAGS_ERROR&&onBlockingError())},[ssrError,onBlockingError])}return null}function AppDevOverlay(param){let{state,globalError,children}=param,[isErrorOverlayOpen,setIsErrorOverlayOpen]=(0,react_experimental.useState)(!1),openOverlay=(0,react_experimental.useCallback)(()=>{setIsErrorOverlayOpen(!0)},[]);return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsxs)(AppDevOverlayErrorBoundary,{globalError:globalError,onError:setIsErrorOverlayOpen,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(ReplaySsrOnlyErrors,{onBlockingError:openOverlay}),children]}),/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(FontStyles,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(DevOverlay,{state:state,isErrorOverlayOpen:isErrorOverlayOpen,setIsErrorOverlayOpen:setIsErrorOverlayOpen})]})]})}var app_router_context_shared_runtime=__webpack_require__("./dist/esm/shared/lib/app-router-context.shared-runtime.js");function useSendMessage(webSocketRef){return(0,react_experimental.useCallback)(data=>{let socket=webSocketRef.current;if(socket&&socket.readyState===socket.OPEN)return socket.send(data)},[webSocketRef])}var LocationType=/*#__PURE__*/function(LocationType){return LocationType.FILE="file",LocationType.WEBPACK_INTERNAL="webpack-internal",LocationType.HTTP="http",LocationType.PROTOCOL_RELATIVE="protocol-relative",LocationType.UNKNOWN="unknown",LocationType}(LocationType||{}),HMR_ACTIONS_SENT_TO_BROWSER=/*#__PURE__*/function(HMR_ACTIONS_SENT_TO_BROWSER){return HMR_ACTIONS_SENT_TO_BROWSER.ADDED_PAGE="addedPage",HMR_ACTIONS_SENT_TO_BROWSER.REMOVED_PAGE="removedPage",HMR_ACTIONS_SENT_TO_BROWSER.RELOAD_PAGE="reloadPage",HMR_ACTIONS_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES="serverComponentChanges",HMR_ACTIONS_SENT_TO_BROWSER.MIDDLEWARE_CHANGES="middlewareChanges",HMR_ACTIONS_SENT_TO_BROWSER.CLIENT_CHANGES="clientChanges",HMR_ACTIONS_SENT_TO_BROWSER.SERVER_ONLY_CHANGES="serverOnlyChanges",HMR_ACTIONS_SENT_TO_BROWSER.SYNC="sync",HMR_ACTIONS_SENT_TO_BROWSER.BUILT="built",HMR_ACTIONS_SENT_TO_BROWSER.BUILDING="building",HMR_ACTIONS_SENT_TO_BROWSER.DEV_PAGES_MANIFEST_UPDATE="devPagesManifestUpdate",HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_MESSAGE="turbopack-message",HMR_ACTIONS_SENT_TO_BROWSER.SERVER_ERROR="serverError",HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_CONNECTED="turbopack-connected",HMR_ACTIONS_SENT_TO_BROWSER.ISR_MANIFEST="isrManifest",HMR_ACTIONS_SENT_TO_BROWSER.DEV_INDICATOR="devIndicator",HMR_ACTIONS_SENT_TO_BROWSER}({}),navigation_untracked=__webpack_require__("./dist/esm/client/components/navigation-untracked.js");let handleDevBuildIndicatorHmrEvents=obj=>{try{if(!("action"in obj))return;switch(obj.action){case HMR_ACTIONS_SENT_TO_BROWSER.BUILDING:devBuildIndicator.show();break;case HMR_ACTIONS_SENT_TO_BROWSER.BUILT:case HMR_ACTIONS_SENT_TO_BROWSER.SYNC:devBuildIndicator.hide()}}catch(e){}};var _class_private_field_loose_base=__webpack_require__("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_private_field_loose_base.js"),_class_private_field_loose_key=__webpack_require__("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_private_field_loose_key.js"),_updatedModules=/*#__PURE__*/(0,_class_private_field_loose_key._)("_updatedModules"),_startMsSinceEpoch=/*#__PURE__*/(0,_class_private_field_loose_key._)("_startMsSinceEpoch"),_lastUpdateMsSinceEpoch=/*#__PURE__*/(0,_class_private_field_loose_key._)("_lastUpdateMsSinceEpoch"),_deferredReportHmrStartId=/*#__PURE__*/(0,_class_private_field_loose_key._)("_deferredReportHmrStartId"),_runDeferredReportHmrStart=/*#__PURE__*/(0,_class_private_field_loose_key._)("_runDeferredReportHmrStart"),_cancelDeferredReportHmrStart=/*#__PURE__*/(0,_class_private_field_loose_key._)("_cancelDeferredReportHmrStart"),_onUpdate=/*#__PURE__*/(0,_class_private_field_loose_key._)("_onUpdate");function runDeferredReportHmrStart(){null!=(0,_class_private_field_loose_base._)(this,_deferredReportHmrStartId)[_deferredReportHmrStartId]&&(console.log("[Fast Refresh] rebuilding"),(0,_class_private_field_loose_base._)(this,_cancelDeferredReportHmrStart)[_cancelDeferredReportHmrStart]())}function cancelDeferredReportHmrStart(){clearTimeout((0,_class_private_field_loose_base._)(this,_deferredReportHmrStartId)[_deferredReportHmrStartId]),(0,_class_private_field_loose_base._)(this,_deferredReportHmrStartId)[_deferredReportHmrStartId]=void 0}function onUpdate(){(0,_class_private_field_loose_base._)(this,_runDeferredReportHmrStart)[_runDeferredReportHmrStart](),(0,_class_private_field_loose_base._)(this,_lastUpdateMsSinceEpoch)[_lastUpdateMsSinceEpoch]=Date.now()}var app_router_headers=__webpack_require__("./dist/esm/client/components/app-router-headers.js");module1=__webpack_require__.hmd(module1);let __nextDevClientId=Math.round(100*Math.random()+Date.now()),reloading=!1,turbopackHmr=new class{onBuilding(){(0,_class_private_field_loose_base._)(this,_lastUpdateMsSinceEpoch)[_lastUpdateMsSinceEpoch]=void 0,(0,_class_private_field_loose_base._)(this,_cancelDeferredReportHmrStart)[_cancelDeferredReportHmrStart](),(0,_class_private_field_loose_base._)(this,_startMsSinceEpoch)[_startMsSinceEpoch]=Date.now(),(0,_class_private_field_loose_base._)(this,_deferredReportHmrStartId)[_deferredReportHmrStartId]=setTimeout(()=>(0,_class_private_field_loose_base._)(this,_runDeferredReportHmrStart)[_runDeferredReportHmrStart](),self.__NEXT_HMR_TURBOPACK_REPORT_NOISY_NOOP_EVENTS?0:100)}onTurbopackMessage(msg){for(let module1 of((0,_class_private_field_loose_base._)(this,_onUpdate)[_onUpdate](),function(data){let updatedModules=new Set;for(let update of Array.isArray(data)?data:[data])if("partial"===update.type&&"ChunkListUpdate"===update.instruction.type&&void 0!==update.instruction.merged)for(let mergedUpdate of update.instruction.merged)for(let name of Object.keys(mergedUpdate.entries)){let res=/(.*)\s+\[.*/.exec(name);if(null===res){console.error("[Turbopack HMR] Expected module to match pattern: "+name);continue}updatedModules.add(res[1])}return updatedModules}(msg.data)))(0,_class_private_field_loose_base._)(this,_updatedModules)[_updatedModules].add(module1)}onServerComponentChanges(){(0,_class_private_field_loose_base._)(this,_onUpdate)[_onUpdate]()}onReloadPage(){(0,_class_private_field_loose_base._)(this,_onUpdate)[_onUpdate]()}onPageAddRemove(){(0,_class_private_field_loose_base._)(this,_onUpdate)[_onUpdate]()}onBuilt(){var _class_private_field_loose_base__lastUpdateMsSinceEpoch;let hasUpdates=null!=(0,_class_private_field_loose_base._)(this,_lastUpdateMsSinceEpoch)[_lastUpdateMsSinceEpoch]&&null!=(0,_class_private_field_loose_base._)(this,_startMsSinceEpoch)[_startMsSinceEpoch];if(!hasUpdates&&null!=(0,_class_private_field_loose_base._)(this,_deferredReportHmrStartId)[_deferredReportHmrStartId])return(0,_class_private_field_loose_base._)(this,_cancelDeferredReportHmrStart)[_cancelDeferredReportHmrStart](),null;(0,_class_private_field_loose_base._)(this,_runDeferredReportHmrStart)[_runDeferredReportHmrStart]();let result={hasUpdates,updatedModules:(0,_class_private_field_loose_base._)(this,_updatedModules)[_updatedModules],startMsSinceEpoch:(0,_class_private_field_loose_base._)(this,_startMsSinceEpoch)[_startMsSinceEpoch],endMsSinceEpoch:null!=(_class_private_field_loose_base__lastUpdateMsSinceEpoch=(0,_class_private_field_loose_base._)(this,_lastUpdateMsSinceEpoch)[_lastUpdateMsSinceEpoch])?_class_private_field_loose_base__lastUpdateMsSinceEpoch:Date.now()};return(0,_class_private_field_loose_base._)(this,_updatedModules)[_updatedModules]=new Set,result}constructor(){Object.defineProperty(this,_runDeferredReportHmrStart,{value:runDeferredReportHmrStart}),Object.defineProperty(this,_cancelDeferredReportHmrStart,{value:cancelDeferredReportHmrStart}),Object.defineProperty(this,_onUpdate,{value:onUpdate}),Object.defineProperty(this,_updatedModules,{writable:!0,value:void 0}),Object.defineProperty(this,_startMsSinceEpoch,{writable:!0,value:void 0}),Object.defineProperty(this,_lastUpdateMsSinceEpoch,{writable:!0,value:void 0}),Object.defineProperty(this,_deferredReportHmrStartId,{writable:!0,value:void 0}),(0,_class_private_field_loose_base._)(this,_updatedModules)[_updatedModules]=new Set}},pendingHotUpdateWebpack=Promise.resolve();function waitForWebpackRuntimeHotUpdate(){return pendingHotUpdateWebpack}function performFullReload(err,sendMessage){sendMessage(JSON.stringify({event:"client-full-reload",stackTrace:err&&(err.stack&&err.stack.split("\n").slice(0,5).join("\n")||err.message||err+""),hadRuntimeError:!!RuntimeErrorHandler.hadRuntimeError,dependencyChain:err?err.dependencyChain:void 0})),reloading||(reloading=!0,window.location.reload())}function HotReload(param){let{assetPrefix,children,globalError}=param,[state,dispatch]=(0,react_experimental.useReducer)((state,action)=>{switch(action.type){case ACTION_DEBUG_INFO:return{...state,debugInfo:action.debugInfo};case ACTION_STATIC_INDICATOR:return{...state,staticIndicator:action.staticIndicator};case ACTION_BUILD_OK:return{...state,buildError:null};case ACTION_BUILD_ERROR:return{...state,buildError:action.message};case ACTION_BEFORE_REFRESH:return{...state,refreshState:{type:"pending",errors:[]}};case ACTION_REFRESH:return{...state,buildError:null,errors:"pending"===state.refreshState.type?state.refreshState.errors:[],refreshState:{type:"idle"}};case ACTION_UNHANDLED_ERROR:case ACTION_UNHANDLED_REJECTION:switch(state.refreshState.type){case"idle":return{...state,nextId:state.nextId+1,errors:pushErrorFilterDuplicates(state.errors,{id:state.nextId,event:action})};case"pending":return{...state,nextId:state.nextId+1,refreshState:{...state.refreshState,errors:pushErrorFilterDuplicates(state.refreshState.errors,{id:state.nextId,event:action})}};default:return state}case ACTION_VERSION_INFO:return{...state,versionInfo:action.versionInfo};case ACTION_DEV_INDICATOR:return{...state,showIndicator:!0,disableDevIndicator:shouldDisableDevIndicator||!!action.devIndicator.disabledUntil};default:return state}},{...INITIAL_OVERLAY_STATE,routerType:"app"}),dispatcher=(0,react_experimental.useMemo)(()=>({onBuildOk(){dispatch({type:ACTION_BUILD_OK})},onBuildError(message){dispatch({type:ACTION_BUILD_ERROR,message})},onBeforeRefresh(){dispatch({type:ACTION_BEFORE_REFRESH})},onRefresh(){dispatch({type:ACTION_REFRESH})},onVersionInfo(versionInfo){dispatch({type:ACTION_VERSION_INFO,versionInfo})},onStaticIndicator(status){dispatch({type:ACTION_STATIC_INDICATOR,staticIndicator:status})},onDebugInfo(debugInfo){dispatch({type:ACTION_DEBUG_INFO,debugInfo})},onDevIndicator(devIndicator){dispatch({type:ACTION_DEV_INDICATOR,devIndicator})}}),[dispatch]),handleOnUnhandledError=(0,react_experimental.useCallback)(error=>{let componentStack=componentStacks.get(error),ownerStack=getOwnerStack(error);dispatch({type:ACTION_UNHANDLED_ERROR,reason:error,frames:parseStack((error.stack||"")+(ownerStack||"")),componentStackFrames:"string"==typeof componentStack?function(componentStack){let componentStackFrames=[];for(let line of componentStack.trim().split("\n")){let match=/at ([^ ]+)( \((.*)\))?/.exec(line);if(null==match?void 0:match[1]){let component=match[1],location1=match[3];if(!location1){componentStackFrames.push({canOpenInEditor:!1,component});continue}if(null==location1?void 0:location1.includes("next/dist"))break;let frameLocation=function(location1){var _modulePath_match;let locationType=location1.startsWith("file://")?"file":location1.includes("webpack-internal://")?"webpack-internal":location1.startsWith("http://")||location1.startsWith("https://")?"http":location1.startsWith("//")?"protocol-relative":"unknown",modulePath=null==location1?void 0:location1.replace(/^(webpack-internal:\/\/\/|file:\/\/)(\(.*\)\/)?/,""),[,file,lineNumber,column]=null!=(_modulePath_match=null==modulePath?void 0:modulePath.match(/^(.+):(\d+):(\d+)/))?_modulePath_match:[];switch(locationType){case"file":case"webpack-internal":return{canOpenInEditor:!0,file,lineNumber:lineNumber?Number(lineNumber):void 0,column:column?Number(column):void 0};default:return{canOpenInEditor:!1}}}(location1);componentStackFrames.push({component,...frameLocation})}}return componentStackFrames}(componentStack):void 0})},[dispatch]),handleOnUnhandledRejection=(0,react_experimental.useCallback)(error=>{let ownerStack=getOwnerStack(error);dispatch({type:ACTION_UNHANDLED_REJECTION,reason:error,frames:parseStack((error.stack||"")+(ownerStack||""))})},[dispatch]);(0,react_experimental.useEffect)(()=>(errorQueue.forEach(handleOnUnhandledError),rejectionQueue.forEach(handleOnUnhandledRejection),errorHandlers.push(handleOnUnhandledError),rejectionHandlers.push(handleOnUnhandledRejection),()=>{errorHandlers.splice(errorHandlers.indexOf(handleOnUnhandledError),1),rejectionHandlers.splice(rejectionHandlers.indexOf(handleOnUnhandledRejection),1),errorQueue.splice(0,errorQueue.length),rejectionQueue.splice(0,rejectionQueue.length)}),[handleOnUnhandledError,handleOnUnhandledRejection]);let webSocketRef=function(assetPrefix){let webSocketRef=(0,react_experimental.useRef)(void 0);return(0,react_experimental.useEffect)(()=>{if(webSocketRef.current)return;let url=function(assetPrefix){let prefix=function(assetPrefix){let escapedAssetPrefix=(null==assetPrefix?void 0:assetPrefix.replace(/^\/+|\/+$/g,""))||!1;if(!escapedAssetPrefix)return"";if(URL.canParse(escapedAssetPrefix)){let url=new URL(escapedAssetPrefix).toString();return url.endsWith("/")?url.slice(0,-1):url}return"/"+escapedAssetPrefix}(assetPrefix),protocol=function(assetPrefix){let protocol=window.location.protocol;try{protocol=new URL(assetPrefix).protocol}catch(e){}return"http:"===protocol?"ws:":"wss:"}(assetPrefix||"");if(URL.canParse(prefix))return prefix.replace(/^http/,"ws");let{hostname,port}=window.location;return protocol+"//"+hostname+(port?":"+port:"")+prefix}(assetPrefix);webSocketRef.current=new window.WebSocket(""+url+"/_next/webpack-hmr")},[assetPrefix]),webSocketRef}(assetPrefix);!function(websocketRef){let sendMessage=useSendMessage(websocketRef),{tree}=(0,react_experimental.useContext)(app_router_context_shared_runtime.GlobalLayoutRouterContext);(0,react_experimental.useEffect)(()=>{},[tree,sendMessage])}(webSocketRef);let sendMessage=useSendMessage(webSocketRef),processTurbopackMessage=function(sendMessage,onUpdateError){let turbopackState=(0,react_experimental.useRef)({init:!1,queue:[],callback:void 0}),processTurbopackMessage=(0,react_experimental.useCallback)(msg=>{let{callback,queue}=turbopackState.current;callback?callback(msg):queue.push(msg)},[]);return(0,react_experimental.useEffect)(()=>{let{current:initCurrent}=turbopackState;initCurrent.init||(initCurrent.init=!0,__webpack_require__.e(/*! import() */"dist_client_dev_noop-turbopack-hmr_js").then(__webpack_require__.t.bind(__webpack_require__,/*! @vercel/turbopack-ecmascript-runtime/browser/dev/hmr-client/hmr-client.ts */"./dist/client/dev/noop-turbopack-hmr.js",23)).then(param=>{let{connect}=param,{current}=turbopackState;connect({addMessageListener(cb){for(let msg of(current.callback=cb,current.queue))cb(msg);current.queue=void 0},sendMessage,onUpdateError})}))},[sendMessage,onUpdateError]),processTurbopackMessage}(sendMessage,err=>performFullReload(err,sendMessage)),router=(0,navigation.useRouter)(),pathname=(0,navigation_untracked.useUntrackedPathname)(),appIsrManifestRef=(0,react_experimental.useRef)({}),pathnameRef=(0,react_experimental.useRef)(pathname);return process.env.__NEXT_DEV_INDICATOR&&(0,react_experimental.useEffect)(()=>{pathnameRef.current=pathname;let appIsrManifest=appIsrManifestRef.current;if(appIsrManifest){if(pathname&&pathname in appIsrManifest)try{dispatcher.onStaticIndicator(!0)}catch(reason){var _reason_stack,_reason_stack1;let message="";reason instanceof DOMException?message=null!=(_reason_stack=reason.stack)?_reason_stack:reason.message:message=reason instanceof Error?"Error: "+reason.message+"\n"+(null!=(_reason_stack1=reason.stack)?_reason_stack1:""):"Unexpected Exception: "+reason,console.warn("[HMR] "+message)}else dispatcher.onStaticIndicator(!1)}},[pathname,dispatcher]),(0,react_experimental.useEffect)(()=>{let websocket=webSocketRef.current;if(!websocket)return;let handler=event=>{try{let obj=JSON.parse(event.data);handleDevBuildIndicatorHmrEvents(obj),function(obj,sendMessage,processTurbopackMessage,router,dispatcher,appIsrManifestRef,pathnameRef){if("action"in obj)switch(obj.action){case HMR_ACTIONS_SENT_TO_BROWSER.ISR_MANIFEST:process.env.__NEXT_DEV_INDICATOR&&appIsrManifestRef&&(appIsrManifestRef.current=obj.data,pathnameRef.current in obj.data?dispatcher.onStaticIndicator(!0):dispatcher.onStaticIndicator(!1));break;case HMR_ACTIONS_SENT_TO_BROWSER.BUILDING:turbopackHmr.onBuilding();break;case HMR_ACTIONS_SENT_TO_BROWSER.BUILT:case HMR_ACTIONS_SENT_TO_BROWSER.SYNC:{obj.hash&&obj.hash;let{errors,warnings}=obj;if("versionInfo"in obj&&dispatcher.onVersionInfo(obj.versionInfo),"debug"in obj&&obj.debug&&dispatcher.onDebugInfo(obj.debug),"devIndicator"in obj&&dispatcher.onDevIndicator(obj.devIndicator),errors&&errors.length){sendMessage(JSON.stringify({event:"client-error",errorCount:errors.length,clientId:__nextDevClientId})),handleErrors(errors);return}if(warnings&&warnings.length){sendMessage(JSON.stringify({event:"client-warning",warningCount:warnings.length,clientId:__nextDevClientId}));let formattedMessages=formatWebpackMessages({warnings:warnings,errors:[]});for(let i=0;i<formattedMessages.warnings.length;i++){if(5===i){console.warn("There were more warnings in other files.\nYou can find a complete log in the terminal.");break}console.warn(strip_ansi_default()(formattedMessages.warnings[i]))}}sendMessage(JSON.stringify({event:"client-success",clientId:__nextDevClientId})),obj.action===HMR_ACTIONS_SENT_TO_BROWSER.BUILT&&function(){{let hmrUpdate=turbopackHmr.onBuilt();null!=hmrUpdate&&function(sendMessage,updatedModules,startMsSinceEpoch,endMsSinceEpoch,hasUpdate){void 0===hasUpdate&&(hasUpdate=!0);let latencyMs=endMsSinceEpoch-startMsSinceEpoch;console.log("[Fast Refresh] done in "+latencyMs+"ms"),hasUpdate&&(sendMessage(JSON.stringify({event:"client-hmr-latency",id:window.__nextDevClientId,startTime:startMsSinceEpoch,endTime:endMsSinceEpoch,page:window.location.pathname,updatedModules,isPageHidden:"hidden"===document.visibilityState})),self.__NEXT_HMR_LATENCY_CB&&self.__NEXT_HMR_LATENCY_CB(latencyMs))}(sendMessage,[...hmrUpdate.updatedModules],hmrUpdate.startMsSinceEpoch,hmrUpdate.endMsSinceEpoch,hmrUpdate.hasUpdates),dispatcher.onBuildOk()}}();return}case HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_CONNECTED:processTurbopackMessage({type:HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_CONNECTED,data:{sessionId:obj.data.sessionId}});break;case HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_MESSAGE:turbopackHmr.onTurbopackMessage(obj),dispatcher.onBeforeRefresh(),processTurbopackMessage({type:HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_MESSAGE,data:obj.data}),RuntimeErrorHandler.hadRuntimeError&&(console.warn("[Fast Refresh] performing full reload because your application had an unrecoverable error"),performFullReload(null,sendMessage)),dispatcher.onRefresh();break;case HMR_ACTIONS_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES:if(null==turbopackHmr||turbopackHmr.onServerComponentChanges(),sendMessage(JSON.stringify({event:"server-component-reload-page",clientId:__nextDevClientId,hash:obj.hash})),document.cookie=app_router_headers.NEXT_HMR_REFRESH_HASH_COOKIE+"="+obj.hash,RuntimeErrorHandler.hadRuntimeError){if(reloading)return;return reloading=!0,window.location.reload()}(0,react_experimental.startTransition)(()=>{router.hmrRefresh(),dispatcher.onRefresh()}),process.env.__NEXT_TEST_MODE&&self.__NEXT_HMR_CB&&(self.__NEXT_HMR_CB(),self.__NEXT_HMR_CB=null);return;case HMR_ACTIONS_SENT_TO_BROWSER.RELOAD_PAGE:if(null==turbopackHmr||turbopackHmr.onReloadPage(),sendMessage(JSON.stringify({event:"client-reload-page",clientId:__nextDevClientId})),reloading)return;return reloading=!0,window.location.reload();case HMR_ACTIONS_SENT_TO_BROWSER.ADDED_PAGE:case HMR_ACTIONS_SENT_TO_BROWSER.REMOVED_PAGE:return null==turbopackHmr||turbopackHmr.onPageAddRemove(),router.hmrRefresh();case HMR_ACTIONS_SENT_TO_BROWSER.SERVER_ERROR:{let{errorJSON}=obj;if(errorJSON){let{message,stack}=JSON.parse(errorJSON),error=Object.defineProperty(Error(message),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});error.stack=stack,handleErrors([error])}return}case HMR_ACTIONS_SENT_TO_BROWSER.DEV_PAGES_MANIFEST_UPDATE:return}function handleErrors(errors){let formatted=formatWebpackMessages({errors:errors,warnings:[]});dispatcher.onBuildError(formatted.errors[0]);for(let i=0;i<formatted.errors.length;i++)console.error(strip_ansi_default()(formatted.errors[i]));process.env.__NEXT_TEST_MODE&&self.__NEXT_HMR_CB&&(self.__NEXT_HMR_CB(formatted.errors[0]),self.__NEXT_HMR_CB=null)}}(obj,sendMessage,processTurbopackMessage,router,dispatcher,appIsrManifestRef,pathnameRef)}catch(err){console.warn("[HMR] Invalid message: "+JSON.stringify(event)+"\n"+(err instanceof Error&&(null==err?void 0:err.stack)||""))}};return websocket.addEventListener("message",handler),()=>websocket.removeEventListener("message",handler)},[sendMessage,router,webSocketRef,dispatcher,processTurbopackMessage,appIsrManifestRef]),/*#__PURE__*/(0,jsx_runtime.jsx)(AppDevOverlay,{state:state,globalError:globalError,children:children})}},"./dist/esm/client/components/react-dev-overlay/utils/dev-indicator/dev-render-indicator.js":/*!**************************************************************************************************!*\
269
+ !*** ./dist/esm/client/components/react-dev-overlay/app/hot-reloader-client.js + 118 modules ***!
270
+ \***********************************************************************************************/(module1,__webpack_exports__,__webpack_require__)=>{"use strict";let previousBodyPaddingRight,previousBodyOverflowSetting;__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>HotReload,waitForWebpackRuntimeHotUpdate:()=>waitForWebpackRuntimeHotUpdate});var _process_env___NEXT_DEV_INDICATOR,jsx_runtime=__webpack_require__("./dist/compiled/react-experimental/jsx-runtime.js"),react_experimental=__webpack_require__("./dist/compiled/react-experimental/index.js"),react_experimental_default=/*#__PURE__*/__webpack_require__.n(react_experimental),strip_ansi=__webpack_require__("./dist/compiled/strip-ansi/index.js"),strip_ansi_default=/*#__PURE__*/__webpack_require__.n(strip_ansi);let friendlySyntaxErrorLabel="Syntax error:";function isLikelyASyntaxError(message){return strip_ansi_default()(message).includes(friendlySyntaxErrorLabel)}let hadMissingSassError=!1;function formatMessage(message,verbose,importTraceNote){if("object"==typeof message&&message.message){let filteredModuleTrace=message.moduleTrace&&message.moduleTrace.filter(trace=>!/next-(middleware|client-pages|route|edge-function)-loader\.js/.test(trace.originName)),body=message.message,breakingChangeIndex=body.indexOf("\n\nBREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.");breakingChangeIndex>=0&&(body=body.slice(0,breakingChangeIndex)),message=(message.moduleName?strip_ansi_default()(message.moduleName)+"\n":"")+(message.file?strip_ansi_default()(message.file)+"\n":"")+body+(message.details&&verbose?"\n"+message.details:"")+(filteredModuleTrace&&filteredModuleTrace.length?(importTraceNote||"\n\nImport trace for requested module:")+filteredModuleTrace.map(trace=>"\n"+trace.moduleName).join(""):"")+(message.stack&&verbose?"\n"+message.stack:"")}let lines=message.split("\n");if((lines=(message=(message=(message=(message=(message=(lines=(lines=lines.filter(line=>!/Module [A-z ]+\(from/.test(line))).map(line=>{let parsingError=/Line (\d+):(?:(\d+):)?\s*Parsing error: (.+)$/.exec(line);if(!parsingError)return line;let[,errorLine,errorColumn,errorMessage]=parsingError;return friendlySyntaxErrorLabel+" "+errorMessage+" ("+errorLine+":"+errorColumn+")"})).join("\n")).replace(/SyntaxError\s+\((\d+):(\d+)\)\s*(.+?)\n/g,""+friendlySyntaxErrorLabel+" $3 ($1:$2)\n")).replace(/^.*export '(.+?)' was not found in '(.+?)'.*$/gm,"Attempted import error: '$1' is not exported from '$2'.")).replace(/^.*export 'default' \(imported as '(.+?)'\) was not found in '(.+?)'.*$/gm,"Attempted import error: '$2' does not contain a default export (imported as '$1').")).replace(/^.*export '(.+?)' \(imported as '(.+?)'\) was not found in '(.+?)'.*$/gm,"Attempted import error: '$1' is not exported from '$3' (imported as '$2').")).split("\n")).length>2&&""===lines[1].trim()&&lines.splice(1,1),lines[1]&&lines[1].startsWith("Module not found: ")&&(lines=[lines[0],lines[1].replace("Error: ","").replace("Module not found: Cannot find file:","Cannot find file:"),...lines.slice(2)]),lines[1]&&lines[1].match(/Cannot find module.+sass/)){let firstLine=lines[0].split("!");lines[0]=firstLine[firstLine.length-1],lines[1]="To use Next.js' built-in Sass support, you first need to install `sass`.\n",lines[1]+="Run `npm i sass` or `yarn add sass` inside your workspace.\n",lines[1]+="\nLearn more: https://nextjs.org/docs/messages/install-sass",lines=lines.slice(0,2),hadMissingSassError=!0}else hadMissingSassError&&message.match(/(sass-loader|resolve-url-loader: CSS error)/)&&(lines=[]);return verbose||(lines=(message=(message=(message=(message=lines.join("\n")).replace(/^\s*at\s((?!webpack:).)*:\d+:\d+[\s)]*(\n|$)/gm,"")).replace(/^\s*at\s<anonymous>(\n|$)/gm,"")).replace(/File was processed with these loaders:\n(.+[\\/](next[\\/]dist[\\/].+|@next[\\/]react-refresh-utils[\\/]loader)\.js\n)*You may need an additional loader to handle the result of these loaders.\n/g,"")).split("\n")),(message=(lines=lines.filter((line,index,arr)=>0===index||""!==line.trim()||line.trim()!==arr[index-1].trim())).join("\n")).trim()}function formatWebpackMessages(json,verbose){let formattedErrors=json.errors.map(message=>{let isUnknownNextFontError=message.message.includes("An error occurred in `next/font`.");return formatMessage(message,isUnknownNextFontError||verbose)}),formattedWarnings=json.warnings.map(message=>formatMessage(message,verbose)),reactServerComponentsError=-1;for(let i=0;i<formattedErrors.length;i++)if(formattedErrors[i].includes("ReactServerComponentsError")){reactServerComponentsError=i;break}if(-1!==reactServerComponentsError){let error=formattedErrors.splice(reactServerComponentsError,1);formattedErrors.unshift(error[0])}let result={...json,errors:formattedErrors,warnings:formattedWarnings};return!verbose&&result.errors.some(isLikelyASyntaxError)&&(result.errors=result.errors.filter(isLikelyASyntaxError),result.warnings=[]),result}var navigation=__webpack_require__("./dist/esm/client/components/navigation.js");__webpack_require__("./dist/esm/lib/is-error.js");let ownerStacks=new WeakMap,componentStacks=new WeakMap;function getOwnerStack(error){return ownerStacks.get(error)}let ACTION_STATIC_INDICATOR="static-indicator",ACTION_BUILD_OK="build-ok",ACTION_BUILD_ERROR="build-error",ACTION_BEFORE_REFRESH="before-fast-refresh",ACTION_REFRESH="fast-refresh",ACTION_VERSION_INFO="version-info",ACTION_UNHANDLED_ERROR="unhandled-error",ACTION_UNHANDLED_REJECTION="unhandled-rejection",ACTION_DEBUG_INFO="debug-info",ACTION_DEV_INDICATOR="dev-indicator",STORAGE_KEY_THEME="__nextjs-dev-tools-theme",STORAGE_KEY_POSITION="__nextjs-dev-tools-position",STORAGE_KEY_SCALE="__nextjs-dev-tools-scale",REACT_ERROR_STACK_BOTTOM_FRAME_REGEX=/\s+(at react-stack-bottom-frame.*)|(react-stack-bottom-frame@.*)/;function getStackIgnoringStrictMode(stack){return null==stack?void 0:stack.split(REACT_ERROR_STACK_BOTTOM_FRAME_REGEX)[0]}function pushErrorFilterDuplicates(errors,err){let pendingErrors=errors.filter(e=>e.event.reason.stack!==err.event.reason.stack&&getStackIgnoringStrictMode(e.event.reason.stack)!==getStackIgnoringStrictMode(err.event.reason.stack)||getOwnerStack(e.event.reason)!==getOwnerStack(err.event.reason));return pendingErrors.push(err),pendingErrors}let shouldDisableDevIndicator=(null==(_process_env___NEXT_DEV_INDICATOR=process.env.__NEXT_DEV_INDICATOR)?void 0:_process_env___NEXT_DEV_INDICATOR.toString())==="false",INITIAL_OVERLAY_STATE={nextId:1,buildError:null,errors:[],notFound:!1,staticIndicator:!1,showIndicator:!1,disableDevIndicator:!1,refreshState:{type:"idle"},versionInfo:{installed:"0.0.0",staleness:"unknown"},debugInfo:{devtoolsFrontendUrl:void 0}},stacktrace_parser_namespaceObject=require("next/dist/compiled/stacktrace-parser"),regexNextStatic=/\/_next(\/static\/.+)/;function parseStack(stack){return stack?(stack=stack.split("\n").map(line=>(line.includes("(eval ")&&(line=line.replace(/eval code/g,"eval").replace(/\(eval at [^()]* \(/,"(file://").replace(/\),.*$/g,")")),line)).join("\n"),(0,stacktrace_parser_namespaceObject.parse)(stack).map(frame=>{try{let url=new URL(frame.file),res=regexNextStatic.exec(url.pathname);if(res){var _process_env___NEXT_DIST_DIR_replace,_process_env___NEXT_DIST_DIR;let distDir=null==(_process_env___NEXT_DIST_DIR=process.env.__NEXT_DIST_DIR)?void 0:null==(_process_env___NEXT_DIST_DIR_replace=_process_env___NEXT_DIST_DIR.replace(/\\/g,"/"))?void 0:_process_env___NEXT_DIST_DIR_replace.replace(/\/$/,"");distDir&&(frame.file="file://"+distDir.concat(res.pop())+url.search)}}catch(e){}return frame})):[]}let RuntimeErrorHandler={hadRuntimeError:!1};var error_boundary=__webpack_require__("./dist/esm/client/components/error-boundary.js"),global_error=__webpack_require__("./dist/esm/client/components/global-error.js");function ErroredHtml(param){let{globalError:[GlobalError,globalErrorStyles],error}=param;return error?/*#__PURE__*/(0,jsx_runtime.jsxs)(error_boundary.ErrorBoundary,{errorComponent:global_error.default,children:[globalErrorStyles,/*#__PURE__*/(0,jsx_runtime.jsx)(GlobalError,{error:error})]}):/*#__PURE__*/(0,jsx_runtime.jsxs)("html",{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("head",{}),/*#__PURE__*/(0,jsx_runtime.jsx)("body",{})]})}class AppDevOverlayErrorBoundary extends react_experimental.PureComponent{static getDerivedStateFromError(error){return error.stack?(RuntimeErrorHandler.hadRuntimeError=!0,{isReactError:!0,reactError:error}):{isReactError:!1,reactError:null}}componentDidCatch(){this.props.onError(this.state.isReactError)}render(){let{children,globalError}=this.props,{isReactError,reactError}=this.state,fallback=/*#__PURE__*/(0,jsx_runtime.jsx)(ErroredHtml,{globalError:globalError,error:reactError});return isReactError?fallback:children}constructor(...args){super(...args),this.state={isReactError:!1,reactError:null}}}function _tagged_template_literal_loose(strings,raw){return raw||(raw=strings.slice(0)),strings.raw=raw,strings}function css(strings){for(var _len=arguments.length,keys=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)keys[_key-1]=arguments[_key];let lastIndex=strings.length-1;return(strings.slice(0,lastIndex).reduce((p,s,i)=>p+s+keys[i],"")+strings[lastIndex]).replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s+/g," ").replace(/\s*([:;,{}])\s*/g,"$1").replace(/;+}/g,"}").trim()}function _templateObject(){let data=_tagged_template_literal_loose(["\n /* latin-ext */\n @font-face {\n font-family: '__nextjs-Geist';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-latin-ext.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,\n U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,\n U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,\n U+A720-A7FF;\n }\n /* latin-ext */\n @font-face {\n font-family: '__nextjs-Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-mono-latin-ext.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,\n U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,\n U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,\n U+A720-A7FF;\n }\n /* latin */\n @font-face {\n font-family: '__nextjs-Geist';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-latin.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,\n U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,\n U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n }\n /* latin */\n @font-face {\n font-family: '__nextjs-Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-mono-latin.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,\n U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,\n U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n }\n "]);return _templateObject=function(){return data},data}let FontStyles=()=>((0,react_experimental.useInsertionEffect)(()=>{let style=document.createElement("style");return style.textContent=css(_templateObject()),document.head.appendChild(style),()=>{document.head.removeChild(style)}},[]),null);var react_dom_experimental=__webpack_require__("./dist/compiled/react-dom-experimental/index.js");function ShadowPortal(param){let{children}=param,portalNode=react_experimental.useRef(null),shadowNode=react_experimental.useRef(null),[,forceUpdate]=react_experimental.useState();return react_experimental.useEffect(()=>{let ownerDocument=document;if(portalNode.current=ownerDocument.createElement("nextjs-portal"),"undefined"!=typeof localStorage){let theme=localStorage.getItem(STORAGE_KEY_THEME);"dark"===theme?(portalNode.current.classList.add("dark"),portalNode.current.classList.remove("light")):"light"===theme&&(portalNode.current.classList.remove("dark"),portalNode.current.classList.add("light"))}return shadowNode.current=portalNode.current.attachShadow({mode:"open"}),ownerDocument.body.appendChild(portalNode.current),forceUpdate({}),()=>{portalNode.current&&portalNode.current.ownerDocument&&portalNode.current.ownerDocument.body.removeChild(portalNode.current)}},[]),shadowNode.current?/*#__PURE__*/(0,react_dom_experimental.createPortal)(children,shadowNode.current):null}function base_templateObject(){let data=_tagged_template_literal_loose(["\n :host {\n /* \n * Although the style applied to the shadow host is isolated,\n * the element that attached the shadow host (i.e. \"nextjs-portal\")\n * is still affected by the parent's style (e.g. \"body\"). This may\n * occur style conflicts like \"display: flex\", with other children\n * elements therefore give the shadow host an absolute position.\n */\n position: absolute;\n\n --color-font: #757575;\n --color-backdrop: rgba(250, 250, 250, 0.8);\n --color-border-shadow: rgba(0, 0, 0, 0.145);\n\n --color-title-color: #1f1f1f;\n --color-stack-notes: #777;\n\n --color-accents-1: #808080;\n --color-accents-2: #222222;\n --color-accents-3: #404040;\n\n --font-stack-monospace: '__nextjs-Geist Mono', 'Geist Mono',\n 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier,\n monospace;\n --font-stack-sans: '__nextjs-Geist', 'Geist', -apple-system,\n 'Source Sans Pro', sans-serif;\n\n font-family: var(--font-stack-sans);\n font-variant-ligatures: none;\n\n /* TODO: Remove replaced ones. */\n --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1),\n 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1),\n 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),\n 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),\n 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);\n --shadow-none: 0 0 #0000;\n\n --shadow-small: 0px 2px 2px rgba(0, 0, 0, 0.04);\n --shadow-menu: 0px 1px 1px rgba(0, 0, 0, 0.02),\n 0px 4px 8px -4px rgba(0, 0, 0, 0.04),\n 0px 16px 24px -8px rgba(0, 0, 0, 0.06);\n\n --focus-color: var(--color-blue-800);\n --focus-ring: 2px solid var(--focus-color);\n\n --timing-swift: cubic-bezier(0.23, 0.88, 0.26, 0.92);\n --timing-overlay: cubic-bezier(0.175, 0.885, 0.32, 1.1);\n /* prettier-ignore */\n --timing-bounce: linear(0 0%, 0.005871 1%, 0.022058 2%, 0.046612 3%, 0.077823 4%, 0.114199 5%, 0.154441 6%, 0.197431 7.000000000000001%, 0.242208 8%, 0.287959 9%, 0.333995 10%, 0.379743 11%, 0.424732 12%, 0.46858 13%, 0.510982 14.000000000000002%, 0.551702 15%, 0.590564 16%, 0.627445 17%, 0.662261 18%, 0.694971 19%, 0.725561 20%, 0.754047 21%, 0.780462 22%, 0.804861 23%, 0.82731 24%, 0.847888 25%, 0.866679 26%, 0.883775 27%, 0.899272 28.000000000000004%, 0.913267 28.999999999999996%, 0.925856 30%, 0.937137 31%, 0.947205 32%, 0.956153 33%, 0.96407 34%, 0.971043 35%, 0.977153 36%, 0.982479 37%, 0.987094 38%, 0.991066 39%, 0.994462 40%, 0.997339 41%, 0.999755 42%, 1.001761 43%, 1.003404 44%, 1.004727 45%, 1.00577 46%, 1.006569 47%, 1.007157 48%, 1.007563 49%, 1.007813 50%, 1.007931 51%, 1.007939 52%, 1.007855 53%, 1.007697 54%, 1.007477 55.00000000000001%, 1.00721 56.00000000000001%, 1.006907 56.99999999999999%, 1.006576 57.99999999999999%, 1.006228 59%, 1.005868 60%, 1.005503 61%, 1.005137 62%, 1.004776 63%, 1.004422 64%, 1.004078 65%, 1.003746 66%, 1.003429 67%, 1.003127 68%, 1.00284 69%, 1.002571 70%, 1.002318 71%, 1.002082 72%, 1.001863 73%, 1.00166 74%, 1.001473 75%, 1.001301 76%, 1.001143 77%, 1.001 78%, 1.000869 79%, 1.000752 80%, 1.000645 81%, 1.00055 82%, 1.000464 83%, 1.000388 84%, 1.000321 85%, 1.000261 86%, 1.000209 87%, 1.000163 88%, 1.000123 89%, 1.000088 90%);\n\n --rounded-none: 0px;\n --rounded-sm: 2px;\n --rounded-md: 4px;\n --rounded-md-2: 6px;\n --rounded-lg: 8px;\n --rounded-xl: 12px;\n --rounded-2xl: 16px;\n --rounded-3xl: 24px;\n --rounded-4xl: 32px;\n --rounded-full: 9999px;\n\n /* \n This value gets set from the Dev Tools preferences,\n and we use the following --size-* variables to \n scale the relevant elements.\n\n The reason why we don't rely on rem values is because\n if an app sets their root font size to something tiny, \n it feels unexpected to have the app root size leak \n into a Next.js surface.\n\n https://github.com/vercel/next.js/discussions/76812\n */\n --nextjs-dev-tools-scale: ",";\n --size-1: calc(1px / var(--nextjs-dev-tools-scale));\n --size-2: calc(2px / var(--nextjs-dev-tools-scale));\n --size-3: calc(3px / var(--nextjs-dev-tools-scale));\n --size-4: calc(4px / var(--nextjs-dev-tools-scale));\n --size-5: calc(5px / var(--nextjs-dev-tools-scale));\n --size-6: calc(6px / var(--nextjs-dev-tools-scale));\n --size-7: calc(7px / var(--nextjs-dev-tools-scale));\n --size-8: calc(8px / var(--nextjs-dev-tools-scale));\n --size-9: calc(9px / var(--nextjs-dev-tools-scale));\n --size-10: calc(10px / var(--nextjs-dev-tools-scale));\n --size-11: calc(11px / var(--nextjs-dev-tools-scale));\n --size-12: calc(12px / var(--nextjs-dev-tools-scale));\n --size-13: calc(13px / var(--nextjs-dev-tools-scale));\n --size-14: calc(14px / var(--nextjs-dev-tools-scale));\n --size-15: calc(15px / var(--nextjs-dev-tools-scale));\n --size-16: calc(16px / var(--nextjs-dev-tools-scale));\n --size-17: calc(17px / var(--nextjs-dev-tools-scale));\n --size-18: calc(18px / var(--nextjs-dev-tools-scale));\n --size-20: calc(20px / var(--nextjs-dev-tools-scale));\n --size-22: calc(22px / var(--nextjs-dev-tools-scale));\n --size-24: calc(24px / var(--nextjs-dev-tools-scale));\n --size-26: calc(26px / var(--nextjs-dev-tools-scale));\n --size-28: calc(28px / var(--nextjs-dev-tools-scale));\n --size-30: calc(30px / var(--nextjs-dev-tools-scale));\n --size-32: calc(32px / var(--nextjs-dev-tools-scale));\n --size-34: calc(34px / var(--nextjs-dev-tools-scale));\n --size-36: calc(36px / var(--nextjs-dev-tools-scale));\n --size-38: calc(38px / var(--nextjs-dev-tools-scale));\n --size-40: calc(40px / var(--nextjs-dev-tools-scale));\n --size-42: calc(42px / var(--nextjs-dev-tools-scale));\n --size-44: calc(44px / var(--nextjs-dev-tools-scale));\n --size-46: calc(46px / var(--nextjs-dev-tools-scale));\n --size-48: calc(48px / var(--nextjs-dev-tools-scale));\n\n @media print {\n display: none;\n }\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin-bottom: 8px;\n font-weight: 500;\n line-height: 1.5;\n }\n\n a {\n color: var(--color-blue-900);\n &:hover {\n color: var(--color-blue-900);\n }\n &:focus {\n outline: var(--focus-ring);\n }\n }\n "]);return base_templateObject=function(){return data},data}function Base(param){let{scale=1}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("style",{children:css(base_templateObject(),String(scale))})}function decodeHex(hexStr){if(""===hexStr.trim())throw Object.defineProperty(Error("can't decode empty hex"),"__NEXT_ERROR_CODE",{value:"E19",enumerable:!1,configurable:!0});let num=parseInt(hexStr,16);if(isNaN(num))throw Object.defineProperty(Error("invalid hex: `"+hexStr+"`"),"__NEXT_ERROR_CODE",{value:"E293",enumerable:!1,configurable:!0});return String.fromCodePoint(num)}let DECODE_REGEX=/^__TURBOPACK__([a-zA-Z0-9_$]+)__$/,linkRegex=/https?:\/\/[^\s/$.?#].[^\s)'"]*/i,splitRegexp=RegExp("("+/__TURBOPACK__[a-zA-Z0-9_$]+__/g.source+"|\\s+)"),HotlinkedText=function(props){let{text,matcher}=props,wordsAndWhitespaces=text.split(splitRegexp);return/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:wordsAndWhitespaces.map((word,index)=>{if(linkRegex.test(word)){let href=linkRegex.exec(word)[0];return"function"!=typeof matcher||matcher(href)?/*#__PURE__*/(0,jsx_runtime.jsx)(react_experimental_default().Fragment,{children:/*#__PURE__*/(0,jsx_runtime.jsx)("a",{href:href,target:"_blank",rel:"noreferrer noopener",children:word})},"link-"+index):word}try{let decodedWord=function(identifier){let matches=identifier.match(DECODE_REGEX);if(!matches)return identifier;let inner=matches[1],output="",mode=0,buffer="";for(let i=0;i<inner.length;i++){let char=inner[i];if(0===mode)"_"===char?mode=1:"$"===char?mode=2:output+=char;else if(1===mode)"_"===char?(output+=" ",mode=0):"$"===char?(output+="_",mode=2):(output+=char,mode=0);else if(2===mode){if(2===buffer.length&&(output+=decodeHex(buffer),buffer=""),"_"===char){if(""!==buffer)throw Object.defineProperty(Error("invalid hex: `"+buffer+"`"),"__NEXT_ERROR_CODE",{value:"E293",enumerable:!1,configurable:!0});mode=3}else if("$"===char){if(""!==buffer)throw Object.defineProperty(Error("invalid hex: `"+buffer+"`"),"__NEXT_ERROR_CODE",{value:"E293",enumerable:!1,configurable:!0});mode=0}else buffer+=char}else if(3===mode){if("_"===char)throw Object.defineProperty(Error("invalid hex: `"+(buffer+char)+"`"),"__NEXT_ERROR_CODE",{value:"E244",enumerable:!1,configurable:!0});"$"===char?(output+=decodeHex(buffer),buffer="",mode=0):buffer+=char}}return output}(word);if(decodedWord!==word)return/*#__PURE__*/(0,jsx_runtime.jsxs)("i",{children:["{",decodedWord,"}"]},"ident-"+index)}catch(e){return/*#__PURE__*/(0,jsx_runtime.jsxs)("i",{children:["{",word," (decoding failed: ",""+e,")","}"]},"ident-"+index)}return/*#__PURE__*/(0,jsx_runtime.jsx)(react_experimental_default().Fragment,{children:word},"text-"+index)})})},replacementRegExes=[/^webpack-internal:\/\/\/(\([\w-]+\)\/)?/,/^(webpack:\/\/\/|webpack:\/\/(_N_E\/)?)(\([\w-]+\)\/)?/];function isWebpackInternalResource(file){for(let regex of replacementRegExes){if(regex.test(file))return!0;file=file.replace(regex,"")}return!1}function formatFrameSourceFile(file){for(let regex of replacementRegExes)file=file.replace(regex,"");return file}function getOriginalStackFrame(source,response){var _source_file;async function _getOriginalStackFrame(){var _body_originalStackFrame;if("rejected"===response.status)throw Object.defineProperty(Error(response.reason),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});let body=response.value;return{error:!1,reason:null,external:!1,sourceStackFrame:source,originalStackFrame:body.originalStackFrame,originalCodeFrame:body.originalCodeFrame||null,ignored:(null==(_body_originalStackFrame=body.originalStackFrame)?void 0:_body_originalStackFrame.ignored)||!1}}return"file://"===source.file||(null==(_source_file=source.file)?void 0:_source_file.match(/https?:\/\//))?Promise.resolve({error:!1,reason:null,external:!0,sourceStackFrame:source,originalStackFrame:null,originalCodeFrame:null,ignored:!0}):_getOriginalStackFrame().catch(err=>{var _err_message,_ref;return{error:!0,reason:null!=(_ref=null!=(_err_message=null==err?void 0:err.message)?_err_message:null==err?void 0:err.toString())?_ref:"Unknown Error",external:!1,sourceStackFrame:source,originalStackFrame:null,originalCodeFrame:null,ignored:!1}})}async function getOriginalStackFrames(frames,type,isAppDir){let res,reason;try{res=await fetch("/__nextjs_original-stack-frames",{method:"POST",body:JSON.stringify({frames,isServer:"server"===type,isEdgeServer:"edge-server"===type,isAppDirectory:isAppDir})})}catch(e){reason=e+""}if(res&&res.ok&&204!==res.status){let data=await res.json();return Promise.all(frames.map((frame,index)=>getOriginalStackFrame(frame,data[index])))}return res&&(reason=await res.text()),Promise.all(frames.map(frame=>getOriginalStackFrame(frame,{status:"rejected",reason:"Failed to fetch the original stack frames "+(reason?": "+reason:"")})))}function getFrameSource(frame){if(!frame.file)return"";let isWebpackFrame=isWebpackInternalResource(frame.file),str="";if(isWebpackFrame)str=formatFrameSourceFile(frame.file);else try{var _globalThis_location;let u=new URL(frame.file),parsedPath="";(null==(_globalThis_location=globalThis.location)?void 0:_globalThis_location.origin)!==u.origin&&("null"===u.origin?parsedPath+=u.protocol:parsedPath+=u.origin),parsedPath+=u.pathname,str=formatFrameSourceFile(parsedPath)}catch(e){str=formatFrameSourceFile(frame.file)}return!isWebpackInternalResource(frame.file)&&null!=frame.lineNumber&&str&&(null!=frame.column?str+=" ("+frame.lineNumber+":"+frame.column+")":str+=" ("+frame.lineNumber+")"),str}function useOpenInEditor(param){let{file,lineNumber,column}=void 0===param?{}:param;return(0,react_experimental.useCallback)(()=>{if(null==file||null==lineNumber||null==column)return;let params=new URLSearchParams;params.append("file",file),params.append("lineNumber",String(lineNumber)),params.append("column",String(column)),self.fetch((process.env.__NEXT_ROUTER_BASEPATH||"")+"/__nextjs_launch-editor?"+params.toString()).then(()=>{},cause=>{console.error('Failed to open file "'+file+" ("+lineNumber+":"+column+')" in your editor. Cause:',cause)})},[file,lineNumber,column])}function ExternalIcon(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M11.5 9.75V11.25C11.5 11.3881 11.3881 11.5 11.25 11.5H4.75C4.61193 11.5 4.5 11.3881 4.5 11.25L4.5 4.75C4.5 4.61193 4.61193 4.5 4.75 4.5H6.25H7V3H6.25H4.75C3.7835 3 3 3.7835 3 4.75V11.25C3 12.2165 3.7835 13 4.75 13H11.25C12.2165 13 13 12.2165 13 11.25V9.75V9H11.5V9.75ZM8.5 3H9.25H12.2495C12.6637 3 12.9995 3.33579 12.9995 3.75V6.75V7.5H11.4995V6.75V5.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L10.4388 4.5H9.25H8.5V3Z"})})}function SourceMappingErrorIcon(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",strokeLinejoin:"round",viewBox:"-4 -4 24 24",width:"16",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.55846 2H7.44148L1.88975 13.5H14.1102L8.55846 2ZM9.90929 1.34788C9.65902 0.829456 9.13413 0.5 8.55846 0.5H7.44148C6.86581 0.5 6.34092 0.829454 6.09065 1.34787L0.192608 13.5653C-0.127943 14.2293 0.355835 15 1.09316 15H14.9068C15.6441 15 16.1279 14.2293 15.8073 13.5653L9.90929 1.34788ZM8.74997 4.75V5.5V8V8.75H7.24997V8V5.5V4.75H8.74997ZM7.99997 12C8.55226 12 8.99997 11.5523 8.99997 11C8.99997 10.4477 8.55226 10 7.99997 10C7.44769 10 6.99997 10.4477 6.99997 11C6.99997 11.5523 7.44769 12 7.99997 12Z",fill:"currentColor"})})}function FileIcon(param){let{lang}=param;if(!lang)return/*#__PURE__*/(0,jsx_runtime.jsx)(File,{});switch(lang.toLowerCase()){case"jsx":case"tsx":return/*#__PURE__*/(0,jsx_runtime.jsx)(React,{});case"ts":case"typescript":return/*#__PURE__*/(0,jsx_runtime.jsx)(Ts,{});case"javascript":case"js":case"mjs":return/*#__PURE__*/(0,jsx_runtime.jsx)(Js,{});case"json":return/*#__PURE__*/(0,jsx_runtime.jsx)(Json,{});default:return/*#__PURE__*/(0,jsx_runtime.jsx)(File,{})}}function Json(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{clipRule:"evenodd",fillRule:"evenodd",height:"16",viewBox:"0 0 1321.45 1333.33",width:"16",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M221.37 618.44h757.94V405.15H755.14c-23.5 0-56.32-12.74-71.82-28.24-15.5-15.5-25-43.47-25-66.97V82.89H88.39c-1.99 0-3.49 1-4.49 2-1.5 1-2 2.5-2 4.5v1155.04c0 1.5 1 3.5 2 4.5 1 1.49 3 1.99 4.49 1.99H972.8c2 0 1.89-.99 2.89-1.99 1.5-1 3.61-3 3.61-4.5v-121.09H221.36c-44.96 0-82-36.9-82-81.99V700.44c0-45.1 36.9-82 82-82zm126.51 117.47h75.24v146.61c0 30.79-2.44 54.23-7.33 70.31-4.92 16.03-14.8 29.67-29.65 40.85-14.86 11.12-33.91 16.72-57.05 16.72-24.53 0-43.51-3.71-56.94-11.06-13.5-7.36-23.89-18.1-31.23-32.3-7.35-14.14-11.69-31.67-12.99-52.53l71.5-10.81c.11 11.81 1.07 20.61 2.81 26.33 1.76 5.78 4.75 10.37 9 13.95 2.87 2.33 6.94 3.46 12.25 3.46 8.4 0 14.58-3.46 18.53-10.37 3.9-6.92 5.87-18.6 5.87-35V735.92zm112.77 180.67l71.17-4.97c1.54 12.81 4.69 22.62 9.44 29.28 7.74 10.88 18.74 16.34 33.09 16.34 10.68 0 18.93-2.76 24.68-8.36 5.81-5.58 8.7-12.07 8.7-19.41 0-6.97-2.71-13.26-8.2-18.79-5.47-5.53-18.23-10.68-38.28-15.65-32.89-8.17-56.27-19.1-70.26-32.74-14.12-13.57-21.18-30.92-21.18-52.03 0-13.83 3.61-26.89 10.85-39.21 7.22-12.38 18.07-22.06 32.59-29.09 14.52-7.04 34.4-10.56 59.65-10.56 31 0 54.62 6.41 70.88 19.29 16.28 12.81 25.92 33.24 29.04 61.27l-70.5 4.65c-1.87-12.25-5.81-21.17-11.81-26.7-6.05-5.6-14.35-8.36-24.9-8.36-8.71 0-15.31 2.07-19.73 6.16-4.4 4.09-6.59 9.12-6.59 15.02 0 4.27 1.81 8.11 5.37 11.57 3.45 3.59 11.8 6.85 25.02 9.93 32.75 7.86 56.2 15.84 70.31 23.87 14.18 8.05 24.52 17.98 30.96 29.92 6.44 11.88 9.66 25.2 9.66 39.96 0 17.29-4.3 33.24-12.88 47.89-8.63 14.58-20.61 25.7-36.08 33.24-15.41 7.54-34.85 11.31-58.33 11.31-41.24 0-69.81-8.86-85.68-26.52-15.88-17.65-24.85-40.09-26.96-67.3zm248.74-45.5c0-44.05 11.02-78.36 33.09-102.87 22.09-24.57 52.82-36.82 92.24-36.82 40.38 0 71.5 12.07 93.34 36.13 21.86 24.13 32.77 57.94 32.77 101.37 0 31.54-4.75 57.36-14.3 77.54-9.54 20.18-23.37 35.89-41.4 47.13-18.07 11.24-40.55 16.84-67.48 16.84-27.33 0-49.99-4.83-67.94-14.52-17.92-9.74-32.49-25.07-43.62-46.06-11.13-20.92-16.72-47.19-16.72-78.74zm74.89.19c0 27.21 4.57 46.81 13.68 58.68 9.13 11.88 21.57 17.85 37.26 17.85 16.1 0 28.65-5.84 37.45-17.47 8.87-11.68 13.28-32.54 13.28-62.77 0-25.39-4.63-43.92-13.84-55.61-9.26-11.76-21.75-17.6-37.56-17.6-15.13 0-27.34 5.97-36.49 17.85-9.21 11.88-13.78 31.61-13.78 59.07zm209.08-135.36h69.99l90.98 149.05V735.91h70.83v269.96h-70.83l-90.48-148.24v148.24h-70.49V735.91zm67.71-117.47h178.37c45.1 0 82 37.04 82 82v340.91c0 44.96-37.03 81.99-82 81.99h-178.37v147c0 17.5-6.99 32.99-18.5 44.5-11.5 11.49-27 18.5-44.5 18.5H62.97c-17.5 0-32.99-7-44.5-18.5-11.49-11.5-18.5-27-18.5-44.5V63.49c0-17.5 7-33 18.5-44.5S45.97.49 62.97.49H700.1c1.5-.5 3-.5 4.5-.5 7 0 14 3 19 7.49h1c1 .5 1.5 1 2.5 2l325.46 329.47c5.5 5.5 9.5 13 9.5 21.5 0 2.5-.5 4.5-1 7v250.98zM732.61 303.47V96.99l232.48 235.47H761.6c-7.99 0-14.99-3.5-20.5-8.49-4.99-5-8.49-12.5-8.49-20.5z",fill:"currentColor"})})}function Js(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{height:"16",viewBox:"0 0 50 50",width:"16",xmlns:"http://www.w3.org/2000/svg",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M 43.335938 4 L 6.667969 4 C 5.195313 4 4 5.195313 4 6.667969 L 4 43.332031 C 4 44.804688 5.195313 46 6.667969 46 L 43.332031 46 C 44.804688 46 46 44.804688 46 43.335938 L 46 6.667969 C 46 5.195313 44.804688 4 43.335938 4 Z M 27 36.183594 C 27 40.179688 24.65625 42 21.234375 42 C 18.140625 42 15.910156 39.925781 15 38 L 18.144531 36.097656 C 18.75 37.171875 19.671875 38 21 38 C 22.269531 38 23 37.503906 23 35.574219 L 23 23 L 27 23 Z M 35.675781 42 C 32.132813 42 30.121094 40.214844 29 38 L 32 36 C 32.816406 37.335938 33.707031 38.613281 35.589844 38.613281 C 37.171875 38.613281 38 37.824219 38 36.730469 C 38 35.425781 37.140625 34.960938 35.402344 34.199219 L 34.449219 33.789063 C 31.695313 32.617188 29.863281 31.148438 29.863281 28.039063 C 29.863281 25.179688 32.046875 23 35.453125 23 C 37.878906 23 39.621094 23.84375 40.878906 26.054688 L 37.910156 27.964844 C 37.253906 26.789063 36.550781 26.328125 35.453125 26.328125 C 34.335938 26.328125 33.628906 27.039063 33.628906 27.964844 C 33.628906 29.109375 34.335938 29.570313 35.972656 30.28125 L 36.925781 30.691406 C 40.171875 32.078125 42 33.496094 42 36.683594 C 42 40.117188 39.300781 42 35.675781 42 Z",fill:"currentColor"})})}function Ts(){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{fill:"none",height:"14",viewBox:"0 0 512 512",width:"14",xmlns:"http://www.w3.org/2000/svg",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{fill:"currentColor",height:"512",rx:"50",width:"512"}),/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{fill:"currentColor",height:"512",rx:"50",width:"512"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{clipRule:"evenodd",d:"m316.939 407.424v50.061c8.138 4.172 17.763 7.3 28.875 9.386s22.823 3.129 35.135 3.129c11.999 0 23.397-1.147 34.196-3.442 10.799-2.294 20.268-6.075 28.406-11.342 8.138-5.266 14.581-12.15 19.328-20.65s7.121-19.007 7.121-31.522c0-9.074-1.356-17.026-4.069-23.857s-6.625-12.906-11.738-18.225c-5.112-5.319-11.242-10.091-18.389-14.315s-15.207-8.213-24.18-11.967c-6.573-2.712-12.468-5.345-17.685-7.9-5.217-2.556-9.651-5.163-13.303-7.822-3.652-2.66-6.469-5.476-8.451-8.448-1.982-2.973-2.974-6.336-2.974-10.091 0-3.441.887-6.544 2.661-9.308s4.278-5.136 7.512-7.118c3.235-1.981 7.199-3.52 11.894-4.615 4.696-1.095 9.912-1.642 15.651-1.642 4.173 0 8.581.313 13.224.938 4.643.626 9.312 1.591 14.008 2.894 4.695 1.304 9.259 2.947 13.694 4.928 4.434 1.982 8.529 4.276 12.285 6.884v-46.776c-7.616-2.92-15.937-5.084-24.962-6.492s-19.381-2.112-31.066-2.112c-11.895 0-23.163 1.278-33.805 3.833s-20.006 6.544-28.093 11.967c-8.086 5.424-14.476 12.333-19.171 20.729-4.695 8.395-7.043 18.433-7.043 30.114 0 14.914 4.304 27.638 12.912 38.172 8.607 10.533 21.675 19.45 39.204 26.751 6.886 2.816 13.303 5.579 19.25 8.291s11.086 5.528 15.415 8.448c4.33 2.92 7.747 6.101 10.252 9.543 2.504 3.441 3.756 7.352 3.756 11.733 0 3.233-.783 6.231-2.348 8.995s-3.939 5.162-7.121 7.196-7.147 3.624-11.894 4.771c-4.748 1.148-10.303 1.721-16.668 1.721-10.851 0-21.597-1.903-32.24-5.71-10.642-3.806-20.502-9.516-29.579-17.13zm-84.159-123.342h64.22v-41.082h-179v41.082h63.906v182.918h50.874z",fill:"var(--color-background-100)",fillRule:"evenodd"})]})}function File(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 7v7a2.5 2.5 0 0 1-2.5 2.5H4A2.5 2.5 0 0 1 1.5 14V.5h7.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V7zM13 7v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2h5v5h5zM9.5 2.621V5.5h2.879L9.5 2.621z",fill:"currentColor"})})}function React(){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("g",{clipPath:"url(#file_react_clip0_872_3183)",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 1.93782C4.70129 1.82161 4.99472 1.7858 5.41315 1.91053C5.83298 2.03567 6.33139 2.31073 6.87627 2.73948C7.01136 2.84578 7.14803 2.96052 7.28573 3.08331C6.86217 3.53446 6.44239 4.04358 6.03752 4.60092C5.35243 4.67288 4.70164 4.78186 4.09916 4.92309C4.06167 4.74244 4.03064 4.56671 4.00612 4.39656C3.90725 3.71031 3.91825 3.14114 4.01979 2.71499C4.12099 2.29025 4.29871 2.05404 4.5 1.93782ZM7.49466 1.95361C7.66225 2.08548 7.83092 2.22804 7.99999 2.38067C8.16906 2.22804 8.33773 2.08548 8.50532 1.95361C9.10921 1.47842 9.71982 1.12549 10.3012 0.952202C10.8839 0.778496 11.4838 0.7738 12 1.0718C12.5161 1.3698 12.812 1.89169 12.953 2.48322C13.0936 3.07333 13.0932 3.77858 12.9836 4.53917C12.9532 4.75024 12.9141 4.9676 12.8665 5.19034C13.0832 5.26044 13.291 5.33524 13.489 5.41444C14.2025 5.69983 14.8134 6.05217 15.2542 6.46899C15.696 6.8868 16 7.404 16 8C16 8.596 15.696 9.11319 15.2542 9.53101C14.8134 9.94783 14.2025 10.3002 13.489 10.5856C13.291 10.6648 13.0832 10.7396 12.8665 10.8097C12.9141 11.0324 12.9532 11.2498 12.9837 11.4608C13.0932 12.2214 13.0936 12.9267 12.953 13.5168C12.812 14.1083 12.5161 14.6302 12 14.9282C11.4839 15.2262 10.8839 15.2215 10.3012 15.0478C9.71984 14.8745 9.10923 14.5216 8.50534 14.0464C8.33775 13.9145 8.16906 13.7719 7.99999 13.6193C7.83091 13.7719 7.66223 13.9145 7.49464 14.0464C6.89075 14.5216 6.28014 14.8745 5.69879 15.0478C5.11605 15.2215 4.51613 15.2262 3.99998 14.9282C3.48383 14.6302 3.18794 14.1083 3.047 13.5168C2.9064 12.9267 2.90674 12.2214 3.01632 11.4608C3.04673 11.2498 3.08586 11.0324 3.13351 10.8097C2.91679 10.7395 2.709 10.6648 2.511 10.5856C1.79752 10.3002 1.18658 9.94783 0.745833 9.53101C0.304028 9.11319 0 8.596 0 8C0 7.404 0.304028 6.8868 0.745833 6.46899C1.18658 6.05217 1.79752 5.69983 2.511 5.41444C2.709 5.33524 2.9168 5.26044 3.13352 5.19034C3.08587 4.9676 3.04675 4.75024 3.01634 4.53917C2.90676 3.77858 2.90642 3.07332 3.04702 2.48321C3.18796 1.89169 3.48385 1.3698 4 1.0718C4.51615 0.773798 5.11607 0.778495 5.69881 0.952201C6.28016 1.12549 6.89077 1.47841 7.49466 1.95361ZM7.36747 4.51025C7.57735 4.25194 7.78881 4.00927 7.99999 3.78356C8.21117 4.00927 8.42263 4.25194 8.63251 4.51025C8.42369 4.50346 8.21274 4.5 8 4.5C7.78725 4.5 7.5763 4.50345 7.36747 4.51025ZM8.71425 3.08331C9.13781 3.53447 9.55759 4.04358 9.96246 4.60092C10.6475 4.67288 11.2983 4.78186 11.9008 4.92309C11.9383 4.74244 11.9693 4.56671 11.9939 4.39657C12.0927 3.71031 12.0817 3.14114 11.9802 2.71499C11.879 2.29025 11.7013 2.05404 11.5 1.93782C11.2987 1.82161 11.0053 1.7858 10.5868 1.91053C10.167 2.03568 9.66859 2.31073 9.12371 2.73948C8.98862 2.84578 8.85196 2.96052 8.71425 3.08331ZM8 5.5C8.48433 5.5 8.95638 5.51885 9.41188 5.55456C9.67056 5.93118 9.9229 6.33056 10.1651 6.75C10.4072 7.16944 10.6269 7.58766 10.8237 7.99998C10.6269 8.41232 10.4072 8.83055 10.165 9.25C9.92288 9.66944 9.67053 10.0688 9.41185 10.4454C8.95636 10.4812 8.48432 10.5 8 10.5C7.51567 10.5 7.04363 10.4812 6.58813 10.4454C6.32945 10.0688 6.0771 9.66944 5.83494 9.25C5.59277 8.83055 5.37306 8.41232 5.17624 7.99998C5.37306 7.58765 5.59275 7.16944 5.83492 6.75C6.07708 6.33056 6.32942 5.93118 6.5881 5.55456C7.04361 5.51884 7.51566 5.5 8 5.5ZM11.0311 6.25C11.1375 6.43423 11.2399 6.61864 11.3385 6.80287C11.4572 6.49197 11.5616 6.18752 11.6515 5.89178C11.3505 5.82175 11.0346 5.75996 10.706 5.70736C10.8163 5.8848 10.9247 6.06576 11.0311 6.25ZM11.0311 9.75C11.1374 9.56576 11.2399 9.38133 11.3385 9.19709C11.4572 9.50801 11.5617 9.81246 11.6515 10.1082C11.3505 10.1782 11.0346 10.24 10.7059 10.2926C10.8162 10.1152 10.9247 9.93424 11.0311 9.75ZM11.9249 7.99998C12.2051 8.62927 12.4362 9.24738 12.6151 9.83977C12.7903 9.78191 12.958 9.72092 13.1176 9.65708C13.7614 9.39958 14.2488 9.10547 14.5671 8.80446C14.8843 8.50445 15 8.23243 15 8C15 7.76757 14.8843 7.49555 14.5671 7.19554C14.2488 6.89453 13.7614 6.60042 13.1176 6.34292C12.958 6.27907 12.7903 6.21808 12.6151 6.16022C12.4362 6.7526 12.2051 7.37069 11.9249 7.99998ZM9.96244 11.3991C10.6475 11.3271 11.2983 11.2181 11.9008 11.0769C11.9383 11.2576 11.9694 11.4333 11.9939 11.6034C12.0928 12.2897 12.0817 12.8589 11.9802 13.285C11.879 13.7098 11.7013 13.946 11.5 14.0622C11.2987 14.1784 11.0053 14.2142 10.5868 14.0895C10.167 13.9643 9.66861 13.6893 9.12373 13.2605C8.98863 13.1542 8.85196 13.0395 8.71424 12.9167C9.1378 12.4655 9.55758 11.9564 9.96244 11.3991ZM8.63249 11.4898C8.42262 11.7481 8.21116 11.9907 7.99999 12.2164C7.78881 11.9907 7.57737 11.7481 7.36749 11.4897C7.57631 11.4965 7.78726 11.5 8 11.5C8.21273 11.5 8.42367 11.4965 8.63249 11.4898ZM4.96891 9.75C5.07528 9.93424 5.18375 10.1152 5.29404 10.2926C4.9654 10.24 4.64951 10.1782 4.34844 10.1082C4.43833 9.81246 4.54276 9.508 4.66152 9.19708C4.76005 9.38133 4.86254 9.56575 4.96891 9.75ZM6.03754 11.3991C5.35244 11.3271 4.70163 11.2181 4.09914 11.0769C4.06165 11.2576 4.03062 11.4333 4.0061 11.6034C3.90723 12.2897 3.91823 12.8589 4.01977 13.285C4.12097 13.7098 4.29869 13.946 4.49998 14.0622C4.70127 14.1784 4.9947 14.2142 5.41313 14.0895C5.83296 13.9643 6.33137 13.6893 6.87625 13.2605C7.01135 13.1542 7.14802 13.0395 7.28573 12.9167C6.86217 12.4655 6.4424 11.9564 6.03754 11.3991ZM4.07507 7.99998C3.79484 8.62927 3.56381 9.24737 3.38489 9.83977C3.20969 9.78191 3.042 9.72092 2.88239 9.65708C2.23864 9.39958 1.75123 9.10547 1.43294 8.80446C1.11571 8.50445 1 8.23243 1 8C1 7.76757 1.11571 7.49555 1.43294 7.19554C1.75123 6.89453 2.23864 6.60042 2.88239 6.34292C3.042 6.27907 3.2097 6.21808 3.3849 6.16022C3.56383 6.75261 3.79484 7.37069 4.07507 7.99998ZM4.66152 6.80287C4.54277 6.49197 4.43835 6.18752 4.34846 5.89178C4.64952 5.82175 4.96539 5.75996 5.29402 5.70736C5.18373 5.8848 5.07526 6.06576 4.96889 6.25C4.86253 6.43423 4.76005 6.61864 4.66152 6.80287ZM9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8C6.75 7.30965 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30965 9.25 8Z",fill:"currentColor"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("defs",{children:/*#__PURE__*/(0,jsx_runtime.jsx)("clipPath",{id:"file_react_clip0_872_3183",children:/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]})}var anser=__webpack_require__("./dist/compiled/anser/index.js"),anser_default=/*#__PURE__*/__webpack_require__.n(anser);function CodeFrame(param){var _stackFrame_file;let{stackFrame,codeFrame}=param,formattedFrame=(0,react_experimental.useMemo)(()=>(function(codeFrame){let lines=codeFrame.split(/\r?\n/g),miniLeadingSpacesLength=lines.map(line=>null===/^>? +\d+ +\| [ ]+/.exec(strip_ansi_default()(line))?null:/^>? +\d+ +\| ( *)/.exec(strip_ansi_default()(line))).filter(Boolean).map(v=>v.pop()).reduce((c,n)=>isNaN(c)?n.length:Math.min(c,n.length),NaN);return miniLeadingSpacesLength>1?lines.map((line,a)=>~(a=line.indexOf("|"))?line.substring(0,a)+line.substring(a).replace("^\\ {"+miniLeadingSpacesLength+"}",""):line).join("\n"):lines.join("\n")})(codeFrame),[codeFrame]),decodedLines=(0,react_experimental.useMemo)(()=>(function(formattedFrame){let decoded=anser_default().ansiToJson(formattedFrame,{json:!0,use_classes:!0,remove_empty:!0}),lines=[],line=[];for(let token of decoded)"\n"===token.content?(lines.push(line),line=[]):line.push(token);return line.length>0&&lines.push(line),lines})(formattedFrame),[formattedFrame]),open=useOpenInEditor({file:stackFrame.file,lineNumber:stackFrame.lineNumber,column:stackFrame.column}),fileExtension=null==stackFrame?void 0:null==(_stackFrame_file=stackFrame.file)?void 0:_stackFrame_file.split(".").pop();return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-codeframe":!0,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"code-frame-header",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"code-frame-link",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"code-frame-icon",children:/*#__PURE__*/(0,jsx_runtime.jsx)(FileIcon,{lang:fileExtension})}),/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{"data-text":!0,children:[getFrameSource(stackFrame)," @"," ",/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:stackFrame.methodName})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{"aria-label":"Open in editor","data-with-open-in-editor-link-source-file":!0,onClick:open,children:/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"code-frame-icon","data-icon":"right",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ExternalIcon,{width:16,height:16})})})]})}),/*#__PURE__*/(0,jsx_runtime.jsx)("pre",{className:"code-frame-pre",children:decodedLines.map((line,lineIndex)=>{var _line_,_line_1,_stackFrame_lineNumber,_lineNumberToken_content_replace,_lineNumberToken_content;let lineNumberToken,lineNumber;let{lineNumber:lineNumber1,isErroredLine}=(((null==(_line_=line[0])?void 0:_line_.content)===">"||(null==(_line_1=line[0])?void 0:_line_1.content)===" ")&&(lineNumber=null==(lineNumberToken=line[1])?void 0:null==(_lineNumberToken_content=lineNumberToken.content)?void 0:null==(_lineNumberToken_content_replace=_lineNumberToken_content.replace("|",""))?void 0:_lineNumberToken_content_replace.trim()),{lineNumber,isErroredLine:lineNumber===(null==(_stackFrame_lineNumber=stackFrame.lineNumber)?void 0:_stackFrame_lineNumber.toString())}),lineNumberProps={};return lineNumber1&&(lineNumberProps["data-nextjs-codeframe-line"]=lineNumber1),isErroredLine&&(lineNumberProps["data-nextjs-codeframe-line--errored"]=!0),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{...lineNumberProps,children:line.map((entry,entryIndex)=>/*#__PURE__*/(0,jsx_runtime.jsx)("span",{style:{color:entry.fg?"var(--color-"+entry.fg+")":void 0,..."bold"===entry.decoration?{fontWeight:500}:"italic"===entry.decoration?{fontStyle:"italic"}:void 0},children:entry.content},"frame-"+entryIndex))},"line-"+lineIndex)})})]})}let CSS_SELECTORS_TO_EXCLUDE_ON_CLICK_OUTSIDE=["[data-next-mark]","[data-issues-open]","#nextjs-dev-tools-menu","[data-nextjs-error-overlay-nav]","[data-info-popover]"],Dialog=function(param){var el,handler;let{children,className,onClose,"aria-labelledby":ariaLabelledBy,"aria-describedby":ariaDescribedBy,dialogResizerRef,...props}=param,dialogRef=react_experimental.useRef(null),[role,setRole]=react_experimental.useState("undefined"!=typeof document&&document.hasFocus()?"dialog":void 0);return el=dialogRef.current,handler=e=>(e.preventDefault(),null==onClose?void 0:onClose()),react_experimental.useEffect(()=>{if(null==el||null==handler)return;let listener=e=>{!el||el.contains(e.target)||CSS_SELECTORS_TO_EXCLUDE_ON_CLICK_OUTSIDE.some(cssSelector=>e.target.closest(cssSelector))||handler(e)},root=el.getRootNode();return root.addEventListener("mouseup",listener),root.addEventListener("touchend",listener,{passive:!1}),function(){root.removeEventListener("mouseup",listener),root.removeEventListener("touchend",listener)}},[handler,el,CSS_SELECTORS_TO_EXCLUDE_ON_CLICK_OUTSIDE]),react_experimental.useEffect(()=>{if(null!=dialogRef.current)return window.addEventListener("focus",handleFocus),window.addEventListener("blur",handleFocus),()=>{window.removeEventListener("focus",handleFocus),window.removeEventListener("blur",handleFocus)};function handleFocus(){setRole(document.hasFocus()?"dialog":void 0)}},[]),react_experimental.useEffect(()=>{let dialog=dialogRef.current,root=null==dialog?void 0:dialog.getRootNode(),initialActiveElement=root instanceof ShadowRoot?null==root?void 0:root.activeElement:null;return null==dialog||dialog.focus(),()=>{null==dialog||dialog.blur(),null==initialActiveElement||initialActiveElement.focus()}},[]),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:dialogRef,tabIndex:-1,"data-nextjs-dialog":!0,role:role,"aria-labelledby":ariaLabelledBy,"aria-describedby":ariaDescribedBy,"aria-modal":"true",className:className,onKeyDown:e=>{"Escape"===e.key&&(null==onClose||onClose())},...props,children:children})},DialogBody=function(param){let{children,className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-dialog-body":!0,className:className,children:children})},DialogContent=function(param){let{children,className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-dialog-content":!0,className:className,children:children})},DialogHeader=function(param){let{children,className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-dialog-header":!0,className:className,children:children})};function cx(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return args.filter(Boolean).join(" ")}let useCopy="function"==typeof react_experimental.useActionState?function(content){let[copyState,dispatch,isPending]=react_experimental.useActionState((state,action)=>"reset"===action?{state:"initial"}:"copy"===action?navigator.clipboard?navigator.clipboard.writeText(content).then(()=>({state:"success"}),error=>({state:"error",error})):{state:"error",error:"Copy to clipboard is not supported in this browser"}:state,{state:"initial"});return[copyState,function(){react_experimental.startTransition(()=>{dispatch("copy")})},react_experimental.useCallback(()=>{dispatch("reset")},[dispatch]),isPending]}:function(content){let[copyState,dispatch]=react_experimental.useReducer((state,action)=>"reset"===action.type?{state:"initial"}:"copied"===action.type?{state:"success"}:"copying"===action.type?{state:"pending"}:"error"===action.type?{state:"error",error:action.error}:state,{state:"initial"}),reset=react_experimental.useCallback(()=>{dispatch({type:"reset"})},[]),isPending="pending"===copyState.state;return[copyState,function(){isPending||(navigator.clipboard?(dispatch({type:"copying"}),navigator.clipboard.writeText(content).then(()=>{dispatch({type:"copied"})},error=>{dispatch({type:"error",error})})):dispatch({type:"error",error:"Copy to clipboard is not supported in this browser"}))},reset,isPending]};function CopyButton(param){let{actionLabel,successLabel,content,icon,disabled,...props}=param,[copyState,copy,reset,isPending]=useCopy(content),error="error"===copyState.state?copyState.error:null;react_experimental.useEffect(()=>{null!==error&&console.warn(error)},[error]),react_experimental.useEffect(()=>{if("success"===copyState.state){let timeoutId=setTimeout(()=>{reset()},2e3);return()=>{clearTimeout(timeoutId)}}},[isPending,copyState.state,reset]);let isDisabled=!navigator.clipboard||isPending||disabled||!!error,label="success"===copyState.state?successLabel:actionLabel,renderedIcon="success"===copyState.state?/*#__PURE__*/(0,jsx_runtime.jsx)(CopySuccessIcon,{}):icon||/*#__PURE__*/(0,jsx_runtime.jsx)(CopyIcon,{width:14,height:14,className:"error-overlay-toolbar-button-icon"});return/*#__PURE__*/(0,jsx_runtime.jsxs)("button",{...props,type:"button",title:label,"aria-label":label,"aria-disabled":isDisabled,disabled:isDisabled,"data-nextjs-copy-button":!0,className:cx(props.className,"nextjs-data-copy-button","nextjs-data-copy-button--"+copyState.state),onClick:()=>{isDisabled||copy()},children:[renderedIcon,"error"===copyState.state?" "+copyState.error:null]})}function CopyIcon(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.406.438c-.845 0-1.531.685-1.531 1.53v6.563c0 .846.686 1.531 1.531 1.531H3.937V8.75H2.406a.219.219 0 0 1-.219-.219V1.97c0-.121.098-.219.22-.219h4.812c.12 0 .218.098.218.219v.656H8.75v-.656c0-.846-.686-1.532-1.531-1.532H2.406zm4.375 3.5c-.845 0-1.531.685-1.531 1.53v6.563c0 .846.686 1.531 1.531 1.531h4.813c.845 0 1.531-.685 1.531-1.53V5.468c0-.846-.686-1.532-1.531-1.532H6.78zm-.218 1.53c0-.12.097-.218.218-.218h4.813c.12 0 .219.098.219.219v6.562c0 .121-.098.219-.22.219H6.782a.219.219 0 0 1-.218-.219V5.47z",fill:"currentColor"})})}function CopySuccessIcon(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{height:"16",xlinkTitle:"copied",viewBox:"0 0 16 16",width:"16",stroke:"currentColor",fill:"currentColor",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"})})}function NodeJsDisabledIcon(props){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("mask",{id:"nodejs_icon_mask_a",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"14",height:"14",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M6.67.089 1.205 3.256a.663.663 0 0 0-.33.573v6.339c0 .237.126.455.33.574l5.466 3.17a.66.66 0 0 0 .66 0l5.465-3.17a.664.664 0 0 0 .329-.574V3.829a.663.663 0 0 0-.33-.573L7.33.089a.663.663 0 0 0-.661 0",fill:"#fff"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("g",{mask:"url(#nodejs_icon_mask_a)",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M18.648 2.717 3.248-4.86-4.646 11.31l15.399 7.58 7.896-16.174z",fill:"url(#nodejs_icon_linear_gradient_b)"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("mask",{id:"nodejs_icon_mask_c",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"12",height:"15",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M1.01 10.571a.66.66 0 0 0 .195.172l4.688 2.718.781.451a.66.66 0 0 0 .51.063l5.764-10.597a.653.653 0 0 0-.153-.122L9.216 1.181 7.325.09a.688.688 0 0 0-.171-.07L1.01 10.572z",fill:"#fff"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("g",{mask:"url(#nodejs_icon_mask_c)",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M-5.647 4.96 5.226 19.736 19.606 9.07 8.734-5.707-5.647 4.96z",fill:"url(#nodejs_icon_linear_gradient_d)"})}),/*#__PURE__*/(0,jsx_runtime.jsxs)("g",{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("mask",{id:"nodejs_icon_mask_e",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"13",height:"14",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M6.935.003a.665.665 0 0 0-.264.085l-5.45 3.158 5.877 10.747a.653.653 0 0 0 .235-.082l5.465-3.17a.665.665 0 0 0 .319-.452L7.127.014a.684.684 0 0 0-.189-.01",fill:"#fff"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("g",{mask:"url(#nodejs_icon_mask_e)",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M1.222.001v13.992h11.893V0H1.222z",fill:"url(#nodejs_icon_linear_gradient_f)"})})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("defs",{children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_b",x1:"10.944",y1:"-1.084",x2:"2.997",y2:"15.062",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".3",stopColor:"#676767"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".5",stopColor:"#858585"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".8",stopColor:"#989A98"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_d",x1:"-.145",y1:"12.433",x2:"14.277",y2:"1.819",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".57",stopColor:"#747474"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".72",stopColor:"#707070"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:"1",stopColor:"#929292"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_f",x1:"1.226",y1:"6.997",x2:"13.117",y2:"6.997",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".16",stopColor:"#878787"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".38",stopColor:"#A9A9A9"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".47",stopColor:"#A5A5A5"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".7",stopColor:"#8F8F8F"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:".9",stopColor:"#626262"})]})]})]})}let label="Learn more about enabling Node.js inspector for server code with Chrome DevTools";function NodejsInspectorButton(param){let{devtoolsFrontendUrl}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("a",{title:label,"aria-label":label,className:"nodejs-inspector-button",href:"https://nextjs.org/docs/app/building-your-application/configuring/debugging#server-side-code",target:"_blank",rel:"noopener noreferrer",children:/*#__PURE__*/(0,jsx_runtime.jsx)(NodeJsDisabledIcon,{className:"error-overlay-toolbar-button-icon",width:14,height:14})})}function CopyStackTraceButton(param){let{error}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)(CopyButton,{"data-nextjs-data-runtime-error-copy-stack":!0,className:"copy-stack-trace-button",actionLabel:"Copy Stack Trace",successLabel:"Stack Trace Copied",content:error.stack||"",disabled:!error.stack})}let REACT_HYDRATION_ERROR_LINK="https://react.dev/link/hydration-mismatch",NEXTJS_HYDRATION_ERROR_LINK="https://nextjs.org/docs/messages/react-hydration-error",errorMessagesWithComponentStackDiff=[/^In HTML, (.+?) cannot be a child of <(.+?)>\.(.*)\nThis will cause a hydration error\.(.*)/,/^In HTML, (.+?) cannot be a descendant of <(.+?)>\.\nThis will cause a hydration error\.(.*)/,/^In HTML, text nodes cannot be a child of <(.+?)>\.\nThis will cause a hydration error\./,/^In HTML, whitespace text nodes cannot be a child of <(.+?)>\. Make sure you don't have any extra whitespace between tags on each line of your source code\.\nThis will cause a hydration error\./];function isErrorMessageWithComponentStackDiff(msg){return errorMessagesWithComponentStackDiff.some(regex=>regex.test(msg))}let docsURLAllowlist=["https://nextjs.org","https://react.dev"];function docsLinkMatcher(text){return docsURLAllowlist.some(url=>text.startsWith(url))}function DocsLinkButton(param){let{errorMessage}=param,docsURL=function(text){let urls=function(text,matcherFunc){let links=Array.from(text.matchAll(/https?:\/\/[^\s/$.?#].[^\s)'"]*/gi),match=>match[0]);return matcherFunc?links.filter(link=>matcherFunc(link)):links}(text,docsLinkMatcher);if(0===urls.length)return null;let href=urls[0];return href===REACT_HYDRATION_ERROR_LINK?NEXTJS_HYDRATION_ERROR_LINK:href}(errorMessage);return docsURL?/*#__PURE__*/(0,jsx_runtime.jsx)("a",{title:"Go to related documentation","aria-label":"Go to related documentation",className:"docs-link-button",href:docsURL,target:"_blank",rel:"noopener noreferrer",children:/*#__PURE__*/(0,jsx_runtime.jsx)(DocsIcon,{className:"error-overlay-toolbar-button-icon",width:14,height:14})}):/*#__PURE__*/(0,jsx_runtime.jsx)("button",{title:"No related documentation found","aria-label":"No related documentation found",className:"docs-link-button",disabled:!0,children:/*#__PURE__*/(0,jsx_runtime.jsx)(DocsIcon,{className:"error-overlay-toolbar-button-icon",width:14,height:14})})}function DocsIcon(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 .875h4.375C5.448.875 6.401 1.39 7 2.187A3.276 3.276 0 0 1 9.625.875H14v11.156H9.4c-.522 0-1.023.208-1.392.577l-.544.543h-.928l-.544-.543c-.369-.37-.87-.577-1.392-.577H0V.875zm6.344 3.281a1.969 1.969 0 0 0-1.969-1.968H1.312v8.53H4.6c.622 0 1.225.177 1.744.502V4.156zm1.312 7.064V4.156c0-1.087.882-1.968 1.969-1.968h3.063v8.53H9.4c-.622 0-1.225.177-1.744.502z",fill:"currentColor"})})}function ErrorOverlayToolbar(param){let{error,debugInfo}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{className:"error-overlay-toolbar",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(CopyStackTraceButton,{error:error}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocsLinkButton,{errorMessage:error.message}),/*#__PURE__*/(0,jsx_runtime.jsx)(NodejsInspectorButton,{devtoolsFrontendUrl:null==debugInfo?void 0:debugInfo.devtoolsFrontendUrl})]})}function ThumbsUp(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"thumbs-up-icon",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("g",{id:"thumb-up-16",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M6.89531 2.23959C6.72984 2.1214 6.5 2.23968 6.5 2.44303V5.24989C6.5 6.21639 5.7165 6.99989 4.75 6.99989H2.5V13.4999H12.1884C12.762 13.4999 13.262 13.1095 13.4011 12.5531L14.4011 8.55306C14.5984 7.76412 14.0017 6.99989 13.1884 6.99989H9.25H8.5V6.24989V3.51446C8.5 3.43372 8.46101 3.35795 8.39531 3.31102L6.89531 2.23959ZM5 2.44303C5 1.01963 6.6089 0.191656 7.76717 1.01899L9.26717 2.09042C9.72706 2.41892 10 2.94929 10 3.51446V5.49989H13.1884C14.9775 5.49989 16.2903 7.18121 15.8563 8.91686L14.8563 12.9169C14.5503 14.1411 13.4503 14.9999 12.1884 14.9999H1.75H1V14.2499V6.24989V5.49989H1.75H4.75C4.88807 5.49989 5 5.38796 5 5.24989V2.44303Z",fill:"currentColor"})})})}function ThumbsDown(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"thumbs-down-icon",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.89531 12.7603C5.72984 12.8785 5.5 12.7602 5.5 12.5569V9.75C5.5 8.7835 4.7165 8 3.75 8H1.5V1.5H11.1884C11.762 1.5 12.262 1.89037 12.4011 2.44683L13.4011 6.44683C13.5984 7.23576 13.0017 8 12.1884 8H8.25H7.5V8.75V11.4854C7.5 11.5662 7.46101 11.6419 7.39531 11.6889L5.89531 12.7603ZM4 12.5569C4 13.9803 5.6089 14.8082 6.76717 13.9809L8.26717 12.9095C8.72706 12.581 9 12.0506 9 11.4854V9.5H12.1884C13.9775 9.5 15.2903 7.81868 14.8563 6.08303L13.8563 2.08303C13.5503 0.858816 12.4503 0 11.1884 0H0.75H0V0.75V8.75V9.5H0.75H3.75C3.88807 9.5 4 9.61193 4 9.75V12.5569Z",fill:"currentColor"})})}function ErrorFeedback(param){let{errorCode,className}=param,[votedMap,setVotedMap]=(0,react_experimental.useState)({}),voted=votedMap[errorCode],disabled=process.env.__NEXT_TELEMETRY_DISABLED,handleFeedback=(0,react_experimental.useCallback)(async wasHelpful=>{setVotedMap(prev=>({...prev,[errorCode]:wasHelpful}));try{(await fetch((process.env.__NEXT_ROUTER_BASEPATH||"")+"/__nextjs_error_feedback?"+new URLSearchParams({errorCode,wasHelpful:wasHelpful.toString()}))).ok||console.error("Failed to record feedback on the server.")}catch(error){console.error("Failed to record feedback:",error)}},[errorCode]);return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:cx("error-feedback",className),role:"region","aria-label":"Error feedback",children:void 0!==voted?/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"error-feedback-thanks",role:"status","aria-live":"polite",children:"Thanks for your feedback!"}):/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("p",{children:/*#__PURE__*/(0,jsx_runtime.jsx)("a",{href:"https://nextjs.org/telemetry#error-feedback",rel:"noopener noreferrer",target:"_blank",children:"Was this helpful?"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{"aria-disabled":disabled?"true":void 0,"aria-label":"Mark as helpful",onClick:disabled?void 0:()=>handleFeedback(!0),className:cx("feedback-button",!0===voted&&"voted"),title:disabled?"Feedback disabled due to setting NEXT_TELEMETRY_DISABLED":void 0,type:"button",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ThumbsUp,{"aria-hidden":"true"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{"aria-disabled":disabled?"true":void 0,"aria-label":"Mark as not helpful",onClick:disabled?void 0:()=>handleFeedback(!1),className:cx("feedback-button",!1===voted&&"voted"),title:disabled?"Feedback disabled due to setting NEXT_TELEMETRY_DISABLED":void 0,type:"button",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ThumbsDown,{"aria-hidden":"true",style:{translate:"1px 1px"}})})]})})}function ErrorOverlayFooter(param){let{errorCode,footerMessage}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("footer",{className:"error-overlay-footer",children:[footerMessage?/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"error-overlay-footer-message",children:footerMessage}):null,errorCode?/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorFeedback,{className:"error-feedback",errorCode:errorCode}):null]})}function ErrorMessage(param){let{errorMessage}=param,[isExpanded,setIsExpanded]=(0,react_experimental.useState)(!1),[shouldTruncate,setShouldTruncate]=(0,react_experimental.useState)(!1),messageRef=(0,react_experimental.useRef)(null);return(0,react_experimental.useLayoutEffect)(()=>{messageRef.current&&setShouldTruncate(messageRef.current.scrollHeight>200)},[errorMessage]),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"nextjs__container_errors_wrapper",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("p",{ref:messageRef,id:"nextjs__container_errors_desc",className:"nextjs__container_errors_desc "+(shouldTruncate&&!isExpanded?"truncated":""),children:errorMessage}),shouldTruncate&&!isExpanded&&/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"nextjs__container_errors_gradient_overlay"}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{onClick:()=>setIsExpanded(!0),className:"nextjs__container_errors_expand_button","aria-expanded":isExpanded,"aria-controls":"nextjs__container_errors_desc",children:"Show More"})]})]})}function ErrorTypeLabel(param){let{errorType}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("span",{id:"nextjs__container_errors_label",className:"nextjs__container_errors_label",children:errorType})}function LeftArrow(param){let{title,className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":title,className:className,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.24996 12.0608L8.71963 11.5304L5.89641 8.70722C5.50588 8.3167 5.50588 7.68353 5.89641 7.29301L8.71963 4.46978L9.24996 3.93945L10.3106 5.00011L9.78029 5.53044L7.31062 8.00011L9.78029 10.4698L10.3106 11.0001L9.24996 12.0608Z",fill:"currentColor"})})}function RightArrow(param){let{title,className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:className,"aria-label":title,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75011 3.93945L7.28044 4.46978L10.1037 7.29301C10.4942 7.68353 10.4942 8.3167 10.1037 8.70722L7.28044 11.5304L6.75011 12.0608L5.68945 11.0001L6.21978 10.4698L8.68945 8.00011L6.21978 5.53044L5.68945 5.00011L6.75011 3.93945Z",fill:"currentColor"})})}function ErrorOverlayPagination(param){let{runtimeErrors,activeIdx,onActiveIndexChange}=param,handlePrevious=(0,react_experimental.useCallback)(()=>(0,react_experimental.startTransition)(()=>{activeIdx>0&&onActiveIndexChange(Math.max(0,activeIdx-1))}),[activeIdx,onActiveIndexChange]),handleNext=(0,react_experimental.useCallback)(()=>(0,react_experimental.startTransition)(()=>{activeIdx<runtimeErrors.length-1&&onActiveIndexChange(Math.max(0,Math.min(runtimeErrors.length-1,activeIdx+1)))}),[activeIdx,runtimeErrors.length,onActiveIndexChange]),buttonLeft=(0,react_experimental.useRef)(null),buttonRight=(0,react_experimental.useRef)(null),[nav,setNav]=(0,react_experimental.useState)(null),onNav=(0,react_experimental.useCallback)(el=>{setNav(el)},[]);return(0,react_experimental.useEffect)(()=>{if(null==nav)return;let root=nav.getRootNode(),d=self.document;function handler(e){"ArrowLeft"===e.key?(e.preventDefault(),e.stopPropagation(),handlePrevious&&handlePrevious()):"ArrowRight"===e.key&&(e.preventDefault(),e.stopPropagation(),handleNext&&handleNext())}return root.addEventListener("keydown",handler),root!==d&&d.addEventListener("keydown",handler),function(){root.removeEventListener("keydown",handler),root!==d&&d.removeEventListener("keydown",handler)}},[nav,handleNext,handlePrevious]),(0,react_experimental.useEffect)(()=>{if(null==nav)return;let root=nav.getRootNode();if(root instanceof ShadowRoot){let a=root.activeElement;0===activeIdx?buttonLeft.current&&a===buttonLeft.current&&buttonLeft.current.blur():activeIdx===runtimeErrors.length-1&&buttonRight.current&&a===buttonRight.current&&buttonRight.current.blur()}},[nav,activeIdx,runtimeErrors.length]),/*#__PURE__*/(0,jsx_runtime.jsxs)("nav",{className:"error-overlay-pagination dialog-exclude-closing-from-outside-click",ref:onNav,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("button",{ref:buttonLeft,type:"button",disabled:0===activeIdx,"aria-disabled":0===activeIdx,onClick:handlePrevious,"data-nextjs-dialog-error-previous":!0,className:"error-overlay-pagination-button",children:/*#__PURE__*/(0,jsx_runtime.jsx)(LeftArrow,{title:"previous",className:"error-overlay-pagination-button-icon"})}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-pagination-count",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{"data-nextjs-dialog-error-index":activeIdx,children:[activeIdx+1,"/"]}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-dialog-header-total-count":!0,children:runtimeErrors.length||1})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{ref:buttonRight,type:"button",disabled:activeIdx>=runtimeErrors.length-1,"aria-disabled":activeIdx>=runtimeErrors.length-1,onClick:handleNext,"data-nextjs-dialog-error-next":!0,className:"error-overlay-pagination-button",children:/*#__PURE__*/(0,jsx_runtime.jsx)(RightArrow,{title:"next",className:"error-overlay-pagination-button-icon"})})]})}function VersionStalenessInfo(param){let{versionInfo,bundlerName}=param,{staleness}=versionInfo,{text,indicatorClass,title}=function(param){let{installed,staleness,expected}=param,text="",title="",indicatorClass="",versionLabel="Next.js "+installed;switch(staleness){case"newer-than-npm":case"fresh":text=versionLabel,title="Latest available version is detected ("+installed+").",indicatorClass="fresh";break;case"stale-patch":case"stale-minor":text=""+versionLabel+" (stale)",title="There is a newer version ("+expected+") available, upgrade recommended! ",indicatorClass="stale";break;case"stale-major":text=""+versionLabel+" (outdated)",title="An outdated version detected (latest is "+expected+"), upgrade is highly recommended!",indicatorClass="outdated";break;case"stale-prerelease":text=""+versionLabel+" (stale)",title="There is a newer canary version ("+expected+") available, please upgrade! ",indicatorClass="stale";break;case"unknown":text=""+versionLabel+" (unknown)",title="No Next.js version data was found.",indicatorClass="unknown"}return{text,indicatorClass,title}}(versionInfo),isTurbopack="Turbopack"===bundlerName;return staleness.startsWith("stale")?/*#__PURE__*/(0,jsx_runtime.jsxs)("a",{className:"nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click",target:"_blank",rel:"noopener noreferrer",href:"https://nextjs.org/docs/messages/version-staleness",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Eclipse,{className:cx("version-staleness-indicator",indicatorClass)}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-version-checker":!0,title:title,children:text}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:cx(isTurbopack&&"turbopack-text"),children:bundlerName})]}):/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{className:"nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Eclipse,{className:cx("version-staleness-indicator",indicatorClass)}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-version-checker":!0,title:title,children:text}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:cx(isTurbopack&&"turbopack-text"),children:bundlerName})]})}function Eclipse(param){let{className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:/*#__PURE__*/(0,jsx_runtime.jsx)("circle",{className:className,cx:"7",cy:"7",r:"5.5",strokeWidth:"3"})})}function ErrorOverlayNav(param){let{runtimeErrors,activeIdx,setActiveIndex,versionInfo}=param,bundlerName=process.env.__NEXT_BUNDLER||"Webpack";return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-error-overlay-nav":!0,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Notch,{side:"left",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayPagination,{runtimeErrors:null!=runtimeErrors?runtimeErrors:[],activeIdx:null!=activeIdx?activeIdx:0,onActiveIndexChange:null!=setActiveIndex?setActiveIndex:()=>{}})}),versionInfo&&/*#__PURE__*/(0,jsx_runtime.jsx)(Notch,{side:"right",children:/*#__PURE__*/(0,jsx_runtime.jsx)(VersionStalenessInfo,{versionInfo:versionInfo,bundlerName:bundlerName})})]})}function Notch(param){let{children,side="left"}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-notch","data-side":side,children:[children,/*#__PURE__*/(0,jsx_runtime.jsx)(Tail,{})]})}function Tail(){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{width:"60",height:"42",viewBox:"0 0 60 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"error-overlay-notch-tail",preserveAspectRatio:"none",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("mask",{id:"error_overlay_nav_mask0_2667_14687",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"-1",width:"60",height:"43",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("mask",{id:"error_overlay_nav_path_1_outside_1_2667_14687",maskUnits:"userSpaceOnUse",x:"0",y:"-1",width:"60",height:"43",fill:"black",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{fill:"white",y:"-1",width:"60",height:"43"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M1 0L8.0783 0C15.772 0 22.7836 4.41324 26.111 11.3501L34.8889 29.6498C38.2164 36.5868 45.228 41 52.9217 41H60H1L1 0Z"})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M1 0L8.0783 0C15.772 0 22.7836 4.41324 26.111 11.3501L34.8889 29.6498C38.2164 36.5868 45.228 41 52.9217 41H60H1L1 0Z",fill:"white"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M1 0V-1H0V0L1 0ZM1 41H0V42H1V41ZM34.8889 29.6498L33.9873 30.0823L34.8889 29.6498ZM26.111 11.3501L27.0127 10.9177L26.111 11.3501ZM1 1H8.0783V-1H1V1ZM60 40H1V42H60V40ZM2 41V0L0 0L0 41H2ZM25.2094 11.7826L33.9873 30.0823L35.7906 29.2174L27.0127 10.9177L25.2094 11.7826ZM52.9217 42H60V40H52.9217V42ZM33.9873 30.0823C37.4811 37.3661 44.8433 42 52.9217 42V40C45.6127 40 38.9517 35.8074 35.7906 29.2174L33.9873 30.0823ZM8.0783 1C15.3873 1 22.0483 5.19257 25.2094 11.7826L27.0127 10.9177C23.5188 3.6339 16.1567 -1 8.0783 -1V1Z",fill:"black",mask:"url(#error_overlay_nav_path_1_outside_1_2667_14687)"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("g",{mask:"url(#error_overlay_nav_mask0_2667_14687)",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("mask",{id:"error_overlay_nav_path_3_outside_2_2667_14687",maskUnits:"userSpaceOnUse",x:"-1",y:"0.0244141",width:"60",height:"43",fill:"black",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{fill:"white",x:"-1",y:"0.0244141",width:"60",height:"43"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M0 1.02441H7.0783C14.772 1.02441 21.7836 5.43765 25.111 12.3746L33.8889 30.6743C37.2164 37.6112 44.228 42.0244 51.9217 42.0244H59H0L0 1.02441Z"})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M0 1.02441H7.0783C14.772 1.02441 21.7836 5.43765 25.111 12.3746L33.8889 30.6743C37.2164 37.6112 44.228 42.0244 51.9217 42.0244H59H0L0 1.02441Z",fill:"var(--background-color)"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M0 1.02441L0 0.0244141H-1V1.02441H0ZM0 42.0244H-1V43.0244H0L0 42.0244ZM33.8889 30.6743L32.9873 31.1068L33.8889 30.6743ZM25.111 12.3746L26.0127 11.9421L25.111 12.3746ZM0 2.02441H7.0783V0.0244141H0L0 2.02441ZM59 41.0244H0L0 43.0244H59V41.0244ZM1 42.0244L1 1.02441H-1L-1 42.0244H1ZM24.2094 12.8071L32.9873 31.1068L34.7906 30.2418L26.0127 11.9421L24.2094 12.8071ZM51.9217 43.0244H59V41.0244H51.9217V43.0244ZM32.9873 31.1068C36.4811 38.3905 43.8433 43.0244 51.9217 43.0244V41.0244C44.6127 41.0244 37.9517 36.8318 34.7906 30.2418L32.9873 31.1068ZM7.0783 2.02441C14.3873 2.02441 21.0483 6.21699 24.2094 12.8071L26.0127 11.9421C22.5188 4.65831 15.1567 0.0244141 7.0783 0.0244141V2.02441Z",fill:"var(--stroke-color)",mask:"url(#error_overlay_nav_path_3_outside_2_2667_14687)"})]})]})}function ErrorOverlayDialog(param){let{children,onClose,footer,...props}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-dialog-container",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Dialog,{"aria-labelledby":"nextjs__container_errors_label","aria-describedby":"nextjs__container_errors_desc",className:"error-overlay-dialog-scroll",onClose:onClose,...props,children:children}),footer]})}function ErrorOverlayDialogHeader(param){let{children}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)(DialogHeader,{className:"nextjs-container-errors-header",children:children})}function ErrorOverlayDialogBody(param){let{children}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)(DialogBody,{className:"nextjs-container-errors-body",children:children})}let CallStackFrame=function(param){var _frame_originalStackFrame;let{frame}=param,f=null!=(_frame_originalStackFrame=frame.originalStackFrame)?_frame_originalStackFrame:frame.sourceStackFrame,hasSource=!!frame.originalCodeFrame,open=useOpenInEditor(hasSource?{file:f.file,lineNumber:f.lineNumber,column:f.column}:void 0),formattedMethod=f.methodName.replace(/^\([\w-]+\)\//,""),fileSource=getFrameSource(f);return fileSource?/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-call-stack-frame":!0,"data-nextjs-call-stack-frame-no-source":!hasSource,"data-nextjs-call-stack-frame-ignored":frame.ignored,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"call-stack-frame-method-name",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:formattedMethod}),hasSource&&/*#__PURE__*/(0,jsx_runtime.jsx)("button",{onClick:open,className:"open-in-editor-button",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ExternalIcon,{width:16,height:16})}),frame.error?/*#__PURE__*/(0,jsx_runtime.jsx)("button",{className:"source-mapping-error-button",onClick:()=>console.error(frame.reason),title:"Sourcemapping failed. Click to log cause of error.",children:/*#__PURE__*/(0,jsx_runtime.jsx)(SourceMappingErrorIcon,{width:16,height:16})}):null]}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"call-stack-frame-file-source","data-has-source":hasSource,children:fileSource})]}):null};function CallStack(param){let{frames,dialogResizerRef}=param,initialDialogHeight=(0,react_experimental.useRef)(NaN),[isIgnoreListOpen,setIsIgnoreListOpen]=(0,react_experimental.useState)(!1),ignoredFramesTally=(0,react_experimental.useMemo)(()=>frames.reduce((tally,frame)=>tally+(frame.ignored?1:0),0),[frames]);return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-call-stack-container",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-call-stack-header",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"error-overlay-call-stack-title",children:["Call Stack"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"error-overlay-call-stack-count",children:frames.length})]}),ignoredFramesTally>0&&/*#__PURE__*/(0,jsx_runtime.jsxs)("button",{"data-expand-ignore-button":isIgnoreListOpen,className:"error-overlay-call-stack-ignored-list-toggle-button",onClick:function(){let dialog=null==dialogResizerRef?void 0:dialogResizerRef.current;if(!dialog)return;let{height:currentHeight}=null==dialog?void 0:dialog.getBoundingClientRect();initialDialogHeight.current||(initialDialogHeight.current=currentHeight),isIgnoreListOpen?(dialog.style.height=""+initialDialogHeight.current+"px",dialog.addEventListener("transitionend",function onTransitionEnd(){dialog.removeEventListener("transitionend",onTransitionEnd),setIsIgnoreListOpen(!1)})):setIsIgnoreListOpen(!0)},children:[(isIgnoreListOpen?"Hide":"Show")+" "+ignoredFramesTally+" ignore-listed frame(s)",/*#__PURE__*/(0,jsx_runtime.jsx)(ChevronUpDown,{})]})]}),frames.map((frame,frameIndex)=>!frame.ignored||isIgnoreListOpen?/*#__PURE__*/(0,jsx_runtime.jsx)(CallStackFrame,{frame:frame},frameIndex):null)]})}function ChevronUpDown(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.70722 2.39641C8.3167 2.00588 7.68353 2.00588 7.29301 2.39641L4.46978 5.21963L3.93945 5.74996L5.00011 6.81062L5.53044 6.28029L8.00011 3.81062L10.4698 6.28029L11.0001 6.81062L12.0608 5.74996L11.5304 5.21963L8.70722 2.39641ZM5.53044 9.71963L5.00011 9.1893L3.93945 10.25L4.46978 10.7803L7.29301 13.6035C7.68353 13.994 8.3167 13.994 8.70722 13.6035L11.5304 10.7803L12.0608 10.25L11.0001 9.1893L10.4698 9.71963L8.00011 12.1893L5.53044 9.71963Z",fill:"currentColor"})})}let activeLocks=0,Overlay=function(param){let{className,children,fixed,...props}=param;return react_experimental.useEffect(()=>(setTimeout(()=>{if(activeLocks++>0)return;let scrollBarGap=window.innerWidth-document.documentElement.clientWidth;scrollBarGap>0&&(previousBodyPaddingRight=document.body.style.paddingRight,document.body.style.paddingRight=""+scrollBarGap+"px"),previousBodyOverflowSetting=document.body.style.overflow,document.body.style.overflow="hidden"}),()=>{setTimeout(()=>{0!==activeLocks&&0==--activeLocks&&(void 0!==previousBodyPaddingRight&&(document.body.style.paddingRight=previousBodyPaddingRight,previousBodyPaddingRight=void 0),void 0!==previousBodyOverflowSetting&&(document.body.style.overflow=previousBodyOverflowSetting,previousBodyOverflowSetting=void 0))})}),[]),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-dialog-overlay":!0,className:className,...props,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-dialog-backdrop":!0,"data-nextjs-dialog-backdrop-fixed":!!fixed||void 0}),children]})};function ErrorOverlayOverlay(param){let{children,...props}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)(Overlay,{...props,children:children})}function ErrorOverlayBottomStack(param){let{errorCount,activeIdx}=param,stackCount=Math.min(errorCount-activeIdx-1,2);return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"aria-hidden":!0,className:"error-overlay-bottom-stack",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-bottom-stack-stack","data-stack-count":stackCount,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"error-overlay-bottom-stack-layer error-overlay-bottom-stack-layer-1",children:"1"}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"error-overlay-bottom-stack-layer error-overlay-bottom-stack-layer-2",children:"2"})]})})}function EnvironmentNameLabel(param){let{environmentName}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-environment-name-label":!0,children:environmentName})}function useFocusTrap(rootRef,triggerRef,active,onOpenFocus){(0,react_experimental.useEffect)(()=>{let rootNode=null;function onTab(e){if("Tab"!==e.key||null===rootNode)return;let[firstFocusableNode,lastFocusableNode]=function(node){let focusableElements=node.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');return focusableElements?[focusableElements[0],focusableElements[focusableElements.length-1]]:[]}(rootNode),activeElement=getActiveElement(rootNode);e.shiftKey?activeElement===firstFocusableNode&&(null==lastFocusableNode||lastFocusableNode.focus(),e.preventDefault()):activeElement===lastFocusableNode&&(null==firstFocusableNode||firstFocusableNode.focus(),e.preventDefault())}let id=setTimeout(()=>{if(rootNode=rootRef.current,active)onOpenFocus?onOpenFocus():null==rootNode||rootNode.focus(),null==rootNode||rootNode.addEventListener("keydown",onTab);else{let activeElement=getActiveElement(rootNode);if(triggerRef&&(null==rootNode?void 0:rootNode.contains(activeElement))){var _triggerRef_current;null==(_triggerRef_current=triggerRef.current)||_triggerRef_current.focus()}}});return()=>{clearTimeout(id),null==rootNode||rootNode.removeEventListener("keydown",onTab)}},[active])}function getActiveElement(node){let root=null==node?void 0:node.getRootNode();return root instanceof ShadowRoot?null==root?void 0:root.activeElement:null}function useClickOutside(rootRef,triggerRef,active,close){(0,react_experimental.useEffect)(()=>{if(active)return document.addEventListener("mousedown",handleClickOutside),document.addEventListener("keydown",handleKeyDown),()=>{document.removeEventListener("mousedown",handleClickOutside),document.removeEventListener("keydown",handleKeyDown)};function handleClickOutside(event){var _rootRef_current,_triggerRef_current;null!=(_rootRef_current=rootRef.current)&&_rootRef_current.getBoundingClientRect()&&event.clientX>=rootRef.current.getBoundingClientRect().left&&event.clientX<=rootRef.current.getBoundingClientRect().right&&event.clientY>=rootRef.current.getBoundingClientRect().top&&event.clientY<=rootRef.current.getBoundingClientRect().bottom||null!=(_triggerRef_current=triggerRef.current)&&_triggerRef_current.getBoundingClientRect()&&event.clientX>=triggerRef.current.getBoundingClientRect().left&&event.clientX<=triggerRef.current.getBoundingClientRect().right&&event.clientY>=triggerRef.current.getBoundingClientRect().top&&event.clientY<=triggerRef.current.getBoundingClientRect().bottom||close()}function handleKeyDown(event){"Escape"===event.key&&close()}},[active])}let Fader=/*#__PURE__*/(0,react_experimental.forwardRef)(function(param,ref){let{stop,blur,side,style,height}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:ref,"aria-hidden":!0,"data-nextjs-scroll-fader":!0,className:"nextjs-scroll-fader","data-side":side,style:{"--stop":stop,"--blur":blur,"--height":""+height+"px",...style}})}),Resizer=/*#__PURE__*/(0,react_experimental.forwardRef)(function(param,resizerRef){let{children,measure,...props}=param,ref=(0,react_experimental.useRef)(null),[height,measuring]=function(ref,measure){let[height,setHeight]=(0,react_experimental.useState)(0),[measuring,setMeasuring]=(0,react_experimental.useState)(!0);return(0,react_experimental.useEffect)(()=>{let timerId;if(!measure)return;let el=ref.current;if(!el)return;let observer=new ResizeObserver(param=>{let[{contentRect}]=param;clearTimeout(timerId),timerId=window.setTimeout(()=>{setMeasuring(!1)},100),setHeight(contentRect.height)});return observer.observe(el),()=>observer.disconnect()},[measure]),[height,measuring]}(ref,measure);return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{...props,ref:resizerRef,style:{height:measuring?"auto":height,transition:"height 250ms var(--timing-swift)"},children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:ref,children:children})})});function ErrorOverlayLayout(param){let{errorMessage,errorType,children,errorCode,errorCount,error,debugInfo,isBuildError,onClose,versionInfo,runtimeErrors,activeIdx,setActiveIndex,footerMessage,isTurbopack,dialogResizerRef,rendered=!0,transitionDurationMs}=param,animationProps={"data-rendered":rendered,style:{"--transition-duration":""+transitionDurationMs+"ms"}},[animating,setAnimating]=react_experimental.useState(!!transitionDurationMs),faderRef=react_experimental.useRef(null),hasFooter=!!(footerMessage||errorCode),dialogRef=react_experimental.useRef(null);return useFocusTrap(dialogRef,null,rendered),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayOverlay,{fixed:isBuildError,...animationProps,children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-dialog-root":!0,onTransitionEnd:function(param){let{propertyName,target}=param;"scale"===propertyName&&target===dialogRef.current&&setAnimating(!1)},ref:dialogRef,...animationProps,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayNav,{runtimeErrors:runtimeErrors,activeIdx:activeIdx,setActiveIndex:setActiveIndex,versionInfo:versionInfo,isTurbopack:isTurbopack}),/*#__PURE__*/(0,jsx_runtime.jsxs)(ErrorOverlayDialog,{onClose:onClose,dialogResizerRef:dialogResizerRef,"data-has-footer":hasFooter,onScroll:function(e){if(faderRef.current){let opacity=function(value1,param){let[min,max]=param;return Math.min(Math.max(value1,min),max)}(e.currentTarget.scrollTop/17,[0,1]);faderRef.current.style.opacity=String(opacity)}},footer:hasFooter&&/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayFooter,{footerMessage:footerMessage,errorCode:errorCode}),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Resizer,{ref:dialogResizerRef,measure:!animating,"data-nextjs-dialog-sizer":!0,children:/*#__PURE__*/(0,jsx_runtime.jsxs)(DialogContent,{children:[/*#__PURE__*/(0,jsx_runtime.jsxs)(ErrorOverlayDialogHeader,{children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"nextjs__container_errors__error_title","data-nextjs-error-code":errorCode,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{"data-nextjs-error-label-group":!0,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorTypeLabel,{errorType:errorType}),error.environmentName&&/*#__PURE__*/(0,jsx_runtime.jsx)(EnvironmentNameLabel,{environmentName:error.environmentName})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayToolbar,{error:error,debugInfo:debugInfo})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorMessage,{errorMessage:errorMessage})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayDialogBody,{children:children})]})}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayBottomStack,{errorCount:errorCount,activeIdx:null!=activeIdx?activeIdx:0})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(Fader,{ref:faderRef,side:"top",stop:"50%",blur:"4px",height:48})]})})}function EditorLink(param){var _location_line,_location_column;let{file,location:location1}=param,open=useOpenInEditor({file,lineNumber:null!=(_location_line=null==location1?void 0:location1.line)?_location_line:1,column:null!=(_location_column=null==location1?void 0:location1.column)?_location_column:0});return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-with-open-in-editor-link":!0,"data-with-open-in-editor-link-import-trace":!0,tabIndex:10,role:"link",onClick:open,title:"Click to open in your editor",children:[file,location1?":"+location1.line+":"+location1.column:null,/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),/*#__PURE__*/(0,jsx_runtime.jsx)("polyline",{points:"15 3 21 3 21 9"}),/*#__PURE__*/(0,jsx_runtime.jsx)("line",{x1:"10",y1:"14",x2:"21",y2:"3"})]})]})}let Terminal=function(param){var _file_location,_file_location1,_file_location2,_file_location3,_stackFrame_file,_file_location_line,_file_location_column,_file_fileName,_file_location_line1,_file_location_column1;let{content}=param,{file,source,importTraceFiles}=react_experimental.useMemo(()=>(function(content){let lines=content.split("\n"),file=function(lines){let contentFileName=lines.shift();if(!contentFileName)return null;let[fileName,line,column]=contentFileName.split(":",3),parsedLine=Number(line),parsedColumn=Number(column),hasLocation=!Number.isNaN(parsedLine)&&!Number.isNaN(parsedColumn);return{fileName:hasLocation?fileName:contentFileName,location:hasLocation?{line:parsedLine,column:parsedColumn}:void 0}}(lines),importTraceFiles=function(lines){if(lines.some(line=>/ReactServerComponentsError:/.test(line))||lines.some(line=>/Import trace for requested module:/.test(line))){let files=[];for(;/.+\..+/.test(lines[lines.length-1])&&!lines[lines.length-1].includes(":");){let file=lines.pop().trim();files.unshift(file)}return files}return[]}(lines);return{file,source:lines.join("\n"),importTraceFiles}})(content),[content]),decoded=react_experimental.useMemo(()=>anser_default().ansiToJson(source,{json:!0,use_classes:!0,remove_empty:!0}),[source]),open=useOpenInEditor({file:null==file?void 0:file.fileName,lineNumber:null!=(_file_location_line=null==file?void 0:null==(_file_location=file.location)?void 0:_file_location.line)?_file_location_line:1,column:null!=(_file_location_column=null==file?void 0:null==(_file_location1=file.location)?void 0:_file_location1.column)?_file_location_column:0}),stackFrame={file:null!=(_file_fileName=null==file?void 0:file.fileName)?_file_fileName:null,methodName:"",arguments:[],lineNumber:null!=(_file_location_line1=null==file?void 0:null==(_file_location2=file.location)?void 0:_file_location2.line)?_file_location_line1:null,column:null!=(_file_location_column1=null==file?void 0:null==(_file_location3=file.location)?void 0:_file_location3.column)?_file_location_column1:null},fileExtension=null==stackFrame?void 0:null==(_stackFrame_file=stackFrame.file)?void 0:_stackFrame_file.split(".").pop();return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-codeframe":!0,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"code-frame-header",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"code-frame-link",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"code-frame-icon",children:/*#__PURE__*/(0,jsx_runtime.jsx)(FileIcon,{lang:fileExtension})}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-text":!0,children:getFrameSource(stackFrame)}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{"aria-label":"Open in editor","data-with-open-in-editor-link-source-file":!0,onClick:open,children:/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"code-frame-icon","data-icon":"right",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ExternalIcon,{width:16,height:16})})})]})}),/*#__PURE__*/(0,jsx_runtime.jsxs)("pre",{className:"code-frame-pre",children:[decoded.map((entry,index)=>/*#__PURE__*/(0,jsx_runtime.jsx)("span",{style:{color:entry.fg?"var(--color-"+entry.fg+")":void 0,..."bold"===entry.decoration?{fontWeight:500}:"italic"===entry.decoration?{fontStyle:"italic"}:void 0},children:/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:entry.content})},"terminal-entry-"+index)),importTraceFiles.map(importTraceFile=>/*#__PURE__*/(0,jsx_runtime.jsx)(EditorLink,{isSourceFile:!1,file:importTraceFile},importTraceFile))]})]})},Toast=function(param){let{onClick,children,className,...props}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{...props,onClick:e=>(e.target.closest("a")||e.preventDefault(),null==onClick?void 0:onClick()),className:cx("nextjs-toast",className),children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-toast-wrapper":!0,children:children})})},getErrorTextFromBuildErrorMessage=multiLineMessage=>{let lines=multiLineMessage.split("\n");return strip_ansi_default()(lines[1]||"").replace(/^Error: /,"")},BuildError=function(param){let{message,...props}=param,noop=(0,react_experimental.useCallback)(()=>{},[]),error=Object.defineProperty(Error(message),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),formattedMessage=(0,react_experimental.useMemo)(()=>getErrorTextFromBuildErrorMessage(message)||"Failed to compile",[message]);return/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayLayout,{errorType:"Build Error",errorMessage:formattedMessage,onClose:noop,error:error,footerMessage:"This error occurred during the build process and can only be dismissed by fixing the error.",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)(Terminal,{content:message})})};function CollapseIcon(param){let{collapsed}=void 0===param?{}:param;return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{"data-nextjs-call-stack-chevron-icon":!0,"data-collapsed":collapsed,width:"16",height:"16",fill:"none",..."boolean"==typeof collapsed?{style:{transform:collapsed?void 0:"rotate(90deg)"}}:{},children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{style:{fill:"var(--color-font)"},fillRule:"evenodd",d:"m6.75 3.94.53.53 2.824 2.823a1 1 0 0 1 0 1.414L7.28 11.53l-.53.53L5.69 11l.53-.53L8.69 8 6.22 5.53 5.69 5l1.06-1.06Z",clipRule:"evenodd"})})}function PseudoHtmlDiff(param){let{reactOutputComponentDiff,...props}=param,[isDiffCollapsed,toggleCollapseHtml]=(0,react_experimental.useState)(!0),htmlComponents=(0,react_experimental.useMemo)(()=>{let componentStacks=[];return reactOutputComponentDiff.split("\n").forEach((line,index)=>{let isDiffLine="+"===line[0]||"-"===line[0],isHighlightedLine=">"===line[0],hasSign=isDiffLine||isHighlightedLine,sign=hasSign?line[0]:"",signIndex=hasSign?line.indexOf(sign):-1,[prefix,suffix]=hasSign?[line.slice(0,signIndex),line.slice(signIndex+1)]:[line,""];isDiffLine?componentStacks.push(/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line":!0,"data-nextjs-container-errors-pseudo-html--diff":"+"===sign?"add":"remove",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{children:[prefix,/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line-sign":!0,children:sign}),suffix,"\n"]})},"comp-diff"+index)):componentStacks.push(/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{"data-nextjs-container-errors-pseudo-html-line":!0,...isHighlightedLine?{"data-nextjs-container-errors-pseudo-html--diff":"error"}:void 0,children:[prefix,/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line-sign":!0,children:sign}),suffix,"\n"]},"comp-diff"+index))}),componentStacks},[reactOutputComponentDiff]);return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-nextjs-container-errors-pseudo-html":!0,"data-nextjs-container-errors-pseudo-html-collapse":isDiffCollapsed,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("button",{tabIndex:10,"data-nextjs-container-errors-pseudo-html-collapse-button":!0,onClick:()=>toggleCollapseHtml(!isDiffCollapsed),children:/*#__PURE__*/(0,jsx_runtime.jsx)(CollapseIcon,{collapsed:isDiffCollapsed})}),/*#__PURE__*/(0,jsx_runtime.jsx)("pre",{...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("code",{children:htmlComponents})})]})}let symbolError=Symbol.for("NextjsError");function getErrorSource(error){return error[symbolError]||null}let useFrames=error=>{if("use"in react_experimental_default()){let frames=error.frames;if("function"!=typeof frames)throw Object.defineProperty(Error("Invariant: frames must be a function when the React version has React.use. This is a bug in Next.js."),"__NEXT_ERROR_CODE",{value:"E636",enumerable:!1,configurable:!0});return react_experimental_default().use(frames())}if(!Array.isArray(error.frames))throw Object.defineProperty(Error("Invariant: frames must be an array when the React version does not have React.use. This is a bug in Next.js."),"__NEXT_ERROR_CODE",{value:"E637",enumerable:!1,configurable:!0});return error.frames};async function getErrorByType(ev,isAppDir){let{id,event}=ev;switch(event.type){case ACTION_UNHANDLED_ERROR:case ACTION_UNHANDLED_REJECTION:{let baseError={id,runtime:!0,error:event.reason};if("use"in react_experimental_default()){let readyRuntimeError={...baseError,frames:function(promiseFactory){let cachedPromise=promiseFactory();return function(){return cachedPromise}}(async()=>await getOriginalStackFrames(event.frames,getErrorSource(event.reason),isAppDir))};return event.type===ACTION_UNHANDLED_ERROR&&(readyRuntimeError.componentStackFrames=event.componentStackFrames),readyRuntimeError}{let readyRuntimeError={...baseError,frames:await getOriginalStackFrames(event.frames,getErrorSource(event.reason),isAppDir)};return event.type===ACTION_UNHANDLED_ERROR&&(readyRuntimeError.componentStackFrames=event.componentStackFrames),readyRuntimeError}}}throw Object.defineProperty(Error("type system invariant violation"),"__NEXT_ERROR_CODE",{value:"E335",enumerable:!1,configurable:!0})}function RuntimeError(param){let{error,dialogResizerRef}=param,frames=useFrames(error),firstFrame=(0,react_experimental.useMemo)(()=>{var _frames_firstFirstPartyFrameIndex;let firstFirstPartyFrameIndex=frames.findIndex(entry=>!entry.ignored&&!!entry.originalCodeFrame&&!!entry.originalStackFrame);return null!=(_frames_firstFirstPartyFrameIndex=frames[firstFirstPartyFrameIndex])?_frames_firstFirstPartyFrameIndex:null},[frames]);return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[firstFrame&&/*#__PURE__*/(0,jsx_runtime.jsx)(CodeFrame,{stackFrame:firstFrame.originalStackFrame,codeFrame:firstFrame.originalCodeFrame}),frames.length>0&&/*#__PURE__*/(0,jsx_runtime.jsx)(CallStack,{dialogResizerRef:dialogResizerRef,frames:frames})]})}let digestSym=Symbol.for("next.console.error.digest"),isConsoleError=error=>error&&"NEXT_CONSOLE_ERROR"===error[digestSym];var error_telemetry_utils=__webpack_require__("./dist/esm/lib/error-telemetry-utils.js");let squashedHydrationErrorDetails=new WeakMap;__webpack_require__("./dist/esm/shared/lib/lazy-dynamic/bailout-to-csr.js"),"function"==typeof reportError&&reportError;let recoverableErrors=new WeakSet;function isNextjsLink(text){return text.startsWith("https://nextjs.org")}function HydrationErrorDescription(param){let{message}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:message,matcher:isNextjsLink})}function GenericErrorDescription(param){let{error}=param,environmentName="environmentName"in error?error.environmentName:"",envPrefix=environmentName?"[ "+environmentName+" ] ":"",message=error.message;return message.startsWith(envPrefix)&&(message=message.slice(envPrefix.length)),/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:message,matcher:isNextjsLink})})}let noErrorDetails={hydrationWarning:null,notes:null,reactOutputComponentDiff:null};function Errors(param){var error;let{runtimeErrors,debugInfo,onClose,...props}=param,dialogResizerRef=(0,react_experimental.useRef)(null),isLoading=(0,react_experimental.useMemo)(()=>runtimeErrors.length<1,[runtimeErrors.length]),[activeIdx,setActiveIndex]=(0,react_experimental.useState)(0),activeError=(0,react_experimental.useMemo)(()=>{var _runtimeErrors_activeIdx;return null!=(_runtimeErrors_activeIdx=runtimeErrors[activeIdx])?_runtimeErrors_activeIdx:null},[activeIdx,runtimeErrors]),errorDetails=(error=null==activeError?void 0:activeError.error,(0,react_experimental.useMemo)(()=>{var _pagesRouterErrorDetails_warning,_pagesRouterErrorDetails_reactOutputComponentDiff;if(void 0===error)return noErrorDetails;let pagesRouterErrorDetails=squashedHydrationErrorDetails.has(error)?squashedHydrationErrorDetails.get(error):null;if(null!==pagesRouterErrorDetails)return{hydrationWarning:null!=(_pagesRouterErrorDetails_warning=pagesRouterErrorDetails.warning)?_pagesRouterErrorDetails_warning:null,notes:null,reactOutputComponentDiff:null!=(_pagesRouterErrorDetails_reactOutputComponentDiff=pagesRouterErrorDetails.reactOutputComponentDiff)?_pagesRouterErrorDetails_reactOutputComponentDiff:null};if(!(isErrorMessageWithComponentStackDiff(error.message)||/Hydration failed because the server rendered (text|HTML) didn't match the client\./.test(error.message)||/A tree hydrated but some attributes of the server rendered HTML didn't match the client properties./.test(error.message)))return noErrorDetails;let{message,notes,diff}=function(error){let errorMessage=error.message;if(isErrorMessageWithComponentStackDiff(errorMessage)){let[message,diffLog=""]=errorMessage.split("\n\n"),diff=diffLog.trim();return{message:""===diff?errorMessage.trim():message.trim(),diff,notes:null}}let[message,maybeComponentStackDiff]=errorMessage.split(""+REACT_HYDRATION_ERROR_LINK),trimmedMessage=message.trim();if(void 0!==maybeComponentStackDiff&&maybeComponentStackDiff.length>1){let diffs=[];maybeComponentStackDiff.split("\n").forEach(line=>{""===line.trim()||line.trim().startsWith("at ")||diffs.push(line)});let[displayedMessage,...notes]=trimmedMessage.split("\n\n");return{message:displayedMessage,diff:diffs.join("\n"),notes:notes.join("\n\n")||null}}{let[displayedMessage,...notes]=trimmedMessage.split("\n\n");return{message:displayedMessage,diff:null,notes:notes.join("\n\n")}}}(error);return null===message?noErrorDetails:{hydrationWarning:message,notes,reactOutputComponentDiff:diff}},[error]));if(isLoading)return/*#__PURE__*/(0,jsx_runtime.jsx)(Overlay,{});if(!activeError)return null;let error1=activeError.error,isServerError=["server","edge-server"].includes(getErrorSource(error1)||""),errorType=recoverableErrors.has(error1)?"Recoverable "+error1.name:isConsoleError(error1)?"Console "+error1.name:"Runtime "+error1.name,notes=errorDetails.notes,hydrationWarning=errorDetails.hydrationWarning,errorCode=(0,error_telemetry_utils.extractNextErrorCode)(error1);return/*#__PURE__*/(0,jsx_runtime.jsxs)(ErrorOverlayLayout,{errorCode:errorCode,errorType:errorType,errorMessage:hydrationWarning?/*#__PURE__*/(0,jsx_runtime.jsx)(HydrationErrorDescription,{message:hydrationWarning}):/*#__PURE__*/(0,jsx_runtime.jsx)(GenericErrorDescription,{error:error1}),onClose:isServerError?void 0:onClose,debugInfo:debugInfo,error:error1,runtimeErrors:runtimeErrors,activeIdx:activeIdx,setActiveIndex:setActiveIndex,footerMessage:isServerError?"This error happened while generating the page. Any console logs will be displayed in the terminal window.":void 0,dialogResizerRef:dialogResizerRef,...props,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"error-overlay-notes-container",children:[notes?/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:/*#__PURE__*/(0,jsx_runtime.jsx)("p",{id:"nextjs__container_errors__notes",className:"nextjs__container_errors__notes",children:notes})}):null,hydrationWarning?/*#__PURE__*/(0,jsx_runtime.jsx)("p",{id:"nextjs__container_errors__link",className:"nextjs__container_errors__link",children:/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:"See more info here: "+NEXTJS_HYDRATION_ERROR_LINK})}):null]}),errorDetails.reactOutputComponentDiff?/*#__PURE__*/(0,jsx_runtime.jsx)(PseudoHtmlDiff,{className:"nextjs__container_errors__component-stack",reactOutputComponentDiff:errorDetails.reactOutputComponentDiff||""}):null,/*#__PURE__*/(0,jsx_runtime.jsx)(react_experimental.Suspense,{fallback:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-error-suspended":!0}),children:/*#__PURE__*/(0,jsx_runtime.jsx)(RuntimeError,{error:activeError,dialogResizerRef:dialogResizerRef},activeError.id.toString())})]})}function next_logo_templateObject(){let data=_tagged_template_literal_loose(["\n [data-next-badge-root] {\n --timing: cubic-bezier(0.23, 0.88, 0.26, 0.92);\n --duration-long: 250ms;\n --color-outer-border: #171717;\n --color-inner-border: hsla(0, 0%, 100%, 0.14);\n --color-hover-alpha-subtle: hsla(0, 0%, 100%, 0.13);\n --color-hover-alpha-error: hsla(0, 0%, 100%, 0.2);\n --color-hover-alpha-error-2: hsla(0, 0%, 100%, 0.25);\n --mark-size: calc(var(--size) - var(--size-2) * 2);\n\n --focus-color: var(--color-blue-800);\n --focus-ring: 2px solid var(--focus-color);\n\n &:has([data-next-badge][data-error='true']) {\n --focus-color: #fff;\n }\n }\n\n [data-disabled-icon] {\n display: flex;\n align-items: center;\n justify-content: center;\n padding-right: 4px;\n }\n\n [data-next-badge] {\n -webkit-font-smoothing: antialiased;\n width: var(--size);\n height: var(--size);\n display: flex;\n align-items: center;\n position: relative;\n background: rgba(0, 0, 0, 0.8);\n box-shadow:\n 0 0 0 1px var(--color-outer-border),\n inset 0 0 0 1px var(--color-inner-border),\n 0px 16px 32px -8px rgba(0, 0, 0, 0.24);\n backdrop-filter: blur(48px);\n border-radius: var(--rounded-full);\n user-select: none;\n cursor: pointer;\n scale: 1;\n overflow: hidden;\n will-change: scale, box-shadow, width, background;\n transition:\n scale var(--duration-short) var(--timing),\n width var(--duration-long) var(--timing),\n box-shadow var(--duration-long) var(--timing),\n background var(--duration-short) ease;\n\n &:active[data-error='false'] {\n scale: 0.95;\n }\n\n &[data-animate='true']:not(:hover) {\n scale: 1.02;\n }\n\n &[data-error='false']:has([data-next-mark]:focus-visible) {\n outline: var(--focus-ring);\n outline-offset: 3px;\n }\n\n &[data-error='true'] {\n background: #ca2a30;\n --color-inner-border: #e5484d;\n\n [data-next-mark] {\n background: var(--color-hover-alpha-error);\n outline-offset: 0px;\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -1px;\n }\n\n &:hover {\n background: var(--color-hover-alpha-error-2);\n }\n }\n }\n\n &[data-error-expanded='false'][data-error='true'] ~ [data-dot] {\n scale: 1;\n }\n\n > div {\n display: flex;\n }\n }\n\n [data-issues-collapse]:focus-visible {\n outline: var(--focus-ring);\n }\n\n [data-issues]:has([data-issues-open]:focus-visible) {\n outline: var(--focus-ring);\n outline-offset: -1px;\n }\n\n [data-dot] {\n content: '';\n width: var(--size-8);\n height: var(--size-8);\n background: #fff;\n box-shadow: 0 0 0 1px var(--color-outer-border);\n border-radius: 50%;\n position: absolute;\n top: 2px;\n right: 0px;\n scale: 0;\n pointer-events: none;\n transition: scale 200ms var(--timing);\n transition-delay: var(--duration-short);\n }\n\n [data-issues] {\n --padding-left: 8px;\n display: flex;\n gap: 2px;\n align-items: center;\n padding-left: 8px;\n padding-right: 8px;\n height: var(--size-32);\n margin-right: 2px;\n border-radius: var(--rounded-full);\n transition: background var(--duration-short) ease;\n\n &:has([data-issues-open]:hover) {\n background: var(--color-hover-alpha-error);\n }\n\n &:has([data-issues-collapse]) {\n padding-right: calc(var(--padding-left) / 2);\n }\n\n [data-cross] {\n translate: 0px -1px;\n }\n }\n\n [data-issues-open] {\n font-size: var(--size-13);\n color: white;\n width: fit-content;\n height: 100%;\n display: flex;\n gap: 2px;\n align-items: center;\n margin: 0;\n line-height: var(--size-36);\n font-weight: 500;\n z-index: 2;\n white-space: nowrap;\n\n &:focus-visible {\n outline: 0;\n }\n }\n\n [data-issues-collapse] {\n width: var(--size-24);\n height: var(--size-24);\n border-radius: var(--rounded-full);\n transition: background var(--duration-short) ease;\n\n &:hover {\n background: var(--color-hover-alpha-error);\n }\n }\n\n [data-cross] {\n color: #fff;\n width: var(--size-12);\n height: var(--size-12);\n }\n\n [data-next-mark] {\n width: var(--mark-size);\n height: var(--mark-size);\n margin: 0 2px;\n display: flex;\n align-items: center;\n border-radius: var(--rounded-full);\n transition: background var(--duration-long) var(--timing);\n\n &:focus-visible {\n outline: 0;\n }\n\n &:hover {\n background: var(--color-hover-alpha-subtle);\n }\n\n svg {\n flex-shrink: 0;\n width: var(--size-40);\n height: var(--size-40);\n }\n }\n\n [data-issues-count-animation] {\n display: grid;\n place-items: center center;\n font-variant-numeric: tabular-nums;\n\n &[data-animate='false'] {\n [data-issues-count-exit],\n [data-issues-count-enter] {\n animation-duration: 0ms;\n }\n }\n\n > * {\n grid-area: 1 / 1;\n }\n\n [data-issues-count-exit] {\n animation: fadeOut 300ms var(--timing) forwards;\n }\n\n [data-issues-count-enter] {\n animation: fadeIn 300ms var(--timing) forwards;\n }\n }\n\n [data-issues-count-plural] {\n display: inline-block;\n &[data-animate='true'] {\n animation: fadeIn 300ms var(--timing) forwards;\n }\n }\n\n .path0 {\n animation: draw0 1.5s ease-in-out infinite;\n }\n\n .path1 {\n animation: draw1 1.5s ease-out infinite;\n animation-delay: 0.3s;\n }\n\n .paused {\n stroke-dashoffset: 0;\n }\n\n @keyframes fadeIn {\n 0% {\n opacity: 0;\n filter: blur(2px);\n transform: translateY(8px);\n }\n 100% {\n opacity: 1;\n filter: blur(0px);\n transform: translateY(0);\n }\n }\n\n @keyframes fadeOut {\n 0% {\n opacity: 1;\n filter: blur(0px);\n transform: translateY(0);\n }\n 100% {\n opacity: 0;\n transform: translateY(-12px);\n filter: blur(2px);\n }\n }\n\n @keyframes draw0 {\n 0%,\n 25% {\n stroke-dashoffset: -29.6;\n }\n 25%,\n 50% {\n stroke-dashoffset: 0;\n }\n 50%,\n 75% {\n stroke-dashoffset: 0;\n }\n 75%,\n 100% {\n stroke-dashoffset: 29.6;\n }\n }\n\n @keyframes draw1 {\n 0%,\n 20% {\n stroke-dashoffset: -11.6;\n }\n 20%,\n 50% {\n stroke-dashoffset: 0;\n }\n 50%,\n 75% {\n stroke-dashoffset: 0;\n }\n 75%,\n 100% {\n stroke-dashoffset: 11.6;\n }\n }\n\n @media (prefers-reduced-motion) {\n [data-issues-count-exit],\n [data-issues-count-enter],\n [data-issues-count-plural] {\n animation-duration: 0ms !important;\n }\n }\n "]);return next_logo_templateObject=function(){return data},data}let NextLogo=/*#__PURE__*/(0,react_experimental.forwardRef)(function(param,propRef){let{disabled,issueCount,isDevBuilding,isDevRendering,isBuildError,onTriggerClick,toggleErrorOverlay,scale=1,...props}=param,hasError=issueCount>0,[isErrorExpanded,setIsErrorExpanded]=(0,react_experimental.useState)(hasError),[dismissed,setDismissed]=(0,react_experimental.useState)(!1),newErrorDetected=function(issueCount,animationDurationMs){void 0===animationDurationMs&&(animationDurationMs=0);let lastUpdatedTimeStamp=(0,react_experimental.useRef)(null),[animate,setAnimate]=(0,react_experimental.useState)(!1);return(0,react_experimental.useEffect)(()=>{if(issueCount>0){let deltaMs=lastUpdatedTimeStamp.current?Date.now()-lastUpdatedTimeStamp.current:-1;if(lastUpdatedTimeStamp.current=Date.now(),deltaMs<=animationDurationMs)return;setAnimate(!0);let timeoutId=window.setTimeout(()=>{setAnimate(!1)},animationDurationMs);return()=>{clearTimeout(timeoutId)}}},[issueCount,animationDurationMs]),animate}(issueCount,150),triggerRef=(0,react_experimental.useRef)(null),ref=(0,react_experimental.useRef)(null),measuredWidth=function(ref){let[width,setWidth]=(0,react_experimental.useState)(0);return(0,react_experimental.useEffect)(()=>{let el=ref.current;if(!el)return;let observer=new ResizeObserver(param=>{let[{contentRect}]=param;setWidth(contentRect.width)});return observer.observe(el),()=>observer.disconnect()},[ref]),width}(ref),isLoading=function(isLoadingTrigger,interval){void 0===interval&&(interval=750);let[isLoading,setIsLoading]=(0,react_experimental.useState)(!1),loadStartTimeRef=(0,react_experimental.useRef)(null),timeoutIdRef=(0,react_experimental.useRef)(null);return(0,react_experimental.useEffect)(()=>{if(timeoutIdRef.current&&(clearTimeout(timeoutIdRef.current),timeoutIdRef.current=null),isLoadingTrigger)null===loadStartTimeRef.current&&(loadStartTimeRef.current=Date.now()),setIsLoading(!0);else if(null===loadStartTimeRef.current)setIsLoading(!1);else{let timeDiff=Date.now()-loadStartTimeRef.current,remainingTime=interval*Math.ceil(timeDiff/interval)-timeDiff;remainingTime>0?timeoutIdRef.current=setTimeout(()=>{setIsLoading(!1),loadStartTimeRef.current=null},remainingTime):(setIsLoading(!1),loadStartTimeRef.current=null)}return()=>{timeoutIdRef.current&&clearTimeout(timeoutIdRef.current)}},[isLoadingTrigger,interval]),isLoading}(isDevBuilding||isDevRendering),isExpanded=isErrorExpanded||disabled;return(0,react_experimental.useEffect)(()=>{setIsErrorExpanded(hasError)},[hasError]),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-next-badge-root":!0,style:{"--size":""+36/scale+"px","--duration-short":"150ms",display:disabled&&(!hasError||dismissed)?"none":"block"},children:[/*#__PURE__*/(0,jsx_runtime.jsx)("style",{children:css(next_logo_templateObject())}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-next-badge":!0,"data-error":hasError,"data-error-expanded":isExpanded,"data-animate":newErrorDetected,style:{width:0===measuredWidth?"auto":measuredWidth},children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{ref:ref,children:[!disabled&&/*#__PURE__*/(0,jsx_runtime.jsx)("button",{ref:function(){for(var _len=arguments.length,inputRefs=Array(_len),_key=0;_key<_len;_key++)inputRefs[_key]=arguments[_key];let filteredInputRefs=inputRefs.filter(Boolean);return filteredInputRefs.length<=1?filteredInputRefs[0]||null:function(ref){for(let inputRef of filteredInputRefs)"function"==typeof inputRef?inputRef(ref):inputRef&&(inputRef.current=ref)}}(triggerRef,propRef),"data-next-mark":!0,"data-next-mark-loading":isLoading,onClick:onTriggerClick,...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)(NextMark,{isLoading:isLoading,isDevBuilding:isDevBuilding})}),isExpanded&&/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-issues":!0,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("button",{"data-issues-open":!0,"aria-label":"Open issues overlay",onClick:toggleErrorOverlay,children:[disabled&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-disabled-icon":!0,children:/*#__PURE__*/(0,jsx_runtime.jsx)(Warning,{})}),/*#__PURE__*/(0,jsx_runtime.jsx)(AnimateCount,{animate:newErrorDetected,"data-issues-count-animation":!0,children:issueCount},issueCount)," ",/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{children:["Issue",issueCount>1&&/*#__PURE__*/(0,jsx_runtime.jsx)("span",{"aria-hidden":!0,"data-issues-count-plural":!0,"data-animate":newErrorDetected&&2===issueCount,children:"s"})]})]}),!isBuildError&&/*#__PURE__*/(0,jsx_runtime.jsx)("button",{"data-issues-collapse":!0,"aria-label":"Collapse issues badge",onClick:()=>{var _triggerRef_current;disabled?setDismissed(!0):setIsErrorExpanded(!1),null==(_triggerRef_current=triggerRef.current)||_triggerRef_current.focus()},children:/*#__PURE__*/(0,jsx_runtime.jsx)(Cross,{"data-cross":!0})})]})]})}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"aria-hidden":!0,"data-dot":!0})]})});function AnimateCount(param){let{children:count,animate=!0,...props}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{...props,"data-animate":animate,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"aria-hidden":!0,"data-issues-count-exit":!0,children:count-1}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-issues-count":!0,"data-issues-count-enter":!0,children:count})]})}function NextMark(param){let{isLoading,isDevBuilding}=param,strokeColor=isDevBuilding?"rgba(255,255,255,0.7)":"white";return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none","data-next-mark-loading":isLoading,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("g",{transform:"translate(8.5, 13)",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("path",{className:isLoading?"path0":"paused",d:"M13.3 15.2 L2.34 1 V12.6",fill:"none",stroke:"url(#next_logo_paint0_linear_1357_10853)",strokeWidth:"1.86",mask:"url(#next_logo_mask0)",strokeDasharray:"29.6",strokeDashoffset:"29.6"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{className:isLoading?"path1":"paused",d:"M11.825 1.5 V13.1",strokeWidth:"1.86",stroke:"url(#next_logo_paint1_linear_1357_10853)",strokeDasharray:"11.6",strokeDashoffset:"11.6"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("defs",{children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("linearGradient",{id:"next_logo_paint0_linear_1357_10853",x1:"9.95555",y1:"11.1226",x2:"15.4778",y2:"17.9671",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{stopColor:strokeColor}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:"0.604072",stopColor:strokeColor,stopOpacity:"0"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:"1",stopColor:strokeColor,stopOpacity:"0"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("linearGradient",{id:"next_logo_paint1_linear_1357_10853",x1:"11.8222",y1:"1.40039",x2:"11.791",y2:"9.62542",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{stopColor:strokeColor}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:"1",stopColor:strokeColor,stopOpacity:"0"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("mask",{id:"next_logo_mask0",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),/*#__PURE__*/(0,jsx_runtime.jsx)("rect",{width:"5",height:"1.5",fill:"black"})]})]})]})}function Warning(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.98071 1.125L1.125 3.98071L1.125 8.01929L3.98071 10.875H8.01929L10.875 8.01929V3.98071L8.01929 1.125H3.98071ZM3.82538 0C3.62647 0 3.4357 0.0790176 3.29505 0.21967L0.21967 3.29505C0.0790176 3.4357 0 3.62647 0 3.82538V8.17462C0 8.37353 0.0790178 8.5643 0.21967 8.70495L3.29505 11.7803C3.4357 11.921 3.62647 12 3.82538 12H8.17462C8.37353 12 8.5643 11.921 8.70495 11.7803L11.7803 8.70495C11.921 8.5643 12 8.37353 12 8.17462V3.82538C12 3.62647 11.921 3.4357 11.7803 3.29505L8.70495 0.21967C8.5643 0.0790177 8.37353 0 8.17462 0H3.82538ZM6.5625 2.8125V3.375V6V6.5625H5.4375V6V3.375V2.8125H6.5625ZM6 9C6.41421 9 6.75 8.66421 6.75 8.25C6.75 7.83579 6.41421 7.5 6 7.5C5.58579 7.5 5.25 7.83579 5.25 8.25C5.25 8.66421 5.58579 9 6 9Z",fill:"#EAEAEA"})})}function Cross(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.08889 11.8384L2.62486 12.3024L1.69678 11.3744L2.16082 10.9103L6.07178 6.99937L2.16082 3.08841L1.69678 2.62437L2.62486 1.69629L3.08889 2.16033L6.99986 6.07129L10.9108 2.16033L11.3749 1.69629L12.3029 2.62437L11.8389 3.08841L7.92793 6.99937L11.8389 10.9103L12.3029 11.3744L11.3749 12.3024L10.9108 11.8384L6.99986 7.92744L3.08889 11.8384Z",fill:"currentColor"})})}let NOOP=()=>{},devBuildIndicator={show:NOOP,hide:NOOP},listeners=[],subscribe=listener=>(listeners.push(listener),()=>{listeners=listeners.filter(l=>l!==listener)}),getSnapshot=()=>!1;var dev_render_indicator=__webpack_require__("./dist/esm/client/components/react-dev-overlay/utils/dev-indicator/dev-render-indicator.js");function useDelayedRender(active,options){void 0===active&&(active=!1),void 0===options&&(options={});let[mounted,setMounted]=(0,react_experimental.useState)(active),[rendered,setRendered]=(0,react_experimental.useState)(!1),renderTimerRef=(0,react_experimental.useRef)(null),unmountTimerRef=(0,react_experimental.useRef)(null),clearTimers=(0,react_experimental.useCallback)(()=>{null!==renderTimerRef.current&&(window.clearTimeout(renderTimerRef.current),renderTimerRef.current=null),null!==unmountTimerRef.current&&(window.clearTimeout(unmountTimerRef.current),unmountTimerRef.current=null)},[]);return(0,react_experimental.useEffect)(()=>{let{enterDelay=1,exitDelay=0}=options;return clearTimers(),active?(setMounted(!0),enterDelay<=0?setRendered(!0):renderTimerRef.current=window.setTimeout(()=>{setRendered(!0)},enterDelay)):(setRendered(!1),exitDelay<=0?setMounted(!1):unmountTimerRef.current=window.setTimeout(()=>{setMounted(!1)},exitDelay)),clearTimers},[active,options,clearTimers]),{mounted,rendered}}function DevToolsInfo(param){let{title,children,learnMoreLink,isOpen,triggerRef,close,...props}=param,ref=(0,react_experimental.useRef)(null),closeButtonRef=(0,react_experimental.useRef)(null),{mounted,rendered}=useDelayedRender(isOpen,{enterDelay:0,exitDelay:200});return(useFocusTrap(ref,triggerRef,isOpen,()=>{var _closeButtonRef_current;null==(_closeButtonRef_current=closeButtonRef.current)||_closeButtonRef_current.focus()}),useClickOutside(ref,triggerRef,isOpen,close),mounted)?/*#__PURE__*/(0,jsx_runtime.jsx)("div",{tabIndex:-1,role:"dialog",ref:ref,"data-info-popover":!0,...props,"data-rendered":rendered,children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-container",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("h1",{className:"dev-tools-info-title",children:title}),children,/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-button-container",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("button",{ref:closeButtonRef,className:"dev-tools-info-close-button",onClick:close,children:"Close"}),learnMoreLink&&/*#__PURE__*/(0,jsx_runtime.jsx)("a",{className:"dev-tools-info-learn-more-button",href:learnMoreLink,target:"_blank",rel:"noreferrer noopener",children:"Learn More"})]})]})}):null}function TurbopackInfo(props){return/*#__PURE__*/(0,jsx_runtime.jsxs)(DevToolsInfo,{title:"Turbopack",learnMoreLink:"https://nextjs.org/docs/app/api-reference/turbopack",...props,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("article",{className:"dev-tools-info-article",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-paragraph",children:["Turbopack is an incremental bundler optimized for JavaScript and TypeScript, written in Rust, and built into Next.js. Turbopack can be used in Next.js in both the"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:"pages"})," and"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:"app"})," directories for faster local development."]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-paragraph",children:["To enable Turbopack, use the"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:"--turbopack"})," flag when running the Next.js development server."]})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-info-code-block-container",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-code-block",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(CopyButton,{actionLabel:"Copy Next.js Turbopack Command",successLabel:"Next.js Turbopack Command Copied",content:"--turbopack",className:"dev-tools-info-copy-button"}),/*#__PURE__*/(0,jsx_runtime.jsx)("pre",{className:"dev-tools-info-code-block-pre",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("code",{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-info-code-block-line",children:" "}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-info-code-block-line",children:"{"}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-code-block-line",children:[" ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-key",children:'"scripts"'}),": ","{"]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-code-block-line dev-tools-info-highlight",children:[" ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-key",children:'"dev"'}),":"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-value",children:'"next dev --turbopack"'}),","]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-code-block-line",children:[" ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-key",children:'"build"'}),":"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-value",children:'"next build"'}),","]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-code-block-line",children:[" ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-key",children:'"start"'}),":"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-value",children:'"next start"'}),","]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-info-code-block-line",children:[" ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-key",children:'"lint"'}),":"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-info-code-block-json-value",children:'"next lint"'})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-info-code-block-line",children:" }"}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-info-code-block-line",children:"}"}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-info-code-block-line",children:" "})]})})]})})]})}function StaticRouteContent(param){let{routerType}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("article",{className:"dev-tools-info-article",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-paragraph",children:["The path"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:window.location.pathname})," ",'is marked as "static" since it will be prerendered during the build time.']}),/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-paragraph",children:["With Static Rendering, routes are rendered at build time, or in the background after"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("a",{className:"dev-tools-info-link",href:"pages"===routerType?"https://nextjs.org/docs/pages/building-your-application/data-fetching/incremental-static-regeneration":"https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration",target:"_blank",rel:"noopener noreferrer",children:"data revalidation"}),"."]}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"dev-tools-info-paragraph",children:"Static rendering is useful when a route has data that is not personalized to the user and can be known at build time, such as a static blog post or a product page."})]})}function DynamicRouteContent(param){let{routerType}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("article",{className:"dev-tools-info-article",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-paragraph",children:["The path"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:window.location.pathname})," ",'is marked as "dynamic" since it will be rendered for each user at'," ",/*#__PURE__*/(0,jsx_runtime.jsx)("strong",{children:"request time"}),"."]}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"dev-tools-info-paragraph",children:"Dynamic rendering is useful when a route has data that is personalized to the user or has information that can only be known at request time, such as cookies or the URL's search params."}),"pages"===routerType?/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-pagraph",children:["Exporting the"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("a",{className:"dev-tools-info-link",href:"https://nextjs.org/docs/pages/building-your-application/data-fetching/get-server-side-props",target:"_blank",rel:"noopener noreferrer",children:"getServerSideProps"})," ","function will opt the route into dynamic rendering. This function will be called by the server on every request."]}):/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"dev-tools-info-paragraph",children:["During rendering, if a"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("a",{className:"dev-tools-info-link",href:"https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-apis",target:"_blank",rel:"noopener noreferrer",children:"Dynamic API"})," ","or a"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("a",{className:"dev-tools-info-link",href:"https://nextjs.org/docs/app/api-reference/functions/fetch",target:"_blank",rel:"noopener noreferrer",children:"fetch"})," ","option of"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:"{ cache: 'no-store' }"})," ","is discovered, Next.js will switch to dynamically rendering the whole route."]})]})}let learnMoreLink={pages:{static:"https://nextjs.org/docs/pages/building-your-application/rendering/static-site-generation",dynamic:"https://nextjs.org/docs/pages/building-your-application/rendering/server-side-rendering"},app:{static:"https://nextjs.org/docs/app/building-your-application/rendering/server-components#static-rendering-default",dynamic:"https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-rendering"}};function RouteInfo(param){let{routeType,routerType,...props}=param,isStaticRoute="Static"===routeType,learnMore=isStaticRoute?learnMoreLink[routerType].static:learnMoreLink[routerType].dynamic;return/*#__PURE__*/(0,jsx_runtime.jsx)(DevToolsInfo,{title:""+routeType+" Route",learnMoreLink:learnMore,...props,children:isStaticRoute?/*#__PURE__*/(0,jsx_runtime.jsx)(StaticRouteContent,{routerType:routerType}):/*#__PURE__*/(0,jsx_runtime.jsx)(DynamicRouteContent,{routerType:routerType})})}function GearIcon(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m9.7 3.736.045-.236h.51l.044.236a2.024 2.024 0 0 0 1.334 1.536c.19.066.375.143.554.23.618.301 1.398.29 2.03-.143l.199-.136.36.361-.135.199a2.024 2.024 0 0 0-.143 2.03c.087.179.164.364.23.554.224.65.783 1.192 1.536 1.334l.236.044v.51l-.236.044a2.024 2.024 0 0 0-1.536 1.334 4.95 4.95 0 0 1-.23.554 2.024 2.024 0 0 0 .143 2.03l.136.199-.361.36-.199-.135a2.024 2.024 0 0 0-2.03-.143c-.179.087-.364.164-.554.23a2.024 2.024 0 0 0-1.334 1.536l-.044.236h-.51l-.044-.236a2.024 2.024 0 0 0-1.334-1.536 4.952 4.952 0 0 1-.554-.23 2.024 2.024 0 0 0-2.03.143l-.199.136-.36-.361.135-.199a2.024 2.024 0 0 0 .143-2.03 4.958 4.958 0 0 1-.23-.554 2.024 2.024 0 0 0-1.536-1.334l-.236-.044v-.51l.236-.044a2.024 2.024 0 0 0 1.536-1.334 4.96 4.96 0 0 1 .23-.554 2.024 2.024 0 0 0-.143-2.03l-.136-.199.361-.36.199.135a2.024 2.024 0 0 0 2.03.143c.179-.087.364-.164.554-.23a2.024 2.024 0 0 0 1.334-1.536ZM8.5 2h3l.274 1.46c.034.185.17.333.348.394.248.086.49.186.722.3.17.082.37.074.526-.033l1.226-.839 2.122 2.122-.84 1.226a.524.524 0 0 0-.032.526c.114.233.214.474.3.722.061.177.21.314.394.348L18 8.5v3l-1.46.274a.524.524 0 0 0-.394.348 6.47 6.47 0 0 1-.3.722.524.524 0 0 0 .033.526l.839 1.226-2.122 2.122-1.226-.84a.524.524 0 0 0-.526-.032 6.477 6.477 0 0 1-.722.3.524.524 0 0 0-.348.394L11.5 18h-3l-.274-1.46a.524.524 0 0 0-.348-.394 6.477 6.477 0 0 1-.722-.3.524.524 0 0 0-.526.033l-1.226.839-2.122-2.122.84-1.226a.524.524 0 0 0 .032-.526 6.453 6.453 0 0 1-.3-.722.524.524 0 0 0-.394-.348L2 11.5v-3l1.46-.274a.524.524 0 0 0 .394-.348c.086-.248.186-.49.3-.722a.524.524 0 0 0-.033-.526l-.839-1.226 2.122-2.122 1.226.84a.524.524 0 0 0 .526.032 6.46 6.46 0 0 1 .722-.3.524.524 0 0 0 .348-.394L8.5 2Zm3 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm1.5 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z",clipRule:"evenodd"})})}function EyeIcon(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m.191 2.063.56.498 13.5 12 .561.498.997-1.121-.56-.498-1.81-1.608 2.88-3.342v-.98l-3.204-3.72C10.645.923 6.365.686 3.594 3.08L1.748 1.44 1.188.94.19 2.063ZM14.761 8l-2.442 2.836-1.65-1.466a3.001 3.001 0 0 0-4.342-3.86l-1.6-1.422a5.253 5.253 0 0 1 7.251.682L14.76 8ZM7.526 6.576l1.942 1.727a1.499 1.499 0 0 0-1.942-1.727Zm-7.845.935 1.722-2 1.137.979L1.24 8l2.782 3.23A5.25 5.25 0 0 0 9.9 12.703l.54 1.4a6.751 6.751 0 0 1-7.555-1.892L-.318 8.49v-.98Z",clipRule:"evenodd"})})}function LightIcon(){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"16",viewBox:"0 0 16 16",fill:"none",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("g",{clipPath:"url(#light_icon_clip_path)",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.75.75V0h-1.5v2h1.5V.75ZM3.26 4.32l-.53-.53-.354-.353-.53-.53 1.06-1.061.53.53.354.354.53.53-1.06 1.06Zm8.42-1.06.53-.53.353-.354.53-.53 1.061 1.06-.53.53-.354.354-.53.53-1.06-1.06ZM8 11.25a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5Zm0 1.5a4.75 4.75 0 1 0 0-9.5 4.75 4.75 0 0 0 0 9.5Zm6-5.5h2v1.5h-2v-1.5Zm-13.25 0H0v1.5h2v-1.5H.75Zm1.62 5.32-.53.53 1.06 1.06.53-.53.354-.353.53-.53-1.06-1.061-.53.53-.354.354Zm10.2 1.06.53.53 1.06-1.06-.53-.53-.354-.354-.53-.53-1.06 1.06.53.53.353.354ZM8.75 14v2h-1.5v-2h1.5Z",clipRule:"evenodd"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("defs",{children:/*#__PURE__*/(0,jsx_runtime.jsx)("clipPath",{id:"light_icon_clip_path",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]})}function DarkIcon(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{"data-testid":"geist-icon",height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 8.00005C1.5 5.53089 2.99198 3.40932 5.12349 2.48889C4.88136 3.19858 4.75 3.95936 4.75 4.7501C4.75 8.61609 7.88401 11.7501 11.75 11.7501C11.8995 11.7501 12.048 11.7454 12.1953 11.7361C11.0955 13.1164 9.40047 14.0001 7.5 14.0001C4.18629 14.0001 1.5 11.3138 1.5 8.00005ZM6.41706 0.577759C2.78784 1.1031 0 4.22536 0 8.00005C0 12.1422 3.35786 15.5001 7.5 15.5001C10.5798 15.5001 13.2244 13.6438 14.3792 10.9921L13.4588 9.9797C12.9218 10.155 12.3478 10.2501 11.75 10.2501C8.71243 10.2501 6.25 7.78767 6.25 4.7501C6.25 3.63431 6.58146 2.59823 7.15111 1.73217L6.41706 0.577759ZM13.25 1V1.75V2.75L14.25 2.75H15V4.25H14.25H13.25V5.25V6H11.75V5.25V4.25H10.75L10 4.25V2.75H10.75L11.75 2.75V1.75V1H13.25Z",fill:"currentColor"})})}function SystemIcon(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",strokeLinejoin:"round",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8.5a1 1 0 0 1-1 1H8.75v3h1.75V16h-5v-1.5h1.75v-3H1a1 1 0 0 1-1-1V2Zm1.5.5V10h13V2.5h-13Z",clipRule:"evenodd"})})}let INDICATOR_POSITION=process.env.__NEXT_DEV_INDICATOR_POSITION||"bottom-left",NEXT_DEV_TOOLS_SCALE={Small:16/14,Medium:1,Large:16/18};function user_preferences_templateObject(){let data=_tagged_template_literal_loose(["\n .preferences-container {\n padding: 8px 6px;\n width: 100%;\n }\n\n @media (min-width: 576px) {\n .preferences-container {\n width: 480px;\n }\n }\n\n .preference-section:first-child {\n padding-top: 0;\n }\n\n .preference-section {\n padding: 12px 0;\n border-bottom: 1px solid var(--color-gray-400);\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 24px;\n }\n\n .preference-section:last-child {\n border-bottom: none;\n }\n\n .preference-header {\n margin-bottom: 0;\n flex: 1;\n }\n\n .preference-header label {\n font-size: var(--size-14);\n font-weight: 500;\n color: var(--color-gray-1000);\n margin: 0;\n }\n\n .preference-description {\n color: var(--color-gray-900);\n font-size: var(--size-14);\n margin: 0;\n }\n\n .select-button,\n .action-button {\n display: flex;\n align-items: center;\n gap: 8px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-400);\n border-radius: var(--rounded-lg);\n font-weight: 400;\n font-size: var(--size-14);\n color: var(--color-gray-1000);\n padding: 6px 8px;\n\n &:hover {\n background: var(--color-gray-100);\n }\n }\n\n .select-button {\n &:focus-within {\n outline: var(--focus-ring);\n }\n\n select {\n all: unset;\n }\n }\n\n :global(.icon) {\n width: 18px;\n height: 18px;\n color: #666;\n }\n"]);return user_preferences_templateObject=function(){return data},data}function UserPreferences(param){let{setPosition,position,hide,scale,setScale,...props}=param,[theme,setTheme]=(0,react_experimental.useState)(function(){if("undefined"==typeof localStorage)return"system";let theme=localStorage.getItem(STORAGE_KEY_THEME);return"dark"===theme||"light"===theme?theme:"system"}());return/*#__PURE__*/(0,jsx_runtime.jsx)(DevToolsInfo,{title:"Preferences",...props,children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preferences-container",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-section",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-header",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("label",{htmlFor:"theme",children:"Theme"}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"preference-description",children:"Select your theme preference."})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)(Select,{id:"theme",name:"theme",prefix:/*#__PURE__*/(0,jsx_runtime.jsx)(ThemeIcon,{theme:theme}),value:theme,onChange:e=>{let portal=document.querySelector("nextjs-portal");if(portal){if(setTheme(e.target.value),"system"===e.target.value){portal.classList.remove("dark"),portal.classList.remove("light"),localStorage.removeItem(STORAGE_KEY_THEME);return}"dark"===e.target.value?(portal.classList.add("dark"),portal.classList.remove("light"),localStorage.setItem(STORAGE_KEY_THEME,"dark")):(portal.classList.remove("dark"),portal.classList.add("light"),localStorage.setItem(STORAGE_KEY_THEME,"light"))}},children:[/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"system",children:"System"}),/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"light",children:"Light"}),/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"dark",children:"Dark"})]})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-section",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-header",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("label",{htmlFor:"position",children:"Position"}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"preference-description",children:"Adjust the placement of your dev tools."})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)(Select,{id:"position",name:"position",value:position,onChange:function(e){setPosition(e.target.value),localStorage.setItem(STORAGE_KEY_POSITION,e.target.value)},children:[/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"bottom-left",children:"Bottom Left"}),/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"bottom-right",children:"Bottom Right"}),/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"top-left",children:"Top Left"}),/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:"top-right",children:"Top Right"})]})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-section",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-header",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("label",{htmlFor:"size",children:"Size"}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"preference-description",children:"Adjust the size of your dev tools."})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(Select,{id:"size",name:"size",value:scale,onChange:function(param){let{target}=param;setScale(Number(target.value))},children:Object.entries(NEXT_DEV_TOOLS_SCALE).map(param=>{let[key,value1]=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("option",{value:value1,children:key},key)})})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-section",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-header",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("label",{id:"hide-dev-tools",children:"Hide Dev Tools for this session"}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"preference-description",children:"Hide Dev Tools until you restart your dev server, or 1 day."})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"preference-control",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("button",{"aria-describedby":"hide-dev-tools",name:"hide-dev-tools","data-hide-dev-tools":!0,className:"action-button",onClick:hide,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(EyeIcon,{}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{children:"Hide"})]})})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"preference-section",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"preference-header",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("label",{children:"Disable Dev Tools for this project"}),/*#__PURE__*/(0,jsx_runtime.jsxs)("p",{className:"preference-description",children:["To disable this UI completely, set"," ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:"devIndicators: false"})," ","in your ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:"dev-tools-info-code",children:"next.config"})," ","file."]})]})})]})})}function Select(param){let{children,prefix,...props}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"select-button",children:[prefix,/*#__PURE__*/(0,jsx_runtime.jsx)("select",{...props,children:children}),/*#__PURE__*/(0,jsx_runtime.jsx)(ChevronDownIcon,{})]})}function ThemeIcon(param){let{theme}=param;switch(theme){case"system":return/*#__PURE__*/(0,jsx_runtime.jsx)(SystemIcon,{});case"dark":return/*#__PURE__*/(0,jsx_runtime.jsx)(DarkIcon,{});case"light":return/*#__PURE__*/(0,jsx_runtime.jsx)(LightIcon,{});default:return null}}let DEV_TOOLS_INFO_USER_PREFERENCES_STYLES=css(user_preferences_templateObject());function ChevronDownIcon(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":!0,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0607 5.49999L13.5303 6.03032L8.7071 10.8535C8.31658 11.2441 7.68341 11.2441 7.29289 10.8535L2.46966 6.03032L1.93933 5.49999L2.99999 4.43933L3.53032 4.96966L7.99999 9.43933L12.4697 4.96966L13 4.43933L14.0607 5.49999Z",fill:"currentColor"})})}function Draggable(param){let{children,padding,position:currentCorner,setPosition:setCurrentCorner,onDragStart}=param,{ref,animate,...drag}=function(options){let ref=(0,react_experimental.useRef)(null),state=(0,react_experimental.useRef)("idle"),origin=(0,react_experimental.useRef)({x:0,y:0}),translation=(0,react_experimental.useRef)({x:0,y:0}),lastTimestamp=(0,react_experimental.useRef)(0),velocities=(0,react_experimental.useRef)([]);function set(position){ref.current&&(translation.current=position,ref.current.style.translate=position.x+"px "+position.y+"px")}function onClick(e){if("drag-end"===state.current){var _ref_current;e.preventDefault(),e.stopPropagation(),state.current="idle",null==(_ref_current=ref.current)||_ref_current.removeEventListener("click",onClick)}}function onPointerMove(e){if("press"===state.current){let dx=e.clientX-origin.current.x,dy=e.clientY-origin.current.y;if(Math.sqrt(dx*dx+dy*dy)>=options.threshold){var _ref_current,_ref_current1;state.current="drag",null==(_ref_current=ref.current)||_ref_current.setPointerCapture(e.pointerId),null==(_ref_current1=ref.current)||_ref_current1.classList.add("dev-tools-grabbing"),null==options.onDragStart||options.onDragStart.call(options)}}if("drag"!==state.current)return;let currentPosition={x:e.clientX,y:e.clientY},dx=currentPosition.x-origin.current.x,dy=currentPosition.y-origin.current.y;origin.current=currentPosition,set({x:translation.current.x+dx,y:translation.current.y+dy});let now=Date.now();now-lastTimestamp.current>=10&&(velocities.current=[...velocities.current.slice(-5),{position:currentPosition,timestamp:now}]),lastTimestamp.current=now,null==options.onDrag||options.onDrag.call(options,translation.current)}function onPointerUp(e){var _ref_current,_ref_current1;state.current="drag"===state.current?"drag-end":"idle",window.removeEventListener("pointermove",onPointerMove),window.removeEventListener("pointerup",onPointerUp);let velocity=function(history){if(history.length<2)return{x:0,y:0};let oldestPoint=history[0],latestPoint=history[history.length-1],timeDelta=latestPoint.timestamp-oldestPoint.timestamp;return 0===timeDelta?{x:0,y:0}:{x:1e3*((latestPoint.position.x-oldestPoint.position.x)/timeDelta),y:1e3*((latestPoint.position.y-oldestPoint.position.y)/timeDelta)}}(velocities.current);velocities.current=[],null==(_ref_current=ref.current)||_ref_current.classList.remove("dev-tools-grabbing"),null==(_ref_current1=ref.current)||_ref_current1.releasePointerCapture(e.pointerId),null==options.onDragEnd||options.onDragEnd.call(options,translation.current,velocity)}return{ref,onPointerDown:function(e){var _ref_current;origin.current={x:e.clientX,y:e.clientY},state.current="press",window.addEventListener("pointermove",onPointerMove),window.addEventListener("pointerup",onPointerUp),null==(_ref_current=ref.current)||_ref_current.addEventListener("click",onClick)},animate:function(corner){let el=ref.current;null!==el&&(el.style.transition="translate 491.22ms var(--timing-bounce)",el.addEventListener("transitionend",function listener(e){"translate"===e.propertyName&&(null==options.onAnimationEnd||options.onAnimationEnd.call(options,corner),translation.current={x:0,y:0},el.style.transition="",el.removeEventListener("transitionend",listener))}),set(corner.translation))}}}({threshold:5,onDragStart,onDragEnd:function(translation,velocity){animate(function(param){let{x,y}=param,allCorners=function(){var _ref_current,_ref_current1;let offset=2*padding,triggerWidth=(null==(_ref_current=ref.current)?void 0:_ref_current.offsetWidth)||0,triggerHeight=(null==(_ref_current1=ref.current)?void 0:_ref_current1.offsetHeight)||0,basePosition=function(corner){let isRight=corner.includes("right"),isBottom=corner.includes("bottom");return{x:isRight?window.innerWidth-offset-triggerWidth:0,y:isBottom?window.innerHeight-offset-triggerHeight:0}}(currentCorner);return{"top-left":{x:0-basePosition.x,y:0-basePosition.y},"top-right":{x:window.innerWidth-offset-triggerWidth-basePosition.x,y:0-basePosition.y},"bottom-left":{x:0-basePosition.x,y:window.innerHeight-offset-triggerHeight-basePosition.y},"bottom-right":{x:window.innerWidth-offset-triggerWidth-basePosition.x,y:window.innerHeight-offset-triggerHeight-basePosition.y}}}(),distances=Object.entries(allCorners).map(param=>{let[key,translation]=param;return{key,distance:Math.sqrt((x-translation.x)**2+(y-translation.y)**2)}}),min=Math.min(...distances.map(d=>d.distance)),nearest=distances.find(d=>d.distance===min);return nearest?{translation:allCorners[nearest.key],corner:nearest.key}:{corner:currentCorner,translation:allCorners[currentCorner]}}({x:translation.x+project(velocity.x),y:translation.y+project(velocity.y)}))},onAnimationEnd:function(param){let{corner}=param;setTimeout(()=>{var _ref_current;null==(_ref_current=ref.current)||_ref_current.style.removeProperty("translate"),setCurrentCorner(corner)})}});return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:ref,...drag,style:{touchAction:"none"},children:children})}function project(initialVelocity,decelerationRate){return void 0===decelerationRate&&(decelerationRate=.999),initialVelocity/1e3*decelerationRate/(1-decelerationRate)}function DevToolsIndicator(param){let{state,errorCount,isBuildError,setIsErrorOverlayOpen,...props}=param,[isDevToolsIndicatorVisible,setIsDevToolsIndicatorVisible]=(0,react_experimental.useState)(!0);return/*#__PURE__*/(0,jsx_runtime.jsx)(DevToolsPopover,{routerType:state.routerType,semver:state.versionInfo.installed,issueCount:errorCount,isStaticRoute:state.staticIndicator,hide:()=>{setIsDevToolsIndicatorVisible(!1),fetch("/__nextjs_disable_dev_indicator",{method:"POST"})},setIsErrorOverlayOpen:setIsErrorOverlayOpen,isTurbopack:!0,disabled:state.disableDevIndicator||!isDevToolsIndicatorVisible,isBuildError:isBuildError,...props})}let Context=/*#__PURE__*/(0,react_experimental.createContext)({}),OVERLAYS={Root:"root",Turbo:"turbo",Route:"route",Preferences:"preferences"};function DevToolsPopover(param){let{routerType,disabled,issueCount,isStaticRoute,isTurbopack,isBuildError,hide,setIsErrorOverlayOpen,scale,setScale}=param,menuRef=(0,react_experimental.useRef)(null),triggerRef=(0,react_experimental.useRef)(null),[open,setOpen]=(0,react_experimental.useState)(null),[position,setPosition]=(0,react_experimental.useState)("undefined"!=typeof localStorage&&localStorage.getItem(STORAGE_KEY_POSITION)?localStorage.getItem(STORAGE_KEY_POSITION):INDICATOR_POSITION),[selectedIndex,setSelectedIndex]=(0,react_experimental.useState)(-1),isMenuOpen=open===OVERLAYS.Root,isTurbopackInfoOpen=open===OVERLAYS.Turbo,isRouteInfoOpen=open===OVERLAYS.Route,isPreferencesOpen=open===OVERLAYS.Preferences,{mounted:menuMounted,rendered:menuRendered}=useDelayedRender(isMenuOpen,{enterDelay:0,exitDelay:200});function select(index){var _menuRef_current;if("first"===index){setTimeout(()=>{var _menuRef_current;let all=null==(_menuRef_current=menuRef.current)?void 0:_menuRef_current.querySelectorAll('[role="menuitem"]');all&&select(Number(all[0].getAttribute("data-index")))});return}if("last"===index){setTimeout(()=>{var _menuRef_current;let all=null==(_menuRef_current=menuRef.current)?void 0:_menuRef_current.querySelectorAll('[role="menuitem"]');all&&select(all.length-1)});return}let el=null==(_menuRef_current=menuRef.current)?void 0:_menuRef_current.querySelector('[data-index="'+index+'"]');el&&(setSelectedIndex(index),null==el||el.focus())}function openRootMenu(){setOpen(prevOpen=>(null===prevOpen&&select("first"),OVERLAYS.Root))}function closeMenu(){setOpen(prevOpen=>prevOpen===OVERLAYS.Root?null:prevOpen)}useFocusTrap(menuRef,triggerRef,isMenuOpen),useClickOutside(menuRef,triggerRef,isMenuOpen,closeMenu),(0,react_experimental.useEffect)(()=>{if(null===open){let id=setTimeout(()=>{setSelectedIndex(-1)},200);return()=>clearTimeout(id)}},[open]);let[vertical,horizontal]=position.split("-",2),popover={[vertical]:"calc(100% + 8px)",[horizontal]:0};return/*#__PURE__*/(0,jsx_runtime.jsxs)(Toast,{"data-nextjs-toast":!0,style:{"--animate-out-duration-ms":"200ms","--animate-out-timing-function":"cubic-bezier(0.175, 0.885, 0.32, 1.1)",boxShadow:"none",zIndex:0x7fffffff,[vertical]:"20px",[horizontal]:"20px"},children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Draggable,{padding:20,onDragStart:()=>setOpen(null),position:position,setPosition:p=>{localStorage.setItem(STORAGE_KEY_POSITION,p),setPosition(p)},children:/*#__PURE__*/(0,jsx_runtime.jsx)(NextLogo,{ref:triggerRef,"aria-haspopup":"menu","aria-expanded":isMenuOpen,"aria-controls":"nextjs-dev-tools-menu","aria-label":(isMenuOpen?"Close":"Open")+" Next.js Dev Tools","data-nextjs-dev-tools-button":!0,disabled:disabled,issueCount:issueCount,onTriggerClick:function(){open===OVERLAYS.Root?setOpen(null):(openRootMenu(),setTimeout(()=>{select("first")}))},toggleErrorOverlay:function(){setIsErrorOverlayOpen(prev=>!prev)},isDevBuilding:(0,react_experimental.useSyncExternalStore)(subscribe,getSnapshot),isDevRendering:(0,dev_render_indicator.useIsDevRendering)(),isBuildError:isBuildError,scale:scale})}),/*#__PURE__*/(0,jsx_runtime.jsx)(RouteInfo,{isOpen:isRouteInfoOpen,close:openRootMenu,triggerRef:triggerRef,style:popover,routerType:routerType,routeType:isStaticRoute?"Static":"Dynamic"}),/*#__PURE__*/(0,jsx_runtime.jsx)(TurbopackInfo,{isOpen:isTurbopackInfoOpen,close:openRootMenu,triggerRef:triggerRef,style:popover}),/*#__PURE__*/(0,jsx_runtime.jsx)(UserPreferences,{isOpen:isPreferencesOpen,close:openRootMenu,triggerRef:triggerRef,style:popover,hide:function(){setOpen(null),hide()},setPosition:setPosition,position:position,scale:scale,setScale:setScale}),menuMounted&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:menuRef,id:"nextjs-dev-tools-menu",role:"menu",dir:"ltr","aria-orientation":"vertical","aria-label":"Next.js Dev Tools Items",tabIndex:-1,className:"dev-tools-indicator-menu",onKeyDown:function(e){switch(e.preventDefault(),e.key){case"ArrowDown":select(selectedIndex+1);break;case"ArrowUp":select(selectedIndex-1);break;case"Home":select("first");break;case"End":select("last")}},"data-rendered":menuRendered,style:popover,children:/*#__PURE__*/(0,jsx_runtime.jsxs)(Context.Provider,{value:{closeMenu,selectedIndex,setSelectedIndex},children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-indicator-inner",children:[issueCount>0&&/*#__PURE__*/(0,jsx_runtime.jsx)(MenuItem,{title:issueCount+" "+(1===issueCount?"issue":"issues")+" found. Click to view details in the dev overlay.",index:0,label:"Issues",value:/*#__PURE__*/(0,jsx_runtime.jsx)(IssueCount,{children:issueCount}),onClick:function(){setOpen(null),issueCount>0&&setIsErrorOverlayOpen(!0)}}),/*#__PURE__*/(0,jsx_runtime.jsx)(MenuItem,{title:"Current route is "+(isStaticRoute?"static":"dynamic")+".",label:"Route",index:1,value:isStaticRoute?"Static":"Dynamic",onClick:()=>setOpen(OVERLAYS.Route),"data-nextjs-route-type":isStaticRoute?"static":"dynamic"}),isTurbopack?/*#__PURE__*/(0,jsx_runtime.jsx)(MenuItem,{title:"Turbopack is enabled.",label:"Turbopack",value:"Enabled"}):/*#__PURE__*/(0,jsx_runtime.jsx)(MenuItem,{index:2,title:"Learn about Turbopack and how to enable it in your application.",label:"Try Turbopack",value:/*#__PURE__*/(0,jsx_runtime.jsx)(ChevronRight,{}),onClick:()=>setOpen(OVERLAYS.Turbo)})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"dev-tools-indicator-footer",children:/*#__PURE__*/(0,jsx_runtime.jsx)(MenuItem,{"data-preferences":!0,label:"Preferences",value:/*#__PURE__*/(0,jsx_runtime.jsx)(GearIcon,{}),onClick:()=>setOpen(OVERLAYS.Preferences),index:isTurbopack?2:3})})]})})]})}function ChevronRight(){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"#666",fillRule:"evenodd",clipRule:"evenodd",d:"M5.50011 1.93945L6.03044 2.46978L10.8537 7.293C11.2442 7.68353 11.2442 8.31669 10.8537 8.70722L6.03044 13.5304L5.50011 14.0608L4.43945 13.0001L4.96978 12.4698L9.43945 8.00011L4.96978 3.53044L4.43945 3.00011L5.50011 1.93945Z"})})}function MenuItem(param){let{index,label,value:value1,onClick,href,...props}=param,isInteractive="function"==typeof onClick||"string"==typeof href,{closeMenu,selectedIndex,setSelectedIndex}=(0,react_experimental.useContext)(Context),selected=selectedIndex===index;function click(){isInteractive&&(null==onClick||onClick(),closeMenu(),href&&window.open(href,"_blank","noopener, noreferrer"))}return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"dev-tools-indicator-item","data-index":index,"data-selected":selected,onClick:click,onMouseMove:()=>{isInteractive&&void 0!==index&&selectedIndex!==index&&setSelectedIndex(index)},onMouseLeave:()=>setSelectedIndex(-1),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&click()},role:isInteractive?"menuitem":void 0,tabIndex:selected?0:-1,...props,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-indicator-label",children:label}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-indicator-value",children:value1})]})}function IssueCount(param){let{children}=param;return/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{className:"dev-tools-indicator-issue-count","data-has-issues":children>0,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"dev-tools-indicator-issue-count-indicator"}),children]})}function component_styles_templateObject(){let data=_tagged_template_literal_loose(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n "]);return component_styles_templateObject=function(){return data},data}function ComponentStyles(){return/*#__PURE__*/(0,jsx_runtime.jsx)("style",{children:css(component_styles_templateObject(),"\n .nextjs-data-copy-button {\n color: inherit;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n .nextjs-data-copy-button:disabled {\n background-color: var(--color-gray-100);\n cursor: not-allowed;\n }\n .nextjs-data-copy-button--initial:hover:not(:disabled) {\n cursor: pointer;\n }\n .nextjs-data-copy-button--error:not(:disabled),\n .nextjs-data-copy-button--error:hover:not(:disabled) {\n color: var(--color-ansi-red);\n }\n .nextjs-data-copy-button--success:not(:disabled) {\n color: var(--color-ansi-green);\n }\n",'\n [data-nextjs-call-stack-frame-no-source] {\n padding: 6px 8px;\n margin-bottom: 4px;\n\n border-radius: var(--rounded-lg);\n }\n\n [data-nextjs-call-stack-frame-no-source]:last-child {\n margin-bottom: 0;\n }\n\n [data-nextjs-call-stack-frame-ignored="true"] {\n opacity: 0.6;\n }\n\n [data-nextjs-call-stack-frame] {\n user-select: text;\n display: block;\n box-sizing: border-box;\n\n user-select: text;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n\n padding: 6px 8px;\n\n border-radius: var(--rounded-lg);\n }\n\n .call-stack-frame-method-name {\n display: flex;\n align-items: center;\n gap: 4px;\n\n margin-bottom: 4px;\n font-family: var(--font-stack-monospace);\n\n color: var(--color-gray-1000);\n font-size: var(--size-14);\n font-weight: 500;\n line-height: var(--size-20);\n\n svg {\n width: var(--size-16px);\n height: var(--size-16px);\n }\n }\n\n .open-in-editor-button, .source-mapping-error-button {\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--rounded-full);\n padding: 4px;\n color: var(--color-font);\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -2px;\n }\n\n &:hover {\n background: var(--color-gray-100);\n }\n }\n\n .call-stack-frame-file-source {\n color: var(--color-gray-900);\n font-size: var(--size-14);\n line-height: var(--size-20);\n }\n',"\n [data-nextjs-environment-name-label] {\n padding: 2px 6px;\n margin: 0;\n border-radius: var(--rounded-md-2);\n background: var(--color-gray-100);\n font-weight: 600;\n font-size: var(--size-12);\n color: var(--color-gray-900);\n font-family: var(--font-stack-monospace);\n line-height: var(--size-20);\n }\n","\n [data-nextjs-dialog-overlay] {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9000;\n\n display: flex;\n align-content: center;\n align-items: center;\n flex-direction: column;\n padding: 10vh 15px 0;\n }\n\n @media (max-height: 812px) {\n [data-nextjs-dialog-overlay] {\n padding: 15px 15px 0;\n }\n }\n\n [data-nextjs-dialog-backdrop] {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--color-backdrop);\n backdrop-filter: blur(10px);\n pointer-events: all;\n z-index: -1;\n }\n\n [data-nextjs-dialog-backdrop-fixed] {\n cursor: not-allowed;\n -webkit-backdrop-filter: blur(8px);\n backdrop-filter: blur(8px);\n }\n","\n .nextjs-toast {\n position: fixed;\n max-width: 420px;\n z-index: 9000;\n box-shadow: 0px 16px 32px\n rgba(0, 0, 0, 0.25);\n }\n\n .nextjs-toast-errors-parent {\n padding: 16px;\n border-radius: var(--rounded-4xl);\n font-weight: 500;\n color: var(--color-ansi-bright-white);\n background-color: var(--color-ansi-red);\n }\n","\n [data-nextjs-dialog-root] {\n --next-dialog-radius: var(--rounded-xl);\n --next-dialog-max-width: 960px;\n --next-dialog-row-padding: 16px;\n --next-dialog-padding: 12px;\n --next-dialog-notch-height: 42px;\n --next-dialog-border-width: 1px;\n\n display: flex;\n flex-direction: column;\n width: 100%;\n max-height: calc(100% - 56px);\n max-width: var(--next-dialog-max-width);\n margin-right: auto;\n margin-left: auto;\n scale: 0.97;\n opacity: 0;\n transition-property: scale, opacity;\n transition-duration: var(--transition-duration);\n transition-timing-function: var(--timing-overlay);\n\n &[data-rendered='true'] {\n opacity: 1;\n scale: 1;\n }\n\n [data-nextjs-scroll-fader][data-side=\"top\"] {\n left: 1px;\n top: calc(var(--next-dialog-notch-height) + var(--next-dialog-border-width));\n width: calc(100% - var(--next-dialog-padding));\n opacity: 0;\n }\n }\n\n [data-nextjs-dialog] {\n outline: 0;\n }\n\n [data-nextjs-dialog], [data-nextjs-dialog] * {\n &::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n border-radius: 0 0 1rem 1rem;\n margin-bottom: 1rem;\n }\n\n &::-webkit-scrollbar-button {\n display: none;\n }\n\n &::-webkit-scrollbar-track {\n border-radius: 0 0 1rem 1rem;\n background-color: var(--color-background-100);\n }\n \n &::-webkit-scrollbar-thumb {\n border-radius: 1rem;\n background-color: var(--color-gray-500);\n }\n }\n\n /* Place overflow: hidden on this so we can break out from [data-nextjs-dialog] */\n [data-nextjs-dialog-sizer] {\n overflow: hidden;\n border-radius: inherit;\n }\n\n [data-nextjs-dialog-backdrop] {\n opacity: 0;\n transition: opacity var(--transition-duration) var(--timing-overlay);\n }\n\n [data-nextjs-dialog-overlay][data-rendered='true']\n [data-nextjs-dialog-backdrop] {\n opacity: 1;\n }\n\n [data-nextjs-dialog-content] {\n border: none;\n margin: 0;\n display: flex;\n flex-direction: column;\n position: relative;\n padding: var(--next-dialog-padding);\n }\n\n [data-nextjs-dialog-content] > [data-nextjs-dialog-header] {\n flex-shrink: 0;\n margin-bottom: 8px;\n }\n\n [data-nextjs-dialog-content] > [data-nextjs-dialog-body] {\n position: relative;\n flex: 1 1 auto;\n }\n\n @media (max-height: 812px) {\n [data-nextjs-dialog-overlay] {\n max-height: calc(100% - 15px);\n }\n }\n\n @media (min-width: 576px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 540px;\n }\n }\n\n @media (min-width: 768px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 720px;\n }\n }\n\n @media (min-width: 992px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 960px;\n }\n }\n","\n \n [data-nextjs-dialog-overlay] {\n padding: initial;\n top: 10vh;\n }\n\n \n .error-overlay-dialog-container {\n -webkit-font-smoothing: antialiased;\n display: flex;\n flex-direction: column;\n background: var(--color-background-100);\n background-clip: padding-box;\n border: var(--next-dialog-border-width) solid var(--color-gray-400);\n border-radius: 0 0 var(--next-dialog-radius) var(--next-dialog-radius);\n box-shadow: var(--shadow-menu);\n position: relative;\n overflow: hidden;\n }\n\n .error-overlay-dialog-scroll {\n overflow-y: auto;\n height: 100%;\n }\n\n \n .nextjs-container-errors-header {\n position: relative;\n }\n .nextjs-container-errors-header > h1 {\n font-size: var(--size-20);\n line-height: var(--size-24);\n font-weight: bold;\n margin: calc(16px * 1.5) 0;\n color: var(--color-title-h1);\n }\n .nextjs-container-errors-header small {\n font-size: var(--size-14);\n color: var(--color-accents-1);\n margin-left: 16px;\n }\n .nextjs-container-errors-header small > span {\n font-family: var(--font-stack-monospace);\n }\n .nextjs-container-errors-header > div > small {\n margin: 0;\n margin-top: 4px;\n }\n .nextjs-container-errors-header > p > a {\n color: inherit;\n font-weight: bold;\n }\n .nextjs-container-errors-header\n > .nextjs-container-build-error-version-status {\n position: absolute;\n top: 16px;\n right: 16px;\n }\n\n \n\n \n [data-nextjs-error-overlay-nav] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n width: 100%;\n\n position: relative;\n z-index: 2;\n outline: none;\n translate: 1px 1px;\n max-width: var(--next-dialog-max-width);\n\n .error-overlay-notch {\n --stroke-color: var(--color-gray-400);\n --background-color: var(--color-background-100);\n\n translate: -1px 0;\n width: auto;\n height: var(--next-dialog-notch-height);\n padding: 12px;\n background: var(--background-color);\n border: 1px solid var(--stroke-color);\n border-bottom: none;\n position: relative;\n\n &[data-side='left'] {\n padding-right: 0;\n border-radius: var(--rounded-xl) 0 0 0;\n\n .error-overlay-notch-tail {\n right: -54px;\n }\n\n > *:not(.error-overlay-notch-tail) {\n margin-right: -10px;\n }\n }\n\n &[data-side='right'] {\n padding-left: 0;\n border-radius: 0 var(--rounded-xl) 0 0;\n\n .error-overlay-notch-tail {\n left: -54px;\n transform: rotateY(180deg);\n }\n\n > *:not(.error-overlay-notch-tail) {\n margin-left: -12px;\n }\n }\n\n .error-overlay-notch-tail {\n position: absolute;\n top: -1px;\n pointer-events: none;\n z-index: -1;\n height: calc(100% + 1px);\n }\n }\n }\n\n \n .nextjs__container_errors_label {\n padding: 2px 6px;\n margin: 0;\n border-radius: var(--rounded-md-2);\n background: var(--color-red-100);\n font-weight: 600;\n font-size: var(--size-12);\n color: var(--color-red-900);\n font-family: var(--font-stack-monospace);\n line-height: var(--size-20);\n }\n\n \n .nextjs__container_errors_wrapper {\n position: relative;\n }\n\n .nextjs__container_errors_desc {\n margin: 0;\n margin-left: 4px;\n color: var(--color-red-900);\n font-weight: 500;\n font-size: var(--size-16);\n letter-spacing: -0.32px;\n line-height: var(--size-24);\n overflow-wrap: break-word;\n white-space: pre-wrap;\n }\n\n .nextjs__container_errors_desc.truncated {\n max-height: 200px;\n overflow: hidden;\n }\n\n .nextjs__container_errors_gradient_overlay {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 85px;\n background: linear-gradient(\n 180deg,\n rgba(250, 250, 250, 0) 0%,\n var(--color-background-100) 100%\n );\n }\n\n .nextjs__container_errors_expand_button {\n position: absolute;\n bottom: 10px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n align-items: center;\n padding: 6px 8px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n border-radius: 999px;\n box-shadow:\n 0px 2px 2px var(--color-gray-alpha-100),\n 0px 8px 8px -8px var(--color-gray-alpha-100);\n font-size: var(--size-13);\n cursor: pointer;\n color: var(--color-gray-900);\n font-weight: 500;\n transition: background-color 0.2s ease;\n }\n\n .nextjs__container_errors_expand_button:hover {\n background: var(--color-gray-100);\n }\n\n \n .error-overlay-toolbar {\n display: flex;\n gap: 6px;\n }\n\n .nodejs-inspector-button,\n .copy-stack-trace-button,\n .docs-link-button {\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: var(--size-28);\n height: var(--size-28);\n background: var(--color-background-100);\n background-clip: padding-box;\n border: 1px solid var(--color-gray-alpha-400);\n box-shadow: var(--shadow-small);\n border-radius: var(--rounded-full);\n\n svg {\n width: var(--size-14);\n height: var(--size-14);\n }\n\n &:focus {\n outline: var(--focus-ring);\n }\n\n &:not(:disabled):hover {\n background: var(--color-gray-alpha-100);\n }\n\n &:not(:disabled):active {\n background: var(--color-gray-alpha-200);\n }\n\n &:disabled {\n background-color: var(--color-gray-100);\n cursor: not-allowed;\n }\n }\n\n .error-overlay-toolbar-button-icon {\n color: var(--color-gray-900);\n }\n\n \n .error-overlay-call-stack-container {\n position: relative;\n margin-top: 8px;\n }\n\n .error-overlay-call-stack-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n min-height: var(--size-28);\n padding: 8px 8px 12px 4px;\n width: 100%;\n }\n\n .error-overlay-call-stack-title {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 8px;\n\n margin: 0;\n\n color: var(--color-gray-1000);\n font-size: var(--size-16);\n font-weight: 500;\n }\n\n .error-overlay-call-stack-count {\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: var(--size-20);\n height: var(--size-20);\n gap: 4px;\n\n color: var(--color-gray-1000);\n text-align: center;\n font-size: var(--size-11);\n font-weight: 500;\n line-height: var(--size-16);\n\n border-radius: var(--rounded-full);\n background: var(--color-gray-300);\n }\n\n .error-overlay-call-stack-ignored-list-toggle-button {\n all: unset;\n display: flex;\n align-items: center;\n gap: 6px;\n color: var(--color-gray-900);\n font-size: var(--size-14);\n line-height: var(--size-20);\n border-radius: 6px;\n padding: 4px 6px;\n margin-right: -6px;\n transition: background 150ms ease;\n\n &:hover {\n background: var(--color-gray-100);\n }\n\n &:focus {\n outline: var(--focus-ring);\n }\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n\n\n [data-nextjs-error-label-group] {\n display: flex;\n align-items: center;\n gap: 8px;\n }\n","\n .error-overlay-footer {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n gap: 8px;\n padding: 12px;\n background: var(--color-background-200);\n border-top: 1px solid var(--color-gray-400);\n }\n\n .error-feedback {\n margin-left: auto;\n\n p {\n font-size: var(--size-14);\n font-weight: 500;\n margin: 0;\n }\n }\n\n .error-overlay-footer-message {\n color: var(--color-gray-900);\n margin: 0;\n font-size: var(--size-14);\n font-weight: 400;\n line-height: var(--size-20);\n }\n\n \n .error-feedback {\n display: flex;\n align-items: center;\n gap: 8px;\n white-space: nowrap;\n color: var(--color-gray-900);\n }\n\n .error-feedback-thanks {\n height: var(--size-24);\n display: flex;\n align-items: center;\n padding-right: 4px; /* To match the 4px inner padding of the thumbs up and down icons */\n }\n\n .feedback-button {\n background: none;\n border: none;\n border-radius: var(--rounded-md);\n width: var(--size-24);\n height: var(--size-24);\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n &:focus {\n outline: var(--focus-ring);\n }\n\n &:hover {\n background: var(--color-gray-alpha-100);\n }\n\n &:active {\n background: var(--color-gray-alpha-200);\n }\n }\n\n .feedback-button[aria-disabled='true'] {\n opacity: 0.7;\n cursor: not-allowed;\n }\n\n .feedback-button.voted {\n background: var(--color-gray-alpha-200);\n }\n\n .thumbs-up-icon,\n .thumbs-down-icon {\n color: var(--color-gray-900);\n width: var(--size-16);\n height: var(--size-16);\n }\n\n","\n .error-overlay-bottom-stack-layer {\n width: 100%;\n height: var(--stack-layer-height);\n position: relative;\n border: 1px solid var(--color-gray-400);\n border-radius: var(--rounded-xl);\n background: var(--color-background-200);\n transition:\n translate 350ms var(--timing-swift),\n box-shadow 350ms var(--timing-swift);\n }\n\n .error-overlay-bottom-stack-layer-1 {\n width: calc(100% - var(--size-24));\n }\n\n .error-overlay-bottom-stack-layer-2 {\n width: calc(100% - var(--size-48));\n z-index: -1;\n }\n\n .error-overlay-bottom-stack {\n width: 100%;\n position: absolute;\n bottom: -1px;\n height: 0;\n overflow: visible;\n }\n\n .error-overlay-bottom-stack-stack {\n --stack-layer-height: 44px;\n --stack-layer-height-half: calc(var(--stack-layer-height) / 2);\n --stack-layer-trim: 13px;\n --shadow: 0px 0.925px 0.925px 0px rgba(0, 0, 0, 0.02),\n 0px 3.7px 7.4px -3.7px rgba(0, 0, 0, 0.04),\n 0px 14.8px 22.2px -7.4px rgba(0, 0, 0, 0.06);\n\n display: grid;\n place-items: center center;\n width: 100%;\n position: fixed;\n overflow: hidden;\n z-index: -1;\n max-width: var(--next-dialog-max-width);\n\n .error-overlay-bottom-stack-layer {\n grid-area: 1 / 1;\n /* Hide */\n translate: 0 calc(var(--stack-layer-height) * -1);\n }\n\n &[data-stack-count='1'],\n &[data-stack-count='2'] {\n .error-overlay-bottom-stack-layer-1 {\n translate: 0\n calc(var(--stack-layer-height-half) * -1 - var(--stack-layer-trim));\n }\n }\n\n &[data-stack-count='2'] {\n .error-overlay-bottom-stack-layer-2 {\n translate: 0 calc(var(--stack-layer-trim) * -1 * 2);\n }\n }\n\n /* Only the bottom stack should have the shadow */\n &[data-stack-count='1'] .error-overlay-bottom-stack-layer-1 {\n box-shadow: var(--shadow);\n }\n\n &[data-stack-count='2'] {\n .error-overlay-bottom-stack-layer-2 {\n box-shadow: var(--shadow);\n }\n }\n }\n","\n .error-overlay-pagination {\n -webkit-font-smoothing: antialiased;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 8px;\n width: fit-content;\n }\n\n .error-overlay-pagination-count {\n color: var(--color-gray-900);\n text-align: center;\n font-size: var(--size-14);\n font-weight: 500;\n line-height: var(--size-16);\n font-variant-numeric: tabular-nums;\n }\n\n .error-overlay-pagination-button {\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: var(--size-24);\n height: var(--size-24);\n background: var(--color-gray-300);\n flex-shrink: 0;\n\n border: none;\n border-radius: var(--rounded-full);\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n\n &:focus-visible {\n outline: var(--focus-ring);\n }\n\n &:not(:disabled):active {\n background: var(--color-gray-500);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n }\n\n .error-overlay-pagination-button-icon {\n color: var(--color-gray-1000);\n }\n",'\n [data-nextjs-codeframe] {\n --code-frame-padding: 12px;\n --code-frame-line-height: var(--size-16);\n background-color: var(--color-background-200);\n overflow: hidden;\n color: var(--color-gray-1000);\n text-overflow: ellipsis;\n border: 1px solid var(--color-gray-400);\n border-radius: 8px;\n font-family: var(--font-stack-monospace);\n font-size: var(--size-12);\n line-height: var(--code-frame-line-height);\n margin: 8px 0;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n\n .code-frame-link,\n .code-frame-pre {\n padding: var(--code-frame-padding);\n }\n\n .code-frame-link svg {\n flex-shrink: 0;\n }\n\n .code-frame-link [data-text] {\n display: inline-flex;\n text-align: left;\n margin: auto 6px;\n }\n\n .code-frame-header {\n width: 100%;\n transition: background 100ms ease-out;\n border-radius: 8px 8px 0 0;\n border-bottom: 1px solid var(--color-gray-400);\n }\n\n [data-with-open-in-editor-link-source-file] {\n padding: 4px;\n margin: -4px 0 -4px auto;\n border-radius: var(--rounded-full);\n margin-left: auto;\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -2px;\n }\n\n &:hover {\n background: var(--color-gray-100);\n }\n }\n\n [data-nextjs-codeframe]::selection,\n [data-nextjs-codeframe] *::selection {\n background-color: var(--color-ansi-selection);\n }\n\n [data-nextjs-codeframe] *:not(a) {\n color: inherit;\n background-color: transparent;\n font-family: var(--font-stack-monospace);\n }\n\n [data-nextjs-codeframe-line][data-nextjs-codeframe-line--errored="true"] {\n position: relative;\n isolation: isolate;\n\n > span { \n position: relative;\n z-index: 1;\n }\n\n &::after {\n content: "";\n width: calc(100% + var(--code-frame-padding) * 2);\n height: var(--code-frame-line-height);\n left: calc(-1 * var(--code-frame-padding));\n background: var(--color-red-200);\n box-shadow: 2px 0 0 0 var(--color-red-900) inset;\n position: absolute;\n }\n }\n\n\n [data-nextjs-codeframe] > * {\n margin: 0;\n }\n\n .code-frame-link {\n display: flex;\n margin: 0;\n outline: 0;\n }\n .code-frame-link [data-icon=\'right\'] {\n margin-left: auto;\n }\n\n [data-nextjs-codeframe] div > pre {\n overflow: hidden;\n display: inline-block;\n }\n\n [data-nextjs-codeframe] svg {\n color: var(--color-gray-900);\n }\n',"\n [data-nextjs-terminal]::selection,\n [data-nextjs-terminal] *::selection {\n background-color: var(--color-ansi-selection);\n }\n\n [data-nextjs-terminal] * {\n color: inherit;\n background-color: transparent;\n font-family: var(--font-stack-monospace);\n }\n\n [data-nextjs-terminal] > div > p {\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n margin: 0;\n }\n [data-nextjs-terminal] > div > p:hover {\n text-decoration: underline dotted;\n }\n [data-nextjs-terminal] div > pre {\n overflow: hidden;\n display: inline-block;\n }\n","\n [data-with-open-in-editor-link] svg {\n width: auto;\n height: var(--size-14);\n margin-left: 8px;\n }\n [data-with-open-in-editor-link] {\n cursor: pointer;\n }\n [data-with-open-in-editor-link]:hover {\n text-decoration: underline dotted;\n }\n [data-with-open-in-editor-link-import-trace] {\n margin-left: 16px;\n }\n","","\n .nextjs-error-with-static {\n bottom: calc(16px * 4.5);\n }\n p.nextjs__container_errors__link {\n font-size: var(--size-14);\n }\n p.nextjs__container_errors__notes {\n color: var(--color-stack-notes);\n font-size: var(--size-14);\n line-height: 1.5;\n }\n .nextjs-container-errors-body > h2:not(:first-child) {\n margin-top: calc(16px + 8px);\n }\n .nextjs-container-errors-body > h2 {\n color: var(--color-title-color);\n margin-bottom: 8px;\n font-size: var(--size-20);\n }\n .nextjs-toast-errors-parent {\n cursor: pointer;\n transition: transform 0.2s ease;\n }\n .nextjs-toast-errors-parent:hover {\n transform: scale(1.1);\n }\n .nextjs-toast-errors {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n }\n .nextjs-toast-errors > svg {\n margin-right: 8px;\n }\n .nextjs-toast-hide-button {\n margin-left: 24px;\n border: none;\n background: none;\n color: var(--color-ansi-bright-white);\n padding: 0;\n transition: opacity 0.25s ease;\n opacity: 0.7;\n }\n .nextjs-toast-hide-button:hover {\n opacity: 1;\n }\n .nextjs__container_errors__error_title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 14px;\n }\n .error-overlay-notes-container {\n margin: 8px 2px;\n }\n .error-overlay-notes-container p {\n white-space: pre-wrap;\n }\n","\n \n [data-nextjs-container-errors-pseudo-html] {\n padding: 8px 0;\n margin: 8px 0;\n border: 1px solid var(--color-gray-400);\n background: var(--color-background-200);\n color: var(--color-syntax-constant);\n font-family: var(--font-stack-monospace);\n font-size: var(--size-12);\n line-height: 1.33em; /* 16px in 12px font size */\n border-radius: var(--rounded-md-2);\n }\n [data-nextjs-container-errors-pseudo-html-line] {\n display: inline-block;\n width: 100%;\n padding-left: 40px;\n line-height: calc(5 / 3);\n }\n [data-nextjs-container-errors-pseudo-html--diff='error'] {\n background: var(--color-amber-100);\n box-shadow: 2px 0 0 0 var(--color-amber-900) inset;\n font-weight: bold;\n }\n [data-nextjs-container-errors-pseudo-html-collapse-button] {\n all: unset;\n margin-left: 12px;\n &:focus {\n outline: none;\n }\n }\n [data-nextjs-container-errors-pseudo-html--diff='add'] {\n background: var(--color-green-300);\n }\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n margin-left: calc(24px * -1);\n margin-right: 24px;\n }\n [data-nextjs-container-errors-pseudo-html--diff='add']\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n color: var(--color-green-900);\n }\n [data-nextjs-container-errors-pseudo-html--diff='remove'] {\n background: var(--color-red-300);\n }\n [data-nextjs-container-errors-pseudo-html--diff='remove']\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n color: var(--color-red-900);\n margin-left: calc(24px * -1);\n margin-right: 24px;\n }\n [data-nextjs-container-errors-pseudo-html--diff='error']\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n color: var(--color-amber-900);\n }\n \n [data-nextjs-container-errors-pseudo-html--hint] {\n display: inline-block;\n font-size: 0;\n height: 0;\n }\n [data-nextjs-container-errors-pseudo-html--tag-adjacent='false'] {\n color: var(--color-accents-1);\n }\n .nextjs__container_errors__component-stack {\n margin: 0;\n }\n [data-nextjs-container-errors-pseudo-html-collapse='true']\n .nextjs__container_errors__component-stack\n code {\n max-height: 120px;\n mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 0%,black 10%);\n padding-bottom: 40px;\n }\n .nextjs__container_errors__component-stack code {\n display: block;\n width: 100%;\n white-space: pre-wrap;\n scroll-snap-type: y mandatory;\n overflow-y: hidden;\n }\n [data-nextjs-container-errors-pseudo-html--diff] {\n scroll-snap-align: center;\n }\n .error-overlay-hydration-error-diff-plus-icon {\n color: var(--color-green-900);\n }\n .error-overlay-hydration-error-diff-minus-icon {\n color: var(--color-red-900);\n }\n\n","\n .nextjs-container-build-error-version-status {\n -webkit-font-smoothing: antialiased;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 4px;\n\n height: var(--size-26);\n padding: 6px 8px 6px 6px;\n background: var(--color-background-100);\n background-clip: padding-box;\n border: 1px solid var(--color-gray-alpha-400);\n box-shadow: var(--shadow-small);\n border-radius: var(--rounded-full);\n\n color: var(--color-gray-900);\n font-size: var(--size-12);\n font-weight: 500;\n line-height: var(--size-16);\n }\n\n a.nextjs-container-build-error-version-status {\n text-decoration: none;\n color: var(--color-gray-900);\n\n &:hover {\n background: var(--color-gray-100);\n }\n\n &:focus {\n outline: var(--focus-ring);\n }\n }\n\n .version-staleness-indicator.fresh {\n fill: var(--color-green-800);\n stroke: var(--color-green-300);\n }\n .version-staleness-indicator.stale {\n fill: var(--color-amber-800);\n stroke: var(--color-amber-300);\n }\n .version-staleness-indicator.outdated {\n fill: var(--color-red-800);\n stroke: var(--color-red-300);\n }\n .version-staleness-indicator.unknown {\n fill: var(--color-gray-800);\n stroke: var(--color-gray-300);\n }\n\n .nextjs-container-build-error-version-status > .turbopack-text {\n background: linear-gradient(\n to right,\n var(--color-turbopack-text-red) 0%,\n var(--color-turbopack-text-blue) 100%\n );\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n","\n .dev-tools-indicator-menu {\n -webkit-font-smoothing: antialiased;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n background-clip: padding-box;\n box-shadow: var(--shadow-menu);\n border-radius: var(--rounded-xl);\n position: absolute;\n font-family: var(--font-stack-sans);\n z-index: 1000;\n overflow: hidden;\n opacity: 0;\n outline: 0;\n min-width: 248px;\n transition: opacity var(--animate-out-duration-ms)\n var(--animate-out-timing-function);\n\n &[data-rendered='true'] {\n opacity: 1;\n scale: 1;\n }\n }\n\n .dev-tools-indicator-inner {\n padding: 6px;\n width: 100%;\n }\n\n .dev-tools-indicator-item {\n display: flex;\n align-items: center;\n padding: 8px 6px;\n height: var(--size-36);\n border-radius: 6px;\n text-decoration: none !important;\n user-select: none;\n white-space: nowrap;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n\n &:focus-visible {\n outline: 0;\n }\n }\n\n .dev-tools-indicator-footer {\n background: var(--color-background-200);\n padding: 6px;\n border-top: 1px solid var(--color-gray-400);\n width: 100%;\n }\n\n .dev-tools-indicator-item[data-selected='true'] {\n cursor: pointer;\n background-color: var(--color-gray-200);\n }\n\n .dev-tools-indicator-label {\n font-size: var(--size-14);\n line-height: var(--size-20);\n color: var(--color-gray-1000);\n }\n\n .dev-tools-indicator-value {\n font-size: var(--size-14);\n line-height: var(--size-20);\n color: var(--color-gray-900);\n margin-left: auto;\n }\n\n .dev-tools-indicator-issue-count {\n --color-primary: var(--color-gray-800);\n --color-secondary: var(--color-gray-100);\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n gap: 8px;\n min-width: var(--size-40);\n height: var(--size-24);\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n background-clip: padding-box;\n box-shadow: var(--shadow-small);\n padding: 2px;\n color: var(--color-gray-1000);\n border-radius: 128px;\n font-weight: 500;\n font-size: var(--size-13);\n font-variant-numeric: tabular-nums;\n\n &[data-has-issues='true'] {\n --color-primary: var(--color-red-800);\n --color-secondary: var(--color-red-100);\n }\n\n .dev-tools-indicator-issue-count-indicator {\n width: var(--size-8);\n height: var(--size-8);\n background: var(--color-primary);\n box-shadow: 0 0 0 2px var(--color-secondary);\n border-radius: 50%;\n }\n }\n\n .dev-tools-indicator-shortcut {\n display: flex;\n gap: 4px;\n\n kbd {\n width: var(--size-20);\n height: var(--size-20);\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: var(--rounded-md);\n border: 1px solid var(--color-gray-400);\n font-family: var(--font-stack-sans);\n background: var(--color-background-100);\n color: var(--color-gray-1000);\n text-align: center;\n font-size: var(--size-12);\n line-height: var(--size-16);\n }\n }\n\n .dev-tools-grabbing {\n cursor: grabbing;\n\n > * {\n pointer-events: none;\n }\n }\n","\n [data-info-popover] {\n -webkit-font-smoothing: antialiased;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n background-clip: padding-box;\n box-shadow: var(--shadow-menu);\n border-radius: var(--rounded-xl);\n position: absolute;\n font-family: var(--font-stack-sans);\n z-index: 1000;\n overflow: hidden;\n opacity: 0;\n outline: 0;\n min-width: 350px;\n transition: opacity var(--animate-out-duration-ms)\n var(--animate-out-timing-function);\n\n &[data-rendered='true'] {\n opacity: 1;\n scale: 1;\n }\n\n button:focus-visible {\n outline: var(--focus-ring);\n }\n }\n\n .dev-tools-info-container {\n padding: 12px;\n }\n\n .dev-tools-info-title {\n padding: 8px 6px;\n color: var(--color-gray-1000);\n font-size: var(--size-16);\n font-weight: 600;\n line-height: var(--size-20);\n margin: 0;\n }\n\n .dev-tools-info-article {\n padding: 8px 6px;\n color: var(--color-gray-1000);\n font-size: var(--size-14);\n line-height: var(--size-20);\n margin: 0;\n }\n .dev-tools-info-paragraph {\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n .dev-tools-info-button-container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 8px 6px;\n }\n\n .dev-tools-info-close-button {\n padding: 0 8px;\n height: var(--size-28);\n font-size: var(--size-14);\n font-weight: 500;\n line-height: var(--size-20);\n transition: background var(--duration-short) ease;\n color: var(--color-gray-1000);\n border-radius: var(--rounded-md-2);\n border: 1px solid var(--color-gray-alpha-400);\n background: var(--color-background-200);\n }\n\n .dev-tools-info-close-button:hover {\n background: var(--color-gray-400);\n }\n\n .dev-tools-info-learn-more-button {\n align-content: center;\n padding: 0 8px;\n height: var(--size-28);\n font-size: var(--size-14);\n font-weight: 500;\n line-height: var(--size-20);\n transition: background var(--duration-short) ease;\n color: var(--color-background-100);\n border-radius: var(--rounded-md-2);\n background: var(--color-gray-1000);\n }\n\n .dev-tools-info-learn-more-button:hover {\n text-decoration: none;\n color: var(--color-background-100);\n opacity: 0.9;\n }\n","\n .dev-tools-info-code {\n background: var(--color-gray-400);\n color: var(--color-gray-1000);\n font-family: var(--font-stack-monospace);\n padding: 2px 4px;\n margin: 0;\n font-size: var(--size-13);\n white-space: break-spaces;\n border-radius: var(--rounded-md-2);\n }\n\n .dev-tools-info-code-block-container {\n padding: 6px;\n }\n\n .dev-tools-info-code-block {\n position: relative;\n background: var(--color-background-200);\n border: 1px solid var(--color-gray-alpha-400);\n border-radius: var(--rounded-md-2);\n min-width: 326px;\n }\n\n .dev-tools-info-code-block-pre {\n margin: 0;\n font-family: var(--font-stack-monospace);\n font-size: var(--size-12);\n }\n\n .dev-tools-info-copy-button {\n position: absolute;\n\n display: flex;\n justify-content: center;\n align-items: center;\n right: 8px;\n top: 8px;\n padding: 4px;\n height: var(--size-24);\n width: var(--size-24);\n border-radius: var(--rounded-md-2);\n border: 1px solid var(--color-gray-alpha-400);\n background: var(--color-background-100);\n }\n\n .dev-tools-info-code-block-line {\n display: block;\n line-height: 1.5;\n padding: 0 16px;\n }\n\n .dev-tools-info-code-block-line.dev-tools-info-highlight {\n border-left: 2px solid var(--color-blue-900);\n background: var(--color-blue-400);\n }\n\n .dev-tools-info-code-block-json-key {\n color: var(--color-syntax-keyword);\n }\n\n .dev-tools-info-code-block-json-value {\n color: var(--color-syntax-link);\n }\n","",DEV_TOOLS_INFO_USER_PREFERENCES_STYLES,'\n .nextjs-scroll-fader {\n --blur: 1px;\n --stop: 25%;\n --height: 150px;\n --color-bg: var(--color-background-100);\n position: absolute;\n pointer-events: none;\n user-select: none;\n width: 100%;\n height: var(--height);\n left: 0;\n backdrop-filter: blur(var(--blur));\n\n &[data-side="top"] {\n top: 0;\n background: linear-gradient(to top, transparent, var(--color-bg));\n mask-image: linear-gradient(to bottom, var(--color-bg) var(--stop), transparent);\n }\n }\n')})}function css_reset_templateObject(){let data=_tagged_template_literal_loose(["\n :host {\n all: initial;\n\n /* the direction property is not reset by 'all' */\n direction: ltr;\n }\n\n /*!\n * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n :host {\n font-family: sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n }\n\n article,\n aside,\n figcaption,\n figure,\n footer,\n header,\n hgroup,\n main,\n nav,\n section {\n display: block;\n }\n\n :host {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,\n 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,\n 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n 'Noto Color Emoji';\n font-size: 16px;\n font-weight: 400;\n line-height: 1.5;\n color: var(--color-font);\n text-align: left;\n }\n\n :host:not(button) {\n background-color: #fff;\n }\n\n [tabindex='-1']:focus:not(:focus-visible) {\n outline: 0 !important;\n }\n\n hr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin-top: 0;\n margin-bottom: 8px;\n }\n\n p {\n margin-top: 0;\n margin-bottom: 16px;\n }\n\n abbr[title],\n abbr[data-original-title] {\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: 0;\n -webkit-text-decoration-skip-ink: none;\n text-decoration-skip-ink: none;\n }\n\n address {\n margin-bottom: 16px;\n font-style: normal;\n line-height: inherit;\n }\n\n ol,\n ul,\n dl {\n margin-top: 0;\n margin-bottom: 16px;\n }\n\n ol ol,\n ul ul,\n ol ul,\n ul ol {\n margin-bottom: 0;\n }\n\n dt {\n font-weight: 700;\n }\n\n dd {\n margin-bottom: 8px;\n margin-left: 0;\n }\n\n blockquote {\n margin: 0 0 16px;\n }\n\n b,\n strong {\n font-weight: bolder;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n a {\n color: #007bff;\n text-decoration: none;\n background-color: transparent;\n }\n\n a:hover {\n color: #0056b3;\n text-decoration: underline;\n }\n\n a:not([href]) {\n color: inherit;\n text-decoration: none;\n }\n\n a:not([href]):hover {\n color: inherit;\n text-decoration: none;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas,\n 'Liberation Mono', 'Courier New', monospace;\n font-size: 1em;\n }\n\n pre {\n margin-top: 0;\n margin-bottom: 16px;\n overflow: auto;\n }\n\n figure {\n margin: 0 0 16px;\n }\n\n img {\n vertical-align: middle;\n border-style: none;\n }\n\n svg {\n overflow: hidden;\n vertical-align: middle;\n }\n\n table {\n border-collapse: collapse;\n }\n\n caption {\n padding-top: 12px;\n padding-bottom: 12px;\n color: #6c757d;\n text-align: left;\n caption-side: bottom;\n }\n\n th {\n text-align: inherit;\n }\n\n label {\n display: inline-block;\n margin-bottom: 8px;\n }\n\n button {\n border-radius: 0;\n border: 0;\n padding: 0;\n margin: 0;\n background: none;\n appearance: none;\n -webkit-appearance: none;\n }\n\n button:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n }\n\n button:focus:not(:focus-visible) {\n outline: none;\n }\n\n input,\n button,\n select,\n optgroup,\n textarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n select {\n word-wrap: normal;\n }\n\n button,\n [type='button'],\n [type='reset'],\n [type='submit'] {\n -webkit-appearance: button;\n }\n\n button:not(:disabled),\n [type='button']:not(:disabled),\n [type='reset']:not(:disabled),\n [type='submit']:not(:disabled) {\n cursor: pointer;\n }\n\n button::-moz-focus-inner,\n [type='button']::-moz-focus-inner,\n [type='reset']::-moz-focus-inner,\n [type='submit']::-moz-focus-inner {\n padding: 0;\n border-style: none;\n }\n\n input[type='radio'],\n input[type='checkbox'] {\n box-sizing: border-box;\n padding: 0;\n }\n\n input[type='date'],\n input[type='time'],\n input[type='datetime-local'],\n input[type='month'] {\n -webkit-appearance: listbox;\n }\n\n textarea {\n overflow: auto;\n resize: vertical;\n }\n\n fieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n }\n\n legend {\n display: block;\n width: 100%;\n max-width: 100%;\n padding: 0;\n margin-bottom: 8px;\n font-size: 24px;\n line-height: inherit;\n color: inherit;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n [type='number']::-webkit-inner-spin-button,\n [type='number']::-webkit-outer-spin-button {\n height: auto;\n }\n\n [type='search'] {\n outline-offset: -2px;\n -webkit-appearance: none;\n }\n\n [type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n ::-webkit-file-upload-button {\n font: inherit;\n -webkit-appearance: button;\n }\n\n output {\n display: inline-block;\n }\n\n summary {\n display: list-item;\n cursor: pointer;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n "]);return css_reset_templateObject=function(){return data},data}function CssReset(){return/*#__PURE__*/(0,jsx_runtime.jsx)("style",{children:css(css_reset_templateObject())})}function colors_templateObject(){let data=_tagged_template_literal_loose(['\n :host {\n /* \n * CAUTION: THIS IS A WORKAROUND!\n * For now, we use @babel/code-frame to parse the code frame which does not support option to change the color.\n * x-ref: https://github.com/babel/babel/blob/efa52324ff835b794c48080f14877b6caf32cd15/packages/babel-code-frame/src/defs.ts#L40-L54\n * So, we do a workaround mapping to change the color matching the theme.\n *\n * For example, in @babel/code-frame, the "keyword" is mapped to ANSI "cyan".\n * We want the "keyword" to use the "syntax-keyword" color in the theme.\n * So, we map the "cyan" to the "syntax-keyword" in the theme.\n */\n /* cyan: keyword */\n --color-ansi-cyan: var(--color-syntax-keyword);\n /* yellow: capitalized, jsxIdentifier, punctuation */\n --color-ansi-yellow: var(--color-syntax-function);\n /* magenta: number, regex */\n --color-ansi-magenta: var(--color-syntax-keyword);\n /* green: string */\n --color-ansi-green: var(--color-syntax-string);\n /* gray (bright black): comment, gutter */\n --color-ansi-bright-black: var(--color-syntax-comment);\n\n /* Ansi - Temporary */\n --color-ansi-selection: var(--color-gray-alpha-300);\n --color-ansi-bg: var(--color-background-200);\n --color-ansi-fg: var(--color-gray-1000);\n\n --color-ansi-white: var(--color-gray-700);\n --color-ansi-black: var(--color-gray-200);\n --color-ansi-blue: var(--color-blue-700);\n --color-ansi-red: var(--color-red-700);\n --color-ansi-bright-white: var(--color-gray-1000);\n --color-ansi-bright-blue: var(--color-blue-800);\n --color-ansi-bright-cyan: var(--color-blue-800);\n --color-ansi-bright-green: var(--color-green-800);\n --color-ansi-bright-magenta: var(--color-blue-800);\n --color-ansi-bright-red: var(--color-red-800);\n --color-ansi-bright-yellow: var(--color-amber-900);\n\n /* Background Light */\n --color-background-100: #ffffff;\n --color-background-200: #fafafa;\n\n /* Syntax Light */\n --color-syntax-comment: #545454;\n --color-syntax-constant: #171717;\n --color-syntax-function: #0054ad;\n --color-syntax-keyword: #a51850;\n --color-syntax-link: #066056;\n --color-syntax-parameter: #8f3e00;\n --color-syntax-punctuation: #171717;\n --color-syntax-string: #036157;\n --color-syntax-string-expression: #066056;\n\n /* Gray Scale Light */\n --color-gray-100: #f2f2f2;\n --color-gray-200: #ebebeb;\n --color-gray-300: #e6e6e6;\n --color-gray-400: #eaeaea;\n --color-gray-500: #c9c9c9;\n --color-gray-600: #a8a8a8;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #666666;\n --color-gray-1000: #171717;\n\n /* Gray Alpha Scale Light */\n --color-gray-alpha-100: rgba(0, 0, 0, 0.05);\n --color-gray-alpha-200: rgba(0, 0, 0, 0.081);\n --color-gray-alpha-300: rgba(0, 0, 0, 0.1);\n --color-gray-alpha-400: rgba(0, 0, 0, 0.08);\n --color-gray-alpha-500: rgba(0, 0, 0, 0.21);\n --color-gray-alpha-600: rgba(0, 0, 0, 0.34);\n --color-gray-alpha-700: rgba(0, 0, 0, 0.44);\n --color-gray-alpha-800: rgba(0, 0, 0, 0.51);\n --color-gray-alpha-900: rgba(0, 0, 0, 0.605);\n --color-gray-alpha-1000: rgba(0, 0, 0, 0.91);\n\n /* Blue Scale Light */\n --color-blue-100: #f0f7ff;\n --color-blue-200: #edf6ff;\n --color-blue-300: #e1f0ff;\n --color-blue-400: #cde7ff;\n --color-blue-500: #99ceff;\n --color-blue-600: #52aeff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #0067d6;\n --color-blue-1000: #0025ad;\n\n /* Red Scale Light */\n --color-red-100: #fff0f0;\n --color-red-200: #ffebeb;\n --color-red-300: #ffe5e5;\n --color-red-400: #fdd8d8;\n --color-red-500: #f8baba;\n --color-red-600: #f87274;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ca2a30;\n --color-red-1000: #381316;\n\n /* Amber Scale Light */\n --color-amber-100: #fff6e5;\n --color-amber-200: #fff4d5;\n --color-amber-300: #fef0cd;\n --color-amber-400: #ffddbf;\n --color-amber-500: #ffc96b;\n --color-amber-600: #f5b047;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #a35200;\n --color-amber-1000: #4e2009;\n\n /* Green Scale Light */\n --color-green-100: #effbef;\n --color-green-200: #eafaea;\n --color-green-300: #dcf6dc;\n --color-green-400: #c8f1c9;\n --color-green-500: #99e59f;\n --color-green-600: #6cda76;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #297c3b;\n --color-green-1000: #18311e;\n\n /* Turbopack Light - Temporary */\n --color-turbopack-text-red: #ff1e56;\n --color-turbopack-text-blue: #0096ff;\n --color-turbopack-border-red: #f0adbe;\n --color-turbopack-border-blue: #adccea;\n --color-turbopack-background-red: #fff7f9;\n --color-turbopack-background-blue: #f6fbff;\n }\n ']);return colors_templateObject=function(){return data},data}function Colors(){return/*#__PURE__*/(0,jsx_runtime.jsx)("style",{children:css(colors_templateObject())})}function ErrorOverlay(param){let{state,runtimeErrors,isErrorOverlayOpen,setIsErrorOverlayOpen,errorCount}=param,{mounted,rendered}=useDelayedRender(isErrorOverlayOpen,{exitDelay:200}),commonProps={rendered,transitionDurationMs:200,isTurbopack:!0,versionInfo:state.versionInfo,errorCount};return null!==state.buildError?/*#__PURE__*/(0,jsx_runtime.jsx)(BuildError,{...commonProps,message:state.buildError,rendered:!0}):runtimeErrors.length&&mounted?/*#__PURE__*/(0,jsx_runtime.jsx)(Errors,{...commonProps,debugInfo:state.debugInfo,runtimeErrors:runtimeErrors,onClose:()=>{setIsErrorOverlayOpen(!1)}}):/*#__PURE__*/(0,jsx_runtime.jsx)(react_experimental.Suspense,{})}let RenderError=props=>{let{state}=props;return state.buildError?/*#__PURE__*/(0,jsx_runtime.jsx)(RenderBuildError,{...props}):/*#__PURE__*/(0,jsx_runtime.jsx)(RenderRuntimeError,{...props})},RenderRuntimeError=param=>{let{children,state,isAppDir}=param,{errors}=state,[lookups,setLookups]=(0,react_experimental.useState)({}),[runtimeErrors,nextError]=(0,react_experimental.useMemo)(()=>{let ready=[],next=null;for(let idx=0;idx<errors.length;++idx){let e=errors[idx],{id}=e;if(id in lookups){ready.push(lookups[id]);continue}next=e;break}return[ready,next]},[errors,lookups]);return(0,react_experimental.useEffect)(()=>{if(null==nextError)return;let mounted=!0;return getErrorByType(nextError,isAppDir).then(resolved=>{mounted&&setLookups(m=>({...m,[resolved.id]:resolved}))}),()=>{mounted=!1}},[nextError,isAppDir]),children({runtimeErrors,totalErrorCount:errors.length})},RenderBuildError=param=>{let{children}=param;return children({runtimeErrors:[],totalErrorCount:1})};function dark_theme_templateObject(){let data=_tagged_template_literal_loose(["\n :host(.dark) {\n ","\n ","\n }\n\n @media (prefers-color-scheme: dark) {\n :host(:not(.light)) {\n ","\n ","\n }\n }\n "]);return dark_theme_templateObject=function(){return data},data}let colors="\n /* Background Dark */\n --color-background-100: #0a0a0a;\n --color-background-200: #000000;\n\n /* Syntax Dark */\n --color-syntax-comment: #a0a0a0;\n --color-syntax-constant: #ededed;\n --color-syntax-function: #52a9ff;\n --color-syntax-keyword: #f76e99;\n --color-syntax-link: #0ac5b2;\n --color-syntax-parameter: #f1a10d;\n --color-syntax-punctuation: #ededed;\n --color-syntax-string: #0ac5b2;\n --color-syntax-string-expression: #0ac5b2;\n\n /* Gray Scale Dark */\n --color-gray-100: #1a1a1a;\n --color-gray-200: #1f1f1f;\n --color-gray-300: #292929;\n --color-gray-400: #2e2e2e;\n --color-gray-500: #454545;\n --color-gray-600: #878787;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #a0a0a0;\n --color-gray-1000: #ededed;\n\n /* Gray Alpha Scale Dark */\n --color-gray-alpha-100: rgba(255, 255, 255, 0.066);\n --color-gray-alpha-200: rgba(255, 255, 255, 0.087);\n --color-gray-alpha-300: rgba(255, 255, 255, 0.125);\n --color-gray-alpha-400: rgba(255, 255, 255, 0.145);\n --color-gray-alpha-500: rgba(255, 255, 255, 0.239);\n --color-gray-alpha-600: rgba(255, 255, 255, 0.506);\n --color-gray-alpha-700: rgba(255, 255, 255, 0.54);\n --color-gray-alpha-800: rgba(255, 255, 255, 0.47);\n --color-gray-alpha-900: rgba(255, 255, 255, 0.61);\n --color-gray-alpha-1000: rgba(255, 255, 255, 0.923);\n\n /* Blue Scale Dark */\n --color-blue-100: #0f1b2d;\n --color-blue-200: #10243e;\n --color-blue-300: #0f3058;\n --color-blue-400: #0d3868;\n --color-blue-500: #0a4481;\n --color-blue-600: #0091ff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #52a9ff;\n --color-blue-1000: #eaf6ff;\n\n /* Red Scale Dark */\n --color-red-100: #2a1314;\n --color-red-200: #3d1719;\n --color-red-300: #551a1e;\n --color-red-400: #671e22;\n --color-red-500: #822025;\n --color-red-600: #e5484d;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ff6369;\n --color-red-1000: #ffecee;\n\n /* Amber Scale Dark */\n --color-amber-100: #271700;\n --color-amber-200: #341c00;\n --color-amber-300: #4a2900;\n --color-amber-400: #573300;\n --color-amber-500: #693f05;\n --color-amber-600: #e79c13;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #f1a10d;\n --color-amber-1000: #fef3dd;\n\n /* Green Scale Dark */\n --color-green-100: #0b2211;\n --color-green-200: #0f2c17;\n --color-green-300: #11351b;\n --color-green-400: #0c461b;\n --color-green-500: #126427;\n --color-green-600: #1a9338;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #63c174;\n --color-green-1000: #e5fbeb;\n\n /* Turbopack Dark - Temporary */\n --color-turbopack-text-red: #ff6d92;\n --color-turbopack-text-blue: #45b2ff;\n --color-turbopack-border-red: #6e293b;\n --color-turbopack-border-blue: #284f80;\n --color-turbopack-background-red: #250d12;\n --color-turbopack-background-blue: #0a1723;\n",base="\n --color-font: white;\n --color-backdrop: rgba(0, 0, 0, 0.8);\n --color-border-shadow: rgba(255, 255, 255, 0.145);\n\n --color-title-color: #fafafa;\n --color-stack-notes: #a9a9a9;\n";function DarkTheme(){return/*#__PURE__*/(0,jsx_runtime.jsx)("style",{children:css(dark_theme_templateObject(),base,colors,base,colors)})}function DevOverlay(param){let{state,isErrorOverlayOpen,setIsErrorOverlayOpen}=param,[scale,setScale]=function(){let[scale,setScale]=(0,react_experimental.useState)("undefined"!=typeof localStorage&&localStorage.getItem(STORAGE_KEY_SCALE)?Number(localStorage.getItem(STORAGE_KEY_SCALE)):NEXT_DEV_TOOLS_SCALE.Medium);return[scale,function(value1){setScale(value1),localStorage.setItem(STORAGE_KEY_SCALE,String(value1))}]}();return/*#__PURE__*/(0,jsx_runtime.jsxs)(ShadowPortal,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(CssReset,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(Base,{scale:scale}),/*#__PURE__*/(0,jsx_runtime.jsx)(Colors,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(ComponentStyles,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(DarkTheme,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(RenderError,{state:state,isAppDir:!0,children:param=>{let{runtimeErrors,totalErrorCount}=param,isBuildError=null!==state.buildError;return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[state.showIndicator&&/*#__PURE__*/(0,jsx_runtime.jsx)(DevToolsIndicator,{scale:scale,setScale:setScale,state:state,errorCount:totalErrorCount,isBuildError:isBuildError,setIsErrorOverlayOpen:setIsErrorOverlayOpen}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlay,{state:state,runtimeErrors:runtimeErrors,errorCount:totalErrorCount,isErrorOverlayOpen:isErrorOverlayOpen,setIsErrorOverlayOpen:setIsErrorOverlayOpen})]})}})]})}var is_next_router_error=__webpack_require__("./dist/esm/client/components/is-next-router-error.js");let queueMicroTask=globalThis.queueMicrotask||(cb=>Promise.resolve().then(cb)),errorQueue=[],errorHandlers=[],rejectionQueue=[],rejectionHandlers=[];var constants=__webpack_require__("./dist/esm/shared/lib/errors/constants.js");function ReplaySsrOnlyErrors(param){let{onBlockingError}=param;{let ssrError=function(){if("undefined"==typeof document)return null;let ssrErrorTemplateTag=document.querySelector("template[data-next-error-message]");if(ssrErrorTemplateTag){let message=ssrErrorTemplateTag.getAttribute("data-next-error-message"),stack=ssrErrorTemplateTag.getAttribute("data-next-error-stack"),digest=ssrErrorTemplateTag.getAttribute("data-next-error-digest"),error=Object.defineProperty(Error(message),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return(digest&&(error.digest=digest),(0,is_next_router_error.isNextRouterError)(error))?null:(error.stack=stack||"",error)}return null}();(0,react_experimental.useEffect)(()=>{null!==ssrError&&(function(error){for(let handler of(errorQueue.push(error),errorHandlers))queueMicroTask(()=>{handler(error)})}(ssrError),ssrError.digest===constants.MISSING_ROOT_TAGS_ERROR&&onBlockingError())},[ssrError,onBlockingError])}return null}function AppDevOverlay(param){let{state,globalError,children}=param,[isErrorOverlayOpen,setIsErrorOverlayOpen]=(0,react_experimental.useState)(!1),openOverlay=(0,react_experimental.useCallback)(()=>{setIsErrorOverlayOpen(!0)},[]);return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsxs)(AppDevOverlayErrorBoundary,{globalError:globalError,onError:setIsErrorOverlayOpen,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(ReplaySsrOnlyErrors,{onBlockingError:openOverlay}),children]}),/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(FontStyles,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(DevOverlay,{state:state,isErrorOverlayOpen:isErrorOverlayOpen,setIsErrorOverlayOpen:setIsErrorOverlayOpen})]})]})}var app_router_context_shared_runtime=__webpack_require__("./dist/esm/shared/lib/app-router-context.shared-runtime.js");function useSendMessage(webSocketRef){return(0,react_experimental.useCallback)(data=>{let socket=webSocketRef.current;if(socket&&socket.readyState===socket.OPEN)return socket.send(data)},[webSocketRef])}var LocationType=/*#__PURE__*/function(LocationType){return LocationType.FILE="file",LocationType.WEBPACK_INTERNAL="webpack-internal",LocationType.HTTP="http",LocationType.PROTOCOL_RELATIVE="protocol-relative",LocationType.UNKNOWN="unknown",LocationType}(LocationType||{}),HMR_ACTIONS_SENT_TO_BROWSER=/*#__PURE__*/function(HMR_ACTIONS_SENT_TO_BROWSER){return HMR_ACTIONS_SENT_TO_BROWSER.ADDED_PAGE="addedPage",HMR_ACTIONS_SENT_TO_BROWSER.REMOVED_PAGE="removedPage",HMR_ACTIONS_SENT_TO_BROWSER.RELOAD_PAGE="reloadPage",HMR_ACTIONS_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES="serverComponentChanges",HMR_ACTIONS_SENT_TO_BROWSER.MIDDLEWARE_CHANGES="middlewareChanges",HMR_ACTIONS_SENT_TO_BROWSER.CLIENT_CHANGES="clientChanges",HMR_ACTIONS_SENT_TO_BROWSER.SERVER_ONLY_CHANGES="serverOnlyChanges",HMR_ACTIONS_SENT_TO_BROWSER.SYNC="sync",HMR_ACTIONS_SENT_TO_BROWSER.BUILT="built",HMR_ACTIONS_SENT_TO_BROWSER.BUILDING="building",HMR_ACTIONS_SENT_TO_BROWSER.DEV_PAGES_MANIFEST_UPDATE="devPagesManifestUpdate",HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_MESSAGE="turbopack-message",HMR_ACTIONS_SENT_TO_BROWSER.SERVER_ERROR="serverError",HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_CONNECTED="turbopack-connected",HMR_ACTIONS_SENT_TO_BROWSER.ISR_MANIFEST="isrManifest",HMR_ACTIONS_SENT_TO_BROWSER.DEV_INDICATOR="devIndicator",HMR_ACTIONS_SENT_TO_BROWSER}({}),navigation_untracked=__webpack_require__("./dist/esm/client/components/navigation-untracked.js");let handleDevBuildIndicatorHmrEvents=obj=>{try{if(!("action"in obj))return;switch(obj.action){case HMR_ACTIONS_SENT_TO_BROWSER.BUILDING:devBuildIndicator.show();break;case HMR_ACTIONS_SENT_TO_BROWSER.BUILT:case HMR_ACTIONS_SENT_TO_BROWSER.SYNC:devBuildIndicator.hide()}}catch(e){}};var _class_private_field_loose_base=__webpack_require__("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_private_field_loose_base.js"),_class_private_field_loose_key=__webpack_require__("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_private_field_loose_key.js"),_updatedModules=/*#__PURE__*/(0,_class_private_field_loose_key._)("_updatedModules"),_startMsSinceEpoch=/*#__PURE__*/(0,_class_private_field_loose_key._)("_startMsSinceEpoch"),_lastUpdateMsSinceEpoch=/*#__PURE__*/(0,_class_private_field_loose_key._)("_lastUpdateMsSinceEpoch"),_deferredReportHmrStartId=/*#__PURE__*/(0,_class_private_field_loose_key._)("_deferredReportHmrStartId"),_runDeferredReportHmrStart=/*#__PURE__*/(0,_class_private_field_loose_key._)("_runDeferredReportHmrStart"),_cancelDeferredReportHmrStart=/*#__PURE__*/(0,_class_private_field_loose_key._)("_cancelDeferredReportHmrStart"),_onUpdate=/*#__PURE__*/(0,_class_private_field_loose_key._)("_onUpdate");function runDeferredReportHmrStart(){null!=(0,_class_private_field_loose_base._)(this,_deferredReportHmrStartId)[_deferredReportHmrStartId]&&(console.log("[Fast Refresh] rebuilding"),(0,_class_private_field_loose_base._)(this,_cancelDeferredReportHmrStart)[_cancelDeferredReportHmrStart]())}function cancelDeferredReportHmrStart(){clearTimeout((0,_class_private_field_loose_base._)(this,_deferredReportHmrStartId)[_deferredReportHmrStartId]),(0,_class_private_field_loose_base._)(this,_deferredReportHmrStartId)[_deferredReportHmrStartId]=void 0}function onUpdate(){(0,_class_private_field_loose_base._)(this,_runDeferredReportHmrStart)[_runDeferredReportHmrStart](),(0,_class_private_field_loose_base._)(this,_lastUpdateMsSinceEpoch)[_lastUpdateMsSinceEpoch]=Date.now()}var app_router_headers=__webpack_require__("./dist/esm/client/components/app-router-headers.js");module1=__webpack_require__.hmd(module1);let __nextDevClientId=Math.round(100*Math.random()+Date.now()),reloading=!1,turbopackHmr=new class{onBuilding(){(0,_class_private_field_loose_base._)(this,_lastUpdateMsSinceEpoch)[_lastUpdateMsSinceEpoch]=void 0,(0,_class_private_field_loose_base._)(this,_cancelDeferredReportHmrStart)[_cancelDeferredReportHmrStart](),(0,_class_private_field_loose_base._)(this,_startMsSinceEpoch)[_startMsSinceEpoch]=Date.now(),(0,_class_private_field_loose_base._)(this,_deferredReportHmrStartId)[_deferredReportHmrStartId]=setTimeout(()=>(0,_class_private_field_loose_base._)(this,_runDeferredReportHmrStart)[_runDeferredReportHmrStart](),self.__NEXT_HMR_TURBOPACK_REPORT_NOISY_NOOP_EVENTS?0:100)}onTurbopackMessage(msg){for(let module1 of((0,_class_private_field_loose_base._)(this,_onUpdate)[_onUpdate](),function(data){let updatedModules=new Set;for(let update of Array.isArray(data)?data:[data])if("partial"===update.type&&"ChunkListUpdate"===update.instruction.type&&void 0!==update.instruction.merged)for(let mergedUpdate of update.instruction.merged)for(let name of Object.keys(mergedUpdate.entries)){let res=/(.*)\s+\[.*/.exec(name);if(null===res){console.error("[Turbopack HMR] Expected module to match pattern: "+name);continue}updatedModules.add(res[1])}return updatedModules}(msg.data)))(0,_class_private_field_loose_base._)(this,_updatedModules)[_updatedModules].add(module1)}onServerComponentChanges(){(0,_class_private_field_loose_base._)(this,_onUpdate)[_onUpdate]()}onReloadPage(){(0,_class_private_field_loose_base._)(this,_onUpdate)[_onUpdate]()}onPageAddRemove(){(0,_class_private_field_loose_base._)(this,_onUpdate)[_onUpdate]()}onBuilt(){var _class_private_field_loose_base__lastUpdateMsSinceEpoch;let hasUpdates=null!=(0,_class_private_field_loose_base._)(this,_lastUpdateMsSinceEpoch)[_lastUpdateMsSinceEpoch]&&null!=(0,_class_private_field_loose_base._)(this,_startMsSinceEpoch)[_startMsSinceEpoch];if(!hasUpdates&&null!=(0,_class_private_field_loose_base._)(this,_deferredReportHmrStartId)[_deferredReportHmrStartId])return(0,_class_private_field_loose_base._)(this,_cancelDeferredReportHmrStart)[_cancelDeferredReportHmrStart](),null;(0,_class_private_field_loose_base._)(this,_runDeferredReportHmrStart)[_runDeferredReportHmrStart]();let result={hasUpdates,updatedModules:(0,_class_private_field_loose_base._)(this,_updatedModules)[_updatedModules],startMsSinceEpoch:(0,_class_private_field_loose_base._)(this,_startMsSinceEpoch)[_startMsSinceEpoch],endMsSinceEpoch:null!=(_class_private_field_loose_base__lastUpdateMsSinceEpoch=(0,_class_private_field_loose_base._)(this,_lastUpdateMsSinceEpoch)[_lastUpdateMsSinceEpoch])?_class_private_field_loose_base__lastUpdateMsSinceEpoch:Date.now()};return(0,_class_private_field_loose_base._)(this,_updatedModules)[_updatedModules]=new Set,result}constructor(){Object.defineProperty(this,_runDeferredReportHmrStart,{value:runDeferredReportHmrStart}),Object.defineProperty(this,_cancelDeferredReportHmrStart,{value:cancelDeferredReportHmrStart}),Object.defineProperty(this,_onUpdate,{value:onUpdate}),Object.defineProperty(this,_updatedModules,{writable:!0,value:void 0}),Object.defineProperty(this,_startMsSinceEpoch,{writable:!0,value:void 0}),Object.defineProperty(this,_lastUpdateMsSinceEpoch,{writable:!0,value:void 0}),Object.defineProperty(this,_deferredReportHmrStartId,{writable:!0,value:void 0}),(0,_class_private_field_loose_base._)(this,_updatedModules)[_updatedModules]=new Set}},pendingHotUpdateWebpack=Promise.resolve();function waitForWebpackRuntimeHotUpdate(){return pendingHotUpdateWebpack}function performFullReload(err,sendMessage){sendMessage(JSON.stringify({event:"client-full-reload",stackTrace:err&&(err.stack&&err.stack.split("\n").slice(0,5).join("\n")||err.message||err+""),hadRuntimeError:!!RuntimeErrorHandler.hadRuntimeError,dependencyChain:err?err.dependencyChain:void 0})),reloading||(reloading=!0,window.location.reload())}function HotReload(param){let{assetPrefix,children,globalError}=param,[state,dispatch]=(0,react_experimental.useReducer)((state,action)=>{switch(action.type){case ACTION_DEBUG_INFO:return{...state,debugInfo:action.debugInfo};case ACTION_STATIC_INDICATOR:return{...state,staticIndicator:action.staticIndicator};case ACTION_BUILD_OK:return{...state,buildError:null};case ACTION_BUILD_ERROR:return{...state,buildError:action.message};case ACTION_BEFORE_REFRESH:return{...state,refreshState:{type:"pending",errors:[]}};case ACTION_REFRESH:return{...state,buildError:null,errors:"pending"===state.refreshState.type?state.refreshState.errors:[],refreshState:{type:"idle"}};case ACTION_UNHANDLED_ERROR:case ACTION_UNHANDLED_REJECTION:switch(state.refreshState.type){case"idle":return{...state,nextId:state.nextId+1,errors:pushErrorFilterDuplicates(state.errors,{id:state.nextId,event:action})};case"pending":return{...state,nextId:state.nextId+1,refreshState:{...state.refreshState,errors:pushErrorFilterDuplicates(state.refreshState.errors,{id:state.nextId,event:action})}};default:return state}case ACTION_VERSION_INFO:return{...state,versionInfo:action.versionInfo};case ACTION_DEV_INDICATOR:return{...state,showIndicator:!0,disableDevIndicator:shouldDisableDevIndicator||!!action.devIndicator.disabledUntil};default:return state}},{...INITIAL_OVERLAY_STATE,routerType:"app"}),dispatcher=(0,react_experimental.useMemo)(()=>({onBuildOk(){dispatch({type:ACTION_BUILD_OK})},onBuildError(message){dispatch({type:ACTION_BUILD_ERROR,message})},onBeforeRefresh(){dispatch({type:ACTION_BEFORE_REFRESH})},onRefresh(){dispatch({type:ACTION_REFRESH})},onVersionInfo(versionInfo){dispatch({type:ACTION_VERSION_INFO,versionInfo})},onStaticIndicator(status){dispatch({type:ACTION_STATIC_INDICATOR,staticIndicator:status})},onDebugInfo(debugInfo){dispatch({type:ACTION_DEBUG_INFO,debugInfo})},onDevIndicator(devIndicator){dispatch({type:ACTION_DEV_INDICATOR,devIndicator})}}),[dispatch]),handleOnUnhandledError=(0,react_experimental.useCallback)(error=>{let componentStack=componentStacks.get(error),ownerStack=getOwnerStack(error);dispatch({type:ACTION_UNHANDLED_ERROR,reason:error,frames:parseStack((error.stack||"")+(ownerStack||"")),componentStackFrames:"string"==typeof componentStack?function(componentStack){let componentStackFrames=[];for(let line of componentStack.trim().split("\n")){let match=/at ([^ ]+)( \((.*)\))?/.exec(line);if(null==match?void 0:match[1]){let component=match[1],location1=match[3];if(!location1){componentStackFrames.push({canOpenInEditor:!1,component});continue}if(null==location1?void 0:location1.includes("next/dist"))break;let frameLocation=function(location1){var _modulePath_match;let locationType=location1.startsWith("file://")?"file":location1.includes("webpack-internal://")?"webpack-internal":location1.startsWith("http://")||location1.startsWith("https://")?"http":location1.startsWith("//")?"protocol-relative":"unknown",modulePath=null==location1?void 0:location1.replace(/^(webpack-internal:\/\/\/|file:\/\/)(\(.*\)\/)?/,""),[,file,lineNumber,column]=null!=(_modulePath_match=null==modulePath?void 0:modulePath.match(/^(.+):(\d+):(\d+)/))?_modulePath_match:[];switch(locationType){case"file":case"webpack-internal":return{canOpenInEditor:!0,file,lineNumber:lineNumber?Number(lineNumber):void 0,column:column?Number(column):void 0};default:return{canOpenInEditor:!1}}}(location1);componentStackFrames.push({component,...frameLocation})}}return componentStackFrames}(componentStack):void 0})},[dispatch]),handleOnUnhandledRejection=(0,react_experimental.useCallback)(error=>{let ownerStack=getOwnerStack(error);dispatch({type:ACTION_UNHANDLED_REJECTION,reason:error,frames:parseStack((error.stack||"")+(ownerStack||""))})},[dispatch]);(0,react_experimental.useEffect)(()=>(errorQueue.forEach(handleOnUnhandledError),rejectionQueue.forEach(handleOnUnhandledRejection),errorHandlers.push(handleOnUnhandledError),rejectionHandlers.push(handleOnUnhandledRejection),()=>{errorHandlers.splice(errorHandlers.indexOf(handleOnUnhandledError),1),rejectionHandlers.splice(rejectionHandlers.indexOf(handleOnUnhandledRejection),1),errorQueue.splice(0,errorQueue.length),rejectionQueue.splice(0,rejectionQueue.length)}),[handleOnUnhandledError,handleOnUnhandledRejection]);let webSocketRef=function(assetPrefix){let webSocketRef=(0,react_experimental.useRef)(void 0);return(0,react_experimental.useEffect)(()=>{if(webSocketRef.current)return;let url=function(assetPrefix){let prefix=function(assetPrefix){let escapedAssetPrefix=(null==assetPrefix?void 0:assetPrefix.replace(/^\/+|\/+$/g,""))||!1;if(!escapedAssetPrefix)return"";if(URL.canParse(escapedAssetPrefix)){let url=new URL(escapedAssetPrefix).toString();return url.endsWith("/")?url.slice(0,-1):url}return"/"+escapedAssetPrefix}(assetPrefix),protocol=function(assetPrefix){let protocol=window.location.protocol;try{protocol=new URL(assetPrefix).protocol}catch(e){}return"http:"===protocol?"ws:":"wss:"}(assetPrefix||"");if(URL.canParse(prefix))return prefix.replace(/^http/,"ws");let{hostname,port}=window.location;return protocol+"//"+hostname+(port?":"+port:"")+prefix}(assetPrefix);webSocketRef.current=new window.WebSocket(""+url+"/_next/webpack-hmr")},[assetPrefix]),webSocketRef}(assetPrefix);!function(websocketRef){let sendMessage=useSendMessage(websocketRef),{tree}=(0,react_experimental.useContext)(app_router_context_shared_runtime.GlobalLayoutRouterContext);(0,react_experimental.useEffect)(()=>{},[tree,sendMessage])}(webSocketRef);let sendMessage=useSendMessage(webSocketRef),processTurbopackMessage=function(sendMessage,onUpdateError){let turbopackState=(0,react_experimental.useRef)({init:!1,queue:[],callback:void 0}),processTurbopackMessage=(0,react_experimental.useCallback)(msg=>{let{callback,queue}=turbopackState.current;callback?callback(msg):queue.push(msg)},[]);return(0,react_experimental.useEffect)(()=>{let{current:initCurrent}=turbopackState;initCurrent.init||(initCurrent.init=!0,__webpack_require__.e(/*! import() */"dist_client_dev_noop-turbopack-hmr_js").then(__webpack_require__.t.bind(__webpack_require__,/*! @vercel/turbopack-ecmascript-runtime/browser/dev/hmr-client/hmr-client.ts */"./dist/client/dev/noop-turbopack-hmr.js",23)).then(param=>{let{connect}=param,{current}=turbopackState;connect({addMessageListener(cb){for(let msg of(current.callback=cb,current.queue))cb(msg);current.queue=void 0},sendMessage,onUpdateError})}))},[sendMessage,onUpdateError]),processTurbopackMessage}(sendMessage,err=>performFullReload(err,sendMessage)),router=(0,navigation.useRouter)(),pathname=(0,navigation_untracked.useUntrackedPathname)(),appIsrManifestRef=(0,react_experimental.useRef)({}),pathnameRef=(0,react_experimental.useRef)(pathname);return process.env.__NEXT_DEV_INDICATOR&&(0,react_experimental.useEffect)(()=>{pathnameRef.current=pathname;let appIsrManifest=appIsrManifestRef.current;if(appIsrManifest){if(pathname&&pathname in appIsrManifest)try{dispatcher.onStaticIndicator(!0)}catch(reason){var _reason_stack,_reason_stack1;let message="";reason instanceof DOMException?message=null!=(_reason_stack=reason.stack)?_reason_stack:reason.message:message=reason instanceof Error?"Error: "+reason.message+"\n"+(null!=(_reason_stack1=reason.stack)?_reason_stack1:""):"Unexpected Exception: "+reason,console.warn("[HMR] "+message)}else dispatcher.onStaticIndicator(!1)}},[pathname,dispatcher]),(0,react_experimental.useEffect)(()=>{let websocket=webSocketRef.current;if(!websocket)return;let handler=event=>{try{let obj=JSON.parse(event.data);handleDevBuildIndicatorHmrEvents(obj),function(obj,sendMessage,processTurbopackMessage,router,dispatcher,appIsrManifestRef,pathnameRef){if("action"in obj)switch(obj.action){case HMR_ACTIONS_SENT_TO_BROWSER.ISR_MANIFEST:process.env.__NEXT_DEV_INDICATOR&&appIsrManifestRef&&(appIsrManifestRef.current=obj.data,pathnameRef.current in obj.data?dispatcher.onStaticIndicator(!0):dispatcher.onStaticIndicator(!1));break;case HMR_ACTIONS_SENT_TO_BROWSER.BUILDING:turbopackHmr.onBuilding();break;case HMR_ACTIONS_SENT_TO_BROWSER.BUILT:case HMR_ACTIONS_SENT_TO_BROWSER.SYNC:{obj.hash&&obj.hash;let{errors,warnings}=obj;if("versionInfo"in obj&&dispatcher.onVersionInfo(obj.versionInfo),"debug"in obj&&obj.debug&&dispatcher.onDebugInfo(obj.debug),"devIndicator"in obj&&dispatcher.onDevIndicator(obj.devIndicator),errors&&errors.length){sendMessage(JSON.stringify({event:"client-error",errorCount:errors.length,clientId:__nextDevClientId})),handleErrors(errors);return}if(warnings&&warnings.length){sendMessage(JSON.stringify({event:"client-warning",warningCount:warnings.length,clientId:__nextDevClientId}));let formattedMessages=formatWebpackMessages({warnings:warnings,errors:[]});for(let i=0;i<formattedMessages.warnings.length;i++){if(5===i){console.warn("There were more warnings in other files.\nYou can find a complete log in the terminal.");break}console.warn(strip_ansi_default()(formattedMessages.warnings[i]))}}sendMessage(JSON.stringify({event:"client-success",clientId:__nextDevClientId})),obj.action===HMR_ACTIONS_SENT_TO_BROWSER.BUILT&&function(){{let hmrUpdate=turbopackHmr.onBuilt();null!=hmrUpdate&&function(sendMessage,updatedModules,startMsSinceEpoch,endMsSinceEpoch,hasUpdate){void 0===hasUpdate&&(hasUpdate=!0);let latencyMs=endMsSinceEpoch-startMsSinceEpoch;console.log("[Fast Refresh] done in "+latencyMs+"ms"),hasUpdate&&(sendMessage(JSON.stringify({event:"client-hmr-latency",id:window.__nextDevClientId,startTime:startMsSinceEpoch,endTime:endMsSinceEpoch,page:window.location.pathname,updatedModules,isPageHidden:"hidden"===document.visibilityState})),self.__NEXT_HMR_LATENCY_CB&&self.__NEXT_HMR_LATENCY_CB(latencyMs))}(sendMessage,[...hmrUpdate.updatedModules],hmrUpdate.startMsSinceEpoch,hmrUpdate.endMsSinceEpoch,hmrUpdate.hasUpdates),dispatcher.onBuildOk()}}();return}case HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_CONNECTED:processTurbopackMessage({type:HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_CONNECTED,data:{sessionId:obj.data.sessionId}});break;case HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_MESSAGE:turbopackHmr.onTurbopackMessage(obj),dispatcher.onBeforeRefresh(),processTurbopackMessage({type:HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_MESSAGE,data:obj.data}),RuntimeErrorHandler.hadRuntimeError&&(console.warn("[Fast Refresh] performing full reload because your application had an unrecoverable error"),performFullReload(null,sendMessage)),dispatcher.onRefresh();break;case HMR_ACTIONS_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES:if(null==turbopackHmr||turbopackHmr.onServerComponentChanges(),sendMessage(JSON.stringify({event:"server-component-reload-page",clientId:__nextDevClientId,hash:obj.hash})),document.cookie=app_router_headers.NEXT_HMR_REFRESH_HASH_COOKIE+"="+obj.hash,RuntimeErrorHandler.hadRuntimeError){if(reloading)return;return reloading=!0,window.location.reload()}(0,react_experimental.startTransition)(()=>{router.hmrRefresh(),dispatcher.onRefresh()}),process.env.__NEXT_TEST_MODE&&self.__NEXT_HMR_CB&&(self.__NEXT_HMR_CB(),self.__NEXT_HMR_CB=null);return;case HMR_ACTIONS_SENT_TO_BROWSER.RELOAD_PAGE:if(null==turbopackHmr||turbopackHmr.onReloadPage(),sendMessage(JSON.stringify({event:"client-reload-page",clientId:__nextDevClientId})),reloading)return;return reloading=!0,window.location.reload();case HMR_ACTIONS_SENT_TO_BROWSER.ADDED_PAGE:case HMR_ACTIONS_SENT_TO_BROWSER.REMOVED_PAGE:return null==turbopackHmr||turbopackHmr.onPageAddRemove(),router.hmrRefresh();case HMR_ACTIONS_SENT_TO_BROWSER.SERVER_ERROR:{let{errorJSON}=obj;if(errorJSON){let{message,stack}=JSON.parse(errorJSON),error=Object.defineProperty(Error(message),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});error.stack=stack,handleErrors([error])}return}case HMR_ACTIONS_SENT_TO_BROWSER.DEV_PAGES_MANIFEST_UPDATE:return}function handleErrors(errors){let formatted=formatWebpackMessages({errors:errors,warnings:[]});dispatcher.onBuildError(formatted.errors[0]);for(let i=0;i<formatted.errors.length;i++)console.error(strip_ansi_default()(formatted.errors[i]));process.env.__NEXT_TEST_MODE&&self.__NEXT_HMR_CB&&(self.__NEXT_HMR_CB(formatted.errors[0]),self.__NEXT_HMR_CB=null)}}(obj,sendMessage,processTurbopackMessage,router,dispatcher,appIsrManifestRef,pathnameRef)}catch(err){console.warn("[HMR] Invalid message: "+JSON.stringify(event)+"\n"+(err instanceof Error&&(null==err?void 0:err.stack)||""))}};return websocket.addEventListener("message",handler),()=>websocket.removeEventListener("message",handler)},[sendMessage,router,webSocketRef,dispatcher,processTurbopackMessage,appIsrManifestRef]),/*#__PURE__*/(0,jsx_runtime.jsx)(AppDevOverlay,{state:state,globalError:globalError,children:children})}},"./dist/esm/client/components/react-dev-overlay/utils/dev-indicator/dev-render-indicator.js":/*!**************************************************************************************************!*\
271
271
  !*** ./dist/esm/client/components/react-dev-overlay/utils/dev-indicator/dev-render-indicator.js ***!
272
272
  \**************************************************************************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{devRenderIndicator:()=>devRenderIndicator,useIsDevRendering:()=>useIsDevRendering});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! react */"./dist/compiled/react-experimental/index.js");let isVisible=!1,listeners=[],subscribe=listener=>(listeners.push(listener),()=>{listeners=listeners.filter(l=>l!==listener)}),getSnapshot=()=>isVisible;function useIsDevRendering(){return(0,react__WEBPACK_IMPORTED_MODULE_0__.useSyncExternalStore)(subscribe,getSnapshot)}let devRenderIndicator={show:()=>{isVisible=!0,listeners.forEach(listener=>listener())},hide:()=>{isVisible=!1,listeners.forEach(listener=>listener())}}},"./dist/esm/client/components/react-dev-overlay/utils/dev-indicator/use-sync-dev-render-indicator.js":/*!***********************************************************************************************************!*\
273
273
  !*** ./dist/esm/client/components/react-dev-overlay/utils/dev-indicator/use-sync-dev-render-indicator.js ***!
@@ -400,7 +400,7 @@ ${stack}`))}function assertPostpone(){if(!hasPostpone)throw Object.definePropert
400
400
  !*** external "stream" ***!
401
401
  \*************************/module1=>{"use strict";module1.exports=require("stream")},util:/*!***********************!*\
402
402
  !*** external "util" ***!
403
- \***********************/module1=>{"use strict";module1.exports=require("util")}},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module1=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId](module1,module1.exports,__webpack_require__),module1.loaded=!0,module1.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.n=module1=>{var getter=module1&&module1.__esModule?()=>module1.default:()=>module1;return __webpack_require__.d(getter,{a:getter}),getter},(()=>{var leafPrototypes,getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__;__webpack_require__.t=function(value1,mode){if(1&mode&&(value1=this(value1)),8&mode||"object"==typeof value1&&value1&&(4&mode&&value1.__esModule||16&mode&&"function"==typeof value1.then))return value1;var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value1;"object"==typeof current&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach(key=>def[key]=()=>value1[key]);return def.default=()=>value1,__webpack_require__.d(ns,def),ns}})(),__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises),[])),__webpack_require__.u=chunkId=>""+chunkId+"-turbo-experimental.runtime.dev.js",__webpack_require__.h=()=>"369b52d782671cbab9ac",__webpack_require__.hmd=module1=>((module1=Object.create(module1)).children||(module1.children=[]),Object.defineProperty(module1,"exports",{enumerable:!0,set:()=>{throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+module1.id)}}),module1),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=module1=>(module1.paths=[],module1.children||(module1.children=[]),module1),(()=>{var installedChunks={"app-page":1},installChunk=chunk=>{var moreModules=chunk.modules,chunkIds=chunk.ids,runtime=chunk.runtime;for(var moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);runtime&&runtime(__webpack_require__);for(var i=0;i<chunkIds.length;i++)installedChunks[chunkIds[i]]=1};__webpack_require__.f.require=(chunkId,promises)=>{installedChunks[chunkId]||installChunk(require("./"+__webpack_require__.u(chunkId)))}})();var __webpack_exports__={};(()=>{"use strict";let vendoredReactRSC,vendoredReactSSR;/*!************************************************************************!*\
403
+ \***********************/module1=>{"use strict";module1.exports=require("util")}},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module1=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId](module1,module1.exports,__webpack_require__),module1.loaded=!0,module1.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.n=module1=>{var getter=module1&&module1.__esModule?()=>module1.default:()=>module1;return __webpack_require__.d(getter,{a:getter}),getter},(()=>{var leafPrototypes,getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__;__webpack_require__.t=function(value1,mode){if(1&mode&&(value1=this(value1)),8&mode||"object"==typeof value1&&value1&&(4&mode&&value1.__esModule||16&mode&&"function"==typeof value1.then))return value1;var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value1;"object"==typeof current&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach(key=>def[key]=()=>value1[key]);return def.default=()=>value1,__webpack_require__.d(ns,def),ns}})(),__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises),[])),__webpack_require__.u=chunkId=>""+chunkId+"-turbo-experimental.runtime.dev.js",__webpack_require__.h=()=>"f3a99d660ef7d0960699",__webpack_require__.hmd=module1=>((module1=Object.create(module1)).children||(module1.children=[]),Object.defineProperty(module1,"exports",{enumerable:!0,set:()=>{throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+module1.id)}}),module1),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=module1=>(module1.paths=[],module1.children||(module1.children=[]),module1),(()=>{var installedChunks={"app-page":1},installChunk=chunk=>{var moreModules=chunk.modules,chunkIds=chunk.ids,runtime=chunk.runtime;for(var moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);runtime&&runtime(__webpack_require__);for(var i=0;i<chunkIds.length;i++)installedChunks[chunkIds[i]]=1};__webpack_require__.f.require=(chunkId,promises)=>{installedChunks[chunkId]||installChunk(require("./"+__webpack_require__.u(chunkId)))}})();var __webpack_exports__={};(()=>{"use strict";let vendoredReactRSC,vendoredReactSSR;/*!************************************************************************!*\
404
404
  !*** ./dist/esm/server/route-modules/app-page/module.js + 119 modules ***!
405
405
  \************************************************************************/__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{AppPageRouteModule:()=>AppPageRouteModule,default:()=>app_page_module,renderToHTMLOrFlight:()=>renderToHTMLOrFlight,vendored:()=>vendored});var _globalThis,server_inserted_metadata_shared_runtime_namespaceObject={};__webpack_require__.r(server_inserted_metadata_shared_runtime_namespaceObject),__webpack_require__.d(server_inserted_metadata_shared_runtime_namespaceObject,{ServerInsertedMetadataContext:()=>ServerInsertedMetadataContext});var router_context_shared_runtime_namespaceObject={};__webpack_require__.r(router_context_shared_runtime_namespaceObject),__webpack_require__.d(router_context_shared_runtime_namespaceObject,{RouterContext:()=>RouterContext});var amp_context_shared_runtime_namespaceObject={};__webpack_require__.r(amp_context_shared_runtime_namespaceObject),__webpack_require__.d(amp_context_shared_runtime_namespaceObject,{AmpStateContext:()=>AmpStateContext});var image_config_context_shared_runtime_namespaceObject={};__webpack_require__.r(image_config_context_shared_runtime_namespaceObject),__webpack_require__.d(image_config_context_shared_runtime_namespaceObject,{ImageConfigContext:()=>ImageConfigContext});var entrypoints_namespaceObject={};__webpack_require__.r(entrypoints_namespaceObject),__webpack_require__.d(entrypoints_namespaceObject,{AmpContext:()=>amp_context_shared_runtime_namespaceObject,AppRouterContext:()=>app_router_context_shared_runtime,HeadManagerContext:()=>head_manager_context_shared_runtime,HooksClientContext:()=>hooks_client_context_shared_runtime,ImageConfigContext:()=>image_config_context_shared_runtime_namespaceObject,RouterContext:()=>router_context_shared_runtime_namespaceObject,ServerInsertedHtml:()=>server_inserted_html_shared_runtime,ServerInsertedMetadata:()=>server_inserted_metadata_shared_runtime_namespaceObject});var jsx_runtime=__webpack_require__("./dist/compiled/react-experimental/jsx-runtime.js"),work_async_storage_external_js_=__webpack_require__("../../app-render/work-async-storage.external"),react_experimental=__webpack_require__("./dist/compiled/react-experimental/index.js"),react_experimental_default=/*#__PURE__*/__webpack_require__.n(react_experimental),tracer_=__webpack_require__("../../lib/trace/tracer"),constants=__webpack_require__("./dist/esm/server/lib/trace/constants.js");class DetachedPromise{constructor(){let resolve,reject;this.promise=new Promise((res,rej)=>{resolve=res,reject=rej}),this.resolve=resolve,this.reject=reject}}var scheduler=__webpack_require__("./dist/esm/lib/scheduler.js");let ENCODED_TAGS={OPENING:{HTML:new Uint8Array([60,104,116,109,108]),BODY:new Uint8Array([60,98,111,100,121])},CLOSED:{HEAD:new Uint8Array([60,47,104,101,97,100,62]),BODY:new Uint8Array([60,47,98,111,100,121,62]),HTML:new Uint8Array([60,47,104,116,109,108,62]),BODY_AND_HTML:new Uint8Array([60,47,98,111,100,121,62,60,47,104,116,109,108,62])}};function indexOfUint8Array(a,b){if(0===b.length)return 0;if(0===a.length||b.length>a.length)return -1;for(let i=0;i<=a.length-b.length;i++){let completeMatch=!0;for(let j=0;j<b.length;j++)if(a[i+j]!==b[j]){completeMatch=!1;break}if(completeMatch)return i}return -1}function isEquivalentUint8Arrays(a,b){if(a.length!==b.length)return!1;for(let i=0;i<a.length;i++)if(a[i]!==b[i])return!1;return!0}function removeFromUint8Array(a,b){let tagIndex=indexOfUint8Array(a,b);if(0===tagIndex)return a.subarray(b.length);if(!(tagIndex>-1))return a;{let removed=new Uint8Array(a.length-b.length);return removed.set(a.slice(0,tagIndex)),removed.set(a.slice(tagIndex+b.length),tagIndex),removed}}var errors_constants=__webpack_require__("./dist/esm/shared/lib/errors/constants.js");function voidCatch(){}let encoder=new TextEncoder;function chainStreams(...streams){if(0===streams.length)throw Object.defineProperty(Error("Invariant: chainStreams requires at least one stream"),"__NEXT_ERROR_CODE",{value:"E437",enumerable:!1,configurable:!0});if(1===streams.length)return streams[0];let{readable,writable}=new TransformStream,promise=streams[0].pipeTo(writable,{preventClose:!0}),i=1;for(;i<streams.length-1;i++){let nextStream=streams[i];promise=promise.then(()=>nextStream.pipeTo(writable,{preventClose:!0}))}let lastStream=streams[i];return(promise=promise.then(()=>lastStream.pipeTo(writable))).catch(voidCatch),readable}function streamFromString(str){return new ReadableStream({start(controller){controller.enqueue(encoder.encode(str)),controller.close()}})}function streamFromBuffer(chunk){return new ReadableStream({start(controller){controller.enqueue(chunk),controller.close()}})}async function streamToBuffer(stream){let reader=stream.getReader(),chunks=[];for(;;){let{done,value:value1}=await reader.read();if(done)break;chunks.push(value1)}return Buffer.concat(chunks)}async function streamToString(stream,signal){let decoder=new TextDecoder("utf-8",{fatal:!0}),string="";for await(let chunk of stream){if(null==signal?void 0:signal.aborted)return string;string+=decoder.decode(chunk,{stream:!0})}return string+decoder.decode()}function createBufferedTransformStream(){let pending,bufferedChunks=[],bufferByteLength=0,flush=controller=>{if(pending)return;let detached=new DetachedPromise;pending=detached,(0,scheduler.scheduleImmediate)(()=>{try{let chunk=new Uint8Array(bufferByteLength),copiedBytes=0;for(let i=0;i<bufferedChunks.length;i++){let bufferedChunk=bufferedChunks[i];chunk.set(bufferedChunk,copiedBytes),copiedBytes+=bufferedChunk.byteLength}bufferedChunks.length=0,bufferByteLength=0,controller.enqueue(chunk)}catch{}finally{pending=void 0,detached.resolve()}})};return new TransformStream({transform(chunk,controller){bufferedChunks.push(chunk),bufferByteLength+=chunk.byteLength,flush(controller)},flush(){if(pending)return pending.promise}})}function renderToInitialFizzStream({ReactDOMServer,element,streamOptions}){return(0,tracer_.getTracer)().trace(constants.AppRenderSpan.renderToReadableStream,async()=>ReactDOMServer.renderToReadableStream(element,streamOptions))}function createHeadInsertionTransformStream(insert){let inserted=!1,hasBytes=!1;return new TransformStream({async transform(chunk,controller){hasBytes=!0;let insertion=await insert();if(inserted){if(insertion){let encodedInsertion=encoder.encode(insertion);controller.enqueue(encodedInsertion)}controller.enqueue(chunk)}else{let index=indexOfUint8Array(chunk,ENCODED_TAGS.CLOSED.HEAD);if(-1!==index){if(insertion){let encodedInsertion=encoder.encode(insertion),insertedHeadContent=new Uint8Array(chunk.length+encodedInsertion.length);insertedHeadContent.set(chunk.slice(0,index)),insertedHeadContent.set(encodedInsertion,index),insertedHeadContent.set(chunk.slice(index),index+encodedInsertion.length),controller.enqueue(insertedHeadContent)}else controller.enqueue(chunk);inserted=!0}else insertion&&controller.enqueue(encoder.encode(insertion)),controller.enqueue(chunk),inserted=!0}},async flush(controller){if(hasBytes){let insertion=await insert();insertion&&controller.enqueue(encoder.encode(insertion))}}})}function createMergedTransformStream(stream){let pull=null,donePulling=!1;async function startPulling(controller){if(pull)return;let reader=stream.getReader();await (0,scheduler.atLeastOneTask)();try{for(;;){let{done,value:value1}=await reader.read();if(done){donePulling=!0;return}controller.enqueue(value1)}}catch(err){controller.error(err)}}return new TransformStream({transform(chunk,controller){controller.enqueue(chunk),pull||(pull=startPulling(controller))},flush(controller){if(!donePulling)return pull||startPulling(controller)}})}let CLOSE_TAG="</body></html>";function createMoveSuffixStream(){let foundSuffix=!1;return new TransformStream({transform(chunk,controller){if(foundSuffix)return controller.enqueue(chunk);let index=indexOfUint8Array(chunk,ENCODED_TAGS.CLOSED.BODY_AND_HTML);if(index>-1){if(foundSuffix=!0,chunk.length===ENCODED_TAGS.CLOSED.BODY_AND_HTML.length)return;let before=chunk.slice(0,index);if(controller.enqueue(before),chunk.length>ENCODED_TAGS.CLOSED.BODY_AND_HTML.length+index){let after=chunk.slice(index+ENCODED_TAGS.CLOSED.BODY_AND_HTML.length);controller.enqueue(after)}}else controller.enqueue(chunk)},flush(controller){controller.enqueue(ENCODED_TAGS.CLOSED.BODY_AND_HTML)}})}async function continueFizzStream(renderStream,{suffix,inlinedDataStream,isStaticGeneration,getServerInsertedHTML,getServerInsertedMetadata,validateRootLayout}){let foundHtml,foundBody;let suffixUnclosed=suffix?suffix.split(CLOSE_TAG,1)[0]:null;return isStaticGeneration&&"allReady"in renderStream&&await renderStream.allReady,function(readable,transformers){let stream=readable;for(let transformer of transformers)transformer&&(stream=stream.pipeThrough(transformer));return stream}(renderStream,[createBufferedTransformStream(),createHeadInsertionTransformStream(getServerInsertedMetadata),null!=suffixUnclosed&&suffixUnclosed.length>0?function(suffix){let pending,flushed=!1,flush=controller=>{let detached=new DetachedPromise;pending=detached,(0,scheduler.scheduleImmediate)(()=>{try{controller.enqueue(encoder.encode(suffix))}catch{}finally{pending=void 0,detached.resolve()}})};return new TransformStream({transform(chunk,controller){controller.enqueue(chunk),flushed||(flushed=!0,flush(controller))},flush(controller){if(pending)return pending.promise;flushed||controller.enqueue(encoder.encode(suffix))}})}(suffixUnclosed):null,inlinedDataStream?createMergedTransformStream(inlinedDataStream):null,validateRootLayout?(foundHtml=!1,foundBody=!1,new TransformStream({async transform(chunk,controller){!foundHtml&&indexOfUint8Array(chunk,ENCODED_TAGS.OPENING.HTML)>-1&&(foundHtml=!0),!foundBody&&indexOfUint8Array(chunk,ENCODED_TAGS.OPENING.BODY)>-1&&(foundBody=!0),controller.enqueue(chunk)},flush(controller){let missingTags=[];foundHtml||missingTags.push("html"),foundBody||missingTags.push("body"),missingTags.length&&controller.enqueue(encoder.encode(`<html id="__next_error__">
406
406
  <template