next 15.3.0-canary.5 → 15.3.0-canary.6

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 (64) hide show
  1. package/dist/bin/next +3 -2
  2. package/dist/bin/next.map +1 -1
  3. package/dist/build/collect-build-traces.js +1 -1
  4. package/dist/build/collect-build-traces.js.map +1 -1
  5. package/dist/build/index.d.ts +1 -1
  6. package/dist/build/index.js +24 -11
  7. package/dist/build/index.js.map +1 -1
  8. package/dist/build/swc/index.js +1 -1
  9. package/dist/build/webpack-config.js +2 -2
  10. package/dist/cli/next-build.d.ts +1 -1
  11. package/dist/cli/next-build.js.map +1 -1
  12. package/dist/client/app-bootstrap.js +1 -1
  13. package/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.d.ts +1 -1
  14. package/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.js +30 -36
  15. package/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.js.map +1 -1
  16. package/dist/client/components/react-dev-overlay/ui/components/code-frame/parse-code-frame.d.ts +8 -0
  17. package/dist/client/components/react-dev-overlay/ui/components/code-frame/parse-code-frame.js +90 -0
  18. package/dist/client/components/react-dev-overlay/ui/components/code-frame/parse-code-frame.js.map +1 -0
  19. package/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.d.ts +1 -1
  20. package/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.js +1 -1
  21. package/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.js.map +1 -1
  22. package/dist/client/components/react-dev-overlay/ui/container/runtime-error/index.d.ts +1 -1
  23. package/dist/client/index.js +1 -1
  24. package/dist/compiled/next-server/app-page-experimental.runtime.dev.js +3 -3
  25. package/dist/compiled/next-server/app-page-experimental.runtime.dev.js.map +1 -1
  26. package/dist/compiled/next-server/app-page.runtime.dev.js +3 -3
  27. package/dist/compiled/next-server/app-page.runtime.dev.js.map +1 -1
  28. package/dist/esm/build/collect-build-traces.js +1 -1
  29. package/dist/esm/build/collect-build-traces.js.map +1 -1
  30. package/dist/esm/build/index.js +24 -11
  31. package/dist/esm/build/index.js.map +1 -1
  32. package/dist/esm/build/swc/index.js +1 -1
  33. package/dist/esm/build/webpack-config.js +2 -2
  34. package/dist/esm/client/app-bootstrap.js +1 -1
  35. package/dist/esm/client/components/react-dev-overlay/ui/components/code-frame/code-frame.js +30 -35
  36. package/dist/esm/client/components/react-dev-overlay/ui/components/code-frame/code-frame.js.map +1 -1
  37. package/dist/esm/client/components/react-dev-overlay/ui/components/code-frame/parse-code-frame.js +58 -0
  38. package/dist/esm/client/components/react-dev-overlay/ui/components/code-frame/parse-code-frame.js.map +1 -0
  39. package/dist/esm/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.js +1 -1
  40. package/dist/esm/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.js.map +1 -1
  41. package/dist/esm/client/index.js +1 -1
  42. package/dist/esm/server/config-schema.js +0 -1
  43. package/dist/esm/server/config-schema.js.map +1 -1
  44. package/dist/esm/server/config-shared.js +0 -1
  45. package/dist/esm/server/config-shared.js.map +1 -1
  46. package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
  47. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  48. package/dist/esm/server/lib/app-info-log.js +1 -1
  49. package/dist/esm/server/lib/start-server.js +1 -1
  50. package/dist/esm/shared/lib/canary-only.js +1 -1
  51. package/dist/server/config-schema.js +0 -1
  52. package/dist/server/config-schema.js.map +1 -1
  53. package/dist/server/config-shared.d.ts +0 -1
  54. package/dist/server/config-shared.js +0 -1
  55. package/dist/server/config-shared.js.map +1 -1
  56. package/dist/server/dev/hot-reloader-turbopack.js +1 -1
  57. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  58. package/dist/server/lib/app-info-log.js +1 -1
  59. package/dist/server/lib/start-server.js +1 -1
  60. package/dist/shared/lib/canary-only.js +1 -1
  61. package/dist/telemetry/anonymous-meta.js +1 -1
  62. package/dist/telemetry/events/session-stopped.js +2 -2
  63. package/dist/telemetry/events/version.js +2 -2
  64. package/package.json +15 -15
@@ -300,8 +300,8 @@
300
300
  \**************************************************************/(__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":/*!*************************************************!*\
301
301
  !*** ./dist/esm/client/components/not-found.js ***!
302
302
  \*************************************************/(__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":/*!***********************************************************************************************!*\
303
- !*** ./dist/esm/client/components/react-dev-overlay/app/hot-reloader-client.js + 117 modules ***!
304
- \***********************************************************************************************/(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");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";function pushErrorFilterDuplicates(errors,err){return[...errors.filter(e=>e.event.reason.stack!==err.event.reason.stack),err]}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,disableDevIndicator:!0,refreshState:{type:"idle"},rootLayoutMissingTags:[],versionInfo:{installed:"0.0.0",staleness:"unknown"},debugInfo:{devtoolsFrontendUrl:void 0}},REACT_REFRESH_FULL_RELOAD_FROM_ERROR="[Fast Refresh] performing full reload because your application had an unrecoverable error",stacktrace_parser_namespaceObject=require("next/dist/compiled/stacktrace-parser");var is_error=__webpack_require__("./dist/esm/lib/is-error.js");let hydrationErrorRegex=/hydration failed|while hydrating|content does not match|did not match|HTML didn't match/i,reactUnifiedMismatchWarning="Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:",reactHydrationStartMessages=[reactUnifiedMismatchWarning,"A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:"],REACT_HYDRATION_ERROR_LINK="https://react.dev/link/hydration-mismatch",NEXTJS_HYDRATION_ERROR_LINK="https://nextjs.org/docs/messages/react-hydration-error",getDefaultHydrationErrorMessage=()=>reactUnifiedMismatchWarning;function isReactHydrationErrorMessage(msg){return reactHydrationStartMessages.some(prefix=>msg.startsWith(prefix))}let hydrationWarningRegexes=[/^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\./,/^Expected server HTML to contain a matching <(.+?)> in <(.+?)>\.(.*)/,/^Did not expect server HTML to contain a <(.+?)> in <(.+?)>\.(.*)/,/^Expected server HTML to contain a matching text node for "(.+?)" in <(.+?)>\.(.*)/,/^Did not expect server HTML to contain the text node "(.+?)" in <(.+?)>\.(.*)/,/^Text content did not match\. Server: "(.+?)" Client: "(.+?)"(.*)/];function testReactHydrationWarning(msg){return"string"==typeof msg&&!!msg&&(msg.startsWith("Warning: ")&&(msg=msg.slice(9)),hydrationWarningRegexes.some(regex=>regex.test(msg)))}function getHydrationErrorStackInfo(rawMessage){let isReactHydrationWarning=testReactHydrationWarning(rawMessage=(rawMessage=rawMessage.replace(/^Error: /,"")).replace("Warning: ",""));if(!isReactHydrationErrorMessage(rawMessage)&&!isReactHydrationWarning)return{message:null,stack:rawMessage,diff:""};if(isReactHydrationWarning){let[message,diffLog]=rawMessage.split("\n\n");return{message:message.trim(),stack:"",diff:(diffLog||"").trim()}}let firstLineBreak=rawMessage.indexOf("\n"),[message,trailing]=(rawMessage=rawMessage.slice(firstLineBreak+1).trim()).split(""+REACT_HYDRATION_ERROR_LINK),trimmedMessage=message.trim();if(!trailing||!(trailing.length>1))return{message:trimmedMessage,stack:trailing};{let stacks=[],diffs=[];return trailing.split("\n").forEach(line=>{""!==line.trim()&&(line.trim().startsWith("at ")?stacks.push(line):diffs.push(line))}),{message:trimmedMessage,diff:diffs.join("\n"),stack:stacks.join("\n")}}}let regexNextStatic=/\/_next(\/static\/.+)/;function parseStack(stack){if(!stack)return[];let messageAndStack=stack.replace(/^Error: /,"");if(isReactHydrationErrorMessage(messageAndStack)){let{stack:parsedStack}=getHydrationErrorStackInfo(messageAndStack);parsedStack&&(stack=parsedStack)}return 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");function ErroredHtml(param){let{globalError:[GlobalError,globalErrorStyles],error}=param;return error?/*#__PURE__*/(0,jsx_runtime.jsxs)(error_boundary.ErrorBoundary,{errorComponent:error_boundary.GlobalError,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.useLayoutEffect(()=>{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\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))})}var anser=__webpack_require__("./dist/compiled/anser/index.js"),anser_default=/*#__PURE__*/__webpack_require__.n(anser);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"})})})]})}function CodeFrame(param){var _stackFrame_file;let{stackFrame,codeFrame}=param,formattedFrame=(0,react_experimental.useMemo)(()=>{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]),decoded=(0,react_experimental.useMemo)(()=>anser_default().ansiToJson(formattedFrame,{json:!0,use_classes:!0,remove_empty:!0}),[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: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:entry.content},"frame-"+index))})]})}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,type,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),ref=react_experimental.useRef(null),[height,pristine]=function(ref){let[pristine,setPristine]=(0,react_experimental.useState)(!0),[height,setHeight]=(0,react_experimental.useState)(0);return(0,react_experimental.useEffect)(()=>{let el=ref.current;if(!el)return;let observer=new ResizeObserver(()=>{let{height:h}=el.getBoundingClientRect();setHeight(prevHeight=>(0!==prevHeight&&setPristine(!1),h))});return observer.observe(el),()=>{observer.disconnect(),setPristine(!0)}},[]),[height,pristine]}(ref);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:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:dialogResizerRef,"data-nextjs-dialog-sizer":!0,style:{height,transition:pristine?void 0:"height 250ms var(--timing-swift)"},children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:ref,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 DialogFooter(param){let{children,className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-dialog-footer":!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:Object.defineProperty(Error("Copy to clipboard is not supported in this browser"),"__NEXT_ERROR_CODE",{value:"E376",enumerable:!1,configurable:!0})}: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:Object.defineProperty(Error("Copy to clipboard is not supported in this browser"),"__NEXT_ERROR_CODE",{value:"E376",enumerable:!1,configurable:!0})}))},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.error(error)},[error]),react_experimental.useEffect(()=>{if("success"===copyState.state){let timeoutId=setTimeout(()=>{reset()},2e3);return()=>{clearTimeout(timeoutId)}}},[isPending,copyState.state,reset]);let isDisabled=isPending||disabled,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 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,isTurbopack}=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);return staleness.startsWith("stale")?/*#__PURE__*/(0,jsx_runtime.jsxs)("a",{className:cx("nextjs-container-build-error-version-status","dialog-exclude-closing-from-outside-click",isTurbopack&&"turbopack-border"),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}),isTurbopack&&/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"turbopack-text",children:"Turbopack"})]}):/*#__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}),isTurbopack&&/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"turbopack-text",children:"Turbopack"})]})}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,isTurbopack}=param;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,isTurbopack:isTurbopack})})]})}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,...props}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)(Dialog,{type:"error","aria-labelledby":"nextjs__container_errors_label","aria-describedby":"nextjs__container_errors_desc",onClose:onClose,className:"error-overlay-dialog",...props,children:children})}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])}function ErrorOverlayLayout(param){var _runtimeErrors_length;let{errorMessage,errorType,children,errorCode,error,debugInfo,isBuildError,onClose,versionInfo,runtimeErrors,activeIdx,setActiveIndex,footerMessage,isTurbopack,dialogResizerRef,rendered=!0,transitionDurationMs}=param,animationProps={"data-rendered":rendered,style:{"--transition-duration":""+transitionDurationMs+"ms"}},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,ref:dialogRef,...animationProps,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)(ErrorOverlayDialog,{onClose:onClose,dialogResizerRef:dialogResizerRef,"data-has-footer":hasFooter,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})]}),hasFooter&&/*#__PURE__*/(0,jsx_runtime.jsx)(DialogFooter,{children:/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayFooter,{footerMessage:footerMessage,errorCode:errorCode})}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayBottomStack,{errorCount:null!=(_runtimeErrors_length=null==runtimeErrors?void 0:runtimeErrors.length)?_runtimeErrors_length:0,activeIdx:null!=activeIdx?activeIdx:0})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayNav,{runtimeErrors:runtimeErrors,activeIdx:activeIdx,setActiveIndex:setActiveIndex,versionInfo:versionInfo,isTurbopack:isTurbopack})]})})}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]||"")},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{firstContent,secondContent,hydrationMismatchType,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 hydrationErrorState={},htmlTagsWarnings=new Set(["Warning: In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s","Warning: In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s","Warning: In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.","Warning: In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.","Warning: Expected server HTML to contain a matching <%s> in <%s>.%s","Warning: Did not expect server HTML to contain a <%s> in <%s>.%s"]),textAndTagsMismatchWarnings=new Set(['Warning: Expected server HTML to contain a matching text node for "%s" in <%s>.%s','Warning: Did not expect server HTML to contain the text node "%s" in <%s>.%s']),getHydrationWarningType=message=>{if("string"!=typeof message)return"text";let normalizedMessage=message.startsWith("Warning: ")?message:"Warning: "+message;return isHtmlTagsWarning(normalizedMessage)?"tag":isTextInTagsMismatchWarning(normalizedMessage)?"text-in-tag":"text"},isHtmlTagsWarning=message=>htmlTagsWarnings.has(message),isTextInTagsMismatchWarning=msg=>textAndTagsMismatchWarnings.has(msg),getReactHydrationDiffSegments=msg=>{if(msg){let{message,diff}=getHydrationErrorStackInfo(msg);if(message)return[message,diff]}},digestSym=Symbol.for("next.console.error.digest"),consoleTypeSym=Symbol.for("next.console.error.type");function createUnhandledError(message,environmentName){let error="string"==typeof message?Object.defineProperty(Error(message),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}):message;return error[digestSym]="NEXT_UNHANDLED_ERROR",error[consoleTypeSym]="string"==typeof message?"string":"error",environmentName&&!error.environmentName&&(error.environmentName=environmentName),error}let isUnhandledConsoleOrRejection=error=>error&&"NEXT_UNHANDLED_ERROR"===error[digestSym],getUnhandledErrorType=error=>error[consoleTypeSym];var error_telemetry_utils=__webpack_require__("./dist/esm/lib/error-telemetry-utils.js");function isNextjsLink(text){return text.startsWith("https://nextjs.org")}function ErrorDescription(param){let{error,hydrationWarning}=param,isUnhandledOrReplayError=isUnhandledConsoleOrRejection(error),unhandledErrorType=isUnhandledOrReplayError?getUnhandledErrorType(error):null,title=isUnhandledOrReplayError&&"string"===unhandledErrorType||hydrationWarning?"":error.name+": ",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.jsxs)(jsx_runtime.Fragment,{children:[title,/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:hydrationWarning||message,matcher:isNextjsLink})]})}function Errors(param){var _activeError_componentStackFrames;let{runtimeErrors,debugInfo,onClose,...props}=param,dialogResizerRef=(0,react_experimental.useRef)(null);(0,react_experimental.useEffect)(()=>{function handleKeyDown(event){"Escape"===event.key&&onClose()}return document.addEventListener("keydown",handleKeyDown),()=>document.removeEventListener("keydown",handleKeyDown)},[onClose]);let 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]);if(isLoading)return/*#__PURE__*/(0,jsx_runtime.jsx)(Overlay,{});if(!activeError)return null;let error=activeError.error,isServerError=["server","edge-server"].includes(getErrorSource(error)||""),isUnhandledError=isUnhandledConsoleOrRejection(error),errorDetails=error.details||{},notes=errorDetails.notes||"",[warningTemplate,serverContent,clientContent]=errorDetails.warning||[null,"",""],hydrationErrorType=getHydrationWarningType(warningTemplate),hydrationWarning=warningTemplate?warningTemplate.replace("%s",serverContent).replace("%s",clientContent).replace("%s","").replace(/%s$/,"").replace(/^Warning: /,"").replace(/^Error: /,""):null,errorCode=(0,error_telemetry_utils.extractNextErrorCode)(error);return/*#__PURE__*/(0,jsx_runtime.jsxs)(ErrorOverlayLayout,{errorCode:errorCode,errorType:isServerError?"Runtime Error":isUnhandledError?"Console Error":"Unhandled Runtime Error",errorMessage:/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorDescription,{error:error,hydrationWarning:hydrationWarning}),onClose:isServerError?void 0:onClose,debugInfo:debugInfo,error:error,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]}),hydrationWarning&&((null==(_activeError_componentStackFrames=activeError.componentStackFrames)?void 0:_activeError_componentStackFrames.length)||errorDetails.reactOutputComponentDiff)?/*#__PURE__*/(0,jsx_runtime.jsx)(PseudoHtmlDiff,{className:"nextjs__container_errors__component-stack",hydrationMismatchType:hydrationErrorType,firstContent:serverContent,secondContent:clientContent,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: 0 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-left: 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,...props}=param,SIZE=36/scale,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,pristine]=function(ref){let[width,setWidth]=(0,react_experimental.useState)(0),[pristine,setPristine]=(0,react_experimental.useState)(!0);return(0,react_experimental.useEffect)(()=>{let el=ref.current;if(!el)return;let observer=new ResizeObserver(()=>{let{width:w}=el.getBoundingClientRect();setWidth(prevWidth=>(0!==prevWidth&&setPristine(!1),w))});return observer.observe(el),()=>observer.disconnect()},[ref]),[width,pristine]}(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,style=(0,react_experimental.useMemo)(()=>{let width=SIZE;return measuredWidth>SIZE&&(width=measuredWidth),pristine&&hasError&&(width="auto"),{width}},[measuredWidth,pristine,hasError,SIZE]);return(0,react_experimental.useEffect)(()=>{setIsErrorExpanded(hasError)},[hasError]),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-next-badge-root":!0,style:{"--size":""+SIZE+"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:style,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",{htmlFor:"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",{id:"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:!!process.env.TURBOPACK,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 "]);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--initial:hover {\n cursor: pointer;\n }\n .nextjs-data-copy-button--error,\n .nextjs-data-copy-button--error:hover {\n color: var(--color-ansi-red);\n }\n .nextjs-data-copy-button--success {\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-footer-height: var(--size-48);\n --next-dialog-max-width: 960px;\n --next-dialog-row-padding: 16px;\n --next-dialog-container-padding: 12px;\n\n display: flex;\n flex-direction: column-reverse;\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.98;\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\n [data-nextjs-dialog] {\n outline: none;\n overflow: hidden;\n }\n [data-nextjs-dialog]::-webkit-scrollbar {\n width: 6px;\n border-radius: 0 0 1rem 1rem;\n margin-bottom: 1rem;\n }\n [data-nextjs-dialog]::-webkit-scrollbar-button {\n display: none;\n }\n [data-nextjs-dialog]::-webkit-scrollbar-track {\n border-radius: 0 0 1rem 1rem;\n background-color: var(--color-background-100);\n }\n [data-nextjs-dialog]::-webkit-scrollbar-thumb {\n border-radius: 1rem;\n background-color: var(--color-gray-500);\n }\n\n \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 overflow-y: auto;\n border: none;\n margin: 0;\n display: flex;\n flex-direction: column;\n position: relative;\n padding: 16px 12px;\n }\n\n /* Account for the footer height, when present */\n [data-nextjs-dialog][data-has-footer='true'] [data-nextjs-dialog-body] {\n margin-bottom: var(--next-dialog-footer-height);\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 [data-nextjs-dialog-footer] {\n /* Subtract border width */\n width: calc(100% - 2px);\n /* \n We make this element fixed to anchor it to the bottom during the height transition.\n If you make this relative it will jump during the transition and not collapse or expand smoothly.\n If you make this absolute it will remain stuck at its initial position when scrolling the dialog.\n */\n position: fixed;\n bottom: 1px;\n min-height: var(--next-dialog-footer-height);\n border-radius: 0 0 var(--next-dialog-radius) var(--next-dialog-radius);\n overflow: hidden;\n\n > * {\n min-height: var(--next-dialog-footer-height);\n }\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 {\n overflow-y: auto;\n -webkit-font-smoothing: antialiased;\n background: var(--color-background-100);\n background-clip: padding-box;\n border: 1px solid var(--color-gray-400);\n border-radius: var(--rounded-xl);\n box-shadow: var(--shadow-menu);\n position: relative;\n\n &:has(\n ~ [data-nextjs-error-overlay-nav] .error-overlay-notch[data-side='left']\n ) {\n border-top-left-radius: 0;\n }\n\n &:has(\n ~ [data-nextjs-error-overlay-nav]\n .error-overlay-notch[data-side='right']\n ) {\n border-top-right-radius: 0;\n }\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 --notch-height: 42px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n width: 100%;\n\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(--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 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(--size-16);\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: 12px;\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-pre {\n white-space: pre-wrap;\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] > * {\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_inspect_copy_button {\n cursor: pointer;\n background: none;\n border: none;\n color: var(--color-ansi-bright-white);\n font-size: var(--size-24);\n padding: 0;\n margin: 0;\n margin-left: 8px;\n transition: opacity 0.25s ease;\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 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)})}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 RootLayoutMissingTagsError(param){let{missingTags,...props}=param,noop=(0,react_experimental.useCallback)(()=>{},[]),error=Object.defineProperty(Error("The following tags are missing in the Root Layout: "+missingTags.map(tagName=>"<"+tagName+">").join(", ")+".\nRead more at https://nextjs.org/docs/messages/missing-root-layout-tags"),"__NEXT_ERROR_CODE",{value:"E638",enumerable:!1,configurable:!0});return/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayLayout,{errorType:"Missing Required HTML Tag",error:error,errorMessage:/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:error.message}),onClose:noop,...props})}function ErrorOverlay(param){var _state_rootLayoutMissingTags;let{state,runtimeErrors,isErrorOverlayOpen,setIsErrorOverlayOpen}=param,isTurbopack=!!process.env.TURBOPACK,{mounted,rendered}=useDelayedRender(isErrorOverlayOpen,{exitDelay:200}),commonProps={rendered,transitionDurationMs:200,isTurbopack,versionInfo:state.versionInfo};return(null==(_state_rootLayoutMissingTags=state.rootLayoutMissingTags)?void 0:_state_rootLayoutMissingTags.length)?/*#__PURE__*/(0,jsx_runtime.jsx)(RootLayoutMissingTagsError,{...commonProps,rendered:!0,missingTags:state.rootLayoutMissingTags}):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,{})}function getErrorSignature(ev){let{event}=ev;switch(event.type){case ACTION_UNHANDLED_ERROR:case ACTION_UNHANDLED_REJECTION:return event.reason.name+"::"+event.reason.message+"::"+event.reason.stack}}let RenderError=props=>{var _state_rootLayoutMissingTags;let{state}=props;return(null==(_state_rootLayoutMissingTags=state.rootLayoutMissingTags)?void 0:_state_rootLayoutMissingTags.length)||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}if(!(idx>0)||getErrorSignature(errors[idx-1])!==getErrorSignature(e)){next=e;break}}return[ready,next]},[errors,lookups]);(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]);let totalErrorCount=runtimeErrors.length;return children({runtimeErrors,totalErrorCount})},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=0===runtimeErrors.length;return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__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,isErrorOverlayOpen:isErrorOverlayOpen,setIsErrorOverlayOpen:setIsErrorOverlayOpen})]})}})]})}var is_next_router_error=__webpack_require__("./dist/esm/client/components/is-next-router-error.js");function formatObject(arg,depth){switch(typeof arg){case"object":if(null===arg)return"null";if(Array.isArray(arg)){let result="[";if(depth<1)for(let i=0;i<arg.length;i++)"["!==result&&(result+=","),Object.prototype.hasOwnProperty.call(arg,i)&&(result+=formatObject(arg[i],depth+1));else result+=arg.length>0?"...":"";return result+"]"}{if(arg instanceof Error)return arg+"";let keys=Object.keys(arg),result="{";if(depth<1)for(let i=0;i<keys.length;i++){let key=keys[i],desc=Object.getOwnPropertyDescriptor(arg,"key");if(desc&&!desc.get&&!desc.set){let jsonKey=JSON.stringify(key);jsonKey!=='"'+key+'"'?result+=jsonKey+": ":result+=key+": ",result+=formatObject(desc.value,depth+1)}}else result+=keys.length>0?"...":"";return result+"}"}case"string":return JSON.stringify(arg);default:return String(arg)}}let REACT_ERROR_STACK_BOTTOM_FRAME="react-stack-bottom-frame",REACT_ERROR_STACK_BOTTOM_FRAME_REGEX=RegExp("(at "+REACT_ERROR_STACK_BOTTOM_FRAME+" )|("+REACT_ERROR_STACK_BOTTOM_FRAME+"\\@)");function getReactStitchedError(err){let isErrorInstance=(0,is_error.default)(err),originStack=isErrorInstance&&err.stack||"",originMessage=isErrorInstance?err.message:"",stackLines=originStack.split("\n"),indexOfSplit=stackLines.findIndex(line=>REACT_ERROR_STACK_BOTTOM_FRAME_REGEX.test(line)),newStack=indexOfSplit>=0?stackLines.slice(0,indexOfSplit).join("\n"):originStack,newError=Object.defineProperty(Error(originMessage),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return Object.assign(newError,err),(0,error_telemetry_utils.copyNextErrorCode)(err,newError),newError.stack=newStack,function(error){if(!react_experimental_default().captureOwnerStack)return;let stack=error.stack||"",ownerStack=react_experimental_default().captureOwnerStack();ownerStack&&!1===stack.endsWith(ownerStack)&&(stack+=ownerStack,error.stack=stack)}(newError),newError}let queueMicroTask=globalThis.queueMicrotask||(cb=>Promise.resolve().then(cb)),errorQueue=[],errorHandlers=[],rejectionQueue=[],rejectionHandlers=[];function ReplaySsrOnlyErrors(){{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(originError,consoleErrorArgs,capturedFromConsole){let error;if(void 0===capturedFromConsole&&(capturedFromConsole=!1),originError&&(0,is_error.default)(originError))error=capturedFromConsole?createUnhandledError(originError):originError;else{let formattedErrorMessage=function(args){let message,idx;"string"==typeof args[0]?(message=args[0],idx=1):(message="",idx=0);let result="",startQuote=!1;for(let i=0;i<message.length;++i){let char=message[i];if("%"!==char||i===message.length-1||idx>=args.length){result+=char;continue}let code=message[++i];switch(code){case"c":result=startQuote?""+result+"]":"["+result,startQuote=!startQuote,idx++;break;case"O":case"o":result+=formatObject(args[idx++],0);break;case"d":case"i":result+=parseInt(args[idx++],10);break;case"f":result+=parseFloat(args[idx++]);break;case"s":result+=String(args[idx++]);break;default:result+="%"+code}}for(;idx<args.length;idx++)result+=(idx>0?" ":"")+formatObject(args[idx],0);return result}(consoleErrorArgs),{environmentName}=function(args){if(args.length>3&&"string"==typeof args[0]&&args[0].startsWith("%c%s%c ")&&"string"==typeof args[1]&&"string"==typeof args[2]&&"string"==typeof args[3]){let environmentName=args[2],maybeError=args[4];return{environmentName:environmentName.trim(),error:(0,is_error.default)(maybeError)?maybeError:null}}return{environmentName:null,error:null}}(consoleErrorArgs);error=createUnhandledError(formattedErrorMessage,environmentName)}for(let handler of(error=getReactStitchedError(error),!function(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];let[msg,firstContent,secondContent,...rest]=args;if(testReactHydrationWarning(msg)){let isReact18=msg.startsWith("Warning: ");3===args.length&&(secondContent="");let warning=[msg,firstContent,secondContent],lastArg=(rest[rest.length-1]||"").trim();isReact18?hydrationErrorState.reactOutputComponentDiff=function(message,firstContent,secondContent,lastArg){let firstIndex=-1,secondIndex=-1,hydrationWarningType=getHydrationWarningType(message),components=lastArg.split("\n").map((line,index)=>{line=line.trim();let[,component,location1]=/at (\w+)( \((.*)\))?/.exec(line)||[];return location1||(component===firstContent&&-1===firstIndex?firstIndex=index:component!==secondContent||-1!==secondIndex||(secondIndex=index)),location1?"":component}).filter(Boolean).reverse(),diff="";for(let i=0;i<components.length;i++){let component=components[i],matchFirstContent="tag"===hydrationWarningType&&i===components.length-firstIndex-1,matchSecondContent="tag"===hydrationWarningType&&i===components.length-secondIndex-1;matchFirstContent||matchSecondContent?diff+="> "+" ".repeat(Math.max(2*i-2,0)+2)+"<"+component+">\n":diff+=" ".repeat(2*i+2)+"<"+component+">\n"}if("text"===hydrationWarningType){let spaces=" ".repeat(2*components.length);diff+="+ "+spaces+'"'+firstContent+'"\n- '+spaces+'"'+secondContent+'"\n'}else if("text-in-tag"===hydrationWarningType){let spaces=" ".repeat(2*components.length);diff+="> "+spaces+"<"+secondContent+">\n> "+spaces+'"'+firstContent+'"\n'}return diff}(msg,firstContent,secondContent,lastArg):hydrationErrorState.reactOutputComponentDiff=lastArg,hydrationErrorState.warning=warning,hydrationErrorState.serverContent=firstContent,hydrationErrorState.clientContent=secondContent}}(...consoleErrorArgs),!function(error){let parsedHydrationErrorState={},isHydrationWarning=testReactHydrationWarning(error.message),isHydrationRuntimeError=(0,is_error.default)(error)&&hydrationErrorRegex.test(error.message);if(!(isHydrationRuntimeError||isHydrationWarning))return;let reactHydrationDiffSegments=getReactHydrationDiffSegments(error.message);if(reactHydrationDiffSegments){let diff=reactHydrationDiffSegments[1];parsedHydrationErrorState={...error.details,...hydrationErrorState,warning:(diff&&!isHydrationWarning?null:hydrationErrorState.warning)||[getDefaultHydrationErrorMessage()],notes:isHydrationWarning?"":reactHydrationDiffSegments[0],reactOutputComponentDiff:diff},!hydrationErrorState.reactOutputComponentDiff&&diff&&(hydrationErrorState.reactOutputComponentDiff=diff),!diff&&isHydrationRuntimeError&&hydrationErrorState.reactOutputComponentDiff&&(parsedHydrationErrorState.reactOutputComponentDiff=hydrationErrorState.reactOutputComponentDiff)}else hydrationErrorState.warning&&(parsedHydrationErrorState={...error.details,...hydrationErrorState}),hydrationErrorState.reactOutputComponentDiff&&(parsedHydrationErrorState.reactOutputComponentDiff=hydrationErrorState.reactOutputComponentDiff);error.details=parsedHydrationErrorState}(error),!function(queue,error){let previousError=queue[queue.length-1];previousError&&previousError.stack===error.stack||queue.push(error)}(errorQueue,error),errorHandlers))queueMicroTask(()=>{handler(error)})}(ssrError,[])},[ssrError])}return null}function AppDevOverlay(param){let{state,globalError,children}=param,[isErrorOverlayOpen,setIsErrorOverlayOpen]=(0,react_experimental.useState)(!1);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,{}),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 shouldRenderRootLevelErrorOverlay=()=>{var _window___next_root_layout_missing_tags;return!!(null==(_window___next_root_layout_missing_tags=window.__next_root_layout_missing_tags)?void 0:_window___next_root_layout_missing_tags.length)},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){}};function reportHmrLatency(sendMessage,updatedModules,startMsSinceEpoch,endMsSinceEpoch){let latencyMs=endMsSinceEpoch-startMsSinceEpoch;console.log("[Fast Refresh] done in "+latencyMs+"ms"),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)}module1=__webpack_require__.hmd(module1);let mostRecentCompilationHash=null,__nextDevClientId=Math.round(100*Math.random()+Date.now()),reloading=!1,startLatency=null,turbopackLastUpdateLatency=null,turbopackUpdatedModules=new Set,pendingHotUpdateWebpack=Promise.resolve(),resolvePendingHotUpdateWebpack=()=>{};function waitForWebpackRuntimeHotUpdate(){return pendingHotUpdateWebpack}function isUpdateAvailable(){return!!process.env.TURBOPACK||mostRecentCompilationHash!==__webpack_require__.h()}function canApplyUpdates(){return"idle"===module1.hot.status()}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.refreshState,_state}case ACTION_VERSION_INFO:return{..._state,versionInfo:action.versionInfo};case ACTION_DEV_INDICATOR:return{..._state,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]),shouldRenderErrorOverlay=(0,react_experimental.useSyncExternalStore)(()=>()=>{},()=>!shouldRenderRootLevelErrorOverlay(),()=>!0),handleOnUnhandledError=(0,react_experimental.useCallback)(error=>{let errorDetails=error.details,componentStackTrace=error._componentStack||(null==errorDetails?void 0:errorDetails.componentStack),warning=null==errorDetails?void 0:errorDetails.warning;dispatch({type:ACTION_UNHANDLED_ERROR,reason:error,frames:parseStack(error.stack||""),componentStackFrames:"string"==typeof componentStackTrace?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}(componentStackTrace):void 0,warning})},[dispatch]),handleOnUnhandledRejection=(0,react_experimental.useCallback)(reason=>{let stitchedError=getReactStitchedError(reason);dispatch({type:ACTION_UNHANDLED_REJECTION,reason:stitchedError,frames:parseStack(stitchedError.stack||"")})},[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)(()=>{if(process.env.TURBOPACK)return;let interval=setInterval(()=>{sendMessage(JSON.stringify({event:"ping",tree,appDirRoute:!0}))},2500);return()=>clearInterval(interval)},[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:startLatency=Date.now(),turbopackLastUpdateLatency=null,turbopackUpdatedModules.clear(),process.env.TURBOPACK||(pendingHotUpdateWebpack=new Promise(resolve=>{resolvePendingHotUpdateWebpack=()=>{resolve()}})),console.log("[Fast Refresh] rebuilding");break;case HMR_ACTIONS_SENT_TO_BROWSER.BUILT:case HMR_ACTIONS_SENT_TO_BROWSER.SYNC:{obj.hash&&(mostRecentCompilationHash=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&&(process.env.TURBOPACK?(dispatcher.onBuildOk(),reportHmrLatency(sendMessage,[...turbopackUpdatedModules],startLatency,null!=turbopackLastUpdateLatency?turbopackLastUpdateLatency:Date.now())):function tryApplyUpdates(onBeforeUpdate,onHotUpdateSuccess,sendMessage,dispatcher){if(!isUpdateAvailable()||!canApplyUpdates()){resolvePendingHotUpdateWebpack(),dispatcher.onBuildOk(),reportHmrLatency(sendMessage,[],startLatency,Date.now());return}function handleApplyUpdates(err,updatedModules){if(err||RuntimeErrorHandler.hadRuntimeError||!updatedModules){err?console.warn("[Fast Refresh] performing full reload\n\nFast Refresh will perform a full reload when you edit a file that's imported by modules outside of the React rendering tree.\nYou might have a file which exports a React component but also exports a value that is imported by a non-React component file.\nConsider migrating the non-React component export to a separate file and importing it into both files.\n\nIt is also possible the parent component of the component you edited is a class component, which disables Fast Refresh.\nFast Refresh requires at least one parent function component in your React tree."):RuntimeErrorHandler.hadRuntimeError&&console.warn(REACT_REFRESH_FULL_RELOAD_FROM_ERROR),performFullReload(err,sendMessage);return}let hasUpdates=!!updatedModules.length;if("function"==typeof onHotUpdateSuccess&&onHotUpdateSuccess(updatedModules),isUpdateAvailable())tryApplyUpdates(hasUpdates?()=>{}:onBeforeUpdate,hasUpdates?()=>dispatcher.onBuildOk():onHotUpdateSuccess,sendMessage,dispatcher);else if(dispatcher.onBuildOk(),process.env.__NEXT_TEST_MODE){var fn;fn=()=>{self.__NEXT_HMR_CB&&(self.__NEXT_HMR_CB(),self.__NEXT_HMR_CB=null)},canApplyUpdates()?fn():module1.hot.addStatusHandler(function handler(status){"idle"===status&&(module1.hot.removeStatusHandler(handler),fn())})}}module1.hot.check(!1).then(updatedModules=>updatedModules?("function"==typeof onBeforeUpdate&&onBeforeUpdate(!!updatedModules.length),module1.hot.apply()):null).then(updatedModules=>{handleApplyUpdates(null,updatedModules)},err=>{handleApplyUpdates(err,null)})}(function(hasUpdates){hasUpdates&&dispatcher.onBeforeRefresh()},function(webpackUpdatedModules){resolvePendingHotUpdateWebpack(),dispatcher.onBuildOk(),reportHmrLatency(sendMessage,webpackUpdatedModules,startLatency,Date.now()),dispatcher.onRefresh()},sendMessage,dispatcher));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:for(let module1 of(dispatcher.onBeforeRefresh(),processTurbopackMessage({type:HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_MESSAGE,data:obj.data}),dispatcher.onRefresh(),RuntimeErrorHandler.hadRuntimeError&&(console.warn(REACT_REFRESH_FULL_RELOAD_FROM_ERROR),performFullReload(null,sendMessage)),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}(obj.data)))turbopackUpdatedModules.add(module1);turbopackLastUpdateLatency=Date.now();break;case HMR_ACTIONS_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES:if(sendMessage(JSON.stringify({event:"server-component-reload-page",clientId:__nextDevClientId,hash:obj.hash})),document.cookie="__next_hmr_refresh_hash__="+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(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 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]),shouldRenderErrorOverlay)?/*#__PURE__*/(0,jsx_runtime.jsx)(AppDevOverlay,{state:state,globalError:globalError,children:children}):children}},"./dist/esm/client/components/react-dev-overlay/utils/dev-indicator/dev-render-indicator.js":/*!**************************************************************************************************!*\
303
+ !*** ./dist/esm/client/components/react-dev-overlay/app/hot-reloader-client.js + 118 modules ***!
304
+ \***********************************************************************************************/(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");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";function pushErrorFilterDuplicates(errors,err){return[...errors.filter(e=>e.event.reason.stack!==err.event.reason.stack),err]}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,disableDevIndicator:!0,refreshState:{type:"idle"},rootLayoutMissingTags:[],versionInfo:{installed:"0.0.0",staleness:"unknown"},debugInfo:{devtoolsFrontendUrl:void 0}},REACT_REFRESH_FULL_RELOAD_FROM_ERROR="[Fast Refresh] performing full reload because your application had an unrecoverable error",stacktrace_parser_namespaceObject=require("next/dist/compiled/stacktrace-parser");var is_error=__webpack_require__("./dist/esm/lib/is-error.js");let hydrationErrorRegex=/hydration failed|while hydrating|content does not match|did not match|HTML didn't match/i,reactUnifiedMismatchWarning="Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:",reactHydrationStartMessages=[reactUnifiedMismatchWarning,"A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:"],REACT_HYDRATION_ERROR_LINK="https://react.dev/link/hydration-mismatch",NEXTJS_HYDRATION_ERROR_LINK="https://nextjs.org/docs/messages/react-hydration-error",getDefaultHydrationErrorMessage=()=>reactUnifiedMismatchWarning;function isReactHydrationErrorMessage(msg){return reactHydrationStartMessages.some(prefix=>msg.startsWith(prefix))}let hydrationWarningRegexes=[/^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\./,/^Expected server HTML to contain a matching <(.+?)> in <(.+?)>\.(.*)/,/^Did not expect server HTML to contain a <(.+?)> in <(.+?)>\.(.*)/,/^Expected server HTML to contain a matching text node for "(.+?)" in <(.+?)>\.(.*)/,/^Did not expect server HTML to contain the text node "(.+?)" in <(.+?)>\.(.*)/,/^Text content did not match\. Server: "(.+?)" Client: "(.+?)"(.*)/];function testReactHydrationWarning(msg){return"string"==typeof msg&&!!msg&&(msg.startsWith("Warning: ")&&(msg=msg.slice(9)),hydrationWarningRegexes.some(regex=>regex.test(msg)))}function getHydrationErrorStackInfo(rawMessage){let isReactHydrationWarning=testReactHydrationWarning(rawMessage=(rawMessage=rawMessage.replace(/^Error: /,"")).replace("Warning: ",""));if(!isReactHydrationErrorMessage(rawMessage)&&!isReactHydrationWarning)return{message:null,stack:rawMessage,diff:""};if(isReactHydrationWarning){let[message,diffLog]=rawMessage.split("\n\n");return{message:message.trim(),stack:"",diff:(diffLog||"").trim()}}let firstLineBreak=rawMessage.indexOf("\n"),[message,trailing]=(rawMessage=rawMessage.slice(firstLineBreak+1).trim()).split(""+REACT_HYDRATION_ERROR_LINK),trimmedMessage=message.trim();if(!trailing||!(trailing.length>1))return{message:trimmedMessage,stack:trailing};{let stacks=[],diffs=[];return trailing.split("\n").forEach(line=>{""!==line.trim()&&(line.trim().startsWith("at ")?stacks.push(line):diffs.push(line))}),{message:trimmedMessage,diff:diffs.join("\n"),stack:stacks.join("\n")}}}let regexNextStatic=/\/_next(\/static\/.+)/;function parseStack(stack){if(!stack)return[];let messageAndStack=stack.replace(/^Error: /,"");if(isReactHydrationErrorMessage(messageAndStack)){let{stack:parsedStack}=getHydrationErrorStackInfo(messageAndStack);parsedStack&&(stack=parsedStack)}return 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");function ErroredHtml(param){let{globalError:[GlobalError,globalErrorStyles],error}=param;return error?/*#__PURE__*/(0,jsx_runtime.jsxs)(error_boundary.ErrorBoundary,{errorComponent:error_boundary.GlobalError,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.useLayoutEffect(()=>{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\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,type,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),ref=react_experimental.useRef(null),[height,pristine]=function(ref){let[pristine,setPristine]=(0,react_experimental.useState)(!0),[height,setHeight]=(0,react_experimental.useState)(0);return(0,react_experimental.useEffect)(()=>{let el=ref.current;if(!el)return;let observer=new ResizeObserver(()=>{let{height:h}=el.getBoundingClientRect();setHeight(prevHeight=>(0!==prevHeight&&setPristine(!1),h))});return observer.observe(el),()=>{observer.disconnect(),setPristine(!0)}},[]),[height,pristine]}(ref);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:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:dialogResizerRef,"data-nextjs-dialog-sizer":!0,style:{height,transition:pristine?void 0:"height 250ms var(--timing-swift)"},children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:ref,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 DialogFooter(param){let{children,className}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{"data-nextjs-dialog-footer":!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:Object.defineProperty(Error("Copy to clipboard is not supported in this browser"),"__NEXT_ERROR_CODE",{value:"E376",enumerable:!1,configurable:!0})}: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:Object.defineProperty(Error("Copy to clipboard is not supported in this browser"),"__NEXT_ERROR_CODE",{value:"E376",enumerable:!1,configurable:!0})}))},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.error(error)},[error]),react_experimental.useEffect(()=>{if("success"===copyState.state){let timeoutId=setTimeout(()=>{reset()},2e3);return()=>{clearTimeout(timeoutId)}}},[isPending,copyState.state,reset]);let isDisabled=isPending||disabled,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 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,isTurbopack}=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);return staleness.startsWith("stale")?/*#__PURE__*/(0,jsx_runtime.jsxs)("a",{className:cx("nextjs-container-build-error-version-status","dialog-exclude-closing-from-outside-click",isTurbopack&&"turbopack-border"),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}),isTurbopack&&/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"turbopack-text",children:"Turbopack"})]}):/*#__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}),isTurbopack&&/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"turbopack-text",children:"Turbopack"})]})}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,isTurbopack}=param;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,isTurbopack:isTurbopack})})]})}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,...props}=param;return/*#__PURE__*/(0,jsx_runtime.jsx)(Dialog,{type:"error","aria-labelledby":"nextjs__container_errors_label","aria-describedby":"nextjs__container_errors_desc",onClose:onClose,className:"error-overlay-dialog",...props,children:children})}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])}function ErrorOverlayLayout(param){var _runtimeErrors_length;let{errorMessage,errorType,children,errorCode,error,debugInfo,isBuildError,onClose,versionInfo,runtimeErrors,activeIdx,setActiveIndex,footerMessage,isTurbopack,dialogResizerRef,rendered=!0,transitionDurationMs}=param,animationProps={"data-rendered":rendered,style:{"--transition-duration":""+transitionDurationMs+"ms"}},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,ref:dialogRef,...animationProps,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)(ErrorOverlayDialog,{onClose:onClose,dialogResizerRef:dialogResizerRef,"data-has-footer":hasFooter,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})]}),hasFooter&&/*#__PURE__*/(0,jsx_runtime.jsx)(DialogFooter,{children:/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayFooter,{footerMessage:footerMessage,errorCode:errorCode})}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayBottomStack,{errorCount:null!=(_runtimeErrors_length=null==runtimeErrors?void 0:runtimeErrors.length)?_runtimeErrors_length:0,activeIdx:null!=activeIdx?activeIdx:0})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayNav,{runtimeErrors:runtimeErrors,activeIdx:activeIdx,setActiveIndex:setActiveIndex,versionInfo:versionInfo,isTurbopack:isTurbopack})]})})}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]||"")},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{firstContent,secondContent,hydrationMismatchType,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 hydrationErrorState={},htmlTagsWarnings=new Set(["Warning: In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s","Warning: In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s","Warning: In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.","Warning: In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.","Warning: Expected server HTML to contain a matching <%s> in <%s>.%s","Warning: Did not expect server HTML to contain a <%s> in <%s>.%s"]),textAndTagsMismatchWarnings=new Set(['Warning: Expected server HTML to contain a matching text node for "%s" in <%s>.%s','Warning: Did not expect server HTML to contain the text node "%s" in <%s>.%s']),getHydrationWarningType=message=>{if("string"!=typeof message)return"text";let normalizedMessage=message.startsWith("Warning: ")?message:"Warning: "+message;return isHtmlTagsWarning(normalizedMessage)?"tag":isTextInTagsMismatchWarning(normalizedMessage)?"text-in-tag":"text"},isHtmlTagsWarning=message=>htmlTagsWarnings.has(message),isTextInTagsMismatchWarning=msg=>textAndTagsMismatchWarnings.has(msg),getReactHydrationDiffSegments=msg=>{if(msg){let{message,diff}=getHydrationErrorStackInfo(msg);if(message)return[message,diff]}},digestSym=Symbol.for("next.console.error.digest"),consoleTypeSym=Symbol.for("next.console.error.type");function createUnhandledError(message,environmentName){let error="string"==typeof message?Object.defineProperty(Error(message),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}):message;return error[digestSym]="NEXT_UNHANDLED_ERROR",error[consoleTypeSym]="string"==typeof message?"string":"error",environmentName&&!error.environmentName&&(error.environmentName=environmentName),error}let isUnhandledConsoleOrRejection=error=>error&&"NEXT_UNHANDLED_ERROR"===error[digestSym],getUnhandledErrorType=error=>error[consoleTypeSym];var error_telemetry_utils=__webpack_require__("./dist/esm/lib/error-telemetry-utils.js");function isNextjsLink(text){return text.startsWith("https://nextjs.org")}function ErrorDescription(param){let{error,hydrationWarning}=param,isUnhandledOrReplayError=isUnhandledConsoleOrRejection(error),unhandledErrorType=isUnhandledOrReplayError?getUnhandledErrorType(error):null,title=isUnhandledOrReplayError&&"string"===unhandledErrorType||hydrationWarning?"":error.name+": ",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.jsxs)(jsx_runtime.Fragment,{children:[title,/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:hydrationWarning||message,matcher:isNextjsLink})]})}function Errors(param){var _activeError_componentStackFrames;let{runtimeErrors,debugInfo,onClose,...props}=param,dialogResizerRef=(0,react_experimental.useRef)(null);(0,react_experimental.useEffect)(()=>{function handleKeyDown(event){"Escape"===event.key&&onClose()}return document.addEventListener("keydown",handleKeyDown),()=>document.removeEventListener("keydown",handleKeyDown)},[onClose]);let 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]);if(isLoading)return/*#__PURE__*/(0,jsx_runtime.jsx)(Overlay,{});if(!activeError)return null;let error=activeError.error,isServerError=["server","edge-server"].includes(getErrorSource(error)||""),isUnhandledError=isUnhandledConsoleOrRejection(error),errorDetails=error.details||{},notes=errorDetails.notes||"",[warningTemplate,serverContent,clientContent]=errorDetails.warning||[null,"",""],hydrationErrorType=getHydrationWarningType(warningTemplate),hydrationWarning=warningTemplate?warningTemplate.replace("%s",serverContent).replace("%s",clientContent).replace("%s","").replace(/%s$/,"").replace(/^Warning: /,"").replace(/^Error: /,""):null,errorCode=(0,error_telemetry_utils.extractNextErrorCode)(error);return/*#__PURE__*/(0,jsx_runtime.jsxs)(ErrorOverlayLayout,{errorCode:errorCode,errorType:isServerError?"Runtime Error":isUnhandledError?"Console Error":"Unhandled Runtime Error",errorMessage:/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorDescription,{error:error,hydrationWarning:hydrationWarning}),onClose:isServerError?void 0:onClose,debugInfo:debugInfo,error:error,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]}),hydrationWarning&&((null==(_activeError_componentStackFrames=activeError.componentStackFrames)?void 0:_activeError_componentStackFrames.length)||errorDetails.reactOutputComponentDiff)?/*#__PURE__*/(0,jsx_runtime.jsx)(PseudoHtmlDiff,{className:"nextjs__container_errors__component-stack",hydrationMismatchType:hydrationErrorType,firstContent:serverContent,secondContent:clientContent,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: 0 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-left: 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,...props}=param,SIZE=36/scale,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,pristine]=function(ref){let[width,setWidth]=(0,react_experimental.useState)(0),[pristine,setPristine]=(0,react_experimental.useState)(!0);return(0,react_experimental.useEffect)(()=>{let el=ref.current;if(!el)return;let observer=new ResizeObserver(()=>{let{width:w}=el.getBoundingClientRect();setWidth(prevWidth=>(0!==prevWidth&&setPristine(!1),w))});return observer.observe(el),()=>observer.disconnect()},[ref]),[width,pristine]}(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,style=(0,react_experimental.useMemo)(()=>{let width=SIZE;return measuredWidth>SIZE&&(width=measuredWidth),pristine&&hasError&&(width="auto"),{width}},[measuredWidth,pristine,hasError,SIZE]);return(0,react_experimental.useEffect)(()=>{setIsErrorExpanded(hasError)},[hasError]),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{"data-next-badge-root":!0,style:{"--size":""+SIZE+"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:style,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",{htmlFor:"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",{id:"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:!!process.env.TURBOPACK,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 "]);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--initial:hover {\n cursor: pointer;\n }\n .nextjs-data-copy-button--error,\n .nextjs-data-copy-button--error:hover {\n color: var(--color-ansi-red);\n }\n .nextjs-data-copy-button--success {\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-footer-height: var(--size-48);\n --next-dialog-max-width: 960px;\n --next-dialog-row-padding: 16px;\n --next-dialog-container-padding: 12px;\n\n display: flex;\n flex-direction: column-reverse;\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.98;\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\n [data-nextjs-dialog] {\n outline: none;\n overflow: hidden;\n }\n [data-nextjs-dialog]::-webkit-scrollbar {\n width: 6px;\n border-radius: 0 0 1rem 1rem;\n margin-bottom: 1rem;\n }\n [data-nextjs-dialog]::-webkit-scrollbar-button {\n display: none;\n }\n [data-nextjs-dialog]::-webkit-scrollbar-track {\n border-radius: 0 0 1rem 1rem;\n background-color: var(--color-background-100);\n }\n [data-nextjs-dialog]::-webkit-scrollbar-thumb {\n border-radius: 1rem;\n background-color: var(--color-gray-500);\n }\n\n \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 overflow-y: auto;\n border: none;\n margin: 0;\n display: flex;\n flex-direction: column;\n position: relative;\n padding: 16px 12px;\n }\n\n /* Account for the footer height, when present */\n [data-nextjs-dialog][data-has-footer='true'] [data-nextjs-dialog-body] {\n margin-bottom: var(--next-dialog-footer-height);\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 [data-nextjs-dialog-footer] {\n /* Subtract border width */\n width: calc(100% - 2px);\n /* \n We make this element fixed to anchor it to the bottom during the height transition.\n If you make this relative it will jump during the transition and not collapse or expand smoothly.\n If you make this absolute it will remain stuck at its initial position when scrolling the dialog.\n */\n position: fixed;\n bottom: 1px;\n min-height: var(--next-dialog-footer-height);\n border-radius: 0 0 var(--next-dialog-radius) var(--next-dialog-radius);\n overflow: hidden;\n\n > * {\n min-height: var(--next-dialog-footer-height);\n }\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 {\n overflow-y: auto;\n -webkit-font-smoothing: antialiased;\n background: var(--color-background-100);\n background-clip: padding-box;\n border: 1px solid var(--color-gray-400);\n border-radius: var(--rounded-xl);\n box-shadow: var(--shadow-menu);\n position: relative;\n\n &:has(\n ~ [data-nextjs-error-overlay-nav] .error-overlay-notch[data-side='left']\n ) {\n border-top-left-radius: 0;\n }\n\n &:has(\n ~ [data-nextjs-error-overlay-nav]\n .error-overlay-notch[data-side='right']\n ) {\n border-top-right-radius: 0;\n }\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 --notch-height: 42px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n width: 100%;\n\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(--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-pre {\n white-space: pre-wrap;\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\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_inspect_copy_button {\n cursor: pointer;\n background: none;\n border: none;\n color: var(--color-ansi-bright-white);\n font-size: var(--size-24);\n padding: 0;\n margin: 0;\n margin-left: 8px;\n transition: opacity 0.25s ease;\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)})}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 RootLayoutMissingTagsError(param){let{missingTags,...props}=param,noop=(0,react_experimental.useCallback)(()=>{},[]),error=Object.defineProperty(Error("The following tags are missing in the Root Layout: "+missingTags.map(tagName=>"<"+tagName+">").join(", ")+".\nRead more at https://nextjs.org/docs/messages/missing-root-layout-tags"),"__NEXT_ERROR_CODE",{value:"E638",enumerable:!1,configurable:!0});return/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorOverlayLayout,{errorType:"Missing Required HTML Tag",error:error,errorMessage:/*#__PURE__*/(0,jsx_runtime.jsx)(HotlinkedText,{text:error.message}),onClose:noop,...props})}function ErrorOverlay(param){var _state_rootLayoutMissingTags;let{state,runtimeErrors,isErrorOverlayOpen,setIsErrorOverlayOpen}=param,isTurbopack=!!process.env.TURBOPACK,{mounted,rendered}=useDelayedRender(isErrorOverlayOpen,{exitDelay:200}),commonProps={rendered,transitionDurationMs:200,isTurbopack,versionInfo:state.versionInfo};return(null==(_state_rootLayoutMissingTags=state.rootLayoutMissingTags)?void 0:_state_rootLayoutMissingTags.length)?/*#__PURE__*/(0,jsx_runtime.jsx)(RootLayoutMissingTagsError,{...commonProps,rendered:!0,missingTags:state.rootLayoutMissingTags}):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,{})}function getErrorSignature(ev){let{event}=ev;switch(event.type){case ACTION_UNHANDLED_ERROR:case ACTION_UNHANDLED_REJECTION:return event.reason.name+"::"+event.reason.message+"::"+event.reason.stack}}let RenderError=props=>{var _state_rootLayoutMissingTags;let{state}=props;return(null==(_state_rootLayoutMissingTags=state.rootLayoutMissingTags)?void 0:_state_rootLayoutMissingTags.length)||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}if(!(idx>0)||getErrorSignature(errors[idx-1])!==getErrorSignature(e)){next=e;break}}return[ready,next]},[errors,lookups]);(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]);let totalErrorCount=runtimeErrors.length;return children({runtimeErrors,totalErrorCount})},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=0===runtimeErrors.length;return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__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,isErrorOverlayOpen:isErrorOverlayOpen,setIsErrorOverlayOpen:setIsErrorOverlayOpen})]})}})]})}var is_next_router_error=__webpack_require__("./dist/esm/client/components/is-next-router-error.js");function formatObject(arg,depth){switch(typeof arg){case"object":if(null===arg)return"null";if(Array.isArray(arg)){let result="[";if(depth<1)for(let i=0;i<arg.length;i++)"["!==result&&(result+=","),Object.prototype.hasOwnProperty.call(arg,i)&&(result+=formatObject(arg[i],depth+1));else result+=arg.length>0?"...":"";return result+"]"}{if(arg instanceof Error)return arg+"";let keys=Object.keys(arg),result="{";if(depth<1)for(let i=0;i<keys.length;i++){let key=keys[i],desc=Object.getOwnPropertyDescriptor(arg,"key");if(desc&&!desc.get&&!desc.set){let jsonKey=JSON.stringify(key);jsonKey!=='"'+key+'"'?result+=jsonKey+": ":result+=key+": ",result+=formatObject(desc.value,depth+1)}}else result+=keys.length>0?"...":"";return result+"}"}case"string":return JSON.stringify(arg);default:return String(arg)}}let REACT_ERROR_STACK_BOTTOM_FRAME="react-stack-bottom-frame",REACT_ERROR_STACK_BOTTOM_FRAME_REGEX=RegExp("(at "+REACT_ERROR_STACK_BOTTOM_FRAME+" )|("+REACT_ERROR_STACK_BOTTOM_FRAME+"\\@)");function getReactStitchedError(err){let isErrorInstance=(0,is_error.default)(err),originStack=isErrorInstance&&err.stack||"",originMessage=isErrorInstance?err.message:"",stackLines=originStack.split("\n"),indexOfSplit=stackLines.findIndex(line=>REACT_ERROR_STACK_BOTTOM_FRAME_REGEX.test(line)),newStack=indexOfSplit>=0?stackLines.slice(0,indexOfSplit).join("\n"):originStack,newError=Object.defineProperty(Error(originMessage),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return Object.assign(newError,err),(0,error_telemetry_utils.copyNextErrorCode)(err,newError),newError.stack=newStack,function(error){if(!react_experimental_default().captureOwnerStack)return;let stack=error.stack||"",ownerStack=react_experimental_default().captureOwnerStack();ownerStack&&!1===stack.endsWith(ownerStack)&&(stack+=ownerStack,error.stack=stack)}(newError),newError}let queueMicroTask=globalThis.queueMicrotask||(cb=>Promise.resolve().then(cb)),errorQueue=[],errorHandlers=[],rejectionQueue=[],rejectionHandlers=[];function ReplaySsrOnlyErrors(){{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(originError,consoleErrorArgs,capturedFromConsole){let error;if(void 0===capturedFromConsole&&(capturedFromConsole=!1),originError&&(0,is_error.default)(originError))error=capturedFromConsole?createUnhandledError(originError):originError;else{let formattedErrorMessage=function(args){let message,idx;"string"==typeof args[0]?(message=args[0],idx=1):(message="",idx=0);let result="",startQuote=!1;for(let i=0;i<message.length;++i){let char=message[i];if("%"!==char||i===message.length-1||idx>=args.length){result+=char;continue}let code=message[++i];switch(code){case"c":result=startQuote?""+result+"]":"["+result,startQuote=!startQuote,idx++;break;case"O":case"o":result+=formatObject(args[idx++],0);break;case"d":case"i":result+=parseInt(args[idx++],10);break;case"f":result+=parseFloat(args[idx++]);break;case"s":result+=String(args[idx++]);break;default:result+="%"+code}}for(;idx<args.length;idx++)result+=(idx>0?" ":"")+formatObject(args[idx],0);return result}(consoleErrorArgs),{environmentName}=function(args){if(args.length>3&&"string"==typeof args[0]&&args[0].startsWith("%c%s%c ")&&"string"==typeof args[1]&&"string"==typeof args[2]&&"string"==typeof args[3]){let environmentName=args[2],maybeError=args[4];return{environmentName:environmentName.trim(),error:(0,is_error.default)(maybeError)?maybeError:null}}return{environmentName:null,error:null}}(consoleErrorArgs);error=createUnhandledError(formattedErrorMessage,environmentName)}for(let handler of(error=getReactStitchedError(error),!function(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];let[msg,firstContent,secondContent,...rest]=args;if(testReactHydrationWarning(msg)){let isReact18=msg.startsWith("Warning: ");3===args.length&&(secondContent="");let warning=[msg,firstContent,secondContent],lastArg=(rest[rest.length-1]||"").trim();isReact18?hydrationErrorState.reactOutputComponentDiff=function(message,firstContent,secondContent,lastArg){let firstIndex=-1,secondIndex=-1,hydrationWarningType=getHydrationWarningType(message),components=lastArg.split("\n").map((line,index)=>{line=line.trim();let[,component,location1]=/at (\w+)( \((.*)\))?/.exec(line)||[];return location1||(component===firstContent&&-1===firstIndex?firstIndex=index:component!==secondContent||-1!==secondIndex||(secondIndex=index)),location1?"":component}).filter(Boolean).reverse(),diff="";for(let i=0;i<components.length;i++){let component=components[i],matchFirstContent="tag"===hydrationWarningType&&i===components.length-firstIndex-1,matchSecondContent="tag"===hydrationWarningType&&i===components.length-secondIndex-1;matchFirstContent||matchSecondContent?diff+="> "+" ".repeat(Math.max(2*i-2,0)+2)+"<"+component+">\n":diff+=" ".repeat(2*i+2)+"<"+component+">\n"}if("text"===hydrationWarningType){let spaces=" ".repeat(2*components.length);diff+="+ "+spaces+'"'+firstContent+'"\n- '+spaces+'"'+secondContent+'"\n'}else if("text-in-tag"===hydrationWarningType){let spaces=" ".repeat(2*components.length);diff+="> "+spaces+"<"+secondContent+">\n> "+spaces+'"'+firstContent+'"\n'}return diff}(msg,firstContent,secondContent,lastArg):hydrationErrorState.reactOutputComponentDiff=lastArg,hydrationErrorState.warning=warning,hydrationErrorState.serverContent=firstContent,hydrationErrorState.clientContent=secondContent}}(...consoleErrorArgs),!function(error){let parsedHydrationErrorState={},isHydrationWarning=testReactHydrationWarning(error.message),isHydrationRuntimeError=(0,is_error.default)(error)&&hydrationErrorRegex.test(error.message);if(!(isHydrationRuntimeError||isHydrationWarning))return;let reactHydrationDiffSegments=getReactHydrationDiffSegments(error.message);if(reactHydrationDiffSegments){let diff=reactHydrationDiffSegments[1];parsedHydrationErrorState={...error.details,...hydrationErrorState,warning:(diff&&!isHydrationWarning?null:hydrationErrorState.warning)||[getDefaultHydrationErrorMessage()],notes:isHydrationWarning?"":reactHydrationDiffSegments[0],reactOutputComponentDiff:diff},!hydrationErrorState.reactOutputComponentDiff&&diff&&(hydrationErrorState.reactOutputComponentDiff=diff),!diff&&isHydrationRuntimeError&&hydrationErrorState.reactOutputComponentDiff&&(parsedHydrationErrorState.reactOutputComponentDiff=hydrationErrorState.reactOutputComponentDiff)}else hydrationErrorState.warning&&(parsedHydrationErrorState={...error.details,...hydrationErrorState}),hydrationErrorState.reactOutputComponentDiff&&(parsedHydrationErrorState.reactOutputComponentDiff=hydrationErrorState.reactOutputComponentDiff);error.details=parsedHydrationErrorState}(error),!function(queue,error){let previousError=queue[queue.length-1];previousError&&previousError.stack===error.stack||queue.push(error)}(errorQueue,error),errorHandlers))queueMicroTask(()=>{handler(error)})}(ssrError,[])},[ssrError])}return null}function AppDevOverlay(param){let{state,globalError,children}=param,[isErrorOverlayOpen,setIsErrorOverlayOpen]=(0,react_experimental.useState)(!1);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,{}),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 shouldRenderRootLevelErrorOverlay=()=>{var _window___next_root_layout_missing_tags;return!!(null==(_window___next_root_layout_missing_tags=window.__next_root_layout_missing_tags)?void 0:_window___next_root_layout_missing_tags.length)},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){}};function reportHmrLatency(sendMessage,updatedModules,startMsSinceEpoch,endMsSinceEpoch){let latencyMs=endMsSinceEpoch-startMsSinceEpoch;console.log("[Fast Refresh] done in "+latencyMs+"ms"),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)}module1=__webpack_require__.hmd(module1);let mostRecentCompilationHash=null,__nextDevClientId=Math.round(100*Math.random()+Date.now()),reloading=!1,startLatency=null,turbopackLastUpdateLatency=null,turbopackUpdatedModules=new Set,pendingHotUpdateWebpack=Promise.resolve(),resolvePendingHotUpdateWebpack=()=>{};function waitForWebpackRuntimeHotUpdate(){return pendingHotUpdateWebpack}function isUpdateAvailable(){return!!process.env.TURBOPACK||mostRecentCompilationHash!==__webpack_require__.h()}function canApplyUpdates(){return"idle"===module1.hot.status()}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.refreshState,_state}case ACTION_VERSION_INFO:return{..._state,versionInfo:action.versionInfo};case ACTION_DEV_INDICATOR:return{..._state,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]),shouldRenderErrorOverlay=(0,react_experimental.useSyncExternalStore)(()=>()=>{},()=>!shouldRenderRootLevelErrorOverlay(),()=>!0),handleOnUnhandledError=(0,react_experimental.useCallback)(error=>{let errorDetails=error.details,componentStackTrace=error._componentStack||(null==errorDetails?void 0:errorDetails.componentStack),warning=null==errorDetails?void 0:errorDetails.warning;dispatch({type:ACTION_UNHANDLED_ERROR,reason:error,frames:parseStack(error.stack||""),componentStackFrames:"string"==typeof componentStackTrace?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}(componentStackTrace):void 0,warning})},[dispatch]),handleOnUnhandledRejection=(0,react_experimental.useCallback)(reason=>{let stitchedError=getReactStitchedError(reason);dispatch({type:ACTION_UNHANDLED_REJECTION,reason:stitchedError,frames:parseStack(stitchedError.stack||"")})},[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)(()=>{if(process.env.TURBOPACK)return;let interval=setInterval(()=>{sendMessage(JSON.stringify({event:"ping",tree,appDirRoute:!0}))},2500);return()=>clearInterval(interval)},[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:startLatency=Date.now(),turbopackLastUpdateLatency=null,turbopackUpdatedModules.clear(),process.env.TURBOPACK||(pendingHotUpdateWebpack=new Promise(resolve=>{resolvePendingHotUpdateWebpack=()=>{resolve()}})),console.log("[Fast Refresh] rebuilding");break;case HMR_ACTIONS_SENT_TO_BROWSER.BUILT:case HMR_ACTIONS_SENT_TO_BROWSER.SYNC:{obj.hash&&(mostRecentCompilationHash=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&&(process.env.TURBOPACK?(dispatcher.onBuildOk(),reportHmrLatency(sendMessage,[...turbopackUpdatedModules],startLatency,null!=turbopackLastUpdateLatency?turbopackLastUpdateLatency:Date.now())):function tryApplyUpdates(onBeforeUpdate,onHotUpdateSuccess,sendMessage,dispatcher){if(!isUpdateAvailable()||!canApplyUpdates()){resolvePendingHotUpdateWebpack(),dispatcher.onBuildOk(),reportHmrLatency(sendMessage,[],startLatency,Date.now());return}function handleApplyUpdates(err,updatedModules){if(err||RuntimeErrorHandler.hadRuntimeError||!updatedModules){err?console.warn("[Fast Refresh] performing full reload\n\nFast Refresh will perform a full reload when you edit a file that's imported by modules outside of the React rendering tree.\nYou might have a file which exports a React component but also exports a value that is imported by a non-React component file.\nConsider migrating the non-React component export to a separate file and importing it into both files.\n\nIt is also possible the parent component of the component you edited is a class component, which disables Fast Refresh.\nFast Refresh requires at least one parent function component in your React tree."):RuntimeErrorHandler.hadRuntimeError&&console.warn(REACT_REFRESH_FULL_RELOAD_FROM_ERROR),performFullReload(err,sendMessage);return}let hasUpdates=!!updatedModules.length;if("function"==typeof onHotUpdateSuccess&&onHotUpdateSuccess(updatedModules),isUpdateAvailable())tryApplyUpdates(hasUpdates?()=>{}:onBeforeUpdate,hasUpdates?()=>dispatcher.onBuildOk():onHotUpdateSuccess,sendMessage,dispatcher);else if(dispatcher.onBuildOk(),process.env.__NEXT_TEST_MODE){var fn;fn=()=>{self.__NEXT_HMR_CB&&(self.__NEXT_HMR_CB(),self.__NEXT_HMR_CB=null)},canApplyUpdates()?fn():module1.hot.addStatusHandler(function handler(status){"idle"===status&&(module1.hot.removeStatusHandler(handler),fn())})}}module1.hot.check(!1).then(updatedModules=>updatedModules?("function"==typeof onBeforeUpdate&&onBeforeUpdate(!!updatedModules.length),module1.hot.apply()):null).then(updatedModules=>{handleApplyUpdates(null,updatedModules)},err=>{handleApplyUpdates(err,null)})}(function(hasUpdates){hasUpdates&&dispatcher.onBeforeRefresh()},function(webpackUpdatedModules){resolvePendingHotUpdateWebpack(),dispatcher.onBuildOk(),reportHmrLatency(sendMessage,webpackUpdatedModules,startLatency,Date.now()),dispatcher.onRefresh()},sendMessage,dispatcher));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:for(let module1 of(dispatcher.onBeforeRefresh(),processTurbopackMessage({type:HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_MESSAGE,data:obj.data}),dispatcher.onRefresh(),RuntimeErrorHandler.hadRuntimeError&&(console.warn(REACT_REFRESH_FULL_RELOAD_FROM_ERROR),performFullReload(null,sendMessage)),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}(obj.data)))turbopackUpdatedModules.add(module1);turbopackLastUpdateLatency=Date.now();break;case HMR_ACTIONS_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES:if(sendMessage(JSON.stringify({event:"server-component-reload-page",clientId:__nextDevClientId,hash:obj.hash})),document.cookie="__next_hmr_refresh_hash__="+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(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 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]),shouldRenderErrorOverlay)?/*#__PURE__*/(0,jsx_runtime.jsx)(AppDevOverlay,{state:state,globalError:globalError,children:children}):children}},"./dist/esm/client/components/react-dev-overlay/utils/dev-indicator/dev-render-indicator.js":/*!**************************************************************************************************!*\
305
305
  !*** ./dist/esm/client/components/react-dev-overlay/utils/dev-indicator/dev-render-indicator.js ***!
306
306
  \**************************************************************************************************/(__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-internal.js":/*!********************************************************************************************************************!*\
307
307
  !*** ./dist/esm/client/components/react-dev-overlay/utils/dev-indicator/use-sync-dev-render-indicator-internal.js ***!
@@ -432,7 +432,7 @@ ${stack}`))}function assertPostpone(){if(!hasPostpone)throw Object.definePropert
432
432
  !*** external "stream" ***!
433
433
  \*************************/module1=>{"use strict";module1.exports=require("stream")},util:/*!***********************!*\
434
434
  !*** external "util" ***!
435
- \***********************/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].call(module1.exports,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+"-experimental.runtime.dev.js",__webpack_require__.h=()=>"80439272ecb9efc81579",__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;/*!************************************************************************!*\
435
+ \***********************/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].call(module1.exports,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+"-experimental.runtime.dev.js",__webpack_require__.h=()=>"1b7ee47bf83bb26b1ea2",__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;/*!************************************************************************!*\
436
436
  !*** ./dist/esm/server/route-modules/app-page/module.js + 108 modules ***!
437
437
  \************************************************************************/__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}}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(`<script>self.__next_root_layout_missing_tags=${JSON.stringify(missingTags)}</script>`))}})):null,createMoveSuffixStream(),createHeadInsertionTransformStream(getServerInsertedHTML)])}async function continueDynamicPrerender(prerenderStream,{getServerInsertedHTML,getServerInsertedMetadata}){return prerenderStream.pipeThrough(createBufferedTransformStream()).pipeThrough(new TransformStream({transform(chunk,controller){isEquivalentUint8Arrays(chunk,ENCODED_TAGS.CLOSED.BODY_AND_HTML)||isEquivalentUint8Arrays(chunk,ENCODED_TAGS.CLOSED.BODY)||isEquivalentUint8Arrays(chunk,ENCODED_TAGS.CLOSED.HTML)||(chunk=removeFromUint8Array(chunk,ENCODED_TAGS.CLOSED.BODY),chunk=removeFromUint8Array(chunk,ENCODED_TAGS.CLOSED.HTML),controller.enqueue(chunk))}})).pipeThrough(createHeadInsertionTransformStream(getServerInsertedHTML)).pipeThrough(createHeadInsertionTransformStream(getServerInsertedMetadata))}async function continueStaticPrerender(prerenderStream,{inlinedDataStream,getServerInsertedHTML,getServerInsertedMetadata}){return prerenderStream.pipeThrough(createBufferedTransformStream()).pipeThrough(createHeadInsertionTransformStream(getServerInsertedHTML)).pipeThrough(createHeadInsertionTransformStream(getServerInsertedMetadata)).pipeThrough(createMergedTransformStream(inlinedDataStream)).pipeThrough(createMoveSuffixStream())}async function continueDynamicHTMLResume(renderStream,{inlinedDataStream,getServerInsertedHTML,getServerInsertedMetadata}){return renderStream.pipeThrough(createBufferedTransformStream()).pipeThrough(createHeadInsertionTransformStream(getServerInsertedHTML)).pipeThrough(createHeadInsertionTransformStream(getServerInsertedMetadata)).pipeThrough(createMergedTransformStream(inlinedDataStream)).pipeThrough(createMoveSuffixStream())}Symbol.for("NextInternalRequestMeta");var lib_constants=__webpack_require__("./dist/esm/lib/constants.js"),remove_trailing_slash=__webpack_require__("./dist/esm/shared/lib/router/utils/remove-trailing-slash.js"),add_path_prefix=__webpack_require__("./dist/esm/shared/lib/router/utils/add-path-prefix.js"),parse_path=__webpack_require__("./dist/esm/shared/lib/router/utils/parse-path.js");function addPathSuffix(path,suffix){if(!path.startsWith("/")||!suffix)return path;let{pathname,query,hash}=(0,parse_path.parsePath)(path);return""+pathname+suffix+query+hash}var path_has_prefix=__webpack_require__("./dist/esm/shared/lib/router/utils/path-has-prefix.js");let cache=new WeakMap;function normalizeLocalePath(pathname,locales){let detectedLocale;if(!locales)return{pathname};let lowercasedLocales=cache.get(locales);lowercasedLocales||(lowercasedLocales=locales.map(locale=>locale.toLowerCase()),cache.set(locales,lowercasedLocales));let segments=pathname.split("/",2);if(!segments[1])return{pathname};let segment=segments[1].toLowerCase(),index=lowercasedLocales.indexOf(segment);return index<0?{pathname}:(detectedLocale=locales[index],{pathname:pathname=pathname.slice(detectedLocale.length+1)||"/",detectedLocale})}function removePathPrefix(path,prefix){if(!(0,path_has_prefix.pathHasPrefix)(path,prefix))return path;let withoutPrefix=path.slice(prefix.length);return withoutPrefix.startsWith("/")?withoutPrefix:"/"+withoutPrefix}let REGEX_LOCALHOST_HOSTNAME=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function parseURL(url,base){return new URL(String(url).replace(REGEX_LOCALHOST_HOSTNAME,"localhost"),base&&String(base).replace(REGEX_LOCALHOST_HOSTNAME,"localhost"))}let Internal=Symbol("NextURLInternal");class NextURL{constructor(input,baseOrOpts,opts){let base,options;"object"==typeof baseOrOpts&&"pathname"in baseOrOpts||"string"==typeof baseOrOpts?(base=baseOrOpts,options=opts||{}):options=opts||baseOrOpts||{},this[Internal]={url:parseURL(input,base??options.base),options:options,basePath:""},this.analyze()}analyze(){var _this_Internal_options_nextConfig_i18n,_this_Internal_options_nextConfig,_this_Internal_domainLocale,_this_Internal_options_nextConfig_i18n1,_this_Internal_options_nextConfig1;let info=function(pathname,options){var _options_nextConfig,_result_pathname;let{basePath,i18n,trailingSlash}=null!=(_options_nextConfig=options.nextConfig)?_options_nextConfig:{},info={pathname,trailingSlash:"/"!==pathname?pathname.endsWith("/"):trailingSlash};basePath&&(0,path_has_prefix.pathHasPrefix)(info.pathname,basePath)&&(info.pathname=removePathPrefix(info.pathname,basePath),info.basePath=basePath);let pathnameNoDataPrefix=info.pathname;if(info.pathname.startsWith("/_next/data/")&&info.pathname.endsWith(".json")){let paths=info.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),buildId=paths[0];info.buildId=buildId,pathnameNoDataPrefix="index"!==paths[1]?"/"+paths.slice(1).join("/"):"/",!0===options.parseData&&(info.pathname=pathnameNoDataPrefix)}if(i18n){let result=options.i18nProvider?options.i18nProvider.analyze(info.pathname):normalizeLocalePath(info.pathname,i18n.locales);info.locale=result.detectedLocale,info.pathname=null!=(_result_pathname=result.pathname)?_result_pathname:info.pathname,!result.detectedLocale&&info.buildId&&(result=options.i18nProvider?options.i18nProvider.analyze(pathnameNoDataPrefix):normalizeLocalePath(pathnameNoDataPrefix,i18n.locales)).detectedLocale&&(info.locale=result.detectedLocale)}return info}(this[Internal].url.pathname,{nextConfig:this[Internal].options.nextConfig,parseData:!process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,i18nProvider:this[Internal].options.i18nProvider}),hostname=function(parsed,headers){let hostname;if((null==headers?void 0:headers.host)&&!Array.isArray(headers.host))hostname=headers.host.toString().split(":",1)[0];else{if(!parsed.hostname)return;hostname=parsed.hostname}return hostname.toLowerCase()}(this[Internal].url,this[Internal].options.headers);this[Internal].domainLocale=this[Internal].options.i18nProvider?this[Internal].options.i18nProvider.detectDomainLocale(hostname):function(domainItems,hostname,detectedLocale){if(domainItems)for(let item of(detectedLocale&&(detectedLocale=detectedLocale.toLowerCase()),domainItems)){var _item_domain,_item_locales;if(hostname===(null==(_item_domain=item.domain)?void 0:_item_domain.split(":",1)[0].toLowerCase())||detectedLocale===item.defaultLocale.toLowerCase()||(null==(_item_locales=item.locales)?void 0:_item_locales.some(locale=>locale.toLowerCase()===detectedLocale)))return item}}(null==(_this_Internal_options_nextConfig=this[Internal].options.nextConfig)?void 0:null==(_this_Internal_options_nextConfig_i18n=_this_Internal_options_nextConfig.i18n)?void 0:_this_Internal_options_nextConfig_i18n.domains,hostname);let defaultLocale=(null==(_this_Internal_domainLocale=this[Internal].domainLocale)?void 0:_this_Internal_domainLocale.defaultLocale)||(null==(_this_Internal_options_nextConfig1=this[Internal].options.nextConfig)?void 0:null==(_this_Internal_options_nextConfig_i18n1=_this_Internal_options_nextConfig1.i18n)?void 0:_this_Internal_options_nextConfig_i18n1.defaultLocale);this[Internal].url.pathname=info.pathname,this[Internal].defaultLocale=defaultLocale,this[Internal].basePath=info.basePath??"",this[Internal].buildId=info.buildId,this[Internal].locale=info.locale??defaultLocale,this[Internal].trailingSlash=info.trailingSlash}formatPathname(){var info;let pathname;return pathname=function(path,locale,defaultLocale,ignorePrefix){if(!locale||locale===defaultLocale)return path;let lower=path.toLowerCase();return!ignorePrefix&&((0,path_has_prefix.pathHasPrefix)(lower,"/api")||(0,path_has_prefix.pathHasPrefix)(lower,"/"+locale.toLowerCase()))?path:(0,add_path_prefix.addPathPrefix)(path,"/"+locale)}((info={basePath:this[Internal].basePath,buildId:this[Internal].buildId,defaultLocale:this[Internal].options.forceLocale?void 0:this[Internal].defaultLocale,locale:this[Internal].locale,pathname:this[Internal].url.pathname,trailingSlash:this[Internal].trailingSlash}).pathname,info.locale,info.buildId?void 0:info.defaultLocale,info.ignorePrefix),(info.buildId||!info.trailingSlash)&&(pathname=(0,remove_trailing_slash.removeTrailingSlash)(pathname)),info.buildId&&(pathname=addPathSuffix((0,add_path_prefix.addPathPrefix)(pathname,"/_next/data/"+info.buildId),"/"===info.pathname?"index.json":".json")),pathname=(0,add_path_prefix.addPathPrefix)(pathname,info.basePath),!info.buildId&&info.trailingSlash?pathname.endsWith("/")?pathname:addPathSuffix(pathname,"/"):(0,remove_trailing_slash.removeTrailingSlash)(pathname)}formatSearch(){return this[Internal].url.search}get buildId(){return this[Internal].buildId}set buildId(buildId){this[Internal].buildId=buildId}get locale(){return this[Internal].locale??""}set locale(locale){var _this_Internal_options_nextConfig_i18n,_this_Internal_options_nextConfig;if(!this[Internal].locale||!(null==(_this_Internal_options_nextConfig=this[Internal].options.nextConfig)?void 0:null==(_this_Internal_options_nextConfig_i18n=_this_Internal_options_nextConfig.i18n)?void 0:_this_Internal_options_nextConfig_i18n.locales.includes(locale)))throw Object.defineProperty(TypeError(`The NextURL configuration includes no locale "${locale}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[Internal].locale=locale}get defaultLocale(){return this[Internal].defaultLocale}get domainLocale(){return this[Internal].domainLocale}get searchParams(){return this[Internal].url.searchParams}get host(){return this[Internal].url.host}set host(value1){this[Internal].url.host=value1}get hostname(){return this[Internal].url.hostname}set hostname(value1){this[Internal].url.hostname=value1}get port(){return this[Internal].url.port}set port(value1){this[Internal].url.port=value1}get protocol(){return this[Internal].url.protocol}set protocol(value1){this[Internal].url.protocol=value1}get href(){let pathname=this.formatPathname(),search=this.formatSearch();return`${this.protocol}//${this.host}${pathname}${search}${this.hash}`}set href(url){this[Internal].url=parseURL(url),this.analyze()}get origin(){return this[Internal].url.origin}get pathname(){return this[Internal].url.pathname}set pathname(value1){this[Internal].url.pathname=value1}get hash(){return this[Internal].url.hash}set hash(value1){this[Internal].url.hash=value1}get search(){return this[Internal].url.search}set search(value1){this[Internal].url.search=value1}get password(){return this[Internal].url.password}set password(value1){this[Internal].url.password=value1}get username(){return this[Internal].url.username}set username(value1){this[Internal].url.username=value1}get basePath(){return this[Internal].basePath}set basePath(value1){this[Internal].basePath=value1.startsWith("/")?value1:`/${value1}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new NextURL(String(this),this[Internal].options)}}var _edge_runtime_cookies=__webpack_require__("./dist/compiled/@edge-runtime/cookies/index.js");Symbol("internal request"),Request,Symbol.for("edge-runtime.inspect.custom");let isNodeNextRequest=req=>!0,ResponseAbortedName="ResponseAborted";class ResponseAborted extends Error{constructor(...args){super(...args),this.name=ResponseAbortedName}}let clientComponentLoadStart=0,clientComponentLoadTimes=0,clientComponentLoadCount=0;function getClientComponentLoaderMetrics(options={}){let metrics=0===clientComponentLoadStart?void 0:{clientComponentLoadStart,clientComponentLoadTimes,clientComponentLoadCount};return options.reset&&(clientComponentLoadStart=0,clientComponentLoadTimes=0,clientComponentLoadCount=0),metrics}function isAbortError(e){return(null==e?void 0:e.name)==="AbortError"||(null==e?void 0:e.name)===ResponseAbortedName}async function pipeToNodeResponse(readable,res,waitUntilForEnd){try{let{errored,destroyed}=res;if(errored||destroyed)return;let controller=function(response){let controller=new AbortController;return response.once("close",()=>{response.writableFinished||controller.abort(new ResponseAborted)}),controller}(res),writer=function(res,waitUntilForEnd){let started=!1,drained=new DetachedPromise;function onDrain(){drained.resolve()}res.on("drain",onDrain),res.once("close",()=>{res.off("drain",onDrain),drained.resolve()});let finished=new DetachedPromise;return res.once("finish",()=>{finished.resolve()}),new WritableStream({write:async chunk=>{if(!started){if(started=!0,"performance"in globalThis&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX){let metrics=getClientComponentLoaderMetrics();metrics&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-client-component-loading`,{start:metrics.clientComponentLoadStart,end:metrics.clientComponentLoadStart+metrics.clientComponentLoadTimes})}res.flushHeaders(),(0,tracer_.getTracer)().trace(constants.NextNodeServerSpan.startResponse,{spanName:"start response"},()=>void 0)}try{let ok=res.write(chunk);"flush"in res&&"function"==typeof res.flush&&res.flush(),ok||(await drained.promise,drained=new DetachedPromise)}catch(err){throw res.end(),Object.defineProperty(Error("failed to write chunk to response",{cause:err}),"__NEXT_ERROR_CODE",{value:"E321",enumerable:!1,configurable:!0})}},abort:err=>{res.writableFinished||res.destroy(err)},close:async()=>{if(waitUntilForEnd&&await waitUntilForEnd,!res.writableFinished)return res.end(),finished.promise}})}(res,waitUntilForEnd);await readable.pipeTo(writer,{signal:controller.signal})}catch(err){if(isAbortError(err))return;throw Object.defineProperty(Error("failed to pipe response",{cause:err}),"__NEXT_ERROR_CODE",{value:"E180",enumerable:!1,configurable:!0})}}class RenderResult{static fromStatic(value1){return new RenderResult(value1,{metadata:{}})}constructor(response,{contentType,waitUntil,metadata}){this.response=response,this.contentType=contentType,this.metadata=metadata,this.waitUntil=waitUntil}assignMetadata(metadata){Object.assign(this.metadata,metadata)}get isNull(){return null===this.response}get isDynamic(){return"string"!=typeof this.response}toUnchunkedBuffer(stream=!1){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be unchunked"),"__NEXT_ERROR_CODE",{value:"E274",enumerable:!1,configurable:!0});if("string"!=typeof this.response){if(!stream)throw Object.defineProperty(Error("Invariant: dynamic responses cannot be unchunked. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E81",enumerable:!1,configurable:!0});return streamToBuffer(this.readable)}return Buffer.from(this.response)}toUnchunkedString(stream=!1){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be unchunked"),"__NEXT_ERROR_CODE",{value:"E274",enumerable:!1,configurable:!0});if("string"!=typeof this.response){if(!stream)throw Object.defineProperty(Error("Invariant: dynamic responses cannot be unchunked. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E81",enumerable:!1,configurable:!0});return streamToString(this.readable)}return this.response}get readable(){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be streamed"),"__NEXT_ERROR_CODE",{value:"E14",enumerable:!1,configurable:!0});if("string"==typeof this.response)throw Object.defineProperty(Error("Invariant: static responses cannot be streamed"),"__NEXT_ERROR_CODE",{value:"E151",enumerable:!1,configurable:!0});return Buffer.isBuffer(this.response)?streamFromBuffer(this.response):Array.isArray(this.response)?chainStreams(...this.response):this.response}chain(readable){let responses;if(null===this.response)throw Object.defineProperty(Error("Invariant: response is null. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E258",enumerable:!1,configurable:!0});"string"==typeof this.response?responses=[streamFromString(this.response)]:Array.isArray(this.response)?responses=this.response:Buffer.isBuffer(this.response)?responses=[streamFromBuffer(this.response)]:responses=[this.response],responses.push(readable),this.response=responses}async pipeTo(writable){try{await this.readable.pipeTo(writable,{preventClose:!0}),this.waitUntil&&await this.waitUntil,await writable.close()}catch(err){if(isAbortError(err)){await writable.abort(err);return}throw err}}async pipeToNodeResponse(res){await pipeToNodeResponse(this.readable,res,this.waitUntil)}}var app_router_headers=__webpack_require__("./dist/esm/client/components/app-router-headers.js");let INTERNAL_QUERY_NAMES=[app_router_headers.NEXT_RSC_UNION_QUERY];var dynamic_rendering=__webpack_require__("./dist/esm/server/app-render/dynamic-rendering.js");function createMetadataContext(pathname,renderOpts){return{pathname,trailingSlash:renderOpts.trailingSlash,isStaticMetadataRouteFile:!1}}function createTrackedMetadataContext(pathname,renderOpts,workStore){return{...createMetadataContext(pathname,renderOpts),get pathname(){return workStore&&workStore.isStaticGeneration&&workStore.fallbackRouteParams&&workStore.fallbackRouteParams.size>0&&(0,dynamic_rendering.trackFallbackParamAccessed)(workStore,"metadata relative url resolving"),pathname}}}var adapters_headers=__webpack_require__("./dist/esm/server/web/spec-extension/adapters/headers.js"),reflect=__webpack_require__("./dist/esm/server/web/spec-extension/adapters/reflect.js"),work_unit_async_storage_external_js_=__webpack_require__("../../app-render/work-unit-async-storage.external");class ReadonlyRequestCookiesError extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new ReadonlyRequestCookiesError}}class RequestCookiesAdapter{static seal(cookies){return new Proxy(cookies,{get(target,prop,receiver){switch(prop){case"clear":case"delete":case"set":return ReadonlyRequestCookiesError.callable;default:return reflect.ReflectAdapter.get(target,prop,receiver)}}})}}let SYMBOL_MODIFY_COOKIE_VALUES=Symbol.for("next.mutated.cookies");function getModifiedCookieValues(cookies){let modified=cookies[SYMBOL_MODIFY_COOKIE_VALUES];return modified&&Array.isArray(modified)&&0!==modified.length?modified:[]}class MutableRequestCookiesAdapter{static wrap(cookies,onUpdateCookies){let responseCookies=new _edge_runtime_cookies.ResponseCookies(new Headers);for(let cookie of cookies.getAll())responseCookies.set(cookie);let modifiedValues=[],modifiedCookies=new Set,updateResponseCookies=()=>{let workStore=work_async_storage_external_js_.workAsyncStorage.getStore();if(workStore&&(workStore.pathWasRevalidated=!0),modifiedValues=responseCookies.getAll().filter(c=>modifiedCookies.has(c.name)),onUpdateCookies){let serializedCookies=[];for(let cookie of modifiedValues){let tempCookies=new _edge_runtime_cookies.ResponseCookies(new Headers);tempCookies.set(cookie),serializedCookies.push(tempCookies.toString())}onUpdateCookies(serializedCookies)}},wrappedCookies=new Proxy(responseCookies,{get(target,prop,receiver){switch(prop){case SYMBOL_MODIFY_COOKIE_VALUES:return modifiedValues;case"delete":return function(...args){modifiedCookies.add("string"==typeof args[0]?args[0]:args[0].name);try{return target.delete(...args),wrappedCookies}finally{updateResponseCookies()}};case"set":return function(...args){modifiedCookies.add("string"==typeof args[0]?args[0]:args[0].name);try{return target.set(...args),wrappedCookies}finally{updateResponseCookies()}};default:return reflect.ReflectAdapter.get(target,prop,receiver)}}});return wrappedCookies}}function ensureCookiesAreStillMutable(callingExpression){if("action"!==(0,work_unit_async_storage_external_js_.getExpectedRequestStore)(callingExpression).phase)throw new ReadonlyRequestCookiesError}var api_utils=__webpack_require__("./dist/esm/server/api-utils/index.js");class DraftModeProvider{constructor(previewProps,req,cookies,mutableCookies){var _cookies_get;let isOnDemandRevalidate=previewProps&&(0,api_utils.checkIsOnDemandRevalidate)(req,previewProps).isOnDemandRevalidate,cookieValue=null==(_cookies_get=cookies.get(api_utils.COOKIE_NAME_PRERENDER_BYPASS))?void 0:_cookies_get.value;this.isEnabled=!!(!isOnDemandRevalidate&&cookieValue&&previewProps&&(cookieValue===previewProps.previewModeId||"development-id"===previewProps.previewModeId)),this._previewModeId=null==previewProps?void 0:previewProps.previewModeId,this._mutableCookies=mutableCookies}enable(){if(!this._previewModeId)throw Object.defineProperty(Error("Invariant: previewProps missing previewModeId this should never happen"),"__NEXT_ERROR_CODE",{value:"E93",enumerable:!1,configurable:!0});this._mutableCookies.set({name:api_utils.COOKIE_NAME_PRERENDER_BYPASS,value:this._previewModeId,httpOnly:!0,sameSite:"lax",secure:!1,path:"/"})}disable(){this._mutableCookies.set({name:api_utils.COOKIE_NAME_PRERENDER_BYPASS,value:"",httpOnly:!0,sameSite:"lax",secure:!1,path:"/",expires:new Date(0)})}}function mergeMiddlewareCookies(req,existingCookies){if("x-middleware-set-cookie"in req.headers&&"string"==typeof req.headers["x-middleware-set-cookie"]){let setCookieValue=req.headers["x-middleware-set-cookie"],responseHeaders=new Headers;for(let cookie of function(cookiesString){var start,ch,lastComma,nextStart,cookiesSeparatorFound,cookiesStrings=[],pos=0;function skipWhitespace(){for(;pos<cookiesString.length&&/\s/.test(cookiesString.charAt(pos));)pos+=1;return pos<cookiesString.length}for(;pos<cookiesString.length;){for(start=pos,cookiesSeparatorFound=!1;skipWhitespace();)if(","===(ch=cookiesString.charAt(pos))){for(lastComma=pos,pos+=1,skipWhitespace(),nextStart=pos;pos<cookiesString.length&&"="!==(ch=cookiesString.charAt(pos))&&";"!==ch&&","!==ch;)pos+=1;pos<cookiesString.length&&"="===cookiesString.charAt(pos)?(cookiesSeparatorFound=!0,pos=nextStart,cookiesStrings.push(cookiesString.substring(start,lastComma)),start=pos):pos=lastComma+1}else pos+=1;(!cookiesSeparatorFound||pos>=cookiesString.length)&&cookiesStrings.push(cookiesString.substring(start,cookiesString.length))}return cookiesStrings}(setCookieValue))responseHeaders.append("set-cookie",cookie);for(let cookie of new _edge_runtime_cookies.ResponseCookies(responseHeaders).getAll())existingCookies.set(cookie)}}var p_queue=__webpack_require__("./dist/compiled/p-queue/index.js"),p_queue_default=/*#__PURE__*/__webpack_require__.n(p_queue);class InvariantError extends Error{constructor(message,options){super("Invariant: "+(message.endsWith(".")?message:message+".")+" This is a bug in Next.js.",options),this.name="InvariantError"}}var is_thenable=__webpack_require__("./dist/esm/shared/lib/is-thenable.js");async function withExecuteRevalidates(store,callback){if(!store)return callback();let savedRevalidationState=cloneRevalidationState(store);try{return await callback()}finally{let newRevalidates=function(prev,curr){let prevTags=new Set(prev.revalidatedTags),prevRevalidateWrites=new Set(prev.pendingRevalidateWrites);return{revalidatedTags:curr.revalidatedTags.filter(tag=>!prevTags.has(tag)),pendingRevalidates:Object.fromEntries(Object.entries(curr.pendingRevalidates).filter(([key])=>!(key in prev.pendingRevalidates))),pendingRevalidateWrites:curr.pendingRevalidateWrites.filter(promise=>!prevRevalidateWrites.has(promise))}}(savedRevalidationState,cloneRevalidationState(store));await executeRevalidates(store,newRevalidates)}}function cloneRevalidationState(store){return{revalidatedTags:store.revalidatedTags?[...store.revalidatedTags]:[],pendingRevalidates:{...store.pendingRevalidates},pendingRevalidateWrites:store.pendingRevalidateWrites?[...store.pendingRevalidateWrites]:[]}}async function executeRevalidates(workStore,{revalidatedTags,pendingRevalidates,pendingRevalidateWrites}){var _workStore_incrementalCache;return Promise.all([null==(_workStore_incrementalCache=workStore.incrementalCache)?void 0:_workStore_incrementalCache.revalidateTag(revalidatedTags),...Object.values(pendingRevalidates),...pendingRevalidateWrites])}let sharedAsyncLocalStorageNotAvailableError=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class FakeAsyncLocalStorage{disable(){throw sharedAsyncLocalStorageNotAvailableError}getStore(){}run(){throw sharedAsyncLocalStorageNotAvailableError}exit(){throw sharedAsyncLocalStorageNotAvailableError}enterWith(){throw sharedAsyncLocalStorageNotAvailableError}static bind(fn){return fn}}let maybeGlobalAsyncLocalStorage="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage,after_task_async_storage_external_js_namespaceObject=require("next/dist/server/app-render/after-task-async-storage.external.js");class AfterContext{constructor({waitUntil,onClose,onTaskError}){this.workUnitStores=new Set,this.waitUntil=waitUntil,this.onClose=onClose,this.onTaskError=onTaskError,this.callbackQueue=new(p_queue_default()),this.callbackQueue.pause()}after(task){if((0,is_thenable.isThenable)(task))this.waitUntil||errorWaitUntilNotAvailable(),this.waitUntil(task.catch(error=>this.reportTaskError("promise",error)));else if("function"==typeof task)this.addCallback(task);else throw Object.defineProperty(Error("`after()`: Argument must be a promise or a function"),"__NEXT_ERROR_CODE",{value:"E50",enumerable:!1,configurable:!0})}addCallback(callback){var fn;this.waitUntil||errorWaitUntilNotAvailable();let workUnitStore=work_unit_async_storage_external_js_.workUnitAsyncStorage.getStore();workUnitStore&&this.workUnitStores.add(workUnitStore);let afterTaskStore=after_task_async_storage_external_js_namespaceObject.afterTaskAsyncStorage.getStore(),rootTaskSpawnPhase=afterTaskStore?afterTaskStore.rootTaskSpawnPhase:null==workUnitStore?void 0:workUnitStore.phase;this.runCallbacksOnClosePromise||(this.runCallbacksOnClosePromise=this.runCallbacksOnClose(),this.waitUntil(this.runCallbacksOnClosePromise));let wrappedCallback=(fn=async()=>{try{await after_task_async_storage_external_js_namespaceObject.afterTaskAsyncStorage.run({rootTaskSpawnPhase},()=>callback())}catch(error){this.reportTaskError("function",error)}},maybeGlobalAsyncLocalStorage?maybeGlobalAsyncLocalStorage.bind(fn):FakeAsyncLocalStorage.bind(fn));this.callbackQueue.add(wrappedCallback)}async runCallbacksOnClose(){return await new Promise(resolve=>this.onClose(resolve)),this.runCallbacks()}async runCallbacks(){if(0===this.callbackQueue.size)return;for(let workUnitStore of this.workUnitStores)workUnitStore.phase="after";let workStore=work_async_storage_external_js_.workAsyncStorage.getStore();if(!workStore)throw Object.defineProperty(new InvariantError("Missing workStore in AfterContext.runCallbacks"),"__NEXT_ERROR_CODE",{value:"E547",enumerable:!1,configurable:!0});return withExecuteRevalidates(workStore,()=>(this.callbackQueue.start(),this.callbackQueue.onIdle()))}reportTaskError(taskKind,error){if(console.error("promise"===taskKind?"A promise passed to `after()` rejected:":"An error occurred in a function passed to `after()`:",error),this.onTaskError)try{null==this.onTaskError||this.onTaskError.call(this,error)}catch(handlerError){console.error(Object.defineProperty(new InvariantError("`onTaskError` threw while handling an error thrown from an `after` task",{cause:handlerError}),"__NEXT_ERROR_CODE",{value:"E569",enumerable:!1,configurable:!0}))}}}function errorWaitUntilNotAvailable(){throw Object.defineProperty(Error("`after()` will not work correctly, because `waitUntil` is not available in the current environment."),"__NEXT_ERROR_CODE",{value:"E91",enumerable:!1,configurable:!0})}var app_paths=__webpack_require__("./dist/esm/shared/lib/router/utils/app-paths.js"),http_access_fallback=__webpack_require__("./dist/esm/client/components/http-access-fallback/http-access-fallback.js"),redirect=__webpack_require__("./dist/esm/client/components/redirect.js"),redirect_error=__webpack_require__("./dist/esm/client/components/redirect-error.js");let getDerivedTags=pathname=>{let derivedTags=["/layout"];if(pathname.startsWith("/")){let pathnameParts=pathname.split("/");for(let i=1;i<pathnameParts.length+1;i++){let curPathname=pathnameParts.slice(0,i).join("/");curPathname&&(curPathname.endsWith("/page")||curPathname.endsWith("/route")||(curPathname=`${curPathname}${curPathname.endsWith("/")?"":"/"}layout`),derivedTags.push(curPathname))}}return derivedTags};class FlightRenderResult extends RenderResult{constructor(response,metadata={}){super(response,{contentType:app_router_headers.RSC_CONTENT_TYPE_HEADER,metadata})}}var string_hash=__webpack_require__("./dist/compiled/string-hash/index.js"),string_hash_default=/*#__PURE__*/__webpack_require__.n(string_hash);let invalidServerComponentReactHooks=["useDeferredValue","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useReducer","useRef","useState","useSyncExternalStore","useTransition","experimental_useOptimistic","useOptimistic"];function setMessage(error,message){if(error.message=message,error.stack){let lines=error.stack.split("\n");lines[0]=message,error.stack=lines.join("\n")}}function getStackWithoutErrorMessage(error){let stack=error.stack;return stack?stack.replace(/^[^\n]*\n/,""):""}function formatServerError(error){if("string"==typeof(null==error?void 0:error.message)){if(error.message.includes("Class extends value undefined is not a constructor or null")){let addedMessage="This might be caused by a React Class Component being rendered in a Server Component, React Class Components only works in Client Components. Read more: https://nextjs.org/docs/messages/class-component-in-server-component";if(error.message.includes(addedMessage))return;setMessage(error,`${error.message}
438
438